ADM/[ADM] Integrated Logic/ADM_Integrated_Logic_ert_rtw/html/lib/bundle.index.js
3minbe a848e02179 ver 25.08.29-1
- 1채널(ACU) RX ID 수정(150 → 151)
- ACU ARC 적용
- [!] Message buffer(MB) 오류 수정
  = define.h 내 MAX_RX_MB_1ch 수정 (4U → 32U)
  = board.c 내 LN.1244 RXID setting for문 수정(RX_MB_IDX → RX_MB_IDX_1ch)
- Simulink 로직 수정
  = ACU CAN Fault Flag 적용
  = ACU 모드일때만 적용
2025-08-29 19:29:09 +09:00

650 lines
2.3 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{var __webpack_modules__={33553:(A,x,a)=>{var T,w;T=[a(2812),a(40923),a(49350),a(22527),a(70198)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f=0,u=1,r=2,d="This deferred has already been fulfilled.",n=Object.freeze||function(){},i=function(s,l,p,E,m){h("config-deferredInstrumentation")&&l===r&&t.instrumentRejected&&s.length===0&&t.instrumentRejected(p,!1,E,m);for(var y=0;y<s.length;y++)o(s[y],l,p,E)},o=function(s,l,p,E){var m=s[l],y=s.deferred;if(m)try{var b=m(p);if(l===f)typeof b<"u"&&e(y,l,b);else{if(b&&typeof b.then=="function"){s.cancel=b.cancel,b.then(c(y,u),c(y,r),c(y,f));return}e(y,u,b)}}catch(I){e(y,r,I)}else e(y,l,p);h("config-deferredInstrumentation")&&l===r&&t.instrumentRejected&&t.instrumentRejected(p,!!m,E,y.promise)},c=function(s,l){return function(p){e(s,l,p)}},e=function(s,l,p){if(!s.isCanceled())switch(l){case f:s.progress(p);break;case u:s.resolve(p);break;case r:s.reject(p);break}},t=function(s){var l=this.promise=new _,p=this,E,m,y,b=!1,I=[];h("config-deferredInstrumentation")&&Error.captureStackTrace&&(Error.captureStackTrace(p,t),Error.captureStackTrace(l,t)),this.isResolved=l.isResolved=function(){return E===u},this.isRejected=l.isRejected=function(){return E===r},this.isFulfilled=l.isFulfilled=function(){return!!E},this.isCanceled=l.isCanceled=function(){return b},this.progress=function(R,N){if(E){if(N===!0)throw new Error(d);return l}else return i(I,f,R,null,p),l},this.resolve=function(R,N){if(E){if(N===!0)throw new Error(d);return l}else return i(I,E=u,m=R,null,p),I=null,l};var S=this.reject=function(R,N){if(E){if(N===!0)throw new Error(d);return l}else return h("config-deferredInstrumentation")&&Error.captureStackTrace&&Error.captureStackTrace(y={},S),i(I,E=r,m=R,y,p),I=null,l};this.then=l.then=function(R,N,O){var L=[O,R,N];return L.cancel=l.cancel,L.deferred=new t(function(U){return L.cancel&&L.cancel(U)}),E&&!I?o(L,E,m,y):I.push(L),L.deferred.promise},this.cancel=l.cancel=function(R,N){if(E){if(N===!0)throw new Error(d)}else{if(s){var O=s(R);R=typeof O>"u"?R:O}if(b=!0,E){if(E===r&&m===R)return R}else return typeof R>"u"&&(R=new g),S(R),R}},n(l)};return t.prototype.toString=function(){return"[object Deferred]"},v&&v(t),t},A,x),A.exports=w},43661:(A,x,a)=>{var T,w;T=[a(33070),a(20963)],w=a.dj.d(T,function(h,C){"use strict";var g=h.after;function _(){}return _.prototype={on:function(v,f){return C.parse(this,v,f,function(u,r){return g(u,"on"+r,f,!0)})},emit:function(v,f){var u=[this];return u.push.apply(u,arguments),C.emit.apply(C,u)}},_},A,x),A.exports=w},39414:(A,x,a)=>{var T,w;T=[a(41745),a(40923),a(37222),a(28054)],w=a.dj.d(T,function(h,C,g,_){return h("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(v){var f=this._attrPairNames;return f[v]?f[v]:f[v]={s:"_"+v+"Setter",g:"_"+v+"Getter"}},postscript:function(v){v&&this.set(v)},_get:function(v,f){return typeof this[f.g]=="function"?this[f.g]():this[v]},get:function(v){return this._get(v,this._getAttrNames(v))},set:function(v,f){if(typeof v=="object"){for(var u in v)v.hasOwnProperty(u)&&u!="_watchCallbacks"&&this.set(u,v[u]);return this}var r=this._getAttrNames(v),d=this._get(v,r),n=this[r.s],i;if(typeof n=="function"?i=n.apply(this,Array.prototype.slice.call(arguments,1)):this[v]=f,this._watchCallbacks){var o=this;_(i,function(){o._watchCallbacks(v,d,f)})}return this},_changeAttrValue:function(v,f){var u=this.get(v);return this[v]=f,this._watchCallbacks&&this._watchCallbacks(v,u,f),this},watch:function(v,f){var u=this._watchCallbacks;if(!u){var r=this;u=this._watchCallbacks=function(i,o,c,e){var t=function(s){if(s){s=s.slice();for(var l=0,p=s.length;l<p;l++)s[l].call(r,i,o,c)}};t(u["_"+i]),e||t(u["*"])}}!f&&typeof v=="function"?(f=v,v="*"):v="_"+v;var d=u[v];typeof d!="object"&&(d=u[v]=[]),d.push(f);var n={};return n.unwatch=n.remove=function(){var i=g.indexOf(d,f);i>-1&&d.splice(i,1)},n}})},A,x),A.exports=w},59060:(A,x,a)=>{var T,w;T=[a(806),a(40923),a(37222),a(93577)],w=a.dj.d(T,function(h,C,g,_){var v=h.Color=function(f){f&&this.setColor(f)};return v.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:_.transparentColor||[0,0,0,0]},C.extend(v,{r:255,g:255,b:255,a:1,_set:function(f,u,r,d){var n=this;n.r=f,n.g=u,n.b=r,n.a=d},setColor:function(f){return C.isString(f)?v.fromString(f,this):C.isArray(f)?v.fromArray(f,this):(this._set(f.r,f.g,f.b,f.a),f instanceof v||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var f=this;return[f.r,f.g,f.b]},toRgba:function(){var f=this;return[f.r,f.g,f.b,f.a]},toHex:function(){var f=g.map(["r","g","b"],function(u){var r=this[u].toString(16);return r.length<2?"0"+r:r},this);return"#"+f.join("")},toCss:function(f){var u=this,r=u.r+", "+u.g+", "+u.b;return(f?"rgba("+r+", "+u.a:"rgb("+r)+")"},toString:function(){return this.toCss(!0)}}),v.blendColors=h.blendColors=function(f,u,r,d){var n=d||new v;return n.r=Math.round(f.r+(u.r-f.r)*r),n.g=Math.round(f.g+(u.g-f.g)*r),n.b=Math.round(f.b+(u.b-f.b)*r),n.a=f.a+(u.a-f.a)*r,n.sanitize()},v.fromRgb=h.colorFromRgb=function(f,u){var r=f.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return r&&v.fromArray(r[1].split(/\s*,\s*/),u)},v.fromHex=h.colorFromHex=function(f,u){var r=u||new v,d=f.length==4?4:8,n=(1<<d)-1;return f=+("0x"+f.substr(1)),isNaN(f)?null:(g.forEach(["b","g","r"],function(i){var o=f&n;f>>=d,r[i]=d==4?17*o:o}),r.a=1,r)},v.fromArray=h.colorFromArray=function(f,u){var r=u||new v;return r._set(Number(f[0]),Number(f[1]),Number(f[2]),Number(f[3])),isNaN(r.a)&&(r.a=1),r.sanitize()},v.fromString=h.colorFromString=function(f,u){var r=v.named[f];return r&&v.fromArray(r,u)||v.fromRgb(f,u)||v.fromHex(f,u)},v},A,x),A.exports=w},27952:(A,x,a)=>{var T,w;T=[a(806),a(33553),a(22527),a(49350),a(2812),a(40923),a(28054)],w=a.dj.d(T,function(h,C,g,_,v,f,u){var r=function(){},d=Object.freeze||function(){},n=h.Deferred=function(i){var o,c,e,t,s,l,p,E=this.promise=new g;function m(I){if(c)throw new Error("This deferred has already been resolved");o=I,c=!0,y()}function y(){for(var I;!I&&p;){var S=p;p=p.next,(I=S.progress==r)&&(c=!1);var R=s?S.error:S.resolved;if(v("config-useDeferredInstrumentation")&&s&&C.instrumentRejected&&C.instrumentRejected(o,!!R),R)try{var N=R(o);if(N&&typeof N.then=="function"){N.then(f.hitch(S.deferred,"resolve"),f.hitch(S.deferred,"reject"),f.hitch(S.deferred,"progress"));continue}var O=I&&N===void 0;I&&!O&&(s=N instanceof Error),S.deferred[O&&s?"reject":"resolve"](O?o:N)}catch(L){S.deferred.reject(L)}else s?S.deferred.reject(o):S.deferred.resolve(o)}}this.isResolved=E.isResolved=function(){return t==0},this.isRejected=E.isRejected=function(){return t==1},this.isFulfilled=E.isFulfilled=function(){return t>=0},this.isCanceled=E.isCanceled=function(){return e},this.resolve=this.callback=function(I){this.fired=t=0,this.results=[I,null],m(I)},this.reject=this.errback=function(I){s=!0,this.fired=t=1,v("config-useDeferredInstrumentation")&&C.instrumentRejected&&C.instrumentRejected(I,!!p),m(I),this.results=[null,I]},this.progress=function(I){for(var S=p;S;){var R=S.progress;R&&R(I),S=S.next}},this.addCallbacks=function(I,S){return this.then(I,S,r),this},E.then=this.then=function(I,S,R){var N=R==r?this:new n(E.cancel),O={resolved:I,error:S,progress:R,deferred:N};return p?l=l.next=O:p=l=O,c&&y(),N.promise};var b=this;E.cancel=this.cancel=function(){if(!c){var I=i&&i(b);c||(I instanceof Error||(I=new _(I)),I.log=!1,b.reject(I))}e=!0},d(E)};return f.extend(n,{addCallback:function(i){return this.addCallbacks(f.hitch.apply(h,arguments))},addErrback:function(i){return this.addCallbacks(null,f.hitch.apply(h,arguments))},addBoth:function(i){var o=f.hitch.apply(h,arguments);return this.addCallbacks(o,o)},fired:-1}),n.when=h.when=u,n},A,x),A.exports=w},37222:(A,x,a)=>{var T,w;T=[a(806),a(2812),a(40923)],w=a.dj.d(T,function(h,C,g){var _={},v,f;C("csp-restrictions")||(f=function(n){return _[n]=new Function("item","index","array",n)});function u(n){var i=!n;return function(o,c,e){var t=0,s=o&&o.length||0,l;if(s&&typeof o=="string"&&(o=o.split("")),typeof c=="string"){if(C("csp-restrictions"))throw new TypeError("callback must be a function");c=_[c]||f(c)}if(e){for(;t<s;++t)if(l=!c.call(e,o[t],t,o),n^l)return!l}else for(;t<s;++t)if(l=!c(o[t],t,o),n^l)return!l;return i}}function r(n){var i=1,o=0,c=0;return n||(i=o=c=-1),function(e,t,s,l){if(l&&i>0)return d.lastIndexOf(e,t,s);var p=e&&e.length||0,E=n?p+c:o,m;for(s===v?m=n?o:p+c:s<0?(m=p+s,m<0&&(m=o)):m=s>=p?p+c:s,p&&typeof e=="string"&&(e=e.split(""));m!=E;m+=i)if(e[m]==t)return m;return-1}}var d={every:u(!1),some:u(!0),indexOf:r(!0),lastIndexOf:r(!1),forEach:function(n,i,o){var c=0,e=n&&n.length||0;if(e&&typeof n=="string"&&(n=n.split("")),typeof i=="string"){if(C("csp-restrictions"))throw new TypeError("callback must be a function");i=_[i]||f(i)}if(o)for(;c<e;++c)i.call(o,n[c],c,n);else for(;c<e;++c)i(n[c],c,n)},map:function(n,i,o,c){var e=0,t=n&&n.length||0,s=new(c||Array)(t);if(t&&typeof n=="string"&&(n=n.split("")),typeof i=="string"){if(C("csp-restrictions"))throw new TypeError("callback must be a function");i=_[i]||f(i)}if(o)for(;e<t;++e)s[e]=i.call(o,n[e],e,n);else for(;e<t;++e)s[e]=i(n[e],e,n);return s},filter:function(n,i,o){var c=0,e=n&&n.length||0,t=[],s;if(e&&typeof n=="string"&&(n=n.split("")),typeof i=="string"){if(C("csp-restrictions"))throw new TypeError("callback must be a function");i=_[i]||f(i)}if(o)for(;c<e;++c)s=n[c],i.call(o,s,c,n)&&t.push(s);else for(;c<e;++c)s=n[c],i(s,c,n)&&t.push(s);return t},clearCache:function(){_={}}};return C("extend-dojo")&&g.mixin(h,d),d},A,x),A.exports=w},93577:(A,x,a)=>{var T,w;T=[a(79181),a(2812),a.dj.c(A)],w=a.dj.d(T,function(h,C,g){var _={};if(C("dojo-config-api")){var v=g.rawConfig,f;for(f in v)_[f]=v[f]}else{var u=function(d,n,i){for(f in d)f!="has"&&C.add(n+f,d[f],0,i)};_=C("dojo-loader")?g.rawConfig:h.dojoConfig||h.djConfig||{},u(_,"config",1),u(_.has,"",1)}if(_.updateLocale=function(d,n){var i,o,c="en-us";if(d.indexOf(n)>=0&&n!=="zh"){_.locale=n;return}if(i=n.split("-")[0],i==="zh"){_.locale=c.toLocaleLowerCase();return}for(var e=0;e<d.length;e=e+1)if(o=d[e].split("-")[0],i===o){_.locale=d[e];break}_.locale||(_.locale=c.toLowerCase())},!_.locale&&typeof navigator<"u"){var r=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;r=_._testLanguageOverride||r,r&&(r=r.toLowerCase(),_.supportedLocales&&_.updateLocale(_.supportedLocales,r))}return _.locale||(_.locale="en-us"),_},A,x),A.exports=w},92785:(A,x,a)=>{var T,w;T=[a(806),a(20963),a(17279),a(33070),a(36151),a(70495),a(8703),a(40923),a(99890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){u.add("events-keypress-typed",function(){var l={charCode:0};try{l=document.createEvent("KeyboardEvent"),(l.initKeyboardEvent||l.initKeyEvent).call(l,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(p){}return l.charCode==0&&!u("opera")});function d(l,p,E,m,y){if(m=r.hitch(E,m),!l||!(l.addEventListener||l.attachEvent))return _.after(l||h.global,p,m,!0);if(typeof p=="string"&&p.substring(0,2)=="on"&&(p=p.substring(2)),l||(l=h.global),!y)switch(p){case"keypress":p=e;break;case"mouseenter":p=f.enter;break;case"mouseleave":p=f.leave;break}return C(l,p,m,y)}var n={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},i=u("mac")?"metaKey":"ctrlKey",o=function(l,p){var E=r.mixin({},l,p);return c(E),E.preventDefault=function(){l.preventDefault()},E.stopPropagation=function(){l.stopPropagation()},E};function c(l){l.keyChar=l.charCode?String.fromCharCode(l.charCode):"",l.charOrCode=l.keyChar||l.keyCode}var e;if(u("events-keypress-typed")){var t=function(l,p){try{return l.keyCode=p}catch(E){return 0}};e=function(l,p){var E=C(l,"keydown",function(y){var b=y.keyCode,I=b!=13&&b!=32&&(b!=27||!u("ie"))&&(b<48||b>90)&&(b<96||b>111)&&(b<186||b>192)&&(b<219||b>222)&&b!=229;if(I||y.ctrlKey){var S=I?0:b;if(y.ctrlKey){if(b==3||b==13)return p.call(y.currentTarget,y);S>95&&S<106?S-=48:!y.shiftKey&&S>=65&&S<=90?S+=32:S=n[S]||S}var R=o(y,{type:"keypress",faux:!0,charCode:S});p.call(y.currentTarget,R),u("ie")&&t(y,R.keyCode)}}),m=C(l,"keypress",function(y){var b=y.charCode;return b=b>=32?b:0,y=o(y,{charCode:b,faux:!0}),p.call(this,y)});return{remove:function(){E.remove(),m.remove()}}}}else u("opera")?e=function(l,p){return C(l,"keypress",function(E){var m=E.which;return m==3&&(m=99),m=m<32&&!E.shiftKey?0:m,E.ctrlKey&&!E.shiftKey&&m>=65&&m<=90&&(m+=32),p.call(this,o(E,{charCode:m}))})}:e=function(l,p){return C(l,"keypress",function(E){return c(E),p.call(this,E)})};var s={_keypress:e,connect:function(l,p,E,m,y){var b=arguments,I=[],S=0;I.push(typeof b[0]=="string"?null:b[S++],b[S++]);var R=b[S+1];I.push(typeof R=="string"||typeof R=="function"?b[S++]:null,b[S++]);for(var N=b.length;S<N;S++)I.push(b[S]);return d.apply(this,I)},disconnect:function(l){l&&l.remove()},subscribe:function(l,p,E){return g.subscribe(l,r.hitch(p,E))},publish:function(l,p){return g.publish.apply(g,[l].concat(p))},connectPublisher:function(l,p,E){var m=function(){s.publish(l,arguments)};return E?s.connect(p,E,m):s.connect(p,m)},isCopyKey:function(l){return l[i]}};return s.unsubscribe=s.disconnect,u("extend-dojo")&&r.mixin(h,s),s},A,x),A.exports=w},41745:(A,x,a)=>{var T,w;T=[a(806),a(2812),a(40923)],w=a.dj.d(T,function(h,C,g){var _=g.mixin,v=Object.prototype,f=v.toString,u,r=0,d="constructor";C("csp-restrictions")?u=function(){}:u=new Function;function n(L,U){throw new Error("declare"+(U?" "+U:"")+": "+L)}function i(L,U){for(var z=[],$=[{cls:0,refs:[]}],W={},V=1,K=L.length,M=0,B,P,k,H,Y,G,Q,J;M<K;++M){for(k=L[M],k?f.call(k)!="[object Function]"&&n("mixin #"+M+" is not a callable constructor.",U):n("mixin #"+M+" is unknown. Did you use dojo.require to pull it in?",U),P=k._meta?k._meta.bases:[k],H=0,B=P.length-1;B>=0;--B)Y=P[B].prototype,Y.hasOwnProperty("declaredClass")||(Y.declaredClass="uniqName_"+r++),Q=Y.declaredClass,W.hasOwnProperty(Q)||(W[Q]={count:0,refs:[],cls:P[B]},++V),G=W[Q],H&&H!==G&&(G.refs.push(H),++H.count),H=G;++H.count,$[0].refs.push(H)}for(;$.length;){for(H=$.pop(),z.push(H.cls),--V;J=H.refs,J.length==1;){if(H=J[0],!H||--H.count){H=0;break}z.push(H.cls),--V}if(H)for(M=0,K=J.length;M<K;++M)H=J[M],--H.count||$.push(H)}return V&&n("can't build consistent linearization",U),k=L[0],z[0]=k?k._meta&&k===z[z.length-k._meta.bases.length]?k._meta.bases.length:1:0,z}function o(L,U,z,$){var W,V,K,M,B,P,k,H,Y,G=this._inherited=this._inherited||{};if(typeof L=="string"&&(W=L,L=U,U=z,z=$),typeof L=="function")M=L,L=U,U=z;else try{M=L.callee}catch(Q){if(Q instanceof TypeError)n("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass);else throw Q}if(W=W||M.nom,W||n("can't deduce a name to call inherited()",this.declaredClass),z=$=0,B=this.constructor._meta,K=B.bases,Y=G.p,W!=d){if(G.c!==M&&(Y=0,P=K[0],B=P._meta,B.hidden[W]!==M)){V=B.chains,V&&typeof V[W]=="string"&&n("calling chained method with inherited: "+W,this.declaredClass);do if(B=P._meta,k=P.prototype,B&&(k[W]===M&&k.hasOwnProperty(W)||B.hidden[W]===M))break;while(P=K[++Y]);Y=P?Y:-1}if(P=K[++Y],P)if(k=P.prototype,P._meta&&k.hasOwnProperty(W))z=k[W];else{H=v[W];do if(k=P.prototype,z=k[W],z&&(P._meta?k.hasOwnProperty(W):z!==H))break;while(P=K[++Y])}z=P&&z||v[W]}else{if(G.c!==M&&(Y=0,B=K[0]._meta,B&&B.ctor!==M)){for(V=B.chains,(!V||V.constructor!=="manual")&&n("calling chained constructor with inherited",this.declaredClass);(P=K[++Y])&&(B=P._meta,!(B&&B.ctor===M)););Y=P?Y:-1}for(;(P=K[++Y])&&(B=P._meta,z=B?B.ctor:P,!z););z=P&&z}if(G.c=z,G.p=Y,z)return U===!0?z:z.apply(this,U||L)}function c(L,U,z){return typeof L=="string"?typeof U=="function"?this.__inherited(L,U,z,!0):this.__inherited(L,U,!0):typeof L=="function"?this.__inherited(L,U,!0):this.__inherited(L,!0)}function e(L,U,z,$){var W=this.getInherited(L,U,z);if(W)return W.apply(this,$||z||U||L)}var t=h.config.isDebug?e:o;function s(L){for(var U=this.constructor._meta.bases,z=0,$=U.length;z<$;++z)if(U[z]===L)return!0;return this instanceof L}function l(L,U){for(var z in U)z!=d&&U.hasOwnProperty(z)&&(L[z]=U[z]);if(C("bug-for-in-skips-shadowed"))for(var $=g._extraNames,W=$.length;W;)z=$[--W],z!=d&&U.hasOwnProperty(z)&&(L[z]=U[z])}function p(L,U){var z,$;for(z in U)$=U[z],($!==v[z]||!(z in v))&&z!=d&&(f.call($)=="[object Function]"&&($.nom=z),L[z]=$);if(C("bug-for-in-skips-shadowed")&&U)for(var W=g._extraNames,V=W.length;V;)z=W[--V],$=U[z],($!==v[z]||!(z in v))&&z!=d&&(f.call($)=="[object Function]"&&($.nom=z),L[z]=$);return L}function E(L){return O.safeMixin(this.prototype,L),this}function m(L,U){return L instanceof Array||typeof L=="function"||(U=L,L=void 0),U=U||{},L=L||[],O([this].concat(L),U)}function y(L,U){return function(){var z=arguments,$=z,W=z[0],V,K,M,B=L.length,P;if(!(this instanceof z.callee))return N(z);if(U&&(W&&W.preamble||this.preamble))for(P=new Array(L.length),P[0]=z,K=0;W=z[0],W&&(V=W.preamble,V&&(z=V.apply(this,z)||z)),V=L[K].prototype,V=V.hasOwnProperty("preamble")&&V.preamble,V&&(z=V.apply(this,z)||z),++K!=B;)P[K]=z;for(K=B-1;K>=0;--K)V=L[K],M=V._meta,V=M?M.ctor:V,V&&V.apply(this,P?P[K]:z);V=this.postscript,V&&V.apply(this,$)}}function b(L,U){return function(){var z=arguments,$=z,W=z[0],V;if(!(this instanceof z.callee))return N(z);U&&(W&&(V=W.preamble,V&&($=V.apply(this,$)||$)),V=this.preamble,V&&V.apply(this,$)),L&&L.apply(this,z),V=this.postscript,V&&V.apply(this,z)}}function I(L){return function(){var U=arguments,z=0,$,W;try{if(!(this instanceof U.callee))return N(U)}catch(V){}for(;$=L[z];++z)if(W=$._meta,$=W?W.ctor:$,$){$.apply(this,U);break}$=this.postscript,$&&$.apply(this,U)}}function S(L,U,z){return function(){var $,W,V,K=0,M=1;for(z&&(K=U.length-1,M=-1);$=U[K];K+=M)W=$._meta,V=(W?W.hidden:$.prototype)[L],V&&V.apply(this,arguments)}}function R(L){u.prototype=L.prototype;var U=new u;return u.prototype=null,U}function N(L){var U=L.callee,z=R(U);return U.apply(z,L),z}function O(L,U,z){typeof L!="string"&&(z=U,U=L,L=""),z=z||{};var $,W,V,K,M,B,P,k=1,H=U;if(f.call(U)=="[object Array]"?(B=i(U,L),V=B[0],k=B.length-V,U=B[k]):(B=[0],U?f.call(U)=="[object Function]"?(V=U._meta,B=B.concat(V?V.bases:U)):n("base class is not a callable constructor.",L):U!==null&&n("unknown base class. Did you use dojo.require to pull it in?",L)),U)for(W=k-1;$=R(U),!!W;--W)V=B[W],(V._meta?l:_)($,V.prototype),C("csp-restrictions")?K=function(){}:K=new Function,K.superclass=U,K.prototype=$,U=$.constructor=K;else $={};for(O.safeMixin($,z),V=z.constructor,V!==v.constructor&&(V.nom=d,$.constructor=V),W=k-1;W;--W)V=B[W]._meta,V&&V.chains&&(P=_(P||{},V.chains));if($["-chains-"]&&(P=_(P||{},$["-chains-"])),U&&U.prototype&&U.prototype["-chains-"]&&(P=_(P||{},U.prototype["-chains-"])),V=!P||!P.hasOwnProperty(d),B[0]=K=P&&P.constructor==="manual"?I(B):B.length==1?b(z.constructor,V):y(B,V),K._meta={bases:B,hidden:z,chains:P,parents:H,ctor:z.constructor},K.superclass=U&&U.prototype,K.extend=E,K.createSubclass=m,K.prototype=$,$.constructor=K,$.getInherited=c,$.isInstanceOf=s,$.inherited=t,$.__inherited=o,L&&($.declaredClass=L,g.setObject(L,K)),P)for(M in P)$[M]&&typeof P[M]=="string"&&M!=d&&(V=$[M]=S(M,B,P[M]==="after"),V.nom=M);return K}return h.safeMixin=O.safeMixin=p,h.declare=O,O},A,x),A.exports=w},36151:(A,x,a)=>{var T,w;T=[a(806),a(20963),a(2812),a(24485)],w=a.dj.d(T,function(h,C,g,_){if(C._fixEvent){var v=C._fixEvent;C._fixEvent=function(u,r){return u=v(u,r),u&&_.normalizeEvent(u),u}}var f={fix:function(u,r){return C._fixEvent?C._fixEvent(u,r):u},stop:function(u){g("dom-addeventlistener")||u&&u.preventDefault?(u.preventDefault(),u.stopPropagation()):(u=u||window.event,u.cancelBubble=!0,C._preventDefault.call(u))}};return g("extend-dojo")&&(h.fixEvent=f.fix,h.stopEvent=f.stop),f},A,x),A.exports=w},14433:(A,x,a)=>{var T,w;T=[a(806),a(93577),a(40923),a(43661),a(59060),a(33070),a(82896),a(58340),a(41032)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){var n=g.mixin,i={},o=i._Line=function(E,m){this.start=E,this.end=m};o.prototype.getValue=function(E){return(this.end-this.start)*E+this.start};var c=i.Animation=function(E){n(this,E),g.isArray(this.curve)&&(this.curve=new o(this.curve[0],this.curve[1]))};c.prototype=new _,g.extend(c,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var E=this._percent,m=this.easing;return m?m(E):E},_fire:function(E,m){var y=m||[];if(this[E])if(C.debugAtAllCosts)this[E].apply(this,y);else try{this[E].apply(this,y)}catch(b){console.error("exception in animation handler for:",E),console.error(b)}return this},play:function(E,m){var y=this;if(y._delayTimer&&y._clearTimer(),m)y._stopTimer(),y._active=y._paused=!1,y._percent=0;else if(y._active&&!y._paused)return y;y._fire("beforeBegin",[y.node]);var b=E||y.delay,I=g.hitch(y,"_play",m);return b>0?(y._delayTimer=setTimeout(I,b),y):(I(),y)},_play:function(E){var m=this;m._delayTimer&&m._clearTimer(),m._startTime=new Date().valueOf(),m._paused&&(m._startTime-=m.duration*m._percent),m._active=!0,m._paused=!1;var y=m.curve.getValue(m._getStep());return m._percent||(m._startRepeatCount||(m._startRepeatCount=m.repeat),m._fire("onBegin",[y])),m._fire("onPlay",[y]),m._cycle(),m},pause:function(){var E=this;return E._delayTimer&&E._clearTimer(),E._stopTimer(),E._active&&(E._paused=!0,E._fire("onPause",[E.curve.getValue(E._getStep())])),E},gotoPercent:function(E,m){var y=this;return y._stopTimer(),y._active=y._paused=!0,y._percent=E,m&&y.play(),y},stop:function(E){var m=this;return m._delayTimer&&m._clearTimer(),m._timer&&(m._stopTimer(),E&&(m._percent=1),m._fire("onStop",[m.curve.getValue(m._getStep())]),m._active=m._paused=!1),m},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var E=this;if(E._active){var m=new Date().valueOf(),y=E.duration===0?1:(m-E._startTime)/E.duration;y>=1&&(y=1),E._percent=y,E.easing&&(y=E.easing(y)),E._fire("onAnimate",[E.curve.getValue(y)]),E._percent<1?E._startTimer():(E._active=!1,E.repeat>0?(E.repeat--,E.play(null,!0)):E.repeat==-1?E.play(null,!0):E._startRepeatCount&&(E.repeat=E._startRepeatCount,E._startRepeatCount=0),E._percent=0,E._fire("onEnd",[E.node]),!E.repeat&&E._stopTimer())}return E},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var e=0,t=null,s={run:function(){}};g.extend(c,{_startTimer:function(){this._timer||(this._timer=f.after(s,"run",g.hitch(this,"_cycle"),!0),e++),t||(t=setInterval(g.hitch(s,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,e--),e<=0&&(clearInterval(t),t=null,e=0)}});var l=u("ie")?function(E){var m=E.style;!m.width.length&&d.get(E,"width")=="auto"&&(m.width="auto")}:function(){};i._fade=function(E){E.node=r.byId(E.node);var m=n({properties:{}},E),y=m.properties.opacity={};y.start="start"in m?m.start:function(){return+d.get(m.node,"opacity")||0},y.end=m.end;var b=i.animateProperty(m);return f.after(b,"beforeBegin",g.partial(l,m.node),!0),b},i.fadeIn=function(E){return i._fade(n({end:1},E))},i.fadeOut=function(E){return i._fade(n({end:0},E))},i._defaultEasing=function(E){return .5+Math.sin((E+1.5)*Math.PI)/2};var p=function(E){this._properties=E;for(var m in E){var y=E[m];y.start instanceof v&&(y.tempColor=new v)}};return p.prototype.getValue=function(E){var m={};for(var y in this._properties){var b=this._properties[y],I=b.start;I instanceof v?m[y]=v.blendColors(I,b.end,E,b.tempColor).toCss():g.isArray(I)||(m[y]=(b.end-I)*E+I+(y!="opacity"?b.units||"px":0))}return m},i.animateProperty=function(E){var m=E.node=r.byId(E.node);E.easing||(E.easing=h._defaultEasing);var y=new c(E);return f.after(y,"beforeBegin",g.hitch(y,function(){var b={};for(var I in this.properties){(I=="width"||I=="height")&&(this.node.display="block");var S=this.properties[I];g.isFunction(S)&&(S=S(m)),S=b[I]=n({},g.isObject(S)?S:{end:S}),g.isFunction(S.start)&&(S.start=S.start(m)),g.isFunction(S.end)&&(S.end=S.end(m));var R=I.toLowerCase().indexOf("color")>=0,N=function(L,U){var z={height:L.offsetHeight,width:L.offsetWidth}[U];return z!==void 0?z:(z=d.get(L,U),U=="opacity"?+z:R?z:parseFloat(z))};"end"in S?"start"in S||(S.start=N(m,I)):S.end=N(m,I),R?(S.start=new v(S.start),S.end=new v(S.end)):S.start=I=="opacity"?+S.start:parseFloat(S.start)}this.curve=new p(b)}),!0),f.after(y,"onAnimate",g.hitch(d,"set",y.node),!0),y},i.anim=function(E,m,y,b,I,S){return i.animateProperty({node:E,duration:y||c.prototype.duration,properties:m,easing:b,onEnd:I}).play(S||0)},u("extend-dojo")&&(n(h,i),h._Animation=c),i},A,x),A.exports=w},16613:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(806),__webpack_require__(10316)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr=" ",dojo.toJson=function(A,x){return json.stringify(A,function(a,T){if(T){var w=T.__json__||T.json;if(typeof w=="function")return w.call(T)}return T},x&&dojo.toJsonIndentStr)},dojo},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},806:(A,x,a)=>{var T,w;T=[a(79181),a(2812),a(93577),a.dj.c(A),a.dj.m(A)],w=a.dj.d(T,function(h,C,g,_,v){var f,u,r={},d={},n={config:g,global:h,dijit:r,dojox:d},i={dojo:["dojo",n],dijit:["dijit",r],dojox:["dojox",d]},o=_.map&&_.map[v.id.match(/[^\/]+/)[0]],c;for(u in o)i[u]?i[u][0]=o[u]:i[u]=[o[u],{}];for(u in i)c=i[u],c[1]._scopeName=c[0],g.noGlobals||(h[c[0]]=c[1]);n.scopeMap=i,n.baseUrl=n.config.baseUrl=_.baseUrl,n.isAsync=!C("dojo-loader")||_.async,n.locale=g.locale;var e="$Rev:$".match(/[0-9a-f]{7,}/);if(n.version={major:1,minor:17,patch:1,flag:"",revision:e?e[0]:NaN,toString:function(){var p=n.version;return p.major+"."+p.minor+"."+p.patch+p.flag+" ("+p.revision+")"}},C.add("extend-dojo",1),C("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(n),C("host-rhino")?n.exit=function(p){quit(p)}:n.exit=function(){},C("host-webworker")||C.add("dojo-guarantee-console",1),C("dojo-guarantee-console")){C.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log=="object"}),typeof console<"u"||(console={});var t=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"],s;for(f=0;s=t[f++];)console[s]?C("console-as-object")&&(console[s]=Function.prototype.bind.call(console[s],console)):function(){var p=s+"";console[p]="log"in console?function(){var E=Array.prototype.slice.call(arguments);E.unshift(p+":"),console.log(E.join(" "))}:function(){},console[p]._fake=!0}()}if(C.add("dojo-debug-messages",!!g.isDebug),n.deprecated=n.experimental=function(){},C("dojo-debug-messages")&&(n.deprecated=function(p,E,m){var y="DEPRECATED: "+p;E&&(y+=" "+E),m&&(y+=" -- will be removed in version: "+m),console.warn(y)},n.experimental=function(p,E){var m="EXPERIMENTAL: "+p+" -- APIs subject to change without notice.";E&&(m+=" "+E),console.warn(m)}),C.add("dojo-modulePaths",1),C("dojo-modulePaths")&&g.modulePaths){n.deprecated("dojo.modulePaths","use paths configuration");var l={};for(u in g.modulePaths)l[u.replace(/\./g,"/")]=g.modulePaths[u];_({paths:l})}return C.add("dojo-moduleUrl",1),C("dojo-moduleUrl")&&(n.moduleUrl=function(p,E){n.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var m=null;return p&&(m=_.toUrl(p.replace(/\./g,"/")+(E?"/"+E:"")+"/*.*").replace(/\/\*\.\*/,"")+(E?"":"/")),m}),n._hasResource={},n},A,x),A.exports=w},40923:(A,x,a)=>{var T,w;T=[a(806),a(2812),a(82896)],w=a.dj.d(T,function(h,C){C.add("bug-for-in-skips-shadowed",function(){for(var n in{toString:1})return 0;return 1});var g=C("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_=g.length,v=function(n,i,o){o||(n[0]&&h.scopeMap[n[0]]?o=h.scopeMap[n.shift()][1]:o=h.global);try{for(var c=0;c<n.length;c++){var e=n[c];if(e==="__proto__"||e==="constructor")return;if(!(e in o))if(i)o[e]={};else return;o=o[e]}return o}catch(t){}},f=Object.prototype.toString,u=function(n,i,o){return(o||[]).concat(Array.prototype.slice.call(n,i||0))},r=/\{([^\}]+)\}/g,d={_extraNames:g,_mixin:function(n,i,o){var c,e,t,s={};for(c in i)e=i[c],(!(c in n)||n[c]!==e&&(!(c in s)||s[c]!==e))&&(n[c]=o?o(e):e);if(C("bug-for-in-skips-shadowed")&&i)for(t=0;t<_;++t)c=g[t],e=i[c],(!(c in n)||n[c]!==e&&(!(c in s)||s[c]!==e))&&(n[c]=o?o(e):e);return n},mixin:function(n,i){n||(n={});for(var o=1,c=arguments.length;o<c;o++)d._mixin(n,arguments[o]);return n},setObject:function(n,i,o){var c=n.split("."),e=c.pop(),t=v(c,!0,o);return t&&e?t[e]=i:void 0},getObject:function(n,i,o){return n?v(n.split("."),i,o):o},exists:function(n,i){return d.getObject(n,!1,i)!==void 0},isString:function(n){return typeof n=="string"||n instanceof String},isArray:Array.isArray||function(n){return f.call(n)=="[object Array]"},isFunction:function(n){return f.call(n)==="[object Function]"},isObject:function(n){return n!==void 0&&(n===null||typeof n=="object"||d.isArray(n)||d.isFunction(n))},isArrayLike:function(n){return!!n&&!d.isString(n)&&!d.isFunction(n)&&!(n.tagName&&n.tagName.toLowerCase()=="form")&&(d.isArray(n)||isFinite(n.length))},isAlien:function(n){return n&&!d.isFunction(n)&&/\{\s*\[native code\]\s*\}/.test(String(n))},extend:function(n,i){for(var o=1,c=arguments.length;o<c;o++)d._mixin(n.prototype,arguments[o]);return n},_hitchArgs:function(n,i){var o=d._toArray(arguments,2),c=d.isString(i);return function(){var e=d._toArray(arguments),t=c?(n||h.global)[i]:i;return t&&t.apply(n||this,o.concat(e))}},hitch:function(n,i){if(arguments.length>2)return d._hitchArgs.apply(h,arguments);if(i||(i=n,n=null),d.isString(i)){if(n=n||h.global,!n[i])throw['lang.hitch: scope["',i,'"] is null (scope="',n,'")'].join("");return function(){return n[i].apply(n,arguments||[])}}return n?function(){return i.apply(n,arguments||[])}:i},delegate:function(){function n(){}return function(i,o){n.prototype=i;var c=new n;return n.prototype=null,o&&d._mixin(c,o),c}}(),_toArray:C("ie")?function(){function n(i,o,c){for(var e=c||[],t=o||0;t<i.length;t++)e.push(i[t]);return e}return function(i){return(i.item?n:u).apply(this,arguments)}}():u,partial:function(n){var i=[null];return d.hitch.apply(h,i.concat(d._toArray(arguments)))},clone:function(n){if(!n||typeof n!="object"||d.isFunction(n))return n;if(n.nodeType&&"cloneNode"in n)return n.cloneNode(!0);if(n instanceof Date)return new Date(n.getTime());if(n instanceof RegExp)return new RegExp(n);var i,o,c;if(d.isArray(n))for(i=[],o=0,c=n.length;o<c;++o)o in n&&(i[o]=d.clone(n[o]));else i=n.constructor?new n.constructor:{};return d._mixin(i,n,d.clone)},trim:String.prototype.trim?function(n){return n.trim()}:function(n){return n.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(n,i,o){return n.replace(o||r,d.isFunction(i)?i:function(c,e){return d.getObject(e,!1,i)})}};return C("extend-dojo")&&d.mixin(h,d),d},A,x),A.exports=w},8703:(A,x,a)=>{var T,w;T=[a(806),a(40923),a(82896)],w=a.dj.d(T,function(h,C,g){return g("host-browser")&&(h._name="browser",C.mixin(h,{isBrowser:!0,isFF:g("ff"),isIE:g("ie"),isKhtml:g("khtml"),isWebKit:g("webkit"),isMozilla:g("mozilla"),isMoz:g("mozilla"),isOpera:g("opera"),isSafari:g("safari"),isChrome:g("chrome"),isMac:g("mac"),isIos:g("ios"),isAndroid:g("android"),isWii:g("wii"),isQuirks:g("quirks"),isAir:g("air")})),g},A,x),A.exports=w},60754:(A,x,a)=>{var T,w;T=[a(806)],w=a.dj.d(T,function(h){var C=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),g=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_=function(){for(var v=null,f=arguments,u=[f[0]],r=1;r<f.length;r++)if(f[r]){var d=new _(f[r]+""),n=new _(u[0]+"");if(d.path==""&&!d.scheme&&!d.authority&&!d.query)d.fragment!=v&&(n.fragment=d.fragment),d=n;else if(!d.scheme&&(d.scheme=n.scheme,!d.authority&&(d.authority=n.authority,d.path.charAt(0)!="/"))){for(var i=n.path.substring(0,n.path.lastIndexOf("/")+1)+d.path,o=i.split("/"),c=0;c<o.length;c++)o[c]=="."?c==o.length-1?o[c]="":(o.splice(c,1),c--):c>0&&!(c==1&&o[0]=="")&&o[c]==".."&&o[c-1]!=".."&&(c==o.length-1?(o.splice(c,1),o[c-1]=""):(o.splice(c-1,2),c-=2));d.path=o.join("/")}u=[],d.scheme&&u.push(d.scheme,":"),d.authority&&u.push("//",d.authority),u.push(d.path),d.query&&u.push("?",d.query),d.fragment&&u.push("#",d.fragment)}this.uri=u.join("");var e=this.uri.match(C);this.scheme=e[2]||(e[1]?"":v),this.authority=e[4]||(e[3]?"":v),this.path=e[5],this.query=e[7]||(e[6]?"":v),this.fragment=e[9]||(e[8]?"":v),this.authority!=v&&(e=this.authority.match(g),this.user=e[3]||v,this.password=e[4]||v,this.host=e[6]||e[7],this.port=e[9]||v)};return _.prototype.toString=function(){return this.uri},h._Url=_},A,x),A.exports=w},2251:(A,x,a)=>{var T,w;T=[a(806),a(40923),a(82896)],w=a.dj.d(T,function(h,C,g){var _={global:h.global,doc:h.global.document||null,body:function(v){return v=v||h.doc,v.body||v.getElementsByTagName("body")[0]},setContext:function(v,f){h.global=_.global=v,h.doc=_.doc=f},withGlobal:function(v,f,u,r){var d=h.global;try{return h.global=_.global=v,_.withDoc.call(null,v.document,f,u,r)}finally{h.global=_.global=d}},withDoc:function(v,f,u,r){var d=_.doc,n=g("quirks"),i=g("ie"),o,c,e;try{return h.doc=_.doc=v,h.isQuirks=g.add("quirks",h.doc.compatMode=="BackCompat",!0,!0),g("ie")&&(e=v.parentWindow)&&e.navigator&&(o=parseFloat(e.navigator.appVersion.split("MSIE ")[1])||void 0,c=v.documentMode,c&&c!=5&&Math.floor(o)!=c&&(o=c),h.isIE=g.add("ie",o,!0,!0)),u&&typeof f=="string"&&(f=u[f]),f.apply(u,r||[])}finally{h.doc=_.doc=d,h.isQuirks=g.add("quirks",n,!0,!0),h.isIE=g.add("ie",i,!0,!0)}}};return g("extend-dojo")&&C.mixin(h,_),_},A,x),A.exports=w},55801:(A,x,a)=>{var T,w;T=[a(806),a(8703),a.dj.c(A),a(80419),a(58340),a(28559),a(27952),a(93577),a(16613),a(40923),a(37222),a(20963),a(33070),a(22333),a(5464),a(95148)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s){h._xhrObj=t._create;var l=h.config;h.objectToQuery=_.objectToQuery,h.queryToObject=_.queryToObject,h.fieldToObject=f.fieldToObject,h.formToObject=f.toObject,h.formToQuery=f.toQuery,h.formToJson=f.toJson,h._blockAsync=!1;var p=h._contentHandlers=h.contentHandlers={text:function(S){return S.responseText},json:function(S){return d.fromJson(S.responseText||null)},"json-comment-filtered":function(S){r.useCommentedJson||console.warn(`Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&
Use djConfig.useCommentedJson=true to turn off this message.`);var R=S.responseText,N=R.indexOf("/*"),O=R.lastIndexOf("*/");if(N==-1||O==-1)throw new Error("JSON was not comment filtered");return d.fromJson(R.substring(N+2,O))},javascript:function(S){return h.eval(S.responseText)},xml:function(S){var R=S.responseXML;if(R&&C("dom-qsa2.1")&&!R.querySelectorAll&&C("dom-parser")&&(R=new DOMParser().parseFromString(S.responseText,"application/xml")),C("ie")&&(!R||!R.documentElement)){var N=function(L){return"MSXML"+L+".DOMDocument"},O=["Microsoft.XMLDOM",N(6),N(4),N(3),N(2)];i.some(O,function(L){try{var U=new ActiveXObject(L);U.async=!1,U.loadXML(S.responseText),R=U}catch(z){return!1}return!0})}return R},"json-comment-optional":function(S){return S.responseText&&/^[^{\[]*\/\*/.test(S.responseText)?p["json-comment-filtered"](S):p.json(S)}};h._ioSetArgs=function(S,R,N,O){var L={args:S,url:S.url},U=null;if(S.form){var z=v.byId(S.form),$=z.getAttributeNode("action");L.url=L.url||($?$.value:h.doc?h.doc.URL:null),U=f.toObject(z)}var W={};U&&n.mixin(W,U),S.content&&n.mixin(W,S.content),S.preventCache&&(W["dojo.preventCache"]=new Date().valueOf()),L.query=_.objectToQuery(W),L.handleAs=S.handleAs||"text";var V=new u(function(P){P.canceled=!0,R&&R(P);var k=P.ioArgs.error;return k||(k=new Error("request cancelled"),k.dojoType="cancel",P.ioArgs.error=k),k});V.addCallback(N);var K=S.load;K&&n.isFunction(K)&&V.addCallback(function(P){return K.call(S,P,L)});var M=S.error;M&&n.isFunction(M)&&V.addErrback(function(P){return M.call(S,P,L)});var B=S.handle;return B&&n.isFunction(B)&&V.addBoth(function(P){return B.call(S,P,L)}),V.addErrback(function(P){return O(P,V)}),l.ioPublish&&h.publish&&L.args.ioPublish!==!1&&(V.addCallbacks(function(P){return h.publish("/dojo/io/load",[V,P]),P},function(P){return h.publish("/dojo/io/error",[V,P]),P}),V.addBoth(function(P){return h.publish("/dojo/io/done",[V,P]),P})),V.ioArgs=L,V};var E=function(S){var R=p[S.ioArgs.handleAs](S.ioArgs.xhr);return R===void 0?null:R},m=function(S,R){return R.ioArgs.args.failOk||console.error(S),S},y=function(S){b<=0&&(b=0,l.ioPublish&&h.publish&&(!S||S&&S.ioArgs.args.ioPublish!==!1)&&h.publish("/dojo/io/stop"))},b=0;c.after(e,"_onAction",function(){b-=1}),c.after(e,"_onInFlight",y),h._ioCancelAll=e.cancelAll,h._ioNotifyStart=function(S){l.ioPublish&&h.publish&&S.ioArgs.args.ioPublish!==!1&&(b||h.publish("/dojo/io/start"),b+=1,h.publish("/dojo/io/send",[S]))},h._ioWatch=function(S,R,N,O){var L=S.ioArgs.options=S.ioArgs.args;n.mixin(S,{response:S.ioArgs,isValid:function(U){return R(S)},isReady:function(U){return N(S)},handleResponse:function(U){return O(S)}}),e(S),y(S)};var I="application/x-www-form-urlencoded";return h._ioAddQueryToUrl=function(S){S.query.length&&(S.url+=(S.url.indexOf("?")==-1?"?":"&")+S.query,S.query=null)},h.xhr=function(S,R,N){var O,L=h._ioSetArgs(R,function($){O&&O.cancel()},E,m),U=L.ioArgs;"postData"in R?U.query=R.postData:"putData"in R?U.query=R.putData:"rawBody"in R?U.query=R.rawBody:(arguments.length>2&&!N||"POST|PUT".indexOf(S.toUpperCase())===-1)&&h._ioAddQueryToUrl(U);var z={method:S,handleAs:"text",timeout:R.timeout,withCredentials:R.withCredentials,ioArgs:U};typeof R.headers<"u"&&(z.headers=R.headers),typeof R.contentType<"u"&&(z.headers||(z.headers={}),z.headers["Content-Type"]=R.contentType),typeof U.query<"u"&&(z.data=U.query),typeof R.sync<"u"&&(z.sync=R.sync),h._ioNotifyStart(L);try{O=t(U.url,z,!0)}catch($){return L.cancel(),L}return L.ioArgs.xhr=O.response.xhr,O.then(function(){L.resolve(L)}).otherwise(function($){U.error=$,$.response&&($.status=$.response.status,$.responseText=$.response.text,$.xhr=$.response.xhr),L.reject($)}),L},h.xhrGet=function(S){return h.xhr("GET",S)},h.rawXhrPost=h.xhrPost=function(S){return h.xhr("POST",S,!0)},h.rawXhrPut=h.xhrPut=function(S){return h.xhr("PUT",S,!0)},h.xhrDelete=function(S){return h.xhr("DELETE",S)},h._isDocumentOk=function(S){return s.checkStatus(S.status)},h._getText=function(S){var R;return h.xhrGet({url:S,sync:!0,load:function(N){R=N}}),R},n.mixin(h.xhr,{_xhrObj:h._xhrObj,fieldToObject:f.fieldToObject,formToObject:f.toObject,objectToQuery:_.objectToQuery,formToQuery:f.toQuery,formToJson:f.toJson,queryToObject:_.queryToObject,contentHandlers:p,_ioSetArgs:h._ioSetArgs,_ioCancelAll:h._ioCancelAll,_ioNotifyStart:h._ioNotifyStart,_ioWatch:h._ioWatch,_ioAddQueryToUrl:h._ioAddQueryToUrl,_isDocumentOk:h._isDocumentOk,_getText:h._getText,get:h.xhrGet,post:h.xhrPost,put:h.xhrPut,del:h.xhrDelete}),h.xhr},A,x),A.exports=w},33070:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h;function C(u,r,d,n){var i=u[r],o=r=="around",c;if(o){var e=d(function(){return i.advice(this,arguments)});c={remove:function(){e&&(e=u=d=null)},advice:function(t,s){return e?e.apply(t,s):i.advice(t,s)}}}else c={remove:function(){if(c.advice){var t=c.previous,s=c.next;!s&&!t?delete u[r]:(t?t.next=s:u[r]=s,s&&(s.previous=t)),u=d=c.advice=null}},id:u.nextId++,advice:d,receiveArguments:n};if(i&&!o)if(r=="after"){for(;i.next&&(i=i.next););i.next=c,c.previous=i}else r=="before"&&(u[r]=c,c.next=i,i.previous=c);else u[r]=c;return c}function g(u){return function(r,d,n,i){var o=r[d],c;(!o||o.target!=r)&&(r[d]=c=function(){for(var t=c.nextId,s=arguments,l=c.before;l;)l.advice&&(s=l.advice.apply(this,s)||s),l=l.next;if(c.around)var p=c.around.advice(this,s);for(var E=c.after;E&&E.id<t;){if(E.advice)if(E.receiveArguments){var m=E.advice.apply(this,s);p=m===h?p:m}else p=E.advice.call(this,p,s);E=E.next}return p},o&&(c.around={advice:function(t,s){return o.apply(t,s)}}),c.target=r,c.nextId=c.nextId||0);var e=C(c||o,u,n,i);return n=null,e}}var _=g("after"),v=g("before"),f=g("around");return{before:v,around:f,after:_}},A,x),A.exports=w},88586:(A,x,a)=>{var T,w;T=[a(806),a(61981)],w=a.dj.d(T,function(h){return h.cache},A,x),A.exports=w},62720:(A,x,a)=>{var T,w;T=[a(806),a(35291)],w=a.dj.d(T,function(h,C){return h.cookie=function(g,_,v){var f=document.cookie,u;if(arguments.length==1){var r=f.match(new RegExp("(?:^|; )"+C.escapeString(g)+"=([^;]*)"));u=r?decodeURIComponent(r[1]):void 0}else{v=v||{};var d=v.expires;if(typeof d=="number"){var n=new Date;n.setTime(n.getTime()+d*24*60*60*1e3),d=v.expires=n}d&&d.toUTCString&&(v.expires=d.toUTCString()),_=encodeURIComponent(_);var i=g+"="+_,o;for(o in v){i+="; "+o;var c=v[o];c!==!0&&(i+="="+c)}document.cookie=i}return u},h.cookie.isSupported=function(){return"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed",navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1})),navigator.cookieEnabled},h.cookie},A,x),A.exports=w},92006:(A,x,a)=>{var T,w;T=[a(40923),a(37222)],w=a.dj.d(T,function(h,C){var g={};return h.setObject("dojo.date.stamp",g),g.fromISOString=function(_,v){g._isoRegExp||(g._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var f=g._isoRegExp.exec(_),u=null;if(f){f.shift(),f[1]&&f[1]--,f[6]&&(f[6]*=1e3),v&&(v=new Date(v),C.forEach(C.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(n){return v["get"+n]()}),function(n,i){f[i]=f[i]||n})),u=new Date(f[0]||1970,f[1]||0,f[2]||1,f[3]||0,f[4]||0,f[5]||0,f[6]||0),f[0]<100&&u.setFullYear(f[0]||1970);var r=0,d=f[7]&&f[7].charAt(0);d!="Z"&&(r=(f[8]||0)*60+(Number(f[9])||0),d!="-"&&(r*=-1)),d&&(r-=u.getTimezoneOffset()),r&&u.setTime(u.getTime()+r*6e4)}return u},g.toISOString=function(_,v){var f=function(t){return t<10?"0"+t:t};v=v||{};var u=[],r=v.zulu?"getUTC":"get",d="";if(v.selector!="time"){var n=_[r+"FullYear"]();d=["0000".substr((n+"").length)+n,f(_[r+"Month"]()+1),f(_[r+"Date"]())].join("-")}if(u.push(d),v.selector!="date"){var i=[f(_[r+"Hours"]()),f(_[r+"Minutes"]()),f(_[r+"Seconds"]())].join(":"),o=_[r+"Milliseconds"]();if(v.milliseconds&&(i+="."+(o<100?"0":"")+f(o)),v.zulu)i+="Z";else if(v.selector!="time"){var c=_.getTimezoneOffset(),e=Math.abs(c);i+=(c>0?"-":"+")+f(Math.floor(e/60))+":"+f(e%60)}u.push(i)}return u.join("T")},g},A,x),A.exports=w},38142:(A,x,a)=>{var T,w;T=[x,a(82896),a(40923),a(58340),a(41032),a(40484)],w=a.dj.d(T,function(h,C,g,_,v,f){var u={innerHTML:1,textContent:1,className:1,htmlFor:C("ie")?1:0,value:1},r={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function d(n,i){var o=n.getAttributeNode&&n.getAttributeNode(i);return!!o&&o.specified}h.has=function(i,o){var c=o.toLowerCase();return!!u[f.names[c]||o]||d(_.byId(i),r[c]||o)},h.get=function(i,o){i=_.byId(i);var c=o.toLowerCase(),e=f.names[c]||o,t=u[e],s=i[e];if(t&&typeof s<"u")return s;if(e=="textContent")return f.get(i,e);if(e!="href"&&(typeof s=="boolean"||g.isFunction(s)))return s;var l=r[c]||o;return d(i,l)?i.getAttribute(l):null},h.set=function(i,o,c){if(i=_.byId(i),arguments.length==2){for(var e in o)h.set(i,e,o[e]);return i}var t=o.toLowerCase(),s=f.names[t]||o,l=u[s];return s=="style"&&typeof c!="string"?(v.set(i,c),i):l||typeof c=="boolean"||g.isFunction(c)?f.set(i,o,c):(i.setAttribute(r[t]||o,c),i)},h.remove=function(i,o){_.byId(i).removeAttribute(r[o.toLowerCase()]||o)},h.getNodeProp=function(i,o){i=_.byId(i);var c=o.toLowerCase(),e=f.names[c]||o;if(e in i&&e!="href")return i[e];var t=r[c]||o;return d(i,t)?i.getAttribute(t):null}},A,x),A.exports=w},48201:(A,x,a)=>{var T,w;T=[a(40923),a(37222),a(58340)],w=a.dj.d(T,function(h,C,g){var _="className",v,f=/\s+/,u=[""];function r(n){if(typeof n=="string"||n instanceof String){if(n&&!f.test(n))return u[0]=n,u;var i=n.split(f);return i.length&&!i[0]&&i.shift(),i.length&&!i[i.length-1]&&i.pop(),i}return n?C.filter(n,function(o){return o}):[]}var d={};return v={contains:function(i,o){return(" "+g.byId(i)[_]+" ").indexOf(" "+o+" ")>=0},add:function(i,o){i=g.byId(i),o=r(o);var c=i[_],e;c=c?" "+c+" ":" ",e=c.length;for(var t=0,s=o.length,l;t<s;++t)l=o[t],l&&c.indexOf(" "+l+" ")<0&&(c+=l+" ");e<c.length&&(i[_]=c.substr(1,c.length-2))},remove:function(i,o){i=g.byId(i);var c;if(o!==void 0){o=r(o),c=" "+i[_]+" ";for(var e=0,t=o.length;e<t;++e)c=c.replace(" "+o[e]+" "," ");c=h.trim(c)}else c="";i[_]!=c&&(i[_]=c)},replace:function(i,o,c){i=g.byId(i),d[_]=i[_],v.remove(d,c),v.add(d,o),i[_]!==d[_]&&(i[_]=d[_])},toggle:function(i,o,c){if(i=g.byId(i),c===void 0){o=r(o);for(var e=0,t=o.length,s;e<t;++e)s=o[e],v[v.contains(i,s)?"remove":"add"](i,s)}else v[c?"add":"remove"](i,o);return c}},v},A,x),A.exports=w},96916:(A,x,a)=>{var T,w;T=[x,a(806),a(82896),a(2251),a(58340),a(38142)],w=a.dj.d(T,function(h,C,g,_,v,f){var u={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},r=/<\s*([\w\:]+)/,d={},n=0,i="__"+C._scopeName+"ToDomId";for(var o in u)if(u.hasOwnProperty(o)){var c=u[o];c.pre=o=="option"?'<select multiple="multiple">':"<"+c.join("><")+">",c.post="</"+c.reverse().join("></")+">"}var e;g("ie")<=8&&(e=function(y){y.__dojo_html5_tested="yes";var b=l("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},y.body);b.childNodes.length!==1&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,function(I){y.createElement(I)}),m(b)});function t(y,b){var I=b.parentNode;I&&I.insertBefore(y,b)}function s(y,b){var I=b.parentNode;I&&(I.lastChild==b?I.appendChild(y):I.insertBefore(y,b.nextSibling))}h.toDom=function(b,I){I=I||_.doc;var S=I[i];S||(I[i]=S=++n+"",d[S]=I.createElement("div")),g("ie")<=8&&!I.__dojo_html5_tested&&I.body&&e(I),b+="";var R=b.match(r),N=R?R[1].toLowerCase():"",O=d[S],L,U,z,$;if(R&&u[N])for(L=u[N],O.innerHTML=L.pre+b+L.post,U=L.length;U;--U)O=O.firstChild;else O.innerHTML=b;if(O.childNodes.length==1)return O.removeChild(O.firstChild);for($=I.createDocumentFragment();z=O.firstChild;)$.appendChild(z);return $},h.place=function(b,I,S){if(I=v.byId(I),typeof b=="string"&&(b=/^\s*</.test(b)?h.toDom(b,I.ownerDocument):v.byId(b)),typeof S=="number"){var R=I.childNodes;!R.length||R.length<=S?I.appendChild(b):t(b,R[S<0?0:S])}else switch(S){case"before":t(b,I);break;case"after":s(b,I);break;case"replace":I.parentNode.replaceChild(b,I);break;case"only":h.empty(I),I.appendChild(b);break;case"first":if(I.firstChild){t(b,I.firstChild);break}default:I.appendChild(b)}return b};var l=h.create=function(b,I,S,R){var N=_.doc;return S&&(S=v.byId(S),N=S.ownerDocument),typeof b=="string"&&(b=N.createElement(b)),I&&f.set(b,I),S&&h.place(b,S,R),b};function p(y){if("innerHTML"in y)try{y.innerHTML="";return}catch(I){}for(var b;b=y.lastChild;)y.removeChild(b)}h.empty=function(b){p(v.byId(b))};function E(y,b){y.firstChild&&p(y),b&&(g("ie")&&b.canHaveChildren&&"removeNode"in y?y.removeNode(!1):b.removeChild(y))}var m=h.destroy=function(b){b=v.byId(b),b&&E(b,b.parentNode)}},A,x),A.exports=w},28559:(A,x,a)=>{var T,w;T=[a(40923),a(58340),a(80419),a(10316)],w=a.dj.d(T,function(h,C,g,_){function v(r,d,n){if(n!==null){var i=r[d];typeof i=="string"?r[d]=[i,n]:h.isArray(i)?i.push(n):r[d]=n}}var f="file|submit|image|reset|button",u={fieldToObject:function(d){var n=null;if(d=C.byId(d),d){var i=d.name,o=(d.type||"").toLowerCase();if(i&&o&&!d.disabled)if(o=="radio"||o=="checkbox")d.checked&&(n=d.value);else if(d.multiple){n=[];for(var c=[d.firstChild];c.length;)for(var e=c.pop();e;e=e.nextSibling)if(e.nodeType==1&&e.tagName.toLowerCase()=="option")e.selected&&n.push(e.value);else{e.nextSibling&&c.push(e.nextSibling),e.firstChild&&c.push(e.firstChild);break}}else n=d.value}return n},toObject:function(d){for(var n={},i=C.byId(d).elements,o=0,c=i.length;o<c;++o){var e=i[o],t=e.name,s=(e.type||"").toLowerCase();t&&s&&f.indexOf(s)<0&&!e.disabled&&(v(n,t,u.fieldToObject(e)),s=="image"&&(n[t+".x"]=n[t+".y"]=n[t].x=n[t].y=0))}return n},toQuery:function(d){return g.objectToQuery(u.toObject(d))},toJson:function(d,n){return _.stringify(u.toObject(d),null,n?4:0)}};return u},A,x),A.exports=w},24485:(A,x,a)=>{var T,w;T=[a(82896),a(2251),a(58340),a(41032)],w=a.dj.d(T,function(h,C,g,_){var v={};v.boxModel="content-box",h("ie")&&(v.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box"),v.getPadExtents=function(c,e){c=g.byId(c);var t=e||_.getComputedStyle(c),s=_.toPixelValue,l=s(c,t.paddingLeft),p=s(c,t.paddingTop),E=s(c,t.paddingRight),m=s(c,t.paddingBottom);return{l,t:p,r:E,b:m,w:l+E,h:p+m}};var f="none";v.getBorderExtents=function(c,e){c=g.byId(c);var t=_.toPixelValue,s=e||_.getComputedStyle(c),l=s.borderLeftStyle!=f?t(c,s.borderLeftWidth):0,p=s.borderTopStyle!=f?t(c,s.borderTopWidth):0,E=s.borderRightStyle!=f?t(c,s.borderRightWidth):0,m=s.borderBottomStyle!=f?t(c,s.borderBottomWidth):0;return{l,t:p,r:E,b:m,w:l+E,h:p+m}},v.getPadBorderExtents=function(c,e){c=g.byId(c);var t=e||_.getComputedStyle(c),s=v.getPadExtents(c,t),l=v.getBorderExtents(c,t);return{l:s.l+l.l,t:s.t+l.t,r:s.r+l.r,b:s.b+l.b,w:s.w+l.w,h:s.h+l.h}},v.getMarginExtents=function(c,e){c=g.byId(c);var t=e||_.getComputedStyle(c),s=_.toPixelValue,l=s(c,t.marginLeft),p=s(c,t.marginTop),E=s(c,t.marginRight),m=s(c,t.marginBottom);return{l,t:p,r:E,b:m,w:l+E,h:p+m}},v.getMarginBox=function(c,e){c=g.byId(c);var t=e||_.getComputedStyle(c),s=v.getMarginExtents(c,t),l=c.offsetLeft-s.l,p=c.offsetTop-s.t,E=c.parentNode,m=_.toPixelValue,y;if(h("mozilla")){var b=parseFloat(t.left),I=parseFloat(t.top);!isNaN(b)&&!isNaN(I)?(l=b,p=I):E&&E.style&&(y=_.getComputedStyle(E),y.overflow!="visible"&&(l+=y.borderLeftStyle!=f?m(c,y.borderLeftWidth):0,p+=y.borderTopStyle!=f?m(c,y.borderTopWidth):0))}else(h("opera")||h("ie")==8&&!h("quirks"))&&E&&(y=_.getComputedStyle(E),l-=y.borderLeftStyle!=f?m(c,y.borderLeftWidth):0,p-=y.borderTopStyle!=f?m(c,y.borderTopWidth):0);return{l,t:p,w:c.offsetWidth+s.w,h:c.offsetHeight+s.h}},v.getContentBox=function(c,e){c=g.byId(c);var t=e||_.getComputedStyle(c),s=c.clientWidth,l,p=v.getPadExtents(c,t),E=v.getBorderExtents(c,t);return s?(l=c.clientHeight,E.w=E.h=0):(s=c.offsetWidth,l=c.offsetHeight),h("opera")&&(p.l+=E.l,p.t+=E.t),{l:p.l,t:p.t,w:s-p.w-E.w,h:l-p.h-E.h}};function u(o,c,e,t,s,l){l=l||"px";var p=o.style;isNaN(c)||(p.left=c+l),isNaN(e)||(p.top=e+l),t>=0&&(p.width=t+l),s>=0&&(p.height=s+l)}function r(o){return o.tagName.toLowerCase()=="button"||o.tagName.toLowerCase()=="input"&&(o.getAttribute("type")||"").toLowerCase()=="button"}function d(o){return v.boxModel=="border-box"||o.tagName.toLowerCase()=="table"||r(o)}function n(o){var c={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0},e;try{e=o.getBoundingClientRect()}catch(t){return c}return typeof e.left>"u"?c:e}v.setContentSize=function(c,e,t){c=g.byId(c);var s=e.w,l=e.h;if(d(c)){var p=v.getPadBorderExtents(c,t);s>=0&&(s+=p.w),l>=0&&(l+=p.h)}u(c,NaN,NaN,s,l)};var i={l:0,t:0,w:0,h:0};return v.setMarginBox=function(c,e,t){c=g.byId(c);var s=t||_.getComputedStyle(c),l=e.w,p=e.h,E=d(c)?i:v.getPadBorderExtents(c,s),m=v.getMarginExtents(c,s);if(h("webkit")&&r(c)){var y=c.style;l>=0&&!y.width&&(y.width="4px"),p>=0&&!y.height&&(y.height="4px")}l>=0&&(l=Math.max(l-E.w-m.w,0)),p>=0&&(p=Math.max(p-E.h-m.h,0)),u(c,e.l,e.t,l,p)},v.isBodyLtr=function(c){return c=c||C.doc,(C.body(c).dir||c.documentElement.dir||"ltr").toLowerCase()=="ltr"},v.docScroll=function(c){c=c||C.doc;var e=c.parentWindow||c.defaultView;return"pageXOffset"in e?{x:e.pageXOffset,y:e.pageYOffset}:(e=h("quirks")?C.body(c):c.documentElement)&&{x:v.fixIeBiDiScrollLeft(e.scrollLeft||0,c),y:e.scrollTop||0}},v.getIeDocumentElementOffset=function(o){return{x:0,y:0}},v.fixIeBiDiScrollLeft=function(c,e){e=e||C.doc;var t=h("ie");if(t&&!v.isBodyLtr(e)){var s=h("quirks"),l=s?C.body(e):e.documentElement,p=C.global;return t==6&&!s&&p.frameElement&&l.scrollHeight>l.clientHeight&&(c+=l.clientLeft),t<8||s?c+l.clientWidth-l.scrollWidth:-c}return c},v.position=function(o,c){o=g.byId(o);var e=C.body(o.ownerDocument),t=n(o);if(t={x:t.left,y:t.top,w:t.right-t.left,h:t.bottom-t.top},h("ie")<9&&(t.x-=h("quirks")?e.clientLeft+e.offsetLeft:0,t.y-=h("quirks")?e.clientTop+e.offsetTop:0),c){var s=v.docScroll(o.ownerDocument);t.x+=s.x,t.y+=s.y}return t},v.getMarginSize=function(c,e){c=g.byId(c);var t=v.getMarginExtents(c,e||_.getComputedStyle(c)),s=n(c);return{w:s.right-s.left+t.w,h:s.bottom-s.top+t.h}},v.normalizeEvent=function(o){if("layerX"in o||(o.layerX=o.offsetX,o.layerY=o.offsetY),!("pageX"in o)){var c=o.target,e=c&&c.ownerDocument||document,t=h("quirks")?e.body:e.documentElement;o.pageX=o.clientX+v.fixIeBiDiScrollLeft(t.scrollLeft||0,e),o.pageY=o.clientY+(t.scrollTop||0)}},v},A,x),A.exports=w},40484:(A,x,a)=>{var T,w;T=[x,a(806),a(82896),a(40923),a(58340),a(41032),a(96916),a(92785)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){var d={},n=1,i=C._scopeName+"attrid";g.add("dom-textContent",function(c,e,t){return"textContent"in t}),h.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function o(c){for(var e="",t=c.childNodes,s=0,l;l=t[s];s++)l.nodeType!=8&&(l.nodeType==1?e+=o(l):e+=l.nodeValue);return e}h.get=function(e,t){e=v.byId(e);var s=t.toLowerCase(),l=h.names[s]||t;return l=="textContent"&&!g("dom-textContent")?o(e):e[l]},h.set=function(e,t,s){e=v.byId(e);var l=arguments.length;if(l==2&&typeof t!="string"){for(var p in t)h.set(e,p,t[p]);return e}var E=t.toLowerCase(),m=h.names[E]||t;if(m=="style"&&typeof s!="string")return f.set(e,s),e;if(m=="innerHTML")return g("ie")&&e.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(u.empty(e),e.appendChild(u.toDom(s,e.ownerDocument))):e[m]=s,e;if(m=="textContent"&&!g("dom-textContent"))return u.empty(e),e.appendChild(e.ownerDocument.createTextNode(s)),e;if(_.isFunction(s)){var y=e[i];y||(y=n++,e[i]=y),d[y]||(d[y]={});var b=d[y][m];if(b)r.disconnect(b);else try{delete e[m]}catch(I){}return s?d[y][m]=r.connect(e,m,s):e[m]=null,e}return e[m]=s,e}},A,x),A.exports=w},41032:(A,x,a)=>{var T,w;T=[a(82896),a(58340),a(2251)],w=a.dj.d(T,function(h,C,g){var _,v={};h("webkit")?_=function(t){var s;if(t.nodeType==1){var l=t.ownerDocument.defaultView;s=l.getComputedStyle(t,null),!s&&t.style&&(t.style.display="",s=l.getComputedStyle(t,null))}return s||{}}:h("ie")&&(h("ie")<9||h("quirks"))?_=function(t){return t.nodeType==1&&t.currentStyle?t.currentStyle:{}}:_=function(t){if(t.nodeType===1){var s=t.ownerDocument.defaultView,l=s.opener?s:g.global.window;return l.getComputedStyle(t,null)||{}}return{}},v.getComputedStyle=_;var f;h("ie")?f=function(t,s){if(!s)return 0;if(s=="medium")return 4;if(s.slice&&s.slice(-2)=="px")return parseFloat(s);var l=t.style,p=t.runtimeStyle,E=t.currentStyle,m=l.left,y=p.left;p.left=E.left;try{l.left=s,s=l.pixelLeft}catch(b){s=0}return l.left=m,p.left=y,s}:f=function(t,s){return parseFloat(s)||0},v.toPixelValue=f;var u="DXImageTransform.Microsoft.Alpha",r=function(t,s){try{return t.filters.item(u)}catch(l){return s?{}:null}},d=h("ie")<9||h("ie")<10&&h("quirks")?function(t){try{return r(t).Opacity/100}catch(s){return 1}}:function(t){return _(t).opacity},n=h("ie")<9||h("ie")<10&&h("quirks")?function(t,s){s===""&&(s=1);var l=s*100,p=s===1;if(p?(t.style.zoom="",r(t)&&(t.style.filter=t.style.filter.replace(new RegExp("\\s*progid:"+u+"\\([^\\)]+?\\)","i"),""))):(t.style.zoom=1,r(t)?r(t,1).Opacity=l:t.style.filter+=" progid:"+u+"(Opacity="+l+")",r(t,1).Enabled=!0),t.tagName.toLowerCase()=="tr")for(var E=t.firstChild;E;E=E.nextSibling)E.tagName.toLowerCase()=="td"&&n(E,s);return s}:function(t,s){return t.style.opacity=s},i={left:!0,top:!0},o=/margin|padding|width|height|max|min|offset/;function c(t,s,l){if(s=s.toLowerCase(),l=="auto"){if(s=="height")return t.offsetHeight;if(s=="width")return t.offsetWidth}if(s=="fontweight")switch(l){case 700:return"bold";case 400:default:return"normal"}return s in i||(i[s]=o.test(s)),i[s]?f(t,l):l}var e={cssFloat:1,styleFloat:1,float:1};return v.get=function(s,l){var p=C.byId(s),E=arguments.length,m=l=="opacity";if(E==2&&m)return d(p);l=e[l]?"cssFloat"in p.style?"cssFloat":"styleFloat":l;var y=v.getComputedStyle(p);return E==1?y:c(p,l,y[l]||p.style[l])},v.set=function(s,l,p){var E=C.byId(s),m=arguments.length,y=l=="opacity";if(l=e[l]?"cssFloat"in E.style?"cssFloat":"styleFloat":l,m==3)return y?n(E,p):E.style[l]=p;for(var b in l)v.set(s,b,l[b]);return v.getComputedStyle(E)},v},A,x),A.exports=w},58340:(A,x,a)=>{var T,w;T=[a(82896),a(2251),a(806)],w=a.dj.d(T,function(h,C,g){if(h("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(u){}var _={};h("ie")?_.byId=function(u,r){if(typeof u!="string")return u||null;var d=r||C.doc,n=u&&d.getElementById(u);if(n&&(n.attributes.id.value==u||n.id==u))return n;var i=d.all[u];(!i||i.nodeName)&&(i=[i]);for(var o=0;n=i[o++];)if(n.attributes&&n.attributes.id&&n.attributes.id.value==u||n.id==u)return n;return null}:_.byId=function(u,r){return(typeof u=="string"?(r||C.doc).getElementById(u):u)||null};var v=g.global.document||null;h.add("dom-contains",!!(v&&v.contains)),_.isDescendant=function(u,r){try{for(u=_.byId(u),r=_.byId(r);u;){if(u==r)return!0;u=u.parentNode}}catch(d){}return!1},h.add("css-user-select",function(u,r,d){if(!d)return!1;var n=d.style,i=["Khtml","O","Moz","Webkit"],o=i.length,c="userSelect",e;do if(typeof n[c]<"u")return c;while(o--&&(c=i[o]+"UserSelect"));return!1});var f=h("css-user-select");return _.setSelectable=f?function(u,r){_.byId(u).style[f]=r?"":"none"}:function(u,r){u=_.byId(u);var d=u.getElementsByTagName("*"),n=d.length;if(r)for(u.removeAttribute("unselectable");n--;)d[n].removeAttribute("unselectable");else for(u.setAttribute("unselectable","on");n--;)d[n].setAttribute("unselectable","on")},_},A,x),A.exports=w},85849:(A,x,a)=>{var T,w;T=[a(79181),a(2812)],w=a.dj.d(T,function(h,C){var g=document,_={loaded:1,complete:1},v=typeof g.readyState!="string",f=!!_[g.readyState],u=[],r;function d(s){u.push(s),f&&n()}d.load=function(s,l,p){d(p)},d._Q=u,d._onQEmpty=function(){},v&&(g.readyState="loading");function n(){if(!r){for(r=!0;u.length;)try{u.shift()(g)}catch(s){console.error(s,"in domReady callback",s.stack)}r=!1,d._onQEmpty()}}if(!f){var i=[],o=function(s){s=s||h.event,!(f||s.type=="readystatechange"&&!_[g.readyState])&&(v&&(g.readyState="complete"),f=1,n())},c=function(s,l){s.addEventListener(l,o,!1),u.push(function(){s.removeEventListener(l,o,!1)})};if(!C("dom-addeventlistener")){c=function(s,l){l="on"+l,s.attachEvent(l,o),u.push(function(){s.detachEvent(l,o)})};var e=g.createElement("div");try{e.doScroll&&h.frameElement===null&&i.push(function(){try{return e.doScroll("left"),1}catch(s){}})}catch(s){}}if(c(g,"DOMContentLoaded"),c(h,"load"),"onreadystatechange"in g?c(g,"readystatechange"):v||i.push(function(){return _[g.readyState]}),i.length){var t=function(){if(!f){for(var s=i.length;s--;)if(i[s]()){o("poller");return}setTimeout(t,30)}};t()}}return d},A,x),A.exports=w},49350:(A,x,a)=>{var T,w;T=[a(18788)],w=a.dj.d(T,function(h){return h("CancelError",null,null,{dojoType:"cancel",log:!1})},A,x),A.exports=w},16937:(A,x,a)=>{var T,w;T=[a(18788)],w=a.dj.d(T,function(h){return h("RequestError",function(C,g){this.response=g})},A,x),A.exports=w},90688:(A,x,a)=>{var T,w;T=[a(18788),a(16937)],w=a.dj.d(T,function(h,C){return h("RequestTimeoutError",null,C,{dojoType:"timeout"})},A,x),A.exports=w},18788:(A,x,a)=>{var T,w;T=[a(40923)],w=a.dj.d(T,function(h){return function(C,g,_,v){_=_||Error;var f=function(u){if(_===Error){Error.captureStackTrace&&Error.captureStackTrace(this,f);var r=Error.call(this,u),d;for(d in r)r.hasOwnProperty(d)&&(this[d]=r[d]);this.message=u,this.stack=r.stack}else _.apply(this,arguments);g&&g.apply(this,arguments)};return f.prototype=h.delegate(_.prototype,v),f.prototype.name=C,f.prototype.constructor=f,f}},A,x),A.exports=w},98844:(A,x,a)=>{var T,w;T=[a(40923),a(43661),a(806),a(37222),a(33070),a(14433),a(58340),a(41032),a(24485),a(70111),a.dj.c(A)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){g.isAsync||n(0,function(){var s=["./fx/Toggler"];i(s)});var o=g.fx={},c={_fire:function(s,l){return this[s]&&this[s].apply(this,l||[]),this}},e=function(s){this._index=-1,this._animations=s||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,_.forEach(this._animations,function(l){l&&(typeof l.duration<"u"&&(this.duration+=l.duration),l.delay&&(this.duration+=l.delay))},this)};e.prototype=new C,h.extend(e,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=v.after(this._current,"onAnimate",h.hitch(this,"_onAnimate"),!0),this._onEndCtx=v.after(this._current,"onEnd",h.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(s,l){if(this._current||(this._current=this._animations[this._index=0]),!l&&this._current.status()=="playing")return this;var p=v.after(this._current,"beforeBegin",h.hitch(this,function(){this._fire("beforeBegin")}),!0),E=v.after(this._current,"onBegin",h.hitch(this,function(y){this._fire("onBegin",arguments)}),!0),m=v.after(this._current,"onPlay",h.hitch(this,function(y){this._fire("onPlay",arguments),p.remove(),E.remove(),m.remove()}));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=v.after(this._current,"onAnimate",h.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=v.after(this._current,"onEnd",h.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){if(this._current){var s=v.after(this._current,"onPause",h.hitch(this,function(l){this._fire("onPause",arguments),s.remove()}),!0);this._current.pause()}return this},gotoPercent:function(s,l){this.pause();var p=this.duration*s;return this._current=null,_.some(this._animations,function(E,m){return p<=E.duration?(this._current=E,this._index=m,!0):(p-=E.duration,!1)},this),this._current&&this._current.gotoPercent(p/this._current.duration),l&&this.play(),this},stop:function(s){if(this._current){if(s){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var l=v.after(this._current,"onStop",h.hitch(this,function(p){this._fire("onStop",arguments),l.remove()}),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),h.extend(e,c),o.chain=function(s){return new e(h.isArray(s)?s:Array.prototype.slice.call(s,0))};var t=function(s){this._animations=s||[],this._connects=[],this._finished=0,this.duration=0,_.forEach(s,function(p){var E=p.duration;p.delay&&(E+=p.delay),this.duration<E&&(this.duration=E),this._connects.push(v.after(p,"onEnd",h.hitch(this,"_onEnd"),!0))},this),this._pseudoAnimation=new f.Animation({curve:[0,1],duration:this.duration});var l=this;_.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(p){l._connects.push(v.after(l._pseudoAnimation,p,function(){l._fire(p,arguments)},!0))})};return h.extend(t,{_doAction:function(s,l){return _.forEach(this._animations,function(p){p[s].apply(p,l)}),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(s,l){var p=this._pseudoAnimation;p[s].apply(p,l)},play:function(s,l){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(s,l){var p=this.duration*s;return _.forEach(this._animations,function(E){E.gotoPercent(E.duration<p?1:p/E.duration,l)}),this._call("gotoPercent",arguments),this},stop:function(s){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),_.forEach(this._connects,function(s){s.remove()})}}),h.extend(t,c),o.combine=function(s){return new t(h.isArray(s)?s:Array.prototype.slice.call(s,0))},o.wipeIn=function(s){var l=s.node=u.byId(s.node),p=l.style,E,m=f.animateProperty(h.mixin({properties:{height:{start:function(){if(E=p.overflow,p.overflow="hidden",p.visibility=="hidden"||p.display=="none")return p.height="1px",p.display="",p.visibility="",1;var b=r.get(l,"height");return Math.max(b,1)},end:function(){return l.scrollHeight}}}},s)),y=function(){p.height="auto",p.overflow=E};return v.after(m,"onStop",y,!0),v.after(m,"onEnd",y,!0),m},o.wipeOut=function(s){var l=s.node=u.byId(s.node),p=l.style,E,m=f.animateProperty(h.mixin({properties:{height:{end:1}}},s));v.after(m,"beforeBegin",function(){E=p.overflow,p.overflow="hidden",p.display=""},!0);var y=function(){p.overflow=E,p.height="auto",p.display="none"};return v.after(m,"onStop",y,!0),v.after(m,"onEnd",y,!0),m},o.slideTo=function(s){var l=s.node=u.byId(s.node),p=null,E=null,m=function(b){return function(){var I=r.getComputedStyle(b),S=I.position;if(p=S=="absolute"?b.offsetTop:parseInt(I.top)||0,E=S=="absolute"?b.offsetLeft:parseInt(I.left)||0,S!="absolute"&&S!="relative"){var R=d.position(b,!0);p=R.y,E=R.x,b.style.position="absolute",b.style.top=p+"px",b.style.left=E+"px"}}}(l);m();var y=f.animateProperty(h.mixin({properties:{top:s.top||0,left:s.left||0}},s));return v.after(y,"beforeBegin",m,!0),y},o},A,x),A.exports=w},79181:(A,x,a)=>{var T;T=function(){return function(){return typeof global<"u"&&typeof global!="function"?global:typeof window<"u"?window:typeof self<"u"?self:this}()}.call(null,a,x,A),T!==void 0&&(A.exports=T)},2812:(A,x,a)=>{var T,w;T=[a(79181),a.dj.c(A),a.dj.m(A)],w=a.dj.d(T,function(h,C,g){var _=C.has||function(){};if(!_("dojo-has-api")){var v=typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location==location&&window.document==document,f=v&&document,u=f&&f.createElement("DiV"),r=g.config&&g.config()||{};_=function(n){return typeof r[n]=="function"?r[n]=r[n](h,f,u):r[n]},_.cache=r,_.add=function(n,i,o,c){return(typeof r[n]>"u"||c)&&(r[n]=i),o&&_(n)},_.add("host-browser",v),_.add("host-node",typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8),_.add("host-rhino",typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")),_.add("dom",v),_.add("dojo-dom-ready-api",1),_.add("dojo-sniff",1)}if(_("host-browser")){_.add("dom-addeventlistener",!!document.addEventListener),_.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),_.add("touch-events","ontouchstart"in document),_.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),_.add("MSPointer",window.navigator.msPointerEnabled),_.add("touch-action",_("touch")&&_("pointer-events")),_.add("device-width",screen.availWidth||innerWidth);var d=document.createElement("form");_.add("dom-attributes-explicit",d.attributes.length==0),_.add("dom-attributes-specified-flag",d.attributes.length>0&&d.attributes.length<40)}return _.clearElement=function(n){return n.innerHTML="",n},_.normalize=function(n,i){var o=n.match(/[\?:]|[^:\?]*/g),c=0,e=function(t){var s=o[c++];return s==":"?0:o[c++]=="?"?!t&&_(s)?e():(e(!0),e(t)):s||0};return n=e(),n&&i(n)},_.load=function(n,i,o){n?i([n],o):o()},_},A,x),A.exports=w},516:(A,x,a)=>{var T,w;T=[a.dj.c(A),a(93577),a(48201),a(41032),a(2812),a(85849),a(2251)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return v.add("highcontrast",function(){var r=u.doc.createElement("div");try{r.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(C.blankGif||h.toUrl("./resources/blank.gif"))+'");',u.body().appendChild(r);var d=_.getComputedStyle(r),n=d.backgroundImage;return d.borderTopColor==d.borderRightColor||n&&(n=="none"||n=="url(invalid-url:)")}catch(i){return console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+i.toString()),!1}finally{v("ie")<=8?r.outerHTML="":u.body().removeChild(r)}}),f(function(){v("highcontrast")&&g.add(u.body(),"dj_a11y")}),v},A,x),A.exports=w},81491:(A,x,a)=>{var T,w;T=[a(806),a(40923),a(37222),a(41745),a(58340),a(96916),a(70401)],w=a.dj.d(T,function(h,C,g,_,v,f,u){var r=0,d={_secureForInnerHtml:function(n){return n.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")},_emptyNode:f.empty,_setNodeContent:function(n,i){if(f.empty(n),i)if(typeof i=="number"&&(i=i.toString()),typeof i=="string"&&(i=f.toDom(i,n.ownerDocument)),!i.nodeType&&C.isArrayLike(i))for(var o=i.length,c=0;c<i.length;c=o==i.length?c+1:0)f.place(i[c],n,"last");else f.place(i,n,"last");return n},_ContentSetter:_("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:h._scopeName,startup:!0,constructor:function(n,i){C.mixin(this,n||{}),i=this.node=v.byId(this.node||i),this.id||(this.id=["Setter",i?i.id||i.tagName:"",r++].join("_"))},set:function(n,i){n!==void 0&&(this.content=n),typeof n=="number"&&(n=n.toString()),i&&this._mixin(i),this.onBegin(),this.setContent();var o=this.onEnd();return o&&o.then?o:this.node},setContent:function(){var n=this.node;if(!n)throw new Error(this.declaredClass+": setContent given no node");try{n=d._setNodeContent(n,this.content)}catch(o){var i=this.onContentError(o);try{n.innerHTML=i}catch(c){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+c.message,c)}}this.node=n},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred),this.parseResults&&this.parseResults.length&&(g.forEach(this.parseResults,function(n){n.destroy&&n.destroy()}),delete this.parseResults),f.empty(this.node)},onBegin:function(){var n=this.content;if(C.isString(n)&&(this.cleanContent&&(n=d._secureForInnerHtml(n)),this.extractContent)){var i=n.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);i&&(n=i[1])}return this.empty(),this.content=n,this.node},onEnd:function(){return this.parseContent&&this._parse(),this.node},tearDown:function(){delete this.parseResults,delete this.parseDeferred,delete this.node,delete this.content},onContentError:function(n){return"Error occurred setting content: "+n},onExecError:function(n){return"Error occurred executing scripts: "+n},_mixin:function(n){var i={},o;for(o in n)o in i||(this[o]=n[o])},_parse:function(){var n=this.node;try{var i={};g.forEach(["dir","lang","textDir"],function(c){this[c]&&(i[c]=this[c])},this);var o=this;this.parseDeferred=u.parse({rootNode:n,noStart:!this.startup,inherited:i,scope:this.parserScope}).then(function(c){return o.parseResults=c},function(c){o._onError("Content",c,"Error parsing in _ContentSetter#"+o.id)})}catch(c){this._onError("Content",c,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(n,i,o){var c=this["on"+n+"Error"].call(this,i);o?console.error(o,i):c&&d._setNodeContent(this.node,c,!0)}}),set:function(n,i,o){if(i==null&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),i=""),typeof i=="number"&&(i=i.toString()),o){var c=new d._ContentSetter(C.mixin(o,{content:i,node:n}));return c.set()}else return d._setNodeContent(n,i,!0)}};return C.setObject("dojo.html",d),d},A,x),A.exports=w},6990:(A,x,a)=>{var T,w;T=[a(806),a.dj.c(A),a(2812),a(37222),a(93577),a(40923),a(55801),a(10316),a.dj.m(A)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){g.add("dojo-preload-i18n-Api",1),g.add("dojo-v1x-i18n-Api",1);var n=h.i18n={},i=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,o=function($,W,V,K){for(var M=[V+K],B=W.split("-"),P="",k=0;k<B.length;k++)P+=(P?"-":"")+B[k],(!$||$[P])&&(M.push(V+P+"/"+K),M.specificity=P);return M},c={},e=function($,W,V){return V=V?V.toLowerCase():h.locale,$=$.replace(/\./g,"/"),W=W.replace(/\./g,"/"),/root/i.test(V)?$+"/nls/"+W:$+"/nls/"+V+"/"+W},t=h.getL10nName=function($,W,V){return $=d.id+"!"+e($,W,V)},s=function($,W,V,K,M,B){$([W],function(P){var k=f.clone(P.root||P.ROOT),H=o(!P._v1x&&P,M,V,K);$(H,function(){for(var Y=1;Y<H.length;Y++)k=f.mixin(f.clone(k),arguments[Y]);var G=W+"/"+M;c[G]=k,k.$locale=H.specificity,B()})})},l=function($,W){return/^\./.test($)?W($):$},p=function($){var W=v.extraLocale||[];return W=f.isArray(W)?W:[W],W.push($),W},E=function($,W,V){var K=i.exec($),M=K[1]+"/",B=K[5]||K[4],P=M+B,k=K[5]&&K[4],H=k||h.locale||"",Y=P+"/"+H,G=k?[H]:p(H),Q=G.length,J=function(){--Q||V(f.delegate(c[Y]))},q=$.split("*"),oe=q[1]=="preload";if(g("dojo-preload-i18n-Api")){if(oe&&(c[$]||(c[$]=1,S(q[2],r.parse(q[3]),1,W)),V(1)),oe||R($,W,V)&&!c[Y])return}else if(oe){V(1);return}_.forEach(G,function(ie){var pe=P+"/"+ie;g("dojo-preload-i18n-Api")&&N(pe),c[pe]?J():s(W,P,M,B,ie,J)})};if(g("dojo-preload-i18n-Api")||g("dojo-v1x-i18n-Api"))var m=n.normalizeLocale=function($){var W=$?$.toLowerCase():h.locale;return W=="root"?"ROOT":W},y=function($,W){return g("dojo-sync-loader")&&g("dojo-v1x-i18n-Api")?W.isXdUrl(C.toUrl($+".js")):!0},b=0,I=[],S=n._preloadLocalizations=function($,W,V,K){K=K||C;function M(G,Q){y(G,K)||V?K([G],Q):z([G],Q,K)}function B(G,Q){for(var J=G.split("-");J.length;){if(Q(J.join("-")))return;J.pop()}Q("ROOT")}function P(){b++}function k(){for(--b;!b&&I.length;)E.apply(null,I.shift())}function H(G,Q,J,q){return q.toAbsMid(G+Q+"/"+J)}function Y(G){G=m(G),B(G,function(Q){if(_.indexOf(W,Q)>=0){var J=$.replace(/\./g,"/")+"_"+Q;return P(),M(J,function(q){for(var oe in q){var ie=q[oe],pe=oe.match(/(.+)\/([^\/]+)$/),ce,te;if(pe&&(ce=pe[2],te=pe[1]+"/",!!ie._localized)){var ne;if(Q==="ROOT"){var re=ne=ie._localized;delete ie._localized,re.root=ie,c[C.toAbsMid(oe)]=re}else ne=ie._localized,c[H(te,ce,Q,C)]=ie;if(Q!==G){var se=function(he,fe,me,De){var Ie=[],Oe=[];B(G,function(je){De[je]&&(Ie.push(C.toAbsMid(he+je+"/"+fe)),Oe.push(H(he,fe,je,C)))}),Ie.length?(P(),K(Ie,function(){for(var je=Ie.length-1;je>=0;je--)me=f.mixin(f.clone(me),arguments[je]),c[Oe[je]]=me;c[H(he,fe,G,C)]=f.clone(me),k()})):c[H(he,fe,G,C)]=me};se(te,ce,ie,ne)}}}k()}),!0}return!1})}Y(),_.forEach(h.config.extraLocale,Y)},R=function($,W,V){return b&&I.push([$,W,V]),b},N=function(){};if(g("dojo-v1x-i18n-Api")){var O={},L={},U,z=function($,W,V){var K=[];_.forEach($,function(M){var B=V.toUrl(M+".js");function P(H){U||(U=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;}, require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));var Y=U(H,N,M,O);Y===O?K.push(c[B]=O.result):(Y instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+B,Y),Y={}),K.push(c[B]=/nls\/[^\/]+\/[^\/]+$/.test(B)?Y:{root:Y,_v1x:1}))}if(c[B])K.push(c[B]);else{var k=V.syncLoadNls(M);if(k||(k=N(M.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),k)K.push(k);else if(u)u.get({url:B,sync:!0,load:P,error:function(){K.push(c[B]={})}});else try{V.getText(B,!0,P)}catch(H){K.push(c[B]={})}}}),W&&W.apply(null,K)};N=function($){for(var W,V=$.split("/"),K=h.global[V[0]],M=1;K&&M<V.length-1;K=K[V[M++]]);return K&&(W=K[V[M]],W||(W=K[V[M].replace(/-/g,"_")]),W&&(c[$]=W)),W},n.getLocalization=function($,W,V){var K,M=e($,W,V);return L[M]?L[M]:(E(M,y(M,C)?C:function(B,P){z(B,P,C)},function(B){L[M]=B,K=B}),K)}}else n.getLocalization=function($,W,V){var K=$.replace(/\./g,"/")+"/nls/"+W+"/"+(V||v.locale);return this.cache[K]};return f.mixin(n,{dynamic:!0,normalize:l,load:E,cache:c,getL10nName:t})},A,x),A.exports=w},80419:(A,x,a)=>{var T,w;T=[a(40923)],w=a.dj.d(T,function(h){var C={};return{objectToQuery:function(_){var v=encodeURIComponent,f=[];for(var u in _){var r=_[u];if(r!=C[u]){var d=v(u)+"=";if(h.isArray(r))for(var n=0,i=r.length;n<i;++n)f.push(d+v(r[n]));else f.push(d+v(r))}}return f.join("&")},queryToObject:function(_){for(var v=decodeURIComponent,f=_.split("&"),u={},r,d,n=0,i=f.length,o;n<i;++n)if(o=f[n],o.length){var c=o.indexOf("=");c<0?(r=v(o),d=""):(r=v(o.slice(0,c)),d=v(o.slice(c+1))),typeof u[r]=="string"&&(u[r]=[u[r]]),h.isArray(u[r])?u[r].push(d):u[r]=d}return u}}},A,x),A.exports=w},10316:(A,x,a)=>{var T,w;T=[a(2812)],w=a.dj.d(T,function(h){"use strict";var C=typeof JSON<"u";return h.add("json-parse",C),h.add("json-stringify",C&&JSON.stringify({a:0},function(g,_){return _||1})=='{"a":1}'),JSON},A,x),A.exports=w},2953:(A,x,a)=>{var T,w;T=[a(62721)],w=a.dj.d(T,function(h){return{parse:h}},A,x),A.exports=w},62721:(A,x,a)=>{var T,w;T=[a(71275),a(52780)],w=a.dj.d(T,function(h,C){var g,_,v,f,u,r,d,n,i;function o(P,k){g=String(P),_="start",v=[],f=0,u=1,r=0,d=void 0,n=void 0,i=void 0;do d=E(),L[_]();while(d.type!=="eof");return typeof k=="function"?c({"":i},"",k):i}function c(P,k,H){var Y=P[k];if(Y!=null&&typeof Y=="object")for(var G in Y){var Q=c(Y,G,H);Q===void 0?delete Y[G]:Y[G]=Q}return H.call(P,k,Y)}var e,t,s,l,p;function E(){for(e="default",t="",s=!1,l=1;;){p=m();var P=b[e]();if(P)return P}}function m(){if(g[f])return h.fromCodePoint(h.codePointAt(g,f))}function y(){var P=m();return P===`
`?(u++,r=0):P?r+=P.length:r++,P&&(f+=P.length),P}var b={default:function(){switch(p){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
`:case"\r":case"\u2028":case"\u2029":y();return;case"/":y(),e="comment";return;case void 0:return y(),I("eof")}if(C.isSpaceSeparator(p)){y();return}return b[_]()},comment:function(){switch(p){case"*":y(),e="multiLineComment";return;case"/":y(),e="singleLineComment";return}throw $(y())},multiLineComment:function(){switch(p){case"*":y(),e="multiLineCommentAsterisk";return;case void 0:throw $(y())}y()},multiLineCommentAsterisk:function(){switch(p){case"*":y();return;case"/":y(),e="default";return;case void 0:throw $(y())}y(),e="multiLineComment"},singleLineComment:function(){switch(p){case`
`:case"\r":case"\u2028":case"\u2029":y(),e="default";return;case void 0:return y(),I("eof")}y()},value:function(){switch(p){case"{":case"[":return I("punctuator",y());case"n":return y(),S("ull"),I("null",null);case"t":return y(),S("rue"),I("boolean",!0);case"f":return y(),S("alse"),I("boolean",!1);case"-":case"+":y()==="-"&&(l=-1),e="sign";return;case".":t=y(),e="decimalPointLeading";return;case"0":t=y(),e="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t=y(),e="decimalInteger";return;case"I":return y(),S("nfinity"),I("numeric",1/0);case"N":return y(),S("aN"),I("numeric",NaN);case'"':case"'":s=y()==='"',t="",e="string";return}throw $(y())},identifierNameStartEscape:function(){if(p!=="u")throw $(y());y();var P=O();switch(P){case"$":case"_":break;default:if(!C.isIdStartChar(P))throw V();break}t+=P,e="identifierName"},identifierName:function(){switch(p){case"$":case"_":case"\u200C":case"\u200D":t+=y();return;case"\\":y(),e="identifierNameEscape";return}if(C.isIdContinueChar(p)){t+=y();return}return I("identifier",t)},identifierNameEscape:function(){if(p!=="u")throw $(y());y();var P=O();switch(P){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!C.isIdContinueChar(P))throw V();break}t+=P,e="identifierName"},sign:function(){switch(p){case".":t=y(),e="decimalPointLeading";return;case"0":t=y(),e="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t=y(),e="decimalInteger";return;case"I":return y(),S("nfinity"),I("numeric",l*(1/0));case"N":return y(),S("aN"),I("numeric",NaN)}throw $(y())},zero:function(){switch(p){case".":t+=y(),e="decimalPoint";return;case"e":case"E":t+=y(),e="decimalExponent";return;case"x":case"X":t+=y(),e="hexadecimal";return}return I("numeric",l*0)},decimalInteger:function(){switch(p){case".":t+=y(),e="decimalPoint";return;case"e":case"E":t+=y(),e="decimalExponent";return}if(C.isDigit(p)){t+=y();return}return I("numeric",l*Number(t))},decimalPointLeading:function(){if(C.isDigit(p)){t+=y(),e="decimalFraction";return}throw $(y())},decimalPoint:function(){switch(p){case"e":case"E":t+=y(),e="decimalExponent";return}if(C.isDigit(p)){t+=y(),e="decimalFraction";return}return I("numeric",l*Number(t))},decimalFraction:function(){switch(p){case"e":case"E":t+=y(),e="decimalExponent";return}if(C.isDigit(p)){t+=y();return}return I("numeric",l*Number(t))},decimalExponent:function(){switch(p){case"+":case"-":t+=y(),e="decimalExponentSign";return}if(C.isDigit(p)){t+=y(),e="decimalExponentInteger";return}throw $(y())},decimalExponentSign:function(){if(C.isDigit(p)){t+=y(),e="decimalExponentInteger";return}throw $(y())},decimalExponentInteger:function(){if(C.isDigit(p)){t+=y();return}return I("numeric",l*Number(t))},hexadecimal:function(){if(C.isHexDigit(p)){t+=y(),e="hexadecimalInteger";return}throw $(y())},hexadecimalInteger:function(){if(C.isHexDigit(p)){t+=y();return}return I("numeric",l*Number(t))},string:function(){switch(p){case"\\":y(),t+=R();return;case'"':if(s)return y(),I("string",t);t+=y();return;case"'":if(!s)return y(),I("string",t);t+=y();return;case`
`:case"\r":throw $(y());case"\u2028":case"\u2029":K(p);break;case void 0:throw $(y())}t+=y()},start:function(){switch(p){case"{":case"[":return I("punctuator",y())}e="value"},beforePropertyName:function(){switch(p){case"$":case"_":t=y(),e="identifierName";return;case"\\":y(),e="identifierNameStartEscape";return;case"}":return I("punctuator",y());case'"':case"'":s=y()==='"',e="string";return}if(C.isIdStartChar(p)){t+=y(),e="identifierName";return}throw $(y())},afterPropertyName:function(){if(p===":")return I("punctuator",y());throw $(y())},beforePropertyValue:function(){e="value"},afterPropertyValue:function(){switch(p){case",":case"}":return I("punctuator",y())}throw $(y())},beforeArrayValue:function(){if(p==="]")return I("punctuator",y());e="value"},afterArrayValue:function(){switch(p){case",":case"]":return I("punctuator",y())}throw $(y())},end:function(){throw $(y())}};function I(P,k){return{type:P,value:k,line:u,column:r}}function S(P){for(var k=0,H=P;k<H.length;k++){var Y=H[k],G=m();if(G!==Y)throw $(y());y()}}function R(){var P=m();switch(P){case"b":return y(),"\b";case"f":return y(),"\f";case"n":return y(),`
`;case"r":return y(),"\r";case"t":return y()," ";case"v":return y(),"\v";case"0":if(y(),C.isDigit(m()))throw $(y());return"\0";case"x":return y(),N();case"u":return y(),O();case`
`:case"\u2028":case"\u2029":return y(),"";case"\r":return y(),m()===`
`&&y(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw $(y());case void 0:throw $(y())}return y()}function N(){var P="",k=m();if(!C.isHexDigit(k)||(P+=y(),k=m(),!C.isHexDigit(k)))throw $(y());return P+=y(),h.fromCodePoint(parseInt(P,16))}function O(){for(var P="",k=4;k-- >0;){var H=m();if(!C.isHexDigit(H))throw $(y());P+=y()}return h.fromCodePoint(parseInt(P,16))}var L={start:function(){if(d.type==="eof")throw W();U()},beforePropertyName:function(){switch(d.type){case"identifier":case"string":n=d.value,_="afterPropertyName";return;case"punctuator":z();return;case"eof":throw W()}},afterPropertyName:function(){if(d.type==="eof")throw W();_="beforePropertyValue"},beforePropertyValue:function(){if(d.type==="eof")throw W();U()},beforeArrayValue:function(){if(d.type==="eof")throw W();if(d.type==="punctuator"&&d.value==="]"){z();return}U()},afterPropertyValue:function(){if(d.type==="eof")throw W();switch(d.value){case",":_="beforePropertyName";return;case"}":z()}},afterArrayValue:function(){if(d.type==="eof")throw W();switch(d.value){case",":_="beforeArrayValue";return;case"]":z()}},end:function(){}};function U(){var P;switch(d.type){case"punctuator":switch(d.value){case"{":P={};break;case"[":P=[];break}break;case"null":case"boolean":case"numeric":case"string":P=d.value;break}if(i===void 0)i=P;else{var k=v[v.length-1];Array.isArray(k)?k.push(P):k[n]=P}if(P!==null&&typeof P=="object")v.push(P),Array.isArray(P)?_="beforeArrayValue":_="beforePropertyName";else{var H=v[v.length-1];H==null?_="end":Array.isArray(H)?_="afterArrayValue":_="afterPropertyValue"}}function z(){v.pop();var P=v[v.length-1];P==null?_="end":Array.isArray(P)?_="afterArrayValue":_="afterPropertyValue"}function $(P){return B(P===void 0?"JSON5: invalid end of input at "+u+":"+r:"JSON5: invalid character '"+M(P)+"' at "+u+":"+r)}function W(){return B("JSON5: invalid end of input at "+u+":"+r)}function V(){return r-=5,B("JSON5: invalid identifier character at "+u+":"+r)}function K(P){console.warn("JSON5: '"+M(P)+"' in strings is not valid ECMAScript; consider escaping")}function M(P){var k={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(k[P])return k[P];if(P<" "){var H=P.charCodeAt(0).toString(16);return"\\x"+("00"+H).substring(H.length)}return P}function B(P){var k=new SyntaxError(P);return k.lineNumber=u,k.columnNumber=r,k}return o},A,x),A.exports=w},42881:(A,x,a)=>{A.exports={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/}},52780:(A,x,a)=>{var T,w;T=[a(42881)],w=a.dj.d(T,function(h){return{isSpaceSeparator:function(C){return typeof C=="string"&&h.Space_Separator.test(C)},isIdStartChar:function(C){return typeof C=="string"&&(C>="a"&&C<="z"||C>="A"&&C<="Z"||C==="$"||C==="_"||h.ID_Start.test(C))},isIdContinueChar:function(C){return typeof C=="string"&&(C>="a"&&C<="z"||C>="A"&&C<="Z"||C>="0"&&C<="9"||C==="$"||C==="_"||C==="\u200C"||C==="\u200D"||h.ID_Continue.test(C))},isDigit:function(C){return typeof C=="string"&&/[0-9]/.test(C)},isHexDigit:function(C){return typeof C=="string"&&/[0-9A-Fa-f]/.test(C)}}},A,x),A.exports=w},99890:(A,x,a)=>{var T,w;T=[a(806),a(82896)],w=a.dj.d(T,function(h,C){return h.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:C("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:C("mac")&&!C("air")?C("safari")?91:224:17}},A,x),A.exports=w},70495:(A,x,a)=>{var T,w;T=[a(806),a(20963),a(2812),a(58340),a(2251)],w=a.dj.d(T,function(h,C,g,_,v){g.add("dom-quirks",v.doc&&v.doc.compatMode=="BackCompat"),g.add("events-mouseenter",v.doc&&"onmouseenter"in v.doc.createElement("div")),g.add("events-mousewheel",v.doc&&"onmousewheel"in v.doc);var f;g("dom-quirks")&&g("ie")||!g("dom-addeventlistener")?f={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(d,n){return d.button&n},isLeft:function(d){return d.button&1},isMiddle:function(d){return d.button&4},isRight:function(d){return d.button&2}}:f={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(d,n){return d.button==n},isLeft:function(d){return d.button==0},isMiddle:function(d){return d.button==1},isRight:function(d){return d.button==2}},h.mouseButtons=f;function u(d,n){var i=function(o,c){return C(o,d,function(e){if(n)return n(e,c);if(!_.isDescendant(e.relatedTarget,o))return c.call(this,e)})};return i.bubble=function(o){return u(d,function(c,e){var t=o(c.target),s=c.relatedTarget;if(t&&t!=(s&&s.nodeType==1&&o(s)))return e.call(t,c)})},i}var r;return g("events-mousewheel")?r="mousewheel":r=function(d,n){return C(d,"DOMMouseScroll",function(i){i.wheelDelta=-i.detail,n.call(this,i)})},{_eventHandler:u,enter:u("mouseover"),leave:u("mouseout"),wheel:r,isLeft:f.isLeft,isMiddle:f.isMiddle,isRight:f.isRight}},A,x),A.exports=w},20963:(A,x,a)=>{var T,w;T=[a.dj.h("dom-addeventlistener?:33070"),a(806),a(82896)],w=a.dj.d(T,function(h,C,g){"use strict";if(g("dom")){var _=window.ScriptEngineMajorVersion;g.add("jscript",_&&_()+ScriptEngineMinorVersion()/10),g.add("event-orientationchange",g("touch")&&!g("android")),g.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),g.add("event-focusin",function(R,N,O){return"onfocusin"in O}),g("touch")&&g.add("touch-can-modify-event-delegate",function(){var R=function(){};R.prototype=document.createEvent("MouseEvents");try{var N=new R;return N.target=null,N.target===null}catch(O){return!1}})}var v=function(R,N,O,L){return typeof R.on=="function"&&typeof N!="function"&&!R.nodeType?R.on(N,O):v.parse(R,N,O,u,L,this)};v.pausable=function(R,N,O,L){var U,z=v(R,N,function(){if(!U)return O.apply(this,arguments)},L);return z.pause=function(){U=!0},z.resume=function(){U=!1},z},v.once=function(R,N,O,L){var U=v(R,N,function(){return U.remove(),O.apply(this,arguments)});return U},v.parse=function(R,N,O,L,U,z){var $;if(N.call)return N.call(z,R,O);if(N instanceof Array?$=N:N.indexOf(",")>-1&&($=N.split(/\s*,\s*/)),$){for(var W=[],V=0,K;K=$[V++];)W.push(v.parse(R,K,O,L,U,z));return W.remove=function(){for(var M=0;M<W.length;M++)W[M].remove()},W}return L(R,N,O,U,z)};var f=/^touch/;function u(R,N,O,L,U){var z=N.match(/(.*):(.*)/);if(z)return N=z[2],z=z[1],v.selector(z,N).call(U,R,O);if(g("touch")&&(f.test(N)&&(O=S(O)),!g("event-orientationchange")&&N=="orientationchange"&&(N="resize",R=window,O=S(O))),e&&(O=e(O)),R.addEventListener){var $=N in o,W=$?o[N]:N;return R.addEventListener(W,O,$),{remove:function(){R.removeEventListener(W,O,$)}}}if(N="on"+N,p&&R.attachEvent)return p(R,N,O);throw new Error("Target must be an event emitter")}v.matches=function(R,N,O,L,U){for(U=U&&typeof U.matches=="function"?U:C.query,L=L!==!1,R.nodeType!=1&&(R=R.parentNode);!U.matches(R,N,O);)if(R==O||L===!1||!(R=R.parentNode)||R.nodeType!=1)return!1;return R},v.selector=function(R,N,O){return function(L,U){var z=typeof R=="function"?{matches:R}:this,$=N.bubble;function W(V){return v.matches(V,R,L,O,z)}return $?v(L,$(W),U):v(L,N,function(V){var K=W(V.target);if(K)return V.selectorTarget=K,U.call(K,V)})}};function r(){this.cancelable=!1,this.defaultPrevented=!0}function d(){this.bubbles=!1}var n=[].slice,i=v.emit=function(R,N,O){var L=n.call(arguments,2),U="on"+N;if("parentNode"in R){var z=L[0]={};for(var $ in O)z[$]=O[$];z.preventDefault=r,z.stopPropagation=d,z.target=R,z.type=N,O=z}do R[U]&&R[U].apply(R,L);while(O&&O.bubbles&&(R=R.parentNode));return O&&O.cancelable&&O},o=g("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!g("event-stopimmediatepropagation"))var c=function(){this.immediatelyStopped=!0,this.modified=!0},e=function(R){return function(N){if(!N.immediatelyStopped)return N.stopImmediatePropagation=c,R.apply(this,arguments)}};if(g("dom-addeventlistener"))v.emit=function(R,N,O){if(R.dispatchEvent&&document.createEvent){var L=R.ownerDocument||document,U=L.createEvent("HTMLEvents");U.initEvent(N,!!O.bubbles,!!O.cancelable);for(var z in O)z in U||(U[z]=O[z]);return R.dispatchEvent(U)&&U}return i.apply(v,arguments)};else{v._fixEvent=function(R,N){if(!R){var O=N&&(N.ownerDocument||N.document||N).parentWindow||window;R=O.event}if(!R)return R;try{t&&R.type==t.type&&R.srcElement==t.target&&(R=t)}catch(U){}if(!R.target)switch(R.target=R.srcElement,R.currentTarget=N||R.srcElement,R.type=="mouseover"&&(R.relatedTarget=R.fromElement),R.type=="mouseout"&&(R.relatedTarget=R.toElement),R.stopPropagation||(R.stopPropagation=m,R.preventDefault=y),R.type){case"keypress":var L="charCode"in R?R.charCode:R.keyCode;L==10?(L=0,R.keyCode=13):L==13||L==27?L=0:L==3&&(L=99),R.charCode=L,E(R);break}return R};var t,s=function(R){this.handle=R};s.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var l=function(R){return function(N){N=v._fixEvent(N,this);var O=R.call(this,N);return N.modified&&(t||setTimeout(function(){t=null}),t=N),O}},p=function(R,N,O){if(O=l(O),((R.ownerDocument?R.ownerDocument.parentWindow:R.parentWindow||R.window||window)!=top||g("jscript")<5.8)&&!g("config-_allow_leaks")){typeof _dojoIEListeners_>"u"&&(_dojoIEListeners_=[]);var L=R[N];if(!L||!L.listeners){var U=L;L=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}"),L.listeners=[],R[N]=L,L.global=this,U&&L.listeners.push(_dojoIEListeners_.push(U)-1)}var z;return L.listeners.push(z=L.global._dojoIEListeners_.push(O)-1),new s(z)}return h.after(R,N,O,!0)},E=function(R){R.keyChar=R.charCode?String.fromCharCode(R.charCode):"",R.charOrCode=R.keyChar||R.keyCode},m=function(){this.cancelBubble=!0},y=v._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(R){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(g("touch"))var b=function(){},I=window.orientation,S=function(R){return function(N){var O=N.corrected;if(!O){var L=N.type;try{delete N.type}catch(W){}if(N.type){if(g("touch-can-modify-event-delegate"))b.prototype=N,O=new b;else{O={};for(var U in N)O[U]=N[U]}O.preventDefault=function(){N.preventDefault()},O.stopPropagation=function(){N.stopPropagation()}}else O=N,O.type=L;if(N.corrected=O,L=="resize")return I==window.orientation?null:(I=window.orientation,O.type="orientationchange",R.call(this,O));if("rotation"in O||(O.rotation=0,O.scale=1),window.TouchEvent&&N instanceof TouchEvent){var z=O.changedTouches[0];for(var $ in z)delete O[$],O[$]=z[$]}}return R.call(this,O)}};return v},A,x),A.exports=w},70401:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.c(module),__webpack_require__(806),__webpack_require__(40923),__webpack_require__(37222),__webpack_require__(93577),__webpack_require__(58340),__webpack_require__(2251),__webpack_require__(60754),__webpack_require__(33070),__webpack_require__(31209),__webpack_require__(92006),__webpack_require__(33553),__webpack_require__(2812),__webpack_require__(2953),__webpack_require__(39196),__webpack_require__(20963),__webpack_require__(70111)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(require,dojo,dlang,darray,config,dom,dwindow,_Url,aspect,all,dates,Deferred,has,json5,query,don,ready){var myEval;has("csp-restrictions")?myEval=json5.parse:myEval=function(text){return eval("("+text+")")};var extendCnt=0;aspect.after(dlang,"extend",function(){extendCnt++},!0);function getNameMap(A){var x=A._nameCaseMap,a=A.prototype;if(!x||x._extendCnt<extendCnt){x=A._nameCaseMap={};for(var T in a)T.charAt(0)!=="_"&&(x[T.toLowerCase()]=T);x._extendCnt=extendCnt}return x}function getCtor(A,x){x||(x=require);var a=x._dojoParserCtorMap||(x._dojoParserCtorMap={}),T=A.join();if(!a[T]){for(var w=[],h=0,C=A.length;h<C;h++){var g=A[h];w[w.length]=a[g]=a[g]||dlang.getObject(g)||~g.indexOf("/")&&x(g)}var _=w.shift();a[T]=w.length?_.createSubclass?_.createSubclass(w):_.extend.apply(_,w):_}return a[T]}var parser={_clearCache:function(){extendCnt++,_ctorMap={}},_functionFromScript:function(A,x){var a="",T="",w=A.getAttribute(x+"args")||A.getAttribute("args"),h=A.getAttribute("with"),C=(w||"").split(/\s*,\s*/);return h&&h.length&&darray.forEach(h.split(/\s*,\s*/),function(g){a+="with("+g+"){",T+="}"}),new Function(C,a+A.innerHTML+T)},instantiate:function(A,x,a){x=x||{},a=a||{};var T=(a.scope||dojo._scopeName)+"Type",w="data-"+(a.scope||dojo._scopeName)+"-",h=w+"type",C=w+"mixins",g=[];return darray.forEach(A,function(_){var v=T in x?x[T]:_.getAttribute(h)||_.getAttribute(T);if(v){var f=_.getAttribute(C),u=f?[v].concat(f.split(/\s*,\s*/)):[v];g.push({node:_,types:u})}}),this._instantiate(g,x,a)},_instantiate:function(A,x,a,T){var w=darray.map(A,function(C){var g=C.ctor||getCtor(C.types,a.contextRequire);if(!g)throw new Error("Unable to resolve constructor for: '"+C.types.join()+"'");return this.construct(g,C.node,x,a,C.scripts,C.inherited)},this);function h(C){return!x._started&&!a.noStart&&darray.forEach(C,function(g){typeof g.startup=="function"&&!g._started&&g.startup()}),C}return T?all(w).then(h):h(w)},construct:function(A,x,a,T,w,h){var C=A&&A.prototype;T=T||{};var g={};T.defaults&&dlang.mixin(g,T.defaults),h&&dlang.mixin(g,h);var _;if(has("dom-attributes-explicit"))_=x.attributes;else if(has("dom-attributes-specified-flag"))_=darray.filter(x.attributes,function(B){return B.specified});else{var v=/^input$|^img$/i.test(x.nodeName)?x:x.cloneNode(!1),f=v.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_=darray.map(f.split(/\s+/),function(B){var P=B.toLowerCase();return{name:B,value:x.nodeName=="LI"&&B=="value"||P=="enctype"?x.getAttribute(P):x.getAttributeNode(P).value}})}var u=T.scope||dojo._scopeName,r="data-"+u+"-",d={};u!=="dojo"&&(d[r+"props"]="data-dojo-props",d[r+"type"]="data-dojo-type",d[r+"mixins"]="data-dojo-mixins",d[u+"type"]="dojotype",d[r+"id"]="data-dojo-id");for(var n=0,i,o=[],c,e;i=_[n++];){var t=i.name,s=t.toLowerCase(),l=i.value;switch(d[s]||s){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":e=l;break;case"data-dojo-id":case"jsid":c=l;break;case"data-dojo-attach-point":case"dojoattachpoint":g.dojoAttachPoint=l;break;case"data-dojo-attach-event":case"dojoattachevent":g.dojoAttachEvent=l;break;case"class":g.class=x.className;break;case"style":g.style=x.style&&x.style.cssText;break;default:if(!(t in C)){var p=getNameMap(A);t=p[s]||t}if(t in C)switch(typeof C[t]){case"string":g[t]=l;break;case"number":g[t]=l.length?Number(l):NaN;break;case"boolean":g[t]=l.toLowerCase()!="false";break;case"function":l===""||l.search(/[^\w\.]+/i)!=-1?g[t]=new Function(l):g[t]=dlang.getObject(l,!1)||new Function(l),o.push(t);break;default:var E=C[t];try{g[t]=E&&"length"in E?l?l.split(/\s*,\s*/):[]:E instanceof Date?l==""?new Date(""):l=="now"?new Date:dates.fromISOString(l):E instanceof _Url?dojo.baseUrl+l:myEval(l)}catch(B){console.error(B)}}else g[t]=l}}for(var m=0;m<o.length;m++){var y=o[m].toLowerCase();x.removeAttribute(y),x[y]=null}if(e)try{e=myEval.call(T.propsThis,"{"+e+"}"),dlang.mixin(g,e)}catch(B){throw new Error(B.toString()+" in data-dojo-props='"+e+"'")}dlang.mixin(g,a),w||(w=A&&(A._noScript||C._noScript)?[]:query("> script[type^='dojo/']",x));var b=[],I=[],S=[],R=[];if(w)for(n=0;n<w.length;n++){var N=w[n];x.removeChild(N);var O=N.getAttribute(r+"event")||N.getAttribute("event"),L=N.getAttribute(r+"prop"),U=N.getAttribute(r+"method"),z=N.getAttribute(r+"advice"),$=N.getAttribute("type"),W=this._functionFromScript(N,r);O?$=="dojo/connect"?b.push({method:O,func:W}):$=="dojo/on"?R.push({event:O,func:W}):g[O]=W:$=="dojo/aspect"?b.push({method:U,advice:z,func:W}):$=="dojo/watch"?S.push({prop:L,func:W}):I.push(W)}var V=A.markupFactory||C.markupFactory,K=V?V(g,x,A):new A(g,x);function M(B){for(c&&dlang.setObject(c,B),n=0;n<b.length;n++)aspect[b[n].advice||"after"](B,b[n].method,dlang.hitch(B,b[n].func),!0);for(n=0;n<I.length;n++)I[n].call(B);for(n=0;n<S.length;n++)B.watch(S[n].prop,S[n].func);for(n=0;n<R.length;n++)don(B,R[n].event,R[n].func);return B}return K.then?K.then(M):M(K)},scan:function(A,x){var a=[],T=[],w={},h=(x.scope||dojo._scopeName)+"Type",C="data-"+(x.scope||dojo._scopeName)+"-",g=C+"type",_=C+"textdir",v=C+"mixins",f=A.firstChild,u=x.inherited;if(!u){var r=function I(S,R){return S.getAttribute&&S.getAttribute(R)||S.parentNode&&I(S.parentNode,R)};u={dir:r(A,"dir"),lang:r(A,"lang"),textDir:r(A,_)};for(var d in u)u[d]||delete u[d]}var n={inherited:u},i,o;function c(I){if(!I.inherited){I.inherited={};var S=I.node,R=c(I.parent),N={dir:S.getAttribute("dir")||R.dir,lang:S.getAttribute("lang")||R.lang,textDir:S.getAttribute(_)||R.textDir};for(var O in N)N[O]&&(I.inherited[O]=N[O])}return I.inherited}for(;;){if(!f){if(!n||!n.node)break;f=n.node.nextSibling,o=!1,n=n.parent,i=n.scripts;continue}if(f.nodeType!=1){f=f.nextSibling;continue}if(i&&f.nodeName.toLowerCase()=="script"){e=f.getAttribute("type"),e&&/^dojo\/\w/i.test(e)&&i.push(f),f=f.nextSibling;continue}if(o){f=f.nextSibling;continue}var e=f.getAttribute(g)||f.getAttribute(h),t=f.firstChild;if(!e&&(!t||t.nodeType==3&&!t.nextSibling)){f=f.nextSibling;continue}var s,l=null;if(e){var p=f.getAttribute(v),E=p?[e].concat(p.split(/\s*,\s*/)):[e];try{l=getCtor(E,x.contextRequire)}catch(I){}l||darray.forEach(E,function(I){~I.indexOf("/")&&!w[I]&&(w[I]=!0,T[T.length]=I)});var m=l&&!l.prototype._noScript?[]:null;s={types:E,ctor:l,parent:n,node:f,scripts:m},s.inherited=c(s),a.push(s)}else s={node:f,scripts:i,parent:n};i=m,o=f.stopParser||l&&l.prototype.stopParser&&!x.template,n=s,f=t}var y=new Deferred;if(T.length){has("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+T.join(", "));var b=x.contextRequire||require;b(T,function(){y.resolve(darray.filter(a,function(I){if(!I.ctor)try{I.ctor=getCtor(I.types,x.contextRequire)}catch(N){}for(var S=I.parent;S&&!S.types;)S=S.parent;var R=I.ctor&&I.ctor.prototype;return I.instantiateChildren=!(R&&R.stopParser&&!x.template),I.instantiate=!S||S.instantiate&&S.instantiateChildren,I.instantiate}))})}else y.resolve(a);return y.promise},_require:function(A,x){var a=myEval("{"+A.innerHTML+"}"),T=[],w=[],h=new Deferred,C=x&&x.contextRequire||require;for(var g in a)T.push(g),w.push(a[g]);return C(w,function(){for(var _=0;_<T.length;_++)dlang.setObject(T[_],arguments[_]);h.resolve(arguments)}),h.promise},_scanAmd:function(A,x){var a=new Deferred,T=a.promise;a.resolve(!0);var w=this;return query("script[type='dojo/require']",A).forEach(function(h){T=T.then(function(){return w._require(h,x)}),h.parentNode.removeChild(h)}),T},parse:function(A,x){A&&typeof A!="string"&&!("nodeType"in A)&&(x=A,A=x.rootNode);var a=A?dom.byId(A):dwindow.body();x=x||{};var T=x.template?{template:!0}:{},w=[],h=this,C=this._scanAmd(a,x).then(function(){return h.scan(a,x)}).then(function(g){return h._instantiate(g,T,x,!0)}).then(function(g){return w=w.concat(g)}).otherwise(function(g){throw console.error("dojo/parser::parse() error",g),g});return dlang.mixin(w,C),w}};return has("extend-dojo")&&(dojo.parser=parser),config.parseOnLoad&&ready(100,parser,"parse"),parser},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},22527:(A,x,a)=>{var T,w;T=[a(40923)],w=a.dj.d(T,function(h){"use strict";function C(){throw new TypeError("abstract")}return h.extend(function(){},{then:function(g,_,v){C()},cancel:function(g,_){C()},isResolved:function(){C()},isRejected:function(){C()},isFulfilled:function(){C()},isCanceled:function(){C()},finally:function(g){return this.then(function(_){var v=g();return v&&typeof v.then=="function"?v.then(function(){return _}):_},function(_){var v=g();if(v&&typeof v.then=="function")return v.then(function(){throw _});throw _})},always:function(g){return this.then(g,g)},catch:function(g){return this.then(null,g)},otherwise:function(g){return this.then(null,g)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})},A,x),A.exports=w},31209:(A,x,a)=>{var T,w;T=[a(37222),a(40923),a(33553),a(28054)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v=h.some;return function(u){var r,d;C.isArray(u)?d=u:u&&typeof u=="object"&&(r=u);var n,i=[];if(r){d=[];for(var o in r)Object.hasOwnProperty.call(r,o)&&(i.push(o),d.push(r[o]));n={}}else d&&(n=[]);if(!d||!d.length)return new g().resolve(n);var c=new g;c.promise.always(function(){n=i=null});var e=d.length;return v(d,function(t,s){return r||i.push(s),_(t,function(l){c.isFulfilled()||(n[i[s]]=l,--e===0&&c.resolve(n))},c.reject),c.isFulfilled()}),c.promise}},A,x),A.exports=w},39196:(A,x,a)=>{var T,w;T=[a(806),a(2812),a(58340),a(20963),a(37222),a(40923),a(62386),a(15594)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";C.add("array-extensible",function(){return f.delegate([],{length:1}).length==1&&!C("bug-for-in-skips-shadowed")});const d=Array.prototype,n=d.slice,i=d.concat,o=v.forEach,c=function(S,R,N){const O=new(N||this._NodeListCtor||m)(S);return R?O._stash(R):O},e=function(S,R,N){return R=[0].concat(n.call(R,0)),N=N||h.global,function(O){return R[0]=O,S.apply(N,R)}},t=function(S,R){return function(){return this.forEach(e(S,arguments,R)),this}},s=function(S,R){return function(){return this.map(e(S,arguments,R))}},l=function(S,R){return function(){return this.filter(e(S,arguments,R))}},p=function(S,R,N){return function(){const O=arguments,L=e(S,O,N);return R.call(N||h.global,O)?this.map(L):(this.forEach(L),this)}},E=function(S){const R=this instanceof m&&C("array-extensible");typeof S=="number"&&(S=Array(S));let N=S&&"length"in S?S:arguments;if(R||!N.sort){const O=R?this:[],L=O.length=N.length;for(let U=0;U<L;U++)O[U]=N[U];if(R)return O;N=O}return f._mixin(N,y),N._NodeListCtor=function(O){return m(O)},N};var m=E,y=m.prototype=C("array-extensible")?[]:{};m._wrap=y._wrap=c,m._adaptAsMap=s,m._adaptAsForEach=t,m._adaptAsFilter=l,m._adaptWithCondition=p,o(["slice","splice"],function(S){const R=d[S];y[S]=function(){return this._wrap(R.apply(this,arguments),S=="slice"?this:null)}}),o(["indexOf","lastIndexOf","every","some"],function(S){const R=v[S];y[S]=function(){return R.apply(h,[this].concat(n.call(arguments,0)))}}),f.extend(E,{constructor:m,_NodeListCtor:m,toString:function(){return this.join(",")},_stash:function(S){return this._parent=S,this},on:function(S,R){const N=this.map(function(O){return _(O,S,R)});return N.remove=function(){for(let O=0;O<N.length;O++)N[O].remove()},N},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(S){const R=n.call(this,0),N=v.map(arguments,function(O){return n.call(O,0)});return this._wrap(i.apply(R,N),this)},map:function(S,R){return this._wrap(v.map(this,S,R),this)},forEach:function(S,R){return o(this,S,R),this},filter:function(S){const R=arguments;let N=this,O=0;if(typeof S=="string"){if(N=I._filterResult(this,R[0]),R.length==1)return N._stash(this);O=1}return this._wrap(v.filter(N,R[O],R[O+1]),this)},instantiate:function(S,R){const N=f.isFunction(S)?S:f.getObject(S);return R=R||{},this.forEach(function(O){new N(R,O)})},at:function(){const S=new this._NodeListCtor(0);return o(arguments,function(R){R<0&&(R=this.length+R),this[R]&&S.push(this[R])},this),S._stash(this)}});function b(S,R){const N=function(O,L){if(typeof L=="string"&&(L=g.byId(L),!L))return new R([]);const U=typeof O=="string"?S(O,L):O?O.end&&O.on?O:[O]:[];return U.end&&U.on?U:new R(U)};if(N.matches=S.match||function(O,L,U){return N.filter([O],L,U).length>0},N.filter=S.filter||function(O,L,U){return N(L,U).filter(function(z){return v.indexOf(O,z)>-1})},typeof S!="function"){const O=S.search;S=function(L,U){return O(U||document,L)}}return N}var I=b(r,E);return h.query=b(r,function(S){return E(S)}),I.load=function(S,R,N){u.load(S,R,function(O){N(b(O,E))})},h._filterQueryResult=I._filterResult=function(S,R,N){return new E(I.filter(S,R,N))},h.NodeList=I.NodeList=E,I},A,x),A.exports=w},70111:(A,x,a)=>{var T,w;T=[a(806),a(2812),a.dj.c(A),a(85849),a(40923)],w=a.dj.d(T,function(h,C,g,_,v){var f=0,u=[],r=0,d=function(){f=1,h._postLoad=h.config.afterOnLoad=!0,n()},n=function(){if(!r){for(r=1;f&&(!_||_._Q.length==0)&&(!g.idle||g.idle())&&u.length;){var c=u.shift();try{c()}catch(e){if(e.info=e.message,g.signal)g.signal("error",e);else throw e}}r=0}};g.on&&g.on("idle",n),_&&(_._onQEmpty=n);var i=h.ready=h.addOnLoad=function(c,e,t){var s=v._toArray(arguments);typeof c!="number"?(t=e,e=c,c=1e3):s.shift(),t=t?v.hitch.apply(h,s):function(){e()},t.priority=c;for(var l=0;l<u.length&&c>=u[l].priority;l++);u.splice(l,0,t),n()};if(C.add("dojo-config-addOnLoad",1),C("dojo-config-addOnLoad")){var o=h.config.addOnLoad;o&&i[v.isArray(o)?"apply":"call"](h,o)}return C("dojo-sync-loader")&&h.config.parseOnLoad&&!h.isAsync&&i(99,function(){h.parser||(h.deprecated("Add explicit require(['dojo/parser']);","","2.0"),Promise.resolve().then(function(){a(70401)}).catch(a.oe))}),_?_(d):d(),i},A,x),A.exports=w},35291:(A,x,a)=>{var T,w;T=[a(806),a(40923)],w=a.dj.d(T,function(h,C){var g={};return C.setObject("dojo.regexp",g),g.escapeString=function(_,v){return _.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(f){return v&&v.indexOf(f)!=-1?f:"\\"+f})},g.buildGroupRE=function(_,v,f){if(!(_ instanceof Array))return v(_);for(var u=[],r=0;r<_.length;r++)u.push(v(_[r]));return g.group(u.join("|"),f)},g.group=function(_,v){return"("+(v?"?:":"")+_+")"},g},A,x),A.exports=w},66569:(A,x,a)=>{var T,w;T=[a(5464)],w=a.dj.d(T,function(h){return h},A,x),A.exports=w},37093:(A,x,a)=>{var T,w;T=[a(10316),a(806),a(37222),a(2812)],w=a.dj.d(T,function(h,C,g,_){_.add("activex",typeof ActiveXObject<"u"),_.add("dom-parser",function(d){return"DOMParser"in d});let v;if(_("activex")){const d=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];let n;v=function(i){let o=i.data;const c=i.text;o&&!o.querySelectorAll&&_("dom-parser")&&(o=new DOMParser().parseFromString(c,"application/xml"));function e(t){try{const s=new ActiveXObject(t);s.async=!1,s.loadXML(c),o=s,n=t}catch(s){return!1}return!0}return(!o||!o.documentElement)&&(!n||!e(n))&&g.some(d,e),o}}const f=function(d){return!_("native-xhr2-blob")&&d.options.handleAs==="blob"&&typeof Blob<"u"?new Blob([d.xhr.response],{type:d.xhr.getResponseHeader("Content-Type")}):d.xhr.response},u={javascript:function(d){return C.eval(d.text||"")},json:function(d){return h.parse(d.text||null)},xml:v,blob:f,arraybuffer:f,document:f};function r(d){const n=u[d.options.handleAs];return d.data=n?n(d):d.data||d.text,d}return r.register=function(d,n){u[d]=n},r},A,x),A.exports=w},27891:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__.dj.m(module),__webpack_require__(22333),__webpack_require__(95148),__webpack_require__(806),__webpack_require__(37222),__webpack_require__(40923),__webpack_require__(20963),__webpack_require__(58340),__webpack_require__(96916),__webpack_require__(2812),__webpack_require__(2251)],__WEBPACK_AMD_DEFINE_RESULT__=__webpack_require__.dj.d(__WEBPACK_AMD_DEFINE_ARRAY__,function(module,watch,util,kernel,array,lang,on,dom,domConstruct,has,win){has.add("script-readystatechange",function(A,x){var a=x.createElement("script");return typeof a.onreadystatechange<"u"&&(typeof A.opera>"u"||A.opera.toString()!=="[object Opera]")});var mid=module.id.replace(/[\/\.\-]/g,"_"),counter=0,loadEvent=has("script-readystatechange")?"readystatechange":"load",readyRegExp=/complete|loaded/,callbacks=kernel.global[mid+"_callbacks"]={},deadScripts=[];function attach(A,x,a,T){var w=a||win.doc,h=w.createElement("script");T&&on.once(h,"error",T),h.type="text/javascript";try{h.src=x}catch(C){T&&T(h)}return h.id=A,h.async=!0,h.charset="utf-8",w.getElementsByTagName("head")[0].appendChild(h)}function remove(A,x,a){domConstruct.destroy(dom.byId(A,x)),callbacks[A]&&(a?callbacks[A]=function(){delete callbacks[A]}:delete callbacks[A])}function _addDeadScript(A){var x=A.response.options,a=x.ioArgs?x.ioArgs.frameDoc:x.frameDoc;deadScripts.push({id:A.id,frameDoc:a}),x.ioArgs&&(x.ioArgs.frameDoc=null),x.frameDoc=null}function canceler(A,x){A.canDelete&&script._remove(A.id,x.options.frameDoc,!0)}function isValid(A){return deadScripts&&deadScripts.length&&(array.forEach(deadScripts,function(x){script._remove(x.id,x.frameDoc),x.frameDoc=null}),deadScripts=[]),A.options.jsonp?!A.data:!0}function isReadyScript(A){return!!this.scriptLoaded}function isReadyCheckString(response){var checkString=response.options.checkString;return checkString&&eval("typeof("+checkString+') !== "undefined"')}function handleResponse(A,x){this.canDelete&&_addDeadScript(this),x?this.reject(x):this.resolve(A)}function script(A,x,a){var T=util.parseArgs(A,util.deepCopy({},x));A=T.url,x=T.options;var w=util.deferred(T,canceler,isValid,x.jsonp?null:x.checkString?isReadyCheckString:isReadyScript,handleResponse);if(lang.mixin(w,{id:mid+counter++,canDelete:!1}),x.jsonp){var h=new RegExp("[?&]"+x.jsonp+"=");h.test(A)||(A+=(~A.indexOf("?")?"&":"?")+x.jsonp+"="+(x.frameDoc?"parent.":"")+mid+"_callbacks."+w.id),w.canDelete=!0,callbacks[w.id]=function(_){T.data=_,w.handleResponse(T)}}if(util.notify&&util.notify.emit("send",T,w.promise.cancel),!x.canAttach||x.canAttach(w)){var C=script._attach(w.id,A,x.frameDoc,function(_){if(!(_ instanceof Error)){var v=new Error("Error loading "+(_.target?_.target.src:"script"));v.source=_,_=v}w.reject(_),script._remove(w.id,x.frameDoc,!0)});if(!x.jsonp&&!x.checkString)var g=on(C,loadEvent,function(_){(_.type==="load"||readyRegExp.test(C.readyState))&&(g.remove(),w.scriptLoaded=_)})}return watch(w),a?w:w.promise}return script.get=script,script._attach=attach,script._remove=remove,script._callbacksProperty=mid+"_callbacks",script},module,exports),module.exports=__WEBPACK_AMD_DEFINE_RESULT__},95148:(A,x,a)=>{var T,w;T=[x,a(16937),a(49350),a(33553),a(80419),a(37222),a(40923),a(22527),a(2812)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){function n(p){return d("native-arraybuffer")&&p instanceof ArrayBuffer}function i(p){return d("native-blob")&&p instanceof Blob}function o(p){return typeof Element<"u"?p instanceof Element:p.nodeType===1}function c(p){return d("native-formdata")&&p instanceof FormData}function e(p){return p&&typeof p=="object"&&!c(p)&&!o(p)&&!i(p)&&!n(p)}h.deepCopy=function(p,E){for(var m in E){var y=p[m],b=E[m];m!=="__proto__"&&y!==b&&(e(b)?Object.prototype.toString.call(b)==="[object Date]"?p[m]=new Date(b):u.isArray(b)?p[m]=h.deepCopyArray(b):y&&typeof y=="object"?h.deepCopy(y,b):p[m]=h.deepCopy({},b):p[m]=b)}return p},h.deepCopyArray=function(p){for(var E=[],m=0,y=p.length;m<y;m++){var b=p[m];typeof b=="object"?E.push(h.deepCopy({},b)):E.push(b)}return E},h.deepCreate=function(E,m){m=m||{};var y=u.delegate(E),b,I;for(b in E)I=E[b],I&&typeof I=="object"&&(y[b]=h.deepCreate(I,m[b]));return h.deepCopy(y,m)};var t=Object.freeze||function(p){return p};function s(p){return t(p)}function l(p){return p.data!==void 0?p.data:p.text}h.deferred=function(E,m,y,b,I,S){var R=new _(function($){return m&&m(R,E),!$||!($ instanceof C)&&!($ instanceof g)?new g("Request canceled",E):$});R.response=E,R.isValid=y,R.isReady=b,R.handleResponse=I;function N($){throw $.response=E,$}var O=R.then(s).otherwise(N);h.notify&&O.then(u.hitch(h.notify,"emit","load"),u.hitch(h.notify,"emit","error"));var L=O.then(l),U=new r;for(var z in L)L.hasOwnProperty(z)&&(U[z]=L[z]);return U.response=O,t(U),S&&R.then(function($){S.call(R,$)},function($){S.call(R,E,$)}),R.promise=U,R.then=U.then,R},h.addCommonMethods=function(E,m){f.forEach(m||["GET","POST","PUT","DELETE"],function(y){E[(y==="DELETE"?"DEL":y).toLowerCase()]=function(b,I){return I=u.delegate(I||{}),I.method=y,E(b,I)}})},h.parseArgs=function(E,m,y){var b=m.data,I=m.query;return b&&!y&&typeof b=="object"&&(!d("native-xhr2")||!(n(b)||i(b)))&&(m.data=v.objectToQuery(b)),I?(typeof I=="object"&&(I=v.objectToQuery(I)),m.preventCache&&(I+=(I?"&":"")+"request.preventCache="+ +new Date)):m.preventCache&&(I="request.preventCache="+ +new Date),E&&I&&(E+=(~E.indexOf("?")?"&":"?")+I),{url:E,options:m,getHeader:function(S){return null}}},h.checkStatus=function(p){return p=p||0,p>=200&&p<300||p===304||p===1223||!p}},A,x),A.exports=w},22333:(A,x,a)=>{var T,w;T=[a(95148),a(90688),a(49350),a(37222),a(2251)],w=a.dj.d(T,function(h,C,g,_,v){let f=null;const u=[];function r(){const n=+new Date;for(var i=0,o;i<u.length&&(o=u[i]);i++){const c=o.response,e=c.options;o.isCanceled&&o.isCanceled()||o.isValid&&!o.isValid(c)?(u.splice(i--,1),d._onAction&&d._onAction()):o.isReady&&o.isReady(c)?(u.splice(i--,1),o.handleResponse(c),d._onAction&&d._onAction()):o.startTime&&o.startTime+(e.timeout||0)<n&&(u.splice(i--,1),o.cancel(new C("Timeout exceeded",c)),d._onAction&&d._onAction())}d._onInFlight&&d._onInFlight(o),u.length||(clearInterval(f),f=null)}function d(n){n.response.options.timeout&&(n.startTime=+new Date),!n.isFulfilled()&&(u.push(n),f||(f=setInterval(r,50)),n.response.options.sync&&r())}return d.cancelAll=function(){try{_.forEach(u,function(i){try{i.cancel(new g("All requests canceled."))}catch(o){}})}catch(i){}},d},A,x),A.exports=w},5464:(A,x,a)=>{var T,w;T=[a(16937),a(22333),a(37093),a(95148),a(2812)],w=a.dj.d(T,function(h,C,g,_,v){v.add("native-xhr",function(){return typeof XMLHttpRequest<"u"}),v.add("dojo-force-activex-xhr",function(){return v("activex")&&window.location.protocol==="file:"}),v.add("native-xhr2",function(){if(!(!v("native-xhr")||v("dojo-force-activex-xhr"))){var s=new XMLHttpRequest;return typeof s.addEventListener<"u"&&(typeof opera>"u"||typeof s.upload<"u")}}),v.add("native-formdata",function(){return typeof FormData<"u"}),v.add("native-blob",function(){return typeof Blob<"u"}),v.add("native-arraybuffer",function(){return typeof ArrayBuffer<"u"}),v.add("native-response-type",function(){return v("native-xhr")&&typeof new XMLHttpRequest().responseType<"u"}),v.add("native-xhr2-blob",function(){if(v("native-response-type"))return!0});var f={blob:v("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function u(s,l){var p=s.xhr;s.status=s.xhr.status;try{s.text=p.responseText}catch(m){}s.options.handleAs==="xml"&&(s.data=p.responseXML);var E;if(l)this.reject(l);else{try{g(s)}catch(m){E=m}_.checkStatus(p.status)?E?this.reject(E):this.resolve(s):E?(l=new h("Unable to load "+s.url+" status: "+p.status+" and an error in handleAs: transformation of response",s),this.reject(l)):(l=new h("Unable to load "+s.url+" status: "+p.status,s),this.reject(l))}}var r,d,n,i;v("native-xhr2")?(r=function(s){return!this.isFulfilled()},i=function(s,l){l.xhr.abort()},n=function(s,l,p,E){function m(R){l.handleResponse(p)}function y(R){var N=R.target,O=new h("Unable to load "+p.url+" status: "+N.status,p);l.handleResponse(p,O)}function b(R,N){p.transferType=R,N.lengthComputable?(p.loaded=N.loaded,p.total=N.total,l.progress(p)):p.xhr.readyState===3&&(p.loaded="loaded"in N?N.loaded:N.position,l.progress(p))}function I(R){return b("download",R)}function S(R){return b("upload",R)}return s.addEventListener("load",m,!1),s.addEventListener("error",y,!1),s.addEventListener("progress",I,!1),E&&s.upload&&s.upload.addEventListener("progress",S,!1),function(){s.removeEventListener("load",m,!1),s.removeEventListener("error",y,!1),s.removeEventListener("progress",I,!1),s.upload.removeEventListener("progress",S,!1),s=null}}):(r=function(s){return s.xhr.readyState},d=function(s){return s.xhr.readyState===4},i=function(s,l){var p=l.xhr,E=typeof p.abort;(E==="function"||E==="object"||E==="unknown")&&p.abort()});function o(s){return this.xhr.getResponseHeader(s)}var c,e={data:null,query:null,sync:!1,method:"GET"};function t(s,l,p){var E=v("native-formdata")&&l&&l.data&&l.data instanceof FormData,m=_.parseArgs(s,_.deepCreate(e,l),E);s=m.url,l=m.options;var y=!l.data&&l.method!=="POST"&&l.method!=="PUT";v("ie")<=10&&(s=s.split("#")[0]);var b,I=function(){b&&b()},S=_.deferred(m,i,r,d,u,I),R=m.xhr=t._create();if(!R)return S.cancel(new h("XHR was not created")),p?S:S.promise;m.getHeader=o,n&&(b=n(R,S,m,l.uploadProgress));var N=typeof l.data>"u"?null:l.data,O=!l.sync,L=l.method;try{R.open(L,s,O,l.user||c,l.password||c),l.withCredentials&&(R.withCredentials=l.withCredentials),v("native-response-type")&&l.handleAs in f&&(R.responseType=f[l.handleAs]);var U=l.headers,z=E||y?!1:"application/x-www-form-urlencoded";if(U)for(var $ in U)$.toLowerCase()==="content-type"?z=U[$]:U[$]&&R.setRequestHeader($,U[$]);z&&z!==!1&&R.setRequestHeader("Content-Type",z),(!U||!("X-Requested-With"in U))&&R.setRequestHeader("X-Requested-With","XMLHttpRequest"),_.notify&&_.notify.emit("send",m,S.promise.cancel),R.send(N)}catch(W){S.reject(W)}return C(S),R=null,p?S:S.promise}if(t._create=function(){throw new Error("XMLHTTP not available")},v("native-xhr")&&!v("dojo-force-activex-xhr"))t._create=function(){return new XMLHttpRequest};else if(v("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),t._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(s){try{new ActiveXObject("Microsoft.XMLHTTP"),t._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(l){}}return _.addCommonMethods(t),t},A,x),A.exports=w},62386:(A,x,a)=>{var T,w;T=[a(2812),a.dj.c(A)],w=a.dj.d(T,function(h,C){"use strict";if(typeof document<"u"){var g=document.createElement("div");h.add("dom-qsa2.1",!!g.querySelectorAll),h.add("dom-qsa3",function(){try{return g.innerHTML="<p class='TEST'></p>",g.querySelectorAll(".TEST:empty").length==1}catch(u){}})}var _,v="./acme",f="./lite";return{load:function(u,r,d,n){if(n&&n.isBuild){d();return}var i=C;if(u=u=="default"?h("config-selectorEngine")||"css3":u,u=u=="css2"||u=="lite"?f:u=="css2.1"?h("dom-qsa2.1")?f:v:u=="css3"?h("dom-qsa3")?f:v:u=="acme"?v:(i=r)&&u,u.charAt(u.length-1)=="?"){u=u.substring(0,u.length-1);var o=!0}if(o&&(h("dom-compliant-qsa")||_))return d(_);i([u],function(c){u!="./lite"&&(_=c),d(c)})}}},A,x),A.exports=w},15594:(A,x,a)=>{var T,w;T=[a(2812),a(806)],w=a.dj.d(T,function(h,C){"use strict";var g=document.createElement("div"),_=g.matches||g.webkitMatchesSelector||g.mozMatchesSelector||g.msMatchesSelector||g.oMatchesSelector,v=g.querySelectorAll,f=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;h.add("dom-matches-selector",!!_),h.add("dom-qsa",!!v);var u=function(i,o){if(n&&i.indexOf(",")>-1)return n(i,o);var c=o?o.ownerDocument||o:C.doc||document,e=(v?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(i);if(o=o||c,e){var t=h("ie")===8&&h("quirks")?o.nodeType===c.nodeType:o.parentNode!==null&&o.nodeType!==9&&o.parentNode===c;if(e[2]&&t){var l=C.byId?C.byId(e[2],c):c.getElementById(e[2]);if(!l||e[1]&&e[1]!=l.tagName.toLowerCase())return[];if(o!=c){for(var s=l;s!=o;)if(s=s.parentNode,!s)return[]}return e[3]?u(e[3],l):[l]}if(e[3]&&o.getElementsByClassName)return o.getElementsByClassName(e[4]);var l;if(e[5])if(l=o.getElementsByTagName(e[5]),e[4]||e[6])i=(e[4]||"")+e[6];else return l}if(v)return o.nodeType===1&&o.nodeName.toLowerCase()!=="object"?r(o,i,o.querySelectorAll):o.querySelectorAll(i);l||(l=o.getElementsByTagName("*"));for(var p=[],E=0,m=l.length;E<m;E++){var y=l[E];y.nodeType==1&&d(y,i,o)&&p.push(y)}return p},r=function(i,o,c){var e=i,t=i.getAttribute("id"),s=t||"__dojo__",l=i.parentNode,p=/^\s*[+~]/.test(o);if(p&&!l)return[];t?s=s.replace(/'/g,"\\$&"):i.setAttribute("id",s),p&&l&&(i=i.parentNode);for(var E=o.match(f),m=0;m<E.length;m++)E[m]="[id='"+s+"'] "+E[m];o=E.join(",");try{return c.call(i,o)}finally{t||e.removeAttribute("id")}};if(!h("dom-matches-selector"))var d=function(){var i=g.tagName=="div"?"toLowerCase":"toUpperCase",o={"":function(E){return E=E[i](),function(m){return m.tagName==E}},".":function(E){var m=" "+E+" ";return function(y){return y.className.indexOf(E)>-1&&(" "+y.className+" ").indexOf(m)>-1}},"#":function(E){return function(m){return m.id==E}}},c={"^=":function(E,m){return E.indexOf(m)==0},"*=":function(E,m){return E.indexOf(m)>-1},"$=":function(E,m){return E.substring(E.length-m.length,E.length)==m},"~=":function(E,m){return(" "+E+" ").indexOf(" "+m+" ")>-1},"|=":function(E,m){return(E+"-").indexOf(m+"-")==0},"=":function(E,m){return E==m},"":function(E,m){return!0}};function e(E,m,y){var b=m.charAt(0);(b=='"'||b=="'")&&(m=m.slice(1,-1)),m=m.replace(/\\/g,"");var I=c[y||""];return function(S){var R=S.getAttribute(E);return R&&I(R,m)}}function t(E){return function(m,y){for(;(m=m.parentNode)!=y;)if(E(m,y))return!0}}function s(E){return function(m,y){return m=m.parentNode,E?m!=y&&E(m,y):m==y}}var l={};function p(E,m){return E?function(y,b){return m(y)&&E(y,b)}:m}return function(E,m,y){var b=l[m];if(!b){if(m.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(I,S,R,N,O,L,U){return N?b=p(b,o[R||""](N.replace(/\\/g,""))):S?b=(S==" "?t:s)(b):O&&(b=p(b,e(O,U,L))),""}))throw new Error("Syntax error in query");if(!b)return!0;l[m]=b}return b(E,y)}}();if(!h("dom-qsa"))var n=function(i,o){for(var c=i.match(f),e=[],t=0;t<c.length;t++){i=new String(c[t].replace(/\s*$/,"")),i.indexOf=escape;for(var s=u(i,o),l=0,p=s.length;l<p;l++){var E=s[l];e[E.sourceIndex]=E}}var m=[];for(t in e)m.push(e[t]);return m};return u.match=_?function(i,o,c){return c&&c.nodeType!=9?r(c,o,function(e){return _.call(i,e)}):_.call(i,o)}:d,u},A,x),A.exports=w},82896:(A,x,a)=>{var T,w;T=[a(2812)],w=a.dj.d(T,function(h){if(h("host-browser")){var C=navigator,g=C.userAgent,_=C.appVersion,v=parseFloat(_);if(h.add("air",g.indexOf("AdobeAIR")>=0),h.add("wp",parseFloat(g.split("Windows Phone")[1])||void 0),h.add("msapp",parseFloat(g.split("MSAppHost/")[1])||void 0),h.add("khtml",_.indexOf("Konqueror")>=0?v:void 0),h.add("edge",parseFloat(g.split("Edge/")[1])||void 0),h.add("opr",parseFloat(g.split("OPR/")[1])||void 0),h.add("webkit",!h("wp")&&!h("edge")&&parseFloat(g.split("WebKit/")[1])||void 0),h.add("chrome",!h("edge")&&!h("opr")&&parseFloat(g.split("Chrome/")[1])||void 0),h.add("android",!h("wp")&&parseFloat(g.split("Android ")[1])||void 0),h.add("safari",_.indexOf("Safari")>=0&&!h("wp")&&!h("chrome")&&!h("android")&&!h("edge")&&!h("opr")?parseFloat(_.split("Version/")[1]):void 0),h.add("mac",_.indexOf("Macintosh")>=0),h.add("quirks",document.compatMode=="BackCompat"),!h("wp")&&g.match(/(iPhone|iPod|iPad)/)){var f=RegExp.$1.replace(/P/,"p"),u=g.match(/OS ([\d_]+)/)?RegExp.$1:"1",r=parseFloat(u.replace(/_/,".").replace(/_/g,""));h.add(f,r),h.add("ios",r)}if(h.add("bb",(g.indexOf("BlackBerry")>=0||g.indexOf("BB10")>=0)&&parseFloat(g.split("Version/")[1])||void 0),h.add("trident",parseFloat(_.split("Trident/")[1])||void 0),h.add("svg",typeof SVGAngle<"u"),!h("webkit")){if(g.indexOf("Opera")>=0&&h.add("opera",v>=9.8&&parseFloat(g.split("Version/")[1])||v),g.indexOf("Gecko")>=0&&!h("wp")&&!h("khtml")&&!h("trident")&&!h("edge")&&h.add("mozilla",v),h("mozilla")&&h.add("ff",parseFloat(g.split("Firefox/")[1]||g.split("Minefield/")[1])||void 0),document.all&&!h("opera")){var d=parseFloat(_.split("MSIE ")[1])||void 0,n=document.documentMode;n&&n!=5&&Math.floor(d)!=n&&(d=n),h.add("ie",d)}h.add("wii",typeof opera<"u"&&opera.wiiremote)}}return h},A,x),A.exports=w},1175:(A,x,a)=>{var T,w;T=[a(41745),a(13369),a(7319)],w=a.dj.d(T,function(h,C,g){var _=null;return h("dojo.store.Memory",_,{constructor:function(v){for(var f in v)this[f]=v[f];this.setData(this.data||[])},data:null,idProperty:"id",index:null,queryEngine:g,get:function(v){return this.data[this.index[v]]},getIdentity:function(v){return v[this.idProperty]},put:function(v,f){var u=this.data,r=this.index,d=this.idProperty,n=v[d]=f&&"id"in f?f.id:d in v?v[d]:Math.random(),i=u.length,o,c,e=n in r?"update":"add";if(e==="update"){if(f&&f.overwrite===!1)throw new Error("Object already exists");c=r[n],i=c}return f&&"before"in f?f.before==null?(o=u.length,e==="update"&&--o):(o=r[this.getIdentity(f.before)],c<o&&--o):o=i,o===c?u[o]=v:(c!==void 0&&u.splice(c,1),u.splice(o,0,v),this._rebuildIndex(c===void 0?o:Math.min(c,o))),n},add:function(v,f){return(f=f||{}).overwrite=!1,this.put(v,f)},remove:function(v){var f=this.index,u=this.data;if(v in f)return u.splice(f[v],1),this.index={},this._rebuildIndex(),!0},query:function(v,f){return C(this.queryEngine(v,f)(this.data))},setData:function(v){v.items?(this.idProperty=v.identifier||this.idProperty,v=this.data=v.items):this.data=v,this.index={},this._rebuildIndex()},_rebuildIndex:function(v){var f=this.data,u=f.length,r;for(v=v||0,r=v;r<u;r++)this.index[f[r][this.idProperty]]=r}})},A,x),A.exports=w},13369:(A,x,a)=>{var T,w;T=[a(37222),a(40923),a(28054)],w=a.dj.d(T,function(h,C,g){var _=function(v){if(!v)return v;var f=!!v.then;f&&(v=C.delegate(v));function u(r){v[r]=function(){var d=arguments,n=g(v,function(i){return Array.prototype.unshift.call(d,i),_(h[r].apply(h,d))});if(r!=="forEach"||f)return n}}return u("forEach"),u("filter"),u("map"),v.total==null&&(v.total=g(v,function(r){return r.length})),v};return C.setObject("dojo.store.util.QueryResults",_),_},A,x),A.exports=w},7319:(A,x,a)=>{var T,w;T=[a(37222)],w=a.dj.d(T,function(h){return function(C,g){switch(typeof C){default:throw new Error("Can not query with a "+typeof C);case"object":case"undefined":var _=C;C=function(f){for(var u in _){var r=_[u];if(r&&r.test){if(!r.test(f[u],f))return!1}else if(r!=f[u])return!1}return!0};break;case"string":if(!this[C])throw new Error("No filter function "+C+" was found in store");C=this[C];case"function":}function v(f){var u=h.filter(f,C),r=g&&g.sort;if(r&&u.sort(typeof r=="function"?r:function(n,i){for(var o,c=0;o=r[c];c++){var e=n[o.attribute],t=i[o.attribute];if(e=e!=null?e.valueOf():e,t=t!=null?t.valueOf():t,e!=t)return!!o.descending==(e==null||e>t)?-1:1}return 0}),g&&(g.start||g.count)){var d=u.length;u=u.slice(g.start||0,(g.start||0)+(g.count||1/0)),u.total=d}return u}return v.matches=C,v}},A,x),A.exports=w},71275:(A,x,a)=>{var T,w;T=[a(806),a(40923)],w=a.dj.d(T,function(h,C){var g=/[&<>'"\/]/g,_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"},v={};return C.setObject("dojo.string",v),v.escape=function(f){return f?f.replace(g,function(u){return _[u]}):""},v.codePointAt=String.prototype.codePointAt?function(f,u){return String.prototype.codePointAt.call(f,u)}:function(f,u){if(f==null)throw new TypeError("codePointAt called on null or undefined");var r,d,n,i;if(f=String(f),r=f.length,i=u?Number(u):0,i!=i&&(i=0),!(i<0||i>=r))return d=f.charCodeAt(i),d>=55296&&d<=56319&&r>i+1&&(n=f.charCodeAt(i+1),n>=56320&&n<=57343)?(d-55296)*1024+n-56320+65536:d},v.fromCodePoint=String.fromCodePoint||function(){var f=[],u=0,r="",d,n;for(n=0,len=arguments.length;n!==len;++n){if(d=+arguments[n],!(d<1114111&&d>>>0===d))throw RangeError("Invalid code point: "+d);d<=65535?u=f.push(d):(d-=65536,u=f.push((d>>10)+55296,d%1024+56320)),u>=16383&&(r+=String.fromCharCode.apply(null,f),f.length=0)}return r+String.fromCharCode.apply(null,f)},v.rep=function(f,u){if(u<=0||!f)return"";for(var r=[];u&1&&r.push(f),!!(u>>=1);)f+=f;return r.join("")},v.pad=function(f,u,r,d){r||(r="0");var n=String(f),i=v.rep(r,Math.ceil((u-n.length)/r.length));return d?n+i:i+n},v.substitute=function(f,u,r,d){return d=d||h.global,r=r?C.hitch(d,r):function(n){return n},f.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(n,i,o){if(i=="")return"$";var c=C.getObject(i,!1,u);o&&(c=C.getObject(o,!1,d).call(d,c,i));var e=r(c,i);if(typeof e>"u")throw new Error('string.substitute could not find key "'+i+'" in template');return e.toString()})},v.trim=String.prototype.trim?C.trim:function(f){f=f.replace(/^\s+/,"");for(var u=f.length-1;u>=0;u--)if(/\S/.test(f.charAt(u))){f=f.substring(0,u+1);break}return f},v},A,x),A.exports=w},61981:(A,x,a)=>{var T,w;T=[a(806),a.dj.c(A),a(2812),a(66569)],w=a.dj.d(T,function(h,C,g,_){var v;g("host-browser")?v=function(n,i,o){_(n,{sync:!!i,headers:{"X-Requested-With":null}}).then(o)}:C.getText?v=C.getText:console.error("dojo/text plugin failed to load because loader does not support getText");var f={},u=function(n){if(n){n=n.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var i=n.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);i&&(n=i[1])}else n="";return n},r={},d={};return h.cache=function(n,i,o){var c;typeof n=="string"?/\//.test(n)?(c=n,o=i):c=C.toUrl(n.replace(/\./g,"/")+(i?"/"+i:"")):(c=n+"",o=i);var e=o!=null&&typeof o!="string"?o.value:o,t=o&&o.sanitize;return typeof e=="string"?(f[c]=e,t?u(e):e):e===null?(delete f[c],null):(c in f||v(c,!0,function(s){f[c]=s}),t?u(f[c]):f[c])},{dynamic:!0,normalize:function(n,i){var o=n.split("!"),c=o[0];return(/^\./.test(c)?i(c):c)+(o[1]?"!"+o[1]:"")},load:function(n,i,o){var c=n.split("!"),e=c.length>1,t=c[0],s=i.toUrl(c[0]),l="url:"+s,p=r,E=function(y){o(e?u(y):y)};if(t in f?p=f[t]:i.cache&&l in i.cache?p=i.cache[l]:s in f&&(p=f[s]),p===r)if(d[s])d[s].push(E);else{var m=d[s]=[E];v(s,!i.async,function(y){f[t]=f[s]=y;for(var b=0;b<m.length;)m[b++](y);delete d[s]})}else E(p)}}},A,x),A.exports=w},17279:(A,x,a)=>{var T,w;T=[a(43661)],w=a.dj.d(T,function(h){var C=new h;return{publish:function(g,_){return C.emit.apply(C,arguments)},subscribe:function(g,_){return C.on.apply(C,arguments)}}},A,x),A.exports=w},45115:(A,x,a)=>{var T,w;T=[a(806),a(33070),a(58340),a(48201),a(40923),a(20963),a(2812),a(70495),a(85849),a(2251)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){var i=u("ios")<5,o=u("pointer-events")||u("MSPointer"),c=function(){var z={};for(var $ in{down:1,move:1,up:1,cancel:1,over:1,out:1})z[$]=u("MSPointer")?"MSPointer"+$.charAt(0).toUpperCase()+$.slice(1):"pointer"+$;return z}(),e=u("touch-events"),t,s,l=!1,p,E,m,y,b,I,S;function R(z,$,W){return o&&W?function(V,K){return f(V,W,K)}:e?function(V,K){var M=f(V,$,function(P){K.call(this,P),S=new Date().getTime()}),B=f(V,z,function(P){(!S||new Date().getTime()>S+1e3)&&K.call(this,P)});return{remove:function(){M.remove(),B.remove()}}}:function(V,K){return f(V,z,K)}}function N(z){do if(z.dojoClick!==void 0)return z;while(z=z.parentNode)}function O(z,$,W){if(!r.isRight(z)){var V=N(z.target);if(s=!z.target.disabled&&V&&V.dojoClick,s&&(l=s=="useTarget",p=l?V:z.target,l&&z.preventDefault(),E=z.changedTouches?z.changedTouches[0].pageX-n.global.pageXOffset:z.clientX,m=z.changedTouches?z.changedTouches[0].pageY-n.global.pageYOffset:z.clientY,y=(typeof s=="object"?s.x:typeof s=="number"?s:0)||4,b=(typeof s=="object"?s.y:typeof s=="number"?s:0)||4,!t)){t=!0;var K=function(P){l?s=g.isDescendant(n.doc.elementFromPoint(P.changedTouches?P.changedTouches[0].pageX-n.global.pageXOffset:P.clientX,P.changedTouches?P.changedTouches[0].pageY-n.global.pageYOffset:P.clientY),p):s=s&&(P.changedTouches?P.changedTouches[0].target:P.target)==p&&Math.abs((P.changedTouches?P.changedTouches[0].pageX-n.global.pageXOffset:P.clientX)-E)<=y&&Math.abs((P.changedTouches?P.changedTouches[0].pageY-n.global.pageYOffset:P.clientY)-m)<=b};n.doc.addEventListener($,function(B){r.isRight(B)||(K(B),l&&B.preventDefault())},!0),n.doc.addEventListener(W,function(B){if(!r.isRight(B)&&(K(B),s)){I=new Date().getTime();var P=l?p:B.target;P.tagName==="LABEL"&&(P=g.byId(P.getAttribute("for"))||P);var k=B.changedTouches?B.changedTouches[0]:B,H=function(q){var oe=document.createEvent("MouseEvents");return oe._dojo_click=!0,oe.initMouseEvent(q,!0,!0,B.view,B.detail,k.screenX,k.screenY,k.clientX,k.clientY,B.ctrlKey,B.altKey,B.shiftKey,B.metaKey,0,null),oe},Y=H("mousedown"),G=H("mouseup"),Q=H("click");setTimeout(function(){f.emit(P,"mousedown",Y),f.emit(P,"mouseup",G),f.emit(P,"click",Q),I=new Date().getTime()},0)}},!0);var M=function(P){n.doc.addEventListener(P,function(k){var H=k.target;s&&!k._dojo_click&&new Date().getTime()<=I+1e3&&!(H.tagName=="INPUT"&&_.contains(H,"dijitOffScreen"))&&(k.stopPropagation(),k.stopImmediatePropagation&&k.stopImmediatePropagation(),P=="click"&&(H.tagName!="INPUT"||H.type=="radio"&&(_.contains(H,"dijitCheckBoxInput")||_.contains(H,"mblRadioButton"))||H.type=="checkbox"&&(_.contains(H,"dijitCheckBoxInput")||_.contains(H,"mblCheckBox")))&&H.tagName!="TEXTAREA"&&H.tagName!="AUDIO"&&H.tagName!="VIDEO"&&k.preventDefault())},!0)};M("click"),M("mousedown"),M("mouseup")}}}var L;u("touch")&&d(o?function(){n.doc.addEventListener(c.down,function(z){O(z,c.move,c.up)},!0)}:function(){L=n.body(),n.doc.addEventListener("touchstart",function($){S=new Date().getTime();var W=L;L=$.target,f.emit(W,"dojotouchout",{relatedTarget:L,bubbles:!0}),f.emit(L,"dojotouchover",{relatedTarget:W,bubbles:!0}),O($,"touchmove","touchend")},!0);function z($){var W=v.delegate($,{bubbles:!0});return u("ios")>=6&&(W.touches=$.touches,W.altKey=$.altKey,W.changedTouches=$.changedTouches,W.ctrlKey=$.ctrlKey,W.metaKey=$.metaKey,W.shiftKey=$.shiftKey,W.targetTouches=$.targetTouches),W}f(n.doc,"touchmove",function($){S=new Date().getTime();var W=n.doc.elementFromPoint($.pageX-(i?0:n.global.pageXOffset),$.pageY-(i?0:n.global.pageYOffset));W&&(L!==W&&(f.emit(L,"dojotouchout",{relatedTarget:W,bubbles:!0}),f.emit(W,"dojotouchover",{relatedTarget:L,bubbles:!0}),L=W),f.emit(W,"dojotouchmove",z($))||$.preventDefault())}),f(n.doc,"touchend",function($){S=new Date().getTime();var W=n.doc.elementFromPoint($.pageX-(i?0:n.global.pageXOffset),$.pageY-(i?0:n.global.pageYOffset))||n.body();f.emit(W,"dojotouchend",z($))})});var U={press:R("mousedown","touchstart",c.down),move:R("mousemove","dojotouchmove",c.move),release:R("mouseup","dojotouchend",c.up),cancel:R(r.leave,"touchcancel",o?c.cancel:null),over:R("mouseover","dojotouchover",c.over),out:R("mouseout","dojotouchout",c.out),enter:r._eventHandler(R("mouseover","dojotouchover",c.over)),leave:r._eventHandler(R("mouseout","dojotouchout",c.out))};return u("extend-dojo")&&(h.touch=U),U},A,x),A.exports=w},38221:(A,x,a)=>{var T,w;T=[a(24485),a(40923),a(85849),a(82896),a(2251)],w=a.dj.d(T,function(h,C,g,_,v){var f=v.doc.documentElement,u=_("ie"),r=_("trident"),d=_("opera"),n=Math.floor,i=_("ff"),o=h.boxModel.replace(/-/,""),c={dj_quirks:_("quirks"),dj_opera:d,dj_khtml:_("khtml"),dj_webkit:_("webkit"),dj_safari:_("safari"),dj_chrome:_("chrome"),dj_edge:_("edge"),dj_gecko:_("mozilla"),dj_ios:_("ios"),dj_android:_("android")};u&&(c.dj_ie=!0,c["dj_ie"+n(u)]=!0,c.dj_iequirks=_("quirks")),r&&(c.dj_trident=!0,c["dj_trident"+n(r)]=!0),i&&(c["dj_ff"+n(i)]=!0),c["dj_"+o]=!0;var e="";for(var t in c)c[t]&&(e+=t+" ");return f.className=C.trim(f.className+" "+e),g(function(){if(!h.isBodyLtr()){var s="dj_rtl dijitRtl "+e.replace(/ /g,"-rtl ");f.className=C.trim(f.className+" "+s+"dj_rtl dijitRtl "+e.replace(/ /g,"-rtl "))}}),_},A,x),A.exports=w},28054:(A,x,a)=>{var T,w;T=[a(33553),a(22527)],w=a.dj.d(T,function(h,C){"use strict";return function(_,v,f,u){var r=_&&typeof _.then=="function",d=r&&_ instanceof C;if(r){if(!d){var n=new h(_.cancel);_.then(n.resolve,n.reject,n.progress),_=n.promise}}else return arguments.length>1?v?v(_):_:new h().resolve(_);return v||f||u?_.then(v,f,u):_}},A,x),A.exports=w},61106:(A,x,a)=>{var T,w;T=[a(40923),a(82896),a(2251),a(58340),a(24485),a(41032),a(96916)],w=a.dj.d(T,function(h,C,g,_,v,f,u){C.add("rtl-adjust-position-for-verticalScrollBar",function(d,n){var i=g.body(n),o=u.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},i,"last"),c=u.create("div",{style:{overflow:"hidden",direction:"ltr"}},o,"last"),e=v.position(c).x!=0;return o.removeChild(c),i.removeChild(o),e}),C.add("position-fixed-support",function(d,n){var i=g.body(n),o=u.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},i,"last"),c=u.create("span",{style:{position:"fixed",left:"0",top:"0"}},o,"last"),e=v.position(c).x!=v.position(o).x;return o.removeChild(c),i.removeChild(o),e});var r={getBox:function(d){d=d||g.doc;var n=d.compatMode=="BackCompat"?g.body(d):d.documentElement,i=v.docScroll(d),o,c;if(C("touch")){var e=r.get(d);o=e.innerWidth||n.clientWidth,c=e.innerHeight||n.clientHeight}else o=n.clientWidth,c=n.clientHeight;return{l:i.x,t:i.y,w:o,h:c}},get:function(d){if(C("ie")&&r!==document.parentWindow){d.parentWindow.execScript("document._parentWindow = window;","Javascript");var n=d._parentWindow;return d._parentWindow=null,n}return d.parentWindow||d.defaultView},scrollIntoView:function(d,n){try{d=_.byId(d);var i=d.ownerDocument||g.doc,o=g.body(i),c=i.documentElement||o.parentNode,e=C("ie")||C("trident"),t=C("webkit");if(d==o||d==c)return;if(!(C("mozilla")||e||t||C("opera")||C("trident")||C("edge"))&&"scrollIntoView"in d){d.scrollIntoView(!1);return}var s=i.compatMode=="BackCompat",l=Math.min(o.clientWidth||c.clientWidth,c.clientWidth||o.clientWidth),p=Math.min(o.clientHeight||c.clientHeight,c.clientHeight||o.clientHeight),E=t||s?o:c,m=n||v.position(d),y=d.parentNode,b=function(P){return e<=6||e==7&&s?!1:C("position-fixed-support")&&f.get(P,"position").toLowerCase()=="fixed"},I=this,S=function(P,k,H){P.tagName=="BODY"||P.tagName=="HTML"?I.get(P.ownerDocument).scrollBy(k,H):(k&&(P.scrollLeft+=k),H&&(P.scrollTop+=H))};if(b(d))return;for(;y;){y==o&&(y=E);var R=v.position(y),N=b(y),O=f.getComputedStyle(y).direction.toLowerCase()=="rtl";if(y==E)R.w=l,R.h=p,E==c&&(e||C("trident"))&&O&&(R.x+=E.offsetWidth-R.w),R.x=0,R.y=0;else{var L=v.getPadBorderExtents(y);R.w-=L.w,R.h-=L.h,R.x+=L.l,R.y+=L.t;var U=y.clientWidth,z=R.w-U;U>0&&z>0&&(O&&C("rtl-adjust-position-for-verticalScrollBar")&&(R.x+=z),R.w=U),U=y.clientHeight,z=R.h-U,U>0&&z>0&&(R.h=U)}N&&(R.y<0&&(R.h+=R.y,R.y=0),R.x<0&&(R.w+=R.x,R.x=0),R.y+R.h>p&&(R.h=p-R.y),R.x+R.w>l&&(R.w=l-R.x));var $=m.x-R.x,W=m.y-R.y,V=$+m.w-R.w,K=W+m.h-R.h,M,B;V*$>0&&(y.scrollLeft||y==E||y.scrollWidth>y.offsetHeight)&&(M=Math[$<0?"max":"min"]($,V),O&&(e==8&&!s||C("trident")>=5)&&(M=-M),B=y.scrollLeft,S(y,M,0),M=y.scrollLeft-B,m.x-=M),K*W>0&&(y.scrollTop||y==E||y.scrollHeight>y.offsetHeight)&&(M=Math.ceil(Math[W<0?"max":"min"](W,K)),B=y.scrollTop,S(y,0,M),M=y.scrollTop-B,m.y-=M),y=y!=E&&!N&&y.parentNode}}catch(P){console.error("scrollIntoView: "+P),d.scrollIntoView(!1)}}};return C("extend-dojo")&&h.setObject("dojo.window",r),r},A,x),A.exports=w},34964:A=>{A.exports=function(x,a,T,w){this.loaderVersion="1.17.1",function(h,C){var g=function(){return typeof s<"u"&&typeof s!="function"?s:typeof w<"u"?this&&this.dojoConfig&&!w.dojoConfig?this:w:typeof self<"u"?self:this}(),_=function(){},v=function(Ne){for(var Ue in Ne)return 0;return 1},f={}.toString,u=function(Ne){return f.call(Ne)=="[object Function]"},r=function(Ne){return f.call(Ne)=="[object String]"},d=function(Ne){return f.call(Ne)=="[object Array]"},n=function(Ne,Ue){if(Ne)for(var ze=0;ze<Ne.length;)Ue(Ne[ze++])},i=function(Ne,Ue){for(var ze in Ue)Ne[ze]=Ue[ze];return Ne},o=function(Ne,Ue){return i(new Error(Ne),{src:"dojoLoader",info:Ue})},c=1,e=function(){return"_"+c++},t=function(Ne,Ue,ze){return st(Ne,Ue,ze,0,t)},s=g,l=s.document,p=l&&l.createElement("DiV"),E=t.has=function(Ne){return u(m[Ne])?m[Ne]=m[Ne](s,l,p):m[Ne]},m=E.cache=C.hasCache;if(u(h)&&(h=h(g)),E.add=function(Ne,Ue,ze,et){return(m[Ne]===void 0||et)&&(m[Ne]=Ue),ze&&E(Ne)},0)var y,b,I,S;for(var R in h.has)E.add(R,h.has[R],0,1);var N=1,O=2,L=3,U=4,z=5,$=0,W="sync",V="xd",K=[],M=0,B=_,P=_,k;if(0)var H,Y,S,G,Q;else t.async=1;var J=function(){};t.eval=function(Ne,Ue){return J(Ne+`\r
//# sourceURL=`+Ue)};var q={},oe="error",ie=t.signal=function(Ne,Ue){var ze=q[Ne];n(ze&&ze.slice(0),function(et){et.apply(null,d(Ue)?Ue:[Ue])})},pe=t.on=function(Ne,Ue){var ze=q[Ne]||(q[Ne]=[]);return ze.push(Ue),{remove:function(){for(var et=0;et<ze.length;et++)if(ze[et]===Ue){ze.splice(et,1);return}}}},ce=[],te={},ne=[],re={},se=t.map={},ge=[],he={},fe="",me={},De="url:",Ie={},Oe={},je=0;if(0)var dt;var yt=function(Ne){return Ne.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(Ue){return"\\"+Ue})},kt=function(Ne,Ue){Ue.splice(0,Ue.length);for(var ze in Ne)Ue.push([ze,Ne[ze],new RegExp("^"+yt(ze)+"(/|$)"),ze.length]);return Ue.sort(function(et,Tt){return Tt[3]-et[3]}),Ue},Rt=function(Ne,Ue){n(Ne,function(ze){Ue.push([r(ze[0])?new RegExp("^"+yt(ze[0])+"$"):ze[0],ze[1]])})},jt=function(Ne){var Ue=Ne.name;Ue||(Ue=Ne,Ne={name:Ue}),Ne=i({main:"main"},Ne),Ne.location=Ne.location?Ne.location:Ue,Ne.packageMap&&(se[Ue]=Ne.packageMap),Ne.main.indexOf("./")||(Ne.main=Ne.main.substring(2)),re[Ue]=Ne},Wt=[],En=function(Ne,Ue,ze){for(var et in Ne){if(et=="waitSeconds"&&(t.waitms=(Ne[et]||0)*1e3),et=="cacheBust"&&(fe=Ne[et]?r(Ne[et])?Ne[et]:new Date().getTime()+"":""),(et=="baseUrl"||et=="combo")&&(t[et]=Ne[et]),0)var Tt;Ne[et]!==m&&(t.rawConfig[et]=Ne[et],et!="has"&&E.add("config-"+et,Ne[et],0,Ue))}t.baseUrl||(t.baseUrl="./"),/\/$/.test(t.baseUrl)||(t.baseUrl+="/");for(et in Ne.has)E.add(et,Ne.has[et],0,Ue);n(Ne.packages,jt);for(var $t in Ne.packagePaths)n(Ne.packagePaths[$t],function(xt){var pt=$t+"/"+xt;r(xt)&&(xt={name:xt}),xt.location=pt,jt(xt)});if(kt(i(se,Ne.map),ge),n(ge,function(xt){xt[1]=kt(xt[1],[]),xt[0]=="*"&&(ge.star=xt)}),kt(i(te,Ne.paths),ne),Rt(Ne.aliases,ce),0)var Zt;ie("config",[Ne,t.rawConfig])};if(0)var sn,S,nn,pn,ye,Me;if(0)var Ge;if(t.rawConfig={},En(C,1),En(h,1),En(Oe,1),0)var it,st,wt,It,_t,Dt,Jt,Un,yn,Vn,Er,un;var ln=function(Ne,Ue){if(Ue){for(var ze=0;ze<Ue.length;ze++)if(Ue[ze][2].test(Ne))return Ue[ze]}return 0},$n=function(Ne){var Ue=[],ze,et;for(Ne=Ne.replace(/\\/g,"/").split("/");Ne.length;)ze=Ne.shift(),ze==".."&&Ue.length&&et!=".."?(Ue.pop(),et=Ue[Ue.length-1]):ze!="."&&Ue.push(et=ze);return Ue.join("/")},zn=function(Ne,Ue,ze,et){if(0)var Tt;else return{pid:Ne,mid:Ue,pack:ze,url:et,executed:0,def:0}},Bn=function(Ne,Ue,ze,et,Tt,$t,Zt,xt,pt,Pt){var dn,Ut,Yn,fn,_n,Dn,rr,Jn;if(Jn=Ne,rr=/^\./.test(Ne),/(^\/)|(\:)|(\.js$)/.test(Ne)||rr&&!Ue)return zn(0,Ne,0,Ne);if(Ne=$n(rr?Ue.mid+"/../"+Ne:Ne),/^\./.test(Ne))throw o("irrationalPath",Ne);!Pt&&!rr&&$t.star&&(fn=ln(Ne,$t.star[1])),!fn&&Ue&&(fn=ln(Ue.mid,$t),fn=fn&&ln(Ne,fn[1])),fn&&(Ne=fn[1]+Ne.substring(fn[3])),Me=Ne.match(/^([^\/]+)(\/(.+))?$/),dn=Me?Me[1]:"",(Ut=ze[dn])?Ne=dn+"/"+(Yn=Me[3]||Ut.main):dn="";var Mn=0,On=0;return n(xt,function(Ln){var Gn=Ne.match(Ln[0]);Gn&&Gn.length>Mn&&(On=u(Ln[1])?Ne.replace(Ln[0],Ln[1]):Ln[1])}),On?Bn(On,0,ze,et,Tt,$t,Zt,xt,pt):(Dn=et[Ne],Dn?pt?zn(Dn.pid,Dn.mid,Dn.pack,Dn.url):et[Ne]:(fn=ln(Ne,Zt),fn?_n=fn[1]+Ne.substring(fn[3]):dn?_n=(Ut.location.slice(-1)==="/"?Ut.location.slice(0,-1):Ut.location)+"/"+Yn:_n=Ne,/(^\/)|(\:)/.test(_n)||(_n=Tt+_n),_n+=".js",zn(dn,Ne,Ut,$n(_n))))},Ae=function(Ne,Ue,ze){return Bn(Ne,Ue,re,he,t.baseUrl,ge,ne,ce,void 0,ze)};if(0)var we,Pe,He;var tt=t.toAbsMid=function(Ne,Ue){return Ae(Ne,Ue).mid},Je=t.toUrl=function(Ne,Ue){var ze=Ae(Ne+"/x",Ue),et=ze.url;return ae(ze.pid===0?Ne:et.substring(0,et.length-5))};if(0)var Ze,ht,gt,Ct,Ft,rn,Gt,an,Bt,At,St,ot,Ht,tn,Re,Nt;var ae=typeof h.fixupUrl=="function"?h.fixupUrl:function(Ne){return Ne+="",Ne+(fe?(/\?/.test(Ne)?"&":"?")+fe:"")};if(0)var _e,ue,le,ve,be,Se,Le,We;var $e=0,qe=_,lt=_;if(0)var sn,S,nn,Qe,zt;if(t.log=_,0)var Xt;else t.trace=_;if(0)var Kt;else var Kt=_;if(i(i(t,C.loaderPatch),h.loaderPatch),pe(oe,function(Ne){try{if(console.error(Ne),Ne instanceof Error){for(var Ue in Ne)console.log(Ue+":",Ne[Ue]);console.log(".")}}catch(ze){}}),i(t,{uid:e,cache:me,packs:re}),!s.define){if(s.define=Kt,s.require=t,0)var Mt,Qt;if(0)var Vt,cn}}.call(this,x,a)}},683:(A,x,a)=>{var T=a(87739),w=a(69652),h=w(T);h.push([A.id,`/* styles for scrollbars during touch-scroll */
.touchscroll-x, .touchscroll-y {
display: none; /* overridden below */
overflow: hidden; /* cut off ends of scrollbar during rubber-banding */
position: absolute;
/* establish base style for scrollbar fade-in/out */
opacity: 0.7;
}
.touchscroll-fadeout .touchscroll-x, .touchscroll-fadeout .touchscroll-y {
opacity: 0;
-webkit-transition: opacity 0.3s ease-out 0.1s;
-moz-transition: opacity 0.3s ease-out 0.1s;
-o-transition: opacity 0.3s ease-out 0.1s;
transition: opacity 0.3s ease-out 0.1s;
}
.touchscroll-bar {
background-color: rgba(88,88,88,0.97);
border: 1px solid rgba(88,88,88,1);
border-radius: 3px;
/* the borders aren't anti-aliased on Android, so this smooths it out a bit */
-webkit-box-shadow: 0 0 1px rgba(88,88,88,0.4);
}
.touchscroll-x {
left: 1px;
right: 3px;
bottom: 1px;
height: 5px;
}
.touchscroll-y {
top: 1px;
bottom: 3px;
right: 1px;
width: 5px;
}
.touchscroll-scrollable-x .touchscroll-x, .touchscroll-scrollable-y .touchscroll-y {
display: block; /* display scrollbar when appropriate */
}
.touchscroll-bar {
/* Establish transition property and timing function for scrollbars */
-webkit-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
-moz-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
-o-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);
}
/* indicator of a successful load */
#dgrid-css-TouchScroll-loaded {
display: none;
}`,""]),A.exports=h},53285:(A,x,a)=>{var T=a(87739),w=a(69652),h=a(76767),C=a(6365),g=w(T),_=h(C);g.push([A.id,`/* This stylesheet provides the structural CSS for the dgrid */
.dgrid {
position: relative;
overflow: hidden; /* This is needed by IE to prevent crazy scrollbar flashing */
border: 1px solid #ddd;
height: 30em;
display: block;
}
.dgrid-header {
background-color: #eee;
}
.dgrid-header-row {
position: absolute;
right: 17px; /* scrollbar width; revised in List.js if necessary */
left: 0;
}
.dgrid-header-scroll {
position: absolute;
top: 0;
right: 0;
}
.dgrid-footer {
position: absolute;
bottom: 0;
width: 100%;
}
.dgrid-header-hidden,
html.has-quirks .dgrid-header-hidden .dgrid-cell {
/*
Used to "hide" header, without losing size information for reference.
!important is used to supersede theme styles at higher specificity.
Left/right box styles are untouched, as they may influence width of
.dgrid-content as updated in Grid's resize method.
Note: Still not quite perfect in IE Quirks mode (1px left over).
*/
font-size: 0; /* allow shrinkage in IE Quirks mode for Lists */
height: 0 !important;
border-top: none !important;
border-bottom: none !important;
margin-top: 0 !important;
margin-bottom: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.dgrid-footer-hidden {
/* Hiding footer is much simpler; simply set its display to none. */
display: none;
}
.dgrid-sortable {
cursor: pointer;
}
.dgrid-header, .dgrid-header-row, .dgrid-footer {
overflow: hidden;
background-color: #eee;
}
.dgrid-row-table {
border-collapse: collapse;
border: none;
table-layout: fixed;
empty-cells: show;
width: 100%; /* this becomes 'auto' for IE7 (non-quirks) */
height: 100%;
}
.dgrid-cell {
padding: 0px;
text-align: left;
overflow: hidden;
vertical-align: top;
border: 1px solid #ddd;
border-top-style: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.dgrid-cell-padding {
padding: 3px;
}
.dgrid-content {
position: relative;
height: 99%;
}
.dgrid-scroller {
overflow-x: auto;
overflow-y: scroll;
position: absolute;
top: 0px;
margin-top: 25px; /* this will be adjusted programmatically to fit below the header*/
bottom: 0px;
width: 100%;
}
.dgrid-preload {
/* Force IE6 to honor 0 height */
font-size: 0;
line-height: 0;
}
.dgrid-loading {
position: relative;
height: 100%;
}
.dgrid-above {
position: absolute;
bottom: 0;
}
.ui-icon {
width: 16px;
height: 16px;
background-image: url(${_});
}
.ui-icon-triangle-1-e {
background-position: -32px -16px;
}
.ui-icon-triangle-1-se {
background-position: -48px -16px;
}
.dgrid-expando-icon {
width: 16px;
height: 16px;
}
.dgrid-tree-container {
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
-ms-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
transition-duration: 0.3s;
overflow: hidden;
}
.dgrid-tree-container.dgrid-tree-resetting {
-webkit-transition-duration: 0;
-moz-transition-duration: 0;
-ms-transition-duration: 0;
-o-transition-duration: 0;
transition-duration: 0;
}
/* Single Sort */
.dgrid-sort-arrow {
background-position: -64px -16px;
display: block;
float: right;
margin: 0 4px 0 5px;
height: 12px;
}
.dgrid-sort-up .dgrid-sort-arrow {
background-position: 0px -16px;
}
/* selection*/
.dgrid-selected {
background-color: #bfd6eb;
}
.dgrid-input {
width: 99%;
}
/* UA-specific hacks*/
html.has-mozilla .dgrid *:focus, html.has-opera .dgrid *:focus {
/* firefox's focus doesn't work by default for divs prior to actually tabbing into it. This fixes that
(we don't do any other browsers because we are trying to stay as close to native as possible) */
outline: 1px dotted;
}
html.has-ie-6-7.has-no-quirks .dgrid-row-table {
/* in IE7 this is needed instead of 100% to make it not create a horizontal scroll bar*/
width: auto;
}
html.has-quirks .dgrid-row-table, html.has-ie-6 .dgrid-row-table {
/* similar story, height looks too high */
height: auto;
}
html.has-quirks .dgrid-header-scroll,
html.has-ie-6 .dgrid-header-scroll {
/* ensure that header scroll node can shrink to 0 height in IE6 & quirks */
font-size: 0;
}
html.has-mozilla .dgrid-focus {
/* fix row focus outline (prevents horizontal scroll in FF 3.6) */
outline-offset: -1px;
}
/* will be used to calculate the width of the scrollbar */
.dgrid-scrollbar-measure {
width: 100px;
height: 100px;
overflow: scroll;
position: absolute;
top: -9999px;
}
/* Styles for auto-height grids; simply add the dgrid-autoheight class */
.dgrid-autoheight {
height: auto;
}
.dgrid-autoheight .dgrid-scroller {
position: relative;
overflow-y: hidden;
}
.dgrid-autoheight .dgrid-header-scroll {
display: none;
}
.dgrid-autoheight .dgrid-header {
right: 0;
}
/* indicator of a successful load */
#dgrid-css-dgrid-loaded {
display: none;
}`,""]),A.exports=g},69652:A=>{"use strict";A.exports=function(x){var a=[];return a.toString=function(){return this.map(function(w){var h="",C=typeof w[5]<"u";return w[4]&&(h+="@supports (".concat(w[4],") {")),w[2]&&(h+="@media ".concat(w[2]," {")),C&&(h+="@layer".concat(w[5].length>0?" ".concat(w[5]):""," {")),h+=x(w),C&&(h+="}"),w[2]&&(h+="}"),w[4]&&(h+="}"),h}).join("")},a.i=function(w,h,C,g,_){typeof w=="string"&&(w=[[null,w,void 0]]);var v={};if(C)for(var f=0;f<this.length;f++){var u=this[f][0];u!=null&&(v[u]=!0)}for(var r=0;r<w.length;r++){var d=[].concat(w[r]);C&&v[d[0]]||(typeof _<"u"&&(typeof d[5]>"u"||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=_),h&&(d[2]&&(d[1]="@media ".concat(d[2]," {").concat(d[1],"}")),d[2]=h),g&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=g):d[4]="".concat(g)),a.push(d))}},a}},76767:A=>{"use strict";A.exports=function(x,a){return a||(a={}),x&&(x=String(x.__esModule?x.default:x),/^['"].*['"]$/.test(x)&&(x=x.slice(1,-1)),a.hash&&(x+=a.hash),/["'() \t\n]|(%20)/.test(x)||a.needQuotes?'"'.concat(x.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):x)}},87739:A=>{"use strict";A.exports=function(x){return x[1]}},70198:A=>{A.exports=void 0},62355:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(4135),a(49916),a(6061),a(49878),a(32652),a(47188),a(18046),a(73188),a(97233),a(6727),a(61026),a(90005),a(37771),a(70532),a(80543),a(27564),a(94326),a(18136),a(53742),a(52618),a(49313),a(11713),a(62033),a(7023),a(4042),a(92703),a(46368),a(91677),a(76282),a(93868),a(88757),a(53963),a(39551),a(72346),a(89016),a(71203),a(50011),a(88643),a(99393),a(95239)],w=a.dj.d(T,function(h,C){return C(h,"dijit/nls/loading",a.dj.c(),!0)},A,x),A.exports=w},23829:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(70134),a(86592),a(37176),a(75517),a(57276),a(64260),a(47059),a(93849)],w=a.dj.d(T,function(h,C){return C(h,"mw-dialogs/l10n/nls/dialog",a.dj.c(),!0)},A,x),A.exports=w},33513:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(41949)],w=a.dj.d(T,function(h,C){return C(h,"mw-notifications/l10n/nls/NotificationsResources",a.dj.c(),!0)},A,x),A.exports=w},12536:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(31981),a(3423),a(75047),a(87268)],w=a.dj.d(T,function(h,C){return C(h,"report/resources/RTW/nls/traceInfo",a.dj.c(),!0)},A,x),A.exports=w},67412:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(32079),a(88945),a(8)],w=a.dj.d(T,function(h,C){return C(h,"report/resources/SimulinkCoderApp/nls/report",a.dj.c(),!0)},A,x),A.exports=w},7109:(A,x,a)=>{var T,w;T=[a(6990),a(23819),a(8312),a(58298),a(15225)],w=a.dj.d(T,function(h,C){return C(h,"report/resources/coderdictionary/nls/mapping",a.dj.c(),!0)},A,x),A.exports=w},36629:(A,x,a)=>{var T,w;T=[a(39196),a(23819),a(70198)],w=a.dj.d(T,function(h,C){return C(h,"css2",a.dj.c(),!0)},A,x),A.exports=w},77177:(A,x,a)=>{var T,w;T=[a(85849),a(23819),a(70198)],w=a.dj.d(T,function(h,C){return C(h,"",a.dj.c(),!0)},A,x),A.exports=w},70205:(A,x,a)=>{var T,w;T=[a(93382),a(23819),a(70198)],w=a.dj.d(T,function(h,C){return C(h,"",a.dj.c(),!0)},A,x),A.exports=w},23819:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){return function(h,C,g,_){var v,f,u;if(h.load(C,g,function(r){f=r,u=!0,v&&v(r)},{isBuild:!0}),u)return f;if(!_)throw new Error(C+" unavailable");return f=new Promise(function(r){v=r}),f.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,f}},A,x),A.exports=w},26628:A=>{A.exports=`<span class="dijit dijitReset dijitInline" role="presentation"
><span class="dijitReset dijitInline dijitButtonNode"
data-dojo-attach-event="ondijitclick:__onClick" role="presentation"
><span class="dijitReset dijitStretch dijitButtonContents"
data-dojo-attach-point="titleNode,focusNode"
role="button" aria-labelledby="\${id}_label"
><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span
><span class="dijitReset dijitToggleButtonIconChar">&#x25CF;</span
><span class="dijitReset dijitInline dijitButtonText"
id="\${id}_label"
data-dojo-attach-point="containerNode"
></span
></span
></span
><input \${!nameAttrSetting} type="\${type}" value="\${value}" class="dijitOffScreen"
data-dojo-attach-event="onclick:_onClick"
tabIndex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"
/></span>
`},81084:A=>{A.exports=`<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"
><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div
><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role='alert'></div
></div>
`},40608:A=>{A.exports=`<div role="alertdialog" tabIndex="-1">
<div class="dijitTooltipContainer" role="presentation">
<div data-dojo-attach-point="contentsNode" class="dijitTooltipContents dijitTooltipFocusNode">
<div data-dojo-attach-point="containerNode"></div>
\${!actionBarTemplate}
</div>
</div>
<div class="dijitTooltipConnector" role="presentation" data-dojo-attach-point="connectorNode"></div>
</div>
`},21418:A=>{A.exports=`<div data-dojo-attach-point="focusNode" role="button"
><div data-dojo-attach-point="contentWrapperNode" class="mwContentWrapperNode"
><div data-dojo-attach-point="iconAndTextContainerNode" class="mwIconAndTextContainerNode mwAlignmentNode"
><div data-dojo-attach-point="iconNode" class="mwIconNode"></div
><div data-dojo-attach-point="textNode" class="mwTextNode"></div
></div
></div
></div>`},19910:A=>{A.exports='<div data-test-id="${data-test-id}" data-value="${value}">\n <div data-dojo-attach-point="gutterNode" class="${baseClass}Gutter">\n <div data-dojo-attach-point="progressNode" class="${baseClass}Progress"></div>\n </div>\n <div data-dojo-attach-point="progressTextNode" class="${baseClass}Text">50%</div>\n</div>'},19339:A=>{A.exports=`<div class="mw-busyIndicator" data-dojo-attach-point="_busyOverlayNode">
<div class="underlayNode" data-dojo-attach-point="_underlayNode"></div>
<div class="spinnerBgPanel" tabindex = "0" data-dojo-attach-point="_spinnerBgPanel">
<div class="spinnerNode" data-dojo-attach-point="_spinnerNode" ></div>
</div>
</div>
`},38630:(A,x,a)=>{"use strict";(function(T,w){A.exports=w(a(50883))})(void 0,function(T){"use strict";var w='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}';function h(Ae){var we=document.createElement("style");we.textContent=Ae,we.setAttribute("data-tippy-stylesheet","");var Pe=document.head,He=document.querySelector("head>style,head>link");He?Pe.insertBefore(we,He):Pe.appendChild(we)}var C=typeof window<"u"&&typeof document<"u",g=C?!!window.msCrypto:!1,_='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',v="tippy-box",f="tippy-content",u="tippy-backdrop",r="tippy-arrow",d="tippy-svg-arrow",n={passive:!0,capture:!0},i=function(){return document.body};function o(Ae,we){return{}.hasOwnProperty.call(Ae,we)}function c(Ae,we,Pe){if(Array.isArray(Ae)){var He=Ae[we];return He==null?Array.isArray(Pe)?Pe[we]:Pe:He}return Ae}function e(Ae,we){var Pe={}.toString.call(Ae);return Pe.indexOf("[object")===0&&Pe.indexOf(we+"]")>-1}function t(Ae,we){return typeof Ae=="function"?Ae.apply(void 0,we):Ae}function s(Ae,we){if(we===0)return Ae;var Pe;return function(He){clearTimeout(Pe),Pe=setTimeout(function(){Ae(He)},we)}}function l(Ae,we){var Pe=Object.assign({},Ae);return we.forEach(function(He){delete Pe[He]}),Pe}function p(Ae){return Ae.split(/\s+/).filter(Boolean)}function E(Ae){return[].concat(Ae)}function m(Ae,we){Ae.indexOf(we)===-1&&Ae.push(we)}function y(Ae){return Ae.filter(function(we,Pe){return Ae.indexOf(we)===Pe})}function b(Ae){return Ae.split("-")[0]}function I(Ae){return[].slice.call(Ae)}function S(Ae){return Object.keys(Ae).reduce(function(we,Pe){return Ae[Pe]!==void 0&&(we[Pe]=Ae[Pe]),we},{})}function R(){return document.createElement("div")}function N(Ae){return["Element","Fragment"].some(function(we){return e(Ae,we)})}function O(Ae){return e(Ae,"NodeList")}function L(Ae){return e(Ae,"MouseEvent")}function U(Ae){return!!(Ae&&Ae._tippy&&Ae._tippy.reference===Ae)}function z(Ae){return N(Ae)?[Ae]:O(Ae)?I(Ae):Array.isArray(Ae)?Ae:I(document.querySelectorAll(Ae))}function $(Ae,we){Ae.forEach(function(Pe){Pe&&(Pe.style.transitionDuration=we+"ms")})}function W(Ae,we){Ae.forEach(function(Pe){Pe&&Pe.setAttribute("data-state",we)})}function V(Ae){var we,Pe=E(Ae),He=Pe[0];return He!=null&&(we=He.ownerDocument)!=null&&we.body?He.ownerDocument:document}function K(Ae,we){var Pe=we.clientX,He=we.clientY;return Ae.every(function(tt){var Je=tt.popperRect,Ze=tt.popperState,ht=tt.props,gt=ht.interactiveBorder,Ct=b(Ze.placement),Ft=Ze.modifiersData.offset;if(!Ft)return!0;var rn=Ct==="bottom"?Ft.top.y:0,Gt=Ct==="top"?Ft.bottom.y:0,an=Ct==="right"?Ft.left.x:0,Bt=Ct==="left"?Ft.right.x:0,At=Je.top-He+rn>gt,St=He-Je.bottom-Gt>gt,ot=Je.left-Pe+an>gt,Ht=Pe-Je.right-Bt>gt;return At||St||ot||Ht})}function M(Ae,we,Pe){if(Pe){var He=we+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(tt){Ae[He](tt,Pe)})}}function B(Ae,we){for(var Pe=we;Pe;){var He;if(Ae.contains(Pe))return!0;Pe=Pe.getRootNode==null||(He=Pe.getRootNode())==null?void 0:He.host}return!1}var P={isTouch:!1},k=0;function H(){P.isTouch||(P.isTouch=!0,window.performance&&document.addEventListener("mousemove",Y))}function Y(){var Ae=performance.now();Ae-k<20&&(P.isTouch=!1,document.removeEventListener("mousemove",Y)),k=Ae}function G(){var Ae=document.activeElement;if(U(Ae)){var we=Ae._tippy;Ae.blur&&!we.state.isVisible&&Ae.blur()}}function Q(){document.addEventListener("touchstart",H,n),window.addEventListener("blur",G)}function J(Ae){var we=Ae==="destroy"?"n already-":" ";return[Ae+"() was called on a"+we+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function q(Ae){var we=/[ \t]{2,}/g,Pe=/^[ \t]*/gm;return Ae.replace(we," ").replace(Pe,"").trim()}function oe(Ae){return q(`
%ctippy.js
%c`+q(Ae)+`
%cThis is a development-only message. It will be removed in production.
`)}function ie(Ae){return[oe(Ae),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var pe;ce();function ce(){pe=new Set}function te(Ae,we){if(Ae&&!pe.has(we)){var Pe;pe.add(we),(Pe=console).warn.apply(Pe,ie(we))}}function ne(Ae,we){if(Ae&&!pe.has(we)){var Pe;pe.add(we),(Pe=console).error.apply(Pe,ie(we))}}function re(Ae){var we=!Ae,Pe=Object.prototype.toString.call(Ae)==="[object Object]"&&!Ae.addEventListener;ne(we,["tippy() was passed","`"+String(Ae)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),ne(Pe,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var se={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ge={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},he=Object.assign({appendTo:i,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},se,ge),fe=Object.keys(he),me=function(we){{var Pe=he.plugins.concat(we.plugins||[]);je(we,Pe)}var He=Object.keys(we);He.forEach(function(tt){he[tt]=we[tt]})};function De(Ae){var we=Ae.plugins||[],Pe=we.reduce(function(He,tt){var Je=tt.name,Ze=tt.defaultValue;if(Je){var ht;He[Je]=Ae[Je]!==void 0?Ae[Je]:(ht=he[Je])!=null?ht:Ze}return He},{});return Object.assign({},Ae,Pe)}function Ie(Ae,we){var Pe=we?Object.keys(De(Object.assign({},he,{plugins:we}))):fe,He=Pe.reduce(function(tt,Je){var Ze=(Ae.getAttribute("data-tippy-"+Je)||"").trim();if(!Ze)return tt;if(Je==="content")tt[Je]=Ze;else try{tt[Je]=JSON.parse(Ze)}catch(ht){tt[Je]=Ze}return tt},{});return He}function Oe(Ae,we){var Pe=Object.assign({},we,{content:t(we.content,[Ae])},we.ignoreAttributes?{}:Ie(Ae,we.plugins));return Pe.aria=Object.assign({},he.aria,Pe.aria),Pe.aria={expanded:Pe.aria.expanded==="auto"?we.interactive:Pe.aria.expanded,content:Pe.aria.content==="auto"?we.interactive?null:"describedby":Pe.aria.content},Pe}function je(Ae,we){Ae===void 0&&(Ae={}),we===void 0&&(we=[]);var Pe=Object.keys(Ae);Pe.forEach(function(He){var tt=l(he,Object.keys(se)),Je=!o(tt,He);Je&&(Je=we.filter(function(Ze){return Ze.name===He}).length===0),te(Je,["`"+He+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var dt=function(){return"innerHTML"};function yt(Ae,we){Ae[dt()]=we}function kt(Ae){var we=R();return Ae===!0?we.className=r:(we.className=d,N(Ae)?we.appendChild(Ae):yt(we,Ae)),we}function Rt(Ae,we){N(we.content)?(yt(Ae,""),Ae.appendChild(we.content)):typeof we.content!="function"&&(we.allowHTML?yt(Ae,we.content):Ae.textContent=we.content)}function jt(Ae){var we=Ae.firstElementChild,Pe=I(we.children);return{box:we,content:Pe.find(function(He){return He.classList.contains(f)}),arrow:Pe.find(function(He){return He.classList.contains(r)||He.classList.contains(d)}),backdrop:Pe.find(function(He){return He.classList.contains(u)})}}function Wt(Ae){var we=R(),Pe=R();Pe.className=v,Pe.setAttribute("data-state","hidden"),Pe.setAttribute("tabindex","-1");var He=R();He.className=f,He.setAttribute("data-state","hidden"),Rt(He,Ae.props),we.appendChild(Pe),Pe.appendChild(He),tt(Ae.props,Ae.props);function tt(Je,Ze){var ht=jt(we),gt=ht.box,Ct=ht.content,Ft=ht.arrow;Ze.theme?gt.setAttribute("data-theme",Ze.theme):gt.removeAttribute("data-theme"),typeof Ze.animation=="string"?gt.setAttribute("data-animation",Ze.animation):gt.removeAttribute("data-animation"),Ze.inertia?gt.setAttribute("data-inertia",""):gt.removeAttribute("data-inertia"),gt.style.maxWidth=typeof Ze.maxWidth=="number"?Ze.maxWidth+"px":Ze.maxWidth,Ze.role?gt.setAttribute("role",Ze.role):gt.removeAttribute("role"),(Je.content!==Ze.content||Je.allowHTML!==Ze.allowHTML)&&Rt(Ct,Ae.props),Ze.arrow?Ft?Je.arrow!==Ze.arrow&&(gt.removeChild(Ft),gt.appendChild(kt(Ze.arrow))):gt.appendChild(kt(Ze.arrow)):Ft&&gt.removeChild(Ft)}return{popper:we,onUpdate:tt}}Wt.$$tippy=!0;var En=1,sn=[],nn=[];function pn(Ae,we){var Pe=Oe(Ae,Object.assign({},he,De(S(we)))),He,tt,Je,Ze=!1,ht=!1,gt=!1,Ct=!1,Ft,rn,Gt,an=[],Bt=s(pt,Pe.interactiveDebounce),At,St=En++,ot=null,Ht=y(Pe.plugins),tn={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},Re={id:St,reference:Ae,popper:R(),popperInstance:ot,props:Pe,state:tn,plugins:Ht,clearDelayTimeouts:Ln,setProps:Gn,setContent:ir,show:hr,hide:Yr,hideWithInteractivity:Rr,enable:Mn,disable:On,unmount:yr,destroy:Ci};if(!Pe.render)return ne(!0,"render() function has not been supplied."),Re;var Nt=Pe.render(Re),ae=Nt.popper,_e=Nt.onUpdate;ae.setAttribute("data-tippy-root",""),ae.id="tippy-"+Re.id,Re.popper=ae,Ae._tippy=Re,ae._tippy=Re;var ue=Ht.map(function(ke){return ke.fn(Re)}),le=Ae.hasAttribute("aria-expanded");return $t(),Xt(),lt(),Qe("onCreate",[Re]),Pe.showOnCreate&&rr(),ae.addEventListener("mouseenter",function(){Re.props.interactive&&Re.state.isVisible&&Re.clearDelayTimeouts()}),ae.addEventListener("mouseleave",function(){Re.props.interactive&&Re.props.trigger.indexOf("mouseenter")>=0&&We().addEventListener("mousemove",Bt)}),Re;function ve(){var ke=Re.props.touch;return Array.isArray(ke)?ke:[ke,0]}function be(){return ve()[0]==="hold"}function Se(){var ke;return!!((ke=Re.props.render)!=null&&ke.$$tippy)}function Le(){return At||Ae}function We(){var ke=Le().parentNode;return ke?V(ke):document}function $e(){return jt(ae)}function qe(ke){return Re.state.isMounted&&!Re.state.isVisible||P.isTouch?0:c(Re.props.delay,ke?0:1,he.delay)}function lt(ke){ke===void 0&&(ke=!1),ae.style.pointerEvents=Re.props.interactive&&!ke?"":"none",ae.style.zIndex=""+Re.props.zIndex}function Qe(ke,nt,mt){if(mt===void 0&&(mt=!0),ue.forEach(function(Lt){Lt[ke]&&Lt[ke].apply(Lt,nt)}),mt){var Ot;(Ot=Re.props)[ke].apply(Ot,nt)}}function zt(){var ke=Re.props.aria;if(ke.content){var nt="aria-"+ke.content,mt=ae.id,Ot=E(Re.props.triggerTarget||Ae);Ot.forEach(function(Lt){var Cn=Lt.getAttribute(nt);if(Re.state.isVisible)Lt.setAttribute(nt,Cn?Cn+" "+mt:mt);else{var bn=Cn&&Cn.replace(mt,"").trim();bn?Lt.setAttribute(nt,bn):Lt.removeAttribute(nt)}})}}function Xt(){if(!(le||!Re.props.aria.expanded)){var ke=E(Re.props.triggerTarget||Ae);ke.forEach(function(nt){Re.props.interactive?nt.setAttribute("aria-expanded",Re.state.isVisible&&nt===Le()?"true":"false"):nt.removeAttribute("aria-expanded")})}}function Kt(){We().removeEventListener("mousemove",Bt),sn=sn.filter(function(ke){return ke!==Bt})}function Mt(ke){if(!(P.isTouch&&(gt||ke.type==="mousedown"))){var nt=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(Re.props.interactive&&B(ae,nt))){if(E(Re.props.triggerTarget||Ae).some(function(mt){return B(mt,nt)})){if(P.isTouch||Re.state.isVisible&&Re.props.trigger.indexOf("click")>=0)return}else Qe("onClickOutside",[Re,ke]);Re.props.hideOnClick===!0&&(Re.clearDelayTimeouts(),Re.hide(),ht=!0,setTimeout(function(){ht=!1}),Re.state.isMounted||Ne())}}}function Qt(){gt=!0}function Vt(){gt=!1}function cn(){var ke=We();ke.addEventListener("mousedown",Mt,!0),ke.addEventListener("touchend",Mt,n),ke.addEventListener("touchstart",Vt,n),ke.addEventListener("touchmove",Qt,n)}function Ne(){var ke=We();ke.removeEventListener("mousedown",Mt,!0),ke.removeEventListener("touchend",Mt,n),ke.removeEventListener("touchstart",Vt,n),ke.removeEventListener("touchmove",Qt,n)}function Ue(ke,nt){et(ke,function(){!Re.state.isVisible&&ae.parentNode&&ae.parentNode.contains(ae)&&nt()})}function ze(ke,nt){et(ke,nt)}function et(ke,nt){var mt=$e().box;function Ot(Lt){Lt.target===mt&&(M(mt,"remove",Ot),nt())}if(ke===0)return nt();M(mt,"remove",rn),M(mt,"add",Ot),rn=Ot}function Tt(ke,nt,mt){mt===void 0&&(mt=!1);var Ot=E(Re.props.triggerTarget||Ae);Ot.forEach(function(Lt){Lt.addEventListener(ke,nt,mt),an.push({node:Lt,eventType:ke,handler:nt,options:mt})})}function $t(){be()&&(Tt("touchstart",xt,{passive:!0}),Tt("touchend",Pt,{passive:!0})),p(Re.props.trigger).forEach(function(ke){if(ke!=="manual")switch(Tt(ke,xt),ke){case"mouseenter":Tt("mouseleave",Pt);break;case"focus":Tt(g?"focusout":"blur",dn);break;case"focusin":Tt("focusout",dn);break}})}function Zt(){an.forEach(function(ke){var nt=ke.node,mt=ke.eventType,Ot=ke.handler,Lt=ke.options;nt.removeEventListener(mt,Ot,Lt)}),an=[]}function xt(ke){var nt,mt,Ot=!1;if(!(!Re.state.isEnabled||Ut(ke)||ht)){var Lt=((nt=Ft)==null?void 0:nt.type)==="focus"||((mt=Ft)==null?void 0:mt.type)==="focusin";Ft=ke,At=ke.currentTarget,Xt(),!Re.state.isVisible&&L(ke)&&sn.forEach(function(Cn){return Cn(ke)}),ke.type==="click"&&(Re.props.trigger.indexOf("mouseenter")<0||Ze)&&Re.props.hideOnClick!==!1&&Re.state.isVisible?Ot=!0:rr(ke),ke.type==="click"&&(Ze=!Ot),Ot&&!Lt&&Jn(ke)}}function pt(ke){var nt=ke.target,mt=Le().contains(nt)||ae.contains(nt);if(!(ke.type==="mousemove"&&mt)){var Ot=Dn().concat(ae).map(function(Lt){var Cn,bn=Lt._tippy,cr=(Cn=bn.popperInstance)==null?void 0:Cn.state;return cr?{popperRect:Lt.getBoundingClientRect(),popperState:cr,props:Pe}:null}).filter(Boolean);K(Ot,ke)&&(Kt(),Jn(ke))}}function Pt(ke){var nt=Ut(ke)||Re.props.trigger.indexOf("click")>=0&&Ze;if(!nt){if(Re.props.interactive){Re.hideWithInteractivity(ke);return}Jn(ke)}}function dn(ke){Re.props.trigger.indexOf("focusin")<0&&ke.target!==Le()||Re.props.interactive&&ke.relatedTarget&&ae.contains(ke.relatedTarget)||Jn(ke)}function Ut(ke){return P.isTouch?be()!==ke.type.indexOf("touch")>=0:!1}function Yn(){fn();var ke=Re.props,nt=ke.popperOptions,mt=ke.placement,Ot=ke.offset,Lt=ke.getReferenceClientRect,Cn=ke.moveTransition,bn=Se()?jt(ae).arrow:null,cr=Lt?{getBoundingClientRect:Lt,contextElement:Lt.contextElement||Le()}:Ae,Lr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(kn){var Fr=kn.state;if(Se()){var vo=$e(),dr=vo.box;["placement","reference-hidden","escaped"].forEach(function(Gr){Gr==="placement"?dr.setAttribute("data-placement",Fr.placement):Fr.attributes.popper["data-popper-"+Gr]?dr.setAttribute("data-"+Gr,""):dr.removeAttribute("data-"+Gr)}),Fr.attributes.popper={}}}},or=[{name:"offset",options:{offset:Ot}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Cn}},Lr];Se()&&bn&&or.push({name:"arrow",options:{element:bn,padding:3}}),or.push.apply(or,(nt==null?void 0:nt.modifiers)||[]),Re.popperInstance=T.createPopper(cr,ae,Object.assign({},nt,{placement:mt,onFirstUpdate:Gt,modifiers:or}))}function fn(){Re.popperInstance&&(Re.popperInstance.destroy(),Re.popperInstance=null)}function _n(){var ke=Re.props.appendTo,nt,mt=Le();Re.props.interactive&&ke===i||ke==="parent"?nt=mt.parentNode:nt=t(ke,[mt]),nt.contains(ae)||nt.appendChild(ae),Re.state.isMounted=!0,Yn(),te(Re.props.interactive&&ke===he.appendTo&&mt.nextElementSibling!==ae,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Dn(){return I(ae.querySelectorAll("[data-tippy-root]"))}function rr(ke){Re.clearDelayTimeouts(),ke&&Qe("onTrigger",[Re,ke]),cn();var nt=qe(!0),mt=ve(),Ot=mt[0],Lt=mt[1];P.isTouch&&Ot==="hold"&&Lt&&(nt=Lt),nt?He=setTimeout(function(){Re.show()},nt):Re.show()}function Jn(ke){if(Re.clearDelayTimeouts(),Qe("onUntrigger",[Re,ke]),!Re.state.isVisible){Ne();return}if(!(Re.props.trigger.indexOf("mouseenter")>=0&&Re.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&Ze)){var nt=qe(!1);nt?tt=setTimeout(function(){Re.state.isVisible&&Re.hide()},nt):Je=requestAnimationFrame(function(){Re.hide()})}}function Mn(){Re.state.isEnabled=!0}function On(){Re.hide(),Re.state.isEnabled=!1}function Ln(){clearTimeout(He),clearTimeout(tt),cancelAnimationFrame(Je)}function Gn(ke){if(te(Re.state.isDestroyed,J("setProps")),!Re.state.isDestroyed){Qe("onBeforeUpdate",[Re,ke]),Zt();var nt=Re.props,mt=Oe(Ae,Object.assign({},nt,S(ke),{ignoreAttributes:!0}));Re.props=mt,$t(),nt.interactiveDebounce!==mt.interactiveDebounce&&(Kt(),Bt=s(pt,mt.interactiveDebounce)),nt.triggerTarget&&!mt.triggerTarget?E(nt.triggerTarget).forEach(function(Ot){Ot.removeAttribute("aria-expanded")}):mt.triggerTarget&&Ae.removeAttribute("aria-expanded"),Xt(),lt(),_e&&_e(nt,mt),Re.popperInstance&&(Yn(),Dn().forEach(function(Ot){requestAnimationFrame(Ot._tippy.popperInstance.forceUpdate)})),Qe("onAfterUpdate",[Re,ke])}}function ir(ke){Re.setProps({content:ke})}function hr(){te(Re.state.isDestroyed,J("show"));var ke=Re.state.isVisible,nt=Re.state.isDestroyed,mt=!Re.state.isEnabled,Ot=P.isTouch&&!Re.props.touch,Lt=c(Re.props.duration,0,he.duration);if(!(ke||nt||mt||Ot)&&!Le().hasAttribute("disabled")&&(Qe("onShow",[Re],!1),Re.props.onShow(Re)!==!1)){if(Re.state.isVisible=!0,Se()&&(ae.style.visibility="visible"),lt(),cn(),Re.state.isMounted||(ae.style.transition="none"),Se()){var Cn=$e(),bn=Cn.box,cr=Cn.content;$([bn,cr],0)}Gt=function(){var or;if(!(!Re.state.isVisible||Ct)){if(Ct=!0,ae.offsetHeight,ae.style.transition=Re.props.moveTransition,Se()&&Re.props.animation){var Ir=$e(),kn=Ir.box,Fr=Ir.content;$([kn,Fr],Lt),W([kn,Fr],"visible")}zt(),Xt(),m(nn,Re),(or=Re.popperInstance)==null||or.forceUpdate(),Qe("onMount",[Re]),Re.props.animation&&Se()&&ze(Lt,function(){Re.state.isShown=!0,Qe("onShown",[Re])})}},_n()}}function Yr(){te(Re.state.isDestroyed,J("hide"));var ke=!Re.state.isVisible,nt=Re.state.isDestroyed,mt=!Re.state.isEnabled,Ot=c(Re.props.duration,1,he.duration);if(!(ke||nt||mt)&&(Qe("onHide",[Re],!1),Re.props.onHide(Re)!==!1)){if(Re.state.isVisible=!1,Re.state.isShown=!1,Ct=!1,Ze=!1,Se()&&(ae.style.visibility="hidden"),Kt(),Ne(),lt(!0),Se()){var Lt=$e(),Cn=Lt.box,bn=Lt.content;Re.props.animation&&($([Cn,bn],Ot),W([Cn,bn],"hidden"))}zt(),Xt(),Re.props.animation?Se()&&Ue(Ot,Re.unmount):Re.unmount()}}function Rr(ke){te(Re.state.isDestroyed,J("hideWithInteractivity")),We().addEventListener("mousemove",Bt),m(sn,Bt),Bt(ke)}function yr(){te(Re.state.isDestroyed,J("unmount")),Re.state.isVisible&&Re.hide(),Re.state.isMounted&&(fn(),Dn().forEach(function(ke){ke._tippy.unmount()}),ae.parentNode&&ae.parentNode.removeChild(ae),nn=nn.filter(function(ke){return ke!==Re}),Re.state.isMounted=!1,Qe("onHidden",[Re]))}function Ci(){te(Re.state.isDestroyed,J("destroy")),!Re.state.isDestroyed&&(Re.clearDelayTimeouts(),Re.unmount(),Zt(),delete Ae._tippy,Re.state.isDestroyed=!0,Qe("onDestroy",[Re]))}}function ye(Ae,we){we===void 0&&(we={});var Pe=he.plugins.concat(we.plugins||[]);re(Ae),je(we,Pe),Q();var He=Object.assign({},we,{plugins:Pe}),tt=z(Ae);{var Je=N(He.content),Ze=tt.length>1;te(Je&&Ze,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
`,`1) content: element.innerHTML
`,"2) content: () => element.cloneNode(true)"].join(" "))}var ht=tt.reduce(function(gt,Ct){var Ft=Ct&&pn(Ct,He);return Ft&&gt.push(Ft),gt},[]);return N(Ae)?ht[0]:ht}ye.defaultProps=he,ye.setDefaultProps=me,ye.currentInput=P;var Me=function(we){var Pe=we===void 0?{}:we,He=Pe.exclude,tt=Pe.duration;nn.forEach(function(Je){var Ze=!1;if(He&&(Ze=U(He)?Je.reference===He:Je.popper===He.popper),!Ze){var ht=Je.props.duration;Je.setProps({duration:tt}),Je.hide(),Je.state.isDestroyed||Je.setProps({duration:ht})}})},Ge=Object.assign({},T.applyStyles,{effect:function(we){var Pe=we.state,He={popper:{position:Pe.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(Pe.elements.popper.style,He.popper),Pe.styles=He,Pe.elements.arrow&&Object.assign(Pe.elements.arrow.style,He.arrow)}}),it=function(we,Pe){var He;Pe===void 0&&(Pe={}),ne(!Array.isArray(we),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(we)].join(" "));var tt=we,Je=[],Ze=[],ht,gt=Pe.overrides,Ct=[],Ft=!1;function rn(){Ze=tt.map(function(Re){return E(Re.props.triggerTarget||Re.reference)}).reduce(function(Re,Nt){return Re.concat(Nt)},[])}function Gt(){Je=tt.map(function(Re){return Re.reference})}function an(Re){tt.forEach(function(Nt){Re?Nt.enable():Nt.disable()})}function Bt(Re){return tt.map(function(Nt){var ae=Nt.setProps;return Nt.setProps=function(_e){ae(_e),Nt.reference===ht&&Re.setProps(_e)},function(){Nt.setProps=ae}})}function At(Re,Nt){var ae=Ze.indexOf(Nt);if(Nt!==ht){ht=Nt;var _e=(gt||[]).concat("content").reduce(function(ue,le){return ue[le]=tt[ae].props[le],ue},{});Re.setProps(Object.assign({},_e,{getReferenceClientRect:typeof _e.getReferenceClientRect=="function"?_e.getReferenceClientRect:function(){var ue;return(ue=Je[ae])==null?void 0:ue.getBoundingClientRect()}}))}}an(!1),Gt(),rn();var St={fn:function(){return{onDestroy:function(){an(!0)},onHidden:function(){ht=null},onClickOutside:function(ae){ae.props.showOnCreate&&!Ft&&(Ft=!0,ht=null)},onShow:function(ae){ae.props.showOnCreate&&!Ft&&(Ft=!0,At(ae,Je[0]))},onTrigger:function(ae,_e){At(ae,_e.currentTarget)}}}},ot=ye(R(),Object.assign({},l(Pe,["overrides"]),{plugins:[St].concat(Pe.plugins||[]),triggerTarget:Ze,popperOptions:Object.assign({},Pe.popperOptions,{modifiers:[].concat(((He=Pe.popperOptions)==null?void 0:He.modifiers)||[],[Ge])})})),Ht=ot.show;ot.show=function(Re){if(Ht(),!ht&&Re==null)return At(ot,Je[0]);if(!(ht&&Re==null)){if(typeof Re=="number")return Je[Re]&&At(ot,Je[Re]);if(tt.indexOf(Re)>=0){var Nt=Re.reference;return At(ot,Nt)}if(Je.indexOf(Re)>=0)return At(ot,Re)}},ot.showNext=function(){var Re=Je[0];if(!ht)return ot.show(0);var Nt=Je.indexOf(ht);ot.show(Je[Nt+1]||Re)},ot.showPrevious=function(){var Re=Je[Je.length-1];if(!ht)return ot.show(Re);var Nt=Je.indexOf(ht),ae=Je[Nt-1]||Re;ot.show(ae)};var tn=ot.setProps;return ot.setProps=function(Re){gt=Re.overrides||gt,tn(Re)},ot.setInstances=function(Re){an(!0),Ct.forEach(function(Nt){return Nt()}),tt=Re,an(!1),Gt(),rn(),Ct=Bt(ot),ot.setProps({triggerTarget:Ze})},Ct=Bt(ot),ot},st={mouseover:"mouseenter",focusin:"focus",click:"click"};function wt(Ae,we){ne(!(we&&we.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var Pe=[],He=[],tt=!1,Je=we.target,Ze=l(we,["target"]),ht=Object.assign({},Ze,{trigger:"manual",touch:!1}),gt=Object.assign({touch:he.touch},Ze,{showOnCreate:!0}),Ct=ye(Ae,ht),Ft=E(Ct);function rn(St){if(!(!St.target||tt)){var ot=St.target.closest(Je);if(ot){var Ht=ot.getAttribute("data-tippy-trigger")||we.trigger||he.trigger;if(!ot._tippy&&!(St.type==="touchstart"&&typeof gt.touch=="boolean")&&!(St.type!=="touchstart"&&Ht.indexOf(st[St.type])<0)){var tn=ye(ot,gt);tn&&(He=He.concat(tn))}}}}function Gt(St,ot,Ht,tn){tn===void 0&&(tn=!1),St.addEventListener(ot,Ht,tn),Pe.push({node:St,eventType:ot,handler:Ht,options:tn})}function an(St){var ot=St.reference;Gt(ot,"touchstart",rn,n),Gt(ot,"mouseover",rn),Gt(ot,"focusin",rn),Gt(ot,"click",rn)}function Bt(){Pe.forEach(function(St){var ot=St.node,Ht=St.eventType,tn=St.handler,Re=St.options;ot.removeEventListener(Ht,tn,Re)}),Pe=[]}function At(St){var ot=St.destroy,Ht=St.enable,tn=St.disable;St.destroy=function(Re){Re===void 0&&(Re=!0),Re&&He.forEach(function(Nt){Nt.destroy()}),He=[],Bt(),ot()},St.enable=function(){Ht(),He.forEach(function(Re){return Re.enable()}),tt=!1},St.disable=function(){tn(),He.forEach(function(Re){return Re.disable()}),tt=!0},an(St)}return Ft.forEach(At),Ct}var It={name:"animateFill",defaultValue:!1,fn:function(we){var Pe;if(!((Pe=we.props.render)!=null&&Pe.$$tippy))return ne(we.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var He=jt(we.popper),tt=He.box,Je=He.content,Ze=we.props.animateFill?_t():null;return{onCreate:function(){Ze&&(tt.insertBefore(Ze,tt.firstElementChild),tt.setAttribute("data-animatefill",""),tt.style.overflow="hidden",we.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(Ze){var gt=tt.style.transitionDuration,Ct=Number(gt.replace("ms",""));Je.style.transitionDelay=Math.round(Ct/10)+"ms",Ze.style.transitionDuration=gt,W([Ze],"visible")}},onShow:function(){Ze&&(Ze.style.transitionDuration="0ms")},onHide:function(){Ze&&W([Ze],"hidden")}}}};function _t(){var Ae=R();return Ae.className=u,W([Ae],"hidden"),Ae}var Dt={clientX:0,clientY:0},Jt=[];function Un(Ae){var we=Ae.clientX,Pe=Ae.clientY;Dt={clientX:we,clientY:Pe}}function yn(Ae){Ae.addEventListener("mousemove",Un)}function Vn(Ae){Ae.removeEventListener("mousemove",Un)}var Er={name:"followCursor",defaultValue:!1,fn:function(we){var Pe=we.reference,He=V(we.props.triggerTarget||Pe),tt=!1,Je=!1,Ze=!0,ht=we.props;function gt(){return we.props.followCursor==="initial"&&we.state.isVisible}function Ct(){He.addEventListener("mousemove",Gt)}function Ft(){He.removeEventListener("mousemove",Gt)}function rn(){tt=!0,we.setProps({getReferenceClientRect:null}),tt=!1}function Gt(At){var St=At.target?Pe.contains(At.target):!0,ot=we.props.followCursor,Ht=At.clientX,tn=At.clientY,Re=Pe.getBoundingClientRect(),Nt=Ht-Re.left,ae=tn-Re.top;(St||!we.props.interactive)&&we.setProps({getReferenceClientRect:function(){var ue=Pe.getBoundingClientRect(),le=Ht,ve=tn;ot==="initial"&&(le=ue.left+Nt,ve=ue.top+ae);var be=ot==="horizontal"?ue.top:ve,Se=ot==="vertical"?ue.right:le,Le=ot==="horizontal"?ue.bottom:ve,We=ot==="vertical"?ue.left:le;return{width:Se-We,height:Le-be,top:be,right:Se,bottom:Le,left:We}}})}function an(){we.props.followCursor&&(Jt.push({instance:we,doc:He}),yn(He))}function Bt(){Jt=Jt.filter(function(At){return At.instance!==we}),Jt.filter(function(At){return At.doc===He}).length===0&&Vn(He)}return{onCreate:an,onDestroy:Bt,onBeforeUpdate:function(){ht=we.props},onAfterUpdate:function(St,ot){var Ht=ot.followCursor;tt||Ht!==void 0&&ht.followCursor!==Ht&&(Bt(),Ht?(an(),we.state.isMounted&&!Je&&!gt()&&Ct()):(Ft(),rn()))},onMount:function(){we.props.followCursor&&!Je&&(Ze&&(Gt(Dt),Ze=!1),gt()||Ct())},onTrigger:function(St,ot){L(ot)&&(Dt={clientX:ot.clientX,clientY:ot.clientY}),Je=ot.type==="focus"||ot.type==="focusin"},onHidden:function(){we.props.followCursor&&(rn(),Ft(),Ze=!0)}}}};function un(Ae,we){var Pe;return{popperOptions:Object.assign({},Ae.popperOptions,{modifiers:[].concat((((Pe=Ae.popperOptions)==null?void 0:Pe.modifiers)||[]).filter(function(He){var tt=He.name;return tt!==we.name}),[we])})}}var ln={name:"inlinePositioning",defaultValue:!1,fn:function(we){var Pe=we.reference;function He(){return!!we.props.inlinePositioning}var tt,Je=-1,Ze=!1,ht=[],gt={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(an){var Bt=an.state;He()&&(ht.indexOf(Bt.placement)!==-1&&(ht=[]),tt!==Bt.placement&&ht.indexOf(Bt.placement)===-1&&(ht.push(Bt.placement),we.setProps({getReferenceClientRect:function(){return Ct(Bt.placement)}})),tt=Bt.placement)}};function Ct(Gt){return $n(b(Gt),Pe.getBoundingClientRect(),I(Pe.getClientRects()),Je)}function Ft(Gt){Ze=!0,we.setProps(Gt),Ze=!1}function rn(){Ze||Ft(un(we.props,gt))}return{onCreate:rn,onAfterUpdate:rn,onTrigger:function(an,Bt){if(L(Bt)){var At=I(we.reference.getClientRects()),St=At.find(function(Ht){return Ht.left-2<=Bt.clientX&&Ht.right+2>=Bt.clientX&&Ht.top-2<=Bt.clientY&&Ht.bottom+2>=Bt.clientY}),ot=At.indexOf(St);Je=ot>-1?ot:Je}},onHidden:function(){Je=-1}}}};function $n(Ae,we,Pe,He){if(Pe.length<2||Ae===null)return we;if(Pe.length===2&&He>=0&&Pe[0].left>Pe[1].right)return Pe[He]||we;switch(Ae){case"top":case"bottom":{var tt=Pe[0],Je=Pe[Pe.length-1],Ze=Ae==="top",ht=tt.top,gt=Je.bottom,Ct=Ze?tt.left:Je.left,Ft=Ze?tt.right:Je.right,rn=Ft-Ct,Gt=gt-ht;return{top:ht,bottom:gt,left:Ct,right:Ft,width:rn,height:Gt}}case"left":case"right":{var an=Math.min.apply(Math,Pe.map(function(ae){return ae.left})),Bt=Math.max.apply(Math,Pe.map(function(ae){return ae.right})),At=Pe.filter(function(ae){return Ae==="left"?ae.left===an:ae.right===Bt}),St=At[0].top,ot=At[At.length-1].bottom,Ht=an,tn=Bt,Re=tn-Ht,Nt=ot-St;return{top:St,bottom:ot,left:Ht,right:tn,width:Re,height:Nt}}default:return we}}var zn={name:"sticky",defaultValue:!1,fn:function(we){var Pe=we.reference,He=we.popper;function tt(){return we.popperInstance?we.popperInstance.state.elements.reference:Pe}function Je(Ct){return we.props.sticky===!0||we.props.sticky===Ct}var Ze=null,ht=null;function gt(){var Ct=Je("reference")?tt().getBoundingClientRect():null,Ft=Je("popper")?He.getBoundingClientRect():null;(Ct&&Bn(Ze,Ct)||Ft&&Bn(ht,Ft))&&we.popperInstance&&we.popperInstance.update(),Ze=Ct,ht=Ft,we.state.isMounted&&requestAnimationFrame(gt)}return{onMount:function(){we.props.sticky&&gt()}}}};function Bn(Ae,we){return Ae&&we?Ae.top!==we.top||Ae.right!==we.right||Ae.bottom!==we.bottom||Ae.left!==we.left:!0}return C&&h(w),ye.setDefaultProps({plugins:[It,Er,ln,zn],render:Wt}),ye.createSingleton=it,ye.delegate=wt,ye.hideAll=Me,ye.roundArrow=_,ye})},54993:(A,x,a)=>{var T,w;T=[a(85967)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default=h.AckExtension=function(){let g,_=!1,v;function f(u,r){g._debug(u,r)}this.registered=(u,r)=>{g=r,f("AckExtension: executing registration callback")},this.unregistered=()=>{f("AckExtension: executing unregistration callback"),g=null},this.incoming=u=>{const r=u.channel,d=u.ext;if(r==="/meta/handshake"){if(d){const n=d.ack;if(typeof n=="object"){_=n.enabled===!0;const i=n.batch;typeof i=="number"&&(v=i)}else _=n===!0}f("AckExtension: server supports acknowledgements",_)}else r==="/meta/connect"&&u.successful&&_&&d&&typeof d.ack=="number"&&(v=d.ack,f("AckExtension: server sent batch",v));return u},this.outgoing=u=>{const r=u.channel;return u.ext||(u.ext={}),r==="/meta/handshake"?(u.ext.ack=g&&g.ackEnabled!==!1,_=!1,v=0):r==="/meta/connect"&&_&&(u.ext.ack=v,f("AckExtension: client sending batch",v)),u}},C.default},A,x),A.exports=w},85967:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};function C(){let t=0;const s={};this.register=l=>{const p=++t;return s[p]=l,p},this.unregister=l=>{const p=s[l];return delete s[l],p},this.setTimeout=(l,p)=>window.setTimeout(l,p),this.clearTimeout=l=>{window.clearTimeout(l)}}function g(){const t={};self.onmessage=s=>{const l=s.data,p=t[l.id];switch(l.type){case"setTimeout":t[l.id]=self.setTimeout(()=>{delete t[l.id],self.postMessage({id:l.id})},l.delay);break;case"clearTimeout":delete t[l.id],p&&self.clearTimeout(p);break;default:throw"Unknown command "+l.type}}}const _={isString:t=>t==null?!1:typeof t=="string"||t instanceof String};function v(){let t=[],s={};this.getTransportTypes=()=>t.slice(0),this.findTransportTypes=(l,p,E)=>{const m=[];for(let y=0;y<t.length;++y){const b=t[y];s[b].accept(l,p,E)===!0&&m.push(b)}return m},this.negotiateTransport=(l,p,E,m)=>{for(let y=0;y<t.length;++y){const b=t[y];for(let I=0;I<l.length;++I)if(b===l[I]){const S=s[b];if(S.accept(p,E,m)===!0)return S}}return null},this.add=(l,p,E)=>{let m=!1;for(let y=0;y<t.length;++y)if(t[y]===l){m=!0;break}return m||(typeof E!="number"?t.push(l):t.splice(E,0,l),s[l]=p),!m},this.find=l=>{for(let p=0;p<t.length;++p)if(t[p]===l)return s[l];return null},this.remove=l=>{for(let p=0;p<t.length;++p)if(t[p]===l){t.splice(p,1);const E=s[l];return delete s[l],E}return null},this.clear=()=>{t=[],s={}},this.reset=l=>{for(let p=0;p<t.length;++p)s[t[p]].reset(l)}}function f(){let t,s,l;this.registered=(p,E)=>{t=p,s=E},this.unregistered=()=>{t=null,s=null},this._notifyTransportTimeout=function(p){const E=s._getTransportListeners("timeout");if(E)for(let m=0;m<E.length;++m){const y=E[m];try{const b=y.call(this,p);if(typeof b=="number"&&b>0)return b}catch(b){this._info("Exception during execution of transport listener",y,b)}}return 0},this._debug=function(){s._debug.apply(s,arguments)},this._info=function(){s._info.apply(s,arguments)},this._mixin=function(){return s._mixin.apply(s,arguments)},this.getConfiguration=()=>s.getConfiguration(),this.getAdvice=()=>s.getAdvice(),this.setTimeout=(p,E)=>s.setTimeout(p,E),this.clearTimeout=p=>{s.clearTimeout(p)},this.convertToJSON=function(p){const E=this.getConfiguration().maxSendBayeuxMessageSize;let m="[";for(let y=0;y<p.length;++y){y>0&&(m+=",");const b=p[y],I=JSON.stringify(b);if(I.length>E)throw"maxSendBayeuxMessageSize "+E+" exceeded";m+=I}return m+="]",m},this.convertToMessages=function(p){if(_.isString(p))try{return JSON.parse(p)}catch(E){throw this._debug("Could not convert to JSON the following string",'"'+p+'"'),E}if(Array.isArray(p))return p;if(p==null)return[];if(p instanceof Object)return[p];throw"Conversion Error "+p+", typeof "+typeof p},this.accept=(p,E,m)=>{throw"Abstract"},this.getType=()=>t,this.getURL=()=>l,this.setURL=p=>{l=p},this.send=(p,E)=>{throw"Abstract"},this.reset=function(p){this._debug("Transport",t,"reset",p?"initial":"retry")},this.abort=function(){this._debug("Transport",t,"aborted")},this.toString=function(){return this.getType()}}f.derive=t=>{function s(){}return s.prototype=t,new s};function u(){const t=new f,s=f.derive(t);let l=0,p=null,E=[],m=[];function y(L){for(;m.length>0;){const U=m[0],z=U[0],$=U[1];if(z.url===L.url&&z.sync===L.sync){m.shift(),L.messages=L.messages.concat(z.messages),this._debug("Coalesced",z.messages.length,"messages from request",$.id);continue}break}}function b(L,U,z){const $=this._notifyTransportTimeout(L.messages);if($>0)this._debug("Transport",this.getType(),"extended waiting for message replies of request",U.id,":",$,"ms"),U.timeout=this.setTimeout(()=>{b.call(this,L,U,z+$)},$);else{U.expired=!0;const W="Transport "+this.getType()+" expired waiting for message replies of request "+U.id+": "+z+" ms",V={reason:W},K=U.xhr;V.httpCode=this.xhrStatus(K),this.abortXHR(K),this._debug(W),this.complete(U,!1,U.metaConnect),L.onFailure(K,L.messages,V)}}function I(L,U){if(this.transportSend(L,U)&&(U.expired=!1,!L.sync)){let z=this.getConfiguration().maxNetworkDelay;U.metaConnect===!0&&(z+=this.getAdvice().timeout),this._debug("Transport",this.getType(),"started waiting for message replies of request",U.id,":",z,"ms"),U.timeout=this.setTimeout(()=>{b.call(this,L,U,z)},z)}}function S(L){const U=++l,z={id:U,metaConnect:!1,envelope:L};E.length<this.getConfiguration().maxConnections-1?(E.push(z),I.call(this,L,z)):(this._debug("Transport",this.getType(),"queueing request",U,"envelope",L),m.push([L,z]))}function R(L){const U=L.id;if(this._debug("Transport",this.getType(),"/meta/connect complete, request",U),p!==null&&p.id!==U)throw"/meta/connect request mismatch, completing request "+U;p=null}function N(L,U){const z=E.indexOf(L);if(z>=0&&E.splice(z,1),m.length>0){const $=m.shift(),W=$[0],V=$[1];this._debug("Transport dequeued request",V.id),U?(this.getConfiguration().autoBatch&&y.call(this,W),S.call(this,W),this._debug("Transport completed request",L.id,W)):this.setTimeout(()=>{this.complete(V,!1,V.metaConnect);const K={reason:"Previous request failed"},M=V.xhr;K.httpCode=this.xhrStatus(M),W.onFailure(M,W.messages,K)},0)}}s.complete=function(L,U,z){z?R.call(this,L):N.call(this,L,U)},s.transportSend=(L,U)=>{throw"Abstract"},s.transportSuccess=function(L,U,z){U.expired||(this.clearTimeout(U.timeout),this._debug("Transport",this.getType(),"cancelled waiting for message replies"),this.complete(U,!0,U.metaConnect),z&&z.length>0?L.onSuccess(z):L.onFailure(U.xhr,L.messages,{httpCode:204}))},s.transportFailure=function(L,U,z){U.expired||(this.clearTimeout(U.timeout),this._debug("Transport",this.getType(),"cancelled waiting for failed message replies"),this.complete(U,!1,U.metaConnect),L.onFailure(U.xhr,L.messages,z))};function O(L){if(p!==null)throw"Concurrent /meta/connect requests not allowed, request id="+p.id+" not yet completed";const U=++l;this._debug("Transport",this.getType(),"/meta/connect send, request",U,"envelope",L);const z={id:U,metaConnect:!0,envelope:L};I.call(this,L,z),p=z}return s.send=function(L,U){U?O.call(this,L):S.call(this,L)},s.abort=function(){t.abort();for(let U=0;U<E.length;++U){const z=E[U];z&&(this._debug("Aborting request",z),this.abortXHR(z.xhr)||this.transportFailure(z.envelope,z,{reason:"abort"}))}const L=p;L&&(this._debug("Aborting /meta/connect request",L),this.abortXHR(L.xhr)||this.transportFailure(L.envelope,L,{reason:"abort"})),this.reset(!0)},s.reset=L=>{t.reset(L),p=null,E=[],m=[]},s.abortXHR=function(L){if(L)try{const U=L.readyState;return L.abort(),U!==window.XMLHttpRequest.UNSENT}catch(U){this._debug(U)}return!1},s.xhrStatus=function(L){if(L)try{return L.status}catch(U){this._debug(U)}return-1},s}function r(){const t=new u,s=f.derive(t);let l=!0;s.accept=(E,m,y)=>l||!m,s.newXMLHttpRequest=()=>new window.XMLHttpRequest;function p(E){try{E.context=s.context}catch(m){s._debug("Could not copy transport context into XHR",m)}}return s.xhrSend=E=>{const m=s.newXMLHttpRequest();p(m),m.withCredentials=!0,m.open("POST",E.url,E.sync!==!0);const y=E.headers;if(y)for(let b in y)y.hasOwnProperty(b)&&m.setRequestHeader(b,y[b]);return m.setRequestHeader("Content-Type","application/json;charset=UTF-8"),m.onload=()=>{m.status===200?E.onSuccess(m.responseText):E.onError(m.statusText)},m.onabort=m.onerror=()=>{E.onError(m.statusText)},m.send(E.body),m},s.transportSend=function(E,m){this._debug("Transport",this.getType(),"sending request",m.id,"envelope",E);try{let y=!0;return m.xhr=this.xhrSend({transport:this,url:E.url,sync:E.sync,headers:this.getConfiguration().requestHeaders,body:this.convertToJSON(E.messages),onSuccess:b=>{this._debug("Transport",this.getType(),"received response",b);let I=!1;try{const S=this.convertToMessages(b);S.length===0?(l=!1,this.transportFailure(E,m,{httpCode:204})):(I=!0,this.transportSuccess(E,m,S))}catch(S){if(this._debug(S),!I){l=!1;const R={exception:S};R.httpCode=this.xhrStatus(m.xhr),this.transportFailure(E,m,R)}}},onError:(b,I)=>{this._debug("Transport",this.getType(),"received error",b,I),l=!1;const S={reason:b,exception:I};S.httpCode=this.xhrStatus(m.xhr),y?this.setTimeout(()=>{this.transportFailure(E,m,S)},0):this.transportFailure(E,m,S)}}),y=!1,!0}catch(y){return this._debug("Transport",this.getType(),"exception:",y),l=!1,this.setTimeout(()=>{this.transportFailure(E,m,{exception:y})},0),!1}},s.reset=E=>{t.reset(E),l=!0},s}function d(){const t=new u,s=f.derive(t);let l=0;s.accept=(E,m,y)=>!0,s.jsonpSend=E=>{const m=document.getElementsByTagName("head")[0],y=document.createElement("script"),b="_cometd_jsonp_"+l++;window[b]=S=>{m.removeChild(y),delete window[b],E.onSuccess(S)};let I=E.url;I+=I.indexOf("?")<0?"?":"&",I+="jsonp="+b,I+="&message="+encodeURIComponent(E.body),y.src=I,y.async=E.sync!==!0,y.type="application/javascript",y.onerror=S=>{E.onError("jsonp "+S.type)},m.appendChild(y)};function p(E,m,y){return()=>{this.transportFailure(E,m,"error",y)}}return s.transportSend=function(E,m){let y=0,b=E.messages.length;const I=[];for(;b>0;){const R=JSON.stringify(E.messages.slice(y,y+b)),N=E.url.length+encodeURI(R).length,O=this.getConfiguration().maxURILength;if(N>O){if(b===1){const L="Bayeux message too big ("+N+" bytes, max is "+O+") for transport "+this.getType();this.setTimeout(p.call(this,E,m,L),0);return}--b;continue}I.push(b),y+=b,b=E.messages.length-y}let S=E;if(I.length>1){let R=0,N=I[0];this._debug("Transport",this.getType(),"split",E.messages.length,"messages into",I.join(" + ")),S=this._mixin(!1,{},E),S.messages=E.messages.slice(R,N),S.onSuccess=E.onSuccess,S.onFailure=E.onFailure;for(let O=1;O<I.length;++O){const L=this._mixin(!1,{},E);R=N,N+=I[O],L.messages=E.messages.slice(R,N),L.onSuccess=E.onSuccess,L.onFailure=E.onFailure,this.send(L,m.metaConnect)}}this._debug("Transport",this.getType(),"sending request",m.id,"envelope",S);try{let R=!0;return this.jsonpSend({transport:this,url:S.url,sync:S.sync,headers:this.getConfiguration().requestHeaders,body:JSON.stringify(S.messages),onSuccess:N=>{let O=!1;try{const L=this.convertToMessages(N);L.length===0?this.transportFailure(S,m,{httpCode:204}):(O=!0,this.transportSuccess(S,m,L))}catch(L){this._debug(L),O||this.transportFailure(S,m,{exception:L})}},onError:(N,O)=>{const L={reason:N,exception:O};R?this.setTimeout(()=>{this.transportFailure(S,m,L)},0):this.transportFailure(S,m,L)}}),R=!1,!0}catch(R){return this.setTimeout(()=>{this.transportFailure(S,m,{exception:R})},0),!1}},s}function n(){const t=new f,s=f.derive(t);let l,p=!0,E=!1,m=!0,y=null,b=null,I=!1,S=null;s.reset=V=>{t.reset(V),p=!0,V&&(E=!1),m=!0,V&&(y=null),b=null,I=!1};function R(V,K){V&&(this.webSocketClose(V,K.code,K.reason),this.onClose(V,K))}function N(V){return V===b||V===y}function O(V,K,M){const B=[];for(let P=0;P<K.messages.length;++P){const k=K.messages[P];k.id&&B.push(k.id)}V.envelopes[B.join(",")]=[K,M],this._debug("Transport",this.getType(),"stored envelope, envelopes",V.envelopes)}function L(V,K){let M=!1;const B=V.envelopes;for(let P=0;P<K.length;++P){const k=K[P];for(let H in B)if(B.hasOwnProperty(H)){const Y=H.split(","),G=Y.indexOf(k);if(G>=0){M=!0,Y.splice(G,1);const Q=B[H][0],J=B[H][1];delete B[H],Y.length>0&&(B[Y.join(",")]=[Q,J]);break}}}M&&this._debug("Transport",this.getType(),"removed envelope, envelopes",B)}function U(V){if(b)return;const K=l.getURL().replace(/^http/,"ws");this._debug("Transport",this.getType(),"connecting to URL",K);try{const H=l.getConfiguration().protocol;V.webSocket=H?new window.WebSocket(K,H):new window.WebSocket(K),b=V}catch(H){throw p=!1,this._debug("Exception while creating WebSocket object",H),H}m=l.getConfiguration().stickyReconnect!==!1;const M=l.getConfiguration().connectTimeout;M>0&&(V.connectTimer=this.setTimeout(()=>{l._debug("Transport",this.getType(),"timed out while connecting to URL",K,":",M,"ms"),R.call(this,V,{code:1e3,reason:"Connect Timeout"})},M));const B=()=>{l._debug("WebSocket onopen",V),V.connectTimer&&this.clearTimeout(V.connectTimer),N(V)?(b=null,y=V,E=!0,this.onOpen(V)):(l._warn("Closing extra WebSocket connection",this,"active connection",y),R.call(this,V,{code:1e3,reason:"Extra Connection"}))},P=H=>{H=H||{code:1e3},l._debug("WebSocket onclose",V,H,"connecting",b,"current",y),V.connectTimer&&this.clearTimeout(V.connectTimer),this.onClose(V,H)},k=H=>{l._debug("WebSocket onmessage",H,V),this.onMessage(V,H)};V.webSocket.onopen=B,V.webSocket.onclose=P,V.webSocket.onerror=()=>{P({code:1e3,reason:"Error"})},V.webSocket.onmessage=k,this._debug("Transport",this.getType(),"configured callbacks on",V)}function z(V,K,M){const B=this._notifyTransportTimeout([K]);B>0?(this._debug("Transport",this.getType(),"extended waiting for message replies:",B,"ms"),V.timeouts[K.id]=this.setTimeout(()=>{z.call(this,V,K,M+B)},B)):(this._debug("Transport",this.getType(),"expired waiting for message reply",K.id,":",M,"ms"),R.call(this,V,{code:1e3,reason:"Message Timeout"}))}function $(V,K,M){let B;try{B=this.convertToJSON(K.messages)}catch(H){this._debug("Transport",this.getType(),"exception:",H);const Y=[];for(let G=0;G<K.messages.length;++G){const Q=K.messages[G];Y.push(Q.id)}L.call(this,V,Y),this.setTimeout(()=>{this._notifyFailure(K.onFailure,V,K.messages,{exception:H})},0);return}V.webSocket.send(B),this._debug("Transport",this.getType(),"sent",K,"/meta/connect =",M);let P=this.getConfiguration().maxNetworkDelay;M&&(P+=this.getAdvice().timeout,I=!0);const k=[];for(let H=0;H<K.messages.length;++H){const Y=K.messages[H];Y.id&&(k.push(Y.id),V.timeouts[Y.id]=this.setTimeout(()=>{z.call(this,V,Y,P)},P))}this._debug("Transport",this.getType(),"started waiting for message replies",P,"ms, messageIds:",k,", timeouts:",V.timeouts)}s._notifySuccess=function(V,K){V.call(this,K)},s._notifyFailure=function(V,K,M,B){V.call(this,K,M,B)};function W(V,K,M){try{V===null?(V=b||{envelopes:{},timeouts:{}},O.call(this,V,K,M),U.call(this,V)):(O.call(this,V,K,M),$.call(this,V,K,M))}catch(B){this.setTimeout(()=>{R.call(this,V,{code:1e3,reason:"Exception",exception:B})},0)}}return s.onOpen=function(V){const K=V.envelopes;this._debug("Transport",this.getType(),"opened",V,"pending messages",K);for(let M in K)if(K.hasOwnProperty(M)){const B=K[M],P=B[0],k=B[1];S=P.onSuccess,$.call(this,V,P,k)}},s.onMessage=function(V,K){this._debug("Transport",this.getType(),"received websocket message",K,V);let M=!1;const B=this.convertToMessages(K.data),P=[];for(let k=0;k<B.length;++k){const H=B[k];if((/^\/meta\//.test(H.channel)||H.data===void 0)&&H.id){P.push(H.id);const Y=V.timeouts[H.id];Y&&(this.clearTimeout(Y),delete V.timeouts[H.id],this._debug("Transport",this.getType(),"removed timeout for message",H.id,", timeouts",V.timeouts))}H.channel==="/meta/connect"&&(I=!1),H.channel==="/meta/disconnect"&&!I&&(M=!0)}L.call(this,V,P),this._notifySuccess(S,B),M&&this.webSocketClose(V,1e3,"Disconnect")},s.onClose=function(V,K){this._debug("Transport",this.getType(),"closed",V,K),N(V)&&(p=m&&E,b=null,y=null);const M=V.timeouts;V.timeouts={};for(let P in M)M.hasOwnProperty(P)&&this.clearTimeout(M[P]);const B=V.envelopes;V.envelopes={};for(let P in B)if(B.hasOwnProperty(P)){const k=B[P][0];B[P][1]&&(I=!1);const Y={websocketCode:K.code,reason:K.reason};K.exception&&(Y.exception=K.exception),this._notifyFailure(k.onFailure,V,k.messages,Y)}},s.registered=(V,K)=>{t.registered(V,K),l=K},s.accept=function(V,K,M){return this._debug("Transport",this.getType(),"accept, supported:",p),p&&!!window.WebSocket&&l.websocketEnabled!==!1},s.send=function(V,K){this._debug("Transport",this.getType(),"sending",V,"/meta/connect =",K),W.call(this,y,V,K)},s.webSocketClose=function(V,K,M){try{V.webSocket&&V.webSocket.close(K,M)}catch(B){this._debug(B)}},s.abort=function(){t.abort(),R.call(this,y,{code:1e3,reason:"Abort"}),this.reset(!0)},s}function i(t){const s=new C,l=this,p=t||"default";let E=!1;const m=new v;let y,b="disconnected",I=0,S=null,R=0,N=[],O=!1,L=0,U={};const z={};let $=0,W=null;const V=[];let K={},M,B;const P={},k={};let H=!1,Y=!1,G=0,Q=0,J=null,q={useWorkerScheduler:!0,protocol:null,stickyReconnect:!0,connectTimeout:0,maxConnections:2,backoffIncrement:1e3,maxBackoff:6e4,logLevel:"info",maxNetworkDelay:1e4,requestHeaders:{},appendMessageTypeToURL:!0,autoBatch:!1,urls:{},maxURILength:2e3,maxSendBayeuxMessageSize:8192,advice:{timeout:6e4,interval:0,reconnect:void 0,maxInterval:0}};function oe(ae,_e){try{return ae[_e]}catch(ue){return}}this._mixin=function(ae,_e,ue){const le=_e||{};for(let ve=2;ve<arguments.length;++ve){const be=arguments[ve];if(be!=null){for(let Se in be)if(be.hasOwnProperty(Se)){const Le=oe(be,Se),We=oe(le,Se);if(Le===_e||Le===void 0)continue;if(ae&&typeof Le=="object"&&Le!==null)if(Le instanceof Array)le[Se]=this._mixin(ae,We instanceof Array?We:[],Le);else{const $e=typeof We=="object"&&!(We instanceof Array)?We:{};le[Se]=this._mixin(ae,$e,Le)}else le[Se]=Le}}}return le};function ie(ae){return _.isString(ae)}function pe(ae){return ae>="A"&&ae<="Z"?!0:ae>="a"&&ae<="z"}function ce(ae){return ae>="0"&&ae<="9"}function te(ae){switch(ae){case" ":case"!":case"#":case"$":case"(":case")":case"*":case"+":case"-":case".":case"/":case"@":case"_":case"{":case"~":case"}":case":":case"\\":case",":return!0;default:return!1}}function ne(ae){if(!ie(ae)||ae.length<2||ae.charAt(0)!=="/")return!1;for(let _e=1;_e<ae.length;++_e){const ue=ae.charAt(_e);if(!(pe(ue)||ce(ue)||te(ue)))return!1}return!0}function re(ae){return ae==null?!1:typeof ae=="function"}function se(ae,_e){let ue="";for(;--_e>0&&!(ae>=Math.pow(10,_e));)ue+="0";return ue+=ae,ue}function ge(ae,_e){if(window.console){const ue=window.console[ae];if(re(ue)){const le=new Date;[].splice.call(_e,0,0,se(le.getHours(),2)+":"+se(le.getMinutes(),2)+":"+se(le.getSeconds(),2)+"."+se(le.getMilliseconds(),3)),ue.apply(window.console,_e)}}}this._warn=function(){ge("warn",arguments)},this._info=function(){q.logLevel!=="warn"&&ge("info",arguments)},this._debug=function(){q.logLevel==="debug"&&ge("debug",arguments)};function he(ae){return new RegExp("(^https?://)?(((\\[[^\\]]+])|([^:/?#]+))(:(\\d+))?)?([^?#]*)(.*)?").exec(ae)}this._isCrossDomain=ae=>window.location&&window.location.host&&ae?ae!==window.location.host:!1;function fe(ae){l._debug("Configuring cometd object with",ae),ie(ae)&&(ae={url:ae}),ae||(ae={}),q=l._mixin(!1,q,ae);const _e=l.getURL();if(!_e)throw"Missing required configuration parameter 'url' specifying the Bayeux server URL";const ue=he(_e),le=ue[2],ve=ue[8],be=ue[9];if(E=l._isCrossDomain(le),q.appendMessageTypeToURL)if(be!==void 0&&be.length>0)l._info("Appending message type to URI "+ve+be+" is not supported, disabling 'appendMessageTypeToURL' configuration"),q.appendMessageTypeToURL=!1;else{const Se=ve.split("/");let Le=Se.length-1;ve.match(/\/$/)&&(Le-=1),Se[Le].indexOf(".")>=0&&(l._info("Appending message type to URI "+ve+" is not supported, disabling 'appendMessageTypeToURL' configuration"),q.appendMessageTypeToURL=!1)}if(window.Worker&&window.Blob&&window.URL&&q.useWorkerScheduler){let Se=g.toString();Se=Se.substring(Se.indexOf("{")+1,Se.lastIndexOf("}"));const Le=new window.Blob([Se],{type:"application/json"}),We=window.URL.createObjectURL(Le),$e=new window.Worker(We);s.setTimeout=(qe,lt)=>{const Qe=s.register(qe);return $e.postMessage({id:Qe,type:"setTimeout",delay:lt}),Qe},s.clearTimeout=qe=>{s.unregister(qe),$e.postMessage({id:qe,type:"clearTimeout"})},$e.onmessage=qe=>{const lt=qe.data.id,Qe=s.unregister(lt);Qe&&Qe()}}}function me(ae){if(ae){const _e=U[ae.channel];_e&&_e[ae.id]&&(delete _e[ae.id],l._debug("Removed",ae.listener?"listener":"subscription",ae))}}function De(ae){ae&&!ae.listener&&me(ae)}function Ie(){for(let ae in U)if(U.hasOwnProperty(ae)){const _e=U[ae];if(_e)for(let ue in _e)_e.hasOwnProperty(ue)&&De(_e[ue])}}function Oe(ae){b!==ae&&(l._debug("Status",b,"->",ae),b=ae)}function je(){return b==="disconnecting"||b==="disconnected"}function dt(){return""+ ++I}function yt(ae,_e,ue,le,ve){try{return _e.call(ae,le)}catch(be){const Se=l.onExtensionException;if(re(Se)){l._debug("Invoking extension exception handler",ue,be);try{Se.call(l,be,ue,ve,le)}catch(Le){l._info("Exception during execution of extension exception handler",ue,Le)}}else l._info("Exception during execution of extension",ue,be);return le}}function kt(ae){for(let _e=0;_e<V.length&&ae!=null;++_e){const ue=V[_e],le=ue.extension.incoming;if(re(le)){const ve=yt(ue.extension,le,ue.name,ae,!1);ae=ve===void 0?ae:ve}}return ae}function Rt(ae){for(let _e=V.length-1;_e>=0&&ae!=null;--_e){const ue=V[_e],le=ue.extension.outgoing;if(re(le)){const ve=yt(ue.extension,le,ue.name,ae,!0);ae=ve===void 0?ae:ve}}return ae}function jt(ae,_e){const ue=U[ae];if(ue){for(let le in ue)if(ue.hasOwnProperty(le)){const ve=ue[le];if(ve)try{ve.callback.call(ve.scope,_e)}catch(be){const Se=l.onListenerException;if(re(Se)){l._debug("Invoking listener exception handler",ve,be);try{Se.call(l,be,ve,ve.listener,_e)}catch(Le){l._info("Exception during execution of listener exception handler",ve,Le)}}else l._info("Exception during execution of listener",ve,_e,be)}}}}function Wt(ae,_e){jt(ae,_e);const ue=ae.split("/"),le=ue.length-1;for(let ve=le;ve>0;--ve){let be=ue.slice(0,ve).join("/")+"/*";ve===le&&jt(be,_e),be+="*",jt(be,_e)}}function En(){W!==null&&l.clearTimeout(W),W=null}function sn(ae,_e){En();const ue=K.interval+_e;l._debug("Function scheduled in",ue,"ms, interval =",K.interval,"backoff =",$,ae),W=l.setTimeout(ae,ue)}let nn,pn;function ye(ae,_e,ue){for(let be=0;be<ae.length;++be){let Se=ae[be];const Le=Se.id;S&&(Se.clientId=S),Se=Rt(Se),Se!=null?(Se.id=Le,ae[be]=Se):(delete P[Le],ae.splice(be--,1))}if(ae.length===0)return;_e&&(J=ae[0]);let le=l.getURL();q.appendMessageTypeToURL&&(le.match(/\/$/)||(le=le+"/"),ue&&(le=le+ue));const ve={url:le,sync:!1,messages:ae,onSuccess:be=>{try{nn.call(l,be)}catch(Se){l._info("Exception during handling of messages",Se)}},onFailure:(be,Se,Le)=>{try{const We=l.getTransport();Le.connectionType=We?We.getType():"unknown",pn.call(l,be,Se,Le)}catch(We){l._info("Exception during handling of failure",We)}}};l._debug("Send",ve),y.send(ve,_e)}function Me(ae){R>0||O===!0?N.push(ae):ye([ae],!1)}this.send=Me;function Ge(){$=0}function it(){return $<q.maxBackoff&&($+=q.backoffIncrement),$}function st(){++R,l._debug("Starting batch, depth",R)}function wt(){const ae=N;N=[],ae.length>0&&ye(ae,!1)}function It(){if(--R,l._debug("Ending batch, depth",R),R<0)throw"Calls to startBatch() and endBatch() are not paired";R===0&&!je()&&!O&&wt()}function _t(){if(!je()){const ae={id:dt(),channel:"/meta/connect",connectionType:y.getType()};Y||(ae.advice={timeout:0}),Oe("connecting"),l._debug("Connect sent",ae),ye([ae],!0,"connect"),Oe("connected")}}function Dt(ae){Oe("connecting"),sn(()=>{_t()},ae)}function Jt(ae){ae&&(K=l._mixin(!1,{},q.advice,ae),l._debug("New advice",K))}function Un(ae){if(En(),ae&&y&&y.abort(),E=!1,y=null,Oe("disconnected"),S=null,R=0,Ge(),H=!1,Y=!1,G=0,J=null,N.length>0){const _e=N;N=[],pn.call(l,void 0,_e,{reason:"Disconnected"})}}function yn(ae,_e,ue){const le=l.onTransportException;if(re(le)){l._debug("Invoking transport exception handler",ae,_e,ue);try{le.call(l,ue,ae,_e)}catch(ve){l._info("Exception during execution of transport exception handler",ve)}}}function Vn(ae,_e){re(ae)&&(_e=ae,ae=void 0),S=null,Ie(),je()&&m.reset(!0),Jt({}),R=0,O=!0,M=ae,B=_e;const ue="1.0",le=l.getURL(),ve=m.findTransportTypes(ue,E,le),be={id:dt(),version:ue,minimumVersion:ue,channel:"/meta/handshake",supportedConnectionTypes:ve,advice:{timeout:K.timeout,interval:K.interval}},Se=l._mixin(!1,{},M,be);if(l._putCallback(Se.id,_e),!y&&(y=m.negotiateTransport(ve,ue,E,le),!y)){const Le="Could not find initial transport among: "+m.getTransportTypes();throw l._warn(Le),Le}l._debug("Initial transport is",y.getType()),Oe("handshaking"),l._debug("Handshake sent",Se),ye([Se],!1,"handshake")}function Er(ae){Oe("handshaking"),O=!0,sn(()=>{Vn(M,B)},ae)}function un(ae,_e){try{ae.call(l,_e)}catch(ue){const le=l.onCallbackException;if(re(le)){l._debug("Invoking callback exception handler",ue);try{le.call(l,ue,_e)}catch(ve){l._info("Exception during execution of callback exception handler",ve)}}else l._info("Exception during execution of message callback",ue)}}this._getCallback=ae=>P[ae],this._putCallback=function(ae,_e){const ue=this._getCallback(ae);return re(_e)&&(P[ae]=_e),ue};function ln(ae){const _e=l._getCallback([ae.id]);re(_e)&&(delete P[ae.id],un(_e,ae))}function $n(ae){const _e=k[ae.id];if(delete k[ae.id],_e){l._debug("Handling remote call response for",ae,"with context",_e);const ue=_e.timeout;ue&&l.clearTimeout(ue);const le=_e.callback;if(re(le))return un(le,ae),!0}return!1}this.onTransportFailure=function(ae,_e,ue){this._debug("Transport failure",_e,"for",ae);const le=this.getTransportRegistry(),ve=this.getURL(),be=this._isCrossDomain(he(ve)[2]),Se="1.0",Le=le.findTransportTypes(Se,be,ve);if(_e.action==="none"){if(ae.channel==="/meta/handshake"&&!_e.transport){const We="Could not negotiate transport, client=["+Le+"], server=["+ae.supportedConnectionTypes+"]";this._warn(We),yn(y.getType(),null,{reason:We,connectionType:y.getType(),transport:y})}}else if(_e.delay=this.getBackoffPeriod(),ae.channel==="/meta/handshake"){if(!_e.transport){const We=y?y.getType():null,$e=le.negotiateTransport(Le,Se,be,ve);if(!$e)this._warn("Could not negotiate transport, client=["+Le+"]"),yn(We,null,ae.failure),_e.action="none";else{const qe=$e.getType();this._debug("Transport",We,"->",qe),yn(We,qe,ae.failure),_e.action="handshake",_e.transport=$e}}_e.action!=="none"&&this.increaseBackoffPeriod()}else{const We=new Date().getTime();if(G===0&&(G=We),_e.action==="retry"){_e.delay=this.increaseBackoffPeriod();const $e=K.maxInterval;if($e>0){const qe=K.timeout+K.interval+$e;We-G+$>qe&&(_e.action="handshake")}}_e.action==="handshake"&&(_e.delay=0,le.reset(!1),this.resetBackoffPeriod())}ue.call(l,_e)};function zn(ae){l._debug("Transport failure handling",ae),ae.transport&&(y=ae.transport),ae.url&&y.setURL(ae.url);const _e=ae.action,ue=ae.delay||0;switch(_e){case"handshake":Er(ue);break;case"retry":Dt(ue);break;case"none":Un(!0);break;default:throw"Unknown action "+_e}}function Bn(ae,_e){ln(ae),Wt("/meta/handshake",ae),Wt("/meta/unsuccessful",ae),je()&&(_e.action="none"),l.onTransportFailure.call(l,ae,_e,zn)}function Ae(ae){const _e=l.getURL();if(ae.successful){const ue=l._isCrossDomain(he(_e)[2]),le=m.negotiateTransport(ae.supportedConnectionTypes,ae.version,ue,_e);if(le===null){ae.successful=!1,Bn(ae,{cause:"negotiation",action:"none",transport:null});return}else y!==le&&(l._debug("Transport",y.getType(),"->",le.getType()),y=le);S=ae.clientId,O=!1,wt(),ae.reestablish=H,H=!0,ln(ae),Wt("/meta/handshake",ae),Q=ae["x-messages"]||0;const ve=je()?"none":K.reconnect||"retry";switch(ve){case"retry":Ge(),Q===0?Dt(0):l._debug("Processing",Q,"handshake-delivered messages");break;case"none":Un(!0);break;default:throw"Unrecognized advice action "+ve}}else Bn(ae,{cause:"unsuccessful",action:K.reconnect||"handshake",transport:y})}function we(ae){Bn(ae,{cause:"failure",action:"handshake",transport:null})}function Pe(ae){return b==="disconnected"?!0:J&&J.id===ae.id?(J=null,!0):!1}function He(ae,_e){Wt("/meta/connect",ae),Wt("/meta/unsuccessful",ae),je()&&(_e.action="none"),l.onTransportFailure.call(l,ae,_e,zn)}function tt(ae){if(Pe(ae))if(Y=ae.successful,Y){Wt("/meta/connect",ae);const _e=je()?"none":K.reconnect||"retry";switch(_e){case"retry":Ge(),Dt($);break;case"none":Un(!1);break;default:throw"Unrecognized advice action "+_e}}else He(ae,{cause:"unsuccessful",action:K.reconnect||"retry",transport:y});else l._debug("Mismatched /meta/connect reply",ae)}function Je(ae){Pe(ae)?(Y=!1,He(ae,{cause:"failure",action:"retry",transport:null})):l._debug("Mismatched /meta/connect failure",ae)}function Ze(ae){Un(!0),ln(ae),Wt("/meta/disconnect",ae),Wt("/meta/unsuccessful",ae)}function ht(ae){ae.successful?(Un(!1),ln(ae),Wt("/meta/disconnect",ae)):Ze(ae)}function gt(ae){Ze(ae)}function Ct(ae){const _e=U[ae.subscription];if(_e){for(let ue in _e)if(_e.hasOwnProperty(ue)){const le=_e[ue];le&&!le.listener&&(delete _e[ue],l._debug("Removed failed subscription",le))}}ln(ae),Wt("/meta/subscribe",ae),Wt("/meta/unsuccessful",ae)}function Ft(ae){ae.successful?(ln(ae),Wt("/meta/subscribe",ae)):Ct(ae)}function rn(ae){Ct(ae)}function Gt(ae){ln(ae),Wt("/meta/unsubscribe",ae),Wt("/meta/unsuccessful",ae)}function an(ae){ae.successful?(ln(ae),Wt("/meta/unsubscribe",ae)):Gt(ae)}function Bt(ae){Gt(ae)}function At(ae){$n(ae)||(ln(ae),Wt("/meta/publish",ae),Wt("/meta/unsuccessful",ae))}function St(ae){ae.data!==void 0?$n(ae)||(Wt(ae.channel,ae),Q>0&&(--Q,Q===0&&(l._debug("Processed last handshake-delivered message"),Dt(0)))):ae.successful===void 0?l._warn("Unknown Bayeux Message",ae):ae.successful?(ln(ae),Wt("/meta/publish",ae)):At(ae)}function ot(ae){At(ae)}function Ht(ae){if(G=0,ae=kt(ae),ae==null)return;switch(Jt(ae.advice),ae.channel){case"/meta/handshake":Ae(ae);break;case"/meta/connect":tt(ae);break;case"/meta/disconnect":ht(ae);break;case"/meta/subscribe":Ft(ae);break;case"/meta/unsubscribe":an(ae);break;default:St(ae);break}}this.receive=Ht,nn=ae=>{l._debug("Received",ae);for(let _e=0;_e<ae.length;++_e){const ue=ae[_e];Ht(ue)}},pn=(ae,_e,ue)=>{l._debug("handleFailure",ae,_e,ue),ue.transport=ae;for(let le=0;le<_e.length;++le){const ve=_e[le],be={id:ve.id,successful:!1,channel:ve.channel,failure:ue};switch(ue.message=ve,ve.channel){case"/meta/handshake":we(be);break;case"/meta/connect":Je(be);break;case"/meta/disconnect":gt(be);break;case"/meta/subscribe":be.subscription=ve.subscription,rn(be);break;case"/meta/unsubscribe":be.subscription=ve.subscription,Bt(be);break;default:ot(be);break}}};function tn(ae){const _e=U[ae];if(_e){for(let ue in _e)if(_e.hasOwnProperty(ue)&&_e[ue])return!0}return!1}function Re(ae,_e){const ue={scope:ae,method:_e};if(re(ae))ue.scope=void 0,ue.method=ae;else if(ie(_e)){if(!ae)throw"Invalid scope "+ae;if(ue.method=ae[_e],!re(ue.method))throw"Invalid callback "+_e+" for scope "+ae}else if(!re(_e))throw"Invalid callback "+_e;return ue}function Nt(ae,_e,ue,le){const ve=Re(_e,ue);l._debug("Adding",le?"listener":"subscription","on",ae,"with scope",ve.scope,"and callback",ve.method);const be=++L,Se={id:be,channel:ae,scope:ve.scope,callback:ve.method,listener:le};let Le=U[ae];return Le||(Le={},U[ae]=Le),Le[be]=Se,l._debug("Added",le?"listener":"subscription",Se),Se}this.registerTransport=function(ae,_e,ue){const le=m.add(ae,_e,ue);return le&&(this._debug("Registered transport",ae),re(_e.registered)&&_e.registered(ae,this)),le},this.unregisterTransport=function(ae){const _e=m.remove(ae);return _e!==null&&(this._debug("Unregistered transport",ae),re(_e.unregistered)&&_e.unregistered()),_e},this.unregisterTransports=()=>{m.clear()},this.getTransportTypes=()=>m.getTransportTypes(),this.findTransport=ae=>m.find(ae),this.getTransportRegistry=()=>m,this.configure=function(ae){fe.call(this,ae)},this.init=function(ae,_e){this.configure(ae),this.handshake(_e)},this.handshake=(ae,_e)=>{if(b!=="disconnected")throw"Illegal state: handshaken";Vn(ae,_e)},this.disconnect=function(ae,_e){if(je())return;re(ae)&&(_e=ae,ae=void 0);const ue={id:dt(),channel:"/meta/disconnect"},le=this._mixin(!1,{},ae,ue);l._putCallback(le.id,_e),Oe("disconnecting"),ye([le],!1,"disconnect")},this.startBatch=()=>{st()},this.endBatch=()=>{It()},this.batch=function(ae,_e){const ue=Re(ae,_e);this.startBatch();try{ue.method.call(ue.scope),this.endBatch()}catch(le){throw this._info("Exception during execution of batch",le),this.endBatch(),le}},this.addTransportListener=(ae,_e)=>{if(ae!=="timeout")throw"Unsupported event "+ae;let ue=z[ae];ue||(z[ae]=ue=[]),ue.push(_e)},this.removeTransportListener=(ae,_e)=>{const ue=z[ae];if(ue){const le=ue.indexOf(_e);if(le>=0)return ue.splice(le,1),!0}return!1},this._getTransportListeners=ae=>z[ae],this.addListener=function(ae,_e,ue){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!ie(ae))throw"Illegal argument type: channel must be a string";return Nt(ae,_e,ue,!0)},this.removeListener=ae=>{if(!ae||!ae.channel||!("id"in ae))throw"Invalid argument: expected subscription, not "+ae;me(ae)},this.clearListeners=()=>{U={}},this.subscribe=function(ae,_e,ue,le,ve){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!ne(ae))throw"Illegal argument: invalid channel "+ae;if(je())throw"Illegal state: disconnected";re(_e)&&(ve=le,le=ue,ue=_e,_e=void 0),re(le)&&(ve=le,le=void 0);const be=!tn(ae),Se=Nt(ae,_e,ue,!1);if(be){const Le={id:dt(),channel:"/meta/subscribe",subscription:ae},We=this._mixin(!1,{},le,Le);l._putCallback(We.id,ve),Me(We)}else re(ve)&&l.setTimeout(()=>{un(ve,{id:dt(),successful:!0,channel:"/meta/subscribe",subscription:ae})},0);return Se},this.unsubscribe=function(ae,_e,ue){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(je())throw"Illegal state: disconnected";re(_e)&&(ue=_e,_e=void 0),this.removeListener(ae);const le=ae.channel;if(tn(le))re(ue)&&l.setTimeout(()=>{un(ue,{id:dt(),successful:!0,channel:"/meta/unsubscribe",subscription:le})},0);else{const ve={id:dt(),channel:"/meta/unsubscribe",subscription:le},be=this._mixin(!1,{},_e,ve);l._putCallback(be.id,ue),Me(be)}},this.resubscribe=function(ae,_e){if(De(ae),ae)return this.subscribe(ae.channel,ae.scope,ae.callback,_e)},this.clearSubscriptions=()=>{Ie()},this.publish=function(ae,_e,ue,le){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!ne(ae))throw"Illegal argument: invalid channel "+ae;if(/^\/meta\//.test(ae))throw"Illegal argument: cannot publish to meta channels";if(je())throw"Illegal state: disconnected";re(_e)?(le=_e,_e={},ue=void 0):re(ue)&&(le=ue,ue=void 0);const ve={id:dt(),channel:ae,data:_e},be=this._mixin(!1,{},ue,ve);l._putCallback(be.id,le),Me(be)},this.publishBinary=function(ae,_e,ue,le,ve,be){re(_e)?(be=_e,_e=new ArrayBuffer(0),ue=!0,le=void 0,ve=void 0):re(ue)?(be=ue,ue=!0,le=void 0,ve=void 0):re(le)?(be=le,le=void 0,ve=void 0):re(ve)&&(be=ve,ve=void 0);const Se={meta:le,data:_e,last:ue},Le=this._mixin(!1,ve,{ext:{binary:{}}});this.publish(ae,Se,Le,be)},this.remoteCall=function(ae,_e,ue,le,ve){if(arguments.length<1)throw"Illegal arguments number: required 1, got "+arguments.length;if(!ie(ae))throw"Illegal argument type: target must be a string";if(je())throw"Illegal state: disconnected";if(re(_e)?(ve=_e,_e={},ue=q.maxNetworkDelay,le=void 0):re(ue)?(ve=ue,ue=q.maxNetworkDelay,le=void 0):re(le)&&(ve=le,le=void 0),typeof ue!="number")throw"Illegal argument type: timeout must be a number";ae.match(/^\//)||(ae="/"+ae);const be="/service"+ae;if(!ne(be))throw"Illegal argument: invalid target "+ae;const Se={id:dt(),channel:be,data:_e},Le=this._mixin(!1,{},le,Se),We={callback:ve};ue>0&&(We.timeout=l.setTimeout(()=>{l._debug("Timing out remote call",Le,"after",ue,"ms"),At({id:Le.id,error:"406::timeout",successful:!1,failure:{message:Le,reason:"Remote Call Timeout"}})},ue),l._debug("Scheduled remote call timeout",Le,"in",ue,"ms")),k[Le.id]=We,Me(Le)},this.remoteCallBinary=function(ae,_e,ue,le,ve,be,Se){re(_e)?(Se=_e,_e=new ArrayBuffer(0),ue=!0,le=void 0,ve=q.maxNetworkDelay,be=void 0):re(ue)?(Se=ue,ue=!0,le=void 0,ve=q.maxNetworkDelay,be=void 0):re(le)?(Se=le,le=void 0,ve=q.maxNetworkDelay,be=void 0):re(ve)?(Se=ve,ve=q.maxNetworkDelay,be=void 0):re(be)&&(Se=be,be=void 0);const Le={meta:le,data:_e,last:ue},We=this._mixin(!1,be,{ext:{binary:{}}});this.remoteCall(ae,Le,ve,We,Se)},this.getStatus=()=>b,this.isDisconnected=je,this.setBackoffIncrement=ae=>{q.backoffIncrement=ae},this.getBackoffIncrement=()=>q.backoffIncrement,this.getBackoffPeriod=()=>$,this.increaseBackoffPeriod=()=>it(),this.resetBackoffPeriod=()=>{Ge()},this.setLogLevel=ae=>{q.logLevel=ae},this.registerExtension=function(ae,_e){if(arguments.length<2)throw"Illegal arguments number: required 2, got "+arguments.length;if(!ie(ae))throw"Illegal argument type: extension name must be a string";let ue=!1;for(let le=0;le<V.length;++le)if(V[le].name===ae){ue=!0;break}return ue?(this._info("Could not register extension with name",ae,"since another extension with the same name already exists"),!1):(V.push({name:ae,extension:_e}),this._debug("Registered extension",ae),re(_e.registered)&&_e.registered(ae,this),!0)},this.unregisterExtension=function(ae){if(!ie(ae))throw"Illegal argument type: extension name must be a string";let _e=!1;for(let ue=0;ue<V.length;++ue){const le=V[ue];if(le.name===ae){V.splice(ue,1),_e=!0,this._debug("Unregistered extension",ae);const ve=le.extension;re(ve.unregistered)&&ve.unregistered();break}}return _e},this.getExtension=ae=>{for(let _e=0;_e<V.length;++_e){const ue=V[_e];if(ue.name===ae)return ue.extension}return null},this.getName=()=>p,this.getClientId=()=>S,this.getURL=()=>{if(y){let ae=y.getURL();if(ae||(ae=q.urls[y.getType()],ae))return ae}return q.url},this.getTransport=()=>y,this.getConfiguration=function(){return this._mixin(!0,{},q)},this.getAdvice=function(){return this._mixin(!0,{},K)},this.setTimeout=(ae,_e)=>s.setTimeout(()=>{try{l._debug("Invoking timed function",ae),ae()}catch(ue){l._debug("Exception invoking timed function",ae,ue)}},_e),this.clearTimeout=ae=>{s.clearTimeout(ae)},window.WebSocket&&this.registerTransport("websocket",new n),this.registerTransport("long-polling",new r),this.registerTransport("callback-polling",new d)}const o=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",".","-",":","+","=","^","!","/","*","?","&","<",">","(",")","[","]","{","}","@","%","$","#"],c=[0,68,0,84,83,82,72,0,75,76,70,65,0,63,62,69,0,1,2,3,4,5,6,7,8,9,64,0,73,66,74,71,81,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,77,0,78,67,0,0,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,79,0,80,0,0],e={encode:t=>{let s=null;if(t instanceof ArrayBuffer?s=t:t.buffer instanceof ArrayBuffer?s=t.buffer:Array.isArray(t)&&(s=new Uint8Array(t).buffer),s==null)throw"Cannot Z85 encode "+t;const l=s.byteLength,p=l%4,E=4-(p===0?4:p),m=new DataView(s);let y="",b=0;for(let I=0;I<l+E;++I){const S=I>=l;if(b=b*256+(S?0:m.getUint8(I)),(I+1)%4===0){let R=52200625;for(let N=5;N>0;--N){if(!S||N>E){const O=Math.floor(b/R)%85;y+=o[O]}R/=85}b=0}}return y},decode:t=>{const s=t.length%5,l=5-(s===0?5:s);for(let S=0;S<l;++S)t+=o[o.length-1];const p=t.length,E=new ArrayBuffer(p*4/5-l),m=new DataView(E);let y=0,b=0,I=0;for(let S=0;S<p;++S){const R=t.charCodeAt(b++)-32;if(y=y*85+c[R],b%5===0){let N=16777216;for(;N>=1;)I<m.byteLength&&m.setUint8(I++,Math.floor(y/N)%256),N/=256;y=0}}return E}};return h.default={CometD:i,Transport:f,RequestTransport:u,LongPollingTransport:r,CallbackPollingTransport:d,WebSocketTransport:n,Utils:_,Z85:e},h.default},A,x),A.exports=w},6273:(A,x,a)=>{var T,w;T=[a(806),a(41745),a(58340),a(20963),a(2812),a(32356),a(64627),a(24831),a(4279),a(8703),a(27834)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){r("mozilla","opera","webkit","ie","ie-6","ie-6-7","quirks","no-quirks","touch");var n="dgrid-row-odd",i="dgrid-row-even",o,c;function e(R){return document.getElementById(R)}function t(R){R.className="",document.body.removeChild(R)}function s(R,N){d(document.body,R,".dgrid-scrollbar-measure");var O=R["offset"+N]-R["client"+N];return t(R),O}v.add("dom-scrollbar-width",function(R,N,O){return s(O,"Width")}),v.add("dom-scrollbar-height",function(R,N,O){return s(O,"Height")}),v.add("dom-rtl-scrollbar-left",function(R,N,O){var L=d("div"),U;return d(document.body,O,".dgrid-scrollbar-measure[dir=rtl]"),d(O,L),U=!!v("ie")||!!v("trident")||L.offsetLeft>=v("dom-scrollbar-width"),t(O),d(L,"!"),O.removeAttribute("dir"),U});var l=0;function p(){return"dgrid_"+l++}var E=/ +/g;function m(R){var N=R?"."+R.replace(E,"."):"";this._class&&(N="!"+this._class.replace(E,"!")+N),d(this.domNode,N),this._class=R}function y(){return this._class}var b=v("ie")<7&&!v("quirks")?function(){var R,N,O,L;this._started&&(R=document.documentElement,N=R.clientWidth,O=R.clientHeight,L=this._prevWinDims||[],(L[0]!==N||L[1]!==O)&&(this.resize(),this._prevWinDims=[N,O]))}:function(){this._started&&this.resize()};function I(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}}function S(R){typeof R.x<"u"&&(this.bodyNode.scrollLeft=R.x),typeof R.y<"u"&&(this.bodyNode.scrollTop=R.y)}return C(v("touch")?u:null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,useTouchScroll:null,addUiClasses:!0,cleanEmptyObservers:!0,highlightDuration:250,postscript:function(R,N){var O=this;(this._Row=function(L,U,z){this.id=L,this.data=U,this.element=z}).prototype.remove=function(){O.removeRow(this.element)},N&&(this.srcNodeRef=N=N.nodeType?N:e(N)),this.create(R,N)},listType:"list",create:function(R,N){var O=this.domNode=N||d("div"),L;R?(this.params=R,C.safeMixin(this,R),L=R.class||R.className||O.className,this._sort=R.sort||[],delete this.sort):this._sort=[],this.observers=[],this._numObservers=0,this._listeners=[],this._rowIdToObject={},this.postMixInProperties&&this.postMixInProperties(),this.id=O.id=O.id||this.id||p(),this.useTouchScroll===null&&(this.useTouchScroll=!v("dom-scrollbar-width")),this.buildRendering(),L&&m.call(this,L),this.postCreate(),delete this.srcNodeRef,this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var R=this.domNode,N=this.addUiClasses,O=this,L,U,z,$,W;W=this.isRTL=(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase()=="rtl",R.className="",d(R,"[role=grid].dgrid.dgrid-"+this.listType+(N?".ui-widget":"")),L=this.headerNode=d(R,"div.dgrid-header.dgrid-header-row"+(N?".ui-widget-header":"")+(this.showHeader?"":".dgrid-header-hidden")),(v("quirks")||v("ie")<8)&&(U=d(R,"div.dgrid-spacer")),z=this.bodyNode=d(R,"div.dgrid-scroller"),v("ff")&&(z.tabIndex=-1),this.headerScrollNode=d(R,"div.dgrid-header.dgrid-header-scroll.dgrid-scrollbar-width"+(N?".ui-widget-header":"")),$=this.footerNode=d("div.dgrid-footer"+(this.showFooter?"":".dgrid-footer-hidden")),d(R,$),W&&(R.className+=" dgrid-rtl"+(v("dom-rtl-scrollbar-left")?" dgrid-rtl-swap":"")),_(z,"scroll",function(V){O.showHeader&&(L.scrollLeft=V.scrollLeft||z.scrollLeft),V.stopPropagation(),_.emit(R,"scroll",{scrollTarget:z})}),this.configStructure(),this.renderHeader(),this.contentNode=this.touchNode=d(this.bodyNode,"div.dgrid-content"+(N?".ui-widget-content":"")),this._listeners.push(this._resizeHandle=_(window,"resize",f.throttleDelayed(b,this)))},postCreate:v("touch")?function(){this.useTouchScroll&&this.inherited(arguments)}:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set("sort",this._sort))},configStructure:function(){},resize:function(){var R=this.bodyNode,N=this.headerNode,O=this.footerNode,L=N.offsetHeight,U=this.showFooter?O.offsetHeight:0,z=v("quirks")||v("ie")<7;this.headerScrollNode.style.height=R.style.marginTop=L+"px",R.style.marginBottom=U+"px",z&&(R.style.height="",R.style.height=Math.max(this.domNode.offsetHeight-L-U,0)+"px",U&&(O.style.bottom="1px",setTimeout(function(){O.style.bottom=""},0))),o||(o=v("dom-scrollbar-width"),c=v("dom-scrollbar-height"),v("ie")&&(o++,c++),f.addCssRule(".dgrid-scrollbar-width","width: "+o+"px"),f.addCssRule(".dgrid-scrollbar-height","height: "+c+"px"),o!=17&&!z&&(f.addCssRule(".dgrid-header-row","right: "+o+"px"),f.addCssRule(".dgrid-rtl-swap .dgrid-header-row","left: "+o+"px"))),z&&(N.style.width=R.clientWidth+"px",setTimeout(function(){N.scrollLeft=R.scrollLeft},0))},addCssRule:function(R,N){var O=f.addCssRule(R,N);return this.cleanAddedRules&&this._listeners.push(O),O},on:function(R,N){var O=_(this.domNode,R,N);return v("dom-addeventlistener")||this._listeners.push(O),O},cleanup:function(){var R=this.observers,N;for(N in this._rowIdToObject)if(this._rowIdToObject[N]!=this.columns){var O=e(N);O&&this.removeRow(O,!0)}for(N=0;N<R.length;N++){var L=R[N];L&&L.cancel()}this.observers=[],this._numObservers=0,this.preload=null},destroy:function(){if(this._listeners){for(var R=this._listeners.length;R--;)this._listeners[R].remove();delete this._listeners}this._started=!1,this.cleanup(),d(this.domNode,"!"),this.useTouchScroll&&this.inherited(arguments)},refresh:function(){this.cleanup(),this._rowIdToObject={},this._autoId=0,this.contentNode.innerHTML="",this.scrollTo({x:0,y:0})},newRow:function(R,N,O,L,U){if(N){var z=this.insertRow(R,N,O,L,U);return d(z,".dgrid-highlight"+(this.addUiClasses?".ui-state-highlight":"")),setTimeout(function(){d(z,"!dgrid-highlight!ui-state-highlight")},this.highlightDuration),z}},adjustRowIndices:function(R){var N=R,O=N.rowIndex;if(O>-1)do N.rowIndex>-1&&(this.maintainOddEven&&(N.className+" ").indexOf("dgrid-row ")>-1&&d(N,"."+(O%2==1?n:i)+"!"+(O%2==0?n:i)),N.rowIndex=O++);while((N=N.nextSibling)&&N.rowIndex!=O)},renderArray:function(R,N,O){O=O||{};var L=this,U=O.start||0,z=this.observers,$,W,V;if(N||(this._lastCollection=R),R.observe){L._numObservers++;var K=R.observe(function(oe,ie,pe){var ce,te,ne,re;function se(){ne=(ne.connected||ne).nextSibling}if(ie>-1&&$[ie]&&(ce=$.splice(ie,1)[0],ce.parentNode==W&&(te=ce.nextSibling,te&&ie!=pe&&te.rowIndex--,L.removeRow(ce)),O.count--,L._processScroll&&L._processScroll()),pe>-1){if($.length?pe===0?(ne=$[pe],ne=ne&&k(ne)):(ne=$[pe-1],ne&&(ne=k(ne),se())):ne=L._getFirstRowSibling&&L._getFirstRowSibling(W),ce&&ne&&ce.id===ne.id&&se(),ne&&!ne.parentNode&&(ne=e(ne.id)),re=N&&N.parentNode||ne&&ne.parentNode||L.contentNode,ce=L.newRow(oe,re,ne,O.start+pe,O),ce&&(ce.observerIndex=V,$.splice(pe,0,ce),!te||pe<ie)){var ge=ce.previousSibling;te=!ge||ge.rowIndex+1==ce.rowIndex||ce.rowIndex==0?ce:ge}O.count++}ie===0?P(1,1):ie===R.length-(pe===-1?0:1)&&P(0,0),ie!=pe&&te&&L.adjustRowIndices(te),L._onNotification($,oe,ie,pe)},!0);V=z.push(K)-1}var M=document.createDocumentFragment(),B;function P(){var oe=arguments;if(V>-1)for(var ie=0;ie<oe.length;ie++){var pe=oe[ie],ce=$[pe?0:$.length-1];if(ce=ce&&k(ce),ce){var te=ce[pe?"previousSibling":"nextSibling"];if(te&&(te=L.row(te)),te&&te.element!=ce){var ne=pe?"unshift":"push";R[ne](te.data),$[ne](te.element),O.count++}}}}function k(oe){return!g.isDescendant(oe,L.domNode)&&e(oe.id)?L.row(oe.id.slice(L.id.length+5)).element:oe}function H(oe){return B=L.insertRow(oe,M,null,U++,O),B.observerIndex=V,B}function Y(oe){if(typeof V<"u"&&(z[V].cancel(),z[V]=0,L._numObservers--),oe)throw oe}var G;function Q(oe){G=oe.slice(0),W=N?N.parentNode:L.contentNode,W&&W.parentNode&&(W!==L.contentNode||oe.length)?(W.insertBefore(M,N||null),B=oe[oe.length-1],B&&L.adjustRowIndices(B)):z[V]&&L.cleanEmptyObservers&&Y(),$=oe,K&&(K.rows=$)}if(R.map){if($=R.map(H,console.error),$.then)return R.then(function(oe){return R=oe,$.then(function(ie){return Q(ie),P(1,1,0,0),G})})}else{$=[];for(var J=0,q=R.length;J<q;J++)$[J]=H(R[J])}return Q($),P(1,1,0,0),G},_onNotification:function(R,N,O,L){},renderHeader:function(){},_autoId:0,insertRow:function(R,N,O,L,U){var z=U.parentId,$=this.id+"-row-"+(z?z+"-":"")+(this.store&&this.store.getIdentity?this.store.getIdentity(R):this._autoId++),W=e($),V=W&&W.previousSibling;return W&&(W===O&&(O=(O.connected||O).nextSibling),this.removeRow(W)),W=this.renderRow(R,U),W.className=(W.className||"")+" dgrid-row "+(L%2==1?n:i)+(this.addUiClasses?" ui-state-default":""),this._rowIdToObject[W.id=$]=R,N.insertBefore(W,O||null),V&&this.adjustRowIndices(V),W.rowIndex=L,W},renderRow:function(R,N){return d("div",""+R)},removeRow:function(R,N){R=R.element||R,delete this._rowIdToObject[R.id],N||d(R,"!")},row:function(R){var N;if(R instanceof this._Row)return R;if(R.target&&R.target.nodeType&&(R=R.target),R.nodeType){var O;do{var L=R.id;if(O=this._rowIdToObject[L])return new this._Row(L.substring(this.id.length+5),O,R);R=R.parentNode}while(R&&R!=this.domNode);return}return typeof R=="object"?N=this.store.getIdentity(R):(N=R,R=this._rowIdToObject[this.id+"-row-"+N]),new this._Row(N,R,e(this.id+"-row-"+N))},cell:function(R){return{row:this.row(R)}},_move:function(R,N,O,L){var U,z,$;$=z=R.element,N=N||1;do if(U=z[N<0?"previousSibling":"nextSibling"])do if(z=U,z&&(z.className+" ").indexOf(O+" ")>-1){$=z,N+=N<0?1:-1;break}while(U=(!L||!z.hidden)&&z[N<0?"lastChild":"firstChild"]);else if(z=z.parentNode,!z||z===this.bodyNode||z===this.headerNode)break;while(N);return $},up:function(R,N,O){return R.element||(R=this.row(R)),this.row(this._move(R,-(N||1),"dgrid-row",O))},down:function(R,N,O){return R.element||(R=this.row(R)),this.row(this._move(R,N||1,"dgrid-row",O))},scrollTo:v("touch")?function(R){return this.useTouchScroll?this.inherited(arguments):S.call(this,R)}:S,getScrollPosition:v("touch")?function(){return this.useTouchScroll?this.inherited(arguments):I.call(this)}:I,get:function(R){var N="_get"+R.charAt(0).toUpperCase()+R.slice(1);return typeof this[N]=="function"?this[N].apply(this,[].slice.call(arguments,1)):(!v("dojo-built")&&typeof this[N+"Attr"]=="function"&&console.warn("dgrid: Use "+N+" instead of "+N+"Attr for getting "+R),this[R])},set:function(R,N){if(typeof R=="object")for(var O in R)this.set(O,R[O]);else{var L="_set"+R.charAt(0).toUpperCase()+R.slice(1);typeof this[L]=="function"?this[L].apply(this,[].slice.call(arguments,1)):(!v("dojo-built")&&typeof this[L+"Attr"]=="function"&&console.warn("dgrid: Use "+L+" instead of "+L+"Attr for setting "+R),this[R]=N)}return this},_getClass:y,_setClass:m,_getClassName:y,_setClassName:m,_setSort:function(R,N){this._sort=typeof R!="string"?R:[{attribute:R,descending:N}],this.refresh(),this._lastCollection&&(R.length&&(typeof R!="string"&&(N=R[0].descending,R=R[0].attribute),this._lastCollection.sort(function(O,L){var U=O[R],z=L[R];return U===void 0&&(U=""),z===void 0&&(z=""),U==z?0:U>z==!N?1:-1})),this.renderArray(this._lastCollection))},sort:function(R,N){h.deprecated("sort(...)",'use set("sort", ...) instead',"dgrid 0.4"),this.set("sort",R,N)},_getSort:function(){return this._sort},_setShowHeader:function(R){var N=this.headerNode;this.showHeader=R,d(N,(R?"!":".")+"dgrid-header-hidden"),this.renderHeader(),this.resize(),R&&(N.scrollLeft=this.getScrollPosition().x)},setShowHeader:function(R){h.deprecated("setShowHeader(...)",'use set("showHeader", ...) instead',"dgrid 0.4"),this.set("showHeader",R)},_setShowFooter:function(R){this.showFooter=R,d(this.footerNode,(R?"!":".")+"dgrid-footer-hidden"),this.resize()}})},A,x),A.exports=w},61932:(A,x,a)=>{var T,w;T=[a(6273),a(73442),a(41745),a(40923),a(27952),a(58340),a(20963),a(32356),a(4279)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){return g([h,C],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:1/0,bufferRows:10,farOffRemoval:2e3,queryRowsOverlap:0,pagingMethod:"debounce",pagingDelay:r.defaultDelay,keepScrollPosition:!1,rowHeight:22,postCreate:function(){this.inherited(arguments);var n=this;u(this.bodyNode,"scroll",r[this.pagingMethod](function(i){n._processScroll(i)},null,this.pagingDelay))},renderQuery:function(n,i){var o=this,c=i&&i.container||this.contentNode,e={query:n,count:0,options:i},t,s=this.preload,l,p={node:d(c,"div.dgrid-preload",{rowIndex:0}),count:0,query:n,next:e,options:i};p.node.style.height="0",e.node=t=d(c,"div.dgrid-preload"),e.previous=p,t.rowIndex=this.minRowsPerPage,s?((e.next=s.next)&&t.offsetTop>=s.node.offsetTop?e.previous=s:(e.next=s,e.previous=s.previous),e.previous.next=e,e.next.previous=e):this.preload=e;var E=d(t,"-div.dgrid-loading"),m=d(E,"div.dgrid-below");m.innerHTML=this.loadingMessage;function y(b){if(d(E,"!"),b)throw o._refreshDeferred&&(o._refreshDeferred.reject(b),delete o._refreshDeferred),b}if(i=_.mixin(this.get("queryOptions"),i,{start:0,count:this.minRowsPerPage},"level"in n?{queryLevel:n.level}:null),this._trackError(function(){return l=n(i)}),typeof l>"u"){y();return}return v.when(o.renderArray(l,t,i),function(b){var I=typeof l.total>"u"?l.length:l.total;return v.when(I,function(S){var R=b.length,N=t.parentNode,O=o.noDataNode;d(E,"!"),"queryLevel"in i||(o._total=S),S===0&&(O&&(d(O,"!"),delete o.noDataNode),o.noDataNode=O=d("div.dgrid-no-data"),N.insertBefore(O,o._getFirstRowSibling(N)),O.innerHTML=o.noDataMessage);for(var L=0,U=0;U<R;U++)L+=o._calcRowHeight(b[U]);return R&&L&&(o.rowHeight=L/R),S-=R,e.count=S,t.rowIndex=R,S?t.style.height=Math.min(S*o.rowHeight,o.maxEmptySpace)+"px":(t.style.display="none",i.count++),o._previousScrollPosition&&(o.scrollTo(o._previousScrollPosition),delete o._previousScrollPosition),o._processScroll(),o._refreshDeferred&&(o._refreshDeferred.resolve(l),delete o._refreshDeferred),b},y)},y),l},refresh:function(n){var i=this,o=n&&n.keepScrollPosition,c,e;if(typeof o>"u"&&(o=this.keepScrollPosition),o&&(this._previousScrollPosition=this.getScrollPosition()),this.inherited(arguments),this.store)return c=this._refreshDeferred=new v,e=i.renderQuery(function(t){return i.store.query(i.query,t)}),typeof e>"u"&&c.reject(),c.then(function(t){return setTimeout(function(){u.emit(i.domNode,"dgrid-refresh-complete",{bubbles:!0,cancelable:!1,grid:i,results:t})},0),delete i._refreshDeferred,t},function(t){throw delete i._refreshDeferred,t})},resize:function(){this.inherited(arguments),this._processScroll()},_getFirstRowSibling:function(n){return n.lastChild},_calcRowHeight:function(n){var i=n.nextSibling;return i&&!/\bdgrid-preload\b/.test(i.className)?i.offsetTop-n.offsetTop:n.offsetHeight},lastScrollTop:0,_processScroll:function(n){var i=this,o=i.bodyNode,c=n&&n.scrollTop||this.getScrollPosition().y,e=o.offsetHeight+c,t,s,l=i.preload,p=i.lastScrollTop,E=i.bufferRows*i.rowHeight,m=E-i.rowHeight,y,b,I,S=!0,R=1;i.lastScrollTop=c;function N(q,oe,ie,pe){var ce=i.farOffRemoval,te=q.node;if(oe>2*ce){for(var ne,re=te[ie],se=0,ge=0,he=[];ne=re;){var fe=i._calcRowHeight(ne);if(se+fe+ce>oe||re.className.indexOf("dgrid-row")<0&&re.className.indexOf("dgrid-loading")<0)break;var re=ne[ie];se+=fe,ge+=ne.count||1,i.removeRow(ne,!0),he.push(ne)}q.count+=ge,pe?(te.rowIndex-=ge,O(q)):te.style.height=te.offsetHeight+se+"px";var me=d("div",he);setTimeout(function(){d(me,"!")},1)}}function O(q,oe){q.node.style.height=Math.min(q.count*i.rowHeight,oe?1/0:i.maxEmptySpace)+"px"}function L(q,oe){do q=oe?q.next:q.previous;while(q&&!q.node.offsetWidth);return q}for(;l&&!l.node.offsetWidth;)l=l.previous;for(;l&&l!=t;){t=i.preload,i.preload=l,s=l.node;var U=s.offsetTop,z;if(e+R+m<U)l=L(l,S=!1);else if(c-R-m>U+(z=s.offsetHeight))l=L(l,S=!0);else{var $=((s.rowIndex?c-E:e)-U)/i.rowHeight,W=(e-c+2*E)/i.rowHeight,V=Math.max(Math.min((c-p)*i.rowHeight,i.maxRowsPerPage/2),i.maxRowsPerPage/-2);if(W+=Math.min(Math.abs(V),10),s.rowIndex==0&&($-=W),$=Math.max($,0),$<10&&$>0&&W+$<i.maxRowsPerPage&&(W+=Math.max(0,$),$=0),W=Math.min(Math.max(W,i.minRowsPerPage),i.maxRowsPerPage,l.count),W==0){l=L(l,S);continue}W=Math.ceil(W),$=Math.min(Math.floor($),l.count-W);var K=_.mixin(i.get("queryOptions"),l.options);l.count-=W;var M=s,B,P=i.queryRowsOverlap,k=(s.rowIndex>0||s.offsetTop>c)&&l;if(k){var H=l.previous;H&&(N(H,c-(H.node.offsetTop+H.node.offsetHeight),"nextSibling"),$>0&&H.node==s.previousSibling?($=Math.min(l.count,$),l.previous.count+=$,O(l.previous,!0),s.rowIndex+=$,P=0):W+=$,l.count-=$),K.start=s.rowIndex-P,K.count=Math.min(W+P,i.maxRowsPerPage),s.rowIndex=K.start+K.count}else{if(l.next){N(l.next,l.next.node.offsetTop-e,"previousSibling",!0);var M=s.nextSibling;M==l.next.node?(l.next.count+=l.count-$,l.next.node.rowIndex=$+W,O(l.next),l.count=$,P=0):B=!0}K.start=l.count,K.count=Math.min(W+P,i.maxRowsPerPage)}if(B&&M&&M.offsetWidth&&(B=M.offsetTop),O(l),"level"in l.query&&(K.queryLevel=l.query.level),!("queryLevel"in K)&&(K.start>i._total||K.count<0))continue;var Y=d(M,"-div.dgrid-loading[style=height:"+W*i.rowHeight+"px]"),G=d(Y,"div.dgrid-"+(k?"below":"above"));G.innerHTML=i.loadingMessage,Y.count=W;var Q=l.query(K),J=i._trackError(function(){return Q});if(J===void 0){d(Y,"!");return}(function(q,oe,ie,pe){I=v.when(i.renderArray(pe,q,K),function(ce){if(b=pe,M=q.nextSibling,d(q,"!"),ie&&M&&M.offsetWidth){var te=i.getScrollPosition();i.scrollTo({x:te.x,y:te.y+M.offsetTop-ie,preserveMomentum:!0})}return v.when(pe.total||pe.length,function(ne){"queryLevel"in K||(i._total=ne),oe&&(oe.count=ne-oe.node.rowIndex,oe.count===0&&K.count++,O(oe))}),i._processScroll(),ce},function(ce){throw d(q,"!"),ce})}).call(this,Y,k,B,Q),l=l.previous}}I&&(y=this._refreshDeferred)&&(delete this._refreshDeferred,v.when(I,function(){y.resolve(b)}))},removeRow:function(n,i){function o(b,I){return b!=null?b:I}if(n){var c=n.previousSibling,e=n.nextSibling,t=c&&o(c.observerIndex,c.previousObserverIndex),s=e&&o(e.observerIndex,e.nextObserverIndex),l=n.observerIndex;if(n.observerIndex=void 0,i&&(n.nextObserverIndex=s,n.previousObserverIndex=t),this.cleanEmptyObservers&&l>-1&&l!==t&&l!==s){var p=this.observers,E=p[l];if(E){if(!i){for(var m=E.rows,y=0;y<m.length;y++)if(m[y]!=n&&f.isDescendant(m[y],this.domNode))return this.inherited(arguments)}E.cancel(),this._numObservers--,p[l]=0}}}this.inherited(arguments)}})},A,x),A.exports=w},97467:(A,x,a)=>{var T,w;T=[a(806),a(41745),a(27952),a(20963),a(2812),a(33070),a(6273),a(53694),a(91589),a(4279),a(39196),a(8703)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){v.add("dom-comparedocumentposition",function(E,m,y){return!!y.compareDocumentPosition}),v.add("css-user-select",function(E,m,y){var b=y.style,I=["Khtml","O","ms","Moz","Webkit"],S=I.length,R="userSelect";do if(typeof b[R]<"u")return R;while(S--&&(R=I[S]+"UserSelect"));return!1}),v.add("dom-selectstart",typeof document.onselectstart<"u");var i=v("mac")?"metaKey":"ctrlKey",o=v("css-user-select"),c=r.pointer,e=r.MSPointer,t=c?c+(e?"Down":"down"):"mousedown",s=c?c+(e?"Up":"up"):"mouseup";function l(E,m){for(var y=E.unselectable=m?"on":"",b=E.getElementsByTagName("*"),I=b.length;--I;)b[I].tagName==="INPUT"||b[I].tagName==="TEXTAREA"||(b[I].unselectable=y)}function p(E,m){var y=E.bodyNode,b=m?"text":v("ff")<21?"-moz-none":"none";o&&o!=="msUserSelect"?y.style[o]=b:v("dom-selectstart")?!m&&!E._selectstartHandle?E._selectstartHandle=_(y,"selectstart",function(I){var S=I.target&&I.target.tagName;S!=="INPUT"&&S!=="TEXTAREA"&&I.preventDefault()}):m&&E._selectstartHandle&&(E._selectstartHandle.remove(),delete E._selectstartHandle):(l(y,!m),!m&&!E._unselectableHandle?E._unselectableHandle=f.after(E,"renderRow",function(I){return l(I,!0),I}):m&&E._unselectableHandle&&(E._unselectableHandle.remove(),delete E._unselectableHandle))}return C(null,{selectionDelegate:".dgrid-row",selectionEvents:t+","+s+",dgrid-cellfocusin",selectionTouchEvents:v("touch")?d.tap:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:"extended",allowTextSelection:void 0,_selectionTargetType:"rows",create:function(){return this.selection={},this.inherited(arguments)},postCreate:function(){this.inherited(arguments),this._initSelectionEvents();var E=this.selectionMode;this.selectionMode="",this._setSelectionMode(E)},destroy:function(){this.inherited(arguments),this._selectstartHandle&&this._selectstartHandle.remove(),this._unselectableHandle&&this._unselectableHandle.remove(),this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(E){E!=this.selectionMode&&(this.clearSelection(),this.selectionMode=E,this._selectionHandlerName="_"+E+"SelectionHandler",this._setAllowTextSelection(this.allowTextSelection))},setSelectionMode:function(E){h.deprecated("setSelectionMode(...)",'use set("selectionMode", ...) instead',"dgrid 0.4"),this.set("selectionMode",E)},_setAllowTextSelection:function(E){typeof E<"u"?p(this,E):p(this,this.selectionMode==="none"),this.allowTextSelection=E},_handleSelect:function(E,m){!this[this._selectionHandlerName]||!this.allowSelect(this.row(m))||E.type==="dgrid-cellfocusin"&&E.parentType===t||E.type===s&&m!=this._waitForMouseUp||(this._waitForMouseUp=null,this._selectionTriggerEvent=E,(!E.keyCode||!E.ctrlKey||E.keyCode==32)&&(!E.shiftKey&&E.type===t&&this.isSelected(m)?this._waitForMouseUp=m:this[this._selectionHandlerName](E,m)),this._selectionTriggerEvent=null)},_singleSelectionHandler:function(E,m){var y=E.keyCode?E.ctrlKey:E[i];this._lastSelected===m?this.select(m,null,!y||!this.isSelected(m)):(this.clearSelection(),this.select(m),this._lastSelected=m)},_multipleSelectionHandler:function(E,m){var y=this._lastSelected,b=E.keyCode?E.ctrlKey:E[i],I;E.shiftKey||(I=b?null:!0,y=null),this.select(m,y,I),y||(this._lastSelected=m)},_extendedSelectionHandler:function(E,m){(E.button===2?!this.isSelected(m):!(E.keyCode?E.ctrlKey:E[i]))&&this.clearSelection(null,!0),this._multipleSelectionHandler(E,m)},_toggleSelectionHandler:function(E,m){this.select(m,null,null)},_initSelectionEvents:function(){var E=this,m=this.contentNode,y=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]},v("touch")&&!v("pointer")&&this.selectionTouchEvents?(_(m,d.selector(y,this.selectionTouchEvents),function(b){E._handleSelect(b,this),E._ignoreMouseSelect=this}),_(m,_.selector(y,this.selectionEvents),function(b){E._ignoreMouseSelect!==this?E._handleSelect(b,this):b.type===s&&(E._ignoreMouseSelect=null)})):_(m,_.selector(y,this.selectionEvents),function(b){E._handleSelect(b,this)}),this.addKeyHandler&&this.addKeyHandler(32,function(b){E._handleSelect(b,b.target)}),this.allowSelectAll&&this.on("keydown",function(b){b[i]&&b.keyCode==65&&!/\bdgrid-input\b/.test(b.target.className)&&(b.preventDefault(),E[E.allSelected?"clearSelection":"selectAll"]())}),this._setStore&&f.after(this,"_setStore",function(){E._updateDeselectionAspect()}),this._updateDeselectionAspect()},_updateDeselectionAspect:function(){var E=this,m=this.store,y,b;function I(S,R,N){var O=R||S&&S[E.idProperty||"id"];if(O!=null){var L=E.row(O),U=L&&E.selection[L.id];U&&E[N](L,null,U)}}this._removeDeselectSignals&&this._removeDeselectSignals(),m&&m.notify?(y=f.before(m,"notify",function(S,R){S||I(S,R,"deselect")}),b=f.after(m,"notify",function(S,R){I(S,R,"select")},!0),this._removeDeselectSignals=function(){y.remove(),b.remove()}):(y=f.before(this,"removeRow",function(S,R){var N;R||(N=this.row(S),N&&N.id in this.selection&&this.deselect(N))}),this._removeDeselectSignals=function(){y.remove()})},allowSelect:function(E){return!0},_fireSelectionEvent:function(E){var m=this._selectionEventQueues[E],y=this._selectionTriggerEvent,b;b={bubbles:!0,grid:this},y&&(b.parentType=y.type),b[this._selectionTargetType]=m,_.emit(this.contentNode,"dgrid-"+E,b),this._selectionEventQueues[E]=[]},_fireSelectionEvents:function(){var E=this._selectionEventQueues,m;for(m in E)E[m].length&&this._fireSelectionEvent(m)},_select:function(E,m,y){var b,I,S,R,N;if(typeof y>"u"&&(y=!0),E.element||(E=this.row(E)),(y===!1||this.allowSelect(E))&&(b=this.selection,I=!!b[E.id],y===null&&(y=!I),S=E.element,!y&&!this.allSelected?delete this.selection[E.id]:b[E.id]=y,S&&(y?n(S,".dgrid-selected"+(this.addUiClasses?".ui-state-active":"")):n(S,"!dgrid-selected!ui-state-active")),y!==I&&S&&this._selectionEventQueues[(y?"":"de")+"select"].push(E),m)){if(m.element||(m=this.row(m)),!m){this._lastSelected=S,console.warn("The selection range has been reset because the beginning of the selection is no longer in the DOM. If you are using OnDemandList, you may wish to increase farOffRemoval to avoid this, but note that keeping more nodes in the DOM may impact performance.");return}if(R=m.element,R)for(N=this._determineSelectionDirection(S,R),N||(R=document.getElementById(R.id),N=this._determineSelectionDirection(S,R));E.element!=R&&(E=this[N](E));)this._select(E,null,y)}},_determineSelectionDirection:v("dom-comparedocumentposition")?function(E,m){var y=m.compareDocumentPosition(E);return y&1?!1:y===2?"down":"up"}:function(E,m){return m.sourceIndex<1?!1:m.sourceIndex>E.sourceIndex?"down":"up"},select:function(E,m,y){this._select(E,m,y),this._fireSelectionEvents()},deselect:function(E,m){this.select(E,m,!1)},clearSelection:function(E,m){this.allSelected=!1;for(var y in this.selection)E!==y&&this._select(y,null,!1);m||(this._lastSelected=null),this._fireSelectionEvents()},selectAll:function(){this.allSelected=!0,this.selection={};for(var E in this._rowIdToObject){var m=this.row(this._rowIdToObject[E]);this._select(m.id,null,!0)}this._fireSelectionEvents()},isSelected:function(E){return typeof E>"u"||E===null?!1:(E.element||(E=this.row(E)),E.id in this.selection?!!this.selection[E.id]:this.allSelected&&(!E.data||this.allowSelect(E)))},refresh:function(){return this.deselectOnRefresh&&this.clearSelection(),this._lastSelected=null,this.inherited(arguments)},renderArray:function(){var E=this,m=this.inherited(arguments);return g.when(m,function(y){var b=E.selection,I,S,R;for(I=0;I<y.length;I++)S=E.row(y[I]),R=S.id in b?b[S.id]:E.allSelected,R&&E._select(S,null,R);E._fireSelectionEvents()}),m}})},A,x),A.exports=w},64627:(A,x,a)=>{var T,w;T=[a(41745),a(20963),a(91589),a(94455),a(4279),a(38040)],w=a.dj.d(T,function(h,C,g,_,v){var f=50,u=30,r={},d={},n=1,i=8,o=/^translate(?:3d)?\((-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,c=/^matrix\(1, 0, 0, 1, (-?\d+)(?:\.\d*)?(?:px)?, (-?\d+)/,e=_("css-transitions"),t=_("transitionend"),s=_("css-transforms"),l=_("css-transforms3d"),p,E,m,y,b;if(l?(y="translate3d(",b=",0)"):s&&(y="translate(",b=")"),!e||!y)return console.warn("CSS3 features unavailable for touch scroll effects."),function(){};m=l||s,m=m===!0?"transform":m+"Transform",E=e===!0?"transition":e+"Transition",p=s===!0?"":"-"+s.toLowerCase()+"-";function I(K,M){var B=K.touchNode,P=B.parentNode,k=P.offsetWidth-i,H=P.offsetHeight-i,Y=M.scrollWidth=B.scrollWidth,G=M.scrollHeight=B.scrollHeight,Q=M.parentWidth=P.offsetWidth,J=M.parentHeight=P.offsetHeight,q;Y>Q?(K._scrollbarXNode||(q=v(P,"div.touchscroll-x")),q=K._scrollbarXNode=K._scrollbarXNode||v(q,"div.touchscroll-bar"),q.style.width=k*k/Y+"px",q.style.left=B.offsetLeft+"px",v(P,".touchscroll-scrollable-x"),M.scrollableX=!0):v(P,"!touchscroll-scrollable-x"),G>J?(K._scrollbarYNode||(q=v(P,"div.touchscroll-y")),q=K._scrollbarYNode=K._scrollbarYNode||v(q,"div.touchscroll-bar"),q.style.height=H*H/G+"px",q.style.top=B.offsetTop+"px",v(P,".touchscroll-scrollable-y"),M.scrollableY=!0):v(P,"!touchscroll-scrollable-y"),v(P,"!touchscroll-fadeout")}function S(K,M){var B=K.touchNode,P=r[K.id],k,H,Y,G,Q;typeof M!="object"?(G=M,Q=arguments[2],M=arguments[3],H=Y=!0):(H="x"in M,Y="y"in M,(!H||!Y)&&(k=K.getScrollPosition()),G=H?M.x:k.x,Q=Y?M.y:k.y),B.style[m]=y+-G+"px,"+-Q+"px"+b,P&&H&&K._scrollbarXNode&&(K._scrollbarXNode.style[m]=y+G*P.parentWidth/P.scrollWidth+"px,0"+b),P&&Y&&K._scrollbarYNode&&(K._scrollbarYNode.style[m]=y+"0,"+Q*P.parentHeight/P.scrollHeight+"px"+b),C.emit(K.touchNode.parentNode,"scroll",{scrollLeft:G,scrollTop:Q})}function R(K){return r[K.id]?c.exec(window.getComputedStyle(K.touchNode)[m]):o.exec(K.touchNode.style[m])}function N(K){var M=this.widget,B=[this.node,M._scrollbarXNode,M._scrollbarYNode],P=B.length;for(this.timer&&(clearTimeout(this.timer),this.timer=null),this.transitionHandler&&this.transitionHandler.remove();P--;)B[P]&&(B[P].style[E+"Duration"]="0");(!K||!K.preserveScrollbars)&&v(this.node.parentNode,".touchscroll-fadeout"),delete this.resetEffects}function O(K){var M=K.widget,B=M.touchNode,P=M.id,k=0,H=0,Y,G,Q;g.countCurrentTouches(K,B)===M.touchesToScroll&&(G=R(M),G&&(k=+G[1],H=+G[2]),(Q=r[P])&&(Q.resetEffects&&Q.resetEffects({preserveScrollbars:!0}),B.style[m]=y+k+"px,"+H+"px"+b,d[P]=Q),Y=K.targetTouches[0],Q=r[P]={widget:M,node:B,startX:k-Y.pageX,startY:H-Y.pageY,lastX:k,lastY:H,pageX:Y.pageX,pageY:Y.pageY,tickFunc:function(){z(P)}},Q.timer=setTimeout(Q.tickFunc,f))}function L(K){var M=K.widget,B=M.id,P=M.touchesToScroll,k=r[B],H,Y,G,Q,J,q,oe,ie;if(!k||(H=g.countCurrentTouches(K,M.touchNode))!==P){H>P&&M.cancelTouchScroll();return}if(Y=K.targetTouches,G=Y[0],!k.scrollbarsShown&&(d[B]||Math.abs(G.pageX-k.pageX)>M.scrollThreshold||Math.abs(G.pageY-k.pageY)>M.scrollThreshold))for(I(M,k),k.scrollbarsShown=!0,ie=Y.length;ie--;)Y[ie].touchScrolled=!0;k.scrollbarsShown&&(k.scrollableX||k.scrollableY)&&(K.preventDefault(),Q=k.scrollableX?k.startX+G.pageX:0,J=k.scrollableY?k.startY+G.pageY:0,q=k.scrollableX?-(k.scrollWidth-k.parentWidth):0,oe=k.scrollableY?-(k.scrollHeight-k.parentHeight):0,Q>0?Q=Q/2:Q<q&&(Q=q-(q-Q)/2),J>0?J=J/2:J<oe&&(J=oe-(oe-J)/2),S(M,-Q,-J))}function U(K){var M=K.widget,B=M.id,P=r[B];!P||g.countCurrentTouches(K,M.touchNode)!=M.touchesToScroll-1||W(B)}function z(K){var M=r[K],B,P,k,H;M&&(B=M.node,P=o.exec(B.style[m]),P?(k=+P[1],H=+P[2],M.velX=k-M.lastX,M.velY=H-M.lastY,M.lastX=k,M.lastY=H):M.lastX=M.lastY=0,M.timer=setTimeout(M.tickFunc,f))}function $(K,M,B){var P=r[K],k=P.widget,H=P.node,Y,G=P.scrollableX?Math.max(Math.min(0,M),-(P.scrollWidth-P.parentWidth)):M,Q=P.scrollableY?Math.max(Math.min(0,B),-(P.scrollHeight-P.parentHeight)):B;function J(){delete P.transitionHandler,P.resetEffects(),delete r[K]}delete P.timer,G!=M||Q!=B?(P.transitionHandler=C.once(H,t,J),H.style[E+"Duration"]=k.bounceDuration+"ms",H.style[m]=y+G+"px,"+Q+"px"+b,G!=M&&P.scrollableX&&(Y=P.widget._scrollbarXNode,Y.style[E+"Duration"]=k.bounceDuration+"ms",M>G?Y.style[m]=y+"0,0"+b:Y.style[m]=y+(Y.parentNode.offsetWidth-Y.offsetWidth)+"px,0"+b),Q!=B&&P.scrollableY&&(Y=P.widget._scrollbarYNode,Y.style[E+"Duration"]=k.bounceDuration+"ms",B>Q?Y.style[m]=y+"0,0"+b:Y.style[m]=y+"0,"+(Y.parentNode.offsetHeight-Y.offsetHeight)+"px"+b)):J()}function W(K){var M=r[K],B=d[K],P,k,H,Y=1.15;if(delete d[K],M.timer&&clearTimeout(M.timer),M.resetEffects=N,P=o.exec(M.node.style[m]),P?(k=+P[1],H=+P[2]):k=H=0,!M.velX&&!M.velY||(k>=0||k<=-(M.scrollWidth-M.parentWidth))&&(H>=0||H<=-(M.scrollHeight-M.parentHeight))){$(K,k,H);return}function G(Q,J){return(Q.velX<=0&&J.velX<=0||Q.velX>=0&&J.velX>=0)&&(Q.velY<=0&&J.velY<=0||Q.velY>=0&&J.velY>=0)}B&&(B.velX||B.velY)&&G(M,B)&&(M.velX=(M.velX+B.velX)*Y,M.velY=(M.velY+B.velY)*Y),M.lastX=k,M.lastY=H,M.calcFunc=function(){V(K)},M.timer=setTimeout(M.calcFunc,u)}function V(K){var M=r[K],B,P,k,H,Y,G,Q,J,q=6;if(M)if(B=M.node,P=B.parentNode,k=M.widget,Q=k.glideDecel(M.velX),J=k.glideDecel(M.velY),Math.abs(Q)>=n||Math.abs(J)>=n){if(Y=M.lastX+Q,G=M.lastY+J,Y>0||Y<-(M.scrollWidth-M.parentWidth))for(H=q;H--;)Q=k.glideDecel(Q);if(G>0||G<-(M.scrollHeight-M.parentHeight))for(H=q;H--;)J=k.glideDecel(J);S(k,-Y,-G),M.lastX=Y,M.lastY=G,M.velX=Q,M.velY=J,M.timer=setTimeout(M.calcFunc,u)}else $(K,M.lastX,M.lastY)}return h(null,{touchesToScroll:1,touchNode:null,scrollThreshold:10,bounceDuration:300,postCreate:function(){this._initTouch(),this.inherited(arguments)},_initTouch:function(){var K=this.touchNode=this.touchNode||this.containerNode,M=this,B;if(!K||!K.parentNode){console.warn("TouchScroll requires a nested node upon which to operate.");return}B=K.parentNode,B.style.overflow="hidden",K.style[E+"Property"]=p+"transform",K.style[E+"TimingFunction"]="cubic-bezier(0.33, 0.66, 0.66, 1)";function P(){M.cancelTouchScroll()}function k(H){return function(Y){Y.widget=M,Y.cancelTouchScroll=P,H.call(this,Y)}}this._touchScrollListeners=[C(B,"touchstart",k(O)),C(B,"touchmove",k(L)),C(B,"touchend,touchcancel",k(U))]},destroy:function(){for(var K=this._touchScrollListeners.length;K--;)this._touchScrollListeners[K].remove();delete r[this.id],this.inherited(arguments)},scrollTo:function(K){var M=r[this.id],B=this.touchNode,P=B.parentNode;!K.preserveMomentum&&M&&M.resetEffects&&M.resetEffects(),K.x&&(K.x=Math.max(0,Math.min(K.x,B.scrollWidth-P.offsetWidth))),K.y&&(K.y=Math.max(0,Math.min(K.y,B.scrollHeight-P.offsetHeight))),S(this,K)},getScrollPosition:function(){var K=R(this);return K?{x:-K[1],y:-K[2]}:{x:0,y:0}},cancelTouchScroll:function(){var K=r[this.id];K&&(K.resetEffects?K.resetEffects():(K.timer&&clearTimeout(K.timer),v(K.node.parentNode,".touchscroll-fadeout")),delete r[this.id])},glideDecel:function(K){return K*.9}})},A,x),A.exports=w},73442:(A,x,a)=>{var T,w;T=[a(806),a(41745),a(40923),a(27952),a(20963),a(33070),a(4279)],w=a.dj.d(T,function(h,C,g,_,v,f,u){function r(n){return n}function d(n){if(typeof n!="object")n=new Error(n);else if(n.dojoType==="cancel")return;n.grid=this,v.emit(this.domNode,"dgrid-error",{grid:this,error:n,cancelable:!0,bubbles:!0})&&console.error(n)}return C(null,{store:null,query:null,queryOptions:null,getBeforePut:!0,noDataMessage:"",loadingMessage:"",constructor:function(){this.query={},this.queryOptions={},this.dirty={},this._updating={},this._columnsWithSet={},f.before(this,"configStructure",g.hitch(this,function(){this._columnsWithSet={}}))},postCreate:function(){this.inherited(arguments),this.store&&this._updateNotifyHandle(this.store)},destroy:function(){this.inherited(arguments),this._notifyHandle&&this._notifyHandle.remove()},_configColumn:function(n){n.set&&(this._columnsWithSet[n.field]=n),this.inherited(arguments)},_updateNotifyHandle:function(n){if(this._notifyHandle&&(this._notifyHandle.remove(),delete this._notifyHandle),n&&typeof n.notify=="function"){this._notifyHandle=f.after(n,"notify",g.hitch(this,"_onNotify"),!0);var i=this.get("sort");(!i||!i.length)&&console.warn("Observable store detected, but no sort order specified. You may experience quirks when adding/updating items. These can be resolved by setting a sort order on the list or grid.")}},_setStore:function(n,i,o){this._updateNotifyHandle(n),this.store=n,this.dirty={},this.set("query",i,o)},_setQuery:function(n,i){var o=i&&i.sort;this.query=n!==void 0?n:this.query,this.queryOptions=i||this.queryOptions,o?this.set("sort",o):this.refresh()},setStore:function(n,i,o){h.deprecated("setStore(...)",'use set("store", ...) instead',"dgrid 0.4"),this.set("store",n,i,o)},setQuery:function(n,i){h.deprecated("setQuery(...)",'use set("query", ...) instead',"dgrid 0.4"),this.set("query",n,i)},_getQueryOptions:function(){var n=g.delegate(this.queryOptions,{});return(typeof this._sort=="function"||this._sort.length)&&(n.sort=this._sort),n},_getQuery:function(){var n=this.query;return typeof n=="object"&&n!=null?g.delegate(n,{}):n},_setSort:function(n,i){this.store&&(this._lastCollection=null),this.inherited(arguments)},_onNotify:function(n,i){this.inherited(arguments),n&&this._numObservers<1&&this.refresh({keepScrollPosition:!0})},refresh:function(){var n=this.inherited(arguments);return this.store||(this.noDataNode=u(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),n},renderArray:function(){var n=this,i=this.inherited(arguments);return this.store||_.when(i,function(o){o.length&&n.noDataNode&&u(n.noDataNode,"!")}),i},insertRow:function(n,i,o,c,e){var t=this.store,s=this.dirty,l=t&&t.getIdentity(n),p;return l in s&&!(l in this._updating)&&(p=s[l]),p&&(n=g.delegate(n,p)),this.inherited(arguments)},updateDirty:function(n,i,o){var c=this.dirty,e=c[n];e||(e=c[n]={}),e[i]=o},setDirty:function(n,i,o){h.deprecated("setDirty(...)","use updateDirty() instead","dgrid 0.4"),this.updateDirty(n,i,o)},save:function(){var n=this,i=this.store,o=this.dirty,c=new _,e=c.promise,t=function(E){var m;return n.getBeforePut||!(m=n.row(E).data)?function(){return i.get(E)}:function(){return m}};function s(E,m){return function(y){var b=n._columnsWithSet,I=n._updating,S,R;if(typeof y.set=="function")y.set(m);else for(S in m)y[S]=m[S];for(S in b)R=b[S].set(y),R!==void 0&&(y[S]=R);return I[E]=!0,_.when(i.put(y),function(){delete o[E],delete I[E]})}}for(var l in o){var p=s(l,o[l]);e=e.then(t(l)).then(p)}return c.resolve(),e},revert:function(){this.dirty={},this.refresh()},_trackError:function(n){var i;typeof n=="string"&&(n=g.hitch(this,n));try{i=n()}catch(o){d.call(this,o)}return _.when(i,r,g.hitch(this,d))},newRow:function(){var n=this.inherited(arguments);return this.noDataNode&&(u(this.noDataNode,"!"),delete this.noDataNode),n},removeRow:function(n,i){var o={element:n};return!i&&this.noDataMessage&&this.up(o).element===n&&this.down(o).element===n&&(this.noDataNode=u(this.contentNode,"div.dgrid-no-data"),this.noDataNode.innerHTML=this.noDataMessage),this.inherited(arguments)}})},A,x),A.exports=w},94455:(A,x,a)=>{var T,w;T=[a(2812)],w=a.dj.d(T,function(h){var C=["ms","O","Moz","Webkit"];function g(_,v){var f=_.style,u;if(v in f)return!0;for(v=v.slice(0,1).toUpperCase()+v.slice(1),u=C.length;u--;)if(C[u]+v in f)return C[u];return!1}return h.add("css-transitions",function(_,v,f){return g(f,"transitionProperty")}),h.add("css-transforms",function(_,v,f){return g(f,"transform")}),h.add("css-transforms3d",function(_,v,f){return g(f,"perspective")}),h.add("transitionend",function(){var _=h("css-transitions");return _?_===!0?"transitionend":{ms:"MSTransitionEnd",O:"oTransitionEnd",Moz:"transitionend",Webkit:"webkitTransitionEnd"}[_]:!1}),h},A,x),A.exports=w},53694:(A,x,a)=>{var T,w;T=[a(2812)],w=a.dj.d(T,function(h){h.add("pointer",function(v){return"PointerEvent"in v?"pointer":"MSPointerEvent"in v?"MSPointer":!1});var C=h("pointer"),g=C&&C.slice(0,2)==="MS",_={};return _.pointer=C,_.MSPointer=g,_},A,x),A.exports=w},32356:(A,x,a)=>{var T,w;T=[a(2812),a(4279)],w=a.dj.d(T,function(h,C){h.add("dom-contains",function(n,i,o){return!!o.contains});var g=[],_,v,f,u=/([^A-Za-z0-9_\u00A0-\uFFFF-])/g;function r(n){var i=g[n],o,c;if(i!==void 0)for(_[v](i),g[n]=void 0,o=n+1,c=g.length;o<c;o++)g[o]>i&&g[o]--}var d={defaultDelay:15,throttle:function(n,i,o){var c=!1;return o=o||d.defaultDelay,function(){c||(c=!0,n.apply(i,arguments),setTimeout(function(){c=!1},o))}},throttleDelayed:function(n,i,o){var c=!1;return o=o||d.defaultDelay,function(){if(!c){c=!0;var e=arguments;setTimeout(function(){c=!1,n.apply(i,e)},o)}}},debounce:function(n,i,o){var c;return o=o||d.defaultDelay,function(){c&&(clearTimeout(c),c=null);var e=arguments;c=setTimeout(function(){n.apply(i,e)},o)}},each:function(n,i,o){var c,e;if(n)if(typeof n.length=="number")for(c=0,e=n.length;c<e;c++)i.call(o,n[c],c,n);else for(c in n)i.call(o,n[c],c,n)},contains:function(n,i){return h("dom-contains")?n.contains(i):n.compareDocumentPosition(i)&8},addCssRule:function(n,i){_||(_=C(document.getElementsByTagName("head")[0],"style"),_=_.sheet||_.styleSheet,v=_.deleteRule?"deleteRule":"removeRule",f=_.cssRules?"cssRules":"rules");var o=g.length;return g[o]=(_.cssRules||_.rules).length,_.addRule?_.addRule(n,i):_.insertRule(n+"{"+i+"}",g[o]),{get:function(c){return _[f][g[o]].style[c]},set:function(c,e){typeof g[o]<"u"&&(_[f][g[o]].style[c]=e)},remove:function(){r(o)}}},escapeCssIdentifier:function(n,i){return typeof n=="string"?n.replace(u,i||"\\$1"):n}};return d},A,x),A.exports=w},91589:(A,x,a)=>{var T,w;T=[a(20963),a(39196)],w=a.dj.d(T,function(h,C){var g={tapRadius:10,dbltapTime:250,selector:function(u,r,d){return function(n,i){var o=r.bubble;return o?r=o:d!==!1&&(d=!0),h(n,r,function(c){var e=c.target;for(e.nodeType==3&&(e=e.parentNode);!C.matches(e,u,n);)if(e==n||!d||!(e=e.parentNode))return;return i.call(e,c)})}},countCurrentTouches:function(u,r){if(!("touches"in u))return-1;var d,n,i;for(d=0,n=0;i=u.touches[d];++d)r.contains(i.target)&&++n;return n}};function _(u,r,d,n){if(!(d.targetTouches.length>1)){var i=d.changedTouches[0],o=i.screenX,c=i.screenY;n&&d.preventDefault();var e=h(u,"touchend",function(t){var s=t.changedTouches[0];t.targetTouches.length||(Math.abs(s.screenX-o)<g.tapRadius&&Math.abs(s.screenY-c)<g.tapRadius&&(n&&t.preventDefault(),r.call(this,t)),e.remove())})}}function v(u,r){return h(u,"touchstart",function(d){_(u,r,d)})}function f(u,r){var d,n;return h(u,"touchstart",function(i){d?_(u,function(o){if(d){var c=o.changedTouches[0];Math.abs(c.screenX-d.screenX)<g.tapRadius&&Math.abs(c.screenY-d.screenY)<g.tapRadius&&(n&&clearTimeout(n),d=n=null,r.call(this,o))}},i,!0):_(u,function(o){d=o.changedTouches[0],n=setTimeout(function(){d=n=null},g.dbltapTime)},i)})}return g.tap=v,g.dbltap=f,g},A,x),A.exports=w},13475:(A,x,a)=>{var T,w;T=[a.dj.c(A),a(55166),a(93577),a(96916),a(41032),a(40923),a(20963),a(82896)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){r.add("config-bgIframe",(r("ie")||r("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var d=new function(){var n=[];this.pop=function(){var i;if(n.length)i=n.pop(),i.style.display="";else{if(r("ie")<9){var o=g.dojoBlankHtmlUrl||h.toUrl("dojo/resources/blank.html")||'javascript:""',c="<iframe src='"+o+`' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity="0");'>`;i=document.createElement(c)}else i=_.create("iframe"),i.src='javascript:""',i.className="dijitBackgroundIframe",i.setAttribute("role","presentation"),v.set(i,"opacity",.1);i.tabIndex=-1}return i},this.push=function(i){i.style.display="none",n.push(i)}};return C.BackgroundIframe=function(n){if(!n.id)throw new Error("no id");if(r("config-bgIframe")){var i=this.iframe=d.pop();n.appendChild(i),r("ie")<7||r("quirks")?(this.resize(n),this._conn=u(n,"resize",f.hitch(this,"resize",n))):v.set(i,{width:"100%",height:"100%"})}},f.extend(C.BackgroundIframe,{resize:function(n){this.iframe&&v.set(this.iframe,{width:n.offsetWidth+"px",height:n.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),d.push(this.iframe),delete this.iframe)}}),C.BackgroundIframe},A,x),A.exports=w},78513:(A,x,a)=>{var T,w;T=[a(37222),a(33070),a(41745)],w=a.dj.d(T,function(h,C,g){return g("dijit.Destroyable",null,{destroy:function(_){this._destroyed=!0},own:function(){var _=["destroyRecursive","destroy","remove"];return h.forEach(arguments,function(v){var f,u=C.before(this,"destroy",function(n){v[f](n)}),r=[];function d(){u.remove(),h.forEach(r,function(n){n.remove()})}v.then?(f="cancel",v.then(d,d)):h.forEach(_,function(n){typeof v[n]=="function"&&(f||(f=n),r.push(C.after(v,n,d,!0)))})},this),arguments}})},A,x),A.exports=w},58944:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(14433),a(58340),a(48201),a(24485),a(41032),a(40923),a(70495),a(20963),a(82896),a(78923),a(85296),a(68806),a(13053),a(13475),a(81084),a(55166)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p){var E=C("dijit._MasterTooltip",[e,t],{duration:o.defaultDuration,templateString:l,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new s(this.domNode),this.fadeIn=g.fadeIn({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onShow")}),this.fadeOut=g.fadeOut({node:this.domNode,duration:this.duration,onEnd:r.hitch(this,"_onHide")})},show:function(N,O,L,U,z,$,W){if(!(this.aroundNode&&this.aroundNode===O&&this.containerNode.innerHTML==N)){if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return}this.containerNode.innerHTML=N,z&&this.set("textDir",z),this.containerNode.align=U?"right":"left";var V=c.around(this.domNode,O,L&&L.length?L:R.defaultPosition,!U,r.hitch(this,"orient")),K=V.aroundNodePos;V.corner.charAt(0)=="M"&&V.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=K.y+(K.h-this.connectorNode.offsetHeight>>1)-V.y+"px",this.connectorNode.style.left=""):V.corner.charAt(1)=="M"&&V.aroundCorner.charAt(1)=="M"?this.connectorNode.style.left=K.x+(K.w-this.connectorNode.offsetWidth>>1)-V.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),u.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=O,this.onMouseEnter=$||S,this.onMouseLeave=W||S}},orient:function(N,O,L,U,z){this.connectorNode.style.top="";var $=U.h,W=U.w;N.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[O+"-"+L],this.domNode.style.width="auto";var V=f.position(this.domNode);(i("ie")||i("trident"))&&(V.w+=2);var K=Math.min(Math.max(W,1),V.w);if(f.setMarginBox(this.domNode,{w:K}),L.charAt(0)=="B"&&O.charAt(0)=="B"){var M=f.position(N),B=this.connectorNode.offsetHeight;if(M.h>$){var P=$-(z.h+B>>1);this.connectorNode.style.top=P+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(z.h/2-B/2,0),M.h-B)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,V.w-W)},_onShow:function(){i("ie")&&(this.domNode.style.filter="")},hide:function(N){this._onDeck&&this._onDeck[1]==N?this._onDeck=null:this.aroundNode===N&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=S},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});i("dojo-bidi")&&E.extend({_setAutoTextDir:function(N){this.applyTextDir(N),h.forEach(N.children,function(O){this._setAutoTextDir(O)},this)},_setTextDirAttr:function(N){this._set("textDir",N),N=="auto"?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),p.showTooltip=function(N,O,L,U,z,$,W){return L&&(L=h.map(L,function(V){return{after:"after-centered",before:"before-centered"}[V]||V})),R._masterTT||(p._masterTT=R._masterTT=new E),R._masterTT.show(N,O,L,U,z,$,W)},p.hideTooltip=function(N){return R._masterTT&&R._masterTT.hide(N)};var m="DORMANT",y="SHOW TIMER",b="SHOWING",I="HIDE TIMER";function S(){}var R=C("dijit.Tooltip",e,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(N){h.forEach(this._connections||[],function(O){h.forEach(O,function(L){L.remove()})},this),this._connectIds=h.filter(r.isArrayLike(N)?N:N?[N]:[],function(O){return _.byId(O,this.ownerDocument)},this),this._connections=h.map(this._connectIds,function(O){var L=_.byId(O,this.ownerDocument),U=this.selector,z=U?function(W){return n.selector(U,W)}:function(W){return W},$=this;return[n(L,z(d.enter),function(){$._onHover(this)}),n(L,z("focusin"),function(){$._onHover(this)}),n(L,z(d.leave),r.hitch($,"_onUnHover")),n(L,z("focusout"),r.hitch($,"set","state",m))]},this),this._set("connectId",N)},addTarget:function(N){var O=N.id||N;h.indexOf(this._connectIds,O)==-1&&this.set("connectId",this._connectIds.concat(O))},removeTarget:function(N){var O=N.id||N,L=h.indexOf(this._connectIds,O);L>=0&&(this._connectIds.splice(L,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),v.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var N=this.connectId;h.forEach(r.isArrayLike(N)?N:[N],this.addTarget,this)},getContent:function(N){return this.label||this.domNode.innerHTML},state:m,_setStateAttr:function(N){if(!(this.state==N||N==y&&this.state==b||N==I&&this.state==m)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),N){case m:this._connectNode&&(R.hide(this._connectNode),delete this._connectNode,this.onHide());break;case y:this.state!=b&&(this._showTimer=this.defer(function(){this.set("state",b)},this.showDelay));break;case b:var O=this.getContent(this._connectNode);if(!O){this.set("state",m);return}R.show(O,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,r.hitch(this,"set","state",b),r.hitch(this,"set","state",I)),this.onShow(this._connectNode,this.position);break;case I:this._hideTimer=this.defer(function(){this.set("state",m)},this.hideDelay);break}this._set("state",N)}},_onHover:function(N){this._connectNode&&N!=this._connectNode&&this.set("state",m),this._connectNode=N,this.set("state",y)},_onUnHover:function(N){this.set("state",I)},open:function(N){this.set("state",m),this._connectNode=N,this.set("state",b)},close:function(){this.set("state",m)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",m),h.forEach(this._connections||[],function(N){h.forEach(N,function(O){O.remove()})},this),this.inherited(arguments)}});return R._MasterTooltip=E,R.show=p.showTooltip,R.hide=p.hideTooltip,R.defaultPosition=["after-centered","before-centered"],R},A,x),A.exports=w},83604:(A,x,a)=>{var T,w;T=[a(41745),a(48201),a(2812),a(99890),a(40923),a(20963),a(20391),a(81837),a(72809),a(88088),a(13053),a(40608),a(55166)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){var e=h("dijit.TooltipDialog",[r,i,n,d],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:o,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments),this.own(f(this.domNode,"keydown",v.hitch(this,"_onKey")))},orient:function(t,s,l){var p={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[s+"-"+l];C.replace(this.domNode,p,this._currentOrientClass||""),this._currentOrientClass=p},focus:function(){this._getFocusItems(),u.focus(this._firstFocusItem)},onOpen:function(t){this.orient(this.domNode,t.aroundCorner,t.corner);var s=t.aroundNodePos;t.corner.charAt(0)=="M"&&t.aroundCorner.charAt(0)=="M"?(this.connectorNode.style.top=s.y+(s.h-this.connectorNode.offsetHeight>>1)-t.y+"px",this.connectorNode.style.left=""):t.corner.charAt(1)=="M"&&t.aroundCorner.charAt(1)=="M"&&(this.connectorNode.style.left=s.x+(s.w-this.connectorNode.offsetWidth>>1)-t.x+"px"),this._onShow()},onClose:function(){this.onHide()},_onKey:function(t){if(t.keyCode==_.ESCAPE)this.defer("onCancel"),t.stopPropagation(),t.preventDefault();else if(t.keyCode==_.TAB){var s=t.target;this._getFocusItems(),this._firstFocusItem==this._lastFocusItem?(t.stopPropagation(),t.preventDefault()):s==this._firstFocusItem&&t.shiftKey?(u.focus(this._lastFocusItem),t.stopPropagation(),t.preventDefault()):s==this._lastFocusItem&&!t.shiftKey?(u.focus(this._firstFocusItem),t.stopPropagation(),t.preventDefault()):t.stopPropagation()}}});return g("dojo-bidi")&&e.extend({_setTitleAttr:function(t){this.containerNode.title=this.textDir&&this.enforceTextDirWithUcc?this.enforceTextDirWithUcc(null,t):t,this._set("title",t)},_setTextDirAttr:function(t){(!this._created||this.textDir!=t)&&(this._set("textDir",t),this.textDir&&this.title&&(this.containerNode.title=this.enforceTextDirWithUcc(null,this.title)))}}),e},A,x),A.exports=w},70285:(A,x,a)=>{var T,w;T=[a(43661),a(20963),a(85849),a(82896),a(61106)],w=a.dj.d(T,function(h,C,g,_,v){var f=new h,u;return g(function(){var r=v.getBox();if(f._rlh=C(window,"resize",function(){var n=v.getBox();r.h==n.h&&r.w==n.w||(r=n,f.emit("resize"))}),_("ie")==8){var d=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=d&&(d=screen.deviceXDPI,f.emit("resize"))},500)}_("ios")&&(C(document,"focusin",function(n){u=n.target}),C(document,"focusout",function(n){u=null}))}),f.getEffectiveBox=function(r){var d=v.getBox(r),n=u&&u.tagName&&u.tagName.toLowerCase();if(_("ios")&&u&&!u.readOnly&&(n=="textarea"||n=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(u.type))){d.h*=orientation==0||orientation==180?.66:.4;var i=u.getBoundingClientRect();d.h=Math.max(d.h,i.top+i.height)}return d},f},A,x),A.exports=w},81638:(A,x,a)=>{var T,w;T=[a.dj.c(A),a(37222),a(92785),a(41745),a(40923),a(70495),a(20963),a(45115),a(81663)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){var n=v.delegate(r,{mouseenter:f.enter,mouseleave:f.leave,keypress:g._keypress}),i,o=_("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(c){for(var e=c;;)if(e.nodeType==1&&(this._processTemplateNode(e,function(t,s){return t.getAttribute(s)},this._attach)||this.searchContainerNode)&&e.firstChild)e=e.firstChild;else{if(e==c)return;for(;!e.nextSibling;)if(e=e.parentNode,e==c)return;e=e.nextSibling}},_processTemplateNode:function(c,e,t){var s=!0,l=this.attachScope||this,p=e(c,"dojoAttachPoint")||e(c,"data-dojo-attach-point");if(p)for(var E,m=p.split(/\s*,\s*/);E=m.shift();)v.isArray(l[E])?l[E].push(c):l[E]=c,s=E!="containerNode",this._attachPoints.push(E);var y=e(c,"dojoAttachEvent")||e(c,"data-dojo-attach-event");if(y){for(var b,I=y.split(/\s*,\s*/),S=v.trim;b=I.shift();)if(b){var R=null;if(b.indexOf(":")!=-1){var N=b.split(":");b=S(N[0]),R=S(N[1])}else b=S(b);R||(R=b),this._attachEvents.push(t(c,b,v.hitch(l,R)))}}return s},_attach:function(c,e,t){return e=e.replace(/^on/,"").toLowerCase(),e=="dijitclick"?e=i||(i=h("./a11yclick")):e=n[e]||e,u(c,e,t)},_detachTemplateNodes:function(){var c=this.attachScope||this;C.forEach(this._attachPoints,function(e){delete c[e]}),this._attachPoints=[],C.forEach(this._attachEvents,function(e){e.remove()}),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return v.extend(d,{dojoAttachEvent:"",dojoAttachPoint:""}),o},A,x),A.exports=w},33727:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){var h={LRM:"\u200E",LRE:"\u202A",PDF:"\u202C",RLM:"\u200F",RLE:"\u202B"};return{getTextDir:function(C){return this.textDir=="auto"?this._checkContextual(C):this.textDir},_checkContextual:function(C){var g=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(C);return g?g[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(C,g){if(this.textDir){var _=this.textDir;if(_=="auto"){if(typeof g>"u"){var v=C.tagName.toLowerCase();g=v=="input"||v=="textarea"?C.value:C.innerText||C.textContent||""}_=this._checkContextual(g)}C.dir!=_&&(C.dir=_)}},enforceTextDirWithUcc:function(C,g){if(this.textDir){C&&(C.originalText=g);var _=this.textDir=="auto"?this._checkContextual(g):this.textDir;return(_=="ltr"?h.LRE:h.RLE)+g+h.PDF}return g},restoreOriginalText:function(C){return C.originalText&&(C.text=C.originalText,delete C.originalText),C},_setTextDirAttr:function(C){if(!this._created||this.textDir!=C){this._set("textDir",C);var g=null;this.displayNode?(g=this.displayNode,this.displayNode.align=this.dir=="rtl"?"right":"left"):g=this.textDirNode||this.focusNode||this.textbox,g&&this.applyTextDir(g)}}}},A,x),A.exports=w},36733:(A,x,a)=>{var T,w;T=[a(41745),a(26268)],w=a.dj.d(T,function(h,C){return h("dijit._Contained",null,{_getSibling:function(g){var _=this.getParent();return _&&_._getSiblingOfChild&&_._getSiblingOfChild(this,g=="previous"?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var g=this.getParent();return!g||!g.getIndexOfChild?-1:g.getIndexOfChild(this)}})},A,x),A.exports=w},37679:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(96916),a(806)],w=a.dj.d(T,function(h,C,g,_){return C("dijit._Container",null,{buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode)},addChild:function(v,f){var u=this.containerNode;if(f>0){for(u=u.firstChild;f>0;)u.nodeType==1&&f--,u=u.nextSibling;u?f="before":(u=this.containerNode,f="last")}g.place(v.domNode,u,f),this._started&&!v._started&&v.startup()},removeChild:function(v){if(typeof v=="number"&&(v=this.getChildren()[v]),v){var f=v.domNode;f&&f.parentNode&&f.parentNode.removeChild(f)}},hasChildren:function(){return this.getChildren().length>0},_getSiblingOfChild:function(v,f){var u=this.getChildren(),r=h.indexOf(u,v);return u[r+f]},getIndexOfChild:function(v){return h.indexOf(this.getChildren(),v)}})},A,x),A.exports=w},62397:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(58340),a(48201),a(2812),a(40923),a(20963),a(85849),a(45115),a(2251),a(28435),a(26268)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o){var c=C("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments),h.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(t){this.watch(t,f.hitch(this,"_setStateClass"))},this);for(var e in this.cssStateNodes||{})this._trackMouseState(this[e],this.cssStateNodes[e]);this._trackMouseState(this.domNode,this.baseClass),this._setStateClass()},_cssMouseEvent:function(e){if(!this.disabled)switch(e.type){case"mouseover":case"MSPointerOver":case"pointerover":this._set("hovering",!0),this._set("active",this._mouseDown);break;case"mouseout":case"MSPointerOut":case"pointerout":this._set("hovering",!1),this._set("active",!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":this._set("active",!0);break;case"mouseup":case"dojotouchend":case"MSPointerUp":case"pointerup":case"keyup":this._set("active",!1);break}},_setStateClass:function(){var e=this.baseClass.split(" ");function t(y){e=e.concat(h.map(e,function(b){return b+y}),"dijit"+y)}this.isLeftToRight()||t("Rtl");var s=this.checked=="mixed"?"Mixed":this.checked?"Checked":"";this.checked&&t(s),this.state&&t(this.state),this.selected&&t("Selected"),this._opened&&t("Opened"),this.disabled?t("Disabled"):this.readOnly?t("ReadOnly"):this.active?t("Active"):this.hovering&&t("Hover"),this.focused&&t("Focused");var l=this.stateNode||this.domNode,p={};h.forEach(l.className.split(" "),function(y){p[y]=!0}),"_stateClasses"in this&&h.forEach(this._stateClasses,function(y){delete p[y]}),h.forEach(e,function(y){p[y]=!0});var E=[];for(var m in p)E.push(m);l.className=E.join(" "),this._stateClasses=e},_subnodeCssMouseEvent:function(e,t,s){if(this.disabled||this.readOnly)return;function l(m){_.toggle(e,t+"Hover",m)}function p(m){_.toggle(e,t+"Active",m)}function E(m){_.toggle(e,t+"Focused",m)}switch(s.type){case"mouseover":case"MSPointerOver":case"pointerover":l(!0);break;case"mouseout":case"MSPointerOut":case"pointerout":l(!1),p(!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":p(!0);break;case"mouseup":case"MSPointerUp":case"pointerup":case"dojotouchend":case"keyup":p(!1);break;case"focus":case"focusin":E(!0);break;case"blur":case"focusout":E(!1);break}},_trackMouseState:function(e,t){e._cssState=t}});return r(function(){function e(l,p,E){if(!(E&&g.isDescendant(E,p))){for(var m=p;m&&m!=E;m=m.parentNode)if(m._cssState){var y=o.getEnclosingWidget(m);y&&(m==y.domNode?y._cssMouseEvent(l):y._subnodeCssMouseEvent(m,m._cssState,l))}}}var t=n.body(),s;u(t,d.over,function(l){e(l,l.target,l.relatedTarget)}),u(t,d.out,function(l){e(l,l.target,l.relatedTarget)}),u(t,i.press,function(l){s=l.target,e(l,s)}),u(t,i.release,function(l){e(l,s),s=null}),u(t,"focusin, focusout",function(l){var p=l.target;if(p._cssState&&!p.getAttribute("widgetId")){var E=o.getEnclosingWidget(p);E&&E._subnodeCssMouseEvent(p,p._cssState,l)}})}),c},A,x),A.exports=w},72809:(A,x,a)=>{var T,w;T=[a(41745),a(90843)],w=a.dj.d(T,function(h,C){return h("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute(),this.execute(this.get("value"))},_getFocusItems:function(){var g=C._getTabNavigable(this.domNode);this._firstFocusItem=g.lowest||g.first||this.closeButtonNode||this.domNode,this._lastFocusItem=g.last||g.highest||this._firstFocusItem}})},A,x),A.exports=w},74959:(A,x,a)=>{var T,w;T=[a(20391),a(81663),a(41745),a(40923)],w=a.dj.d(T,function(h,C,g,_){return _.extend(C,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),g("dijit._FocusMixin",null,{_focusManager:h})},A,x),A.exports=w},26624:(A,x,a)=>{var T,w;T=[a(20963),a(37222),a(99890),a(41745),a(2812),a(28435)],w=a.dj.d(T,function(h,C,g,_,v,f){var u=_("dijit._OnDijitClickMixin",null,{connect:function(r,d,n){return this.inherited(arguments,[r,d=="ondijitclick"?f:d,n])}});return u.a11yclick=f,u},A,x),A.exports=w},13053:(A,x,a)=>{var T,w;T=[a(88586),a(41745),a(96916),a(40923),a(20963),a(82896),a(71275),a(81638)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){var d=C("dijit._TemplatedMixin",r,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(n){var i=this.declaredClass,o=this;return u.substitute(n,this,function(c,e){if(e.charAt(0)=="!"&&(c=_.getObject(e.substr(1),!1,o)),typeof c>"u")throw new Error(i+" template:"+e);return c==null?"":e.charAt(0)=="!"?c:this._escapeValue(""+c)},this)},_escapeValue:function(n){return n.replace(/["'<>&]/g,function(i){return{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}[i]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=h(this.templatePath,{sanitize:!0}));var n=d.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),i;if(_.isString(n)){if(i=g.toDom(this._stringRepl(n),this.ownerDocument),i.nodeType!=1)throw new Error("Invalid template: "+n)}else i=n.cloneNode(!0);this.domNode=i}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(n){var i=this.containerNode;if(n&&i)for(;n.hasChildNodes();)i.appendChild(n.firstChild)}});return d._templateCache={},d.getCachedTemplate=function(n,i,o){var c=d._templateCache,e=n,t=c[e];if(t){try{if(!t.ownerDocument||t.ownerDocument==(o||document))return t}catch(l){}g.destroy(t)}if(n=u.trim(n),i||n.match(/\$\{([^\}]+)\}/g))return c[e]=n;var s=g.toDom(n,o);if(s.nodeType!=1)throw new Error("Invalid template: "+n);return c[e]=s},f("ie")&&v(window,"unload",function(){var n=d._templateCache;for(var i in n){var o=n[i];typeof o=="object"&&g.destroy(o),delete n[i]}}),d},A,x),A.exports=w},68806:(A,x,a)=>{var T,w;T=[a(33070),a(93577),a(92785),a(41745),a(2812),a(806),a(40923),a(39196),a(70111),a(26268),a(81663),a(26624),a(74959),a(38221),a(91203)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){function e(){}function t(l){return function(p,E,m,y){return p&&typeof E=="string"&&p[E]==e?p.on(E.substring(2).toLowerCase(),u.hitch(m,y)):l.apply(g,arguments)}}h.around(g,"connect",t),f.connect&&h.around(f,"connect",t);var s=_("dijit._Widget",[i,o,c],{onClick:e,onDblClick:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseOut:e,onMouseOver:e,onMouseLeave:e,onMouseEnter:e,onMouseUp:e,constructor:function(l){this._toConnect={};for(var p in l)this[p]===e&&(this._toConnect[p.replace(/^on/,"").toLowerCase()]=l[p],delete l[p])},postCreate:function(){this.inherited(arguments);for(var l in this._toConnect)this.on(l,this._toConnect[l]);delete this._toConnect},on:function(l,p){return this[this._onMap(l)]===e?g.connect(this.domNode,l.toLowerCase(),this,p):this.inherited(arguments)},_setFocusedAttr:function(l){this._focused=l,this._set("focused",l)},setAttribute:function(l,p){f.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(l,p)},attr:function(l,p){var E=arguments.length;return E>=2||typeof l=="object"?this.set.apply(this,arguments):this.get(l)},getDescendants:function(){return f.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?r("[widgetId]",this.containerNode).map(n.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return v("dijit-legacy-requires")&&d(0,function(){var l=["dijit/_base"];require(l)}),s},A,x),A.exports=w},81663:(A,x,a)=>{var T,w;T=[a.dj.c(A),a(37222),a(33070),a(93577),a(92785),a(41745),a(58340),a(38142),a(48201),a(96916),a(24485),a(41032),a(2812),a(806),a(40923),a(20963),a(70111),a(39414),a(17279),a(2251),a(78513),a.dj.h("dojo-bidi?33727"),a(26268)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b,I){c.add("dijit-legacy-requires",!e.isAsync),c.add("dojo-bidi",!1),c("dijit-legacy-requires")&&l(0,function(){var U=["dijit/_base/manager"];h(U)});var S={};function R(U){var z={};for(var $ in U)z[$.toLowerCase()]=!0;return z}function N(U){return function(z){r[z?"set":"remove"](this.domNode,U,z),this._set(U,z)}}function O(U,z){return U===z||U!==U&&z!==z}var L=f("dijit._WidgetBase",[p,y],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:N("lang"),dir:"",_setDirAttr:N("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(U){this._set("ownerDocument",U)},attributeMap:{},_blankGif:_.blankGif||h.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var U=this.constructor;if(!U._setterAttrs){var z=U.prototype,$=U._setterAttrs=[],W=U._onMap={};for(var V in z.attributeMap)$.push(V);for(V in z)/^on/.test(V)&&(W[V.substring(2).toLowerCase()]=V),/^_set[A-Z](.*)Attr$/.test(V)&&(V=V.charAt(4).toLowerCase()+V.substr(5,V.length-9),(!z.attributeMap||!(V in z.attributeMap))&&$.push(V))}},postscript:function(U,z){this.create(U,z)},create:function(U,z){this._introspect(),this.srcNodeRef=u.byId(z),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&typeof this.srcNodeRef.id=="string"&&(this.id=this.srcNodeRef.id),U&&(this.params=U,t.mixin(this,U)),this.postMixInProperties(),this.id||(this.id=I.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=m.body(this.ownerDocument),I.add(this),this.buildRendering();var $;if(this.domNode){this._applyAttributes();var W=this.srcNodeRef;W&&W.parentNode&&this.domNode!==W&&(W.parentNode.replaceChild(this.domNode,W),$=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),$&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var U={};for(var z in this.params||{})U[z]=this._get(z);C.forEach(this.constructor._setterAttrs,function($){if(!($ in U)){var W=this._get($);W&&this.set($,W)}},this);for(z in U)this.set(z,U[z])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var U=this.baseClass.split(" ");this.isLeftToRight()||(U=U.concat(C.map(U,function(z){return z+"Rtl"}))),d.add(this.domNode,U)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,C.forEach(this.getChildren(),function(U){!U._started&&!U._destroyed&&t.isFunction(U.startup)&&(U.startup(),U._started=!0)}))},destroyRecursive:function(U){this._beingDestroyed=!0,this.destroyDescendants(U),this.destroy(U)},destroy:function(U){this._beingDestroyed=!0,this.uninitialize();function z($){$.destroyRecursive?$.destroyRecursive(U):$.destroy&&$.destroy(U)}C.forEach(this._connects,t.hitch(this,"disconnect")),C.forEach(this._supportingWidgets,z),this.domNode&&C.forEach(I.findWidgets(this.domNode,this.containerNode),z),this.destroyRendering(U),I.remove(this.id),this._destroyed=!0},destroyRendering:function(U){this.bgIframe&&(this.bgIframe.destroy(U),delete this.bgIframe),this.domNode&&(U?r.remove(this.domNode,"widgetId"):n.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(U||n.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(U){C.forEach(this.getChildren(),function(z){z.destroyRecursive&&z.destroyRecursive(U)})},uninitialize:function(){return!1},_setStyleAttr:function(U){var z=this.domNode;t.isObject(U)?o.set(z,U):z.style.cssText?z.style.cssText+="; "+U:z.style.cssText=U,this._set("style",U)},_attrToDom:function(U,z,$){$=arguments.length>=3?$:this.attributeMap[U],C.forEach(t.isArray($)?$:[$],function(W){var V=this[W.node||W||"domNode"],K=W.type||"attribute";switch(K){case"attribute":t.isFunction(z)&&(z=t.hitch(this,z));var M=W.attribute?W.attribute:/^on[A-Z][a-zA-Z]*$/.test(U)?U.toLowerCase():U;V.tagName?r.set(V,M,z):V.set(M,z);break;case"innerText":V.innerHTML="",V.appendChild(this.ownerDocument.createTextNode(z));break;case"textContent":V.textContent=z;break;case"innerHTML":V.innerHTML=z;break;case"class":d.replace(V,z,this[U]);break;case"toggleClass":d.toggle(V,W.className||U,z);break}},this)},get:function(U){var z=this._getAttrNames(U);return this[z.g]?this[z.g]():this._get(U)},set:function(U,z){if(typeof U=="object"){for(var $ in U)this.set($,U[$]);return this}var W=this._getAttrNames(U),V=this[W.s];if(t.isFunction(V))var K=V.apply(this,Array.prototype.slice.call(arguments,1));else{var M=this.focusNode&&!t.isFunction(this.focusNode)?"focusNode":"domNode",B=this[M]&&this[M].tagName,P=B&&(S[B]||(S[B]=R(this[M]))),k=U in this.attributeMap?this.attributeMap[U]:W.s in this?this[W.s]:P&&W.l in P&&typeof z!="function"||/^aria-|^data-|^role$/.test(U)?M:null;k!=null&&this._attrToDom(U,z,k),this._set(U,z)}return K||this},_attrPairNames:{},_getAttrNames:function(U){var z=this._attrPairNames;if(z[U])return z[U];var $=U.replace(/^[a-z]|-[a-zA-Z]/g,function(W){return W.charAt(W.length-1).toUpperCase()});return z[U]={n:U+"Node",s:"_set"+$+"Attr",g:"_get"+$+"Attr",l:$.toLowerCase()}},_set:function(U,z){var $=this[U];this[U]=z,this._created&&!O($,z)&&(this._watchCallbacks&&this._watchCallbacks(U,$,z),this.emit("attrmodified-"+U,{detail:{prevValue:$,newValue:z}}))},_get:function(U){return this[U]},emit:function(U,z,$){z=z||{},z.bubbles===void 0&&(z.bubbles=!0),z.cancelable===void 0&&(z.cancelable=!0),z.detail||(z.detail={}),z.detail.widget=this;var W,V=this["on"+U];return V&&(W=V.apply(this,$||[z])),this._started&&!this._beingDestroyed&&s.emit(this.domNode,U.toLowerCase(),z),W},on:function(U,z){var $=this._onMap(U);return $?g.after(this,$,z,!0):this.own(s(this.domNode,U,z))[0]},_onMap:function(U){var z=this.constructor,$=z._onMap;if(!$){$=z._onMap={};for(var W in z.prototype)/^on/.test(W)&&($[W.replace(/^on/,"").toLowerCase()]=W)}return $[typeof U=="string"&&U.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?I.findWidgets(this.containerNode):[]},getParent:function(){return I.getEnclosingWidget(this.domNode.parentNode)},connect:function(U,z,$){return this.own(v.connect(U,z,this,$))[0]},disconnect:function(U){U.remove()},subscribe:function(U,z){return this.own(E.subscribe(U,t.hitch(this,z)))[0]},unsubscribe:function(U){U.remove()},isLeftToRight:function(){return this.dir?this.dir.toLowerCase()=="ltr":i.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&o.get(this.domNode,"display")!="none"},placeAt:function(U,z){var $=!U.tagName&&I.byId(U);if($&&$.addChild&&(!z||typeof z=="number"))$.addChild(this,z);else{var W=$&&"domNode"in $?$.containerNode&&!/after|before|replace/.test(z||"")?$.containerNode:$.domNode:u.byId(U,this.ownerDocument);n.place(this.domNode,W,z),!this._started&&(this.getParent()||{})._started&&this.startup()}return this},defer:function(U,z){var $=setTimeout(t.hitch(this,function(){$&&($=null,this._destroyed||t.hitch(this,U)())}),z||0);return{remove:function(){return $&&(clearTimeout($),$=null),null}}}});return c("dojo-bidi")&&L.extend(b),L},A,x),A.exports=w},78923:(A,x,a)=>{var T,w;T=[a(37222),a(93577),a(40923),a(26268),a(55166)],w=a.dj.d(T,function(h,C,g,_,v){var f={};return h.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(u){f[u]=_[u]}),g.mixin(f,{defaultDuration:C.defaultDuration||200}),g.mixin(v,f),v},A,x),A.exports=w},37629:(A,x,a)=>{var T,w;T=[a(93577)],w=a.dj.d(T,function(h){var C={warn:function(_){console&&console.warn&&console.warn(_)},error:function(_){console&&console.error&&console.error(_)}},g={deprecated:function(_){var v,f,u=!!h.isDebug||!!window.showDeprecationsAsErrors;u&&this._isConfigValid(_)&&(f=window.showDeprecationsAsErrors||_.deprecationLevel===this.ERROR?this.ERROR:this.WARN,v="DEPRECATED: ",_.deprecated&&(v+=_.deprecated.module,_.deprecated.method&&(v+="."+_.deprecated.method+"()"),v+="."),_.replacement&&(v+=" Use "+_.replacement.module,_.replacement.method&&(v+="."+_.replacement.method+"()"),v+=" instead."),_.removalVersion&&(v+=" Will be removed in version: "+_.removalVersion+"."),_.geckNumber&&(v+=" Please use g"+_.geckNumber+" to track latest information regarding this deprecation"),_.additionalInformation&&(v+=" "+_.additionalInformation),C[f](v))},_isConfigValid:function(_){var v=!!_.deprecated&&typeof _.deprecated=="object"&&_.deprecated.hasOwnProperty("module");return _.replacement&&(v=v&&typeof _.replacement=="object"&&_.replacement.hasOwnProperty("module")),_.geckNumber&&(v=v&&typeof _.geckNumber=="number"),v||C.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),v}};return Object.defineProperties(g,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),g},A,x),A.exports=w},90843:(A,x,a)=>{var T,w;T=[a(37222),a(58340),a(38142),a(41032),a(40923),a(82896),a(55166)],w=a.dj.d(T,function(h,C,g,_,v,f,u){var r,d={_isElementShown:function(n){var i=_.get(n);return i.visibility!="hidden"&&i.visibility!="collapsed"&&i.display!="none"&&g.get(n,"type")!="hidden"},hasDefaultTabStop:function(n){switch(n.nodeName.toLowerCase()){case"a":return g.has(n,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var i;try{var o=n.contentDocument;if("designMode"in o&&o.designMode=="on")return!0;i=o.body}catch(c){try{i=n.contentWindow.document.body}catch(e){return!1}}return i&&(i.contentEditable=="true"||i.firstChild&&i.firstChild.contentEditable=="true");default:return n.contentEditable=="true"}},effectiveTabIndex:function(n){return g.get(n,"disabled")?r:g.has(n,"tabIndex")?+g.get(n,"tabIndex"):d.hasDefaultTabStop(n)?0:r},isTabNavigable:function(n){return d.effectiveTabIndex(n)>=0},isFocusable:function(n){return d.effectiveTabIndex(n)>=-1},_getTabNavigable:function(n){var i,o,c,e,t,s,l={};function p(I){return I&&I.tagName.toLowerCase()=="input"&&I.type&&I.type.toLowerCase()=="radio"&&I.name&&I.name.toLowerCase()}var E=d._isElementShown,m=d.effectiveTabIndex,y=function(I){for(var S=I.firstChild;S;S=S.nextSibling)if(!(S.nodeType!=1||f("ie")<=9&&S.scopeName!=="HTML"||!E(S))){var R=m(S);if(R>=0){R==0?(i||(i=S),o=S):R>0&&((!c||R<e)&&(e=R,c=S),(!t||R>=s)&&(s=R,t=S));var N=p(S);g.get(S,"checked")&&N&&(l[N]=S)}S.nodeName.toUpperCase()!="SELECT"&&y(S)}};E(n)&&y(n);function b(I){return l[p(I)]||I}return{first:b(i),last:b(o),lowest:b(c),highest:b(t)}},getFirstInTabbingOrder:function(n,i){var o=d._getTabNavigable(C.byId(n,i));return o.lowest?o.lowest:o.first},getLastInTabbingOrder:function(n,i){var o=d._getTabNavigable(C.byId(n,i));return o.last?o.last:o.highest}};return f("extend-dojo")&&v.mixin(u,d),d},A,x),A.exports=w},28435:(A,x,a)=>{var T,w;T=[a(99890),a(70495),a(20963),a(45115)],w=a.dj.d(T,function(h,C,g,_){function v(r){if((r.keyCode===h.ENTER||r.keyCode===h.SPACE)&&!/input|button|textarea/i.test(r.target.nodeName)){for(var d=r.target;d;d=d.parentNode)if(d.dojoClick)return!0}}var f;g(document,"keydown",function(r){v(r)?(f=r.target,r.preventDefault()):f=null}),g(document,"keyup",function(r){v(r)&&r.target==f&&(f=null,g.emit(r.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:r.ctrlKey,shiftKey:r.shiftKey,metaKey:r.metaKey,altKey:r.altKey,_origType:r.type}))});var u=function(r,d){return r.dojoClick=!0,g(r,"click",d)};return u.click=u,u.press=function(r,d){var n=g(r,_.press,function(o){o.type=="mousedown"&&!C.isLeft(o)||d(o)}),i=g(r,"keydown",function(o){(o.keyCode===h.ENTER||o.keyCode===h.SPACE)&&d(o)});return{remove:function(){n.remove(),i.remove()}}},u.release=function(r,d){var n=g(r,_.release,function(o){o.type=="mouseup"&&!C.isLeft(o)||d(o)}),i=g(r,"keyup",function(o){(o.keyCode===h.ENTER||o.keyCode===h.SPACE)&&d(o)});return{remove:function(){n.remove(),i.remove()}}},u.move=_.move,u},A,x),A.exports=w},20391:(A,x,a)=>{var T,w;T=[a(33070),a(41745),a(58340),a(38142),a(48201),a(96916),a(43661),a(40923),a(20963),a(85849),a(82896),a(39414),a(2251),a(61106),a(90843),a(26268),a(55166)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l){var p,E,m=C([o,u],{curNode:null,activeStack:[],constructor:function(){var I=r.hitch(this,function(S){g.isDescendant(this.curNode,S)&&this.set("curNode",null),g.isDescendant(this.prevNode,S)&&this.set("prevNode",null)});h.before(f,"empty",I),h.before(f,"destroy",I)},registerIframe:function(I){return this.registerWin(I.contentWindow,I)},registerWin:function(I,S){var R=this,N=I.document&&I.document.body;if(N){var O=i("pointer-events")?"pointerdown":i("MSPointer")?"MSPointerDown":i("touch-events")?"mousedown, touchstart":"mousedown",L=d(I.document,O,function($){$&&$.target&&$.target.parentNode==null||R._onTouchNode(S||$.target,"mouse")}),U=d(N,"focusin",function($){if($.target.tagName){var W=$.target.tagName.toLowerCase();W=="#document"||W=="body"||(t.isFocusable($.target)?R._onFocusNode(S||$.target):R._onTouchNode(S||$.target))}}),z=d(N,"focusout",function($){R._onBlurNode(S||$.target)});return{remove:function(){L.remove(),U.remove(),z.remove(),L=U=z=null,N=null}}}},_onBlurNode:function(I){var S=new Date().getTime();S<p+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(r.hitch(this,function(){this.set("prevNode",this.curNode),this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),!(S<E+100)&&(this._clearActiveWidgetsTimer=setTimeout(r.hitch(this,function(){delete this._clearActiveWidgetsTimer,this._setStack([])}),0)))},_onTouchNode:function(I,S){E=new Date().getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),v.contains(I,"dijitPopup")&&(I=I.firstChild);var R=[];try{for(;I;){var N=_.get(I,"dijitPopupParent");if(N)I=s.byId(N).domNode;else if(I.tagName&&I.tagName.toLowerCase()=="body"){if(I===c.body())break;I=e.get(I.ownerDocument).frameElement}else{var O=I.getAttribute&&I.getAttribute("widgetId"),L=O&&s.byId(O);L&&!(S=="mouse"&&L.get("disabled"))&&R.unshift(O),I=I.parentNode}}}catch(U){}this._setStack(R,S)},_onFocusNode:function(I){I&&I.nodeType!=9&&(p=new Date().getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(I),I!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",I)))},_setStack:function(I,S){var R=this.activeStack,N=R.length-1,O=I.length-1;if(I[O]!=R[N]){this.set("activeStack",I);var L,U;for(U=N;U>=0&&R[U]!=I[U];U--)L=s.byId(R[U]),L&&(L._hasBeenBlurred=!0,L.set("focused",!1),L._focusManager==this&&L._onBlur(S),this.emit("widget-blur",L,S));for(U++;U<=O;U++)L=s.byId(I[U]),L&&(L.set("focused",!0),L._focusManager==this&&L._onFocus(S),this.emit("widget-focus",L,S))}},focus:function(I){if(I)try{I.focus()}catch(S){}}}),y=new m;n(function(){var I=y.registerWin(e.get(document));i("ie")&&d(window,"unload",function(){I&&(I.remove(),I=null)})}),l.focus=function(I){y.focus(I)};for(var b in y)/^_/.test(b)||(l.focus[b]=typeof y[b]=="function"?r.hitch(y,b):y[b]);return y.watch(function(I,S,R){l.focus[I]=R}),y},A,x),A.exports=w},31512:(A,x,a)=>{var T,w;T=[a.dj.c(A),a(41745),a(48201),a(2812),a(806),a(40923),a(70111),a(44841),a(73314),a(26628),a(37629),a(28435)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){i.deprecated({deprecated:{module:"dijit/form/Button"},replacement:{module:"mw-form/PushButton"},geckNumber:1352405}),_("dijit-legacy-requires")&&u(0,function(){var c=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];h(c)});var o=C("dijit.form.Button"+(_("dojo-bidi")?"_NoBidi":""),[r,d],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:n,_setValueAttr:"valueNode",_setNameAttr:function(c){this.valueNode&&this.valueNode.setAttribute("name",c)},postCreate:function(){this.inherited(arguments),this._setLabelFromContainer()},_setLabelFromContainer:function(){this.containerNode&&!this.label&&(this.label=f.trim(this.containerNode.innerHTML),this.onLabelSet())},_setShowLabelAttr:function(c){this.containerNode&&g.toggle(this.containerNode,"dijitDisplayNone",!c),this._set("showLabel",c)},setLabel:function(c){v.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"),this.set("label",c)},onLabelSet:function(){this.inherited(arguments),!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=f.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});return _("dojo-bidi")&&(o=C("dijit.form.Button",o,{onLabelSet:function(){this.inherited(arguments),this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(c){this._created&&this.textDir!=c&&(this._set("textDir",c),this._setLabelAttr(this.label))}})),o},A,x),A.exports=w},73314:(A,x,a)=>{var T,w;T=[a(41745),a(58340),a(2812),a(26268)],w=a.dj.d(T,function(h,C,g,_){var v=h("dijit.form._ButtonMixin"+(g("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(f){return f.stopPropagation(),f.preventDefault(),this.disabled||this.valueNode.click(f),!1},_onClick:function(f){if(this.disabled)return f.stopPropagation(),f.preventDefault(),!1;this.onClick(f)===!1&&f.preventDefault();var u=f.defaultPrevented;if(!u&&this.type=="submit"&&!(this.valueNode||this.focusNode).form)for(var r=this.domNode;r.parentNode;r=r.parentNode){var d=_.byNode(r);if(d&&typeof d._onSubmit=="function"){d._onSubmit(f),f.preventDefault(),u=!0;break}}return!u},postCreate:function(){this.inherited(arguments),C.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(f){this._set("label",f);var u=this.containerNode||this.focusNode;u.innerHTML=f,this.onLabelSet()},onLabelSet:function(){}});return g("dojo-bidi")&&(v=h("dijit.form._ButtonMixin",v,{onLabelSet:function(){this.inherited(arguments);var f=this.containerNode||this.focusNode;this.applyTextDir(f)}})),v},A,x),A.exports=w},88088:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(806),a(40923),a(20963),a(61106)],w=a.dj.d(T,function(h,C,g,_,v,f){return C("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(u){var r=[];return h.forEach(u||this.getChildren(),function(d){"value"in d?r.push(d):r=r.concat(this._getDescendantFormWidgets(d.getChildren()))},this),r},reset:function(){h.forEach(this._getDescendantFormWidgets(),function(u){u.reset&&u.reset()})},validate:function(){var u=!1;return h.every(h.map(this._getDescendantFormWidgets(),function(r){r._hasBeenBlurred=!0;var d=r.disabled||!r.validate||r.validate();return!d&&!u&&(f.scrollIntoView(r.containerNode||r.domNode),r.focus(),u=!0),d}),function(r){return r})},setValues:function(u){return g.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0"),this.set("value",u)},_setValueAttr:function(u){var r={};h.forEach(this._getDescendantFormWidgets(),function(o){if(o.name){var c=r[o.name]||(r[o.name]=[]);c.push(o)}});for(var d in r)if(r.hasOwnProperty(d)){var n=r[d],i=_.getObject(d,!1,u);i!==void 0&&(i=[].concat(i),typeof n[0].checked=="boolean"?h.forEach(n,function(o){o.set("value",h.indexOf(i,o._get("value"))!=-1)}):n[0].multiple?n[0].set("value",i):h.forEach(n,function(o,c){o.set("value",i[c])}))}},getValues:function(){return g.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},_getValueAttr:function(){var u={};return h.forEach(this._getDescendantFormWidgets(),function(r){var d=r.name;if(!(!d||r.disabled)){var n=r.get("value");if(typeof r.checked=="boolean")if(/Radio/.test(r.declaredClass))n!==!1?_.setObject(d,n,u):(n=_.getObject(d,!1,u),n===void 0&&_.setObject(d,null,u));else{var i=_.getObject(d,!1,u);i||(i=[],_.setObject(d,i,u)),n!==!1&&i.push(n)}else{var o=_.getObject(d,!1,u);typeof o<"u"?_.isArray(o)?o.push(n):_.setObject(d,[o,n],u):_.setObject(d,n,u)}}}),u},isValid:function(){return this.state==""},onValidStateChange:function(){},_getState:function(){var u=h.map(this._descendants,function(r){return r.get("state")||""});return h.indexOf(u,"Error")>=0?"Error":h.indexOf(u,"Incomplete")>=0?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(u){this._descendants=this._getDescendantFormWidgets(),h.forEach(this._descendants,function(r){r._started||r.startup()}),u||this._onChildChange()},_onChildChange:function(u){(!u||u=="state"||u=="disabled")&&this._set("state",this._getState()),(!u||u=="value"||u=="disabled"||u=="checked")&&(this._onChangeDelayTimer&&this._onChangeDelayTimer.remove(),this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer,this._set("value",this.get("value"))},10))},startup:function(){this.inherited(arguments),this._descendants=this._getDescendantFormWidgets(),this.value=this.get("value"),this.state=this._getState();var u=this;this.own(v(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(r){r.target!=u.domNode&&u._onChildChange(r.type.replace("attrmodified-",""))})),this.watch("state",function(r,d,n){this.onValidStateChange(n=="")})},destroy:function(){this.inherited(arguments)}})},A,x),A.exports=w},44841:(A,x,a)=>{var T,w;T=[a(41745),a(82896),a(806),a(70111),a(68806),a(62397),a(13053),a(32060)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){return C("dijit-legacy-requires")&&_(0,function(){var d=["dijit/form/_FormValueWidget"];require(d)}),h("dijit.form._FormWidget",[v,u,f,r],{setDisabled:function(d){g.deprecated("setDisabled("+d+") is deprecated. Use set('disabled',"+d+") instead.","","2.0"),this.set("disabled",d)},setValue:function(d){g.deprecated("dijit.form._FormWidget:setValue("+d+") is deprecated. Use set('value',"+d+") instead.","","2.0"),this.set("value",d)},getValue:function(){return g.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!C("msapp")?'name="'+this.name.replace(/"/g,"&quot;")+'"':"",this.inherited(arguments)}})},A,x),A.exports=w},32060:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(38142),a(41032),a(40923),a(70495),a(20963),a(82896),a(61106),a(90843)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){return C("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(i){if(this._set("disabled",i),/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(g.set(this.focusNode,"disabled",i),r("trident")&&"readOnly"in this&&g.set(this.focusNode,"readonly",i||this.readOnly)):this.focusNode.setAttribute("aria-disabled",i?"true":"false"),this.valueNode&&g.set(this.valueNode,"disabled",i),i){this._set("hovering",!1),this._set("active",!1);var o="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode";h.forEach(v.isArray(o)?o:[o],function(c){var e=this[c];r("webkit")||n.hasDefaultTabStop(e)?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex")},this)}else this.tabIndex!=""&&this.set("tabIndex",this.tabIndex)},_onFocus:function(i){if(i=="mouse"&&this.isFocusable())var o=this.own(u(this.focusNode,"focus",function(){e.remove(),o.remove()}))[0],c=r("pointer-events")?"pointerup":r("MSPointer")?"MSPointerUp":r("touch-events")?"touchend, mouseup":"mouseup",e=this.own(u(this.ownerDocumentBody,c,v.hitch(this,function(t){e.remove(),o.remove(),this.focused&&(t.type=="touchend"?this.defer("focus"):this.focus())})))[0];this.scrollOnFocus&&this.defer(function(){d.scrollIntoView(this.domNode)}),this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&_.get(this.domNode,"display")!="none"},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(i){}},compare:function(i,o){return typeof i=="number"&&typeof o=="number"?isNaN(i)&&isNaN(o)?0:i-o:i>o?1:i<o?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(i,o){this._lastValueReported==null&&(o===null||!this._onChangeActive)&&(this._resetValue=this._lastValueReported=i),this._pendingOnChange=this._pendingOnChange||typeof i!=typeof this._lastValueReported||this.compare(i,this._lastValueReported)!=0,(this.intermediateChanges||o||o===void 0)&&this._pendingOnChange&&(this._lastValueReported=i,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=null,this.onChange(i)})))},create:function(){this.inherited(arguments),this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported)),this.inherited(arguments)}})},A,x),A.exports=w},91203:(A,x,a)=>{var T,w;T=[a(48201),a(516),a(85849),a(2251)],w=a.dj.d(T,function(h,C,g,_){return g(function(){C("highcontrast")&&h.add(_.body(),"dijit_a11y")}),C},A,x),A.exports=w},61239:(A,x,a)=>{var T,w;T=[a(37222),a(62720),a(41745),a(48201),a(96916),a(24485),a(41032),a(99890),a(40923),a(20963),a(45115),a(81663),a(68806),a(13053),a(77899),a(9083)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s){var l=g("dijit.layout._Splitter",[c,e],{live:!0,templateString:'<div class="dijitSplitter" data-dojo-attach-event="onkeydown:_onKeyDown,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex="0" role="separator"><div class="dijitSplitterThumb"></div></div>',constructor:function(){this._handlers=[]},postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region),this._factor=/top|left/.test(this.region)?1:-1,this._cookieName=this.container.id+"_"+this.region},buildRendering:function(){if(this.inherited(arguments),_.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")),this.container.persist){var m=this._getPersistentSplit();m&&(this.child.domNode.style[this.horizontal?"height":"width"]=m)}},_computeMaxSize:function(){var m=this.horizontal?"h":"w",y=f.getMarginBox(this.child.domNode)[m],b=h.filter(this.container.getChildren(),function(S){return S.region=="center"})[0],I=f.getContentBox(b.domNode)[m]-10;return Math.min(this.child.maxSize,y+I)},_startDrag:function(m){this.cover||(this.cover=v.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after")),_.add(this.cover,"dijitSplitterCoverActive"),this.fake&&v.destroy(this.fake),(this._resize=this.live)||((this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),_.add(this.domNode,"dijitSplitterShadow"),v.place(this.fake,this.domNode,"after")),_.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active"),this.fake&&_.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");var y=this._factor,b=this.horizontal,I=b?"pageY":"pageX",S=m[I],R=this.domNode.style,N=b?"h":"w",O=u.getComputedStyle(this.child.domNode),L=f.getMarginBox(this.child.domNode,O)[N],U=this._computeMaxSize(),z=Math.max(this.child.minSize,f.getPadBorderExtents(this.child.domNode,O)[N]+10),$=this.region,W=$=="top"||$=="bottom"?"top":"left",V=parseInt(R[W],10),K=this._resize,M=d.hitch(this.container,"_layoutChildren",this.child.id),B=this.ownerDocument;this._handlers=this._handlers.concat([n(B,i.move,this._drag=function(P,k){var H=P[I]-S,Y=y*H+L,G=Math.max(Math.min(Y,U),z);(K||k)&&M(G),R[W]=H+V+y*(G-Y)+"px"}),n(B,"dragstart",function(P){P.stopPropagation(),P.preventDefault()}),n(this.ownerDocumentBody,"selectstart",function(P){P.stopPropagation(),P.preventDefault()}),n(B,i.release,d.hitch(this,"_stopDrag"))]),m.stopPropagation(),m.preventDefault()},_onMouse:function(m){var y=m.type=="mouseover"||m.type=="mouseenter";_.toggle(this.domNode,"dijitSplitterHover",y),_.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",y)},_getPersistentSplit:function(){return C(this._cookieName)},_setPersistentSplit:function(m){C(this._cookieName,m,{expires:365})},_stopDrag:function(m){try{this.cover&&_.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&v.destroy(this.fake),_.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(m),this._drag(m,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&this._setPersistentSplit(this.child.domNode.style[this.horizontal?"height":"width"])},_cleanupHandlers:function(){for(var m;m=this._handlers.pop();)m.remove()},_onKeyDown:function(m){this._resize=!0;var y=this.horizontal,b=1;switch(m.keyCode){case(y?r.UP_ARROW:r.LEFT_ARROW):b*=-1;case(y?r.DOWN_ARROW:r.RIGHT_ARROW):break;default:return}var I=f.getMarginSize(this.child.domNode)[y?"h":"w"]+this._factor*b;this.container._layoutChildren(this.child.id,Math.max(Math.min(I,this._computeMaxSize()),this.child.minSize)),m.stopPropagation(),m.preventDefault()},destroy:function(){this._cleanupHandlers(),delete this.child,delete this.container,delete this.cover,delete this.fake,this.inherited(arguments)}}),p=g("dijit.layout._Gutter",[c,e],{templateString:'<div class="dijitGutter" role="presentation"></div>',postMixInProperties:function(){this.inherited(arguments),this.horizontal=/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments),_.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}}),E=g("dijit.layout.BorderContainer",t,{gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:l,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter"),this.inherited(arguments)},_setupChild:function(m){this.inherited(arguments);var y=m.region,b=m.isLeftToRight();if(y=="leading"&&(y=b?"left":"right"),y=="trailing"&&(y=b?"right":"left"),y&&y!="center"&&(m.splitter||this.gutters)&&!m._splitterWidget){var I=m.splitter?this._splitterClass:p;d.isString(I)&&(I=d.getObject(I));var S=new I({id:m.id+"_splitter",container:this,child:m,region:y,live:this.liveSplitters});S.isSplitter=!0,m._splitterWidget=S;var R=y=="bottom"||y==(this.isLeftToRight()?"right":"left");v.place(S.domNode,m.domNode,R?"before":"after"),S.startup()}},layout:function(){this._layoutChildren()},removeChild:function(m){var y=m._splitterWidget;y&&(y.destroy(),delete m._splitterWidget),this.inherited(arguments)},getChildren:function(){return h.filter(this.inherited(arguments),function(m){return!m.isSplitter})},getSplitter:function(m){return h.filter(this.getChildren(),function(y){return y.region==m})[0]._splitterWidget},resize:function(m,y){if(!this.cs||!this.pe){var b=this.domNode;this.cs=u.getComputedStyle(b),this.pe=f.getPadExtents(b,this.cs),this.pe.r=u.toPixelValue(b,this.cs.paddingRight),this.pe.b=u.toPixelValue(b,this.cs.paddingBottom),u.set(b,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(m,y){if(!(!this._borderBox||!this._borderBox.h)){var b=[];h.forEach(this._getOrderedChildren(),function(S){b.push(S),S._splitterWidget&&b.push(S._splitterWidget)});var I={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};s.layoutChildren(this.domNode,I,b,m,y)}},destroyRecursive:function(){h.forEach(this.getChildren(),function(m){var y=m._splitterWidget;y&&y.destroy(),delete m._splitterWidget}),this.inherited(arguments)}});return E.ChildWidgetProperties={splitter:!1,minSize:0,maxSize:1/0},d.mixin(E.ChildWidgetProperties,t.ChildWidgetProperties),d.extend(o,E.ChildWidgetProperties),E._Splitter=l,E._Gutter=p,E},A,x),A.exports=w},81837:(A,x,a)=>{var T,w;T=[a(806),a(40923),a(68806),a(37679),a(39875),a(71275),a(81491),a(37222),a(41745),a(27952),a(58340),a(38142),a(96916),a(55801),a(6990),a(28054),a(62355)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s){return d("dijit.layout.ContentPane",[g,_,v],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:h._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(l,p,E){var m=new E(l,p);return!m.href&&m._contentSetter&&m._contentSetter.parseDeferred&&!m._contentSetter.parseDeferred.isFulfilled()?m._contentSetter.parseDeferred.then(function(){return m}):m},create:function(l,p){if((!l||!l.template)&&p&&!("href"in l)&&!("content"in l)){p=i.byId(p);for(var E=p.ownerDocument.createDocumentFragment();p.firstChild;)E.appendChild(p.firstChild);l=C.delegate(l,{content:E})}this.inherited(arguments,[l,p])},postMixInProperties:function(){this.inherited(arguments);var l=t.getLocalization("dijit","loading",this.lang);this.loadingMessage=f.substitute(this.loadingMessage,l),this.errorMessage=f.substitute(this.errorMessage,l)},buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode),this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(l){!l._started&&!l._destroyed&&C.isFunction(l.startup)&&(l.startup(),l._started=!0)},this)},_startChildren:function(){r.forEach(this.getChildren(),function(l){!l._started&&!l._destroyed&&C.isFunction(l.startup)&&(l.startup(),l._started=!0)}),this._contentSetter&&r.forEach(this._contentSetter.parseResults,function(l){!l._started&&!l._destroyed&&C.isFunction(l.startup)&&(l.startup(),l._started=!0)},this)},setHref:function(l){return h.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0"),this.set("href",l)},_setHrefAttr:function(l){return this.cancel(),this.onLoadDeferred=new n(C.hitch(this,"cancel")),this.onLoadDeferred.then(C.hitch(this,"onLoad")),this._set("href",l),this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0,this.onLoadDeferred},setContent:function(l){h.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0"),this.set("content",l)},_setContentAttr:function(l){return this._set("href",""),this.cancel(),this.onLoadDeferred=new n(C.hitch(this,"cancel")),this._created&&this.onLoadDeferred.then(C.hitch(this,"onLoad")),this._setContent(l||""),this._isDownloaded=!1,this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&this._xhrDfd.fired==-1&&this._xhrDfd.cancel(),delete this._xhrDfd,this.onLoadDeferred=null},destroy:function(){this.cancel(),this.inherited(arguments)},destroyRecursive:function(l){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){if(this.inherited(arguments),this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){return this.cancel(),this.onLoadDeferred=new n(C.hitch(this,"cancel")),this.onLoadDeferred.then(C.hitch(this,"onLoad")),this._load(),this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var l=this,p={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};C.isObject(this.ioArgs)&&C.mixin(p,this.ioArgs);var E=this._xhrDfd=(this.ioMethod||e.get)(p),m;E.then(function(y){m=y;try{return l._isDownloaded=!0,l._setContent(y,!1)}catch(b){l._onError("Content",b)}},function(y){return E.canceled||l._onError("Download",y),delete l._xhrDfd,y}).then(function(){return l.onDownloadEnd(),delete l._xhrDfd,m}),delete this._hrefChanged},_onLoadHandler:function(l){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(l)}catch(p){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+p.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(l){console.error("Error "+this.widgetId+" running custom onUnload code: "+l.message)}},destroyDescendants:function(l){this.isLoaded&&this._onUnloadHandler();var p=this._contentSetter;r.forEach(this.getChildren(),function(E){E.destroyRecursive?E.destroyRecursive(l):E.destroy&&E.destroy(l),E._destroyed=!0}),p&&(r.forEach(p.parseResults,function(E){E._destroyed||(E.destroyRecursive?E.destroyRecursive(l):E.destroy&&E.destroy(l),E._destroyed=!0)}),delete p.parseResults),l||c.empty(this.containerNode),delete this._singleChild},_setContent:function(l,p){l=this.preprocessContent(l),this.destroyDescendants();var E=this._contentSetter;E&&E instanceof u._ContentSetter||(E=this._contentSetter=new u._ContentSetter({node:this.containerNode,_onError:C.hitch(this,this._onError),onContentError:C.hitch(this,function(I){var S=this.onContentError(I);try{this.containerNode.innerHTML=S}catch(R){console.error("Fatal "+this.id+" could not change content due to "+R.message,R)}})}));var m=C.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!l.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),y=E.set(C.isObject(l)&&l.domNode?l.domNode:l,m),b=this;return s(y&&y.then?y:E.parseDeferred,function(){delete b._contentSetterParams,p||(b._started&&(b._startChildren(),b._scheduleLayout()),b._onLoadHandler(l))})},preprocessContent:function(l){return l},_onError:function(l,p,E){this.onLoadDeferred.reject(p);var m=this["on"+l+"Error"].call(this,p);E?console.error(E,p):m&&this._setContent(m,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})},A,x),A.exports=w},77899:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(48201),a(41032),a(40923),a(81663),a(69633),a(9083)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){var d=C("dijit.layout.LayoutContainer",u,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){this._started||(h.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},_setupChild:function(n){this.inherited(arguments);var i=n.region;i&&g.add(n.domNode,this.baseClass+"Pane")},_getOrderedChildren:function(){var n=h.map(this.getChildren(),function(i,o){return{pane:i,weight:[i.region=="center"?1/0:0,i.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(i.region)?1:-1),o]}},this);return n.sort(function(i,o){for(var c=i.weight,e=o.weight,t=0;t<c.length;t++)if(c[t]!=e[t])return c[t]-e[t];return 0}),h.map(n,function(i){return i.pane})},layout:function(){r.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren())},addChild:function(n,i){this.inherited(arguments),this._started&&this.layout()},removeChild:function(n){this.inherited(arguments),this._started&&this.layout(),g.remove(n.domNode,this.baseClass+"Pane"),_.set(n.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"}),_.set(n.domNode,/top|bottom/.test(n.region)?"width":"height","auto")}});return d.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0},v.extend(f,d.ChildWidgetProperties),d},A,x),A.exports=w},39875:(A,x,a)=>{var T,w;T=[a(37222),a(41745),a(48201),a(24485),a(41032),a(40923),a(39196),a(26268),a(70285),a(9083)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){return C("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var i=this.getParent();this._childOfLayoutWidget=i&&i.isLayoutContainer,this._needLayout=!this._childOfLayoutWidget,this.inherited(arguments),this._isShown()&&this._onShow(),this._childOfLayoutWidget||this.own(d.on("resize",f.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var i=[],o=!1;u("> *",this.containerNode).some(function(c){var e=r.byNode(c);e&&e.resize?i.push(e):!/script|link|style/i.test(c.nodeName)&&c.offsetHeight&&(o=!0)}),this._singleChild=i.length==1&&!o?i[0]:null,g.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(i,o){this._resizeCalled=!0,this._scheduleLayout(i,o)},_scheduleLayout:function(i,o){this._isShown()?this._layout(i,o):(this._needLayout=!0,this._changeSize=i,this._resultSize=o)},_layout:function(i,o){delete this._needLayout,!this._wasShown&&this.open!==!1&&this._onShow(),i&&_.setMarginBox(this.domNode,i);var c=this.containerNode;if(c===this.domNode){var e=o||{};f.mixin(e,i||{}),(!("h"in e)||!("w"in e))&&(e=f.mixin(_.getMarginBox(c),e)),this._contentBox=n.marginBox2contentBox(c,e)}else this._contentBox=_.getContentBox(c);this._layoutChildren()},_layoutChildren:function(){if(this._checkIfSingleChild(),this._singleChild&&this._singleChild.resize){var i=this._contentBox||_.getContentBox(this.containerNode);this._singleChild.resize({w:i.w,h:i.h})}else for(var o=this.getChildren(),c,e=0;c=o[e++];)c.resize&&c.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var i=this.domNode,o=this.domNode.parentNode;return i.style.display!="none"&&i.style.visibility!="hidden"&&!g.contains(i,"dijitHidden")&&o&&o.style&&o.style.display!="none"},_onShow:function(){this._wasShown=!0,this._needLayout&&this._layout(this._changeSize,this._resultSize),this.inherited(arguments)}})},A,x),A.exports=w},69633:(A,x,a)=>{var T,w;T=[a(40923),a(68806),a(37679),a(36733),a(70285),a(41745),a(48201),a(24485),a(41032)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){return f("dijit.layout._LayoutWidget",[C,g,_],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments),u.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var n=this.getParent&&this.getParent();n&&n.isLayoutContainer||(this.resize(),this.own(v.on("resize",h.hitch(this,"resize"))))}},resize:function(n,i){var o=this.domNode;n&&r.setMarginBox(o,n);var c=i||{};h.mixin(c,n||{}),(!("h"in c)||!("w"in c))&&(c=h.mixin(r.getMarginBox(o),c));var e=d.getComputedStyle(o),t=r.getMarginExtents(o,e),s=r.getBorderExtents(o,e),l=this._borderBox={w:c.w-(t.w+s.w),h:c.h-(t.h+s.h)},p=r.getPadExtents(o,e);this._contentBox={l:d.toPixelValue(o,e.paddingLeft),t:d.toPixelValue(o,e.paddingTop),w:l.w-p.w,h:l.h-p.h},this.layout()},layout:function(){},_setupChild:function(n){var i=this.baseClass+"-child "+(n.baseClass?this.baseClass+"-"+n.baseClass:"");u.add(n.domNode,i)},addChild:function(n,i){this.inherited(arguments),this._started&&this._setupChild(n)},removeChild:function(n){var i=this.baseClass+"-child"+(n.baseClass?" "+this.baseClass+"-"+n.baseClass:"");u.remove(n.domNode,i),this.inherited(arguments)}})},A,x),A.exports=w},9083:(A,x,a)=>{var T,w;T=[a(37222),a(48201),a(24485),a(41032),a(40923)],w=a.dj.d(T,function(h,C,g,_,v){function f(d){return d.substring(0,1).toUpperCase()+d.substring(1)}function u(d,n){var i=d.resize?d.resize(n):g.setMarginBox(d.domNode,n);i?v.mixin(d,i):(v.mixin(d,g.getMarginBox(d.domNode)),v.mixin(d,n))}var r={marginBox2contentBox:function(d,n){var i=_.getComputedStyle(d),o=g.getMarginExtents(d,i),c=g.getPadBorderExtents(d,i);return{l:_.toPixelValue(d,i.paddingLeft),t:_.toPixelValue(d,i.paddingTop),w:n.w-(o.w+c.w),h:n.h-(o.h+c.h)}},layoutChildren:function(d,n,i,o,c){n=v.mixin({},n),C.add(d,"dijitLayoutContainer"),i=h.filter(i,function(e){return e.region!="center"&&e.layoutAlign!="client"}).concat(h.filter(i,function(e){return e.region=="center"||e.layoutAlign=="client"})),h.forEach(i,function(e){var t=e.domNode,s=e.region||e.layoutAlign;if(!s)throw new Error("No region setting for "+e.id);var l=t.style;l.left=n.l+"px",l.top=n.t+"px",l.position="absolute",C.add(t,"dijitAlign"+f(s));var p={};o&&o==e.id&&(p[e.region=="top"||e.region=="bottom"?"h":"w"]=c),s=="leading"&&(s=e.isLeftToRight()?"left":"right"),s=="trailing"&&(s=e.isLeftToRight()?"right":"left"),s=="top"||s=="bottom"?(p.w=n.w,u(e,p),n.h-=e.h,s=="top"?n.t+=e.h:l.top=n.t+n.h+"px"):s=="left"||s=="right"?(p.h=n.h,u(e,p),n.w-=e.w,s=="left"?n.l+=e.w:l.left=n.l+n.w+"px"):(s=="client"||s=="center")&&u(e,n)})}};return v.setObject("dijit.layout.utils",r),r},A,x),A.exports=w},55166:(A,x,a)=>{var T,w;T=[a(806)],w=a.dj.d(T,function(h){return h.dijit},A,x),A.exports=w},99393:(A,x,a)=>{A.exports={loadingState:"Duke u ngarkuar",errorState:"Nj\xEB gabim ndodhi"}},88643:(A,x,a)=>{A.exports={loadingState:"\u062C\u0627\u0631\u064A \u0627\u0644\u062A\u062D\u0645\u064A\u0644...",errorState:"\u0639\u0641\u0648\u0627\u060C \u062D\u062F\u062B \u062E\u0637\u0623"}},50011:(A,x,a)=>{A.exports={loadingState:"Y\xFCkl\u0259nir...",errorState:"Problem yarand\u0131"}},71203:(A,x,a)=>{A.exports={loadingState:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435...",errorState:"\u0421\u044A\u0436\u0430\u043B\u044F\u0432\u0430\u043C\u0435, \u0432\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430"}},4135:(A,x,a)=>{A.exports={loadingState:"U\u010Ditavanje...",errorState:"Izvinite, do\u0161lo je do gre\u0161ke"}},89016:(A,x,a)=>{A.exports={loadingState:"S'est\xE0 carregant...",errorState:"Ens sap greu. S'ha produ\xEFt un error."}},72346:(A,x,a)=>{A.exports={loadingState:"Prob\xEDh\xE1 na\u010D\xEDt\xE1n\xED...",errorState:"Omlouv\xE1me se, do\u0161lo k chyb\u011B"}},39551:(A,x,a)=>{A.exports={loadingState:"Indl\xE6ser...",errorState:"Der er opst\xE5et en fejl"}},53963:(A,x,a)=>{A.exports={loadingState:"Wird geladen...",errorState:"Es ist ein Fehler aufgetreten."}},88757:(A,x,a)=>{A.exports={loadingState:"\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7...",errorState:"\u03A3\u03B1\u03C2 \u03B6\u03B7\u03C4\u03BF\u03CD\u03BC\u03B5 \u03C3\u03C5\u03B3\u03BD\u03CE\u03BC\u03B7, \u03C0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1"}},93868:(A,x,a)=>{A.exports={loadingState:"Cargando...",errorState:"Lo siento, se ha producido un error"}},76282:(A,x,a)=>{A.exports={loadingState:"Kargatzen...",errorState:"Barkatu, errorea gertatu da"}},91677:(A,x,a)=>{A.exports={loadingState:"Lataus on meneill\xE4\xE4n...",errorState:"On ilmennyt virhe."}},46368:(A,x,a)=>{A.exports={loadingState:"Chargement...",errorState:"Une erreur est survenue"}},92703:(A,x,a)=>{A.exports={loadingState:"\u05D8\u05E2\u05D9\u05E0\u05D4...\u200F",errorState:"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4"}},4042:(A,x,a)=>{A.exports={loadingState:"U\u010Ditavanje...",errorState:"\u017Dao nam je, do\u0161lo je do gre\u0161ke"}},7023:(A,x,a)=>{A.exports={loadingState:"Bet\xF6lt\xE9s...",errorState:"Sajn\xE1lom, hiba t\xF6rt\xE9nt"}},62033:(A,x,a)=>{A.exports={loadingState:"Memuatkan...",errorState:"Maaf, terjadi kesalahan"}},11713:(A,x,a)=>{A.exports={loadingState:"Caricamento in corso...",errorState:"Si \xE8 verificato un errore"}},49313:(A,x,a)=>{A.exports={loadingState:"\u30ED\u30FC\u30C9\u4E2D...",errorState:"\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002"}},52618:(A,x,a)=>{A.exports={loadingState:"\u049A\u043E\u0442\u0430\u0440\u044B\u043B\u0443\u0434\u0430...",errorState:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u049B\u0430\u0442\u0435 \u043E\u0440\u044B\u043D \u0430\u043B\u0434\u044B"}},53742:(A,x,a)=>{A.exports={loadingState:"\uB85C\uB4DC \uC911...",errorState:"\uC8C4\uC1A1\uD569\uB2C8\uB2E4. \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."}},95239:(A,x,a)=>{A.exports={root:{loadingState:"Loading...",errorState:"Sorry, an error occurred"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,es:!0,el:!0,de:!0,da:!0,cs:!0,ca:!0,bg:!0,az:!0,ar:!0,al:!0}},49916:(A,x,a)=>{A.exports={loadingState:"\u0412\u0447\u0438\u0442\u0443\u0432\u0430\u045A\u0435...",errorState:"\u0421\u0435 \u043F\u043E\u0458\u0430\u0432\u0438 \u0433\u0440\u0435\u0448\u043A\u0430"}},18136:(A,x,a)=>{A.exports={loadingState:"Laster inn...",errorState:"Det oppsto en feil"}},94326:(A,x,a)=>{A.exports={loadingState:"Bezig met laden...",errorState:"Er is een fout opgetreden"}},27564:(A,x,a)=>{A.exports={loadingState:"\u0141adowanie...",errorState:"Niestety, wyst\u0105pi\u0142 b\u0142\u0105d"}},80543:(A,x,a)=>{A.exports={loadingState:"A carregar...",errorState:"Lamentamos, mas ocorreu um erro"}},70532:(A,x,a)=>{A.exports={loadingState:"Carregando...",errorState:"Desculpe, ocorreu um erro"}},37771:(A,x,a)=>{A.exports={loadingState:"\xCEnc\u0103rcare...",errorState:"Ne pare r\u0103u, a ap\u0103rut o eroare "}},90005:(A,x,a)=>{A.exports={loadingState:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",errorState:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0432\u043E\u0437\u043D\u0438\u043A\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430"}},61026:(A,x,a)=>{A.exports={loadingState:"Zav\xE1dza sa...",errorState:"\u013Dutujeme, ale vyskytla sa chyba"}},6727:(A,x,a)=>{A.exports={loadingState:"Nalaganje ...",errorState:"Oprostite, pri\u0161lo je do napake."}},6061:(A,x,a)=>{A.exports={loadingState:"U\u010Ditavanje...",errorState:"Na\u017Ealost, do\u0161lo je do gre\u0161ke"}},97233:(A,x,a)=>{A.exports={loadingState:"L\xE4ser in...",errorState:"Det har intr\xE4ffat ett fel."}},73188:(A,x,a)=>{A.exports={loadingState:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...",errorState:"\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14"}},18046:(A,x,a)=>{A.exports={loadingState:"Y\xFCkleniyor...",errorState:"\xDCzg\xFCn\xFCz, bir hata olu\u015Ftu"}},47188:(A,x,a)=>{A.exports={loadingState:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F...",errorState:"\u0421\u0442\u0430\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u0430"}},32652:(A,x,a)=>{A.exports={loadingState:"\u8F09\u5165\u4E2D...",errorState:"\u62B1\u6B49\uFF0C\u767C\u751F\u932F\u8AA4"}},49878:(A,x,a)=>{A.exports={loadingState:"\u6B63\u5728\u52A0\u8F7D...",errorState:"\u5BF9\u4E0D\u8D77\uFF0C\u53D1\u751F\u4E86\u9519\u8BEF"}},85296:(A,x,a)=>{var T,w;T=[a(37222),a(24485),a(41032),a(806),a(2251),a(70285),a(55166)],w=a.dj.d(T,function(h,C,g,_,v,f,u){function r(i,o,c,e){var t=f.getEffectiveBox(i.ownerDocument);(!i.parentNode||String(i.parentNode.tagName).toLowerCase()!="body")&&v.body(i.ownerDocument).appendChild(i);var s=null;h.some(o,function(y){var b=y.corner,I=y.pos,S=0,R={w:{L:t.l+t.w-I.x,R:I.x-t.l,M:t.w}[b.charAt(1)],h:{T:t.t+t.h-I.y,B:I.y-t.t,M:t.h}[b.charAt(0)]},N=i.style;if(N.left=N.right="auto",c){var O=c(i,y.aroundCorner,b,R,e);S=typeof O>"u"?0:O}var L=i.style,U=L.display,z=L.visibility;L.display=="none"&&(L.visibility="hidden",L.display="");var $=C.position(i);L.display=U,L.visibility=z;var W={L:I.x,R:I.x-$.w,M:Math.max(t.l,Math.min(t.l+t.w,I.x+($.w>>1))-$.w)}[b.charAt(1)],V={T:I.y,B:I.y-$.h,M:Math.max(t.t,Math.min(t.t+t.h,I.y+($.h>>1))-$.h)}[b.charAt(0)],K=Math.max(t.l,W),M=Math.max(t.t,V),B=Math.min(t.l+t.w,W+$.w),P=Math.min(t.t+t.h,V+$.h),k=B-K,H=P-M;return S+=$.w-k+($.h-H),(s==null||S<s.overflow)&&(s={corner:b,aroundCorner:y.aroundCorner,x:K,y:M,w:k,h:H,overflow:S,spaceAvailable:R}),!S}),s.overflow&&c&&c(i,s.aroundCorner,s.corner,s.spaceAvailable,e);var l=s.y,p=s.x,E=v.body(i.ownerDocument);/relative|absolute/.test(g.get(E,"position"))&&(l-=g.get(E,"marginTop"),p-=g.get(E,"marginLeft"));var m=i.style;return m.top=l+"px",m.left=p+"px",m.right="auto",s}var d={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},n={at:function(i,o,c,e,t){var s=h.map(c,function(l){var p={corner:l,aroundCorner:d[l],pos:{x:o.x,y:o.y}};return e&&(p.pos.x+=l.charAt(1)=="L"?e.x:-e.x,p.pos.y+=l.charAt(0)=="T"?e.y:-e.y),p});return r(i,s,t)},around:function(i,o,c,e,t){var s;if(typeof o=="string"||"offsetWidth"in o||"ownerSVGElement"in o){if(s=C.position(o,!0),/^(above|below)/.test(c[0])){var l=C.getBorderExtents(o),p=o.firstChild?C.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0},E=C.getBorderExtents(i),m=i.firstChild?C.getBorderExtents(i.firstChild):{t:0,l:0,b:0,r:0};s.y+=Math.min(l.t+p.t,E.t+m.t),s.h-=Math.min(l.t+p.t,E.t+m.t)+Math.min(l.b+p.b,E.b+m.b)}}else s=o;if(o.parentNode)for(var y=g.getComputedStyle(o).position=="absolute",b=o.parentNode;b&&b.nodeType==1&&b.nodeName!="BODY";){var I=C.position(b,!0),S=g.getComputedStyle(b);if(/relative|absolute/.test(S.position)&&(y=!1),!y&&/hidden|auto|scroll/.test(S.overflow)){var R=Math.min(s.y+s.h,I.y+I.h),N=Math.min(s.x+s.w,I.x+I.w);s.x=Math.max(s.x,I.x),s.y=Math.max(s.y,I.y),s.h=R-s.y,s.w=N-s.x}S.position=="absolute"&&(y=!0),b=b.parentNode}var O=s.x,L=s.y,U="w"in s?s.w:s.w=s.width,z="h"in s?s.h:(_.deprecated("place.around: dijit/place.__Rectangle: { x:"+O+", y:"+L+", height:"+s.height+", width:"+U+" } has been deprecated. Please use { x:"+O+", y:"+L+", h:"+s.height+", w:"+U+" }","","2.0"),s.h=s.height),$=[];function W(K,M){$.push({aroundCorner:K,corner:M,pos:{x:{L:O,R:O+U,M:O+(U>>1)}[K.charAt(1)],y:{T:L,B:L+z,M:L+(z>>1)}[K.charAt(0)]}})}h.forEach(c,function(K){var M=e;switch(K){case"above-centered":W("TM","BM");break;case"below-centered":W("BM","TM");break;case"after-centered":M=!M;case"before-centered":W(M?"ML":"MR",M?"MR":"ML");break;case"after":M=!M;case"before":W(M?"TL":"TR",M?"TR":"TL"),W(M?"BL":"BR",M?"BR":"BL");break;case"below-alt":M=!M;case"below":W(M?"BL":"BR",M?"TL":"TR"),W(M?"BR":"BL",M?"TR":"TL");break;case"above-alt":M=!M;case"above":W(M?"TL":"TR",M?"BL":"BR"),W(M?"TR":"TL",M?"BR":"BL");break;default:W(K.aroundCorner,K.corner)}});var V=r(i,$,t,{w:U,h:z});return V.aroundNodePos=s,V}};return u.place=n},A,x),A.exports=w},28205:(A,x,a)=>{var T,w;T=[a(37222),a(33070),a(41745),a(58340),a(38142),a(96916),a(24485),a(41032),a(2812),a(99890),a(40923),a(20963),a(85296),a(13475),a(70285),a(55166),a(45115)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s){function l(){this._popupWrapper&&(f.destroy(this._popupWrapper),delete this._popupWrapper)}var p=g(null,{_stack:[],_beginZIndex:1e3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var E=this._firstAroundPosition,m=u.position(this._firstAroundNode,!0),y=m.x-E.x,b=m.y-E.y;if(y||b){this._firstAroundPosition=m;for(var I=0;I<this._stack.length;I++){var S=this._stack[I].wrapper.style;S.top=parseFloat(S.top)+b+"px",S.right=="auto"?S.left=parseFloat(S.left)+y+"px":S.right=parseFloat(S.right)-y+"px"}}this._aroundMoveListener=setTimeout(i.hitch(this,"_repositionAll"),y||b?10:50)}},_createWrapper:function(E){var m=E._popupWrapper,y=E.domNode;if(!m){m=f.create("div",{class:"dijitPopup",style:{display:"none"},role:"region","aria-label":E["aria-label"]||E.label||E.name||E.id},E.ownerDocumentBody),m.appendChild(y);var b=y.style;b.display="",b.visibility="",b.position="",b.top="0px",E._popupWrapper=m,C.after(E,"destroy",l,!0),"ontouchend"in document&&o(m,"touchend",function(I){/^(input|button|textarea)$/i.test(I.target.tagName)||I.preventDefault()}),m.dojoClick=!0}return m},moveOffScreen:function(E){var m=this._createWrapper(E),y=u.isBodyLtr(E.ownerDocument),b={visibility:"hidden",top:"-9999px",display:""};return b[y?"left":"right"]="-9999px",b[y?"right":"left"]="auto",r.set(m,b),m},hide:function(E){var m=this._createWrapper(E);r.set(m,{display:"none",height:"auto",overflowY:"visible",border:""});var y=E.domNode;"_originalStyle"in y&&(y.style.cssText=y._originalStyle)},getTopPopup:function(){for(var E=this._stack,m=E.length-1;m>0&&E[m].parent===E[m-1].widget;m--);return E[m]},open:function(E){var m=this._stack,y=E.popup,b=y.domNode,I=E.orient||["below","below-alt","above","above-alt"],S=E.parent?E.parent.isLeftToRight():u.isBodyLtr(y.ownerDocument),R=E.around,N=E.around&&E.around.id?E.around.id+"_dropdown":"popup_"+this._idGen++;if(!E.doNotClose)for(;m.length&&(!E.parent||!_.isDescendant(E.parent.domNode,m[m.length-1].widget.domNode));)this.close(m[m.length-1].widget);var O=this.moveOffScreen(y);y.startup&&!y._started&&y.startup();var L,U=u.position(b);if("maxHeight"in E&&E.maxHeight!=-1)L=E.maxHeight||1/0;else{var z=t.getEffectiveBox(this.ownerDocument),$=R?u.position(R,!1):{y:E.y-(E.padding||0),h:(E.padding||0)*2};L=Math.floor(Math.max($.y,z.h-($.y+$.h)))}if(U.h>L){var W=r.getComputedStyle(b),V=W.borderLeftWidth+" "+W.borderLeftStyle+" "+W.borderLeftColor;r.set(O,{overflowY:"scroll",height:L+"px",border:V}),b._originalStyle=b.style.cssText,b.style.border="none"}v.set(O,{id:N,style:{zIndex:this._beginZIndex+m.length},class:"dijitPopup "+(y.baseClass||y.class||"").split(" ")[0]+"Popup",dijitPopupParent:E.parent?E.parent.id:""}),m.length==0&&R&&(this._firstAroundNode=R,this._firstAroundPosition=u.position(R,!0),this._aroundMoveListener=setTimeout(i.hitch(this,"_repositionAll"),50)),d("config-bgIframe")&&!y.bgIframe&&(y.bgIframe=new e(O));var K=y.orient?i.hitch(y,"orient"):null,M=R?c.around(O,R,I,S,K):c.at(O,E,I=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],E.padding,K);O.style.visibility="visible",b.style.visibility="visible";var B=[];return B.push(o(O,"keydown",i.hitch(this,function(P){if(P.keyCode==n.ESCAPE&&E.onCancel)P.stopPropagation(),P.preventDefault(),E.onCancel();else if(P.keyCode==n.TAB){P.stopPropagation(),P.preventDefault();var k=this.getTopPopup();k&&k.onCancel&&k.onCancel()}}))),y.onCancel&&E.onCancel&&B.push(y.on("cancel",E.onCancel)),B.push(y.on(y.onExecute?"execute":"change",i.hitch(this,function(){var P=this.getTopPopup();P&&P.onExecute&&P.onExecute()}))),m.push({widget:y,wrapper:O,parent:E.parent,onExecute:E.onExecute,onCancel:E.onCancel,onClose:E.onClose,handlers:B}),y.onOpen&&y.onOpen(M),M},close:function(E){for(var m=this._stack;E&&h.some(m,function(R){return R.widget==E})||!E&&m.length;){var y=m.pop(),b=y.widget,I=y.onClose;b.bgIframe&&(b.bgIframe.destroy(),delete b.bgIframe),b.onClose&&b.onClose();for(var S;S=y.handlers.pop();)S.remove();b&&b.domNode&&this.hide(b),I&&I()}m.length==0&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return s.popup=new p},A,x),A.exports=w},26268:(A,x,a)=>{var T,w;T=[a(37222),a(2251),a(55166)],w=a.dj.d(T,function(h,C,g){var _={},v={},f={length:0,add:function(u){if(v[u.id])throw new Error("Tried to register widget with id=="+u.id+" but that id is already registered");v[u.id]=u,this.length++},remove:function(u){v[u]&&(delete v[u],this.length--)},byId:function(u){return typeof u=="string"?v[u]:u},byNode:function(u){return v[u.getAttribute("widgetId")]},toArray:function(){var u=[];for(var r in v)u.push(v[r]);return u},getUniqueId:function(u){var r;do r=u+"_"+(u in _?++_[u]:_[u]=0);while(v[r]);return g._scopeName=="dijit"?r:g._scopeName+"_"+r},findWidgets:function(u,r){var d=[];function n(i){for(var o=i.firstChild;o;o=o.nextSibling)if(o.nodeType==1){var c=o.getAttribute("widgetId");if(c){var e=v[c];e&&d.push(e)}else o!==r&&n(o)}}return n(u),d},_destroyAll:function(){g._curFocus=null,g._prevFocus=null,g._activeStack=[],h.forEach(f.findWidgets(C.body()),function(u){u._destroyed||(u.destroyRecursive?u.destroyRecursive():u.destroy&&u.destroy())})},getEnclosingWidget:function(u){for(;u;){var r=u.nodeType==1&&u.getAttribute("widgetId");if(r)return v[r];u=u.parentNode}return null},_hash:v};return g.registry=f,f},A,x),A.exports=w},61685:(A,x,a)=>{var T,w;T=[x,a(25437),a(89943)],w=a.dj.d(T,function(h,C,g){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var _,v;const f=C.ReactiveElement,u=C.ReactiveElement;class r extends u{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var i,o;const c=super.createRenderRoot();return(i=(o=this.renderOptions).renderBefore)!==null&&i!==void 0||(o.renderBefore=c.firstChild),c}update(i){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this._$Dt=g.render(o,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this._$Dt)===null||i===void 0||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this._$Dt)===null||i===void 0||i.setConnected(!1)}render(){return g.noChange}}r.finalized=!0,r._$litElement$=!0,(_=globalThis.litElementHydrateSupport)===null||_===void 0||_.call(globalThis,{LitElement:r});const d=globalThis.litElementPolyfillSupport;d==null||d({LitElement:r}),((v=globalThis.litElementVersions)!==null&&v!==void 0?v:globalThis.litElementVersions=[]).push("3.0.1"),x.LitElement=r,x.UpdatingElement=f,x.t={_$AK:(n,i,o)=>{n._$AK(i,o)},_$AL:n=>n._$AL},Object.keys(C).forEach(function(n){n==="default"||h.hasOwnProperty(n)||Object.defineProperty(h,n,{enumerable:!0,get:function(){return C[n]}})}),Object.keys(g).forEach(function(n){n==="default"||h.hasOwnProperty(n)||Object.defineProperty(h,n,{enumerable:!0,get:function(){return g[n]}})}),Object.defineProperty(h,"i",{value:!0})},A,x),A.exports=w},89943:(A,x,a)=>{var T,w;T=[x],w=a.dj.d(T,function(h){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var C;const g=globalThis.trustedTypes,_=g?g.createPolicy("lit-html",{createHTML:Y=>Y}):void 0,v="$lit$",f=`lit$${(Math.random()+"").slice(9)}$`,u="?"+f,r=`<${u}>`,d=document,n=(Y="")=>d.createComment(Y),i=Y=>Y===null||typeof Y!="object"&&typeof Y!="function",o=Array.isArray,c=Y=>{var G;return o(Y)||typeof((G=Y)===null||G===void 0?void 0:G[Symbol.iterator])=="function"},e=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,t=/-->/g,s=/>/g,l=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,p=/'/g,E=/"/g,m=/^(?:script|style|textarea)$/i,y=Y=>(G,...Q)=>({_$litType$:Y,strings:G,values:Q}),b=y(1),I=y(2),S=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),N=new WeakMap,O=d.createTreeWalker(d,129,null,!1),L=(Y,G)=>{const Q=Y.length-1,J=[];let q,oe=G===2?"<svg>":"",ie=e;for(let ce=0;ce<Q;ce++){const te=Y[ce];let ne,re,se=-1,ge=0;for(;ge<te.length&&(ie.lastIndex=ge,re=ie.exec(te),re!==null);)ge=ie.lastIndex,ie===e?re[1]==="!--"?ie=t:re[1]!==void 0?ie=s:re[2]!==void 0?(m.test(re[2])&&(q=RegExp("</"+re[2],"g")),ie=l):re[3]!==void 0&&(ie=l):ie===l?re[0]===">"?(ie=q!=null?q:e,se=-1):re[1]===void 0?se=-2:(se=ie.lastIndex-re[2].length,ne=re[1],ie=re[3]===void 0?l:re[3]==='"'?E:p):ie===E||ie===p?ie=l:ie===t||ie===s?ie=e:(ie=l,q=void 0);const he=ie===l&&Y[ce+1].startsWith("/>")?" ":"";oe+=ie===e?te+r:se>=0?(J.push(ne),te.slice(0,se)+v+te.slice(se)+f+he):te+f+(se===-2?(J.push(void 0),ce):he)}const pe=oe+(Y[Q]||"<?>")+(G===2?"</svg>":"");return[_!==void 0?_.createHTML(pe):pe,J]};class U{constructor({strings:G,_$litType$:Q},J){let q;this.parts=[];let oe=0,ie=0;const pe=G.length-1,ce=this.parts,[te,ne]=L(G,Q);if(this.el=U.createElement(te,J),O.currentNode=this.el.content,Q===2){const re=this.el.content,se=re.firstChild;se.remove(),re.append(...se.childNodes)}for(;(q=O.nextNode())!==null&&ce.length<pe;){if(q.nodeType===1){if(q.hasAttributes()){const re=[];for(const se of q.getAttributeNames())if(se.endsWith(v)||se.startsWith(f)){const ge=ne[ie++];if(re.push(se),ge!==void 0){const he=q.getAttribute(ge.toLowerCase()+v).split(f),fe=/([.?@])?(.*)/.exec(ge);ce.push({type:1,index:oe,name:fe[2],strings:he,ctor:fe[1]==="."?K:fe[1]==="?"?M:fe[1]==="@"?B:V})}else ce.push({type:6,index:oe})}for(const se of re)q.removeAttribute(se)}if(m.test(q.tagName)){const re=q.textContent.split(f),se=re.length-1;if(se>0){q.textContent=g?g.emptyScript:"";for(let ge=0;ge<se;ge++)q.append(re[ge],n()),O.nextNode(),ce.push({type:2,index:++oe});q.append(re[se],n())}}}else if(q.nodeType===8)if(q.data===u)ce.push({type:2,index:oe});else{let re=-1;for(;(re=q.data.indexOf(f,re+1))!==-1;)ce.push({type:7,index:oe}),re+=f.length-1}oe++}}static createElement(G,Q){const J=d.createElement("template");return J.innerHTML=G,J}}function z(Y,G,Q=Y,J){var q,oe,ie,pe;if(G===S)return G;let ce=J!==void 0?(q=Q._$Cl)===null||q===void 0?void 0:q[J]:Q._$Cu;const te=i(G)?void 0:G._$litDirective$;return(ce==null?void 0:ce.constructor)!==te&&((oe=ce==null?void 0:ce._$AO)===null||oe===void 0||oe.call(ce,!1),te===void 0?ce=void 0:(ce=new te(Y),ce._$AT(Y,Q,J)),J!==void 0?((ie=(pe=Q)._$Cl)!==null&&ie!==void 0?ie:pe._$Cl=[])[J]=ce:Q._$Cu=ce),ce!==void 0&&(G=z(Y,ce._$AS(Y,G.values),ce,J)),G}class ${constructor(G,Q){this.v=[],this._$AN=void 0,this._$AD=G,this._$AM=Q}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(G){var Q;const{el:{content:J},parts:q}=this._$AD,oe=((Q=G==null?void 0:G.creationScope)!==null&&Q!==void 0?Q:d).importNode(J,!0);O.currentNode=oe;let ie=O.nextNode(),pe=0,ce=0,te=q[0];for(;te!==void 0;){if(pe===te.index){let ne;te.type===2?ne=new W(ie,ie.nextSibling,this,G):te.type===1?ne=new te.ctor(ie,te.name,te.strings,this,G):te.type===6&&(ne=new P(ie,this,G)),this.v.push(ne),te=q[++ce]}pe!==(te==null?void 0:te.index)&&(ie=O.nextNode(),pe++)}return O.currentNode=d,oe}m(G){let Q=0;for(const J of this.v)J!==void 0&&(J.strings!==void 0?(J._$AI(G,J,Q),Q+=J.strings.length-2):J._$AI(G[Q])),Q++}}class W{constructor(G,Q,J,q){var oe;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=G,this._$AB=Q,this._$AM=J,this.options=q,this._$Cg=(oe=q==null?void 0:q.isConnected)===null||oe===void 0||oe}get _$AU(){var G,Q;return(Q=(G=this._$AM)===null||G===void 0?void 0:G._$AU)!==null&&Q!==void 0?Q:this._$Cg}get parentNode(){let G=this._$AA.parentNode;const Q=this._$AM;return Q!==void 0&&G.nodeType===11&&(G=Q.parentNode),G}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(G,Q=this){G=z(this,G,Q),i(G)?G===R||G==null||G===""?(this._$AH!==R&&this._$AR(),this._$AH=R):G!==this._$AH&&G!==S&&this.$(G):G._$litType$!==void 0?this.T(G):G.nodeType!==void 0?this.S(G):c(G)?this.P(G):this.$(G)}M(G,Q=this._$AB){return this._$AA.parentNode.insertBefore(G,Q)}S(G){this._$AH!==G&&(this._$AR(),this._$AH=this.M(G))}$(G){this._$AH!==R&&i(this._$AH)?this._$AA.nextSibling.data=G:this.S(d.createTextNode(G)),this._$AH=G}T(G){var Q;const{values:J,_$litType$:q}=G,oe=typeof q=="number"?this._$AC(G):(q.el===void 0&&(q.el=U.createElement(q.h,this.options)),q);if(((Q=this._$AH)===null||Q===void 0?void 0:Q._$AD)===oe)this._$AH.m(J);else{const ie=new $(oe,this),pe=ie.p(this.options);ie.m(J),this.S(pe),this._$AH=ie}}_$AC(G){let Q=N.get(G.strings);return Q===void 0&&N.set(G.strings,Q=new U(G)),Q}P(G){o(this._$AH)||(this._$AH=[],this._$AR());const Q=this._$AH;let J,q=0;for(const oe of G)q===Q.length?Q.push(J=new W(this.M(n()),this.M(n()),this,this.options)):J=Q[q],J._$AI(oe),q++;q<Q.length&&(this._$AR(J&&J._$AB.nextSibling,q),Q.length=q)}_$AR(G=this._$AA.nextSibling,Q){var J;for((J=this._$AP)===null||J===void 0||J.call(this,!1,!0,Q);G&&G!==this._$AB;){const q=G.nextSibling;G.remove(),G=q}}setConnected(G){var Q;this._$AM===void 0&&(this._$Cg=G,(Q=this._$AP)===null||Q===void 0||Q.call(this,G))}}class V{constructor(G,Q,J,q,oe){this.type=1,this._$AH=R,this._$AN=void 0,this.element=G,this.name=Q,this._$AM=q,this.options=oe,J.length>2||J[0]!==""||J[1]!==""?(this._$AH=Array(J.length-1).fill(new String),this.strings=J):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(G,Q=this,J,q){const oe=this.strings;let ie=!1;if(oe===void 0)G=z(this,G,Q,0),ie=!i(G)||G!==this._$AH&&G!==S,ie&&(this._$AH=G);else{const pe=G;let ce,te;for(G=oe[0],ce=0;ce<oe.length-1;ce++)te=z(this,pe[J+ce],Q,ce),te===S&&(te=this._$AH[ce]),ie||(ie=!i(te)||te!==this._$AH[ce]),te===R?G=R:G!==R&&(G+=(te!=null?te:"")+oe[ce+1]),this._$AH[ce]=te}ie&&!q&&this.C(G)}C(G){G===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,G!=null?G:"")}}class K extends V{constructor(){super(...arguments),this.type=3}C(G){this.element[this.name]=G===R?void 0:G}}class M extends V{constructor(){super(...arguments),this.type=4}C(G){G&&G!==R?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class B extends V{constructor(G,Q,J,q,oe){super(G,Q,J,q,oe),this.type=5}_$AI(G,Q=this){var J;if((G=(J=z(this,G,Q,0))!==null&&J!==void 0?J:R)===S)return;const q=this._$AH,oe=G===R&&q!==R||G.capture!==q.capture||G.once!==q.once||G.passive!==q.passive,ie=G!==R&&(q===R||oe);oe&&this.element.removeEventListener(this.name,this,q),ie&&this.element.addEventListener(this.name,this,G),this._$AH=G}handleEvent(G){var Q,J;typeof this._$AH=="function"?this._$AH.call((J=(Q=this.options)===null||Q===void 0?void 0:Q.host)!==null&&J!==void 0?J:this.element,G):this._$AH.handleEvent(G)}}class P{constructor(G,Q,J){this.element=G,this.type=6,this._$AN=void 0,this._$AM=Q,this.options=J}get _$AU(){return this._$AM._$AU}_$AI(G){z(this,G)}}const k={k:v,V:f,L:u,I:1,N:L,R:$,D:c,j:z,H:W,O:V,F:M,B,W:K,Z:P},H=window.litHtmlPolyfillSupport;H==null||H(U,W),((C=globalThis.litHtmlVersions)!==null&&C!==void 0?C:globalThis.litHtmlVersions=[]).push("2.0.1"),x.t=k,x.html=b,x.noChange=S,x.nothing=R,x.render=(Y,G,Q)=>{var J,q;const oe=(J=Q==null?void 0:Q.renderBefore)!==null&&J!==void 0?J:G;let ie=oe._$litPart$;if(ie===void 0){const pe=(q=Q==null?void 0:Q.renderBefore)!==null&&q!==void 0?q:null;oe._$litPart$=ie=new W(G.insertBefore(n(),pe),pe,void 0,Q!=null?Q:{})}return ie._$AI(Y),ie},x.svg=I,Object.defineProperty(h,"i",{value:!0})},A,x),A.exports=w},80121:(A,x,a)=>{var T,w;T=[x],w=a.dj.d(T,function(h){"use strict";/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const C=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g=Symbol(),_=new Map;class v{constructor(d,n){if(this._$cssResult$=!0,n!==g)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=d}get styleSheet(){let d=_.get(this.cssText);return C&&d===void 0&&(_.set(this.cssText,d=new CSSStyleSheet),d.replaceSync(this.cssText)),d}toString(){return this.cssText}}const f=r=>new v(typeof r=="string"?r:r+"",g),u=C?r=>r:r=>r instanceof CSSStyleSheet?(d=>{let n="";for(const i of d.cssRules)n+=i.cssText;return f(n)})(r):r;x.CSSResult=v,x.adoptStyles=(r,d)=>{C?r.adoptedStyleSheets=d.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):d.forEach(n=>{const i=document.createElement("style"),o=window.litNonce;o!==void 0&&i.setAttribute("nonce",o),i.textContent=n.cssText,r.appendChild(i)})},x.css=(r,...d)=>{const n=r.length===1?r[0]:d.reduce((i,o,c)=>i+(e=>{if(e._$cssResult$===!0)return e.cssText;if(typeof e=="number")return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+r[c+1],r[0]);return new v(n,g)},x.getCompatibleStyle=u,x.supportsAdoptingStyleSheets=C,x.unsafeCSS=f,Object.defineProperty(h,"t",{value:!0})},A,x),A.exports=w},43660:(A,x,a)=>{var T;T=function(){"use strict";return function(){if(window.Reflect===void 0||window.customElements===void 0||window.customElements.polyfillWrapFlushCallback)return;const w=HTMLElement;window.HTMLElement=function(){return Reflect.construct(w,[],this.constructor)},HTMLElement.prototype=w.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,w)}(),{}}.call(null,a,x,A),T!==void 0&&(A.exports=T)},25437:(A,x,a)=>{var T,w;T=[x,a(80121),a(43660)],w=a.dj.d(T,function(h,C,g){"use strict";/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/var _;const v=window.reactiveElementPolyfillSupport,f={toAttribute(n,i){switch(i){case Boolean:n=n?"":null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,i){let o=n;switch(i){case Boolean:o=n!==null;break;case Number:o=n===null?null:Number(n);break;case Object:case Array:try{o=JSON.parse(n)}catch(c){o=null}}return o}},u=(n,i)=>i!==n&&(i==i||n==n),r={attribute:!0,type:String,converter:f,reflect:!1,hasChanged:u};class d extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(i){var o;(o=this.l)!==null&&o!==void 0||(this.l=[]),this.l.push(i)}static get observedAttributes(){this.finalize();const i=[];return this.elementProperties.forEach((o,c)=>{const e=this._$Eh(c,o);e!==void 0&&(this._$Eu.set(e,c),i.push(e))}),i}static createProperty(i,o=r){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(i,o),!o.noAccessor&&!this.prototype.hasOwnProperty(i)){const c=typeof i=="symbol"?Symbol():"__"+i,e=this.getPropertyDescriptor(i,c,o);e!==void 0&&Object.defineProperty(this.prototype,i,e)}}static getPropertyDescriptor(i,o,c){return{get(){return this[o]},set(e){const t=this[i];this[o]=e,this.requestUpdate(i,t,c)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){return this.elementProperties.get(i)||r}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const i=Object.getPrototypeOf(this);if(i.finalize(),this.elementProperties=new Map(i.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const o=this.properties,c=[...Object.getOwnPropertyNames(o),...Object.getOwnPropertySymbols(o)];for(const e of c)this.createProperty(e,o[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const o=[];if(Array.isArray(i)){const c=new Set(i.flat(1/0).reverse());for(const e of c)o.unshift(C.getCompatibleStyle(e))}else i!==void 0&&o.push(C.getCompatibleStyle(i));return o}static _$Eh(i,o){const c=o.attribute;return c===!1?void 0:typeof c=="string"?c:typeof i=="string"?i.toLowerCase():void 0}o(){var i;this._$Ev=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$Ep(),this.requestUpdate(),(i=this.constructor.l)===null||i===void 0||i.forEach(o=>o(this))}addController(i){var o,c;((o=this._$Em)!==null&&o!==void 0?o:this._$Em=[]).push(i),this.renderRoot!==void 0&&this.isConnected&&((c=i.hostConnected)===null||c===void 0||c.call(i))}removeController(i){var o;(o=this._$Em)===null||o===void 0||o.splice(this._$Em.indexOf(i)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((i,o)=>{this.hasOwnProperty(o)&&(this._$Et.set(o,this[o]),delete this[o])})}createRenderRoot(){var i;const o=(i=this.shadowRoot)!==null&&i!==void 0?i:this.attachShadow(this.constructor.shadowRootOptions);return C.adoptStyles(o,this.constructor.elementStyles),o}connectedCallback(){var i;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(i=this._$Em)===null||i===void 0||i.forEach(o=>{var c;return(c=o.hostConnected)===null||c===void 0?void 0:c.call(o)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$Em)===null||i===void 0||i.forEach(o=>{var c;return(c=o.hostDisconnected)===null||c===void 0?void 0:c.call(o)})}attributeChangedCallback(i,o,c){this._$AK(i,c)}_$Eg(i,o,c=r){var e,t;const s=this.constructor._$Eh(i,c);if(s!==void 0&&c.reflect===!0){const l=((t=(e=c.converter)===null||e===void 0?void 0:e.toAttribute)!==null&&t!==void 0?t:f.toAttribute)(o,c.type);this._$Ei=i,l==null?this.removeAttribute(s):this.setAttribute(s,l),this._$Ei=null}}_$AK(i,o){var c,e,t;const s=this.constructor,l=s._$Eu.get(i);if(l!==void 0&&this._$Ei!==l){const p=s.getPropertyOptions(l),E=p.converter,m=(t=(e=(c=E)===null||c===void 0?void 0:c.fromAttribute)!==null&&e!==void 0?e:typeof E=="function"?E:null)!==null&&t!==void 0?t:f.fromAttribute;this._$Ei=l,this[l]=m(o,p.type),this._$Ei=null}}requestUpdate(i,o,c){let e=!0;i!==void 0&&(((c=c||this.constructor.getPropertyOptions(i)).hasChanged||u)(this[i],o)?(this._$AL.has(i)||this._$AL.set(i,o),c.reflect===!0&&this._$Ei!==i&&(this._$ES===void 0&&(this._$ES=new Map),this._$ES.set(i,c))):e=!1),!this.isUpdatePending&&e&&(this._$Ev=this._$ET())}_$ET(){return i=this,o=void 0,e=function*(){this.isUpdatePending=!0;try{yield this._$Ev}catch(s){Promise.reject(s)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending},new((c=void 0)||(c=Promise))(function(t,s){function l(m){try{E(e.next(m))}catch(y){s(y)}}function p(m){try{E(e.throw(m))}catch(y){s(y)}}function E(m){var y;m.done?t(m.value):(y=m.value,y instanceof c?y:new c(function(b){b(y)})).then(l,p)}E((e=e.apply(i,o||[])).next())});var i,o,c,e}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((e,t)=>this[t]=e),this._$Et=void 0);let o=!1;const c=this._$AL;try{o=this.shouldUpdate(c),o?(this.willUpdate(c),(i=this._$Em)===null||i===void 0||i.forEach(e=>{var t;return(t=e.hostUpdate)===null||t===void 0?void 0:t.call(e)}),this.update(c)):this._$EC()}catch(e){throw o=!1,this._$EC(),e}o&&this._$AE(c)}willUpdate(i){}_$AE(i){var o;(o=this._$Em)===null||o===void 0||o.forEach(c=>{var e;return(e=c.hostUpdated)===null||e===void 0?void 0:e.call(c)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EC(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(i){return!0}update(i){this._$ES!==void 0&&(this._$ES.forEach((o,c)=>this._$Eg(c,this[c],o)),this._$ES=void 0),this._$EC()}updated(i){}firstUpdated(i){}}d.finalized=!0,d.elementProperties=new Map,d.elementStyles=[],d.shadowRootOptions={mode:"open"},v==null||v({ReactiveElement:d}),((_=globalThis.reactiveElementVersions)!==null&&_!==void 0?_:globalThis.reactiveElementVersions=[]).push("1.0.1"),x.CSSResult=C.CSSResult,x.adoptStyles=C.adoptStyles,x.css=C.css,x.getCompatibleStyle=C.getCompatibleStyle,x.supportsAdoptingStyleSheets=C.supportsAdoptingStyleSheets,x.unsafeCSS=C.unsafeCSS,x.ReactiveElement=d,x.defaultConverter=f,x.notEqual=u,Object.defineProperty(h,"t",{value:!0})},A,x),A.exports=w},50883:(A,x,a)=>{var T,w;T=[x],w=a.dj.d(T,function(h){"use strict";function C(ue){var le=ue.getBoundingClientRect();return{width:le.width,height:le.height,top:le.top,right:le.right,bottom:le.bottom,left:le.left,x:le.left,y:le.top}}function g(ue){if(ue==null)return window;if(ue.toString()!=="[object Window]"){var le=ue.ownerDocument;return le&&le.defaultView||window}return ue}function _(ue){var le=g(ue),ve=le.pageXOffset,be=le.pageYOffset;return{scrollLeft:ve,scrollTop:be}}function v(ue){var le=g(ue).Element;return ue instanceof le||ue instanceof Element}function f(ue){var le=g(ue).HTMLElement;return ue instanceof le||ue instanceof HTMLElement}function u(ue){if(typeof ShadowRoot>"u")return!1;var le=g(ue).ShadowRoot;return ue instanceof le||ue instanceof ShadowRoot}function r(ue){return{scrollLeft:ue.scrollLeft,scrollTop:ue.scrollTop}}function d(ue){return ue===g(ue)||!f(ue)?_(ue):r(ue)}function n(ue){return ue?(ue.nodeName||"").toLowerCase():null}function i(ue){return((v(ue)?ue.ownerDocument:ue.document)||window.document).documentElement}function o(ue){return C(i(ue)).left+_(ue).scrollLeft}function c(ue){return g(ue).getComputedStyle(ue)}function e(ue){var le=c(ue),ve=le.overflow,be=le.overflowX,Se=le.overflowY;return/auto|scroll|overlay|hidden/.test(ve+Se+be)}function t(ue,le,ve){ve===void 0&&(ve=!1);var be=i(le),Se=C(ue),Le=f(le),We={scrollLeft:0,scrollTop:0},$e={x:0,y:0};return(Le||!Le&&!ve)&&((n(le)!=="body"||e(be))&&(We=d(le)),f(le)?($e=C(le),$e.x+=le.clientLeft,$e.y+=le.clientTop):be&&($e.x=o(be))),{x:Se.left+We.scrollLeft-$e.x,y:Se.top+We.scrollTop-$e.y,width:Se.width,height:Se.height}}function s(ue){var le=C(ue),ve=ue.offsetWidth,be=ue.offsetHeight;return Math.abs(le.width-ve)<=1&&(ve=le.width),Math.abs(le.height-be)<=1&&(be=le.height),{x:ue.offsetLeft,y:ue.offsetTop,width:ve,height:be}}function l(ue){return n(ue)==="html"?ue:ue.assignedSlot||ue.parentNode||(u(ue)?ue.host:null)||i(ue)}function p(ue){return["html","body","#document"].indexOf(n(ue))>=0?ue.ownerDocument.body:f(ue)&&e(ue)?ue:p(l(ue))}function E(ue,le){var ve;le===void 0&&(le=[]);var be=p(ue),Se=be===((ve=ue.ownerDocument)==null?void 0:ve.body),Le=g(be),We=Se?[Le].concat(Le.visualViewport||[],e(be)?be:[]):be,$e=le.concat(We);return Se?$e:$e.concat(E(l(We)))}function m(ue){return["table","td","th"].indexOf(n(ue))>=0}function y(ue){return!f(ue)||c(ue).position==="fixed"?null:ue.offsetParent}function b(ue){for(var le=navigator.userAgent.toLowerCase().includes("firefox"),ve=l(ue);f(ve)&&["html","body"].indexOf(n(ve))<0;){var be=c(ve);if(be.transform!=="none"||be.perspective!=="none"||be.contain==="paint"||["transform","perspective"].includes(be.willChange)||le&&be.willChange==="filter"||le&&be.filter&&be.filter!=="none")return ve;ve=ve.parentNode}return null}function I(ue){for(var le=g(ue),ve=y(ue);ve&&m(ve)&&c(ve).position==="static";)ve=y(ve);return ve&&(n(ve)==="html"||n(ve)==="body"&&c(ve).position==="static")?le:ve||b(ue)||le}var S="top",R="bottom",N="right",O="left",L="auto",U=[S,R,N,O],z="start",$="end",W="clippingParents",V="viewport",K="popper",M="reference",B=U.reduce(function(ue,le){return ue.concat([le+"-"+z,le+"-"+$])},[]),P=[].concat(U,[L]).reduce(function(ue,le){return ue.concat([le,le+"-"+z,le+"-"+$])},[]),k="beforeRead",H="read",Y="afterRead",G="beforeMain",Q="main",J="afterMain",q="beforeWrite",oe="write",ie="afterWrite",pe=[k,H,Y,G,Q,J,q,oe,ie];function ce(ue){var le=new Map,ve=new Set,be=[];ue.forEach(function(Le){le.set(Le.name,Le)});function Se(Le){ve.add(Le.name);var We=[].concat(Le.requires||[],Le.requiresIfExists||[]);We.forEach(function($e){if(!ve.has($e)){var qe=le.get($e);qe&&Se(qe)}}),be.push(Le)}return ue.forEach(function(Le){ve.has(Le.name)||Se(Le)}),be}function te(ue){var le=ce(ue);return pe.reduce(function(ve,be){return ve.concat(le.filter(function(Se){return Se.phase===be}))},[])}function ne(ue){var le;return function(){return le||(le=new Promise(function(ve){Promise.resolve().then(function(){le=void 0,ve(ue())})})),le}}function re(ue){return ue.split("-")[0]}function se(ue){var le=ue.reduce(function(ve,be){var Se=ve[be.name];return ve[be.name]=Se?Object.assign({},Se,be,{options:Object.assign({},Se.options,be.options),data:Object.assign({},Se.data,be.data)}):be,ve},{});return Object.keys(le).map(function(ve){return le[ve]})}function ge(ue){var le=g(ue),ve=i(ue),be=le.visualViewport,Se=ve.clientWidth,Le=ve.clientHeight,We=0,$e=0;return be&&(Se=be.width,Le=be.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(We=be.offsetLeft,$e=be.offsetTop)),{width:Se,height:Le,x:We+o(ue),y:$e}}var he=Math.max,fe=Math.min,me=Math.round;function De(ue){var le,ve=i(ue),be=_(ue),Se=(le=ue.ownerDocument)==null?void 0:le.body,Le=he(ve.scrollWidth,ve.clientWidth,Se?Se.scrollWidth:0,Se?Se.clientWidth:0),We=he(ve.scrollHeight,ve.clientHeight,Se?Se.scrollHeight:0,Se?Se.clientHeight:0),$e=-be.scrollLeft+o(ue),qe=-be.scrollTop;return c(Se||ve).direction==="rtl"&&($e+=he(ve.clientWidth,Se?Se.clientWidth:0)-Le),{width:Le,height:We,x:$e,y:qe}}function Ie(ue,le){var ve=le.getRootNode&&le.getRootNode();if(ue.contains(le))return!0;if(ve&&u(ve)){var be=le;do{if(be&&ue.isSameNode(be))return!0;be=be.parentNode||be.host}while(be)}return!1}function Oe(ue){return Object.assign({},ue,{left:ue.x,top:ue.y,right:ue.x+ue.width,bottom:ue.y+ue.height})}function je(ue){var le=C(ue);return le.top=le.top+ue.clientTop,le.left=le.left+ue.clientLeft,le.bottom=le.top+ue.clientHeight,le.right=le.left+ue.clientWidth,le.width=ue.clientWidth,le.height=ue.clientHeight,le.x=le.left,le.y=le.top,le}function dt(ue,le){return le===V?Oe(ge(ue)):f(le)?je(le):Oe(De(i(ue)))}function yt(ue){var le=E(l(ue)),ve=["absolute","fixed"].indexOf(c(ue).position)>=0,be=ve&&f(ue)?I(ue):ue;return v(be)?le.filter(function(Se){return v(Se)&&Ie(Se,be)&&n(Se)!=="body"}):[]}function kt(ue,le,ve){var be=le==="clippingParents"?yt(ue):[].concat(le),Se=[].concat(be,[ve]),Le=Se[0],We=Se.reduce(function($e,qe){var lt=dt(ue,qe);return $e.top=he(lt.top,$e.top),$e.right=fe(lt.right,$e.right),$e.bottom=fe(lt.bottom,$e.bottom),$e.left=he(lt.left,$e.left),$e},dt(ue,Le));return We.width=We.right-We.left,We.height=We.bottom-We.top,We.x=We.left,We.y=We.top,We}function Rt(ue){return ue.split("-")[1]}function jt(ue){return["top","bottom"].indexOf(ue)>=0?"x":"y"}function Wt(ue){var le=ue.reference,ve=ue.element,be=ue.placement,Se=be?re(be):null,Le=be?Rt(be):null,We=le.x+le.width/2-ve.width/2,$e=le.y+le.height/2-ve.height/2,qe;switch(Se){case S:qe={x:We,y:le.y-ve.height};break;case R:qe={x:We,y:le.y+le.height};break;case N:qe={x:le.x+le.width,y:$e};break;case O:qe={x:le.x-ve.width,y:$e};break;default:qe={x:le.x,y:le.y}}var lt=Se?jt(Se):null;if(lt!=null){var Qe=lt==="y"?"height":"width";switch(Le){case z:qe[lt]=qe[lt]-(le[Qe]/2-ve[Qe]/2);break;case $:qe[lt]=qe[lt]+(le[Qe]/2-ve[Qe]/2);break}}return qe}function En(){return{top:0,right:0,bottom:0,left:0}}function sn(ue){return Object.assign({},En(),ue)}function nn(ue,le){return le.reduce(function(ve,be){return ve[be]=ue,ve},{})}function pn(ue,le){le===void 0&&(le={});var ve=le,be=ve.placement,Se=be===void 0?ue.placement:be,Le=ve.boundary,We=Le===void 0?W:Le,$e=ve.rootBoundary,qe=$e===void 0?V:$e,lt=ve.elementContext,Qe=lt===void 0?K:lt,zt=ve.altBoundary,Xt=zt===void 0?!1:zt,Kt=ve.padding,Mt=Kt===void 0?0:Kt,Qt=sn(typeof Mt!="number"?Mt:nn(Mt,U)),Vt=Qe===K?M:K,cn=ue.elements.reference,Ne=ue.rects.popper,Ue=ue.elements[Xt?Vt:Qe],ze=kt(v(Ue)?Ue:Ue.contextElement||i(ue.elements.popper),We,qe),et=C(cn),Tt=Wt({reference:et,element:Ne,strategy:"absolute",placement:Se}),$t=Oe(Object.assign({},Ne,Tt)),Zt=Qe===K?$t:et,xt={top:ze.top-Zt.top+Qt.top,bottom:Zt.bottom-ze.bottom+Qt.bottom,left:ze.left-Zt.left+Qt.left,right:Zt.right-ze.right+Qt.right},pt=ue.modifiersData.offset;if(Qe===K&&pt){var Pt=pt[Se];Object.keys(xt).forEach(function(dn){var Ut=[N,R].indexOf(dn)>=0?1:-1,Yn=[S,R].indexOf(dn)>=0?"y":"x";xt[dn]+=Pt[Yn]*Ut})}return xt}var ye={placement:"bottom",modifiers:[],strategy:"absolute"};function Me(){for(var ue=arguments.length,le=new Array(ue),ve=0;ve<ue;ve++)le[ve]=arguments[ve];return!le.some(function(be){return!(be&&typeof be.getBoundingClientRect=="function")})}function Ge(ue){ue===void 0&&(ue={});var le=ue,ve=le.defaultModifiers,be=ve===void 0?[]:ve,Se=le.defaultOptions,Le=Se===void 0?ye:Se;return function($e,qe,lt){lt===void 0&&(lt=Le);var Qe={placement:"bottom",orderedModifiers:[],options:Object.assign({},ye,Le),modifiersData:{},elements:{reference:$e,popper:qe},attributes:{},styles:{}},zt=[],Xt=!1,Kt={state:Qe,setOptions:function(cn){Qt(),Qe.options=Object.assign({},Le,Qe.options,cn),Qe.scrollParents={reference:v($e)?E($e):$e.contextElement?E($e.contextElement):[],popper:E(qe)};var Ne=te(se([].concat(be,Qe.options.modifiers)));return Qe.orderedModifiers=Ne.filter(function(Ue){return Ue.enabled}),Mt(),Kt.update()},forceUpdate:function(){if(!Xt){var cn=Qe.elements,Ne=cn.reference,Ue=cn.popper;if(Me(Ne,Ue)){Qe.rects={reference:t(Ne,I(Ue),Qe.options.strategy==="fixed"),popper:s(Ue)},Qe.reset=!1,Qe.placement=Qe.options.placement,Qe.orderedModifiers.forEach(function(pt){return Qe.modifiersData[pt.name]=Object.assign({},pt.data)});for(var ze=0;ze<Qe.orderedModifiers.length;ze++){if(Qe.reset===!0){Qe.reset=!1,ze=-1;continue}var et=Qe.orderedModifiers[ze],Tt=et.fn,$t=et.options,Zt=$t===void 0?{}:$t,xt=et.name;typeof Tt=="function"&&(Qe=Tt({state:Qe,options:Zt,name:xt,instance:Kt})||Qe)}}}},update:ne(function(){return new Promise(function(Vt){Kt.forceUpdate(),Vt(Qe)})}),destroy:function(){Qt(),Xt=!0}};if(!Me($e,qe))return Kt;Kt.setOptions(lt).then(function(Vt){!Xt&&lt.onFirstUpdate&&lt.onFirstUpdate(Vt)});function Mt(){Qe.orderedModifiers.forEach(function(Vt){var cn=Vt.name,Ne=Vt.options,Ue=Ne===void 0?{}:Ne,ze=Vt.effect;if(typeof ze=="function"){var et=ze({state:Qe,name:cn,instance:Kt,options:Ue}),Tt=function(){};zt.push(et||Tt)}})}function Qt(){zt.forEach(function(Vt){return Vt()}),zt=[]}return Kt}}var it={passive:!0};function st(ue){var le=ue.state,ve=ue.instance,be=ue.options,Se=be.scroll,Le=Se===void 0?!0:Se,We=be.resize,$e=We===void 0?!0:We,qe=g(le.elements.popper),lt=[].concat(le.scrollParents.reference,le.scrollParents.popper);return Le&&lt.forEach(function(Qe){Qe.addEventListener("scroll",ve.update,it)}),$e&&qe.addEventListener("resize",ve.update,it),function(){Le&&lt.forEach(function(Qe){Qe.removeEventListener("scroll",ve.update,it)}),$e&&qe.removeEventListener("resize",ve.update,it)}}var wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:st,data:{}};function It(ue){var le=ue.state,ve=ue.name;le.modifiersData[ve]=Wt({reference:le.rects.reference,element:le.rects.popper,strategy:"absolute",placement:le.placement})}var _t={name:"popperOffsets",enabled:!0,phase:"read",fn:It,data:{}},Dt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jt(ue){var le=ue.x,ve=ue.y,be=window,Se=be.devicePixelRatio||1;return{x:me(me(le*Se)/Se)||0,y:me(me(ve*Se)/Se)||0}}function Un(ue){var le,ve=ue.popper,be=ue.popperRect,Se=ue.placement,Le=ue.offsets,We=ue.position,$e=ue.gpuAcceleration,qe=ue.adaptive,lt=ue.roundOffsets,Qe=lt===!0?Jt(Le):typeof lt=="function"?lt(Le):Le,zt=Qe.x,Xt=zt===void 0?0:zt,Kt=Qe.y,Mt=Kt===void 0?0:Kt,Qt=Le.hasOwnProperty("x"),Vt=Le.hasOwnProperty("y"),cn=O,Ne=S,Ue=window;if(qe){var ze=I(ve),et="clientHeight",Tt="clientWidth";ze===g(ve)&&(ze=i(ve),c(ze).position!=="static"&&(et="scrollHeight",Tt="scrollWidth")),ze=ze,Se===S&&(Ne=R,Mt-=ze[et]-be.height,Mt*=$e?1:-1),Se===O&&(cn=N,Xt-=ze[Tt]-be.width,Xt*=$e?1:-1)}var $t=Object.assign({position:We},qe&&Dt);if($e){var Zt;return Object.assign({},$t,(Zt={},Zt[Ne]=Vt?"0":"",Zt[cn]=Qt?"0":"",Zt.transform=(Ue.devicePixelRatio||1)<2?"translate("+Xt+"px, "+Mt+"px)":"translate3d("+Xt+"px, "+Mt+"px, 0)",Zt))}return Object.assign({},$t,(le={},le[Ne]=Vt?Mt+"px":"",le[cn]=Qt?Xt+"px":"",le.transform="",le))}function yn(ue){var le=ue.state,ve=ue.options,be=ve.gpuAcceleration,Se=be===void 0?!0:be,Le=ve.adaptive,We=Le===void 0?!0:Le,$e=ve.roundOffsets,qe=$e===void 0?!0:$e,lt={placement:re(le.placement),popper:le.elements.popper,popperRect:le.rects.popper,gpuAcceleration:Se};le.modifiersData.popperOffsets!=null&&(le.styles.popper=Object.assign({},le.styles.popper,Un(Object.assign({},lt,{offsets:le.modifiersData.popperOffsets,position:le.options.strategy,adaptive:We,roundOffsets:qe})))),le.modifiersData.arrow!=null&&(le.styles.arrow=Object.assign({},le.styles.arrow,Un(Object.assign({},lt,{offsets:le.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:qe})))),le.attributes.popper=Object.assign({},le.attributes.popper,{"data-popper-placement":le.placement})}var Vn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yn,data:{}};function Er(ue){var le=ue.state;Object.keys(le.elements).forEach(function(ve){var be=le.styles[ve]||{},Se=le.attributes[ve]||{},Le=le.elements[ve];!f(Le)||!n(Le)||(Object.assign(Le.style,be),Object.keys(Se).forEach(function(We){var $e=Se[We];$e===!1?Le.removeAttribute(We):Le.setAttribute(We,$e===!0?"":$e)}))})}function un(ue){var le=ue.state,ve={popper:{position:le.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(le.elements.popper.style,ve.popper),le.styles=ve,le.elements.arrow&&Object.assign(le.elements.arrow.style,ve.arrow),function(){Object.keys(le.elements).forEach(function(be){var Se=le.elements[be],Le=le.attributes[be]||{},We=Object.keys(le.styles.hasOwnProperty(be)?le.styles[be]:ve[be]),$e=We.reduce(function(qe,lt){return qe[lt]="",qe},{});!f(Se)||!n(Se)||(Object.assign(Se.style,$e),Object.keys(Le).forEach(function(qe){Se.removeAttribute(qe)}))})}}var ln={name:"applyStyles",enabled:!0,phase:"write",fn:Er,effect:un,requires:["computeStyles"]};function $n(ue,le,ve){var be=re(ue),Se=[O,S].indexOf(be)>=0?-1:1,Le=typeof ve=="function"?ve(Object.assign({},le,{placement:ue})):ve,We=Le[0],$e=Le[1];return We=We||0,$e=($e||0)*Se,[O,N].indexOf(be)>=0?{x:$e,y:We}:{x:We,y:$e}}function zn(ue){var le=ue.state,ve=ue.options,be=ue.name,Se=ve.offset,Le=Se===void 0?[0,0]:Se,We=P.reduce(function(Qe,zt){return Qe[zt]=$n(zt,le.rects,Le),Qe},{}),$e=We[le.placement],qe=$e.x,lt=$e.y;le.modifiersData.popperOffsets!=null&&(le.modifiersData.popperOffsets.x+=qe,le.modifiersData.popperOffsets.y+=lt),le.modifiersData[be]=We}var Bn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zn},Ae={left:"right",right:"left",bottom:"top",top:"bottom"};function we(ue){return ue.replace(/left|right|bottom|top/g,function(le){return Ae[le]})}var Pe={start:"end",end:"start"};function He(ue){return ue.replace(/start|end/g,function(le){return Pe[le]})}function tt(ue,le){le===void 0&&(le={});var ve=le,be=ve.placement,Se=ve.boundary,Le=ve.rootBoundary,We=ve.padding,$e=ve.flipVariations,qe=ve.allowedAutoPlacements,lt=qe===void 0?P:qe,Qe=Rt(be),zt=Qe?$e?B:B.filter(function(Mt){return Rt(Mt)===Qe}):U,Xt=zt.filter(function(Mt){return lt.indexOf(Mt)>=0});Xt.length===0&&(Xt=zt);var Kt=Xt.reduce(function(Mt,Qt){return Mt[Qt]=pn(ue,{placement:Qt,boundary:Se,rootBoundary:Le,padding:We})[re(Qt)],Mt},{});return Object.keys(Kt).sort(function(Mt,Qt){return Kt[Mt]-Kt[Qt]})}function Je(ue){if(re(ue)===L)return[];var le=we(ue);return[He(ue),le,He(le)]}function Ze(ue){var le=ue.state,ve=ue.options,be=ue.name;if(!le.modifiersData[be]._skip){for(var Se=ve.mainAxis,Le=Se===void 0?!0:Se,We=ve.altAxis,$e=We===void 0?!0:We,qe=ve.fallbackPlacements,lt=ve.padding,Qe=ve.boundary,zt=ve.rootBoundary,Xt=ve.altBoundary,Kt=ve.flipVariations,Mt=Kt===void 0?!0:Kt,Qt=ve.allowedAutoPlacements,Vt=le.options.placement,cn=re(Vt),Ne=cn===Vt,Ue=qe||(Ne||!Mt?[we(Vt)]:Je(Vt)),ze=[Vt].concat(Ue).reduce(function(Gn,ir){return Gn.concat(re(ir)===L?tt(le,{placement:ir,boundary:Qe,rootBoundary:zt,padding:lt,flipVariations:Mt,allowedAutoPlacements:Qt}):ir)},[]),et=le.rects.reference,Tt=le.rects.popper,$t=new Map,Zt=!0,xt=ze[0],pt=0;pt<ze.length;pt++){var Pt=ze[pt],dn=re(Pt),Ut=Rt(Pt)===z,Yn=[S,R].indexOf(dn)>=0,fn=Yn?"width":"height",_n=pn(le,{placement:Pt,boundary:Qe,rootBoundary:zt,altBoundary:Xt,padding:lt}),Dn=Yn?Ut?N:O:Ut?R:S;et[fn]>Tt[fn]&&(Dn=we(Dn));var rr=we(Dn),Jn=[];if(Le&&Jn.push(_n[dn]<=0),$e&&Jn.push(_n[Dn]<=0,_n[rr]<=0),Jn.every(function(Gn){return Gn})){xt=Pt,Zt=!1;break}$t.set(Pt,Jn)}if(Zt)for(var Mn=Mt?3:1,On=function(ir){var hr=ze.find(function(Yr){var Rr=$t.get(Yr);if(Rr)return Rr.slice(0,ir).every(function(yr){return yr})});if(hr)return xt=hr,1},Ln=Mn;Ln>0&&!On(Ln);Ln--);le.placement!==xt&&(le.modifiersData[be]._skip=!0,le.placement=xt,le.reset=!0)}}var ht={name:"flip",enabled:!0,phase:"main",fn:Ze,requiresIfExists:["offset"],data:{_skip:!1}};function gt(ue){return ue==="x"?"y":"x"}function Ct(ue,le,ve){return he(ue,fe(le,ve))}function Ft(ue){var le=ue.state,ve=ue.options,be=ue.name,Se=ve.mainAxis,Le=Se===void 0?!0:Se,We=ve.altAxis,$e=We===void 0?!1:We,qe=ve.boundary,lt=ve.rootBoundary,Qe=ve.altBoundary,zt=ve.padding,Xt=ve.tether,Kt=Xt===void 0?!0:Xt,Mt=ve.tetherOffset,Qt=Mt===void 0?0:Mt,Vt=pn(le,{boundary:qe,rootBoundary:lt,padding:zt,altBoundary:Qe}),cn=re(le.placement),Ne=Rt(le.placement),Ue=!Ne,ze=jt(cn),et=gt(ze),Tt=le.modifiersData.popperOffsets,$t=le.rects.reference,Zt=le.rects.popper,xt=typeof Qt=="function"?Qt(Object.assign({},le.rects,{placement:le.placement})):Qt,pt={x:0,y:0};if(Tt){if(Le||$e){var Pt=ze==="y"?S:O,dn=ze==="y"?R:N,Ut=ze==="y"?"height":"width",Yn=Tt[ze],fn=Tt[ze]+Vt[Pt],_n=Tt[ze]-Vt[dn],Dn=Kt?-Zt[Ut]/2:0,rr=Ne===z?$t[Ut]:Zt[Ut],Jn=Ne===z?-Zt[Ut]:-$t[Ut],Mn=le.elements.arrow,On=Kt&&Mn?s(Mn):{width:0,height:0},Ln=le.modifiersData["arrow#persistent"]?le.modifiersData["arrow#persistent"].padding:En(),Gn=Ln[Pt],ir=Ln[dn],hr=Ct(0,$t[Ut],On[Ut]),Yr=Ue?$t[Ut]/2-Dn-hr-Gn-xt:rr-hr-Gn-xt,Rr=Ue?-$t[Ut]/2+Dn+hr+ir+xt:Jn+hr+ir+xt,yr=le.elements.arrow&&I(le.elements.arrow),Ci=yr?ze==="y"?yr.clientTop||0:yr.clientLeft||0:0,ke=le.modifiersData.offset?le.modifiersData.offset[le.placement][ze]:0,nt=Tt[ze]+Yr-ke-Ci,mt=Tt[ze]+Rr-ke;if(Le){var Ot=Ct(Kt?fe(fn,nt):fn,Yn,Kt?he(_n,mt):_n);Tt[ze]=Ot,pt[ze]=Ot-Yn}if($e){var Lt=ze==="x"?S:O,Cn=ze==="x"?R:N,bn=Tt[et],cr=bn+Vt[Lt],Lr=bn-Vt[Cn],or=Ct(Kt?fe(cr,nt):cr,bn,Kt?he(Lr,mt):Lr);Tt[et]=or,pt[et]=or-bn}}le.modifiersData[be]=pt}}var rn={name:"preventOverflow",enabled:!0,phase:"main",fn:Ft,requiresIfExists:["offset"]},Gt=function(le,ve){return le=typeof le=="function"?le(Object.assign({},ve.rects,{placement:ve.placement})):le,sn(typeof le!="number"?le:nn(le,U))};function an(ue){var le,ve=ue.state,be=ue.name,Se=ue.options,Le=ve.elements.arrow,We=ve.modifiersData.popperOffsets,$e=re(ve.placement),qe=jt($e),lt=[O,N].indexOf($e)>=0,Qe=lt?"height":"width";if(!(!Le||!We)){var zt=Gt(Se.padding,ve),Xt=s(Le),Kt=qe==="y"?S:O,Mt=qe==="y"?R:N,Qt=ve.rects.reference[Qe]+ve.rects.reference[qe]-We[qe]-ve.rects.popper[Qe],Vt=We[qe]-ve.rects.reference[qe],cn=I(Le),Ne=cn?qe==="y"?cn.clientHeight||0:cn.clientWidth||0:0,Ue=Qt/2-Vt/2,ze=zt[Kt],et=Ne-Xt[Qe]-zt[Mt],Tt=Ne/2-Xt[Qe]/2+Ue,$t=Ct(ze,Tt,et),Zt=qe;ve.modifiersData[be]=(le={},le[Zt]=$t,le.centerOffset=$t-Tt,le)}}function Bt(ue){var le=ue.state,ve=ue.options,be=ve.element,Se=be===void 0?"[data-popper-arrow]":be;Se!=null&&(typeof Se=="string"&&(Se=le.elements.popper.querySelector(Se),!Se)||Ie(le.elements.popper,Se)&&(le.elements.arrow=Se))}var At={name:"arrow",enabled:!0,phase:"main",fn:an,effect:Bt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function St(ue,le,ve){return ve===void 0&&(ve={x:0,y:0}),{top:ue.top-le.height-ve.y,right:ue.right-le.width+ve.x,bottom:ue.bottom-le.height+ve.y,left:ue.left-le.width-ve.x}}function ot(ue){return[S,N,R,O].some(function(le){return ue[le]>=0})}function Ht(ue){var le=ue.state,ve=ue.name,be=le.rects.reference,Se=le.rects.popper,Le=le.modifiersData.preventOverflow,We=pn(le,{elementContext:"reference"}),$e=pn(le,{altBoundary:!0}),qe=St(We,be),lt=St($e,Se,Le),Qe=ot(qe),zt=ot(lt);le.modifiersData[ve]={referenceClippingOffsets:qe,popperEscapeOffsets:lt,isReferenceHidden:Qe,hasPopperEscaped:zt},le.attributes.popper=Object.assign({},le.attributes.popper,{"data-popper-reference-hidden":Qe,"data-popper-escaped":zt})}var tn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ht},Re=[wt,_t,Vn,ln],Nt=Ge({defaultModifiers:Re}),ae=[wt,_t,Vn,ln,Bn,ht,rn,At,tn],_e=Ge({defaultModifiers:ae});h.applyStyles=ln,h.arrow=At,h.computeStyles=Vn,h.createPopper=_e,h.createPopperLite=Nt,h.defaultModifiers=ae,h.detectOverflow=pn,h.eventListeners=wt,h.flip=ht,h.hide=tn,h.offset=Bn,h.popperGenerator=Ge,h.popperOffsets=_t,h.preventOverflow=rn,Object.defineProperty(h,"__esModule",{value:!0})},A,x),A.exports=w},4279:(A,x,a)=>{var T,w;(function(h){var C,g=/[-+,> ]/;h([],C=function(n,v){"use strict";g=v||g;var f=/(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w\u00A0-\uFFFF%$|]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,u,r,d=!1,n=n||document,i=typeof n.createElement=="object";function o(e,t){e.appendChild(n.createTextNode(t))}function c(e){var t,s,l,p,E,m=arguments,y=m[0];function b(){E&&p&&E!=p&&(p==e&&(t||(t=g.test(S)&&n.createDocumentFragment()))?t:p).insertBefore(E,l||null)}for(var I=0;I<m.length;I++){var S=m[I];if(typeof S=="object"){if(s=!1,S instanceof Array){E=n.createDocumentFragment();for(var R=0;R<S.length;R++)E.appendChild(c(S[R]));S=E}if(S.nodeType)E=S,b(),p=S,l=0;else for(var R in S)E[R]=S[R]}else if(s)s=!1,o(E,S);else{I<1&&(e=null),s=!0;var N=S.replace(f,function(O,L,U,z,$,W){L&&(b(),L=="-"||L=="+"?(p=(l=E||p).parentNode,E=null,L=="+"&&(l=l.nextSibling)):(L=="<"?p=E=(E||p).parentNode:(L==","?p=e:E&&(p=E),E=null),l=0),E&&(p=E));var V=!U&&z;if(V||!E&&(U||$))if(V=="$")o(p,m[++I]);else{V=V||c.defaultTag;var K=i&&m[I+1]&&m[I+1].name;K&&(V="<"+V+' name="'+K+'">'),E=d&&~(r=V.indexOf("|"))?n.createElementNS(d[V.slice(0,r)],V.slice(r+1)):n.createElement(V)}if(U)if(z=="$"&&(z=m[++I]),U=="#")E.id=z;else{var M=E.className,B=M&&(" "+M+" ").replace(" "+z+" "," ");if(U==".")E.className=M?(B+z).substring(1):z;else if(S=="!"){var P;i?c("div",E,"<").innerHTML="":(P=E.parentNode)&&P.removeChild(E)}else B=B.substring(1,B.length-1),B!=M&&(E.className=B)}if($)if(W=="$"&&(W=m[++I]),$=="style")E.style.cssText=W;else{var k=$.charAt(0)=="!"?($=$.substring(1))&&"removeAttribute":"setAttribute";W=W===""?$:W,d&&~(r=$.indexOf("|"))?E[k+"NS"](d[$.slice(0,r)],$.slice(r+1),W):E[k]($,W)}return""});if(N)throw new SyntaxError("Unexpected char "+N+" in "+S);b(),p=y=E||p}}return e&&t&&e.appendChild(t),y}return c.addNamespace=function(e,t){n.createElementNS?(d||(d={}))[e]=t:n.namespaces.add(e,t)},c.defaultTag="div",c.forDocument=C,c})})(function(h,C,g){g=g||C,T=[],w=a.dj.d(T,function(){return g()},A,x),A.exports=w})},89989:(A,x,a)=>{var T,w;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/T=[x,a(38634)],w=a.dj.d(T,function(h,C){function g(D){for(var F="https://reactjs.org/docs/error-decoder.html?invariant="+D,j=1;j<arguments.length;j++)F+="&args[]="+encodeURIComponent(arguments[j]);return"Minified React error #"+D+"; visit "+F+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _(D,F){v(D,F),v(D+"Capture",F)}function v(D,F){for(zi[D]=F,D=0;D<F.length;D++)Gu.add(F[D])}function f(D){return $a.call(Qu,D)?!0:$a.call(Xu,D)?!1:ql.test(D)?Qu[D]=!0:(Xu[D]=!0,!1)}function u(D,F,j,X){if(j!==null&&j.type===0)return!1;switch(typeof F){case"function":case"symbol":return!0;case"boolean":return X?!1:j!==null?!j.acceptsBooleans:(D=D.toLowerCase().slice(0,5),D!=="data-"&&D!=="aria-");default:return!1}}function r(D,F,j,X){if(F===null||typeof F>"u"||u(D,F,j,X))return!0;if(X)return!1;if(j!==null)switch(j.type){case 3:return!F;case 4:return F===!1;case 5:return isNaN(F);case 6:return isNaN(F)||1>F}return!1}function d(D,F,j,X,Z,ee,de){this.acceptsBooleans=F===2||F===3||F===4,this.attributeName=X,this.attributeNamespace=Z,this.mustUseProperty=j,this.propertyName=D,this.type=F,this.sanitizeURL=ee,this.removeEmptyString=de}function n(D,F,j,X){var Z=jn.hasOwnProperty(F)?jn[F]:null;(Z!==null?Z.type!==0:X||!(2<F.length)||F[0]!=="o"&&F[0]!=="O"||F[1]!=="n"&&F[1]!=="N")&&(r(F,j,Z,X)&&(j=null),X||Z===null?f(F)&&(j===null?D.removeAttribute(F):D.setAttribute(F,""+j)):Z.mustUseProperty?D[Z.propertyName]=j===null?Z.type===3?!1:"":j:(F=Z.attributeName,X=Z.attributeNamespace,j===null?D.removeAttribute(F):(Z=Z.type,j=Z===3||Z===4&&j===!0?"":""+j,X?D.setAttributeNS(X,F,j):D.setAttribute(F,j))))}function i(D){return D===null||typeof D!="object"?null:(D=el&&D[el]||D["@@iterator"],typeof D=="function"?D:null)}function o(D,F,j){if(es===void 0)try{throw Error()}catch(X){es=(F=X.stack.trim().match(/\n( *(at )?)/))&&F[1]||""}return`
`+es+D}function c(D,F){if(!D||ts)return"";ts=!0;var j=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(F)if(F=function(){throw Error()},Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(Be){var X=Be}Reflect.construct(D,[],F)}else{try{F.call()}catch(Be){X=Be}D.call(F.prototype)}else{try{throw Error()}catch(Be){X=Be}D()}}catch(Be){if(Be&&X&&typeof Be.stack=="string"){for(var Z=Be.stack.split(`
`),ee=X.stack.split(`
`),de=Z.length-1,Ee=ee.length-1;1<=de&&0<=Ee&&Z[de]!==ee[Ee];)Ee--;for(;1<=de&&0<=Ee;de--,Ee--)if(Z[de]!==ee[Ee]){if(de!==1||Ee!==1)do if(de--,Ee--,0>Ee||Z[de]!==ee[Ee]){var Ce=`
`+Z[de].replace(" at new "," at ");return D.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",D.displayName)),Ce}while(1<=de&&0<=Ee);break}}}finally{ts=!1,Error.prepareStackTrace=j}return(D=D?D.displayName||D.name:"")?o(D):""}function e(D){switch(D.tag){case 5:return o(D.type);case 16:return o("Lazy");case 13:return o("Suspense");case 19:return o("SuspenseList");case 0:case 2:case 15:return D=c(D.type,!1),D;case 11:return D=c(D.type.render,!1),D;case 1:return D=c(D.type,!0),D;default:return""}}function t(D){if(D==null)return null;if(typeof D=="function")return D.displayName||D.name||null;if(typeof D=="string")return D;switch(D){case Ti:return"Fragment";case wi:return"Portal";case Xa:return"Profiler";case Ga:return"StrictMode";case Za:return"Suspense";case Ja:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case Ju:return(D.displayName||"Context")+".Consumer";case Zu:return(D._context.displayName||"Context")+".Provider";case Qa:var F=D.render;return D=D.displayName,D||(D=F.displayName||F.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case qa:return F=D.displayName||null,F!==null?F:t(D.type)||"Memo";case ei:F=D._payload,D=D._init;try{return t(D(F))}catch(j){}}return null}function s(D){var F=D.type;switch(D.tag){case 24:return"Cache";case 9:return(F.displayName||"Context")+".Consumer";case 10:return(F._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return D=F.render,D=D.displayName||D.name||"",F.displayName||(D!==""?"ForwardRef("+D+")":"ForwardRef");case 7:return"Fragment";case 5:return F;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return t(F);case 8:return F===Ga?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F}return null}function l(D){switch(typeof D){case"boolean":case"number":case"string":case"undefined":return D;case"object":return D;default:return""}}function p(D){var F=D.type;return(D=D.nodeName)&&D.toLowerCase()==="input"&&(F==="checkbox"||F==="radio")}function E(D){var F=p(D)?"checked":"value",j=Object.getOwnPropertyDescriptor(D.constructor.prototype,F),X=""+D[F];if(!D.hasOwnProperty(F)&&typeof j<"u"&&typeof j.get=="function"&&typeof j.set=="function"){var Z=j.get,ee=j.set;return Object.defineProperty(D,F,{configurable:!0,get:function(){return Z.call(this)},set:function(de){X=""+de,ee.call(this,de)}}),Object.defineProperty(D,F,{enumerable:j.enumerable}),{getValue:function(){return X},setValue:function(de){X=""+de},stopTracking:function(){D._valueTracker=null,delete D[F]}}}}function m(D){D._valueTracker||(D._valueTracker=E(D))}function y(D){if(!D)return!1;var F=D._valueTracker;if(!F)return!0;var j=F.getValue(),X="";return D&&(X=p(D)?D.checked?"true":"false":D.value),D=X,D!==j?(F.setValue(D),!0):!1}function b(D){if(D=D||(typeof document<"u"?document:void 0),typeof D>"u")return null;try{return D.activeElement||D.body}catch(F){return D.body}}function I(D,F){var j=F.checked;return gn({},F,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:j!=null?j:D._wrapperState.initialChecked})}function S(D,F){var j=F.defaultValue==null?"":F.defaultValue,X=F.checked!=null?F.checked:F.defaultChecked;j=l(F.value!=null?F.value:j),D._wrapperState={initialChecked:X,initialValue:j,controlled:F.type==="checkbox"||F.type==="radio"?F.checked!=null:F.value!=null}}function R(D,F){F=F.checked,F!=null&&n(D,"checked",F,!1)}function N(D,F){R(D,F);var j=l(F.value),X=F.type;if(j!=null)X==="number"?(j===0&&D.value===""||D.value!=j)&&(D.value=""+j):D.value!==""+j&&(D.value=""+j);else if(X==="submit"||X==="reset"){D.removeAttribute("value");return}F.hasOwnProperty("value")?L(D,F.type,j):F.hasOwnProperty("defaultValue")&&L(D,F.type,l(F.defaultValue)),F.checked==null&&F.defaultChecked!=null&&(D.defaultChecked=!!F.defaultChecked)}function O(D,F,j){if(F.hasOwnProperty("value")||F.hasOwnProperty("defaultValue")){var X=F.type;if(!(X!=="submit"&&X!=="reset"||F.value!==void 0&&F.value!==null))return;F=""+D._wrapperState.initialValue,j||F===D.value||(D.value=F),D.defaultValue=F}j=D.name,j!==""&&(D.name=""),D.defaultChecked=!!D._wrapperState.initialChecked,j!==""&&(D.name=j)}function L(D,F,j){(F!=="number"||b(D.ownerDocument)!==D)&&(j==null?D.defaultValue=""+D._wrapperState.initialValue:D.defaultValue!==""+j&&(D.defaultValue=""+j))}function U(D,F,j,X){if(D=D.options,F){F={};for(var Z=0;Z<j.length;Z++)F["$"+j[Z]]=!0;for(j=0;j<D.length;j++)Z=F.hasOwnProperty("$"+D[j].value),D[j].selected!==Z&&(D[j].selected=Z),Z&&X&&(D[j].defaultSelected=!0)}else{for(j=""+l(j),F=null,Z=0;Z<D.length;Z++){if(D[Z].value===j){D[Z].selected=!0,X&&(D[Z].defaultSelected=!0);return}F!==null||D[Z].disabled||(F=D[Z])}F!==null&&(F.selected=!0)}}function z(D,F){if(F.dangerouslySetInnerHTML!=null)throw Error(g(91));return gn({},F,{value:void 0,defaultValue:void 0,children:""+D._wrapperState.initialValue})}function $(D,F){var j=F.value;if(j==null){if(j=F.children,F=F.defaultValue,j!=null){if(F!=null)throw Error(g(92));if(Yi(j)){if(1<j.length)throw Error(g(93));j=j[0]}F=j}F==null&&(F=""),j=F}D._wrapperState={initialValue:l(j)}}function W(D,F){var j=l(F.value),X=l(F.defaultValue);j!=null&&(j=""+j,j!==D.value&&(D.value=j),F.defaultValue==null&&D.defaultValue!==j&&(D.defaultValue=j)),X!=null&&(D.defaultValue=""+X)}function V(D,F){F=D.textContent,F===D._wrapperState.initialValue&&F!==""&&F!==null&&(D.value=F)}function K(D){switch(D){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function M(D,F){return D==null||D==="http://www.w3.org/1999/xhtml"?K(F):D==="http://www.w3.org/2000/svg"&&F==="foreignObject"?"http://www.w3.org/1999/xhtml":D}function B(D,F,j){return F==null||typeof F=="boolean"||F===""?"":j||typeof F!="number"||F===0||Xi.hasOwnProperty(D)&&Xi[D]?(""+F).trim():F+"px"}function P(D,F){D=D.style;for(var j in F)if(F.hasOwnProperty(j)){var X=j.indexOf("--")===0,Z=B(j,F[j],X);j==="float"&&(j="cssFloat"),X?D.setProperty(j,Z):D[j]=Z}}function k(D,F){if(F){if(tc[D]&&(F.children!=null||F.dangerouslySetInnerHTML!=null))throw Error(g(137,D));if(F.dangerouslySetInnerHTML!=null){if(F.children!=null)throw Error(g(60));if(typeof F.dangerouslySetInnerHTML!="object"||!("__html"in F.dangerouslySetInnerHTML))throw Error(g(61))}if(F.style!=null&&typeof F.style!="object")throw Error(g(62))}}function H(D,F){if(D.indexOf("-")===-1)return typeof F.is=="string";switch(D){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Y(D){return D=D.target||D.srcElement||window,D.correspondingUseElement&&(D=D.correspondingUseElement),D.nodeType===3?D.parentNode:D}function G(D){if(D=Tt(D)){if(typeof rs!="function")throw Error(g(280));var F=D.stateNode;F&&(F=Zt(F),rs(D.stateNode,D.type,F))}}function Q(D){Ri?Ii?Ii.push(D):Ii=[D]:Ri=D}function J(){if(Ri){var D=Ri,F=Ii;if(Ii=Ri=null,G(D),F)for(D=0;D<F.length;D++)G(F[D])}}function q(D,F,j){if(is)return D(F,j);is=!0;try{return nl(D,F,j)}finally{is=!1,(Ri!==null||Ii!==null)&&(rl(),J())}}function oe(D,F){var j=D.stateNode;if(j===null)return null;var X=Zt(j);if(X===null)return null;j=X[F];e:switch(F){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(X=!X.disabled)||(D=D.type,X=!(D==="button"||D==="input"||D==="select"||D==="textarea")),D=!X;break e;default:D=!1}if(D)return null;if(j&&typeof j!="function")throw Error(g(231,F,typeof j));return j}function ie(D,F,j,X,Z,ee,de,Ee,Ce){Zi=!1,Oo=null,nc.apply(rc,arguments)}function pe(D,F,j,X,Z,ee,de,Ee,Ce){if(ie.apply(this,arguments),Zi){if(Zi){var Be=Oo;Zi=!1,Oo=null}else throw Error(g(198));Lo||(Lo=!0,as=Be)}}function ce(D){var F=D,j=D;if(D.alternate)for(;F.return;)F=F.return;else{D=F;do F=D,F.flags&4098&&(j=F.return),D=F.return;while(D)}return F.tag===3?j:null}function te(D){if(D.tag===13){var F=D.memoizedState;if(F===null&&(D=D.alternate,D!==null&&(F=D.memoizedState)),F!==null)return F.dehydrated}return null}function ne(D){if(ce(D)!==D)throw Error(g(188))}function re(D){var F=D.alternate;if(!F){if(F=ce(D),F===null)throw Error(g(188));return F!==D?null:D}for(var j=D,X=F;;){var Z=j.return;if(Z===null)break;var ee=Z.alternate;if(ee===null){if(X=Z.return,X!==null){j=X;continue}break}if(Z.child===ee.child){for(ee=Z.child;ee;){if(ee===j)return ne(Z),D;if(ee===X)return ne(Z),F;ee=ee.sibling}throw Error(g(188))}if(j.return!==X.return)j=Z,X=ee;else{for(var de=!1,Ee=Z.child;Ee;){if(Ee===j){de=!0,j=Z,X=ee;break}if(Ee===X){de=!0,X=Z,j=ee;break}Ee=Ee.sibling}if(!de){for(Ee=ee.child;Ee;){if(Ee===j){de=!0,j=ee,X=Z;break}if(Ee===X){de=!0,X=ee,j=Z;break}Ee=Ee.sibling}if(!de)throw Error(g(189))}}if(j.alternate!==X)throw Error(g(190))}if(j.tag!==3)throw Error(g(188));return j.stateNode.current===j?D:F}function se(D){return D=re(D),D!==null?ge(D):null}function ge(D){if(D.tag===5||D.tag===6)return D;for(D=D.child;D!==null;){var F=ge(D);if(F!==null)return F;D=D.sibling}return null}function he(D,F){if(Pr&&typeof Pr.onCommitFiberRoot=="function")try{Pr.onCommitFiberRoot(jo,D,void 0,(D.current.flags&128)===128)}catch(j){}}function fe(D){return D>>>=0,D===0?32:31-(uc(D)/lc|0)|0}function me(D){switch(D&-D){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return D&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return D&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return D}}function De(D,F){var j=D.pendingLanes;if(j===0)return 0;var X=0,Z=D.suspendedLanes,ee=D.pingedLanes,de=j&268435455;if(de!==0){var Ee=de&~Z;Ee!==0?X=me(Ee):(ee&=de,ee!==0&&(X=me(ee)))}else de=j&~Z,de!==0?X=me(de):ee!==0&&(X=me(ee));if(X===0)return 0;if(F!==0&&F!==X&&!(F&Z)&&(Z=X&-X,ee=F&-F,Z>=ee||Z===16&&(ee&4194240)!==0))return F;if(X&4&&(X|=j&16),F=D.entangledLanes,F!==0)for(D=D.entanglements,F&=X;0<F;)j=31-Sr(F),Z=1<<j,X|=D[j],F&=~Z;return X}function Ie(D,F){switch(D){case 1:case 2:case 4:return F+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return F+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Oe(D,F){for(var j=D.suspendedLanes,X=D.pingedLanes,Z=D.expirationTimes,ee=D.pendingLanes;0<ee;){var de=31-Sr(ee),Ee=1<<de,Ce=Z[de];Ce===-1?(!(Ee&j)||Ee&X)&&(Z[de]=Ie(Ee,F)):Ce<=F&&(D.expiredLanes|=Ee),ee&=~Ee}}function je(D){return D=D.pendingLanes&-1073741825,D!==0?D:D&1073741824?1073741824:0}function dt(){var D=Wo;return Wo<<=1,!(Wo&4194240)&&(Wo=64),D}function yt(D){for(var F=[],j=0;31>j;j++)F.push(D);return F}function kt(D,F,j){D.pendingLanes|=F,F!==536870912&&(D.suspendedLanes=0,D.pingedLanes=0),D=D.eventTimes,F=31-Sr(F),D[F]=j}function Rt(D,F){var j=D.pendingLanes&~F;D.pendingLanes=F,D.suspendedLanes=0,D.pingedLanes=0,D.expiredLanes&=F,D.mutableReadLanes&=F,D.entangledLanes&=F,F=D.entanglements;var X=D.eventTimes;for(D=D.expirationTimes;0<j;){var Z=31-Sr(j),ee=1<<Z;F[Z]=0,X[Z]=-1,D[Z]=-1,j&=~ee}}function jt(D,F){var j=D.entangledLanes|=F;for(D=D.entanglements;j;){var X=31-Sr(j),Z=1<<X;Z&F|D[X]&F&&(D[X]|=F),j&=~Z}}function Wt(D){return D&=-D,1<D?4<D?D&268435455?16:536870912:4:1}function En(D,F){switch(D){case"focusin":case"focusout":ti=null;break;case"dragenter":case"dragleave":ni=null;break;case"mouseover":case"mouseout":ri=null;break;case"pointerover":case"pointerout":Ji.delete(F.pointerId);break;case"gotpointercapture":case"lostpointercapture":qi.delete(F.pointerId)}}function sn(D,F,j,X,Z,ee){return D===null||D.nativeEvent!==ee?(D={blockedOn:F,domEventName:j,eventSystemFlags:X,nativeEvent:ee,targetContainers:[Z]},F!==null&&(F=Tt(F),F!==null&&Il(F)),D):(D.eventSystemFlags|=X,F=D.targetContainers,Z!==null&&F.indexOf(Z)===-1&&F.push(Z),D)}function nn(D,F,j,X,Z){switch(F){case"focusin":return ti=sn(ti,D,F,j,X,Z),!0;case"dragenter":return ni=sn(ni,D,F,j,X,Z),!0;case"mouseover":return ri=sn(ri,D,F,j,X,Z),!0;case"pointerover":var ee=Z.pointerId;return Ji.set(ee,sn(Ji.get(ee)||null,D,F,j,X,Z)),!0;case"gotpointercapture":return ee=Z.pointerId,qi.set(ee,sn(qi.get(ee)||null,D,F,j,X,Z)),!0}return!1}function pn(D){var F=et(D.target);if(F!==null){var j=ce(F);if(j!==null){if(F=j.tag,F===13){if(F=te(j),F!==null){D.blockedOn=F,sd(D.priority,function(){od(j)});return}}else if(F===3&&j.stateNode.current.memoizedState.isDehydrated){D.blockedOn=j.tag===3?j.stateNode.containerInfo:null;return}}}D.blockedOn=null}function ye(D){if(D.blockedOn!==null)return!1;for(var F=D.targetContainers;0<F.length;){var j=Dt(D.domEventName,D.eventSystemFlags,F[0],D.nativeEvent);if(j===null){j=D.nativeEvent;var X=new j.constructor(j.type,j);ns=X,j.target.dispatchEvent(X),ns=null}else return F=Tt(j),F!==null&&Il(F),D.blockedOn=j,!1;F.shift()}return!0}function Me(D,F,j){ye(D)&&j.delete(F)}function Ge(){us=!1,ti!==null&&ye(ti)&&(ti=null),ni!==null&&ye(ni)&&(ni=null),ri!==null&&ye(ri)&&(ri=null),Ji.forEach(Me),qi.forEach(Me)}function it(D,F){D.blockedOn===F&&(D.blockedOn=null,us||(us=!0,il(ol,Ge)))}function st(D){if(0<Ko.length){it(Ko[0],D);for(var F=1;F<Ko.length;F++){var j=Ko[F];j.blockedOn===D&&(j.blockedOn=null)}}for(ti!==null&&it(ti,D),ni!==null&&it(ni,D),ri!==null&&it(ri,D),F=function(X){return it(X,D)},Ji.forEach(F),qi.forEach(F),F=0;F<ii.length;F++)j=ii[F],j.blockedOn===D&&(j.blockedOn=null);for(;0<ii.length&&(F=ii[0],F.blockedOn===null);)pn(F),F.blockedOn===null&&ii.shift()}function wt(D,F,j,X){var Z=qt,ee=Fi.transition;Fi.transition=null;try{qt=1,_t(D,F,j,X)}finally{qt=Z,Fi.transition=ee}}function It(D,F,j,X){var Z=qt,ee=Fi.transition;Fi.transition=null;try{qt=4,_t(D,F,j,X)}finally{qt=Z,Fi.transition=ee}}function _t(D,F,j,X){if(Uo){var Z=Dt(D,F,j,X);if(Z===null)qe(D,F,X,Vo,j),En(D,X);else if(nn(Z,D,F,j,X))X.stopPropagation();else if(En(D,X),F&4&&-1<cc.indexOf(D)){for(;Z!==null;){var ee=Tt(Z);if(ee!==null&&id(ee),ee=Dt(D,F,j,X),ee===null&&qe(D,F,X,Vo,j),ee===Z)break;Z=ee}Z!==null&&X.stopPropagation()}else qe(D,F,X,null,j)}}function Dt(D,F,j,X){if(Vo=null,D=Y(X),D=et(D),D!==null)if(F=ce(D),F===null)D=null;else if(j=F.tag,j===13){if(D=te(F),D!==null)return D;D=null}else if(j===3){if(F.stateNode.current.memoizedState.isDehydrated)return F.tag===3?F.stateNode.containerInfo:null;D=null}else F!==D&&(D=null);return Vo=D,null}function Jt(D){switch(D){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ac()){case ss:return 1;case ul:return 4;case ko:case sc:return 16;case ll:return 536870912;default:return 16}default:return 16}}function Un(){if($o)return $o;var D,F=ls,j=F.length,X,Z="value"in oi?oi.value:oi.textContent,ee=Z.length;for(D=0;D<j&&F[D]===Z[D];D++);var de=j-D;for(X=1;X<=de&&F[j-X]===Z[ee-X];X++);return $o=Z.slice(D,1<X?1-X:void 0)}function yn(D){var F=D.keyCode;return"charCode"in D?(D=D.charCode,D===0&&F===13&&(D=13)):D=F,D===10&&(D=13),32<=D||D===13?D:0}function Vn(){return!0}function Er(){return!1}function un(D){function F(j,X,Z,ee,de){this._reactName=j,this._targetInst=Z,this.type=X,this.nativeEvent=ee,this.target=de,this.currentTarget=null;for(var Ee in D)D.hasOwnProperty(Ee)&&(j=D[Ee],this[Ee]=j?j(ee):ee[Ee]);return this.isDefaultPrevented=(ee.defaultPrevented!=null?ee.defaultPrevented:ee.returnValue===!1)?Vn:Er,this.isPropagationStopped=Er,this}return gn(F.prototype,{preventDefault:function(){this.defaultPrevented=!0;var j=this.nativeEvent;j&&(j.preventDefault?j.preventDefault():typeof j.returnValue!="unknown"&&(j.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var j=this.nativeEvent;j&&(j.stopPropagation?j.stopPropagation():typeof j.cancelBubble!="unknown"&&(j.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){},isPersistent:Vn}),F}function ln(D){var F=this.nativeEvent;return F.getModifierState?F.getModifierState(D):(D=Dc[D])?!!F[D]:!1}function $n(D){return ln}function zn(D,F){switch(D){case"keyup":return Pc.indexOf(F.keyCode)!==-1;case"keydown":return F.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(D){return D=D.detail,typeof D=="object"&&"data"in D?D.data:null}function Ae(D,F){switch(D){case"compositionend":return Bn(F);case"keypress":return F.which!==32?null:(gl=!0,pl);case"textInput":return D=F.data,D===pl&&gl?null:D;default:return null}}function we(D,F){if(xi)return D==="compositionend"||!ps&&zn(D,F)?(D=Un(),$o=ls=oi=null,xi=!1,D):null;switch(D){case"paste":return null;case"keypress":if(!(F.ctrlKey||F.altKey||F.metaKey)||F.ctrlKey&&F.altKey){if(F.char&&1<F.char.length)return F.char;if(F.which)return String.fromCharCode(F.which)}return null;case"compositionend":return hl&&F.locale!=="ko"?null:F.data;default:return null}}function Pe(D){var F=D&&D.nodeName&&D.nodeName.toLowerCase();return F==="input"?!!Mc[D.type]:F==="textarea"}function He(D){if(!Wr)return!1;D="on"+D;var F=D in document;return F||(F=document.createElement("div"),F.setAttribute(D,"return;"),F=typeof F[D]=="function"),F}function tt(D,F,j,X){Q(X),F=Qe(F,"onChange"),0<F.length&&(j=new cs("onChange","change",null,j,X),D.push({event:j,listeners:F}))}function Je(D){be(D,0)}function Ze(D){var F=$t(D);if(y(F))return D}function ht(D,F){if(D==="change")return F}function gt(){ro&&(ro.detachEvent("onpropertychange",Ct),io=ro=null)}function Ct(D){if(D.propertyName==="value"&&Ze(io)){var F=[];tt(F,io,D,Y(D)),q(Je,F)}}function Ft(D,F,j){D==="focusin"?(gt(),ro=F,io=j,ro.attachEvent("onpropertychange",Ct)):D==="focusout"&&gt()}function rn(D,F){if(D==="selectionchange"||D==="keyup"||D==="keydown")return Ze(io)}function Gt(D,F){if(D==="click")return Ze(F)}function an(D,F){if(D==="input"||D==="change")return Ze(F)}function Bt(D,F){return D===F&&(D!==0||1/D===1/F)||D!==D&&F!==F}function At(D,F){if(br(D,F))return!0;if(typeof D!="object"||D===null||typeof F!="object"||F===null)return!1;var j=Object.keys(D),X=Object.keys(F);if(j.length!==X.length)return!1;for(X=0;X<j.length;X++){var Z=j[X];if(!$a.call(F,Z)||!br(D[Z],F[Z]))return!1}return!0}function St(D){for(;D&&D.firstChild;)D=D.firstChild;return D}function ot(D,F){var j=St(D);D=0;for(var X;j;){if(j.nodeType===3){if(X=D+j.textContent.length,D<=F&&X>=F)return{node:j,offset:F-D};D=X}e:{for(;j;){if(j.nextSibling){j=j.nextSibling;break e}j=j.parentNode}j=void 0}j=St(j)}}function Ht(D,F){return D&&F?D===F?!0:D&&D.nodeType===3?!1:F&&F.nodeType===3?Ht(D,F.parentNode):"contains"in D?D.contains(F):D.compareDocumentPosition?!!(D.compareDocumentPosition(F)&16):!1:!1}function tn(){for(var D=window,F=b();F instanceof D.HTMLIFrameElement;){try{var j=typeof F.contentWindow.location.href=="string"}catch(X){j=!1}if(j)D=F.contentWindow;else break;F=b(D.document)}return F}function Re(D){var F=D&&D.nodeName&&D.nodeName.toLowerCase();return F&&(F==="input"&&(D.type==="text"||D.type==="search"||D.type==="tel"||D.type==="url"||D.type==="password")||F==="textarea"||D.contentEditable==="true")}function Nt(D){var F=tn(),j=D.focusedElem,X=D.selectionRange;if(F!==j&&j&&j.ownerDocument&&Ht(j.ownerDocument.documentElement,j)){if(X!==null&&Re(j)){if(F=X.start,D=X.end,D===void 0&&(D=F),"selectionStart"in j)j.selectionStart=F,j.selectionEnd=Math.min(D,j.value.length);else if(D=(F=j.ownerDocument||document)&&F.defaultView||window,D.getSelection){D=D.getSelection();var Z=j.textContent.length,ee=Math.min(X.start,Z);X=X.end===void 0?ee:Math.min(X.end,Z),!D.extend&&ee>X&&(Z=X,X=ee,ee=Z),Z=ot(j,ee);var de=ot(j,X);Z&&de&&(D.rangeCount!==1||D.anchorNode!==Z.node||D.anchorOffset!==Z.offset||D.focusNode!==de.node||D.focusOffset!==de.offset)&&(F=F.createRange(),F.setStart(Z.node,Z.offset),D.removeAllRanges(),ee>X?(D.addRange(F),D.extend(de.node,de.offset)):(F.setEnd(de.node,de.offset),D.addRange(F)))}}for(F=[],D=j;D=D.parentNode;)D.nodeType===1&&F.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof j.focus=="function"&&j.focus(),j=0;j<F.length;j++)D=F[j],D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}function ae(D,F,j){var X=j.window===j?j.document:j.nodeType===9?j:j.ownerDocument;ms||Pi==null||Pi!==b(X)||(X=Pi,"selectionStart"in X&&Re(X)?X={start:X.selectionStart,end:X.selectionEnd}:(X=(X.ownerDocument&&X.ownerDocument.defaultView||window).getSelection(),X={anchorNode:X.anchorNode,anchorOffset:X.anchorOffset,focusNode:X.focusNode,focusOffset:X.focusOffset}),oo&&At(oo,X)||(oo=X,X=Qe(gs,"onSelect"),0<X.length&&(F=new cs("onSelect","select",null,F,j),D.push({event:F,listeners:X}),F.target=Pi)))}function _e(D,F){var j={};return j[D.toLowerCase()]=F.toLowerCase(),j["Webkit"+D]="webkit"+F,j["Moz"+D]="moz"+F,j}function ue(D){if(vs[D])return vs[D];if(!Bi[D])return D;var F=Bi[D],j;for(j in F)if(F.hasOwnProperty(j)&&j in vl)return vs[D]=F[j];return D}function le(D,F){Al.set(D,F),_(F,[D])}function ve(D,F,j){var X=D.type||"unknown-event";D.currentTarget=j,pe(X,F,void 0,D),D.currentTarget=null}function be(D,F){F=(F&4)!==0;for(var j=0;j<D.length;j++){var X=D[j],Z=X.event;X=X.listeners;e:{var ee=void 0;if(F)for(var de=X.length-1;0<=de;de--){var Ee=X[de],Ce=Ee.instance,Be=Ee.currentTarget;if(Ee=Ee.listener,Ce!==ee&&Z.isPropagationStopped())break e;ve(Z,Ee,Be),ee=Ce}else for(de=0;de<X.length;de++){if(Ee=X[de],Ce=Ee.instance,Be=Ee.currentTarget,Ee=Ee.listener,Ce!==ee&&Z.isPropagationStopped())break e;ve(Z,Ee,Be),ee=Ce}}}if(Lo)throw D=as,Lo=!1,as=null,D}function Se(D,F){var j=F[Cs];j===void 0&&(j=F[Cs]=new Set);var X=D+"__bubble";j.has(X)||($e(F,D,2,!1),j.add(X))}function Le(D,F,j){var X=0;F&&(X|=4),$e(j,D,X,F)}function We(D){if(!D[Yo]){D[Yo]=!0,Gu.forEach(function(j){j!=="selectionchange"&&(Lc.has(j)||Le(j,!1,D),Le(j,!0,D))});var F=D.nodeType===9?D:D.ownerDocument;F===null||F[Yo]||(F[Yo]=!0,Le("selectionchange",!1,F))}}function $e(D,F,j,X,Z){switch(Jt(F)){case 1:Z=wt;break;case 4:Z=It;break;default:Z=_t}j=Z.bind(null,F,j,D),Z=void 0,!os||F!=="touchstart"&&F!=="touchmove"&&F!=="wheel"||(Z=!0),X?Z!==void 0?D.addEventListener(F,j,{capture:!0,passive:Z}):D.addEventListener(F,j,!0):Z!==void 0?D.addEventListener(F,j,{passive:Z}):D.addEventListener(F,j,!1)}function qe(D,F,j,X,Z){var ee=X;if(!(F&1)&&!(F&2)&&X!==null)e:for(;;){if(X===null)return;var de=X.tag;if(de===3||de===4){var Ee=X.stateNode.containerInfo;if(Ee===Z||Ee.nodeType===8&&Ee.parentNode===Z)break;if(de===4)for(de=X.return;de!==null;){var Ce=de.tag;if((Ce===3||Ce===4)&&(Ce=de.stateNode.containerInfo,Ce===Z||Ce.nodeType===8&&Ce.parentNode===Z))return;de=de.return}for(;Ee!==null;){if(de=et(Ee),de===null)return;if(Ce=de.tag,Ce===5||Ce===6){X=ee=de;continue e}Ee=Ee.parentNode}}X=X.return}q(function(){var Be=ee,Ve=Y(j),Ye=[];e:{var Ke=Al.get(D);if(Ke!==void 0){var rt=cs,ut=D;switch(D){case"keypress":if(yn(j)===0)break e;case"keydown":case"keyup":rt=bc;break;case"focusin":ut="focus",rt=hs;break;case"focusout":ut="blur",rt=hs;break;case"beforeblur":case"afterblur":rt=hs;break;case"click":if(j.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":rt=cl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":rt=hc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":rt=Rc;break;case El:case yl:case _l:rt=mc;break;case Cl:rt=Fc;break;case"scroll":rt=dc;break;case"wheel":rt=xc;break;case"copy":case"cut":case"paste":rt=Ec;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":rt=fl}var ct=(F&4)!==0,Sn=!ct&&D==="scroll",Fe=ct?Ke!==null?Ke+"Capture":null:Ke;ct=[];for(var Te=Be,xe;Te!==null;){xe=Te;var Xe=xe.stateNode;if(xe.tag===5&&Xe!==null&&(xe=Xe,Fe!==null&&(Xe=oe(Te,Fe),Xe!=null&&ct.push(lt(Te,Xe,xe)))),Sn)break;Te=Te.return}0<ct.length&&(Ke=new rt(Ke,ut,null,j,Ve),Ye.push({event:Ke,listeners:ct}))}}if(!(F&7)){e:{if(Ke=D==="mouseover"||D==="pointerover",rt=D==="mouseout"||D==="pointerout",Ke&&j!==ns&&(ut=j.relatedTarget||j.fromElement)&&(et(ut)||ut[Kr]))break e;if((rt||Ke)&&(Ke=Ve.window===Ve?Ve:(Ke=Ve.ownerDocument)?Ke.defaultView||Ke.parentWindow:window,rt?(ut=j.relatedTarget||j.toElement,rt=Be,ut=ut?et(ut):null,ut!==null&&(Sn=ce(ut),ut!==Sn||ut.tag!==5&&ut.tag!==6)&&(ut=null)):(rt=null,ut=Be),rt!==ut)){if(ct=cl,Xe="onMouseLeave",Fe="onMouseEnter",Te="mouse",(D==="pointerout"||D==="pointerover")&&(ct=fl,Xe="onPointerLeave",Fe="onPointerEnter",Te="pointer"),Sn=rt==null?Ke:$t(rt),xe=ut==null?Ke:$t(ut),Ke=new ct(Xe,Te+"leave",rt,j,Ve),Ke.target=Sn,Ke.relatedTarget=xe,Xe=null,et(Ve)===Be&&(ct=new ct(Fe,Te+"enter",ut,j,Ve),ct.target=xe,ct.relatedTarget=Sn,Xe=ct),Sn=Xe,rt&&ut)t:{for(ct=rt,Fe=ut,Te=0,xe=ct;xe;xe=zt(xe))Te++;for(xe=0,Xe=Fe;Xe;Xe=zt(Xe))xe++;for(;0<Te-xe;)ct=zt(ct),Te--;for(;0<xe-Te;)Fe=zt(Fe),xe--;for(;Te--;){if(ct===Fe||Fe!==null&&ct===Fe.alternate)break t;ct=zt(ct),Fe=zt(Fe)}ct=null}else ct=null;rt!==null&&Xt(Ye,Ke,rt,ct,!1),ut!==null&&Sn!==null&&Xt(Ye,Sn,ut,ct,!0)}}e:{if(Ke=Be?$t(Be):window,rt=Ke.nodeName&&Ke.nodeName.toLowerCase(),rt==="select"||rt==="input"&&Ke.type==="file")var ft=ht;else if(Pe(Ke))if(ml)ft=an;else{ft=rn;var vt=Ft}else(rt=Ke.nodeName)&&rt.toLowerCase()==="input"&&(Ke.type==="checkbox"||Ke.type==="radio")&&(ft=Gt);if(ft&&(ft=ft(D,Be))){tt(Ye,ft,j,Ve);break e}vt&&vt(D,Ke,Be),D==="focusout"&&(vt=Ke._wrapperState)&&vt.controlled&&Ke.type==="number"&&L(Ke,"number",Ke.value)}switch(vt=Be?$t(Be):window,D){case"focusin":(Pe(vt)||vt.contentEditable==="true")&&(Pi=vt,gs=Be,oo=null);break;case"focusout":oo=gs=Pi=null;break;case"mousedown":ms=!0;break;case"contextmenu":case"mouseup":case"dragend":ms=!1,ae(Ye,j,Ve);break;case"selectionchange":if(Oc)break;case"keydown":case"keyup":ae(Ye,j,Ve)}var Et;if(ps)e:{switch(D){case"compositionstart":var bt="onCompositionStart";break e;case"compositionend":bt="onCompositionEnd";break e;case"compositionupdate":bt="onCompositionUpdate";break e}bt=void 0}else xi?zn(D,j)&&(bt="onCompositionEnd"):D==="keydown"&&j.keyCode===229&&(bt="onCompositionStart");bt&&(hl&&j.locale!=="ko"&&(xi||bt!=="onCompositionStart"?bt==="onCompositionEnd"&&xi&&(Et=Un()):(oi=Ve,ls="value"in oi?oi.value:oi.textContent,xi=!0)),vt=Qe(Be,bt),0<vt.length&&(bt=new dl(bt,D,null,j,Ve),Ye.push({event:bt,listeners:vt}),Et?bt.data=Et:(Et=Bn(j),Et!==null&&(bt.data=Et)))),(Et=Bc?Ae(D,j):we(D,j))&&(Be=Qe(Be,"onBeforeInput"),0<Be.length&&(Ve=new _c("onBeforeInput","beforeinput",null,j,Ve),Ye.push({event:Ve,listeners:Be}),Ve.data=Et))}be(Ye,F)})}function lt(D,F,j){return{instance:D,listener:F,currentTarget:j}}function Qe(D,F){for(var j=F+"Capture",X=[];D!==null;){var Z=D,ee=Z.stateNode;Z.tag===5&&ee!==null&&(Z=ee,ee=oe(D,j),ee!=null&&X.unshift(lt(D,ee,Z)),ee=oe(D,F),ee!=null&&X.push(lt(D,ee,Z))),D=D.return}return X}function zt(D){if(D===null)return null;do D=D.return;while(D&&D.tag!==5);return D||null}function Xt(D,F,j,X,Z){for(var ee=F._reactName,de=[];j!==null&&j!==X;){var Ee=j,Ce=Ee.alternate,Be=Ee.stateNode;if(Ce!==null&&Ce===X)break;Ee.tag===5&&Be!==null&&(Ee=Be,Z?(Ce=oe(j,ee),Ce!=null&&de.unshift(lt(j,Ce,Ee))):Z||(Ce=oe(j,ee),Ce!=null&&de.push(lt(j,Ce,Ee)))),j=j.return}de.length!==0&&D.push({event:F,listeners:de})}function Kt(D){return(typeof D=="string"?D:""+D).replace(kc,`
`).replace(jc,"")}function Mt(D,F,j,X){if(F=Kt(F),Kt(D)!==F&&j)throw Error(g(425))}function Qt(){}function Vt(D,F){return D==="textarea"||D==="noscript"||typeof F.children=="string"||typeof F.children=="number"||typeof F.dangerouslySetInnerHTML=="object"&&F.dangerouslySetInnerHTML!==null&&F.dangerouslySetInnerHTML.__html!=null}function cn(D){setTimeout(function(){throw D})}function Ne(D,F){var j=F,X=0;do{var Z=j.nextSibling;if(D.removeChild(j),Z&&Z.nodeType===8)if(j=Z.data,j==="/$"){if(X===0){D.removeChild(Z),st(F);return}X--}else j!=="$"&&j!=="$?"&&j!=="$!"||X++;j=Z}while(j);st(F)}function Ue(D){for(;D!=null;D=D.nextSibling){var F=D.nodeType;if(F===1||F===3)break;if(F===8){if(F=D.data,F==="$"||F==="$!"||F==="$?")break;if(F==="/$")return null}}return D}function ze(D){D=D.previousSibling;for(var F=0;D;){if(D.nodeType===8){var j=D.data;if(j==="$"||j==="$!"||j==="$?"){if(F===0)return D;F--}else j==="/$"&&F++}D=D.previousSibling}return null}function et(D){var F=D[Br];if(F)return F;for(var j=D.parentNode;j;){if(F=j[Kr]||j[Br]){if(j=F.alternate,F.child!==null||j!==null&&j.child!==null)for(D=ze(D);D!==null;){if(j=D[Br])return j;D=ze(D)}return F}D=j,j=D.parentNode}return null}function Tt(D){return D=D[Br]||D[Kr],!D||D.tag!==5&&D.tag!==6&&D.tag!==13&&D.tag!==3?null:D}function $t(D){if(D.tag===5||D.tag===6)return D.stateNode;throw Error(g(33))}function Zt(D){return D[so]||null}function xt(D){return{current:D}}function pt(D,F){0>Oi||(D.current=As[Oi],As[Oi]=null,Oi--)}function Pt(D,F,j){Oi++,As[Oi]=D.current,D.current=F}function dn(D,F){var j=D.type.contextTypes;if(!j)return ai;var X=D.stateNode;if(X&&X.__reactInternalMemoizedUnmaskedChildContext===F)return X.__reactInternalMemoizedMaskedChildContext;var Z={},ee;for(ee in j)Z[ee]=F[ee];return X&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=F,D.__reactInternalMemoizedMaskedChildContext=Z),Z}function Ut(D){return D=D.childContextTypes,D!=null}function Yn(D,F,j){if(Tn.current!==ai)throw Error(g(168));Pt(Tn,F),Pt(Wn,j)}function fn(D,F,j){var X=D.stateNode;if(F=F.childContextTypes,typeof X.getChildContext!="function")return j;X=X.getChildContext();for(var Z in X)if(!(Z in F))throw Error(g(108,s(D)||"Unknown",Z));return gn({},j,X)}function _n(D){return D=(D=D.stateNode)&&D.__reactInternalMemoizedMergedChildContext||ai,mi=Tn.current,Pt(Tn,D),Pt(Wn,Wn.current),!0}function Dn(D,F,j){var X=D.stateNode;if(!X)throw Error(g(169));j?(D=fn(D,F,mi),X.__reactInternalMemoizedMergedChildContext=D,pt(Wn),pt(Tn),Pt(Tn,D)):pt(Wn),Pt(Wn,j)}function rr(D){Ur===null?Ur=[D]:Ur.push(D)}function Jn(D){Go=!0,rr(D)}function Mn(){if(!Ds&&Ur!==null){Ds=!0;var D=0,F=qt;try{var j=Ur;for(qt=1;D<j.length;D++){var X=j[D];do X=X(!0);while(X!==null)}Ur=null,Go=!1}catch(Z){throw Ur!==null&&(Ur=Ur.slice(D+1)),al(ss,Mn),Z}finally{qt=F,Ds=!1}}return null}function On(D,F){Li[ki++]=Qo,Li[ki++]=Xo,Xo=D,Qo=F}function Ln(D,F,j){gr[mr++]=Vr,gr[mr++]=$r,gr[mr++]=vi,vi=D;var X=Vr;D=$r;var Z=32-Sr(X)-1;X&=~(1<<Z),j+=1;var ee=32-Sr(F)+Z;if(30<ee){var de=Z-Z%5;ee=(X&(1<<de)-1).toString(32),X>>=de,Z-=de,Vr=1<<32-Sr(F)+Z|j<<Z|X,$r=ee+D}else Vr=1<<ee|j<<Z|X,$r=D}function Gn(D){D.return!==null&&(On(D,1),Ln(D,1,0))}function ir(D){for(;D===Xo;)Xo=Li[--ki],Li[ki]=null,Qo=Li[--ki],Li[ki]=null;for(;D===vi;)vi=gr[--mr],gr[mr]=null,$r=gr[--mr],gr[mr]=null,Vr=gr[--mr],gr[mr]=null}function hr(D,F){var j=vr(5,null,null,0);j.elementType="DELETED",j.stateNode=F,j.return=D,F=D.deletions,F===null?(D.deletions=[j],D.flags|=16):F.push(j)}function Yr(D,F){switch(D.tag){case 5:var j=D.type;return F=F.nodeType!==1||j.toLowerCase()!==F.nodeName.toLowerCase()?null:F,F!==null?(D.stateNode=F,fr=D,sr=Ue(F.firstChild),!0):!1;case 6:return F=D.pendingProps===""||F.nodeType!==3?null:F,F!==null?(D.stateNode=F,fr=D,sr=null,!0):!1;case 13:return F=F.nodeType!==8?null:F,F!==null?(j=vi!==null?{id:Vr,overflow:$r}:null,D.memoizedState={dehydrated:F,treeContext:j,retryLane:1073741824},j=vr(18,null,null,0),j.stateNode=F,j.return=D,D.child=j,fr=D,sr=null,!0):!1;default:return!1}}function Rr(D){return(D.mode&1)!==0&&(D.flags&128)===0}function yr(D){if(hn){var F=sr;if(F){var j=F;if(!Yr(D,F)){if(Rr(D))throw Error(g(418));F=Ue(j.nextSibling);var X=fr;F&&Yr(D,F)?hr(X,j):(D.flags=D.flags&-4097|2,hn=!1,fr=D)}}else{if(Rr(D))throw Error(g(418));D.flags=D.flags&-4097|2,hn=!1,fr=D}}}function Ci(D){for(D=D.return;D!==null&&D.tag!==5&&D.tag!==3&&D.tag!==13;)D=D.return;fr=D}function ke(D){if(D!==fr)return!1;if(!hn)return Ci(D),hn=!0,!1;var F;if((F=D.tag!==3)&&!(F=D.tag!==5)&&(F=D.type,F=F!=="head"&&F!=="body"&&!Vt(D.type,D.memoizedProps)),F&&(F=sr)){if(Rr(D)){for(D=sr;D;)D=Ue(D.nextSibling);throw Error(g(418))}for(;F;)hr(D,F),F=Ue(F.nextSibling)}if(Ci(D),D.tag===13){if(D=D.memoizedState,D=D!==null?D.dehydrated:null,!D)throw Error(g(317));e:{for(D=D.nextSibling,F=0;D;){if(D.nodeType===8){var j=D.data;if(j==="/$"){if(F===0){sr=Ue(D.nextSibling);break e}F--}else j!=="$"&&j!=="$!"&&j!=="$?"||F++}D=D.nextSibling}sr=null}}else sr=fr?Ue(D.stateNode.nextSibling):null;return!0}function nt(){sr=fr=null,hn=!1}function mt(D){wr===null?wr=[D]:wr.push(D)}function Ot(D,F,j){if(D=j.ref,D!==null&&typeof D!="function"&&typeof D!="object"){if(j._owner){if(j=j._owner,j){if(j.tag!==1)throw Error(g(309));var X=j.stateNode}if(!X)throw Error(g(147,D));var Z=X,ee=""+D;return F!==null&&F.ref!==null&&typeof F.ref=="function"&&F.ref._stringRef===ee?F.ref:(F=function(de){var Ee=Z.refs;de===null?delete Ee[ee]:Ee[ee]=de},F._stringRef=ee,F)}if(typeof D!="string")throw Error(g(284));if(!j._owner)throw Error(g(290,D))}return D}function Lt(D,F){throw D=Object.prototype.toString.call(F),Error(g(31,D==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":D))}function Cn(D){var F=D._init;return F(D._payload)}function bn(D){function F(Fe,Te){if(D){var xe=Fe.deletions;xe===null?(Fe.deletions=[Te],Fe.flags|=16):xe.push(Te)}}function j(Fe,Te){if(!D)return null;for(;Te!==null;)F(Fe,Te),Te=Te.sibling;return null}function X(Fe,Te){for(Fe=new Map;Te!==null;)Te.key!==null?Fe.set(Te.key,Te):Fe.set(Te.index,Te),Te=Te.sibling;return Fe}function Z(Fe,Te){return Fe=qr(Fe,Te),Fe.index=0,Fe.sibling=null,Fe}function ee(Fe,Te,xe){return Fe.index=xe,D?(xe=Fe.alternate,xe!==null?(xe=xe.index,xe<Te?(Fe.flags|=2,Te):xe):(Fe.flags|=2,Te)):(Fe.flags|=1048576,Te)}function de(Fe){return D&&Fe.alternate===null&&(Fe.flags|=2),Fe}function Ee(Fe,Te,xe,Xe){return Te===null||Te.tag!==6?(Te=ja(xe,Fe.mode,Xe),Te.return=Fe,Te):(Te=Z(Te,xe),Te.return=Fe,Te)}function Ce(Fe,Te,xe,Xe){var ft=xe.type;return ft===Ti?Ve(Fe,Te,xe.props.children,Xe,xe.key):Te!==null&&(Te.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===ei&&Cn(ft)===Te.type)?(Xe=Z(Te,xe.props),Xe.ref=Ot(Fe,Te,xe),Xe.return=Fe,Xe):(Xe=To(xe.type,xe.key,xe.props,null,Fe.mode,Xe),Xe.ref=Ot(Fe,Te,xe),Xe.return=Fe,Xe)}function Be(Fe,Te,xe,Xe){return Te===null||Te.tag!==4||Te.stateNode.containerInfo!==xe.containerInfo||Te.stateNode.implementation!==xe.implementation?(Te=Wa(xe,Fe.mode,Xe),Te.return=Fe,Te):(Te=Z(Te,xe.children||[]),Te.return=Fe,Te)}function Ve(Fe,Te,xe,Xe,ft){return Te===null||Te.tag!==7?(Te=gi(xe,Fe.mode,Xe,ft),Te.return=Fe,Te):(Te=Z(Te,xe),Te.return=Fe,Te)}function Ye(Fe,Te,xe){if(typeof Te=="string"&&Te!==""||typeof Te=="number")return Te=ja(""+Te,Fe.mode,xe),Te.return=Fe,Te;if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case Bo:return xe=To(Te.type,Te.key,Te.props,null,Fe.mode,xe),xe.ref=Ot(Fe,null,Te),xe.return=Fe,xe;case wi:return Te=Wa(Te,Fe.mode,xe),Te.return=Fe,Te;case ei:var Xe=Te._init;return Ye(Fe,Xe(Te._payload),xe)}if(Yi(Te)||i(Te))return Te=gi(Te,Fe.mode,xe,null),Te.return=Fe,Te;Lt(Fe,Te)}return null}function Ke(Fe,Te,xe,Xe){var ft=Te!==null?Te.key:null;if(typeof xe=="string"&&xe!==""||typeof xe=="number")return ft!==null?null:Ee(Fe,Te,""+xe,Xe);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case Bo:return xe.key===ft?Ce(Fe,Te,xe,Xe):null;case wi:return xe.key===ft?Be(Fe,Te,xe,Xe):null;case ei:return ft=xe._init,Ke(Fe,Te,ft(xe._payload),Xe)}if(Yi(xe)||i(xe))return ft!==null?null:Ve(Fe,Te,xe,Xe,null);Lt(Fe,xe)}return null}function rt(Fe,Te,xe,Xe,ft){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Fe=Fe.get(xe)||null,Ee(Te,Fe,""+Xe,ft);if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case Bo:return Fe=Fe.get(Xe.key===null?xe:Xe.key)||null,Ce(Te,Fe,Xe,ft);case wi:return Fe=Fe.get(Xe.key===null?xe:Xe.key)||null,Be(Te,Fe,Xe,ft);case ei:var vt=Xe._init;return rt(Fe,Te,xe,vt(Xe._payload),ft)}if(Yi(Xe)||i(Xe))return Fe=Fe.get(xe)||null,Ve(Te,Fe,Xe,ft,null);Lt(Te,Xe)}return null}function ut(Fe,Te,xe,Xe){for(var ft=null,vt=null,Et=Te,bt=Te=0,Pn=null;Et!==null&&bt<xe.length;bt++){Et.index>bt?(Pn=Et,Et=null):Pn=Et.sibling;var en=Ke(Fe,Et,xe[bt],Xe);if(en===null){Et===null&&(Et=Pn);break}D&&Et&&en.alternate===null&&F(Fe,Et),Te=ee(en,Te,bt),vt===null?ft=en:vt.sibling=en,vt=en,Et=Pn}if(bt===xe.length)return j(Fe,Et),hn&&On(Fe,bt),ft;if(Et===null){for(;bt<xe.length;bt++)Et=Ye(Fe,xe[bt],Xe),Et!==null&&(Te=ee(Et,Te,bt),vt===null?ft=Et:vt.sibling=Et,vt=Et);return hn&&On(Fe,bt),ft}for(Et=X(Fe,Et);bt<xe.length;bt++)Pn=rt(Et,Fe,bt,xe[bt],Xe),Pn!==null&&(D&&Pn.alternate!==null&&Et.delete(Pn.key===null?bt:Pn.key),Te=ee(Pn,Te,bt),vt===null?ft=Pn:vt.sibling=Pn,vt=Pn);return D&&Et.forEach(function(ci){return F(Fe,ci)}),hn&&On(Fe,bt),ft}function ct(Fe,Te,xe,Xe){var ft=i(xe);if(typeof ft!="function")throw Error(g(150));if(xe=ft.call(xe),xe==null)throw Error(g(151));for(var vt=ft=null,Et=Te,bt=Te=0,Pn=null,en=xe.next();Et!==null&&!en.done;bt++,en=xe.next()){Et.index>bt?(Pn=Et,Et=null):Pn=Et.sibling;var ci=Ke(Fe,Et,en.value,Xe);if(ci===null){Et===null&&(Et=Pn);break}D&&Et&&ci.alternate===null&&F(Fe,Et),Te=ee(ci,Te,bt),vt===null?ft=ci:vt.sibling=ci,vt=ci,Et=Pn}if(en.done)return j(Fe,Et),hn&&On(Fe,bt),ft;if(Et===null){for(;!en.done;bt++,en=xe.next())en=Ye(Fe,en.value,Xe),en!==null&&(Te=ee(en,Te,bt),vt===null?ft=en:vt.sibling=en,vt=en);return hn&&On(Fe,bt),ft}for(Et=X(Fe,Et);!en.done;bt++,en=xe.next())en=rt(Et,Fe,bt,en.value,Xe),en!==null&&(D&&en.alternate!==null&&Et.delete(en.key===null?bt:en.key),Te=ee(en,Te,bt),vt===null?ft=en:vt.sibling=en,vt=en);return D&&Et.forEach(function(ld){return F(Fe,ld)}),hn&&On(Fe,bt),ft}function Sn(Fe,Te,xe,Xe){if(typeof xe=="object"&&xe!==null&&xe.type===Ti&&xe.key===null&&(xe=xe.props.children),typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case Bo:e:{for(var ft=xe.key,vt=Te;vt!==null;){if(vt.key===ft){if(ft=xe.type,ft===Ti){if(vt.tag===7){j(Fe,vt.sibling),Te=Z(vt,xe.props.children),Te.return=Fe,Fe=Te;break e}}else if(vt.elementType===ft||typeof ft=="object"&&ft!==null&&ft.$$typeof===ei&&Cn(ft)===vt.type){j(Fe,vt.sibling),Te=Z(vt,xe.props),Te.ref=Ot(Fe,vt,xe),Te.return=Fe,Fe=Te;break e}j(Fe,vt);break}else F(Fe,vt);vt=vt.sibling}xe.type===Ti?(Te=gi(xe.props.children,Fe.mode,Xe,xe.key),Te.return=Fe,Fe=Te):(Xe=To(xe.type,xe.key,xe.props,null,Fe.mode,Xe),Xe.ref=Ot(Fe,Te,xe),Xe.return=Fe,Fe=Xe)}return de(Fe);case wi:e:{for(vt=xe.key;Te!==null;){if(Te.key===vt)if(Te.tag===4&&Te.stateNode.containerInfo===xe.containerInfo&&Te.stateNode.implementation===xe.implementation){j(Fe,Te.sibling),Te=Z(Te,xe.children||[]),Te.return=Fe,Fe=Te;break e}else{j(Fe,Te);break}else F(Fe,Te);Te=Te.sibling}Te=Wa(xe,Fe.mode,Xe),Te.return=Fe,Fe=Te}return de(Fe);case ei:return vt=xe._init,Sn(Fe,Te,vt(xe._payload),Xe)}if(Yi(xe))return ut(Fe,Te,xe,Xe);if(i(xe))return ct(Fe,Te,xe,Xe);Lt(Fe,xe)}return typeof xe=="string"&&xe!==""||typeof xe=="number"?(xe=""+xe,Te!==null&&Te.tag===6?(j(Fe,Te.sibling),Te=Z(Te,xe),Te.return=Fe,Fe=Te):(j(Fe,Te),Te=ja(xe,Fe.mode,Xe),Te.return=Fe,Fe=Te),de(Fe)):j(Fe,Te)}return Sn}function cr(){Ss=Wi=Jo=null}function Lr(D,F){F=Zo.current,pt(Zo),D._currentValue=F}function or(D,F,j){for(;D!==null;){var X=D.alternate;if((D.childLanes&F)!==F?(D.childLanes|=F,X!==null&&(X.childLanes|=F)):X!==null&&(X.childLanes&F)!==F&&(X.childLanes|=F),D===j)break;D=D.return}}function Ir(D,F){Jo=D,Ss=Wi=null,D=D.dependencies,D!==null&&D.firstContext!==null&&(D.lanes&F&&(ur=!0),D.firstContext=null)}function kn(D){var F=D._currentValue;if(Ss!==D)if(D={context:D,memoizedValue:F,next:null},Wi===null){if(Jo===null)throw Error(g(308));Wi=D,Jo.dependencies={lanes:0,firstContext:D}}else Wi=Wi.next=D;return F}function Fr(D){Ei===null?Ei=[D]:Ei.push(D)}function vo(D,F,j,X){var Z=F.interleaved;return Z===null?(j.next=j,Fr(F)):(j.next=Z.next,Z.next=j),F.interleaved=j,dr(D,X)}function dr(D,F){D.lanes|=F;var j=D.alternate;for(j!==null&&(j.lanes|=F),j=D,D=D.return;D!==null;)D.childLanes|=F,j=D.alternate,j!==null&&(j.childLanes|=F),j=D,D=D.return;return j.tag===3?j.stateNode:null}function Gr(D){D.updateQueue={baseState:D.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bs(D,F){D=D.updateQueue,F.updateQueue===D&&(F.updateQueue={baseState:D.baseState,firstBaseUpdate:D.firstBaseUpdate,lastBaseUpdate:D.lastBaseUpdate,shared:D.shared,effects:D.effects})}function kr(D,F){return{eventTime:D,lane:F,tag:0,payload:null,callback:null,next:null}}function Xr(D,F,j){var X=D.updateQueue;if(X===null)return null;if(X=X.shared,Yt&2){var Z=X.pending;return Z===null?F.next=F:(F.next=Z.next,Z.next=F),X.pending=F,$c(D,j)}return Z=X.interleaved,Z===null?(F.next=F,Fr(X)):(F.next=Z.next,Z.next=F),X.interleaved=F,dr(D,j)}function Eo(D,F,j){if(F=F.updateQueue,F!==null&&(F=F.shared,(j&4194240)!==0)){var X=F.lanes;X&=D.pendingLanes,j|=X,F.lanes=j,jt(D,j)}}function Ms(D,F){var j=D.updateQueue,X=D.alternate;if(X!==null&&(X=X.updateQueue,j===X)){var Z=null,ee=null;if(j=j.firstBaseUpdate,j!==null){do{var de={eventTime:j.eventTime,lane:j.lane,tag:j.tag,payload:j.payload,callback:j.callback,next:null};ee===null?Z=ee=de:ee=ee.next=de,j=j.next}while(j!==null);ee===null?Z=ee=F:ee=ee.next=F}else Z=ee=F;j={baseState:X.baseState,firstBaseUpdate:Z,lastBaseUpdate:ee,shared:X.shared,effects:X.effects},D.updateQueue=j;return}D=j.lastBaseUpdate,D===null?j.firstBaseUpdate=F:D.next=F,j.lastBaseUpdate=F}function yo(D,F,j,X){var Z=D.updateQueue;si=!1;var ee=Z.firstBaseUpdate,de=Z.lastBaseUpdate,Ee=Z.shared.pending;if(Ee!==null){Z.shared.pending=null;var Ce=Ee,Be=Ce.next;Ce.next=null,de===null?ee=Be:de.next=Be,de=Ce;var Ve=D.alternate;Ve!==null&&(Ve=Ve.updateQueue,Ee=Ve.lastBaseUpdate,Ee!==de&&(Ee===null?Ve.firstBaseUpdate=Be:Ee.next=Be,Ve.lastBaseUpdate=Ce))}if(ee!==null){var Ye=Z.baseState;de=0,Ve=Be=Ce=null,Ee=ee;do{var Ke=Ee.lane,rt=Ee.eventTime;if((X&Ke)===Ke){Ve!==null&&(Ve=Ve.next={eventTime:rt,lane:0,tag:Ee.tag,payload:Ee.payload,callback:Ee.callback,next:null});e:{var ut=D,ct=Ee;switch(Ke=F,rt=j,ct.tag){case 1:if(ut=ct.payload,typeof ut=="function"){Ye=ut.call(rt,Ye,Ke);break e}Ye=ut;break e;case 3:ut.flags=ut.flags&-65537|128;case 0:if(ut=ct.payload,Ke=typeof ut=="function"?ut.call(rt,Ye,Ke):ut,Ke==null)break e;Ye=gn({},Ye,Ke);break e;case 2:si=!0}}Ee.callback!==null&&Ee.lane!==0&&(D.flags|=64,Ke=Z.effects,Ke===null?Z.effects=[Ee]:Ke.push(Ee))}else rt={eventTime:rt,lane:Ke,tag:Ee.tag,payload:Ee.payload,callback:Ee.callback,next:null},Ve===null?(Be=Ve=rt,Ce=Ye):Ve=Ve.next=rt,de|=Ke;if(Ee=Ee.next,Ee===null){if(Ee=Z.shared.pending,Ee===null)break;Ke=Ee,Ee=Ke.next,Ke.next=null,Z.lastBaseUpdate=Ke,Z.shared.pending=null}}while(!0);if(Ve===null&&(Ce=Ye),Z.baseState=Ce,Z.firstBaseUpdate=Be,Z.lastBaseUpdate=Ve,F=Z.shared.interleaved,F!==null){Z=F;do de|=Z.lane,Z=Z.next;while(Z!==F)}else ee===null&&(Z.shared.lanes=0);_i|=de,D.lanes=de,D.memoizedState=Ye}}function Os(D,F,j){if(D=F.effects,F.effects=null,D!==null)for(F=0;F<D.length;F++){var X=D[F],Z=X.callback;if(Z!==null){if(X.callback=null,X=j,typeof Z!="function")throw Error(g(191,Z));Z.call(X)}}}function di(D){if(D===uo)throw Error(g(174));return D}function da(D,F){switch(Pt(co,F),Pt(lo,D),Pt(Mr,uo),D=F.nodeType,D){case 9:case 11:F=(F=F.documentElement)?F.namespaceURI:M(null,"");break;default:D=D===8?F.parentNode:F,F=D.namespaceURI||null,D=D.tagName,F=M(F,D)}pt(Mr),Pt(Mr,F)}function Ai(D){pt(Mr),pt(lo),pt(co)}function Ls(D){di(co.current);var F=di(Mr.current),j=M(F,D.type);F!==j&&(Pt(lo,D),Pt(Mr,j))}function fa(D){lo.current===D&&(pt(Mr),pt(lo))}function _o(D){for(var F=D;F!==null;){if(F.tag===13){var j=F.memoizedState;if(j!==null&&(j=j.dehydrated,j===null||j.data==="$?"||j.data==="$!"))return F}else if(F.tag===19&&F.memoizedProps.revealOrder!==void 0){if(F.flags&128)return F}else if(F.child!==null){F.child.return=F,F=F.child;continue}if(F===D)break;for(;F.sibling===null;){if(F.return===null||F.return===D)return null;F=F.return}F.sibling.return=F.return,F=F.sibling}return null}function ha(){for(var D=0;D<bs.length;D++)bs[D]._workInProgressVersionPrimary=null;bs.length=0}function Xn(){throw Error(g(321))}function pa(D,F){if(F===null)return!1;for(var j=0;j<F.length&&j<D.length;j++)if(!br(D[j],F[j]))return!1;return!0}function ga(D,F,j,X,Z,ee){if(yi=ee,vn=F,F.memoizedState=null,F.updateQueue=null,F.lanes=0,qo.current=D===null||D.memoizedState===null?Yc:Gc,D=j(X,Z),fo){ee=0;do{if(fo=!1,ho=0,25<=ee)throw Error(g(301));ee+=1,Nn=Rn=null,F.updateQueue=null,qo.current=Xc,D=j(X,Z)}while(fo)}if(qo.current=ta,F=Rn!==null&&Rn.next!==null,yi=0,Nn=Rn=vn=null,ea=!1,F)throw Error(g(300));return D}function ma(){var D=ho!==0;return ho=0,D}function Nr(){var D={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nn===null?vn.memoizedState=Nn=D:Nn=Nn.next=D,Nn}function pr(){if(Rn===null){var D=vn.alternate;D=D!==null?D.memoizedState:null}else D=Rn.next;var F=Nn===null?vn.memoizedState:Nn.next;if(F!==null)Nn=F,Rn=D;else{if(D===null)throw Error(g(310));Rn=D,D={memoizedState:Rn.memoizedState,baseState:Rn.baseState,baseQueue:Rn.baseQueue,queue:Rn.queue,next:null},Nn===null?vn.memoizedState=Nn=D:Nn=Nn.next=D}return Nn}function Hi(D,F){return typeof F=="function"?F(D):F}function va(D,F,j){if(F=pr(),j=F.queue,j===null)throw Error(g(311));j.lastRenderedReducer=D;var X=Rn,Z=X.baseQueue,ee=j.pending;if(ee!==null){if(Z!==null){var de=Z.next;Z.next=ee.next,ee.next=de}X.baseQueue=Z=ee,j.pending=null}if(Z!==null){ee=Z.next,X=X.baseState;var Ee=de=null,Ce=null,Be=ee;do{var Ve=Be.lane;if((yi&Ve)===Ve)Ce!==null&&(Ce=Ce.next={lane:0,action:Be.action,hasEagerState:Be.hasEagerState,eagerState:Be.eagerState,next:null}),X=Be.hasEagerState?Be.eagerState:D(X,Be.action);else{var Ye={lane:Ve,action:Be.action,hasEagerState:Be.hasEagerState,eagerState:Be.eagerState,next:null};Ce===null?(Ee=Ce=Ye,de=X):Ce=Ce.next=Ye,vn.lanes|=Ve,_i|=Ve}Be=Be.next}while(Be!==null&&Be!==ee);Ce===null?de=X:Ce.next=Ee,br(X,F.memoizedState)||(ur=!0),F.memoizedState=X,F.baseState=de,F.baseQueue=Ce,j.lastRenderedState=X}if(D=j.interleaved,D!==null){Z=D;do ee=Z.lane,vn.lanes|=ee,_i|=ee,Z=Z.next;while(Z!==D)}else Z===null&&(j.lanes=0);return[F.memoizedState,j.dispatch]}function Ea(D,F,j){if(F=pr(),j=F.queue,j===null)throw Error(g(311));j.lastRenderedReducer=D;var X=j.dispatch,Z=j.pending,ee=F.memoizedState;if(Z!==null){j.pending=null;var de=Z=Z.next;do ee=D(ee,de.action),de=de.next;while(de!==Z);br(ee,F.memoizedState)||(ur=!0),F.memoizedState=ee,F.baseQueue===null&&(F.baseState=ee),j.lastRenderedState=ee}return[ee,X]}function ks(D,F,j){}function Ws(D,F,j){j=vn;var X=pr(),Z=F(),ee=!br(X.memoizedState,Z);if(ee&&(X.memoizedState=Z,ur=!0),X=X.queue,ya(Us.bind(null,j,X,D),[D]),X.getSnapshot!==F||ee||Nn!==null&&Nn.memoizedState.tag&1){if(j.flags|=2048,Ki(9,Ks.bind(null,j,X,Z,F),void 0,null),xn===null)throw Error(g(349));yi&30||Hs(j,F,Z)}return Z}function Hs(D,F,j){D.flags|=16384,D={getSnapshot:F,value:j},F=vn.updateQueue,F===null?(F={lastEffect:null,stores:null},vn.updateQueue=F,F.stores=[D]):(j=F.stores,j===null?F.stores=[D]:j.push(D))}function Ks(D,F,j,X){F.value=j,F.getSnapshot=X,Vs(F)&&$s(D)}function Us(D,F,j){return j(function(){Vs(F)&&$s(D)})}function Vs(D){var F=D.getSnapshot;D=D.value;try{var j=F();return!br(D,j)}catch(X){return!0}}function $s(D){var F=dr(D,1);F!==null&&Ar(F,D,1,-1)}function zs(D){var F=Nr();return typeof D=="function"&&(D=D()),F.memoizedState=F.baseState=D,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Hi,lastRenderedState:D},F.queue=D,D=D.dispatch=xl.bind(null,vn,D),[F.memoizedState,D]}function Ki(D,F,j,X){return D={tag:D,create:F,destroy:j,deps:X,next:null},F=vn.updateQueue,F===null?(F={lastEffect:null,stores:null},vn.updateQueue=F,F.lastEffect=D.next=D):(j=F.lastEffect,j===null?F.lastEffect=D.next=D:(X=j.next,j.next=D,D.next=X,F.lastEffect=D)),D}function Ys(D){return pr().memoizedState}function Co(D,F,j,X){var Z=Nr();vn.flags|=D,Z.memoizedState=Ki(1|F,j,void 0,X===void 0?null:X)}function Ao(D,F,j,X){var Z=pr();X=X===void 0?null:X;var ee=void 0;if(Rn!==null){var de=Rn.memoizedState;if(ee=de.destroy,X!==null&&pa(X,de.deps)){Z.memoizedState=Ki(F,j,ee,X);return}}vn.flags|=D,Z.memoizedState=Ki(1|F,j,ee,X)}function Gs(D,F){return Co(8390656,8,D,F)}function ya(D,F){return Ao(2048,8,D,F)}function Xs(D,F){return Ao(4,2,D,F)}function Qs(D,F){return Ao(4,4,D,F)}function Zs(D,F){if(typeof F=="function")return D=D(),F(D),function(){F(null)};if(F!=null)return D=D(),F.current=D,function(){F.current=null}}function Js(D,F,j){return j=j!=null?j.concat([D]):null,Ao(4,4,Zs.bind(null,F,D),j)}function _a(D,F){}function qs(D,F){var j=pr();F=F===void 0?null:F;var X=j.memoizedState;return X!==null&&F!==null&&pa(F,X[1])?X[0]:(j.memoizedState=[D,F],D)}function eu(D,F){var j=pr();F=F===void 0?null:F;var X=j.memoizedState;return X!==null&&F!==null&&pa(F,X[1])?X[0]:(D=D(),j.memoizedState=[D,F],D)}function tu(D,F,j){return yi&21?(br(j,F)||(j=dt(),vn.lanes|=j,_i|=j,D.baseState=!0),F):(D.baseState&&(D.baseState=!1,ur=!0),D.memoizedState=j)}function Fl(D,F,j){j=qt,qt=j!==0&&4>j?j:4,D(!0);var X=ws.transition;ws.transition={};try{D(!1),F()}finally{qt=j,ws.transition=X}}function nu(){return pr().memoizedState}function Nl(D,F,j){var X=Zr(D);if(j={lane:X,action:j,hasEagerState:!1,eagerState:null,next:null},ru(D))iu(F,j);else if(j=vo(D,F,j,X),j!==null){var Z=er();Ar(j,D,X,Z),ou(j,F,X)}}function xl(D,F,j){var X=Zr(D),Z={lane:X,action:j,hasEagerState:!1,eagerState:null,next:null};if(ru(D))iu(F,Z);else{var ee=D.alternate;if(D.lanes===0&&(ee===null||ee.lanes===0)&&(ee=F.lastRenderedReducer,ee!==null))try{var de=F.lastRenderedState,Ee=ee(de,j);if(Z.hasEagerState=!0,Z.eagerState=Ee,br(Ee,de)){var Ce=F.interleaved;Ce===null?(Z.next=Z,Fr(F)):(Z.next=Ce.next,Ce.next=Z),F.interleaved=Z;return}}catch(Be){}finally{}j=vo(D,F,Z,X),j!==null&&(Z=er(),Ar(j,D,X,Z),ou(j,F,X))}}function ru(D){var F=D.alternate;return D===vn||F!==null&&F===vn}function iu(D,F){fo=ea=!0;var j=D.pending;j===null?F.next=F:(F.next=j.next,j.next=F),D.pending=F}function ou(D,F,j){if(j&4194240){var X=F.lanes;X&=D.pendingLanes,j|=X,F.lanes=j,jt(D,j)}}function _r(D,F){if(D&&D.defaultProps){F=gn({},F),D=D.defaultProps;for(var j in D)F[j]===void 0&&(F[j]=D[j]);return F}return F}function Ca(D,F,j,X){F=D.memoizedState,j=j(X,F),j=j==null?F:gn({},F,j),D.memoizedState=j,D.lanes===0&&(D.updateQueue.baseState=j)}function au(D,F,j,X,Z,ee,de){return D=D.stateNode,typeof D.shouldComponentUpdate=="function"?D.shouldComponentUpdate(X,ee,de):F.prototype&&F.prototype.isPureReactComponent?!At(j,X)||!At(Z,ee):!0}function su(D,F,j){var X=!1,Z=ai,ee=F.contextType;return typeof ee=="object"&&ee!==null?ee=kn(ee):(Z=Ut(F)?mi:Tn.current,X=F.contextTypes,ee=(X=X!=null)?dn(D,Z):ai),F=new F(j,ee),D.memoizedState=F.state!==null&&F.state!==void 0?F.state:null,F.updater=na,D.stateNode=F,F._reactInternals=D,X&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=Z,D.__reactInternalMemoizedMaskedChildContext=ee),F}function uu(D,F,j,X){D=F.state,typeof F.componentWillReceiveProps=="function"&&F.componentWillReceiveProps(j,X),typeof F.UNSAFE_componentWillReceiveProps=="function"&&F.UNSAFE_componentWillReceiveProps(j,X),F.state!==D&&na.enqueueReplaceState(F,F.state,null)}function Aa(D,F,j,X){var Z=D.stateNode;Z.props=j,Z.state=D.memoizedState,Z.refs={},Gr(D);var ee=F.contextType;typeof ee=="object"&&ee!==null?Z.context=kn(ee):(ee=Ut(F)?mi:Tn.current,Z.context=dn(D,ee)),Z.state=D.memoizedState,ee=F.getDerivedStateFromProps,typeof ee=="function"&&(Ca(D,F,ee,j),Z.state=D.memoizedState),typeof F.getDerivedStateFromProps=="function"||typeof Z.getSnapshotBeforeUpdate=="function"||typeof Z.UNSAFE_componentWillMount!="function"&&typeof Z.componentWillMount!="function"||(F=Z.state,typeof Z.componentWillMount=="function"&&Z.componentWillMount(),typeof Z.UNSAFE_componentWillMount=="function"&&Z.UNSAFE_componentWillMount(),F!==Z.state&&na.enqueueReplaceState(Z,Z.state,null),yo(D,j,Z,X),Z.state=D.memoizedState),typeof Z.componentDidMount=="function"&&(D.flags|=4194308)}function Di(D,F){try{var j="",X=F;do j+=e(X),X=X.return;while(X);var Z=j}catch(ee){Z=`
Error generating stack: `+ee.message+`
`+ee.stack}return{value:D,source:F,stack:Z,digest:null}}function Da(D,F,j){return{value:D,source:null,stack:j!=null?j:null,digest:F!=null?F:null}}function Sa(D,F){try{console.error(F.value)}catch(j){setTimeout(function(){throw j})}}function lu(D,F,j){j=kr(-1,j),j.tag=3,j.payload={element:null};var X=F.value;return j.callback=function(){aa||(aa=!0,xs=X),Sa(D,F)},j}function cu(D,F,j){j=kr(-1,j),j.tag=3;var X=D.type.getDerivedStateFromError;if(typeof X=="function"){var Z=F.value;j.payload=function(){return X(Z)},j.callback=function(){Sa(D,F)}}var ee=D.stateNode;return ee!==null&&typeof ee.componentDidCatch=="function"&&(j.callback=function(){Sa(D,F),typeof X!="function"&&(ui===null?ui=new Set([this]):ui.add(this));var de=F.stack;this.componentDidCatch(F.value,{componentStack:de!==null?de:""})}),j}function du(D,F,j){var X=D.pingCache;if(X===null){X=D.pingCache=new Qc;var Z=new Set;X.set(F,Z)}else Z=X.get(F),Z===void 0&&(Z=new Set,X.set(F,Z));Z.has(j)||(Z.add(j),D=Ul.bind(null,D,F,j),F.then(D,D))}function fu(D){do{var F;if((F=D.tag===13)&&(F=D.memoizedState,F=F!==null?F.dehydrated!==null:!0),F)return D;D=D.return}while(D!==null);return null}function hu(D,F,j,X,Z){return D.mode&1?(D.flags|=65536,D.lanes=Z,D):(D===F?D.flags|=65536:(D.flags|=128,j.flags|=131072,j.flags&=-52805,j.tag===1&&(j.alternate===null?j.tag=17:(F=kr(-1,1),F.tag=2,Xr(j,F,1))),j.lanes|=1),D)}function qn(D,F,j,X){F.child=D===null?bl(F,null,j,X):ji(F,D.child,j,X)}function pu(D,F,j,X,Z){j=j.render;var ee=F.ref;return Ir(F,Z),X=ga(D,F,j,X,ee,Z),j=ma(),D!==null&&!ur?(F.updateQueue=D.updateQueue,F.flags&=-2053,D.lanes&=~Z,jr(D,F,Z)):(hn&&j&&Gn(F),F.flags|=1,qn(D,F,X,Z),F.child)}function gu(D,F,j,X,Z){if(D===null){var ee=j.type;return typeof ee=="function"&&!ka(ee)&&ee.defaultProps===void 0&&j.compare===null&&j.defaultProps===void 0?(F.tag=15,F.type=ee,mu(D,F,ee,X,Z)):(D=To(j.type,null,X,F,F.mode,Z),D.ref=F.ref,D.return=F,F.child=D)}if(ee=D.child,!(D.lanes&Z)){var de=ee.memoizedProps;if(j=j.compare,j=j!==null?j:At,j(de,X)&&D.ref===F.ref)return jr(D,F,Z)}return F.flags|=1,D=qr(ee,X),D.ref=F.ref,D.return=F,F.child=D}function mu(D,F,j,X,Z){if(D!==null){var ee=D.memoizedProps;if(At(ee,X)&&D.ref===F.ref)if(ur=!1,F.pendingProps=X=ee,(D.lanes&Z)!==0)D.flags&131072&&(ur=!0);else return F.lanes=D.lanes,jr(D,F,Z)}return ba(D,F,j,X,Z)}function vu(D,F,j){var X=F.pendingProps,Z=X.children,ee=D!==null?D.memoizedState:null;if(X.mode==="hidden")if(!(F.mode&1))F.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pt(Or,nr),nr|=j;else{if(!(j&1073741824))return D=ee!==null?ee.baseLanes|j:j,F.lanes=F.childLanes=1073741824,F.memoizedState={baseLanes:D,cachePool:null,transitions:null},F.updateQueue=null,Pt(Or,nr),nr|=D,null;F.memoizedState={baseLanes:0,cachePool:null,transitions:null},X=ee!==null?ee.baseLanes:j,Pt(Or,nr),nr|=X}else ee!==null?(X=ee.baseLanes|j,F.memoizedState=null):X=j,Pt(Or,nr),nr|=X;return qn(D,F,Z,j),F.child}function Eu(D,F){var j=F.ref;(D===null&&j!==null||D!==null&&D.ref!==j)&&(F.flags|=512,F.flags|=2097152)}function ba(D,F,j,X,Z){var ee=Ut(j)?mi:Tn.current;return ee=dn(F,ee),Ir(F,Z),j=ga(D,F,j,X,ee,Z),X=ma(),D!==null&&!ur?(F.updateQueue=D.updateQueue,F.flags&=-2053,D.lanes&=~Z,jr(D,F,Z)):(hn&&X&&Gn(F),F.flags|=1,qn(D,F,j,Z),F.child)}function yu(D,F,j,X,Z){if(Ut(j)){var ee=!0;_n(F)}else ee=!1;if(Ir(F,Z),F.stateNode===null)So(D,F),su(F,j,X),Aa(F,j,X,Z),X=!0;else if(D===null){var de=F.stateNode,Ee=F.memoizedProps;de.props=Ee;var Ce=de.context,Be=j.contextType;typeof Be=="object"&&Be!==null?Be=kn(Be):(Be=Ut(j)?mi:Tn.current,Be=dn(F,Be));var Ve=j.getDerivedStateFromProps,Ye=typeof Ve=="function"||typeof de.getSnapshotBeforeUpdate=="function";Ye||typeof de.UNSAFE_componentWillReceiveProps!="function"&&typeof de.componentWillReceiveProps!="function"||(Ee!==X||Ce!==Be)&&uu(F,de,X,Be),si=!1;var Ke=F.memoizedState;de.state=Ke,yo(F,X,de,Z),Ce=F.memoizedState,Ee!==X||Ke!==Ce||Wn.current||si?(typeof Ve=="function"&&(Ca(F,j,Ve,X),Ce=F.memoizedState),(Ee=si||au(F,j,Ee,X,Ke,Ce,Be))?(Ye||typeof de.UNSAFE_componentWillMount!="function"&&typeof de.componentWillMount!="function"||(typeof de.componentWillMount=="function"&&de.componentWillMount(),typeof de.UNSAFE_componentWillMount=="function"&&de.UNSAFE_componentWillMount()),typeof de.componentDidMount=="function"&&(F.flags|=4194308)):(typeof de.componentDidMount=="function"&&(F.flags|=4194308),F.memoizedProps=X,F.memoizedState=Ce),de.props=X,de.state=Ce,de.context=Be,X=Ee):(typeof de.componentDidMount=="function"&&(F.flags|=4194308),X=!1)}else{de=F.stateNode,Bs(D,F),Ee=F.memoizedProps,Be=F.type===F.elementType?Ee:_r(F.type,Ee),de.props=Be,Ye=F.pendingProps,Ke=de.context,Ce=j.contextType,typeof Ce=="object"&&Ce!==null?Ce=kn(Ce):(Ce=Ut(j)?mi:Tn.current,Ce=dn(F,Ce));var rt=j.getDerivedStateFromProps;(Ve=typeof rt=="function"||typeof de.getSnapshotBeforeUpdate=="function")||typeof de.UNSAFE_componentWillReceiveProps!="function"&&typeof de.componentWillReceiveProps!="function"||(Ee!==Ye||Ke!==Ce)&&uu(F,de,X,Ce),si=!1,Ke=F.memoizedState,de.state=Ke,yo(F,X,de,Z);var ut=F.memoizedState;Ee!==Ye||Ke!==ut||Wn.current||si?(typeof rt=="function"&&(Ca(F,j,rt,X),ut=F.memoizedState),(Be=si||au(F,j,Be,X,Ke,ut,Ce)||!1)?(Ve||typeof de.UNSAFE_componentWillUpdate!="function"&&typeof de.componentWillUpdate!="function"||(typeof de.componentWillUpdate=="function"&&de.componentWillUpdate(X,ut,Ce),typeof de.UNSAFE_componentWillUpdate=="function"&&de.UNSAFE_componentWillUpdate(X,ut,Ce)),typeof de.componentDidUpdate=="function"&&(F.flags|=4),typeof de.getSnapshotBeforeUpdate=="function"&&(F.flags|=1024)):(typeof de.componentDidUpdate!="function"||Ee===D.memoizedProps&&Ke===D.memoizedState||(F.flags|=4),typeof de.getSnapshotBeforeUpdate!="function"||Ee===D.memoizedProps&&Ke===D.memoizedState||(F.flags|=1024),F.memoizedProps=X,F.memoizedState=ut),de.props=X,de.state=ut,de.context=Ce,X=Be):(typeof de.componentDidUpdate!="function"||Ee===D.memoizedProps&&Ke===D.memoizedState||(F.flags|=4),typeof de.getSnapshotBeforeUpdate!="function"||Ee===D.memoizedProps&&Ke===D.memoizedState||(F.flags|=1024),X=!1)}return wa(D,F,j,X,ee,Z)}function wa(D,F,j,X,Z,ee){Eu(D,F);var de=(F.flags&128)!==0;if(!X&&!de)return Z&&Dn(F,j,!1),jr(D,F,ee);X=F.stateNode,Zc.current=F;var Ee=de&&typeof j.getDerivedStateFromError!="function"?null:X.render();return F.flags|=1,D!==null&&de?(F.child=ji(F,D.child,null,ee),F.child=ji(F,null,Ee,ee)):qn(D,F,Ee,ee),F.memoizedState=X.state,Z&&Dn(F,j,!0),F.child}function _u(D){var F=D.stateNode;F.pendingContext?Yn(D,F.pendingContext,F.pendingContext!==F.context):F.context&&Yn(D,F.context,!1),da(D,F.containerInfo)}function Cu(D,F,j,X,Z){return nt(),mt(Z),F.flags|=256,qn(D,F,j,X),F.child}function Ta(D){return{baseLanes:D,cachePool:null,transitions:null}}function Au(D,F,j){var X=F.pendingProps,Z=mn.current,ee=!1,de=(F.flags&128)!==0,Ee;if((Ee=de)||(Ee=D!==null&&D.memoizedState===null?!1:(Z&2)!==0),Ee?(ee=!0,F.flags&=-129):(D===null||D.memoizedState!==null)&&(Z|=1),Pt(mn,Z&1),D===null)return yr(F),D=F.memoizedState,D!==null&&(D=D.dehydrated,D!==null)?(F.mode&1?D.data==="$!"?F.lanes=8:F.lanes=1073741824:F.lanes=1,null):(de=X.children,D=X.fallback,ee?(X=F.mode,ee=F.child,de={mode:"hidden",children:de},!(X&1)&&ee!==null?(ee.childLanes=0,ee.pendingProps=de):ee=Ro(de,X,0,null),D=gi(D,X,j,null),ee.return=F,D.return=F,ee.sibling=D,F.child=ee,F.child.memoizedState=Ta(j),F.memoizedState=Ts,D):Ra(F,de));if(Z=D.memoizedState,Z!==null&&(Ee=Z.dehydrated,Ee!==null))return Pl(D,F,de,X,Ee,Z,j);if(ee){ee=X.fallback,de=F.mode,Z=D.child,Ee=Z.sibling;var Ce={mode:"hidden",children:X.children};return!(de&1)&&F.child!==Z?(X=F.child,X.childLanes=0,X.pendingProps=Ce,F.deletions=null):(X=qr(Z,Ce),X.subtreeFlags=Z.subtreeFlags&14680064),Ee!==null?ee=qr(Ee,ee):(ee=gi(ee,de,j,null),ee.flags|=2),ee.return=F,X.return=F,X.sibling=ee,F.child=X,X=ee,ee=F.child,de=D.child.memoizedState,de=de===null?Ta(j):{baseLanes:de.baseLanes|j,cachePool:null,transitions:de.transitions},ee.memoizedState=de,ee.childLanes=D.childLanes&~j,F.memoizedState=Ts,X}return ee=D.child,D=ee.sibling,X=qr(ee,{mode:"visible",children:X.children}),!(F.mode&1)&&(X.lanes=j),X.return=F,X.sibling=null,D!==null&&(j=F.deletions,j===null?(F.deletions=[D],F.flags|=16):j.push(D)),F.child=X,F.memoizedState=null,X}function Ra(D,F,j){return F=Ro({mode:"visible",children:F},D.mode,0,null),F.return=D,D.child=F}function Do(D,F,j,X){return X!==null&&mt(X),ji(F,D.child,null,j),D=Ra(F,F.pendingProps.children),D.flags|=2,F.memoizedState=null,D}function Pl(D,F,j,X,Z,ee,de){if(j)return F.flags&256?(F.flags&=-257,X=Da(Error(g(422))),Do(D,F,de,X)):F.memoizedState!==null?(F.child=D.child,F.flags|=128,null):(ee=X.fallback,Z=F.mode,X=Ro({mode:"visible",children:X.children},Z,0,null),ee=gi(ee,Z,de,null),ee.flags|=2,X.return=F,ee.return=F,X.sibling=ee,F.child=X,F.mode&1&&ji(F,D.child,null,de),F.child.memoizedState=Ta(de),F.memoizedState=Ts,ee);if(!(F.mode&1))return Do(D,F,de,null);if(Z.data==="$!"){if(X=Z.nextSibling&&Z.nextSibling.dataset,X)var Ee=X.dgst;return X=Ee,ee=Error(g(419)),X=Da(ee,X,void 0),Do(D,F,de,X)}if(Ee=(de&D.childLanes)!==0,ur||Ee){if(X=xn,X!==null){switch(de&-de){case 4:Z=2;break;case 16:Z=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:Z=32;break;case 536870912:Z=268435456;break;default:Z=0}Z=Z&(X.suspendedLanes|de)?0:Z,Z!==0&&Z!==ee.retryLane&&(ee.retryLane=Z,dr(D,Z),Ar(X,D,Z,-1))}return La(),X=Da(Error(g(421))),Do(D,F,de,X)}return Z.data==="$?"?(F.flags|=128,F.child=D.child,F=Vl.bind(null,D),Z._reactRetry=F,null):(D=ee.treeContext,sr=Ue(Z.nextSibling),fr=F,hn=!0,wr=null,D!==null&&(gr[mr++]=Vr,gr[mr++]=$r,gr[mr++]=vi,Vr=D.id,$r=D.overflow,vi=F),F=Ra(F,X.children),F.flags|=4096,F)}function Du(D,F,j){D.lanes|=F;var X=D.alternate;X!==null&&(X.lanes|=F),or(D.return,F,j)}function Ia(D,F,j,X,Z){var ee=D.memoizedState;ee===null?D.memoizedState={isBackwards:F,rendering:null,renderingStartTime:0,last:X,tail:j,tailMode:Z}:(ee.isBackwards=F,ee.rendering=null,ee.renderingStartTime=0,ee.last=X,ee.tail=j,ee.tailMode=Z)}function Su(D,F,j){var X=F.pendingProps,Z=X.revealOrder,ee=X.tail;if(qn(D,F,X.children,j),X=mn.current,X&2)X=X&1|2,F.flags|=128;else{if(D!==null&&D.flags&128)e:for(D=F.child;D!==null;){if(D.tag===13)D.memoizedState!==null&&Du(D,j,F);else if(D.tag===19)Du(D,j,F);else if(D.child!==null){D.child.return=D,D=D.child;continue}if(D===F)break e;for(;D.sibling===null;){if(D.return===null||D.return===F)break e;D=D.return}D.sibling.return=D.return,D=D.sibling}X&=1}if(Pt(mn,X),!(F.mode&1))F.memoizedState=null;else switch(Z){case"forwards":for(j=F.child,Z=null;j!==null;)D=j.alternate,D!==null&&_o(D)===null&&(Z=j),j=j.sibling;j=Z,j===null?(Z=F.child,F.child=null):(Z=j.sibling,j.sibling=null),Ia(F,!1,Z,j,ee);break;case"backwards":for(j=null,Z=F.child,F.child=null;Z!==null;){if(D=Z.alternate,D!==null&&_o(D)===null){F.child=Z;break}D=Z.sibling,Z.sibling=j,j=Z,Z=D}Ia(F,!0,j,null,ee);break;case"together":Ia(F,!1,null,null,void 0);break;default:F.memoizedState=null}return F.child}function So(D,F){!(F.mode&1)&&D!==null&&(D.alternate=null,F.alternate=null,F.flags|=2)}function jr(D,F,j){if(D!==null&&(F.dependencies=D.dependencies),_i|=F.lanes,!(j&F.childLanes))return null;if(D!==null&&F.child!==D.child)throw Error(g(153));if(F.child!==null){for(D=F.child,j=qr(D,D.pendingProps),F.child=j,j.return=F;D.sibling!==null;)D=D.sibling,j=j.sibling=qr(D,D.pendingProps),j.return=F;j.sibling=null}return F.child}function Bl(D,F,j){switch(F.tag){case 3:_u(F),nt();break;case 5:Ls(F);break;case 1:Ut(F.type)&&_n(F);break;case 4:da(F,F.stateNode.containerInfo);break;case 10:var X=F.type._context,Z=F.memoizedProps.value;Pt(Zo,X._currentValue),X._currentValue=Z;break;case 13:if(X=F.memoizedState,X!==null)return X.dehydrated!==null?(Pt(mn,mn.current&1),F.flags|=128,null):j&F.child.childLanes?Au(D,F,j):(Pt(mn,mn.current&1),D=jr(D,F,j),D!==null?D.sibling:null);Pt(mn,mn.current&1);break;case 19:if(X=(j&F.childLanes)!==0,D.flags&128){if(X)return Su(D,F,j);F.flags|=128}if(Z=F.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),Pt(mn,mn.current),X)break;return null;case 22:case 23:return F.lanes=0,vu(D,F,j)}return jr(D,F,j)}function Ui(D,F){if(!hn)switch(D.tailMode){case"hidden":F=D.tail;for(var j=null;F!==null;)F.alternate!==null&&(j=F),F=F.sibling;j===null?D.tail=null:j.sibling=null;break;case"collapsed":j=D.tail;for(var X=null;j!==null;)j.alternate!==null&&(X=j),j=j.sibling;X===null?F||D.tail===null?D.tail=null:D.tail.sibling=null:X.sibling=null}}function Qn(D){var F=D.alternate!==null&&D.alternate.child===D.child,j=0,X=0;if(F)for(var Z=D.child;Z!==null;)j|=Z.lanes|Z.childLanes,X|=Z.subtreeFlags&14680064,X|=Z.flags&14680064,Z.return=D,Z=Z.sibling;else for(Z=D.child;Z!==null;)j|=Z.lanes|Z.childLanes,X|=Z.subtreeFlags,X|=Z.flags,Z.return=D,Z=Z.sibling;return D.subtreeFlags|=X,D.childLanes=j,F}function Ml(D,F,j){var X=F.pendingProps;switch(ir(F),F.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qn(F),null;case 1:return Ut(F.type)&&(pt(Wn),pt(Tn)),Qn(F),null;case 3:return X=F.stateNode,Ai(),pt(Wn),pt(Tn),ha(),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),(D===null||D.child===null)&&(ke(F)?F.flags|=4:D===null||D.memoizedState.isDehydrated&&!(F.flags&256)||(F.flags|=1024,wr!==null&&(Ma(wr),wr=null))),wl(D,F),Qn(F),null;case 5:fa(F);var Z=di(co.current);if(j=F.type,D!==null&&F.stateNode!=null)qc(D,F,j,X,Z),D.ref!==F.ref&&(F.flags|=512,F.flags|=2097152);else{if(!X){if(F.stateNode===null)throw Error(g(166));return Qn(F),null}if(D=di(Mr.current),ke(F)){X=F.stateNode,j=F.type;var ee=F.memoizedProps;switch(X[Br]=F,X[so]=ee,D=(F.mode&1)!==0,j){case"dialog":Se("cancel",X),Se("close",X);break;case"iframe":case"object":case"embed":Se("load",X);break;case"video":case"audio":for(Z=0;Z<ao.length;Z++)Se(ao[Z],X);break;case"source":Se("error",X);break;case"img":case"image":case"link":Se("error",X),Se("load",X);break;case"details":Se("toggle",X);break;case"input":S(X,ee),Se("invalid",X);break;case"select":X._wrapperState={wasMultiple:!!ee.multiple},Se("invalid",X);break;case"textarea":$(X,ee),Se("invalid",X)}k(j,ee),Z=null;for(var de in ee)if(ee.hasOwnProperty(de)){var Ee=ee[de];de==="children"?typeof Ee=="string"?X.textContent!==Ee&&(ee.suppressHydrationWarning!==!0&&Mt(X.textContent,Ee,D),Z=["children",Ee]):typeof Ee=="number"&&X.textContent!==""+Ee&&(ee.suppressHydrationWarning!==!0&&Mt(X.textContent,Ee,D),Z=["children",""+Ee]):zi.hasOwnProperty(de)&&Ee!=null&&de==="onScroll"&&Se("scroll",X)}switch(j){case"input":m(X),O(X,ee,!0);break;case"textarea":m(X),V(X);break;case"select":case"option":break;default:typeof ee.onClick=="function"&&(X.onclick=Qt)}X=Z,F.updateQueue=X,X!==null&&(F.flags|=4)}else{de=Z.nodeType===9?Z:Z.ownerDocument,D==="http://www.w3.org/1999/xhtml"&&(D=K(j)),D==="http://www.w3.org/1999/xhtml"?j==="script"?(D=de.createElement("div"),D.innerHTML="<script><\/script>",D=D.removeChild(D.firstChild)):typeof X.is=="string"?D=de.createElement(j,{is:X.is}):(D=de.createElement(j),j==="select"&&(de=D,X.multiple?de.multiple=!0:X.size&&(de.size=X.size))):D=de.createElementNS(D,j),D[Br]=F,D[so]=X,Jc(D,F,!1,!1),F.stateNode=D;e:{switch(de=H(j,X),j){case"dialog":Se("cancel",D),Se("close",D),Z=X;break;case"iframe":case"object":case"embed":Se("load",D),Z=X;break;case"video":case"audio":for(Z=0;Z<ao.length;Z++)Se(ao[Z],D);Z=X;break;case"source":Se("error",D),Z=X;break;case"img":case"image":case"link":Se("error",D),Se("load",D),Z=X;break;case"details":Se("toggle",D),Z=X;break;case"input":S(D,X),Z=I(D,X),Se("invalid",D);break;case"option":Z=X;break;case"select":D._wrapperState={wasMultiple:!!X.multiple},Z=gn({},X,{value:void 0}),Se("invalid",D);break;case"textarea":$(D,X),Z=z(D,X),Se("invalid",D);break;default:Z=X}k(j,Z),Ee=Z;for(ee in Ee)if(Ee.hasOwnProperty(ee)){var Ce=Ee[ee];ee==="style"?P(D,Ce):ee==="dangerouslySetInnerHTML"?(Ce=Ce?Ce.__html:void 0,Ce!=null&&tl(D,Ce)):ee==="children"?typeof Ce=="string"?(j!=="textarea"||Ce!=="")&&Gi(D,Ce):typeof Ce=="number"&&Gi(D,""+Ce):ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&ee!=="autoFocus"&&(zi.hasOwnProperty(ee)?Ce!=null&&ee==="onScroll"&&Se("scroll",D):Ce!=null&&n(D,ee,Ce,de))}switch(j){case"input":m(D),O(D,X,!1);break;case"textarea":m(D),V(D);break;case"option":X.value!=null&&D.setAttribute("value",""+l(X.value));break;case"select":D.multiple=!!X.multiple,ee=X.value,ee!=null?U(D,!!X.multiple,ee,!1):X.defaultValue!=null&&U(D,!!X.multiple,X.defaultValue,!0);break;default:typeof Z.onClick=="function"&&(D.onclick=Qt)}switch(j){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break e;case"img":X=!0;break e;default:X=!1}}X&&(F.flags|=4)}F.ref!==null&&(F.flags|=512,F.flags|=2097152)}return Qn(F),null;case 6:if(D&&F.stateNode!=null)ed(D,F,D.memoizedProps,X);else{if(typeof X!="string"&&F.stateNode===null)throw Error(g(166));if(j=di(co.current),di(Mr.current),ke(F)){if(X=F.stateNode,j=F.memoizedProps,X[Br]=F,(ee=X.nodeValue!==j)&&(D=fr,D!==null))switch(D.tag){case 3:Mt(X.nodeValue,j,(D.mode&1)!==0);break;case 5:D.memoizedProps.suppressHydrationWarning!==!0&&Mt(X.nodeValue,j,(D.mode&1)!==0)}ee&&(F.flags|=4)}else X=(j.nodeType===9?j:j.ownerDocument).createTextNode(X),X[Br]=F,F.stateNode=X}return Qn(F),null;case 13:if(pt(mn),X=F.memoizedState,D===null||D.memoizedState!==null&&D.memoizedState.dehydrated!==null){if(hn&&sr!==null&&F.mode&1&&!(F.flags&128)){for(ee=sr;ee;)ee=Ue(ee.nextSibling);nt(),F.flags|=98560,ee=!1}else if(ee=ke(F),X!==null&&X.dehydrated!==null){if(D===null){if(!ee)throw Error(g(318));if(ee=F.memoizedState,ee=ee!==null?ee.dehydrated:null,!ee)throw Error(g(317));ee[Br]=F}else nt(),!(F.flags&128)&&(F.memoizedState=null),F.flags|=4;Qn(F),ee=!1}else wr!==null&&(Ma(wr),wr=null),ee=!0;if(!ee)return F.flags&65536?F:null}return F.flags&128?(F.lanes=j,F):(X=X!==null,X!==(D!==null&&D.memoizedState!==null)&&X&&(F.child.flags|=8192,F.mode&1&&(D===null||mn.current&1?In===0&&(In=3):La())),F.updateQueue!==null&&(F.flags|=4),Qn(F),null);case 4:return Ai(),wl(D,F),D===null&&We(F.stateNode.containerInfo),Qn(F),null;case 10:return Lr(F.type._context),Qn(F),null;case 17:return Ut(F.type)&&(pt(Wn),pt(Tn)),Qn(F),null;case 19:if(pt(mn),ee=F.memoizedState,ee===null)return Qn(F),null;if(X=(F.flags&128)!==0,de=ee.rendering,de===null)if(X)Ui(ee,!1);else{if(In!==0||D!==null&&D.flags&128)for(D=F.child;D!==null;){if(de=_o(D),de!==null){for(F.flags|=128,Ui(ee,!1),X=de.updateQueue,X!==null&&(F.updateQueue=X,F.flags|=4),F.subtreeFlags=0,X=j,j=F.child;j!==null;)ee=j,D=X,ee.flags&=14680066,de=ee.alternate,de===null?(ee.childLanes=0,ee.lanes=D,ee.child=null,ee.subtreeFlags=0,ee.memoizedProps=null,ee.memoizedState=null,ee.updateQueue=null,ee.dependencies=null,ee.stateNode=null):(ee.childLanes=de.childLanes,ee.lanes=de.lanes,ee.child=de.child,ee.subtreeFlags=0,ee.deletions=null,ee.memoizedProps=de.memoizedProps,ee.memoizedState=de.memoizedState,ee.updateQueue=de.updateQueue,ee.type=de.type,D=de.dependencies,ee.dependencies=D===null?null:{lanes:D.lanes,firstContext:D.firstContext}),j=j.sibling;return Pt(mn,mn.current&1|2),F.child}D=D.sibling}ee.tail!==null&&Fn()>Ns&&(F.flags|=128,X=!0,Ui(ee,!1),F.lanes=4194304)}else{if(!X)if(D=_o(de),D!==null){if(F.flags|=128,X=!0,j=D.updateQueue,j!==null&&(F.updateQueue=j,F.flags|=4),Ui(ee,!0),ee.tail===null&&ee.tailMode==="hidden"&&!de.alternate&&!hn)return Qn(F),null}else 2*Fn()-ee.renderingStartTime>Ns&&j!==1073741824&&(F.flags|=128,X=!0,Ui(ee,!1),F.lanes=4194304);ee.isBackwards?(de.sibling=F.child,F.child=de):(j=ee.last,j!==null?j.sibling=de:F.child=de,ee.last=de)}return ee.tail!==null?(F=ee.tail,ee.rendering=F,ee.tail=F.sibling,ee.renderingStartTime=Fn(),F.sibling=null,j=mn.current,Pt(mn,X?j&1|2:j&1),F):(Qn(F),null);case 22:case 23:return nr=Or.current,pt(Or),X=F.memoizedState!==null,D!==null&&D.memoizedState!==null!==X&&(F.flags|=8192),X&&F.mode&1?nr&1073741824&&(Qn(F),F.subtreeFlags&6&&(F.flags|=8192)):Qn(F),null;case 24:return null;case 25:return null}throw Error(g(156,F.tag))}function Ol(D,F,j){switch(ir(F),F.tag){case 1:return Ut(F.type)&&(pt(Wn),pt(Tn)),D=F.flags,D&65536?(F.flags=D&-65537|128,F):null;case 3:return Ai(),pt(Wn),pt(Tn),ha(),D=F.flags,D&65536&&!(D&128)?(F.flags=D&-65537|128,F):null;case 5:return fa(F),null;case 13:if(pt(mn),D=F.memoizedState,D!==null&&D.dehydrated!==null){if(F.alternate===null)throw Error(g(340));nt()}return D=F.flags,D&65536?(F.flags=D&-65537|128,F):null;case 19:return pt(mn),null;case 4:return Ai(),null;case 10:return Lr(F.type._context),null;case 22:case 23:return nr=Or.current,pt(Or),null;case 24:return null;default:return null}}function Si(D,F){var j=D.ref;if(j!==null)if(typeof j=="function")try{j(null)}catch(X){An(D,F,X)}else j.current=null}function Fa(D,F,j){try{j()}catch(X){An(D,F,X)}}function Ll(D,F){if(Es=Uo,D=tn(),Re(D)){if("selectionStart"in D)var j={start:D.selectionStart,end:D.selectionEnd};else e:{j=(j=D.ownerDocument)&&j.defaultView||window;var X=j.getSelection&&j.getSelection();if(X&&X.rangeCount!==0){j=X.anchorNode;var Z=X.anchorOffset,ee=X.focusNode;X=X.focusOffset;try{j.nodeType,ee.nodeType}catch(Xe){j=null;break e}var de=0,Ee=-1,Ce=-1,Be=0,Ve=0,Ye=D,Ke=null;t:for(;;){for(var rt;Ye!==j||Z!==0&&Ye.nodeType!==3||(Ee=de+Z),Ye!==ee||X!==0&&Ye.nodeType!==3||(Ce=de+X),Ye.nodeType===3&&(de+=Ye.nodeValue.length),(rt=Ye.firstChild)!==null;)Ke=Ye,Ye=rt;for(;;){if(Ye===D)break t;if(Ke===j&&++Be===Z&&(Ee=de),Ke===ee&&++Ve===X&&(Ce=de),(rt=Ye.nextSibling)!==null)break;Ye=Ke,Ke=Ye.parentNode}Ye=rt}j=Ee===-1||Ce===-1?null:{start:Ee,end:Ce}}else j=null}j=j||{start:0,end:0}}else j=null;for(ys={focusedElem:D,selectionRange:j},Uo=!1,at=F;at!==null;)if(F=at,D=F.child,(F.subtreeFlags&1028)!==0&&D!==null)D.return=F,at=D;else for(;at!==null;){F=at;try{var ut=F.alternate;if(F.flags&1024)switch(F.tag){case 0:case 11:case 15:break;case 1:if(ut!==null){var ct=ut.memoizedProps,Sn=ut.memoizedState,Fe=F.stateNode,Te=Fe.getSnapshotBeforeUpdate(F.elementType===F.type?ct:_r(F.type,ct),Sn);Fe.__reactInternalSnapshotBeforeUpdate=Te}break;case 3:var xe=F.stateNode.containerInfo;xe.nodeType===1?xe.textContent="":xe.nodeType===9&&xe.documentElement&&xe.removeChild(xe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(Xe){An(F,F.return,Xe)}if(D=F.sibling,D!==null){D.return=F.return,at=D;break}at=F.return}return ut=Tl,Tl=!1,ut}function Vi(D,F,j){var X=F.updateQueue;if(X=X!==null?X.lastEffect:null,X!==null){var Z=X=X.next;do{if((Z.tag&D)===D){var ee=Z.destroy;Z.destroy=void 0,ee!==void 0&&Fa(F,j,ee)}Z=Z.next}while(Z!==X)}}function bo(D,F){if(F=F.updateQueue,F=F!==null?F.lastEffect:null,F!==null){var j=F=F.next;do{if((j.tag&D)===D){var X=j.create;j.destroy=X()}j=j.next}while(j!==F)}}function Na(D){var F=D.ref;if(F!==null){var j=D.stateNode;switch(D.tag){case 5:D=j;break;default:D=j}typeof F=="function"?F(D):F.current=D}}function bu(D){var F=D.alternate;F!==null&&(D.alternate=null,bu(F)),D.child=null,D.deletions=null,D.sibling=null,D.tag===5&&(F=D.stateNode,F!==null&&(delete F[Br],delete F[so],delete F[Cs],delete F[Kc],delete F[Uc])),D.stateNode=null,D.return=null,D.dependencies=null,D.memoizedProps=null,D.memoizedState=null,D.pendingProps=null,D.stateNode=null,D.updateQueue=null}function wu(D){return D.tag===5||D.tag===3||D.tag===4}function Tu(D){e:for(;;){for(;D.sibling===null;){if(D.return===null||wu(D.return))return null;D=D.return}for(D.sibling.return=D.return,D=D.sibling;D.tag!==5&&D.tag!==6&&D.tag!==18;){if(D.flags&2||D.child===null||D.tag===4)continue e;D.child.return=D,D=D.child}if(!(D.flags&2))return D.stateNode}}function xa(D,F,j){var X=D.tag;if(X===5||X===6)D=D.stateNode,F?j.nodeType===8?j.parentNode.insertBefore(D,F):j.insertBefore(D,F):(j.nodeType===8?(F=j.parentNode,F.insertBefore(D,j)):(F=j,F.appendChild(D)),j=j._reactRootContainer,j!=null||F.onclick!==null||(F.onclick=Qt));else if(X!==4&&(D=D.child,D!==null))for(xa(D,F,j),D=D.sibling;D!==null;)xa(D,F,j),D=D.sibling}function Pa(D,F,j){var X=D.tag;if(X===5||X===6)D=D.stateNode,F?j.insertBefore(D,F):j.appendChild(D);else if(X!==4&&(D=D.child,D!==null))for(Pa(D,F,j),D=D.sibling;D!==null;)Pa(D,F,j),D=D.sibling}function Qr(D,F,j){for(j=j.child;j!==null;)Ru(D,F,j),j=j.sibling}function Ru(D,F,j){if(Pr&&typeof Pr.onCommitFiberUnmount=="function")try{Pr.onCommitFiberUnmount(jo,j)}catch(Ee){}switch(j.tag){case 5:Zn||Si(j,F);case 6:var X=Hn,Z=Tr;Hn=null,Qr(D,F,j),Hn=X,Tr=Z,Hn!==null&&(Tr?(D=Hn,j=j.stateNode,D.nodeType===8?D.parentNode.removeChild(j):D.removeChild(j)):Hn.removeChild(j.stateNode));break;case 18:Hn!==null&&(Tr?(D=Hn,j=j.stateNode,D.nodeType===8?Ne(D.parentNode,j):D.nodeType===1&&Ne(D,j),st(D)):Ne(Hn,j.stateNode));break;case 4:X=Hn,Z=Tr,Hn=j.stateNode.containerInfo,Tr=!0,Qr(D,F,j),Hn=X,Tr=Z;break;case 0:case 11:case 14:case 15:if(!Zn&&(X=j.updateQueue,X!==null&&(X=X.lastEffect,X!==null))){Z=X=X.next;do{var ee=Z,de=ee.destroy;ee=ee.tag,de!==void 0&&(ee&2||ee&4)&&Fa(j,F,de),Z=Z.next}while(Z!==X)}Qr(D,F,j);break;case 1:if(!Zn&&(Si(j,F),X=j.stateNode,typeof X.componentWillUnmount=="function"))try{X.props=j.memoizedProps,X.state=j.memoizedState,X.componentWillUnmount()}catch(Ee){An(j,F,Ee)}Qr(D,F,j);break;case 21:Qr(D,F,j);break;case 22:j.mode&1?(Zn=(X=Zn)||j.memoizedState!==null,Qr(D,F,j),Zn=X):Qr(D,F,j);break;default:Qr(D,F,j)}}function Iu(D){var F=D.updateQueue;if(F!==null){D.updateQueue=null;var j=D.stateNode;j===null&&(j=D.stateNode=new td),F.forEach(function(X){var Z=$l.bind(null,D,X);j.has(X)||(j.add(X),X.then(Z,Z))})}}function Cr(D,F,j){if(j=F.deletions,j!==null)for(var X=0;X<j.length;X++){var Z=j[X];try{var ee=D,de=F,Ee=de;e:for(;Ee!==null;){switch(Ee.tag){case 5:Hn=Ee.stateNode,Tr=!1;break e;case 3:Hn=Ee.stateNode.containerInfo,Tr=!0;break e;case 4:Hn=Ee.stateNode.containerInfo,Tr=!0;break e}Ee=Ee.return}if(Hn===null)throw Error(g(160));Ru(ee,de,Z),Hn=null,Tr=!1;var Ce=Z.alternate;Ce!==null&&(Ce.return=null),Z.return=null}catch(Be){An(Z,F,Be)}}if(F.subtreeFlags&12854)for(F=F.child;F!==null;)Fu(F,D),F=F.sibling}function Fu(D,F,j){var X=D.alternate;switch(j=D.flags,D.tag){case 0:case 11:case 14:case 15:if(Cr(F,D),xr(D),j&4){try{Vi(3,D,D.return),bo(3,D)}catch(ct){An(D,D.return,ct)}try{Vi(5,D,D.return)}catch(ct){An(D,D.return,ct)}}break;case 1:Cr(F,D),xr(D),j&512&&X!==null&&Si(X,X.return);break;case 5:if(Cr(F,D),xr(D),j&512&&X!==null&&Si(X,X.return),D.flags&32){var Z=D.stateNode;try{Gi(Z,"")}catch(ct){An(D,D.return,ct)}}if(j&4&&(Z=D.stateNode,Z!=null)){var ee=D.memoizedProps,de=X!==null?X.memoizedProps:ee,Ee=D.type,Ce=D.updateQueue;if(D.updateQueue=null,Ce!==null)try{Ee==="input"&&ee.type==="radio"&&ee.name!=null&&R(Z,ee),H(Ee,de);var Be=H(Ee,ee);for(de=0;de<Ce.length;de+=2){var Ve=Ce[de],Ye=Ce[de+1];Ve==="style"?P(Z,Ye):Ve==="dangerouslySetInnerHTML"?tl(Z,Ye):Ve==="children"?Gi(Z,Ye):n(Z,Ve,Ye,Be)}switch(Ee){case"input":N(Z,ee);break;case"textarea":W(Z,ee);break;case"select":var Ke=Z._wrapperState.wasMultiple;Z._wrapperState.wasMultiple=!!ee.multiple;var rt=ee.value;rt!=null?U(Z,!!ee.multiple,rt,!1):Ke!==!!ee.multiple&&(ee.defaultValue!=null?U(Z,!!ee.multiple,ee.defaultValue,!0):U(Z,!!ee.multiple,ee.multiple?[]:"",!1))}Z[so]=ee}catch(ct){An(D,D.return,ct)}}break;case 6:if(Cr(F,D),xr(D),j&4){if(D.stateNode===null)throw Error(g(162));Z=D.stateNode,ee=D.memoizedProps;try{Z.nodeValue=ee}catch(ct){An(D,D.return,ct)}}break;case 3:if(Cr(F,D),xr(D),j&4&&X!==null&&X.memoizedState.isDehydrated)try{st(F.containerInfo)}catch(ct){An(D,D.return,ct)}break;case 4:Cr(F,D),xr(D);break;case 13:Cr(F,D),xr(D),Z=D.child,Z.flags&8192&&(ee=Z.memoizedState!==null,Z.stateNode.isHidden=ee,!ee||Z.alternate!==null&&Z.alternate.memoizedState!==null||(Fs=Fn())),j&4&&Iu(D);break;case 22:if(Ve=X!==null&&X.memoizedState!==null,D.mode&1?(Zn=(Be=Zn)||Ve,Cr(F,D),Zn=Be):Cr(F,D),xr(D),j&8192){if(Be=D.memoizedState!==null,(D.stateNode.isHidden=Be)&&!Ve&&D.mode&1)for(at=D,Ve=D.child;Ve!==null;){for(Ye=at=Ve;at!==null;){switch(Ke=at,rt=Ke.child,Ke.tag){case 0:case 11:case 14:case 15:Vi(4,Ke,Ke.return);break;case 1:Si(Ke,Ke.return);var ut=Ke.stateNode;if(typeof ut.componentWillUnmount=="function"){j=Ke,F=Ke.return;try{X=j,ut.props=X.memoizedProps,ut.state=X.memoizedState,ut.componentWillUnmount()}catch(ct){An(j,F,ct)}}break;case 5:Si(Ke,Ke.return);break;case 22:if(Ke.memoizedState!==null){Pu(Ye);continue}}rt!==null?(rt.return=Ke,at=rt):Pu(Ye)}Ve=Ve.sibling}e:for(Ve=null,Ye=D;;){if(Ye.tag===5){if(Ve===null){Ve=Ye;try{Z=Ye.stateNode,Be?(ee=Z.style,typeof ee.setProperty=="function"?ee.setProperty("display","none","important"):ee.display="none"):(Ee=Ye.stateNode,Ce=Ye.memoizedProps.style,de=Ce!=null&&Ce.hasOwnProperty("display")?Ce.display:null,Ee.style.display=B("display",de))}catch(ct){An(D,D.return,ct)}}}else if(Ye.tag===6){if(Ve===null)try{Ye.stateNode.nodeValue=Be?"":Ye.memoizedProps}catch(ct){An(D,D.return,ct)}}else if((Ye.tag!==22&&Ye.tag!==23||Ye.memoizedState===null||Ye===D)&&Ye.child!==null){Ye.child.return=Ye,Ye=Ye.child;continue}if(Ye===D)break e;for(;Ye.sibling===null;){if(Ye.return===null||Ye.return===D)break e;Ve===Ye&&(Ve=null),Ye=Ye.return}Ve===Ye&&(Ve=null),Ye.sibling.return=Ye.return,Ye=Ye.sibling}}break;case 19:Cr(F,D),xr(D),j&4&&Iu(D);break;case 21:break;default:Cr(F,D),xr(D)}}function xr(D){var F=D.flags;if(F&2){try{e:{for(var j=D.return;j!==null;){if(wu(j)){var X=j;break e}j=j.return}throw Error(g(160))}switch(X.tag){case 5:var Z=X.stateNode;X.flags&32&&(Gi(Z,""),X.flags&=-33);var ee=Tu(D);Pa(D,ee,Z);break;case 3:case 4:var de=X.stateNode.containerInfo,Ee=Tu(D);xa(D,Ee,de);break;default:throw Error(g(161))}}catch(Ce){An(D,D.return,Ce)}D.flags&=-3}F&4096&&(D.flags&=-4097)}function kl(D,F,j){at=D,Nu(D,F,j)}function Nu(D,F,j){for(var X=(D.mode&1)!==0;at!==null;){var Z=at,ee=Z.child;if(Z.tag===22&&X){var de=Z.memoizedState!==null||ra;if(!de){var Ee=Z.alternate,Ce=Ee!==null&&Ee.memoizedState!==null||Zn;Ee=ra;var Be=Zn;if(ra=de,(Zn=Ce)&&!Be)for(at=Z;at!==null;)de=at,Ce=de.child,de.tag===22&&de.memoizedState!==null?Bu(Z):Ce!==null?(Ce.return=de,at=Ce):Bu(Z);for(;ee!==null;)at=ee,Nu(ee,F,j),ee=ee.sibling;at=Z,ra=Ee,Zn=Be}xu(D,F,j)}else Z.subtreeFlags&8772&&ee!==null?(ee.return=Z,at=ee):xu(D,F,j)}}function xu(D,F,j){for(;at!==null;){if(F=at,F.flags&8772){j=F.alternate;try{if(F.flags&8772)switch(F.tag){case 0:case 11:case 15:Zn||bo(5,F);break;case 1:var X=F.stateNode;if(F.flags&4&&!Zn)if(j===null)X.componentDidMount();else{var Z=F.elementType===F.type?j.memoizedProps:_r(F.type,j.memoizedProps);X.componentDidUpdate(Z,j.memoizedState,X.__reactInternalSnapshotBeforeUpdate)}var ee=F.updateQueue;ee!==null&&Os(F,ee,X);break;case 3:var de=F.updateQueue;if(de!==null){if(j=null,F.child!==null)switch(F.child.tag){case 5:j=F.child.stateNode;break;case 1:j=F.child.stateNode}Os(F,de,j)}break;case 5:var Ee=F.stateNode;if(j===null&&F.flags&4){j=Ee;var Ce=F.memoizedProps;switch(F.type){case"button":case"input":case"select":case"textarea":Ce.autoFocus&&j.focus();break;case"img":Ce.src&&(j.src=Ce.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(F.memoizedState===null){var Be=F.alternate;if(Be!==null){var Ve=Be.memoizedState;if(Ve!==null){var Ye=Ve.dehydrated;Ye!==null&&st(Ye)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(g(163))}Zn||F.flags&512&&Na(F)}catch(Ke){An(F,F.return,Ke)}}if(F===D){at=null;break}if(j=F.sibling,j!==null){j.return=F.return,at=j;break}at=F.return}}function Pu(D){for(;at!==null;){var F=at;if(F===D){at=null;break}var j=F.sibling;if(j!==null){j.return=F.return,at=j;break}at=F.return}}function Bu(D){for(;at!==null;){var F=at;try{switch(F.tag){case 0:case 11:case 15:var j=F.return;try{bo(4,F)}catch(Ce){An(F,j,Ce)}break;case 1:var X=F.stateNode;if(typeof X.componentDidMount=="function"){var Z=F.return;try{X.componentDidMount()}catch(Ce){An(F,Z,Ce)}}var ee=F.return;try{Na(F)}catch(Ce){An(F,ee,Ce)}break;case 5:var de=F.return;try{Na(F)}catch(Ce){An(F,de,Ce)}}}catch(Ce){An(F,F.return,Ce)}if(F===D){at=null;break}var Ee=F.sibling;if(Ee!==null){Ee.return=F.return,at=Ee;break}at=F.return}}function $i(){Ns=Fn()+500}function er(){return Yt&6?Fn():la!==-1?la:la=Fn()}function Zr(D){return D.mode&1?Yt&2&&Kn!==0?Kn&-Kn:Vc.transition!==null?(ca===0&&(ca=dt()),ca):(D=qt,D!==0||(D=window.event,D=D===void 0?16:Jt(D.type)),D):1}function Ar(D,F,j,X){if(50<mo)throw mo=0,Ps=null,Error(g(185));kt(D,j,X),(!(Yt&2)||D!==xn)&&(D===xn&&(!(Yt&2)&&(oa|=j),In===4&&Jr(D,Kn)),ar(D,X),j===1&&Yt===0&&!(F.mode&1)&&($i(),Go&&Mn()))}function ar(D,F){var j=D.callbackNode;Oe(D,F);var X=De(D,D===xn?Kn:0);if(X===0)j!==null&&sl(j),D.callbackNode=null,D.callbackPriority=0;else if(F=X&-X,D.callbackPriority!==F){if(j!=null&&sl(j),F===1)D.tag===0?Jn(Ou.bind(null,D)):rr(Ou.bind(null,D)),Hc(function(){!(Yt&6)&&Mn()}),j=null;else{switch(Wt(X)){case 1:j=ss;break;case 4:j=ul;break;case 16:j=ko;break;case 536870912:j=ll;break;default:j=ko}j=Uu(j,Mu.bind(null,D))}D.callbackPriority=F,D.callbackNode=j}}function Mu(D,F){if(la=-1,ca=0,Yt&6)throw Error(g(327));var j=D.callbackNode;if(bi()&&D.callbackNode!==j)return null;var X=De(D,D===xn?Kn:0);if(X===0)return null;if(X&30||X&D.expiredLanes||F)F=wo(D,X);else{F=X;var Z=Yt;Yt|=2;var ee=ku();(xn!==D||Kn!==F)&&(zr=null,$i(),hi(D,F));do try{Hl();break}catch(Ee){Lu(D,Ee)}while(!0);cr(),ia.current=ee,Yt=Z,wn!==null?F=0:(xn=null,Kn=0,F=In)}if(F!==0){if(F===2&&(Z=je(D),Z!==0&&(X=Z,F=Ba(D,Z))),F===1)throw j=po,hi(D,0),Jr(D,X),ar(D,Fn()),j;if(F===6)Jr(D,X);else{if(Z=D.current.alternate,!(X&30)&&!jl(Z)&&(F=wo(D,X),F===2&&(ee=je(D),ee!==0&&(X=ee,F=Ba(D,ee))),F===1))throw j=po,hi(D,0),Jr(D,X),ar(D,Fn()),j;switch(D.finishedWork=Z,D.finishedLanes=X,F){case 0:case 1:throw Error(g(345));case 2:pi(D,lr,zr);break;case 3:if(Jr(D,X),(X&130023424)===X&&(F=Fs+500-Fn(),10<F)){if(De(D,0)!==0)break;if(Z=D.suspendedLanes,(Z&X)!==X){er(),D.pingedLanes|=D.suspendedLanes&Z;break}D.timeoutHandle=_s(pi.bind(null,D,lr,zr),F);break}pi(D,lr,zr);break;case 4:if(Jr(D,X),(X&4194240)===X)break;for(F=D.eventTimes,Z=-1;0<X;){var de=31-Sr(X);ee=1<<de,de=F[de],de>Z&&(Z=de),X&=~ee}if(X=Z,X=Fn()-X,X=(120>X?120:480>X?480:1080>X?1080:1920>X?1920:3e3>X?3e3:4320>X?4320:1960*nd(X/1960))-X,10<X){D.timeoutHandle=_s(pi.bind(null,D,lr,zr),X);break}pi(D,lr,zr);break;case 5:pi(D,lr,zr);break;default:throw Error(g(329))}}}return ar(D,Fn()),D.callbackNode===j?Mu.bind(null,D):null}function Ba(D,F){var j=go;return D.current.memoizedState.isDehydrated&&(hi(D,F).flags|=256),D=wo(D,F),D!==2&&(F=lr,lr=j,F!==null&&Ma(F)),D}function Ma(D){lr===null?lr=D:lr.push.apply(lr,D)}function jl(D){for(var F=D;;){if(F.flags&16384){var j=F.updateQueue;if(j!==null&&(j=j.stores,j!==null))for(var X=0;X<j.length;X++){var Z=j[X],ee=Z.getSnapshot;Z=Z.value;try{if(!br(ee(),Z))return!1}catch(de){return!1}}}if(j=F.child,F.subtreeFlags&16384&&j!==null)j.return=F,F=j;else{if(F===D)break;for(;F.sibling===null;){if(F.return===null||F.return===D)return!0;F=F.return}F.sibling.return=F.return,F=F.sibling}}return!0}function Jr(D,F){for(F&=~Is,F&=~oa,D.suspendedLanes|=F,D.pingedLanes&=~F,D=D.expirationTimes;0<F;){var j=31-Sr(F),X=1<<j;D[j]=-1,F&=~X}}function Ou(D){if(Yt&6)throw Error(g(327));bi();var F=De(D,0);if(!(F&1))return ar(D,Fn()),null;var j=wo(D,F);if(D.tag!==0&&j===2){var X=je(D);X!==0&&(F=X,j=Ba(D,X))}if(j===1)throw j=po,hi(D,0),Jr(D,F),ar(D,Fn()),j;if(j===6)throw Error(g(345));return D.finishedWork=D.current.alternate,D.finishedLanes=F,pi(D,lr,zr),ar(D,Fn()),null}function Oa(D,F){var j=Yt;Yt|=1;try{return D(F)}finally{Yt=j,Yt===0&&($i(),Go&&Mn())}}function fi(D){li!==null&&li.tag===0&&!(Yt&6)&&bi();var F=Yt;Yt|=1;var j=tr.transition,X=qt;try{if(tr.transition=null,qt=1,D)return D()}finally{qt=X,tr.transition=j,Yt=F,!(Yt&6)&&Mn()}}function hi(D,F){D.finishedWork=null,D.finishedLanes=0;var j=D.timeoutHandle;if(j!==-1&&(D.timeoutHandle=-1,Wc(j)),wn!==null)for(j=wn.return;j!==null;){var X=j;switch(ir(X),X.tag){case 1:X=X.type.childContextTypes,X!=null&&(pt(Wn),pt(Tn));break;case 3:Ai(),pt(Wn),pt(Tn),ha();break;case 5:fa(X);break;case 4:Ai();break;case 13:pt(mn);break;case 19:pt(mn);break;case 10:Lr(X.type._context);break;case 22:case 23:nr=Or.current,pt(Or)}j=j.return}if(xn=D,wn=D=qr(D.current,null),Kn=nr=F,In=0,po=null,Is=oa=_i=0,lr=go=null,Ei!==null){for(F=0;F<Ei.length;F++)if(j=Ei[F],X=j.interleaved,X!==null){j.interleaved=null;var Z=X.next,ee=j.pending;if(ee!==null){var de=ee.next;ee.next=Z,X.next=de}j.pending=X}Ei=null}return D}function Lu(D,F){do{var j=wn;try{if(cr(),qo.current=ta,ea){for(var X=vn.memoizedState;X!==null;){var Z=X.queue;Z!==null&&(Z.pending=null),X=X.next}ea=!1}if(yi=0,Nn=Rn=vn=null,fo=!1,ho=0,Rs.current=null,j===null||j.return===null){In=1,po=F,wn=null;break}e:{var ee=D,de=j.return,Ee=j,Ce=F;if(F=Kn,Ee.flags|=32768,Ce!==null&&typeof Ce=="object"&&typeof Ce.then=="function"){var Be=Ce,Ve=Ee,Ye=Ve.tag;if(!(Ve.mode&1)&&(Ye===0||Ye===11||Ye===15)){var Ke=Ve.alternate;Ke?(Ve.updateQueue=Ke.updateQueue,Ve.memoizedState=Ke.memoizedState,Ve.lanes=Ke.lanes):(Ve.updateQueue=null,Ve.memoizedState=null)}var rt=fu(de);if(rt!==null){rt.flags&=-257,hu(rt,de,Ee,ee,F),rt.mode&1&&du(ee,Be,F),F=rt,Ce=Be;var ut=F.updateQueue;if(ut===null){var ct=new Set;ct.add(Ce),F.updateQueue=ct}else ut.add(Ce);break e}else{if(!(F&1)){du(ee,Be,F),La();break e}Ce=Error(g(426))}}else if(hn&&Ee.mode&1){var Sn=fu(de);if(Sn!==null){!(Sn.flags&65536)&&(Sn.flags|=256),hu(Sn,de,Ee,ee,F),mt(Di(Ce,Ee));break e}}ee=Ce=Di(Ce,Ee),In!==4&&(In=2),go===null?go=[ee]:go.push(ee),ee=de;do{switch(ee.tag){case 3:ee.flags|=65536,F&=-F,ee.lanes|=F;var Fe=lu(ee,Ce,F);Ms(ee,Fe);break e;case 1:Ee=Ce;var Te=ee.type,xe=ee.stateNode;if(!(ee.flags&128)&&(typeof Te.getDerivedStateFromError=="function"||xe!==null&&typeof xe.componentDidCatch=="function"&&(ui===null||!ui.has(xe)))){ee.flags|=65536,F&=-F,ee.lanes|=F;var Xe=cu(ee,Ee,F);Ms(ee,Xe);break e}}ee=ee.return}while(ee!==null)}Wu(j)}catch(ft){F=ft,wn===j&&j!==null&&(wn=j=j.return);continue}break}while(!0)}function ku(){var D=ia.current;return ia.current=ta,D===null?ta:D}function La(){(In===0||In===3||In===2)&&(In=4),xn===null||!(_i&268435455)&&!(oa&268435455)||Jr(xn,Kn)}function wo(D,F){var j=Yt;Yt|=2;var X=ku();(xn!==D||Kn!==F)&&(zr=null,hi(D,F));do try{Wl();break}catch(Z){Lu(D,Z)}while(!0);if(cr(),Yt=j,ia.current=X,wn!==null)throw Error(g(261));return xn=null,Kn=0,In}function Wl(){for(;wn!==null;)ju(wn)}function Hl(){for(;wn!==null&&!ic();)ju(wn)}function ju(D){var F=rd(D.alternate,D,nr);D.memoizedProps=D.pendingProps,F===null?Wu(D):wn=F,Rs.current=null}function Wu(D){var F=D;do{var j=F.alternate;if(D=F.return,F.flags&32768){if(j=Ol(j,F),j!==null){j.flags&=32767,wn=j;return}if(D!==null)D.flags|=32768,D.subtreeFlags=0,D.deletions=null;else{In=6,wn=null;return}}else if(j=Ml(j,F,nr),j!==null){wn=j;return}if(F=F.sibling,F!==null){wn=F;return}wn=F=D}while(F!==null);In===0&&(In=5)}function pi(D,F,j){var X=qt,Z=tr.transition;try{tr.transition=null,qt=1,Kl(D,F,j,X)}finally{tr.transition=Z,qt=X}return null}function Kl(D,F,j,X){do bi();while(li!==null);if(Yt&6)throw Error(g(327));j=D.finishedWork;var Z=D.finishedLanes;if(j===null)return null;if(D.finishedWork=null,D.finishedLanes=0,j===D.current)throw Error(g(177));D.callbackNode=null,D.callbackPriority=0;var ee=j.lanes|j.childLanes;if(Rt(D,ee),D===xn&&(wn=xn=null,Kn=0),!(j.subtreeFlags&2064)&&!(j.flags&2064)||sa||(sa=!0,Uu(ko,function(){return bi(),null})),ee=(j.flags&15990)!==0,j.subtreeFlags&15990||ee){ee=tr.transition,tr.transition=null;var de=qt;qt=1;var Ee=Yt;Yt|=4,Rs.current=null,Ll(D,j),Fu(j,D),Nt(ys),Uo=!!Es,ys=Es=null,D.current=j,kl(j,D,Z),oc(),Yt=Ee,qt=de,tr.transition=ee}else D.current=j;if(sa&&(sa=!1,li=D,ua=Z),ee=D.pendingLanes,ee===0&&(ui=null),he(j.stateNode,X),ar(D,Fn()),F!==null)for(X=D.onRecoverableError,j=0;j<F.length;j++)Z=F[j],X(Z.value,{componentStack:Z.stack,digest:Z.digest});if(aa)throw aa=!1,D=xs,xs=null,D;return ua&1&&D.tag!==0&&bi(),ee=D.pendingLanes,ee&1?D===Ps?mo++:(mo=0,Ps=D):mo=0,Mn(),null}function bi(){if(li!==null){var D=Wt(ua),F=tr.transition,j=qt;try{if(tr.transition=null,qt=16>D?16:D,li===null)var X=!1;else{if(D=li,li=null,ua=0,Yt&6)throw Error(g(331));var Z=Yt;for(Yt|=4,at=D.current;at!==null;){var ee=at,de=ee.child;if(at.flags&16){var Ee=ee.deletions;if(Ee!==null){for(var Ce=0;Ce<Ee.length;Ce++){var Be=Ee[Ce];for(at=Be;at!==null;){var Ve=at;switch(Ve.tag){case 0:case 11:case 15:Vi(8,Ve,ee)}var Ye=Ve.child;if(Ye!==null)Ye.return=Ve,at=Ye;else for(;at!==null;){Ve=at;var Ke=Ve.sibling,rt=Ve.return;if(bu(Ve),Ve===Be){at=null;break}if(Ke!==null){Ke.return=rt,at=Ke;break}at=rt}}}var ut=ee.alternate;if(ut!==null){var ct=ut.child;if(ct!==null){ut.child=null;do{var Sn=ct.sibling;ct.sibling=null,ct=Sn}while(ct!==null)}}at=ee}}if(ee.subtreeFlags&2064&&de!==null)de.return=ee,at=de;else e:for(;at!==null;){if(ee=at,ee.flags&2048)switch(ee.tag){case 0:case 11:case 15:Vi(9,ee,ee.return)}var Fe=ee.sibling;if(Fe!==null){Fe.return=ee.return,at=Fe;break e}at=ee.return}}var Te=D.current;for(at=Te;at!==null;){de=at;var xe=de.child;if(de.subtreeFlags&2064&&xe!==null)xe.return=de,at=xe;else e:for(de=Te;at!==null;){if(Ee=at,Ee.flags&2048)try{switch(Ee.tag){case 0:case 11:case 15:bo(9,Ee)}}catch(ft){An(Ee,Ee.return,ft)}if(Ee===de){at=null;break e}var Xe=Ee.sibling;if(Xe!==null){Xe.return=Ee.return,at=Xe;break e}at=Ee.return}}if(Yt=Z,Mn(),Pr&&typeof Pr.onPostCommitFiberRoot=="function")try{Pr.onPostCommitFiberRoot(jo,D)}catch(ft){}X=!0}return X}finally{qt=j,tr.transition=F}}return!1}function Hu(D,F,j){F=Di(j,F),F=lu(D,F,1),D=Xr(D,F,1),F=er(),D!==null&&(kt(D,1,F),ar(D,F))}function An(D,F,j){if(D.tag===3)Hu(D,D,j);else for(;F!==null;){if(F.tag===3){Hu(F,D,j);break}else if(F.tag===1){var X=F.stateNode;if(typeof F.type.getDerivedStateFromError=="function"||typeof X.componentDidCatch=="function"&&(ui===null||!ui.has(X))){D=Di(j,D),D=cu(F,D,1),F=Xr(F,D,1),D=er(),F!==null&&(kt(F,1,D),ar(F,D));break}}F=F.return}}function Ul(D,F,j){var X=D.pingCache;X!==null&&X.delete(F),F=er(),D.pingedLanes|=D.suspendedLanes&j,xn===D&&(Kn&j)===j&&(In===4||In===3&&(Kn&130023424)===Kn&&500>Fn()-Fs?hi(D,0):Is|=j),ar(D,F)}function Ku(D,F){F===0&&(D.mode&1?(F=Ho,Ho<<=1,!(Ho&130023424)&&(Ho=4194304)):F=1);var j=er();D=dr(D,F),D!==null&&(kt(D,F,j),ar(D,j))}function Vl(D){var F=D.memoizedState,j=0;F!==null&&(j=F.retryLane),Ku(D,j)}function $l(D,F){var j=0;switch(D.tag){case 13:var X=D.stateNode,Z=D.memoizedState;Z!==null&&(j=Z.retryLane);break;case 19:X=D.stateNode;break;default:throw Error(g(314))}X!==null&&X.delete(F),Ku(D,j)}function Uu(D,F){return al(D,F)}function zl(D,F,j,X){this.tag=D,this.key=j,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=F,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ka(D){return D=D.prototype,!(!D||!D.isReactComponent)}function Yl(D){if(typeof D=="function")return ka(D)?1:0;if(D!=null){if(D=D.$$typeof,D===Qa)return 11;if(D===qa)return 14}return 2}function qr(D,F){var j=D.alternate;return j===null?(j=vr(D.tag,F,D.key,D.mode),j.elementType=D.elementType,j.type=D.type,j.stateNode=D.stateNode,j.alternate=D,D.alternate=j):(j.pendingProps=F,j.type=D.type,j.flags=0,j.subtreeFlags=0,j.deletions=null),j.flags=D.flags&14680064,j.childLanes=D.childLanes,j.lanes=D.lanes,j.child=D.child,j.memoizedProps=D.memoizedProps,j.memoizedState=D.memoizedState,j.updateQueue=D.updateQueue,F=D.dependencies,j.dependencies=F===null?null:{lanes:F.lanes,firstContext:F.firstContext},j.sibling=D.sibling,j.index=D.index,j.ref=D.ref,j}function To(D,F,j,X,Z,ee){var de=2;if(X=D,typeof D=="function")ka(D)&&(de=1);else if(typeof D=="string")de=5;else e:switch(D){case Ti:return gi(j.children,Z,ee,F);case Ga:de=8,Z|=8;break;case Xa:return D=vr(12,j,F,Z|2),D.elementType=Xa,D.lanes=ee,D;case Za:return D=vr(13,j,F,Z),D.elementType=Za,D.lanes=ee,D;case Ja:return D=vr(19,j,F,Z),D.elementType=Ja,D.lanes=ee,D;case qu:return Ro(j,Z,ee,F);default:if(typeof D=="object"&&D!==null)switch(D.$$typeof){case Zu:de=10;break e;case Ju:de=9;break e;case Qa:de=11;break e;case qa:de=14;break e;case ei:de=16,X=null;break e}throw Error(g(130,D==null?D:typeof D,""))}return F=vr(de,j,F,Z),F.elementType=D,F.type=X,F.lanes=ee,F}function gi(D,F,j,X){return D=vr(7,D,X,F),D.lanes=j,D}function Ro(D,F,j,X){return D=vr(22,D,X,F),D.elementType=qu,D.lanes=j,D.stateNode={isHidden:!1},D}function ja(D,F,j){return D=vr(6,D,null,F),D.lanes=j,D}function Wa(D,F,j){return F=vr(4,D.children!==null?D.children:[],D.key,F),F.lanes=j,F.stateNode={containerInfo:D.containerInfo,pendingChildren:null,implementation:D.implementation},F}function Gl(D,F,j,X,Z){this.tag=F,this.containerInfo=D,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=X,this.onRecoverableError=Z,this.mutableSourceEagerHydrationData=null}function Ha(D,F,j,X,Z,ee,de,Ee,Ce,Be){return D=new Gl(D,F,j,Ee,Ce),F===1?(F=1,ee===!0&&(F|=8)):F=0,ee=vr(3,null,null,F),D.current=ee,ee.stateNode=D,ee.memoizedState={element:X,isDehydrated:j,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gr(ee),D}function Xl(D,F,j){var X=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wi,key:X==null?null:""+X,children:D,containerInfo:F,implementation:j}}function Vu(D){if(!D)return ai;D=D._reactInternals;e:{if(ce(D)!==D||D.tag!==1)throw Error(g(170));var F=D;do{switch(F.tag){case 3:F=F.stateNode.context;break e;case 1:if(Ut(F.type)){F=F.stateNode.__reactInternalMemoizedMergedChildContext;break e}}F=F.return}while(F!==null);throw Error(g(171))}if(D.tag===1){var j=D.type;if(Ut(j))return fn(D,j,F)}return F}function $u(D,F,j,X,Z,ee,de,Ee,Ce,Be){return D=Ha(j,X,!0,D,Z,ee,de,Ee,Ce),D.context=Vu(null),j=D.current,X=er(),Z=Zr(j),ee=kr(X,Z),ee.callback=F!=null?F:null,Xr(j,ee,Z),D.current.lanes=Z,kt(D,Z,X),ar(D,X),D}function Io(D,F,j,X){var Z=F.current,ee=er(),de=Zr(Z);return j=Vu(j),F.context===null?F.context=j:F.pendingContext=j,F=kr(ee,de),F.payload={element:D},X=X===void 0?null:X,X!==null&&(F.callback=X),D=Xr(Z,F,de),D!==null&&(Ar(D,Z,de,ee),Eo(D,Z,de)),de}function Fo(D){if(D=D.current,!D.child)return null;switch(D.child.tag){case 5:return D.child.stateNode;default:return D.child.stateNode}}function zu(D,F){if(D=D.memoizedState,D!==null&&D.dehydrated!==null){var j=D.retryLane;D.retryLane=j!==0&&j<F?j:F}}function Ka(D,F){zu(D,F),(D=D.alternate)&&zu(D,F)}function Ql(D){return D=se(D),D===null?null:D.stateNode}function Zl(D){return null}function Ua(D){this._internalRoot=D}function No(D){this._internalRoot=D}function Va(D){return!(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11)}function xo(D){return!(!D||D.nodeType!==1&&D.nodeType!==9&&D.nodeType!==11&&(D.nodeType!==8||D.nodeValue!==" react-mount-point-unstable "))}function Yu(){}function Jl(D,F,j,X,Z){if(Z){if(typeof X=="function"){var ee=X;X=function(){var Be=Fo(de);ee.call(Be)}}var de=$u(F,X,D,0,null,!1,!1,"",Yu);return D._reactRootContainer=de,D[Kr]=de.current,We(D.nodeType===8?D.parentNode:D),fi(),de}for(;Z=D.lastChild;)D.removeChild(Z);if(typeof X=="function"){var Ee=X;X=function(){var Be=Fo(Ce);Ee.call(Be)}}var Ce=Ha(D,0,!1,null,null,!1,!1,"",Yu);return D._reactRootContainer=Ce,D[Kr]=Ce.current,We(D.nodeType===8?D.parentNode:D),fi(function(){Io(F,Ce,j,X)}),Ce}function Po(D,F,j,X,Z){var ee=j._reactRootContainer;if(ee){var de=ee;if(typeof Z=="function"){var Ee=Z;Z=function(){var Ce=Fo(de);Ee.call(Ce)}}Io(F,de,D,Z)}else de=Jl(j,F,D,Z,X);return Fo(de)}var Gu=new Set,zi={},Wr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$a=Object.prototype.hasOwnProperty,ql=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Xu={},Qu={},jn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(D){jn[D]=new d(D,0,!1,D,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(D){var F=D[0];jn[F]=new d(F,1,!1,D[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(D){jn[D]=new d(D,2,!1,D.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(D){jn[D]=new d(D,2,!1,D,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(D){jn[D]=new d(D,3,!1,D.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(D){jn[D]=new d(D,3,!0,D,null,!1,!1)}),["capture","download"].forEach(function(D){jn[D]=new d(D,4,!1,D,null,!1,!1)}),["cols","rows","size","span"].forEach(function(D){jn[D]=new d(D,6,!1,D,null,!1,!1)}),["rowSpan","start"].forEach(function(D){jn[D]=new d(D,5,!1,D.toLowerCase(),null,!1,!1)});var za=/[\-:]([a-z])/g,Ya=function(D){return D[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(D){var F=D.replace(za,Ya);jn[F]=new d(F,1,!1,D,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(D){var F=D.replace(za,Ya);jn[F]=new d(F,1,!1,D,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(D){var F=D.replace(za,Ya);jn[F]=new d(F,1,!1,D,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(D){jn[D]=new d(D,1,!1,D.toLowerCase(),null,!1,!1)}),jn.xlinkHref=new d("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(D){jn[D]=new d(D,1,!1,D.toLowerCase(),null,!0,!0)});var Hr=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bo=Symbol.for("react.element"),wi=Symbol.for("react.portal"),Ti=Symbol.for("react.fragment"),Ga=Symbol.for("react.strict_mode"),Xa=Symbol.for("react.profiler"),Zu=Symbol.for("react.provider"),Ju=Symbol.for("react.context"),Qa=Symbol.for("react.forward_ref"),Za=Symbol.for("react.suspense"),Ja=Symbol.for("react.suspense_list"),qa=Symbol.for("react.memo"),ei=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var qu=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var el=Symbol.iterator,gn=Object.assign,es,ts=!1,Yi=Array.isArray,Mo,tl=function(D){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(F,j,X,Z){MSApp.execUnsafeLocalFunction(function(){return D(F,j,X,Z)})}:D}(function(D,F){if(D.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in D)D.innerHTML=F;else{for(Mo=Mo||document.createElement("div"),Mo.innerHTML="<svg>"+F.valueOf().toString()+"</svg>",F=Mo.firstChild;D.firstChild;)D.removeChild(D.firstChild);for(;F.firstChild;)D.appendChild(F.firstChild)}}),Gi=function(D,F){if(F){var j=D.firstChild;if(j&&j===D.lastChild&&j.nodeType===3){j.nodeValue=F;return}}D.textContent=F},Xi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ec=["Webkit","ms","Moz","O"];Object.keys(Xi).forEach(function(D){ec.forEach(function(F){F=F+D.charAt(0).toUpperCase()+D.substring(1),Xi[F]=Xi[D]})});var tc=gn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ns=null,rs=null,Ri=null,Ii=null,nl=function(D,F){return D(F)},rl=function(){},is=!1,os=!1;if(Wr)try{var Qi={};Object.defineProperty(Qi,"passive",{get:function(){os=!0}}),window.addEventListener("test",Qi,Qi),window.removeEventListener("test",Qi,Qi)}catch(D){os=!1}var nc=function(D,F,j,X,Z,ee,de,Ee,Ce){var Be=Array.prototype.slice.call(arguments,3);try{F.apply(j,Be)}catch(Ve){this.onError(Ve)}},Zi=!1,Oo=null,Lo=!1,as=null,rc={onError:function(D){Zi=!0,Oo=D}},Dr=C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,il=Dr.unstable_scheduleCallback,ol=Dr.unstable_NormalPriority,al=il,sl=Dr.unstable_cancelCallback,ic=Dr.unstable_shouldYield,oc=Dr.unstable_requestPaint,Fn=Dr.unstable_now,ac=Dr.unstable_getCurrentPriorityLevel,ss=Dr.unstable_ImmediatePriority,ul=Dr.unstable_UserBlockingPriority,ko=ol,sc=Dr.unstable_LowPriority,ll=Dr.unstable_IdlePriority,jo=null,Pr=null,Sr=Math.clz32?Math.clz32:fe,uc=Math.log,lc=Math.LN2,Wo=64,Ho=4194304,qt=0,us=!1,Ko=[],ti=null,ni=null,ri=null,Ji=new Map,qi=new Map,ii=[],cc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),Fi=Hr.ReactCurrentBatchConfig,Uo=!0,Vo=null,oi=null,ls=null,$o=null,Ni={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(D){return D.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cs=un(Ni),eo=gn({},Ni,{view:0,detail:0}),dc=un(eo),ds,fs,to,zo=gn({},eo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$n,button:0,buttons:0,relatedTarget:function(D){return D.relatedTarget===void 0?D.fromElement===D.srcElement?D.toElement:D.fromElement:D.relatedTarget},movementX:function(D){return"movementX"in D?D.movementX:(D!==to&&(to&&D.type==="mousemove"?(ds=D.screenX-to.screenX,fs=D.screenY-to.screenY):fs=ds=0,to=D),ds)},movementY:function(D){return"movementY"in D?D.movementY:fs}}),cl=un(zo),fc=gn({},zo,{dataTransfer:0}),hc=un(fc),pc=gn({},eo,{relatedTarget:0}),hs=un(pc),gc=gn({},Ni,{animationName:0,elapsedTime:0,pseudoElement:0}),mc=un(gc),vc=gn({},Ni,{clipboardData:function(D){return"clipboardData"in D?D.clipboardData:window.clipboardData}}),Ec=un(vc),yc=gn({},Ni,{data:0}),dl=un(yc),_c=dl,Cc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ac={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Sc=gn({},eo,{key:function(D){if(D.key){var F=Cc[D.key]||D.key;if(F!=="Unidentified")return F}return D.type==="keypress"?(D=yn(D),D===13?"Enter":String.fromCharCode(D)):D.type==="keydown"||D.type==="keyup"?Ac[D.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$n,charCode:function(D){return D.type==="keypress"?yn(D):0},keyCode:function(D){return D.type==="keydown"||D.type==="keyup"?D.keyCode:0},which:function(D){return D.type==="keypress"?yn(D):D.type==="keydown"||D.type==="keyup"?D.keyCode:0}}),bc=un(Sc),wc=gn({},zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fl=un(wc),Tc=gn({},eo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$n}),Rc=un(Tc),Ic=gn({},Ni,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fc=un(Ic),Nc=gn({},zo,{deltaX:function(D){return"deltaX"in D?D.deltaX:"wheelDeltaX"in D?-D.wheelDeltaX:0},deltaY:function(D){return"deltaY"in D?D.deltaY:"wheelDeltaY"in D?-D.wheelDeltaY:"wheelDelta"in D?-D.wheelDelta:0},deltaZ:0,deltaMode:0}),xc=un(Nc),Pc=[9,13,27,32],ps=Wr&&"CompositionEvent"in window,no=null;Wr&&"documentMode"in document&&(no=document.documentMode);var Bc=Wr&&"TextEvent"in window&&!no,hl=Wr&&(!ps||no&&8<no&&11>=no),pl=" ",gl=!1,xi=!1,Mc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ro=null,io=null,ml=!1;Wr&&(ml=He("input")&&(!document.documentMode||9<document.documentMode));var br=typeof Object.is=="function"?Object.is:Bt,Oc=Wr&&"documentMode"in document&&11>=document.documentMode,Pi=null,gs=null,oo=null,ms=!1,Bi={animationend:_e("Animation","AnimationEnd"),animationiteration:_e("Animation","AnimationIteration"),animationstart:_e("Animation","AnimationStart"),transitionend:_e("Transition","TransitionEnd")},vs={},vl={};Wr&&(vl=document.createElement("div").style,"AnimationEvent"in window||(delete Bi.animationend.animation,delete Bi.animationiteration.animation,delete Bi.animationstart.animation),"TransitionEvent"in window||delete Bi.transitionend.transition);var El=ue("animationend"),yl=ue("animationiteration"),_l=ue("animationstart"),Cl=ue("transitionend"),Al=new Map,Dl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");(function(){for(var D=0;D<Dl.length;D++){var F=Dl[D],j=F.toLowerCase();F=F[0].toUpperCase()+F.slice(1),le(j,"on"+F)}le(El,"onAnimationEnd"),le(yl,"onAnimationIteration"),le(_l,"onAnimationStart"),le("dblclick","onDoubleClick"),le("focusin","onFocus"),le("focusout","onBlur"),le(Cl,"onTransitionEnd")})(),v("onMouseEnter",["mouseout","mouseover"]),v("onMouseLeave",["mouseout","mouseover"]),v("onPointerEnter",["pointerout","pointerover"]),v("onPointerLeave",["pointerout","pointerover"]),_("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_("onBeforeInput",["compositionend","keypress","textInput","paste"]),_("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lc=new Set("cancel close invalid load scroll toggle".split(" ").concat(ao)),Yo="_reactListening"+Math.random().toString(36).slice(2),kc=/\r\n?/g,jc=/\u0000|\uFFFD/g,Es=null,ys=null,_s=typeof setTimeout=="function"?setTimeout:void 0,Wc=typeof clearTimeout=="function"?clearTimeout:void 0,Sl=typeof Promise=="function"?Promise:void 0,Hc=typeof queueMicrotask=="function"?queueMicrotask:typeof Sl<"u"?function(D){return Sl.resolve(null).then(D).catch(cn)}:_s,Mi=Math.random().toString(36).slice(2),Br="__reactFiber$"+Mi,so="__reactProps$"+Mi,Kr="__reactContainer$"+Mi,Cs="__reactEvents$"+Mi,Kc="__reactListeners$"+Mi,Uc="__reactHandles$"+Mi,As=[],Oi=-1,ai={},Tn=xt(ai),Wn=xt(!1),mi=ai,Ur=null,Go=!1,Ds=!1,Li=[],ki=0,Xo=null,Qo=0,gr=[],mr=0,vi=null,Vr=1,$r="",fr=null,sr=null,hn=!1,wr=null,Vc=Hr.ReactCurrentBatchConfig,ji=bn(!0),bl=bn(!1),Zo=xt(null),Jo=null,Wi=null,Ss=null,Ei=null,$c=dr,si=!1,uo={},Mr=xt(uo),lo=xt(uo),co=xt(uo),mn=xt(0),bs=[],qo=Hr.ReactCurrentDispatcher,ws=Hr.ReactCurrentBatchConfig,yi=0,vn=null,Rn=null,Nn=null,ea=!1,fo=!1,ho=0,zc=0,ta={readContext:kn,useCallback:Xn,useContext:Xn,useEffect:Xn,useImperativeHandle:Xn,useInsertionEffect:Xn,useLayoutEffect:Xn,useMemo:Xn,useReducer:Xn,useRef:Xn,useState:Xn,useDebugValue:Xn,useDeferredValue:Xn,useTransition:Xn,useMutableSource:Xn,useSyncExternalStore:Xn,useId:Xn,unstable_isNewReconciler:!1},Yc={readContext:kn,useCallback:function(D,F){return Nr().memoizedState=[D,F===void 0?null:F],D},useContext:kn,useEffect:Gs,useImperativeHandle:function(D,F,j){return j=j!=null?j.concat([D]):null,Co(4194308,4,Zs.bind(null,F,D),j)},useLayoutEffect:function(D,F){return Co(4194308,4,D,F)},useInsertionEffect:function(D,F){return Co(4,2,D,F)},useMemo:function(D,F){var j=Nr();return F=F===void 0?null:F,D=D(),j.memoizedState=[D,F],D},useReducer:function(D,F,j){var X=Nr();return F=j!==void 0?j(F):F,X.memoizedState=X.baseState=F,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:D,lastRenderedState:F},X.queue=D,D=D.dispatch=Nl.bind(null,vn,D),[X.memoizedState,D]},useRef:function(D){var F=Nr();return D={current:D},F.memoizedState=D},useState:zs,useDebugValue:_a,useDeferredValue:function(D){return Nr().memoizedState=D},useTransition:function(){var D=zs(!1),F=D[0];return D=Fl.bind(null,D[1]),Nr().memoizedState=D,[F,D]},useMutableSource:function(D,F,j){},useSyncExternalStore:function(D,F,j){var X=vn,Z=Nr();if(hn){if(j===void 0)throw Error(g(407));j=j()}else{if(j=F(),xn===null)throw Error(g(349));yi&30||Hs(X,F,j)}Z.memoizedState=j;var ee={value:j,getSnapshot:F};return Z.queue=ee,Gs(Us.bind(null,X,ee,D),[D]),X.flags|=2048,Ki(9,Ks.bind(null,X,ee,j,F),void 0,null),j},useId:function(){var D=Nr(),F=xn.identifierPrefix;if(hn){var j=$r,X=Vr;j=(X&~(1<<32-Sr(X)-1)).toString(32)+j,F=":"+F+"R"+j,j=ho++,0<j&&(F+="H"+j.toString(32)),F+=":"}else j=zc++,F=":"+F+"r"+j.toString(32)+":";return D.memoizedState=F},unstable_isNewReconciler:!1},Gc={readContext:kn,useCallback:qs,useContext:kn,useEffect:ya,useImperativeHandle:Js,useInsertionEffect:Xs,useLayoutEffect:Qs,useMemo:eu,useReducer:va,useRef:Ys,useState:function(D){return va(Hi)},useDebugValue:_a,useDeferredValue:function(D){var F=pr();return tu(F,Rn.memoizedState,D)},useTransition:function(){var D=va(Hi)[0],F=pr().memoizedState;return[D,F]},useMutableSource:ks,useSyncExternalStore:Ws,useId:nu,unstable_isNewReconciler:!1},Xc={readContext:kn,useCallback:qs,useContext:kn,useEffect:ya,useImperativeHandle:Js,useInsertionEffect:Xs,useLayoutEffect:Qs,useMemo:eu,useReducer:Ea,useRef:Ys,useState:function(D){return Ea(Hi)},useDebugValue:_a,useDeferredValue:function(D){var F=pr();return Rn===null?F.memoizedState=D:tu(F,Rn.memoizedState,D)},useTransition:function(){var D=Ea(Hi)[0],F=pr().memoizedState;return[D,F]},useMutableSource:ks,useSyncExternalStore:Ws,useId:nu,unstable_isNewReconciler:!1},na={isMounted:function(D){return(D=D._reactInternals)?ce(D)===D:!1},enqueueSetState:function(D,F,j){D=D._reactInternals;var X=er(),Z=Zr(D),ee=kr(X,Z);ee.payload=F,j!=null&&(ee.callback=j),F=Xr(D,ee,Z),F!==null&&(Ar(F,D,Z,X),Eo(F,D,Z))},enqueueReplaceState:function(D,F,j){D=D._reactInternals;var X=er(),Z=Zr(D),ee=kr(X,Z);ee.tag=1,ee.payload=F,j!=null&&(ee.callback=j),F=Xr(D,ee,Z),F!==null&&(Ar(F,D,Z,X),Eo(F,D,Z))},enqueueForceUpdate:function(D,F){D=D._reactInternals;var j=er(),X=Zr(D),Z=kr(j,X);Z.tag=2,F!=null&&(Z.callback=F),F=Xr(D,Z,X),F!==null&&(Ar(F,D,X,j),Eo(F,D,X))}},Qc=typeof WeakMap=="function"?WeakMap:Map,Zc=Hr.ReactCurrentOwner,ur=!1,Ts={dehydrated:null,treeContext:null,retryLane:0},Jc=function(D,F,j,X){for(j=F.child;j!==null;){if(j.tag===5||j.tag===6)D.appendChild(j.stateNode);else if(j.tag!==4&&j.child!==null){j.child.return=j,j=j.child;continue}if(j===F)break;for(;j.sibling===null;){if(j.return===null||j.return===F)return;j=j.return}j.sibling.return=j.return,j=j.sibling}},wl=function(D,F){},qc=function(D,F,j,X,Z){var ee=D.memoizedProps;if(ee!==X){switch(D=F.stateNode,di(Mr.current),Z=null,j){case"input":ee=I(D,ee),X=I(D,X),Z=[];break;case"select":ee=gn({},ee,{value:void 0}),X=gn({},X,{value:void 0}),Z=[];break;case"textarea":ee=z(D,ee),X=z(D,X),Z=[];break;default:typeof ee.onClick!="function"&&typeof X.onClick=="function"&&(D.onclick=Qt)}k(j,X);var de;j=null;for(Be in ee)if(!X.hasOwnProperty(Be)&&ee.hasOwnProperty(Be)&&ee[Be]!=null)if(Be==="style"){var Ee=ee[Be];for(de in Ee)Ee.hasOwnProperty(de)&&(j||(j={}),j[de]="")}else Be!=="dangerouslySetInnerHTML"&&Be!=="children"&&Be!=="suppressContentEditableWarning"&&Be!=="suppressHydrationWarning"&&Be!=="autoFocus"&&(zi.hasOwnProperty(Be)?Z||(Z=[]):(Z=Z||[]).push(Be,null));for(Be in X){var Ce=X[Be];if(Ee=ee!=null?ee[Be]:void 0,X.hasOwnProperty(Be)&&Ce!==Ee&&(Ce!=null||Ee!=null))if(Be==="style")if(Ee){for(de in Ee)!Ee.hasOwnProperty(de)||Ce&&Ce.hasOwnProperty(de)||(j||(j={}),j[de]="");for(de in Ce)Ce.hasOwnProperty(de)&&Ee[de]!==Ce[de]&&(j||(j={}),j[de]=Ce[de])}else j||(Z||(Z=[]),Z.push(Be,j)),j=Ce;else Be==="dangerouslySetInnerHTML"?(Ce=Ce?Ce.__html:void 0,Ee=Ee?Ee.__html:void 0,Ce!=null&&Ee!==Ce&&(Z=Z||[]).push(Be,Ce)):Be==="children"?typeof Ce!="string"&&typeof Ce!="number"||(Z=Z||[]).push(Be,""+Ce):Be!=="suppressContentEditableWarning"&&Be!=="suppressHydrationWarning"&&(zi.hasOwnProperty(Be)?(Ce!=null&&Be==="onScroll"&&Se("scroll",D),Z||Ee===Ce||(Z=[])):(Z=Z||[]).push(Be,Ce))}j&&(Z=Z||[]).push("style",j);var Be=Z;(F.updateQueue=Be)&&(F.flags|=4)}},ed=function(D,F,j,X){j!==X&&(F.flags|=4)},ra=!1,Zn=!1,td=typeof WeakSet=="function"?WeakSet:Set,at=null,Tl=!1,Hn=null,Tr=!1,nd=Math.ceil,ia=Hr.ReactCurrentDispatcher,Rs=Hr.ReactCurrentOwner,tr=Hr.ReactCurrentBatchConfig,Yt=0,xn=null,wn=null,Kn=0,nr=0,Or=xt(0),In=0,po=null,_i=0,oa=0,Is=0,go=null,lr=null,Fs=0,Ns=1/0,zr=null,aa=!1,xs=null,ui=null,sa=!1,li=null,ua=0,mo=0,Ps=null,la=-1,ca=0,rd=function(D,F,j){if(D!==null)if(D.memoizedProps!==F.pendingProps||Wn.current)ur=!0;else{if(!(D.lanes&j)&&!(F.flags&128))return ur=!1,Bl(D,F,j);ur=!!(D.flags&131072)}else ur=!1,hn&&F.flags&1048576&&Ln(F,Qo,F.index);switch(F.lanes=0,F.tag){case 2:var X=F.type;So(D,F),D=F.pendingProps;var Z=dn(F,Tn.current);Ir(F,j),Z=ga(null,F,X,D,Z,j);var ee=ma();return F.flags|=1,typeof Z=="object"&&Z!==null&&typeof Z.render=="function"&&Z.$$typeof===void 0?(F.tag=1,F.memoizedState=null,F.updateQueue=null,Ut(X)?(ee=!0,_n(F)):ee=!1,F.memoizedState=Z.state!==null&&Z.state!==void 0?Z.state:null,Gr(F),Z.updater=na,F.stateNode=Z,Z._reactInternals=F,Aa(F,X,D,j),F=wa(null,F,X,!0,ee,j)):(F.tag=0,hn&&ee&&Gn(F),qn(null,F,Z,j),F=F.child),F;case 16:X=F.elementType;e:{switch(So(D,F),D=F.pendingProps,Z=X._init,X=Z(X._payload),F.type=X,Z=F.tag=Yl(X),D=_r(X,D),Z){case 0:F=ba(null,F,X,D,j);break e;case 1:F=yu(null,F,X,D,j);break e;case 11:F=pu(null,F,X,D,j);break e;case 14:F=gu(null,F,X,_r(X.type,D),j);break e}throw Error(g(306,X,""))}return F;case 0:return X=F.type,Z=F.pendingProps,Z=F.elementType===X?Z:_r(X,Z),ba(D,F,X,Z,j);case 1:return X=F.type,Z=F.pendingProps,Z=F.elementType===X?Z:_r(X,Z),yu(D,F,X,Z,j);case 3:e:{if(_u(F),D===null)throw Error(g(387));X=F.pendingProps,ee=F.memoizedState,Z=ee.element,Bs(D,F),yo(F,X,null,j);var de=F.memoizedState;if(X=de.element,ee.isDehydrated)if(ee={element:X,isDehydrated:!1,cache:de.cache,pendingSuspenseBoundaries:de.pendingSuspenseBoundaries,transitions:de.transitions},F.updateQueue.baseState=ee,F.memoizedState=ee,F.flags&256){Z=Di(Error(g(423)),F),F=Cu(D,F,X,j,Z);break e}else if(X!==Z){Z=Di(Error(g(424)),F),F=Cu(D,F,X,j,Z);break e}else for(sr=Ue(F.stateNode.containerInfo.firstChild),fr=F,hn=!0,wr=null,j=bl(F,null,X,j),F.child=j;j;)j.flags=j.flags&-3|4096,j=j.sibling;else{if(nt(),X===Z){F=jr(D,F,j);break e}qn(D,F,X,j)}F=F.child}return F;case 5:return Ls(F),D===null&&yr(F),X=F.type,Z=F.pendingProps,ee=D!==null?D.memoizedProps:null,de=Z.children,Vt(X,Z)?de=null:ee!==null&&Vt(X,ee)&&(F.flags|=32),Eu(D,F),qn(D,F,de,j),F.child;case 6:return D===null&&yr(F),null;case 13:return Au(D,F,j);case 4:return da(F,F.stateNode.containerInfo),X=F.pendingProps,D===null?F.child=ji(F,null,X,j):qn(D,F,X,j),F.child;case 11:return X=F.type,Z=F.pendingProps,Z=F.elementType===X?Z:_r(X,Z),pu(D,F,X,Z,j);case 7:return qn(D,F,F.pendingProps,j),F.child;case 8:return qn(D,F,F.pendingProps.children,j),F.child;case 12:return qn(D,F,F.pendingProps.children,j),F.child;case 10:e:{if(X=F.type._context,Z=F.pendingProps,ee=F.memoizedProps,de=Z.value,Pt(Zo,X._currentValue),X._currentValue=de,ee!==null)if(br(ee.value,de)){if(ee.children===Z.children&&!Wn.current){F=jr(D,F,j);break e}}else for(ee=F.child,ee!==null&&(ee.return=F);ee!==null;){var Ee=ee.dependencies;if(Ee!==null){de=ee.child;for(var Ce=Ee.firstContext;Ce!==null;){if(Ce.context===X){if(ee.tag===1){Ce=kr(-1,j&-j),Ce.tag=2;var Be=ee.updateQueue;if(Be!==null){Be=Be.shared;var Ve=Be.pending;Ve===null?Ce.next=Ce:(Ce.next=Ve.next,Ve.next=Ce),Be.pending=Ce}}ee.lanes|=j,Ce=ee.alternate,Ce!==null&&(Ce.lanes|=j),or(ee.return,j,F),Ee.lanes|=j;break}Ce=Ce.next}}else if(ee.tag===10)de=ee.type===F.type?null:ee.child;else if(ee.tag===18){if(de=ee.return,de===null)throw Error(g(341));de.lanes|=j,Ee=de.alternate,Ee!==null&&(Ee.lanes|=j),or(de,j,F),de=ee.sibling}else de=ee.child;if(de!==null)de.return=ee;else for(de=ee;de!==null;){if(de===F){de=null;break}if(ee=de.sibling,ee!==null){ee.return=de.return,de=ee;break}de=de.return}ee=de}qn(D,F,Z.children,j),F=F.child}return F;case 9:return Z=F.type,X=F.pendingProps.children,Ir(F,j),Z=kn(Z),X=X(Z),F.flags|=1,qn(D,F,X,j),F.child;case 14:return X=F.type,Z=_r(X,F.pendingProps),Z=_r(X.type,Z),gu(D,F,X,Z,j);case 15:return mu(D,F,F.type,F.pendingProps,j);case 17:return X=F.type,Z=F.pendingProps,Z=F.elementType===X?Z:_r(X,Z),So(D,F),F.tag=1,Ut(X)?(D=!0,_n(F)):D=!1,Ir(F,j),su(F,X,Z),Aa(F,X,Z,j),wa(null,F,X,!0,D,j);case 19:return Su(D,F,j);case 22:return vu(D,F,j)}throw Error(g(156,F.tag))},vr=function(D,F,j,X){return new zl(D,F,j,X)},Rl=typeof reportError=="function"?reportError:function(D){console.error(D)};No.prototype.render=Ua.prototype.render=function(D){var F=this._internalRoot;if(F===null)throw Error(g(409));Io(D,F,null,null)},No.prototype.unmount=Ua.prototype.unmount=function(){var D=this._internalRoot;if(D!==null){this._internalRoot=null;var F=D.containerInfo;fi(function(){Io(null,D,null,null)}),F[Kr]=null}},No.prototype.unstable_scheduleHydration=function(D){if(D){var F=ad();D={blockedOn:null,target:D,priority:F};for(var j=0;j<ii.length&&F!==0&&F<ii[j].priority;j++);ii.splice(j,0,D),j===0&&pn(D)}};var id=function(D){switch(D.tag){case 3:var F=D.stateNode;if(F.current.memoizedState.isDehydrated){var j=me(F.pendingLanes);j!==0&&(jt(F,j|1),ar(F,Fn()),!(Yt&6)&&($i(),Mn()))}break;case 13:fi(function(){var X=dr(D,1);if(X!==null){var Z=er();Ar(X,D,1,Z)}}),Ka(D,1)}},Il=function(D){if(D.tag===13){var F=dr(D,134217728);if(F!==null){var j=er();Ar(F,D,134217728,j)}Ka(D,134217728)}},od=function(D){if(D.tag===13){var F=Zr(D),j=dr(D,F);if(j!==null){var X=er();Ar(j,D,F,X)}Ka(D,F)}},ad=function(){return qt},sd=function(D,F){var j=qt;try{return qt=D,F()}finally{qt=j}};rs=function(D,F,j){switch(F){case"input":if(N(D,j),F=j.name,j.type==="radio"&&F!=null){for(j=D;j.parentNode;)j=j.parentNode;for(j=j.querySelectorAll("input[name="+JSON.stringify(""+F)+'][type="radio"]'),F=0;F<j.length;F++){var X=j[F];if(X!==D&&X.form===D.form){var Z=Zt(X);if(!Z)throw Error(g(90));y(X),N(X,Z)}}}break;case"textarea":W(D,j);break;case"select":F=j.value,F!=null&&U(D,!!j.multiple,F,!1)}},function(D,F,j){nl=D,rl=j}(Oa,function(D,F,j,X,Z){var ee=qt,de=tr.transition;try{return tr.transition=null,qt=1,D(F,j,X,Z)}finally{qt=ee,tr.transition=de,Yt===0&&$i()}},fi);var ud={usingClientEntryPoint:!1,Events:[Tt,$t,Zt,Q,J,Oa]};(function(D){if(D={bundleType:D.bundleType,version:D.version,rendererPackageName:D.rendererPackageName,rendererConfig:D.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Hr.ReactCurrentDispatcher,findHostInstanceByFiber:Ql,findFiberByHostInstance:D.findFiberByHostInstance||Zl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")D=!1;else{var F=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(F.isDisabled||!F.supportsFiber)D=!0;else{try{jo=F.inject(D),Pr=F}catch(j){}D=!!F.checkDCE}}return D})({findFiberByHostInstance:et,bundleType:0,version:"18.3.1-next-f1338f8080-20240426",rendererPackageName:"react-dom"}),x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ud,x.createPortal=function(D,F){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Va(F))throw Error(g(200));return Xl(D,F,null,j)},x.createRoot=function(D,F){if(!Va(D))throw Error(g(299));var j=!1,X="",Z=Rl;return F!=null&&(F.unstable_strictMode===!0&&(j=!0),F.identifierPrefix!==void 0&&(X=F.identifierPrefix),F.onRecoverableError!==void 0&&(Z=F.onRecoverableError)),F=Ha(D,1,!1,null,null,j,!1,X,Z),D[Kr]=F.current,We(D.nodeType===8?D.parentNode:D),new Ua(F)},x.findDOMNode=function(D){if(D==null)return null;if(D.nodeType===1)return D;var F=D._reactInternals;if(F===void 0)throw typeof D.render=="function"?Error(g(188)):(D=Object.keys(D).join(","),Error(g(268,D)));return D=se(F),D=D===null?null:D.stateNode,D},x.flushSync=function(D){return fi(D)},x.hydrate=function(D,F,j){if(!xo(F))throw Error(g(200));return Po(null,D,F,!0,j)},x.hydrateRoot=function(D,F,j){if(!Va(D))throw Error(g(405));var X=j!=null&&j.hydratedSources||null,Z=!1,ee="",de=Rl;if(j!=null&&(j.unstable_strictMode===!0&&(Z=!0),j.identifierPrefix!==void 0&&(ee=j.identifierPrefix),j.onRecoverableError!==void 0&&(de=j.onRecoverableError)),F=$u(F,null,D,1,j!=null?j:null,Z,!1,ee,de),D[Kr]=F.current,We(D),X)for(D=0;D<X.length;D++)j=X[D],Z=j._getVersion,Z=Z(j._source),F.mutableSourceEagerHydrationData==null?F.mutableSourceEagerHydrationData=[j,Z]:F.mutableSourceEagerHydrationData.push(j,Z);return new No(F)},x.render=function(D,F,j){if(!xo(F))throw Error(g(200));return Po(null,D,F,!1,j)},x.unmountComponentAtNode=function(D){if(!xo(D))throw Error(g(40));return D._reactRootContainer?(fi(function(){Po(null,null,D,!1,function(){D._reactRootContainer=null,D[Kr]=null})}),!0):!1},x.unstable_batchedUpdates=Oa,x.unstable_renderSubtreeIntoContainer=function(D,F,j,X){if(!xo(j))throw Error(g(200));if(D==null||D._reactInternals===void 0)throw Error(g(38));return Po(D,F,j,!1,X)},x.version="18.3.1-next-f1338f8080-20240426"},A,x),A.exports=w},38634:(A,x,a)=>{var T,w;/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/T=[x],w=a.dj.d(T,function(h){function C(ye){return ye===null||typeof ye!="object"?null:(ye=B&&ye[B]||ye["@@iterator"],typeof ye=="function"?ye:null)}function g(ye,Me,Ge){this.props=ye,this.context=Me,this.refs=H,this.updater=Ge||P}function _(){}function v(ye,Me,Ge){this.props=ye,this.context=Me,this.refs=H,this.updater=Ge||P}function f(ye,Me,Ge){var it,st={},wt=null,It=null;if(Me!=null)for(it in Me.ref!==void 0&&(It=Me.ref),Me.key!==void 0&&(wt=""+Me.key),Me)Q.call(Me,it)&&!q.hasOwnProperty(it)&&(st[it]=Me[it]);var _t=arguments.length-2;if(_t===1)st.children=Ge;else if(1<_t){for(var Dt=Array(_t),Jt=0;Jt<_t;Jt++)Dt[Jt]=arguments[Jt+2];st.children=Dt}if(ye&&ye.defaultProps)for(it in _t=ye.defaultProps,_t)st[it]===void 0&&(st[it]=_t[it]);return{$$typeof:R,type:ye,key:wt,ref:It,props:st,_owner:J.current}}function u(ye,Me){return{$$typeof:R,type:ye.type,key:Me,ref:ye.ref,props:ye.props,_owner:ye._owner}}function r(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===R}function d(ye){var Me={"=":"=0",":":"=2"};return"$"+ye.replace(/[=:]/g,function(Ge){return Me[Ge]})}function n(ye,Me){return typeof ye=="object"&&ye!==null&&ye.key!=null?d(""+ye.key):Me.toString(36)}function i(ye,Me,Ge,it,st){var wt=typeof ye;(wt==="undefined"||wt==="boolean")&&(ye=null);var It=!1;if(ye===null)It=!0;else switch(wt){case"string":case"number":It=!0;break;case"object":switch(ye.$$typeof){case R:case N:It=!0}}if(It)return It=ye,st=st(It),ye=it===""?"."+n(It,0):it,G(st)?(Ge="",ye!=null&&(Ge=ye.replace(oe,"$&/")+"/"),i(st,Me,Ge,"",function(Jt){return Jt})):st!=null&&(r(st)&&(st=u(st,Ge+(!st.key||It&&It.key===st.key?"":(""+st.key).replace(oe,"$&/")+"/")+ye)),Me.push(st)),1;if(It=0,it=it===""?".":it+":",G(ye))for(var _t=0;_t<ye.length;_t++){wt=ye[_t];var Dt=it+n(wt,_t);It+=i(wt,Me,Ge,Dt,st)}else if(Dt=C(ye),typeof Dt=="function")for(ye=Dt.call(ye),_t=0;!(wt=ye.next()).done;)wt=wt.value,Dt=it+n(wt,_t++),It+=i(wt,Me,Ge,Dt,st);else if(wt==="object")throw Me=String(ye),Error("Objects are not valid as a React child (found: "+(Me==="[object Object]"?"object with keys {"+Object.keys(ye).join(", ")+"}":Me)+"). If you meant to render a collection of children, use an array instead.");return It}function o(ye,Me,Ge){if(ye==null)return ye;var it=[],st=0;return i(ye,it,"","",function(wt){return Me.call(Ge,wt,st++)}),it}function c(ye){if(ye._status===-1){var Me=ye._result;Me=Me(),Me.then(function(Ge){(ye._status===0||ye._status===-1)&&(ye._status=1,ye._result=Ge)},function(Ge){(ye._status===0||ye._status===-1)&&(ye._status=2,ye._result=Ge)}),ye._status===-1&&(ye._status=0,ye._result=Me)}if(ye._status===1)return ye._result.default;throw ye._result}function e(ye,Me){var Ge=ye.length;ye.push(Me);e:for(;0<Ge;){var it=Ge-1>>>1,st=ye[it];if(0<l(st,Me))ye[it]=Me,ye[Ge]=st,Ge=it;else break e}}function t(ye){return ye.length===0?null:ye[0]}function s(ye){if(ye.length===0)return null;var Me=ye[0],Ge=ye.pop();if(Ge!==Me){ye[0]=Ge;e:for(var it=0,st=ye.length,wt=st>>>1;it<wt;){var It=2*(it+1)-1,_t=ye[It],Dt=It+1,Jt=ye[Dt];if(0>l(_t,Ge))Dt<st&&0>l(Jt,_t)?(ye[it]=Jt,ye[Dt]=Ge,it=Dt):(ye[it]=_t,ye[It]=Ge,it=It);else if(Dt<st&&0>l(Jt,Ge))ye[it]=Jt,ye[Dt]=Ge,it=Dt;else break e}}return Me}function l(ye,Me){var Ge=ye.sortIndex-Me.sortIndex;return Ge!==0?Ge:ye.id-Me.id}function p(ye){for(var Me=t(ge);Me!==null;){if(Me.callback===null)s(ge);else if(Me.startTime<=ye)s(ge),Me.sortIndex=Me.expirationTime,e(se,Me);else break;Me=t(ge)}}function E(ye){if(Oe=!1,p(ye),!Ie)if(t(se)!==null)Ie=!0,b(m);else{var Me=t(ge);Me!==null&&I(E,Me.startTime-ye)}}function m(ye,Me){Ie=!1,Oe&&(Oe=!1,dt(jt),jt=-1),De=!0;var Ge=me;try{for(p(Me),fe=t(se);fe!==null&&(!(fe.expirationTime>Me)||ye&&!y());){var it=fe.callback;if(typeof it=="function"){fe.callback=null,me=fe.priorityLevel;var st=it(fe.expirationTime<=Me);Me=te(),typeof st=="function"?fe.callback=st:fe===t(se)&&s(se),p(Me)}else s(se);fe=t(se)}if(fe!==null)var wt=!0;else{var It=t(ge);It!==null&&I(E,It.startTime-Me),wt=!1}return wt}finally{fe=null,me=Ge,De=!1}}function y(){return!(te()-En<Wt)}function b(ye){Rt=ye,kt||(kt=!0,nn())}function I(ye,Me){jt=je(function(){ye(te())},Me)}function S(ye){throw Error("act(...) is not supported in production builds of React.")}var R=Symbol.for("react.element"),N=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),$=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),K=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),B=Symbol.iterator,P={isMounted:function(ye){return!1},enqueueForceUpdate:function(ye,Me,Ge){},enqueueReplaceState:function(ye,Me,Ge,it){},enqueueSetState:function(ye,Me,Ge,it){}},k=Object.assign,H={};g.prototype.isReactComponent={},g.prototype.setState=function(ye,Me){if(typeof ye!="object"&&typeof ye!="function"&&ye!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ye,Me,"setState")},g.prototype.forceUpdate=function(ye){this.updater.enqueueForceUpdate(this,ye,"forceUpdate")},_.prototype=g.prototype;var Y=v.prototype=new _;Y.constructor=v,k(Y,g.prototype),Y.isPureReactComponent=!0;var G=Array.isArray,Q=Object.prototype.hasOwnProperty,J={current:null},q={key:!0,ref:!0,__self:!0,__source:!0},oe=/\/+/g,ie={current:null},pe={transition:null};if(typeof performance=="object"&&typeof performance.now=="function")var ce=performance,te=function(){return ce.now()};else{var ne=Date,re=ne.now();te=function(){return ne.now()-re}}var se=[],ge=[],he=1,fe=null,me=3,De=!1,Ie=!1,Oe=!1,je=typeof setTimeout=="function"?setTimeout:null,dt=typeof clearTimeout=="function"?clearTimeout:null,yt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var kt=!1,Rt=null,jt=-1,Wt=5,En=-1,sn=function(){if(Rt!==null){var ye=te();En=ye;var Me=!0;try{Me=Rt(!0,ye)}finally{Me?nn():(kt=!1,Rt=null)}}else kt=!1};if(typeof yt=="function")var nn=function(){yt(sn)};else if(typeof MessageChannel<"u"){Y=new MessageChannel;var pn=Y.port2;Y.port1.onmessage=sn,nn=function(){pn.postMessage(null)}}else nn=function(){je(sn,0)};Y={ReactCurrentDispatcher:ie,ReactCurrentOwner:J,ReactCurrentBatchConfig:pe,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(ye,Me){switch(ye){case 1:case 2:case 3:case 4:case 5:break;default:ye=3}var Ge=me;me=ye;try{return Me()}finally{me=Ge}},unstable_next:function(ye){switch(me){case 1:case 2:case 3:var Me=3;break;default:Me=me}var Ge=me;me=Me;try{return ye()}finally{me=Ge}},unstable_scheduleCallback:function(ye,Me,Ge){var it=te();switch(typeof Ge=="object"&&Ge!==null?(Ge=Ge.delay,Ge=typeof Ge=="number"&&0<Ge?it+Ge:it):Ge=it,ye){case 1:var st=-1;break;case 2:st=250;break;case 5:st=1073741823;break;case 4:st=1e4;break;default:st=5e3}return st=Ge+st,ye={id:he++,callback:Me,priorityLevel:ye,startTime:Ge,expirationTime:st,sortIndex:-1},Ge>it?(ye.sortIndex=Ge,e(ge,ye),t(se)===null&&ye===t(ge)&&(Oe?(dt(jt),jt=-1):Oe=!0,I(E,Ge-it))):(ye.sortIndex=st,e(se,ye),Ie||De||(Ie=!0,b(m))),ye},unstable_cancelCallback:function(ye){ye.callback=null},unstable_wrapCallback:function(ye){var Me=me;return function(){var Ge=me;me=Me;try{return ye.apply(this,arguments)}finally{me=Ge}}},unstable_getCurrentPriorityLevel:function(){return me},unstable_shouldYield:y,unstable_requestPaint:function(){},unstable_continueExecution:function(){Ie||De||(Ie=!0,b(m))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return t(se)},get unstable_now(){return te},unstable_forceFrameRate:function(ye){0>ye||125<ye?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Wt=0<ye?Math.floor(1e3/ye):5},unstable_Profiling:null}},x.Children={map:o,forEach:function(ye,Me,Ge){o(ye,function(){Me.apply(this,arguments)},Ge)},count:function(ye){var Me=0;return o(ye,function(){Me++}),Me},toArray:function(ye){return o(ye,function(Me){return Me})||[]},only:function(ye){if(!r(ye))throw Error("React.Children.only expected to receive a single React element child.");return ye}},x.Component=g,x.Fragment=O,x.Profiler=U,x.PureComponent=v,x.StrictMode=L,x.Suspense=V,x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,x.act=S,x.cloneElement=function(ye,Me,Ge){if(ye==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ye+".");var it=k({},ye.props),st=ye.key,wt=ye.ref,It=ye._owner;if(Me!=null){if(Me.ref!==void 0&&(wt=Me.ref,It=J.current),Me.key!==void 0&&(st=""+Me.key),ye.type&&ye.type.defaultProps)var _t=ye.type.defaultProps;for(Dt in Me)Q.call(Me,Dt)&&!q.hasOwnProperty(Dt)&&(it[Dt]=Me[Dt]===void 0&&_t!==void 0?_t[Dt]:Me[Dt])}var Dt=arguments.length-2;if(Dt===1)it.children=Ge;else if(1<Dt){_t=Array(Dt);for(var Jt=0;Jt<Dt;Jt++)_t[Jt]=arguments[Jt+2];it.children=_t}return{$$typeof:R,type:ye.type,key:st,ref:wt,props:it,_owner:It}},x.createContext=function(ye){return ye={$$typeof:$,_currentValue:ye,_currentValue2:ye,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},ye.Provider={$$typeof:z,_context:ye},ye.Consumer=ye},x.createElement=f,x.createFactory=function(ye){var Me=f.bind(null,ye);return Me.type=ye,Me},x.createRef=function(){return{current:null}},x.forwardRef=function(ye){return{$$typeof:W,render:ye}},x.isValidElement=r,x.lazy=function(ye){return{$$typeof:M,_payload:{_status:-1,_result:ye},_init:c}},x.memo=function(ye,Me){return{$$typeof:K,type:ye,compare:Me===void 0?null:Me}},x.startTransition=function(ye,Me){Me=pe.transition,pe.transition={};try{ye()}finally{pe.transition=Me}},x.unstable_act=S,x.useCallback=function(ye,Me){return ie.current.useCallback(ye,Me)},x.useContext=function(ye){return ie.current.useContext(ye)},x.useDebugValue=function(ye,Me){},x.useDeferredValue=function(ye){return ie.current.useDeferredValue(ye)},x.useEffect=function(ye,Me){return ie.current.useEffect(ye,Me)},x.useId=function(){return ie.current.useId()},x.useImperativeHandle=function(ye,Me,Ge){return ie.current.useImperativeHandle(ye,Me,Ge)},x.useInsertionEffect=function(ye,Me){return ie.current.useInsertionEffect(ye,Me)},x.useLayoutEffect=function(ye,Me){return ie.current.useLayoutEffect(ye,Me)},x.useMemo=function(ye,Me){return ie.current.useMemo(ye,Me)},x.useReducer=function(ye,Me,Ge){return ie.current.useReducer(ye,Me,Ge)},x.useRef=function(ye){return ie.current.useRef(ye)},x.useState=function(ye){return ie.current.useState(ye)},x.useSyncExternalStore=function(ye,Me,Ge){return ie.current.useSyncExternalStore(ye,Me,Ge)},x.useTransition=function(){return ie.current.useTransition()},x.version="18.3.1"},A,x),A.exports=w},24831:(A,x,a)=>{var T,w;T=[a(2812)],w=a.dj.d(T,function(h){var C={};return function(){for(var g,_=arguments,v=0;v<_.length;v++){var g=_[v];if(!C[g]){C[g]=!0;var f=g.match(/^(no-)?(.+?)((-[\d\.]+)(-[\d\.]+)?)?$/),u=h(f[2]),r=-f[4];(r>0?r<=u&&(-f[5]||r)>=u:!!u)==!f[1]&&(document.documentElement.className+=" has-"+g)}}}},A,x),A.exports=w},8806:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){var h=function(){this.modes={},this.mimeModes={},this.modeExtensions={},this.defineMIME("text/plain","null"),this.defineMode("null",function(){return{token:function(g){g.skipToEnd()}}})};return h.prototype.defineMIME=function(C,g){this.mimeModes[C]=g},h.prototype.defineMode=function(C,g){arguments.length>2&&(g.dependencies=Array.prototype.slice.call(arguments,2)),this.modes[C]=g},h.prototype.resolveMode=function(C){return typeof C=="string"&&this.mimeModes.hasOwnProperty(C)?C=this.mimeModes[C]:C&&typeof C.name=="string"&&this.mimeModes.hasOwnProperty(C.name)&&(C=this.mimeModes[C.name]),typeof C=="string"?{name:C}:C||{name:"null"}},h.prototype.getMode=function(C,g){g=this.resolveMode(g);var _=this.modes[g.name];if(!_)return this.getMode(C,"text/plain");var v=_(C,g);if(this.modeExtensions.hasOwnProperty(g.name)){var f=this.modeExtensions[g.name];for(var u in f)f.hasOwnProperty(u)&&(v.hasOwnProperty(u)&&(v["_"+u]=v[u]),v[u]=f[u])}if(v.name=g.name,g.helperType&&(v.helperType=g.helperType),g.modeProps)for(var r in g.modeProps)v[r]=g.modeProps[r];return v},h.prototype.extendMode=function(C,g){var _=this.modeExtensions.hasOwnProperty(C)?this.modeExtensions[C]:this.modeExtensions[C]={};copyObj(g,_)},h.prototype.startState=function(C,g,_){return C.startState?C.startState(g,_):!0},h.prototype.splitLines=function(C){return C.split(/\r?\n|\r|\n/)},h.prototype.copyState=function(C,g){if(g===!0)return g;if(C.copyState)return C.copyState(g);var _={};for(var v in g){var f=g[v];f instanceof Array&&(f=f.concat([])),_[v]=f}return _},h.prototype.innerMode=function(C,g){let _;for(;C.innerMode&&(_=C.innerMode(g),!(!_||_.mode==C));)g=_.state,C=_.mode;return _||{mode:C,state:g}},h.prototype.registerGlobalHelper=Math.min,h.prototype.registerHelper=Math.min,h},A,x),A.exports=w},49537:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){var h=function(g,_,v){this.pos=this.start=0,this.string=g,this.tabSize=_||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=v};return h.prototype.eol=function(){return this.pos>=this.string.length},h.prototype.sol=function(){return this.pos===this.lineStart},h.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},h.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},h.prototype.eat=function(C){let g=this.string.charAt(this.pos),_;if(typeof C=="string"?_=g==C:_=g&&(C.test?C.test(g):C(g)),_)return++this.pos,g},h.prototype.eatWhile=function(C){let g=this.pos;for(;this.eat(C););return this.pos>g},h.prototype.eatSpace=function(){let C=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>C},h.prototype.skipToEnd=function(){this.pos=this.string.length},h.prototype.skipTo=function(C){let g=this.string.indexOf(C,this.pos);if(g>-1)return this.pos=g,!0},h.prototype.backUp=function(C){this.pos-=C},h.prototype.countColumn=function(C,g,_,v,f){g==null&&(g=C.search(/[^\s\u00a0]/),g==-1&&(g=C.length));for(let u=v||0,r=f||0;;){let d=C.indexOf(" ",u);if(d<0||d>=g)return r+(g-u);r+=d-u,r+=_-r%_,u=d+1}},h.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=this.countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},h.prototype.indentation=function(){return this.countColumn(this.string,null,this.tabSize)-(this.lineStart?this.countColumn(this.string,this.lineStart,this.tabSize):0)},h.prototype.match=function(C,g,_){if(typeof C=="string"){let v=u=>_?u.toLowerCase():u,f=this.string.substr(this.pos,C.length);if(v(f)==v(C))return g!==!1&&(this.pos+=C.length),!0}else{let v=this.string.slice(this.pos).match(C);return v&&v.index>0?null:(v&&g!==!1&&(this.pos+=v[0].length),v)}},h.prototype.current=function(){return this.string.slice(this.start,this.pos)},h.prototype.hideFirstChars=function(C,g){this.lineStart+=C;try{return g()}finally{this.lineStart-=C}},h.prototype.lookAhead=function(C){let g=this.lineOracle;return g&&g.lookAhead(C)},h.prototype.baseToken=function(){let C=this.lineOracle;return C&&C.baseToken(this.pos)},h},A,x),A.exports=w},43840:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";function h(u,r,d,n,i,o){this.indented=u,this.column=r,this.type=d,this.info=n,this.align=i,this.prev=o}function C(u,r,d,n){var i=u.indented;return u.context&&u.context.type=="statement"&&d!="statement"&&(i=u.context.indented),u.context=new h(i,r,d,n,null,u.context)}function g(u){var r=u.context.type;return(r==")"||r=="]"||r=="}")&&(u.indented=u.context.indented),u.context=u.context.prev}function _(u,r,d){if(r.prevToken=="variable"||r.prevToken=="variable-3"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(u.string.slice(0,d))||r.typeAtEndOfLine&&u.column()==u.indentation())return!0}function v(u){for(;;){if(!u||u.type=="top")return!0;if(u.type=="}"&&u.prev.info!="namespace")return!1;u=u.prev}}var f=function(r){r.defineMode("clike",function(b,I){var S=b.indentUnit,R=I.statementIndentUnit||S,N=I.dontAlignCalls,O=I.keywords||{},L=I.types||{},U=I.builtin||{},z=I.blockKeywords||{},$=I.defKeywords||{},W=I.atoms||{},V=I.hooks||{},K=I.multiLineStrings,M=I.indentStatements!==!1,B=I.indentSwitch!==!1,P=I.namespaceSeparator,k=I.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,H=I.numberStart||/[\d\.]/,Y=I.numberTokenizer||ne,G=I.isOperatorChar||/[+\-*&%=<>!?|\/\^~]/,Q=I.validOperators||/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|\*+|\/|%|~|&+|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|->|\?|:)$/,J=I.isIdentifierChar||/[\w\$_\xa1-\uffff]/,q,oe;function ie(se,ge){var he=se.next();if(V[he]){var fe=V[he](se,ge);if(fe!==!1)return fe}if(he=='"'||he=="'")return ge.tokenize=pe(he),ge.tokenize(se,ge);if(k.test(he))return q=he,null;if(H.test(he))return se.backUp(1),Y(se,ge);if(he=="/"){if(se.eat("*"))return ge.tokenize=ce,ce(se,ge);if(se.eat("/"))return se.skipToEnd(),"comment"}if(G.test(he))return se.backUp(1),te(se,ge);if(se.eatWhile(J),P)for(;se.match(P);)se.eatWhile(J);var me=se.current();return n(O,me)?(n(z,me)&&(q="newstatement"),n($,me)&&(oe=!0),"keyword"):n(L,me)?"variable-3":n(U,me)?(n(z,me)&&(q="newstatement"),"builtin"):n(W,me)?"atom":J.test(he)?"variable":(se.backUp(me.length-1),"invalid_character")}function pe(se){return function(ge,he){for(var fe=!1,me,De=!1;(me=ge.next())!=null;){if(me==se&&!fe){De=!0;break}fe=!fe&&me=="\\"}return(De||!(fe||K))&&(he.tokenize=null),se=='"'?"string":"string-2"}}function ce(se,ge){for(var he=!1,fe;fe=se.next();){if(fe=="/"&&he){ge.tokenize=null;break}he=fe=="*"}return"comment"}function te(se,ge){for(var he="";!se.match(/^\/[\/*]/,!1)&&se.match(G,!1);)he+=se.next();return Q.test(he)?"operator":"invalid_operator"}function ne(se,ge){var he=se.next();if(he==="0")if(se.eat(/x/i)){var fe=se.match(/^(?:(?:(?:(?:[0-9a-f]+\.?[0-9a-f]*)|(?:[0-9a-f]*\.?[0-9a-f]+))p[+\-]?[0-9]+[fl]?)|(?:[0-9a-f]+(?:u|l|ll)?))/i);if(!fe)return"incomplete_hex_number"}else if(se.eat(/b/i)){var me=se.match(/^[01]+(?:u|l|ll)?/i);if(!me)return"incomplete_bin_number"}else se.backUp(1),se.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[0-7]*(?:u|l|ll)?))/i);else se.backUp(1),se.match(/^(?:(?:(?:(?:[0-9]+\.?[0-9]*)|(?:[0-9]*\.?[0-9]+))(?:e[+\-]?[0-9]+)?[fl]?)|(?:[1-9][0-9]*(?:u|l|ll)?))/i);var De=se.peek();return De&&/\w|\./i.test(De)?(se.match(/^(?:\w|\.)*/),"invalid_number"):"number"}function re(se,ge){I.typeFirstDefinitions&&se.eol()&&v(ge.context)&&(ge.typeAtEndOfLine=_(se,ge,se.pos))}return{startState:function(se){return{tokenize:null,context:new h((se||0)-S,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(se,ge){var he=ge.context;if(se.sol()&&(he.align==null&&(he.align=!1),ge.indented=se.indentation(),ge.startOfLine=!0),se.eatSpace())return re(se,ge),null;q=oe=null;var fe=(ge.tokenize||ie)(se,ge);if(fe=="comment"||fe=="meta")return fe;if(he.align==null&&(he.align=!0),q==":"&&(ge.currentSwitchIndentAmount=ge.indented+S),q==";"&&(ge.currentSwitchIndentAmount=ge.indented),q==";"||q==":"||q==","&&se.match(/^\s*(?:\/\/.*)?$/,!1))for(;ge.context.type=="statement";)g(ge);else if(q=="{")C(ge,se.column(),"}");else if(q=="[")C(ge,se.column(),"]");else if(q=="(")C(ge,se.column(),")");else if(q=="}"){for(;he.type=="statement";)he=g(ge);for(he.type=="}"&&(he=g(ge));he.type=="statement";)he=g(ge)}else q==he.type?g(ge):M&&((he.type=="}"||he.type=="top")&&q!=";"||he.type=="statement"&&q=="newstatement")&&C(ge,se.column(),"statement",se.current());if(fe=="variable"&&(ge.prevToken=="def"||I.typeFirstDefinitions&&_(se,ge,se.start)&&v(ge.context)&&se.match(/^\s*\(/,!1))&&(fe="def"),V.token){var me=V.token(se,ge,fe);me!==void 0&&(fe=me)}return fe=="def"&&I.styleDefs===!1&&(fe="variable"),ge.startOfLine=!1,ge.prevToken=oe?"def":fe||q,re(se,ge),fe},indent:function(se,ge){if(se.tokenize!=ie&&se.tokenize!=null||se.typeAtEndOfLine)return r.Pass;var he=se.context,fe=ge&&ge.charAt(0);if(he.type=="statement"&&fe=="}"&&(he=he.prev),I.dontIndentStatements)for(;he.type=="statement"&&I.dontIndentStatements.test(he.info);)he=he.prev;if(V.indent){var me=V.indent(se,he,ge);if(typeof me=="number")return me}var De=fe==he.type,Ie=he.prev&&he.prev.info=="switch";if(I.allmanIndentation&&/[{(]/.test(fe)){for(;he.type!="top"&&he.type!="}";)he=he.prev;return he.indented}return he.type=="statement"?he.indented+(fe=="{"?0:R):he.align&&(!N||he.type!=")")?he.column+(De?0:1):he.type==")"&&!De?he.indented+R:/^(?:case|default)\b/.test(ge)&&Ie?he.prev.indented+S:Ie&&fe!=="}"?se.currentSwitchIndentAmount:he.indented+(De?0:S)},electricInput:B?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function d(b){for(var I={},S=b.split(" "),R=0;R<S.length;++R)I[S[R]]=!0;return I}function n(b,I){return typeof b=="function"?b(I):b.propertyIsEnumerable(I)}var i="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",o="int long char short double float unsigned signed void size_t ptrdiff_t";function c(b,I){if(!I.startOfLine)return!1;for(var S,R=null;S=b.peek();){if(S=="\\"&&b.match(/^.$/)){R=c;break}else if(S=="/"&&b.match(/^\/[\/\*]/,!1))break;b.next()}return I.tokenize=R,"meta"}function e(b,I){return I.prevToken=="variable-3"?"variable-3":b.eat("/")?"invalid_comment_end":!1}function t(b,I){return b.eol()?null:"invalid_backslash"}function s(b,I){if(b.backUp(1),b.match(/(R|u8R|uR|UR|LR)/)){var S=b.match(/"([^\s\\()]{0,16})\(/);return S?(I.cpp11RawStringDelim=S[1],I.tokenize=E,E(b,I)):!1}return b.match(/(u8|u|U|L)/)?b.match(/["']/,!1)?"string":!1:(b.next(),!1)}function l(b){var I=/(\w+)::~?(\w+)$/.exec(b);return I&&I[1]==I[2]}function p(b,I){for(var S;(S=b.next())!=null;)if(S=='"'&&!b.eat('"')){I.tokenize=null;break}return"string"}function E(b,I){var S=I.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&"),R=b.match(new RegExp(".*?\\)"+S+'"'));return R?I.tokenize=null:b.skipToEnd(),"string"}function m(b,I){typeof b=="string"&&(b=[b]);var S=[];function R(O){if(O)for(var L in O)O.hasOwnProperty(L)&&S.push(L)}R(I.keywords),R(I.types),R(I.builtin),R(I.atoms),S.length&&(I.helperType=b[0],r.registerHelper("hintWords",b[0],S));for(var N=0;N<b.length;++N)r.defineMIME(b[N],I)}m(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:d(i),types:d(o+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:d("case do else for if switch while struct"),defKeywords:d("struct"),typeFirstDefinitions:!0,atoms:d("null true false"),hooks:{"#":c,"*":e,"\\":t},modeProps:{fold:["brace","include"]}});var y=" and and_eq atomic_cancel atomic_commit atomic_noexcept bitand bitor char16_t char32_t compl concept export import module not not_eq or or_eq requires synchronized xor xor_eq";m(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:d(i+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"+y),types:d(o+" bool wchar_t"),blockKeywords:d("catch class do else finally for if struct switch try while"),defKeywords:d("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:d("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":c,"*":e,"\\":t,u:s,U:s,L:s,R:s,token:function(b,I,S){if(S=="variable"&&b.peek()=="("&&(I.prevToken==";"||I.prevToken==null||I.prevToken=="}")&&l(b.current()))return"def"}},numberTokenizer:function(b,I){var S=b.next();if(S==="0")if(b.eat(/x/i)){var R=b.match(/^(?:(?:(?:(?:[0-9a-f']+\.?[0-9a-f']*)|(?:[0-9a-f']*\.?[0-9a-f']+))p[+\-]?[0-9']+(?:ul{0,2}|l{0,2}u?)?)|(?:[0-9a-f']+l?))/i);if(!R)return"incomplete_hex_number"}else if(b.eat(/b/i)){var N=b.match(/^[01']+l?/i);if(!N)return"incomplete_bin_number"}else b.backUp(1),b.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[0-7']*l?))/i);else b.backUp(1),b.match(/^(?:(?:(?:(?:[0-9']+\.?[0-9']*)|(?:[0-9']*\.?[0-9']+))(?:e[+\-]?[0-9']+)?(?:ul{0,2}|l{0,2}u?)?)|(?:[1-9'][0-9']*l?))/i);var O=b.peek();return O&&/\w|\./i.test(O)?(b.match(/^(?:\w|\.)*/),"invalid_number"):"number"},namespaceSeparator:"::",modeProps:{fold:["brace","include"]},validOperators:/^(?:=|\+=|-=|\*=|\/=|%=|&=|\|=|\^=|<<=|>>=|\+\+|--|\+|-|>*\*+>*|\/|%|~|>*&+>*|\||\^|<<|>>|!+|\|\||==|!=|<|>|<=|>=|<=>|->\**|\?|:)$/}),m("text/x-java",{name:"clike",keywords:d("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:d("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:d("catch class do else finally for if switch try while"),defKeywords:d("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:d("true false null"),numberTokenizer:function(b,I){var S=b.next();if(S==="0")if(b.eat(/x/i)){var R=b.match(/^(?:(?:(?:(?:[0-9a-f_]+\.?[0-9a-f_]*)|(?:[0-9a-f_]*\.?[0-9a-f_]+))p[+\-]?[0-9_]+[fd]?)|(?:[0-9a-f_]+l?))/i);if(!R)return"incomplete_hex_number"}else if(b.eat(/b/i)){var N=b.match(/^[01_]+l?/i);if(!N)return"incomplete_bin_number"}else b.backUp(1),b.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[0-7_]*l?))/i);else b.backUp(1),b.match(/^(?:(?:(?:(?:[0-9_]+\.?[0-9_]*)|(?:[0-9_]*\.?[0-9_]+))(?:e[+\-]?[0-9_]+)?[fd]?)|(?:[1-9_][0-9_]*l?))/i);var O=b.peek();return O&&/\w|\./i.test(O)?(b.match(/^(?:\w|\.)*/),"invalid_number"):"number"},hooks:{"@":function(b){return b.match("interface",!1)?!1:(b.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]},validOperators:/^(?:=|>|<|!+|~|<*\?>*|:|->|==|>=|<=|!=|&&|\|\||\+\+|--|\+|-|\*|\/|&|\||\^|%|<<|>>|>>>|\+=|-=|\*=|\/=|&=|\|=|\^=|%=|<<=|>>=|>>>=)$/}),m("text/x-csharp",{name:"clike",keywords:d("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:d("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:d("catch class do else finally for foreach if struct switch try while"),defKeywords:d("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:d("true false null"),hooks:{"@":function(b,I){return b.eat('"')?(I.tokenize=p,p(b,I)):(b.eatWhile(/[\w\$_]/),"meta")}}})};return f},A,x),A.exports=w},26228:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=function(g){g.defineMode("verilog",function(e,t){var s=e.indentUnit,l=t.statementIndentUnit||s,p=t.dontAlignCalls,E=t.noIndentKeywords||[],m=t.multiLineStrings,y=t.hooks||{};function b(te){for(var ne={},re=te.split(" "),se=0;se<re.length;++se)ne[re[se]]=!0;return ne}var I=b("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),S=/[\+\-\*\/!~&|^%=?:<>]/,R=/[\[\]{}()]/,N=/\d[0-9_]*/,O=/\d*\s*'s?d\s*\d[0-9_]*/i,L=/\d*\s*'s?b\s*[xz01][xz01_]*/i,U=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,z=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,$=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,W=/^((\w+)|[)}\]])/,V=/[)}\]]/,K,M,B=b("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),P={};for(var k in B)P[k]="end"+k;P.begin="end",P.casex="endcase",P.casez="endcase",P.do="while",P.fork="join;join_any;join_none",P.covergroup="endgroup";for(var H in E){var k=E[H];P[k]&&(P[k]=void 0)}var Y=b("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");function G(te,ne){var re=te.peek(),se;if(y[re]&&(se=y[re](te,ne))!=!1||y.tokenBase&&(se=y.tokenBase(te,ne))!=!1)return se;if(/[,;:\.]/.test(re))return K=te.next(),null;if(R.test(re))return K=te.next(),"bracket";if(re=="`")return te.next(),te.eatWhile(/[\w\$_]/)?"def":null;if(re=="$")return te.next(),te.eatWhile(/[\w\$_]/)?"meta":null;if(re=="#")return te.next(),te.eatWhile(/[\d_.]/),"def";if(re=='"')return te.next(),ne.tokenize=Q(re),ne.tokenize(te,ne);if(re=="/"){if(te.next(),te.eat("*"))return ne.tokenize=J,J(te,ne);if(te.eat("/"))return te.skipToEnd(),"comment";te.backUp(1)}if(te.match($)||te.match(O)||te.match(L)||te.match(U)||te.match(z)||te.match(N)||te.match($))return"number";if(te.eatWhile(S))return"meta";if(te.eatWhile(/[\w\$_]/)){var ge=te.current();return I[ge]?(P[ge]&&(K="newblock"),Y[ge]&&(K="newstatement"),M=ge,"keyword"):"variable"}return te.next(),null}function Q(te){return function(ne,re){for(var se=!1,ge,he=!1;(ge=ne.next())!=null;){if(ge==te&&!se){he=!0;break}se=!se&&ge=="\\"}return(he||!(se||m))&&(re.tokenize=G),"string"}}function J(te,ne){for(var re=!1,se;se=te.next();){if(se=="/"&&re){ne.tokenize=G;break}re=se=="*"}return"comment"}function q(te,ne,re,se,ge){this.indented=te,this.column=ne,this.type=re,this.align=se,this.prev=ge}function oe(te,ne,re){var se=te.indented,ge=new q(se,ne,re,null,te.context);return te.context=ge}function ie(te){var ne=te.context.type;return(ne==")"||ne=="]"||ne=="}")&&(te.indented=te.context.indented),te.context=te.context.prev}function pe(te,ne){if(te==ne)return!0;var re=ne.split(";");for(var se in re)if(te==re[se])return!0;return!1}function ce(){var te=[];for(var ne in P)if(P[ne]){var re=P[ne].split(";");for(var se in re)te.push(re[se])}var ge=new RegExp("[{}()\\[\\]]|("+te.join("|")+")$");return ge}return{electricInput:ce(),startState:function(te){var ne={tokenize:null,context:new q((te||0)-s,0,"top",!1),indented:0,startOfLine:!0};return y.startState&&y.startState(ne),ne},token:function(te,ne){var re=ne.context;if(te.sol()&&(re.align==null&&(re.align=!1),ne.indented=te.indentation(),ne.startOfLine=!0),y.token){var se=y.token(te,ne);if(se!==void 0)return se}if(te.eatSpace())return null;K=null,M=null;var se=(ne.tokenize||G)(te,ne);if(se=="comment"||se=="meta"||se=="variable")return se;if(re.align==null&&(re.align=!0),K==re.type)ie(ne);else if(K==";"&&re.type=="statement"||re.type&&pe(M,re.type))for(re=ie(ne);re&&re.type=="statement";)re=ie(ne);else if(K=="{")oe(ne,te.column(),"}");else if(K=="[")oe(ne,te.column(),"]");else if(K=="(")oe(ne,te.column(),")");else if(re&&re.type=="endcase"&&K==":")oe(ne,te.column(),"statement");else if(K=="newstatement")oe(ne,te.column(),"statement");else if(K=="newblock"&&!(M=="function"&&re&&(re.type=="statement"||re.type=="endgroup"))){if(!(M=="task"&&re&&re.type=="statement")){var ge=P[M];oe(ne,te.column(),ge)}}return ne.startOfLine=!1,se},indent:function(te,ne){if(te.tokenize!=G&&te.tokenize!=null)return g.Pass;if(y.indent){var re=y.indent(te);if(re>=0)return re}var se=te.context,ge=ne&&ne.charAt(0);se.type=="statement"&&ge=="}"&&(se=se.prev);var he=!1,fe=ne.match(W);return fe&&(he=pe(fe[0],se.type)),se.type=="statement"?se.indented+(ge=="{"?0:l):V.test(se.type)&&se.align&&!p?se.column+(he?0:1):se.type==")"&&!he?se.indented+l:se.indented+(he?0:s)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),g.defineMIME("text/x-verilog",{name:"verilog"}),g.defineMIME("text/x-systemverilog",{name:"verilog"});var _={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},v={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},f=3,u=!1,r=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,d=/^[! ] /,n=/^[! ] */,i=/^\/[\/\*]/;function o(e,t,s){var l=t/f;return"tlv-"+e.tlvIndentationStyle[l]+"-"+s}function c(e){var t;return(t=e.match(r,!1))&&t[2].length>0}g.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(e,t){var s=void 0,l;if(e.sol()&&!t.tlvInBlockComment){e.peek()=="\\"&&(s="def",e.skipToEnd(),e.string.match(/\\SV/)?t.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(t.tlvCodeActive=!0)),t.tlvCodeActive&&e.pos==0&&t.indented==0&&(l=e.match(n,!1))&&(t.indented=l[0].length);var p=t.indented,E=p/f;if(E<=t.tlvIndentationStyle.length){var m=e.string.length==p,y=E*f;if(y<e.string.length){var b=e.string.slice(y),I=b[0];v[I]&&(l=b.match(r))&&_[l[1]]&&(p+=f,I=="\\"&&y>0||(t.tlvIndentationStyle[E]=v[I],u&&(t.statementComment=!1),E++))}if(!m)for(;t.tlvIndentationStyle.length>E;)t.tlvIndentationStyle.pop()}t.tlvNextIndent=p}if(t.tlvCodeActive){var S=!1;u&&(S=e.peek()!=" "&&s===void 0&&!t.tlvInBlockComment&&e.column()==t.tlvIndentationStyle.length*f,S&&(t.statementComment&&(S=!1),t.statementComment=e.match(i,!1)));var l;if(s!==void 0)s+=" "+o(t,0,"scope-ident");else if(e.pos/f<t.tlvIndentationStyle.length&&(l=e.match(e.sol()?d:/^ /)))s="tlv-indent-"+(e.pos%2==0?"even":"odd")+" "+o(t,e.pos-f,"indent"),l[0].charAt(0)=="!"&&(s+=" tlv-alert-line-prefix"),c(e)&&(s+=" "+o(t,e.pos,"before-scope-ident"));else if(t.tlvInBlockComment)e.match(/^.*?\*\//)?(t.tlvInBlockComment=!1,u&&!e.eol()&&(t.statementComment=!1)):e.skipToEnd(),s="comment";else if((l=e.match(i))&&!t.tlvInBlockComment)l[0]=="//"?e.skipToEnd():t.tlvInBlockComment=!0,s="comment";else if(l=e.match(r)){var R=l[1],N=l[2];_.hasOwnProperty(R)&&(N.length>0||e.eol())?(s=_[R],e.column()==t.indented&&(s+=" "+o(t,e.column(),"scope-ident"))):(e.backUp(e.current().length-1),s="tlv-default")}else e.match(/^\t+/)?s="tlv-tab":e.match(/^[\[\]{}\(\);\:]+/)?s="meta":(l=e.match(/^[mM]4([\+_])?[\w\d_]*/))?s=l[1]=="+"?"tlv-m4-plus":"tlv-m4":e.match(/^ +/)?e.eol()?s="error":s="tlv-default":e.match(/^[\w\d_]+/)?s="number":(e.next(),s="tlv-default");S&&(s+=" tlv-statement")}else e.match(/^[mM]4([\w\d_]*)/)&&(s="tlv-m4");return s},indent:function(e){return e.tlvCodeActive==!0?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1,u&&(e.statementComment=!1)}}})};return h},A,x),A.exports=w},40822:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";function h(_){for(var v={},f=_.split(","),u=0;u<f.length;++u){var r=f[u].toUpperCase(),d=f[u].charAt(0).toUpperCase()+f[u].slice(1);v[f[u]]=!0,v[r]=!0,v[d]=!0}return v}function C(_){return _.eatWhile(/[\w\$_]/),"meta"}var g=function(v){v.defineMode("vhdl",function(f,u){var r=f.indentUnit,d=u.atoms||h("null"),n=u.hooks||{"`":C,$:C},i=u.multiLineStrings,o=h("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),c=h("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),e=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/,t,s=!1;function l(S,R){var N=S.next();if(n[N]){var O=n[N](S,R);if(O!==!1)return O}if(s)return s=!1,S.eatWhile(/[\w_]/),"keyword";if(N=='"')return R.tokenize=m(N),R.tokenize(S,R);if(N=="'")return R.tokenize=E(N),R.tokenize(S,R);if(/[\[\]{}\(\),;\:\.]/.test(N))return N==":"&&S.peek()=="="?(S.eatWhile(e),"operator"):(t=N,null);if(/[\d']/.test(N))return S.eatWhile(/[\w\.']/),"number";if(N=="-"&&S.eat("-"))return S.skipToEnd(),"comment";if(e.test(N))return S.eatWhile(e),"operator";S.eatWhile(/[\w\$_]/);var L=S.current();return o.propertyIsEnumerable(L.toLowerCase())?(c.propertyIsEnumerable(L)&&(t="newstatement"),"keyword"):d.propertyIsEnumerable(L)?"atom":(p(S.peek()),"variable")}function p(S){S=="'"&&(s=!0)}function E(S){return function(R,N){for(var O=!1,L,U=!1;(L=R.next())!=null;){if(L==S&&!O){U=!0;break}O=!O&&L=="--"}return(U||!(O||i))&&(N.tokenize=l),"string"}}function m(S){return function(R,N){for(var O=!1,L,U=!1;(L=R.next())!=null;){if(L==S&&!O){U=!0;break}O=!O&&L=="--"}return(U||!(O||i))&&(N.tokenize=l),"string-2"}}function y(S,R,N,O,L){this.indented=S,this.column=R,this.type=N,this.align=O,this.prev=L}function b(S,R,N){return S.context=new y(S.indented,R,N,null,S.context)}function I(S){var R=S.context.type;return(R==")"||R=="]"||R=="}")&&(S.indented=S.context.indented),S.context=S.context.prev}return{startState:function(S){return{tokenize:null,context:new y((S||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(S,R){var N=R.context;if(S.sol()&&(N.align==null&&(N.align=!1),R.indented=S.indentation(),R.startOfLine=!0),S.eatSpace())return null;t=null;var O=(R.tokenize||l)(S,R);if(O=="comment"||O=="meta")return O;if(N.align==null&&(N.align=!0),(t==";"||t==":")&&N.type=="statement")I(R);else if(t=="{")b(R,S.column(),"}");else if(t=="[")b(R,S.column(),"]");else if(t=="(")b(R,S.column(),")");else if(t=="}"){for(;N.type=="statement";)N=I(R);for(N.type=="}"&&(N=I(R));N.type=="statement";)N=I(R)}else t==N.type?I(R):(N.type=="}"||N.type=="top"||N.type=="statement"&&t=="newstatement")&&b(R,S.column(),"statement");return R.startOfLine=!1,O},indent:function(S,R){if(S.tokenize!=l&&S.tokenize!=null)return 0;var N=R&&R.charAt(0),O=S.context,L=N==O.type;return O.type=="statement"?O.indented+(N=="{"?0:r):O.align?O.column+(L?0:1):O.indented+(L?0:r)},electricChars:"{}"}}),v.defineMIME("text/x-vhdl","vhdl")};return g},A,x),A.exports=w},82959:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},C={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1},g=function(v){v.defineMode("xml",function(f,u){var r=f.indentUnit,d={},n=u.htmlMode?h:C;for(var i in n)d[i]=n[i];for(var i in u)d[i]=u[i];var o,c;function e($,W){function V(B){return W.tokenize=B,B($,W)}var K=$.next();if(K=="<")return $.eat("!")?$.eat("[")?$.match("CDATA[")?V(l("xml atom","]]>")):null:$.match("--")?V(l("xml comment","-->")):$.match("DOCTYPE",!0,!0)?($.eatWhile(/[\w\._\-]/),V(p(1))):null:$.eat("?")?($.eatWhile(/[\w\._\-]/),W.tokenize=l("xml meta","?>"),"xml meta"):(o=$.eat("/")?"closeTag":"openTag",W.tokenize=t,"xml tag bracket");if(K=="&"){var M;return $.eat("#")?$.eat("x")?M=$.eatWhile(/[a-fA-F\d]/)&&$.eat(";"):M=$.eatWhile(/[\d]/)&&$.eat(";"):M=$.eatWhile(/[\w\.\-:]/)&&$.eat(";"),M?"xml character":"xml error"}else return $.eatWhile(/[^&<]/),null}e.isInText=!0;function t($,W){var V=$.next();if(V==">"||V=="/"&&$.eat(">"))return W.tokenize=e,o=V==">"?"endTag":"selfcloseTag","xml tag bracket";if(V=="=")return o="equals","xml operator";if(V=="<"){W.tokenize=e,W.state=b,W.tagName=W.tagStart=null;var K=W.tokenize($,W);return"xml error"}else return/[\'\"]/.test(V)?(W.tokenize=s(V),W.stringStartCol=$.column(),W.tokenize($,W)):($.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function s($){var W=function(V,K){for(;!V.eol();)if(V.next()==$){K.tokenize=t;break}return"xml string"};return W.isInAttribute=!0,W}function l($,W){return function(V,K){for(;!V.eol();){if(V.match(W)){K.tokenize=e;break}V.next()}return $}}function p($){return function(W,V){for(var K;(K=W.next())!=null;){if(K=="<")return V.tokenize=p($+1),V.tokenize(W,V);if(K==">")if($==1){V.tokenize=e;break}else return V.tokenize=p($-1),V.tokenize(W,V)}return"xml doctype"}}function E($,W,V){this.prev=$.context,this.tagName=W,this.indent=$.indented,this.startOfLine=V,(d.doNotIndent.hasOwnProperty(W)||$.context&&$.context.noIndent)&&(this.noIndent=!0)}function m($){$.context&&($.context=$.context.prev)}function y($,W){for(var V;;){if(!$.context||(V=$.context.tagName,!d.contextGrabbers.hasOwnProperty(V)||!d.contextGrabbers[V].hasOwnProperty(W)))return;m($)}}function b($,W,V){return $=="openTag"?(V.tagStart=W.column(),I):$=="closeTag"?S:b}function I($,W,V){return $=="word"?(V.tagName=W.current(),c="xml tag",O):d.allowMissingTagName&&$=="endTag"?(c="xml tag bracket",O($,W,V)):(c="xml error",I)}function S($,W,V){if($=="word"){var K=W.current();return V.context&&V.context.tagName!=K&&d.implicitlyClosed.hasOwnProperty(V.context.tagName)&&m(V),V.context&&V.context.tagName==K||d.matchClosing===!1?(c="xml tag",R):(c="xml error",N)}else return d.allowMissingTagName&&$=="endTag"?(c="xml tag bracket",R($,W,V)):(c="xml error",N)}function R($,W,V){return $!="endTag"?(c="xml error",R):(m(V),b)}function N($,W,V){return c="xml error",R($,W,V)}function O($,W,V){if($=="word")return c="xml attribute",L;if($=="endTag"||$=="selfcloseTag"){var K=V.tagName,M=V.tagStart;return V.tagName=V.tagStart=null,$=="selfcloseTag"||d.autoSelfClosers.hasOwnProperty(K)?y(V,K):(y(V,K),V.context=new E(V,K,M==V.indented)),b}return c="xml error",O}function L($,W,V){return $=="equals"?U:(d.allowMissing||(c="xml error"),O($,W,V))}function U($,W,V){return $=="xml string"?z:$=="word"&&d.allowUnquoted?(c="xml string",O):(c="xml error",O($,W,V))}function z($,W,V){return $=="xml string"?z:O($,W,V)}return{startState:function($){var W={tokenize:e,state:b,indented:$||0,tagName:null,tagStart:null,context:null};return $!=null&&(W.baseIndent=$),W},token:function($,W){if(!W.tagName&&$.sol()&&(W.indented=$.indentation()),$.eatSpace())return null;o=null;var V=W.tokenize($,W);return(V||o)&&V!="xml comment"&&(c=null,W.state=W.state(o||V,$,W),c&&(V=c)),V},indent:function($,W,V){var K=$.context;if($.tokenize.isInAttribute)return $.tagStart==$.indented?$.stringStartCol+1:$.indented+r;if(K&&K.noIndent)return v.Pass;if($.tokenize!=t&&$.tokenize!=e)return V?V.match(/^(\s*)/)[0].length:0;if($.tagName)return d.multilineTagIndentPastTag!==!1?$.tagStart+$.tagName.length+2:$.tagStart+r*(d.multilineTagIndentFactor||1);if(d.alignCDATA&&/<!\[CDATA\[/.test(W))return 0;var M=W&&/^<(\/)?([\w_:\.-]*)/.exec(W),B=!0;if(M&&M[1])for(B=!1;K&&d.implicitlyClosed.hasOwnProperty(K.tagName);)K=K.prev;else if(M)for(;K;){var P=d.contextGrabbers[K.tagName];if(P&&P.hasOwnProperty(M[2]))K=K.prev;else break}for(;K&&K.prev&&!K.startOfLine;)K=K.prev;if(K){var k=B?r:0;return K.indent+k}return $.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:d.htmlMode?"html":"xml",helperType:d.htmlMode?"html":"xml",skipAttribute:function($){$.state==U&&($.state=O)}}}),v.defineMIME("text/xml","xml"),v.defineMIME("application/xml","xml"),v.mimeModes.hasOwnProperty("text/html")||v.defineMIME("text/html",{name:"xml",htmlMode:!0})};return g},A,x),A.exports=w},96913:(A,x,a)=>{var T,w;T=[a(40923),a(8703),a(48201)],w=a.dj.d(T,function(h,C,g){var _=window,v=null;return{supportsLocalStorage:function(){var f=_&&typeof _.localStorage!==void 0&&_.localStorage!==null;if(f)try{_.localStorage.setItem("motw.test.local.storage","0"),_.localStorage.removeItem("motw.test.local.storage")}catch(u){f=!1}return f},_hasNewIE:function(f){var u;return f&&!C("ie")&&C("trident")>0?u=parseFloat(f.split("rv:")[1]):f&&f.indexOf("Edge")>0?u="Edge "+parseFloat(f.split("Edge/")[1]):u="",u},_getBrowserInfo:function(f){var u,r={BROWSER:"OTHER",BROWSER_VER:"OTHER"},d,n={IE:"Microsoft Internet Explorer",FF:"Mozilla Firefox",Chrome:"Google Chrome",Safari:"Apple Safari"};if(u=this._hasNewIE(f),u)r.BROWSER=n.IE,r.BROWSER_VER=u.toString();else for(d in n)if(n.hasOwnProperty(d)&&C(d.toLowerCase())){u=C(d.toLowerCase()),r.BROWSER=n[d],r.BROWSER_VER=u.toString(),(d==="Chrome"||d==="Safari")&&(r.WEBKIT_VER=C("webkit").toString());break}return r},getSystemInfo:function(){var f={},u={};try{f.DEVICE="",f.LOCALE=_.navigator.language,f.OS=_.navigator.platform,f.PLATFORM=_.navigator.platform,f.SCREEN_RESOLUTION=_.screen.width+"x"+_.screen.height,f.WINDOW_RESOLUTION=_.innerWidth+"x"+_.innerHeight,f.USER_AGENT=_.navigator.userAgent,u=this._getBrowserInfo(_.navigator.appVersion),f=h.mixin(f,u)}catch(r){}return f},setClassName:function(f,u){if(g.add(f,"mw_type_"+(u.type||"unknownType")),g.add(f,"mw_type_Component"),u.name){var r="mw_name_"+(u.name.trim().replace(/[^a-zA-Z0-9]/g,"_")||"NO_NAME");g.contains(f,r)||(f.className=f.className.replace(/mw_name_[^ ]*/,""),g.add(f,r))}},isInFocus:function(f){return typeof _.document.activeElement!="unknown"?f===_.document.activeElement:!1},getScrollbarWidth:function(){if(v===null){var f=document.createElement("div");f.className="scrollbar-measure",f.style.width="100px",f.style.height="100px",f.style.overflow="scroll",f.style.position="absolute",f.style.top="-9999px",document.body.appendChild(f);var u=f.offsetWidth-f.clientWidth;document.body.removeChild(f),u+=2,v=u}return v}}},A,x),A.exports=w},6894:(A,x,a)=>{"use strict";var T,w;T=[a(60757),a(87730),a(38113)],w=a.dj.d(T,function(h,C,g){class _{constructor(){this._cacheDataTransfer=new h}set(f){f&&(this._cacheDataTransfer=f)}clear(){this._cacheDataTransfer=new h}static clone(f){let u=new h;if(f.types.forEach(function(r){r!==g.FILES&&u.setData(r,f.getData(r))}),!f.items)return u;for(let r=0;r<f.items.length;r++){let d=f.items[r];if(d.kind===g.KIND_FILE){let n=d.getAsFile();u.items.add(n)}}return u}get(){return this._cacheDataTransfer}isEmpty(){return!this._cacheDataTransfer}validate(f){if(f.types.length===0&&f.files.length===0)return!0;let u=this.get(),r=Array.from(f.items).map(o=>o.type),d=Array.from(u.items).map(o=>o.type);return!r.every(o=>d.includes(o))||f.files.length>0&&u.files.length>0?!1:r.every(o=>{let c=f.getData(o),e=u.getData(o);return o===g.TEXT_HTML?this._validateHTML(c,e):f.getData(o)===u.getData(o)})}_validateHTML(f,u){const r=new DOMParser;let d=r.parseFromString(u,g.TEXT_HTML).body,n=this._getChildNodes(d),i=r.parseFromString(f,g.TEXT_HTML).body,o=this._getChildNodes(i);return n.length!==o.length?!1:n.every((e,t)=>{let s=o[t];return s.tagName!==e.tagName?!1:e.childNodes.length>0?!0:s.textContent===e.textContent})}_getChildNodes(f){let u=[];f instanceof window.Text&&f.textContent.trim()===""||u.push(f);for(let r=0;r<(f.childNodes&&f.childNodes.length);r++){let d=f.childNodes[r];u=u.concat(this._getChildNodes(d))}return u}mix(f){let u=new h,r=this.get(),d=new Map;for(let n=0;n<f.items.length;n++){let i=f.items[n],{kind:o,type:c}=i;d.set("".concat(o,"_").concat(c),!0),this._addItems(i,f,u)}for(let n=0;n<r.items.length;n++){let i=r.items[n],{kind:o,type:c}=i;d.has("".concat(o,"_").concat(c))||this._addItems(i,r,u)}this.set(u)}_addItems(f,u,r){let{kind:d,type:n}=f;if(d===g.KIND_FILE){let i=f.getAsFile();r.items.add(i)}else if(d===g.KIND_STRING){let i=u.getData(n);r.items.add(i,n)}}}return _},A,x),A.exports=w},16355:(A,x,a)=>{"use strict";var T,w;T=[a(8987),a(18275)],w=a.dj.d(T,function(h,C){let g,_;return{getInstance:function(u){return u&&u.isLocalServer?(_||(_=new h),_):(g||(g=new C),g)}}},A,x),A.exports=w},60757:(A,x,a)=>{"use strict";var T,w;T=[a(87730),a(25101),a(76138),a(15884),a(90290)],w=a.dj.d(T,function(h,C,g,_,v){class f{constructor(){h.isDataTransferConstructor()?this._dataTransfer=new window.DataTransfer:this._dataTransfer=new C}getData(...r){return this._dataTransfer.getData(...r)}setData(r,d){return d=String(d),this._dataTransfer.setData(r,d)}get types(){return this._dataTransfer.types}get files(){return this._dataTransfer.files}get items(){return this._dataTransfer.items}static createInstance(r){return r}static isDataTransferValid(r){return h.isDataTransferValid(r)}static getDataTransferString(r){return h.getDataTransferString(r)}static convertBase64ToBlob(r,d){return g.convert(r,d)}setUrls(r){if(!Array.isArray(r)){v.warn("DataTransfer setUrls accepts array format");return}this._urlList=r;let d="";r.length>0&&(d=r.reduce((n,i)=>"".concat(n,`\r
`).concat(i))),this.setData(_.MIME_TYPES.TEXT_URI_LIST,d)}getUrls(){let r=this.getData(_.MIME_TYPES.TEXT_URI_LIST),d=[];return r?(r.includes(`\r
`)?d=r.split(`\r
`):r.includes(`
`)?d=r.split(`
`):d=[r],d.filter(n=>n.trim().charAt("0")!=="#")):d}setAction(r){r=r.toLowerCase(),Object.values(_.ACTIONS.DataTransfer).includes(r)||v.warn("Pass move or copy actions to dataTransfer.setAction"),this.setData(_.MIME_TYPES.ACTION,r)}getAction(){return this.getData(_.MIME_TYPES.ACTION)||_.ACTIONS.DataTransfer.UNINITIALIZED}static printDataTransfer(r,d){v.debug("From ",d),v.debug("All types",r.types);for(let n=0;n<r.items.length;n++){let i=r.items[n];i.kind==="string"&&i.getAsString(function(o){v.debug("type",i.type,"kind",i.kind,"data",o)})}}}return f},A,x),A.exports=w},25101:(A,x,a)=>{"use strict";var T,w;T=[a(81358)],w=a.dj.d(T,function(h){"use strict";function C(d){return d.map(n=>String(n))}const g="string",_="file",v="Files";class f{constructor(){this._contentMap=new Map,this.items=new u(this._contentMap)}get files(){let n=[];for(let i=0;i<this.items.length;i++){let o=this.items[i];o.kind===_&&n.push(o.getAsFile())}return n}get types(){return Array.from(this._contentMap.keys())}setData(...n){h.validateArguments(n,2,"dataTransfer.setData");let[i,o]=C(n);this.items.add(o,i)}getData(...n){h.validateArguments(n,1,"dataTransfer.getData");let[i]=C(n);return i=i.toLowerCase(),this._contentMap.has(i)?this._contentMap.get(i):""}}class u{constructor(n){this._contentMap=n,this._nextIndex=0}add(...n){let[i,o]=n;o?([i,o]=n,o=o.toLowerCase()):o="",this[this._nextIndex]=new r(i,o,this._contentMap),this._nextIndex++}get length(){return this._nextIndex}}class r{constructor(n,i,o){n instanceof window.Blob?(this._kind=_,o.set(v,""),this._type=n.type):typeof n=="string"&&(this._kind=g,this._type=i,o.set(i,n)),this._data=n}get kind(){return this._kind}get type(){return this._type}getAsString(n){this._data instanceof String&&n(this._data)}getAsFile(){if(this._data instanceof window.Blob)return this._data}}return f},A,x),A.exports=w},18275:(A,x,a)=>{"use strict";var T,w;function h(_,v){var f=Object.keys(_);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(_);v&&(u=u.filter(function(r){return Object.getOwnPropertyDescriptor(_,r).enumerable})),f.push.apply(f,u)}return f}function C(_){for(var v=1;v<arguments.length;v++){var f=arguments[v]!=null?arguments[v]:{};v%2?h(Object(f),!0).forEach(function(u){g(_,u,f[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(f)):h(Object(f)).forEach(function(u){Object.defineProperty(_,u,Object.getOwnPropertyDescriptor(f,u))})}return _}function g(_,v,f){return v in _?Object.defineProperty(_,v,{value:f,enumerable:!0,configurable:!0,writable:!0}):_[v]=f,_}T=[a(51622),a(81358),a(6894),a(15884),a(80998),a(52200)],w=a.dj.d(T,function(_,v,f,u,r,d){class n extends r{constructor(o){super(),this._clientClipboardService=new _,this._cache=new f}get MIME_TYPES(){return u.MIME_TYPES}write(o){if(v.validateWrite(o),!o.dataTransfer){let e=new DataTransfer;d.convertContentMapToDataTransfer(o.contentMap,e),o=C(C({},o),{},{dataTransfer:e})}let c=f.clone(o.dataTransfer);return o=C(C({},o),{},{dataTransfer:c}),this._cache.set(c),this._clientClipboardService.write(o).then(e=>e,this._handleWriteFailure)}_handleWriteFailure(o){return{status:u.StatusEnum.success.writeLocal,message:o.message}}read(...o){return this._clientClipboardService.read(...o).then(this._handleReadSuccess.bind(this),this._handleReadFailure.bind(this))}async _handleReadSuccess(o){let{dataTransfer:c}=o;this._cache.validate(c)?this._cache.mix(c):this._cache.set(c),c=this._cache.get();let t=await d.convertDataTransferToContentMap(c);return C(C({},o),{},{dataTransfer:c,contentMap:t})}async _handleReadFailure(o){let c=this._cache.get(),e=await d.convertDataTransferToContentMap(c);return C(C({},o),{},{status:u.StatusEnum.success.readLocal,dataTransfer:c,contentMap:e})}readTypes(...o){return this._clientClipboardService.readTypes(...o)}}return n},A,x),A.exports=w},51622:(A,x,a)=>{"use strict";var T,w;T=[a(95724),a(87053),a(52678),a(85653),a(15884),a(87730),a(84033),a(32171),a(81358)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";const n=v.StatusEnum,i=v.TypeMetaDataEnum,o=v.MIME_TYPES;class c{constructor(){this._isNavigatorReadSupported=r.isReadSupported()}write(t){let{dataTransfer:s,event:l,useNavigatorClipboard:p}=t;return this._writeDataTransfer(s,l,p)}_writeDataTransfer(t,s,l){let p=f.getMimeMetaData(t,s,l);return{[i.ONLY_TEXT]:this._writeText.bind(this),[i.FROM_COPY_EVENT]:this._writeUsingCopyEvent.bind(this),[i.CONTAINS_IMAGE]:this._writeImageUsingNavigatorService.bind(this),[i.OTHERS]:this._writeOtherTypes.bind(this),[i.useNavigatorClipboard]:this._useOnlyNavigatorClipboard.bind(this)}[p](t,s)}_writeUsingCopyEvent(t,s){return f.setEventClipboardData(s.clipboardData.items,t),Promise.resolve({status:n.success.write})}async _writeText(t){return await r.isWriteTextSupported()?this._writeUsingNavigator(t,!0):this._writeOtherTypes(t)}_writeOtherTypes(t){return new _(t).write(t)}async _writeImageUsingNavigatorService(t){return await r.isWriteSupported()?this._writeUsingNavigator(t):(!t.types.includes(o.TEXT_PLAIN)&&t.files.length>0&&t.setData(o.TEXT_PLAIN,t.files[0].name),this._writeOtherTypes(t))}async _useOnlyNavigatorClipboard(t){return await r.isWriteTextSupported()&&f.hasOnlyTextMimeType(t)?this._writeUsingNavigator(t,!0):await r.isWriteSupported()?this._writeUsingNavigator(t):Promise.reject(new Error("Navigator clipboard is not supported"))}_writeUsingNavigator(t,s){let l=new C(t);return s?l.writeText():l.write()}read(t){let s=t&&t.event;return this._isEventFromPaste(s)?new g(t).read():this._isNavigatorReadSupported?new h().read():Promise.reject(new Error("Navigator clipboard is not supported"))}readTypes(t){return Promise.resolve({types:[v.MIME_TYPES.INDETERMINATE_TYPE]})}_isEventFromPaste(t){return t&&u.isEventRunningNow(t)&&(u.isPasteEvent(t)||u.isPasteKeyDown(t))}}return c},A,x),A.exports=w},95724:(A,x,a)=>{"use strict";var T,w;T=[a(32171),a(60757),a(67373),a(90290)],w=a.dj.d(T,function(h,C,g,_){"use strict";class v{constructor(){this._onSuccess=this._onSuccess.bind(this),this._onFailure=this._onFailure.bind(this),this._processClipboardDataTransfer=this._processClipboardDataTransfer.bind(this)}read(){return navigator.clipboard.read().then(this._onSuccess,this._onFailure)}_onFailure(u){throw _.warn(u&&u.message),new Error(u.message)}_onSuccess(u){return this._processClipboardItems(u)}_processClipboardItems(u){return this._dataTransfer=new C,h.clipboardItemsToDataTransfer(u,this._dataTransfer).then(this._processClipboardDataTransfer)}_processClipboardDataTransfer(){return{status:g.success.readGlobal,message:g.navigator.successMessage,dataTransfer:this._dataTransfer}}}return v},A,x),A.exports=w},87053:(A,x,a)=>{"use strict";var T,w;T=[a(32171),a(67373),a(90290)],w=a.dj.d(T,function(h,C,g){"use strict";class _{constructor(f){this._dataTransfer=f,this._onSuccess=()=>({status:C.success.writeGlobal,message:C.navigator.successMessage}),this._onFailure=u=>{throw g.warn(u&&u.message),new Error(u.message)}}writeText(){let f=this._dataTransfer.getData("text/plain");return navigator.clipboard.writeText(f).then(this._onSuccess,this._onFailure)}write(){let f=h.convertToClipboardItem(this._dataTransfer);return navigator.clipboard.write([f]).then(this._onSuccess,this._onFailure)}}return _},A,x),A.exports=w},52678:(A,x,a)=>{"use strict";var T,w;T=[a(67373),a(60757),a(6894),a(48354),a(84033),a(90290)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";class f{constructor(r){this._event=r.event,this._removePasteListener=()=>{}}read(){let r={paste:this._handleEventFromPaste.bind(this),keydown:this._handleEventFromKeyDown.bind(this)},d=this._getHandlersType(),n=new Promise((i,o)=>{this._resolve=i,this._reject=o});return r[d](),n}_handleEventFromPaste(){let r=this._createDataTransferFromPasteEvent(this._event),d=g.clone(r);this._handlePasteSuccess(d)}_handleEventFromKeyDown(){let r=this._getReadPromise(),d=this._createTimeout();r.then(n=>{this._removePasteListener(),clearTimeout(d),this._handlePasteSuccess(n)},()=>{this._removePasteListener(),this._handlePasteFailure()})}_getHandlersType(){let r=this._event;if(v.isPasteEvent(r))return"paste";if(v.isPasteKeyDown(r))return"keydown"}_handlePasteSuccess(r){this._resolve({message:h.browserEvents.successMessage,status:h.success.readGlobal,dataTransfer:r})}_handlePasteFailure(){this._reject(new Error(h.browserEvents.failureMessage))}_getReadPromise(){return new Promise((r,d)=>{v.isPasteKeyDown(this._event)&&(this._removePasteListener=_.addEventListener(document,"paste",n=>{let i=this._createDataTransferFromPasteEvent(n),o=g.clone(i);r(o)})),this._rejectReadPromise=d})}_createDataTransferFromPasteEvent(r){return C.createInstance(r.clipboardData)}_createTimeout(){return setTimeout(()=>{this._rejectReadPromise(new Error)},1e3)}}return f},A,x),A.exports=w},85653:(A,x,a)=>{"use strict";var T,w;T=[a(48354),a(87730),a(67373),a(60757)],w=a.dj.d(T,function(h,C,g,_){class v{constructor(u){this._textarea=h.createTextBox(),this._dataTransfer=u}write(){return new Promise((u,r)=>{this._resolve=u,this._reject=r,this._triggerCopy()})}_triggerCopy(){this._removeEventListener=h.addEventListener(this._textarea,"copy",this._handleWriteSuccess.bind(this)),h.copy(this._textarea)||this._handleWriteFailure()}_handleWriteSuccess(u){C.setEventClipboardData(u.clipboardData.items,this._dataTransfer),u.preventDefault(),u.stopPropagation(),this._removeListenerAndRemoveTextbox(),this._resolve({status:g.success.writeGlobal,message:g.browserEvents.successMessage})}_handleWriteFailure(){this._removeListenerAndRemoveTextbox(),this._reject(new Error(g.browserEvents.failureMessage))}_removeListenerAndRemoveTextbox(){this._removeEventListener(),h.destroy(this._textarea)}}return v},A,x),A.exports=w},97047:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({DataTransfer:{COPY:"copy",MOVE:"move",UNINITIALIZED:"uninitialized"},WRITE_TO_CACHE:"WRITE_TO_CACHE",READ_FROM_CACHE:"READ_FROM_CACHE",FAIL_READ:"FAIL_READ"})},A,x),A.exports=w},23206:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({clipboardDataChange:"clipboardDataChange",clipboardChange:"clipboardChange"})},A,x),A.exports=w},38113:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({TEXT_HTML:"text/html",TEXT_PLAIN:"text/plain",TEXT_URI_LIST:"text/uri-list",IMAGE:"image/*",INDETERMINATE_TYPE:"INDETERMINATE_TYPE",FILES:"Files",KIND_FILE:"file",KIND_STRING:"string",ACTION:"application/mw-clipboard-action"})},A,x),A.exports=w},67373:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({navigator:{successMessage:"Action success using navigator.clipboard",failureMessage:"Action failure using navigator.clipboard"},browserEvents:{successMessage:"Action success using browser copy event",failureMessage:"Action failure using browser copy event"},messageService:{successMessage:"Action success using message service",failureMessage:"Action failure using message service"},success:{writeGlobal:"CLIPBOARD_WRITE_SUCCESS_GLOBAL",writeLocal:"CLIPBOARD_WRITE_SUCCESS_LOCAL",readLocal:"CLIPBOARD_READ_SUCCESS_LOCAL",readGlobal:"CLIPBOARD_READ_SUCCESS_GLOBAL"}})},A,x),A.exports=w},2914:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({ONLY_TEXT:"ONLY_TEXT",CONTAINS_IMAGE:"CONTAINS_IMAGE",FROM_COPY_EVENT:"FROM_COPY_EVENT",OTHERS:"OTHERS",DATA_KIND_STRING:"string",DATA_KIND_FILE:"file",useNavigatorClipboard:"useNavigatorClipboard"})},A,x),A.exports=w},15884:(A,x,a)=>{"use strict";var T,w;T=[a(67373),a(2914),a(38113),a(97047),a(23206)],w=a.dj.d(T,function(h,C,g,_,v){return{StatusEnum:h,TypeMetaDataEnum:C,MIME_TYPES:g,ACTIONS:_,EventsEnum:v}},A,x),A.exports=w},86686:(A,x,a)=>{"use strict";var T,w;T=[a(74460),a(56662),a(15884),a(74129),a(80998)],w=a.dj.d(T,function(h,C,g,_,v){let f;const{baseChannel:u,writeChannel:r,readChannel:d,readTypesChannel:n,clipboardChange:i}=_;class o extends v{constructor(){super(),this._requestId=C.generateUuid(),this._map=new Map,this._onSubscribe=this._onSubscribe.bind(this),this._subscribe("".concat(r.response,"/*"),this._onSubscribe),this._subscribe("".concat(d.response,"/*"),this._onSubscribe),this._subscribe("".concat(n.response,"/*"),this._onSubscribe)}write(e){return this._publish(r.request,{contents:e})}read(e){return this._publish(d.request,e)}readTypes(){return this._publish(n.request)}_publish(e,t){let s=C.generateUuid();return new Promise((p,E)=>{let m={uid:s,requestId:this._requestId};t&&Object.assign(m,t),this._map.set(s,{resolve:p,reject:E}),h.publish("".concat(u).concat(e),m)})}_subscribe(e,t){let s="".concat(u).concat(e);h.subscribe(s,t)}_onSubscribe(e){let t=e.channel||"",s=this._extractUID(t);if(!this._map.has(s))return;let{resolve:l}=this._map.get(s);l&&l(e),this._map.delete(s)}_extractUID(e){let t=e.split("/");if(t.length>=5)return t[4]}static getInstance(){return f||(h.start(),f=new o),f}setupClipboardListener(){this._subscribe(i.onChange,this._handleClipboardDataChange.bind(this)),h.publish("".concat(u).concat(i.request),{})}_handleClipboardDataChange(){this.emit(g.EventsEnum.clipboardChange,{})}}return o},A,x),A.exports=w},74129:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({baseChannel:"/v2/clipboardservice/",writeChannel:{request:"setClipboardDataRequest",response:"setClipboardDataResponse"},readChannel:{request:"getClipboardDataRequest",response:"getClipboardDataResponse"},readTypesChannel:{request:"requestAvailableDataFlavors",response:"sendAvailableDataFlavors"},clipboardChange:{request:"reqRegisterClipboardChange",response:"responseRegisterClipboardChange",onChange:"clipboardChange"}})},A,x),A.exports=w},8987:(A,x,a)=>{"use strict";var T,w;function h(_,v){var f=Object.keys(_);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(_);v&&(u=u.filter(function(r){return Object.getOwnPropertyDescriptor(_,r).enumerable})),f.push.apply(f,u)}return f}function C(_){for(var v=1;v<arguments.length;v++){var f=arguments[v]!=null?arguments[v]:{};v%2?h(Object(f),!0).forEach(function(u){g(_,u,f[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(f)):h(Object(f)).forEach(function(u){Object.defineProperty(_,u,Object.getOwnPropertyDescriptor(f,u))})}return _}function g(_,v,f){return v in _?Object.defineProperty(_,v,{value:f,enumerable:!0,configurable:!0,writable:!0}):_[v]=f,_}T=[a(52462),a(81358),a(6894),a(15884),a(90290),a(52200)],w=a.dj.d(T,function(_,v,f,u,r,d){class n{constructor(){this._cache=new f,this._serverClipboardService=new _(this._cache)}get MIME_TYPES(){return u.MIME_TYPES}write(o){if(v.validateWrite(o),o.dataTransfer){let c=f.clone(o.dataTransfer);o=C(C({},o),{},{dataTransfer:c})}return this._serverClipboardService.write(o).then(c=>c)}read(...o){return this._serverClipboardService.read(...o).then(this._handleReadSuccess.bind(this))}_handleReadSuccess(o){let{dataTransfer:c}=o;return this._cache.set(c),C(C({},o),{},{dataTransfer:c})}readTypes(...o){return this._serverClipboardService.readTypes(...o)}on(o,c){if(o!==u.EventsEnum.clipboardDataChange&&o!==u.EventsEnum.clipboardChange){r.warn("Server clipboard supports ".concat(u.EventsEnum.clipboardChange," and ").concat(u.EventsEnum.clipboardDataChange," events"));return}if(this._serverClipboardService.listeningClipboardChange||this._serverClipboardService.setupClipboardListener(),o===u.EventsEnum.clipboardChange)return this._serverClipboardService.on(u.EventsEnum.clipboardChange,c);if(o===u.EventsEnum.clipboardDataChange)return this._serverClipboardService.on(u.EventsEnum.clipboardDataChange,c)}}return n},A,x),A.exports=w},52462:(A,x,a)=>{"use strict";var T,w;T=[a(87730),a(52200),a(86686),a(15884),a(60757),a(80998),a(90290)],w=a.dj.d(T,function(h,C,g,_,v,f,u){const{StatusEnum:r,EventsEnum:d}=_;class n extends f{constructor(o){super(),this._serverCache=o,this._listeningClipboardChange=!1}setupClipboardListener(){let o=g.getInstance();o.setupClipboardListener(),o.on(d.clipboardChange,this._handleClipboardChange.bind(this)),this._listeningClipboardChange=!0}get listeningClipboardChange(){return this._listeningClipboardChange}async _handleClipboardChange(){if(!this.hasListeners(d.clipboardChange)&&!this.hasListeners(d.clipboardDataChange))return;const{dataTransfer:o}=await this.read(),c=this._serverCache.get();if(this._serverCache.set(o),this.emit(d.clipboardChange,{dataTransfer:o}),!this.hasListeners(d.clipboardDataChange))return;await h.compare(o,c)||this.emit(d.clipboardDataChange,{dataTransfer:o})}async write(o){try{let c=null;return o.dataTransfer?c=await h.convertDataTransferToServerFormat(o.dataTransfer):c=await C.convertContentMapToServerFormat(o.contentMap),await g.getInstance().write(c.contents),{status:r.success.writeGlobal,message:r.messageService.successMessage}}catch(c){return u.warn(c.message),{status:r.success.writeLocal,message:r.messageService.failureMessage}}}readTypes(){return g.getInstance().readTypes().then(this._handleTypesResponse)}_handleTypesResponse(o){let c=[];return o&&o.data&&o.data.flavors&&(c=o.data.flavors),{types:c}}read(o){const c={};return o&&Array.isArray(o.types)&&(c.flavors=[...o.types,_.MIME_TYPES.ACTION]),g.getInstance().read(c).then(this._handleReadSuccess)}_handleReadSuccess(o){let c=new v,e={};return o.data&&(h.convertServerFormatToDataTransfer(o.data,c),e=C.convertServerFormatToContentMap(o.data)),{status:r.success.readGlobal,message:r.messageService.successMessage,dataTransfer:c,contentMap:e}}}return n},A,x),A.exports=w},76138:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){function C(f){return atob(f)}function g(f,u){return Math.min(f+8,u)}function _(f,u){for(let r=0,d=0;r<f.length;r++){let n=g(d,u.length),i=new Array(n-d);v(i,u,d),f[r]=new window.Uint8Array(i),d=n}}function v(f,u,r){for(let d=0;d<f.length;d++)f[d]=u[r+d].charCodeAt(0)}return{convert(f,u){let r=C(f.trim()),d=Math.ceil(r.length/8),n=new Array(d);return _(n,r),new window.Blob(n,{type:u})}}},A,x),A.exports=w},52200:(A,x,a)=>{"use strict";var T,w;T=[a(87730),a(15884),a(32171),a(76138),a(26020)],w=a.dj.d(T,function(h,C,g,_,v){let{MIME_TYPES:f}=C;return{isContentMapValid(r){return!(!r||Object.prototype.toString.call(r)!=="[object Object]"||Object.keys(r).length===0)},convertContentMapToServerFormat(r){let d=[],n={[f.IMAGE]:(o,c)=>c?c instanceof HTMLImageElement?c.src:c:""};for(let o in r){if(g.checkImageType(o)){d.push({flavor:o,content:n[f.IMAGE](o,r[o])});continue}if(o===f.TEXT_URI_LIST){d.push({flavor:o,content:r[o],mode:r[f.ACTION]||C.ACTIONS.DataTransfer.COPY});continue}d.push({flavor:o,content:r[o]})}return{contents:d.filter(o=>!!o)}},convertServerFormatToContentMap(r){let d={};return r.contents?(r.contents.constructor.name==="Array"?r.contents.forEach(n=>{d[n.flavor]=n.content}):d=r.contents,d):{}},convertContentMapToDataTransfer(r,d){let n=Object.keys(r),i={[f.IMAGE]:(o,c)=>{if(!c||(c instanceof HTMLImageElement&&(c=c.src),typeof c!="string"))return;let e=c.split(","),t=e[1]||e[0],s=_.convert(t),l=v.convert(o);d.items.add(new File([s],l,{type:"image/png"}))},[f.TEXT_URI_LIST]:(o,c)=>{d.setUrls(c)}};n.forEach(o=>{let c=r[o];if(g.checkImageType(o)){i[f.IMAGE](o,c);return}if(i[o]){i[o](o,c);return}d.items.add(c,o)})},async convertDataTransferToContentMap(r){let d={[f.KIND_FILE]:async i=>{if(g.checkImageType(i.type)){let o=window.document.createElement("img"),c=await h.readBase64FromImage(i.getAsFile(),i.type);return o.src=c.content,o}},[f.KIND_STRING]:async i=>{let o=await r.getData(i.type);return i.type===f.TEXT_URI_LIST?d[f.TEXT_URI_LIST](i):o},[f.TEXT_URI_LIST]:async i=>r.getUrls()},n={};for(let i=0;i<r.items.length;i++){let o=r.items[i];n[o.type]=await d[o.kind](o)}return n}}},A,x),A.exports=w},87730:(A,x,a)=>{"use strict";var T,w;T=[a(32171),a(84033),a(76138),a(26020),a(15884)],w=a.dj.d(T,function(h,C,g,_,v){let{MIME_TYPES:f,TypeMetaDataEnum:u}=v;const r={setEventClipboardData(d,n){let i={[f.KIND_FILE]:o=>{let c=o.getAsFile();d.add(c)},[f.KIND_STRING]:o=>{d.add(n.getData(o.type),o.type)}};for(let o=0;o<n.items.length;o++){let c=n.items[o];i[c.kind]&&i[c.kind](c)}},hasOnlyTextMimeType(d){let n=d.types;return n.length===1&&n.includes(v.MIME_TYPES.TEXT_PLAIN)},hasImageMimeType(d){return d.items&&Array.from(d.items).some(n=>h.checkImageType(n.type))},getMimeMetaData(d,n,i){return i?u.useNavigatorClipboard:n&&C.isCopyEvent(n)&&C.isEventRunningNow(n)?u.FROM_COPY_EVENT:r.hasOnlyTextMimeType(d)?u.ONLY_TEXT:r.hasImageMimeType(d)?u.CONTAINS_IMAGE:u.OTHERS},isDataTransferConstructor(){try{new window.DataTransfer}catch(d){return!1}return!0},isDataTransferValid(d){if(!d)return!1;let n=d.types;return!(!n||(!Array.isArray(n)||n.length===0)&&d.items&&d.items.length===0)},getDataTransferString(d){if(!d)return"dataTransfer is null";let n=d.types;if(!n||n.length===0||!n[0])return"dataTransfer has no mime types";let i="";for(let o=0;o<n.length;o++){let c=n[o],e=d.getData(c);i+=" type = "+c+" value = "+e}return i},readBase64FromImage(d,n){return new Promise(i=>{let o=new FileReader;o.addEventListener("load",function(c){i({flavor:n,content:o.result})}),o.readAsDataURL(d)})},convertDataTransferToServerFormat(d){let n={[f.KIND_FILE]:o=>h.checkImageType(o.type)?r.readBase64FromImage(o.getAsFile(),o.type):Promise.resolve(null),[f.KIND_STRING]:o=>{let c=d.getData(o.type);return o.type===f.TEXT_URI_LIST?n[f.TEXT_URI_LIST](o):Promise.resolve({flavor:o.type,content:c})},[f.TEXT_URI_LIST]:o=>Promise.resolve({flavor:o.type,content:d.getUrls(),mode:d.getAction()})},i=[];for(let o=0;o<d.items.length;o++){let c=d.items[o];i.push(n[c.kind](c))}return Promise.all(i).then(o=>({contents:o.filter(e=>!!e)}))},convertServerFormatToDataTransfer(d,n){let i=d.contents||[],o=Object.keys(i),c={[f.IMAGE]:(e,t)=>{if(typeof t!="object")return;let s;if(t.__value__&&(s=t.__value__),t instanceof Image&&(s=t.src),!s)return;let l=s.split(",");if(l.length<2)return;let p=l[1],E=g.convert(p),m=_.convert(e);n.items.add(new File([E],m,{type:"image/png"}))},[f.TEXT_URI_LIST]:(e,t)=>{n.setUrls(t)}};return o.forEach(e=>{let t=i[e];if(h.checkImageType(e)){c[f.IMAGE](e,t);return}if(c[e]){c[e](e,t);return}n.items.add(t,e)}),n},compareStringData(d,n){let i=Array.from(d.types),o=Array.from(n.types);if(i.length!==o.length||!i.every(c=>o.includes(c)))return!1;if(d.files.length===0&&n.files.length===0)return i.every(c=>d.getData(c)===n.getData(c))},compare(d,n){const i=r.compareStringData(d,n);return typeof i=="boolean"?Promise.resolve(i):r.compareFiles(d.files,n.files)},compareFiles(d,n){const i=[];for(let o=0;o<d.length;o++){const c=d[o],e=n[o];i.push(r._compareFile(c,e))}return Promise.all(i).then(o=>o.every(c=>c))},_compareFile(d,n){return d.size!==n.size?Promise.resolve(!1):Promise.all([r._readFileAsDataURL(d),r._readFileAsDataURL(n)]).then(i=>{let o=i[0],c=i[1];return o===c})},_readFileAsDataURL(d){return new Promise(n=>{const i=new FileReader;i.onload=function(){n(i.result)},i.readAsDataURL(d)})}};return r},A,x),A.exports=w},80998:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){class h{constructor(g){this._events=[]}on(g,_){this._events[g]||(this._events[g]=[]),this._events[g].push(_);let v={};return v.remove=()=>{let f=this._events[g].indexOf(_);this._events[g].splice(f,1),v.remove=()=>null},v}emit(g,_={}){let v=this._events[g],f=Object.getOwnPropertyNames(_),u={};f.forEach(d=>{u[d]=_[d]}),(d=>{d&&d.forEach(n=>{n(u)})})(v)}hasListeners(g){return this._events[g]?this._events[g].length>0:!1}}return h},A,x),A.exports=w},84033:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";let h={C:67,V:86,X:88};return{isEventRunningNow(g){return g.eventPhase!==0},isPasteEvent(g){return g.type==="paste"},isCopyEvent(g){return g.type==="copy"},isPasteKeyDown(g){return!!(g.type==="keydown"&&(g.ctrlKey||g.meta||g.metaKey)&&g.keyCode===h.V)}}},A,x),A.exports=w},26020:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){const h={"application/atom+xml":{extensions:["atom"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/javascript":{extensions:["js"]},"application/json":{extensions:["json"]},"application/mac-binhex40":{extensions:["hqx"]},"application/msword":{extensions:["doc"]},"application/octet-stream":{extensions:["bin","exe","dll","deb","dmg","iso","img","msi","msp","msm"]},"application/pdf":{extensions:["pdf"]},"application/postscript":{extensions:["ps","eps","ai"]},"application/rss+xml":{extensions:["rss"]},"application/rtf":{extensions:["rtf"]},"application/vnd.apple.mpegurl":{extensions:["m3u8"]},"application/vnd.google-earth.kml+xml":{extensions:["kml"]},"application/vnd.google-earth.kmz":{extensions:["kmz"]},"application/vnd.ms-excel":{extensions:["xls"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt"]},"application/vnd.oasis.opendocument.graphics":{extensions:["odg"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.wap.wmlc":{extensions:["wmlc"]},"application/wasm":{extensions:["wasm"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-cocoa":{extensions:["cco"]},"application/x-java-archive-diff":{extensions:["jardiff"]},"application/x-java-jnlp-file":{extensions:["jnlp"]},"application/x-makeself":{extensions:["run"]},"application/x-perl":{extensions:["pl","pm"]},"application/x-pilot":{extensions:["prc","pdb"]},"application/x-rar-compressed":{extensions:["rar"]},"application/x-redhat-package-manager":{extensions:["rpm"]},"application/x-sea":{extensions:["sea"]},"application/x-shockwave-flash":{extensions:["swf"]},"application/x-stuffit":{extensions:["sit"]},"application/x-tcl":{extensions:["tcl","tk"]},"application/x-x509-ca-cert":{extensions:["der","pem","crt"]},"application/x-xpinstall":{extensions:["xpi"]},"application/xhtml+xml":{extensions:["xhtml"]},"application/xspf+xml":{extensions:["xspf"]},"application/zip":{extensions:["zip"]},"audio/midi":{extensions:["mid","midi","kar"]},"audio/mpeg":{extensions:["mp3"]},"audio/ogg":{extensions:["ogg"]},"audio/x-m4a":{extensions:["m4a"]},"audio/x-realaudio":{extensions:["ra"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg"]},"image/png":{extensions:["png"]},"image/*":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.wap.wbmp":{extensions:["wbmp"]},"image/webp":{extensions:["webp"]},"image/x-icon":{extensions:["ico"]},"image/x-jng":{extensions:["jng"]},"image/x-ms-bmp":{extensions:["bmp"]},"text/css":{extensions:["css"]},"text/html":{extensions:["html","htm","shtml"]},"text/mathml":{extensions:["mml"]},"text/plain":{extensions:["txt"]},"text/vnd.sun.j2me.app-descriptor":{extensions:["jad"]},"text/vnd.wap.wml":{extensions:["wml"]},"text/x-component":{extensions:["htc"]},"text/xml":{extensions:["xml"]},"video/3gpp":{extensions:["3gpp","3gp"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4"]},"video/mpeg":{extensions:["mpeg","mpg"]},"video/quicktime":{extensions:["mov"]},"video/webm":{extensions:["webm"]},"video/x-flv":{extensions:["flv"]},"video/x-m4v":{extensions:["m4v"]},"video/x-mng":{extensions:["mng"]},"video/x-ms-asf":{extensions:["asx","asf"]},"video/x-ms-wmv":{extensions:["wmv"]},"video/x-msvideo":{extensions:["avi"]}};return{convert(C){if(h[C]){const g=h[C].extensions;if(g.length>0)return"file.".concat(g[0])}return"file"}}},A,x),A.exports=w},32171:(A,x,a)=>{"use strict";var T,w;T=[a(76138),a(26020),a(90290)],w=a.dj.d(T,function(h,C,g){const _={granted:"granted",prompt:"prompt",denied:"denied"},v="clipboard-write";let f={convertToClipboardItem:function(r){let d={},n=r.items||[];for(let i=0;i<n.length;i++){const o=n[i];if(o.kind==="string"){let c=o.type,e=r.getData(c);d[c]=new Blob([e],{type:c})}else if(o.kind==="file"){let c=o.type,e=o.getAsFile();d[c]=e}}return r.types.forEach(i=>{let o=r.getData(i);if(f.checkImageType(i)){let c=h.convert(o,i);d[i]=c}}),new ClipboardItem(d)},checkImageType:function(r){return!!new RegExp("^image{1}/","i").exec(r)},clipboardItemsToDataTransfer:function(r,d){let n=[];for(let i of r)n.push(f.clipboardItemToDataTransfer(i,d));return Promise.all(n).then(()=>Promise.resolve(d))},clipboardItemToDataTransfer:function(r,d){return f.clipboardItemToPromises(r).then(n=>f.clipboardItemPromisesToBlob(n)).then(n=>f.blobsToDataTransfer(n,d))},clipboardItemToPromises:function(r){return new Promise(d=>{let n=[];for(const i of r.types)n.push(r.getType(i));d(n)})},clipboardItemPromisesToBlob:function(r){return Promise.allSettled(r).then(d=>d.filter(n=>n.status==="fulfilled"&&n.value))},blobsToDataTransfer:function(r,d){let n=[],i=[];for(let o of r){let c=o.value.type;i.push(c),f.checkImageType(c)?d.items.add(new File([o.value],C.convert(c),{type:c})):n.push(f.blobToText(o.value))}return Promise.all(n).then(o=>(o.forEach((c,e)=>{d.items.add(c,i[e])}),d))},blobToText:function(r){return new Promise(d=>{let n=new FileReader;n.onload=function(i){d(i.target.result)},n.readAsText(r)})},blobToBase64:function(r){return new Promise(d=>{let n=new FileReader;n.onload=function(i){d(i.target.result)},n.readAsDataURL(r)})},async isWriteSupported(){if(f.isCefClient())return!1;let{navigator:u,ClipboardItem:r}=window;return u&&u.clipboard&&u.clipboard.write&&r?f._isWritePermitted():!1},isReadSupported(){if(f.isCefClient())return!1;let{navigator:u,ClipboardItem:r}=window;return!!(u&&u.clipboard&&u.clipboard.read&&r)},async isWriteTextSupported(){if(f.isCefClient())return!1;let{navigator:u}=window;return u&&u.clipboard&&u.clipboard.writeText?f._isWritePermitted():!1},isCefClient(){return!!window.cefclient},async _isWritePermitted(){if(navigator.permissions)try{return(await navigator.permissions.query({name:v})).state!==_.denied}catch(u){return g.debug(u),!0}}};return f},A,x),A.exports=w},48354:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{createTextBox:function(){let C=document.createElement("textarea");const g=C.style;return g.position="fixed",g.top=g.opacity="0",g.left="-999px",C.setAttribute("aria-hidden","true"),C.value=" ",document.body.appendChild(C),C},addEventListener:function(C,g,_,v={}){return C.addEventListener(g,_,v),()=>{C.removeEventListener(g,_,v)}},copy:function(C){const g=document.activeElement;C.select(),C.focus(),C.setSelectionRange(0,C.value.length);let _=document.execCommand("copy");return g&&g.focus(),_},destroy:function(C){C.remove()}}},A,x),A.exports=w},81358:(A,x,a)=>{"use strict";var T,w;T=[a(87730),a(52200)],w=a.dj.d(T,function(h,C){"use strict";let g={argumentsLimit:(v,f,u)=>"Expected : ".concat(v," expects ").concat(u," arguments, but ").concat(f.length," arguments were passed"),dataTransfer:()=>"Expected: clipboard.write API should have dataTransfer with at least a mime-type set",contentMap:()=>"Expected: clipboard.write API should have contentMap with at least a mime-type set",emptyData:()=>"Expected: clipboard.write API should have either dataTransfer with DataTransfer object or contentMap with key-value pairs",clipboardConfig:v=>"Expected: clipboard.".concat(v," expects object")};return{validateArguments(v,f,u){if(v.length<f)throw new Error(g.argumentsLimit(u,v,f))},validateWrite(v){let f="write";if(!v)throw new Error(g.clipboardConfig(f));if(!v.dataTransfer&&!v.contentMap)throw new Error(g.emptyData());if(v.contentMap&&!C.isContentMapValid(v.contentMap))throw new Error(g.contentMap());if(v.dataTransfer&&!h.isDataTransferValid(v.dataTransfer))throw new Error(g.dataTransfer());return!0}}},A,x),A.exports=w},31115:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(40637),a(20438)],w=a.dj.d(T,function(u,r){"use strict";var d=function(){},n=function(){function i(o){var c=this;C(this,i),this._on=new u,this._dataStore=o,this._data=[],this._pagedRangeList=[],this._pagedData=[],this._listeners=[],this._cellMetaData=[],this._rangeList=[],this._rowMetaData=[],this._columnMetaData=[],this.sort=o.sort?o.sort.bind(o):d,this.updateHeader=o.updateColumnHeader?o.updateColumnHeader.bind(o):void 0,this.setHeaders=o.__setHeaders?o.__setHeaders.bind(o):void 0,this.getHeaders=o.__getHeaders?o.__getHeaders.bind(o):void 0,this.updateRowHeader=o.updateRowHeader?o.updateRowHeader.bind(o):void 0,this.setSpanningHeaders=o.__setSpanningHeaders?o.__setSpanningHeaders.bind(o):void 0,this.getSpanningHeaders=o.__getSpanningHeaders?o.__getSpanningHeaders.bind(o):void 0;var e=o.getLocalColumnSpanningMetaData?o.getLocalColumnSpanningMetaData.bind(o):void 0,t=o.getLocalCellMetaData||function(p){},s=o.getLocalRowMetaData||function(p,E){},l=o.getLocalColumnMetaData||function(p,E){};this._pagedData=new r({getLocalCell:o.getLocalCellData.bind(o)}),this._pagedCellMetaData=new r({getLocalCell:t.bind(o)}),this._pagedRowMetaData=new r({getLocalCell:function(E,m){return s.call(o,E)}}),this._pagedColumnMetaData=new r({getLocalCell:function(E,m){return l.call(o,m)}}),e!==void 0&&(this._pagedColumnSpanningMetaData=new r({getLocalCell:function(E,m){return e(m)}})),this._listeners.push(this._dataStore.on("dataChanged",this._reactToNewData.bind(this)),this._dataStore.on("pagedRowMetaDataChanged",this._reactToNewRowMetaData.bind(this)),this._dataStore.on("pagedColumnMetaDataChanged",this._reactToNewColumnMetaData.bind(this)),this._dataStore.on("dataSizeChanged",function(p){return c._on.emit(p.eventName,p)}))}return _(i,[{key:"managePaging",value:function(c){var e=this._destructureRangesByType(c),t=e.rowRange,s=e.columnRange,l=this._pagedData.managePaging(c),p=l.data,E=this._pagedCellMetaData.managePaging(c),m=E.data,y=this._pagedRowMetaData.managePaging(t),b=y.data,I=this._pagedColumnMetaData.managePaging(s),S=I.data,R=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.managePaging(s):{data:void 0},N=R.data;this._data=p,this._cellMetaData=m,this._rangeList=c,this._rowMetaData=b,this._columnMetaData=S,this._columnSpanningMetaData=N,this._pagedRangeList=c.slice(),this._dataStore.managePaging(c),this._emitPagedDataChanged()}},{key:"_emitPagedDataChanged",value:function(){this._on.emit("pagedDataChanged",{pagedData:this._data,cellMetaData:this._cellMetaData,rowMetaData:this._rowMetaData,columnMetaData:this._columnMetaData,columnSpanningMetaData:this._columnSpanningMetaData,rangeList:this._rangeList})}},{key:"dataSize",get:function(){return this._dataStore.dataSize}},{key:"_reactToNewData",value:function(c){var e=c.rangeList,t=this._pagedData.dataArrived(e),s=t.dataChanged,l=t.data,p=this._pagedCellMetaData.dataArrived(e),E=p.dataChanged,m=p.data;(s||E)&&(this._cellMetaData=m,this._data=l,this._emitPagedDataChanged())}},{key:"_reactToNewRowMetaData",value:function(c){var e=c.rangeList,t=this._pagedRowMetaData.dataArrived(e),s=t.dataChanged,l=t.data;s&&(this._rowMetaData=l,this._emitPagedDataChanged())}},{key:"_reactToNewColumnMetaData",value:function(c){var e=c.rangeList,t=this._pagedColumnMetaData.dataArrived(e),s=t.dataChanged,l=t.data,p=this._pagedColumnSpanningMetaData!==void 0?this._pagedColumnSpanningMetaData.dataArrived(e):{metaDataChanged:void 0,data:void 0},E=p.metaDataChanged,m=p.data;s&&(this._columnMetaData=l,this._emitPagedDataChanged()),E&&(this._columnSpanningMetaData=m,this._emitPagedDataChanged())}},{key:"_destructureRangesByType",value:function(c){return{dataRange:c,rowRange:c.map(function(e){return e.setColumns(0,0)}),columnRange:c.map(function(e){return e.setRows(0,0)})}}},{key:"on",value:function(c,e){var t=this._on.on(c,e);return this._listeners.push(t),t}},{key:"destroy",value:function(){this._listeners.forEach(function(c){return c.remove()}),this._dataStore.destroy(),this._dataStore=null,this._data=null,this._cellMetaData=null,this._rangeList=null,this._rowMetaData=null,this._columnMetaData=null,this._pagedRangeList=null,this._pagedData=null}}])}();return n},A,x),A.exports=w},82079:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(29557),a(2717),a(88781),a(46465),a(14897),a(23319),a(49331)],w=a.dj.d(T,function(u,r,d,n,i,o,c){"use strict";var e="LOCAL",t="SERVER",s={LOCAL:{TREE:u,TABLE:r,TREETABLE:d},SERVER:{TREE:i,TREETABLE:o,TABLE:c}},l=function(I){return Object.values(n).includes(I)},p=function(I,S){return new s[t][I.type](I,S)},E=function(I,S){var R=s[e][S.type],N=new R(I,S);if(!N)throw new Error("DataStore not created");return N._type=S.type,N},m=function(I,S){if(!S.type)throw new Error("type required.");if(!l(S.type))throw new Error("Invalid type");return!Array.isArray(I)&&I&&l(I.type)?p(I,S):E(I,S)},y=function(){function b(){throw C(this,b),new Error("This class is not instantiable")}return _(b,null,[{key:"create",value:function(S){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return m(S,R)}}])}();return y},A,x),A.exports=w},40637:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function r(){C(this,r),this._events={}}return _(r,[{key:"on",value:function(n,i){var o=this;this._events[n]||(this._events[n]=[]),this._events[n].push(i);var c={};return c.remove=function(){var e=o._events[n].indexOf(i);o._events[n].splice(e,1),c.remove=function(){return null}},c}},{key:"emit",value:function(n,i){var o=this._events[n],c=Object.getOwnPropertyNames(i),e={};e.eventName=n,c.forEach(function(s){e[s]=i[s]});var t=function(l){l&&l.forEach(function(p){p(e)})};t(o)}}])}();return u},A,x),A.exports=w},63241:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{dataType:{BOOLEAN:"boolean",STRING:"string",NUMBER:"number",DEFAULT_DATA_TYPE:"string"},COLUMN_INDEX:"columnIndex",VALUE:"value",COMPARE_PROPERTY:"compare",COMPARE_TYPE:"type",DATA_TYPE:"dataType",CASE_SENSITIVE:"caseSensitive",PARAM:"param",type:{CONTAINS:"contains",STARTS_WITH:"startsWith",ENDS_WITH:"endsWith",EQUAL:"equalTo",NOT_EQUAL:"notEqualTo",LESS_THAN:"lessThan",GREATER_THAN:"greaterThan",LESS_THAN_EQUAL_TO:"lessThanEqualTo",GREATER_THAN_EQUAL_TO:"greaterThanEqualTo",FUNCTION:"function",DEFAULT_COMPARE_TYPE:"contains"},caseSensitive:{TRUE:!0,FALSE:!1,DEFAULT_CASE_SENSITIVE:!1}}},A,x),A.exports=w},46465:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{TREE:"TREE",TREETABLE:"TREETABLE",TABLE:"TABLE"}},A,x),A.exports=w},85589:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{POSITION:{FIRST:"first",LAST:"last",NEXT:"next",PREVIOUS:"previous"}}},A,x),A.exports=w},27807:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{ERROR_CIRCULAR_REF:"ERROR_CIRCULAR_REF",ERROR_SAVE_FAILED:"ERROR_SAVE_FAILED",ERROR_VALIDATION:"ERROR_VALIDATION",ERROR_UNKNOWN:"ERROR_UNKNOWN",ERROR_NODE_NON_EXISTENT:"ERROR_NODE_NON_EXISTENT"}},A,x),A.exports=w},60330:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{order:{ASC:"ASC",DESC:"DESC"},compare:{NUMERIC:"NUMERIC",STRING:"STRING"}}},A,x),A.exports=w},20438:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(37999)],w=a.dj.d(T,function(u){"use strict";var r=function(){function d(n){C(this,d),this._getLocalCell=n.getLocalCell,this._pagedRangeList=[],this._pagedData=[]}return _(d,[{key:"managePaging",value:function(i){var o=this._pagedRangeList;return this._pagedRangeList=i,this._reactToNewPageRanges(o,i),{dataChanged:!1,data:this._pagedData}}},{key:"dataArrived",value:function(i){var o=this._reactToNewData(i);return{dataChanged:o,data:this._pagedData}}},{key:"_reactToNewPageRanges",value:function(i,o){this._discardOrphanedPagedData(i,o),this._fillInMissingPagedData(o)}},{key:"_discardOrphanedPagedData",value:function(i,o){var c=this,e=this._pagedData.length;e>o.length&&(this._pagedData=this._pagedData.slice(0,o.length));var t=function(l,p,E,m,y){for(var b=l;b<E;)y(b),b=b+1;for(b=m+1;b<=p;)y(b),b=b+1};o.forEach(function(s,l){var p=i[l];if(p){if(t(p.rows.start,p.rows.end,s.rows.start,s.rows.end,function(b){c._pagedData[l][b]=void 0}),p.columns.start<s.columns.start||p.columns.end>s.columns.end)for(var E=Math.max(s.rows.start,p.rows.start),m=Math.min(s.rows.end,p.rows.end),y=E;y<=m;)t(p.columns.start,p.columns.end,s.columns.start,s.columns.end,function(b){c._pagedData[l][y][b]=void 0}),y=y+1}else c._pagedData[l]=[]})}},{key:"_fillInMissingPagedData",value:function(i){var o=this;i.forEach(function(c,e){var t=o._pagedData[e];if(!(t.range&&u.isRangeEqual(t.range,c))){if(t.range&&u.isRangeInside(t.range,c)){t.range=c;return}var s=!t.range||c.columns.start<t.range.columns.start||c.columns.end>t.range.columns.end,l=c.rows.start,p=c.rows.end,E=c.columns.start,m=c.columns.end;t=o._updateCellRange(t,l,p,E,m,s,!0),t.range=c,o._pagedData[e]=t}})}},{key:"_reactToNewData",value:function(i){var o=this,c=this._pagedRangeList,e=!1;return c.forEach(function(t,s){i.forEach(function(l){if(u.doesRangeIntersect(t,l)){var p=o._pagedData[s],E=Math.max(t.rows.start,l.rows.start),m=Math.min(t.rows.end,l.rows.end),y=Math.max(t.columns.start,l.columns.start),b=Math.min(t.columns.end,l.columns.end),I=!0;p=o._updateCellRange(p,E,m,y,b,I,!1),o._pagedData[s]=p,e=!0}})}),e}},{key:"_updateCellRange",value:function(i,o,c,e,t,s,l){for(var p=o;p<=c;p+=1){var E=i[p];if(s||!E){var m=[];if(E){for(var y=i.range.columns.start;y<e;y+=1)m[y]=i[p][y];for(var b=t+1;b<=i.range.columns.end;b+=1)m[b]=i[p][b]}for(var I=e;I<=t;I+=1)if(l&&E&&i.range.columns.start<=I&&i.range.columns.end>=I)m[I]=i[p][I];else{var S=this._getLocalCell(p,I);m[I]=this._shallowCopyIfObject(S)}i[p]=m}}return i}},{key:"_shallowCopyIfObject",value:function(i){if(!(i instanceof Object))return i;var o=Object.getPrototypeOf(i),c=Object.create(o),e=Object.keys(i);return e.forEach(function(t){c[t]=i[t]}),i.hasOwnProperty("path")&&!c.hasOwnProperty("path")&&Object.defineProperty(c,"path",{get:function(){return i.path}}),c}}])}();return r},A,x),A.exports=w},40634:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(41239),a(13499)],w=a.dj.d(T,function(e,t){var s=function(l){function p(){var E;return C(this,p),E=u(this,p),E._orderedRules=[],E}return o(p,l),_(p,[{key:"add",value:function(m){this._orderedRules.push(m)}},{key:"remove",value:function(m){var y=[],b=e.findIndex(this._orderedRules,function(S){return S.name===m});if(b>=0){var I=this._orderedRules.splice(b,1);y=I[0].rangeList}return y}},{key:"getRulesForRange",value:function(m){for(var y=[],b=0;b<this._orderedRules.length;b+=1){var I=this._orderedRules[b];I.applyMetaDataFunction(m)&&y.push(I)}var S=y.slice();return S.length!==0&&(y=this._rearrangeHierarchyRules(S,m)),y}},{key:"_rearrangeHierarchyRules",value:function(m,y){for(var b=[],I=y.dynamic.path,S=I.length-1;S>=0&&m.length>0;S--){for(var R=[],N=0;N<m.length;N++)m[N].dataSelector.value.includes(I[S])&&(R.push(m[N]),m.splice(N,1),N--);R.reverse().forEach(function(O){b.unshift(O)})}return b}}])}(t);return s},A,x),A.exports=w},53768:(A,x,a)=>{"use strict";var T,w;T=[a(37999),a(46465)],w=a.dj.d(T,function(h,C){var g=[h.range().setRows(0,1/0).setColumns(0,1/0)],_=function(){return!0},v=function(n){if(isNaN(n)||n<=0)throw new Error("'value' for Nth-type dataSelectorsmust be numeric and a positive number.")},f={node:"node",rangeList:"rangeList",nthRow:"nthRow",nthColumn:"nthColumn",hierarchy:"hierarchy",all:"all"},u=[];u[C.TREE]=[f.node,f.rangeList,f.nthRow,f.nthColumn,f.hierarchy,f.all],u[C.TREETABLE]=[f.rangeList,f.nthRow,f.nthColumn],u[C.TABLE]=[f.rangeList,f.nthRow,f.nthColumn];var r={node:{validator:function(n,i){if(!n.node)throw new Error("Metadata property should contain nodeproperty to set metadata on Tree Nodes")},getRangeList:function(n){return g},makeApplyMetaDataFunction:function(n){return _}},rangeList:{validator:function(n,i){var o=i.value;if(!Array.isArray(o))throw new Error("'rangeList' must be an array");if(n.row&&!o.every(h.isRowRange))throw new Error("Cannot set row meta data on 'non-row' ranges");if(n.column&&!o.every(h.isColumnRange))throw new Error("Cannot set column meta data on 'non-column' ranges")},getRangeList:function(n){var i=n.value;return i},makeApplyMetaDataFunction:function(n){return _}},nthRow:{validator:function(n,i){var o=i.value;if(n.column)throw new Error("Cannot set column meta data on 'non-column' dataSelectors");v(o)},getRangeList:function(n){return g},makeApplyMetaDataFunction:function(n){var i=n.value;return function(o,c){return o%i===0}}},nthColumn:{validator:function(n,i){var o=i.value;if(n.row)throw new Error("Cannot set row meta data on 'non-row' dataSelectors");v(o)},getRangeList:function(n){return g},makeApplyMetaDataFunction:function(n){var i=n.value;return function(o,c){return c%i===0}}},hierarchy:{validator:function(n,i){if(n.column)throw new Error("Error in hierarchy: Cannot set column meta data on hierarchy dataSelector");if(!(typeof i.value=="string"||Array.isArray(i.value)))throw new Error("Error in hierarchy: Node id must be either a string or an array")},getRangeList:function(n){return g},makeApplyMetaDataFunction:function(n){return function(i){return!i.dynamic||typeof i.dynamic.path>"u"?!1:Array.isArray(n.value)?i.dynamic.path.some(function(o){return n.value.includes(o)}):i.dynamic.path.includes(n.value)}}},all:{validator:function(n,i){var o=i.value;if(o!==void 0)throw new Error("all dataselector does not take a value")},getRangeList:function(n){return g},makeApplyMetaDataFunction:function(n){return _}}};return{create:function(n,i,o){if(u[o].indexOf(i.type)===-1)throw new Error("The dataSelector type "+i.type+" is not valid for "+o+" DataStore");var c=r[i.type];if(!c)throw new Error("dataSelector type is unknown: "+i.type);c.validator(n,i);var e=!1;(typeof n.cell=="function"||typeof n.row=="function"||typeof n.column=="function")&&(e=!0);var t=c.getRangeList(i),s=c.makeApplyMetaDataFunction(i);return{getDataSelector:function(){return i},getMetaData:function(){return n},isDynamic:e,_getRangeList:function(){return t.slice(0)},_applyMetaDataFunction:s,dataSelector:i}},dataSelectorTypes:f}},A,x),A.exports=w},68631:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(53768),a(13499),a(40634),a(40637)],w=a.dj.d(T,function(u,r,d,n){var i="|RESULT|",o;Object.assign&&(o=function(t,s){return Object.assign({},t,s)});var c=function(){function e(){C(this,e),this._metaData={},this._metaDataOrder=new r,this._hierarchicalMetaDataOrder=new d,this._dynamicMetaDataOrder=new r,this._hierarchicalDynamicMetaDataOrder=new d,this._clearCache(),this._on=new n}return _(e,[{key:"on",value:function(s,l){return this._on.on(s,l)}},{key:"_clearCache",value:function(){this._cacheRuleResult={},this._cacheRuleResult.cell={},this._cacheRuleResult.row={},this._cacheRuleResult.column={}}},{key:"add",value:function(s,l){if(s.indexOf("|")>0||s.indexOf("*")>0||s.indexOf("$")>0)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.addBuiltIn(s,l)}},{key:"_getMetaDataRuleToAdd",value:function(s,l){var p=l._getRangeList();this._metaData[s]=l;var E=l.getMetaData();E.cell=E.cell||{},E.row=E.row||{},E.column=E.column||{};var m={name:s,rangeList:p,metaData:E,isDynamic:l.isDynamic,applyMetaDataFunction:l._applyMetaDataFunction,dataSelector:l.dataSelector};return m}},{key:"addBuiltIn",value:function(s,l){if(typeof l._getRangeList!="function"||typeof l.getMetaData!="function")throw new Error("A metaDataRule must be created using 'create' before trying to add it");var p=this._metaData[s],E=[];p&&(E=this._getOrderedRules(p).remove(s));var m=l._getRangeList();this._metaData[s]=l;var y=l.getMetaData();y.cell=y.cell||{},y.row=y.row||{},y.column=y.column||{};var b={name:s,rangeList:m,metaData:y,isDynamic:l.isDynamic,applyMetaDataFunction:l._applyMetaDataFunction,dataSelector:l.dataSelector};this._getOrderedRules(l).add(b),this._clearCache(),this._raiseChangeEvent(E.concat(m))}},{key:"_getOrderedRules",value:function(s){return this._isHierarchicalRule(s)?s.isDynamic?this._hierarchicalDynamicMetaDataOrder:this._hierarchicalMetaDataOrder:s.isDynamic?this._dynamicMetaDataOrder:this._metaDataOrder}},{key:"remove",value:function(s){if(s.indexOf("|")>-1||s.indexOf("*")>-1||s.indexOf("$")>-1)throw new Error('"|", "*", and "$" are invalid in metadata rule names');this.removeBuiltIn(s)}},{key:"update",value:function(s,l){if(!this._doesMetaDataRuleExist(s))throw new Error("There is no metaData rule with name:"+s);if(this._isMetaDataRuleUpdateChangingNature(s,l)){this.remove(s),this.add(s,l);return}else this._getOrderedRules(l).update(s,this._getMetaDataRuleToAdd(s,l));this._clearCache()}},{key:"_doesMetaDataRuleExist",value:function(s){return!!this._metaData[s]}},{key:"_isMetaDataRuleUpdateChangingNature",value:function(s,l){return this._isDataSelectorChanged(s,l)||this._isMetaDataNatureChanged(s,l)}},{key:"_isMetaDataNatureChanged",value:function(s,l){return this._metaData[s].isDynamic!==l.isDynamic}},{key:"_isDataSelectorChanged",value:function(s,l){return this._metaData[s].dataSelector.type!==l.dataSelector.type}},{key:"removeBuiltIn",value:function(s){var l=this._metaData[s];if(!l)throw new Error("'".concat(s,"' does not exist"));this._clearCache();var p=this._getOrderedRules(l).remove(s);delete this._metaData[s],this._raiseChangeEvent(p)}},{key:"get",value:function(s){var l=this._metaData[s];if(!l)throw new Error("'".concat(s,"' does not exist"));return this._metaData[s]}},{key:"_raiseChangeEvent",value:function(s){this._on.emit("metaDataChanged",{rangeList:s})}},{key:"getCellMetaData",value:function(s){var l={rows:{start:s.rowIndex,end:s.rowIndex,count:1},columns:{start:s.columnIndex,end:s.columnIndex,count:1}};return s.dynamic&&(s.dynamic.columnIndex=s.columnIndex,s.dynamic.rowIndex=s.rowIndex),this._getMetaData(l,"cell",s)}},{key:"getRowMetaData",value:function(s){var l={rows:{start:s.rowIndex,end:s.rowIndex,count:1},columns:{start:0,end:0,count:1}};return s.dynamic&&(s.dynamic.rowIndex=s.rowIndex),this._getMetaData(l,"row",s)}},{key:"getColumnMetaData",value:function(s){var l={rows:{start:0,end:0,count:1},columns:{start:s.columnIndex,end:s.columnIndex,count:1}};return s.dynamic&&(s.dynamic.columnIndex=s.columnIndex),this._getMetaData(l,"column",s)}},{key:"_getMetaData",value:function(s,l,p){var E=this._metaDataOrder.getRulesForRange(s);Array.prototype.push.apply(E,this._hierarchicalMetaDataOrder.getRulesForRange(p)),Array.prototype.push.apply(E,this._dynamicMetaDataOrder.getRulesForRange(s)),Array.prototype.push.apply(E,this._hierarchicalDynamicMetaDataOrder.getRulesForRange(p));var m={},y=this._cacheRuleResult[l],b,I,S,R,N;for(N=0;N<E.length&&(R=E[N],I=R.name,b=y[I],!!b);N+=1)m=b[i],y=y[I];for(var O=!0,L=N;L<E.length;L+=1){if(R=E[L],I=R.name,S=R.metaData[l],R.isDynamic&&typeof S=="function"){if(!p.dynamic)continue;S=Object.assign({},S(p.dynamic)),O=!1}m=this._combineMetaData(m,S),O&&(y[I]={},y[I][i]=m,y=y[I])}return m}},{key:"_combineMetaData",value:function(s,l){var p=null;(s.style||l.style)&&(p=o(s.style||{},l.style||{}));var E=o(s,l);return p&&(E.style=p),E}},{key:"_isHierarchicalRule",value:function(s){return s.dataSelector.type==="hierarchy"}}])}();return c.create=u.create,c.dataSelectorTypes=u.dataSelectorTypes,c},A,x),A.exports=w},13499:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(37999),a(41239)],w=a.dj.d(T,function(u,r){var d=function(){function n(){C(this,n),this._orderedRules=[]}return _(n,[{key:"add",value:function(o){this._orderedRules.push(o)}},{key:"update",value:function(o,c){var e=r.findIndex(this._orderedRules,function(t){return t.name===o});e>=0&&(this._orderedRules[e]=c)}},{key:"remove",value:function(o){var c=[],e=r.findIndex(this._orderedRules,function(s){return s.name===o});if(e>=0){var t=this._orderedRules.splice(e,1);c=t[0].rangeList}return c}},{key:"getRulesForRange",value:function(o){for(var c=[],e=0;e<this._orderedRules.length;e+=1){for(var t=this._orderedRules[e],s=t.rangeList,l=!1,p=0;p<s.length&&(l=u.doesRangeIntersect(s[p],o),!l);p+=1);l&&t.applyMetaDataFunction(o.rows.start,o.columns.start)&&c.push(t)}return c}}])}();return d},A,x),A.exports=w},84580:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(60330)],w=a.dj.d(T,function(u){var r,d="en-US",n={caseFirst:"lower",ignorePunctuation:!1,numeric:!1,sensitivity:"variant",usage:"sort"};if(typeof Intl<"u"&&Intl.Collator){var i=new Intl.Collator(d,n);r=function(e,t){return i.compare(e,t)}}else r=function(e,t){return String.prototype.localeCompare.call(e,t,d,n)};var o={STRING:r,NUMERIC:function(e,t){typeof e!="number"&&(e=parseFloat(e)),typeof t!="number"&&(t=parseFloat(t));var s=e-t;return isNaN(s)?isNaN(e)&&isNaN(t)?0:isNaN(e)?-1:1:s}};return function(){function c(){C(this,c),this._sorted=!1,this._sortOptions=[]}return _(c,[{key:"removePersistentSort",value:function(){this._sorted=!1,this._sortOptions=[]}},{key:"sorted",get:function(){return this._sorted}},{key:"sortOptions",get:function(){return this._sortOptions}},{key:"sort",value:function(t,s){if(s)throw new Error("Sort is not implimented with arbitrary options");if(!this._sorted)throw new Error("Sort is only available when sort is maintained on Tree using the 'sorted' option");s=s||this._sortOptions;var l=this.generateCompareFunctionFromList(s);t.sort(l)}},{key:"getInsertIndex",value:function(t,s){if(!this._sorted)throw new Error("getInsertIndex is only available when sort is maintained on Tree using the 'sorted' option");for(var l=this._sortOptions,p=this.generateCompareFunctionFromList(l),E=0,m=t.length,y,b,I;E<m;){if(y=Math.floor((m+E)/2),b=t[y],I=p(s,b),I===0)return y;I<0?m=y:E=y+1}return E}},{key:"generateCompareFunctionFromList",value:function(t){for(var s=[],l=0;l<t.length;l+=1){var p=t[l];s.push(this._generateCompareFunctionFromItem(p))}var E=function(y,b){for(var I=0;I<s.length;I+=1){var S=s[I](y,b);if(S!==0)return S}return 0};return E}},{key:"_generateCompareFunctionFromItem",value:function(t){var s=1;t.order===u.order.DESC&&(s=-1);var l=o[t.compare],p=this._getSortField(t);return function(E,m){var y=E[p],b=m[p];if(typeof y>"u"||typeof b>"u")throw new Error("A valid field must be specified");return l(y,b)*s}}},{key:"_validateSortOption",value:function(t,s){if(this._validateFieldToSort(t,s),!o[t.compare])throw new Error("A valid compare type must be specified!");if(!u.order[t.order])throw new Error("A valid sort order must be specified!")}},{key:"validateCustomSortName",value:function(t){if(u.compare[t])throw new Error(t+" is already a built-in sort type. Please provide a unique name.")}},{key:"addCustomCompare",value:function(t,s){o[t]=s}}])}()},A,x),A.exports=w},37999:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(t){return t===0||t>0},r=function(t,s){if(!u(t))throw new Error("Invalid start value set");if(!u(s)&&(t!==0||s!==-1))throw new Error("Invalid end value set");var l={};return Object.defineProperty(l,"start",{value:t,enumerable:!0}),Object.defineProperty(l,"end",{value:s,enumerable:!0}),Object.defineProperty(l,"count",{value:s-t+1,enumerable:!0}),l},d=function(t,s){return s.start<=t.end&&s.end>=t.start},n=function(t,s,l,p){return new o(l,p,t,s)},i=function(t,s,l,p){return new o(t,s,l,p)},o=function(){function e(t,s,l,p){C(this,e),Object.defineProperties(this,{rows:{value:r(t,s),enumerable:!0},columns:{value:r(l,p),enumerable:!0}})}return _(e,[{key:"column",get:function(){return this.columns.start===this.columns.end&&this.rows.start===0&&this.rows.end===1/0?this.columns.start:null}},{key:"row",get:function(){return this.rows.start===this.rows.end&&this.columns.start===0&&this.columns.end===1/0?this.rows.start:null}},{key:"setEntireColumns",value:function(s,l){return l===void 0&&(l=s),new e(0,1/0,s,l)}},{key:"setEntireRows",value:function(s,l){return l===void 0&&(l=s),new e(s,l,0,1/0)}},{key:"setColumns",value:function(s,l){return new e(this.rows.start,this.rows.end,s,l)}},{key:"setRows",value:function(s,l){return new e(s,l,this.columns.start,this.columns.end)}}])}();Object.defineProperty(o.prototype,"row",{enumerable:!0}),Object.defineProperty(o.prototype,"column",{enumerable:!0});var c=function(){function e(){C(this,e)}return _(e,null,[{key:"range",value:function(){return new o(0,-1,0,-1)}},{key:"doesRangeListIntersect",value:function(s,l){for(var p=0;p<s.length;p+=1)for(var E=0;E<l.length;E+=1)if(e.doesRangeIntersect(s[p],l[E]))return!0;return!1}},{key:"doesRangeIntersect",value:function(s,l){return s.columns.start<=l.columns.end&&s.columns.end>=l.columns.start&&s.rows.start<=l.rows.end&&s.rows.end>=l.rows.start}},{key:"isRangeEqual",value:function(s,l){return s===l||s.columns.start===l.columns.start&&s.columns.end===l.columns.end&&s.rows.start===l.rows.start&&s.rows.end===l.rows.end}},{key:"isRangeInside",value:function(s,l){return s===l||s.columns.start<=l.columns.start&&s.columns.end>=l.columns.end&&s.rows.start<=l.rows.start&&s.rows.end>=l.rows.end}},{key:"isRowRange",value:function(s){return s.columns.start===0&&s.columns.end===1/0}},{key:"isColumnRange",value:function(s){return s.rows.start===0&&s.rows.end===1/0}},{key:"groupRangeListByRow",value:function(s){return e._groupRangeList(s,"rows")}},{key:"groupRangeListByColumn",value:function(s){return e._groupRangeList(s,"columns")}},{key:"removeRowsFromRangeList",value:function(s,l){return e._removeIntervalFromRank("rows",s,l,i)}},{key:"removeColumnsFromRangeList",value:function(s,l){return e._removeIntervalFromRank("columns",s,l,n)}},{key:"removeRangeFromRangeList",value:function(s,l){for(var p=[],E=0;E<s.length;E+=1)p=p.concat(e._removeIntersection(s[E],l));return p}},{key:"isRangeInsideRangeList",value:function(s,l){for(var p=[s],E=0;E<l.length&&p.length>0;E+=1){var m=l[E];p=e.removeRangeFromRangeList(p,m)}return p.length===0}},{key:"_removeIntersection",value:function(s,l){var p=[{rank:"columns",secondaryRank:"rows",makeRange:n},{rank:"rows",secondaryRank:"columns",makeRange:i}],E=s,m=[];return e.doesRangeIntersect(s,l)?p.forEach(function(y){var b=y.rank,I=y.secondaryRank,S=y.makeRange,R=E[b],N=l[b],O=[E[I].start,E[I].end];R.start<N.start&&(m.push(S.apply(void 0,[R.start,N.start-1].concat(O))),E=S.apply(void 0,[N.start,R.end].concat(O))),N.end<R.end&&(m.push(S.apply(void 0,[N.end+1,R.end].concat(O))),E=S.apply(void 0,[E[b].start,N.end].concat(O)))}):m=[s],m}},{key:"_removeIntervalFromRank",value:function(s,l,p,E){var m="columns",y=[];s==="columns"&&(m="rows");for(var b=0;b<l.length;b+=1){var I=l[b],S=I[s],R=S.start,N=S.end,O=[I[m].start,I[m].end];d(I[s],p)?I[s].end<=p.end&&I[s].start>=p.start||(I[s].start>=p.start?y.push(E.apply(void 0,[p.end+1,N].concat(O))):I[s].end<=p.end?y.push(E.apply(void 0,[R,p.start-1].concat(O))):(y.push(E.apply(void 0,[R,p.start-1].concat(O))),y.push(E.apply(void 0,[p.end+1,N].concat(O))))):y.push(I)}return y}},{key:"_groupRangeList",value:function(s,l){var p=[],E={};return s.forEach(function(m){var y=e._hashRankFromRange(m,l),b=E[y];b>=0?p[b].push(m):(b=p.length,E[y]=b,p[b]=[m])}),p}},{key:"_hashRankFromRange",value:function(s,l){var p=s[l].start,E=s[l].end,m=s[l].count;return m===0?-1:E*E+E+p}},{key:"clipRange",value:function(s,l){if(!e.doesRangeIntersect(l,s))throw new Error("rangeToBeClipped is not intersecting with BoundaryRange");var p=s;return s.columns.end>l.columns.end&&(p=s.setColumns(s.columns.start,l.columns.end)),s.rows.end>l.rows.end&&(p=p.setRows(p.rows.start,l.rows.end)),p}}])}();return c},A,x),A.exports=w},62781:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(37999),a(40637),a(27807),a(98777),a(50819)],w=a.dj.d(T,function(u,r,d,n,i){var o="dataSizeChanged",c="dataChanged",e="pagedRowMetaDataChanged",t="pagedColumnMetaDataChanged",s="pagedWidgetMetaDataChanged",l="viewPortRangeChanged",p=function(){return new Promise(function(y){y({})})},E=function(){function m(y,b){C(this,m),this._type=b.type,this._cachingDataProvider=new n(y,b),this._on=new r,this._dataSave=b.dataSave||{},this._listeners=[],this._viewPortRange=u.range(),this.dataSize=u.range(),this._setLatestDataSizeFromInfoHandler(),this._listeners.push(this._cachingDataProvider.on(c,this._forwardDataChangedEvent.bind(this)),this._cachingDataProvider.on(o,this._forwardDataSizeChangedEvent.bind(this)),this._cachingDataProvider.on(e,this._forwardPagedRowMetaDataChangedEvent.bind(this)),this._cachingDataProvider.on(t,this._forwardPagedColumnMetaDataChangedEvent.bind(this)),this._cachingDataProvider.on(s,this._forwardPagedWidgetMetaDataChangedEvent.bind(this)))}return _(m,[{key:"_forwardDataChangedEvent",value:function(b){this._emitEvent(c,b)}},{key:"_forwardPagedRowMetaDataChangedEvent",value:function(b){this._emitEvent(e,b)}},{key:"_forwardPagedColumnMetaDataChangedEvent",value:function(b){this._emitEvent(t,b)}},{key:"_forwardPagedWidgetMetaDataChangedEvent",value:function(b){this._emitEvent(s,b)}},{key:"_forwardDataSizeChangedEvent",value:function(b){this.dataSize=b.dataSize,this._emitEvent(o,b)}},{key:"on",value:function(b,I){var S=this._on.on(b,I);return this._listeners.push(S),S}},{key:"managePaging",value:function(b){var I=this._combineRanges(b);I!==void 0&&(this._cachingDataProvider.managePaging([I]),this._updateLocalViewPortInfo())}},{key:"getData",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Array.isArray(b)){var I=b.slice();return this._cachingDataProvider.getData(I)}else{var S=b.proxyNodes;if(S){if(!Array.isArray(S))return Promise.reject(new Error("The proxyNodes property should be an array"))}else return Promise.reject(new Error("Expected an object with a property of proxyNodes"))}}},{key:"_combineRanges",value:function(b){for(var I=1/0,S=-1,R=1/0,N=-1,O=!1,L=0;L<=b.length-1;L++)if(u.doesRangeIntersect(this._cachingDataProvider.dataSize,b[L])){O=!0;var U=u.clipRange(b[L],this._cachingDataProvider.dataSize);I=Math.min(I,U.rows.start),S=Math.max(S,U.rows.end),R=Math.min(R,U.columns.start),N=Math.max(N,U.columns.end)}if(b.length>=1&&O)return u.range().setRows(I,S).setColumns(R,N)}},{key:"getLocalCellData",value:function(b,I){return this._cachingDataProvider.getLocalCellData(b,I)}},{key:"getLocalCellMetaData",value:function(b,I){return this._cachingDataProvider.getLocalCellMetaData(b,I)}},{key:"getLocalRowMetaData",value:function(b){return this._cachingDataProvider.getLocalRowMetaData(b)}},{key:"getLocalColumnMetaData",value:function(b){return this._cachingDataProvider.getLocalColumnMetaData(b)}},{key:"getLocalWidgetMetaData",value:function(){return this._cachingDataProvider.getLocalWidgetMetaData()}},{key:"_needParentIdFor",value:function(b){return this._cachingDataProvider._needParentIdFor(b)}},{key:"_doSaveOperation",value:function(b,I){var S=this;return b=b||p,new Promise(function(R,N){b.call(S,I).then(function(O){R({message:O.message||"",reason:"",custom:O.custom||{},success:!0})},function(O){var L=new Error(O.message||"");L.reason=d[O.reason]||d.ERROR_UNKNOWN,L.custom=O.custom||{},L.success=!1,N(L)})})}},{key:"createMetaDataRule",value:function(b,I){return this._cachingDataProvider.createMetaDataRule(b,I)}},{key:"addMetaDataRule",value:function(b,I){return this._cachingDataProvider.addMetaDataRule(b,I)}},{key:"updateMetaDataRule",value:function(b,I,S){return this._cachingDataProvider.updateMetaDataRule(b,I,S)}},{key:"removeMetaDataRule",value:function(b){return this._cachingDataProvider.removeMetaDataRule(b)}},{key:"_setLatestDataSizeFromInfoHandler",value:function(){var b=this,I=this._cachingDataProvider.setLatestDataSizeFromDataProvider();I!==this.dataSize&&(this.dataSize=I,setTimeout(function(){b._emitEvent(o,{dataSize:b.dataSize})},0))}},{key:"_emitEvent",value:function(b,I){this._on.emit(b,I)}},{key:"_updateLocalViewPortInfo",value:function(){this._viewPortRange!==this._cachingDataProvider.getViewPortRange()&&(this._viewPortRange=this._cachingDataProvider.getViewPortRange(),this._emitEvent(l,{range:this._viewPortRange}))}},{key:"filter",value:function(b){var I=this;return new Promise(function(S){I._cachingDataProvider.filter(b).then(function(R){S(R)})})}},{key:"clearFilter",value:function(){var b=this;return new Promise(function(I){b._cachingDataProvider.clearFilter().then(function(S){I(S)})})}},{key:"sort",value:function(b){var I=this;return new Promise(function(S){I._cachingDataProvider.sort(b).then(function(R){S(R)})})}},{key:"search",value:function(b){var I=this;return new Promise(function(S){I._cachingDataProvider.search(b).then(function(R){S(R)})})}},{key:"clearSearch",value:function(){var b=this;return new Promise(function(I){b._cachingDataProvider.clearSearch().then(function(S){I(S)})})}},{key:"destroy",value:function(){this._listeners.forEach(function(b){return b.remove()}),this._cachingDataProvider.destroy(),this._cachingDataProvider=void 0}}])}();return E},A,x),A.exports=w},49331:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(62781),a(37999)],w=a.dj.d(T,function(e,t){var s="ROW",l="COLUMN",p=function(E){function m(){return C(this,m),u(this,m,arguments)}return o(m,E),_(m,[{key:"add",value:function(b,I){var S=this,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N;return R.addType!==void 0?N=this._tablePartialAddParams(b,I,R.addType):N=this._tableFullAddParams(b,I),new Promise(function(O,L){var U={range:b,data:I,options:R};S._doSaveOperation(S._dataSave.beforeAdd,U).then(function(z){S._cachingDataProvider.add(N).then(function($){O(z)},function($){L($)})},function(z){L(z)})})}},{key:"remove",value:function(b){var I=this,S={};if(b.columns.start===0&&b.columns.end===1/0){if(b.rows.start>=this.dataSize.rows.count||b.rows.start<0)throw new Error("Index ".concat(b.rows.start," ")+"is out of range for remove");S.addOrRemoveRows=!0}else if(b.rows.start===0&&b.rows.end===1/0){if(S.addOrRemoveColumns=!0,b.columns.start>=this.dataSize.columns.count||b.columns.start<0)throw new Error("Index ".concat(b.columns.start," ")+"is out of range for remove")}else throw new Error("Could not determine remove type for given range");return new Promise(function(R,N){var O={range:b};I._doSaveOperation(I._dataSave.beforeRemove,O).then(function(L){I._cachingDataProvider.remove([b]).then(function(U){R(L)},function(U){N(U)})},function(L){N(L)})})}},{key:"update",value:function(b,I){var S=this;if(b.rows.count!==I.length)throw new Error("Range rows count ".concat(b.rows.count," ")+"does not match data.length for update");if(!t.isRangeInside(this.dataSize,b))throw new Error("Range exceeds dataSize for update");for(var R=0;R<I.length;R+=1)if(I[R].length!==b.columns.count)throw new Error("data[".concat(R,"] needs to contain ")+"".concat(b.columns.count," columns of data for update"));return new Promise(function(N,O){var L={range:b,data:I};S._doSaveOperation(S._dataSave.beforeUpdate,L).then(function(U){S._cachingDataProvider.update([{range:b,data:I}]).then(function(z){N(U)},function(z){O(z)})},function(U){O(U)})})}},{key:"getIndex",value:function(b){var I=this;return new Promise(function(S){I._cachingDataProvider.getIndex(b).then(function(R){S(R)})})}},{key:"_tableFullAddParams",value:function(b,I){var S;if(b.rows.start===b.rows.end&&b.columns.start===0&&b.columns.end===1/0){if(b.rows.start>this.dataSize.rows.count||b.rows.start<0)throw new Error("Index ".concat(b.rows.start," ")+"is out of range for add");for(var R=0;R<I.length;R+=1)if(I[R].length!==this.dataSize.columns.count)throw new Error("data[".concat(R,"] needs to contain ")+"".concat(this.dataSize.columns.count," columns of data for add"));S=s}else if(b.columns.start===b.columns.end&&b.rows.start===0&&b.rows.end===1/0){if(b.columns.start>this.dataSize.columns.count||b.columns.start<0)throw new Error("Index ".concat(b.columns.start," ")+"is out of range for add");var N=null;if(I.length!==this.dataSize.rows.count&&this.dataSize.rows.count>0)throw new Error("data needs to contain "+"".concat(this.dataSize.rows.count," rows of data for add"));for(var O=0;O<I.length;O+=1)if(N===null)N=I[O].length;else if(N!==I[O].length)throw new Error("The data[".concat(O,"] needs to contain ")+"the same number of columns (".concat(N,") as the ")+"first row for add");S=l}else throw new Error("Could not determine add type for given range");return this._makeTableDpAddParams([b],[I],[S])}},{key:"_tablePartialAddParams",value:function(b,I,S){if(S===s||S===l){if(!this._doesDataDimensionsMatchRange(b,I))throw new Error("Partial add: range and data dimensions does not match");return this._makeTableDpAddParams([b],[I],[S])}throw new Error("Partial add: Wrong addType for Partial addition of data")}},{key:"_doesDataDimensionsMatchRange",value:function(b,I){var S=b.rows.count,R=b.columns.count;if(I.length!==S)return!1;for(var N=0;N<=I.length-1;N++)if(I[N].length!==R)return!1;return!0}},{key:"_makeTableDpAddParams",value:function(b,I,S){for(var R=[],N=0;N<=b.length-1;N++)R.push({range:b[N],data:I[N],addType:S[N]});return R}}])}(e);return p},A,x),A.exports=w},14897:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function g(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,v(E.key),E)}}function _(s,l,p){return l&&g(s.prototype,l),p&&g(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s){var l=f(s,"string");return h(l)=="symbol"?l:l+""}function f(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}function u(s,l,p){return l=c(l),r(s,n()?Reflect.construct(l,p||[],c(s).constructor):l.apply(s,p))}function r(s,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(s)}function d(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(n=function(){return!!s})()}function i(){return typeof Reflect<"u"&&Reflect.get?i=Reflect.get.bind():i=function(l,p,E){var m=o(l,p);if(m){var y=Object.getOwnPropertyDescriptor(m,p);return y.get?y.get.call(arguments.length<3?l:E):y.value}},i.apply(this,arguments)}function o(s,l){for(;!Object.prototype.hasOwnProperty.call(s,l)&&(s=c(s),s!==null););return s}function c(s){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},c(s)}function e(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&t(s,l)}function t(s,l){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,m){return E.__proto__=m,E},t(s,l)}T=[a(23319)],w=a.dj.d(T,function(s){var l=function(p){function E(){return C(this,E),u(this,E,arguments)}return e(E,p),_(E,[{key:"remove",value:function(y){for(var b,I=arguments.length,S=new Array(I>1?I-1:0),R=1;R<I;R++)S[R-1]=arguments[R];return(b=i(c(E.prototype),"remove",this)).call.apply(b,[this].concat(S))}},{key:"move",value:function(y){for(var b,I=arguments.length,S=new Array(I>1?I-1:0),R=1;R<I;R++)S[R-1]=arguments[R];return(b=i(c(E.prototype),"move",this)).call.apply(b,[this].concat(S))}},{key:"update",value:function(y){for(var b,I=arguments.length,S=new Array(I>1?I-1:0),R=1;R<I;R++)S[R-1]=arguments[R];return(b=i(c(E.prototype),"update",this)).call.apply(b,[this].concat(S))}},{key:"getLocalCellData",value:function(y){return i(c(E.prototype),"getLocalCellData",this).call(this,y,0)}},{key:"getLocalCellMetaData",value:function(y){return i(c(E.prototype),"getLocalCellMetaData",this).call(this,y,0)}},{key:"getRowIds",value:function(y){throw new Error("getRowIds is not supported for Tree type")}}])}(s);return l},A,x),A.exports=w},23319:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(62781),a(50819),a(37999)],w=a.dj.d(T,function(e,t,s){var l=function(p){function E(){return C(this,E),u(this,E,arguments)}return o(E,p),_(E,[{key:"add",value:function(y,b){var I=this,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};return S.place===void 0&&(S.place="last"),new Promise(function(R,N){var O={parentId:y.id,node:b,options:S};I._doSaveOperation(I._dataSave.beforeAdd,O).then(function(L){I._cachingDataProvider.add([{parentProxy:y,nodeToAdd:b,columnRange:S.columnRange,options:S}]).then(function(U){R(L)},function(U){N(U)})},function(L){N(L)})})}},{key:"remove",value:function(y){var b=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepChildren:!1};return I&&I.keepChildren===!0||(I={keepChildren:!1}),new Promise(function(S,R){b._needParentIdFor(y.id).then(function(N){var O={parentId:N,removeId:y.id,options:I};b._doSaveOperation(b._dataSave.beforeRemove,O).then(function(L){b._cachingDataProvider.remove([{proxyNodeToRemove:y,options:I}]).then(function(U){S(L)},function(U){R(U)})},function(L){R(L)})})})}},{key:"move",value:function(y,b){var I=this,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};return S.place===void 0&&(S.place="last"),new Promise(function(R,N){I._needParentIdFor(y.id).then(function(O){var L={parentId:O,newParentId:b.id,nodeToMoveId:y.id,options:S};I._doSaveOperation(I._dataSave.beforeMove,L).then(function(U){I._cachingDataProvider.move([{nodeToMoveProxy:y,newParentProxy:b,options:S}]).then(function(z){R(U)},function(z){N(z)})},function(U){N(U)})})})}},{key:"update",value:function(y,b){var I=this;return new Promise(function(S,R){I._needParentIdFor(y.id).then(function(N){var O={parentId:N,updateId:y.id,fieldsToMerge:b};I._doSaveOperation(I._dataSave.beforeUpdate,O).then(function(L){I._cachingDataProvider.update([{proxyNodeToUpdate:y,fieldsToMerge:b}]).then(function(U){S(L)},function(U){R(U)})},function(L){R(L)})})})}},{key:"getParentNode",value:function(y){var b=this;return y=t.normalize(y),new Promise(function(I){b._cachingDataProvider.getParentNode(y).then(function(S){I(S)})})}},{key:"getNode",value:function(y){var b=this;return y=t.normalize(y),new Promise(function(I){b._cachingDataProvider.getNode(y).then(function(S){I(S)})})}},{key:"getRowIds",value:function(y){for(var b=this,I=0;I<=y.length-1;I++)if(!s.isRangeInside(this.dataSize,y[I]))throw new Error("Range exceeds data size");return new Promise(function(S,R){b._cachingDataProvider.getRowIds(y).then(function(N){S(N)})})}},{key:"expand",value:function(y){var b=this;return new Promise(function(I,S){b._cachingDataProvider.expand(y).then(function(R){I(R)},function(R){S(R)})})}},{key:"expandTo",value:function(y){var b=this;return new Promise(function(I,S){b._cachingDataProvider.expandTo(y).then(function(R){I(R)},function(R){S(R)})})}},{key:"expandAll",value:function(){var y=this;return new Promise(function(b,I){y._cachingDataProvider.expandAll().then(function(S){b(S)},function(S){I(S)})})}},{key:"collapseAll",value:function(){var y=this;return new Promise(function(b,I){y._cachingDataProvider.collapseAll().then(function(S){b(S)},function(S){I(S)})})}},{key:"collapse",value:function(y){var b=this;return new Promise(function(I,S){b._cachingDataProvider.collapse(y).then(function(R){I(R)},function(R){S(R)})})}},{key:"groupBy",value:function(y){var b=this;return new Promise(function(I){b._cachingDataProvider.groupBy(y).then(function(S){I(S)})})}},{key:"clearGroupBy",value:function(){var y=this;return new Promise(function(b){y._cachingDataProvider.clearGroupBy().then(function(I){b(I)})})}}])}(e);return l},A,x),A.exports=w},67091:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(20720),a(37999)],w=a.dj.d(T,function(u,r){var d=!0,n=0,i=1,o=function(){function c(e,t){C(this,c),this._rowCache=new Map,this.maxRows=e>0?e:1/0,this.maxCols=t>0?t:1/0,e>0&&(this._rowUsage=new u),t>0&&(this._columnCellCount={})}return _(c,[{key:"destroy",value:function(){delete this._rowCache,delete this._rowUsage}},{key:"insertDataIntoCache",value:function(t,s,l){var p=t.id,E=t.parentId,m=t.columnRange,y=t.data,b=t.rowMetaData,I=t.cellMetaData,S;return this.doesNodeIdExistInCache(p)?(S=this._insertIntoExistingRow(p,{id:p,parentId:E,columns:m,data:y,rowMetaData:b,cellMetaData:I},l),this._updateRowMetaData(p,b),S):(S=this._insertNewCacheEntry({id:p,parentId:E,columns:m,data:y,rowMetaData:b,cellMetaData:I},s,l),S)}},{key:"_updateRowUsage",value:function(t){this.maxRows!==1/0&&this._rowUsage.put(t)}},{key:"_updateColumnUsage",value:function(t,s){if(this.maxCols!==1/0){var l=this._rowCache.get(t);l.columnUsage.put(s)}}},{key:"doesCellsExistsInColumn",value:function(t){return this.maxCols!==1/0?!!(this._columnCellCount&&this._columnCellCount[t]):!0}},{key:"_updateColumnCellCount",value:function(t,s){this.maxCols!==1/0&&(this._columnCellCount[t]?this._columnCellCount[t]+=s:this._columnCellCount[t]=s)}},{key:"_deleteCachedRow",value:function(t,s){var l=this;if(this.maxCols!==1/0){var p=this._rowCache.get(t),E=p&&p.columnUsage._set;Array.from(E.keys()).forEach(function(m){l._updateColumnCellCount(m,s)})}this._rowCache.delete(t)}},{key:"_updateRowMetaData",value:function(t,s){var l=this._rowCache.get(t);l.rowMetaData=s}},{key:"_getCachedDataByIdAndCol",value:function(t,s){var l=this._rowCache.get(t).columnCache;return this._updateColumnUsage(t,s),l.get(s).data}},{key:"_getCachedCellMetaDataByIdAndCol",value:function(t,s){var l=this._rowCache.get(t).columnCache;return this._updateColumnUsage(t,s),l.get(s).cellMetaData}},{key:"_isCacheValid",value:function(t){var s=this._rowCache.get(t);return s?s.validBit:!1}},{key:"getColDataById",value:function(t,s,l){if(!(!this.doesNodeIdExistInCache(t)||!this._isCacheValid(t))){this._updateRowUsage(t);for(var p=[],E=s;E<=l;E++)this.doesDataExistInCache(t,E)?p.push(this._getCachedDataByIdAndCol(t,E)):p.push(void 0);return p}}},{key:"getRowMetaDataById",value:function(t){if(!(!this.doesNodeIdExistInCache(t)||!this._isCacheValid(t)))return this._updateRowUsage(t),this._rowCache.get(t).rowMetaData}},{key:"getColCellMetaDataById",value:function(t,s,l){if(!(!this.doesNodeIdExistInCache(t)||!this._isCacheValid(t))){this._updateRowUsage(t);for(var p=[],E=s;E<=l;E++)this.doesDataExistInCache(t,E)?p.push(this._getCachedCellMetaDataByIdAndCol(t,E)):p.push(void 0);return p}}},{key:"_getRowIndexfromId",value:function(t,s){return Number.isInteger(t)?t:Number(s&&s.rowId.getRowAssociatedWithId(t))}},{key:"_insertNewCacheEntry",value:function(t,s,l){var p;if(this.maxRows&&this._rowCache.size>=this.maxRows){l&&this._updateViewPortUsage(this._rowUsage,l,!1,s);var E=this._rowUsage.removeLRUItem(),m=this._getRowIndexfromId(E,s);Number.isInteger(m)&&(p=r.range().setRows(m,m).setColumns(0,1/0)),this._deleteCachedRow(E,-1)}var y={validBit:d,parentId:t.parentId,rowMetaData:t.rowMetaData,columnCache:new Map};this.maxCols&&this.maxCols!==1/0&&(y.columnUsage=new u),this._rowCache.set(t.id,y),this._updateRowUsage(t.id);for(var b=t.columns[n];b<=t.columns[i];b++){var I=t.data[b-t.columns[n]],S=t.cellMetaData[b-t.columns[n]];this._insertColumn(t.id,b,I,S,l)}return p}},{key:"_updateViewPortUsage",value:function(t,s){for(var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=arguments.length>3?arguments[3]:void 0,E=t.getLruKey(),m=l?E:this._getRowIndexfromId(E,p),y=m,b=!1,I=!0,S=s.rows,R=s.columns;I&&!b&&(l?I=m>=R.start&&m<=R.end:I=m>=S.start&&m<=S.end,!!I);)if(t.put(E),E=t.getLruKey(),m=l?E:this._getRowIndexfromId(E,p),m===y){b=!0;break}}},{key:"doesNodeIdExistInCache",value:function(t){return this._rowCache.has(t)}},{key:"doesValidNodeIdExistInCache",value:function(t){return this.doesNodeIdExistInCache(t)&&this._isCacheValid(t)}},{key:"doesDataExistInCache",value:function(t,s){if(!this.doesNodeIdExistInCache(t))return!1;var l=this._rowCache.get(t);return l.columnCache.has(s)}},{key:"updateRowMetaData",value:function(t,s){var l=!1;return this.doesValidNodeIdExistInCache(t)&&(this._rowCache.get(t).rowMetaData=Object.assign(this._rowCache.get(t).rowMetaData,s),l=!0),l}},{key:"_insertIntoExistingRow",value:function(t,s,l){for(var p=!1,E=s.columns[n];E<=s.columns[i];E++){var m=s.data[E-s.columns[n]],y=s.cellMetaData[E-s.columns[n]];p|=this._insertColumn(t,E,m,y,l)}if(p){var b=this._getRowIndexfromId(t);if(Number.isInteger(b))return r.range().setRows(b,b).setColumns(0,1/0)}}},{key:"_insertColumn",value:function(t,s,l,p,E){var m=!1,y=this._rowCache.get(t);if(this.maxCols&&y.columnCache.size>=this.maxCols){E&&this._updateViewPortUsage(y.columnUsage,E,!0);var b=y.columnUsage.removeLRUItem();this._updateColumnCellCount(b,-1),m=!0,y.columnCache.delete(b)}return y.columnCache.has(s)||this._updateColumnCellCount(s,1),y.columnCache.set(s,{data:l,cellMetaData:p}),this._updateColumnUsage(t,s),m}}])}();return o},A,x),A.exports=w},92234:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){var u=function(){function r(){C(this,r),this._columnMetaCache={cache:{},numberOfColumns:0}}return _(r,[{key:"insertMetaData",value:function(n,i){this._columnMetaCache.cache[n]=i,this._doesCacheExist(n)||this._columnMetaCache.numberOfColumns++}},{key:"getColumnMetaData",value:function(n){return this._columnMetaCache.cache[n]}},{key:"_doesCacheExist",value:function(n){return!!this._columnMetaCache.cache[n]}}])}();return u},A,x),A.exports=w},98777:(A,x,a)=>{"use strict";var T,w;function h(c){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(c)}function C(c){return f(c)||v(c)||_(c)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(c,e){if(c){if(typeof c=="string")return u(c,e);var t=Object.prototype.toString.call(c).slice(8,-1);if(t==="Object"&&c.constructor&&(t=c.constructor.name),t==="Map"||t==="Set")return Array.from(c);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(c,e)}}function v(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function f(c){if(Array.isArray(c))return u(c)}function u(c,e){(e==null||e>c.length)&&(e=c.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=c[t];return s}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function d(c,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,i(s.key),s)}}function n(c,e,t){return e&&d(c.prototype,e),t&&d(c,t),Object.defineProperty(c,"prototype",{writable:!1}),c}function i(c){var e=o(c,"string");return h(e)=="symbol"?e:e+""}function o(c,e){if(h(c)!="object"||!c)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var s=t.call(c,e||"default");if(h(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(c)}T=[a(37999),a(40637),a(67091),a(92234),a(46465),a(27807),a(11223),a(68631),a(53768)],w=a.dj.d(T,function(c,e,t,s,l,p,E,m,y){var b=0,I=1,S=!0,R="dataSizeChanged",N="dataChanged",O="pagedRowMetaDataChanged",L="pagedColumnMetaDataChanged",U="pagedWidgetMetaDataChanged",z="metaDataChanged",$=l.TABLE,W=l.TREE,V=function(B,P){B.hasOwnProperty("path")||Object.defineProperty(B,"path",{get:function(){return P.path}})},K=function(){function M(B,P){var k=this;r(this,M),this._type=P.type;var H=P.bufferSize&&P.bufferSize.maxRows,Y=P.bufferSize&&P.bufferSize.maxCols;this._infoCache=new t(H,Y),this._columnMetaDataCache=new s,this._dataProvider=B,this._on=new e,this._listeners=[],this._viewPortRange=c.range(),this.dataSize=c.range(),this.setLatestDataSizeFromDataProvider(),this.rowIdTranslate={rowId:new E,maxRowNum:void 0,minRowNum:void 0},this._metaDataRules=new m,this._listeners.push(this._dataProvider.on(N,this._handleDataProviderDataChangedEvent.bind(this))),this._listeners.push(this._metaDataRules.on(z,function(G){for(var Q=[],J=[],q=0;q<G.rangeList.length;q+=1){var oe=G.rangeList[q];if(c.isRowRange(oe)){var ie=oe.setColumns(0,0);J.push(ie)}if(c.isColumnRange(oe)){var pe=oe.setRows(0,0);Q.push(pe)}}Q.length>0&&k._emitPagedColumnMetaDataChanged(Q),J.length>0&&k._emitPagedRowMetaDataChanged(J),k._emitDataChanged(G.rangeList)}))}return n(M,[{key:"_emitDataChanged",value:function(P){this._on.emit(N,{rangeList:P})}},{key:"_emitPagedColumnMetaDataChanged",value:function(P){this._on.emit(L,{rangeList:P})}},{key:"_emitPagedRowMetaDataChanged",value:function(P){this._on.emit(O,{rangeList:P})}},{key:"destroy",value:function(){this._listeners.forEach(function(P){return P.remove()}),this.rowIdTranslate.rowId.destroy(),this.rowIdTranslate=void 0,this._infoCache.destroy()}},{key:"on",value:function(P,k){var H=this._on.on(P,k);return this._listeners.push(H),H}},{key:"_handleDataProviderDataChangedEvent",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,this._dataProvider.dataSize),this._reactToNewDataSize(this._dataProvider.dataSize)}},{key:"managePaging",value:function(P){this._updateLocalViewPortInfo(P[0]);var k=this._getRangeListToFetch(P[0]);k.length!==0&&this.placeRequestForDataFetch(k)}},{key:"getData",value:function(P){var k=this;return new Promise(function(H,Y){var G=k._computeRangeListToFetch(P);k.needDataForRangeList(G).then(function(){H(k._makeGetDataResponseLocally(P))},function(Q){Y(Q)})})}},{key:"_computeRangeListToFetch",value:function(P){for(var k=[],H=0;H<=P.length-1;H++){if(this._type===$&&(P[H].columns.end===1/0&&(P[H]=P[H].setColumns(P[H].columns.start,this.dataSize.columns.end)),P[H].rows.end===1/0&&(P[H]=P[H].setRows(P[H].rows.start,this.dataSize.rows.end))),!c.isRangeInside(this.dataSize,P[H]))throw new Error("Range exceeds data size");var Y=this._getRangeListToFetch(P[H]);Y.length>0&&(k=[].concat(C(k),C(Y)))}return k}},{key:"getRowIds",value:function(P){var k=this;return new Promise(function(H,Y){var G=k._computeRangeListToFetch(P);k.needDataForRangeList(G).then(function(){H(k._makeGetRowIdsResponseLocally(P))},function(Q){Y(Q)})})}},{key:"_makeGetRowIdsResponseLocally",value:function(P){for(var k=[],H=0;H<=P.length-1;H++)this._getIdsForARowRange(this._getRowRangeForRangeUtilRange(P[H])).forEach(function(Y){return k.push(Y)});return k}},{key:"_getIdsForARowRange",value:function(P){for(var k=[],H=P[b];H<=P[I];H++)k.push(this._getIdMappedWithRow(H));return k}},{key:"_makeGetDataResponseLocally",value:function(P){for(var k=[],H=0;H<=P.length-1;H++){var Y=this._getCellBlock(P[H].rows.start,P[H].rows.end,P[H].columns.start,P[H].columns.end);Y.range=P[H],k[H]=Y}return k}},{key:"_getCellBlock",value:function(P,k,H,Y){for(var G=[],Q=P;Q<=k;Q+=1){for(var J=[],q=H;q<=Y;q+=1)J[q]=this.getLocalCellData(Q,q);G[Q]=J}return G}},{key:"_getRangeListToFetch",value:function(P){for(var k=[],H=this._getRowRangeForRangeUtilRange(P),Y=this._getColRangeForRangeUtilRange(P),G=H[b];G<=H[I];G++){if(!this._isThereAnIdAssociatedWithRow(G)){k.push(c.range().setRows(G,G).setColumns(Y[b],Y[I]));continue}for(var Q=Y[b];Q<=Y[I];Q++)this._infoCache.doesDataExistInCache(this._getIdMappedWithRow(G),Q)||k.push(c.range().setRows(G,G).setColumns(Q,Q))}return k}},{key:"createMetaDataRule",value:function(P,k){if(!k)throw new Error("dataselector is missing");return P.node&&(P.row=P.node,k||(k={type:y.dataSelectorTypes.node})),k.type==="hierarchy"&&(P.node&&(P.row=P.node),Array.isArray(k.value)||(k.value=[k.value])),y.create(P,k,this._type)}},{key:"addMetaDataRule",value:function(P,k){this._metaDataRules.add(P,k)}},{key:"removeMetaDataRule",value:function(P){this._metaDataRules.remove(P)}},{key:"getLocalCellData",value:function(P,k){var H=this._getIdMappedWithRow(P);if(H!==void 0){var Y=this._infoCache.getColDataById(H,k,k);if(Y!==void 0)return Y[0]}}},{key:"getLocalCellMetaData",value:function(P,k){var H,Y=this._getIdMappedWithRow(P);if(Y===void 0)H=void 0;else{var G=this._infoCache.getColCellMetaDataById(Y,k,k);G===void 0?H=void 0:H=G[0]}var Q=this._metaDataRules.getCellMetaData({rowIndex:P,columnIndex:k,dynamic:{cellMetaData:H,widgetMetaData:this.getLocalWidgetMetaData()}});return Object.assign({},H,Q)}},{key:"updateMetaDataRule",value:function(P,k,H){var Y=y.create(k,H,this._type);return this._metaDataRules.update(P,Y)}},{key:"getLocalRowMetaData",value:function(P){var k=this._getIdMappedWithRow(P),H;k===void 0?H=void 0:H=this._infoCache.getRowMetaDataById(k);var Y=this._metaDataRules.getRowMetaData({rowIndex:P,dynamic:{path:H&&H.path?H.path:void 0,rowMetaData:H,widgetMetaData:this.getLocalWidgetMetaData()}}),G={};return V(G,H),Object.assign(G,H,Y)}},{key:"getLocalColumnMetaData",value:function(P){var k;this._infoCache.doesCellsExistsInColumn(P)&&(k=this._columnMetaDataCache.getColumnMetaData(P));var H=this._metaDataRules.getColumnMetaData({columnIndex:P,dynamic:{widgetMetaData:this.getLocalWidgetMetaData(),columnMetaData:k}});return Object.assign({},k,H)}},{key:"getLocalWidgetMetaData",value:function(){return this._cachedWidgetMetaData}},{key:"expand",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.expand(P).then(function(G){k._handleDataProviderExpandResponse(G),H({})},function(G){Y(G)})})}},{key:"expandTo",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.expandTo(P).then(function(G){k._handleDataProviderExpandToResponse(G,P).then(function(Q){H(Q)})},function(G){Y(G)})})}},{key:"expandAll",value:function(){var P=this;return new Promise(function(k,H){P._dataProvider.expandAll().then(function(Y){P._handleDataProviderExpandAllResponse(Y),k({})},function(Y){H(Y)})})}},{key:"collapseAll",value:function(){var P=this;return new Promise(function(k,H){P._dataProvider.collapseAll().then(function(Y){P._handleDataProviderCollapseAllResponse(Y),k({})},function(Y){H(Y)})})}},{key:"collapse",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.collapse(P).then(function(G){k._handleDataProviderCollapseResponse(G),H({})},function(G){Y(G)})})}},{key:"getParentNode",value:function(P){var k=this,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return new Promise(function(Y){if(k._doesRowAndCacheExistForId(P.id)){var G=k._infoCache.getRowMetaDataById(P.id);if(G&&G.path){var Q=k._getParentIdFromRowMetaData(G);if(Q===null){Y(null);return}if(k._doesRowAndCacheExistForId(Q)){Y(k._makeGetNodeResponseLocally({id:Q}));return}}}k.needParentForProxyIdRanges(k._getProxyNodeRangesWithViewPortRange([P])[0]).then(function(J){if(H){Y(k._makeGetNodeResponseLocally({id:J}));return}k.getNode(P).then(function(q){if(q===null)Y(null);else{if(J===null){Y(null);return}Y(k._makeGetNodeResponseLocally({id:J}))}})})})}},{key:"getNode",value:function(P){var k=this;return new Promise(function(H){var Y=k._getProxyNodesToFetch([P]),G=k._getProxyNodeRangesWithViewPortRange(Y);k.needDataForProxyIdRanges(G).then(function(){H(k._makeGetNodeResponseLocally(P))})})}},{key:"getIndex",value:function(P){var k=this;return new Promise(function(H){var Y=k._getProxyIdsToFetchForTable([P]),G=Y.proxyIdsToFetch,Q=Y.cachedRows,J=k._getProxyNodeRangesWithViewPortRange(G);k.needDataForProxyIdRanges(J).then(function(){H(k._makeTableGetIndexResponseLocally(P,Q))})})}},{key:"_makeTableGetIndexResponseLocally",value:function(P,k){if(k.length===1)return{index:k[0]};var H=this._getRowForValidRowAndCacheForTableId(P.id);return{index:H}}},{key:"_makeGetNodeResponseLocally",value:function(P){var k=Number(this._getRowMappedWithId(P.id));if(!Number.isInteger(k))return null;var H=this._infoCache.getRowMetaDataById(P.id);return H===void 0&&(H={}),{index:k,node:H}}},{key:"_getProxyNodeRangesWithViewPortRange",value:function(P){var k=[],H=this._getColRangeForRangeUtilRange(this._viewPortRange);(this._type===W||H[b]===0&&H[I]===-1)&&(H=[0,0]);for(var Y=0;Y<=P.length-1;Y++)k.push({id:P[Y].id,range:c.range().setColumns(H[b],H[I])});return k}},{key:"needDataForProxyIdRanges",value:function(P){var k=this;return new Promise(function(H,Y){if(P.length===0){H({});return}k._dataProvider.getDataById(P).then(function(G){k._handleDataProviderGetDataByIdResponse(G,!1),H({})},function(G){Y(G)})})}},{key:"needParentForProxyIdRanges",value:function(P){var k=this;return new Promise(function(H,Y){if(P.length===0){H({});return}k._dataProvider.getParentNode(P).then(function(G){if(G.length>=1){var Q=k._getTreeIdFromGetDataByIdResponse(G[0]);k._handleDataProviderGetDataByIdResponse(G,!1),H(Q)}else H(null)},function(G){Y(G)})})}},{key:"_getTreeIdFromGetDataByIdResponse",value:function(P){return P.metaData?P.metaData.rowLevel[0].id:P.id}},{key:"_handleDataProviderGetDataByIdResponse",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,H=this._getCacheFeedableFormat(P,!0),Y=H.cacheUpdates,G=H.widgetLevelMetaData,Q=this._updateCacheWithFeedableFormat(Y,!0);this._updateCachedWidgetMetaData(G),k&&(this._emitEvent(N,{rangeList:this._getEntireRangeListFromResponse(P,N,Q)}),this._emitEvent(O,{rangeList:this._getEntireRangeListFromResponse(P,O)}),this._emitEvent(L,{rangeList:this._getEntireRangeListFromResponse(P,L)}),G&&this._emitEvent(U,{}),this._reactToNewDataSize(this._dataProvider.dataSize))}},{key:"add",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.add(P).then(function(G){k._handleDataProviderAddResponse(G),H({})},function(G){Y(G)})})}},{key:"_needParentIdFor",value:function(P){var k=this;return new Promise(function(H){if(k._doesRowAndCacheExistForId(P)){H(k._getParentIdFromRowMetaData(k._infoCache.getRowMetaDataById(P)));return}k.getParentNode({id:P},!0).then(function(Y){H(Y===null?null:Y.node.id)})})}},{key:"remove",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.remove(P).then(function(G){k._handleDataProviderRemoveResponse(G),H({})},function(G){Y(G)})})}},{key:"move",value:function(P){var k=this;return new Promise(function(H,Y){for(var G=0;G<=P.length-1;G++)if(k._doesRowAndCacheExistForId(P[G].newParentProxy.id)){var Q=k._infoCache.getRowMetaDataById(P[G].newParentProxy.id);if(Q&&Q.path&&Q.path.indexOf(P[G].nodeToMoveProxy.id)>=0){var J=new Error("Move caused a circular reference");J.reason=p.ERROR_CIRCULAR_REF,Y(J);return}}k._dataProvider.move(P).then(function(q){k._handleDataProviderMoveResponse(q),H({})},function(q){Y(q)})})}},{key:"update",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.update(P).then(function(G){k._handleDataProviderUpdateResponse(G),H({})},function(G){Y(G)})})}},{key:"_handleDataProviderAddResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderRemoveResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderMoveResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderUpdateResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderExpandAllResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderCollapseAllResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderExpandToResponse",value:function(P,k){var H=this;return new Promise(function(Y){if(P.indexOfTargetNode===void 0){Y(null);return}H.needDataForRangeList([H._viewPortRange.setRows(P.indexOfTargetNode,P.indexOfTargetNode)]).then(function(){var G=H._infoCache.getRowMetaDataById(k.id);P.rowToFetch!==void 0&&H._setNearestInvalidRow(P.rowToFetch,P.dataSize),H._reactToNewDataSize(P.dataSize),Y({index:P.indexOfTargetNode,node:H._createTreeNodeInfoFromMetaData(G,k.id)})})})}},{key:"_createTreeNodeInfoFromMetaData",value:function(P,k){var H=P||{},Y=H.groupRow,G=H.highlight,Q=H.isExpanded,J=H.isExpandable,q=H.level,oe=H.path;return{groupRow:Y,highlight:G,id:k,isExpandable:J,isExpanded:Q,level:q,path:oe}}},{key:"_handleDataProviderExpandResponse",value:function(P){for(var k=1/0,H=0;H<=P.expandInfo.length-1;H++)P.expandInfo[H].success===S&&P.expandInfo[H].rowToFetch!==void 0&&(k=Math.min(k,P.expandInfo[H].rowToFetch));k!==1/0&&k>=0&&this._setNearestInvalidRow(k,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_handleDataProviderCollapseResponse",value:function(P){for(var k=1/0,H=0;H<=P.collapseInfo.length-1;H++)P.collapseInfo[H].success===S&&P.collapseInfo[H].rowToFetch!==void 0&&(k=Math.min(k,P.collapseInfo[H].rowToFetch));k!==1/0&&k>=0&&this._setNearestInvalidRow(k,P.dataSize),this._reactToNewDataSize(P.dataSize)}},{key:"_reactToNewDataSize",value:function(P){var k=this;if(P!==this.dataSize){this.dataSize=P;var H=this.getViewPortRange();H&&H.rows&&H.rows.count>0?setTimeout(function(){k._emitEvent(R,{dataSize:k.dataSize})},0):this._emitEvent(R,{dataSize:this.dataSize})}}},{key:"setLatestDataSizeFromDataProvider",value:function(){return this.dataSize=this._dataProvider.dataSize,this.dataSize}},{key:"_emitEvent",value:function(P,k){this._on.emit(P,k)}},{key:"_updateLocalViewPortInfo",value:function(P){this._viewPortRange!==P&&(this._viewPortRange=P)}},{key:"getViewPortRange",value:function(){return this._viewPortRange}},{key:"placeRequestForDataFetch",value:function(P){P&&P.length===0||this._dataProvider.getData(P).then(this._handleDataProviderGetDataResponse.bind(this),this._genericErrorHandler.bind(this))}},{key:"needDataForRangeList",value:function(P){var k=this;return new Promise(function(H,Y){if(P.length===0){H({});return}k._dataProvider.getData(P).then(function(G){k._handleDataProviderGetDataResponse(G,!1),H({})},function(G){Y(G)})})}},{key:"_genericErrorHandler",value:function(P){console.log("Internal Error"),console.log(P)}},{key:"_mapRowId",value:function(P,k){if(this._type!==$&&this.rowIdTranslate.rowId.mapAnIdToARow(k,P),this.rowIdTranslate.maxRowNum===void 0&&this.rowIdTranslate.minRowNum===void 0){this.rowIdTranslate.maxRowNum=P,this.rowIdTranslate.minRowNum=P;return}if(P>this.rowIdTranslate.maxRowNum){this.rowIdTranslate.maxRowNum=P;return}P<this.rowIdTranslate.minRowNum&&(this.rowIdTranslate.minRowNum=P)}},{key:"_getIdMappedWithRow",value:function(P){if(!(this.rowIdTranslate.minRowNum===void 0||this.rowIdTranslate.maxRowNum===void 0||P<this.rowIdTranslate.minRowNum||P>this.rowIdTranslate.maxRowNum))return this._type===l.TABLE?this._infoCache.doesValidNodeIdExistInCache(P)?P:void 0:this.rowIdTranslate.rowId.getIdAssociatedWithRow(P)}},{key:"_getProxyNodesToFetch",value:function(P){for(var k=[],H=0;H<=P.length-1;H++)this._doesRowAndCacheExistForId(P[H].id)||k.push({id:P[H].id});return k}},{key:"_getProxyIdsToFetchForTable",value:function(P){for(var k=[],H=[],Y=0;Y<=P.length-1;Y++){var G=this._getRowForValidRowAndCacheForTableId(P[Y].id);G===void 0?k.push({id:P[Y].id}):H.push(G)}return{proxyIdsToFetch:k,cachedRows:H}}},{key:"_doesRowAndCacheExistForId",value:function(P){return!!(this._getRowMappedWithId(P)!==void 0&&this._infoCache.doesValidNodeIdExistInCache(P))}},{key:"_getRowForValidRowAndCacheForTableId",value:function(P){var k;if(this.rowIdTranslate.minRowNum===void 0||this.rowIdTranslate.maxRowNum===void 0)return k;for(var H=this.rowIdTranslate.minRowNum;H<=this.rowIdTranslate.maxRowNum;H++)if(this._getRowMappedWithId(H)!==void 0&&this._infoCache.doesValidNodeIdExistInCache(H)){var Y=this._infoCache.getRowMetaDataById(H);if(Y&&Y.id===P){k=H;break}}return k}},{key:"_getRowMappedWithId",value:function(P){var k;if(this._type===$)this._infoCache.doesValidNodeIdExistInCache(P)&&(k=P);else{var H=this.rowIdTranslate.rowId.getRowAssociatedWithId(P);H>=this.rowIdTranslate.minRowNum&&H<=this.rowIdTranslate.maxRowNum&&(k=H)}return k}},{key:"_handleDataProviderGetDataResponse",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,H=this._getCacheFeedableFormat(P),Y=H.cacheUpdates,G=H.widgetLevelMetaData,Q=this._updateCacheWithFeedableFormat(Y,!0);this._updateCachedWidgetMetaData(G),k&&(this._emitEvent(N,{rangeList:this._getEntireRangeListFromResponse(P,N,Q)}),this._emitEvent(O,{rangeList:this._getEntireRangeListFromResponse(P,O)}),this._emitEvent(L,{rangeList:this._getEntireRangeListFromResponse(P,L)}),G&&this._emitEvent(U,{}),this._reactToNewDataSize(this._dataProvider.dataSize))}},{key:"_getEntireRangeListFromResponse",value:function(P,k,H){for(var Y=[],G=0;G<=P.length-1;G++){var Q=P[G].range;Q!==void 0&&(k===O&&(Q=Q.setColumns(0,0),Q=Q.setRows(Q.rows.start,1/0)),k===L&&(Q=Q.setRows(0,0),Q=Q.setColumns(Q.columns.start,1/0)),!(H&&c.isRangeInsideRangeList(Q,H))&&Y.push(Q))}return H?Y.concat(H):Y}},{key:"_updateCacheWithFeedableFormat",value:function(P){for(var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=[],Y=0;Y<=P.length-1;Y++)if(k&&this._mapRowId(P[Y].flattenedRow,P[Y].id),P[Y].columnRange){var G=this._infoCache.insertDataIntoCache(P[Y],this.rowIdTranslate,this._viewPortRange);G&&H.push(G)}return H}},{key:"_updateCachedWidgetMetaData",value:function(P){this._cachedWidgetMetaData=P}},{key:"_getCacheFeedableFormat",value:function(P){for(var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=[],Y,G=0;G<=P.length-1;G++){var Q=this._convertResponseElementToCacheUpdates(P[G],k);Q.length>=1&&(Q[0].columnRange&&this._updateColumnMetaData(this._colRangeToColumnNumbers(Q[0].columnRange),Q[0].columnMetaData),H=[].concat(C(H),C(Q))),this._isWidgetMetaDataPresentInGetDataResponse(P[G])&&(Y=P[G].metaData.all)}return{cacheUpdates:H,widgetLevelMetaData:Y}}},{key:"_updateColumnMetaData",value:function(P,k){for(var H=0;H<=P.length-1;H++)this._columnMetaDataCache.insertMetaData(P[H],k[H])}},{key:"_colRangeToColumnNumbers",value:function(P){for(var k=[],H=P[b];H<=P[I];H++)k.push(H);return k}},{key:"_convertResponseElementToCacheUpdates",value:function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=[];if(P.range===void 0||k&&P.range.rows.count===0)return H;for(var Y=this._getRowRangeForRangeUtilRange(P.range),G=this._getColRangeForRangeUtilRange(P.range),Q=!this._doesAtLeastOneColumnExists(G),J=0;J<=P.range.rows.count-1;J++){var q={};q.id=this._getCacheIdFromResponseElement(P,J,Y,k),q.columnRange=Q?void 0:G,q.flattenedRow=Y[b]+J,Q||(q.parentId=this._getParentIdToCacheIn(P,J,k),q.data=P.data[J],q.rowMetaData=P.metaData.rowLevel[J],q.cellMetaData=P.metaData.cellLevel[J],q.columnMetaData=P.metaData.columnLevel),H.push(q)}return H}},{key:"_isWidgetMetaDataPresentInGetDataResponse",value:function(P){return!!(P.metaData&&P.metaData.all)}},{key:"_doesAtLeastOneColumnExists",value:function(P){return P[I]-P[b]>=0}},{key:"_getCacheIdFromResponseElement",value:function(P,k,H){var Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Y?this._type===$?H[b]:P.id:this._type===$?H[b]+k:P.id[k]}},{key:"_getParentIdToCacheIn",value:function(P,k){var H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this._type!==$)return H?P.parentId:P.parentId[k]}},{key:"_getIdFromResponseElementMetaData",value:function(P,k){return P.metaData.rowLevel[k].id}},{key:"_getParentIdFromResponseElementMetaData",value:function(P,k){return this._getParentIdFromRowMetaData(P.metaData.rowLevel[k])}},{key:"_getParentIdFromRowMetaData",value:function(P){return P.path.length>=2?P.path[P.path.length-2]:null}},{key:"_getRowRangeForRangeUtilRange",value:function(P){return[P.rows.start,P.rows.end]}},{key:"_getColRangeForRangeUtilRange",value:function(P){return[P.columns.start,P.columns.end]}},{key:"_getRowsNotHavingIdsAssociated",value:function(P){for(var k=[],H=P[b];H<=P[I];H++)this._isThereAnIdAssociatedWithRow(H)||k.push(H);return k}},{key:"_isThereAnIdAssociatedWithRow",value:function(P){return this._getIdMappedWithRow(P)!==void 0}},{key:"_setNearestInvalidRow",value:function(P,k){if(P>this.rowIdTranslate.maxRowNum&&console.log("rowToFetch is greater than known maxRowNum"),P<this.rowIdTranslate.minRowNum&&(console.log("rowToFetch is smaller than minRowNum. Setting minRowNum and maxRowNum to undefined"),this.rowIdTranslate.minRowNum=void 0,this.rowIdTranslate.maxRowNum=void 0),P>=this.rowIdTranslate.minRowNum&&P<=this.rowIdTranslate.maxRowNum){for(var H,Y=P-1;Y>=this.rowIdTranslate.minRowNum;Y--)if(this._isThereAnIdAssociatedWithRow(Y)){H=Y;break}H===void 0?(this.rowIdTranslate.minRowNum=void 0,this.rowIdTranslate.maxRowNum=void 0):this.rowIdTranslate.maxRowNum=H}if(this._viewPortRange.rows.count===0){this._emitEvent(N,{rangeList:[this.dataSize.setRows(0,1/0)]}),this._emitEvent(O,{rangeList:[this.dataSize.setRows(0,1/0)]});return}if(P>=this._getRowRangeForRangeUtilRange(this._viewPortRange)[b]&&P<=this._getRowRangeForRangeUtilRange(this._viewPortRange)[I]){var G=this._getViewRangeListToPlaceRequest(P,k);if(G.length===0){this._emitEvent(N,{rangeList:[this.dataSize.setRows(0,1/0)]}),this._emitEvent(O,{rangeList:[this.dataSize.setRows(0,1/0)]});return}this.placeRequestForDataFetch(this._getViewRangeListToPlaceRequest(P,k))}}},{key:"_getViewRangeListToPlaceRequest",value:function(P,k){var H=[];return c.doesRangeIntersect(k,this._viewPortRange.setRows(P,this._getRowRangeForRangeUtilRange(this._viewPortRange)[I]))&&H.push(c.clipRange(this._viewPortRange.setRows(P,this._getRowRangeForRangeUtilRange(this._viewPortRange)[I]),k)),H}},{key:"filter",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.filter(P).then(function(G){k._handleDataProviderResponse(G),H({})},function(G){Y(G)})})}},{key:"clearFilter",value:function(){var P=this;return new Promise(function(k,H){P._dataProvider.clearFilter().then(function(Y){P._handleDataProviderResponse(Y),k({})},function(Y){H(Y)})})}},{key:"sort",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.sort(P).then(function(G){k._handleDataProviderResponse(G),H({})},function(G){Y(G)})})}},{key:"search",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.search(P).then(function(G){k._handleDataProviderResponse(G),H({})},function(G){Y(G)})})}},{key:"clearSearch",value:function(){var P=this;return new Promise(function(k,H){P._dataProvider.clearSearch().then(function(Y){P._handleDataProviderResponse(Y),k({})},function(Y){H(Y)})})}},{key:"groupBy",value:function(P){var k=this;return new Promise(function(H,Y){k._dataProvider.groupBy(P).then(function(G){k._handleDataProviderResponse(G),H({})},function(G){Y(G)})})}},{key:"clearGroupBy",value:function(){var P=this;return new Promise(function(k,H){P._dataProvider.clearGroupBy().then(function(Y){P._handleDataProviderResponse(Y),k({})},function(Y){H(Y)})})}},{key:"_handleDataProviderResponse",value:function(P){P.rowToFetch!==void 0&&this._setNearestInvalidRow(P.rowToFetch,P.dataSize),this._reactToNewDataSize(P.dataSize)}}])}();return K},A,x),A.exports=w},20720:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function r(){C(this,r),this._set=new Set}return _(r,[{key:"put",value:function(n){this._set.has(n)?this._moveToHead(n):this._set.add(n)}},{key:"_moveToHead",value:function(n){this._set.delete(n),this._set.add(n)}},{key:"getLruKey",value:function(){return this._set.keys().next().value}},{key:"removeLRUItem",value:function(){var n=this.getLruKey();return this._set.delete(n),n}},{key:"destroy",value:function(){delete this._set}}])}();return u},A,x),A.exports=w},11223:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){var u=function(){function r(){C(this,r),this._rowToIdMap=new Map,this._idToRowMap=new Map}return _(r,[{key:"mapAnIdToARow",value:function(n,i){this._rowToIdMap.set(i,n),this._idToRowMap.set(n,i)}},{key:"getIdAssociatedWithRow",value:function(n){return this._rowToIdMap.get(n)}},{key:"getRowAssociatedWithId",value:function(n){return this._idToRowMap.get(n)}},{key:"destroy",value:function(){this._rowToIdMap=void 0,this._idToRowMap=void 0}}])}();return u},A,x),A.exports=w},2717:(A,x,a)=>{"use strict";var T,w;function h(l){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},h(l)}function C(l,p){return v(l)||_(l,p)||r(l,p)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(l,p){var E=l==null?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(E!=null){var m,y,b,I,S=[],R=!0,N=!1;try{if(b=(E=E.call(l)).next,p===0){if(Object(E)!==E)return;R=!1}else for(;!(R=(m=b.call(E)).done)&&(S.push(m.value),S.length!==p);R=!0);}catch(O){N=!0,y=O}finally{try{if(!R&&E.return!=null&&(I=E.return(),Object(I)!==I))return}finally{if(N)throw y}}return S}}function v(l){if(Array.isArray(l))return l}function f(l){return n(l)||d(l)||r(l)||u()}function u(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r(l,p){if(l){if(typeof l=="string")return i(l,p);var E=Object.prototype.toString.call(l).slice(8,-1);if(E==="Object"&&l.constructor&&(E=l.constructor.name),E==="Map"||E==="Set")return Array.from(l);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return i(l,p)}}function d(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function n(l){if(Array.isArray(l))return i(l)}function i(l,p){(p==null||p>l.length)&&(p=l.length);for(var E=0,m=new Array(p);E<p;E++)m[E]=l[E];return m}function o(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function c(l,p){for(var E=0;E<p.length;E++){var m=p[E];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,t(m.key),m)}}function e(l,p,E){return p&&c(l.prototype,p),E&&c(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}function t(l){var p=s(l,"string");return h(p)=="symbol"?p:p+""}function s(l,p){if(h(l)!="object"||!l)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var m=E.call(l,p||"default");if(h(m)!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(l)}T=[a(40637),a(37999),a(68053),a(65957),a(27807),a(42263),a(38629),a(14491),a(68631),a(53768),a(33553),a(46465)],w=a.dj.d(T,function(l,p,E,m,y,b,I,S,R,N,O,L){"use strict";var U="addOrRemoveRows",z="addOrRemoveColumns",$=function(K){var M=new O;setTimeout(function(){return K(M.resolve,M.reject)},0),this.then=M.promise.then},W=function(){function V(K){var M=this,B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o(this,V),this._on=new l,this._listeners=[],this._type=B.type,this._metaDataRules=new R,this._dataSave=B.dataSave||{},this._dataSize=p.range(),this._sort=new m,this._filtering=!1,this._searching=!1,this._rowIdsConfigured=!1,this.replaceAll(K,B),this._listeners.push(this._metaDataRules.on("metaDataChanged",function(P){for(var k=[],H=[],Y=0;Y<P.rangeList.length;Y+=1){var G=P.rangeList[Y];if(p.isRowRange(G)){var Q=G.setColumns(0,0);H.push(Q)}if(p.isColumnRange(G)){var J=G.setRows(0,0);k.push(J)}}k.length>0&&M._emitPagedColumnMetaDataChanged(k),H.length>0&&M._emitPagedRowMetaDataChanged(H),M._dataChanged(P.rangeList)}))}return e(V,[{key:"_getSortState",value:function(){return this._sortState}},{key:"_setSortState",value:function(M){this._sortState=M}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this._setSortState(null),!0)}},{key:"addMetaDataRule",value:function(M,B){this._metaDataRules.add(M,B)}},{key:"removeMetaDataRule",value:function(M){this._metaDataRules.remove(M)}},{key:"createMetaDataRule",value:function(M,B){return N.create(M,B,this._type)}},{key:"managePaging",value:function(M){}},{key:"_isRangeAddingRows",value:function(M){return!!(M.rows.start===M.rows.end&&this._isRowRange(M))}},{key:"_isRangeAddingColumns",value:function(M){return!!(M.columns.start===M.columns.end&&this._isColumnRange(M))}},{key:"_getDataSizeOnAdd",value:function(M,B,P){if(this._isRangeAddingRows(B))return M.setRows(0,M.rows.end+P);if(this._isRangeAddingColumns(B))return M.setColumns(0,M.columns.end+P)}},{key:"_getDataSizeOnRemove",value:function(M,B){if(this._isRowRange(B)){var P=M.rows.count-B.rows.count-1;return P=P<-1?-1:P,M.setRows(0,P)}if(this._isColumnRange(B)){var k=M.columns.count-B.columns.count-1;return k=k<-1?-1:k,M.setColumns(0,k)}}},{key:"_addRowLabelRules",value:function(M){var B=this,P=p.range().setColumns(0,1/0).setRows(0,1/0),k=this.createMetaDataRule.bind(this),H=k({row:function(G){var Q=B.getLocalCellData(G.rowIndex,B._rowLabelIndex),J=Q?Q.value:void 0;return{label:J}}},{type:"rangeList",value:[P]});this._metaDataRules.addBuiltIn("$setRowLabels",H)}},{key:"_updateDataSize",value:function(){var M=V._calcTableSize(this._data,this._defaultColumnCount);(M.rows.count!==this._dataSize.rows.count||M.columns.count!==this._dataSize.columns.count)&&(this._dataSize=M,this._on.emit("dataSizeChanged",{dataSize:M}))}},{key:"dataSize",get:function(){return this._dataSize}},{key:"getLocalCellData",value:function(M,B){var P=this._data[M];if(P)return P[B]}},{key:"_getLocalCellDataUnfiltered",value:function(M,B){var P=this._filter.getUnfilteredData()[M];if(P)return P[B]}},{key:"getLocalRowMetaData",value:function(M){var B=this._gatherRowForMetaData(M),P,k=null;if(B!==void 0){try{P=this._getId(B)}catch(Y){}k={id:P}}var H=this._metaDataRules.getRowMetaData({rowIndex:M,dynamic:k});return H.id=P,H}},{key:"getLocalColumnMetaData",value:function(M){var B={},P=this._metaDataRules.getColumnMetaData({columnIndex:M,dynamic:B});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(M)>=0?Object.assign({},P,{sorted:this._getSortState()}):P}},{key:"_getColumnNumbersForSortCriteria",value:function(M){var B=[];return M&&M.forEach(function(P){return B.push(P.columnIndex)}),B}},{key:"updateColumnHeader",value:function(M){var B=M.id,P=M.value;return this._headers.updateHeader({id:B,value:P}),new $(function(k){setTimeout(k,0)})}},{key:"updateRowHeader",value:function(M,B){var P=this,k=M.rowIndex,H=B.value;return new $(function(Y,G){try{var Q=p.range().setRows(k,k).setColumns(P._rowLabelIndex,P._rowLabelIndex);Y(P.update(Q,[[{value:H}]]))}catch(J){G(J)}})}},{key:"getLocalColumnSpanningMetaData",value:function(M){return{value:this._headers.getHeaderHierarchy(M)}}},{key:"getLocalCellMetaData",value:function(M,B){var P=this.getLocalCellData(M,B),k=null;if(P!==void 0){var H=this._gatherRowForMetaData(M);k={id:this._getId(H),value:P},this._searching&&(k._row={data:this._data[M]})}var Y=this._metaDataRules.getCellMetaData({rowIndex:M,columnIndex:B,dynamic:k});return Y}},{key:"_emitPagedColumnMetaDataChanged",value:function(M){this._on.emit("pagedColumnMetaDataChanged",{rangeList:M})}},{key:"_emitPagedRowMetaDataChanged",value:function(M){this._on.emit("pagedRowMetaDataChanged",{rangeList:M})}},{key:"getIndex",value:function(M){var B=this;return new $(function(P,k){for(var H=0;H<B._data.length;H+=1){var Y=B._gatherRowForMetaData(H);M.id===B._getId(Y)&&P({index:H})}P({index:null})})}},{key:"getRowIds",value:function(M){var B=this,P=[];return new Promise(function(k,H){for(var Y=0;Y<=M.length-1;Y++){var G=M[Y];if(!p.isRangeInside(B.dataSize,G)){H(new Error("Range exceeds data size"));return}for(var Q=G.rows.start,J=G.rows.end,q=Q;q<=J;q++){var oe=B._gatherRowForMetaData(q);P.push(B._getId(oe))}}k(P)})}},{key:"getData",value:function(M){var B=this,P=M.slice(),k=new $(function(H,Y){var G=[];P.forEach(function(Q,J){if(Q.columns.end===1/0&&(Q=Q.setColumns(Q.columns.start,B.dataSize.columns.end)),Q.rows.end===1/0&&(Q=Q.setRows(Q.rows.start,B.dataSize.rows.end)),!p.isRangeInside(B.dataSize,Q)){Y(new Error("Range exceeds data size"));return}var q=Q.rows.start,oe=Q.rows.end,ie=Q.columns.start,pe=Q.columns.end,ce=B._getCellBlock(q,oe,ie,pe);ce.range=Q,G[J]=ce}),H(G)});return k}},{key:"_gatherRowForMetaData",value:function(M){for(var B=[],P=0;P<this._metaDataColumns.length;P+=1){var k=this._metaDataColumns[P];B[k]=this.getLocalCellData(M,k)}return B}},{key:"_gatherUnfilteredRowForMetaData",value:function(M){for(var B=[],P=0;P<this._metaDataColumns.length;P+=1){var k=this._metaDataColumns[P];B[k]=this._getLocalCellDataUnfiltered(M,k)}return B}},{key:"_getCellBlock",value:function(M,B,P,k){for(var H=[],Y=M;Y<=B;Y+=1){for(var G=[],Q=P;Q<=k;Q+=1)G[Q]=this.getLocalCellData(Y,Q);H[Y]=G}return H}},{key:"add",value:function(M){for(var B=arguments.length,P=new Array(B>1?B-1:0),k=1;k<B;k++)P[k-1]=arguments[k];return Array.isArray(M)?this._addRecords.apply(this,[M].concat(P)):this._addRecord.apply(this,[M].concat(P))}},{key:"_addRecords",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");return this._doModifyData(M,B,this._validateAddingRecords.bind(this),this._dataSave.beforeAdd,this._performAdd.bind(this))}},{key:"_addRecord",value:function(M,B){if(this._filtering)throw new Error("Data cannot be added in filter mode. Clear filter before adding data.");var P=[{range:M,data:B}],k=this._validateAddingRecords(P);return this._doSaveOperation(this._dataSave.beforeAdd,this._bulkifyDataAdd,k[0])}},{key:"_bulkifyDataAdd",value:function(M){return this._performAdd([M])}},{key:"_performAdd",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(M.length!==0){for(var P=1/0,k=1/0,H=!1,Y=!1,G=0;G<=M.length-1;G++){var Q=this._add(M[G]);M[G][U]&&(P=Math.min(P,Q.rows.start),H=!0),M[G][z]&&(k=Math.min(k,Q.columns.start),Y=!0)}P=Y?0:P,k=H?0:k;var J=[p.range().setRows(P,1/0).setColumns(k,1/0)];B||(this._dataChanged(J,this._checkSortStateThenSort(J)),this._updateDataSize())}}},{key:"_determineAddExtraOptions",value:function(M){if(M[U])return{addOrRemoveRows:!0};if(M[z])return{addOrRemoveColumns:!0}}},{key:"_isRowRange",value:function(M){return M.columns.start===0&&M.columns.end===1/0}},{key:"_isColumnRange",value:function(M){return M.rows.start===0&&M.rows.end===1/0}},{key:"_validateAddingRecords",value:function(M){for(var B=[],P=this._dataSize,k=0;k<=M.length-1;k++){var H=M[k].range,Y=M[k].data;if(this._isRangeAddingRows(H)){if(H.rows.start>P.rows.count||H.rows.start<0)throw new Error("Index ".concat(H.rows.start," is out of range for adding row(s)"));for(var G=0;G<Y.length;G+=1)if(Y[G].length!==P.columns.count)throw new Error("data[".concat(G,"] needs to contain ").concat(P.columns.count," columns of data for adding row(s)"));P=this._getDataSizeOnAdd(P,H,Y.length),B.push({range:H,data:Y,addOrRemoveRows:!0})}else if(this._isRangeAddingColumns(H)){if(H.columns.start>P.columns.count||H.columns.start<0)throw new Error("Index ".concat(H.columns.start," is out of range for adding column(s)"));var Q=-1;if(Y.length!==P.rows.count&&P.rows.count>0)throw new Error("data needs to contain ".concat(P.rows.count," rows of data for adding column(s)"));for(var J=0;J<Y.length;J+=1)if(Q===-1)Q=Y[J].length;else if(Q!==Y[J].length)throw new Error("The data[".concat(J,"] needs to contain the same number of columns (").concat(Q,") as the first row for adding column(s)"));P=this._getDataSizeOnAdd(P,H,Y[0].length),B.push({range:H,data:Y,addOrRemoveColumns:!0})}else throw new Error("Could not determine add type for given range")}return B}},{key:"_addRows",value:function(M,B,P){if(M.rows.start>this._dataSize.rows.count||M.rows.start<0)throw new Error("Index ".concat(M.rows.start," is out of range for adding row(s)"));for(var k=0;k<B.length;k+=1)if(B[k].length!==this._dataSize.columns.count)throw new Error("data[".concat(k,"] needs to contain ").concat(this._dataSize.columns.count," columns of data for adding row(s)"));P.addOrRemoveRows=!0}},{key:"_addColumns",value:function(M,B,P){if(M.columns.start>this._dataSize.columns.count||M.columns.start<0)throw new Error("Index ".concat(M.columns.start," is out of range for adding column(s)"));var k=null;if(B.length!==this._dataSize.rows.count&&this._dataSize.rows.count>0)throw new Error("data needs to contain ".concat(this._dataSize.rows.count," rows of data for adding column(s)"));for(var H=0;H<B.length;H+=1)if(k===null)k=B[H].length;else if(k!==B[H].length)throw new Error("The data[".concat(H,"] needs to contain the same number of columns (").concat(k,") as the first row for adding column(s)"));P.addOrRemoveColumns=!0}},{key:"_add",value:function(M){var B=M.range,P=M.data,k=M.addOrRemoveRows,H=M.addOrRemoveColumns,Y;if(k){var G;(G=this._data).splice.apply(G,[B.rows.start,0].concat(f(P))),Y=p.range().setRows(B.rows.start,1/0).setColumns(0,1/0)}else if(H){for(var Q=0;Q<P.length;Q+=1){var J=this._data[Q];J?J.splice.apply(J,[B.columns.start,0].concat(f(P[Q]))):this._data[Q]=P[Q]}Y=p.range().setRows(0,1/0).setColumns(B.columns.start,1/0)}return Y}},{key:"_getSuccessInfo",value:function(M){return{message:M.message||"",reason:"",custom:M.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(M){var B=new Error(M.message||"");return B.reason=y[M.reason]||y.ERROR_UNKNOWN,B.custom=M.custom||{},B.success=!1,B}},{key:"_doSaveOperation",value:function(M,B,P){var k=this,H;if(M)H=M.call(this,P);else{var Y=new O;Y.resolve({}),H=Y.promise}return H.then(function(G){try{B.call(k,P)}catch(Q){throw Q.reason=y[Q.reason]||y.ERROR_UNKNOWN,Q.custom=Q.custom||{},Q.success=!1,Q}return k._getSuccessInfo(G)},function(G){throw k._getFailureInfo(G)})}},{key:"_checkSortStateThenSort",value:function(M){for(var B=this._updateSortState(),P=!1,k=0;k<=M.length-1;k++)if(this._shouldSort(M[k].columns)){P=!0;break}return P&&this.sortData(this._sort.sortOptions),B}},{key:"_shouldSort",value:function(M){if(this._sort.sorted===!1)return!1;for(var B=0;B<this._sort.sortOptions.length;B++){var P=this._getColumnFromSortOption(this._sort.sortOptions[B]);if(P>=M.start&&P<=M.end)return!0}return!1}},{key:"_getColumnFromSortOption",value:function(M){return M&&Number.isInteger(M.columnIndex)?M.columnIndex:-1}},{key:"_doValidateOperation",value:function(M,B){var P=this;return new Promise(function(k,H){var Y;M?Y=M.call(P,B):Y=new Promise(function(G){G({})}),Y.then(function(G){k(P._getSuccessInfo(G))},function(G){H(P._getFailureInfo(G))})})}},{key:"update",value:function(M){for(var B=arguments.length,P=new Array(B>1?B-1:0),k=1;k<B;k++)P[k-1]=arguments[k];return Array.isArray(M)||M instanceof Object&&"range"in M&&"rows"in M.range&&"id"in M.range.rows&&P.length===0?this._updateRecords.apply(this,[M].concat(P)):this._updateRecord.apply(this,[M].concat(P))}},{key:"_updateRecord",value:function(M,B){var P=[{range:M,data:B}],k=this._validateUpdatingRecords(P);return this._doSaveOperation(this._dataSave.beforeUpdate,this._bulkifyUpdate,k[0])}},{key:"_bulkifyUpdate",value:function(M){return this._performUpdate([M])}},{key:"_updateRecords",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};return this._doModifyData(M,B,this._validateUpdatingRecords.bind(this),this._dataSave.beforeUpdate,this._performUpdate.bind(this))}},{key:"_doModifyData",value:function(M,B,P,k,H){var Y=this,G=[];return new Promise(function(Q,J){var q=P(M);if(B.dataSave)for(var oe=0;oe<M.length;oe++)G.push(Y._doValidateOperation(k,q[oe]));else G.push(Promise.resolve({}));Promise.all(G).then(function(ie){H(q,B.skipEvents||!1),Q(ie)},function(ie){return J(ie)})})}},{key:"_performUpdate",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(M.length!==0){for(var P=[],k=0;k<M.length;k++){var H=this._update({range:M[k].range,data:M[k].data});H instanceof Object&&"rows"in H&&"columns"in H&&P.push(H)}!B&&P.length>0&&this._dataChanged(P,this._checkSortStateThenSort(P)),this._filtering&&this.filter(this._filter.getFilterCriteria())}}},{key:"_validateUpdateByRowIdArgs",value:function(M,B){if(!("rows"in M))throw new Error("Row range not provided for update");if(!(M.rows instanceof Object&&"id"in M.rows))throw new Error("Row IDs not provided for update in appropriate format");if(B.length!==this.dataSize.columns.count)throw new Error("new row information needs to contain ".concat(this.dataSize.columns.count," columns of data for update!"))}},{key:"_searchRowIdInData",value:function(M,B,P){for(var k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,H=M.rows.id,Y=!1,G=k?this._filter.getUnfilteredData():this._data,Q=k?this._gatherUnfilteredRowForMetaData:this._gatherRowForMetaData,J=0;J<G.length;J+=1){var q=Q.call(this,J);if(H===this._getId(q)){Y=!0,k?P.push({range:{index:J},data:[B]}):P.push({range:p.range().setRows(J,J).setColumns(this.dataSize.columns.start,this.dataSize.columns.end),data:[B]});break}}return Y}},{key:"_validateDataToUpdateByIDs",value:function(M,B,P){this._validateUpdateByRowIdArgs(M,B);var k=!1,H=!1;if(k=this._searchRowIdInData(M,B,P),!k&&this._filtering&&(H=this._searchRowIdInData(M,B,P,!0)),!k&&!H)throw new Error("row ID does not exist in dataStore data!")}},{key:"_validateDataToUpdateByRangeLists",value:function(M,B,P){if(M.rows.count!==B.length)throw new Error("Range rows count ".concat(M.rows.count," does not match data.length for update"));if(!p.isRangeInside(this.dataSize,M))throw new Error("Range exceeds dataSize for update");for(var k=0;k<B.length;k+=1)if(B[k].length!==M.columns.count)throw new Error("data[".concat(k,"] needs to contain ").concat(M.columns.count," columns of data for update"));P.push({range:M,data:B})}},{key:"_validateUpdatingRecords",value:function(M){if(!(M instanceof Array))throw new Error("Data to update must be provided as an array for batch update");for(var B=[],P=0;P<M.length;P++){var k=M[P].range,H=M[P].data;if(k===void 0||H===void 0)throw new Error("Incorrect format for arguments provided!");k instanceof Object&&"id"in k.rows?this._validateDataToUpdateByIDs(k,H,B):this._validateDataToUpdateByRangeLists(k,H,B)}return B}},{key:"_update",value:function(M){var B=M.range,P=M.data;if(B instanceof Object&&"index"in B)return this._filter.setUnfilteredRowData(B.index,P[0]),B;for(var k=0,H=B.rows.start;H<=B.rows.end;H+=1){var Y=this._data[H];Y.splice.apply(Y,[B.columns.start,B.columns.count].concat(f(P[k]))),k+=1}return B}},{key:"remove",value:function(M){for(var B=arguments.length,P=new Array(B>1?B-1:0),k=1;k<B;k++)P[k-1]=arguments[k];return Array.isArray(M)?this._removeRecords.apply(this,[M].concat(P)):this._removeRecord.apply(this,[M].concat(P))}},{key:"_removeRecord",value:function(M){if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");var B=[M],P=this._validateRemovingRecords(B);return this._doSaveOperation(this._dataSave.beforeRemove,this._bulkifyRemove,P[0])}},{key:"_bulkifyRemove",value:function(M){return this._performRemove([M])}},{key:"_removeRecords",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0};if(this._filtering)throw new Error("Data cannot be removed in filter mode. Clear filter before deleting data.");return this._doModifyData(M,B,this._validateRemovingRecords.bind(this),this._dataSave.beforeRemove,this._performRemove.bind(this))}},{key:"_performRemove",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(M.length!==0){for(var P=1/0,k=1/0,H=!1,Y=!1,G=0;G<M.length;G++){var Q=this._remove(M[G]);M[G][U]&&(P=Math.min(P,Q.rows.start),H=!0),M[G][z]&&(k=Math.min(k,Q.columns.start),Y=!0)}P=Y?0:P,k=H?0:k;var J=[p.range().setRows(P,1/0).setColumns(k,1/0)];B||(this._dataChanged(J,this._checkSortStateThenSort(J)),this._updateDataSize())}}},{key:"_validateRemovingRecords",value:function(M){for(var B=[],P=this._dataSize,k=0;k<M.length;k++){var H=M[k];if(this._isRowRange(H)){if(H.rows.start>=P.rows.count||H.rows.start<0)throw new Error("Index ".concat(H.rows.start," is out of range for removing row(s)"));P=this._getDataSizeOnRemove(P,H),B.push({range:H,addOrRemoveRows:!0})}else if(this._isColumnRange(H)){if(H.columns.start>=P.columns.count||H.columns.start<0)throw new Error("Index ".concat(H.columns.start," is out of range for removing column(s)"));P=this._getDataSizeOnRemove(P,H),B.push({range:H,addOrRemoveColumns:!0})}else throw new Error("Could not determine remove type for given range")}return B}},{key:"_remove",value:function(M){var B=M.range,P=M.addOrRemoveRows,k=M.addOrRemoveColumns,H;if(P)this._data.splice(B.rows.start,B.rows.count),H=p.range().setRows(B.rows.start,1/0).setColumns(0,1/0);else if(k){for(var Y=0;Y<this._data.length;Y+=1)this._data[Y].splice(B.columns.start,B.columns.count);H=p.range().setRows(0,1/0).setColumns(B.columns.start,1/0)}return H}},{key:"move",value:function(M,B){return this._moveRecords({rowsToMove:M,range:B})}},{key:"_moveRecords",value:function(M){return this._doMoveData(M)}},{key:"_doMoveData",value:function(M){var B=this;return new Promise(function(P,k){var H=B._validateMovingRecords(M),Y=C(H,2),G=Y[0],Q=Y[1];B._doValidateOperation(B._dataSave.beforeMove,G).then(function(J){B._performMove(G,Q).then(function(){P(J)},function(q){k(q)})},function(J){k(J)})})}},{key:"_performMove",value:function(M,B){var P=this,k=M.range;if(B.length===0)return Promise.resolve();var H=[],Y=B.map(function(G,Q){var J=P._data[G];H.push(J),G=G-Q;var q=p.range().setRows(G,G).setColumns(0,1/0);return P._removeRecords([q],{dataSave:!1,skipEvents:!0})});return Promise.all(Y).then(function(){var G=H.map(function(Q,J){return{range:p.range().setRows(k.rows.start+J,k.rows.start+J).setColumns(0,1/0),data:[Q]}});return P._addRecords(G,{dataSave:!1,skipEvents:!0}).then(function(){var Q=Math.min(k.rows.start,B[0]),J=[p.range().setRows(Q,1/0).setColumns(0,1/0)];P._dataChanged(J,P._checkSortStateThenSort(J))})})}},{key:"_isValidRowRange",value:function(M){return"rows"in M&&"columns"in M&&M.rows.start>=this.dataSize.rows.start&&M.rows.end<=this.dataSize.rows.end&&p.isRowRange(M)}},{key:"_validateMovingRecords",value:function(M){var B=M.rowsToMove,P=M.range,k=[];if(B.length===0)return[{range:P,data:[]},k];if(!(P.rows.start===P.rows.end&&p.isRowRange(P)))throw new Error("Invalid destination range!");for(var H=0,Y,G=0;G<B.length;G=G+1){var Q=B[G];if(h(Q)==="object"){if(Y==="rowID")throw new Error("Partial mix of row IDs and ranges in rows to move!");if(Y="rowRange",this._isValidRowRange(Q))for(var J=Q.rows.start;J<=Q.rows.end;J=J+1)k.includes(J)||(k.push(J),H=H+1);else throw new Error("Invalid rowRanges to move!")}else if(typeof Q=="string"){if(Y==="rowRange")throw new Error("Partial mix of row IDs and ranges in rows to move!");if(!this._rowIdsConfigured)throw new Error("Row IDs are not configured!");Y="rowID";for(var q=!1,oe=0;oe<this._data.length;oe+=1){var ie=this._gatherRowForMetaData(oe);if(Q===this._getId(ie)){if(q=!0,k.includes(oe))break;k.push(oe),H=H+1;break}}if(!q)throw new Error("Invalid row ID (".concat(Q,") to move!"))}else throw new Error("Invalid format of rows to move!")}if(!(P.rows.start>=this.dataSize.rows.start&&P.rows.start<=this.dataSize.rows.end-(H-1)))throw new Error("Invalid destination range as items moved to range will exceed existing dataSize!");var pe={range:P,data:B};return k.sort(function(ce,te){return ce-te}),[pe,k]}},{key:"replaceAll",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this._data=M||[],this._defaultColumnCount=B.defaultColumnCount,this._defaultColumnCount!==0&&!(this._defaultColumnCount>0)&&this._data.length>0&&(this._defaultColumnCount=this._data[0].length||0),this._metaDataColumns=B.metaDataColumns||this._metaDataColumns||[],B.getId){if(this._metaDataColumns.length===0)throw new Error("Must specify at least one column to derive the value of getId");this._rowIdsConfigured=!0,this._getId=B.getId}else this._getId||(this._getId=function(){});B.rowLabelIndex&&B.rowLabelIndex>=0&&(this._rowLabelIndex=B.rowLabelIndex,this._metaDataColumns.push(this._rowLabelIndex),this._addRowLabelRules(B)),this._metaDataRanges=this._metaDataColumns.map(function(P){return p.range().setRows(0,1/0).setColumns(P,P)}),this._setSortState(null),this._updateDataSize(),this._dataChanged([p.range().setRows(0,1/0).setColumns(0,1/0)],!0),this._filtering&&(this._filter.setUnfilteredData(this._data),this._filter.filter())}},{key:"sort",value:function(M){var B=this,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!M||M.length===0||this.dataSize.rows.count<2)){for(var k=0;k<=M.length-1;k++)this._sort.validateSortField(M[k],this.dataSize);return new Promise(function(H,Y){P.keepSorted===!0&&B._sort.configurePersistentSort(M),P.keepSorted===!1&&B._sort.removePersistentSort(),B.sortData(M),B._emitPagedColumnMetaDataChanged([p.range().setRows(0,0).setColumns(0,B.dataSize.columns.end)]),H({})})}}},{key:"sortData",value:function(M){if(this._runSort(M),this._filtering){var B=this._filter.getUnfilteredData();B.sort(this._sort.generateCompareFunctionFromList(M,this.dataSize)),this._filter.setUnfilteredData(B)}this._setSortState(M),this._dataChanged([p.range().setRows(0,1/0).setColumns(0,1/0)])}},{key:"_runSort",value:function(M){this._data.sort(this._sort.generateCompareFunctionFromList(M,this.dataSize))}},{key:"registerSortType",value:function(M){var B=M.name,P=M.compareFn;if(!(B&&typeof B=="string"&&P&&typeof P=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(B.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._registerCustomSort(B,P),B}},{key:"_registerCustomSort",value:function(M,B){this._sort.validateCustomSortName(M),this._sort.addCustomCompare(M,B)}},{key:"_dataChanged",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:M}),p.doesRangeListIntersect(M,this._metaDataRanges)&&this._emitPagedRowMetaDataChanged(M.map(function(P){return P.setColumns(0,0)})),B&&this._emitPagedColumnMetaDataChanged([p.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"filter",value:function(M){return this._filtering&&(this._data=this._filter.getUnfilteredData()),this._filtering=!0,this._filter=new b(M,{data:this._data}),this._filter.filter(),this._data=this._filter.getFilteredData(),this._dataChanged([p.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),new $(function(B){setTimeout(B,0)})}},{key:"search",value:function(M){if(this._search=new I(M,this.createMetaDataRule,{type:this._type}),!!this._search.isCriteriaValid()){var B=this._search.createRule();this._searching=!0,this._addSearchResults(B)}}},{key:"getRangeForQuery",value:function(M,B){var P=this;return new Promise(function(k,H){if(P._isQueryValid(M)&&P._isSearchSpaceConstraintValid(B,M.metaData.type)){var Y=0,G=0;B&&B.range&&(Y=B.range.rows.start,G=B.range.columns.start),k(P._searchForCellMetaData({startRowIndex:Y,startColumnIndex:G,direction:B&&B.position==="previous"?-1:1,key:M.metaData.key,value:M.metaData.value}))}else H(new Error("Invalid query criteria or search space constraint!"))})}},{key:"_searchForCellMetaData",value:function(M){for(var B=M.startRowIndex,P=M.startColumnIndex,k=M.direction,H=k===void 0?1:k,Y=M.key,G=M.value,Q=B,J=P;Q>=0&&Q<=this.dataSize.rows.end;Q+=H)for(Q!==B&&(H===1?J=0:J=this.dataSize.columns.end);J>=0&&J<=this.dataSize.columns.end;J+=H){var q=this.getLocalCellMetaData(Q,J);if(q[Y]!==void 0&&(G===void 0||G!==void 0&&q[Y]===G))return{range:p.range().setRows(Q,Q).setColumns(J,J)}}return{}}},{key:"_isQueryValid",value:function(M){return!!(M&&M.metaData&&M.metaData.type==="cell"&&typeof M.metaData.key=="string")}},{key:"_isSearchSpaceConstraintValid",value:function(M,B){return M===void 0?!0:!!((M.position==="next"||M.position==="previous")&&M.range&&B==="cell"&&M.range.rows.count===1&&M.range.columns.count===1&&p.isRangeInside(this.dataSize,M.range))}},{key:"clearFilter",value:function(){return this._filtering&&(this._data=this._filter.getUnfilteredData(),this._dataChanged([p.range().setRows(0,1/0).setColumns(0,1/0)]),this._updateDataSize(),this._filtering=!1),new $(function(M){setTimeout(M,0)})}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"__setHeaders",value:function(M){this._headers?this._headers.setHeaders(M):this._headers=new S(M)}},{key:"__getHeaders",value:function(){return this._headers.getHeaders()}},{key:"__setSpanningHeaders",value:function(M){this._headers&&this._headers.setSpanningHeaders(M)}},{key:"__getSpanningHeaders",value:function(){return this._headers.getSpanningHeaders()}},{key:"_addSearchResults",value:function(M){this._metaDataRules.addBuiltIn("$Search",M)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}},{key:"destroy",value:function(){for(var M=0;M<this._listeners.length;M+=1)this._listeners[M].remove()}},{key:"on",value:function(M,B){return this._on.on(M,B)}}],[{key:"_calcTableSize",value:function(M,B){var P=function(G){return G?{start:0,end:G.length-1}:{start:0,end:-1}},k=p.range(),H=P(M);return k=k.setRows(H.start,H.end),k.rows.count>0?H=P(M[0]):H=P({length:B||0}),k=k.setColumns(H.start,H.end),k}}])}();return W},A,x),A.exports=w},14491:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){return function(){function u(r){C(this,u),this._allHeadersCache={},this._headerHierarchyMap={},this.setHeaders(r),this._createHeadersCache(this._headers)}return _(u,[{key:"setHeaders",value:function(d){d=d||[],this._headers=d,this._createHeadersCache(this._headers)}},{key:"getHeaders",value:function(){return this._headers}},{key:"setSpanningHeaders",value:function(d){Object.keys(d).length&&(this._spanningHeaders=d,this._createHeadersCache(Object.values(d)))}},{key:"getSpanningHeaders",value:function(){return this._spanningHeaders}},{key:"updateHeader",value:function(d){var n=d.id,i=d.value;this._allHeadersCache[n].label=i}},{key:"_createHeadersCache",value:function(d){for(var n=0;n<d.length;n=n+1)this._allHeadersCache[d[n].columnId]=d[n]}},{key:"getHeaderHierarchy",value:function(d){for(var n={},i=this._headers[d];i&&i.parentId;){var o=this._allHeadersCache[i.parentId];n[o.columnId]=o,i=o}return n}}])}()},A,x),A.exports=w},72103:(A,x,a)=>{"use strict";var T,w;function h(r){return v(r)||_(r)||g(r)||C()}function C(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(r,d){if(r){if(typeof r=="string")return f(r,d);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(r,d)}}function _(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function v(r){if(Array.isArray(r))return f(r)}function f(r,d){(d==null||d>r.length)&&(d=r.length);for(var n=0,i=new Array(d);n<d;n++)i[n]=r[n];return i}function u(r){"@babel/helpers - typeof";return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},u(r)}T=[a(63241)],w=a.dj.d(T,function(r){var d=function(fe,me,De){var Ie;switch(De){case r.type.EQUAL:Ie=fe===me;break;case r.type.NOT_EQUAL:Ie=fe!==me;break;case r.type.GREATER_THAN:Ie=fe>me;break;case r.type.GREATER_THAN_EQUAL_TO:Ie=fe>=me;break;case r.type.LESS_THAN:Ie=fe<me;break;case r.type.LESS_THAN_EQUAL_TO:Ie=fe<=me;break;default:Ie=!1}return Ie},n=function(fe,me,De){var Ie=fe,Oe=me,je=!1;return typeof fe=="string"&&(Ie=Number(fe)),typeof me=="string"&&(Oe=Number(me)),je=d(Ie,Oe,De),je},i=function(fe,me,De){var Ie=!1,Oe=!!fe,je=!!me;return Ie=d(Oe,je,De),Ie},o=function(fe,me,De){var Ie=ce(De),Oe=z(De);if(Ie===r.type.FUNCTION){var je=!1,dt=$(De);if(N(dt))try{je=dt(fe,me)}catch(Rt){je=!1}return je}if(Oe===r.dataType.NUMBER)return n(fe,me,Ie);if(Oe===r.dataType.BOOLEAN)return i(fe,me,Ie);if(Oe===r.dataType.STRING){var yt=y(De),kt=e(fe,me,yt);return d(kt.cellString,kt.findString,Ie)}return!1},c=function(fe){return fe===""},e=function(fe,me,De){var Ie=fe.toString(),Oe=me.toString();return De||(Ie=Ie.toLowerCase(),Oe=Oe.toLowerCase()),{cellString:Ie,findString:Oe}},t=function(fe,me,De){var Ie=e(fe,me,De);return Ie.cellString.indexOf(Ie.findString)!==-1},s=function(fe,me,De){var Ie=e(fe,me,De);return Ie.cellString.startsWith(Ie.findString)},l=function(fe,me,De){var Ie=e(fe,me,De);return Ie.cellString.endsWith(Ie.findString)},p=function(fe,me,De){for(var Ie=e(fe,me,De),Oe=[],je=Ie.cellString.indexOf(Ie.findString);je!==-1;)Oe.push(Object.assign({},W(je,Ie.findString.length),{value:me})),je=Ie.cellString.indexOf(Ie.findString,je+Ie.findString.length);return Oe},E=function(fe,me,De){var Ie=[],Oe=e(fe,me,De);return s(Oe.cellString,Oe.findString,De)&&Ie.push(Object.assign({},W(0,Oe.findString.length),{value:me})),Ie},m=function(fe,me,De){var Ie=[],Oe=e(fe,me,De);if(l(Oe.cellString,Oe.findString,De)){var je=Oe.cellString.length-Oe.findString.length;Ie.push(Object.assign({},W(je,Oe.findString.length),{value:me}))}return Ie},y=function(fe){var me=fe[r.COMPARE_PROPERTY];return me&&me.hasOwnProperty(r.CASE_SENSITIVE)?me[r.CASE_SENSITIVE]:r.caseSensitive.DEFAULT_CASE_SENSITIVE},b=function(fe){var me=!1;return(fe===r.type.STARTS_WITH||fe===r.type.ENDS_WITH||fe===r.type.CONTAINS)&&(me=!0),me},I=function(fe){var me=!0;return fe==null&&(me=!1),me},S=function(fe){var me=!0;switch(fe){case r.type.CONTAINS:case r.type.STARTS_WITH:case r.type.ENDS_WITH:case r.type.EQUAL:case r.type.NOT_EQUAL:case r.type.GREATER_THAN:case r.type.GREATER_THAN_EQUAL_TO:case r.type.LESS_THAN:case r.type.LESS_THAN_EQUAL_TO:case r.type.FUNCTION:break;default:me=!1;break}return me},R=function(fe){var me=!0;return fe!=="string"&&fe!=="number"&&fe!=="boolean"&&(me=!1),me},N=function(fe){var me=!0;return fe||(me=!1),fe&&typeof fe!="function"&&(me=!1),me},O=function(fe){var me=!0,De=fe?fe[r.COMPARE_PROPERTY]:null;if(De){var Ie=De[r.COMPARE_TYPE];Ie&&!S(Ie)&&(me=!1);var Oe=De[r.DATA_TYPE];Oe&&!R(Oe)&&(me=!1);var je=De[r.PARAM];Ie&&Ie===r.type.FUNCTION&&!N(je)&&(me=!1);var dt=De[r.CASE_SENSITIVE];dt&&typeof dt!="boolean"&&(me=!1)}return me},L=function(fe){return!!(fe&&fe.hasOwnProperty(r.VALUE)&&fe.hasOwnProperty(r.COLUMN_INDEX))},U=function(fe){var me=!1;return fe&&(fe.and||fe.or||fe.exclude)&&(me=!0),me},z=function(fe){var me=r.dataType.DEFAULT_DATA_TYPE,De=ce(fe);if(!b(De)){var Ie=fe[r.COMPARE_PROPERTY];Ie&&Ie.hasOwnProperty(r.DATA_TYPE)&&(me=Ie[r.DATA_TYPE],R(me)||(me=r.dataType.DEFAULT_DATA_TYPE))}return me},$=function(fe){var me=null,De=fe[r.COMPARE_PROPERTY];return De&&De.hasOwnProperty(r.PARAM)&&(me=De[r.PARAM]),me},W=function(fe,me){var De={start:fe,count:me};return fe===void 0&&(fe=0),(me===void 0||me<1)&&(me=0),De},V=function(fe){var me=fe.toString(),De=me.length;return(De===void 0||De<1)&&(De=0),W(0,De)},K=function(fe){fe.hasOwnProperty(r.COMPARE_PROPERTY)||(fe[r.COMPARE_PROPERTY]={})},M=function(fe,me,De){var Ie=me.or||me.and;if(De&&Ie||!me.and&&!me.or)return!B(fe,me.exclude,!0)},B=function(fe,me){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return me.length===0&&De?!1:H(fe,me,!0)},P=function(fe,me){return H(fe,me,!1)},k=function(fe,me){var De=!1;return me.and?De=P(fe,me.and):me.or&&(De=B(fe,me.or)),me.exclude&&(De=M(fe,me,De)),De},H=function(fe,me,De){for(var Ie=!0,Oe=0;Oe<me.length;Oe=Oe+1){if(L(me[Oe])){var je=ie(me[Oe]),dt=fe[je];Ie=Y(dt,me[Oe])}else U(me[Oe])?Ie=k(fe,me[Oe]):Ie=!0;if(Ie===De)return De}return Ie},Y=function(fe,me){var De=q(fe,oe(me)),Ie=pe(me),Oe=ce(me);if(!I(Ie))return!0;if(!I(De))return!1;if(!O(me))return!0;if(c(Ie))return c(De);if(!b(Oe))return o(De,Ie,me);var je=y(me);return Oe===r.type.CONTAINS?t(De,Ie,je):Oe===r.type.STARTS_WITH?s(De,Ie,je):Oe===r.type.ENDS_WITH?l(De,Ie,je):!1},G=function(fe,me){var De=q(fe,oe(me)),Ie=pe(me),Oe=[];if(Array.isArray(Ie)||u(Ie)==="object")return Oe;var je=ce(me);if(!I(Ie)||!I(De)||!O(me))return Oe;if(c(Ie))return c(De)&&Oe.push(W(0,0)),Oe;if(!b(je))return o(De,Ie,me)&&Oe.push(V(De)),Oe;var dt=y(me);return je===r.type.CONTAINS?p(De,Ie,dt):je===r.type.STARTS_WITH?E(De,Ie,dt):je===r.type.ENDS_WITH?m(De,Ie,dt):Oe},Q=function(fe,me){return U(me)?k(fe,me):H(fe,[me],!1)},J=function(fe){if(fe&&(fe.and||fe.or))return!0;var me=pe(fe),De=ie(fe);return!(!I(me)||typeof De!="number"||Math.floor(De)!==De||!O(fe))},q=function(fe,me){var De=fe;if(fe&&u(fe)==="object")if(me){for(var Ie=De,Oe=me.split("."),je=0;je<Oe.length;je=je+1){var dt=Oe[je];Ie=Ie[dt]}Ie===null?De=null:De=Ie}else De=null;else fe&&me&&(De=null);return De},oe=function(fe){return fe?fe.field:null},ie=function(fe){return fe?fe.columnIndex:null},pe=function(fe){return fe?fe.value:null},ce=function(fe){var me=r.type.DEFAULT_COMPARE_TYPE,De=fe?fe[r.COMPARE_PROPERTY]:null;if(De&&De.hasOwnProperty(r.COMPARE_TYPE)){var Ie=De[r.COMPARE_TYPE];S(Ie)&&(me=Ie)}return me},te=function(fe,me){K(fe),fe[r.COMPARE_PROPERTY][r.COMPARE_TYPE]=me},ne=function(fe,me){K(fe),fe[r.COMPARE_PROPERTY][r.DATA_TYPE]=me},re=function(fe,me){K(fe),fe[r.COMPARE_PROPERTY][r.CASE_SENSITIVE]=me},se=function(fe,me){K(fe),fe[r.COMPARE_PROPERTY][r.PARAM]=me},ge=function(fe,me,De){var Ie={};if(fe===null||fe.length===0)return Ie;for(var Oe=0;Oe<=fe.length-1;Oe++)if(fe[Oe].field===me)if(Ie.searchHighlight){var je;(je=Ie.searchHighlight.matches).push.apply(je,h(fe[Oe].matches))}else Ie.searchHighlight={matches:h(fe[Oe].matches)};return Ie.searchHighlight&&De&&(Ie.searchHighlight.field=De),Ie};return{searchColumn:G,filterRow:Q,isValid:J,getField:oe,getColumn:ie,getValue:pe,getCellValue:q,getCompareType:ce,setCompareType:te,setCompareDataType:ne,setCaseSensitive:re,setCompareParam:se,_createCellHighlightInfo:ge}},A,x),A.exports=w},42263:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(72103)],w=a.dj.d(T,function(u){return function(){function r(d,n){C(this,r),this._unfilteredData=n.data,this._data=[],this._filterCriteria=d}return _(r,[{key:"filter",value:function(){var n=this.getFilterCriteria();this._data=[];for(var i=0;i<this._unfilteredData.length;i=i+1)u.filterRow(this._unfilteredData[i],n)&&this._data.push(this._unfilteredData[i])}},{key:"getFilteredData",value:function(){return this._data}},{key:"getUnfilteredData",value:function(){return this._unfilteredData}},{key:"setUnfilteredData",value:function(n){this._unfilteredData=n}},{key:"setUnfilteredRowData",value:function(n,i){this._unfilteredData[n]=i}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}}])}()},A,x),A.exports=w},65957:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(84580)],w=a.dj.d(T,function(e){var t=function(s){function l(p){var E;return C(this,l),E=u(this,l,[p]),E.configurePersistentSort(p),E}return o(l,s),_(l,[{key:"configurePersistentSort",value:function(E){Array.isArray(E)&&(this._sorted=!0,this._sortOptions=E)}},{key:"_getSortField",value:function(E){return E.columnIndex}},{key:"validateSortField",value:function(E,m){return this._validateSortOption(E,m)}},{key:"_validateFieldToSort",value:function(E,m){if(!Number.isInteger(E.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(E.columnIndex<m.columns.start||E.columnIndex>m.columns.end)throw new Error("columnIndex is out of bounds")}}])}(e);return t},A,x),A.exports=w},38629:(A,x,a)=>{"use strict";var T,w;function h(l){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},h(l)}function C(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function g(l,p){for(var E=0;E<p.length;E++){var m=p[E];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,v(m.key),m)}}function _(l,p,E){return p&&g(l.prototype,p),E&&g(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}function v(l){var p=f(l,"string");return h(p)=="symbol"?p:p+""}function f(l,p){if(h(l)!="object"||!l)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var m=E.call(l,p||"default");if(h(m)!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(l)}function u(l,p,E){return p=i(p),r(l,n()?Reflect.construct(p,E||[],i(l).constructor):p.apply(l,E))}function r(l,p){if(p&&(h(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(l)}function d(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function n(){try{var l=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(p){}return(n=function(){return!!l})()}function i(l){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},i(l)}function o(l,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(p&&p.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),p&&c(l,p)}function c(l,p){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(l,p)}function e(l,p){var E=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!E){if(Array.isArray(l)||(E=t(l))||p&&l&&typeof l.length=="number"){E&&(l=E);var m=0,y=function(){};return{s:y,n:function(){return m>=l.length?{done:!0}:{done:!1,value:l[m++]}},e:function(N){throw N},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,I=!1,S;return{s:function(){E=E.call(l)},n:function(){var N=E.next();return b=N.done,N},e:function(N){I=!0,S=N},f:function(){try{!b&&E.return!=null&&E.return()}finally{if(I)throw S}}}}function t(l,p){if(l){if(typeof l=="string")return s(l,p);var E=Object.prototype.toString.call(l).slice(8,-1);if(E==="Object"&&l.constructor&&(E=l.constructor.name),E==="Map"||E==="Set")return Array.from(l);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return s(l,p)}}function s(l,p){(p==null||p>l.length)&&(p=l.length);for(var E=0,m=new Array(p);E<p;E++)m[E]=l[E];return m}T=[a(37999),a(72103),a(94523)],w=a.dj.d(T,function(l,p,E){var m=function(S,R){var N=new Set(S),O=e(R),L;try{for(O.s();!(L=O.n()).done;){var U=L.value;N.add(U)}}catch(z){O.e(z)}finally{O.f()}return N},y=function(S){for(var R=[],N=0;N<=S.length-1;N++)R.push(l.range().setColumns(S[N],S[N]).setRows(0,1/0));return R},b=function(I){function S(R,N,O){var L;return C(this,S),L=u(this,S,[R,O]),L._createRuleFn=N,L._type=O.type,L._columnMap=O.columnMap,L}return o(S,I),_(S,[{key:"isCriteriaValid",value:function(){return p.isValid(this._criteria)}},{key:"_getColumnNumbersForCriteria",value:function(){var N=new Set;return this._isBaseCriteria(this._criteria)?N=this._getColNums([this._criteria]):N=this._compositeGetColNums(this._criteria),Array.from(N)}},{key:"_compositeGetColNums",value:function(N){var O=new Set;return N.and?O=this._getColNums(N.and):N.or&&(O=this._getColNums(N.or)),O}},{key:"_isBaseCriteria",value:function(N){return!!(N&&"value"in N&&"columnIndex"in N)}},{key:"_getColNums",value:function(N){for(var O=new Set,L=0;L<=N.length-1;L++)if(!(N[L]===void 0||h(N[L])!=="object"||N[L]===null)){if(N[L].and){O=m(O,this._getColNums(N[L].and));continue}if(N[L].or){O=m(O,this._getColNums(N[L].or));continue}N[L].columnIndex!==void 0&&typeof N[L].columnIndex=="number"&&O.add(N[L].columnIndex)}return O}},{key:"_isCompositeCriteria",value:function(N){return!!(N&&(N.and||N.or))}},{key:"_getCriteriaField",value:function(N){return this._columnMap?this._columnMap[N.columnIndex]:N.columnIndex}},{key:"_getSearchColumnCriteria",value:function(N){return N}},{key:"metaDataFun",value:function(N){var O=this.searchNodeForMatches(N._row.data),L=p._createCellHighlightInfo(O,N.columnIndex,p.getField(this._criteria));return L}},{key:"createRule",value:function(){var N=y(this._getColumnNumbersForCriteria());return this._createRuleFn({cell:this.metaDataFun.bind(this)},{type:"rangeList",value:N})}}])}(E);return b},A,x),A.exports=w},29557:(A,x,a)=>{"use strict";var T,w;function h(c){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(c)}function C(c){return f(c)||v(c)||_(c)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(c,e){if(c){if(typeof c=="string")return u(c,e);var t=Object.prototype.toString.call(c).slice(8,-1);if(t==="Object"&&c.constructor&&(t=c.constructor.name),t==="Map"||t==="Set")return Array.from(c);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(c,e)}}function v(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function f(c){if(Array.isArray(c))return u(c)}function u(c,e){(e==null||e>c.length)&&(e=c.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=c[t];return s}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function d(c,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,i(s.key),s)}}function n(c,e,t){return e&&d(c.prototype,e),t&&d(c,t),Object.defineProperty(c,"prototype",{writable:!1}),c}function i(c){var e=o(c,"string");return h(e)=="symbol"?e:e+""}function o(c,e){if(h(c)!="object"||!c)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var s=t.call(c,e||"default");if(h(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(c)}T=[a(33553),a(40637),a(37999),a(84256),a(63622),a(50819),a(27807),a(41239),a(31951),a(68631),a(53768),a(16887),a(85589),a(63241),a(46465)],w=a.dj.d(T,function(c,e,t,s,l,p,E,m,y,b,I,S,R,N,O){"use strict";var L=function(M){var B=new c;setTimeout(function(){return M(B.resolve,B.reject)},0),this.then=B.promise.then},U={CHILD:"child",ROOT:"root",ANCESTOR:"ancestor",SIBLING:"sibling"};Object.freeze(U);var z=function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};M.id=B.id,M.level=B.level,M.isExpanded=B.isExpanded,M.isExpandable=B.isExpandable,M.groupRow=B.groupRow,M.check=B.check,M.highlight=B.highlight,$(M,B)},$=function(M,B){M.hasOwnProperty("path")||Object.defineProperty(M,"path",{get:function(){return B.path}})},W=function(){function K(M,B,P,k,H,Y,G,Q){r(this,K),this.id=M,this._path=k,this.level=P,this.isExpandable=Y,this.isExpanded=H,this.data=B,G!==null&&(this.check=G),Q&&(this.groupRow=Q)}return n(K,[{key:"path",get:function(){if(!this._fullPath){for(var B=new Array(this.level),P=this._path,k=this.level;k>=0;k-=1)B[k]=P.id,P=P.parent;this._fullPath=B}return this._fullPath}}])}(),V=function(){function K(M){var B=this,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r(this,K),this._type=P.type,this._on=new e,this._listeners=[],this._dataSize=t.range(),this._expandCollapseToggle=new s({allExpanded:P.allExpanded}),this.replaceAll(M,P),this._metaDataRules=new b,this._expandCollapseState={filtering:!1},this._listeners.push(this._metaDataRules.on("metaDataChanged",function(k){for(var H=[],Y=[],G=0;G<k.rangeList.length;G+=1){var Q=k.rangeList[G];if(t.isRowRange(Q)){var J=Q.setColumns(0,0);Y.push(J)}if(t.isColumnRange(Q)){var q=Q.setRows(0,0);H.push(q)}}H.length>0&&B._emitPagedColumnMetaDataChanged(H),Y.length>0&&B._emitPagedRowMetaDataChanged(Y),B._type===O.TREE?B._dataChanged(k.rangeList):B._emitDataChanged(k.rangeList)}))}return n(K,[{key:"addMetaDataRule",value:function(B,P){this._metaDataRules.add(B,P)}},{key:"removeMetaDataRule",value:function(B){this._metaDataRules.remove(B)}},{key:"createMetaDataRule",value:function(B,P){if(!P)throw new Error("dataselector is missing");return B.node&&(B.row=B.node,P||(P={type:I.dataSelectorTypes.node})),P.type==="hierarchy"&&(B.node&&(B.row=B.node),Array.isArray(P.value)||(P.value=[P.value])),I.create(B,P,this._type)}},{key:"replaceAll",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};P.isCheckboxTree&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0),this._internalDataStore=new l(B,{getParentId:P.getParentId,setParentId:P.setParentId,getId:P.getId,isExpanded:this._isExpanded.bind(this),createTreeNode:this._createTreeNode.bind(this),sorted:P.sorted,isCheckboxTree:this._isCheckboxTree,getCheck:P.getCheck,setCheck:P.setCheck,type:this._type}),this._dataSave=P.dataSave||{},this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([t.range().setRows(0,1/0).setColumns(0,0)],!0)}},{key:"managePaging",value:function(B){}},{key:"_calculateDataSize",value:function(){return t.range().setRows(0,this._flattenedTree.length-1).setColumns(0,0)}},{key:"_updateDataSize",value:function(){var B=this,P=this._calculateDataSize();t.isRangeEqual(P,this.dataSize)||(this._dataSize=P,setTimeout(function(){(!B._lastEmitDataSize||!t.isRangeEqual(B._lastEmitDataSize,B.dataSize))&&(B._on.emit("dataSizeChanged",{dataSize:B.dataSize}),B._lastEmitDataSize=B.dataSize)},0))}},{key:"dataSize",get:function(){return this._dataSize}},{key:"getLocalRowMetaData",value:function(B){var P=this._flattenedTree[B],k=this._getRowMetaData(B),H={};return P&&$(H,P),z(k,P),Object.assign(H,k),H}},{key:"_getRowMetaData",value:function(B){var P=this._flattenedTree[B],k={};return P&&z(k,P),this._metaDataRules.getRowMetaData({rowIndex:B,dynamic:k})}},{key:"getLocalColumnMetaData",value:function(B){var P={},k=this._metaDataRules.getColumnMetaData({columnIndex:B,dynamic:P});return this._getColumnNumbersForSortCriteria(this._getSortState()).indexOf(B)>=0?Object.assign({},k,{sorted:this._getSortState()}):k}},{key:"getLocalCellMetaData",value:function(B,P){var k=this.getLocalCellData(B,P),H=null,Y;if(k!==void 0){var G=this._flattenedTree[B];G&&(Y=this._internalDataStore._isGrouping?this._internalDataStore._getParentIdForGrouping(G.data):this._internalDataStore.getParentId(G.data)),H={value:k,parentId:Y},this._searching&&(H._row=G),G&&z(H,G)}var Q=this._metaDataRules.getCellMetaData({rowIndex:B,columnIndex:P,dynamic:H});return Q}},{key:"getLocalCellData",value:function(B){return this._flattenedTree[B]}},{key:"getData",value:function(B){var P=this,k=B.slice(),H=new L(function(Y,G){var Q=[];k.forEach(function(J,q){if(!t.isRangeInside(P.dataSize,J)){G(new Error("Range exceeds data size"));return}var oe=J.rows.start,ie=J.rows.end,pe=J.columns.start,ce=J.columns.end,te=P._getCellBlock(oe,ie,pe,ce);te.range=J,Q[q]=te}),Y(Q)});return H}},{key:"_getCellBlock",value:function(B,P,k,H){for(var Y=[],G=B;G<=P;G+=1){for(var Q=[],J=k;J<=H;J+=1)Q[J]=this.getLocalCellData(G,J);Y[G]=Q}return Y}},{key:"_calculateNodePath",value:function(B){var P=this._internalDataStore.getAncestorIds(B);return P.reverse(),P.push(B),P}},{key:"_createTreeNode",value:function(B,P,k,H,Y,G,Q){var J=arguments.length>7&&arguments[7]!==void 0?arguments[7]:void 0,q=this._isCheckboxTree?Q:null,oe=new W(B,P,k,H,Y,G,q,J);return oe}},{key:"_isExpanded",value:function(B){return this._expandCollapseToggle.isExpanded(B)}},{key:"expandAll",value:function(){var B=this._expandCollapseToggle.expandAll();return this._updateTreeData(B),new L(function(P){setTimeout(P,0)})}},{key:"collapseAll",value:function(){var B=this._expandCollapseToggle.collapseAll();return this._updateTreeData(B),new L(function(P){setTimeout(P,0)})}},{key:"expand",value:function(B){if(!Array.isArray(B))throw new Error("'expand' expected an array in proxyNodeList.");var P=this._expandCollapseToggle.expand(B);return this._updateTreeData(P),new L(function(k){setTimeout(k,0)})}},{key:"collapse",value:function(B){if(!Array.isArray(B))throw new Error("'collapse' expected an array in proxyNodeList.");var P=this._expandCollapseToggle.collapse(B);return this._updateTreeData(P),new L(function(k){setTimeout(k,0)})}},{key:"sort",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{keepSorted:!1};if(!(!B||!B.length)){this._internalDataStore.validateSortCriteria(B,this.dataSize);var k=this._internalDataStore.runSort(B,P);return this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)]),this._updateTreeData(k),new L(function(H){setTimeout(H,0)})}}},{key:"registerSortType",value:function(B){var P=B.name,k=B.compareFn;if(!(P&&typeof P=="string"&&k&&typeof k=="function"))throw new Error("A valid compare type name and comparator function must be specified");if(P.indexOf(".")!==-1)throw new Error("The name of sort type cannot contain a period.");return this._internalDataStore.registerCustomSort(P,k),P}},{key:"expandTo",value:function(B){var P=this;B=p.normalize(B);var k=this._internalDataStore.getAncestorIds(B.id,!0),H=k.map(function(Y){return{id:Y}});return this.expand(H).then(function(){return P.getNode(B)})}},{key:"add",value:function(B){for(var P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];return Array.isArray(B)?this._addNodes.apply(this,[B].concat(k)):this._addNode.apply(this,[B].concat(k))}},{key:"_addNodes",value:function(B){var P=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},H=[];return new Promise(function(Y,G){for(var Q=0;Q<B.length;Q++)if(B[Q].options&&B[Q].options.node&&(B[Q].options.node=p.normalize(B[Q].options.node)),k.dataSave){var J=P._getAddOptions(B[Q].parentProxy,B[Q].nodeToAdd,B[Q].options||{place:"last"});H.push(P._doValidateOperation(P._dataSave.beforeAdd,J))}k.dataSave||H.push(Promise.resolve({})),Promise.all(H).then(function(q){P._performAdditionOfNodes(B),Y(q)},function(q){G(q)})})}},{key:"_addNode",value:function(B,P){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"last"};B=p.normalize(B),k.node&&(k.node=p.normalize(k.node));var H=this._getAddOptions(B,P,k);return this._doSaveOperation(this._dataSave.beforeAdd,this._addSingleNode,H)}},{key:"_getAddOptions",value:function(B,P,k){return{parentId:B.id,node:P,options:k}}},{key:"_addSingleNode",value:function(B){var P=[{parentProxy:{id:B.parentId},nodeToAdd:B.node,options:B.options}];this._performAdditionOfNodes(P)}},{key:"_performAdditionOfNodes",value:function(B){if(B.length!==0){var P=this._internalDataStore.addNodes(B);P.changedIds=this._getCheckBoxTreeChangedIds(P),this._updateTreeData(P)}}},{key:"_getCheckBoxTreeChangedIds",value:function(B){var P=this;if(B.changeOccurred&&this._isCheckboxTree){var k=new Set;return B.changedIds.forEach(function(H){P._internalDataStore.getAncestorIds(H).forEach(function(Y){k.add(Y)})}),B.changedIds.concat(Array.from(k))}return B.changedIds}},{key:"remove",value:function(B){for(var P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];return Array.isArray(B)?this._removeNodes.apply(this,[B].concat(k)):this._removeNode.apply(this,[B].concat(k))}},{key:"_removeNodes",value:function(B){var P=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},H=[],Y=[];return new Promise(function(G,Q){for(var J=0;J<B.length;J++){var q=P._internalDataStore.getAncestorIds(B[J].proxyNodeToRemove.id),oe=q.length>0?q[0]:null;if(B[J].parentId=oe,P._isExpanded(oe)&&Y.push(oe),k.dataSave){var ie={parentId:B[J].parentId,removeId:B[J].proxyNodeToRemove.id,options:B[J].options};H.push(P._doValidateOperation(P._dataSave.beforeRemove,ie))}}k.dataSave||H.push(Promise.resolve({})),Promise.all(H).then(function(pe){P._performRemovalOfNodes(B,Y),G(pe)},function(pe){Q(pe)})})}},{key:"_removeNode",value:function(B,P){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{keepChildren:!1};P=p.normalize(P);var H=this._getRemoveOptions(P,k);return this._doSaveOperation(this._dataSave.beforeRemove,this._removeSingleNode,H)}},{key:"_getRemoveOptions",value:function(B,P){var k=this._internalDataStore.getAncestorIds(B.id);return{parentId:k.length>0?k[0]:null,removeId:B.id,options:P}}},{key:"_removeSingleNode",value:function(B){var P=[{proxyNodeToRemove:{id:B.removeId},parentId:B.parentId,options:B.options}];this._performRemovalOfNodes(P,this._isExpanded(B.parentId)?[B.parentId]:[])}},{key:"_performRemovalOfNodes",value:function(B,P){if(B.length!==0){var k=this._internalDataStore.remove(B);if(P.length>0){if(k.changedIds){var H;(H=k.changedIds).push.apply(H,C(P))}else k.changedIds=P;k.changedIds=this._getCheckBoxTreeChangedIds(k)}this._updateTreeData(k)}}},{key:"move",value:function(B,P,k){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{place:"last"};k=p.normalize(k),P=p.normalize(P),H.node&&(H.node=p.normalize(H.node));var Y=this._internalDataStore.getAncestorIds(P.id),G={parentId:Y.length>0?Y[0]:null,newParentId:k.id,nodeToMoveId:P.id,options:H};return this._doSaveOperation(this._dataSave.beforeMove,this._move,G)}},{key:"_move",value:function(B){var P=this._isExpanded(B.parentId),k=this._isExpanded(B.newParentId),H;H=this._internalDataStore.move(B.parentId,B.nodeToMoveId,B.newParentId,B.options),H.changeOccurred&&(P&&(H.changedIds?H.changedIds.push(B.parentId):H.changedIds=[B.parentId]),k&&(H.changedIds?H.changedIds.push(B.newParentId):H.changedIds=[B.newParentId]),H.changedIds=this._getCheckBoxTreeChangedIds(H),this._updateTreeData(H))}},{key:"update",value:function(B){for(var P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];return Array.isArray(B)?this._updateNodes.apply(this,[B].concat(k)):this._updateNode.apply(this,[B].concat(k))}},{key:"_updateNodes",value:function(B){var P=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{dataSave:!0},H=[];return new Promise(function(Y,G){for(var Q=0;Q<B.length;Q++){var J=P._internalDataStore.getAncestorIds(B[Q].proxyNodeToUpdate.id),q=J.length>0?J[0]:null;if(B[Q].parentId=q,k.dataSave){var oe={parentId:B[Q].parentId,updateId:B[Q].proxyNodeToUpdate.id,fieldsToMerge:B[Q].fieldsToMerge};H.push(P._doValidateOperation(P._dataSave.beforeUpdate,oe))}}k.dataSave||H.push(Promise.resolve({})),Promise.all(H).then(function(ie){P._performUpdate(B),Y(ie)},function(ie){return G(ie)})})}},{key:"_updateNode",value:function(B,P,k){P=p.normalize(P);var H=this._getUpdateOptions(P,k);return this._doSaveOperation(this._dataSave.beforeUpdate,this._updateSingleNode,H)}},{key:"_getUpdateOptions",value:function(B,P){var k=this._internalDataStore.getAncestorIds(B.id);return{parentId:k.length>0?k[0]:null,updateId:B.id,fieldsToMerge:P}}},{key:"_updateSingleNode",value:function(B){var P=[{parentId:B.parentId,proxyNodeToUpdate:{id:B.updateId},fieldsToMerge:B.fieldsToMerge}];this._performUpdate(P)}},{key:"_performUpdate",value:function(B){if(B.length!==0){var P=this._internalDataStore.update(B);P.changedIds=this._getCheckBoxTreeChangedIds(P),this._updateTreeData(P)}}},{key:"_doValidateOperation",value:function(B,P){var k=this;return new Promise(function(H,Y){var G;B?G=B.call(k,P):G=new Promise(function(Q){Q({})}),G.then(function(Q){H(k._getSuccessInfo(Q))},function(Q){Y(k._getFailureInfo(Q))})})}},{key:"_getSuccessInfo",value:function(B){return{message:B.message||"",reason:"",custom:B.custom||{},success:!0}}},{key:"_getFailureInfo",value:function(B){var P=new Error(B.message||"");return P.reason=E[B.reason]||E.ERROR_UNKNOWN,P.custom=B.custom||{},P.success=!1,P}},{key:"_doSaveOperation",value:function(B,P,k){var H=this,Y;if(B)Y=B.call(this,k);else{var G=new c;G.resolve({}),Y=G.promise}return Y.then(function(Q){try{P.call(H,k)}catch(J){throw J.reason=E[J.reason]||E.ERROR_UNKNOWN,J.custom=J.custom||{},J.success=!1,J}return H._getSuccessInfo(Q)},function(Q){throw H._getFailureInfo(Q)})}},{key:"getNode",value:function(B,P){var k=this;return B=p.normalize(B),new Promise(function(H,Y){var G=m.findIndex(k._flattenedTree,function(oe){return B.id===oe.id}),Q=null;if(P){var J=S.isValidCriteria(P);if(J){var q=G>=0?k._queryMetaData(G,P):null;Q=k._getTreeNodeInfo(q),H(Q)}Y(new Error("invalid options criteria"))}else G>=0&&(Q={index:G,node:k._flattenedTree[G]}),H(Q)})}},{key:"_getTreeNodeInfo",value:function(B){var P=null;return B!=null?P={index:B,node:this._flattenedTree[B]}:P=null,P}},{key:"getParentNode",value:function(B){var P=this;return B=p.normalize(B),this.getNode(B).then(function(k){if(k){var H,Y=P._internalDataStore.getAncestorIds(k.node.id,!0);return Y.length>0&&(H=Y[0]),P.getNode({id:H})}else return new L(function(G){return G(null)})})}},{key:"filter",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};this._expandCollapseState.filtering||(this._expandCollapseState=this._expandCollapseToggle.getState(),this._expandCollapseState.filtering=!0);var k=this._internalDataStore.normalizeFilterCriteria(B),H=this._internalDataStore.filterTreeNode(k,P);return this._updateTreeData(H),new L(function(Y){setTimeout(Y,0)})}},{key:"clearFilter",value:function(){if(this._expandCollapseState.filtering){var B=this._internalDataStore.clearFilter();this._expandCollapseToggle.setState(this._expandCollapseState),this._expandCollapseState.filtering=!1,this._updateTreeData(B)}return new L(function(P){setTimeout(P,0)})}},{key:"search",value:function(B){var P={field:"",value:""};if(B&&(B.field||B.and||B.or))P=B;else throw new Error("Invalid Search Criteria");var k=this._internalDataStore.searchTreeNodes(P);return this._updateTreeData(k),new L(function(H){setTimeout(H,0)})}},{key:"getRangeForQuery",value:function(B,P){var k=this;return new Promise(function(H,Y){if(k._isQueryValid(B)&&k._isSearchSpaceConstraintValid(P,B.metaData.type)){var G=0,Q=0;P&&P.range&&(G=P.range.rows.start,Q=P.range.columns.start),H(k._searchForMetaData({startRowIndex:G,startColumnIndex:Q,direction:P&&P.position==="previous"?-1:1,key:B.metaData.key,value:B.metaData.value,type:B.metaData.type}))}else Y(new Error("Invalid query criteria or search space constraint!"))})}},{key:"_searchForMetaData",value:function(B){for(var P=B.startRowIndex,k=B.startColumnIndex,H=B.direction,Y=H===void 0?1:H,G=B.key,Q=B.value,J=B.type,q=P,oe=k;q>=0&&q<=this.dataSize.rows.end;q+=Y)if(J==="cell")for(q!==P&&(oe=Y===1?0:this.dataSize.columns.end);oe>=0&&oe<=this.dataSize.columns.end;oe+=Y){var ie=this.getLocalCellMetaData(q,oe);if(ie[G]!==void 0&&(Q===void 0||Q!==void 0&&ie[G]===Q))return{range:t.range().setRows(q,q).setColumns(oe,oe)}}else if(J==="row"){var pe=this.getLocalRowMetaData(q);if(pe[G]!==void 0&&(Q===void 0||Q!==void 0&&pe[G]===Q))return{range:t.range().setRows(q,q).setColumns(0,1/0)}}return{}}},{key:"_isQueryValid",value:function(B){return!!(B&&B.metaData&&(B.metaData.type==="cell"||B.metaData.type==="row")&&typeof B.metaData.key=="string")}},{key:"_isSearchSpaceConstraintValid",value:function(B,P){if(B===void 0)return!0;var k=B.position==="next"||B.position==="previous",H=P==="cell"&&B.range.rows.count===1&&B.range.columns.count===1&&t.isRangeInside(this.dataSize,B.range),Y=P==="row"&&B.range.rows.count===1&&B.range.columns.count===1/0&&B.range.rows.start>=this.dataSize.rows.start&&B.range.rows.end<=this.dataSize.rows.end;return!!(k&&B.range&&(H||Y))}},{key:"clearSearch",value:function(){var B=this._internalDataStore.clearSearch();return this._updateTreeData(B),new L(function(P){setTimeout(P,0)})}},{key:"_updateChecked",value:function(B,P){var k;return Array.isArray(B)?k=C(B):k=[{proxyNode:B,value:P}],this._batchUpdateChecked(k)}},{key:"_batchUpdateChecked",value:function(B){for(var P=new Set,k=!1,H=!1,Y=0;Y<B.length;Y++){var G=B[Y]&&B[Y].proxyNode,Q=B[Y]&&B[Y].value;if(G&&G.id&&typeof Q=="boolean"){var J=this._internalDataStore.updateChecked(G,Q);k||(k=J.changeOccurred),H||(H=J.updateAll),J.changedIds.forEach(function(q){P.add(q)})}}return this._updateTreeData({changeOccurred:k,updateAll:H,changedIds:Array.from(P)}),Promise.resolve()}},{key:"_getCheckNodes",value:function(){var B=this._internalDataStore.getCheckedNodes(),P=B.checkedNodeIds,k={checkTrueNodes:P};return new L(function(H){setTimeout(function(){H(k)},0)})}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}},{key:"getChildNodes",value:function(B){var P=this,k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B=p.normalize(B);var H={type:"child"};H.isRecursive=k.isRecursive||!1;var Y=Object.getOwnPropertyNames(k).length,G="isRecursive"in k;return(h(k)!=="object"||Y>1||Y&&!G)&&console.warn("Invalid parameters passed, please see Tree data Store JSDoc for correct configuration"),H.node=k.node||{},new Promise(function(Q){Q(P._query(B,H))})}},{key:"_getColumnNumbersForSortCriteria",value:function(B){return B?[0]:[]}},{key:"_updateTreeData",value:function(B){if(B.changeOccurred){var P=this._flattenedTree;this._flattenedTree=this._flatten(),this._updateDataSize();var k=-1;if(B.updateAll)k=0;else{var H=new y;B.changedIds.forEach(function(Q){H.set(Q,!0)});var Y,G;Y=m.findIndex(P,function(Q){return H.get(Q.id)}),G=m.findIndex(this._flattenedTree,function(Q){return H.get(Q.id)}),Y>=0&&G>=0?k=Math.min(Y,G):k=Math.max(Y,G)}k>=0&&this._dataChanged([t.range().setRows(k,1/0).setColumns(0,this.dataSize.columns.end)],B.columnMetaDataChanged)}}},{key:"_dataChanged",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._on.emit("dataChanged",{rangeList:B});var k=this._internalDataStore.getMetaDataRanges();t.doesRangeListIntersect(B,k)&&this._emitPagedRowMetaDataChanged(B.map(function(H){return H.setColumns(0,0)})),P&&this._emitPagedColumnMetaDataChanged([t.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"_emitPagedColumnMetaDataChanged",value:function(B){this._on.emit("pagedColumnMetaDataChanged",{rangeList:B})}},{key:"_emitPagedRowMetaDataChanged",value:function(B){this._on.emit("pagedRowMetaDataChanged",{rangeList:B})}},{key:"on",value:function(B,P){var k=this._on.on(B,P);return this._listeners.push(k),k}},{key:"destroy",value:function(){this._listeners.forEach(function(B){return B.remove()}),this._metaDataRules=null,this._internalDataStore=null,this._flattenedTree=null}},{key:"_query",value:function(B){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=B.id,H=[];return P.isRecursive?H=this._getRecursiveDataItems(k):H=this._getNodes(k)[U.CHILD](),Object.getOwnPropertyNames(P.node).length&&(H=this._filterDataItems(P.node,H)),H}},{key:"_queryMetaData",value:function(B,P){var k,H,Y,G=this._flattenedTree.length,Q=P.range&&P.range.rows&&P.range.rows.start?P.range.rows.start:0,J=P.range&&P.range.rows&&P.range.rows.end?P.range.rows.end:G-1,q=Q<0?0:Q,oe=J>G-1?G-1:J,ie=P.queryCriteria,pe=ie&&ie.compare&&ie.compare.dataType?ie.compare.dataType:N.dataType.DEFAULT_DATA_TYPE,ce=ie.metadata.field,te=ie.metadata.value,ne=S.getValueByType(pe,te),re,se,ge=!1,he=!1;switch(P.position){case R.POSITION.NEXT:if(k=1,B>=oe)return null;Y=B+k;break;case R.POSITION.PREVIOUS:if(k=-1,B<=q)return null;Y=B+k;break;case R.POSITION.FIRST:k=1,Y=q;break;case R.POSITION.LAST:k=-1,Y=oe;break;default:}for(H=Y;!ge;)H=Y,Y=Y+k,re=this.getLocalRowMetaData(H)[ce],se=S.getValueByType(pe,re),he=H<q||H>oe,ge=se===ne||he;return H<q||H>J?null:H}},{key:"_getNodes",value:function(B){var P=this._internalDataStore,k=this._flattenedTree,H={child:P.getChildNodes.bind(P,B,k),sibling:P.getSiblingNodes.bind(P,B,k),root:P.getRootNodes.bind(P,B,k),ancestor:P.getAncestorNodes.bind(P,B,k)};return H}},{key:"_getRecursiveDataItems",value:function(B){for(var P=this._getNodes(B).child(),k=[],H=[{arr:P}],Y=0;H.length>0;){for(var G=H[Y].arr,Q=0;Q<G.length;Q++){k.push(G[Q]);var J=G[Q].node,q=J.id;P=this._getNodes(q).child(),P.length&&H.push({arr:P})}H.shift()}return k}},{key:"_filterDataItems",value:function(B,P){throw new Error("This configuration is not supported")}}])}();return V},A,x),A.exports=w},84256:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(50819)],w=a.dj.d(T,function(u){return function(){function r(d){C(this,r),this._toggledIds=[],this._allExpanded=!1,d.allExpanded&&(this._allExpanded=!0)}return _(r,[{key:"isExpanded",value:function(n){var i=this._toggledIds.indexOf(n),o=i>=0;return this._allExpanded?!o:o}},{key:"expandAll",value:function(){var n=this._toggledIds.length>0||!this._allExpanded;return this._allExpanded=!0,this._toggledIds=[],{changeOccurred:n,allExpanded:this._allExpanded,updateAll:!0}}},{key:"collapseAll",value:function(){var n=this._toggledIds.length>0||this._allExpanded;return this._allExpanded=!1,this._toggledIds=[],{changeOccurred:n,updateAll:!0}}},{key:"expand",value:function(n){if(!Array.isArray(n))throw new Error("'expand' expected an array in proxyNodeList.");for(var i=!1,o=this._toggledIds.slice(0),c=0;c<n.length;c+=1){var e=u.normalize(n[c]),t=e.id,s=o.indexOf(t);this._allExpanded?s>=0&&(o.splice(s,1),i=!0):s<0&&(o.push(t),i=!0)}this._toggledIds=o;var l=n.map(function(p){return p.id});return{changeOccurred:i,changedIds:i?l:[],updateAll:!1}}},{key:"collapse",value:function(n){if(!Array.isArray(n))throw new Error("'expand' expected an array in proxyNodeList.");for(var i=!1,o=this._toggledIds.slice(0),c=0;c<n.length;c+=1){var e=u.normalize(n[c]),t=e.id,s=o.indexOf(t);this._allExpanded?s<0&&(o.push(t),i=!0):s>=0&&(o.splice(s,1),i=!0)}this._toggledIds=o;var l=n.map(function(p){return p.id});return{changeOccurred:i,changedIds:i?l:[],updateAll:!1}}},{key:"getState",value:function(){return{toggledIds:this._toggledIds,allExpanded:this._allExpanded}}},{key:"setState",value:function(n){this._toggledIds=n.toggledIds,this._allExpanded=n.allExpanded}}])}()},A,x),A.exports=w},33621:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(31951)],w=a.dj.d(T,function(u){return function(){function r(d,n){C(this,r),this._filteredNodesCache=new u,this._filterCriteria=d,this._ancestorIds=[],this._getId=n.getId,this._getParentId=n.getParentId,this._treeRootId=n.treeRootId;var i=!0,o=n.checkedNodeIds(i),c=o.checkedNodeIds,e=o.unCheckedNodeIds;this.checkedNodeIds=c,this.unCheckedNodeIds=e,this._columnMap=n.columnMap}return _(r,[{key:"_checkComposite",value:function(n){return n.and||n.or}},{key:"isFiltered",value:function(n){return this._filteredNodesCache.has(n)}},{key:"clearFilteredNodes",value:function(){this._filteredNodesCache=new u}},{key:"addAncestorsToFilter",value:function(n){n!==this._treeRootId&&(this.isFiltered(n)||this._ancestorIds.push(n))}},{key:"clearFilter",value:function(){this.clearFilteredNodes();var n={};return n.changeOccurred=!0,n.updateAll=!0,n}},{key:"addtoFilterCache",value:function(n){this._filteredNodesCache.set(n,!0)}},{key:"removeNodeFromFilter",value:function(n){this._filteredNodesCache.remove(n)}},{key:"getAncestorIds",value:function(){return this._ancestorIds}},{key:"clearAncestorIds",value:function(){this._ancestorIds=[]}},{key:"getFilterCriteria",value:function(){return this._filterCriteria}},{key:"_isFiltratorDefined",value:function(n){return n.filtrator&&typeof n.filtrator=="function"}},{key:"_filterNode",value:function(n,i,o){for(var c=!0,e=0;e<i.length;e++){var t=this._isValidateCriteria(i[e]);if(!t.invalid){if(t.simple)if(this._isFiltratorDefined(i[e]))try{var s=i[e].filtrator(n,this._getCriteriaForCustomFilterFunction(i[e]));c=!!s}catch(E){c=!1}else{var l=i[e].value&&i[e].value.toString().toLowerCase(),p=this._extractValueToFilter(n,i[e]);c=this._compareValues(p,l,this._isFilterNeeded(n,i[e],l,p))}else t.complex?c=this._compositeCriteria(n,i[e]):t.checked&&(c=this._checkedCriteria(n,i[e]));if(c===o)return o}}return c}},{key:"_isValidateCriteria",value:function(n){var i=this._isBaseCriteria(n),o=this._isCheckedCriteria(n),c=!1;!i&&!o&&(c=this._checkComposite(n));var e=!i&&!c&&!o;return{simple:i,complex:c,checked:o,invalid:e}}},{key:"_filterCheckedNode",value:function(n){var i=this.checkedNodeIds.includes(this._getId(n));return i}},{key:"_filterUnCheckedNode",value:function(n){var i=this.unCheckedNodeIds.includes(this._getId(n));return i}},{key:"_checkedCriteria",value:function(n,i){var o=!1,c=i.metadata.checked,e=c===!0,t=c===!1;return e?o=this._filterCheckedNode(n):t&&(o=this._filterUnCheckedNode(n)),o}},{key:"_compositeCriteria",value:function(n,i){var o=!1;return i.and?o=this._filterNode(n,i.and,!1):i.or&&(o=this._filterNode(n,i.or,!0)),o}},{key:"isFilterMatch",value:function(n){var i=this._checkComposite(this._filterCriteria),o=!1;return i?o=this._compositeCriteria(n,this._filterCriteria):o=this._filterNode(n,[this._filterCriteria],!1),o&&this.addtoFilterCache(this._getId(n)),o}},{key:"_isFilterNeeded",value:function(n,i,o,c){var e=!0;return e=this._hasFilteringProperty(n,i),o===""&&(e=!1,c===o&&(e=!0)),e}},{key:"_compareValues",value:function(n,i,o){var c;return n!==null?c=o&&n.toString().toLowerCase().indexOf(i)!==-1:i===null?c=o:c=!1,c||!1}},{key:"_getCriteriaForCustomFilterFunction",value:function(n){var i={};return n.hasOwnProperty("field")&&(i.field=n.field),n.hasOwnProperty("columnIndex")&&(i.columnIndex=n.columnIndex),n.hasOwnProperty("value")&&(i.value=n.value),i}}])}()},A,x),A.exports=w},54550:(A,x,a)=>{"use strict";var T,w;function h(c){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(c)}function C(c){return f(c)||v(c)||_(c)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(c,e){if(c){if(typeof c=="string")return u(c,e);var t=Object.prototype.toString.call(c).slice(8,-1);if(t==="Object"&&c.constructor&&(t=c.constructor.name),t==="Map"||t==="Set")return Array.from(c);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(c,e)}}function v(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function f(c){if(Array.isArray(c))return u(c)}function u(c,e){(e==null||e>c.length)&&(e=c.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=c[t];return s}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function d(c,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,i(s.key),s)}}function n(c,e,t){return e&&d(c.prototype,e),t&&d(c,t),Object.defineProperty(c,"prototype",{writable:!1}),c}function i(c){var e=o(c,"string");return h(e)=="symbol"?e:e+""}function o(c,e){if(h(c)!="object"||!c)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var s=t.call(c,e||"default");if(h(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(c)}T=[a(31951),a(41239),a(27807),a(20779),a(91499),a(2613),a(68053),a(51579),a(46465),a(37999)],w=a.dj.d(T,function(c,e,t,s,l,p,E,m,y,b){var I=t.ERROR_CIRCULAR_REF,S=t.ERROR_MODE_NON_EXISTENT,R="mixed",N="checked",O="unchecked",L="__root",U={TREE:l,TREETABLE:p},z=0,$=y.TREETABLE,W="OBJECT";return function(){function V(K){var M=this,B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r(this,V),this._data=K||[],this.type=B.type,this._columnMap=B.columnMap,this.setSortState(null);var P=U[this.type];this.type===$&&B.rowDataType===W&&this._setDefaultColumnOptionsForTreeTable(B),this._sort=new P(B.sorted,this._columnMap),this._sort.sorted&&this._sort.sort(this._data),this._isExpanded=B.isExpanded,this.getParentId=function(k){return k.parent},B.getParentId&&(this.getParentId=B.getParentId),this.setParentId=function(k,H){k.parent=H},B.setParentId&&(this.setParentId=B.setParentId),this.getId=function(k){return k.id},B.getId&&(this.getId=B.getId),this.getCheck=function(k){return k.check},B.getCheck&&(this.getCheck=B.getCheck),this.setCheck=function(k,H){k.check=H===!0},B.setCheck&&(this.setCheck=B.setCheck),this.isCheckboxTree=B.isCheckboxTree,this._isSearching=!1,this._treeNodeIdCache=new c,this._treeRootId=null,this._getCheckedState=function(k){return!1},this.isCheckboxTree&&(this._getCheckedState=this._getCheckStatus,this._checkSet={}),this._createTreeNode=function(k,H,Y){var G=M.getId(k),Q=M._isExpandable(G),J=M._getCheckedState(G);return B.createTreeNode(G,k,H,Y,Q&&M._isExpanded(G),Q,J,M._getGroupRow(G))},this._indexCache=new m(this._data,{getId:this.getId}),this._createParentCache(),this._makeCheckSets()}return n(V,[{key:"_setDefaultColumnOptionsForTreeTable",value:function(M){if(this._columnMap||(this._columnMap=Object.keys(this._data[0])),!this._columnMap)throw new Error("options.columnMap or at least one row of data must be specified.")}},{key:"setSortState",value:function(M){this._sortState=M}},{key:"getSortState",value:function(){return this._sortState}},{key:"_clearSortSettings",value:function(){this.setSortState([]),this._sort.removePersistentSort()}},{key:"_getGroupRow",value:function(M){if(this._groupRowIdCache&&this._groupRowIdCache.get(M))return this._groupRowIdCache.get(M)}},{key:"setGrouping",value:function(M){var B=this;this._isGrouping=!0,this._setGrouping=function(){var P=M(),k=P.groupingData,H=P.groupRowMeta,Y=P.getParentIdForGrouping;B._groupRowIdCache=new c,Object.keys(H).forEach(function(G){B._groupRowIdCache.set(G,H[G])}),B._getParentIdForGrouping=Y,B._createParentCache(k,Y)},this._clearSortSettings(),this._updateResults()}},{key:"getNumColumns",value:function(){return z}},{key:"getColumnMap",value:function(){return this._columnMap}},{key:"getCell",value:function(M,B){return M[B]}},{key:"setCell",value:function(M,B,P){M[B]=P}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"_hasChild",value:function(M){var B=this;return e.findIndex(this._data,function(P){return B.getParentId(P)===M})>=0}},{key:"_isExpandable",value:function(M){var B=this._parentCache.get(M);return!!(B&&B.length>0)}},{key:"_updateParentCacheNode",value:function(M,B){var P=this,k=this._parentCache.get(M);if(!k||k.length===0){B.index===void 0&&(B.index=this._getIndexById(this.getId(B.node))),this._parentCache.set(M,[B]);return}var H,Y=k.length-1,G=0,Q,J,q;if(B.index!==void 0?(H=B.index,Q=k[Y].index,J=k[G].index,q=function(pe){return pe.index>B.index}):(H=this._getIndexById(this.getId(B.node)),Q=this._getIndexById(this.getId(k[Y].node)),J=this._getIndexById(this.getId(k[G].node)),q=function(pe){return P._getIndexById(P.getId(pe.node))>H},B.index=H),Q<H)k.push(B);else if(J>H)k.unshift(B);else{var oe=e.findIndex(k,q);k.splice(oe,0,B)}}},{key:"_createChildIndexValue",value:function(M,B){return B!==void 0?{node:M,index:B}:{node:M}}},{key:"_createParentCache",value:function(M,B){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._parentCache=new c,this._rootNodes=[],P=P||this._isGrouping||B!==void 0,M=M||this._data;for(var k=B||this.getParentId,H=M.length,Y=0;Y<H;Y++){var G=M[Y],Q=k(G);P?this._updateParentCacheNode(Q,this._createChildIndexValue(G,Y)):this._updateParentCacheNode(Q,this._createChildIndexValue(G))}}},{key:"_makeCheckSets",value:function(){if(this.isCheckboxTree)for(var M=0;M<=this._data.length-1;M++)this._isLeafNode(this.getId(this._data[M]))&&this._pushToCheckSet({directParent:this.getParentId(this._data[M]),leafChild:{id:this.getId(this._data[M]),node:this._data[M]}})}},{key:"_pushToCheckSet",value:function(M){if(M.directParent===null&&(M.directParent=L),this._checkSet[M.directParent]){var B=this._checkSet[M.directParent].checkValue,P=this._getNodeCheckStateForSet(M.leafChild.node);this._checkSet[M.directParent].checkValue=this._determineSetState(B,P),this._checkSet[M.directParent].leafChildren.push(M.leafChild)}else this._checkSet[M.directParent]={leafChildren:[M.leafChild],checkValue:this._getNodeCheckStateForSet(M.leafChild.node)}}},{key:"_getNodeCheckStateForSet",value:function(M){return this.getCheck(M)===!0?N:O}},{key:"_booleanToCheckState",value:function(M){return M?N:O}},{key:"_checkStateToBoolean",value:function(M){return M===N}},{key:"_determineSetState",value:function(M,B){return M===B?M:R}},{key:"_determineStateForSetOnRemovingLeafNode",value:function(M,B){return M===O||M===N?M:this._getCheckStatusForLeaves(B)}},{key:"_getCheckStatusForLeaves",value:function(M){for(var B=O,P=!1,k=!1,H=0;H<=M.length-1;H++)if(this.getCheck(M[H].node)?P=!0:k=!0,P&&k){B=R;break}return B===R?B:P?N:O}},{key:"_isLeafNode",value:function(M){M===L&&(M=null);var B=this._parentCache.get(M);return B=B||[],B.length===0}},{key:"_getChildIdsForParentId",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=this._parentCache.get(M),k=[];if(P)for(var H=0;H<=P.length-1;H++){var Y=this.getId(P[H].node);B&&this._isLeafNode(Y)||k.push(Y)}return k}},{key:"_computeCheckStateOfNode",value:function(M){if(M.id!==L)return this._isLeafNode(M.id)?this._getNodeCheckStateForSet(this._getNodeInfo(M.id)):this._stateToString(this._computeCheckStateForSubTree(M.id))}},{key:"_stateToString",value:function(M){if(M.discoveredUnChecked&&M.discoveredChecked)return R;if(M.discoveredChecked)return N;if(M.discoveredUnChecked)return O}},{key:"_computeCheckStateForSubTree",value:function(M,B){B=B||{discoveredChecked:!1,discoveredUnChecked:!1};var P=this._getChildIdsForParentId(M),k=this.__getModifiedStateAndChildListToTraverse(M,P,B),H=k.newChildIds,Y=k.newState;if(B=Y,B.discoveredChecked&&B.discoveredUnChecked)return B;P=H;for(var G=0;G<=P.length-1;G++)if(B=this._computeCheckStateForSubTree(P[G],B),B.discoveredChecked&&B.discoveredUnChecked)return B;return B}},{key:"__getModifiedStateAndChildListToTraverse",value:function(M,B,P){if(this._checkSet[M]){var k=this._checkSet[M].checkValue;k===R&&(P.discoveredUnChecked=!0,P.discoveredChecked=!0),k===N&&(P.discoveredChecked=!0,B=this._removeSetLeafNodes(B,this._checkSet[M].leafChildren)),k===O&&(P.discoveredUnChecked=!0,B=this._removeSetLeafNodes(B,this._checkSet[M].leafChildren))}return{newChildIds:B,newState:P}}},{key:"_removeSetLeafNodes",value:function(M,B){for(var P=[],k=0;k<=B.length-1;k++)P.push(B[k].id);return M=M.filter(function(H){return!P.includes(H)}),M}},{key:"_reactToAddNode",value:function(M,B){if(M===null||!this._isLeafNode(M)){this._pushToCheckSet({directParent:M,leafChild:{id:this.getId(B),node:B}});return}this.__removeLeafNodeFromCheckSet(M,this.getParentId(this._getNodeInfo(M)),!1),this._pushToCheckSet({directParent:M,leafChild:{id:this.getId(B),node:B}})}},{key:"_reactToRemoveNode",value:function(M,B,P){if(this._isLeafNode(M)){this.__removeLeafNodeFromCheckSet(M,B);return}if(P.keepChildren!==!0){if(this.__removeSubTreeFromId(M),B===null)return;if(this._getChildIdsForParentId(B).length===1){var k=this._getParentIdForNodeId(B);this._pushToCheckSet({directParent:k,leafChild:{id:B,node:this._getNodeInfo(B)}})}return}for(var H=this._getChildIdsForParentId(M),Y=0;Y<=H.length-1;Y++)this.__reactToReparentNode(H[Y],M,B);this.__isIdPartOfParentCheckCache(M,B)&&this.__removeLeafNodeFromCheckSet(M,B)}},{key:"__isIdPartOfParentCheckCache",value:function(M,B){B===null&&(B=L);var P=!1;if(this._checkSet[B]){for(var k=this._checkSet[B].leafChildren,H=0;H<=k.length-1;H++)if(k[H].id===M){P=!0;break}}return P}},{key:"__removeSubTreeFromId",value:function(M){this._checkSet[M]&&this.__removeCheckSetEntry(M);for(var B=this._getChildIdsForParentId(M,!0),P=0;P<=B.length-1;P++)B.push.apply(B,C(this._getChildIdsForParentId(B[P],!0))),this._checkSet[B[P]]&&this.__removeCheckSetEntry(B[P])}},{key:"_getParentIdForNodeId",value:function(M){if(M!==null){var B=this._getNodeInfo(M);if(B)return this.getParentId(B)}}},{key:"__reactToReparentNode",value:function(M,B,P){if(this._isLeafNode(P)&&this.__removeLeafNodeFromCheckSet(P,this.getParentId(this._getNodeInfo(P))),!!this._isLeafNode(M)){this.__removeLeafNodeFromCheckSet(M,B),this._pushToCheckSet({directParent:P,leafChild:{id:M,node:this._getNodeInfo(M)}});var k=this._getParentIdForNodeId(P);if(k!==void 0){var H=this._getParentIdForNodeId(k);H!==void 0&&this.__removeLeafNodeFromCheckSet(k,H,!1)}}}},{key:"__doesIdExistInLeafChildren",value:function(M,B){for(var P=!1,k=0;k<=B.length-1;k++)if(B[k].id===M){P=!0;break}return P}},{key:"__removeLeafNodeFromCheckSet",value:function(M,B){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(B===null&&(B=L),this._checkSet[B]){if(!this.__doesIdExistInLeafChildren(M,this._checkSet[B].leafChildren))return;if(this._checkSet[B].leafChildren.length>1){this._checkSet[B].leafChildren=this._checkSet[B].leafChildren.filter(function(Y){return Y.id!==M});var k=this._checkSet[B].checkValue,H=this._checkSet[B].leafChildren;this._checkSet[B].checkValue=this._determineStateForSetOnRemovingLeafNode(k,H);return}this._getChildIdsForParentId(B).length===1&&P&&this._pushToCheckSet({directParent:this.getParentId(this._getNodeInfo(B)),leafChild:{id:B,node:this._getNodeInfo(B)}}),this.__removeCheckSetEntry(B)}}},{key:"__removeCheckSetEntry",value:function(M){delete this._checkSet[M]}},{key:"filterTreeNode",value:function(M,B){this._filterOptions=B;var P=B.displayChildren,k=this.getParentId,H=function(){return{checkTrueNodes:[],checkFalseNodes:[]}};this._isGrouping&&(k=this._getParentIdForGrouping),this.isCheckboxTree&&(H=this.getCheckedNodes),this._filter=this._instantiateFilter(M,{getId:this.getId,getParentId:k,treeRootId:this._treeRootId,checkedNodeIds:H.bind(this),columnMap:this._columnMap});for(var Y=0;Y<this._data.length;Y=Y+1){var G=this._data[Y];if(this._treeNodeIdCache.set(this.getId(G),G),!this._filter.isFiltered(this.getId(G))){var Q=this._filter.isFilterMatch(G);Q&&(this._filter.addAncestorsToFilter(k(G)),P===!0&&this._addChildrenToFilter(this.getId(G)))}}this._includeFilteredAncestors(),this._filter.clearAncestorIds(),this._isFiltering=!0;var J={};return J.changeOccurred=!0,J.updateAll=!0,J}},{key:"_addChildrenToFilter",value:function(M){var B=this._parentCache.get(M);if(B)for(var P=[{arr:B,lastIndex:0}];P.length>0;){for(var k=P.length-1,H=P[k].lastIndex,Y=P[k].arr,G=H,Q=Y.length;G<Q;G+=1){var J=Y[G].node,q=this.getId(J);if(this._filter.addtoFilterCache(q),this._parentCache.has(q)){P.push({arr:this._parentCache.get(q),lastIndex:0}),P[k].lastIndex=G+1;break}}G===Y.length&&P.pop()}}},{key:"_includeFilteredAncestors",value:function(){for(var M=this._filter.getAncestorIds(),B=0;B<M.length;B++)this._addFilterAncestors(M[B])}},{key:"clearFilter",value:function(){var M={};return this._isFiltering?(this._isFiltering=!1,M=this._filter.clearFilter()):M.changeOccurred=!1,M}},{key:"registerCustomSort",value:function(M,B){this._sort.validateCustomSortName(M),this._sort.addCustomCompare(M,B)}},{key:"validateSortCriteria",value:function(M,B){var P=this;M.forEach(function(k){P._sort._validateSortOption(k,B)})}},{key:"searchTreeNodes",value:function(M){this._search=new s(M,{getId:this.getId,_type:this.type}),this._isSearching=!0;for(var B=0;B<this._data.length;B=B+1){var P=this._data[B];this._search.searchNodeForMatches(P)}var k={};return k.changeOccurred=!0,k.updateAll=!0,k}},{key:"clearSearch",value:function(){var M={};return this._isSearching?(this._isSearching=!1,M.changeOccurred=!0,M.updateAll=!0):M.changeOccurred=!1,M}},{key:"_updateResults",value:function(){var M=!1;if(this._isGrouping&&(this._setGrouping(),M=!0),this._isFiltering){var B=this._filter.getFilterCriteria();this.filterTreeNode(B,this._filterOptions),M=!0}if(this._isSearching){var P=this._search.getSearchCriteria();this.searchTreeNodes(P),M=!0}return M}},{key:"_reCreateParentCacheInGrouping",value:function(){this._isGrouping&&this._createParentCache()}},{key:"_setNodePositionForFilter",value:function(M,B){for(var P=0;P<M.length;P++){var k=M[P],H=this._isGrouping?this._getParentIdForGrouping(k.data):this.getParentId(k.data);H=H||"__root__node__",k.nodePosition={nodeIndex:B[H].currentIdx,noOfNodes:B[H].childrenCount},B[H].currentIdx++}}},{key:"flatten",value:function(M){M&&this._createParentCache(this._data);var B=this._createTreeNode,P=[],k=this._parentCache.get(this._treeRootId),H={};if(k){for(var Y={id:this._treeRootId,parent:null},G=[{arr:k,lastIndex:0,path:Y}];G.length>0;){for(var Q=G.length-1,J=G[Q].lastIndex,q=G[Q].arr,oe=J,ie=q.length,pe=G[Q].path;oe<ie;oe++){var ce={parent:pe},te=B(q[oe].node,Q,ce);ce.id=te.id;var ne=te.id,re=te.isExpanded,se=!0;if(this._isFiltering){if(se=!1,this._filter.isFiltered(ne)){var ge=this._isGrouping?this._getParentIdForGrouping(te.data):this.getParentId(te.data);ge=ge||"__root__node__",H[ge]?H[ge].childrenCount++:H[ge]={childrenCount:1,currentIdx:1},P.push(te),se=!0}}else te.nodePosition={nodeIndex:oe+1,noOfNodes:ie},P.push(te);if(this._isSearching&&this._search.isNodeAMatch(q[oe].node)&&(te.highlight=this._search.getMatchesFromCache(q[oe].node)),se&&re&&this._parentCache.has(ne)||M&&this._parentCache.has(ne)){G.push({arr:this._parentCache.get(ne),lastIndex:0,path:ce}),G[Q].lastIndex=oe+1;break}}oe===q.length&&G.pop()}this._isFiltering&&this._setNodePositionForFilter(P,H)}return P}},{key:"_getIndexById",value:function(M){return this._indexCache.getIndex(M)}},{key:"_getNodeById",value:function(M){for(var B=0;B<this._data.length;B+=1){var P=this._data[B];if(this.getId(P)===M)return P}return null}},{key:"getNodesByIds",value:function(M){var B=this;if(M.length===0)return[];if(M.length===1)return[this._getNodeById(M[0])];for(var P=new c,k=0;k<M.length;k+=1){var H=M[k];P.set(H,!0)}var Y=function(Q){return P.has(B.getId(Q))};return this._data.filter(Y)}},{key:"_cacheParents",value:function(M){var B=new c,P=this.getParentId;M&&this._isGrouping&&(P=this._getParentIdForGrouping);for(var k=0;k<this._data.length;k+=1){var H=this.getId(this._data[k]),Y=P(this._data[k]);B.set(H,Y)}return B}},{key:"getAncestorIds",value:function(M,B){var P=this,k;k=this._cacheParents(B);for(var H=function(J){var q;return k.has(J)?q=k.get(J):B&&P._isGrouping&&(q=P._getParentIdForGrouping(null,J)),q},Y=[],G=H(M);G&&G!==this._treeRootId;)Y.push(G),G=H(G);return Y}},{key:"getChildIndiciesByParent",value:function(M){var B=this._parentCache.get(M);if(B){for(var P=[],k=B.length,H=0;H<k;H++){var Y=B[H].node;P.push({index:this._getIndexById(this.getId(Y)),node:Y})}return P}return[]}},{key:"_calcPlacementIndex",value:function(M,B,P){var k=this;if(this._sort.sorted)return this._sort.getInsertIndex(this._data,B);var H=P.place,Y=this._data.length;if(H==="first")Y=0;else if(H==="last")Y=this._data.length;else if(P.node){var G,Q;G=P.node.id,Q=this.getChildIndiciesByParent(M);var J=!1;if(Q){var q=e.find(Q,function(ie){return G===k.getId(ie.node)});q&&(Y=q.index,J=!0)}if(!J){var oe=this._getIndexById(G);oe>=0&&(Y=oe,J=!0)}J&&H==="after"&&(Y+=1)}return Y}},{key:"_updateSortState",value:function(){return this._sort.sorted?!1:(this.setSortState(null),!0)}},{key:"add",value:function(M,B,P){this.isCheckboxTree&&this._reactToAddNode(M,B),this._reCreateParentCacheInGrouping(),this.setParentId(B,M);var k=this._calcPlacementIndex(M,B,P),H=this._isExpandable(M);this._data.splice(k,0,B),this._indexCache.setNode(this.getId(B),k,{index:k,node:B}),this._updateParentCacheNode(M,this._createChildIndexValue(B));var Y=[this.getId(B)];H!==this._isExpandable(M)&&Y.push(M);var G=this._updateResults(),Q=this._updateSortState();return{changeOccurred:!0,changedIds:Y,updateAll:G,columnMetaDataChanged:Q}}},{key:"addNodes",value:function(M){for(var B=[],P=0;P<=M.length-1;P++){M[P].options===void 0&&(M[P].options={place:"last"});var k=this._add(M[P].parentProxy.id,M[P].nodeToAdd,M[P].options),H=k.changedIds;B.push.apply(B,C(H))}var Y=this._updateResults(),G=this._updateSortState();return{changeOccurred:!0,changedIds:B,updateAll:Y,columnMetaDataChanged:G}}},{key:"_add",value:function(M,B,P){this.isCheckboxTree&&this._reactToAddNode(M,B),this._reCreateParentCacheInGrouping(),this.setParentId(B,M);var k=this._calcPlacementIndex(M,B,P),H=this._isExpandable(M);this._data.splice(k,0,B),this._indexCache.setNode(this.getId(B),k,{index:k,node:B}),this._updateParentCacheNode(M,this._createChildIndexValue(B));var Y=[this.getId(B)];return H!==this._isExpandable(M)&&Y.push(M),{changedIds:Y}}},{key:"remove",value:function(M){for(var B=!1,P=[],k=0;k<=M.length-1;k++){M[k].options===void 0&&(M[k].options={keepChildren:!1});var H=this._remove(M[k].parentId,M[k].proxyNodeToRemove.id,M[k].options),Y=H.changeOccurred,G=H.changedIds;!B&&Y&&(B=Y),Array.isArray(G)&&(P=[].concat(C(P),C(G)))}if(B){var Q=this._updateResults(),J=this._updateSortState();return{changeOccurred:B,changedIds:P,updateAll:Q,columnMetaDataChanged:J}}return{changeOccurred:!1}}},{key:"_remove",value:function(M,B,P){var k=this;this._reCreateParentCacheInGrouping();var H=this._getIndexById(B);if(H<0)return{changeOccurred:!1};this.isCheckboxTree&&this._reactToRemoveNode(B,M,P);var Y=this._isExpandable(M),G;if(P.keepChildren){var Q=this.getChildIndiciesByParent(B);Q.forEach(function(te){k.setParentId(te.node,M),k._updateParentCacheNode(M,{node:te.node})}),G=[H]}else{var J=[],q=function te(ne){if(ne.length!==0){var re=[];ne.forEach(function(se){var ge=k.getId(se.node);re=re.concat(k.getChildIndiciesByParent(ge))}),J=J.concat(re),te(re)}};q([this._createChildIndexValue(this._data[H])]),G=J.map(function(te){return te.index}),G.push(H),G.sort(function(te,ne){return ne-te})}for(var oe=[],ie=0;ie<G.length;ie+=1){var pe=G[ie],ce=this._data[pe];oe.push(this.getId(ce)),this._removeParentCacheNode(this.getParentId(ce),{node:ce}),this._indexCache.removeNode(this.getId(ce),pe),this._data.splice(pe,1)}return Y!==this._isExpandable(M)&&oe.push(M),{changeOccurred:!0,changedIds:oe}}},{key:"_getNodesByParent",value:function(M,B){var P=[],k=[],H=this._parentCache.get(M);if(H=H||[],H.length===0&&M===this._treeRootId)return{leafNodeIds:P,parentNodeIds:k};H.length>0&&B&&M!==this._treeRootId?k.push(M):H.length===0&&P.push(M);for(var Y=[{arr:H}],G=0;Y.length>0;){for(var Q=Y[G].arr,J=Q.length,q=0;q<J;q++){var oe=Q[q].node,ie=this.getId(oe),pe=this._parentCache.get(ie);pe?(B&&ie&&k.push(ie),Y.push({arr:pe})):pe||P.push(ie)}Y.shift()}return{leafNodeIds:P,parentNodeIds:k}}},{key:"getChildNodes",value:function(M,B){var P=this,k=this.getChildIndiciesByParent(M),H=null,Y=[];return k.length===0?[]:(k.forEach(function(G){var Q=e.findIndex(B,function(q){return G.node.id===q.id});if(Q>=0)H={index:Q,node:B[Q]};else{var J=P._createTreeNode(G.node,null);H={index:null,node:{id:J.id,isExpandable:J.isExpandable,isExpanded:J.isExpanded,level:J.level,data:J.data}}}Y.push(H)}),Y)}},{key:"getSiblingNodes",value:function(M){throw new Error("This configuration is not suported")}},{key:"getRootNodes",value:function(M){throw new Error("This configuration is not suported")}},{key:"getAncestorNodes",value:function(M){throw new Error("This configuration is not suported")}},{key:"_removeParentCacheNode",value:function(M,B){var P=this,k=this._parentCache.get(M);if(k){var H=this._getIndexById(this.getId(B.node)),Y=e.findIndex(k,function(G){return P._getIndexById(P.getId(G.node))===H});k.splice(Y,1)}}},{key:"move",value:function(M,B,P,k){this._reCreateParentCacheInGrouping();var H=this._getIndexById(B);if(H<0)return{changeOccurred:!1};if(P&&!this._indexCache.hasIndex(P)){var Y=new Error("New parent Id does not exists");throw Y.reason=S,Y}var G=this.getAncestorIds(P);if(G.indexOf(B)>=0||B===P){var Q=new Error("Move caused a circular reference");throw Q.reason=I,Q}this.isCheckboxTree&&this.__reactToReparentNode(B,M,P);var J=this._calcPlacementIndex(P,this._data[H],k),q=this._isExpandable(P),oe=this._isExpandable(M),ie=this._data[H];H>=0&&J>=0&&H!==J?(this._removeParentCacheNode(M,{node:ie}),this._indexCache.removeNode(B,H),this._data.splice(H,1),H<J&&(J-=1),this._data.splice(J,0,ie),this._indexCache.setNode(B,J,{index:J,node:ie}),this._updateParentCacheNode(P,{node:ie})):H===J&&(this._removeParentCacheNode(M,{node:ie}),this._updateParentCacheNode(P,{node:ie})),this.setParentId(ie,P);var pe=[B];oe!==this._isExpandable(M)&&pe.push(M),q!==this._isExpandable(P)&&pe.push(P);var ce=this._updateResults(),te=this._updateSortState();return{changeOccurred:!0,changedIds:pe,updateAll:ce,columnMetaDataChanged:te}}},{key:"update",value:function(M){for(var B=[],P=0;P<=M.length-1;P++){var k=this._update(M[P].parentId,M[P].proxyNodeToUpdate.id,M[P].fieldsToMerge),H=k.changedIds;B.push.apply(B,C(H))}var Y=this._updateResults(),G=this._updateSortState();return{changeOccurred:!0,changedIds:B,updateAll:Y,columnMetaDataChanged:G}}},{key:"_update",value:function(M,B,P){var k=this._getIndexById(B);if(k<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var H=this._data[k];for(var Y in P)H[Y]=P[Y];if(this._sort.sorted){var G=this.getParentId(H);this._removeParentCacheNode(G,{node:H}),this._indexCache.removeNode(B,k),this._data.splice(k,1);var Q=this._calcPlacementIndex(G,H,{});this._data.splice(Q,0,H),this._indexCache.setNode(B,Q,{index:Q,node:H}),this._updateParentCacheNode(G,{node:H})}return{changedIds:[B]}}},{key:"_updateChecked",value:function(M,B){var P=[];return this._isLeafNode(M.id)?(this._updateCheckedLeafNode(M.id,this._booleanToCheckState(B)),P.push({id:M.id}),P):(P=this._updateCheckedParentNode(M.id,this._booleanToCheckState(B)),P)}},{key:"_updateCheckedParentNode",value:function(M,B){var P=[],k=[];if(this.__doesParentIdHaveChekSet(M)){var H=this.__updateCheckedSets(M,B),Y=H.leafChildrenSetIds,G=H.changeIds;k=Y,P=[].concat(C(P),C(G))}var Q=this._getChildIdsForParentId(M);Q=Q.filter(function(q){return!k.includes(q)});for(var J=0;J<=Q.length-1;J++)P=[].concat(C(P),C(this._updateCheckedParentNode(Q[J],B)));return P}},{key:"__doesParentIdHaveChekSet",value:function(M){return!!this._checkSet[M]}},{key:"__updateCheckedSets",value:function(M,B){for(var P=[],k=[],H=!1,Y=0;Y<=this._checkSet[M].leafChildren.length-1;Y++)this._checkStateToBoolean(B)!==!!this.getCheck(this._checkSet[M].leafChildren[Y].node)&&(H||(H=!0),k.push({id:this._checkSet[M].leafChildren[Y].id,ignoreAncestorCalculation:!0})),this.setCheck(this._checkSet[M].leafChildren[Y].node,this._checkStateToBoolean(B)),P.push(this.getId(this._checkSet[M].leafChildren[Y].node));return this._checkSet[M].checkValue=B,H&&k.push({id:M}),{leafChildrenSetIds:P,changeIds:k}}},{key:"_updateCheckedLeafNode",value:function(M,B){if(this._getNodeCheckStateForSet(this._getNodeInfo(M))!==B){var P=this.getParentId(this._getNodeInfo(M));P===null&&(P=L),this.setCheck(this._getNodeInfo(M),this._checkStateToBoolean(B)),this._checkSet[P].checkValue=this._getCheckStatusForLeaves(this._checkSet[P].leafChildren)}}},{key:"_getAncestorIdsForCheckChange",value:function(M){for(var B=[],P=0;P<=M.length-1;P++){if(M[P].ignoreAncestorCalculation){B.push(M[P].id);continue}B.push(M[P].id),B.push.apply(B,C(this.getAncestorIds(M[P].id)))}return B}},{key:"updateChecked",value:function(M,B){var P=M.id,k=this._getIndexById(P);if(k<0)return{changeOccurred:!1,changedIds:[],updateAll:!1};var H=this._updateChecked(M,B),Y=this._getAncestorIdsForCheckChange(H),G=!1;Y.length>0&&(G=!0);var Q=this._updateResults();return{changeOccurred:G,changedIds:G?Y:[],updateAll:Q}}},{key:"_getNodeInfo",value:function(M){var B=this._getIndexById(M);return this._data[B]}},{key:"_getCheckedNodes",value:function(){var M=this,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,P=[],k=[];Object.keys(this._checkSet).forEach(function(G){M._checkSet[G].checkValue===M._booleanToCheckState(B)&&k.push(G),M._checkSet[G].checkValue===R&&P.push(G)});var H=this.__traverseUpAndGetAllCheckedIdsForParentIds(k,this._booleanToCheckState(B)),Y=[];return Y.push.apply(Y,C(this.__getCheckedLeafIdsForDirectParentIds(k,this._booleanToCheckState(B)))),Y.push.apply(Y,C(this.__getCheckedLeafIdsForDirectParentIds(P,this._booleanToCheckState(B)))),Y.push.apply(Y,C(this.__filterCheckedIds(k,this._booleanToCheckState(B)))),Y.push.apply(Y,C(H)),Y}},{key:"__getCheckedLeafIdsForDirectParentIds",value:function(M,B){for(var P=[],k=0;k<=M.length-1;k++)P.push.apply(P,C(this.__getCheckedLeafIdsForDirectParentId(M[k],B)));return P}},{key:"__getCheckedLeafIdsForDirectParentId",value:function(M,B){for(var P=[],k=this._checkSet[M].checkValue,H=0;H<=this._checkSet[M].leafChildren.length-1;H++){if(k===B){P.push(this._checkSet[M].leafChildren[H].id);continue}this._computeCheckStateOfNode({id:this._checkSet[M].leafChildren[H].id})===B&&P.push(this._checkSet[M].leafChildren[H].id)}return P}},{key:"__traverseUpAndGetAllCheckedIdsForParentIds",value:function(M,B){for(var P=[],k=!0,H=[];k||H.length>0;){k&&(k=!1,H=M);var Y=this.__getAncestorIdsForNodeIds(H);H=this.__filterCheckedIds(Y,B),P.push.apply(P,C(H))}return P}},{key:"__getAncestorIdsForNodeIds",value:function(M){for(var B=new Set,P=0;P<=M.length-1;P++){var k=void 0;M[P]===L?k=null:k=this.getParentId(this._getNodeInfo(M[P])),k!==null&&B.add(k)}return C(B)}},{key:"__filterCheckedIds",value:function(M,B){for(var P=[],k=0;k<=M.length-1;k++)this._computeCheckStateOfNode({id:M[k]})===B&&P.push(M[k]);return P}},{key:"getCheckedNodes",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,B=[],P=[];return B=this._getCheckedNodes(),M&&(P=this._getCheckedNodes(!1)),{checkedNodeIds:B,unCheckedNodeIds:P}}},{key:"_getCheckStatus",value:function(M){var B=this._computeCheckStateOfNode({id:M});return B===N||B===O?this._checkStateToBoolean(B):B}}])}()},A,x),A.exports=w},50819:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return{validate:function(C){if(C){if(!C.hasOwnProperty("id"))throw new Error("id is required for proxyNode. Path property not implimented yet.")}else throw new Error("proxyNode is required")},normalize:function(C){return this.validate(C),C}}},A,x),A.exports=w},94523:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(72103)],w=a.dj.d(T,function(u){return function(){function r(d){C(this,r),this._criteria=d}return _(r,[{key:"_isCompositeCriteria",value:function(n){return!!(n&&(n.and||n.or))}},{key:"searchNodeForMatches",value:function(n){var i=[];return this._isCompositeCriteria(this._criteria)?i=this._compositeCriteria(n,this._criteria):i=this.searchMatchedNodes(n,[this._criteria],!0),i.length>0&&this._searchCache&&this._setMatchesInCache(n,i),i}},{key:"searchMatchedNodes",value:function(n,i,o){for(var c=[],e=!1,t=0;t<i.length;t++){e=!1;var s=this._isBaseCriteria(i[t]),l=!1;if(s||(l=this._isCompositeCriteria(i[t])),!(!s&&!l)){if(s){var p=this._getCriteriaField(i[t]);if(i[t].value===null&&n[p]===null)e=!0;else if(this._isValidCriteria(n,p,i[t].value)){var E=this._getSearchColumnCriteria(i[t]),m=u.searchColumn(n[p],E);m.length>0&&(c.push({field:i[t].columnIndex!==void 0?i[t].columnIndex:i[t].field,matches:m}),e=!0)}}else if(l){var y=this._compositeCriteria(n,i[t]);y.length>0&&(c=c.concat(y),e=!0)}if(!e&&!o)return[]}}return c}},{key:"_isValidCriteria",value:function(n,i,o){return!(o===null||n[i]===null||!(i in n)||n[i]===void 0)}},{key:"_searchNode",value:function(n,i,o){for(var c=!1,e=this.escapeRegExp(i),t=new RegExp(e,"gi"),s=0,l=[];s=t.exec(o);){var p={};p.start=s.index,p.count=i.length,p.value=i,l.push(p),c=!0}return c?this._createSearchMetadata(l,n):null}},{key:"_compositeCriteria",value:function(n,i){var o=[];return i.and?o=this.searchMatchedNodes(n,i.and,!1):i.or&&(o=this.searchMatchedNodes(n,i.or,!0)),o}},{key:"_setMatchesInCache",value:function(n,i){this._searchCache.set(this._getId(n),i)}},{key:"isNodeAMatch",value:function(n){return this._searchCache.has(this._getId(n))}},{key:"getMatchesFromCache",value:function(n){return this._searchCache.get(this._getId(n))}},{key:"_createSearchMetadata",value:function(n,i){return{field:i,matches:n}}},{key:"getSearchCriteria",value:function(){return this._criteria}},{key:"escapeRegExp",value:function(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}])}()},A,x),A.exports=w},91499:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(84580),a(60330)],w=a.dj.d(T,function(e,t){var s=[{field:"label",order:t.order.ASC,compare:t.compare.STRING}],l=function(p){function E(m){var y;return C(this,E),y=u(this,E,[m]),y.configurePersistentSort(m),y}return o(E,p),_(E,[{key:"configurePersistentSort",value:function(y){Array.isArray(y)?(this._sorted=!0,this._sortOptions=y):(h(y)==="object"||y===!0)&&(this._sorted=!0,this._sortOptions=s)}},{key:"_getSortField",value:function(y){return y.field}},{key:"_validateFieldToSort",value:function(y,b){if(!y.field)throw new Error("Field must be specified for sort in Tree")}}])}(e);return l},A,x),A.exports=w},91397:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(33621)],w=a.dj.d(T,function(e){var t=function(s){function l(){return C(this,l),u(this,l,arguments)}return o(l,s),_(l,[{key:"_extractValueToFilter",value:function(E,m){return E[m.field]}},{key:"_hasFilteringProperty",value:function(E,m){return E.hasOwnProperty(m.field)}},{key:"_isBaseCriteria",value:function(E){return"value"in E&&"field"in E}},{key:"_isCheckedCriteria",value:function(E){return"metadata"in E&&"checked"in E.metadata}}])}(e);return t},A,x),A.exports=w},63622:(A,x,a)=>{"use strict";var T,w;function h(t){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},h(t)}function C(t,s,l){if(i())return Reflect.construct.apply(null,arguments);var p=[null];p.push.apply(p,s);var E=new(t.bind.apply(t,p));return l&&e(E,l.prototype),E}function g(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function _(t,s){for(var l=0;l<s.length;l++){var p=s[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,f(p.key),p)}}function v(t,s,l){return s&&_(t.prototype,s),l&&_(t,l),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var s=u(t,"string");return h(s)=="symbol"?s:s+""}function u(t,s){if(h(t)!="object"||!t)return t;var l=t[Symbol.toPrimitive];if(l!==void 0){var p=l.call(t,s||"default");if(h(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(t)}function r(t,s,l){return s=o(s),d(t,i()?Reflect.construct(s,l||[],o(t).constructor):s.apply(t,l))}function d(t,s){if(s&&(h(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(t)}function n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(s){}return(i=function(){return!!t})()}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},o(t)}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),s&&e(t,s)}function e(t,s){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,E){return p.__proto__=E,p},e(t,s)}T=[a(54550),a(91397),a(68053)],w=a.dj.d(T,function(t,s,l){var p=function(y){var b={};return y.forEach(function(I,S){b[I]=S}),b},E=function(m){function y(b,I){var S;return g(this,y),S=r(this,y,[b,I]),S._columnMap=I.columnMap||[0],S._columnMap||(S._columnMap=Object.keys(S._data[0])),S.defaultColumnCount=S._columnMap.length,S._paramToIndexMap=p(S._columnMap),I.metaDataColumns=I.metaDataColumns||[0],S._metaDataColumns=I.metaDataColumns.map(function(R){return S._paramToIndexMap[R]}),S._metaDataRanges=l.columnArray(S._metaDataColumns),S._isFiltering=!1,S._filterOptions={},S}return c(y,m),v(y,[{key:"normalizeFilterCriteria",value:function(I){var S={field:"",value:""};return I&&(I.field||I.and||I.or||I.metadata)?I:S}},{key:"_instantiateFilter",value:function(){for(var I=arguments.length,S=new Array(I),R=0;R<I;R++)S[R]=arguments[R];return C(s,S)}},{key:"_addFilterAncestors",value:function(I){for(;I!==this._treeRootId&&!this._filter.isFiltered(I);)this._filter.addtoFilterCache(I),I=this.getParentId(this._treeNodeIdCache.get(I))}},{key:"runSort",value:function(I,S){return S.keepSorted===!0?(this._sort.configurePersistentSort(I),this._sort.sort(this._data),this.setSortState(I),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(I)),this.setSortState(I),this._indexCache._reindex(),this._createParentCache(),{changeOccurred:!0,updateAll:!0})}}])}(t);return E},A,x),A.exports=w},20779:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(94523),a(31951)],w=a.dj.d(T,function(e,t){var s=function(l){function p(E,m){var y;return C(this,p),y=u(this,p,[E,m]),y._searchCache=new t,y._getId=m.getId,y}return o(p,l),_(p,[{key:"_getCriteriaField",value:function(m){return m.field}},{key:"_getSearchColumnCriteria",value:function(m){return{value:m.value}}},{key:"_isBaseCriteria",value:function(m){return!!(m&&"value"in m&&"field"in m)}}])}(e);return s},A,x),A.exports=w},31951:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(99459),a(62932)],w=a.dj.d(T,function(u,r){return function(){function d(){C(this,d),this._caches=[],this._caches.push(new u),typeof Map<"u"&&Map.prototype.keys&&this._caches.push(new r);var n=function(){var i=[];return{set:function(c,e){for(var t=0;t<i.length;t+=1){var s=i[t];if(s.key===c){s.value=e;return}}i.push({key:c,value:e})},get:function(c){for(var e=0;e<i.length;e+=1){var t=i[e];if(t.key===c)return t.value}},has:function(c){for(var e=0;e<i.length;e+=1){var t=i[e];if(t.key===c)return!0}return!1},remove:function(c){for(var e=0;e<i.length;e+=1){var t=i[e];if(t.key===c){i.splice(e,1);break}}},keys:function(){return i.map(function(c){return c.key})},canIndex:function(){return!0}}}();this._caches.push(n)}return _(d,[{key:"getCache",value:function(i){for(var o=0;o<this._caches.length;o+=1)if(this._caches[o].canIndex(i))return this._caches[o]}},{key:"set",value:function(i,o){this.getCache(i).set(i,o)}},{key:"get",value:function(i){return this.getCache(i).get(i)}},{key:"has",value:function(i){return this.getCache(i).has(i)}},{key:"remove",value:function(i){return this.getCache(i).remove(i)}},{key:"canIndex",value:function(i){return this.getCache(i).canIndex(i)}},{key:"keys",value:function(){for(var i=[],o=0;o<this._caches.length;o+=1)Array.prototype.push.apply(i,this._caches[o].keys());return i}}])}()},A,x),A.exports=w},51579:(A,x,a)=>{"use strict";var T,w;function h(n){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},h(n)}function C(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function g(n,i){for(var o=0;o<i.length;o++){var c=i[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,v(c.key),c)}}function _(n,i,o){return i&&g(n.prototype,i),o&&g(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n}function v(n){var i=f(n,"string");return h(i)=="symbol"?i:i+""}function f(n,i){if(h(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var c=o.call(n,i||"default");if(h(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}var u=1,r=-1,d=500;T=[a(31951)],w=a.dj.d(T,function(n){return function(){function i(o,c){var e=c.getId;C(this,i),this._indexCache=new n,this._data=o,this._history=[],this.getId=e,this._reindex()}return _(i,[{key:"_reindex",value:function(){this._history=[];for(var c=this._data.length,e=0;e<c;e++){var t=this._data[e];this._indexCache.set(this.getId(t),{index:e,node:t,timestamp:0})}}},{key:"getIndex",value:function(c){return this.hasIndex(c)?(this._history.length>=d&&this._reindex(),this._calcIndex(c)):-1}},{key:"hasIndex",value:function(c){return this._indexCache.has(c)}},{key:"setNode",value:function(c,e,t){var s=t.index,l=t.node;this._updateHistory({op:u,opIdx:e}),this._indexCache.set(c,{index:s,node:l,timestamp:this._history.length})}},{key:"removeNode",value:function(c,e){this._updateHistory({op:r,opIdx:e}),this._indexCache.remove(c)}},{key:"_updateHistory",value:function(c){this._history.push(c)}},{key:"_calcIndex",value:function(c){for(var e=this._indexCache.get(c),t=e.index,s=e.timestamp,l=this._history.length,p=s;p<l;p++){var E=this._history[p],m=E.op,y=E.opIdx;t>=y&&(t+=m)}return t}}])}()},A,x),A.exports=w},62932:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";return function(){function u(){C(this,u),this._cache=new Map}return _(u,[{key:"set",value:function(d,n){this._cache.set(d,n)}},{key:"get",value:function(d){return this._cache.get(d)}},{key:"has",value:function(d){return this._cache.has(d)}},{key:"remove",value:function(d){this._cache.delete(d)}},{key:"keys",value:function(){return Array.from(this._cache.keys())}},{key:"canIndex",value:function(d){return!0}}])}()},A,x),A.exports=w},99459:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";return function(){function u(){C(this,u),this._cache=Object.create(null)}return _(u,[{key:"set",value:function(d,n){this.canIndex(d)&&(this._cache[d]=n)}},{key:"get",value:function(d){if(this.has(d))return this._cache[d]}},{key:"has",value:function(d){return d in this._cache}},{key:"remove",value:function(d){delete this._cache[d]}},{key:"keys",value:function(){var d=[];for(var n in this._cache)d.push(n);return d}},{key:"canIndex",value:function(d){return typeof d=="string"}}])}()},A,x),A.exports=w},88781:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function g(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,v(E.key),E)}}function _(s,l,p){return l&&g(s.prototype,l),p&&g(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s){var l=f(s,"string");return h(l)=="symbol"?l:l+""}function f(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}function u(s,l,p){return l=c(l),r(s,n()?Reflect.construct(l,p||[],c(s).constructor):l.apply(s,p))}function r(s,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(s)}function d(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(n=function(){return!!s})()}function i(){return typeof Reflect<"u"&&Reflect.get?i=Reflect.get.bind():i=function(l,p,E){var m=o(l,p);if(m){var y=Object.getOwnPropertyDescriptor(m,p);return y.get?y.get.call(arguments.length<3?l:E):y.value}},i.apply(this,arguments)}function o(s,l){for(;!Object.prototype.hasOwnProperty.call(s,l)&&(s=c(s),s!==null););return s}function c(s){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},c(s)}function e(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&t(s,l)}function t(s,l){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,m){return E.__proto__=m,E},t(s,l)}T=[a(33553),a(29557),a(50819),a(31951),a(37999),a(31334),a(48648),a(71230),a(53768),a(38629),a(41239)],w=a.dj.d(T,function(s,l,p,E,m,y,b,I,S,R,N){"use strict";var O=function(V){var K=new s;setTimeout(function(){return V(K.resolve,K.reject)},0),this.then=K.promise.then},L=function(V){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};V.id=K.id,V.level=K.level,V.isExpanded=K.isExpanded,V.isExpandable=K.isExpandable,V.groupRow=K.groupRow,V.highlight=K.highlight,K.hasOwnProperty("check")&&(V.check=K.check),V.hasOwnProperty("path")||Object.defineProperty(V,"path",{get:function(){return K.path}})},U=function(V){if(!V)return V;var K={};return L(K,V.node),{index:V.index,node:K}},z={ARRAY:y,OBJECT:b},$=function(W){function V(K){var M,B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return C(this,V),M=u(this,V,[K,B]),M._type=B.type,M._searching=!1,M}return e(V,W),_(V,[{key:"addMetaDataRule",value:function(M,B){return i(c(V.prototype),"addMetaDataRule",this).call(this,M,B)}},{key:"removeMetaDataRule",value:function(M){return i(c(V.prototype),"removeMetaDataRule",this).call(this,M)}},{key:"createMetaDataRule",value:function(M,B){return S.create(M,B,this._type)}},{key:"replaceAll",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.isCheckboxTree===!0&&(this.updateChecked=this._updateChecked,this.getCheckNodes=this._getCheckNodes,this._isCheckboxTree=!0);var P=z[B.rowDataType];if(!P)throw new Error("rowDataType is invalid - valid options:"+Object.keys(z).join(", "));B=Object.assign(B,{type:this._type});var k=Object.assign({},B);B.setId&&(this.setId=B.setId),this._rowDataType=B.rowDataType,k.isExpanded=B.isExpanded||this._isExpanded.bind(this),k.createTreeNode=B.createTreeNode||this._createTreeNode.bind(this),k.isCheckboxTree=this._isCheckboxTree,k.getCheck=B.getCheck,k.setCheck=B.setCheck,this._dataSave=B.dataSave||{},this._internalDataStore=new P(M,k),this._getParentId=this._internalDataStore.getParentId.bind(this._internalDataStore),this._flattenedTree=[],this._flatten=this._internalDataStore.flatten.bind(this._internalDataStore),this._getSortState=this._internalDataStore.getSortState.bind(this._internalDataStore),this._groupOptions||this._filterCriteria?(this._groupOptions&&this.groupBy(this._groupOptions),this._filterCriteria&&this.filter(this._filterCriteria)):(this._flattenedTree=this._flatten(),this._updateDataSize(),this._dataChanged([m.range().setRows(0,1/0).setColumns(0,1/0)],!0))}},{key:"_calculateDataSize",value:function(){var M=m.range().setRows(0,this._flattenedTree.length-1);return M.setColumns(0,this._internalDataStore.getNumColumns()-1)}},{key:"groupBy",value:function(M){if(!this.setId)throw new Error("Please add setId function in DataStore options in order to use groupBy API");if(this.isCheckboxTree)throw new Error("groupBy is incompatible with checkbox treetable feature");this._groupOptions=M||[],this._group=new I(M,{getCell:this._internalDataStore.getCell.bind(this._internalDataStore),setCell:this._internalDataStore.setCell.bind(this._internalDataStore),setParentId:this._internalDataStore.setParentId.bind(this._internalDataStore),getParentId:this._internalDataStore.getParentId.bind(this._internalDataStore),getId:this._internalDataStore.getId.bind(this._internalDataStore),setId:this.setId.bind(this),flatten:this._internalDataStore.flatten.bind(this._internalDataStore),rowDataType:this._rowDataType,columnNum:this._internalDataStore.getNumColumns()});var B=this._group.getGroupByFn();this._internalDataStore.setGrouping(B),this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([m.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([m.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"clearGroupBy",value:function(){this._internalDataStore.clearGrouping(),this._groupOptions=null,this._flattenedTree=this._internalDataStore.flatten.bind(this._internalDataStore)(),this._updateDataSize(),this._dataChanged([m.range().setRows(0,1/0).setColumns(0,1/0)]),this._emitPagedColumnMetaDataChanged([m.range().setRows(0,0).setColumns(0,this.dataSize.columns.end)])}},{key:"getLocalRowMetaData",value:function(M){return i(c(V.prototype),"getLocalRowMetaData",this).call(this,M)}},{key:"getLocalColumnMetaData",value:function(M){return i(c(V.prototype),"getLocalColumnMetaData",this).call(this,M)}},{key:"_getColumnNumbersForSortCriteria",value:function(M){if(!M)return[];var B=[];return M.forEach(function(P){return B.push(P.columnIndex)}),B}},{key:"getLocalCellData",value:function(M,B){if(this._flattenedTree[M])return this._internalDataStore.getCell(this._flattenedTree[M].data,B)}},{key:"getLocalCellMetaData",value:function(M,B){return i(c(V.prototype),"getLocalCellMetaData",this).call(this,M,B)}},{key:"getData",value:function(){var M=this,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Array.isArray(B)){var P=B;return i(c(V.prototype),"getData",this).call(this,P)}return new O(function(k,H){var Y=B.proxyNodes;if(Y){if(!Array.isArray(Y)){H(new Error("The proxyNodes property should be an array"));return}}else{H(new Error("Expected an object with a property of proxyNodes"));return}for(var G=Y.map(function(ne){return ne.id}),Q=M._internalDataStore.getNodesByIds(G),J=new E,q=0;q<G.length;q+=1){var oe=G[q];if(J.has(oe)){var ie=J.get(oe);ie.push(q)}else J.set(oe,[q])}for(var pe=G.map(function(){return null}),ce=function(){var re=Q[te];if(re){var se=M._internalDataStore.getId(re);if(J.has(se)){var ge=J.get(se);ge.forEach(function(he){pe[he]=re})}else H(Error("Node id ".concat(se," found in results but was not in requested")))}},te=0;te<Q.length;te+=1)ce();k(pe)})}},{key:"expandTo",value:function(){for(var M,B=arguments.length,P=new Array(B),k=0;k<B;k++)P[k]=arguments[k];return(M=i(c(V.prototype),"expandTo",this)).call.apply(M,[this].concat(P)).then(function(H){return U(H)})}},{key:"getRowIds",value:function(M){var B=this,P=new O(function(k,H){var Y=[];M.forEach(function(G,Q){if(!m.isRangeInside(B.dataSize,G)){H(new Error("Range exceeds data size"));return}for(var J=G.rows.start,q=G.rows.end,oe=J;oe<=q;oe+=1){var ie=B._flattenedTree[oe];Y.push(ie.id)}}),k(Y)});return P}},{key:"getParentNode",value:function(){for(var M,B=arguments.length,P=new Array(B),k=0;k<B;k++)P[k]=arguments[k];return(M=i(c(V.prototype),"getParentNode",this)).call.apply(M,[this].concat(P)).then(function(H){return U(H)})}},{key:"getNode",value:function(){for(var M,B=arguments.length,P=new Array(B),k=0;k<B;k++)P[k]=arguments[k];return(M=i(c(V.prototype),"getNode",this)).call.apply(M,[this].concat(P)).then(function(H){return U(H)})}},{key:"getChildNodes",value:function(M){var B=this;return M=p.normalize(M),new O(function(P){var k=[],H=B._internalDataStore.getChildIndiciesByParent(M.id),Y=new O(function(G){H.length===0&&G(k),H.forEach(function(Q){var J=B._internalDataStore.getId(Q.node);B.getNode({id:J}).then(function(q){if(!q){var oe=B._internalDataStore._createTreeNode(Q.node,null);q={index:null,node:{groupRow:oe.groupRow,id:oe.id,isExpandable:oe.isExpandable,isExpanded:oe.isExpanded,level:oe.level,check:oe.check}}}k.push(q),k.length===H.length&&G(k)})})});Y.then(function(G){G.length>0?P(G):P(null)})})}},{key:"add",value:function(M){for(var B,P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];return(B=i(c(V.prototype),"add",this)).call.apply(B,[this,M].concat(k))}},{key:"remove",value:function(M){for(var B,P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];if(Array.isArray(M)){var Y;return(Y=i(c(V.prototype),"remove",this)).call.apply(Y,[this,M].concat(k))}return(B=i(c(V.prototype),"remove",this)).call.apply(B,[this,{id:null},M].concat(k))}},{key:"move",value:function(M,B,P){return i(c(V.prototype),"move",this).call(this,{id:null},M,B,P)}},{key:"update",value:function(M){for(var B,P=arguments.length,k=new Array(P>1?P-1:0),H=1;H<P;H++)k[H-1]=arguments[H];if(Array.isArray(M)){var Y;return(Y=i(c(V.prototype),"update",this)).call.apply(Y,[this,M].concat(k))}return(B=i(c(V.prototype),"update",this)).call.apply(B,[this,{id:null},M].concat(k))}},{key:"_emitDataChanged",value:function(M){this._on.emit("dataChanged",{rangeList:M})}},{key:"filter",value:function(M,B){return this._filterCriteria=M,i(c(V.prototype),"filter",this).call(this,M,B)}},{key:"clearFilter",value:function(){return this._filterCriteria=null,i(c(V.prototype),"clearFilter",this).call(this)}},{key:"search",value:function(M){if(this._search=new R(M,this.createMetaDataRule,{type:this._type,columnMap:this._internalDataStore.getColumnMap()}),!!this._search.isCriteriaValid()){var B=this._search.createRule();this._searching=!0,this._addSearchResults(B)}}},{key:"clearSearch",value:function(){this._searching&&(this._removeSearchResults(),this._searching=!1)}},{key:"sort",value:function(M,B){return i(c(V.prototype),"sort",this).call(this,M,B)}},{key:"registerSortType",value:function(M){return i(c(V.prototype),"registerSortType",this).call(this,M)}},{key:"isCheckboxTree",get:function(){return this._isCheckboxTree?this._isCheckboxTree===!0:!1}},{key:"_emitPagedColumnMetaDataChanged",value:function(M){return i(c(V.prototype),"_emitPagedColumnMetaDataChanged",this).call(this,M)}},{key:"_emitPagedRowMetaDataChanged",value:function(M){return i(c(V.prototype),"_emitPagedRowMetaDataChanged",this).call(this,M)}},{key:"_addSearchResults",value:function(M){this._metaDataRules.add("$Search",M)}},{key:"_removeSearchResults",value:function(){this._metaDataRules.removeBuiltIn("$Search")}}])}(l);return $},A,x),A.exports=w},31334:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(29596),a(68053),a(46465)],w=a.dj.d(T,function(e,t,s){return function(l){function p(E,m){var y;C(this,p);for(var b=arguments.length,I=new Array(b>2?b-2:0),S=2;S<b;S++)I[S-2]=arguments[S];return y=u(this,p,[E,m].concat(I)),y.defaultColumnCount=m.defaultColumnCount,y.defaultColumnCount!==0&&!(y.defaultColumnCount>0)&&E.length>0&&(y.defaultColumnCount=E[0].length||0),m.metaDataColumns=m.metaDataColumns||[],y._metaDataColumns=m.metaDataColumns.slice(0),y._metaDataRanges=t.columnArray(y._metaDataColumns),y}return o(p,l),_(p,[{key:"getNumColumns",value:function(){return this._data.length>0?this._data[0].length||this.defaultColumnCount:this.defaultColumnCount}},{key:"getCell",value:function(m,y){return m[y]}},{key:"setCell",value:function(m,y,b){m[y]=b}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}}])}(e)},A,x),A.exports=w},48648:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function g(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,v(E.key),E)}}function _(s,l,p){return l&&g(s.prototype,l),p&&g(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s){var l=f(s,"string");return h(l)=="symbol"?l:l+""}function f(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}function u(s,l,p){return l=c(l),r(s,n()?Reflect.construct(l,p||[],c(s).constructor):l.apply(s,p))}function r(s,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(s)}function d(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(n=function(){return!!s})()}function i(){return typeof Reflect<"u"&&Reflect.get?i=Reflect.get.bind():i=function(l,p,E){var m=o(l,p);if(m){var y=Object.getOwnPropertyDescriptor(m,p);return y.get?y.get.call(arguments.length<3?l:E):y.value}},i.apply(this,arguments)}function o(s,l){for(;!Object.prototype.hasOwnProperty.call(s,l)&&(s=c(s),s!==null););return s}function c(s){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},c(s)}function e(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&t(s,l)}function t(s,l){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,m){return E.__proto__=m,E},t(s,l)}T=[a(29596),a(68053),a(46465)],w=a.dj.d(T,function(s,l,p){var E=function(y){var b={};return y.forEach(function(I,S){b[I]=S}),b};return function(m){function y(b,I){var S;C(this,y);for(var R=arguments.length,N=new Array(R>2?R-2:0),O=2;O<R;O++)N[O-2]=arguments[O];return S=u(this,y,[b,I].concat(N)),S.defaultColumnCount=S._columnMap.length,S._paramToIndexMap=E(S._columnMap),I.metaDataColumns=I.metaDataColumns||[],S._metaDataColumns=I.metaDataColumns.map(function(L){return S._paramToIndexMap[L]}),S._metaDataRanges=l.columnArray(S._metaDataColumns),S}return e(y,m),_(y,[{key:"getNumColumns",value:function(){return this._columnMap.length}},{key:"getCell",value:function(I,S){return I[this._columnMap[S]]}},{key:"setCell",value:function(I,S,R){I[this._columnMap[S]]=R}},{key:"getMetaDataRanges",value:function(){return this._metaDataRanges}},{key:"update",value:function(I){for(var S=0;S<I.length;S++)I[S].fieldsToMerge=this._translateFieldsToMerge(I[S].fieldsToMerge);return i(c(y.prototype),"update",this).call(this,I)}},{key:"_translateFieldsToMerge",value:function(I){var S={},R=!0;for(var N in I)if(isNaN(N)){R=!1;break}else{var O=this._columnMap[N];if(O!==void 0)S[O]=I[N];else{R=!1;break}}return R&&(I=S),I}}])}(s)},A,x),A.exports=w},71230:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:r+""}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){var u=function(){function r(d,n){C(this,r),this._groupOptions=d,this._getCell=n.getCell,this._setCell=n.setCell,this._setParentId=n.setParentId,this._getParentId=n.getParentId,this._getId=n.getId,this._setId=n.setId,this._rowDataType=n.rowDataType,this._flatten=n.flatten,this._columnNum=n.columnNum,this._treeRootId=null}return _(r,[{key:"_flattenOriginalDataForGrouping",value:function(){var n=this,i=this._flatten(!0);return i.forEach(function(o){var c=n._getParentId(o.data);c==null&&(o.isRoot=!0)}),i}},{key:"getGroupByFn",value:function(){var n=this;return function(){return n._flattenedGroupingRows=n._flattenOriginalDataForGrouping(),n._groupingMaps=[],n._parentGroupMapping={},n._getParentIdForGrouping=function(i,o){if(o)return n._parentGroupMapping[o]||n._treeRootId;var c=n._parentGroupMapping[n._getId(i)];return c||n._getParentId(i)},n._updateGroupingView(n._groupOptions),n.getGroupingInfoAndData()}}},{key:"_updateGroupingView",value:function(n){for(var i=0;i<n.length;i++){this._groupingMaps[i]={};var o=n[i];this._createGroupRowsAndGroupingMaps(o,this._groupingMaps[i],i)}}},{key:"getGroupingInfoAndData",value:function(){var n=this,i={};this._groupingMaps.forEach(function(e,t){Object.keys(e).forEach(function(s){i[s]={summary:{count:e[s].summary.count},groupByColIndex:e[s].groupByColIndex},n._parentGroupMapping[s]=e[s].parent})});var o=this._flattenedGroupingRows.map(function(e){return e.data}),c=this._getParentIdForGrouping;return{groupingData:o,groupRowMeta:i,getParentIdForGrouping:c}}},{key:"_addGroupRow",value:function(n,i,o,c){var e={};e.id=i,e.groupRow={summary:{},groupByColIndex:n[i].groupByColIndex},e.isExpandable=!0,e.isExpanded=!0,e.level=o,this._rowDataType==="OBJECT"?e.data={}:this._rowDataType==="ARRAY"&&(e.data=[]),this._setId(e.data,i),this._setParentId(e.data,o===0?null:n[i].parent),this._setLabelOnGroupRow(e.data,n[i].label),this._flattenedGroupingRows.splice(c,0,e)}},{key:"_setLabelOnGroupRow",value:function(n,i){for(var o=0;o<this._columnNum;o++)this._getCell(n,o)===void 0&&this._setCell(n,o,i)}},{key:"_createGroupRowsAndGroupingMaps",value:function(n,i,o){for(var c=this._getGroupingLabelFn(n),e=0;e<this._flattenedGroupingRows.length;e++){var t=this._flattenedGroupingRows[e],s=t.data,l=void 0;if(!t.groupRow){if(t.isRoot){var p=c(s);p?l="group_level"+o+"_"+p:l="group_level"+o+"_empty_group",i[l]?i[l].summary.count+=1:(i[l]={},i[l].label=p,i[l].groupByColIndex=n.columnIndex,i[l].summary={},i[l].summary.count=1,o>0&&(i[l].parent=this._getParentIdForGrouping(s)),this._addGroupRow(i,l,o,e),e+=1)}this._updateRowInGroup(t,l)}}}},{key:"_updateRowInGroup",value:function(n,i){n.level+=1,i&&(n.parentGroupId=i,this._parentGroupMapping[n.id]=i)}},{key:"_getGroupingLabelFn",value:function(n){var i=this,o=n.columnIndex,c=n.field;if(c){var e=c.split(".");return function(t){for(var s=i._getCell(t,o),l=0;l<e.length;l=l+1)s&&(s=s[e[l]]);return s}}else return function(t){return i._getCell(t,o)}}}])}();return u},A,x),A.exports=w},2613:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(84580)],w=a.dj.d(T,function(e){var t=function(s){function l(p,E){var m;return C(this,l),m=u(this,l,[p]),m.columnMap=E||[],m}return o(l,s),_(l,[{key:"configurePersistentSort",value:function(E,m){this.columnMap=m||[],Array.isArray(E)&&(this._sorted=!0,this._sortOptions=E)}},{key:"_getSortField",value:function(E){var m=E.columnIndex,y=this.columnMap.length>0?this.columnMap[m]:m;return y}},{key:"_validateFieldToSort",value:function(E,m){if(!Number.isInteger(E.columnIndex))throw new Error("Column index must be Integer value specified for sort in TreeTable");if(E.columnIndex<m.columns.start||E.columnIndex>m.columns.end)throw new Error("columnIndex is out of bounds")}}])}(e);return t},A,x),A.exports=w},92563:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:t+""}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(33621)],w=a.dj.d(T,function(e){var t=function(s){function l(){return C(this,l),u(this,l,arguments)}return o(l,s),_(l,[{key:"_getValueToFilter",value:function(E,m){for(var y=E,b=m.split("."),I=0;I<b.length;I++)y=y[b[I]];return y}},{key:"_extractValueToFilter",value:function(E,m){var y=E[this._getColumnIndex(m)];return m.field?this._getValueToFilter(y,m.field):y}},{key:"_getColumnIndex",value:function(E){return this._columnMap?this._columnMap[E.columnIndex]:E.columnIndex}},{key:"_hasFilteringProperty",value:function(E,m){return E.hasOwnProperty(this._getColumnIndex(m))}},{key:"_isBaseCriteria",value:function(E){return"value"in E&&"columnIndex"in E}},{key:"_isCheckedCriteria",value:function(E){return"metadata"in E&&"checked"in E.metadata}}])}(e);return t},A,x),A.exports=w},29596:(A,x,a)=>{"use strict";var T,w;function h(t){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},h(t)}function C(t,s,l){if(i())return Reflect.construct.apply(null,arguments);var p=[null];p.push.apply(p,s);var E=new(t.bind.apply(t,p));return l&&e(E,l.prototype),E}function g(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function _(t,s){for(var l=0;l<s.length;l++){var p=s[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,f(p.key),p)}}function v(t,s,l){return s&&_(t.prototype,s),l&&_(t,l),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var s=u(t,"string");return h(s)=="symbol"?s:s+""}function u(t,s){if(h(t)!="object"||!t)return t;var l=t[Symbol.toPrimitive];if(l!==void 0){var p=l.call(t,s||"default");if(h(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(t)}function r(t,s,l){return s=o(s),d(t,i()?Reflect.construct(s,l||[],o(t).constructor):s.apply(t,l))}function d(t,s){if(s&&(h(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(t)}function n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(s){}return(i=function(){return!!t})()}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},o(t)}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),s&&e(t,s)}function e(t,s){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,E){return p.__proto__=E,p},e(t,s)}T=[a(54550),a(31951),a(92563)],w=a.dj.d(T,function(t,s,l){var p=function(E){function m(y,b){var I;return g(this,m),I=r(this,m,[y,b]),I._isFiltering=!1,I}return c(m,E),v(m,[{key:"treeRootId",get:function(){return this._treeRootId}},{key:"clearGrouping",value:function(){this._isGrouping=!1,this._groupRowIdCache=null,this._clearSortSettings(),this._createParentCache(this._data,void 0,!0)}},{key:"_instantiateFilter",value:function(){for(var b=arguments.length,I=new Array(b),S=0;S<b;S++)I[S]=arguments[S];return C(l,I)}},{key:"_addFilterAncestors",value:function(b){for(;b!==this._treeRootId&&!this._filter.isFiltered(b);){this._filter.addtoFilterCache(b);var I=this.getParentId;this._isGrouping&&(I=this._getParentIdForGrouping);var S=this._treeNodeIdCache.get(b);S?b=I(S):b=I(null,b)}}},{key:"normalizeFilterCriteria",value:function(b){var I={columnIndex:"",value:""};return b&&(b.columnIndex||b.columnIndex===0||b.and||b.or||b.metadata)?b:I}},{key:"runSort",value:function(b,I){return I.keepSorted===!0?(this._sort.configurePersistentSort(b,this._columnMap),this._sort.sort(this._data),this.setSortState(b),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0}):(this._sort.removePersistentSort(),this._data.sort(this._sort.generateCompareFunctionFromList(b)),this.setSortState(b),this._indexCache._reindex(),this._isGrouping?this._setGrouping():this._createParentCache(this._data,void 0,!0),{changeOccurred:!0,updateAll:!0})}}])}(t);return p},A,x),A.exports=w},41239:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=function(f,u){for(var r=f.length,d=0;d<r;d+=1)if(u(f[d]))return d;return-1},C=function(f,u){for(var r=f.length,d=0;d<r;d+=1){var n=f[d];if(u(n))return n}},g=function(f,u,r){return f.every(u,r)},_=function(f,u,r){return f.some(u,r)};return{findIndex:h,find:C,every:g,some:_}},A,x),A.exports=w},16887:(A,x,a)=>{"use strict";var T,w;T=[a(63241),a(85589)],w=a.dj.d(T,function(h,C){"use strict";function g(r){var d=!1,n=r.queryCriteria,i=_(n),o=f(r);return d=i&&o,d}function _(r){var d=!1,n=!0,i=!1,o=r&&r.compare&&r.compare.dataType;return o&&(n=v(r.compare.dataType)),i=r&&r.metadata,d=i&&n,d}function v(r){var d=!1;return(r===h.dataType.STRING||r===h.dataType.BOOLEAN||r===h.dataType.NUMBER)&&(d=!0),d}function f(r){var d=!1,n=r.position;return(n===C.POSITION.NEXT||n===C.POSITION.PREVIOUS||n===C.POSITION.FIRST||n===C.POSITION.LAST)&&(d=!0),d}function u(r,d){if(r===h.dataType.STRING)return String(d).toLowerCase();if(r===h.dataType.NUMBER)return Number(d);if(r===h.dataType.BOOLEAN)return!!d}return{isValidCriteria:g,getValueByType:u}},A,x),A.exports=w},68053:(A,x,a)=>{"use strict";var T,w;T=[a(37999)],w=a.dj.d(T,function(h){var C=function(v){return v==="row"?function(f,u,r){return f.setRows(u,r)}:function(f,u,r){return f.setColumns(u,r)}},g=function(v,f){var u,r,d;v==="row"?(u=C("row"),r=C("column"),d="row"):(u=C("column"),r=C("row"),d="column"),f.sort(function(c,e){return c-e});var n=[];if(f.length>0){var i=r(h.range(),0,1/0);i=u(i,f[0],f[0]);for(var o=0;o<f.length;o+=1)i[d].end+1===f[o]?i[d].end=f[o]:(n.push(i),i=r(h.range(),0,1/0),i=u(i,f[0],f[0]));n.push(i)}return n};return{columnArray:function(v){return g("column",v)},rowArray:function(v){return g("row",v)}}},A,x),A.exports=w},81466:(A,x,a)=>{var T,w;T=[a(93577),a(90290)],w=a.dj.d(T,function(h,C){var g={deprecated:function(_){var v,f,u=!!h.isDebug||!!window.showDeprecationsAsErrors;u&&this._isConfigValid(_)&&(f=window.showDeprecationsAsErrors||_.deprecationLevel===this.ERROR?this.ERROR:this.WARN,v="DEPRECATED: ",_.deprecated&&(v+=_.deprecated.module,_.deprecated.method&&(v+="."+_.deprecated.method+"()"),v+="."),_.replacement&&(v+=" Use "+_.replacement.module,_.replacement.method&&(v+="."+_.replacement.method+"()"),v+=" instead."),_.removalVersion&&(v+=" Will be removed in version: "+_.removalVersion+"."),_.geckNumber&&(v+=" Please use g"+_.geckNumber+" to track latest information regarding this deprecation"),_.additionalInformation&&(v+=" "+_.additionalInformation),C[f](v))},_isConfigValid:function(_){var v=!!_.deprecated&&typeof _.deprecated=="object"&&_.deprecated.hasOwnProperty("module");return _.replacement&&(v=v&&typeof _.replacement=="object"&&_.replacement.hasOwnProperty("module")),_.geckNumber&&(v=v&&typeof _.geckNumber=="number"),v||C.error("Supplied deprecationConfig properties are not valid. Please refer to http://inside.mathworks.com/wiki/Web_Widgets_Deprecation_API for right API"),v}};return Object.defineProperties(g,{WARN:{value:"warn",enumerable:!0},ERROR:{value:"error",enumerable:!0}}),g},A,x),A.exports=w},20790:(A,x,a)=>{"use strict";var T,w;T=[a(23829)],w=a.dj.d(T,function(h){const C=Object.freeze({HELP:"Help",SPL1:"Spl1",SPL2:"Spl2",DO_IT:"DoIt",DONT_DO_IT:"DontDoIt",CANCEL:"Cancel",APPLY:"Apply",REVERT:"Revert"}),g={NO_DEFAULT_ACTION:"NoDefaultAction",TYPE:C,HELP:Object.freeze({type:C.HELP,label:h.help,"data-test-id":"HelpButton"}),OK:Object.freeze({type:C.DO_IT,label:h.ok,"data-test-id":"OkButton"}),YES:Object.freeze({type:C.DO_IT,label:h.yes,"data-test-id":"YesButton"}),SUBMIT:Object.freeze({type:C.DO_IT,label:h.submit,"data-test-id":"SubmitButton"}),SAVE:Object.freeze({type:C.DO_IT,label:h.save,"data-test-id":"SaveButton"}),FIND:Object.freeze({type:C.DO_IT,label:h.find,"data-test-id":"FindButton"}),CREATE:Object.freeze({type:C.DO_IT,label:h.create,"data-test-id":"CreateButton"}),DONT_SAVE:Object.freeze({type:C.DONT_DO_IT,label:h.dontSave,"data-test-id":"DontSaveButton"}),NO:Object.freeze({type:C.DONT_DO_IT,label:h.no,"data-test-id":"NoButton"}),CANCEL:Object.freeze({type:C.CANCEL,label:h.cancel,"data-test-id":"CancelButton"}),CLOSE:Object.freeze({type:C.CANCEL,label:h.close,"data-test-id":"CloseButton"}),APPLY:Object.freeze({type:C.APPLY,label:h.apply,"data-test-id":"ApplyButton"}),REVERT:Object.freeze({type:C.REVERT,label:h.revert,"data-test-id":"RevertButton"})};return Object.freeze(g),g},A,x),A.exports=w},40830:(A,x,a)=>{"use strict";var T,w;T=[a(40923),a(64697),a(2993),a(58329),a(56662),a(75316)],w=a.dj.d(T,function(h,C,g,_,v,f){const u=()=>v.generateUuid(),r=n=>(n.uuid=u(),n.id=n.id?n.id:"dialog_"+n.uuid,n.className=typeof n.className=="string"?h.trim(n.className):"",n.dialogType=n.dialogType===_.MODAL?_.MODAL:_.MODELESS,n.hideCloseButton=typeof n.hideCloseButton=="boolean"?n.hideCloseButton:!1,n.closeOnEscape=typeof n.closeOnEscape=="boolean"?n.closeOnEscape:!0,n.resizable=typeof n.resizable=="boolean"?n.resizable:!1,n.draggable=typeof n.draggable=="boolean"?n.draggable:n.dialogType==="modeless",n.onFocus=typeof n.onFocus=="function"?n.onFocus:!1,n.onBlur=typeof n.onBlur=="function"?n.onBlur:!1,n);return{MODAL:"modal",MODELESS:"modeless",ROLE:g,numberOfOpenDialogs:C.numberOfOpenDialogs.bind(C),createDialog(n){n=r(n);const i=new C(n,f);return i._constructAndDisplayDialog(n),i}}},A,x),A.exports=w},91782:(A,x,a)=>{"use strict";var T,w;T=[a(20963),a(61106)],w=a.dj.d(T,function(h,C){const g=(r,d,n,i)=>{let o,c;const e=n._dimension;return i?n._isCenter?(o=Math.max(0,Math.max(i.x,Math.min(d.width-r.width,Math.min(i.x+i.width/2-r.width/2,i.x+i.width-r.width)))),c=Math.max(0,Math.max(i.y,Math.min(d.height-r.height,Math.min(i.y+i.height/2-r.height/2,i.y+i.height-r.height))))):(o=Math.max(0,Math.max(i.x,Math.min(d.width-r.width,Math.min(n._specifiedPosition.x+i.x,i.x+i.width-r.width)))),c=Math.max(0,Math.max(i.y,Math.min(d.height-r.height,Math.min(n._specifiedPosition.y+i.y,i.y+i.height-r.height))))):n._isCenter?(o=Math.max(0,Math.min(d.width/2-r.width/2,d.width-r.width)),c=Math.max(0,Math.min(d.height/2-r.height/2,d.height-r.height))):(o=Math.max(0,Math.min(e.x,d.width-r.width)),c=Math.max(0,Math.min(e.y,d.height-r.height))),{left:o,top:c}},_=(r,d)=>r.left<d.left||r.bottom>d.bottom||r.right>d.right,v=(r,d,n)=>{let i;return r._isOutOfBound?i=f(r,d,n):i=u(r,d,n),i},f=(r,d,n)=>{const i=n,o=r._dimension,c=(o.visibleWidthEndPer-o.visibleWidthStartPer)*d.width,e=(o.visibleHeightEndPer-o.visibleHeightStartPer)*d.height,t={};if(i.width>c)t.width=o.width,t.left=Math.min(o.left,i.right-c);else{const s=i.width,l=o.visibleWidthEndPer-o.visibleWidthStartPer;t.width=s/l,o.visibleWidthStartPer>0?t.left=-1*(o.visibleWidthStartPer*t.width):t.left=i.width-s}if(i.height>e)t.height=o.height,t.top=Math.min(o.top,i.bottom-e);else{const s=i.height;t.height=s/(o.visibleHeightEndPer-o.visibleHeightStartPer),t.top=i.bottom-s}return t},u=(r,d,n)=>{const i={},o=r._dimension,c=n,e=typeof r._bindingNode=="object"?r._bindingNode.getBoundingClientRect():void 0;i.width=c.width<o.width?c.width:o.width,i.height=c.height<o.height?c.height:o.height;const t=g(i,n,r,e);return i.left=t.left,i.top=t.top,i};return{addBrowserResizeHandler(r){r._trackEventListener(h(r.domNode,"_dialogDimensionChange",()=>{r._dimension=r.domNode.getBoundingClientRect();const d=r._windowContext,n=C.getBox(d.document),i={width:n.w,height:n.h,left:n.l,top:n.t,bottom:n.h,right:n.w};r._isOutOfBound=_(r._dimension,i),r._dimension.visibleWidthStartPer=r._dimension.left<i.left?(i.left-r._dimension.left)/r._dimension.width:0,r._dimension.visibleWidthEndPer=r._dimension.right>i.right?(i.right-r._dimension.left)/r._dimension.width:1,r._dimension.visibleHeightStartPer=0,r._dimension.visibleHeightEndPer=r._dimension.bottom>i.bottom?(i.bottom-r._dimension.top)/r._dimension.height:1})),r._browserResizeHandler=[],r._browserResizeHandler.push(h(window,"resize",()=>{if(!r.domNode)return;const d=r.domNode.getBoundingClientRect(),n=C.getBox(),i={width:n.w,height:n.h,left:n.l,top:n.t,bottom:n.h,right:n.w},o=v(r,d,i);if(r.domNode.style.left="".concat(o.left,"px"),r.domNode.style.top="".concat(o.top,"px"),(!r._controlNodes||!r._controlNodes.dialogState.includes("COLLAPSE"))&&(d.width!==o.width||d.height!==o.height)){r.domNode.style.width="".concat(o.width,"px"),r.domNode.style.height="".concat(o.height,"px");const c={h:o.height,w:o.width,x:o.left,y:o.top};let e;if(r._contentArea){const t=window.getComputedStyle(r._contentArea);e={h:parseFloat(t.height),w:parseFloat(t.width)}}h.emit(r.domNode,"resize",{bubbles:!1,dimension:c,contentSize:e})}}))},removeBrowserResizeHandler(r){r._browserResizeHandler.forEach(d=>{d.remove()}),r._browserResizeHandler=[]}}},A,x),A.exports=w},30106:(A,x,a)=>{"use strict";var T,w;T=[a(24485),a(20963),a(61106),a(50760)],w=a.dj.d(T,function(h,C,g,_){const v=(r,d,n,i,o)=>{const c={};return o?(c.l=Math.max(o.x,Math.min(o.x+d.x,o.x+o.w-n.w)),c.t=Math.max(o.y,Math.min(o.y+d.y,o.y+o.h-n.h)),r._specifiedPosition={x:c.l-o.x,y:c.t-o.y}):(c.l=Math.max(0,Math.min(d.x,i.w-n.w)),c.t=Math.max(0,Math.min(d.y,i.h-n.h)),r._specifiedPosition={x:c.l,y:c.t}),r._isCenter=!1,c},f=(r,d,n,i,o)=>{const c={};return o?(n.w>=o.x+o.w||n.w>=i.w-o.x||n.w>=o.w?c.l=Math.max(0,o.x):c.l=(o.x>=0?o.x:0)+(o.x+o.w<=i.w?o.w/2:(i.w-o.x)/2)-n.w/2,n.h>=o.y+o.h||n.h>=i.h-o.y||n.h>=o.h?c.t=Math.max(0,o.y):c.t=(o.y>=0?o.y:0)+(o.y+o.h<=i.h?o.h/2:(i.h-o.y)/2)-n.h/2):(c.l=Math.max(0,i.w/2-n.w/2),c.t=Math.max(0,i.h/2-n.h/2)),r._isCenter=!0,c},u=(r,d,n,i,o,c,e)=>{const t={};return e?(t.l=Math.max(e.x,Math.min(d.x-n+i,e.x+e.w-d.w)),t.t=Math.max(e.y,Math.min(d.y-o+c,e.y+e.h-d.h))):(t.l=d.x,t.t=d.y),t};return{moveTo(r,d){const n=h.position(r.domNode);let i={};const o=g.getBox(r._windowContext.document);if(typeof r._bindingNode=="object"){const c=h.position(r._bindingNode);d?i=v(r,d,n,o,c):i=f(r,d,n,o,c)}else d?i=v(r,d,n,o):i=f(r,d,n,o);r.domNode.style.left="".concat(i.l,"px"),r.domNode.style.top="".concat(i.t,"px"),C.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1})},resizeTo(r,d){if(r.domNode){const n=d.heightUnits||"px",i=d.widthUnits||"px";this._isValidUnit(n)&&this._isValidUnit(i)&&(d.height&&(r.domNode.style.height="".concat(d.height).concat(n)),d.width&&(r.domNode.style.width="".concat(d.width).concat(i)),(d.height||d.width)&&C.emit(r.domNode,"_dialogDimensionChange",{bubbles:!1}))}},addScrollHandler(r){let d=r._windowContext.pageYOffset,n=r._windowContext.pageXOffset;r._trackEventListener(C(r._windowContext.document,"scroll",()=>{const i=r._windowContext.pageYOffset,o=r._windowContext.pageXOffset,c=h.position(r.domNode);let e={};if(typeof r._bindingNode=="object"){const t=h.position(r._bindingNode);e=u(r,c,o,n,i,d,t)}else e=u(r,c,o,n,i,d);r.domNode.style.left="".concat(e.l,"px"),r.domNode.style.top="".concat(e.t,"px"),d=i,n=o}))},selectionWithinDialogBounds(r){let d;r._trackEventListener(C(r._windowContext.document,"mousedown",n=>{n.target===r._contentWidget.domNode&&(d=!0)})),r._trackEventListener(C(r._windowContext.document,"mouseup",()=>{d=!1})),r._trackEventListener(C(r._windowContext.document,"mousemove",n=>{d&&n.target!==r._contentWidget.domNode&&_(n)}))},_isValidUnit(r){return["px"].some(n=>n===r)}}},A,x),A.exports=w},41671:(A,x,a)=>{"use strict";var T,w;T=[a(24485),a(20963),a(61106),a(50760)],w=a.dj.d(T,function(h,C,g,_){const v=(u,r,d,n,i,o,c)=>{const e={};return o?(i.yLocked?e.t=u.y:e.t=Math.max(0,Math.max(o.y,Math.min(r.h-u.h,Math.min(d.pageY-n.y,o.y+o.h-u.h)))),i.xLocked?e.l=u.x:e.l=Math.max(0,Math.max(o.x,Math.min(r.w-u.w,Math.min(d.pageX-n.x,o.x+o.w-u.w))))):c?(e.l=Math.max(-(u.w-c*2),Math.min(d.pageX-n.x,r.w-c)),e.t=Math.max(0,Math.min(d.pageY-n.y,r.h-c))):(e.l=Math.max(0,Math.min(d.pageX-n.x,r.w-u.w)),e.t=Math.max(0,Math.min(d.pageY-n.y,r.h-u.h))),e},f=u=>{const r=u.target.closest("button");let d=!0;return r&&(d=r.getAttribute("Draggable")),d!=="false"};return{dragEvent:"move",draggable(u){const r=this,{dialog:d,bindingNode:n,windowContext:i,allowOutOfView:o}=u,c=o?o.minVisibleSize:void 0,e=d._titleBar;e.classList.add("mwDraggableDialog");let t=!1;const s={x:0,y:0};let l={l:0,t:0};const p={xLocked:!1,yLocked:!1};let E,m,y;d._dragEventSignals=[];const b=()=>{d._dragEventSignals.push(C(e,"mousedown",S=>{d.bringToTop(),S.button===0&&f(S)&&(_(S),t=!0,m=g.getBox(i.document),E=h.position(d.domNode),this._disableContentAreaEvents(d.domNode),typeof n=="object"&&(y=h.position(n),p.xLocked=E.w>=y.x+y.w||E.w>=m.w-y.x||E.w>=y.w,p.yLocked=E.h>=y.y+y.h||E.h>=m.h-y.y||E.h>=y.h),s.x=S.pageX-E.x,s.y=S.pageY-E.y)})),d._dragEventSignals.push(C(i.document,"mouseup",()=>{I()})),d._dragEventSignals.push(C(i.document,"mousemove",S=>{if(t){if(!S.synthetic&&(S.buttons&1)!==1){I();return}_(S),E=h.position(d.domNode),typeof n=="object"?(l=v(E,m,S,s,p,y),d._specifiedPosition={x:l.l-y.x,y:l.t-y.y}):(l=v(E,m,S,s,p,y,c),d._specifiedPosition={x:l.l,y:l.t}),d.domNode.style.left="".concat(l.l,"px"),d.domNode.style.top="".concat(l.t,"px"),d._isCenter=!1,C.emit(d.domNode,r.dragEvent,{bubbles:!1,position:{x:l.l,y:l.t}})}}))},I=()=>{t&&d.domNode&&C.emit(d.domNode,"_dialogDimensionChange",{bubbles:!1}),t=!1,this._enableContentAreaEvents(d.domNode)};b()},disable(u){u._dragEventSignals.forEach(r=>{r.remove()}),u._dragEventSignals=[],u._titleBar&&u._titleBar.classList.remove("mwDraggableDialog")},_disableContentAreaEvents(u){u&&u.classList&&u.classList.add("mwDialogDisableEvents")},_enableContentAreaEvents(u){u&&u.classList&&u.classList.remove("mwDialogDisableEvents")}}},A,x),A.exports=w},75316:(A,x,a)=>{"use strict";var T,w;T=[a(20963),a(58340),a(38142),a(48201),a(99890),a(90843),a(20391),a(90290),a(50760)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){const n={TEXT:"text",CHECKBOX:"checkbox",RADIO:"radio",PASSWORD:"password"},i=2;return{_activeClass:"active",_executeOnFocusCallback:o=>{o._isFocused||(o._isFocused=!0,o.onFocus&&(o.onFocus.bind(o),o.onFocus()))},_executeOnBlurCallback:(o,c)=>{o._isFocused&&o.domNode!==c&&(o._isFocused=!1,o.onBlur&&(o.onBlur.bind(o),o.onBlur()))},_isMouseDownOnUnderlay:!1,_focusedClass:"focused",_defaultButtonClass:"mwDefaultButton",focus(o){const c=this;let e=0,t=0;o._firstFocusItem=null,o._lastFocusItem=null,this._getFocusItems(o),o._underlay&&o._trackEventListener(h(o._underlay,"mousedown",()=>{this._isMouseDownOnUnderlay=!0})),this._handleOrphanedMouseDown(o),o._focusHandle=u.watch("curNode",(s,l,p)=>{if(p===null?(o._defaultButton&&(_.remove(o._defaultButton,c._defaultButtonClass),_.remove(o._defaultButton,c._activeClass)),l&&this._checkIfContentAreaNode(l,o.domNode,o._windowContext)&&_.remove(l,c._activeClass),_.remove(o.domNode,c._focusedClass),this._isMouseDownOnUnderlay||this._executeOnBlurCallback(o,p)):c._setFocusForNewNode(p,o)===!1&&(o._firstFocusItem?(_.remove(o.domNode,c._focusedClass),this._isMouseDownOnUnderlay||this._executeOnBlurCallback(o,p)):(o._latestFocusedItem=p,_.add(o.domNode,c._focusedClass),this._executeOnFocusCallback(o))),o._isModal&&p&&o.domNode&&o.domNode.classList.contains("mwModalDialogFg")&&p.ownerDocument===o.domNode.ownerDocument){do{if(p===o.domNode||_.contains(p,"dijitPopup"))return;p=p.parentNode}while(p);if(t++,t>5)return;e||(e=setTimeout(()=>{t=0,e=0},500)),this._forceFocusInModalDialog(o)}}),o._underlay&&o._trackEventListener(h(o._underlay,"click",()=>{this._forceFocusInModalDialog(o),this._isMouseDownOnUnderlay=!1})),this.focusItem(o),o.on("click",()=>{this._getFocusItems(o),o._latestFocusedItem&&o._latestFocusedItem!==o.domNode&&g.get(o._latestFocusedItem,"aria-disabled")!=="true"?u.focus(o._latestFocusedItem):o._firstFocusItem?u.focus(o._firstFocusItem):u.focus(o.domNode)}),o._trackEventListener(h(o._titleBar,"click",()=>{u.focus(o.domNode),this._getFocusItems(o),o._latestFocusedItem&&o._latestFocusedItem!==o.domNode&&g.get(o._latestFocusedItem,"aria-disabled")!=="true"?u.focus(o._latestFocusedItem):o._firstFocusItem?u.focus(o._firstFocusItem):u.focus(o.domNode)})),o._keyDownReady=!1,o.on("keydown",s=>{c._onKeyDown(s,o)}),o.on("keyup",s=>{c._onKeyUp(s,o)})},_checkIfContentAreaNode(o,c,e){return!!(this._isPopupDescendant(o,c,e)||C.isDescendant(o,c))},_generalFocusOrder(o){return[o._contentArea,o._buttonBar,o._closeNode]},_setFocusForNewNode(o,c){const e=this._generalFocusOrder(c);for(let t=0;t<e.length;t++){const s=e[t];if(s&&s===c._contentArea&&this._checkIfContentAreaNode(o,s,c._windowContext))return c._latestFocusedItem=o,c._defaultButton&&_.add(c._defaultButton,this._defaultButtonClass),_.add(c.domNode,this._focusedClass),this._executeOnFocusCallback(c),!0;if(s&&s===c._buttonBar&&C.isDescendant(o,s))return c._latestFocusedItem=o,c._defaultButton&&_.remove(c._defaultButton,this._defaultButtonClass),_.add(c.domNode,this._focusedClass),this._executeOnFocusCallback(c),!0;if(s&&o===s)return c._latestFocusedItem=o,_.add(c.domNode,this._focusedClass),this._executeOnFocusCallback(c),!0}return this._executeOnBlurCallback(c,o),!1},_forceFocusInModalDialog(o){o._windowContext.requestAnimationFrame(()=>{o._firstFocusItem?u.focus(o._latestFocusedItem):u.focus(o.domNode)})},_handleOrphanedMouseDown(o){let c=!1;o._trackEventListener(h(o.domNode,"mousedown",e=>{e.button!==i&&(c=!0,setTimeout(()=>{c&&o.domNode&&this._forceFocusInModalDialog(o)},1e4))})),o._trackEventListener(h(o.domNode,"mouseup",e=>{c=!1}))},_getFocusItems(o){if(o._firstFocusItem=(o._contentArea?f.getFirstInTabbingOrder(o._contentArea):void 0)||(o._buttonBar?f.getFirstInTabbingOrder(o._buttonBar):void 0),!o._firstFocusItem){const c=this._getControlNodes(o);for(let e=0;e<c.length;e++)if(c[e]){o._firstFocusItem=c[e];break}}o._lastFocusItem=f.getLastInTabbingOrder(o.domNode)||o._firstFocusItem},_isPopupDescendant(o,c,e){try{let t=null;for(;o;){if(_.contains(o,"dijitPopup")){const s=g.get(o,"dijitPopupParent");s&&(t=o=e.document.getElementById(s))}if(o===c)return t;o=o.parentNode}}catch(t){}return!1},focusLastFocusedItem(o){o._latestFocusedItem&&o._latestFocusedItem!==o.domNode&&(g.get(o._latestFocusedItem,"aria-disabled")!=="true"||o._latestFocusedItem.disabled!==!0)?u.focus(o._latestFocusedItem):this.focusItem(o)},focusItem(o){if(o.bringToTop(),o.specifiedFocusItem){let c;if(typeof o.specifiedFocusItem=="object"){const e="span[data-test-id=".concat(o.specifiedFocusItem["data-test-id"],"]");c=o.domNode.querySelector(e),c||(o._firstFocusItem=o._buttonBar?f.getFirstInTabbingOrder(o._buttonBar):o._closeNode?o._closeNode:void 0)}else c=C.byId(o.specifiedFocusItem);if(c===null)r.log("specifiedFocusItem couldn't be found"),this._focusDefaultItem(o);else if(C.isDescendant(c,o.domNode))if(f.isFocusable(c)||c.tagName.startsWith("MW-")&&typeof c.focus=="function")c.updatedComplete?c.updatedComplete.then(()=>{u.focus(c)}):u.focus(c);else{const e=f.getFirstInTabbingOrder(c);e!==void 0?u.focus(e):(r.log("specifiedFocusItem is not focusable"),this._focusDefaultItem(o))}else r.log("specifiedFocusItem should be an id"),this._focusDefaultItem(o)}else this._focusDefaultItem(o)},_focusDefaultItem(o){o._firstFocusItem?o._buttonBar&&o._defaultButton&&C.isDescendant(o._firstFocusItem,o._buttonBar)&&o._defaultButton!==o._firstFocusItem&&g.get(o._defaultButton,"aria-disabled")!=="true"?u.focus(o._defaultButton):u.focus(o._firstFocusItem):u.focus(o.domNode)},_isFormElement(){function o(s){const l=s&&s.toLowerCase(),{TEXT:p,CHECKBOX:E,RADIO:m,PASSWORD:y}=n;return[p,E,m,y].includes(l)}const c=u.curNode;if(c.tagName.toLowerCase()==="input"){const s=c.getAttribute("type");return o(s)}const t=c.getAttribute("role");return t?o(t):!1},_getTabFocusOrder(o){return[o._closeNode,o._firstFocusItem]},_getShiftTabFocusOrder(o){return[o._closeNode,o._lastFocusItem]},_getControlNodes(o){return[o._closeNode]},_getForceFocusNodesForTab(o){return[o._lastFocusItem,o._closeNode]},_getForceFocusNodesForShiftTab(o){return[o._firstFocusItem,o._closeNode]},_getNextFocusNode(o,c){const e=this._getTabFocusOrder(c);this._setNodeToFocus(o,e)},_getPreviousFocusNode(o,c){const e=this._getShiftTabFocusOrder(c);this._setNodeToFocus(o,e)},_setNodeToFocus(o,c){const e=c.indexOf(o),t=c.length;let s=e+1;for(;s!==e;){if(s<t&&c[s]){u.focus(c[s]);break}else s>=t&&(s=-1);s=s+1}},_onKeyDown(o,c){if(c._keyDownReady=!0,o.keyCode===v.TAB){this._getFocusItems(c);const e=o.target;o.shiftKey&&this._getForceFocusNodesForShiftTab(c).includes(e)?(this._getPreviousFocusNode(e,c),d(o)):!o.shiftKey&&this._getForceFocusNodesForTab(c).includes(e)&&(this._getNextFocusNode(e,c),d(o))}else(o.keyCode===v.ENTER||o.keyCode===v.SPACE)&&(c._contentArea&&c._defaultButton&&C.isDescendant(u.curNode,c._contentArea)&&f.isFocusable(u.curNode)&&u.curNode.tagName&&this._isFormElement()&&o.keyCode===v.ENTER?(d(o),_.add(c._defaultButton,"active")):c._buttonBar&&C.isDescendant(u.curNode,c._buttonBar)&&f.isFocusable(u.curNode)?(d(o),_.add(u.curNode,"active")):this._getControlNodes(c).includes(u.curNode)&&(d(o),u.curNode.click(o)))},_onKeyUp(o,c){c._keyDownReady&&(o.keyCode===v.SPACE?c._buttonBar&&C.isDescendant(u.curNode,c._buttonBar)&&f.isFocusable(u.curNode)&&(_.remove(u.curNode,"active"),d(o),u.curNode.click(o)):o.keyCode===v.ENTER&&(c._contentArea&&c._defaultButton&&C.isDescendant(u.curNode,c._contentArea)&&f.isFocusable(u.curNode)&&u.curNode.tagName&&this._isFormElement()?(_.remove(c._defaultButton,"active"),d(o),c._defaultButton.click(o)):c._buttonBar&&C.isDescendant(u.curNode,c._buttonBar)&&f.isFocusable(u.curNode)&&(_.remove(u.curNode,"active"),d(o),u.curNode.click(o))))}}},A,x),A.exports=w},24097:(A,x,a)=>{"use strict";var T,w;T=[a(48201),a(96916),a(24485),a(41032),a(20963),a(39196),a(61106),a(50760)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){const d=(E,m,y,b,I,S)=>{let R;return S?R=Math.max(_.get(E.domNode,"min-width"),Math.min(I.w-m.x,Math.min(y.pageX-b.x-m.x,Math.min(_.get(E.domNode,"max-width")?_.get(E.domNode,"max-width"):S.w+S.x-m.x,S.w+S.x-m.x)))):R=Math.max(_.get(E.domNode,"min-width"),Math.min(y.pageX-b.x-m.x,Math.min(_.get(E.domNode,"max-width")?_.get(E.domNode,"max-width"):I.w-m.x,I.w-m.x))),R},n=(E,m,y,b,I,S)=>{let R;return S?R=Math.max(_.get(E.domNode,"min-width"),Math.min(m.x+m.w,Math.min(m.x+m.w-(y.pageX-b.x),Math.min(_.get(E.domNode,"max-width")?_.get(E.domNode,"max-width"):m.x+m.w-S.x,m.x+m.w-S.x)))):R=Math.max(_.get(E.domNode,"min-width"),Math.min(m.x+m.w-(y.pageX-b.x),Math.min(_.get(E.domNode,"max-width")?_.get(E.domNode,"max-width"):m.x+m.w,m.x+m.w))),R},i=(E,m,y,b,I,S)=>{let R;return S?R=Math.max(_.get(E.domNode,"min-height"),Math.min(I.h-m.y,Math.min(y.pageY-b.y-m.y,Math.min(_.get(E.domNode,"max-height")?_.get(E.domNode,"max-height"):S.h+S.y-m.y,S.h+S.y-m.y)))):R=Math.max(_.get(E.domNode,"min-height"),Math.min(y.pageY-b.y-m.y,Math.min(_.get(E.domNode,"max-height")?_.get(E.domNode,"max-height"):I.h-m.y,I.h-m.y))),R},o=(E,m,y,b,I,S)=>{let R;return S?R=Math.max(_.get(E.domNode,"min-height"),Math.min(m.y+m.h,Math.min(m.y+m.h-(y.pageY-b.y),Math.min(_.get(E.domNode,"max-height")?_.get(E.domNode,"max-height"):m.y+m.h-S.y,m.y+m.h-S.y)))):R=Math.max(_.get(E.domNode,"min-height"),Math.min(m.y+m.h-(y.pageY-b.y),Math.min(_.get(E.domNode,"max-height")?_.get(E.domNode,"max-height"):m.y+m.h,m.y+m.h))),R},c=(E,m,y,b,I,S,R,N)=>{const O={};if(typeof S=="object"){const L=g.position(S);R==="e"?O.w=d(E,m,y,b,I,L):R==="w"&&(O.w=n(E,m,y,b,I,L)),N==="s"?O.h=i(E,m,y,b,I,L):N==="n"&&(O.h=o(E,m,y,b,I,L))}else R==="e"?O.w=d(E,m,y,b,I):R==="w"&&(O.w=n(E,m,y,b,I)),N==="s"?O.h=i(E,m,y,b,I):N==="n"&&(O.h=o(E,m,y,b,I));return R==="w"&&(O.l=m.x+m.w-O.w),N==="n"&&(O.t=m.y+m.h-O.h),O},e=(E,m)=>E.l<m.l||E.h+E.t>m.h||E.l+E.w>m.w,t=(E,m)=>{const y=E.l<m.l?(m.l-E.l)/E.w:0,b=E.w+E.l>m.w?(m.w-E.l)/E.w:1,I=0,S=E.t+E.h>m.h?(m.h-E.t)/E.h:1,R=(b-y)*E.w;return(S-I)*E.h>100&&R>100},s=(E,m)=>!(e(E,m)&&!t(E,m)),l=(E,m,y,b,I,S,R,N)=>{r(y);const O=c(E,m,y,b,I,S,R,N);let L={},U;const z={l:O.l?O.l:m.x,t:O.t?O.t:m.y,h:O.h?O.h:m.h,w:O.w?O.w:m.w};s(z,I)&&((R==="e"||R==="w")&&(E.domNode.style.width="".concat(O.w,"px")),R==="w"&&(E.domNode.style.left="".concat(O.l,"px")),(N==="s"||N==="n")&&(E.domNode.style.height="".concat(O.h,"px")),N==="n"&&(E.domNode.style.top="".concat(O.t,"px")),m=g.position(E.domNode),E._contentArea&&(U=g.position(E._contentArea),L={w:U.w,h:U.h}),p(E,m,L))};function p(E,m,y){v.emit(E.domNode,"resize",{bubbles:!1,dimension:m,contentSize:y})}return{resizeEvent:"resize",enable(E){let{widget:m,bindingNode:y,windowContext:b}=E;b=b||window,m._resizeEventSignals=[];let I,S;const R={x:0,y:0};(()=>{let O=!1,L=!1,U=!1,z=!1,$=!1,W=!1,V=!1,K=!1;m._resizeHandlers=[];const M=b.document.createElement("div");h.add(M,"mwResizableHandle mwResizable-e"),C.place(M,m.domNode,"last"),m._resizeHandlers.push(M);const B=b.document.createElement("div");h.add(B,"mwResizableHandle mwResizable-s"),C.place(B,m.domNode,"last"),m._resizeHandlers.push(B);const P=b.document.createElement("div");h.add(P,"mwResizableHandle mwResizable-w"),C.place(P,m.domNode,"last"),m._resizeHandlers.push(P);const k=b.document.createElement("div");h.add(k,"mwResizableHandle mwResizable-n"),C.place(k,m.domNode,"last"),m._resizeHandlers.push(k);const H=b.document.createElement("div");h.add(H,"mwResizableHandle mwResizable-se"),C.place(H,m.domNode,"last"),m._resizeHandlers.push(H);const Y=b.document.createElement("div");h.add(Y,"mwResizableHandle mwResizable-ne"),C.place(Y,m.domNode,"last"),m._resizeHandlers.push(Y);const G=b.document.createElement("div");h.add(G,"mwResizableHandle mwResizable-sw"),C.place(G,m.domNode,"last"),m._resizeHandlers.push(G);const Q=b.document.createElement("div");h.add(Q,"mwResizableHandle mwResizable-nw"),C.place(Q,m.domNode,"last"),m._resizeHandlers.push(Q),m._resizeHandlers.forEach(q=>{m._resizeEventSignals.push(v(q,"mousedown",oe=>{oe.button===0&&(r(oe),I=u.getBox(b.document),S=g.position(m.domNode),this._setIframePointerStyle(m),q===M?(O=!0,R.x=oe.pageX-(S.x+S.w),f("*")[0].style.cursor="ew-resize"):q===B?(L=!0,R.y=oe.pageY-(S.y+S.h),f("*")[0].style.cursor="ns-resize"):q===P?(U=!0,R.x=oe.pageX-S.x,f("*")[0].style.cursor="ew-resize"):q===k?(z=!0,R.y=oe.pageY-S.y,f("*")[0].style.cursor="ns-resize"):q===H?($=!0,R.x=oe.pageX-(S.x+S.w),R.y=oe.pageY-(S.y+S.h),f("*")[0].style.cursor="nwse-resize"):q===Y?(W=!0,R.x=oe.pageX-(S.x+S.w),R.y=oe.pageY-S.y,f("*")[0].style.cursor="nesw-resize"):q===G?(V=!0,R.x=oe.pageX-S.x,R.y=oe.pageY-(S.y+S.h),f("*")[0].style.cursor="nesw-resize"):q===Q?(K=!0,R.x=oe.pageX-S.x,R.y=oe.pageY-S.y,f("*")[0].style.cursor="nwse-resize"):this._resetIframePointerStyle(m))}))}),m._resizeEventSignals.push(v(b.document,"mouseup",()=>{J()})),m._resizeEventSignals.push(v(b.document,"mousemove",q=>{if(!q.synthetic&&(q.buttons&1)!==1){J();return}O?l(m,S,q,R,I,y,"e"):L?l(m,S,q,R,I,y,null,"s"):U?l(m,S,q,R,I,y,"w"):z?l(m,S,q,R,I,y,null,"n"):$?l(m,S,q,R,I,y,"e","s"):W?l(m,S,q,R,I,y,"e","n"):V?l(m,S,q,R,I,y,"w","s"):K&&l(m,S,q,R,I,y,"w","n")}));const J=()=>{[O,W,z,K,U,V,L,$].includes(!0)&&m.domNode&&v.emit(m.domNode,"_dialogDimensionChange",{bubbles:!1}),O=!1,L=!1,U=!1,z=!1,$=!1,W=!1,V=!1,K=!1,this._resetIframePointerStyle(m),f("*")[0].style.cursor=""}})()},disable(E){E._resizeEventSignals.forEach(m=>{m.remove()}),E._resizeEventSignals=[],E._resizeHandlers.forEach(m=>{C.destroy(m)}),E._resizeHandlers=[]},_disablePointerEvents(E){E&&E.classList&&E.classList.add("mwDialogDisableEvents")},_enablePointerEvents(E){E&&E.classList&&E.classList.remove("mwDialogDisableEvents")},_setIframePointerStyle(E){if(!E._allModalDialogs&&!E._allModelessDialogs)return;const m=[...E._allModalDialogs,...E._allModelessDialogs];for(const y of m)this._disablePointerEvents(y.domNode)},_resetIframePointerStyle(E){if(!E._allModalDialogs&&!E._allModelessDialogs)return;const m=[...E._allModalDialogs,...E._allModelessDialogs];for(const y of m)this._enablePointerEvents(y.domNode)}}},A,x),A.exports=w},50760:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return h=>(h.stopPropagation(),h.preventDefault(),!1)},A,x),A.exports=w},58329:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){const h={MODAL:"modal",MODELESS:"modeless"};return Object.freeze(h),h},A,x),A.exports=w},2993:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({DIALOG:"dialog",ALERT_DIALOG:"alertdialog"})},A,x),A.exports=w},75517:(A,x,a)=>{A.exports={ok:"OK",cancel:"Abbrechen",switchPanes:"Zu Windows wechseln",close:"Schlie\xDFen",yes:"Ja",no:"Nein",help:"Hilfe",submit:"Senden",save:"Speichern",find:"Finden",create:"Erstellen",dontSave:"Nicht speichern",apply:"Anwenden",revert:"R\xFCckg\xE4ngig machen"}},93849:(A,x,a)=>{A.exports={root:{ok:"OK",cancel:"Cancel",switchPanes:"Switch Windows",close:"Close",yes:"Yes",no:"No",help:"Help",submit:"Submit",save:"Save",find:"Find",create:"Create",dontSave:"Don't Save",apply:"Apply",revert:"Revert"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0,de:!0,es:!0,fr:!0,it:!0}},57276:(A,x,a)=>{A.exports={ok:"Aceptar",cancel:"Cancelar",switchPanes:"Cambiar ventanas",close:"Cerrar",yes:"S\xED",no:"No",help:"Ayuda",submit:"Enviar",save:"Guardar",find:"Buscar",create:"Crear",dontSave:"No guardar",apply:"Aplicar",revert:"Revertir"}},64260:(A,x,a)=>{A.exports={ok:"OK",cancel:"Annuler",switchPanes:"Changer de fen\xEAtre",close:"Fermer",yes:"Oui",no:"Non",help:"Aide",submit:"Envoyer",save:"Enregistrer",find:"Rechercher",create:"Cr\xE9er",dontSave:"Ne pas enregistrer",apply:"Appliquer",revert:"Restaurer"}},47059:(A,x,a)=>{A.exports={ok:"OK",cancel:"Annulla",switchPanes:"Cambia Windows",close:"Chiudi",yes:"S\xEC",no:"No",help:"Guida",submit:"Invia",save:"Salva",find:"Trova",create:"Crea",dontSave:"Non salvare",apply:"Candidati",revert:"Ritorna"}},70134:(A,x,a)=>{A.exports={ok:"OK",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",switchPanes:"\u30A6\u30A3\u30F3\u30C9\u30A6\u306E\u5207\u308A\u66FF\u3048",close:"\u9589\u3058\u308B",yes:"\u306F\u3044",no:"\u3044\u3044\u3048",help:"\u30D8\u30EB\u30D7",submit:"\u63D0\u51FA",save:"\u4FDD\u5B58",find:"\u691C\u7D22",create:"\u4F5C\u6210",dontSave:"\u4FDD\u5B58\u3057\u306A\u3044",apply:"\u9069\u7528",revert:"\u5143\u306B\u623B\u3059"}},86592:(A,x,a)=>{A.exports={ok:"\uD655\uC778",cancel:"\uCDE8\uC18C",switchPanes:"\uCC3D \uC804\uD658",close:"\uB2EB\uAE30",yes:"\uC608",no:"\uC544\uB2C8\uC694",help:"\uB3C4\uC6C0\uB9D0",submit:"\uC81C\uCD9C",save:"\uC800\uC7A5",find:"\uCC3E\uAE30",create:"\uC0DD\uC131\uD558\uAE30",dontSave:"\uC800\uC7A5 \uC548 \uD568",apply:"\uC801\uC6A9",revert:"\uB418\uB3CC\uB9AC\uAE30"}},37176:(A,x,a)=>{A.exports={ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",switchPanes:"\u5207\u6362\u7A97\u53E3",close:"\u5173\u95ED",yes:"\u662F",no:"\u5426",help:"\u5E2E\u52A9",submit:"\u63D0\u4EA4",save:"\u4FDD\u5B58",find:"\u67E5\u627E",create:"\u521B\u5EFA",dontSave:"\u4E0D\u4FDD\u5B58",apply:"\u5E94\u7528",revert:"\u6062\u590D"}},19025:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){function h(C,g){const f={mwCloseSVG:"M9.09,1.5L6,4.59,2.91,1.5,1.5,2.91,4.59,6,1.5,9.08,2.91,10.5,6,7.41,9.09,10.5,10.5,9.08,7.41,6,10.5,2.91,9.09,1.5h0Z"},u=g.document.createElementNS("http://www.w3.org/2000/svg","svg"),r=g.document.createElementNS("http://www.w3.org/2000/svg","path"),d=g.document.createElementNS("http://www.w3.org/2000/svg","rect"),n=g.document.createElementNS("http://www.w3.org/2000/svg","g");return u.setAttribute("viewBox","0 0 12 12"),u.classList.add(C),d.setAttribute("width",12),d.setAttribute("height",12),d.setAttribute("fill","none"),r.setAttribute("d",f[C]),r.setAttribute("fill","var(--mw-backgroundColor-iconFill, #616161)"),n.appendChild(d),n.appendChild(r),u.appendChild(n),u}return{createCloseIcon(C){return h("mwCloseSVG",C)}}},A,x),A.exports=w},10630:(A,x,a)=>{"use strict";var T,w;T=[a(40923)],w=a.dj.d(T,function(h){return function(C){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C.widget;const _=()=>{};h.isFunction(g.startup)?C.startup=()=>{g.startup()}:C.startup=_,h.isFunction(g.destroyRecursive)?C.destroyRecursive=v=>{g.destroyRecursive(v)}:C.destroyRecursive=_,h.isFunction(g.destroy)?C.destroy=v=>{g.destroy(v)}:C.destroy=_}},A,x),A.exports=w},37485:(A,x,a)=>{"use strict";var T,w;T=[a(20963)],w=a.dj.d(T,function(h){function C(v,f){let u,r;f.document.body.createTextRange?(u=f.document.body.createTextRange(),u.moveToElementText(v),u.select()):f.getSelection&&(r=f.getSelection(),u=f.document.createRange(),u.selectNodeContents(v),r.removeAllRanges(),r.addRange(u))}function g(v,f){(v.metaKey||navigator.platform.toUpperCase().indexOf("MAC")<0&&v.ctrlKey)&&_(v,f)}function _(v,f){switch(v.keyCode){case 65:v.target!==f.document.body&&(v.target.value?v.target.setSelectionRange(0,v.target.value.length):C(v.target,f)),v.preventDefault();break;case 79:v.preventDefault();break;case 83:v.preventDefault();break}}return{prevent:v=>{const f=v._windowContext;f.document.body.style.cursor="default",v._preventKeyListener=h(f.document.body,"keydown",u=>{g(u,f)})},removePrevent:v=>{const f=v._windowContext;f.document.body.style.cursor="initial",v._preventKeyListener.remove()}}},A,x),A.exports=w},32244:(A,x,a)=>{"use strict";var T,w;T=[a(48201),a(20963),a(20790),a(90290)],w=a.dj.d(T,function(h,C,g,_){const v=[g.TYPE.HELP,g.TYPE.SPL1,g.TYPE.SPL2],f=[g.TYPE.DO_IT,g.TYPE.DONT_DO_IT,g.TYPE.CANCEL,g.TYPE.APPLY,g.TYPE.REVERT],u=96,r=5,d=8*2,n=5*2,i=1*2,o="13px 'Helvetica Neue', HeHelveticaNeue, Helvetica, Arial, sans-serif";function c(y){const b=[];for(const S in f){b[S]=[];for(const R in y)y[R].type===f[S]&&b[S].push(y[R])}const I=[];for(const S in b)b[S].length!==0&&I.push(b[S][0]);return I}function e(y,b,I,S){const R=S.document.createElement("div");R.className="mwActionButtonBar",R.setAttribute("data-test-id","dialog-action-button-bar");const N=c(b);let O;for(const L in N){O=S.document.createElement("span"),O.className="mwButton",O.tabIndex="0",O.textContent=N[L].label,O.setAttribute("data-button-type",N[L].type),O.setAttribute("aria-disabled","false"),O.setAttribute("role","button"),N[L]["data-test-id"]&&O.setAttribute("data-test-id",N[L]["data-test-id"]),y._trackEventListener(C(O,"click",p("".concat(N[L].type,"ButtonClick"),y))),(I===N[L].type||I===N[L]||I===void 0&&I!==g.NO_DEFAULT_ACTION&&L==="0")&&(y._defaultButton=O),R.appendChild(O);const U=l(b[L].label);y._buttonBar._buttonBarWidth+=U}return R}function t(y,b,I){const S=I.document.createElement("div");S.className="mwSplButtonBar",S.setAttribute("data-test-id","dialog-supplemental-button-bar");let R;for(const N in b){R=I.document.createElement("span"),R.className="mwButton",R.tabIndex="0",R.setAttribute("role","button"),R.textContent=b[N].label,R.setAttribute("data-button-type",b[N].type),R.setAttribute("aria-disabled","false"),b[N]["data-test-id"]&&R.setAttribute("data-test-id",b[N]["data-test-id"]),y._trackEventListener(C(R,"click",p("".concat(b[N].type,"ButtonClick"),y))),S.appendChild(R);const O=l(b[N].label);y._buttonBar._buttonBarWidth+=O}return S}function s(y){const I=document.createElement("canvas").getContext("2d");return I.font=o,I.measureText(y).width}function l(y){let I=s(y)+i+n+d;return I=I>u?I:u,I}function p(y,b){const I=()=>{b.close()};return()=>{C.emit(b.domNode,y,{bubbles:!1,close:I})}}function E(y,b){return C(y.domNode,"".concat(b,"ButtonClick"),I=>{let S=!1;y._buttonEvents[b].forEach(R=>{typeof R.func=="function"&&R.func(),S=S||R.dismiss}),y.domNode&&S&&I.close()})}function m(y){let b="";return y.hasOwnProperty("type")?b=y.type:b=y,b}return{addButtonEventListener(y,b,I,S){try{const R=m(b);y._buttonEvents[R]===void 0&&(y._buttonEvents[R]=[]),y._buttonEvents[R].push({func:I,dismiss:S}),y._buttonEventHandlers[R]&&y._buttonEventHandlers[R].remove();const N=y._buttonBar.querySelector("span[data-button-type="+R+"]"),O=N&&N.getAttribute("aria-disabled");(!O||O==="false")&&(y._buttonEventHandlers[R]=E(y,R))}catch(R){_.log("Button or type of button is invalid.")}},enableButton(y,b){const I=m(b);y._buttonEventHandlers[I]&&y._buttonEventHandlers[I].remove(),y._buttonEventHandlers[I]=E(y,I);const S=y._buttonBar.querySelector("span[data-button-type="+I+"]");h.remove(S,"mwDisabled"),S.setAttribute("tabIndex","0"),S.setAttribute("aria-disabled","false")},disableButton(y,b){const I=m(b);y._buttonEventHandlers[I]&&y._buttonEventHandlers[I].remove();const S=y._buttonBar.querySelector("span[data-button-type="+I+"]");h.add(S,"mwDisabled"),S.setAttribute("tabIndex","-1"),S.setAttribute("aria-disabled","true")},createButtonBar(y,b,I){const S=y._windowContext,R=y._buttonBar=S.document.createElement("div");R.className="mwDialogButtonBar",R.setAttribute("data-test-id","dialog-button-bar"),y._buttonEvents={},y._buttonEventHandlers={},y._buttonBar._buttonBarWidth=r*2;let N=!1,O=!1;const L=[],U=[];return b.forEach(z=>{v.indexOf(z.type)!==-1?U.push(z):f.indexOf(z.type)!==-1&&L.push(z)}),U.length>0?(O=!0,R.appendChild(t(y,U,S))):h.add(R,"mwNoSplBtn"),L.length>0&&(N=!0,R.appendChild(e(y,L,I,S))),N===!0&&O===!0&&(y._buttonBar._buttonBarWidth+=r*2),R}}},A,x),A.exports=w},43732:(A,x,a)=>{"use strict";var T,w;T=[a(40923),a(38142),a(96916),a(41032),a(10630)],w=a.dj.d(T,function(h,C,g,_,v){class f{constructor(r){this.widget=r.widget,this.contentArea=r.contentArea,v(this),this._addWidget(this.widget)}_addWidget(r){if(h.isString(r)){const d=g.create("div");d.className="mwContentMessage",C.set(d,"textContent",r),C.set(d,"data-test-id","dialog-content-widget"),_.set(d,"whiteSpace","pre-line"),g.place(d,this.contentArea,"first"),this.domNode=d}else h.isFunction(r.placeAt)?(r.domNode.hasAttribute("data-test-id")||r.domNode.setAttribute("data-test-id","dialog-content-widget"),r.placeAt(this.contentArea,"first"),this.domNode=r.domNode):(r.hasAttribute("data-test-id")||r.setAttribute("data-test-id","dialog-content-widget"),g.place(r,this.contentArea,"first"),this.domNode=r)}}return f},A,x),A.exports=w},64697:(A,x,a)=>{"use strict";var T,w;T=[a(48201),a(41032),a(2812),a(99890),a(20963),a(45115),a(23829),a(2993),a(58329),a(30106),a(41671),a(24097),a(50760),a(32244),a(43732),a(37485),a(19025),a(91782),a(52819),a(42625)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m){const y=I=>v(I,g("mozilla")?"DOMMouseScroll":"mousewheel",S=>{const R=S.type==="DOMMouseScroll"?S.detail*-40:S.wheelDelta,N=R>0;!N&&-R>I.scrollHeight-I.clientHeight-I.scrollTop?(I.scrollTop=I.scrollHeight,c(S)):N&&R>I.scrollTop&&(I.scrollTop=0,c(S))});class b{constructor(S,R){this._eventSignals=[],this._windowContext=S.appendTo?S.appendTo:window,S.bindingNode&&(this._windowContext.document.body.contains(S.bindingNode)||(S.bindingNode=null)),this.domNode=this._createDomNodes({id:S.id,dialogType:S.dialogType,role:S.role,uuid:S.uuid}),this.domNode.widget=this,this._trackEventListener.bind(this),this._hideCloseButton=!1,this._closeOnEscape=!0,this._isProgrammaticalResizeCalled=!1,this.focus=R,this.onFocus=S.onFocus,this.onBlur=S.onBlur,this._isFocused=!1}_constructAndDisplayDialog(S){this._buildDialog(S),this._renderDialog(),this._contentWidget&&this._contentWidget.domNode.updateComplete?this._contentWidget.domNode.updateComplete.then(()=>{this._renderDialogDimension(S.title),this._show()}):(this._renderDialogDimension(S.title),this._show())}static numberOfOpenDialogs(){const S={};return S.modal=b.prototype._allModalDialogs.length,S.modeless=b.prototype._allModelessDialogs.length,S}addButtonEventListener(S,R,N){e.addButtonEventListener(this,S,R,N)}addControlNodeEventListener(S,R,N){if(S==="close"&&!this._hideCloseButton){const O=this._closeNode,L=this;N=typeof N>"u"?!1:N,this._removeEventListener(this._closeButtonListener),this._closeButtonListener=this._trackEventListener(v(O,"click",()=>{R.call(L),N&&L.close()})),this._closeOnEscape&&(this._removeEventListener(this._escapeListener),this._escapeListener=this._trackEventListener(v(L.domNode,"keydown",U=>{U.keyCode===_.ESCAPE&&(R.call(L),N&&L.close(),c(U))})))}}enableButton(S){e.enableButton(this,S)}disableButton(S){e.disableButton(this,S)}on(S,R){const N=v(this.domNode,S,R);this._eventSignals.push(N)}close(){v.emit(this.domNode,"close",{bubbles:!1,cancelable:!0}),this.destroy()}destroy(){if(!this.domNode)return;v.emit(this.domNode,"restorefocus",{bubbles:!0}),this._isModal?(s.removePrevent(this),this._allModalDialogs.splice(this._allModalDialogs.indexOf(this),1),this._dialogThemeObserver.disconnect()):this._allModelessDialogs.splice(this._allModelessDialogs.indexOf(this),1),this._focusHandle&&this._focusHandle.unwatch(),this._eventSignals.forEach(R=>{R.remove()}),this._eventSignals=[];let S;for(S in this._buttonEventHandlers)this._buttonEventHandlers[S].remove();if(this._buttonEventHandlers={},this._resizeEventSignals&&o.disable(this),this._dragEventSignals&&i.disable(this),this._browserResizeHandler&&p.removeBrowserResizeHandler(this),this._contentWidget&&this._contentWidget.destroyRecursive(),this._windowContext.document.body.removeChild(this.domNode),this._isModal===!0){this._windowContext.document.body.removeChild(this._underlay);const R=this._allModalDialogs;R.length>1&&R.sort((N,O)=>N.domNode.style.zIndex-O.domNode.style.zIndex),R.length>=1&&R[R.length-1]._underlay.classList.remove(this._stackedModalDialogClass)}for(S in this)this.hasOwnProperty(S)&&delete this[S]}moveTo(S){n.moveTo(this,S,this._windowContext)}resizeTo(S){this.domNode&&(this._isProgrammaticalResizeCalled=!0,n.resizeTo(this,S),this._resolveScrollBar())}bringToTop(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{setFocus:!1},R=[];const N=this;if(this._isModal)R=this._allModalDialogs.filter(O=>O!==N,this),R.sort((O,L)=>O.domNode.style.zIndex-L.domNode.style.zIndex),R.push(this),R.forEach((O,L)=>{O.domNode.style.zIndex=N._startZ+L*2,O._underlay.style.zIndex=O.domNode.style.zIndex-1,L!==R.length-1&&O._underlay.classList.add(this._stackedModalDialogClass),h.remove(O.domNode,"mwModalDialogFg")},this),h.add(this.domNode,"mwModalDialogFg");else{R=this._allModelessDialogs.filter(L=>L!==N&&(L._alwaysOnTop===void 0||L._alwaysOnTop===!1),this);let O=this._windowContext.document.getElementsByClassName("mwNonModalDialog");O.length>0&&(O=Array.prototype.slice.call(O),O=O.map(L=>({domNode:L})),R=R.concat(O)),R.sort((L,U)=>L.domNode.style.zIndex-U.domNode.style.zIndex),R.push(this),R.forEach((L,U)=>{L.domNode.style.zIndex=N._startZ+U*2,h.remove(L.domNode,"mwModelessDialogFg"),O.length>0&&h.remove(L.domNode,"dojoxFloatingPaneFg")},this),h.add(this.domNode,"mwModelessDialogFg")}S.setFocus&&this.focus.focusLastFocusedItem(this)}set title(S){this._titleText="",S&&typeof S=="string"&&(this._titleText=S),this._titleBar._titleNode.textContent=this._titleText,this._titleBar._titleNode.offsetWidth<this._titleBar._titleNode.scrollWidth&&(this._titleBar._titleNode.title=this._titleText)}get title(){return this._titleText}_show(){C.set(this.domNode,"visibility","visible"),this.moveTo(this._specifiedPosition),this.focus.focus(this),this._contentWidget&&this._contentWidget.startup(),this._isModal&&(s.prevent(this,this._windowContext),this._dialogTheme=E.getTheme(this.domNode)),v.emit(this.domNode,"show",{bubbles:!1,cancelable:!0}),v.emit(this.domNode,"_dialogDimensionChange",{bubbles:!1,cancelable:!0})}_trackEventListener(S){return this._eventSignals.push(S),S}_removeEventListener(S){const R=this._eventSignals.indexOf(S);R>-1&&(this._eventSignals.splice(R,1),S.remove())}_createDomNodes(S){let{dialogType:R,id:N,role:O,uuid:L}=S;const U=this._windowContext.document.createElement("div");U.id=N,U.className="mwDialog",U.tabIndex="0",R===d.MODAL?(U.setAttribute("aria-modal",!0),O=O===r.ALERT_DIALOG?O:r.DIALOG):(U.setAttribute("aria-modal",!1),O=r.DIALOG),U.setAttribute("role",O);const z=this._titleBar=this._windowContext.document.createElement("div");z.className="mwDialogTitleBar",z.setAttribute("data-test-id","dialog-title-bar");const $=this._titleBar._titleNode=this._windowContext.document.createElement("span");$.className="mwTitleNode",$.id="dialogTitle_"+L,$.setAttribute("data-test-id","dialog-title-node");const W=this._controlNodeBar=this._windowContext.document.createElement("div");W.className="mwControlNodeBar",W.setAttribute("data-test-id","dialog-control-node-bar");const V=this._contentArea=this._windowContext.document.createElement("div");return V.id="dialogContent_"+L,V.className="mwDialogBody",V.setAttribute("data-test-id","dialog-content-area"),z.appendChild($),z.appendChild(W),U.appendChild(z),U.appendChild(V),U.setAttribute("aria-labelledby",$.id),U.setAttribute("aria-describedby",V.id),U}_buildDialog(S){const R=this;if(this._hideCloseButton=S.hideCloseButton,this._closeOnEscape=S.closeOnEscape,this.domNode.setAttribute("data-focus","temporary"),S.className&&h.add(this.domNode,S.className),!S.hideCloseButton){const N=this._closeNode=this._windowContext.document.createElement("button");N.className="mwCloseNode",N.title=u.close,N.setAttribute("data-test-id","dialog-close-node"),N.setAttribute("draggable",!1);const O=this._closeSVG=l.createCloseIcon(this._windowContext);N.appendChild(O),this._controlNodeBar.appendChild(N),this._closeButtonListener=this._trackEventListener(v(N,"click",()=>{R.close()}))}if(S.closeOnEscape&&(this._escapeListener=this._trackEventListener(v(this.domNode,"keydown",N=>{N.keyCode===_.ESCAPE&&(R.close(),c(N))}))),S.content&&(this._contentWidget=new t({widget:S.content,contentArea:this._contentArea}),S.dialogType===d.MODAL&&n.selectionWithinDialogBounds(this)),S.buttons&&Array.isArray(S.buttons)&&S.buttons.length>0){const N=e.createButtonBar(this,S.buttons,S.defaultActionButton);this.domNode.appendChild(N)}else h.add(this._contentArea,"mwNoButtons");if(S.dialogType===d.MODAL){this._isModal=!0,this._startZ=this._modalDialogBeginZIndex,h.add(this.domNode,"mwModalDialog");const N=this._windowContext.document.createElement("div");N.className="mwUnderlay",this._windowContext.document.body.appendChild(N),this._underlay=N,this._dialogThemeObserver=new this._windowContext.MutationObserver(O=>{O.forEach(L=>{if(L.type==="attributes"&&L.attributeName==="class"){const U=E.getTheme(this.domNode);this._dialogTheme!==U&&Object.values(m).includes(U)&&(E.setTheme(U,this._underlay),this._dialogTheme=U)}})}),this._config={attributes:!0,attributeFilter:["class"]},this._dialogThemeObserver.observe(this.domNode,this._config)}else this._startZ=this._modelessDialogBeginZIndex,h.add(this.domNode,"mwModelessDialog");S["data-test-id"]&&this.domNode.setAttribute("data-test-id",S["data-test-id"]),S.bindingNode&&(this._bindingNode=S.bindingNode),S.position&&(this._specifiedPosition=S.position),S.specifiedFocusItem&&(this.specifiedFocusItem=S.specifiedFocusItem),this._addControllers(S)}_renderDialog(){this._windowContext.document.body.appendChild(this.domNode),this._isModal?this._allModalDialogs.push(this):this._allModelessDialogs.push(this)}_renderDialogDimension(S){const R=window.getComputedStyle(this.domNode),N=parseInt(R.width),O=parseInt(R.height),L=parseInt(R.getPropertyValue("--mw-borderWidth-dialog"))*2;if(this._buttonBar&&parseInt(R.minWidth)<this._buttonBar._buttonBarWidth&&(this.domNode.style.minWidth=this._buttonBar._buttonBarWidth+L+"px"),this._isProgrammaticalResizeCalled){this.title=S;return}N>this._windowContext.document.documentElement.clientWidth?this.domNode.style.width=this._windowContext.document.documentElement.clientWidth+"px":this.domNode.style.width=R.width,O>this._windowContext.document.documentElement.clientHeight?this.domNode.style.height=this._windowContext.document.documentElement.clientHeight+"px":this.domNode.style.height=R.height,this.title=S}_addControllers(S){const R=this;this._scrollWheelListener=null,S.draggable?this._setDragController():this._titleBar.style.cursor="default",S.resizable&&(o.enable({widget:this,bindingNode:this._bindingNode,appendTo:this._windowContext}),this._resizeHandlers.forEach(N=>{R._resizeEventSignals.push(v(N,f.press,()=>{R.bringToTop()}))}),this._resizeEventSignals.push(v(this.domNode,o.resizeEvent,N=>{R._isCenter=!1,R._specifiedPosition={x:N.dimension.x,y:N.dimension.y},R._resolveScrollBar(),R._titleBar._titleNode.offsetWidth<R._titleBar._titleNode.scrollWidth?R._titleBar._titleNode.title=R.title:R._titleBar._titleNode.title="",R._contentArea.scrollHeight>R._contentArea.clientHeight?h.add(this._contentArea,"mwOverflow"):h.remove(this._contentArea,"mwOverflow")}))),this.on(f.press,()=>{R.bringToTop()}),this._resolveScrollBar(),n.addScrollHandler(this),p.addBrowserResizeHandler(this)}_resolveScrollBar(){if(this._contentArea.scrollHeight-this._contentArea.clientHeight>0){if(this._contentArea.offsetWidth-this._contentArea.scrollWidth>0){const S=this._standardContentPadding-(this._contentArea.offsetWidth-this._contentArea.scrollWidth);this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(S,"px"))}this._scrollWheelListener||(this._scrollWheelListener=this._trackEventListener(y(this._contentArea)))}else this._contentArea.style.setProperty("--mw-paddingRight-dialogBody","".concat(this._standardContentPadding,"px")),this._scrollWheelListener&&(this._removeEventListener(this._scrollWheelListener),this._scrollWheelListener=null)}_setDragController(){i.draggable({dialog:this,bindingNode:this._bindingNode,allowOutOfView:void 0,windowContext:this._windowContext})}_disableResizeHandlers(){o.disable(this)}_enableResizeHandlers(){o.enable({widget:this,bindingNode:this._bindingNode,windowContext:this._windowContext})}}return b.prototype._modalDialogBeginZIndex=950,b.prototype._modelessDialogBeginZIndex=100,b.prototype._standardContentPadding=20,b.prototype._stackedModalDialogClass="mwModalDialogStackedBackground",b.prototype._allModalDialogs=[],b.prototype._allModelessDialogs=[],b},A,x),A.exports=w},45943:(A,x,a)=>{var T,w;T=[a(50149),a(1818),a(37517),a(7903),a(60158),a(76808),a(29965),a(54588),a(31485)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};class i{constructor(c){this._initialize(c),this._setDndListenerEvents(),this._handleDynamicConfig(c),this._dragItem=_}_initialize(c){this._dragSources=[],this._dropTargets=[],this._canDropTracker=new u,this._dataStore={},this._dragInProgress=!1,this._contextDOM=c.context,this._setDnDListener(c)}_setDnDListener(c){const e=()=>this._dragSources,t=()=>this._dropTargets,s=()=>this._dragInProgress,l=()=>this._dataStore.dragOperations||[],p=this._getDropStatus.bind(this);this._dndListener=this._getDnDlistener(c.context,e,t,s,p,l)}_getDnDlistener(...c){return new g(...c)}_setDndListenerEvents(){this._dndListener.on(d.dragStart,this._handleDragStart.bind(this)),this._dndListener.on(d.dragEnter,this._handleDragEnter.bind(this)),this._dndListener.on(d.dragOverCoordinates,this._handleDragOverCoordinates.bind(this)),this._dndListener.on(d.dragOver,this._handleDragOver.bind(this)),this._dndListener.on(d.dragLeave,this._handleDragLeave.bind(this)),this._dndListener.on(d.drop,this._handleDrop.bind(this)),this._dndListener.on(d.dragEnd,this._handleDragEnd.bind(this))}_handleDynamicConfig(c){const{handleDynamicDragSources:e,context:t}=c;e===!0&&(this._observer=new MutationObserver(()=>{e&&this._dndListener.handleDynamicDragSources()}),this._observer.observe(t,{childList:!0,subtree:!0}))}_handleDragStart(c){this._dataStore.dragData=new Map;const e=_.processAndExecuteHook(d.dragStart)(c)(this._dataStore);this._dragInProgress=e}_handleDragEnter(c){const e=_.processAndExecuteHook(d.dragEnter)(c)(this._dataStore);let t={};if(typeof e=="boolean"||typeof e>"u")this._canDropTracker.addCanTargetDrop(e);else{t=Object.assign({},e);const s=this._dragItem.getDragItemForDropEvents(c,this._dataStore);t.isValidDropAsync||(t.isValidDropAsync=()=>Promise.reject(new Error)),t.canDropPromiseInfo=t.isValidDropAsync(s,c.target,c.position),this._handleCanDropAsync(t),this._canDropTracker.addCanTargetDrop(t)}}_handleCanDropAsync(c){c.canDropPromiseInfo.then(function(e){typeof e>"u"||e?c.isFulFilled=!0:c.isFulFilled=!1},function(){c.isFulFilled=!1})}_handleDragOverCoordinates(c){const{xCoord:e,yCoord:t}=c;f.isAvatarPresent&&f.customAvatar.updatePosition(e,t)}_handleDragOver(c){const e=this._getDropStatus();f.isAvatarPresent&&(e===v.StatusEnum.INVALID||c.dropEffect==="none"?f.customAvatar.leaveValidDropTarget():e===v.StatusEnum.VALID&&f.customAvatar.enterValidDropTarget()),_.processAndExecuteHook(d.dragOver)(c)(this._dataStore)}_handleDragLeave(c){_.processAndExecuteHook(d.dragLeave)(c)(this._dataStore);const e=this._getDropStatus();this._canDropTracker.removeTopItem(),f.isAvatarPresent&&this._canDropTracker.length===0&&e===v.StatusEnum.VALID&&f.customAvatar.leaveValidDropTarget()}_handleDrop(c){this._getDropStatus()===v.StatusEnum.VALID&&_.processAndExecuteHook(d.drop)(c)(this._dataStore),this._getDropStatus()===v.StatusEnum.INVALID&&setTimeout(()=>_.processAndExecuteHook(d.dragLeave)(c)(this._dataStore),0),f.isAvatarPresent&&(f.customAvatar.remove(),f.clearAvatar()),this._canDropTracker.empty()}_handleDragEnd(c){_.processAndExecuteHook(d.dragEnd)(c)(this._dataStore),this._dragInProgress=!1,f.isAvatarPresent&&(f.customAvatar.remove(),f.clearAvatar()),this._dataStore={},this._canDropTracker.empty()}_getDropStatus(){let c=v.StatusEnum.INVALID;if(this._canDropTracker.length>0){const e=this._canDropTracker.getTopItem();return typeof e.canDrop=="boolean"||typeof e.canDrop>"u"?e.canDrop&&(c=v.StatusEnum.VALID):e.canDrop.isFulFilled&&(c=v.StatusEnum.VALID),c}}createDropTarget(c){const e=()=>{this._dropTargets=this._dropTargets.filter(s=>s!==t)},t=new C(c,{spliceDropTarget:e});return this._dropTargets.push(t),t}createDragSource(c){const e=()=>{this._dragSources=this._dragSources.filter(l=>l!==s)},t=this._dndListener,s=new h(c,{spliceDragSource:e,dndListener:t});return this._dragSources.push(s),s}destroy(){this._dndListener.destroy(),this._dragSources.forEach(c=>{c.destroy()}),this._dropTargets.forEach(c=>{c.destroy()}),this._dragSources=[],this._dropTargets=[],this._observer&&this._observer.disconnect()}get COPY(){return r.COPY}get MOVE(){return r.MOVE}get NONE(){return r.NONE}get ALL(){return r.ALL}}return n.default=i,n.default},A,x),A.exports=w},41662:(A,x,a)=>{var T,w;T=[a(45943),a(17857),a(23481)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};let v=function(r){return r instanceof Node},f=!1;class u{static createContext(d){if(f||(u._enableDNDinCEFAndHandleFiles(),f=!0),d&&v(d.context))return new h(d);throw new Error("Expected: config.context should be of type Node")}static _createFileContext(d){if(d)return new C(d);throw new Error("Expected: config.context should be of type Node")}static _enableDNDinCEFAndHandleFiles(){window.cefclient&&window.cefclient.sendMessage&&typeof window.cefclient.sendMessage=="function"&&(window.cefclient.sendMessage("enable-dragndrop-all"),u._createFileContext({context:document}).createDropTarget({dropTarget:document,lifecycle:{enter:()=>!1,drop:()=>{}}}))}static disable(d){d.context.contentDocument&&(d.context=d.context.contentDocument),u._createFileContext({context:d.context}).createDropTarget({dropTarget:d.context,lifecycle:{enter:()=>!1,drop:()=>{}}})}static get NativeType(){return g.TYPES}}return _.default=u,_.default},A,x),A.exports=w},7903:(A,x,a)=>{var T,w;T=[a(76808),a(58124),a(31485),a(90290)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};function f(r,d,n,i,o){let c;switch(r){case i.TEXT:c=d.getNativeDataByType(i.TEXT);break;case i.FILES:c=d.getNativeDataByType(i.FILES);break;default:if(n){const t=r.toLowerCase();c=n.get(t)}!(c!=null)&&o&&(c=d.getNativeDataByType(r));break}return c}class u{static getDragItemStart(d,n,i){const o=n.dragData;let c=!1;return d.dragSource&&d.dragSource.allowGlobal&&(c=!0),{setDataByType(e,t){switch(c&&d.setNativeDataByType(e,t),e){case d.nativeTypes.TEXT:d.setNativeDataByType(d.nativeTypes.TEXT,t);break;default:e=e.toLowerCase(),o.set(e,t);break}},getXYCoordinates(){return C.getXYCoordinates(d)},getDataByType(e){return f(e,d,o,d.nativeTypes,c)},getDataTypes(){return u._getDataTypes(d,o,c)},setDragOperations(e){let t;Array.isArray(e)?t=e.slice():typeof e=="string"&&(t=[e]),n.dragOperations=t},getDropOperation(){return d.getDropOperation()},getDragOperations(){return n.dragOperations},setAvatar(e,t){d.canSetNativeAvatar&&(i.avatarDOM=e,i.count=t)}}}static getDragItemForDropEvents(d,n){let i=!1;const o=n.dragData;return d.dropTarget&&d.dropTarget.allowGlobal&&(i=!0),{getDataByType(c){return f(c,d,o,d.nativeTypes,i)},getDataTypes(){return u._getDataTypes(d,o,i)},getXYCoordinates(){return C.getXYCoordinates(d)},getDropEffect(){return d.dropEffect},getDropOperation(){return d.getDropOperation()},getDragOperations(){return n.dragOperations}}}static getDragItemEnd(d,n){const i=n.dragData;let o=!1;return d.dragSource&&d.dragSource.allowGlobal&&(o=!0),{getDataByType(c){return f(c,d,i,d.nativeTypes,o)},getDataTypes(){return u._getDataTypes(d,i,o)},getXYCoordinates(){return C.getXYCoordinates(d)},getDragOperations(){return n.dragOperations},getDropOperation(){return d.getDropOperation()}}}static _getDataTypes(d,n,i){let o;return i?o=u._getGlobalTypes(n,d):o=u._getLocalTypes(n,d),o.includes=function(c){const e=o.map(t=>t.toLowerCase());return Array.prototype.includes.call(e,c.toLowerCase())},o}static _getGlobalTypes(d,n){const i=d?Array.from(d.keys()):[],o=n.getNativeDataTypes();return[...new Set(i.concat(o))]}static _getLocalTypes(d,n){const i=d?Array.from(d.keys()):[],o=n.getNativeDataTypes();return i.concat(o)}static processAndExecuteHook(d){return function(n){return function(i){const o={[g.dragStart]:function(){const c={};let e=!1;const t=u.getDragItemStart(n,i,c),s=n.dragSource.dragStart(t,n.target);if(n.setValidDragItem(s),s&&(e=!0,c.avatarDOM)){const{avatarDOM:l,count:p}=c;n.setEmptyNativeAvatar(),h.createAvatar(l,n,p)}return e},[g.dragEnter]:function(){return n.dropTarget.dragEnter(u.getDragItemForDropEvents(n,i),n.target,n.position)},[g.dragOver]:function(){n.dropTarget.dragOver&&n.dropTarget.dragOver(u.getDragItemForDropEvents(n,i),n.target,n.position)},[g.dragLeave]:function(){n.dropTarget.dragLeave&&n.dropTarget.dragLeave(u.getDragItemForDropEvents(n,i),n.target,n.position)},[g.drop]:function(){n.dropTarget.drop(u.getDragItemForDropEvents(n,i),n.target,n.position)},[g.dragEnd]:function(){n.dragSource.dragEnd&&n.dragSource.dragEnd(u.getDragItemEnd(n,i),n.target)}};try{return o[d]()}catch(c){return _.warn(c),!1}}}}}return v.default=u,v.default},A,x),A.exports=w},50149:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(_,{spliceDragSource:v,dndListener:f}){this._validate(_);let{dragSource:u,lifecycle:r,allowGlobal:d}=_;this.dragStart=r.start,this._removeFromContext=v,this.dragEnd=r.end,typeof u=="string"&&(this._dragSourceType="SELECTOR",this._dragSourceSelector=u),u instanceof Node&&(this._dragSourceType="DOM",this._dragSourceDOM=u),this._allowGlobal=!!d,f.setDraggableAttribute(this),this._dndListener=f}_validate(_){if(!_.dragSource)throw new Error("Expected: dragSource key should be defined");if(!_.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!_.lifecycle.start)throw new Error("Expected: lifecycle should have start function defined")}destroy(){this._dndListener.removeDraggableAttribute(this),this._removeFromContext(),this.dragStart=null,this.dragEnd=null,this._dragSourceDOM=null,this._dragSourceType=null,this._dragSourceSelector=null}get allowGlobal(){return this._allowGlobal}get type(){return this._dragSourceType}get domNode(){return this._dragSourceDOM}get selector(){return this._dragSourceSelector}}return h.default=C,h.default},A,x),A.exports=w},1818:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(_,{spliceDropTarget:v}){this.validate(_);let{dropTarget:f,lifecycle:u,rowRegions:r,columnRegions:d,allowGlobal:n}=_;this._removeFromDropTargets=v,typeof f=="string"&&(this._dropTargetType="SELECTOR",this._dropTargetSelector=f),(f instanceof Node||f.nodeName==="#document")&&(this._dropTargetType="DOM",this._dropTargetDOM=f),this._allowGlobal=!!n,this.dragEnter=u.enter,this.dragOver=u.hover,this.dragLeave=u.leave,this.drop=u.drop,this.rowRegions=r,this.columnRegions=d}validate(_){if(!_.dropTarget)throw new Error("Expected: dropTarget key should be defined");if(!_.lifecycle)throw new Error("Expected: lifecycle key should be defined");if(!(_.lifecycle.enter&&_.lifecycle.drop))throw new Error("Expected: lifecycles should have enter and drop functions defined ");if(_.rowRegions){let v=typeof _.rowRegions;if(v!=="function"&&v!=="string")throw new Error("Expected: rowRegions should be of type string or function");if(v==="string"&&!this._validateRegions(_.rowRegions))throw new Error("Expected: rowRegions should be of format px, % or number")}if(_.columnRegions){let v=typeof _.columnRegions;if(v!=="function"&&v!=="string")throw new Error("Expected: columnRegions should be of type string or function");if(v==="string"&&!this._validateRegions(_.columnRegions))throw new Error("Expected: columnRegions should be of format px, % or number")}}_validateRegions(_){let v=/^(([0-9]+(px|%)?)|auto)$/g;return _.split(" ").every(f=>f.match(v)!==null)}hasRegions(){return this.hasRowRegions()||this.hasColumnRegions()}hasRowRegions(){return!!this.rowRegions}hasColumnRegions(){return!!this.columnRegions}get allowGlobal(){return this._allowGlobal}get type(){return this._dropTargetType}get domNode(){return this._dropTargetDOM}get selector(){return this._dropTargetSelector}destroy(){this._removeFromDropTargets(),this._dropTargetType=null,this._dropTargetDOM=null,this._dropTargetSelector=null}}return h.default=C,h.default},A,x),A.exports=w},17857:(A,x,a)=>{var T,w;T=[a(45943),a(88391)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{_getDnDlistener(...f){return new C(...f)}}return g.default=_,g.default},A,x),A.exports=w},31485:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={dragOverCoordinates:"dragOverCoordinates",dragOver:"dragOver",dragStart:"dragStart",dragEnd:"dragEnd",dragEnter:"dragEnter",dragLeave:"dragLeave",drop:"drop"};return h.default=C,h.default},A,x),A.exports=w},54588:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={COPY:"COPY",MOVE:"MOVE",LINK:"LINK",ALL:"ALL",NONE:"NONE"};return Object.freeze(C),h.default=C,h.default},A,x),A.exports=w},938:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static pipe(){let _=[...arguments];return function(){let v=_[0].apply(this,arguments);for(let f=1;f<_.length;f+=1)v=_[f].call(this,v);return v}}}return h.default=C,h.default},A,x),A.exports=w},60158:(A,x,a)=>{var T,w;T=[a(61231)],w=a.dj.d(T,function(h){"use strict";var C={};let g=`<div class ='mw-dnd-avatar-container-1'>
<div class='mw-dnd-avatar-container-2'>
<div class='mw-dnd-avatar-child'>
<div class='mw-dnd-avatar-child-content'> </div>
</div>
</div>
</div>
</div>`;class _{static get StatusEnum(){return{VALID:"VALID",INVALID:"INVALID"}}constructor(f,u,r,d){this._singleSelect=!1,this._validate(f,d),this._avatarContainer=this._decorateAvatar(f,d),this._updatePosition(u,r),document.body.appendChild(this._avatarContainer)}_validate(f,u){if(f instanceof Node){if(u&&isNaN(u))throw new Error("Expected: count should be of type Number");return!0}else throw new Error("Expected: avatar should be of type Node")}_decorateAvatar(f,u){let r=document.createElement("div");r.classList.add("mw-dnd-avatar"),h.showsNotAllowedPointerOnInvalidDnD&&r.classList.add("mw-dnd-pointer-not-allowed-support"),r.setAttribute("data-test-id","avatarElement");let d=new DOMParser().parseFromString(g,"text/html");return r.appendChild(d.querySelector(".mw-dnd-avatar-container-1")),!u||u<=1?(r.classList.add("mw-dnd-single-select","mw-dnd-invalid-target"),this._singleSelect=!0):(r.classList.add("mw-dnd-multi-select","mw-dnd-invalid-target"),r.setAttribute("data-multi-select-count",u),this._singleSelect=!1),r.querySelector(".mw-dnd-avatar-child-content").appendChild(f),r}enterValidDropTarget(){this._avatarContainer.classList.remove("mw-dnd-invalid-target"),this._avatarContainer.classList.add("mw-dnd-valid-target")}leaveValidDropTarget(){this._avatarContainer.classList.remove("mw-dnd-valid-target"),this._avatarContainer.classList.add("mw-dnd-invalid-target")}updatePosition(f,u){window.requestAnimationFrame(function(){this._updatePosition(f,u)}.bind(this))}_updatePosition(f,u){let r;this._singleSelect?r=15:r=25,this._avatarContainer.style.transform=`translate(${f+r}px, ${u-5}px)`}remove(){document.body.removeChild(this._avatarContainer)}get avatarContainer(){return this._avatarContainer}}return C.default=_,C.default},A,x),A.exports=w},88391:(A,x,a)=>{var T,w;T=[a(23481),a(86965),a(938),a(75153)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends h{_getDropTargetPipeLine(){return g.pipe(_.addHandlersForEvents,_.addListenersUseCapture,_.removeListenerHandlerUseCapture)}_handleDragEnter(r){f._hasFiles(r.event)&&super._handleDragEnter(r)}_handleDragLeave(r){f._hasFiles(r.event)&&super._handleDragLeave(r)}_handleDragOver(r){f._hasFiles(r.event)&&super._handleDragOver(r)}_handleDrop(r){f._hasFiles(r.event)&&super._handleDrop(r)}static _hasFiles(r){return C.hasFileContent(r.dataTransfer)}}return v.default=f,v.default},A,x),A.exports=w},23481:(A,x,a)=>{var T,w;T=[a(14525),a(86965),a(938),a(75153),a(61231),a(14124),a(31485)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d{constructor(i,o,c,e,t,s){this._on=new h,this._isDragStartedInContext=e,this._listeners=[],this._getDragSources=o,this._getDropTargets=c,this._dragEnterLeaveCounterMap=new WeakMap,this._getDropStatus=t,this._getDragOperations=s,this._removeDragSourceListeners=this._attachDragSourceEvents(i,["dragstart"]),this._removeDropTargetListeners=this._attachDropTargetEvents(i,["dragenter","drop","dragover","dragleave"]),this._contextDOM=i}static get TYPES(){return C.getTypes()}get handleEventsEnum(){return{dragstart:this._handleDragStart,dragend:this._handleDragEnd,dragenter:this._handleDragEnter,dragover:this._handleDragOver,drop:this._handleDrop,dragleave:this._handleDragLeave}}destroy(){this._listeners.forEach(i=>{i.remove()}),this._removeDragSourceListeners(),this._removeDropTargetListeners()}_attachDragEndEvent(i){this._dragEndRemoveListener=this._attachDragSourceEvents(i,["dragend"])}_removeDragEndEvent(){this._dragEndRemoveListener()}_attachDragSourceEvents(i,o){const c=o.map(E=>this.handleEventsEnum[E]),e=g.pipe(_.addHandlersForEvents,_.addListeners,_.removeListenerHandler),t={attachDragEndEvent:this._attachDragEndEvent.bind(this),removeDragEndEvent:this._removeDragEndEvent.bind(this)},s=this._on,l=this._getDragSources,p=this._dragEnterLeaveCounterMap;return e({html5DnDEvents:o,handleEvents:c,on:s,domNode:i,getDragSources:l,dragEnterLeaveCounterMap:p,handleDragEndListener:t})}_getDropTargetPipeLine(){return g.pipe(_.addHandlersForEvents,_.addListeners,_.removeListenerHandler)}_attachDropTargetEvents(i,o){const c=o.map(y=>this.handleEventsEnum[y]),e=this._getDropTargetPipeLine(),t=this._on,s=this._getDropTargets,l=this._dragEnterLeaveCounterMap,p=this._isDragStartedInContext,E=this._getDropStatus,m=this._getDragOperations;return e({html5DnDEvents:o,handleEvents:c,on:t,domNode:i,getDropTargets:s,dragEnterLeaveCounterMap:l,isDragStartedInContext:p,getDropStatus:E,getDragOperations:m})}_handleDragEnter({event:i,domNode:o,on:c,getDropTargets:e,dragEnterLeaveCounterMap:t,isDragStartedInContext:s,getDropStatus:l,getDragOperations:p}){const E=_.validateDrag({getDropTargets:e,event:i,isDragStartedInContext:s,contextDOM:o});if(!E)return;i.dataTransfer.dropEffect=_.getDropEffect(i,l,p),i.preventDefault();const{matchedDragElement:m,matchedParentDOM:y}=E;if(t.has(y)){let b=t.get(y);b++,t.set(y,b)}else t.set(y,1),c.emit(u.dragEnter,{type:u.dragEnter,dropEffect:i.dataTransfer.dropEffect,dropTarget:m,target:y,getNativeDataByType:_.createNativeDataByType(i),nativeTypes:d.TYPES,getNativeDataTypes:()=>C.getNativeDataTypes(i.dataTransfer,m.allowGlobal),xCoord:i.pageX,yCoord:i.pageY,getDropOperation:()=>_.getDropOperationFromDropEffect(i.dataTransfer.dropEffect)})}_handleDragLeave({event:i,domNode:o,on:c,getDropTargets:e,dragEnterLeaveCounterMap:t,isDragStartedInContext:s,getDropStatus:l,getDragOperations:p}){const E=_.validateDrag({getDropTargets:e,event:i,isDragStartedInContext:s,contextDOM:o});if(!E)return;i.preventDefault();const{matchedDragElement:m,matchedParentDOM:y}=E;i.dataTransfer.dropEffect=_.getDropEffect(i,l,p);let b=t.get(y);b>1?(b--,t.set(y,b)):(t.delete(y),c.emit(u.dragLeave,{type:u.dragLeave,xCoord:i.pageX,yCoord:i.pageY,dropEffect:i.dataTransfer.dropEffect,dropTarget:m,target:y,getNativeDataByType:_.createNativeDataByType(i),getNativeDataTypes:()=>C.getNativeDataTypes(i.dataTransfer,m.allowGlobal),nativeTypes:d.TYPES,getDropOperation:()=>_.getDropOperationFromDropEffect(i.dataTransfer.dropEffect)}))}_handleDrop({event:i,domNode:o,on:c,getDropTargets:e,dragEnterLeaveCounterMap:t,isDragStartedInContext:s,getDropStatus:l,getDragOperations:p}){const E=_.validateDrag({getDropTargets:e,event:i,isDragStartedInContext:s,contextDOM:o});if(!E)return;i.preventDefault();const{matchedDragElement:m,matchedParentDOM:y}=E;i.dataTransfer.dropEffect=_.getDropEffect(i,l,p),t.delete(y),c.emit(u.drop,{type:u.drop,xCoord:i.pageX,yCoord:i.pageY,dropEffect:i.dataTransfer.dropEffect,dropTarget:m,target:y,getNativeDataByType:_.createNativeDataByType(i),getNativeDataTypes:()=>C.getNativeDataTypes(i.dataTransfer,m.allowGlobal),nativeTypes:d.TYPES,getDropOperation:()=>_.getDropOperationFromDropEffect(i.dataTransfer.dropEffect)})}_handleDragOver(i){new f(i).handleDragOver()}_handleDragStart({event:i,on:o,getDragSources:c,handleDragEndListener:e}){const t=c(),s=_.matchDragSourceFromEvent(i,t);if(!s)return;const{matchedDragElement:l,matchedParentDOM:p}=s;i.dataTransfer.setData(C.dndDefaultTypeEnum,""),e.attachDragEndEvent(p,o,t),o.emit(u.dragStart,{type:u.dragStart,dragSource:l,target:p,xCoord:i.pageX,yCoord:i.pageY,setNativeDataByType:function(E,m){switch(E){case d.TYPES.TEXT:{C.setNativeTextData(i.dataTransfer,m);break}default:l.allowGlobal&&C.setNativeDataByType(i.dataTransfer,E,m);break}},getNativeDataTypes:()=>C.getNativeDataTypes(i.dataTransfer,l.allowGlobal),getNativeDataByType:_.createNativeDataByType(i),setValidDragItem:function(E){E?i.dataTransfer.effectAllowed="all":(i.dataTransfer.effectAllowed="none",i.preventDefault())},canSetNativeAvatar:!!i.dataTransfer.setDragImage,setEmptyNativeAvatar:function(){const E=document.createElement("div");E.classList.add("mw-dnd-empty-avatar"),E.appendChild(document.createTextNode("\xA0")),document.body.appendChild(E),i.dataTransfer.setDragImage(E,0,0),setTimeout(function(){document.body.removeChild(E)},0)},nativeTypes:d.TYPES,getDropOperation:()=>_.getDropOperationFromDropEffect(i.dataTransfer.dropEffect)}),_.stopPropagationforDojoDnDParent(i)}_handleDragEnd({event:i,on:o,getDragSources:c,handleDragEndListener:e,dragEnterLeaveCounterMap:t}){const s=c(),l=_.matchDragSourceFromEvent(i,s);if(!l)return;const{matchedDragElement:p,matchedParentDOM:E}=l;t.delete(E),p&&(e.removeDragEndEvent(),o.emit(u.dragEnd,{type:u.dragEnd,dragSource:p,xCoord:i.pageX,yCoord:i.pageY,target:E,getNativeDataByType:_.createNativeDataByType(i),nativeTypes:d.TYPES,getNativeDataTypes:()=>C.getNativeDataTypes(i.dataTransfer,p.allowGlobal),getDropOperation:()=>_.getDropOperationFromDropEffect(i.dataTransfer.dropEffect)}))}handleDynamicDragSources(){this._getDragSources().length>0&&this._getDragSources().forEach(this.setDraggableAttribute,this)}setDraggableAttribute(i){switch(i.type){case"SELECTOR":this._setDraggableAttribute(i.selector);break;case"DOM":i.domNode.setAttribute("draggable",!0),this._setDraggableAttrChildren(i.domNode);break;default:break}}removeDraggableAttribute(i){switch(i.type){case"SELECTOR":this._removeDraggableAttribute(i.selector);break;case"DOM":i.domNode.removeAttribute("draggable"),this._removeDraggableAttrChildren(i.domNode);break;default:break}}_setDraggableAttributeToNodeList(i){for(let o=0;o<i.length;o++)i[o].setAttribute("draggable",!0)}_removeDraggableAttributeToNodeList(i){for(let o=0;o<i.length;o++)i[o].removeAttribute("draggable")}_setDraggableAttribute(i){const o=this._getDragSourcesFromContext(i);for(let c=0;c<o.length;c++){const e=o[c];e.setAttribute("draggable",!0),this._setDraggableAttrChildren(e)}}_setDraggableAttrChildren(i){if(v.notSupportNativeElementAvatarOveride){const o=i.querySelectorAll("img");this._setDraggableAttributeToNodeList(o);const c=i.querySelectorAll("a");this._setDraggableAttributeToNodeList(c)}}_removeDraggableAttribute(i){const o=this._getDragSourcesFromContext(i);for(let c=0;c<o.length;c++){const e=o[c];e.removeAttribute("draggable"),this._removeDraggableAttrChildren(e)}}_getDragSourcesFromContext(i){const o=Array.from(this._contextDOM.querySelectorAll(i));return this._contextDOM.matches&&this._contextDOM.matches(i)&&o.push(this._contextDOM),o}_removeDraggableAttrChildren(i){if(v.notSupportNativeElementAvatarOveride){const o=i.querySelectorAll("img");this._removeDraggableAttributeToNodeList(o);const c=i.querySelectorAll("a");this._removeDraggableAttributeToNodeList(c)}}on(i,o){const c=this._on.on(i,o);return this._listeners.push(c),c}}return r.default=d,r.default},A,x),A.exports=w},86965:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({TEXT_PLAIN:"text/plain",FILES:"Files"}),g={dndDefaultTypeEnum:"__mw__dnd__native__default__type",getTypes(){return{TEXT:C.TEXT_PLAIN,FILES:C.FILES}},getNativeDataTypes(_,v){return v?this.getNativeDataTypesGlobal(_):this.getNativeDataTypesLocal(_)},getNativeDataTypesLocal(_){return Array.from(_.types).filter(v=>(v===C.TEXT_PLAIN||v===C.FILES)&&v!==this.dndDefaultTypeEnum)},getNativeDataTypesGlobal(_){return Array.from(_.types).filter(f=>f!==this.dndDefaultTypeEnum)},getNativeTextData(_){return _.getData("text/plain")},setNativeTextData(_,v){_.setData("text/plain",v)},getNativeFileData(_){return{items:_.items,files:_.files}},setNativeDataByType(_,v,f){_.setData(v,f)},getNativeDataByType(_,v){return _.getData(v)},hasFileContent(_){let v=_.items;for(let u=0;u<v.length;u++)if(v[u].kind==="file")return!0;return _.types.some(u=>u===C.FILES)}};return h.default=g,h.default},A,x),A.exports=w},14124:(A,x,a)=>{var T,w;T=[a(61231),a(31485),a(75153),a(86965),a(76808),a(90290)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};class r{constructor(n){this._nativeEvent=n.event,this._contextDomNode=n.domNode,this._isDragStartedInContext=n.isDragStartedInContext,this._getDropStatus=n.getDropStatus,this._getDragOperations=n.getDragOperations,this._on=n.on,this._getDropTargets=n.getDropTargets}handleDragOver(){this._emitDragOverCoordinates();const n=this._getDropTargetIfValid(),i=this._isPlatformMac()&&v.isAvatarPresent&&this._isDragStartedInContext()&&!this._isTargetTextAreaOrInput()&&!this._hasFileContent();if(!n){i&&(this._setDropEffect(i),this._nativeEvent.preventDefault());return}this._setDropEffect(i),this._nativeEvent.preventDefault();const{matchedDragElement:o,matchedParentDOM:c}=n;this._emitDragOver({dropTarget:o,target:c})}_hasFileContent(){return _.hasFileContent(this._nativeEvent.dataTransfer)}_isTargetTextAreaOrInput(){const n=this._nativeEvent.target,i=n&&n.tagName.toLowerCase();return["input","textarea"].includes(i)}_isPlatformMac(){return h.isMac}_getDropTargetIfValid(){return g.validateDrag({getDropTargets:this._getDropTargets,event:this._nativeEvent,isDragStartedInContext:this._isDragStartedInContext,contextDOM:this._contextDomNode})}_emitDragOverCoordinates(){this._on.emit(C.dragOverCoordinates,{type:C.dragOverCoordinates,xCoord:this._nativeEvent.pageX,yCoord:this._nativeEvent.pageY})}_emitDragOver(n){const i=this._nativeEvent,{dropTarget:o,target:c}=n,{dataTransfer:e}=i;this._on.emit(C.dragOver,{type:C.dragOver,xCoord:i.pageX,yCoord:i.pageY,dropEffect:i.dataTransfer.dropEffect,dropTarget:o,target:c,nativeTypes:_.getTypes(),getNativeDataByType:g.createNativeDataByType(i),getNativeDataTypes:()=>_.getNativeDataTypes(e,o.allowGlobal),getDropOperation:()=>g.getDropOperationFromDropEffect(e.dropEffect)})}_setDropEffect(n){const i=g.getDropEffect(this._nativeEvent,this._getDropStatus,this._getDragOperations,n);this._nativeEvent.dataTransfer.dropEffect=i}}return u.default=r,u.default},A,x),A.exports=w},37517:(A,x,a)=>{var T,w;T=[a(14525),a(23481),a(58124)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{constructor(...u){this._html5DnDListener=new C(...u),this._listeners=[],this._html5DnDListener.on("dragStart",r=>{this._on.emit("dragStart",r)}),this._html5DnDListener.on("dragEnter",this._handleDragEnter.bind(this)),this._html5DnDListener.on("dragOverCoordinates",r=>{this._on.emit("dragOverCoordinates",r)}),this._html5DnDListener.on("dragOver",this._handleDragOver.bind(this)),this._html5DnDListener.on("dragLeave",this._handleDragLeave.bind(this)),this._html5DnDListener.on("drop",this._handleDrop.bind(this)),this._html5DnDListener.on("dragEnd",this._handleDragEnd.bind(this)),this._on=new h,this._regionsFunctionReturnCache={row:{},column:{}},this._regionsEnterQueue=[]}setDraggableAttribute(...u){this._html5DnDListener.setDraggableAttribute(...u)}removeDraggableAttribute(...u){this._html5DnDListener.removeDraggableAttribute(...u)}handleDynamicDragSources(...u){this._html5DnDListener.handleDynamicDragSources(...u)}destroy(){this._listeners.forEach(u=>{u.remove()}),this._html5DnDListener.destroy()}_handleDragEnter(u){if(u.dropTarget.hasRegions()){let r=this._getRowsAndColumns(u);this._saveDropTargetAndPostionsData(u.target,r),u.position=r}this._on.emit("dragEnter",u)}_handleDragOver(u){if(u.dropTarget.hasRegions()){let r=this._getRowsAndColumns(u);this._hasEnteredBefore(u.target,r)?(u.position=r,this._on.emit("dragOver",u)):(u.position=r,this._on.emit("dragEnter",u),this._saveDropTargetAndPostionsData(u.target,r),u.position=this._regionsEnterQueue.shift().position,this._on.emit("dragLeave",u))}else this._on.emit("dragOver",u)}_handleDragLeave(u){u.dropTarget.hasRegions()&&(u.position=this._regionsEnterQueue.shift().position),this._on.emit("dragLeave",u)}_handleDrop(u){if(u.dropTarget.hasRegions()){let r=this._regionsEnterQueue.shift().position;u.position=r}this._on.emit("drop",u),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}_handleDragEnd(u){this._on.emit("dragEnd",u),this._regionsEnterQueue=[],this._regionsFunctionReturnCache={row:{},column:{}}}_getRowsAndColumns(u){let{dropTarget:r,target:d,type:n}=u,i={row:0,column:0},{xOffset:o,yOffset:c}=g.getXYCoordinates(u);if(u.dropTarget.hasRowRegions()){let e=this._getRegions(n,r.rowRegions,"row");i.row=g.getRow(c,e,d.offsetHeight)}if(u.dropTarget.hasColumnRegions()){let e=this._getRegions(n,r.columnRegions,"column");i.column=g.getColumn(o,e,d.offsetWidth)}return i}_saveDropTargetAndPostionsData(u,r){this._regionsEnterQueue.push({dropTarget:u,position:r})}_hasEnteredBefore(u,r){let d=this._regionsEnterQueue[this._regionsEnterQueue.length-1];return d&&this._isEqual(u,d.dropTarget)&&this._isEqual(r.row,d.position.row)&&this._isEqual(r.column,d.position.column)}_isEqual(u,r){return u===r}_getRegions(u,r,d){return typeof r!="function"?r:this._handleRegionsFunctionType(u,r,d)}_handleRegionsFunctionType(u,r,d){switch(u){case"dragEnter":return r=r(),this._regionsFunctionReturnCache[d].previous?this._regionsFunctionReturnCache[d].previous=this._regionsFunctionReturnCache[d].current:this._regionsFunctionReturnCache[d].previous=r,this._regionsFunctionReturnCache[d].current=r,r;case"dragOver":case"drop":return this._regionsFunctionReturnCache[d].current;case"dragLeave":return this._regionsFunctionReturnCache[d].previous;default:break}}on(u,r){let d=this._on.on(u,r);return this._listeners.push(d),d}}return _.default=v,_.default},A,x),A.exports=w},76808:(A,x,a)=>{var T,w;T=[a(60158)],w=a.dj.d(T,function(h){"use strict";var C={};let g;class _{static get customAvatar(){return g}static createAvatar(f,u,r){g||(g=new h(f,u.xCoord,u.yCoord,r))}static get isAvatarPresent(){return!!g}static clearAvatar(){g=null}}return C.default=_,C.default},A,x),A.exports=w},61231:(A,x,a)=>{var T,w;T=[a(96913)],w=a.dj.d(T,function(h){"use strict";var C={};let g=h.getSystemInfo(),_=g.PLATFORM.toUpperCase(),v=g.BROWSER.toUpperCase(),f=_.includes("WIN"),u=_.includes("MAC"),r=_.includes("MAC"),d=_.includes("MAC")&&v.includes("SAFARI");const n={showsNotAllowedPointerOnInvalidDnD:f,supportsAltKeyForCopy:u,notSupportNativeElementAvatarOveride:d,isMac:r};return C.default=n,C.default},A,x),A.exports=w},29965:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._canDropOnTarget=[]}addCanTargetDrop(_,v){this._canDropOnTarget.push({canDrop:_,dropTarget:v})}removeTopItem(){this._canDropOnTarget.shift()}get length(){return this._canDropOnTarget.length}empty(){this._canDropOnTarget=[]}getTopItem(){return this._canDropOnTarget[this._canDropOnTarget.length-1]}}return h.default=C,h.default},A,x),A.exports=w},75153:(A,x,a)=>{var T,w;T=[a(86965),a(60158),a(61231),a(54588)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f={get TYPES(){return h.getTypes()},createNativeDataByType(u){const r={[f.TYPES.TEXT]:h.getNativeTextData,[f.TYPES.FILES]:h.getNativeFileData};return function(d){return r[d]?r[d](u.dataTransfer):h.getNativeDataByType(u.dataTransfer,d)}},traverseAndMatchDragElements(u,r,d,n){let i;for(let o=0;o<n.length;o++){const c=n[o];if(i=f.matchDOMtoDragElements(d,c),i||c===r)return i}},matchDOMtoDragElements(u,r){let d,n,i=!1;for(let o=0;o<u.length;o++){const c=u[o];f.reachedConfiguredDOM(c,r)&&(d=c,n=r,i=!0)}if(i)return{matchedDragElement:d,matchedParentDOM:n}},reachedConfiguredDOM(u,r){return{SELECTOR:()=>f.anySelectorMatched(r,[u.selector]),DOM:()=>r&&r===u.domNode}[u.type]()},anySelectorMatched(u,r){return u&&u.matches?r.some(d=>u.matches(d)):!1},addHandlersForEvents(u){const{handleEvents:r,html5DnDEvents:d,domNode:n,useCapture:i}=u;return{handlers:r.map(c=>e=>{u.event=e,c(u)}),html5DnDEvents:d,domNode:n,useCapture:i}},reduceDragOperations(u,r){if(r.length===0)return u;const d=[];return u.includes(_.COPY)&&r.includes(_.COPY)&&d.push(_.COPY),u.includes(_.MOVE)&&r.includes(_.MOVE)&&d.push(_.MOVE),u.includes(_.LINK)&&r.includes(_.LINK)&&d.push(_.LINK),d},containsModifierKeys(...u){return u.reduce((r,d)=>r||d,!1)},supportsAltKeyForCopy(){return g.supportsAltKeyForCopy},getEffectBasedOnPlatform(u,r){const{isAltKey:d,isCtrlKey:n}=u;function i(c){const e=f.supportsAltKeyForCopy();return e&&d||!e&&n?"copy":c}const o={copy:()=>"copy",move:()=>"move",copyMove:()=>i("copyMove"),all:()=>i("all"),uninitialized:()=>i("uninitialized")};return o[r]?o[r]():r},getDropEffect(u,r,d,n){return r()===C.StatusEnum.VALID?f.calculateDropEffect(u,d):n?"move":"none"},calculateDropEffect(u,r){if(h.hasFileContent(u.dataTransfer))return"copy";let{dataTransfer:{effectAllowed:n,dropEffect:i}}=u;if(n==="uninitialized"&&i!=="none")return i;let o=r();o.includes(_.ALL)&&(o=[_.COPY,_.MOVE]);const{altKey:c,ctrlKey:e}=u;if(f.containsModifierKeys(c,e)){const s={isAltKey:c,isCtrlKey:e};n=f.getEffectBasedOnPlatform(s,n)}const t=f.getDragOperationsFromEffectsAllowed(n);return o=f.reduceDragOperations(t,o),o.includes(_.MOVE)?"move":o.includes(_.COPY)?"copy":"none"},addListenersUseCapture(u){return u.useCapture=!0,f.addListeners(u)},addListeners({handlers:u,html5DnDEvents:r,domNode:d,useCapture:n}){return r.forEach(function(i,o){switch(i){case"dragover":const c=d.getRootNode()instanceof ShadowRoot;d!==document&&d.nodeName==="#document"||c?d.addEventListener(i,u[o],!!n):document.addEventListener(i,u[o],!!n);break;default:d.addEventListener(i,u[o],!!n);break}}),{handlers:u,html5DnDEvents:r,domNode:d,useCapture:n}},isTargetPresentInContext(u,r){return u.contains(r.target)},removeListenerHandlerUseCapture(u){return u.useCapture=!0,f.removeListenerHandler(u)},removeListenerHandler({handlers:u,html5DnDEvents:r,domNode:d,useCapture:n}){return function(){u.forEach(function(i,o){const c=r[o];switch(c){case"dragover":document.removeEventListener(c,i,!!n);break;default:d.removeEventListener(c,i,!!n);break}})}},validateDrag({getDropTargets:u,event:r,isDragStartedInContext:d,contextDOM:n}){if(!f.isTargetPresentInContext(n,r))return;const i=u();return f.containsAllowGlobalDropTargets(i)?f._validateAllowGlobal({event:r,contextDOM:n,dropTargets:i,isDragStartedInContext:d}):f._validateWithoutAllowGlobal({event:r,contextDOM:n,dropTargets:i,isDragStartedInContext:d})},_validateAllowGlobal({event:u,contextDOM:r,dropTargets:d,isDragStartedInContext:n}){if(h.getNativeDataTypesGlobal(u.dataTransfer).length===0&&!n())return;const o=f.matchDragElements({event:u,contextDOM:r,dragElements:d});if(!o)return;const{matchedDragElement:c}=o;if(!(!c.allowGlobal&&!n()&&h.getNativeDataTypesLocal(u.dataTransfer).length===0))return o},matchDragSourceFromEvent(u,r){return f.matchDragElements({event:u,contextDOM:u.currentTarget,dragElements:r})},_validateWithoutAllowGlobal({event:u,contextDOM:r,dropTargets:d,isDragStartedInContext:n}){const i=h.getNativeDataTypesLocal(u.dataTransfer);if(!n()&&i.length===0)return;const o=f.matchDragElements({event:u,contextDOM:r,dragElements:d});if(o)return o},matchDragElements({event:u,contextDOM:r,dragElements:d}){const n=f.getComposedPath(u);return f.traverseAndMatchDragElements(u.target,r,d,n)},getDragOperationsFromEffectsAllowed(u){return{copy:[_.COPY],move:[_.MOVE],link:[_.LINK],copyLink:[_.COPY,_.LINK],copyMove:[_.MOVE,_.COPY],linkMove:[_.MOVE,_.LINK],all:[_.MOVE,_.COPY,_.LINK],uninitialized:[_.MOVE,_.COPY,_.LINK],none:[_.NONE]}[u]||[]},getDropOperationFromDropEffect(u){return{copy:_.COPY,move:_.MOVE,link:_.LINK,none:_.NONE}[u]},containsAllowGlobalDropTargets(u){return u.some(r=>r.allowGlobal)},getComposedPath(u){if(u.composedPath)return u.composedPath();const r=[];let d=u.target;for(r.push(d);d.parentNode;)d=d.parentNode,r.push(d);return r.concat(window)},stopPropagationforDojoDnDParent(u){const r=[".dojoDndContainer",".dojoDndSource",".dojoDndTarget"],d=i=>f.anySelectorMatched(i,r);f.getComposedPath(u).some(d)&&u.stopPropagation()}};return v.default=f,v.default},A,x),A.exports=w},14525:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._events={}}on(_,v){this._events[_]||(this._events[_]=[]),this._events[_].push(v);let f={};return f.remove=()=>{let u=this._events[_].indexOf(v);this._events[_].splice(u,1),f.remove=()=>null},f}emit(_,v){let f=this._events[_],u=Object.getOwnPropertyNames(v),r={};r.eventName=_,u.forEach(n=>{r[n]=v[n]}),(n=>{n&&n.forEach(i=>{i(r)})})(f)}}return h.default=C,h.default},A,x),A.exports=w},58124:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static getXYCoordinates(_){let{xCoord:v,yCoord:f,target:u}=_,{left:r,top:d}=u.getBoundingClientRect();return{xOffset:v-r,yOffset:f-d}}static getRow(..._){return C.getRegion(..._)}static getColumn(..._){return C.getRegion(..._)}static getRegion(_,v,f){v=C._convertPixelsPercentagesToNumbers(v,f),v=C._convertStrAutoToNumbers(v,f);let u=C._getRegionLimits(v);return C._calcRegionIndex(u,_,f)}static _convertPixelsPercentagesToNumbers(_,v){return _.split(" ").map(r=>r.includes("px")?parseInt(r):r.includes("%")?parseInt(r)*v/100:r).join(" ")}static _convertStrAutoToNumbers(_,v){let f=_.split(" "),u=f.filter(i=>i==="auto");if(u.length===0)return f.map(i=>Number(i));let r=C._sumOfRegions(f),d=v-r,n=0;return d>0&&(n=d/u.length),f.map(function(i){return isNaN(i)?n:Number(i)})}static _sumOfRegions(_){return _.reduce(function(v,f){return isNaN(f)||(v=v+Number(f)),v},0)}static _calcRegionIndex(_,v,f){return v<f?C._calcCoordWithInSize(_,v):C._calcCoordExceedsSize(_,f)}static _calcCoordWithInSize(_,v){let{maxRegionsSize:f,maxRegionsIndex:u}=C._getMaxRegionsData(_);if(v<f){for(let r=0;r<=u;r++)if(v<_[r])return r}else return u+1}static _calcCoordExceedsSize(_,v){let{maxRegionsSize:f,maxRegionsIndex:u}=C._getMaxRegionsData(_);return f<v?u+1:u}static _getMaxRegionsData(_){let v=_.length-1;return{maxRegionsSize:_[v],maxRegionsIndex:v}}static _getRegionLimits(_){let v=0;return _.map(f=>(v=v+f,v))}}return h.default=C,h.default},A,x),A.exports=w},87388:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._map=null}on(_,v){return this._map===null&&(this._map=new Map),this._map.has(_)?this._map.get(_).push(v):this._map.set(_,[v]),{remove:()=>{this.off(_,v)}}}emit(_,...v){if(this._map===null)return;const f=this._map.get(_);f&&[...f].forEach(u=>{u(...v)})}off(_,v){if(this._map===null)return;const f=this._map.get(_);if(f)if(v){const u=f.indexOf(v);u>-1&&f.splice(u,1)}else this._map.set(_,[])}}return h.default=C,h.default},A,x),A.exports=w},26333:(A,x,a)=>{var T,w;T=[a(82896)],w=a.dj.d(T,function(h){var C=h("mac")?"":"+",g=", ",_=h("mac")?"":"NumPad-",v=h("mac")?"":"NumPad ",f="NUMPAD-",u=/NUMPAD-\d/,r=["CTRL","ALT","SHIFT","META"],d={CTRL:{macString:"\u2303",otherPlatformString:"Ctrl"},META:{macString:"\u2318",otherPlatformString:"Windows"},SHIFT:{macString:"\u21E7",otherPlatformString:"Shift"},ALT:{macString:"\u2325",otherPlatformString:"Alt"},ENTER:{macString:"\u23CE",otherPlatformString:"Enter"},DELETE:{macString:"\u2326",otherPlatformString:"Delete"},DEL:{macString:"\u2326",otherPlatformString:"Del"},SPACEBAR:{macString:"\u2423",otherPlatformString:"Spacebar"},SPACE:{macString:"\u2423",otherPlatformString:"Space"},UP:{macString:"\u2191",otherPlatformString:"Up"},DOWN:{macString:"\u2193",otherPlatformString:"Down"},LEFT:{macString:"\u2190",otherPlatformString:"Left"},RIGHT:{macString:"\u2192",otherPlatformString:"Right"},HOME:{macString:"\u2196",otherPlatformString:"Home"},END:{macString:"\u2198",otherPlatformString:"End"},PAGEUP:{macString:"\u21DE",otherPlatformString:"Page Up"},PAGEDOWN:{macString:"\u21DF",otherPlatformString:"Page Down"},PLUS:{macString:"+",otherPlatformString:"Plus"},"+":{macString:"+",otherPlatformString:"Plus"},MINUS:{macString:"-",otherPlatformString:"Minus"},"-":{macString:"-",otherPlatformString:"Minus"},TAB:{macString:"\u21E5",otherPlatformString:"Tab"},ESCAPE:{macString:"\u238B",otherPlatformString:"Esc"},BACKSPACE:{macString:"\u232B",otherPlatformString:"Backspace"},CLEAR:{macString:"\u2327",otherPlatformString:"Clear"},PAUSE:{macString:"Pause",otherPlatformString:"Pause"},INSERT:{macString:"Insert",otherPlatformString:"Insert"},WINDOWS:{macString:"",otherPlatformString:"Windows"}};function n(o){var c=o.match(u)?_:v;return o.replace(f,c)}function i(o){o.sort(function(c,e){return r.indexOf(c)-r.indexOf(e)})}return{getPlatformSpecificString:function(o,c){c=c||{};var e=o.split(/\/\/(?!\/)/);e.length===1&&(e=o.split(/,(?=[^,])/));var t=e.map(function(s){s=s.replace(/ /g,""),s=s.replace(/_/g,"+"),s=s.toUpperCase(),s=s.replace(/CNTRL|CONTROL/g,"CTRL"),h("mac")&&!c.dontConvertCtrlToCmd&&(s=s.replace(/CTRL/g,"META")),s.match(/NUMPAD\D$/)&&(s=s.replace("NUMPAD",f)),/[^+-]\+$/.test(s)&&(s+="+");var l=s.split(/\+(?!$)/),p=l.pop();p.indexOf(f)===0&&(p=n(p)),c.sortModifiers&&i(l),l.push(p);var E=l.map(function(m){var y=d[m];return y?h("mac")?y.macString:y.otherPlatformString:m});return E.join(C)});return t.join(g)}}},A,x),A.exports=w},87942:(A,x,a)=>{var T,w;T=[a(41745),a(20963),a(81663),a(36733),a(62397),a(74959),a(13053),a(22856),a(15846),a(71504),a(30231),a(32666),a(93419),a(60943),a(74049),a(79536),a(92205),a(31455),a(83670),a(83001),a(80135),a(21418)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b){var I=13,S=32,R=9;return h(m.validate([g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,y]),{baseClass:"mwWidget mwPushButton",templateString:b,postCreate:function(){this.inherited(arguments),this.own(C(this.domNode,"keydown",this._handleKeydown.bind(this)),C(this.domNode,"keyup",this._handleKeyup.bind(this)))},_handleKeydown:function(N){if(!(this.domNode.closest(".enableInactive")!=null&&N.keyCode!=R))switch(N.keyCode){case I:this.get("disabled")||N.target.click(),N.preventDefault();break;case S:N.preventDefault();break}},_handleKeyup:function(N){if(!(this.domNode.closest(".enableInactive")!=null&&N.keyCode!=R))switch(N.keyCode){case I:N.preventDefault();break;case S:this.get("disabled")||N.target.click(),N.preventDefault();break}},_qeClick:function(){this.emit("click")}})},A,x),A.exports=w},80135:(A,x,a)=>{var T,w;T=[a(41745),a(74049)],w=a.dj.d(T,function(h,C){var g=h(null,{postCreate:function(){this.inherited(arguments);var _=this.id+"_label";this.focusNode.setAttribute("aria-labelledby",_),this.textNode.setAttribute("id",_)}});return g._dependencies=[{mixin:C,orderDependent:!1}],g},A,x),A.exports=w},31455:(A,x,a)=>{var T,w;T=[a(41745),a(41032),a(60943)],w=a.dj.d(T,function(h,C,g){var _=h(null,{_paddingAndBorder:6,_setSize:function(v,f){if(this.inherited(arguments),!!this._started){var u="";f==="auto"||f==="100%"?(u=f,this._setSpecialSizeOnAdditionalNodes(v,"none")):(u=this._getAdjustedSize(v,f,this.domNode),this._setSpecialSizeOnAdditionalNodes(v,parseFloat(u)-this._paddingAndBorder+"px")),this.contentWrapperNode.style[v]="100%"}},_setSpecialSizeOnAdditionalNodes:function(v,f){v==="width"?this.iconAndTextContainerNode.style.maxWidth=f:v==="height"&&(this.textNode.style.maxHeight=f)}});return _._dependencies=[{mixin:g,orderDependent:!0}],_},A,x),A.exports=w},83670:(A,x,a)=>{var T,w;T=[a(41745),a(20963)],w=a.dj.d(T,function(h,C){return h(null,{postCreate:function(){this.inherited(arguments),this._getNonSelectableNodes().forEach(function(g){C(g,"selectstart",function(_){["INPUT","TEXTAREA"].indexOf(_.target.nodeName)===-1&&_.preventDefault()})})},_getNonSelectableNodes:function(){return[this.domNode]}})},A,x),A.exports=w},83001:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){var h=function(g,_){if(g<_)throw new Error("mixin dependency specified in invalid order")},C=function(g){return g};return{validate:C}},A,x),A.exports=w},15846:(A,x,a)=>{var T,w;T=[a(41745),a(26333)],w=a.dj.d(T,function(h,C){return h(null,{description:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDescriptionMixin"),this.set("description",this.get("description"))},_setDescriptionAttr:function(g){if(typeof g!="string")throw new Error("'description' property expects a literal string!");this._updateDescription(g),this._set("description",g)},_updateDescription:function(g){this._lastKnownDescription=g,this.descriptionNode?(this.descriptionNode.textContent=g,this.get("showDescription")===!1?this.domNode.classList.add("mwHideDescription"):g===""?this.domNode.classList.add("mwHideDescription"):this.domNode.classList.remove("mwHideDescription")):this._updateTitle(g)},_updateTitle:function(g,_){var v;_?(g!==""&&g!==void 0&&(g=this._lastKnownDescription===""?g:" ("+g+")"),v=this._lastKnownDescription+g):this.get("shortcut")?v=g?g+" ("+C.getPlatformSpecificString(this.get("shortcut"))+")":C.getPlatformSpecificString(this.get("shortcut")):v=g;var f=this.getTitleNodes();f.forEach(function(u){u.setAttribute("title",v)})},getTitleNodes:function(){return[this.domNode]}})},A,x),A.exports=w},71504:(A,x,a)=>{var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h(null,{disabled:!1,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwDisabledMixin"),this.set("disabled",this.get("disabled")),this._disableInteractionHandler=this._disableInteractionHandler.bind(this),this._addDisableListener(this.domNode,this._disableInteractionHandler)},startup:function(){this.inherited(arguments),this.get("disabled")&&(this.domNode.dojoClick=!1)},destroy:function(){this.domNode&&this._removeDisableListener(this.domNode,this._disableInteractionHandler),this.inherited(arguments)},_disableInteractionHandler:function(C){this.get("disabled")&&this._disabledInteraction(C)},_disabledInteraction:function(C){C.stopImmediatePropagation();var g=document.createEvent("MouseEvent");g.initMouseEvent(C.type,C.bubbles,C.cancelable,C.view,C.detail,C.screenX,C.screenY,C.clientX,C.clientY,C.ctrlKey,C.altKey,C.shiftKey,C.metaKey,C.button,C.relatedTarget),this.domNode.parentElement.dispatchEvent(g)},_addDisableListener:function(C,g){window.PointerEvent&&C.addEventListener("pointerdown",g,!0),C.addEventListener("mousedown",g,!0),C.addEventListener("click",g,!0)},_removeDisableListener:function(C,g){window.PointerEvent&&C.removeEventListener("pointerdown",g,!0),C.removeEventListener("mousedown",g,!0),C.removeEventListener("click",g,!0)},_updateDisableNode:function(C){C?(this.domNode.classList.add("mwDisabled"),this.domNode.classList.remove("mwEnabled")):(this.domNode.classList.add("mwEnabled"),this.domNode.classList.remove("mwDisabled"))},_setDisabledAttr:function(C){if(typeof C!="boolean")throw new Error("'disabled' property expects a boolean!");this._set("disabled",C),this._updateDisableNode(C),this.set("hovering",!1),this.set("active",!1),this._setAriaDisabled(),this.baseClass.split(" ").forEach(function(g){C?this.domNode.classList.add(g+"Disabled"):this.domNode.classList.remove(g+"Disabled")}.bind(this)),C?(this.domNode.classList.add("dijitDisabled"),this.domNode.dojoClick=!1):(this.domNode.classList.remove("dijitDisabled"),this.domNode.dojoClick=void 0),this._setTabIndexOnNode(this.focusNode)},_setTabIndexOnNode:function(C){this.get("disabled")?C.removeAttribute("tabIndex"):C.setAttribute("tabIndex","0")},_setAriaDisabled:function(){var C=this.disabledNode?this.disabledNode:this.domNode;C.setAttribute("aria-disabled",this.get("disabled")&&!this.get("dropDownNeverDisabled")?"true":"false")}})},A,x),A.exports=w},30231:(A,x,a)=>{var T,w;T=[a(41745)],w=a.dj.d(T,function(h){var C=["left","center","right"],g="mwHorizontalAlignment",_={},v=function(f){return f.charAt(0).toUpperCase()+f.slice(1)};return Object.keys(C).forEach(function(f){_[C[f]]=g+v(C[f])}),h(null,{horizontalAlignment:"center",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwHorizontalAlignmentMixin")},_setHorizontalAlignmentAttr:function(f){if(C.indexOf(f)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+C);this._applyHorizontalAlignmentClass(f),this._set("horizontalAlignment",f)},_applyHorizontalAlignmentClass:function(f){var u,r,d;u=this.get("horizontalAlignment"),r=_[u],r&&this.domNode.classList.remove(r),d=_[f],this.domNode.classList.add(d)}})},A,x),A.exports=w},32666:(A,x,a)=>{var T,w;T=[a(41745),a(96916),a(74049),a(93419)],w=a.dj.d(T,function(h,C,g,_){var v=h(null,{CLASS_NAME_PREFIX:"mwIconAlignment",constructor:function(){this.ICON_ALIGNMENT_CONFIGURATION={top:{className:this.CLASS_NAME_PREFIX+"Top",textNodeLocation:"after"},right:{className:this.CLASS_NAME_PREFIX+"Right",textNodeLocation:"before"},bottom:{className:this.CLASS_NAME_PREFIX+"Bottom",textNodeLocation:"before"},left:{className:this.CLASS_NAME_PREFIX+"Left",textNodeLocation:"after"}}},iconAlignment:"left",_supportedValues:["top","right","bottom","left"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconAlignmentMixin")},_setIconAlignmentAttr:function(f){if(!(this.get("iconAlignment")===f&&this._started)){if(this._supportedValues.indexOf(f)===-1)throw new Error("'iconAlignment' property expects one of these values: "+this._supportedValues);var u=this.ICON_ALIGNMENT_CONFIGURATION[this.get("iconAlignment")].className;this.domNode.classList.remove(u);var r=this.ICON_ALIGNMENT_CONFIGURATION[f].className;this.domNode.classList.add(r);var d=this.ICON_ALIGNMENT_CONFIGURATION[f].textNodeLocation;C.place(this.textNode,this.iconNode,d),this._set("iconAlignment",f)}}});return v._dependencies=[{mixin:g,orderDependent:!1},{mixin:_,orderDependent:!1}],v},A,x),A.exports=w},93419:(A,x,a)=>{var T,w;T=[a(41745),a(40923),a(96916),a(20963),a(76654)],w=a.dj.d(T,function(h,C,g,_,v){return h(null,{_iconTypes:{DATA_URI:"data_uri",PATH_URI:"path_uri",CSS_CLASS:"css_class",SVG_ICON:"svg_icon"},icon:"",_lastIconApplied:"",_lastSvgIconApplied:void 0,_lastSvgNode:void 0,postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwIconMixin"),this.set("icon",this.get("icon"))},_setIconAttr:function(f){this._set("icon",f),this._updateDOM(f)},_updateDOM:function(f){this._removeOldIcon(),this._applyNewIcon(f)},_removeOldIcon:function(){var f=this._lastIconApplied,u=this._getIconType(f);if(u===this._iconTypes.DATA_URI||u===this._iconTypes.PATH_URI)this._removeImageStyles(this.iconNode);else if(u===this._iconTypes.CSS_CLASS&&f!==""){var r=f.trim().split(" ");r.forEach(function(d){this.iconNode.classList.remove(d)},this)}this._removeOldSvgIcon()},_applyNewIcon:function(f){var u=this._getIconType(f);if(u===this._iconTypes.DATA_URI||u===this._iconTypes.PATH_URI){var r=g.create("img",{src:f});this.own(_.once(r,"load",C.hitch(this,function(){this._applyImageStyles(this.iconNode,f,r),this.emit("iconapplied"),this.emit("updatelayout"),g.destroy(r)}))),this._lastIconApplied=f}else if(u===this._iconTypes.CSS_CLASS){if(f!==""){var d=f.trim().split(" ");d.forEach(function(i){this.iconNode.classList.add(i)},this)}this._lastIconApplied=f}else if(u===this._iconTypes.SVG_ICON&&v.getInstance()&&f.hasOwnProperty("id")){var n={};Object.assign(n,f),this._lastSvgIconApplied=n,v.getInstance().getIcon(f).then(function(i){this.iconNode&&this._lastSvgIconApplied===n&&(this.iconNode.appendChild(i),this.iconNode.style.height=f.height+"px",this.iconNode.style.width=f.width+"px",this._lastSvgNode=i)}.bind(this))}u!==this._iconTypes.SVG_ICON&&f.length===0||u===this._iconTypes.SVG_ICON&&!f.hasOwnProperty("id")?this.domNode.classList.add("mwNoIcon"):this.domNode.classList.remove("mwNoIcon")},_removeOldSvgIcon:function(){this.iconNode&&this._lastSvgIconApplied&&(this._lastSvgNode&&this.iconNode.removeChild(this._lastSvgNode),this._lastSvgIconApplied=void 0,this._lastSvgNode=void 0)},_getIconType:function(f){return typeof f=="object"?this._iconTypes.SVG_ICON:f.indexOf("data:")>-1?this._iconTypes.DATA_URI:f.match(/\./)?this._iconTypes.PATH_URI:this._iconTypes.CSS_CLASS},_applyImageStyles:function(f,u,r){f.style.backgroundImage='url("'+u+'")',f.style.width=r.width+"px",f.style.height=r.height+"px"},_removeImageStyles:function(f){f.style.backgroundImage="",f.style.width="",f.style.height=""},destroy:function(){this._removeOldSvgIcon(),this.inherited(arguments)}})},A,x),A.exports=w},60943:(A,x,a)=>{var T,w;T=[a(40923),a(41745)],w=a.dj.d(T,function(h,C){return C(null,{width:"auto",height:"auto",_allowedValues:["auto","100%"],postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwSizeMixin"),this.on("updatelayout",h.hitch(this,this._updateLayout))},startup:function(){this.inherited(arguments),this._updateLayout()},_updateLayout:function(){this._setWidthAttr(this.get("width")),this._setHeightAttr(this.get("height"))},_setWidthAttr:function(g){this._setSize("width",g)},_setHeightAttr:function(g){this._setSize("height",g)},_validateSizeInput:function(g){if(!(typeof g=="string"&&this._allowedValues.indexOf(g)>=0||typeof g=="number"&&g>0))throw new Error(" Property should either be 'auto' or a positive integer")},_setSize:function(g,_){if(this._validateSizeInput(_),this._set(g,_),!!this._started){var v="";this._allowedValues.indexOf(_)>=0?v=_:v=this._getAdjustedSize(g,_,this.domNode),this.domNode.style[g]=v}},_getAdjustedSize:function(g,_,v){return _+"px"}})},A,x),A.exports=w},22856:(A,x,a)=>{var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h(null,{tag:"",_setTagAttr:function(C){if(typeof C!="string")throw new Error("tag property expects a 'String'");this.domNode.setAttribute("data-tag",C),this._set("tag",C)},postCreate:function(){this.inherited(arguments),this.set("tag",this.get("tag"))}})},A,x),A.exports=w},74049:(A,x,a)=>{var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h(null,{text:"",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwTextMixin"),this.set("text",this.get("text"))},_setTextAttr:function(C){if(typeof C!="string")throw new Error("'text' property expects a literal string!");this._updateTextInDOM(C),this._set("text",C)},_updateTextInDOM:function(C){this._placeTextInNode(C),this._getTextForDOM(C).length===0?this.domNode.classList.add("mwNoText"):this.domNode.classList.remove("mwNoText")},_placeTextInNode:function(C,g){for(g===void 0&&(g=this.textNode);g.firstChild;)g.removeChild(g.firstChild);var _=this._getTextForDOM(C,g);if(_.length>0){var v=document.createElement("span");v.classList.add("mwTextLine"),v.textContent=_,g.appendChild(v),g.classList.remove("mwEmptyNode")}else g.classList.add("mwEmptyNode")},_getTextForDOM:function(C){return C}})},A,x),A.exports=w},92205:(A,x,a)=>{var T,w;T=[a(41745),a(60943)],w=a.dj.d(T,function(h,C){var g=["top","middle","bottom"],_="mwVerticalAlignment",v={},f=function(r){return r.charAt(0).toUpperCase()+r.slice(1)};Object.keys(g).forEach(function(r){v[g[r]]=_+f(g[r])});var u=h(null,{verticalAlignment:"middle",postCreate:function(){this.inherited(arguments),this.domNode.classList.add("mwVerticalAlignmentMixin")},_setVerticalAlignmentAttr:function(r){if(g.indexOf(r)===-1)throw new Error("'Vertical alignment' property expects '' one of these values: "+g[r]);this._applyVerticalAlignmentClass(r),this._set("verticalAlignment",r)},_applyVerticalAlignmentClass:function(r){var d,n,i;d=this.get("verticalAlignment"),n=v[d],n&&this.domNode.classList.remove(n),i=v[r],this.domNode.classList.add(i)}});return u._dependencies=[{mixin:C,orderDependent:!0}],u},A,x),A.exports=w},79536:(A,x,a)=>{var T,w;T=[a(41745)],w=a.dj.d(T,function(h){var C="mw",g="VisualFamily";return h(null,{visualFamily:"default",_setVisualFamilyAttr:function(_){if(typeof _!="string"||_.length===0)throw new Error("'visualFamily' property expects a literal non-empty string!");var v=this._getClassNameForVisualFamily(this.get("visualFamily"));this.domNode.classList.remove(v);var f=this._getClassNameForVisualFamily(_);this.domNode.classList.add(f),this._set("visualFamily",_)},_getClassNameForVisualFamily:function(_){return C+_.charAt(0).toUpperCase()+_.slice(1)+g}})},A,x),A.exports=w},64376:(A,x,a)=>{var T,w;T=[a(99191),a(11394)],w=a.dj.d(T,function(h,C){"use strict";var g={};return g.default=function(_,v){let f=[];const u=h.fromNode(_),r=C.fromNode(_),d=function(i){Array.isArray(i)||(i=[i]),i.forEach(function(o){o.attachInputStream(u),o.attachInputStream(r)}),f=f.concat(i)},n=function(i){};return v&&d(v),{add:d,remove:n,getAttachedRecognizers:function(){return f},destroy:function(){u.destroy(),r.destroy(),f.forEach(i=>i.destroy())},preventFocus:function(){u.preventFocus()},allowFocus:function(){u.allowFocus()},stopPropagation:function(){u.stopPropagation(),r.stopPropagation()},allowPropagation:function(){u.allowPropagation(),r.allowPropagation()},preventDefault:function(){u.preventDefault(),r.preventDefault()},allowDefault:function(){u.allowDefault(),r.allowDefault()},addHoverListeners:function(){return u.addHoverListeners()},resetAll:function(){u.clearInput(),f&&f.forEach(i=>i.reset())}}},g.default},A,x),A.exports=w},70885:(A,x,a)=>{var T,w;T=[a(32464),a(45262),a(55106),a(97411),a(60670),a(29185),a(2109),a(67015),a(49130),a(5365),a(16844),a(1712)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o){"use strict";var c={};const e=function(t,s){return function(l){if(s){l.options||(l.options={});for(const E in s)Object.prototype.hasOwnProperty.call(s,E)&&(l.options[E]=s[E])}const p=h(t(l.options));if(l.callbacks)for(const E in l.callbacks)Object.prototype.hasOwnProperty.call(l.callbacks,E)&&p.on(E,l.callbacks[E]);if(l&&l.options&&l.options.pointerTypes){const E=l.options.pointerTypes;p.setPointerTypes(E)}return p}};return c.default={click:e(v),tap:e(_),tapmove:e(g),slide:e(g,{numTaps:0}),flick:e(f),pan:e(u),rotate:e(r),pinch:e(d),doubleTap:e(_,{numTaps:2}),tripleTap:e(_,{numTaps:3}),leftClick:e(v,{button:C.LEFT}),rightClick:e(v,{button:C.RIGHT}),wheel:e(n),wheelmove:e(i),hover:e(o)},c.default},A,x),A.exports=w},63041:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=function(C){const g=[],_=[],v=[],f=[];return{prevents:function(u){g.push(u),u.getCoordinator().isPreventedBy(C)},isPreventedBy:function(u){_.push(u)},resetPrevented:function(){g.forEach(u=>u.reset())},isPrevented:function(){return _.some(u=>u.isActive())},waitForFailure:function(u){v.push(u),u.getCoordinator().isWaitingFor(C)},isWaitingFor:function(u){f.push(u)},needsToWait:function(){return v.some(u=>u.isPossible())},failThoseWaiting:function(){f.forEach(function(u){u.reset(),u.attemptProcess(!0)})},allowThoseWaiting:function(){f.forEach(function(u){u.attemptProcess(!1)})}}},h.default},A,x),A.exports=w},2430:(A,x,a)=>{var T,w;T=[a(87388)],w=a.dj.d(T,function(h){"use strict";var C={};class g{constructor(){this._emitter=new h}subscribe(v){const f=this._emitter;return f.on("observableEvent",v),{unsubscribe:()=>{f.off("observableEvent",v)}}}emit(v){this._emitter.emit("observableEvent",v)}}return C.default=g,C.default},A,x),A.exports=w},24879:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=function(){let C=[];return{own:function(g,_){let v=g;_&&(v={remove:function(){g[_](g)}}),C.push(v)},remove:function(){C.forEach(function(g){g.remove()}),C=[]}}},h.default},A,x),A.exports=w},80641:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={sequence:function(){const C=arguments;return function(g){for(let _=0;_<C.length;_++)g=C[_].call(this,g);return g}}},h.default},A,x),A.exports=w},57048:(A,x,a)=>{var T,w;T=[a(48914)],w=a.dj.d(T,function(h){"use strict";var C={};const{compareProperties:g}=h;class _{constructor(){this.reset()}setInitial(f){this.initialProperties=f.properties,this.currentProperties=f.properties,this.previousProperties=null,this.finalProperties=null,this.updateActionProperties()}setUpdated(f){this.previousProperties=this.currentProperties,this.currentProperties=f.properties,this.updateActionProperties()}setFinal(f){this.previousProperties=this.currentProperties,this.currentProperties=f.properties,this.finalProperties=f.properties,this.updateActionProperties()}updateActionProperties(){this.actionProperties=g(this.currentProperties,this.initialProperties,this.previousProperties,this.actionProperties)}reset(){this.initialProperties=null,this.finalProperties=null,this.currentProperties=null,this.previousProperties=null,this.actionProperties=null}getActionProperties(){return this.actionProperties}}return C.default=_,C.default},A,x),A.exports=w},18797:(A,x,a)=>{var T,w;T=[a(62002),a(2430),a(76194),a(86744),a(34856)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{arePointsWithinRadius:u}=_,{isWithinTimeout:r}=v,{getCenterPoint:d,getTimestamp:n,createTimeout:i}=g;class o{constructor(e){this.options=Object.assign({numTaps:1,maxRadius:1,maxTouchRadius:20,maxHold:250,tapDelay:250},e||{}),this.observable=new C,this.reset()}setOptions(e){this.options=Object.assign(this.options,e||{}),this.reset()}_emitTimeout(){this.observable.emit(i())}onDown(e){this.resetTimers(),this.holdTimer.start(),this.latestDown=e;const t=this._checkUpToDownDelay(),s=this._checkUpToDownDistance();(!t||!s)&&(this.latestUp=null,this.tapCount=0)}onUp(e){this.resetTimers(),this.eventTimer.start(),this.latestUp=e,this._updateTapCount()}isBetweenDownAndUp(){const e=this.latestDown&&this.latestUp,t=!!this.latestDown;return e?n(this.latestDown)>n(this.latestUp):t}_isActivePress(){const e=this.latestDown&&this.latestUp,t=!!this.latestDown;return e?n(this.latestUp)>n(this.latestDown):t}_checkUpToDownDelay(){let e=!0;return this.tapCount!==0&&!r(n(this.latestUp),n(this.latestDown),this.options.tapDelay)&&(e=!1),e}_checkUpToDownDistance(){let e=!0;return this.tapCount!==0&&!u(d(this.latestUp),d(this.latestDown),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius)&&(e=!1),e}_updateTapCount(){const e=this._isActivePress(),t=u(d(this.latestDown),d(this.latestUp),this.latestDown&&this.latestDown.srcEvent&&this.latestDown.srcEvent.pointerType==="touch"?this.options.maxTouchRadius:this.options.maxRadius),s=r(n(this.latestDown),n(this.latestUp),this.options.maxHold);e&&t&&s?this.tapCount++:(this.latestDown=null,this.latestUp=null,this.tapCount=0)}isTap(){return this.tapCount===this.options.numTaps}isEarlyTap(){const e=this._isActivePress(),t=this.tapCount<this.options.numTaps;return e&&t}getTapCount(){return this.tapCount}resetTimers(){this.holdTimer&&this.holdTimer.clear(),this.eventTimer&&this.eventTimer.clear()}reset(){this.tapCount=0,this.latestDown=null,this.latestUp=null,this.resetTimers(),this.holdTimer=new h(this._emitTimeout.bind(this),this.options.maxHold),this.eventTimer=new h(this._emitTimeout.bind(this),this.options.tapDelay)}}return f.default=o,f.default},A,x),A.exports=w},60670:(A,x,a)=>{var T,w;T=[a(2430),a(80641),a(18610),a(91465),a(46142),a(37993),a(57048)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const{trackInitial:d,trackFinal:n,setActionData:i}=g,{isAncestorNode:o}=_,{sequence:c}=C,{RECOGNIZED:e,INACTIVE:t,POSSIBLE:s}=f,{createRecognizerData:l,applyWhen:p,applyWhenNotSinglePrimary:E,applyIfUndetermined:m,applyOnDown:y,applyOnMove:b,applyOnUp:I,markAsInactive:S,markAsNoChange:R,markAsPossible:N,applyIfTargetStateIsActive:O}=v,L=function(K){const{inputData:M}=K;return o(M.srcNode,M.target)},U=function(K){const M=K.inputData,B=K.internalData.clickOptions,P=M.srcEvent;let k=!1;return P.button!==void 0?k=P.button===B.button:B.button!==0&&(k=!0),k},z=function(K){const{currentState:M}=K;return M===s&&L(K)?K.targetState=e:K.targetState=t,K},$=c(p(U,c(N,d)),m(S)),W=c(n,z),V=c(E(S),y($),b(R),I(W),m(S),O(i));return r.default=function(K){const M=new h,B=Object.assign({button:0},K||{}),P=new u;return{EVENT_SETS:["pointers"],reset:P.reset.bind(P),subscribe:M.subscribe.bind(M),recognize:function(k){const{targetState:H,actionData:Y}=V(l("click",k,{clickOptions:B,positionTracker:P}));return{targetState:H,actionData:Y}}}},r.default},A,x),A.exports=w},29185:(A,x,a)=>{var T,w;T=[a(80641),a(2430),a(46142),a(18610),a(86744),a(48562),a(57048)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const{trackInitial:d,trackUpdate:n,resetTracker:i,setActionData:o}=_,{sequence:c}=h,{computeMagnitude:e}=v,{createRecognizerData:t,markAsNoChange:s,markAsPossible:l,markAsRecognized:p,markAsInactive:E,applyIfUndetermined:m,applyIfPossible:y,applyOnDown:b,applyOnMove:I,applyWhen:S,applyOnUp:R,applyIfTargetStateIsActive:N,applyIfTargetStateIsComplete:O}=g,{DIRECTION_NONE:L}=f,U=function(B){const P=B.internalData.flickOptions,Y=B.internalData.positionTracker.getActionProperties().center.direction,G=B.inputData.pointers.length===P.pointers;return(P.direction===L||P.direction===Y)&&G},z=function(B){const P=B.internalData.flickOptions,H=B.internalData.positionTracker.getActionProperties(),Y=e(H.center.delta),G=e(H.center.velocity);return Y>=P.minDistance&&G>P.minVelocity},$=c(d,m(l)),W=y(c(n,S(U,s),m(E))),V=y(c(S(z,p),m(E))),K=c(b($),I(W),R(V),m(E),N(o),O(i)),M=function(B){const P=new C,k=new u,H=Object.assign({pointers:1,minDistance:20,direction:L,minVelocity:.3},B||{});return{EVENT_SETS:["pointers"],reset:k.reset.bind(k),subscribe:P.subscribe.bind(P),recognize:function(Y){const{targetState:G,actionData:Q}=K(t("flick",Y,{positionTracker:k,flickOptions:H}));return{targetState:G,actionData:Q}}}};return r.default=M,r.default},A,x),A.exports=w},1712:(A,x,a)=>{var T,w;T=[a(2430),a(18610),a(80641),a(46142),a(57048)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{sequence:u}=g,{trackInitial:r,resetTracker:d,setActionData:n}=C,{createRecognizerData:i,applyWhen:o,applyIfUndetermined:c,markAsInactive:e,markAsRecognized:t,applyIfTargetStateIsActive:s}=_,p=u(o(function(E){const y=E.inputData.srcEvent;return y&&y.buttons===0&&(y.type==="pointermove"||y.type==="mousemove")},u(r,t)),c(e),s(n),d);return f.default=function(E){const m=new h,y=new v;return{EVENT_SETS:["pointers"],reset:y.reset.bind(y),subscribe:m.subscribe.bind(m),recognize:function(b){const{targetState:I,actionData:S}=p(i("hover",b,{positionTracker:y}));return{targetState:I,actionData:S}}}},f.default},A,x),A.exports=w},2109:(A,x,a)=>{var T,w;T=[a(80641),a(2430),a(48562),a(18610),a(86744),a(46142),a(57048)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const{sequence:d}=h,{computeMagnitude:n}=v,{trackInitial:i,trackUpdate:o,trackFinal:c,resetTracker:e,setActionData:t}=_,{createRecognizerData:s,markAsNoChange:l,markAsCancelled:p,markAsInactive:E,markAsPossible:m,markAsBegan:y,markAsProgress:b,markAsRecognized:I,applyIfUndetermined:S,applyOnDown:R,applyOnMove:N,applyIfTargetStateIsActive:O,applyIfTargetStateIsComplete:L,applyOnUp:U,applyWhen:z,applyIfPossible:$,applyIfActive:W,applyIfInactive:V,applyIfBegun:K}=f,{DIRECTION_NONE:M}=g,B=function(q){const oe=q.internalData.panOptions;return q.inputData.pointers.length!==oe.pointers},P=function(q){const oe=q.internalData.panOptions,pe=q.internalData.positionTracker.getActionProperties(),ce=n(pe.center.delta);return Math.abs(ce)>=oe.minDistance},k=function(q){return q.inputData.srcEvent.type==="pointermove"&&q.inputData.srcEvent.buttons===0&&!q.inputData.srcEvent.synthetic&&!q.inputData.srcEvent.UITest&&(q=p(q)),q},H=d(i,z(B,d(K(I),S(E))),S(K(I)),S(m)),Y=d(o,K(k),K(z(B,I)),S(d($(z(P,y)),K(b))),S(l)),G=d(c,K(I),S(E)),Q=d(R(H),N(Y),U(G),S(V(E)),S(W(p)),O(t),L(e)),J=function(q){const oe=new C,ie=new u,pe=Object.assign({pointers:1,minDistance:20,direction:M},q||{});return{EVENT_SETS:["pointers"],reset:ie.reset.bind(ie),subscribe:oe.subscribe.bind(oe),recognize:function(ce){const{targetState:te,actionData:ne}=Q(s("pan",ce,{positionTracker:ie,panOptions:pe}));return{targetState:te,actionData:ne}}}};return r.default=J,r.default},A,x),A.exports=w},49130:(A,x,a)=>{var T,w;T=[a(80641),a(2430),a(18610),a(46142),a(57048)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{sequence:u}=h,{trackInitial:r,trackUpdate:d,trackFinal:n,resetTracker:i,setActionData:o}=g,{createRecognizerData:c,markAsNoChange:e,markAsCancelled:t,markAsInactive:s,markAsPossible:l,markAsBegan:p,markAsProgress:E,markAsRecognized:m,applyIfUndetermined:y,applyOnDown:b,applyOnMove:I,applyIfTargetStateIsActive:S,applyIfTargetStateIsComplete:R,applyOnUp:N,applyWhen:O,applyIfPossible:L,applyIfActive:U,applyIfInactive:z,applyIfBegun:$}=_,W=function(H){const Y=H.internalData.pinchOptions;return H.inputData.pointers.length!==Y.pointers},V=function(H){const Y=H.internalData.pinchOptions,Q=H.internalData.positionTracker.getActionProperties().spread.delta;return Math.abs(Q)>=Y.minDistance},K=u(r,O(W,u($(m),y(s))),y($(m)),y(l)),M=u(d,$(O(W,m)),y(u(L(O(V,p)),$(E))),y(e)),B=u(n,$(m),y(s)),P=u(b(K),I(M),N(B),y(z(s)),y(U(t)),S(o),R(i)),k=function(H){const Y=new C,G=new v,Q=Object.assign({pointers:2,minDistance:3},H||{});return{EVENT_SETS:["pointers"],reset:G.reset.bind(G),subscribe:Y.subscribe.bind(Y),recognize:function(J){const{targetState:q,actionData:oe}=P(c("pinch",J,{positionTracker:G,pinchOptions:Q}));return{targetState:q,actionData:oe}}}};return f.default=k,f.default},A,x),A.exports=w},67015:(A,x,a)=>{var T,w;T=[a(80641),a(2430),a(18610),a(46142),a(57048)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{sequence:u}=h,{trackInitial:r,trackUpdate:d,trackFinal:n,resetTracker:i,setActionData:o}=g,{createRecognizerData:c,markAsNoChange:e,markAsCancelled:t,markAsInactive:s,markAsPossible:l,markAsBegan:p,markAsProgress:E,markAsRecognized:m,applyIfUndetermined:y,applyOnDown:b,applyOnMove:I,applyIfTargetStateIsActive:S,applyIfTargetStateIsComplete:R,applyOnUp:N,applyWhen:O,applyIfPossible:L,applyIfActive:U,applyIfInactive:z,applyIfBegun:$}=_,W=function(H){const Y=H.internalData.rotateOptions;return H.inputData.pointers.length!==Y.pointers},V=function(H){const Y=H.internalData.rotateOptions,J=H.internalData.positionTracker.getActionProperties().angle.delta;return Math.abs(J)>=Y.minRotation},K=u(r,O(W,u($(m),y(s))),y($(m)),y(l)),M=u(d,$(O(W,m)),y(u(L(O(V,p)),$(E))),y(e)),B=u(n,$(m),y(s)),P=u(b(K),I(M),N(B),y(z(s)),y(U(t)),S(o),R(i)),k=function(H){const Y=new C,G=new v,Q=Object.assign({pointers:2,minRotation:20},H||{});return{EVENT_SETS:["pointers"],reset:G.reset.bind(G),subscribe:Y.subscribe.bind(Y),recognize:function(J){const{targetState:q,actionData:oe}=P(c("rotate",J,{positionTracker:G,rotateOptions:Q}));return{targetState:q,actionData:oe}}}};return f.default=k,f.default},A,x),A.exports=w},97411:(A,x,a)=>{var T,w;T=[a(80641),a(18610),a(46142),a(18797),a(57048)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{sequence:u}=h,{trackInitial:r,trackUpdate:d,trackFinal:n,resetTracker:i,setActionData:o}=C,{createRecognizerData:c,markAsNoChange:e,markAsPossible:t,markAsInactive:s,markAsRecognized:l,applyWhen:p,applyIfUndetermined:E,applyIfTargetStateIsActive:m,applyOnTimeout:y,applyOnDown:b,applyOnMove:I,applyOnUp:S,applyIfTargetStateIsComplete:R}=g,N=function(k){return $(k).onDown(k.inputData),k},O=function(k){return $(k).onUp(k.inputData),k},L=function(k){return $(k).isTap()},U=function(k){return $(k).isEarlyTap()},z=function(k){return $(k).reset(),k},$=function(k){return k.internalData.tapCount},W=u(r,N,E(t)),V=u(d,E(e)),K=function(k){return k.inputData.srcEvent.button!==void 0&&k.inputData.srcEvent.button!==k.internalData.tapOptions.button&&(k=s(k)),k},M=u(O,E(p(L,u(n,l))),E(p(U,t))),B=u(y(s),E(b(K)),E(b(W)),E(I(V)),E(S(M)),E(s),m(o),R(u(i,z))),P=function(k){let H=Object.assign({button:0},k||{});const Y=new _(H),G=new v;return{EVENT_SETS:["pointers"],setOptions:function(Q){H=Object.assign(H,Q||{}),Y.setOptions(H)},reset:u(Y.reset.bind(Y),G.reset.bind(G)),subscribe:Y.observable.subscribe.bind(Y.observable),recognize:function(Q){const{targetState:J,actionData:q}=B(c("tap",Q,{positionTracker:G,tapCount:Y,tapOptions:H}));return{targetState:J,actionData:q}}}};return f.default=P,f.default},A,x),A.exports=w},55106:(A,x,a)=>{var T,w;T=[a(80641),a(18610),a(46142),a(37993),a(81494),a(18797),a(57048)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const{sequence:d}=h,{BEGAN:n,POSSIBLE:i,CANCELLED:o}=_,{trackInitial:c,trackUpdate:e,trackFinal:t,resetTracker:s,setActionData:l}=C,{createRecognizerData:p,markAsNoChange:E,markAsCancelled:m,markAsProgress:y,markAsInactive:b,markAsRecognized:I,applyIfUndetermined:S,applyOnTimeout:R,applyOnDown:N,applyOnMove:O,applyOnUp:L,applyIfBegun:U,applyIfTargetStateIsComplete:z,applyIfActive:$,applyIfInactive:W,applyIfTargetStateBegun:V,applyIfTargetStateIsActive:K}=g,{hasBegun:M}=v,B=function(ce){return H(ce).onDown(ce.inputData),ce},P=function(ce){return H(ce).onUp(ce.inputData),ce},k=function(ce){return H(ce).resetTimers(),ce},H=function(ce){return ce.internalData.tapCount},Y=function(ce){return H(ce).isTap()?ce.targetState=n:M(ce)?ce.targetState=o:ce.targetState=i,ce},G=function(ce){return H(ce).reset(),ce},Q=function(ce){return ce.inputData.srcEvent.button!==void 0&&ce.inputData.srcEvent.button!==ce.internalData.tapMoveOptions.button&&(ce=b(ce)),ce},J=function(ce){return H(ce).isBetweenDownAndUp()&&ce.inputData.srcEvent.type==="pointermove"&&ce.inputData.srcEvent.buttons===0&&!ce.inputData.srcEvent.synthetic&&!ce.inputData.srcEvent.UITest&&(ce=m(ce)),ce},q=d(c,B,U(m),S(Y),V(k)),oe=d(e,J,S(U(y)),S(E)),ie=d(P,S(U(d(t,I))),S(E)),pe=d(R(b),S(N(Q)),S(N(q)),S(O(oe)),S(L(ie)),S(W(b)),S($(m)),K(l),z(d(s,G)));return r.default=function(ce){let te=Object.assign({button:0},ce||{});const ne=new f(te),re=new u;return{EVENT_SETS:["pointers"],setOptions:function(se){te=Object.assign(te,se||{}),ne.setOptions(te)},reset:d(ne.reset.bind(ne),re.reset.bind(re)),subscribe:ne.observable.subscribe.bind(ne.observable),recognize:function(se){const{targetState:ge,actionData:he}=pe(p("tapmove",se,{positionTracker:re,tapCount:ne,tapMoveOptions:te}));return{targetState:ge,actionData:he}}}},r.default},A,x),A.exports=w},5365:(A,x,a)=>{var T,w;T=[a(2430),a(80641),a(46142)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const{sequence:v}=C,{createRecognizerData:f,applyIfUndetermined:u,markAsInactive:r,markAsRecognized:d,applyIfTargetStateIsActive:n,applyOnWheel:i}=g,o=function(e){return e.actionData={type:e.type,srcEvent:e.inputData.srcEvent},e},c=v(i(d),u(r),n(o));return _.default=function(e){const t=new h;return{EVENT_SETS:["wheel"],reset:function(){},subscribe:t.subscribe.bind(t),recognize:function(s){const{targetState:l,actionData:p}=c(f("wheel",s,{}));return{targetState:l,actionData:p}}}},_.default},A,x),A.exports=w},16844:(A,x,a)=>{var T,w;T=[a(2430),a(37993),a(81494),a(76194),a(62002)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};return f.default=function(u){const r=u&&u.wheelDelay?u.wheelDelay:200,d=new h,n=new v(()=>{d.emit(_.createTimeout())},r);return{EVENT_SETS:["wheel"],reset:function(){n.clear()},subscribe:d.subscribe.bind(d),recognize:function({currentState:i,inputData:o}){let c=C.INACTIVE,e;if(_.isWheel(o))switch(n.clear(),i){case C.INACTIVE:c=C.BEGAN,n.start();break;case C.BEGAN:c=C.PROGRESS,n.start();break;case C.PROGRESS:c=C.PROGRESS,n.start();break}if(_.isTimeout(o))switch(i){case C.INACTIVE:c=C.INACTIVE;break;case C.BEGAN:c=C.RECOGNIZED;break;case C.PROGRESS:c=C.RECOGNIZED;break}return g.isActiveState(c)&&(e={type:"wheelmove",srcEvent:o.srcEvent}),{targetState:c,actionData:e}}}},f.default},A,x),A.exports=w},99191:(A,x,a)=>{var T,w;T=[a(91465),a(76194),a(2430),a(24879),a(63728)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const{addDomListener:u,preventDefault:r,stopPropagation:d}=h,{getActiveImplementations:n,getImplementationForEvent:i,addListenersToRemovable:o,updateLastTouch:c,isCompatibilityEvent:e}=v,t=n();let s=null;const l=function(p,E){let m=_(),y=_(),b=_(),I=_(),S=_(),R=_();const N=p.ownerDocument;let O=[],L=[];const U=new g,z=function(k){let H=k;return s=c(k,s),e(k,s)&&(H=null),H},$=function(k){U.emit(C.createFromPointers(O,k,p))},W=function(k){U.emit(C.createFromPointers(L,k,p))},V=function(k){k=z(k),k&&(i(k).addEventToPointers(O,k),$(k))},K=function(k){if(k=z(k),k){const H=i(k);H.addEventToPointers(O,k),$(k),H.removeEventFromPointers(O,k),O.length===0&&y.remove()}},M=function(k){if(k=z(k),k){const H=i(k);H&&H.addEventToPointers(O,k),y.remove(),$(k),O=[]}},B=function(k){k=z(k),k&&(i(k).addEventToPointers(O,k),y=o(t,y,N,{move:V,up:K,cancel:M},!0),m.own(u(p,"dragstart",M,!1)),m.own(u(p,"drag",M,!1)),m.own(u(p,"dragend",M,!1)),$(k))},P=function(k){k=z(k),k&&k.buttons===0&&(L=[k],W(k))};return m=o(t,m,p,{down:B},!1),{EVENT_SET:"pointers",subscribe:U.subscribe.bind(U),preventFocus:function(){b.remove(),b=o(t,b,p,{down:r},!1)},allowFocus:function(){b.remove()},stopPropagation:function(){I.remove(),I=o(t,I,p,{down:d,move:d,up:d},!1)},allowPropagation:function(){I.remove()},preventDefault:function(){S.remove(),S=o(t,S,p,{down:r,move:r,up:r},!1)},allowDefault:function(){S.remove()},clearInput:function(){y.remove(),O=[]},addHoverListeners:function(){return R.remove(),R=o(t,R,p,{move:P},!1),R},destroy:function(){m.remove(),y.remove(),b.remove(),I.remove(),S.remove(),R.remove()}}};return f.default={fromNode:l},f.default},A,x),A.exports=w},63728:(A,x,a)=>{var T,w;T=[a(91465),a(23688),a(37934),a(38074)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const{addDomListener:f}=h,u=!!window.PointerEvent,r="ontouchstart"in window,d=1e3,n=25,i=u?[C]:r?[g,_]:[_],o=!u&&r,c={mousedown:!0,mousemove:!0,mouseup:!0},e={pointerdown:!0,pointermove:!0,pointerup:!0},t={touchstart:!0,touchmove:!0,touchend:!0,touchcancel:!0},s=function(m,y){const b=m.clientX,I=m.clientY,S=Date.now();if(y._softTimestamp+d<=S)return!1;const R=y.changedTouches;for(const N in R)if(Object.prototype.hasOwnProperty.call(R,N)&&N!=="length"){const O=R[N],L=O.clientX,U=O.clientY,z=Math.abs(b-L),$=Math.abs(I-U);if(z<=n&&$<=n)return!0}return!1},l=function(m){return m&&m.type&&c[m.type]},p=function(m){return m&&m.type&&e[m.type]},E=function(m){return m&&m.type&&t[m.type]};return v.default={isTouchEvent:E,isPointerEvent:p,isMouseEvent:l,getActiveImplementations:function(){return i},getImplementationForEvent:function(m){let y=null;return l(m)&&(y=_),p(m)&&(y=C),E(m)&&(y=g),y},addListenersToRemovable:function(m,y,b,I,S){return m.forEach(function(R){for(const N in I)if(Object.prototype.hasOwnProperty.call(I,N)){const O=I[N];y.own(f(b,R[N],O,S))}}),y},updateLastTouch:function(m,y){let b=y;return E(m)&&(m._softTimestamp=Date.now(),b=m),b},isCompatibilityEvent:function(m,y){let b=!1;return y&&l(m)&&o&&(b=s(m,y)),b}},v.default},A,x),A.exports=w},11394:(A,x,a)=>{var T,w;T=[a(91465),a(76194),a(2430),a(24879)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const{addDomListener:f,preventDefault:u,stopPropagation:r}=h,d=function(n,i){const o=_(),c=_(),e=_(),t=new g,s=function(l){t.emit(C.createFromPointers([],l,n))};return o.own(f(n,"wheel",s,!1)),{EVENT_SET:"wheel",subscribe:t.subscribe.bind(t),stopPropagation:function(){c.remove(),c.own(f(n,"wheel",r,!1))},allowPropagation:function(){c.remove()},preventDefault:function(){e.remove(),e.own(f(n,"wheel",u,!1))},allowDefault:function(){e.remove()},destroy:function(){o.remove()}}};return v.default={fromNode:d},v.default},A,x),A.exports=w},38074:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=function(g,_){let v,f=-1;for(v=0;v<g.length;v++)g[v].pointerId===_.pointerId&&(f=v);return f===-1&&(f=g.length),f};return h.default={type:"mouse",down:"mousedown",move:"mousemove",up:"mouseup",cancel:"",addEventToPointers:function(g,_){(_.button===0||_.button===2)&&(_.pointerId=1,g[0]=_,_.pointerType="mouse")},removeEventFromPointers:function(g,_){const v=C(g,_);g.splice(v,1)}},h.default},A,x),A.exports=w},23688:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=function(g,_){let v,f=-1;for(v=0;v<g.length;v++)g[v].pointerId===_.pointerId&&(f=v);return f===-1&&(f=g.length),f};return h.default={type:"pointer",down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel",addEventToPointers:function(g,_){const v=C(g,_);g[v]=_,_.pointerType||(_.pointerType="mouse")},removeEventFromPointers:function(g,_){const v=C(g,_);g.splice(v,1)}},h.default},A,x),A.exports=w},37934:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=function(g,_){let v,f=-1;for(v=0;v<g.length;v++)g[v].identifier===_.identifier&&(f=v);return f===-1&&(f=g.length),f};return h.default={type:"touch",down:"touchstart",move:"touchmove",up:"touchend",cancel:"touchcancel",addEventToPointers:function(g,_){const v=_.touches,f=_.changedTouches[0];for(const u in v)if(Object.prototype.hasOwnProperty.call(v,u)&&u!=="length"){const r=C(g,v[u]);v[u].pointerId=r+1,g[r]=v[u]}_.pointerType="touch",["pageX","pageY","screenX","screenY","clientX","clientY","target"].forEach(function(u){try{u in _||(_[u]=f[u])}catch(r){}})},removeEventFromPointers:function(g,_){g.splice(0,g.length)}},h.default},A,x),A.exports=w},32464:(A,x,a)=>{var T,w;T=[a(87388),a(24879),a(63041),a(37993),a(81494),a(57894),a(76194)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=function(n){return n===_.RECOGNIZED||n===_.CANCELLED?_.INACTIVE:n};return r.default=function(n){let i=_.INACTIVE,o=null;const c=C(),e=C();let t=[f.MOUSE,f.TOUCH,f.PEN];const s=new h,l=function(y){let b=!0;if(y.srcEvent&&y.srcEvent.pointerType&&(b=t.indexOf(y.srcEvent.pointerType)!==-1),u.isCancel(y)&&(b=!0),m.isPrevented()||v.isWaitingState(i)||v.isDisabledState(i)||!b)return;i=d(i),i===_.INACTIVE&&e.remove();const{targetState:I,actionData:S}=n.recognize({inputData:y,currentState:i});p(I,S)},p=function(y,b){if(o=null,v.isActiveState(y)&&m.needsToWait()&&(o={targetState:y,actionData:b},y=_.WAITING),i=y,v.isActiveState(i)&&(m.resetPrevented(),m.failThoseWaiting()),v.isInactiveState(i)&&m.allowThoseWaiting(),v.isActiveState(i))try{s.emit(i,{actionData:b,recognizer:E})}catch(I){console.error("Exception thrown. Message: "+I.message),I.stack&&console.error("Stack: ",I.stack)}if(v.isEndedState(i))try{s.emit("after",{})}catch(I){console.error("Exception thrown. Message: "+I.message),I.stack&&console.error("Stack: ",I.stack)}};n.subscribe&&c.own(n.subscribe(l),"unsubscribe");const E={attachInputStream:function(y){let b=!1;if(n.EVENT_SETS.forEach(function(S){S===y.EVENT_SET&&(b=!0)}),!b)return{unsubscribe:function(){}};const I=y.subscribe(l);return c.own(I,"unsubscribe"),I},on:function(y,b){if(typeof y=="string"){const I=(R={})=>{b(R.actionData,R.recognizer)};s.on(y,I);const S={remove:()=>{s.off(y,I)}};return c.own(S),S}else{const I=y,S=C();for(const R in I)if(Object.prototype.hasOwnProperty.call(I,R)){const N=(L={})=>{I[R](L.actionData,L.recognizer)};s.on(R,N);const O={remove:()=>{s.off(R,N)}};c.own(O),S.own(O)}return S}},onTemp:function(y,b){if(typeof y=="string"){const I=(R={})=>{b(R.actionData,R.recognizer)};s.on(y,I);const S={remove:()=>{s.off(y,I)}};return e.own(S),S}else{const I=y,S=C();for(const R in I)if(Object.prototype.hasOwnProperty.call(I,R)){const N=(L={})=>{I[R](L.actionData,L.recognizer)};s.on(R,N);const O={remove:()=>{s.off(R,N)}};e.own(O),S.own(O)}return S}},enable:function(){i=_.INACTIVE},disable:function(){i=_.DISABLED},setPointerTypes:function(y){t=y},setOptions:function(y){n.setOptions&&n.setOptions(y)},reset:function(){p(_.INACTIVE),n.reset()},getCoordinator:function(){return m},destroy:function(){e.remove(),c.remove()},attemptProcess:function(y){if(i===_.WAITING&&o){const b=y?_.INACTIVE:o.targetState;p(b,o.actionData)}},isActive:function(){return v.isActiveState(i)},isPossible:function(){return v.isPossibleState(i)||v.isWaitingState(i)}},m=g(E);return E},r.default},A,x),A.exports=w},81494:(A,x,a)=>{var T,w;T=[a(37993)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default={isActiveState:function(g){return g===h.RECOGNIZED||g===h.CANCELLED||g===h.BEGAN||g===h.PROGRESS},isEndedState:function(g){return g===h.RECOGNIZED||g===h.CANCELLED},isWaitingState:function(g){return g===h.WAITING},isInactiveState:function(g){return g===h.INACTIVE},isPossibleState:function(g){return g===h.POSSIBLE},hasBegun:function(g){return g===h.BEGAN||g===h.PROGRESS},isDisabledState:function(g){return g===h.DISABLED}},C.default},A,x),A.exports=w},37993:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={INACTIVE:"inactive",POSSIBLE:"possible",WAITING:"waiting",BEGAN:"began",PROGRESS:"progress",RECOGNIZED:"recognized",CANCELLED:"cancelled",DISABLED:"disabled"},h.default},A,x),A.exports=w},62002:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=function(C,g){let _=null;const v=function(){f(),_=window.setTimeout(C,g)},f=function(){_&&window.clearTimeout(_),_=null};return{start:v,clear:f}},h.default},A,x),A.exports=w},18610:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={setActionData:function(C){return C.actionData={type:C.type,srcEvent:C.inputData.srcEvent,pointers:C.inputData.pointers,properties:C.internalData.positionTracker.getActionProperties()},C},trackInitial:function(C){const g=C.inputData;return C.internalData.positionTracker.setInitial(g),C},trackFinal:function(C){const g=C.inputData;return C.internalData.positionTracker.setFinal(g),C},trackUpdate:function(C){const g=C.inputData;return C.internalData.positionTracker.setUpdated(g),C},resetTracker:function(C){return C.internalData.positionTracker.reset(),C}},h.default},A,x),A.exports=w},45262:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={LEFT:0,RIGHT:2},h.default},A,x),A.exports=w},48562:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={DIRECTION_UP:"up",DIRECTION_RIGHT:"right",DIRECTION_DOWN:"down",DIRECTION_LEFT:"left",DIRECTION_NONE:"none"},h.default},A,x),A.exports=w},91465:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={isAncestorNode:function(C,g){let _=!1;for(;g;){if(g===C){_=!0;break}g=g.parentNode}return _},addDomListener:function(C,g,_,v){return C.addEventListener(g,_,v),{remove:function(){C.removeEventListener(g,_,v)}}},preventDefault:function(C){C.preventDefault()},stopPropagation:function(C){C.stopPropagation()}},h.default},A,x),A.exports=w},86744:(A,x,a)=>{var T,w;T=[a(48562)],w=a.dj.d(T,function(h){"use strict";var C={};const{DIRECTION_UP:g,DIRECTION_RIGHT:_,DIRECTION_DOWN:v,DIRECTION_LEFT:f,DIRECTION_NONE:u}=h,r=function(l){return l.x},d=function(l){return l.y},n=function(l){return{max:{x:Math.max.apply(null,l.map(r)),y:Math.max.apply(null,l.map(d))},min:{x:Math.min.apply(null,l.map(r)),y:Math.min.apply(null,l.map(d))}}},i=function(l,p){return{x:p.x-l.x,y:p.y-l.y}},o=function(l,p){return c(i(l,p))},c=function(l){const p=Math.pow(l.x,2),E=Math.pow(l.y,2);return Math.sqrt(p+E)},e=function(l,p){return Math.atan2(l.y-p.y,l.x-p.x)*(180/Math.PI)},t=function(l,p){return{x:(l.x+p.x)/2,y:(l.y+p.y)/2}},s=function(l,p){let E=u;const m=p.x-l.x,y=p.y-l.y;return(m!==0||y!==0)&&(Math.abs(m)>Math.abs(y)?E=m<0?f:_:E=y<0?g:v),E};return C.default={arePointsWithinRadius:function(l,p,E){if(!l||!p)return!1;const m=l.x-p.x,y=l.y-p.y;return Math.sqrt(m*m+y*y)<E},getCenter:function(l){const{max:p,min:E}=n(l);return t(p,E)},getAngle:function(l){const{max:p,min:E}=n(l);return e(p,E)},getSpread:function(l){const{max:p,min:E}=n(l);return o(p,E)},computeDistance:i,computeMagnitude:c,computeDistanceMagnitude:o,computeDirection:s},C.default},A,x),A.exports=w},76194:(A,x,a)=>{var T,w;T=[a(14029),a(72591),a(48914),a(63728)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const{isPrimary:f,getXY:u}=C,{calculateProperties:r}=g,d={pointerdown:h.DOWN,pointermove:h.MOVE,pointerup:h.UP,pointercancel:h.CANCEL,touchstart:h.DOWN,touchmove:h.MOVE,touchend:h.UP,touchcancel:h.CANCEL,mousedown:h.DOWN,mousemove:h.MOVE,mouseup:h.UP,"":h.CANCEL},n=function(o){let c=null;return o&&o.srcEvent&&(c=d[o.srcEvent.type]),c},i=function(o){let c=o?o.target:null;return c||(o.touches&&o.touches[0]?c=o.touches[0].target:o.changedTouches&&o.changedTouches[0]&&(c=o.changedTouches[0].target)),c};return v.default={createFromPointers:function(o,c,e){c._softTimestamp=Date.now()+(c.detail?c.detail:0);const t=o.slice();return{type:"inputData",pointers:t,properties:r(t,c),changedPointers:[c],srcEvent:c,target:i(c),srcNode:e}},createTimeout:function(){return{type:"inputData",isTimeout:!0}},isSinglePrimary:function(o){return o.pointers&&o.pointers.length===1&&f(o.pointers[0])},isDown:function(o){return n(o)===h.DOWN},isMove:function(o){return n(o)===h.MOVE},isUp:function(o){return n(o)===h.UP},isCancel:function(o){return n(o)===h.CANCEL},isTimeout:function(o){return!!o.isTimeout},isWheel:function(o){const c=o.srcEvent;return c&&c.type==="wheel"},getInputType:n,getCenterPoint:function(o){let c={x:NaN,y:NaN};return o&&o.properties&&(c=o.properties.center),c},getPointerLocations:function(o){return o.pointers.map(u)},getTimestamp:function(o){return o&&o.srcEvent?o.srcEvent._softTimestamp:NaN}},v.default},A,x),A.exports=w},14029:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={DOWN:"down",MOVE:"move",UP:"up",CANCEL:"cancel"},h.default},A,x),A.exports=w},48914:(A,x,a)=>{var T,w;T=[a(86744),a(34856),a(72591)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const{getXY:v}=g,{getTimestamp:f}=C,{getCenter:u,getAngle:r,getSpread:d,computeDistance:n,computeDirection:i}=h;return _.default={calculateProperties:function(o,c){const e=o.map(v);return{center:u(e),angle:r(e),spread:d(e),timestamp:f(c)}},compareProperties:function(o,c,e){c||(c=o),e||(e=c);const t=o.timestamp-e.timestamp,s=n(e.center,o.center);return{center:{current:o.center,initial:c.center,previous:e.center,delta:n(c.center,o.center),velocity:{x:s.x/t,y:s.y/t},direction:i(e.center,o.center)},angle:{current:o.angle,initial:c.angle,previous:e.angle,delta:o.angle-c.angle,velocity:(o.angle-e.angle)/t},spread:{current:o.spread,initial:c.spread,previous:e.spread,delta:o.spread-c.spread,velocity:(o.spread-e.spread)/t},timestamp:{current:o.timestamp,initial:c.timestamp,previous:e.timestamp,delta:o.timestamp-c.timestamp}}}},_.default},A,x),A.exports=w},57894:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={TOUCH:"touch",MOUSE:"mouse",PEN:"pen"},h.default},A,x),A.exports=w},72591:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={isPrimary:function(C){return C.isPrimary||C.pointerId===1||C.button===0||C.constructor.name==="Touch"},getXY:function(C){return{x:C.clientX,y:C.clientY}}},h.default},A,x),A.exports=w},46142:(A,x,a)=>{var T,w;T=[a(37993),a(81494),a(76194)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const{RECOGNIZED:v,BEGAN:f,PROGRESS:u,INACTIVE:r,POSSIBLE:d,CANCELLED:n}=h,{isEndedState:i,isInactiveState:o}=C,c={createRecognizerData:function(e,t,s){return{type:e,currentState:t.currentState,inputData:t.inputData,targetState:null,actionData:{},internalData:s}},applyWhen:function(e,t){return function(s){return e(s)?t(s):s}},applyIfUndetermined:function(e){return c.applyWhen(c.isUndetermined,e)},applyIfDetermined:function(e){return c.applyWhen(c.isDetermined,e)},applyIfActive:function(e){return c.applyWhen(function(t){return C.isActiveState(t.currentState)},e)},applyIfBegun:function(e){return c.applyWhen(function(t){return C.hasBegun(t.currentState)},e)},applyIfPossible:function(e){return c.applyWhen(function(t){return C.isPossibleState(t.currentState)},e)},applyIfTargetStateBegun:function(e){return c.applyWhen(function(t){return C.hasBegun(t.targetState)},e)},applyIfTargetStateIsActive:function(e){return c.applyWhen(function(t){return C.isActiveState(t.targetState)},e)},applyIfTargetStateIsComplete:function(e){return c.applyWhen(function(t){return o(t.targetState)||i(t.targetState)},e)},applyIfInactive:function(e){return c.applyWhen(function(t){return!C.isActiveState(t.currentState)},e)},applyOnUp:function(e){return c.applyWhen(function(t){return g.isUp(t.inputData)},e)},applyOnDown:function(e){return c.applyWhen(function(t){return g.isDown(t.inputData)},e)},applyOnMove:function(e){return c.applyWhen(function(t){return g.isMove(t.inputData)},e)},applyOnCancel:function(e){return c.applyWhen(function(t){return g.isCancel(t.inputData)},e)},applyOnTimeout:function(e){return c.applyWhen(function(t){return g.isTimeout(t.inputData)},e)},applyOnWheel:function(e){return c.applyWhen(function(t){return g.isWheel(t.inputData)},e)},applyWhenNotSinglePrimary:function(e){return c.applyWhen(function(t){return!g.isSinglePrimary(t.inputData)},e)},isDetermined:function(e){return!!e.targetState},isUndetermined:function(e){return!e.targetState},markAsNoChange:function(e){return e.targetState=e.currentState,e},markAsPossible:function(e){return e.targetState=d,e},markAsRecognized:function(e){return e.targetState=v,e},markAsInactive:function(e){return e.targetState=r,e},markAsCancelled:function(e){return e.targetState=n,e},markAsProgress:function(e){return e.targetState=u,e},markAsBegan:function(e){return e.targetState=f,e},resetWhenComplete:function(e){const{targetState:t,internalData:s}=e;return(o(t)||i(t))&&s&&s.reset&&s.reset(),e}};return _.default=c,_.default},A,x),A.exports=w},34856:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={isWithinTimeout:function(C,g,_){return Math.abs(C-g)<_},getTimestamp:function(C){return C._softTimestamp?C._softTimestamp:C.timestamp}},h.default},A,x),A.exports=w},18917:(A,x,a)=>{"use strict";var T,w;T=[a(80419),a(60482),a(81466)],w=a.dj.d(T,function(h,C,g){return{HYPERLINK_ESCAPE_REGEXP:/<a\s+href\s*=\s*"[^"]*"[^>]*>[\s\S]*?<\/a>/g,HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP:/<a\s+href\s*=\s*"([^"]*)"([^>]*)>([\s\S]*?)<\/a>/g,STRONG_ESCAPE_REGEXP:/<strong>|<\/strong>/g,BOLD_LINK_ATTRIBUTE_REGEX:/\bstyle\s*=\s*"[^"]*\bfont-weight\s*:\s*bold\b[^"]*"/,parseQueryString:function(){var v=window.location.search.substr(1,window.location.search.length);return this._parseQueryString(v)},_parseQueryString:function(v){return h.queryToObject(v)},parseUrl:function(v){var f=document.createElement("a");f.display="none",f.href=v||window.location.href,f.href=f.href;var u={protocol:f.protocol,hostname:f.hostname,port:f.port,pathname:f.pathname,search:f.search,hash:f.hash};return(u.protocol==="https:"||u.protocol==="http:")&&u.pathname.indexOf("/")!==0&&(u.pathname="/"+u.pathname),u.protocol==="https:"&&u.port==="443"&&v.indexOf("https://"+u.hostname+":443")!==0&&(u.port=""),u},escapeHtml:function(v){var f=document.createElement("div");f.textContent=v;var u=f.innerHTML;return u},escapeLinksAndHtml:function(v,f){g.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeLinksAndHtml"},replacement:{module:"mw-html-utils/HtmlUtils",method:"treatHtmlLikeCommandWindow"}});var u="",r=v.split(this.HYPERLINK_ESCAPE_REGEXP),d=v.match(this.HYPERLINK_ESCAPE_REGEXP),n="",i=this,o=0,c=function(t,s,l,p){var E=i.parseUrl(s).protocol;E!=="http:"&&E!=="https:"&&E!=="matlab:"&&(s="#"),s=i.escapeHtml(s),p=i._strongNotEscaped(p,!0),n='<a href="'+s+'">'+p+"</a>"};if(f)u=this.escapeHtml(v),u=this.escapeWhitespace(u);else if(r[0]!==""&&(u=this._strongNotEscaped(r[0],!0)),d!==null&&d.length!==0)for(o=0;o<d.length;o=o+1)d[o].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,c),r[o+1]!==""&&(r[o+1]=this._strongNotEscaped(r[o+1],!0)),u+=n+r[o+1];return u},treatHtmlLikeCommandWindow:function(v,f,u){if(typeof v!="string")return"";var r="",d=v.split(this.HYPERLINK_ESCAPE_REGEXP),n=v.match(this.HYPERLINK_ESCAPE_REGEXP),i="",o=this,c=0;u=u||{};var e=function(s,l,p,E){var m=o.parseUrl(l).protocol,y="";m!=="http:"&&m!=="https:"&&m!=="matlab:"&&(l="#"),l=o.escapeHtml(l),E=o._strongNotEscaped(E,!1),o.BOLD_LINK_ATTRIBUTE_REGEX.test(p)&&(y=' style="font-weight:bold"'),i='<a href="'+l+'"'+y+">"+E+"</a>"};if(f)r=this.escapeHtml(v);else if(d[0]!==""&&(r=this._strongNotEscaped(d[0],!1)),n!==null&&n.length!==0)for(c=0;c<n.length;c=c+1)n[c].replace(this.HYPERLINK_WITH_PARENTHESIS_ESCAPE_REGEXP,e),d[c+1]!==""&&(d[c+1]=this._strongNotEscaped(d[c+1],!1)),r+=i+d[c+1];return u.addPreTagToPreserveWhiteSpace&&(r='<span style="white-space: pre">'+r+"</span>"),r},_strongNotEscaped:function(v,f){var u="",r=v.match(this.STRONG_ESCAPE_REGEXP),d=v.split(this.STRONG_ESCAPE_REGEXP),n=function(c){return c};f&&(n=this.escapeWhitespace);var i=0;if(r!==null&&r.length!==0)for(u=n(this.escapeHtml(d[0])),i=0;i<r.length;i=i+1)u+=r[i]+n(this.escapeHtml(d[i+1]));else u=n(this.escapeHtml(v));return u},escapeWhitespace:function(v){return g.deprecated({deprecated:{module:"mw-html-utils/HtmlUtils",method:"escapeWhitespace"},replacement:{module:"Plain HTML",method:'Set class as white-space: pre or use <span style="white-space: pre">...</span>'}}),v=v||"",v.replace(/\n/g,"<br>").replace(/ {2}/g,"&nbsp;&nbsp;")},handleAnchors:function(v,f){if(f&&f.target&&f.target.href){f.preventDefault(),f.stopPropagation();var u=f.target.href;if(u.indexOf("matlab:")!==-1){var r=u.substring(0,7);if(r==="matlab:"){var d=f.target.href.substring(7);v(window.decodeURIComponent(d))}}else window.open(f.target.href)}},isElementOverflown:function(v){return v.scrollHeight>v.clientHeight||v.scrollWidth>v.clientWidth},sanitizeHtmlFromJava:C.sanitizeHtmlFromJava,sanitizeHtml:C.sanitizeHtml}},A,x),A.exports=w},60482:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h={A:["target","href","title"],ABBR:["title"],ADDRESS:[],AREA:["shape","coords","href","alt"],ARTICLE:[],ASIDE:[],AUDIO:["autoplay","controls","loop","preload","src"],B:[],BDI:["dir"],BDO:["dir"],BIG:[],BLOCKQUOTE:["cite"],BR:[],CAPTION:[],CENTER:[],CITE:[],CODE:[],COL:["align","valign","span","width"],COLGROUP:["align","valign","span","width"],DD:[],DEL:["datetime"],DETAILS:["open"],DIV:[],DL:[],DT:[],EM:[],FONT:["color","size","face"],FOOTER:[],H1:[],H2:[],H3:[],H4:[],H5:[],H6:[],HEADER:[],HR:[],I:[],IMG:["src","alt","title","width","height"],INS:["datetime"],LI:[],MARK:[],NAV:[],OL:[],P:[],PRE:[],S:[],SECTION:[],SMALL:[],SPAN:[],SUB:[],SUP:[],STRONG:[],TABLE:["width","border","align","valign"],TBODY:["align","valign"],TD:["width","rowspan","colspan","align","valign"],TFOOT:["align","valign"],TH:["width","rowspan","colspan","align","valign"],THEAD:["align","valign"],TR:["rowspan","align","valign"],TT:[],U:[],UL:[],VIDEO:["autoplay","controls","loop","preload","src","height","width"]},C=Object.assign(h),g={href:{"http:":!0,"https:":!0,"mailto:":!0,"matlab:":!0,relative:{"#":!0,"/":!0}},src:{"http:":!0,"https:":!0,"mailto:":!0,relative:{"#":!0,"/":!0}}},_=Object.assign(g),v=["backgroundColor","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","color","fontFamily","fontSize","fontStyle","fontWeight","height","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textAnchor","textDecoration","textIndent","textOverflow","textShadow","textTransform","width"],f=[].concat(v);f.push("whiteSpace");var u=function(n,i,o){var c=void 0,e=i.getAttribute("style");if(c=o?v:f,n.style&&e!==null&&e!=="")for(var t=0;t<c.length;t+=1){var s=c[t],l=i.style[s];n.style[s]!==void 0&&(n.style[s]=l)}},r=function(n,i,o,c){return function(e){var t=function(I,S){var R=String.prototype.trim.call(S),N=R.indexOf(":");if(N<0&&I.relative[R.charAt(0)])return R;var O=R.substring(0,N);return I[O+":"]?R:"#"},s=function(I,S){for(var R=[],N=0;N<I.length;N+=1){var O=I[N];if(S.hasAttribute(O)){var L=S.getAttribute(O),U="";i[O]?U=t(i[O],L):U=L,R.push({key:O,value:U})}}return R},l=function(I){var S=void 0;if(I.nodeType===window.Node.ELEMENT_NODE){var R=n[I.tagName];if(R){S=document.createElement(I.tagName);var N=n[I.tagName],O=s(N,I);O.forEach(function(L){S.setAttribute(L.key,L.value)}),o&&u(S,I,c)}else S=document.createDocumentFragment()}else I.nodeType===window.Node.TEXT_NODE?S=document.createTextNode(I.textContent):S=document.createDocumentFragment();return S},p=function b(I){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R=document.createDocumentFragment();if(S>150||!I)return R;for(var N=I.firstChild;N;N=N.nextSibling){var O=l(N);N.nodeType===window.Node.ELEMENT_NODE&&O.appendChild(b(N,S+1)),R.appendChild(O)}return R},E=new DOMParser,m=E.parseFromString(e,"text/html"),y=void 0;return m.body?y=p(m.body):y=document.createDocumentFragment(),y}};return{sanitizeHtmlFromJava:r(h,g,!0,"java"),sanitizeHtml:r(C,_,!0)}},A,x),A.exports=w},97203:(A,x,a)=>{"use strict";var T,w,h,C;function g(_,v){return v||(v=_.slice(0)),Object.freeze(Object.defineProperties(_,{raw:{value:Object.freeze(v)}}))}T=[a(10710),a(48292),a(59977),a(66396),a(76654),a(74023)],w=a.dj.d(T,function(_,v,f,u,r,d){"use strict";class n extends _{static get properties(){return{iconId:{reflect:!0,attribute:"icon-id",type:String},iconWidth:{reflect:!0,attribute:"icon-width",type:Number},iconHeight:{reflect:!0,attribute:"icon-height",type:Number},dataTestId:{reflect:!0,attribute:"data-test-id",type:String},tag:{reflect:!0,attribute:"data-tag",type:String},_iconContainer:{state:!0},iconConfig:{reflect:!0,attribute:"icon-config",type:Object},svgPath:{reflect:!0,attribute:"svg-path",type:String}}}static get styles(){return u(h||(h=g([`
:host {
display: inline-flex;
}
`])))}constructor(){super(),this._experimentalUseShadowDom=!0,this._initializeDefaultValues()}_initializeDefaultValues(){this.iconId="",this.iconWidth=16,this.iconHeight=16,this._iconContainer=document.createElement("div"),this.iconConfig={},this.svgPath=""}_handleSVGRequest(){if(this._iconFetchPromise=new Promise(t=>{this._iconFetchResolve=t}),this.iconId===""&&!this.svgPath){this._iconContainer=document.createElement("div"),this._iconFetchResolve(this._iconContainer);return}let o;const c={id:this.iconId,width:this.iconWidth,height:this.iconHeight},e=Object.keys(this.iconConfig).length;!e&&!this.iconId&&this.svgPath?o=this._getSVGFromPath(this.svgPath,this.iconHeight,this.iconWidth):e?(this.iconConfig.registryLocation&&this.iconConfig.iconsLocation&&(this.iconConfig.config={registryLocation:this.iconConfig.registryLocation,iconsLocation:this.iconConfig.iconsLocation},this.iconConfig.iconFactoryConfig=d.OTHER),o=r.getInstance(this.iconConfig).getIcon(c)):o=r.getInstance().getIcon(c),o.then(t=>{this._iconContainer=t,this._iconFetchResolve(t)}).catch(t=>{this._iconContainer=document.createElement("div"),this._iconFetchResolve(this._iconContainer),!Object.keys(this.iconConfig).length&&this.svgPath&&!this.iconId?this.emit("error",{svgPath:this.svgPath},{bubbles:!1}):this.emit("error",{iconId:this.iconId,iconWidth:this.iconWidth,iconHeight:this.iconHeight},{bubbles:!1})})}_getSVGFromPath(o,c,e){return new Promise((t,s)=>{fetch(o).then(l=>{if(!l.ok)s(new Error("Invalid SVG Path ".concat(o," failed to fetch requested icon")));else return l.text()}).then(l=>{if(l){const m=new DOMParser().parseFromString(l,"image/svg+xml").documentElement;m.setAttribute("width",e),m.setAttribute("height",c),t(m)}else s(new Error("empty svg"))})})}willUpdate(o){if(o){const c=["iconId","iconWidth","iconHeight","iconConfig","svgPath"],e=[...o.keys()];c.filter(s=>e.includes(s)).length>0&&this._handleSVGRequest()}else this._iconFetchPromise=new Promise(c=>{c()})}getUpdateComplete(){let o;const c=new Promise(e=>{o=e});return super.getUpdateComplete().then(e=>{this._iconFetchPromise.then(()=>{o(e)})}),c}render(){return f(C||(C=g([`
`,`
`])),this._iconContainer)}}return v({name:"mw-icon",widgetClass:n})},A,x),A.exports=w},7282:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){const h="http://www.w3.org/2000/svg",C="#00000000";class g{static buildSvg(v){let{url:f,iconId:u,width:r,height:d}=v;const n=document.createElementNS(h,"svg");return n.setAttribute("fill",C),n.setAttribute("height",d),n.setAttribute("width",r),this.injectSVG({url:f,node:n,iconId:u,height:d,width:r}),n.setAttribute("data-test-id",u),n}static injectSVG(v){let{url:f,node:u,iconId:r,height:d,width:n}=v;const i="".concat(r,"_").concat(n,"x").concat(d);g._svgTextCache[i]!==void 0?u.innerHTML=g._svgTextCache[i]:g._pendingContainerNodes[i]!==void 0?g._pendingContainerNodes[i].push(u):(g._pendingContainerNodes[i]=[u],fetch(f,{mode:"cors",credentials:"include"}).then(function(o){o.text().then(function(c){g._svgTextCache[i]=c,g._pendingContainerNodes[i].forEach(function(t){t.innerHTML=g._svgTextCache[i]}),delete g._pendingContainerNodes[i];const e=new CustomEvent("iconfetchsuccess",{detail:{id:r}});u.dispatchEvent(e)})}))}}return g._svgTextCache={},g._pendingContainerNodes={},g},A,x),A.exports=w},94934:(A,x,a)=>{"use strict";var T,w;T=[a(7282),a(90290)],w=a.dj.d(T,function(h,C){class g{constructor(v){this._iconData={},this._iconsLocation=v.iconsLocation,this._iconsLocation[this._iconsLocation.length-1]!=="/"&&(this._iconsLocation+="/"),this._resolvePath=v.resolvePath,this._resolvePath||(this._resolvePath=function(f){return f}),this._setupCompleted=this._loadConfigData(v.registryLocation)}getIcon(v){const f=v.id;return new Promise(function(u,r){this._ready().then(function(){v.width===void 0&&(v.width=v.height||24),v.height===void 0&&(v.height=v.width||24),this._validateProps(v)?u(this._getSvg(f,v.width,v.height)):r(new Error("Failed to fetch icon with requested size. { id: ".concat(f,", width: ").concat(v.width,", height: ").concat(v.height," }")))}.bind(this))}.bind(this))}_validateProps(v){return typeof v.id=="string"&&typeof v.height=="number"&&typeof v.width=="number"&&this._iconData.hasOwnProperty(v.id)&&this._iconData[v.id].indexOf("".concat(v.width,"x").concat(v.height))>=0}isValidIcon(v){return new Promise(function(f,u){this._ready().then(function(){f(this._iconData.hasOwnProperty(v))}.bind(this))}.bind(this))}validateIconProperties(v){return new Promise(function(f,u){this._ready().then(function(){v.width===void 0&&(v.width=v.height||24),v.height===void 0&&(v.height=v.width||24),f(this._validateProps(v))}.bind(this))}.bind(this))}_ready(){return this._setupCompleted}_loadConfigData(v){return new Promise(function(f,u){fetch(this._resolvePath(v),{mode:"cors",credentials:"include"}).then(function(r){r.status===200?r.json().then(function(d){this._iconData=d,f()}.bind(this)):(C.warn("Could not load Icons Registry."),f())}.bind(this),function(r){u(r)})}.bind(this))}_getSvg(v,f,u){return h.buildSvg({url:this._resolvePath("".concat(this._iconsLocation).concat(f,"x").concat(u,"/").concat(v,".svg")),iconId:v,width:f,height:u})}}return g},A,x),A.exports=w},76654:(A,x,a)=>{"use strict";var T,w;T=[a(94934),a(74023),a(90283),a(90290)],w=a.dj.d(T,function(h,C,g,_){class v{static getInstance(u){let r,d,n;if(u){switch(n=u.iconFactoryConfig,n){case C.MATLAB:r=g.MATLAB;break;case C.MAVEN:r=g.MAVEN;break;case C.OTHER:r=u.config;break;default:r=g.MATLAB}r.id=u.id||v._DEFAULT_ID,d=v.createInstance(r)}else v._instances[v._DEFAULT_ID]?d=v._instances[v._DEFAULT_ID]:(r=g.MATLAB,r.id=v._DEFAULT_ID,d=v.createInstance(r));return d}static createInstance(u){const r=u.id?u.id:v._DEFAULT_ID;return v._instances[r]=new h(u),v._instances[r]}static destroyInstance(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v._DEFAULT_ID;v._instances.hasOwnProperty(u)&&delete v._instances[u]}static _logOnce(u,r){v._logOnceCache.hasOwnProperty(u)||(_.log(r),v._logOnceCache[u]=!0)}}return v._logOnceCache={},v._instances={},v._DEFAULT_ID="mw-icons/default",v},A,x),A.exports=w},74023:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return Object.freeze({MATLAB:"matlab",MAVEN:"maven",OTHER:"other"})},A,x),A.exports=w},90283:(A,x,a)=>{"use strict";var T,w;T=[a(13664)],w=a.dj.d(T,function(h){return{MATLAB:{iconsLocation:"ui/icons/",registryLocation:"ui/icons/registry.json",resolvePath:h.createWorkerRoutingHostUrl},MAVEN:{iconsLocation:"/target/dependencies/mw-icons-store/",registryLocation:"/target/dependencies/mw-icons-store/registry.json"}}},A,x),A.exports=w},90290:(A,x,a)=>{var T,w;T=[a(32247),a(17796),a(90727),a(86240),a(69062)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u="DEFAULT",d=_.create(100),n={debug:4,log:3,dir:3,table:3,trace:3,time:3,timeEnd:3,group:3,groupCollapsed:3,groupEnd:3,info:2,warn:1,assert:0,error:0},i={};let o=0,c=C.DEBUG,e=h.DEVELOPMENT;const t=[],s={};let l=null;class p{constructor(m){if(s[m]!=null)return;v.makeReadOnlyProperty(this,"name",m),s[this.name]=this,this._timers={},this._threshold=C.DEBUG,this._showTimestamp=!0,v.makeReadOnlyProperty(this,"modes",h),v.makeReadOnlyProperty(this,"levels",C);const y=this;typeof window=="object"&&(window.$mwLog={get filter(){return y.filter},set filter(b){y.filter=b},get mode(){return y.mode},set mode(b){y.mode=b}})}static _sanitizeLevel(m){return typeof m=="number"?m:C.DEBUG}static _sanitizeMode(m){return v.objectValues(h).indexOf(m)>-1?m:h.DEVELOPMENT}get threshold(){return this._threshold}set threshold(m){this._threshold=p._sanitizeLevel(m)}get showTimestamp(){return this._showTimestamp}set showTimestamp(m){this._showTimestamp=!!m}get globalThreshold(){return c}set globalThreshold(m){c=p._sanitizeLevel(m)}get mode(){return e}set mode(m){m&&(e=p._sanitizeMode(m))}get filter(){return l}set filter(m){(typeof m=="function"||m===null)&&(l=m)}_shouldLog(m,y){if(l&&e===h.DEVELOPMENT){const b={name:this.name,type:y};return!!l(b)}return c>m&&this._threshold>m}_nameAndTime(){const m=[];return this.name!==u&&m.push(this.name),this._showTimestamp&&m.push(v.currentTimeString()),m}table(m){if(this._shouldLog(n.table,g.TABLE)){const y={namespace:this.name,type:g.TABLE,message:[m],time:new Date};d.add(y),v.printToConsole(g.LOG,this._nameAndTime(),e),v.printToConsole(g.TABLE,[m],e),v.execCallbacks(i,y)}}trace(){if(this._shouldLog(n.trace,g.TRACE)){const m={namespace:this.name,type:g.TRACE,message:null,time:new Date};let b=new Error().stack.split(`
`);for(b[0]==="Error"&&b.shift();b[0].includes("Log.js")||b[0].includes("logger.trace")||b[0].includes("trace");)b.shift();b=b.join(`
`),m.message=[b],d.add(m),v.printToConsole(g.LOG,this._nameAndTime(),e),v.printToConsole(g.TRACE,[],e),v.execCallbacks(i,m)}}time(m){this._shouldLog(n.time)&&(this._timers[m]==null?this._timers[m]=new Date().getTime():this.warn('timer "'+m+'" already exists.'))}timeEnd(m){if(this._shouldLog(n.timeEnd,g.TIME_END)){const y={namespace:this.name,type:g.TIME_END,message:null,time:new Date};if(this._timers[m]!=null){const b=new Date().getTime()-this._timers[m];y.message=[m+": "+b+"ms - timer ended"],d.add(y),v.printToConsole(g.LOG,this._nameAndTime().concat(y.message),e),v.execCallbacks(i,y),this._timers[m]=null}else this.warn('timer "'+m+`" doesn't exist.`)}}_group(m,y){if(this._shouldLog(n.group,y?g.GROUP_COLLAPSED:g.GROUP)){const b=y?g.GROUP_COLLAPSED:g.GROUP,I={namespace:this.name,type:b,message:[m],time:new Date};t.push(m),d.add(I),v.printToConsole(b,[m],e),v.execCallbacks(i,I)}}groupCollapsed(m){this._group(m,!0)}group(m){this._group(m,!1)}groupEnd(){if(this._shouldLog(n.groupEnd,g.GROUP_END)){const m=t.pop(),y={namespace:this.name,type:g.GROUP_END,message:[m],time:new Date};d.add(y),v.printToConsole(g.GROUP_END,[],e),v.execCallbacks(i,y)}}assert(m,y){if(this._shouldLog(n.assert,g.ASSERT)&&!m){const b={namespace:this.name,type:g.ASSERT,message:["Assertion failed:",y],time:new Date};d.add(b),b.message.shift();const I=[!1].concat(this._nameAndTime().concat(b.message));v.printToConsole(g.ASSERT,I,e),v.execCallbacks(i,b)}}_basicLogMethod(m,y,b){if(this._shouldLog(y,m)){const I={namespace:this.name,type:m,message:b,time:new Date};b=this._nameAndTime().concat(b),d.add(I),v.printToConsole(m,b,e),v.execCallbacks(i,I)}}debug(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.DEBUG,n.debug,y)}log(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.LOG,n.log,y)}dir(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.DIR,n.dir,y)}info(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.INFO,n.info,y)}warn(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.WARN,n.warn,y)}error(m){const y=Array.prototype.slice.call(arguments);this._basicLogMethod(g.ERROR,n.error,y)}addCallback(m,y){i[o]=m,y&&d.applyCallback(m);const b={},I=o;return b.remove=()=>{delete i[I]},o++,b}createLogger(m){const y=new p(m);return y.name?y:s[m]}}return f.default=new p(u),f.default},A,x),A.exports=w},86240:(A,x,a)=>{var T,w;T=[a(69062)],w=a.dj.d(T,function(h){"use strict";var C={};function g(v){const f={},u=[];h.makeReadOnlyProperty(f,"size",v);let r=0;return f.add=function(d){u[r]=d,r=(r+1)%f.size},f.applyCallback=function(d){let n=r+1;u[n]===void 0&&(n=0);let i=0,o=n;for(;i<f.size&&u[o]!==void 0;)d(u[o]),o=(o+1)%v,i++},f}const _={};return _.create=g,C.default=_,C.default},A,x),A.exports=w},17796:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={DEBUG:5,LOG:4,TABLE:4,TIME:4,DIR:4,INFO:3,WARN:2,ASSERT:1,ERROR:1};return Object.freeze(C),h.default=C,h.default},A,x),A.exports=w},32247:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={DEVELOPMENT:"DEVELOPMENT",PRODUCTION:"PRODUCTION"};return Object.freeze(C),h.default=C,h.default},A,x),A.exports=w},90727:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={DEBUG:"debug",LOG:"log",TABLE:"table",TRACE:"trace",TIME_END:"timeEnd",GROUP:"group",GROUP_COLLAPSED:"groupCollapsed",GROUP_END:"groupEnd",DIR:"dir",INFO:"info",WARN:"warn",ASSERT:"assert",ERROR:"error"};return Object.freeze(C),h.default=C,h.default},A,x),A.exports=w},69062:(A,x,a)=>{var T,w;T=[a(32247)],w=a.dj.d(T,function(h){"use strict";var C={};const g={};return g.objectValues=function(_){const v=[];for(const f in _)Object.prototype.hasOwnProperty.call(_,f)&&v.push(_[f]);return v},g.makeReadOnlyProperty=function(_,v,f){Object.defineProperty(_,v,{value:f,writable:!1})},g.execCallbacks=function(_,v){const f=g.objectValues(_);for(const u in f)f[u](v)},g.currentTimeString=function(){const _=new Date;return _.toLocaleTimeString("en-US",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric"})+"."+_.getTime()%1e3},g.printToConsole=function(_,v,f){(f!==h.PRODUCTION||_==="error")&&console[_].apply(console,v)},C.default=g,C.default},A,x),A.exports=w},74460:(A,x,a)=>{var T,w;T=[a(2305),a(91779),a(50570),a(27393),a(13664)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};function u(o,c){const e=c._startFunction||c.start,t=c.stop,s=o._startFunction||o.start,l=o.stop,p=function(){s.call(o,[]),e.call(c,[])},E=function(){t.call(c,[]),l.call(o,[])};c._startFunction?c._startFunction=p:c.start=p,o._startFunction?o._startFunction=p:o.start=p,c.stop=E,o.stop=E}const r=h(new C(v,null,null,null,{instanceType:g.MATLAB_SERVICE_HOST.name})),d=new C(v,null,null,null,{instanceType:g.APP_SERVICE_HOST.name});let n;v.enableServerOnWorkerAsync=function(){},v.disableServerOnWorkerAsync=function(){};const i={};return i[g.APP_SERVICE_HOST.name]=()=>(n||(n=h(d),r.isStarted()&&n.start(),u(r,n)),n),i[g.MATLAB_SERVICE_HOST.name]=()=>r,r.create=function(o){return _(i,o)},f.default=r,f.default},A,x),A.exports=w},91779:(A,x,a)=>{var T,w;T=[a(41745),a(93577),a(33553),a(85967),a(54993),a(9180),a(50570),a(90290),a(94324)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};const i=_.setTimeout,o=_.clearTimeout,c=2e4,e=30,t=!1;let s=0,l=0;const p={},E=200;setInterval(function(){s+=E,Object.keys(p).forEach(function(I){const S=p[I];S&&S.execTime<=s&&(S.func(),delete p[I])})},E),_.setTimeout=function(I,S){if(S===0)return i(I,S);{l+=1;const R=`t-${l}`;return p[R]={func:function(){try{I()}catch(N){r.warn(`Exception invoking timed function in callback
, this is likely an issue with code calling MessageService`,I,N)}},execTime:s+S},R}},_.clearTimeout=function(I){typeof I=="number"?o(I):delete p[I]};const m=function(I,S,R,N,O){const L=new _.CometD(I);return L.registerExtension("ack",new v),L},y=function(I,S){I.successful?S.resolve(I):(r.warn("Message failed: ",I),S.reject(I))},b=h([],{BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async",logCometdLifecycle:!1,logCometdSubscriptions:!1,constructor:function(I,S,R,N,O){O=O||{},this.remote=I,this.constructCometD=S||m,this.workerProxyAsyncClient=R||new d("remoteWorkerAsyncProducer");const L=u[O.instanceType];L&&(this.BASE_PREFIX=L.BASE_PREFIX,this.BASE_END_POINT=L.BASE_END_POINT),this.cometdProperties=N||{useWorkerScheduler:!1,stickyReconnect:!0,connectTimeout:5e3,maxConnections:2,backoffIncrement:2e3,maxBackoff:2e3,logLevel:"warn",maxNetworkDelay:c,requestHeaders:{},appendMessageTypeToURL:!1,autoBatch:!0,urls:{},maxURILength:2e3,maxSendBayeuxMessageSize:Number.MAX_SAFE_INTEGER};const U=["maxNetworkDelay","connectTimeout","logLevel"],z=C.cometdProperties;if(z)for(let V=0;V<U.length;V+=1){const K=U[V];z[K]!==void 0&&(this.cometdProperties[K]=z[K])}this.subscriptions={},this.recentMessages=[],this._deferredCleanupFunction=()=>{this._deferredCleanup=!1,this.recentMessages=[]},this.routingHost=b.workerHostOverride||this.remote.getWorkerRoutingHost(),this.routingKey=this.remote.getWorkerRoutingKey(),this.computeToken=this.remote.getComputeSessionId();const $=this.remote.getEndPointByName("WORKER_ASYNC_ENDPOINT");this.withCredentials=$?$.withCredentials:!1;const W=this._setUpEndPoint();this.computeToken&&(W.computeToken=this.computeToken),this.cometdProperties.url=W.url,this.cometdProperties.requestHeaders={computeToken:W.computeToken},this.cometd=null,this._connectedAtLeastOnce=!1,this.logCometdLifecycle&&r.info("MessageServiceAsync will construct new cometd instance when connecting.")},onMessage:function(I){},onConnectionError:function(){},onConnectionFails:function(){},onConnectionSuccess:function(){},connect:function(I){this.routingHost=b.workerHostOverride||this.remote.getWorkerRoutingHost(),this.routingKey=this.remote.getWorkerRoutingKey(),this.computeToken=this.remote.getComputeSessionId();const S=this.remote.getEndPointByName("WORKER_ASYNC_ENDPOINT");this.withCredentials=S?S.withCredentials:!1;const R=this._setUpEndPoint();this.computeToken&&(R.computeToken=this.computeToken),this.cometdProperties.url=R.url,this.cometdProperties.requestHeaders={computeToken:R.computeToken},this.cometd||(this.cometd=this.constructCometD("messageService",this.workerProxyAsyncClient,{websocket:b.enableWebsocket},R,this.remote),this.registerTransports({websocket:b.enableWebsocket}),this.logCometdLifecycle&&r.info("MessageServiceAsync constructing new cometd instance."));const N=new g;let O=0;return this.cleanupListeners(),this._handshakeHandle=this.cometd.addListener("/meta/handshake",L=>{if(L.successful===!0){O=0;let U,z;const $=[];this.doStartBatch();for(U in I)Object.prototype.hasOwnProperty.call(I,U)&&(z=I[U],$.push(this.doSubscribe(U)),z.subscribed=!0);this.doEndBatch(),Promise.all($).then(W=>{this._connectedAtLeastOnce=!0,N.isFulfilled()?this.cometd&&this.onConnectionSuccess():N.resolve(W)},()=>{let W,V;const K=[];this.doStartBatch();for(W in I)Object.prototype.hasOwnProperty.call(I,W)&&(V=I[W],K.push(this.doSubscribe(W)),V.subscribed=!0);this.doEndBatch(),Promise.all(K).then(M=>{this._connectedAtLeastOnce=!0,N.isFulfilled()?this.cometd&&this.onConnectionSuccess():N.resolve(M)},M=>{N.reject(M)})})}}),this._connectHandle=this.cometd.addListener("/meta/connect",L=>{L.successful===!0&&(O>0&&this.cometd&&this.onConnectionSuccess(),O=0)}),this._unsuccessHandle=this.cometd.addListener("/meta/unsuccessful",L=>{if((L.channel==="/meta/handshake"||L.channel==="/meta/connect"||L.advice&&L.advice.reconnect==="handshake")&&O<e)O+=1,O===1&&this.onConnectionError();else if(L.channel==="/meta/disconnect")N&&!N.isFulfilled()&&N.reject(L);else if(O>=e){const U=this.doDisconnect();this._connectedAtLeastOnce||U.catch(()=>{r.info("MessageService never got connected to the server, and the attempt to disconnect also fails. Suppressing console error with this info log")}),N&&!N.isFulfilled()?N.reject(L):this.onConnectionFails()}}),this.cometd.init(this.cometdProperties),N.promise},registerTransports:function(I){const S=new _.LongPollingTransport;S.accept=()=>!0;const R=new _.WebSocketTransport;this.cometd.unregisterTransports(),I[f.WEBSOCKET]&&this.cometd.registerTransport(f.WEBSOCKET,R,0),this.cometd.registerTransport(f.LONG_POLLING,S,1)},disconnect:function(){this.logCometdLifecycle&&r.info("MessageServiceAsync disconnecting cometd due to disconnect call.",this.cometd.getClientId());const I=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(),I},destructCometd:function(){this.cometd&&(this.cleanupListeners(),this.cometd=null,this.logCometdLifecycle&&r.info("MessageServiceAsync destroying cometd instance."))},cleanup:function(){this.cometd&&(this.logCometdLifecycle&&r.info("MessageServiceAsync disconnecting cometd due to cleanup call.",this.cometd,this.cometd&&this.cometd.getClientId()),this.cometd.disconnect())},cleanupListeners:function(){this._handshakeHandle&&this.cometd.removeListener(this._handshakeHandle),this._connectHandle&&this.cometd.removeListener(this._connectHandle),this._unsuccessHandle&&this.cometd.removeListener(this._unsuccessHandle)},delegateConnected:function(){return this.cometd?!this.cometd.isDisconnected()&&this.cometd.getStatus()!=="handshaking":!1},doPublish:function(I,S){const R=new g;return this.cometd.publish(this._getRequestChannel(I),S,{},function(N){y(N,R)}),R.promise},doSubscribe:function(I){this.logCometdSubscriptions&&r.info("MessageServiceAsync subscribing cometd to channel: "+I);const S=this._createOneShotMessagePromise("/meta/subscribe");return this.subscriptions[I]=this.cometd.subscribe(this._getRequestChannel(I),this,this._handleCometResponse),S},doDisconnect:function(){this.logCometdSubscriptions&&r.info("MessageServiceAsync sending disconnect to cometd");const I=this._createOneShotMessagePromise("/meta/disconnect");return this.cometd.disconnect(!0),I},doUnsubscribe:function(I){if(this.subscriptions[I]){this.logCometdSubscriptions&&r.info("MessageServiceAsync unsubscribing cometd from channel: "+I);const S=this._createOneShotMessagePromise("/meta/unsubscribe");return this.cometd.unsubscribe(this.subscriptions[I]),delete this.subscriptions[I],S}else return new g().resolve({successful:!0})},doStartBatch:function(){this.cometd.startBatch()},doEndBatch:function(){this.cometd.endBatch()},doSetLatency:function(I){this.workerProxyAsyncClient.setLatency(I)},doSetErrorRate:function(I){this.workerProxyAsyncClient.setErrorRate(I)},getTransport:function(){return this.cometd&&!this.cometd.isDisconnected()?this.cometd.getTransport().getType():f.UNKNOWN},_handleCometResponse:function(I){this._shouldHandleMessage(I)&&this.onMessage(this._stripBasePrefixAndConvertToJson(I))},_shouldHandleMessage:function(I){return I.id?!1:this.recentMessages.indexOf(I)<0?(this.recentMessages.push(I),this._deferRecentMessagesCleanup(),!0):!1},_deferRecentMessagesCleanup:function(){this._deferredCleanup||(this._deferredCleanup=setTimeout(this._deferredCleanupFunction,0))},_createOneShotMessagePromise:function(I){const S=new g;return this._addOneShotListener(I,function(R){y(R,S)}),S.promise},_addOneShotListener:function(I,S){const R=this,N=this.cometd,O=this.cometd.addListener(I,function(L){N.removeListener(O),S.apply(R,arguments)})},_setUpEndPoint:function(){let I,S=!1;const R="MESSAGE_SERVICE_ASYNC_ENDPOINT",N=!0,O=!0;let L;return t&&typeof this.remote.sendPayload=="function"?(S=!0,this.remote.createNewEndPoint(R,N,this.BASE_END_POINT,"remoteWorkerAsyncProducer",O),this.remote.setServiceEndPoint(R,this.routingHost,this.routingKey),I=this.remote.getUrlForEndPoint(R),L=this.remote.getEndPointAllowsDirectXhr(R)):(I=this.routingHost||"/",I.slice(-1)!=="/"&&(I+="/"),I+=this.BASE_END_POINT,this.routingKey&&(I+="?routingkey="+this.routingKey)),{remoteSupportsSendPayload:S,url:I,endPointName:R,endPointAllowsDirectXhr:L}},_getRequestChannel:function(I){return this.BASE_PREFIX+I},_stripBasePrefixAndConvertToJson:function(I){return{channel:I.channel.substring(this.BASE_PREFIX.length),data:I.data}}});return b.enableWebsocket=!1,b.workerHostOverride=!1,window.location.search.indexOf("websocket=on")>=0&&(b.enableWebsocket=!0),n.default=b,n.default},A,x),A.exports=w},36230:(A,x,a)=>{var T,w;T=[a(41745),a(40923),a(33070),a(33553),a(90290),a(23246),a(34264),a(9180)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};return d.default=h([f],{logSubscriptions:!1,constructor:function(){this.batching=!0,this.typeSerializers=[],this.typeDeserializers={},this.channelSubscriptions={},this._queuedOps=[],this._hasConnected=!1},setDelegate:function n(i){this.inherited("setDelegate",n,arguments),g.after(this._delegate,"onMessage",C.hitch(this,this.handleMessage),!0)},publish:function(n,i){if(!u(n))throw new Error(`Illegal argument: invalid channel name ${n}`);if(this.isConnected()){const o=this._queuePublish(n,this.serialize(i));return this._deferProcessQueue(),o}else return this._queuePublish(n,this.serialize(i))},subscribe:function(n,i,o){if(!u(n))throw new Error(`Illegal argument: invalid channel name ${n}`);this.logSubscriptions&&v.info("MessageService subscribe: "+n,i,o);const c=this._queueSubscribe(n,i,o);return this._addHandler(this.channelSubscriptions,n,i,o),c.catch(()=>{c.isCanceled()||this._removeHandler(this.channelSubscriptions,n,i,o)}),this.isConnected()&&this._deferProcessQueue(),c},unsubscribe:function(n,i,o){if(!u(n))throw new Error(`Illegal argument: invalid channel name ${n}`);if(this.logSubscriptions&&v.info("MessageService unsubscribe: "+n,i,o),this._removeHandler(this.channelSubscriptions,n,i,o)){if(this._removeQueuedMatchingSubscribe(n,i,o))return new _().resolve();if(this.isConnected()){const e=this._queueUnsubscribe(n,i,o);return this._deferProcessQueue(),e}else return new _().resolve()}else return v.error("Not subscribed to channel: "+n+", can't unsubscribe."),new _().reject("Not subscribed to channel: "+n+", can't unsubscribe.")},flush:function(){if(this.isConnected())this._processQueue();else throw new Error("Can only manually flush the queue when connected.")},setLatency:function(n){this._delegate&&this._delegate.doSetLatency&&this._delegate.doSetLatency(n)},setErrorRate:function(n){this._delegate&&this._delegate.doSetErrorRate&&this._delegate.doSetErrorRate(n)},getTransport:function(){return this._delegate&&this._delegate.getTransport?this._delegate.getTransport():r.UNKNOWN},_enterDisconnected:function n(){this.inherited("_enterDisconnected",n,arguments),this._rejectQueue()},_enterConnecting:function n(){this.inherited("_enterConnecting",n,arguments),Object.keys(this.channelSubscriptions).forEach(i=>{this.channelSubscriptions[i].subscribed=!1})},_enterConnected:function n(){this._hasConnected=!0,this.inherited("_enterConnected",n,arguments),this._processQueue()},_enterDisconnecting:function n(){this._processQueue(),this.inherited("_enterDisconnecting",n,arguments)},_enterFatallyDisconnected:function n(){this.inherited("_enterFatallyDisconnected",n,arguments),this._rejectQueue()},_queuePublish:function(n,i){const o=new _;return this._queuedOps.push({type:"publish",channel:n,data:i,deferred:o}),o.promise},_queueSubscribe:function(n,i,o){const c=new _;return this._queuedOps.push({type:"subscribe",channel:n,handler:i,scope:o,deferred:c}),c.promise},_removeQueuedMatchingSubscribe:function(n,i,o){let c;for(let e=this._queuedOps.length-1;e>=0;e-=1)if(c=this._queuedOps[e],c.type==="subscribe"&&c.channel===n&&c.handler===i&&c.scope===o){this._queuedOps.splice(e,1);const t=this._delegate&&this._delegate.delegateConnected();return this.isConnected()&&t&&c.deferred.resolve(),!0}},_queueUnsubscribe:function(n,i,o){const c=new _;return this._queuedOps.push({type:"unsubscribe",channel:n,handler:i,scope:o,deferred:c}),c.promise},_processQueue:function(){const n=this._delegate&&this._delegate.delegateConnected();if(!(this.isConnected()&&n)&&this._currentState!=="disconnecting")return;this._delegate.doStartBatch();const o=this._queuedOps;this._queuedOps=[],o.forEach(function(c){let e;c.type==="publish"?e=this._delegate.doPublish(c.channel,c.data):c.type==="subscribe"?e=this._doSubscribe(c.channel,c.handler,c.scope):c.type==="unsubscribe"&&(e=this._doUnsubscribe(c.channel,c.handler,c.scope)),e.then(c.deferred.resolve,c.deferred.reject)},this),this._delegate.doEndBatch()},_rejectQueue:function(){if(this._hasConnected){for(let n=0;n<this._queuedOps.length;n+=1)this._queuedOps[n].deferred.reject(new Error("MessageService disconnected. Discarding queued message"));this._queuedOps=[]}this._hasConnected=!1},_deferProcessQueue:function(){if(this.batching&&!this._deferredTimeout){const n=this;this._deferredTimeout=setTimeout(function(){n._deferredTimeout=!1,n._processQueue()},0)}else this.batching||this._processQueue()},_doSubscribe:function(n){if(this.channelSubscriptions[n].subscribed)return new _().resolve();{const i=this._delegate.doSubscribe(n);return this.channelSubscriptions[n].subscribed=!0,i.catch(()=>{this.channelSubscriptions[n].subscribed=!1}),i}},_doUnsubscribe:function(n){return this.channelSubscriptions[n]?new _().resolve():this._delegate.doUnsubscribe(n)},handleMessage:function(n){let i;if(n&&n.channel){n.data&&(n.data=this.deserialize(n.data));const o=n.channel.split("/");for(i=1;i<=o.length;i+=1)this._callHandlers(this.channelSubscriptions,o.slice(0,i).concat("**").join("/"),n);this._callHandlers(this.channelSubscriptions,o.slice(0,o.length-1).concat("*").join("/"),n),this._callHandlers(this.channelSubscriptions,o.concat("*").join("/"),n),this._callHandlers(this.channelSubscriptions,n.channel,n)}},registerMessageHandler:function(n,i,o){v.error("registerMessageHandler is not supported any more.")},deregisterMessageHandler:function(n,i,o){v.error("deregisterMessageHandler is not supported any more.")},registerTypeSerializer:function(n,i,o){this.typeSerializers.push({typeMatcher:n,type:i,serializer:o})},registerTypeDeserializer:function(n,i){this.typeDeserializers[n]=i},serialize:function(n){return Array.isArray(n)?this._serializeArray(n):n==null||typeof n=="number"||typeof n=="boolean"||C.isString(n)?n:this._serializeObject(n)},deserialize:function(n){return Array.isArray(n)?this._deserializeArray(n):typeof n=="number"||typeof n=="boolean"||C.isString(n)?n:this._deserializeObject(n)},_addHandler:function(n,i,o,c){if(c=c||this,typeof o=="string"&&typeof c[o]!="function"){v.warn("Not adding invalid handler: "+o);return}let e=n[i];e||(e=[],n[i]=e);const t={channel:i,handler:o,scope:c};e.push(t),e.sort(function(s){return s.exclusive?-1:0})},_removeHandler:function(n,i,o,c){c=c||this;const e=n[i],t=this._getHandlerIndex(e,{handler:o,scope:c});return t>=0&&e.splice(t,1),(!e||e.length===0)&&delete n[i],t>=0},_callHandlers:function(n,i,o){let c,e;if(Object.prototype.hasOwnProperty.call(n,i))for(c=n[i],e=0;e<c.length;e+=1)try{typeof c[e].handler=="string"?c[e].scope[c[e].handler].call(c[e].scope,o):c[e].handler.call(c[e].scope,o)}catch(t){v.error("Error while executing message handler on channel: "+i+", message: "+JSON.stringify(o,null,2)+", error: ",t)}},_getHandlerIndex:function(n,i){if(!n)return-1;let o;for(o=0;o<n.length;o+=1)if(i.handler===n[o].handler&&i.scope===n[o].scope)return o;return-1},_serializeObject:function(n){let i;for(i=0;i<this.typeSerializers.length;i+=1){const c=this.typeSerializers[i];if(c.typeMatcher(n))return{__type__:c.type,__value__:c.serializer.call(this,n)}}if(n instanceof window.Image)return n;const o={};for(const c in n)Object.prototype.hasOwnProperty.call(n,c)&&(o[c]=this.serialize(n[c]));return o},_serializeArray:function(n){const i=Array.from(n);let o;const c=i.length;for(o=0;o<c;o+=1)i[o]=this.serialize(i[o]);return i},_deserializeObject:function(n){let i;if(n==null)return null;if(Object.prototype.hasOwnProperty.call(n,"__type__")&&Object.prototype.hasOwnProperty.call(n,"__value__"))try{return this.typeDeserializers[n.__type__].call(this,n.__value__)}catch(o){v.error("Error while trying to deserialize: ",n,"Error: ",o)}for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&n[i]!==null&&n[i]!==void 0&&(n[i]=this.deserialize(n[i]));return n},_deserializeArray:function(n){let i;const o=n.length;for(i=0;i<o;i+=1)n[i]=this.deserialize(n[i]);return n}}),d.default},A,x),A.exports=w},23246:(A,x,a)=>{var T,w;T=[a(41745),a(43661),a(40923),a(33070),a(46008),a(90290)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};return u.default=h([C],{logStateChanges:!1,constructor:function(){this._stateOptions={context:this,name:"WraDataService",namespace:"MOTW.wra",defaultSubstate:"disconnected",substates:{disconnected:{transitions:{onEnterState:this._enterDisconnected,start:"connecting"}},connecting:{transitions:{onEnterState:this._enterConnecting,_connectSuccess:"connected",_connectFailure:"fatallyDisconnected",stop:"disconnected"}},connected:{transitions:{onEnterState:this._enterConnected,_reconnect:"connecting",stop:"disconnecting"}},disconnecting:{transitions:{onEnterState:this._enterDisconnecting,_disconnectSuccess:"disconnected",_disconnectFailure:"disconnected","timeout 2":"disconnected"}},fatallyDisconnected:{transitions:{onEnterState:this._enterFatallyDisconnected,stop:"disconnected"}}}}},setDelegate:function(r){this._delegate!==r&&(this._delegate=r,this._states=new v(this._stateOptions),_.after(this._states,"onEnterState",g.hitch(this,this._enterState),!0),this._states.start());const d=this;_.after(this._delegate,"onConnectionError",function(){d._changeStateToConnecting()},!0),_.after(this._delegate,"onConnectionFails",function(){d._currentState="fatallyDisconnected",d._enterFatallyDisconnected()},!0),_.after(this._delegate,"onConnectionSuccess",function(){d._currentState="connected",d._enterConnected()},!0)},_changeStateToConnecting:function(){f.info("something wrong with connection, so changing state to connecting now, cometd is trying to connect again on its own"),this._currentState="connecting",this.onNotConnected()},onConnected:function(){this.emit("connected")},onNewlyConnected:function(){},onDisconnected:function(){this.emit("disconnected")},onReconnected:function(){this.emit("reconnected")},onFatallyDisconnected:function(){this.emit("fatallyDisconnected")},onNotConnected:function(){this.emit("notConnected")},isStarted:function(){return this._currentState!=="disconnecting"&&this._currentState!=="disconnected"},isConnected:function(){return this._currentState==="connected"},isFatallyDisconnected:function(){return this._currentState==="fatallyDisconnected"},isDisconnected:function(){return this._currentState==="disconnected"},start:function(){this._forceStop=!1},stop:function(){this._forceStop=!0},_enterState:function(r){const d=this._currentState;this._currentState=r,this.logStateChanges&&f.info("MessageService state change: "+d+" -> "+r),d==="connected"&&this.onNotConnected(),r==="connected"&&this._previouslyConnected?this.onReconnected():r==="connected"&&!this._previouslyConnected&&this.onNewlyConnected()},_enterDisconnected:function(){this._previouslyConnected=!1,this._delegate.cleanup(),this._forceStop&&this._delegate.destructCometd(),this.onDisconnected()},_enterConnecting:function(){this._delegate.cleanup(),this._delegate.connect(this.channelSubscriptions).then(this._connectSuccess,this._connectFailure)},_reconnect:function(){},_connectSuccess:function(){},_connectFailure:function(){},_timeoutAction:function(){this.logStateChanges&&f.info("MessageService timeout:",arguments)},_enterConnected:function(){this._previouslyConnected&&f.info("Successfully connected."),this._previouslyConnected=!0,this.onConnected()},_enterFatallyDisconnected:function(){this.onFatallyDisconnected()},_enterDisconnecting:function(){this._delegate.disconnect().then(this._disconnectSuccess,this._disconnectFailure)},_disconnectSuccess:function(){},_disconnectFailure:function(){}}),u.default},A,x),A.exports=w},2305:(A,x,a)=>{var T,w;T=[a(40923),a(33070),a(20963),a(36230)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};return v.default=function(u){const r=new _,d={messageService:r,subscribe:h.hitch(r,"subscribe"),unsubscribe:h.hitch(r,"unsubscribe"),publish:h.hitch(r,"publish"),start:h.hitch(r,"start"),stop:h.hitch(r,"stop"),isRunning:h.hitch(r,"isStarted"),isStarted:h.hitch(r,"isStarted"),isConnected:h.hitch(r,"isConnected"),isFatallyDisconnected:h.hitch(r,"isFatallyDisconnected"),isDisconnected:h.hitch(r,"isDisconnected"),setLatency:h.hitch(r,"setLatency"),setErrorRate:h.hitch(r,"setErrorRate"),getTransport:h.hitch(r,"getTransport"),onConnected:function(){},onDisconnected:function(){},onReconnected:function(){},onFatallyDisconnected:function(){},onNotConnected:function(){},on:function(n,i){return g(this.messageService,n,i)},handleMessage:h.hitch(r,"handleMessage"),internalMotwDisableStart:function(){this._startFunction=this.start,this.start=function(){}},internalMotwEnableStart:function(){this._startFunction&&(this.start=this._startFunction,this._startFunction=null)}};return C.after(r,"onConnected",h.hitch(d,"onConnected"),!0),C.after(r,"onDisconnected",h.hitch(d,"onDisconnected"),!0),C.after(r,"onReconnected",h.hitch(d,"onReconnected"),!0),C.after(r,"onFatallyDisconnected",h.hitch(d,"onFatallyDisconnected"),!0),C.after(r,"onNotConnected",h.hitch(d,"onNotConnected"),!0),r.setDelegate(u),d},v.default},A,x),A.exports=w},50570:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={APP_SERVICE_HOST:{name:"APP_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async/blue"},MATLAB_SERVICE_HOST:{name:"MATLAB_SERVICE_HOST",BASE_PREFIX:"/matlab",BASE_END_POINT:"messageservice/async"}},h.default},A,x),A.exports=w},34264:(A,x,a)=>{var T,w;T=[a(85967)],w=a.dj.d(T,function(h){"use strict";var C={};function g(d){return h.Utils.isString(d)}function _(d){return d>="A"&&d<="Z"?!0:d>="a"&&d<="z"}function v(d){return d>="0"&&d<="9"}function f(d){switch(d){case" ":case"!":case"#":case"$":case"(":case")":case"*":case"+":case"-":case".":case"/":case"@":case"_":case"{":case"~":case"}":case":":case"\\":case",":return!0;default:return!1}}function u(d){if(!g(d)||d.length<2||d.charAt(0)!=="/")return!1;for(let n=1;n<d.length;++n){const i=d.charAt(n);if(!(_(i)||v(i)||f(i)))return!1}return!0}const r=function(d){return u("/matlab"+d)};return C.default=r,C.default},A,x),A.exports=w},27393:(A,x,a)=>{var T,w;T=[a(50570)],w=a.dj.d(T,function(h){"use strict";var C={};const g=/AppServiceHost/i,_=f=>f.serviceName.match(g)!==null,v=(f,u)=>_(u)?f[h.APP_SERVICE_HOST.name]():f[h.MATLAB_SERVICE_HOST.name]();return C.default=function(u,r){if(r.serviceName){if(!r.serviceName.length||r.serviceName.length<5)throw new Error("serviceName must be longer than 4 characters")}else throw new Error("Must provide a serviceName");const d=v(u,r),n={};return["subscribe","unsubscribe","publish","isStarted","isConnected","isFatallyDisconnected","isDisconnected","setLatency","setErrorRate","getTransport","on","onConnected","onDisconnected"].forEach(i=>{n[i]=d[i].bind(d)}),n.messageService=d.messageService,n},C.default},A,x),A.exports=w},9180:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={UNKNOWN:"unknown",LONG_POLLING:"long-polling",WEBSOCKET:"websocket"},h.default},A,x),A.exports=w},54534:(A,x,a)=>{var T,w;T=[a(41745),a(81663),a(13053),a(38142),a(40923),a(98844)],w=a.dj.d(T,function(h,C,g,_,v,f){return h([C,g],{templateString:'<div class="${baseClass}" style="display:none;"><div class="${baseClass}Container" data-dojo-attach-point="containerNode"><div class="${baseClass}Title" data-dojo-attach-point="titleNode">${!title}</div><div class="${baseClass}Content" data-dojo-attach-point="contentNode"></div></div></div>',baseClass:"mwBanner","data-test-id":"",title:"Banner Title",content:"This is the Banner Content Area",duration:4e3,wipeInDuration:500,wipeOutDuration:350,_hideTimer:0,isVisible:!1,onHide:function(){},postCreate:function(){_.set(this.domNode,"data-test-id",this["data-test-id"])},_setContentAttr:function(u){v.isString(u)?this.contentNode.innerHTML=u:(u.placeAt(this.contentNode),u.startup())},show:function(){if(this.isVisible||(this.set("isVisible",!0),f.wipeIn({node:this.domNode,duration:this.wipeInDuration}).play()),this.duration>0){var u=setTimeout(v.hitch(this,this.hide),this.duration);this.set("_hideTimer",u)}},hide:function(){this.isVisible&&(this.set("isVisible",!1),clearTimeout(this._hideTimer),f.wipeOut({node:this.domNode,duration:this.wipeOutDuration,onEnd:this.onHide}).play())}})},A,x),A.exports=w},38697:(A,x,a)=>{var T,w;T=[a(41745),a(81663),a(13053),a(81491),a(33513)],w=a.dj.d(T,function(h,C,g,_,v){let f={error:v.errorIconAltText,warning:v.warningIconAltText,info:v.infoIconAltText,question:v.questionIconAltText,success:v.successIconAltText,none:""};return h([C,g],{templateString:'<div class="${baseClass}"><img class="${baseClass}Icon" src="" draggable="false" ondragstart="return false;" data-dojo-attach-point="iconNode"><div class="${baseClass}Message" data-test-id="message-node" data-dojo-attach-point="messageNode">${!message}</div></div>',baseClass:"mwIconAndMessageWidget",icon:"error",customIconAltText:"",message:"",_setIconAttr:function(u){var r="";u||(u="error"),this._set("icon",u);var d=this.baseClass+"Icon";this.iconNode.src=this._ICON_blank,this.iconNode.className="",this.iconNode.classList.add(this.baseClass+"Icon"),u.match(/^(error|warning|info|question|success|none)$/)?(this.iconNode.classList.add("mwAlertIcon32",this._getIconClassName(this.icon)),r=u):u.match(/^(data:image\/)/i)?(r="customDataURI",this.iconNode.src=u):u.match(/\./)?(r="customURI",this.iconNode.src=u):(r="customCSSClass",this.iconNode.classList.add(u)),this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",r),this._setImgAltAttributeValue()},_setCustomIconAltTextAttr:function(u){this._set("customIconAltText",u),this._setImgAltAttributeValue()},_setImgAltAttributeValue:function(){var u=f[this.icon]||this.customIconAltText;this.iconNode.setAttribute("alt",u)},_getIconClassName:function(u){return"mwAlertIcon"+u.charAt(0).toUpperCase()+u.slice(1)},_setMessageAttr:function(u){this._set("message",u),typeof u=="string"&&(this.messageNode.style.whiteSpace="pre-wrap"),_.set(this.messageNode,u,{parseContent:!0})},_ICON_blank:"data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw=="})},A,x),A.exports=w},19614:(A,x,a)=>{var T,w;T=[a(2251),a(806),a(81491),a(61106),a(38697),a(53997),a(54534),a(75154),a(40830),a(20790),a(52819),a(42625),a(18917)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){let e={displayAlertDialog:function(l,p,E){let m="AlertDialog";E=E||{};let y=this._createIconAndMessageWidget(p,"error",E);this._setupIconAndMessageWidget(y);let b=[{type:n.OK.type,label:n.OK.label,"data-test-id":m+"Button1"}],I=E.closeCallback?E.closeCallback:function(){},S={eventName:m+"Closed",dialogTitle:l,response:1,buttonText:b[0].label},R=d.createDialog({title:l,content:y,dialogType:E.modal===!1?d.MODELESS:d.MODAL,buttons:b,draggable:!0,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(E,b),"data-test-id":E["data-test-id"]?E["data-test-id"]:m,className:"mw"+m});return E.currentTheme&&(E.currentTheme==="light"?i.setTheme(o.LIGHT,R.domNode):E.currentTheme==="dark"&&i.setTheme(o.DARK,R.domNode)),R.on("close",function(){I(S)}),R.addButtonEventListener(n.OK,null,!0),R},_createIconAndMessageWidget:function(l,p,E){E.sanitizeOn===!0&&(l=c.sanitizeHtmlFromJava(l));let m=E.icon?E.icon:p,y=E.customIconAltText||"";return new f({message:l,icon:m,customIconAltText:y})},_setupIconAndMessageWidget:function(l){let p=_.getBox(),E=Math.max(80,Math.min(.4*p.h,300));l.messageNode.style.maxHeight=E+"px"},_resizeToFitOversizeButtons:function(l){parseInt(window.getComputedStyle(l.domNode).width)>400&&(l.domNode.querySelector(".mwDialogBody").style.maxWidth="none")},_parseAndGetSpecifiedFocusedItem:function(l,p){return isNaN(l.specifiedFocusItem)?l.specifiedFocusItem:p[l.specifiedFocusItem-1]},displayConfirmDialog:function(l,p,E){let m="ConfirmDialog";E=E||{};let y=this._createIconAndMessageWidget(p,"question",E);this._setupIconAndMessageWidget(y);let b=[],I=[n.TYPE.DO_IT,n.TYPE.DONT_DO_IT,n.TYPE.CANCEL,n.TYPE.APPLY,n.TYPE.REVERT];if(E.buttonText&&E.buttonText.length>=1)for(let U=0;U<E.buttonText.length&&U<5;U++)b.push({type:I[U],label:E.buttonText[U],"data-test-id":m+"Button"+(U+1)});else b=[{type:n.TYPE.DO_IT,label:n.OK.label,"data-test-id":m+"Button1"},{type:n.TYPE.CANCEL,label:n.CANCEL.label,"data-test-id":m+"Button2"}];let S=E.closeCallback?E.closeCallback:function(){},R={eventName:m+"Closed",dialogTitle:l,response:1,buttonText:b[0].label},N=E.defaultCancelButton<=b.length?E.defaultCancelButton:b.length,O=b[N-1].label,L=d.createDialog({title:l,dialogType:d.MODAL,content:y,buttons:b,draggable:!0,className:"mw"+m,"data-test-id":E["data-test-id"]?E["data-test-id"]:m,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(E,b),defaultActionButton:E.defaultAcceptButton<=b.length?b[E.defaultAcceptButton-1]:b[0]});return E.currentTheme&&(E.currentTheme==="light"?i.setTheme(o.LIGHT,L.domNode):E.currentTheme==="dark"&&i.setTheme(o.DARK,L.domNode)),L.on("close",function(){R.response=N,R.buttonText=O,S(R)}),b.forEach(function(U,z){L.addButtonEventListener(U,function(){N=z+1,O=U.label},!0)}),this._resizeToFitOversizeButtons(L),L},displayProgressDialog:function(l,p,E){let m="ProgressDialog";E=E||{};let y=E.className===void 0?"":" "+E.className,I=s('<div class="mwProgressDialogMessage" data-test-id="progress-message-node"></div><div class="mwProgressDialogProgressBar"></div>',"none",E),S=I.messageNode.children[1],R=I.messageNode.children[0];t(R,p,E);let N=new r({indeterminate:E.indeterminate===void 0?!1:E.indeterminate,value:E.value===void 0?0:E.value,color:E.color||E.colorStyle||"Info",showPercentage:E.showPercentage===void 0?!1:E.showPercentage,"data-test-id":m+"ProgressBar"});N.placeAt(S),N.startup(),N.resize({w:I.icon==="none"?330:300}),this._setupIconAndMessageWidget(I);let O=[],L=E.showCancelButton===void 0?!1:E.showCancelButton;L&&(O=[{type:n.CANCEL.type,label:E.cancelButtonText===void 0?n.CANCEL.label:E.cancelButtonText,"data-test-id":m+"Button1"}]);let U=d.createDialog({title:l,dialogType:d.MODAL,content:I,buttons:O,draggable:!0,closeOnEscape:L,hideCloseButton:!L,specifiedFocusItem:this._parseAndGetSpecifiedFocusedItem(E,O),className:"mw"+m+y,"data-test-id":E["data-test-id"]?E["data-test-id"]:m});if(E.currentTheme&&(E.currentTheme==="light"?i.setTheme(o.LIGHT,U.domNode):E.currentTheme==="dark"&&i.setTheme(o.DARK,U.domNode)),L){let z={eventName:m+"Closed",dialogTitle:l,response:"cancel",buttonText:O[0].label,dialog:U},$=E.cancelCallback?E.cancelCallback:function(){},W=function(){$(z)};U.on("close",W),U.addButtonEventListener(n.CANCEL,W,!1),U._destroyCache=U.destroy,U.destroy=function(){},U.closeProgressDialog=function(){this.destroy=this._destroyCache,this.destroy()},U.disableCancelButton=function(){this.disableButton(O[0])},U.enableCancelButton=function(){this.enableButton(O[0])}}else U.closeProgressDialog=function(){this.destroy()};return U.progressBar=N,U.progressMessageNode=R,U.updateMessage=function(z){t(this.progressMessageNode,z,E)},U}},t=function(l,p,E){typeof p=="string"&&(l.style.whiteSpace="pre-wrap"),E.sanitizeOn===!0&&(p=c.sanitizeHtmlFromJava(p)),g.set(l,p,{parseContent:!0})},s=function(l,p,E){let m=E.icon?E.icon:p,y=E.customIconAltText||"";return new f({message:l,icon:m,customIconAltText:y})};return e.displayAlertBanner=function(l,p,E){C.experimental("Notifications.displayAlertBanner");let m="AlertBanner";E=E||{};let y=this._createIconAndMessageWidget(p,"error",E),b=E.closeCallback?E.closeCallback:function(){},I={eventName:m+"Closed",dialogTitle:l,response:"closed"},S=new u({title:l,content:y,duration:E.duration?E.duration:4e3,class:"mw"+m,"data-test-id":E["data-test-id"]?E["data-test-id"]:m});return S.set("onHide",function(){b(I),S.destroyRecursive()}),S.placeAt(h.body()),S.startup(),S.show(),S},e},A,x),A.exports=w},75154:(A,x,a)=>{var T,w;T=[a(41745),a(41032),a(48201),a(24485),a(13053),a(81663),a(43627),a(19910),a(38142)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){var n=h([f,v,u],{baseClass:"mwProgressBar",templateString:r,resize:function(i){var o;if(i&&i.w)o=i.w;else{var c=_.getContentBox(this.domNode.parentNode);o=c.w}(o===NaN||o===0)&&(o=100),C.set(this.gutterNode,"transform","scaleX("+o/100+")")},startup:function(){f.prototype.startup.apply(this,arguments),this.resize()},_setValueAttr:function(i){i=Math.min(Math.max(parseInt(i),0),100),this._set("value",i),this.progressTextNode.textContent=this.value+"%",d.set(this.domNode,"data-value",this.value),C.set(this.progressNode,"transform","translateX("+(this.value-100)+"px)")},_showAnimationWave:function(i){var o=this.baseClass+"NoWave";i===!1?g.add(this.domNode,o):g.remove(this.domNode,o)}});return n},A,x),A.exports=w},53997:(A,x,a)=>{var T,w;T=[a(41745),a(76654),a(38697)],w=a.dj.d(T,function(h,C,g){return h([g],{templateString:'<div class="${baseClass}" data-dojo-attach-point="baseNode"><img class="${baseClass}Icon" src="" draggable="false" ondragstart="return false;" data-dojo-attach-point="iconNode"><div class="${baseClass}Message" data-test-id="message-node" data-dojo-attach-point="messageNode">${!message}</div></div>',_setIconAttr:function(_){let v="";if(_||(_="error"),typeof _=="object"&&this._verifiedSVGIconObj(_)){v=_.id,this._set("icon",v);let f=this._createSvgNode();this.iconNode=f,this._getIconInstance(_,f),this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",v)}else{this._set("icon",_),this.iconNode=this._createImgNode();let f=this.baseClass+"Icon";if(this.iconNode.src=this._ICON_blank,this.iconNode.className="",this.iconNode.classList.add(this.baseClass+"Icon"),_.match(/^(error|warning|info|question|success|none)$/)){if(_!=="none"){let u=this._createSvgNode();this.iconNode=u,this._insertPresetSvg(_)}v=_}else _.match(/^(data:image\/)/i)?(v="customDataURI",this.iconNode.src=_):_.match(/\./)?(v="customURI",this.iconNode.src=_):(v="customCSSClass",this.iconNode.classList.add(_));this.iconNode.width,this.iconNode.height,this.iconNode.setAttribute("data-icon-id",v),this._setImgAltAttributeValue()}},_getIconInstance:function(_,v){C.getInstance().getIcon(_).then(u=>{v.appendChild(u)})},_verifiedSVGIconObj:function(_){let v=_!==null&&Object.keys(_).length==3,f=Object.hasOwn(_,"id")&&Object.hasOwn(_,"height")&&Object.hasOwn(_,"width"),u=isNaN(_.icon)&&!isNaN(_.width)&&!isNaN(_.height);return v&&f&&u},_createSvgNode:function(){this.iconNode.remove();let _=document.createElement("div");return _.draggable="false",_.classList.add(this.baseClass+"Icon"),_.setAttribute("ondragstart","return false;"),_.setAttribute("data-dojo-attach-point","iconNode"),_.style.width="32px",_.style.height="32px",this.baseNode.insertBefore(_,this.baseNode.children[0]),_},_createImgNode:function(){this.iconNode.remove();let _=document.createElement("img");return _.draggable="false",_.classList.add(this.baseClass+"Icon"),_.setAttribute("ondragstart","return false;"),_.setAttribute("data-dojo-attach-point","iconNode"),this.baseNode.insertBefore(_,this.baseNode.children[0]),_},_insertPresetSvg:function(_){let v="";_==="error"?v='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 9.2868L9.2868 0.5L21.7132 0.5L30.5 9.2868V21.7132L21.7132 30.5H9.2868L0.5 21.7132L0.5 9.2868Z" fill="var(--mw-icon-alert-red, #B7313C)" stroke="var(--mw-icon-alert-red, #B7313C)"/><path d="M17 17.5C17 18.3284 16.3284 19 15.5 19C14.6716 19 14 18.3284 14 17.5L14 7.5C14 6.67157 14.6716 6 15.5 6C16.3284 6 17 6.67157 17 7.5L17 17.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)"/><path d="M17 23.5C17 24.3284 16.3284 25 15.5 25C14.6716 25 14 24.3284 14 23.5C14 22.6716 14.6716 22 15.5 22C16.3284 22 17 22.6716 17 23.5Z" fill="white"/></svg>':_==="warning"?v='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 1.5L30.5 28.5H0.5L15.5 1.5Z" fill="var(--mw-icon-background-medium-yellow, #FFEF91)" stroke="#674C06" stroke-linecap="square" stroke-linejoin="round"/><path d="M17 18.5C17 19.3284 16.3284 20 15.5 20C14.6716 20 14 19.3284 14 18.5L14 10.5C14 9.67157 14.6716 9 15.5 9C16.3284 9 17 9.67157 17 10.5L17 18.5Z" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/><path d="M17 24.5C17 25.3284 16.3284 26 15.5 26C14.6716 26 14 25.3284 14 24.5C14 23.6716 14.6716 23 15.5 23C16.3284 23 17 23.6716 17 24.5Z" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/></svg>':_==="info"?v='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 15.5C0.5 23.7843 7.21573 30.5 15.5 30.5C23.7843 30.5 30.5 23.7843 30.5 15.5C30.5 7.21573 23.7843 0.5 15.5 0.5C7.21573 0.5 0.5 7.21573 0.5 15.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)" stroke="var(--mw-icon-glyph-content-light-blue, #278CDD)" stroke-linecap="round"/><path d="M14 13.5C14 12.6716 14.6716 12 15.5 12C16.3284 12 17 12.6716 17 13.5V23.5C17 24.3284 16.3284 25 15.5 25C14.6716 25 14 24.3284 14 23.5V13.5Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/><path d="M14 7.5C14 6.67157 14.6716 6 15.5 6C16.3284 6 17 6.67157 17 7.5C17 8.32843 16.3284 9 15.5 9C14.6716 9 14 8.32843 14 7.5Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/></svg>':_==="question"?v='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 15.5C0.5 23.7843 7.21573 30.5 15.5 30.5C23.7843 30.5 30.5 23.7843 30.5 15.5C30.5 7.21573 23.7843 0.5 15.5 0.5C7.21573 0.5 0.5 7.21573 0.5 15.5Z" fill="var(--mw-icon-background-default-white, #FFFFFF)" stroke="var(--mw-icon-glyph-content-light-blue, #278CDD)" stroke-linecap="round"/><path d="M13.7093 19.3817C13.7093 18.2496 13.85 17.3472 14.1314 16.6747C14.4128 16.0022 14.9671 15.2659 15.7942 14.4657C16.6298 13.657 17.1585 13.0824 17.3802 12.7419C17.7213 12.2227 17.8919 11.6608 17.8919 11.0565C17.8919 10.2563 17.6915 9.64763 17.2907 9.23051C16.8984 8.80488 16.3186 8.59207 15.5512 8.59207C14.8178 8.59207 14.2252 8.80063 13.7733 9.21774C13.3298 9.62634 13.1081 10.1839 13.1081 10.8905H10C10.0171 9.38374 10.5287 8.19198 11.5349 7.31519C12.5496 6.4384 13.8884 6 15.5512 6C17.2651 6 18.5996 6.43414 19.5547 7.30242C20.5182 8.1707 21 9.38374 21 10.9415C21 12.3291 20.3519 13.6953 19.0558 15.0403L17.4826 16.5854C16.9198 17.2238 16.6298 18.1559 16.6128 19.3817H13.7093ZM13.4919 23.3528C13.4919 22.8506 13.6496 22.4462 13.9651 22.1398C14.2806 21.8248 14.707 21.6673 15.2442 21.6673C15.7899 21.6673 16.2205 21.8291 16.536 22.1526C16.8516 22.4675 17.0093 22.8676 17.0093 23.3528C17.0093 23.821 16.8558 24.2126 16.5488 24.5276C16.2419 24.8425 15.807 25 15.2442 25C14.6814 25 14.2465 24.8425 13.9395 24.5276C13.6411 24.2126 13.4919 23.821 13.4919 23.3528Z" fill="var(--mw-icon-glyph-content-light-blue, #278CDD)"/></svg>':_==="success"&&(v='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15.5" cy="15.5" r="15" fill="var(--mw-icon-background-default-action, #CBFFBE)" stroke="var(--mw-icon-border-default-green, #008013)"/><path d="M7.5 15.5L12.5 20.5L22.5 10.5" stroke="var(--mw-icon-glyph-content-dark-green, #02580E)" stroke-linecap="square"/></svg>'),this.iconNode.innerHTML=v}})},A,x),A.exports=w},43627:(A,x,a)=>{var T,w;T=[a(41745),a(38142),a(81466)],w=a.dj.d(T,function(h,C,g){var _=h([],{value:0,indeterminate:!1,showPercentage:!0,color:"Info","data-test-id":"",constructor:function(){this["data-test-id"]=this.baseClass.substring(2)},_setValueAttr:function(v){v=Math.min(Math.max(parseInt(v),0),100),this._set("value",v),this.progressTextNode.textContent=this.value+"%",C.set(this.domNode,"data-value",this.value)},_setIndeterminateAttr:function(v){this._set("indeterminate",v);var f=this.baseClass+"Indeterminate";this.indeterminate?this.domNode.classList.add(f):this.domNode.classList.remove(f)},_setShowPercentageAttr:function(v){this._set("showPercentage",v);var f=this.baseClass+"Invisible";this.showPercentage?this.progressTextNode.classList.remove(f):this.progressTextNode.classList.add(f)},_setColorStyleAttr:function(v){g.deprecated({deprecated:{module:"mw-notifications/ProgressBar",method:"_setColorStyleAttr"},replacement:{module:"mw-notifications/ProgressBar",method:"_setColorAttr"}}),+this.set("color",v)},_getColorStyleAttr:function(){return this.color},_setColorAttr:function(v){this._isHexColorCode(v)?(this._set("color",v),this.domNode.style.setProperty("--progress-color",v)):this._setColorEnum(v)},_setColorEnum:function(v){var f,u;switch(v.toLowerCase()){case"error":f="Error",u="var(--progress-color-error)";break;case"warning":f="Warning",u="var(--progress-color-warning)";break;case"success":f="Success",u="var(--progress-color-success)";break;default:f="Info",u="var(--progress-color-info)";break}this._set("color",f),this.domNode.style.setProperty("--progress-color",u)},_isHexColorCode:function(v){return/^#([0-9A-F]{3}){1,2}$/i.test(v)}});return _},A,x),A.exports=w},41949:(A,x,a)=>{A.exports={root:{errorIconAltText:"Error Icon",warningIconAltText:"Warning Icon",infoIconAltText:"Information Icon",questionIconAltText:"Question Icon",successIconAltText:"Success Icon"}}},58233:(A,x,a)=>{var T,w;T=[a(41745),a(20963),a(33553),a(31209),a(26268),a(81663),a(13053),a(98289),a(90290),a(19339)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){var i={spinnerSize:"large"},o={spinnerSize:"medium"},c={spinnerSize:"small"},e={spinnerSize:"xsmall"},t=h("MW.utils.BusyOverlay",[f,u],{_displayed:!1,_started:!1,_spinner:null,_size:null,target:null,_text:"",_textSpan:null,_spinnerTextNode:null,templateString:n,_resizeEvent:null,constructor:function(l){this._textSpan=document.createElement("span"),this._spinnerTextNode=document.createElement("div"),this._spinnerTextNode.classList.add("spinnerText"),this._spinnerTextNode.appendChild(this._textSpan),this._preventKeyBoardInteractions=this._preventKeyBoardInteractions.bind(this),this._handleFocusInTargetOnKeyDown=this._handleFocusInTargetOnKeyDown.bind(this),this._stopEventPropagation=this._stopEventPropagation.bind(this),Object.defineProperty(this,"text",{set:function(p){this._text=p,!this._resizeEvent&&this.registerResize(),this._text&&typeof this._text=="string"?this._textSpan.textContent=this._text:(this._text="",this._textSpan.textContent=this._text),this._started&&this._updateTitle()},get:function(){return this._text},enumerable:!0,configurable:!0}),l&&l.text&&this.set("text",l.text),this._setSpinnerSize(l)},_setSpinnerSize:function(l){try{if(l==null)this._size=i;else if(typeof l=="object")l.size?this._size=l.size:l.spinnerSize?this._size=l:this._size=i;else throw new Error("Incorrect argument passed to BusyOverlay Object.")}catch(p){d.error(p.message)}},_updateTitle:function(){this._textSpan.classList.remove("spinnerCenter"),this._textSpan.classList.add("spinnerCenter")},_updateTextStyle:function(){this._spinnerTextNode.style.marginTop="",this._text&&this.text.toString().trim()!==""&&(this._spinnerTextNode.style.marginTop="10px")},startup:function(){if(!this._started){if(this._spinner=this._createSpinner(),this._firstElement=this._createFirstElement(),this.target){if(typeof this.target=="string"){let l=v.byId(this.target);this.target=l?l.domNode:document.getElementById(this.target)}this.target.appendChild(this.domNode),this._spinnerBgPanel.appendChild(this._spinnerTextNode)}this._text&&(this._updateTitle(),!this._resizeEvent&&this.registerResize()),this._started=!0,this.inherited(arguments)}},_createSpinner(){let l=r({type:"spinner",size:this._size.spinnerSize});return l.updateComplete.then(()=>{l&&l.setAttribute("tabindex","-1")}),l.setAttribute("aria-indeterminate","true"),l.style.overflow="hidden",l},postCreate:function(){this._underlayNode.style.zIndex=2e9,this.inherited(arguments)},show:function(){this._displayed||(this._started||this.startup(),this._displayed=!0,this._busyOverlayNode.style.display="inline",this._busyOverlayNode.className="mw-busyIndicator",this._updateTextStyle(),this._spinnerTextNode.style.display="block",this._spinnerNode.appendChild(this._spinner),this.onShow(),this._handleFocusOnShow(),this._underlayNode.addEventListener("mousemove",this._stopEventPropagation))},_handleFocusOnShow(){if(this._isTargetPresent()){this.target.prepend(this._firstElement),this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.addEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown),this.target.addEventListener("keydown",this._handleFocusInTargetOnKeyDown);let l=document.activeElement;l&&this.target.contains(l)&&this._spinnerBgPanel.focus()}},_isTargetPresent(){return this.target&&this.target instanceof Element},_handleFocusInTargetOnKeyDown:function(l){l.key!=="Tab"&&!(l.shiftKey&&(l.key==="Shift"||l.key==="Tab"))&&this._spinnerBgPanel.focus()},_stopEventPropagation:function(l){l.stopPropagation()},_preventKeyBoardInteractions:function(l){if(this._displayed&&this._isTargetPresent()){l.preventDefault();let p=this._spinnerBgPanel,E=this._firstElement,m=l.relatedTarget,y=l.target;if(y===E||y===p){this._lastFocusedNode=m;return}if(m===E){this._lastFocusedNode=y,p.focus();return}if(m===p){this._lastFocusedNode=y,E.focus();return}this._lastFocusedNode=y,p.focus()}},_createFirstElement(){let l=document.createElement("div");return l.setAttribute("tabindex","0"),l.className="mw-busyIndicator-focus-first",l},hide:function(){this._displayed&&(this._underlayNode.removeEventListener("mousemove",this._stopEventPropagation),this._handleFocusOnHide(),this._displayed=!1,this._busyOverlayNode.style.display="none",this._spinnerNode.removeChild(this._spinner),this._spinnerTextNode.style.display="none",this.onHide())},_handleFocusOnHide(){this._isTargetPresent()&&(this.target.removeEventListener("focusin",this._preventKeyBoardInteractions),this.target.removeEventListener("keydown",this._handleFocusInTargetOnKeyDown)),this._lastFocusedNode&&(document.activeElement===this._spinnerBgPanel||document.activeElement===this._firstElement)&&(this._lastFocusedNode.focus(),this._lastFocusedNode=null),this._firstElement&&this._firstElement.remove(),C.emit(this._spinnerBgPanel,"restorefocus",{bubbles:!0})},showUntilFinished:function(l){var p=new g;l.finally(function(){p.resolve()}),this.isVisible()||this.show(),this._hideBusyIndicatorPromise?this._hideBusyIndicatorPromise=_([this._hideBusyIndicatorPromise,p.promise]):this._hideBusyIndicatorPromise=p.promise;var E=this._hideBusyIndicatorPromise;E.then(function(){E===this._hideBusyIndicatorPromise&&this.hide()}.bind(this))},uninitialize:function(){if(this.hide(),this.target=null,this._spinner=null,this._displayed=!1,this._firstElement=null,this._busyOverlayNode)for(var l=this._busyOverlayNode.querySelectorAll(".spinnerText"),p=0;p<l.length;p++)l[p].remove();this._textSpan=null,this._spinnerTextNode=null,this.inherited(arguments),this._resizeEvent&&this._resizeEvent.remove()},isVisible:function(){return this._displayed},onShow:function(){},onHide:function(){this.inherited(arguments)},registerResize:function(){this._resizeEvent=C(window,"resize",this._updateTextStyle.bind(this)),this.own(this._resizeEvent)}}),s={LARGE:i,MEDIUM:o,SMALL:c,XSMALL:e};return t.SIZE=s,Object.freeze(t.SIZE),Object.freeze(t.SIZE.LARGE),Object.freeze(t.SIZE.MEDIUM),Object.freeze(t.SIZE.SMALL),Object.freeze(t.SIZE.XSMALL),t},A,x),A.exports=w},25378:(A,x,a)=>{var T,w;T=[a(41904),a(57804),a(59977)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{static createContent(u){const r=document.createElement("div");r.classList.add("mw-popout-container"),r.setAttribute("tabindex",0);const{contentNode:d,headerNode:n,footerNode:i,contentClass:o,popoutType:c}=u;if(!(d||n))return r;const e=c===h.STANDARD?null:g`<div class="mw-popout-type-icon"></div>`,t=n?g`<div class="mw-popout-header-footer mw-popout-header ${e?"mw-popout-header-with-icon":""}">${e}${n}</div>`:null,s=d?g`<div class="mw-popout-content ${c===h.STANDARD?"mw-popout-content-standard":""} ${o}">${d}</div>`:null,l=i?g`<div class="mw-popout-header-footer mw-popout-footer ${e?"mw-popout-footer-with-icon":""} ${e&&t?"mw-popout-footer-with-icon-header":""} ">${i}</div>`:null,p=g`<div class="mw-popout-arrow" data-popper-arrow></div>`;return C(g`
${t}
<div class='mw-icon-content-wrapper'>
${n?null:e}
${s}
</div>
${l}
${p}`,r),r}}return _.default=v,_.default},A,x),A.exports=w},73742:(A,x,a)=>{var T,w;T=[a(10710),a(48292),a(1269),a(41904),a(2366),a(28533),a(96712),a(42625),a(10035),a(52819),a(38630),a(32979),a(25378),a(59977),a(57804)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t){"use strict";var s={};const l=[_.STANDARD,_.ERROR,_.WARNING,_.INFO,_.SUCCESS];class p extends h{static get properties(){return{referenceNode:{type:Object,reflect:!1,attribute:!1},content:{type:Object,reflect:!1,attribute:!0},header:{type:Object,reflect:!1,attribute:!0},footer:{type:Object,reflect:!1,attribute:!0},referenceSelector:{type:String,reflect:!0,attribute:!0},open:{type:Boolean,reflect:!0,attribute:!0},placement:{type:String,reflect:!0,attribute:!0},trigger:{type:String,reflect:!0,attribute:!0},type:{type:String,reflect:!0,attribute:!0},_focusTrap:{type:Boolean,reflect:!1,attribute:!1}}}constructor(){if(super(),this._referenceNode=null,this._open=!1,this._trigger="",this._referenceSelector="",this._referenceObserver=null,this._refViewObserver=null,this.trigger="",this._referenceNodeClicked=!1,this._focusTrap=!1,this.placement="auto",this.type=_.STANDARD,this.currentTheme="",this._clickOnReferenceNode=this._clickOnReferenceNode.bind(this),this._keyDownOnReferenceNode=this._keyDownOnReferenceNode.bind(this),this._handlePointerDown=this._handlePointerDown.bind(this),this.initializeProp("content"),!this.content){let m=document.createElement("div");m.slot="content",this.content=m}this.initializeProp("header"),this.initializeProp("footer"),this.addEventListener("keydown",this._handleKeyDownOnPopout)}initializeProp(m){const y=this.querySelector(`mw-popout > [slot=${m}]`);y&&(this[m]=y)}_handleKeyDownOnPopout(m){const y=[f.ArrowDown,f.ArrowUp,f.ArrowLeft,f.ArrowRight,f.PageDown,f.PageUp],b=this.querySelector(".mw-popout-content");if(!b)return;const I=this.querySelector(".mw-popout-container");if(document.activeElement===I&&y.includes(m.key))[f.ArrowDown,f.PageDown].includes(m.key)&&(b.scrollTop+=f.ScrollJump),[f.ArrowUp,f.PageUp].includes(m.key)&&(b.scrollTop-=f.ScrollJump),m.key===f.ArrowLeft&&(b.scrollLeft-=f.ScrollJump),m.key===f.ArrowRight&&(b.scrollLeft+=f.ScrollJump),m.preventDefault();else if(this._isCrtlA(m)){m.preventDefault();const S=window.getSelection(),R=document.createRange();R.selectNode(this),S.removeAllRanges(),S.addRange(R)}}_isCrtlA(m){return(m.ctrlKey||m.metaKey)&&(m.key==="a"||m.key==="A")}_attachTriggerListeners(m){m===u.CLICK?this._addClickTriggerListeners():m===u.HOVER&&this._addHoverTriggerListeners()}connectedCallback(){super.connectedCallback(),g._createSRHelperNode(this)}set trigger(m){const y=this._trigger;this._tippyHideOnClick=!0,!m||m&&!d.isTriggerValid(m)?(this._trigger="",this._tippyTrigger=""):(this._trigger=m,m==="hover"?(this._tippyTrigger="mouseenter focus",this._tippyDelay=[u.OPEN_DEFAULT_DELAY,u.CLOSE_DEFAULT_DELAY],this._tippyHideOnClick=!0):m==="click"?(this._tippyTrigger="click",this._tippyDelay=0,this._tippyHideOnClick=!0,y==="persistent"&&g._attachBlurListenerToDocument()):(this._focusTrap=!0,this._tippyTrigger="manual",this._tippyDelay=0,this._tippyHideOnClick=!1)),this.requestUpdate("trigger",y)}get trigger(){return this._trigger}set type(m){const y=this._type;m=typeof m=="string"?m.toLowerCase():m,this._type=l.includes(m)?m:_.STANDARD,this.requestUpdate("type",y)}get type(){return this._type}set referenceNode(m){if(g.has(m))throw new Error("A popout already exists for this reference node.Pass a new reference node");if(!d.isReferenceNodeValid(m))throw new Error("A valid node should be passed as reference node for popout");const y=this._referenceNode;this._cleanUp(!0),g.add(this,m),this._referenceNode=m;const{promise:b,observer:I}=d.observeElementInDom(this._referenceNode);this._referenceObserver=I,b.then(S=>{this._removeFromBody()}),this.requestUpdate("referenceNode",y)}get referenceNode(){return this._referenceNode}setProp(m){const y=this.querySelector(`mw-popout > [slot=${m}]`);if(y&&(this[m]=y),!this[m]){const b=this.querySelector(`mw-popout > [slot=${m}]`);b&&(this[m]=b)}}set open(m){const y=this._open;this._open!==m&&(m&&this._validate(),this._arePopoutSectionsValid()?this._open=m:this._open=!1,this.requestUpdate("open",y))}get open(){return this._open}set referenceSelector(m){if(!d.isSelectorValid(m))throw new Error("Only class selector is supported at this moment.");const y=document.querySelector(m);if(!y)throw new Error("There exists no element with the specified selector");this.referenceNode=y;const b=this._referenceSelector;this._referenceSelector=m,this.requestUpdate("referenceSelector",b)}get referenceSelector(){return this._referenceSelector}set placement(m){const y=this._placement;!m||m&&!d.isPlacementValid(m)?this._placement="auto":this._placement=m,this.requestUpdate("placement",y)}get placement(){return this._placement}_arePopoutSectionsValid(){return d.isSectionValid(this.content,"content")||d.isSectionValid(this.header,"header")}_isFooterExist(){return d.isSectionValid(this.footer,"footer")}_addClickTriggerListeners(){this._referenceNode.addEventListener("click",this._clickOnReferenceNode),this._referenceNode.addEventListener("keydown",this._clickOnReferenceNode)}_addHoverTriggerListeners(){this._referenceNode.addEventListener("keydown",this._keyDownOnReferenceNode)}_removeTriggerListeners(){this.trigger===u.CLICK?(this._referenceNode.removeEventListener("click",this._clickOnReferenceNode),this._referenceNode.removeEventListener("keydown",this._clickOnReferenceNode)):this.trigger===u.HOVER&&this._referenceNode.removeEventListener("keydown",this._keyDownOnReferenceNode)}_keyDownOnReferenceNode(m){(m.keyCode===v.ENTER||m.keyCode===v.SPACE)&&this._currentInstance&&this._currentInstance.hide()}_clickOnReferenceNode(m){(m.keyCode===v.ENTER||m.type==="click")&&(this._referenceNodeClicked=!0)}_attachPointerDownListener(){document.addEventListener("pointerdown",this._handlePointerDown)}_detachPointerDownListener(){document.removeEventListener("pointerdown",this._handlePointerDown)}_handlePointerDown(m){m.target!==this&&!this.contains(m.target)&&this.close()}_validate(){if(!this._referenceNode)throw new Error("A valid referenceSelector must be provided to open a popout");if(!document.body.contains(this))throw new Error("Popout must be appended to document.body to open it")}_destroyTippyInstance(m){m&&m.destroy()}_removeAriaAttribute(m){m&&m.reference.hasAttribute("aria-describedby")&&m.reference.removeAttribute("aria-describedby")}_cleanUp(m){if(g.has(this.referenceNode)){const y=g.getPopout(this.referenceNode),b=y&&y._tippyInstance;Array.isArray(b)?b.forEach(I=>{this._removeAriaAttribute(I),this._destroyTippyInstance(I)}):(this._removeAriaAttribute(b),this._destroyTippyInstance(b)),this._removeTriggerListeners(),g.remove(this,this._referenceNode),d.stopObservingElement(this._referenceObserver),d.stopObservingElement(this._refViewObserver),this.open&&(this.open=!1),this._referenceNode=null,this._referenceNodeClicked=!1,this._tippyInstance=null,this._currentInstance=null,this._referenceObserver=null,this._refViewObserver=null,m?this._referenceSelector&&(this._referenceSelector=""):(this._resetPropsAndAttributes(),this._destroyed=!0,this.emit("destroy",{}))}}_removeFromBody(){document.body.contains(this.renderRoot)&&this.renderRoot.parentNode.removeChild(this.renderRoot),this._destroyed||this._cleanUp()}_resetPropsAndAttributes(){this.content=null,this.header=null,this.footer=null,this.open=!1,this.trigger="",this._referenceSelector=""}show(){this.open=!0}close(){this.open=!1}shouldUpdate(){return!this._destroyed||this._arePopoutSectionsValid()}_getReferenceNodeTheme(m){let y=n.getTheme(m);return y=y===""?r.LIGHT:r[y.toUpperCase()],y}_createTippyInstance(){const m=this;this._tippyInstance=i(m.referenceNode,{arrow:!1,allowHTML:!0,content:m.finalContent,delay:m._tippyDelay,placement:m.placement,appendTo:()=>m.renderRoot,interactive:!0,maxWidth:"min(calc(100vw - 40px), 500px)",trigger:m._tippyTrigger,hideOnClick:m._tippyHideOnClick,offset:[0,10],zIndex:951,animation:!1,popperOptions:{strategy:"fixed",modifiers:d.getPopperModifiers(m.placement,m.trigger)},aria:{content:null,expanded:!1},theme:"popoutTheme",onCreate(y){m._currentInstance=y},onHide(y){if(m._referenceNodeClicked===!0)return m._referenceNodeClicked=!1,!1;m.open=!1,o.freeFocus(),o.remove(),m._removeTriggerListeners(),d.stopObservingElement(this._refViewObserver),m.trigger===u.PERSISTENT&&g._attachBlurListenerToDocument(),m.trigger===u.CLICK&&m._detachPointerDownListener()},onShow(y){i.hideAll({exclude:y});const b=m.getNode("content"),I=m.getNode("header");if(!(b||I))return!1;o.set(m.referenceNode,m,y),m._attachTriggerListeners(m.trigger);const S=m._getReferenceNodeTheme(y.reference);n.setTheme(S,m),g.setZindex(m),m.open=!0,m.emit("open",{}),m.trigger===u.PERSISTENT&&g._detachBlurListenerToDocument(),m.trigger===u.CLICK&&m._attachPointerDownListener()},onMount(y){m.trigger!==u.PERSISTENT&&(this._refViewObserver=d.observeReferenceInView(m));const b=m.finalContent.querySelector(".mw-popout-content");d.isContentOverflow(b)?m.finalContent.classList.add("has-overflow"):m.finalContent.classList.contains("has-overflow")&&m.finalContent.classList.remove("has-overflow")}})}disconnectedCallback(){super.disconnectedCallback(),this._cleanUp()}firstUpdated(){if(this.hasAttribute("role")||this.setAttribute("role","tooltip"),!this.hasAttribute("id")){const y="mw-popout"+d.generateUuid();this.setAttribute("id",y)}this._referenceNode&&this._referenceNode.setAttribute("aria-describedby",g.getScreenReaderHelperID(this.type))}update(m){super.update(m),this.setProp("content"),this.setProp("header"),this.setProp("footer"),this._arePopoutSectionsValid()||(console.warn("Parameters passed are invalid. For popout to exist, content or header is required"),this.open=!1)}getNode(m){let y;return this[m]&&this[m].slot===m?y=this[m]:this[m]&&typeof this[m]!="string"?(this[m].setAttribute("slot",m),y=this[m]):this[m]&&typeof this[m]=="string"&&(y=document.createElement("div"),y.setAttribute("slot",m),t(e`${this[m]}`,y),m==="header"&&t(e`<h3>${this[m]}</h3>`,y)),y}_getContentClass(m){return this.type===_.STANDARD?m?"mw-popout-content-header":"":m?"mw-popout-content-icon-header":"mw-popout-content-icon"}_updateTippyInstance(){const m=this.getNode("content"),y=this.getNode("header"),b=this.getNode("footer");this.finalContent=c.createContent({contentNode:m,headerNode:y,footerNode:b,contentClass:this._getContentClass(y),popoutType:this.type}),this._tippyInstance?this._tippyInstance&&Array.isArray(this._tippyInstance)?this._tippyInstance.forEach(I=>{I.setProps({content:this.finalContent,trigger:this._tippyTrigger,hideOnClick:this._tippyHideOnClick,placement:this.placement})}):this._tippyInstance&&this._tippyInstance.setProps({content:this.finalContent,trigger:this._tippyTrigger,hideOnClick:this._tippyHideOnClick,placement:this.placement}):this.referenceNode&&this._createTippyInstance()}updated(m){if(this._destroyed){this._removeFromBody();return}document.body.contains(this.renderRoot)||document.body.appendChild(this.renderRoot),(m.has("content")||m.has("header")||m.has("footer")||m.has("type")||m.has("placement")||m.has("trigger")||m.has("referenceNode"))&&this._updateTippyInstance(),m.has("open")&&this._displayHidePopout()}_displayHidePopout(){this._currentInstance&&(this.open?this._currentInstance.show():this._currentInstance.hide())}}return s.default=C({name:"mw-popout",widgetClass:p}),s.default},A,x),A.exports=w},48133:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({FOCUSED:"mwPopoutFocused"});return h.default=C,h.default},A,x),A.exports=w},2366:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ENTER:13,SPACE:32,TAB:9,SHIFT:16,ESCAPE:27});return h.default=C,h.default},A,x),A.exports=w},70491:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ID_STANDARD:"mw-popout-sr-helper-standard",ID_ERROR:"mw-popout-sr-helper-error",ID_WARNING:"mw-popout-sr-helper-warning",ID_INFO:"mw-popout-sr-helper-info",ID_SUCCESS:"mw-popout-sr-helper-success",CLASSNAME:"mw-popout-sr-helper",TEXT:"has popup"});return h.default=C,h.default},A,x),A.exports=w},28533:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowRight:"ArrowRight",ArrowLeft:"ArrowLeft",PageUp:"PageUp",PageDown:"PageDown",ScrollJump:43});return h.default=C,h.default},A,x),A.exports=w},96712:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({HOVER:"hover",FOCUS:"focus",CLICK:"click",PERSISTENT:"persistent",CLOSE_DEFAULT_DELAY:300,OPEN_DEFAULT_DELAY:500});return h.default=C,h.default},A,x),A.exports=w},41904:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({STANDARD:"standard",ERROR:"error",WARNING:"warning",INFO:"info",SUCCESS:"success"});return h.default=C,h.default},A,x),A.exports=w},42520:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._popoutDepot=new WeakMap}clear(){this._popoutDepot=new WeakMap}delete(_){return this._popoutDepot.delete(_)}get(_){return this._popoutDepot.get(_)}has(_){return this._popoutDepot.has(_)}set(_,v){return this._popoutDepot.set(_,v),this}}return h.default=new C,h.default},A,x),A.exports=w},32979:(A,x,a)=>{var T,w;T=[a(74192),a(2366),a(48133),a(96712)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(){this._currentReferenceNode=null,this._currentPopout=null,this._currentTippyInstance=null,this._handleKeyDownOnReferenceNode=this._handleKeyDownOnReferenceNode.bind(this),this._handleKeyDownOnPopout=this._handleKeyDownOnPopout.bind(this),this._handleClickOnPopout=this._handleClickOnPopout.bind(this),this._handleFocusOutOnPopout=this._handleFocusOutOnPopout.bind(this)}set(r,d,n){this._currentPopout=d,this._currentReferenceNode=r,this._currentTippyInstance=n,this._focusTrap=d._focusTrap,this._currentReferenceNode.addEventListener("keydown",this._handleKeyDownOnReferenceNode),this._currentPopout.addEventListener("keydown",this._handleKeyDownOnPopout),this._currentPopout.addEventListener("click",this._handleClickOnPopout),this._currentPopout.addEventListener("focusout",this._handleFocusOutOnPopout)}_handleFocusOutOnPopout(r){this._currentPopout.contains(r.relatedTarget)||this._currentPopout.removeAttribute(g.FOCUSED)}_handleKeyDownOnPopout(r){if(r.keyCode!==C.TAB)return;const d=h.getKeyboardFocusableElements(this._currentPopout),n=d[0],i=d[d.length-1];let o;d[1]&&(o=d[1]),this._focusTrap?this.focusTrap(r,n,o,i):this.noFocusTrap(r,n,o,i)}_handleKeyDownOnReferenceNode(r){if(r.keyCode===C.TAB){if(r.shiftKey)this._currentPopout.open&&this._currentPopout.trigger!==_.PERSISTENT&&this._currentTippyInstance.hide();else if(this._currentPopout.open){r.preventDefault();const d=this._currentPopout.querySelector(".tippy-box");d&&(d.hasAttribute("data-escaped")||d.hasAttribute("data-reference-hidden"))&&this._currentPopout.referenceNode.scrollIntoView({behavior:"auto",block:"center",inline:"center"});const n=h.getKeyboardFocusableElements(this._currentPopout);h.manageFocus(this._currentPopout,n)}}}_handleClickOnPopout(r){const d=h.getKeyboardFocusableElements(this._currentPopout),n=document.activeElement;h.manageFocus(this._currentPopout,d,n)}focusTrap(r,d,n,i){r.shiftKey?(this._currentPopout.removeAttribute(g.FOCUSED,""),n&&document.activeElement===n?(this._currentPopout.setAttribute(g.FOCUSED,""),d.focus(),r.preventDefault()):d&&document.activeElement===d&&(i.focus(),r.preventDefault()),d===i&&(this._currentPopout.setAttribute(g.FOCUSED,""),d.focus())):(this._currentPopout.removeAttribute(g.FOCUSED,""),i&&document.activeElement===i&&(d&&(this._currentPopout.setAttribute(g.FOCUSED,""),d.focus()),r.preventDefault()))}noFocusTrap(r,d,n,i){r.shiftKey?(this._currentPopout.removeAttribute(g.FOCUSED,""),n&&document.activeElement===n?(this._currentPopout.setAttribute(g.FOCUSED,""),d.focus(),r.preventDefault()):d&&document.activeElement===d&&(this._currentReferenceNode.focus(),r.preventDefault())):(this._currentPopout.removeAttribute(g.FOCUSED,""),i&&document.activeElement===i&&(this._currentReferenceNode.focus(),this._currentPopout.trigger!==_.PERSISTENT&&this._currentTippyInstance.hide()))}freeFocus(){this._currentPopout.contains(document.activeElement)&&(this._currentPopout.removeAttribute(g.FOCUSED,""),this._currentReferenceNode.focus())}remove(){this._currentReferenceNode.removeEventListener("keydown",this._handleKeyDownOnReferenceNode),this._currentPopout.removeEventListener("keydown",this._handleKeyDownOnPopout),this._currentPopout.removeEventListener("click",this._handleClickOnPopout),this._currentPopout.removeEventListener("focusout",this._handleFocusOutOnPopout)}}return v.default=new f,v.default},A,x),A.exports=w},1269:(A,x,a)=>{var T,w;T=[a(42520),a(10035),a(70491),a(41904)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(){this._typesOfPopoutCount={},this._typesOfPopoutCount[_.STANDARD]=0,this._typesOfPopoutCount[_.ERROR]=0,this._typesOfPopoutCount[_.WARNING]=0,this._typesOfPopoutCount[_.INFO]=0,this._typesOfPopoutCount[_.SUCCESS]=0,this._numOfPopouts=0,this._handleWindowBlur=this._handleWindowBlur.bind(this),this._handleKeyPressAndScroll=this._handleKeyPressAndScroll.bind(this),this._screenReaderHelper={}}has(r){return!!h.has(r)}getScreenReaderHelperID(r){return this._screenReaderHelper[r].id}_createSRHelperNode(r){this._typesOfPopoutCount[r.type]=this._typesOfPopoutCount[r.type]+1,this._typesOfPopoutCount[r.type]===1&&(this._screenReaderHelper[r.type]=document.createElement("div"),this._screenReaderHelper[r.type].className=g.CLASSNAME,this._screenReaderHelper[r.type].textContent=r.type===_.STANDARD?g.TEXT:this._getScreenReaderText(r.type),this._screenReaderHelper[r.type].id=this._generateScreenReaderHelperId(r.type),document.body.appendChild(this._screenReaderHelper[r.type]))}_generateScreenReaderHelperId(r){return g[`ID_${r.toUpperCase()}`]}_getScreenReaderText(r){const d=g.TEXT.split(" ");return d.splice(1,0,r),d.join(" ")}add(r,d){this._numOfPopouts=this._numOfPopouts+1,h.set(d,r),this._numOfPopouts===1&&this._attachListenerToDocument()}remove(r,d){h.delete(d),this._numOfPopouts===0&&this._detachListenerFromDocument(),this._typesOfPopoutCount[r.type]===0&&this._screenReaderHelper[r.type]&&(document.body.removeChild(this._screenReaderHelper[r.type]),this._screenReaderHelper[r.type]=null)}getPopout(r){return h.has(r)?h.get(r):null}_handleKeyPressAndScroll(r){r.key==="Escape"&&C._closePopout()}_handleWindowBlur(r){C._closePopout()}_attachListenerToDocument(){this._attachBlurListenerToDocument(),document.addEventListener("keyup",this._handleKeyPressAndScroll),window.addEventListener("scroll",this._handleKeyPressAndScroll)}_detachListenerFromDocument(){this._detachBlurListenerToDocument(),document.removeEventListener("keyup",this._handleKeyPressAndScroll),window.removeEventListener("scroll",this._handleKeyPressAndScroll)}_attachBlurListenerToDocument(){window.addEventListener("blur",this._handleWindowBlur)}_detachBlurListenerToDocument(){window.removeEventListener("blur",this._handleWindowBlur)}setZindex(r){const d=C.calculateZindex(r);d!=="auto"&&(r.style.zIndex=d)}}return v.default=new f,v.default},A,x),A.exports=w},74192:(A,x,a)=>{var T,w;T=[a(48133)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static getKeyboardFocusableElements(v=document){return[...v.querySelectorAll('a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(f=>!f.hasAttribute("disabled"))}static isFocusInsidePopout(v){const f=document.activeElement;return v===f||v.contains(f)}static manageFocus(v,f,u){const r=f[0],d=f[f.length-1];!u||r===d?(v.setAttribute(h.FOCUSED,""),r.focus()):u&&document.activeElement===r&&v.setAttribute(h.FOCUSED,"");let n;return f[1]&&(n=f[1]),{firstFocusableEl:r,secondFocusableEl:n,lastFocusableEl:d}}}return C.default=g,C.default},A,x),A.exports=w},10035:(A,x,a)=>{var T,w;T=[a(38630),a(96712)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{static isElement(f){return f instanceof window.Element||f instanceof window.HTMLElement}static isSelectorValid(f){return f.substring(0,1)==="."}static isReferenceNodeValid(f){return f instanceof window.Element||f instanceof window.HTMLElement||f instanceof window.NodeList&&f.length>0}static observeElementInDom(f){let u,r=document.body.contains(f);const d=new Promise(function(i,o){u=i}),n=new window.MutationObserver(function(i){document.body.contains(f)?r=!0:r&&(r=!1,u(f))});return n.observe(document.body,{childList:!0,subtree:!0}),{promise:d,observer:n}}static _closePopout(){h.hideAll()}static observeReferenceInView(f){const u=new window.MutationObserver(function(r){for(const d of r)d.oldValue===null&&_._closePopout()});return u.observe(f,{attributes:!0,attributeOldValue:!0,subtree:!0,attributeFilter:["data-escaped","data-reference-hidden"]}),u}static stopObservingElement(f){f&&f.disconnect()}static generateUuid(){return"xxxxxxxx".replace(/[xy]/g,function(f){const u=Math.random()*16|0;return(f==="x"?u:u&3|8).toString(16)}).toUpperCase()}static _getElementZindex(f){return window.getComputedStyle(f).getPropertyValue("z-index")}static calculateZindex(f){const u=_.getEffectiveZindex(f.referenceNode),r=_._getElementZindex(f);return u==="auto"||r==="auto"||u<r?"auto":u+1}static getEffectiveZindex(f){let u=0,r,d=!0;for(;f&&_.isElement(f);)r=_._getElementZindex(f),r!=="auto"&&(r=parseInt(r,10),r>u&&(d=!1,u=r)),f=f.parentNode;return d?"auto":u}static isPlacementValid(f){return["top","left","bottom","right","auto"].includes(f)}static isTriggerValid(f){return f===C.CLICK||f===C.HOVER||f===C.PERSISTENT}static isSectionValid(f,u){const r=document.createElement("div");if(r.setAttribute("slot",u),f)switch(typeof f){case"string":return!!f;default:return f.hasChildNodes()||f.textContent||!f.isEqualNode(r)}return!1}static getOppositePlacement(f){return{left:["right","right-start","right-end"],right:["left","left-start","left-end"],bottom:["top","top-start","top-end"],top:["bottom","bottom-start","bottom-end"]}[f]}static getPlacementVariations(f){return[`${f}-start`,`${f}-end`]}static getAltPlacement(f){return{left:["bottom","bottom-start","bottom-end","top","top-start","top-end"],right:["bottom","bottom-start","bottom-end","top","top-start","top-end"],bottom:["right","right-start","right-end","left","left-start","left-end"],top:["right","right-start","right-end","left","left-start","left-end"]}[f]}static getPopperModifiers(f,u=""){let r;const d=["right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end","top","top-start","top-end"];return f==="auto"?r=d:r=_.getPlacementVariations(f).concat(_.getOppositePlacement(f)).concat(_.getAltPlacement(f)),[{name:"preventOverflow",options:{altAxis:u!==C.PERSISTENT,rootBoundary:"viewport"}},{name:"flip",options:{fallbackPlacements:r,allowedAutoPlacements:d,rootBoundary:"viewport",flipVariations:"true"}}]}static isContentOverflow(f){return!!(f&&f.scrollHeight>f.clientHeight)}}return g.default=_,g.default},A,x),A.exports=w},98289:(A,x,a)=>{var T,w;T=[a(48292),a(10710),a(72718),a(55530),a(14231),a(36201)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";const u="mw-progress-indicator",r="var(--mw-backgroundColor-info, #0095ff)";class d extends C{static get properties(){return{value:{type:Number,reflect:!0},size:{type:String,reflect:!0},type:{type:String,reflect:!0},color:{type:String,reflect:!0},border:{type:String,reflect:!0}}}constructor(){super(),this.baseClass=u,this.strokeDash=0,this.strokeGap=0,this.customSize=void 0,this.currentProgress=0,this._view=null,this.strokeClass="mw-stroke-default-color",this._value=null}set type(i){const o=this.type;f.validate(i,"type"),i=i.toLowerCase(),this._type=i,this.requestUpdate("type",o)}get type(){return this._type}set size(i){if(typeof i=="object"&&i!==null){f.validate(i.customSize,"customSize");const o={width:i.customSize+"px",height:i.customSize+"px"};f.addStyles(this,o),this.customSize=i.customSize,this.removeAttribute("size")}else i!==null&&(f.validate(i,"size"),i=i.toLowerCase(),f.removeStyles(this,["width","height"]),this.customSize=void 0,this.setAttribute("size",i));this._view&&(this._view.update(this),this.requestUpdate())}get size(){return this.getAttribute("size")}set border(i){const o=this.border;f.validate(i,"border"),this._border=i,this._view&&(this._view.update(this),this.requestUpdate("border",o))}get border(){return this._border}set value(i){const o=this.value;f.validate(i,"value"),this.setAttribute("aria-valuenow",i),this._value=i,this._view&&(this._view.update(this),this.requestUpdate("value",o))}get value(){let i=this._value;return i===null?null:parseFloat(i)}set color(i){const o=this.color;f.validate(i,"color"),this.strokeClass="mw-stroke-custom-color",this._color=i,this.requestUpdate("color",o),this._view&&(this._view.update(this),this.requestUpdate())}get color(){let i=this._color;return f._isHexaColor(i)?i:r}render(){return this.type=this.type?this.type:v.SPINNER,this.size=this.size?this.size:this.customSize?{customSize:this.customSize}:_.SMALL,this._view=g.createView.call(this),this.currentProgress=this._view.getProgress(),this._view.getView()}shouldUpdate(){return!0}firstUpdated(){const i={role:"progressbar",tabindex:0};this.value===null?(this.setAttribute("indeterminate",""),this.requestUpdate()):this.removeAttribute("indeterminate"),f.addAttributes(this,i),this._view.update(this)}}return h({name:"mw-progress-indicator",widgetClass:d})},A,x),A.exports=w},55530:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({XSMALL:"xsmall",SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge"})},A,x),A.exports=w},14231:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({SPINNER:"spinner"})},A,x),A.exports=w},36201:(A,x,a)=>{var T,w;T=[a(14231),a(55530)],w=a.dj.d(T,function(h,C){"use strict";class g{static _isHexaColor(v){return/^#([0-9A-F]{3}){1,2}$/i.test(v)}static validate(v,f){switch(f){case"size":let u=Object.values(C);if(typeof v!="string"||!u.includes(v.toLowerCase()))throw new Error("Value of "+f+" property should be xsmall/small/medium/large/xlarge");break;case"type":if(typeof v!="string"||v.toLowerCase()!==h.SPINNER)throw new Error("Value of "+f+" property should be spinner");break;case"value":if(isNaN(parseFloat(v))||parseFloat(v)<0||parseFloat(v)>100)throw new Error("Value of "+f+" property should be Number between 0-100");break;case"color":let r=g._isHexaColor(v);if(typeof v!="string"||!r)throw new Error("Value of "+f+" css should be in valid supported css color in hex code");break;case"customSize":if(isNaN(v)||parseFloat(v)<0||v===null)throw new Error("Value of "+f+" should be a Number greater than 0");break;case"border":if(v===void 0||!(v.toString()==="false"||v.toString()==="true"))throw new Error("Value of "+f+" should be a true or false value");break}}static addStyles(v,f){v&&f&&Object.keys(f).length>0&&Object.keys(f).forEach(u=>{v.style[u]=f[u]})}static removeStyles(v,f){if(v&&f&&Array.isArray(f)&&f.length>0){let r=(v.getAttribute("style")||"").split(";");f.forEach(n=>{r=r.filter(i=>i.trim().startsWith(n)===!1)}),r=r.filter(n=>n.trim().length>0);const d=r.join(";");v.setAttribute("style",d)}}static addAttributes(v,f){v&&f&&Object.keys(f).length>0&&Object.keys(f).forEach(u=>v.setAttribute(u,f[u]))}static removeAttributes(v,f){v&&f&&Array.isArray(f)&&f.length>0&&f.forEach(u=>{v.hasAttribute(u)&&v.removeAttributes(u)})}}return g},A,x),A.exports=w},74643:(A,x,a)=>{var T,w;T=[a(31260),a(42425),a(48815),a(55530),a(14231)],w=a.dj.d(T,function(h,C,g,_,v){class f extends g{constructor(r){super(),this.properties=r}getProgress(){super.getProgress();const r=this.properties.customSize||this.properties.size;let d=0;switch(r){case _.XSMALL:d=16;break;case _.SMALL:d=24;break;case _.MEDIUM:d=32;break;case _.LARGE:d=48;break;case _.XLARGE:d=64;break;default:d=this.properties.customSize;break}d=d<=1?2:d,this.outerRadius=d/2;const n=this.outerRadius/4+1,i=n/2;return this.innerRadius=this.outerRadius-i,this.circleAttrs={radius:this.innerRadius,strokeWidth:n,cx:0,cy:0},this.innerRadius=this.outerRadius-n,2*Math.PI*this.circleAttrs.radius}update(){super.update(),this.properties.currentProgress=this.getProgress(),this.properties.strokeGap=this.properties.currentProgress;let r=this.properties.hasAttribute("indeterminate");const d=25;this.properties.strokeDash=r?this.properties.strokeGap*d/100:this.properties.value*this.properties.currentProgress/100}getView(){return super.getView(),this.properties.value<100?h`
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
<g>
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${1}, ${this.properties.strokeDash-1}, ${1}, ${this.properties.strokeGap-1}"></circle>
</g>
${this.properties.border?h`<g class="outer-group">
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
</g>`:""}
</svg>`:h`
<svg class="progressIndicatorSvg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="${-this.outerRadius} ${-this.outerRadius} ${2*this.outerRadius} ${2*this.outerRadius}">
<g>
<circle class="${this.properties.baseClass}-gutter" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.strokeClass}" r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${this.properties.strokeDash}, ${this.properties.strokeGap}" stroke="${this.properties.color}"></circle>
<circle class="${this.properties.baseClass} ${this.properties.baseClass}-border " r="${this.circleAttrs.radius}" cx="${this.circleAttrs.cx}" cy="${this.circleAttrs.cy}" stroke-width="${this.circleAttrs.strokeWidth}"
stroke-dasharray="${0}, ${this.properties.strokeDash}, ${0}, ${this.properties.strokeGap}" ></circle>
</g>
${this.properties.border?h`<g class="outer-group">
<path d="M 0 ${-this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${this.outerRadius} A ${this.outerRadius} ${this.outerRadius} 0 1 0 0 ${-this.outerRadius} Z M 0 ${-this.outerRadius+1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${this.outerRadius-1} A ${this.outerRadius-1} ${this.outerRadius-1} 0 1 1 0 ${-this.outerRadius+1} Z"></path>
<path d="M 0 ${-this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${this.innerRadius} A ${this.innerRadius} ${this.innerRadius} 0 1 0 0 ${-this.innerRadius} Z M 0 ${-this.innerRadius+1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${this.innerRadius-1} A ${this.innerRadius-1} ${this.innerRadius-1} 0 1 1 0 ${-this.innerRadius+1} Z"></path>
</g>`:""}
</svg>`}}return C.setView(v.SPINNER,f),f},A,x),A.exports=w},72718:(A,x,a)=>{var T,w;T=[a(42425),a(48815),a(74643)],w=a.dj.d(T,function(h){"use strict";class C{static createView(){return h.getViewInstance.call(this)}}return C},A,x),A.exports=w},48815:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";class h{getView(){}getProgress(){}update(g,_){}}return h},A,x),A.exports=w},42425:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";const h={};class C{static getViewInstance(){return!!(this.type&&h[this.type]&&h[this.type].call&&h[this.type].apply)?new h[this.type](this):null}static setView(_,v){_&&v&&(h[_]=v)}}return C},A,x),A.exports=w},43707:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(37222),a(94324),a(93809)],w=a.dj.d(T,function(h,C,g,_){return h([],{constructor:function(){this._initializeEndPointsCollection()},_initializeEndPointsCollection:function(){this.endPointsCollection={ROUTER_LEAF_INSECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json",messages:["RouterLogin","CreateAccount","CurrentUser","Login","UpdateAccount","ServiceRegistry","ClientType","AuthorizationDetails","AcquireMatlab"],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},ROUTER_LEAF_SECURE_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},WORKER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!1,iframeProxyUrl:"",pathSuffix:"messageservice/json/secure",messages:[],iframeProxyName:"remoteWorkerProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},WORKER_ASYNC_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"messageservice/async",messages:[],iframeProxyName:"remoteWorkerAsyncProducer",withCredentials:!0,acceptsMessageContainerMessages:!0},USAGE_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"udc/service/v1/events",messages:["UsageDataEventCollection"],iframeProxyName:"remoteUDCProducer",withCredentials:!1,acceptsMessageContainerMessages:!1},HELP_DATA_ROUTER_ENDPOINT:{routingHost:"",routingKey:"",iframeProxy:null,enabled:!0,iframeProxyUrl:"",pathSuffix:"",messages:["HelpDataEventCollection"],iframeProxyName:"doc_center",withCredentials:!1,acceptsMessageContainerMessages:!1}}},reset:function(){this._initializeEndPointsCollection()},setUpNewEndPoint:function(f,u,r,d,n){this.endPointsCollection[f]={routingHost:"",routingKey:"",pathSuffix:r,enabled:u,messages:[],iframeProxy:null,iframeProxyName:d,acceptsMessageContainerMessages:n}},getPathSuffixForEndPoint:function(f){return this.endPointsCollection[f].pathSuffix},setPathSuffixForEndPoint:function(f,u){this.endPointsCollection[f].pathSuffix=u},getEndPointNames:function(){const f={};let u;for(u in this.endPointsCollection)Object.prototype.hasOwnProperty.call(this.endPointsCollection,u)&&(f[u]=u);return f},setRoutingHostAndRoutingKey:function(f,u,r){if(u&&u.lastIndexOf("/")!==u.length-1&&(u+="/"),!_.isAllowed(u))throw new Error("Insecure endpoint.");this.endPointsCollection[f].routingHost=u,r&&(this.endPointsCollection[f].routingKey=r),this._setIframeRoutingHostAndRoutingkey(f)},_setIframeRoutingHostAndRoutingkey:function(f){const u=this.getIframeProxyClientForEndPoint(f);u&&u.setRemotePageHost(this.endPointsCollection[f].routingHost,this.endPointsCollection[f].routingKey,null,this.endPointsCollection[f].iframeProxyUrl,{withCredentials:this.endPointsCollection[f].withCredentials})},getRoutingHost:function(f){return this.endPointsCollection[f].routingHost},getRoutingKey:function(f){return this.endPointsCollection[f].routingKey},getMessageTypesMappedToEndPoint:function(f){return this.endPointsCollection[f].messages},isEndPointEnabled:function(f){return this.endPointsCollection[f].enabled},setMessageTypesToEndPoint:function(f,u){this.endPointsCollection[f].messages=u},enableEndPoint:function(f){this.endPointsCollection[f].enabled=!0},disableEndPoint:function(f){this.endPointsCollection[f].enabled=!1},getEndPointForMessageType:function(f){let u=null,r;for(r in this.endPointsCollection)if(Object.prototype.hasOwnProperty.call(this.endPointsCollection,r)&&(u=C.lastIndexOf(this.endPointsCollection[r].messages,f)>-1?r:u,u)){if(this.isEndPointEnabled(u))break;u=null}return u||this.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT},getRemoteUrlForEndPoint:function(f){let u=this.endPointsCollection[f].routingHost+this.endPointsCollection[f].pathSuffix;return this.endPointsCollection[f].routingKey&&(u=u+"?routingkey="+this.endPointsCollection[f].routingKey),u},setIframeProxyClientForEndPoint:function(f,u){this.endPointsCollection[f].iframeProxy=u},getIframeProxyClientForEndPoint:function(f){let u=this.endPointsCollection[f].iframeProxy;return u||(u=new g(this.endPointsCollection[f].iframeProxyName),this.endPointsCollection[f].iframeProxy=u),u},isEndpointMessageContainerBased:function(f){return f&&this.endPointsCollection[f]?this.endPointsCollection[f].acceptsMessageContainerMessages:!0},addMessagesTypesToEndPoint:function(f,u){this.endPointsCollection[f]&&this.endPointsCollection[f].messages.indexOf(u)===-1&&this.endPointsCollection[f].messages.push(u)},removeMessageTypesFromEndPoint:function(f,u){if(this.endPointsCollection[f]){const r=this.endPointsCollection[f].messages.indexOf(u);r>-1&&this.endPointsCollection[f].messages.splice(r,1)}}})},A,x),A.exports=w},13664:(A,x,a)=>{"use strict";var T,w;T=[a(40923),a(27952),a(33070),a(94324),a(94232),a(77175),a(39985),a(37711),a(46932),a(60409),a(44383),a(63404),a(90290),a(65844),a(70205)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t){const s={reset:function(){let p=[];const E=new v,m=new u({faultManager:E}),y=new f({responseManager:m});s.faultManager=E,s.responseManager=m,s.requestManager=y,s._serviceRegistryLookup=t,s._uploadParameters={};const b=s.proxyClient=new _;s.createUploadIframeTarget=h.hitch(b,b.createUploadIframeTarget),s.cancelUpload=h.hitch(b,b.cancelUpload),n.setIframeProxyClientForEndPoint(n.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,b),n.setIframeProxyClientForEndPoint(n.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,b),r.construct=function(I){return I=I||{},n.getRoutingHost(n.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT)||s.setEndpoint(),I.allowedMessages=p,I.sendMessage=s.sendMessage,I.computeSessionId=s.getComputeSessionId,new d(I)},s.registerEndpointLevelFaultHandler=h.hitch(E,E.registerEndpointLevelFaultHandler),s.sendMessage=h.hitch(y,y.sendMessage),s.sendPayload=i.sendPayload,s.registerDefaultMessageFactory=h.hitch(y,y.registerDefaultMessageFactory),s.deregisterDefaultMessageFactory=h.hitch(y,y.deregisterDefaultMessageFactory),s.registerResponseHandler=h.hitch(m,m.registerResponseHandler),s.deregisterResponseHandler=h.hitch(m,m.deregisterResponseHandler),s.registerFaultHandler=h.hitch(E,E.registerFaultHandler),s.deregisterFaultHandler=h.hitch(E,E.deregisterFaultHandler),s.registerTopLevelFaultHandler=h.hitch(E,E.registerTopLevelFaultHandler),s.deregisterTopLevelFaultHandler=h.hitch(E,E.deregisterTopLevelFaultHandler),s.setServiceEndPoint=function(I,S,R){n.setRoutingHostAndRoutingKey(I,S,R)},s.setServicePathSuffixForEndPoint=function(I,S){n.setPathSuffixForEndPoint(I,S)},s.ignoreTopLevelFault=s.registerTopLevelFaultHandler,s.setComputeToken=function(I){s._uploadParameters.computeToken=I.computeSessionId,y.computeToken=I},s.setWorkerEndpoint=function(I,S){s._uploadParameters.routingKey=S,n.setRoutingHostAndRoutingKey(n.getEndPointNames().WORKER_ENDPOINT,I,S)},s.setEndpoint=function(I){if(!I){const S=s._serviceRegistryLookup.getServiceRegistryEndpoint("primary");S?I=S:(c.info("ServiceRegistryLookup is empty, falling back to localhost"),I="/")}if(!I||I==="/"){const S=(document.getElementsByTagName("base")[0]||{}).href;if(S!==void 0){const R=document.createElement("a");R.display="none",R.href=S,I=R.protocol+"//"+R.hostname+(R.port?":"+R.port:"")+"/"}else I=window.location.protocol+"//"+window.location.host+"/"}n.setRoutingHostAndRoutingKey(n.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT,I),n.setRoutingHostAndRoutingKey(n.getEndPointNames().ROUTER_LEAF_INSECURE_ENDPOINT,I),b.setRemotePageHost(I,void 0,void 0,void 0,{withCredentials:n.endPointsCollection[n.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT].withCredentials})},s.setAllowedMessages=function(I){p=I},s.allowAllMessages=function(){p=[]},s.getEndPoint=function(){return n.getRoutingHost(n.getEndPointNames().ROUTER_LEAF_SECURE_ENDPOINT)},s.getComputeSessionId=function(){return y.computeToken?y.computeToken.computeSessionId:null},s.getWorkerRoutingHost=function(){let I=n.getRoutingHost(n.getEndPointNames().WORKER_ENDPOINT);if(I)return I;if(I=s._serviceRegistryLookup.getServiceRegistryEndpoint("primary"),!I||I==="/"){const S=(document.getElementsByTagName("base")[0]||{}).href;if(S!==void 0){const R=document.createElement("a");R.display="none",R.href=S,I=R.protocol+"//"+R.hostname+(R.port?":"+R.port:"")+"/"}else I=window.location.protocol+"//"+window.location.host+"/"}return I},s.getWorkerRoutingKey=function(){return n.getRoutingKey(n.getEndPointNames().WORKER_ENDPOINT)},s.getDownloadUrlForFile=I=>{if(!I)throw new Error("Invalid input arguments provided!");const S=new C,R=new URL(s.getWorkerRoutingHost()+"download"+I);return i.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),n.getEndPointNames().WORKER_ENDPOINT).then(O=>{O.messages.CreateCsrfTokenResponse.forEach(function(L){L.messageFaults&&L.messageFaults.length>0||(R.searchParams.set("csrfToken",L.csrfToken),S.resolve(R))})}),S},s.upload=function(I,S){return new o().upload(I,S,{endpoint:s.getWorkerRoutingHost(),uploadParams:s._uploadParameters})},s.createWorkerRoutingHostUrl=function(I){return e.createWorkerRoutingHostUrl(I,{host:s.getWorkerRoutingHost(),sessionId:s.getComputeSessionId(),routingKey:s.getWorkerRoutingKey()})},s.getServiceRegistryEndpoint=function(I){return s._serviceRegistryLookup.getServiceRegistryEndpoint(I)},s.enableServerOnWorkerAsync=function(){n.enableEndPoint(n.getEndPointNames().WORKER_ASYNC_ENDPOINT)},s.disableServerOnWorkerAsync=function(){n.disableEndPoint(n.getEndPointNames().WORKER_ASYNC_ENDPOINT)},s.isServerOnWorkerAsyncEnabled=function(){return n.isEndPointEnabled(n.getEndPointNames().WORKER_ASYNC_ENDPOINT)},s.enableServerOnWorker=function(){n.enableEndPoint(n.getEndPointNames().WORKER_ENDPOINT)},s.disableServerOnWorker=function(){n.disableEndPoint(n.getEndPointNames().WORKER_ENDPOINT)},s.isWorkerEndpointEnabled=function(){return n.isEndPointEnabled(n.getEndPointNames().WORKER_ENDPOINT)},s.setWorkerOnlyMessageTypes=function(I){n.setMessageTypesToEndPoint(n.getEndPointNames().WORKER_ENDPOINT,I)},g.after(b,"onError",function(I){I&&E.handleNonTransactionFault(I)},!0),s.createNewEndPoint=function(I,S,R,N,O){this.getEndPointByName(I)||n.setUpNewEndPoint(I,S,R,N,O)},s.getUrlForEndPoint=function(I){return n.getRemoteUrlForEndPoint(I)},s.getEndPointByName=function(I){return n.getEndPointNames()[I]}}};return s.reset(),s},A,x),A.exports=w},60409:(A,x,a)=>{"use strict";var T,w;T=[a(43707)],w=a.dj.d(T,function(h){let C=null;return function(){return C===null&&(C=new h),C}()},A,x),A.exports=w},93617:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return class{constructor(h){this._xhr=null,this._uploadDestinationUrl=h.uploadDestinationUrl,this._computeToken=h.computeToken,this._routingkey=h.routingkey,this._fileDestination=h.fileDestination,this._csrfToken=h.csrfToken,this._postMessage=C=>{h.postMessage(C)}}_postMessageToParent(h){this._postMessage({data:h})}_createFormDataFromFileList(h){const C=new window.FormData,g="uploadFileName";for(let _=0;_<h.length;_++){const v=h[_];C.append(g,v,v.name)}return C}_createAndSendXhr(h){this._xhr=new XMLHttpRequest,this._xhr.upload.onprogress=C=>{this._postMessageToParent({type:"updateProgress",loaded:C.loaded,total:C.total})},this._xhr.onload=()=>{this._postMessageToParent({type:"uploadFinished",status:this._xhr.status,response:this._xhr.response})},this._xhr.onerror=()=>{this._postMessageToParent({type:"uploadError",status:this._xhr.status,response:this._xhr.response})},this._xhr.open("POST","".concat(this._uploadDestinationUrl,"?dest=").concat(this._fileDestination,"&computeToken=").concat(this._computeToken,"&routingkey=").concat(this._routingkey,"&csrfToken=").concat(this._csrfToken),!0),this._xhr.withCredentials=!0,this._xhr.send(h)}handleMessage(h){if(h.data instanceof FileList){const C=this._createFormDataFromFileList(h.data);this._createAndSendXhr(C);return}h.data==="cancelUpload"&&(this._xhr&&this._xhr.abort(),this._postMessageToParent({type:"uploadCanceled"}))}}},A,x),A.exports=w},63404:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(33553),a(96916),a(18917),a(60409),a(44383),a(93617)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return h([],{constructor:function(){},upload:function(d,n,i){const o=this;if(this._uploadHandler=new C(function(){o.postMessageToUploadIframe("cancelUpload"),o._unloadIframe()}),this._workerEndpoint=i.endpoint,d instanceof FileList){let c={csrfToken:void 0,validForMs:void 0};return f.sendPayload(JSON.stringify({messages:{CreateCsrfToken:[{}]}}),v.getEndPointNames().WORKER_ENDPOINT).then(function(t){t.messages.CreateCsrfTokenResponse.forEach(function(E){E.messageFaults&&E.messageFaults.length>0||(c={csrfToken:E.csrfToken,validForMs:E.validForMs})});const s=i.uploadParams,l=s.computeToken,p=s.routingKey;o._initiateUpload(d,{uploadDestinationUrl:o._workerEndpoint+"upload",computeToken:l,routingkey:p,fileDestination:encodeURIComponent(n),csrfToken:encodeURIComponent(c.csrfToken)})}),this._uploadHandler}},_initiateUpload:function(d,n){const i=this;this._eventCallBack=function(o){switch(o.data.type){case"updateProgress":i._uploadHandler.progress({loaded:o.data.loaded,total:o.data.total});break;case"uploadFinished":i._uploadHandler.resolve({status:o.data.status,response:o.data.response}),i._unloadIframe();break;case"uploadError":i._uploadHandler.reject({status:o.data.status,response:o.data.response});break;default:break}},n.postMessage=this._eventCallBack,this._ReplaceUploadIframe=new u(n),this.postMessageToUploadIframe(d)},_unloadIframe:function(){this._ReplaceUploadIframe=null},getHostName:function(d){return _.parseUrl(d).hostname},postMessageToUploadIframe:function(d){this._ReplaceUploadIframe&&this._ReplaceUploadIframe.handleMessage({data:d})}})},A,x),A.exports=w},92318:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return{Eval:["CurrentFolder","ListFolder"],"Eval:Ping":[],"Eval:RunFile":["UpdateFile","CurrentFolder","ListFolder"],"Eval:MlsPublishPre":["UpdateFile"],"FEval:liveEvalInstrumentCode":[],Interrupt:[],"FEval:GetFigures":["CurrentFolder","ListFolder"],"FEval:CloseFigure":["FEval:GetFigures"],"FEval:SelectFigure":["FEval:GetFigures"],"FEval:ResetAxes":["FEval:GetFigures"],"FEval:ResizeFigure":["FEval:GetFigures"],"FEval:AxesInteraction2D":["FEval:GetFigures"],"FEval:AxesInteraction3D":["FEval:GetFigures"],CurrentUser:["ServiceRegistry"],RouterLogin:["ServiceRegistry"],CurrentFolder:["ListFolder"],MoveFile:["CurrentFolder"],Variable:[],CloseFile:["SaveSession"],UpdateFile:["SaveSession"],SaveSession:["UpdateFile"],SaveSessionState:["UpdateFile"],Logout:["CloseFile"],UpdateShare:["ListFolder"],AcquireMatlab:["ServiceRegistry"]}},A,x),A.exports=w},8831:(A,x,a)=>{"use strict";var T,w;T=[a(58340),a(20963),a(27891),a(90290)],w=a.dj.d(T,function(h,C,g,_){"use strict";function v(f){if(!f)throw new Error("Expected a valid url in urlToEmptyJsFile");const u={};u.framedoc=null;const r="error",d=g.get(f,u,!0),n=h.byId(d.id,u.frameDoc),i=C(n,r,function(o){_.info("CheckUrlService detected an error accessing url: "+f),d.handleResponse(null,o),i.remove()});return d.promise}return v},A,x),A.exports=w},94324:(A,x,a)=>{"use strict";var T,w;T=[a(92785),a(41745),a(27952),a(40923),a(33070),a(96916),a(90290),a(8831)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){const d=C([],{constructor:function(){this._messageId=0,this._loaded=!1,this._pendingQueue=[],this._transactions={},this._uploadTargetCallbacks={},this._checkUrl=null,this._loadTimeoutHandle=null,this._checkUrlTimeout=null,this._errorRate=0,this._inFlightTransactions={},this._webSocket=null},setRemotePageHost:function(i,o,c,e){let t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};i=this._combineUriPaths(i||"","/"),o=o||"",e=e||"",this.computeToken=c,this._withCredentials=this._withCredentials||!1,typeof t.withCredentials>"u"||t.withCredentials===null||(this._withCredentials=!!t.withCredentials),!(i===this._host&&o===this._key&&e===this._proxyUrl)&&(this._errorLoading=!1,this._host=i,this._key=o,this._proxyUrl=e,this._cleanupFailureChecks(),this._loaded=!0,this._flushPending())},setLatency:function(i){this._latency=i},setErrorRate:function(i){this._errorRate=i},sendMessage:function(i,o,c){const e=this;let t;this.computeToken&&(c=c||{},c.headers=c.headers||{},c.headers.computeToken=this.computeToken);const s=c||{},l=this._getNewMessageId();t={action:"sendMessage",id:l,endpoint:o,options:s,message:i};function p(){t={action:"abort",id:l},e._postMessage(t)}const E={deferred:new g(p),id:l};return this._errorLoading?E.deferred.reject("Error loading: "+this._url):(this._transactions[l]=E,this._postMessage(t)),E.deferred},_postMessage:function(i){this._loaded?this._postMessageNow(i):this._pendingQueue.push(i)},_handleMessage:function(i){let o,c,e,t;const s=i.data.action;if(!s)throw new Error("Client unable to parse message, no action specified: "+JSON.stringify(i.data));switch(s){case"ready":this._cleanupFailureChecks(),this._loaded=!0,this._flushPending();break;case"sendMessageResponse":this._sendMessageResponse(i);break;case"uploadIframeMessage":o=i.data.id,c=i.data.message,this._uploadTargetCallbacks[o](c);break;case"websocketOpened":this.onWebsocketOpen();break;case"websocketClosed":e=i.data.message,this.onWebsocketClose(e);break;case"websocketMsg":t=i.data.message,this.onWebsocketMsg(t);break;case"websocketError":this.onWebsocketError();break;default:throw new Error("Unknown action: "+s+", data: "+JSON.stringify(i.data))}},_sendMessageResponse:function(i){let o;const c=i.data.id,e=i.data.responseType,t=i.data.message;if(!c||!e)throw new Error("Invalid message: "+JSON.stringify(i.data));const s=this._transactions[c];if(!s)throw new Error("Unknown transaction id: "+c+": "+JSON.stringify(i.data));if(delete this._transactions[c],!s.deferred.isCanceled()){if(e==="success"){try{o=t&&JSON.parse(t)}catch(l){o=t}o=o===""?{}:o,s.deferred.resolve(o);return}this.onError(t),s.deferred.reject(t)}},_cleanupFailureChecks:function(){this._checkUrlTimeout&&clearTimeout(this._checkUrlTimeout),this._loadTimeoutHandle&&clearTimeout(this._loadTimeoutHandle),this._checkUrl&&!this._checkUrl.isFulfilled()&&this._checkUrl.cancel("Timeout Occurred",!1),this._checkUrlTimeout=null,this._loadTimeoutHandle=null,this._checkUrl=null},_handleLoadTimeout:function(){let i;if(this._loaded)return;const o={code:"IframeLoadTimeout",description:"Iframe proxy loading failed due to an HTTP error",message:""},c=this._transactions;this._transactions={},this._pendingQueue=[];for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&c[i].deferred.reject("Timeout: "+this._url+" at "+new Date);this._errorLoading=!0,this.onError(o)},_handleXhrResponse:function(i,o){const c={action:"sendMessageResponse",id:i,responseType:"success",message:o};this._handleMessage({data:c})},_handleXhrFault:function(i,o){const c={action:"sendMessageResponse",id:i,responseType:"fault",message:o};this._handleMessage({data:c})},_sendXHRNow:function(i){let o,c,e,t,s,l,p;const E=i.data.action;if(!E)throw new Error("Unable to parse message, no action specified: "+JSON.stringify(i.data));let m;switch(E){case"sendMessage":if(o=i.data.id,c=i.data.endpoint,t=i.data.options,e=i.data.message,o&&c&&e)try{if(s=new XMLHttpRequest,this._inFlightTransactions[o]={xhr:s},l=!1,s.onreadystatechange=()=>{let y;s.readyState===0?(l=!0,this.handleXhrFault(o,"XHR readyState 0")):s.readyState===4&&!l&&(l=!0,y=s.status||0,y>=200&&y<300||y===304?this._handleXhrResponse(o,s.responseText):this._handleXhrFault(o,s.responseText)),l&&s&&(s.onreadystatechange=this._noop,s=null,delete this._inFlightTransactions[o].xhr,delete this._inFlightTransactions[o])},s.open("POST",c,!0),s.withCredentials=this._withCredentials,s.setRequestHeader("Content-Type",t.contentType?t.contentType:"application/json"),s.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.headers)for(p in t.headers)Object.prototype.hasOwnProperty.call(t.headers,p)&&s.setRequestHeader(p,t.headers[p]);s.send(e)}catch(y){this.handleXhrFault(o,"Unable to send data: "+y.toString())}else throw new Error("Invalid message to send: "+JSON.stringify(i.data));break;case"abort":o=i.data.id,this._inFlightTransactions[o]&&this._inFlightTransactions[o].xhr.abort();break;case"connectWebsocket":m=i.data.url,this._webSocket=new WebSocket(m),this._webSocket.onopen=()=>{this.onWebsocketOpen()},this._webSocket.onmessage=y=>{this.onWebsocketMsg(y)},this._webSocket.onclose=y=>{const b={code:y.code,reason:y.reason,wasClean:y.wasClean};this.onWebsocketClose(b)},this._webSocket.onerror=()=>{this.onWebsocketError()};break;case"websocketSend":this._webSocket.send(i.data.data);break;case"closeWebsocket":this._webSocket.close();break;default:throw new Error("Unknown action: "+E)}},_postMessageNow:function(i){const o=this;let c,e;function t(){if(o._errorRate>0&&Math.random()<o._errorRate&&i.action==="sendMessage"){if(c=i.id,e=o._transactions[c],e){delete o._transactions[c],u.error("Generating simulated error. Request was: ",JSON.stringify(i));const s="403 Forbidden;403";o.onError(s),e.deferred.reject(s)}}else o._sendXHRNow({data:i})}this._latency?setTimeout(t,this._latency):t()},_flushPending:function(){this._pendingQueue.forEach(this._postMessageNow,this),this._pendingQueue=[]},_getNewMessageId:function(){return this._messageId+=1,this._messageId.toString()},onError:function(){},onWebsocketOpen:function(){},onWebsocketMsg:function(){},onWebsocketClose:function(){},onWebsocketError:function(){},_combineUriPaths:function(){return Array.prototype.slice.call(arguments).reduce(function(c,e){return c.length===0?e:(e.length>0&&(e[0]==="/"&&c.lastIndexOf("/")===c.length-1?e=e.substring(1):e[0]!=="/"&&c.lastIndexOf("/")!==c.length-1&&(c+="/")),c+e)})}});return d.WebSocket=C([],{constructor:function(i){const o=this;this.proxyClient=d.WebSocket.proxyClient,this.proxyClient.computeToken&&i.indexOf("?")>=0&&(i=i+"&computeToken="+this.proxyClient.computeToken);const c={action:"connectWebsocket",url:i};this.proxyClient._postMessage(c),v.after(this.proxyClient,"onWebsocketOpen",function(){o.onopen.apply(o,arguments)},!0),v.after(this.proxyClient,"onWebsocketMsg",function(){o.onmessage.apply(o,arguments)},!0),v.after(this.proxyClient,"onWebsocketClose",function(){o.onclose.apply(o,arguments)},!0),v.after(this.proxyClient,"onWebsocketError",function(){o.onerror.apply(o,arguments),o.proxyClient.onError.apply(o.proxyClient,arguments)},!0)},onopen:function(){},onmessage:function(){},onclose:function(){},onerror:function(){},send:function(i){const o={action:"websocketSend",data:i};this.proxyClient._postMessage(o)},close:function(){const i={action:"closeWebsocket"};this.proxyClient._postMessage(i)}}),d},A,x),A.exports=w},46932:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(60273),a(44383)],w=a.dj.d(T,function(h,C,g){return h([C],{_doSend:function(v){return g.sendPayload(v,this.endPointName)}})},A,x),A.exports=w},94232:(A,x,a)=>{"use strict";var T,w;T=[a(37222),a(41745),a(40923)],w=a.dj.d(T,function(h,C,g){return C([],{constructor:function(v){v=v||{},this.faultHandlers=v.faultHandlers||{},this.topLevelHandlers=v.topLevelHandlers||[],this.endPointLevelHandlers=v.endPointLevelHandlers||{}},registerFaultHandler:function(v,f,u){u&&(f=g.hitch(u,f)),this.faultHandlers[v]=f},deregisterFaultHandler:function(v){delete this.faultHandlers[v]},registerTopLevelFaultHandler:function(v,f,u){let r;if(u&&(f=g.hitch(u,f)),g.isString(v)){if(v==="*")return r={matcher:v,handler:f},this.defaultTopLevelHandler=f,r;v=this._constructMatcherFromQuery(v)}return r={matcher:v,handler:f},this.topLevelHandlers.push(r),r},registerEndpointLevelFaultHandler:function(v,f,u,r){r&&(u=g.hitch(r,u)),g.isString(f)&&(f=this._constructMatcherFromQuery(f));const d={matcher:f,handler:u};return this.endPointLevelHandlers[v]||(this.endPointLevelHandlers[v]=[]),this.endPointLevelHandlers[v].push(d),d},deregisterTopLevelFaultHandler:function(v){const f=this.topLevelHandlers.indexOf(v);f>-1?this.topLevelHandlers.splice(f,1):v.matcher==="*"&&delete this.defaultTopLevelHandler},_constructMatcherFromQuery:function(v){const f=v.split("||"),u=[];return f.forEach(function(r){r=g.trim(r),r=r.replace(/([.])/g,"\\$1"),r=r.replace(/\*/g,".*"),u.push(new RegExp("^"+r+"$"))}),function(r){return h.some(u,function(d){return d.test(r.faultCode||r.code||"")})}},handleFault:function(v){let f;const u=function(d,n){let i;const o=v.getMessageClassifier(n);o&&(i=[d,o].join(":"),this.faultHandlers[i]&&this.faultHandlers[i](v.fault,v.context))};for(f in v.requestMessages)if(Object.prototype.hasOwnProperty.call(v.requestMessages,f)){this.faultHandlers[f]&&this.faultHandlers[f](v.fault,v.context);const r=v.requestMessages[f];Array.isArray(r)&&r.forEach(g.hitch(this,u,f))}this.faultHandlers["*"]&&this.faultHandlers["*"](v.fault,v.context),this.endPointLevelHandlers[v.endPointName]?this._handleEndpointLevelFault(v):this._handleTopLevelFault(v)},_handleEndpointLevelFault:function(v){let f=!1;const u=h.filter(this.endPointLevelHandlers[v.endPointName],function(r){return r.matcher.call(this,v.fault,v.context)},this);return u.length>0&&u[0].handler&&(f=!0,u[0].handler.call(this,v.fault,v.context,v)),f},_handleTopLevelFault:function(v){const f=h.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,v.fault,v.context)},this),u=f.length>0?f[0].handler:this.defaultTopLevelHandler;u&&u.call(this,v.fault,v.context,v)},handleNonTransactionFault:function(v){const f=h.filter(this.topLevelHandlers,function(r){return r.matcher.call(this,v)},this),u=f.length>0?f[0].handler:this.defaultTopLevelHandler;u&&u.call(this,v)}})},A,x),A.exports=w},60273:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(55801),a(40923),a(60409),a(37711)],w=a.dj.d(T,function(h,C,g,_,v){return h(v,{constructor:function(u){u=u||{},this.uuid=u.uuid||this._generateUuid()},_getRequest:function(u){const r=_.isEndpointMessageContainerBased(this.endPointName);let d=null;return r?(d={uuid:this.uuid,messages:u},this.computeToken&&(d.computeToken=this.computeToken)):Object.keys(u).forEach(function(i){d=u[i]}),this._sanitizeForJson(d),JSON.stringify(d,null,0)},_sanitizeForJson:function(u){let r;if(g.isArray(u))u.forEach(this._sanitizeForJson,this);else if(g.isObject(u))for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(u[r]===void 0?delete u[r]:(g.isObject(u[r])||g.isArray(u[r]))&&this._sanitizeForJson(u[r]))},_doSend:function(u){return C.post({url:this._getEndpoint(),contentType:"application/json",handleAs:"json",postData:u})},_processResponse:function(u){this.stopTime=new Date().getTime(),u?(u.fault&&(this.fault=u.fault),u.messages?this.responseMessages=u.messages:this.responseMessages=u):this.fault={faultCode:"Connection.Fault",message:"Unable to communicate with server, no response."}},_processFault:function(u){this.stopTime=new Date().getTime(),this.fault={faultCode:"Connection.Fault",message:u}}})},A,x),A.exports=w},77175:(A,x,a)=>{"use strict";var T,w;T=[a(37222),a(41745),a(27952),a(40923),a(60409),a(92318),a(37711)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return C([],{defaultMapping:f,constructor:function(d){d=d||{},this.defaultFactories=d.defaultFactories||{},this.mockHandlers=d.mockHandlers||{},this.mapping=d.mapping||this.defaultMapping,this.responseManager=d.responseManager},registerDefaultMessageFactory:function(d,n,i){i&&(n=_.hitch(i,n)),this.defaultFactories[d]=n},deregisterDefaultMessageFactory:function(d){delete this.defaultFactories[d]},registerMockResponseGenerator:function(d,n,i){const o=this;n=_.hitch(i||this,n),this.mockHandlers[d]=function(c,e){let t;const s=u.construct(e);t=n(c,s),t||(t=new g,t.callback()),t.addCallback(function(){o.responseManager._processResult(s)})}},deregisterMockResponseGenerator:function(d){delete this.mockHandlers[d]},sendMessage:function(d,n,i){const o={},c={};let e,t;n=n||{},this._createAndFillTransactions(d,n,i,o,c);const s=Object.keys(o);for(e=0;e<s.length;e=e+1)t=s[e],this._callMocks(c[t]),o[t].send(),this.responseManager.handleTransaction(o[t])},_getTransaction:function(d,n){return u.construct({context:n,computeToken:this.computeToken,endPointName:d})},_getMockTransaction:function(d,n,i){return u.construct({context:n,computeToken:this.computeToken,endPointName:d,uuid:i})},_createAndFillTransactions:function(d,n,i,o,c){let e,t;const s=function(m){let y,b,I,S,R,N;const O=v.getEndPointForMessageType(m);if(R=o[O],N=c[O],R||(R=this._getTransaction(O,n),N=this._getMockTransaction(O,n,R.uuid),o[O]=R,c[O]=N),this.defaultFactories[m]){if(y=this.defaultFactories[m](R.context),!y)return;b=m.split(":"),I=b[0],S=b.slice(1,b.length).join(":"),this.mockHandlers[m]||R.addRequestMessage(I,y,S),N.addRequestMessage(I,y,S)}};let l,p;for(e in d)if(Object.prototype.hasOwnProperty.call(d,e)){const E=v.getEndPointForMessageType(e);l=c[E],p=o[E],o[E]||(p=this._getTransaction(E,n),l=this._getMockTransaction(E,n,p.uuid),o[E]=p,c[E]=l),t=[e,i].join(":"),this.mockHandlers[e]||this.mockHandlers[t]||p.addRequestMessage(e,d[e],i),l.addRequestMessage(e,d[e],i),this.mapping[t]?this.mapping[t].forEach(s,this):this.mapping[e]&&this.mapping[e].forEach(s,this)}},_callMocks:function(d){let n,i;const o=d.context;delete d.context;const c=function(t,s){let l;const p=n.getMessageClassifier(s);p&&(l=[t,p].join(":"),this.mockHandlers[l]&&this.mockHandlers[l]([s],n))};for(i in d.requestMessages)Object.prototype.hasOwnProperty.call(d.requestMessages,i)&&(n=_.mixin({},d),n.context=o,Object.prototype.hasOwnProperty.call(this.mockHandlers,i)&&this.mockHandlers[i](n.requestMessages[i],n),Array.isArray(n.requestMessages[i])?n.requestMessages[i].forEach(_.hitch(this,c,i)):c(i,n.requestMessages[i]));this.mockHandlers["*"]&&this.mockHandlers["*"](i,n.requestMessages[i],n)}})},A,x),A.exports=w},39985:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(90290),a(60409)],w=a.dj.d(T,function(h,C,g,_){return h([],{constructor:function(f){f=f||{},this.responseHandlers=f.responseHandlers||{},this.faultManager=f.faultManager,this.transactions=f.transactions||[]},registerResponseHandler:function(f,u,r){r&&(u=C.hitch(r,u)),this.responseHandlers[f]=u},deregisterResponseHandler:function(f){delete this.responseHandlers[f]},handleTransaction:function(f){this.transactions.push(f),f.deferred.addCallback(C.hitch(this,this._processAll,f)),f.deferred.addCallback(C.hitch(this,this._processResult,f)),f.deferred.addErrback(C.hitch(this,this._processAll,f)),f.deferred.addErrback(C.hitch(this,this._processFault,f))},_processAll:function(f){const u=this.transactions.indexOf(f);u>=0&&this.transactions.splice(u,1)},_processResult:function(f){f.getResponseMessageTypes().forEach(function(u){const r=f.responseMessages[u],d=[];try{Array.isArray(r)&&(r.forEach(function(n){let i;const o=f.getMessageClassifier(n);if(o){i=[u,o].join(":");const c=this;let e=!1;f.getRequestMessageTypes().forEach(function(t){const s=f.requestMessages[t];Array.isArray(s)?s.forEach(function(l){c.responseHandlers[i]&&l.uuid===n.uuid&&(c.responseHandlers[i]([n],f.context),e=!0)}):c.responseHandlers[i]&&s.uuid===n.uuid&&(c.responseHandlers[i]([n],f.context),e=!0)}),e||d.push(n)}else d.push(n)},this),d.length>0&&this.responseHandlers[u]&&this.responseHandlers[u](d,f.context),this.responseHandlers["*"]&&this.responseHandlers["*"](u,f.responseMessages[u],f.context))}catch(n){g.error(`Remote: Fault occurred while processing response.
Message: `+n.message+`
Type: `+u+`
Response: `+JSON.stringify(r,null,2))}},this),this._processUdcResponses(f),f.fault&&this.faultManager.handleFault(f)},_processUdcResponses:function(f){if(!_.isEndpointMessageContainerBased(f.endPointName)){const r=Object.keys(f.requestMessages)[0];this.responseHandlers[r]&&this.responseHandlers[r](f.responseMessages)}},_processFault:function(f){this.faultManager.handleFault(f)}})},A,x),A.exports=w},37711:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(27952),a(40923),a(60409),a(56662)],w=a.dj.d(T,function(h,C,g,_,v){return h([],{constructor:function(u){u=u||{},this.requestMessages=u.requestMessages||{},this.responseMessages=u.responseMessages||{},this.context=u.context,this.computeToken=u.computeToken,this.uuidClassifierMap=u.uuidClassifierMap||{},this.endPointName=u.endPointName||null,this.allowedMessages=u.allowedMessages||[],this.ignoreMessageTypes=u.ignoreMessageTypes||[],this.sendMessage=u.sendMessage},addRequestMessage:function(u,r,d){if(!r)return;const n=_.isEndpointMessageContainerBased(this.endPointName);this.requestMessages[u]||(this.requestMessages[u]=[]),g.isArray(r)?r.forEach(function(i){this.addRequestMessage(u,i,d)},this):n?(r.uuid=r.uuid||this._generateUuid(),d&&(this.uuidClassifierMap[r.uuid]=d),this.requestMessages[u].push(r)):this.requestMessages[u]=r,this.requestMessages=this._filterMessages(this.requestMessages)},_filterMessages:function(u){const r={};return this.getRequestMessageTypes().forEach(function(d){(this.allowedMessages.length===0||this.allowedMessages.indexOf(d)>=0)&&(r[d]=u[d])},this),r},getResponseMessageTypes:function(){let u;const r=[];for(u in this.responseMessages)Object.prototype.hasOwnProperty.call(this.responseMessages,u)&&r.push(u);return r},getRequestMessageTypes:function(){let u;const r=[];for(u in this.requestMessages)Object.prototype.hasOwnProperty.call(this.requestMessages,u)&&r.push(u);return r},getMessageClassifier:function(u){return u&&u.uuid&&Object.prototype.hasOwnProperty.call(this.uuidClassifierMap,u.uuid)?this.uuidClassifierMap[u.uuid]:""},send:function(){this._removeEmptyMessages(),this._isEmpty(this.requestMessages)?(this.deferred=new C,this.deferred.callback()):(this.startTime=new Date().getTime(),this.deferred=this._doSend(this._getRequest(this.requestMessages)),this.deferred.addCallback(this,this._processResponse),this.deferred.addErrback(this,this._processFault))},addIgnoreMessageType:function(u,r){if(this.getRequestMessageTypes().indexOf(u)>-1)if(r){let d;for(d in this.uuidClassifierMap)Object.prototype.hasOwnProperty.call(this.uuidClassifierMap,d)&&r&&this.uuidClassifierMap[d]===r&&this.ignoreMessageTypes.push(u+":"+r)}else this.ignoreMessageTypes.push(u)},_removeEmptyMessages:function(){if(!this._isEmpty(this.requestMessages)){let u;for(u in this.requestMessages)Object.prototype.hasOwnProperty.call(this.requestMessages,u)&&g.isArray(this.requestMessages[u])&&v.getArrayLength(this.requestMessages[u])===0&&delete this.requestMessages[u]}},_isEmpty:function(u){let r;for(r in u)if(Object.prototype.hasOwnProperty.call(u,r))return!1;return!0},_generateUuid:function(){return v.generateUuid()}})},A,x),A.exports=w},93382:(A,x,a)=>{"use strict";var T,w;T=[a(5464),a(18917),a(93809)],w=a.dj.d(T,function(h,C,g){let _=!1;const v={};v._serviceData={},v.getServiceRegistryEndpoint=function(r){if(v._serviceData.serviceregistry){let d;const n=v._serviceData.serviceregistry.length;for(d=0;d<n;d+=1)if(v._serviceData.serviceregistry[d].name===r)return v._serviceData.serviceregistry[d].endpoint}return""};const f=function(d){let n=C.parseQueryString().mre;if(n){const i=new URL(n,window.location.href);if(g.isAllowed(i)){n=i.href;let o=d.serviceregistry;o=Array.isArray(o)?o:[];let c=!1;o.forEach(e=>{e.name&&e.name==="primary"&&(e.endpoint=n,c=!0)}),c||(o.push({name:"primary",endpoint:n}),d.serviceregistry=o)}}return d},u={_doXhr:function(d,n){return h(d,{handleAs:"json",failOk:!0,method:"GET",timeout:15e3,sync:n})},_reset:function(){_=!1,v._serviceData={}},load:function(d,n,i){if(_)i(v);else{const o=!n.async;u._doXhr("/serviceregistrylookup/1/service",o).then(function(c){c instanceof Object||(c={}),v._serviceData=f(c),_=!0,i(v)},function(){v._serviceData=f({}),_=!0,i(v)})}}};return u},A,x),A.exports=w},65844:(A,x,a)=>{"use strict";var T,w;T=[a(90290)],w=a.dj.d(T,function(h){const C=/^(?:[a-z]+:)?\/\//i,g=["localhost","127.0.0.1","[::1]"];return{createWorkerRoutingHostUrl:function(v,f){if(v==="about:blank")return v;let u=v,r="",d="";const n=f.host,i=f.sessionId,o=f.routingKey;let c=!0;try{if(r=new URL(n),this.isAbsoluteUrl(v))if(d=new URL(v),d.origin&&g.includes(d.hostname)){const e=d.pathname;u=new URL(e,r).href,d.search&&(d.searchParams.has("mre")&&d.searchParams.delete("mre"),u=u+d.search)}else d.origin&&d.hostname!==r.hostname&&(c=!1);else v&&v.startsWith("/")?u=r+v.substr(1,v.length):u=r+v;return c?(u=new URL(u),u.searchParams.set("mre",r),o&&i&&(u.search+="&routingkey="+o+"&computeToken="+encodeURIComponent(i)),u.href):u}catch(e){h.error("Input URL is malformed")}return u},isAbsoluteUrl:function(v){return!!C.test(v)}}},A,x),A.exports=w},93809:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){const h=["localhost","127.0.0.1","[::1]"];return{isAllowed(C){return C instanceof URL||(C=new URL(C)),this._checkIfSameOrigin(C.origin)||this._checkIfMathWorksAllowedDomain(C.hostname)||this._checkIfAllowedLocalHost(C.hostname)},_checkIfSameOrigin:C=>C===window.location.protocol+"//"+window.location.host,_checkIfMathWorksAllowedDomain:C=>{const g=C;for(const _ of[".matlab.com",".mathworks.com",".mathworks.cn",".mwcloudtest.com"])if(g.endsWith(_))return!0;return!1},_checkIfAllowedLocalHost:C=>!!h.includes(C)}},A,x),A.exports=w},44383:(A,x,a)=>{"use strict";var T,w;T=[a(60409),a(27952)],w=a.dj.d(T,function(h,C){const g=function(v,f,u){return h.getIframeProxyClientForEndPoint(f).sendMessage(v,h.getRemoteUrlForEndPoint(f),u)};return{sendPayload:function(v,f,u){const r=new C;return g(v,f,u).then(function(n){r.resolve(n)}),r}}},A,x),A.exports=w},46008:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(63416)],w=a.dj.d(T,function(h,C){return h([],{constructor:function(_){_.stateMachine=this,this.state=new C(_)},start:function(){this.state.enter()},stop:function(){this.state.exit()},_changeState:function(_,v){this.state.enter(_,v)},onEnterState:function(_){},onExitState:function(_){}})},A,x),A.exports=w},35413:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(33070),a(90290),a(48393)],w=a.dj.d(T,function(h,C,g,_,v){return h(v,{constructor:function(){this.connection={}},enable:function(){C.isFunction(this.context[this.name])&&(this.cachedFunction=this.context[this.name]),this.connection=g.after(this.context,this.name,C.hitch(null,this.triggerHandler,this.name),!0)},disable:function(){this.connection.remove(),this.cachedFunction&&(this.context[this.name]=this.cachedFunction)}})},A,x),A.exports=w},29072:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(17279),a(90290),a(48393)],w=a.dj.d(T,function(h,C,g,_,v){return h(v,{constructor:function(){const u=this.name.split(" ");(u.length<2||u[0]!=="subscribe")&&_.error("Invalid trigger name for a MessageTrigger. Could not parse out the message name."),this.messageId=u[1]||"",this.subscrition={}},enable:function(){this.subscription=g.subscribe(this.messageId,C.hitch(null,this.triggerHandler,this.name))},disable:function(){this.subscription.remove()}})},A,x),A.exports=w},47743:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(90290),a(13664),a(48393)],w=a.dj.d(T,function(h,C,g,_,v){return h(v,{constructor:function(){const u=this.name.split(" ");(u.length<2||u[0]!=="response"&&u[0]!=="fault")&&g.error("Invalid trigger name for a RemoteTrigger. Could not parse out the type of handler."),(!_.registerResponseHandler||!_.registerFaultHandler)&&g.error("The remote package is not available, this type of trigger will not work."),this.messageId=u[1]||"",this.handlerType=u[0]},enable:function(){this.handlerType==="response"?_.registerResponseHandler(this.messageId,C.hitch(null,this.triggerHandler,this.name)):_.registerFaultHandler(this.messageId,C.hitch(null,this.triggerHandler,this.name))},disable:function(){this.handlerType==="response"?_.deregisterResponseHandler(this.messageId):_.deregisterFaultHandler(this.messageId)}})},A,x),A.exports=w},63416:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(90290),a(35413),a(29072),a(47743),a(11020),a(14046)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){let d;return d=h([],{constructor:function(i){this.stateMachine=i.stateMachine||{_changeState:function(){},onEnterState:function(){},onExitState:function(){}},this.namespace=i.namespace||"",this.name=i.name||this.getDefaultName(),this.context=i.context||{},this.data=i.data||{},this.composition=i.composition||"XOR",this.defaultSubstate=i.defaultSubstate||"",this.constructSubstates(i.substates),this.constructTriggersAndTransitions(i.transitions),this.active=i.active||!1},getDefaultName:function(){let i,o;return this.namespace.length>0?(i=this.namespace.split("."),o=i.pop()):g.warn("State: state name is not specified."),o||""},constructSubstates:function(i){const o={};let c,e;for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e=i[c],e.name&&e.name!==c&&g.error("State: error constructing substate: "+c+", the specified names don't match: "+e.name),e.name=c,e.namespace=e.namespace||[this.namespace,this.name].join("."),e.stateMachine=e.stateMachine||this.stateMachine,e.context=e.context||this.context,o[e.name]=new d(e));this.substates=o},constructTriggersAndTransitions:function(i){let o;const c={},e=[];let t;for(o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t=this.constructTrigger(o),t&&e.push(t),c[o]=this.constructTransition(o,i[o]));this.transitions=c,this.triggers=e},constructTrigger:function(i){let o,c;const e=i.split(" ");return e.length===2?e[0]==="subscribe"?c=v:e[0]==="response"||e[0]==="fault"?c=f:e[0]==="timeout"&&(c=u):(i!=="onEnterState"||i!=="onExitState")&&(c=_),c&&(o=new c({name:i,context:this.context,triggerHandler:C.hitch(this,this.handleTrigger)})),o},constructTransition:function(i,o){let c,e;return(C.isFunction(o)||C.isString(o)||C.isArray(o))&&(i==="onEnterState"||i==="onExitState"?(c=o,o={},o.action=c,o.target=""):(e=o,o={},o.target=e)),o.state=this,new r(o)},enter:function(i,o){this.active||(this.active=!0,this.enableTriggers(),this.stateMachine.onEnterState(this.name),this.handleTrigger.apply(this,["onEnterState"].concat(o))),i?this.changeSubstates(i,o):this.changeToDefaultSubstate(o)},exit:function(){const i=this.activeSubstates();this.active=!1,this.disableTriggers(),i.forEach(function(o){o.exit()}),this.handleTrigger("onExitState"),this.stateMachine.onExitState(this.name)},enableTriggers:function(){this.triggers.forEach(function(i){i.enable()})},disableTriggers:function(){this.triggers.forEach(function(i){i.disable()})},handleTrigger:function(i){let o,c;this.transitions[i]&&(c=Array.prototype.slice.call(arguments,1,arguments.length),o=this.transitions[i].handleTrigger(i,c),o&&(C.isString(o)||(c=o.args,o=o.target),this.stateMachine._changeState(o,c)))},changeSubstates:function(i,o){const c=this.activeSubstates();this.substates[i]&&(c.length>=0&&c[0].name!==i&&c.forEach(function(e){e.exit()}),this.substates[i].enter(void 0,o))},changeToDefaultSubstate:function(i){this.activeSubstates().length===0&&this.substates[this.defaultSubstate]&&this.substates[this.defaultSubstate].enter(void 0,i)},activeSubstates:function(){const i=[];let o;for(o in this.substates)Object.prototype.hasOwnProperty.call(this.substates,o)&&this.substates[o].active&&i.push(this.substates[o]);return i}}),d},A,x),A.exports=w},11020:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(90290),a(48393)],w=a.dj.d(T,function(h,C,g,_){return h(_,{constructor:function(){const f=this.name.split(" ");(f.length<2||f[0]!=="timeout")&&g.error("Invalid trigger name for a TimeoutTrigger. Could not parse out the type of handler."),this.timeoutInSeconds=parseFloat(f[1]),this.handlerType=f[0]},enable:function(){this.disable(),this.timeoutHandle=setTimeout(C.hitch(null,this.triggerHandler,this.name),this.timeoutInSeconds*1e3)},disable:function(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=null)}})},A,x),A.exports=w},14046:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(40923),a(90290)],w=a.dj.d(T,function(h,C,g){return h([],{constructor:function(v){this.state={},this.target="",this.condition=null,this.action=null,h.safeMixin(this,v)},handleTrigger:function(v,f){let u="";return this.checkCondition(v,f)&&(this.runAction(v,f),u=this.getTarget(v,this.target,f)),u},checkCondition:function(v,f){return this.condition?C.hitch(this.state.context,this.condition).apply(null,[v,this.state.data].concat(f)):!0},runAction:function(v,f){let u;const r=this;this.action&&(u=C.hitch(this.state.context,this.action),u.apply(null,[v,r.state.data].concat(f)))},getTarget:function(v,f,u){let r,d,n,i;if(C.isString(f))d=f;else if(C.isFunction(f))n=C.hitch(this.state.context,f),d=n.apply(null,[v,this.state.data].concat(u));else if(C.isArray(f))for(r=0;r<f.length;r+=1){if(d=this.getTarget(v,f[r],u),C.isString(d)){d={target:d},C.mixin(d,i);break}if(d&&d.target){C.mixin(d,i);break}i=d||{}}else g.warn("Transition: improper target: ",f);return d}})},A,x),A.exports=w},48393:(A,x,a)=>{"use strict";var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h([],{constructor:function(g){this.name="",this.context={},this.triggerHandler=g.triggerHandler||function(){},h.safeMixin(this,g)},enable:function(){},disable:function(){}})},A,x),A.exports=w},21190:(A,x,a)=>{var T,w;T=[a(20963),a(69872),a(61437),a(49819),a(66745),a(58563),a(75759),a(46860),a(49145),a(37756),a(51891),a(34378),a(91179),a(89019),a(62377),a(44795),a(54322),a(66065),a(88577),a(66296),a(72240),a(37999),a(60330),a(31115),a(86517),a(546),a(78647),a(79541),a(45330)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b,I,S,R,N,O,L,U){"use strict";var z={};const $={IdController:C,GeometryController:g,Scroll:_,TableResize:v,EventsController:f,DoubleClickController:u,ColConfigController:r,EditControllerProxy:d,HeaderEditController:n,AttributesController:i,CustomKeyController:o,DisableController:c};class W{constructor(K,M={}){this._events=[],this._eventMap={},this.resizeHandler=this.resizeHandler.bind(this);let B=!1;const P=this._viewModel=O.setViewModel(S,R,K,b),k=O._generateUuid();P.setState(e.protected.WIDGET_ID,k),M.widgetId=k,typeof M.keepSorted!="boolean"&&(M.keepSorted=!1),M.selectionConfig&&typeof M.selectionConfig.selectionById=="boolean"&&(B=M.selectionConfig.selectionById);const H=N.getRowHeaderConfig(M);P.setState(e.protected.testId,"__MW_TABLE__"+M.dataTestId),P.setState(e.protected.SORT_BEHAVIOUR,M.keepSorted),B&&(P.setState(e.protected.TABLE_SELECTION_BY_ID,!0),P.setState(e.protected.INIT_CUSTOM_PROPS_FUNC,U.initTableColumnProps),P.setState(e.protected.UPDATE_CUSTOM_PROPS_FUNC,U.updateTableColumnProps)),P.setRowHeaderConfig(H);const Y=M.freezeColumnConfig&&M.freezeColumnConfig.range?M.freezeColumnConfig:null;U.validateAndSetFreezeColumnConfig(Y,P),O.setupRegistration(this,P);const Q=(this._tableView=O.initializeTableView(P,K,$,t,M)).registry;O.mixinFacade(this,Q),O.facadeListeners(this,Q)}registerRenderer(K,M){O.registerRenderer(this,this._viewModel,K,M)}registerEditor(K,M){O.registerEditor(this,this._viewModel,K,M)}get domNode(){return this._tableView.domNode}startup(){const K=l.SYNC;this._tableView.renderTable(),this._viewModel.setRenderType(K)}destroy(){this._events.forEach(K=>{K.remove()}),this._tableView.removeTable(this._container),this._eventMap=null,this._viewModel=null,this._tableView=null}on(K,M){const B=h(this._eventMap[K],K,M);return this._events.push(B),B}resizeHandler(){this._tableView.throttledResize()}focus(){this._tableView.focus()}editCell(){this.focus();const K=this._tableView.domNode;this._editCell({container:K})}static range(){return b.range()}static get FEATURE(){return t.AVAILABLE}static get gridStyle(){return s.public_enum}static get compare(){return I.compare}static get REORDER(){return p.AVAILABLE}static get TOOLTIP(){return E.PUBLIC}static get DRAGTOSELECT(){return L}static get PLATFORMS(){return y.exposed}static get KEYS(){return m}}return z.default=W,z.default},A,x),A.exports=w},58587:(A,x,a)=>{var T,w;T=[a(37999),a(70348),a(89019),a(98339),a(79424),a(90290)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r=function(i,o){return i<o?-1:i>o?1:0},d=function(i,o){const c=r(i.rows.start,o.rows.start);return c===0?r(i.rows.end,o.rows.end):c};class n{static fitRangeToBounds(o,c,e){const t={rows:{},columns:{}};return e.rows.start>o||e.columns.start>c||e.rows.end<0||e.columns.end<0?null:(t.rows.start=Math.max(Math.min(e.rows.start,o),0),t.columns.start=Math.max(Math.min(e.columns.start,c),0),t.rows.end=e.rows.end===1/0?1/0:Math.max(Math.min(e.rows.end,o),t.rows.start),t.columns.end=e.columns.end===1/0?1/0:Math.max(Math.min(e.columns.end,c),t.columns.start),h.range().setRows(t.rows.start,t.rows.end).setColumns(t.columns.start,t.columns.end))}static getActiveCell(o){let c=o.getStateByKey(g.protected.ACTIVE_CELL);return c||(c={value:null,rangeList:[h.range().setRows(0,0).setColumns(0,0)]}),c}static getActiveCellRange(o){const c=o.getStateByKey(g.protected.ACTIVE_CELL);return c?c.rangeList[0]:[]}static getFocusedCell(o){const c=o.getStateByKey(g.protected.FOCUSED);return c?c.rangeList[0]:null}static isActiveCellEmpty(o){return!!(o==null||Array.isArray(o)&&o.length===0)}static getValidStartPoint(o=0){return o<0?0:o}static isCellInRanges(o,c,e){if(Array.isArray(o)){if(o.length===0)return!1;const t=h.range().setRows(c,c).setColumns(e,e);return h.isRangeInsideRangeList(t,o)}else return Object.keys(o).indexOf(c)>-1}static isRangeVisible(o,c){return!c||!o?!1:h.isRangeInside(c,o)}static isIdInSelections(o,c){return o in c}static getSelectionCountByRanges(o){let c;const e=(s,l)=>l?h.isRowRange(l)?(c=C.rangeType.ROW,s+l.rows.count):h.isColumnRange(l)?(c=C.rangeType.COLUMN,s+l.columns.count):(c=C.rangeType.CELL,s+l.rows.count*l.columns.count):s;return{count:o.reduce(e,0),type:c}}static getSelectionCountByIDs(o){return{count:Object.keys(o).length,type:"rows"}}static areSelectionRangesDifferent(o,c){let e=!0;return c.length===o.length&&(c.sort(d),o.sort(d),e=o.reduce((t,s,l)=>t||!h.isRangeEqual(s,c[l]),!1)),e}static areSelectionIdsDifferent(o,c){return!v.deepEqual(o,c)}static isDataTransferValid(o){if(!o)return!1;const c=o.types;if(!Array.isArray(c)||c.length===0)return!1;const e=c[0];return!(!e||!o.getData(e))}static getDataTransferString(o){if(!o)return"dataTransfer is null";const c=o.types;if(!c||c.length===0||!c[0])return"dataTransfer has no mime types";let e="";for(let t=0;t<c.length;t++){const s=c[t],l=o.getData(s);e+=" type = "+s+" value = "+l}return e}static getRangeAsString(o){function c(e){let t="";return e&&e.rows&&e.columns&&(t="[R"+e.rows.start+","+e.rows.end,t+="|C"+e.columns.start+","+e.columns.end,t+="|T"+e.columns.count*e.rows.count+"]"),t}if(!o)return"range undefined";if(o.length){let e="";for(let t=0;t<o.length;t++)e+=t+"="+c(o[t])+",";return e}return c(o)}static getFirstVisibleColumn(o,c,e){let t=o.getFirstVisibleColumn();const s=c.getColumnCount()-1,l=o.getLastBufferedColumn();if(s===l){const p=o.getBoundingRect().left;for(const E in e)if(e[E].left-p<=0&&e[E].right-p>0){t=Number(E);break}}return t}static _removeOverlappingHighlights(o){if(o.sort((c,e)=>c.start<e.start||c.start===e.start&&c.start+c.count>e.start+e.count?-1:1),o.length>1){let c=1;for(;c<o.length;){const e=o[c-1];o[c].start<e.start+e.count?o.splice(c,1):c+=1}}}static async isSearchEmpty(o){const c=h.range().setRows(0,0).setColumns(0,0);return!(await o.getRangeForQuery({metaData:{type:"cell",key:"searchHighlight"}},{range:c,position:"next"})).range}static _getNavigableNodeData(o,c,e){let t;typeof o.dataStore.getLocalCellMetaData=="function"&&(t=o.dataStore.getLocalCellMetaData(...c));let s=0;return t&&t.searchHighlight&&(this._removeOverlappingHighlights(t.searchHighlight.matches),s=t.searchHighlight.matches.length),t?{index:c,columnDataIndex:o.viewModel._columnDataMapper.getMappedViewIndicesForDataIndex(c[1])[0],matchCount:s,nextMatchIndex:e===_.NEXT?0:s-1,currentMatchIndex:e===_.NEXT?-1:s,label:o.dataStore.getLocalCellData(...c),direction:""}:{}}static _areAllMatchesInNodeNavigated(o,c){return c===_.NEXT?o.nextMatchIndex>o.matchCount-1:o.nextMatchIndex<0}static async _getHighlightMetaData(o,c,e){const[t,s]=e,l=h.range().setRows(t,t).setColumns(s,s);return await o.dataStore.getRangeForQuery({metaData:{type:"cell",key:"searchHighlight"}},{range:l,position:c})}static async _setNextNavigableEntryData(o,c,e){const[t,s]=e;if(o.dataStore.dataSize===void 0)return;const l=await o.dataStore.dataSize.rows.end,p=await o.dataStore.dataSize.columns.end;c===_.PREV?[t,s]<_.origin?e=[l,p]:s<0&&(e=[t-1,p]):t===l&&s>p?e=o.indexToBeginNavigation:s>p&&(e=[t+1,o.indexToBeginNavigation[1]]);let E=await this._getHighlightMetaData(o,c,e);if(Object.keys(E).length===0){let y;c===_.PREV?y=[l,p]:y=o.indexToBeginNavigation,E=await this._getHighlightMetaData(o,c,y)}const m=[E.range.rows.start,E.range.columns.start];this._setNodeToNavigate(o,m,c)}static _setNodeToNavigate(o,c=void 0,e="next"){o.nodeToNavigate=c!==void 0?this._getNavigableNodeData(o,c,e):{}}static async _setConfigFirstNavigation(o,c,e){let t=_.origin;c!==void 0&&(t=[c.rows.start,c.columns.start]),await this._setNextNavigableEntryData(o,e,t),o.indexToBeginNavigation=_.origin,o.isFirstNavigation=!1}static async setConfigNavigation(o,c,e){o.isFirstNavigation&&await this._setConfigFirstNavigation(o,c,e);let t=0;if(e===_.NEXT&&o.nodeToNavigate.direction===_.PREV?t=_.matchIndexOffset:e===_.PREV&&o.nodeToNavigate.direction===_.NEXT&&(t=-_.matchIndexOffset),o.nodeToNavigate.nextMatchIndex+=t,c!==void 0){const p=[c.rows.start,c.columns.start];await this._setNextNavigableEntryData(o,e,p)}const s=o.nodeToNavigate.index,l=o.dataStore.getLocalCellMetaData(...s);o.nodeToNavigate.matchCount=_.defaultMatchCount,l&&l.searchHighlight&&(this._removeOverlappingHighlights(l.searchHighlight.matches),o.nodeToNavigate.matchCount=l.searchHighlight.matches.length)}static async searchNavigate(o,c){if(this._areAllMatchesInNodeNavigated(o.nodeToNavigate,c)){const[e,t]=o.nodeToNavigate.index,s=c===_.NEXT?[e,t+1]:[e,t-1];await this._setNextNavigableEntryData(o,c,s),o.nodeToNavigate.currentMatchIndex=o.nodeToNavigate.nextMatchIndex,o._setNavigationDataAndUpdateView(o.nodeToNavigate),o.nodeToNavigate.nextMatchIndex=c===_.NEXT?o.nodeToNavigate.nextMatchIndex+1:o.nodeToNavigate.nextMatchIndex-1}else o.nodeToNavigate.currentMatchIndex=c===_.NEXT?o.nodeToNavigate.currentMatchIndex+1:o.nodeToNavigate.currentMatchIndex-1,o._setNavigationDataAndUpdateView(o.nodeToNavigate),o.nodeToNavigate.nextMatchIndex=c===_.NEXT?o.nodeToNavigate.nextMatchIndex+1:o.nodeToNavigate.nextMatchIndex-1}}return u.default=n,u.default},A,x),A.exports=w},16938:(A,x,a)=>{var T,w;T=[a(60794),a(89019)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{constructor(f){super(),this._viewModel=f.viewModel}eventList(){return{}}setDefaultColumnWidth(f){f=Math.max(0,f),isNaN(f)||this._viewModel.setState(C.COL_WIDTH,f)}setDefaultRowHeight(f){f=Math.max(0,f),isNaN(f)||this._viewModel.setState(C.ROW_HEIGHT,f)}}return g.default=_,g.default},A,x),A.exports=w},3378:(A,x,a)=>{var T,w;T=[a(60794),a(79424),a(89019),a(97154),a(66296),a(16355),a(58587)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=i=>i.ctrlKey||i.meta||i.metaKey;class n extends h{constructor(o){super(),this._viewModel=o?o.viewModel:null;const c=o?o.options:null,e=c?c.clipboardConfig:null;this._onCutCallback=C.toPromise,this._onCopyCallback=C.toPromise,this._isLocalServer=null,e&&(e.onCut&&(this._onCutCallback=e.onCut),e.onCopy&&(this._onCopyCallback=e.onCopy),e.isLocalServer!==null&&(this._isLocalServer=e.isLocalServer||!1),this._onPasteCallback=e.onPaste,this._onFailureCallback=e.onFailure,this._onSuccessCallback=e.onSuccess),this._onFailure=this._onFailure.bind(this),this._onSuccess=this._onSuccess.bind(this),this._events={}}eventList(){const o={};return o[_.internal.TABLE_KEY_PRESS]=c=>this._handleKeyPress(c),o[_.internal.CLIPBOARD_COPY]=c=>{this._handleCopyEvent(c)},o[_.internal.CLIPBOARD_CUT]=c=>{this._handleCutEvent(c)},o[_.internal.CLIPBOARD_PASTE]=c=>{this._handlePasteEvent(c)},o}_handleKeyPress(o){const c=o.event;if(d(c))switch(c.keyCode){case v.C:c.nativeEvent&&c.nativeEvent.preventDefault(),this._handleCopyEvent(c);break;case v.X:c.nativeEvent&&c.nativeEvent.preventDefault(),this._handleCutEvent(c);break;case v.V:break}}cut(){this._handleCutEvent(null)}copy(o=null){if(u.isDataTransferValid(o)){this._serviceWrite(o);return}this._handleCopyEvent(null)}paste(){this._handlePasteEvent()}_handleCutEvent(o){this._isEditing()||this._getCutData().then(c=>{this._serviceWrite(c)})}_handleCopyEvent(o){this._isEditing()||this._getCopyData().then(c=>{this._serviceWrite(c)})}_handlePasteEvent(o){this._isEditing()||this._serviceRead(o)}_getCutData(){return this._onCutCallback()}_getCopyData(){return this._onCopyCallback()}_onSuccess(o){const c=this._onSuccessCallback;c&&c(o)}_onFailure(o){const c=this._onFailureCallback;c&&c(o)}_getServiceConfig(){let o={};return this._isLocalServer&&(o={isLocalServer:this._isLocalServer}),o}_serviceRead(o){if(!this._onPasteCallback)return;const c=f.getInstance(this._getServiceConfig()),e=o&&o.event&&o.event.nativeEvent;c.read({event:e}).then(t=>{const{dataTransfer:s,status:l,message:p}=t;this._onPasteCallback(s),this._onSuccess({status:l,message:p})}).catch(t=>this._onFailure(t))}_serviceWrite(o){if(!u.isDataTransferValid(o))return;f.getInstance(this._getServiceConfig()).write({dataTransfer:o}).then(this._onSuccess).catch(e=>this._onFailure(e))}_isEditing(){if(this._viewModel){if(this._viewModel.getStateByKey(g.protected.EDIT_STATE))return!0;const c=this._viewModel.getStateByKey(g.protected.EDIT_PROCESSING);return c&&c.value?c.value:!1}return!1}_getSelectionRangeList(){if(this._viewModel){const o=this._viewModel.getStateByKey(g.protected.SELECTED);if(o)return o.rangeList}return null}}return r.default=n,r.default},A,x),A.exports=w},78594:(A,x,a)=>{var T,w;T=[a(60794),a(89019),a(27499),a(71831),a(37999),a(79424),a(46860),a(97154),a(85944),a(69436),a(1241),a(93961),a(49330)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){"use strict";var e={};class t extends h{constructor(p){super();const{dragAndDropConfig:E}=p.options;this._viewModel=p.viewModel,this._dataStore=p.dataStore,this._logicalViewPort=p.viewPortList[0],this.dragAndDropConfig=E,this._handleColumnDrop=this._handleColumnDrop.bind(this),this._removeDragInProgress=this._removeDragInProgress.bind(this),this._handleRowDrop=this._handleRowDrop.bind(this),this._handleDragInProgress=this._handleDragInProgress.bind(this),this._viewModel.setState(C.dragAndDrop,!0),E&&this._setDnDMod(E,p.options),this._widget=this._viewModel.getStateByKey(C.protected.WIDGET_TYPE).value,this._widgetRowDnd=this._widget===C.protected.TYPE.TREETABLE?new n:new d,this._widgetRowDnd.setConfig(p);const m=this._widget===C.protected.TYPE.TABLE?i():new o(this._widgetRowDnd),y=this._widget===C.protected.TYPE.TABLE?i():new c(this._widgetRowDnd);this._viewModel.setState(C.protected.ROW_DND_UTIL,m),this._viewModel.setState(C.protected.OUTSIDE_ROW_DND_UTIL,y)}eventList(){const p={};return p[r.internal.COLUMN_REORDERED]=this._handleColumnDrop,p[r.internal.ROW_DROPPED]=this._handleRowDrop,p[r.internal.DRAG_STARTED]=this._handleDragInProgress,p[r.internal.DRAG_END]=this._removeDragInProgress,p}_setDnDMod(p,E){const{setDragDataBySelection:m,mode:y,setAvatar:b,canDrag:I,canDrop:S,onDrop:R}=p;this._viewModel.setState(C.setDragData,m||!1),this._viewModel.setState(C.setAvatar,b||!1),this._viewModel.setState(C.dragAffordance,p.dragAffordance!==void 0?p.dragAffordance:!0),m&&this._viewModel.setState(C.dragRows,!0),I&&this._viewModel.setState(C.protected.CAN_DRAG,I),S&&this._viewModel.setState(C.protected.CAN_DROP,S);const N=s(y);R&&this._setDropFromExternal(R,S,N),N.columns&&this._setColumnReorder(E.initializedControllers),N.reorderRows&&this._viewModel.setState(C.protected.REORDER_ROWS,!0),!N.reorderRows&&N.reparentRows&&this._viewModel.setState(C.protected.REPARENT_ROWS,!0)}_setDropFromExternal(p,E,m){if(!p||typeof p!="function")return;typeof E!="function"&&(E=()=>!0);const y=_.wrapFunctionWithViewModel(p,this._viewModel),b=_.wrapFunctionWithViewModel(E,this._viewModel);this._viewModel.setState(C.receiveDrop,{onDrop:y,canDrop:b,dropType:m})}_setColumnReorder(p){this._viewModel.setState(C.dragColumns,!0),this.columnController||p.map(E=>{E.map(m=>{m instanceof u&&(this.columnController=m)})},this)}_handleColumnDrop(p){const{colIndex:E,targetIndex:m,headerMeta:y}=p.event,b=this._getNextState(E,m,y),I=this._getColumnDropObjectForEmit(p.event);this._emitDropEvent(r.exposed.DROP_IN_PROGRESS,I),f.convertSyncFunctionToPromise(()=>this.columnController.columnReorder(p.event)).then(()=>this._processAfterReorder(b,I),()=>this._emitDropEvent(r.exposed.DROP_FAILED,I)).finally(this._removeDragInProgress)}_getColumnDropObjectForEmit(p){const{columnId:E,targetIndex:m}=p;return{source:{type:"column",ids:[E]},target:{type:"column",index:m}}}_emitDropEvent(p,E){this.emit(p,E)}_processAfterReorder(p,E){p&&this._updateSelection(p),this._emitDropEvent(r.exposed.DROP_COMPLETED,E)}_handleRowDrop(p){this._widgetRowDnd.dropInProgress=!0,this._widgetRowDnd.putData(p.event).then(this._handleSuccessResult.bind(this)).finally(this._removeDragInProgress)}_handleDragInProgress(p){const E=p?p.event:null;this._viewModel.setState(C.dragInProgress,E)}_removeDragInProgress(){this._viewModel.deleteState(C.dragInProgress)}_getNextState(p,E,m){const y=this._viewModel.getStateByKey(C.protected.SELECTED);if(!y)return;const{value:b,rangeList:I}=y;if(b!==C.SELECT_CELLS||!I||I.length<=0)return;const S=g.getFirstIndexAfterReorder(p,E,m),{endIndex:R}=g.getColRangeIndicesForView(S,m),N=this._logicalViewPort.getFirstVisibleRow(),O=v.range().setRows(N,N).setColumns(S,S),L=v.range().setEntireColumns(S,R);return{activeCell:O,activeRange:L}}_updateSelection(p){const{activeCell:E,activeRange:m}=p;this._viewModel.setState(C.protected.FOCUSED,null,[E]),this._viewModel.setState(C.protected.ACTIVE_CELL,null,[E]),this._viewModel.setState(C.protected.SELECTED,C.SELECT_CELLS,[m]),this._viewModel.setState(C.ACTIVE_RANGE,m)}_handleSuccessResult(p){const{dropSuccessInfo:E,dropFailInfo:m}=p;m.forEach(y=>{this.emit(r.exposed.DROP_FAILED,y)}),E&&this.emit(r.exposed.DROP_COMPLETED,E),this._widgetRowDnd.dropInProgress=!1}}e.default=t;function s(l=[]){return l.reduce((p,E)=>(p[E]=!0,p),{})}return e.default},A,x),A.exports=w},28092:(A,x,a)=>{var T,w;T=[a(60794),a(79424),a(37999),a(58587),a(9747),a(89019),a(97154)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d{constructor(i){const o=new h;this.dataStore=i.dataStore,this.on=o.on.bind(o),this.viewModel=i.viewModel,this._emit=o.emit.bind(o),this._tableView=i.tableView,this._focusById=this._shouldFocusBeIdDriven(i),this._logicalViewPort=i.viewPortList[0],this._events={},this._resizeSelection=!1,this._rowCellRects=()=>({}),this._headerRects=()=>({})}_shouldFocusBeIdDriven(i){return!!(i.options&&i.options.selectionConfig&&i.options.selectionConfig.selectionById)}isFocusManagedById(){return!!this._focusById}getFocusedCellRange(i,o){return v.getRangeFromId(this.dataStore,i,o)}eventList(){const i={};return i[u.protected.TABLE_CELL_CLICK]=o=>this._emit(u.protected.CELL_FOCUS_CLICK,o.event),i[u.protected.TABLE_CELL_FOCUS]=o=>this._emit(u.protected.CELL_FOCUS_CLICK,o.event),i[u.internal.TABLE_KEY_PRESS]=o=>this._processAndEmitKeyPress(o),i[u.protected.ROW_SELECTION_CLICK]=o=>this._rowHeaderWithFocus(o),i[u.protected.CELL_DOM_FOCUS_CACHE]=this._cacheFocusToOuterWrapper.bind(this),i[u.protected.RESIZE_SELECTION_BEGIN]=o=>this._handleResizeBegin(o),i[u.protected.RESIZE_SELECTION_END]=o=>this._handleResizeEnd(o),i[u.protected.ROW_CELL_RECTS]=o=>this._setRowCellRects(o),i}_setRowCellRects(i){this._rowCellRects=i.event.children}_handleResizeBegin(i){this._resizeSelection=!0}_handleResizeEnd(i){this._resizeSelection=!1}_rowHeaderWithFocus(i){const o=i.event.row,c=this.getFocusState();let e;if(c)e=c.rangeList[0].columns.start;else{const s=this._rowCellRectsHeaderFallback({row:o});e=_.getFirstVisibleColumn(this._logicalViewPort,this.viewModel,s)}const t=g.range().setRows(o,o).setColumns(e,e);this._setFocus(t)}_rowCellRectsHeaderFallback(i){const o=this._rowCellRects(i);return Object.keys(o).length===0&&i.row!==void 0&&i.col===void 0?this._headerRects():o}_processAndEmitKeyPress(i){const o=i.event,c={keyCode:o.keyCode},e=_.getActiveCell(this.viewModel),t=e.rangeList[0],s=e.value;c.modifiers=o,c.dataSize={},c.viewPort={},c.dataSize=i.dataSize,c.viewPort=i.viewPort.rangeList[0],c.range=t&&t.rows?t:null,c.row=s,this._emit(u.protected.CELL_FOCUS_KEY,c)}_removeFocus(){this.viewModel.deleteState(f.protected.FOCUSED),this.viewModel.deleteState(f.protected.ACTIVE_CELL)}_setFocus(i,o){if(this._resizeSelection)return;const c=C.curry(_.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),e=g.range().setRows(i.rows.start,i.rows.start).setColumns(i.columns.start,i.columns.start),t=c(e);let s=null,l=null;o&&(s={id:o},l=o),this.viewModel.setState(f.protected.FOCUSED,l,[t]),this.viewModel.setState(f.protected.ACTIVE_CELL,s,[t])}_setAsyncFocus(i){C.convertSyncFunctionToPromise().then(()=>this._setFocus(i))}_isFocusRangeValid(){return!!(this.getFocusState()&&this.getFocusState().rangeList.length&&this.getFocusState().rangeList[0]!==null)}_cacheFocusToOuterWrapper(){return this._tableView.focus()}getRowIdForIndex(i){const o=[g.range().setRows(i,i)];return this.dataStore.getRowIds(o).then(c=>c[0])}setFocusState(i){if(this._focusById&&!i)return this._removeFocus();const o=i.range,c=i.row&&i.row.id?i.row.id:void 0;if(!o)throw this._removeFocus(),new Error(`The usage of range argument ${o} is not correct in setCellFocus API. Please check JSDoc to see the correct usage.`);if(this.viewModel.deleteState(f.protected.PENDING_FOCUS_FUNC),Array.isArray(o)&&!this._focusById)return o.length===0?this._removeFocus():_.isRangeVisible(o[0],this.viewModel.viewBuffer.rangeList[0])?this._setFocus(o[0],c):this.viewModel.setState(f.protected.PENDING_FOCUS_FUNC,this._setAsyncFocus.bind(this),o);if(c===void 0&&this._focusById)this._lastRequestedAsyncFocusState=i,this.getRowIdForIndex(o[0].rows.start).then(e=>{if(this._lastRequestedAsyncFocusState===i)return i.row={id:e},_.isRangeVisible(o[0],this.viewModel.viewBuffer.rangeList[0])?this._setFocus(o[0],c):this.viewModel.setState(f.protected.PENDING_FOCUS_FUNC,this._setAsyncFocus.bind(this),o)});else if(this._focusById)return this._setFocus(o[0],c)}getFocusState(){return this.viewModel.getStateByKey(f.protected.FOCUSED)||void 0}}return r.default=d,r.default},A,x),A.exports=w},37425:(A,x,a)=>{var T,w;T=[a(60794),a(97154),a(89019)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super(),this._viewModel=u.viewModel,this._handleHeaderMenu=this._handleHeaderMenu.bind(this),this._viewModel.setState(g.protected.HEADER_MENU_AFFORDANCE,!0)}eventList(){const u={};return u[C.protected.HEADER_CLICKED]=this._handleHeaderMenu,u}_handleHeaderMenu(u){const r={top:u.event.bottomRect,left:u.event.leftRect,columnIndex:u.event.columnIndex};this.emit(C.protected.HEADER_CLICKED,r)}}return _.default=v,_.default},A,x),A.exports=w},8044:(A,x,a)=>{var T,w;T=[a(60794),a(89019),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super(),this.viewModel=u.viewModel,this._handleResizeDone=this._handleResizeDone.bind(this),this.viewModel.setState(C.colResize,!0)}setConfig(u){if(!u)return;const r=u&&u[C.protected.FIT_LAST_COLUMN]===!0,d=u&&u[C.protected.COLLAPSE_COLUMN]===!0,n=u&&u[C.protected.RESIZE_PCT_METADATA_HEADERS]===!0;if(r||d||n){const i={[C.protected.FIT_LAST_COLUMN]:r};d&&(i[C.protected.COLLAPSE_COLUMN]=d),this.viewModel.setState(C.colResize,i),this.viewModel.setState(C.protected.RESIZE_PCT_METADATA_HEADERS,n)}}eventList(){const u={};return u[g.protected.COL_RESIZE]=r=>this.emit(g.protected.COL_RESIZE,r.event),u[g.internal.COL_RESIZE_DONE]=r=>this._handleResizeDone(r),u}_updatePagedHeader(u,r){const d=this.viewModel.getColumnHeaders(),n={value:r,unit:"px"};d.length===0?this.viewModel.setColumnMetaData("width",n,u):d[u].width=n}setColumnResize(u){const{width:r,column:d}=u;this.viewModel.setState(C.COLUMN_RESIZED,!0),typeof d=="number"&&this._updatePagedHeader(d,r)}_handleResizeDone(u){const r={sizes:u.event};this.emit(g.internal.COL_RESIZE_DONE,r)}}return _.default=v,_.default},A,x),A.exports=w},60763:(A,x,a)=>{var T,w;T=[a(89019)],w=a.dj.d(T,function(h){"use strict";var C={};class g{constructor(v){this._viewModel=v.viewModel,this._viewModel.setState(h.displayRowHeader,!0),this._viewModel.setState(h.rowHeaderWidth,0),this._viewModel.setState(h.DISPLAY_ROW_HEADER_INDICES,!0)}setConfig(v){v&&v&&v[h.DISPLAY_ROW_HEADER_INDICES]===!1&&this._viewModel.setState(h.DISPLAY_ROW_HEADER_INDICES,!1)}eventList(){return{}}}return C.default=g,C.default},A,x),A.exports=w},15746:(A,x,a)=>{var T,w;T=[a(60794),a(97154),a(29619)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super();const r=new h;this._emit=r.emit.bind(r),this.on=r.on.bind(r),this._handleScrollChanged=this._handleScrollChanged.bind(this),this._viewModel=u.viewModel,this._logicalViewPort=u.viewPortList[0]}eventList(){const u={};return u[C.internal.TABLE_SCROLL]=this._handleScrollChanged,u}_handleScrollChanged(){const u=this.getScrollComponentDimensions(),r=this._viewModel.getStateByKey("scrollPositionChanged").value;this._viewModel.getStateByKey("ScrollChangeOnKeyPress").value===!0?(this._viewModel.setState("ScrollChangeOnKeyPress",!1),this._emit(C.internal.SCROLL_CHANGED,u)):r===!1&&this._emit(C.internal.SCROLL_CHANGED,u)}scrollToPosition(u){const{scrollHeight:r,clientHeight:d,scrollWidth:n,clientWidth:i}=this.getScrollComponentDimensions(),o=r-d,c=n-i;if(!isNaN(u.scrollTop)){const e=Math.max(0,Math.min(u.scrollTop,o));this._logicalViewPort.setScrollTopPx(e)}if(!isNaN(u.scrollLeft)){const e=Math.max(0,Math.min(u.scrollLeft,c));this._logicalViewPort.setScrollLeftPx(e)}}getScrollComponentDimensions(){return this._logicalViewPort.getScrollComponentDimensions()}}return _.default=v,_.default},A,x),A.exports=w},23760:(A,x,a)=>{var T,w;T=[a(98339),a(89019),a(58587),a(90290)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(r){this.viewModel=r.viewModel,this.viewModel.setState(C.displaySearch,!0),this.dataStore=r.dataStore,this.view=r.tableView,this._indexToBeginNavigation=h.origin,g._setNodeToNavigate(this,this._indexToBeginNavigation,h.NEXT),this._isFirstNavigation=!0}get isFirstNavigation(){return this._isFirstNavigation}set isFirstNavigation(r){this._isFirstNavigation=r}get indexToBeginNavigation(){return this._indexToBeginNavigation}set indexToBeginNavigation(r){this._indexToBeginNavigation=r}async search(r){this.dataStore.search(r)}clearSearch(){this._isFirstNavigation=!0,g._setNodeToNavigate(this),this._setNavigationDataAndUpdateView({}),this.dataStore.clearSearch()}async nextSearchOccurrence(r){return typeof this.dataStore.getRangeForQuery!="function"?(_.warn("Datastore instance should have getRangeForQuery function for search navigation to work."),{}):await g.isSearchEmpty(this.dataStore)?{}:(await g.setConfigNavigation(this,r,h.NEXT),await g.searchNavigate(this,h.NEXT),this.nodeToNavigate.direction=h.NEXT,{index:this.nodeToNavigate.index})}async prevSearchOccurrence(r){return typeof this.dataStore.getRangeForQuery!="function"?(_.warn("Datastore instance should have getRangeForQuery function for search navigation to work."),{}):await g.isSearchEmpty(this.dataStore)?{}:(await g.setConfigNavigation(this,r,h.PREV),await g.searchNavigate(this,h.PREV),this.nodeToNavigate.direction=h.PREV,{index:this.nodeToNavigate.index})}_setNavigationDataAndUpdateView(r){this.viewModel.setState(C.SEARCH_NAVIGATION_DATA,r)}eventList(){return{}}}return v.default=f,v.default},A,x),A.exports=w},83664:(A,x,a)=>{var T,w;T=[a(37999),a(60794),a(97154),a(89019)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends C{constructor(r){super(),this._viewModel=r.viewModel,this._viewModel.setState(_.protected.SORTABLE,!0),this._viewModel.setState(_.protected.CLEAR_SORT,!1),this._updateColumnSortState=this._updateColumnSortState.bind(this),this._viewModel.on(g.internal.DATA_SORTED,this._updateColumnSortState.bind(this))}setConfig(r){r&&r[_.protected.CLEAR_SORT]===!0&&this._viewModel.setState(_.protected.CLEAR_SORT,!0)}eventList(){const r={};return r[g.protected.SORT_AFFORDANCE_CLICKED]=d=>this.emit(g.protected.TABLE_COLUMN_SORT,d.event),r[g.internal.COLUMN_REORDERED]=()=>this._removeColumnSortState(),r}sortColumn(r={}){const{columnIndex:d,order:n}=r;n===void 0||isNaN(d)||d<0||(n===""?this._viewModel.sort([r]):(this.setSortIndicator(r),this._viewModel.sort([r])))}_removeColumnSortState(){const r=this._viewModel.getStateByKey(_.protected.SORTED);if(r&&r.rangeList){const d=r.rangeList[0].columns.start;this._viewModel.deleteColumnMetaData(_.protected.SORTED,d)}}_addColumnSortState(r,d){const n={order:d},i=h.range().setEntireColumns(r);this._viewModel.setColumnMetaData(_.protected.SORTED,n,r),this._viewModel.setState(_.protected.SORTED,d,[i])}setSortIndicator(r={}){let{columnIndex:d,order:n}=r;d=Number(d),Object.keys(r).length===0?(this._removeColumnSortState(),this._viewModel.deleteState(_.protected.SORTED)):!isNaN(d)&&d>=0&&n&&(this._removeColumnSortState(),this._addColumnSortState(d,n))}_updateColumnSortState(r){if(this._removeColumnSortState(),r.sorted.length===0)return;const{columnIndex:d,order:n}=r.sorted[0];d>=0&&this._addColumnSortState(d,n)}}return v.default=f,v.default},A,x),A.exports=w},85944:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._dataStore=null,this._viewModel=null,this.dropInProgress=!1}setConfig(_){this._dataStore=_.dataStore,this._viewModel=_.viewModel}}return h.default=C,h.default},A,x),A.exports=w},69436:(A,x,a)=>{var T,w;T=[a(37881),a(89019),a(43952),a(85786)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(){this._dataStore=null,this._viewModel=null,this._defaultType=g.TREETABLE_DEFAULT_TYPE,this.dropInProgress=!1}setConfig(r){this._dataStore=r.dataStore,this._viewModel=r.viewModel}expandNode(r){this._dataStore.expand([{id:r.id}])}getTreeColumnWidth(){return this._viewModel.getStateByKey(C.protected.TREE_COLUMN_INFO).value.maxWidth||0}hasHorizontalScroll(){const r=this._viewModel.getStateByKey(C.VIEWPORT_CONTAINER).value;return r.scrollWidth>r.clientWidth}getRowMetaDataFn(){return this._viewModel.getStateByKey(C.protected.ROW_METADATA).value}getCurrentRowMetaData(r){const d={};return r===null?(d.path=[],d):this.getRowMetaDataFn()[0](r)._dataMetaData.metaData}getNodeValue(r){return this.getRowMetaDataFn()[0](r).value}getNodeInfo(r,d){if(r&&d===h.TREETABLE_ROW){const n=parseInt(r.getAttribute("data-row"));return this.getNodeValue(n)}return{id:null}}isInternalDrag(){const r=this._viewModel.getStateByKey(C.dragInProgress).value,d=r?r.dragItem:null;return!!(d&&d.getDataByType(this._defaultType))}getDropTarget(r){let d,n;return r&&r.length>1?(d=r[r.length-2],n={proxyNode:{id:d},type:h.TREETABLE_ROW}):n={proxyNode:{id:null},type:h.TREETABLE},n}getOptions(r,d){const n={};return r===g.REORDER.INSERT_BELOW?n.place="after":r===g.REORDER.INSERT_ABOVE?n.place="before":n.place=d.type==="TREETABLE"?"last":"first",n.node={id:d.proxyNode.id},n}handleDataMove(r,d,n,i){const o=this.getOptions(n,d);let c=d;return i&&(c=this.getDropTarget(i)),this.moveData(r,c,o)}putData(r){const{proxyNodes:d,currentNodeInfo:n}=r;let{path:i,nextSibling:o,target:c,insertionPosition:e}=n;switch(e){case g.REORDER.INSERT_AS_CHILD:return this.handleDataMove(d,c,e);case g.REORDER.INSERT_ABOVE:return this.handleDataMove(d,c,e,i);case g.REORDER.INSERT_BELOW:if(_.isNextSiblingItsChild(n)){const t=o.rowNode,s=this.getNodeInfo(t.firstElementChild,c.type),l=this.getCurrentRowMetaData(t.firstElementChild.getAttribute("data-row")).path||[];return c={proxyNode:{id:s.id},type:c.type},this.handleDataMove(d,c,g.REORDER.INSERT_ABOVE,l)}return this.handleDataMove(d,c,e,i)}}_isNodeInDragList(r,d){return r.some(i=>i===d.id)}_addReferenceRowInfo(r,d){return d&&["before","after"].includes(d.place)&&(r.referenceRow=d.node,r.insertionPosition=d.place),r}_finishDataUpdate(r){let{resolve:d,movedNodeIds:n,failedReasons:i,target:o,referenceRow:c}=r;const e=[],t={type:o.type};o.proxyNode.id!==null&&(t.proxyNode=o.proxyNode),o=this._addReferenceRowInfo(t,c),i.forEach(l=>{const p=_.createProxyNodesWithIds(l.ids);e.push({source:{proxyNodes:p,type:h.TREETABLE_ROW},target:o,error:l.error})});let s;n.length!==0&&(s={source:{proxyNodes:_.createProxyNodesWithIds(n),type:h.TREETABLE_ROW},target:o}),d({dropSuccessInfo:s,dropFailInfo:e})}_saveNodeInfo(r,d){const{movedNodeIds:n,failedReasons:i,nodeId:o,isSuccess:c}=r;if(c)n.push(o);else{let e=i.find(t=>t.error.reason===d.reason);e||(e={ids:[],error:{reason:d.reason,message:d.message}},i.push(e)),e.ids.push(o)}}moveData(r,d,n){const i=[],o=[],c=[],e=[],t=_.getIdsFromProxyNodes(r);return new Promise((s,l)=>{t.forEach(p=>{const E=this._dataStore.getParentNode({id:p}).then(m=>{const y=m?m.node:{id:null};if(!(y!==null&&this._isNodeInDragList(t,y))){const I=this._dataStore.move({id:p},{id:d.proxyNode.id},n).then(this._saveNodeInfo.bind(this,{nodeId:p,isSuccess:!0,movedNodeIds:c,failedReasons:e}),this._saveNodeInfo.bind(this,{nodeId:p,isSuccess:!1,movedNodeIds:c,failedReasons:e}));o.push(I)}});i.push(E)}),Promise.all(i).then(()=>{Promise.all(o).then(()=>{this._finishDataUpdate({resolve:s,movedNodeIds:c,failedReasons:e,target:d,referenceRow:n})})})})}}return v.default=f,v.default},A,x),A.exports=w},15632:(A,x,a)=>{var T,w;T=[a(80263),a(97154),a(9747),a(85786),a(51348),a(37999),a(21428)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d extends h{constructor(i){super(i),this.viewModel.setState(v.SELECT_ROW_HEADERS,!0),this._currentContinuousSelectionIdList=null,this.selectionChangedEventWaitForCtrlA=!!(i&&i.options&&i.options.selectionConfig&&i.options.selectionConfig.selectionChangedEventWaitForCtrlA)}_getActiveCell(){const i=_.getActiveCell(this.viewModel);return i.value=i.value&&i.value.id,i}eventList(){const i=super.eventList();return i[C.protected.FORCE_LAYOUT]=()=>this._emit(C.internal.EMIT_SELECTION_EVENT),i}_setFocusActiveCell(i,o){const c=this.viewModel.getStateByKey(v.protected.ROW_METADATA),e=o.rows.start,t=c.value[0](e).value;this.viewModel.setState(v.protected.ACTIVE_CELL,t.id,[i]),this.viewModel.setState(v.protected.FOCUSED,t.id,[o])}_updateSelectionFromDataStore(i){this.setSelectionState(i.selectedIds)}getSelectionState(){const i=super.getSelectionState();return i&&i.value?i.value:[]}_getCellSelectionKeyEventInfo(i,o){const c=o.event;return c.modifiers=o.event,c.dataSize=o.dataSize,c.viewPort=o.viewPort.rangeList[0],c.rowId={id:i.value},i.rangeList&&i.rangeList.length>0&&(c.row=i.rangeList[0].rows.start),c}_emitSelectedActionEvent(){this._emit(C.protected.TABLE_SELECTED_ACTION,{selection:this.getSelectionState()})}_handleDoubleClick(){this._emit(C.protected.TABLE_SELECTED_ACTION,{selection:this.getSelectionState()})}_getSelectedItemsList(){const i=this.viewModel.getStateByKey(v.protected.SELECTED);return i?i.value:[]}getRowIdForIndex(i){if(isNaN(i)||i<0)return Promise.resolve(void 0);const o=[f.range().setRows(i,i)];return this.dataStore.getRowIds(o).then(c=>c[0])}setIndividualRow(i){this._currentContinuousSelectionIdList=null;const o=i?[i]:null;this._setPivot(i),this._doesDataStoreSupportSelection?Array.isArray(o)?this.dataStore.setSelectionByIds(o):this.dataStore.setSelectionByIds([]):this.setSelectionState(o)}_setPivot(i){i&&(this.viewModel.setState(v.protected.PIVOT,i),this.viewModel.deleteState(v.treetable.POTENTIAL_PIVOT))}isRowSelected(i){return this.getSelectedIdIndex(i)}getSelectedIdIndex(i){return this._getSelectedIdList().indexOf(i)}_getSelectedIdList(){const i=this.viewModel.getStateByKey(v.protected.SELECTED);return i?i.value:[]}_setFocusedActiveCellStates(i){g.getRangeFromId(this.dataStore,i.id,i.column).then(c=>{if(c)this._setPivot(i.id),u.setFocusedActiveCellStates(this.viewModel,this._hasCellFocus,{range:c,id:i.id,column:i.column});else throw new Error("The updateFocusTo cell specified is not in the view.")})}setSelectionState(i){Array.isArray(i)?(i.length===0?this.viewModel.setState(v.treetable.SELECTION_CLEARED,!0):this.viewModel.setState(v.treetable.SELECTION_CLEARED,!1),this.viewModel.setState(v.protected.SELECTED,i)):(this.viewModel.setState(v.protected.SELECTED,[]),this.viewModel.deleteState(v.treetable.SELECTION_CLEARED))}setSelection(i,o={}){const{updateFocusTo:c}=o;u.isUpdateFocusToIdValid(c,i)&&this._setFocusedActiveCellStates(c),this._doesDataStoreSupportSelection?this.dataStore.setSelectionByIds(i):this.setSelectionState(i)}setAllRows(){if(this.selectionChangedEventWaitForCtrlA===!0)return this._setRangeSelection(0,1/0);this._setRangeSelection(0,1/0)}setContiguousRows(i){return this._getPivotInView().then(o=>{if(o){this._setPivot(o.id);const c=Math.min(o.index,i.rows.start),e=Math.max(o.index,i.rows.start);return this._setRangeSelection(c,e)}else return this._getPivotId(this.viewModel.dataSize.rows.start).then(c=>{this._setPivot(c),this._setRangeSelection(this.viewModel.dataSize.rows.start,this.viewModel.dataSize.rows.start)})})}setDragSelection(i){return this._getPivotInView().then(o=>{if(o){this._setPivot(o.id);const c=Math.min(o.index,i.rows.start),e=Math.max(o.index,i.rows.start);let t=[];const s=this._getSelectedIdList(),l=this._getRangeListforRowIndices(c,e);this.dataStore.getRowIds(l).then(p=>{if(u.isIdListIdentical(p,s))return;let E=u.findIntersection(s,p);t=u.removeIntersection(s,E),this._currentContinuousSelectionIdList&&(E=u.findIntersection(t,this._currentContinuousSelectionIdList),t=u.removeIntersection(t,E)),this._currentContinuousSelectionIdList=p,t=t.concat(p),this.setSelection(t)})}else return this._getPivotId(this.viewModel.dataSize.rows.start).then(c=>{this._setPivot(c),this._setRangeSelection(this.viewModel.dataSize.rows.start,this.viewModel.dataSize.rows.start)})})}setDiscontiguousRowByRange(i){return this.dataStore.getRowIds([i]).then(o=>{if(o.length>0){const c=[o[0]];this.setDiscontiguousRow(c)}})}setDiscontiguousRow(i){this._setPivot(i),this._currentContinuousSelectionIdList=null;const o=this._getSelectedIdList(),c=this.isRowSelected(i);c>-1?(o.splice(c,1),this._doesDataStoreSupportSelection&&this.dataStore.removeSelectionById([i])):o.push(i),this._doesDataStoreSupportSelection?this.dataStore.setSelectionByIds(o,!0):this.setSelectionState(o)}_getRangeListforRowIndices(i,o){const c=Math.max(i,this.viewModel.dataSize.rows.start),e=Math.min(o,this.viewModel.dataSize.rows.end);return[f.range().setRows(c,e)]}_setRangeSelection(i,o){if(this._doesDataStoreSupportSelection)this.dataStore.setSelection(this._getRangeListforRowIndices(i,o));else{const{start:c,end:e}=this.viewModel.viewBuffer.rangeList[0].rows,t=i>=c&&o<=e,s=this.viewModel._rowMetaData._dataMetaData[0];return t?this._setRangeSelectionStateInViewBuffer(s,i,o):(this._setRangeSelectionStateWithInViewBuffer(s,i,o,c,e),this._setRangeSelectionStateForWholeView(i,o))}}_setRangeSelectionStateWithInViewBuffer(i,o,c,e,t){const s=o>=e?o:e,l=c<=t?c:t,p=this._getSelectionIdsInViewBuffer(i,s,l);this.setSelectionState(p)}_setRangeSelectionStateInViewBuffer(i,o,c){const e=this._getSelectionIdsInViewBuffer(i,o,c);this.setSelectionState(e)}_getSelectionIdsInViewBuffer(i,o,c){const e=[];for(let t=o;t<=c;t++)e.push(i(t).value.id);return e}_setRangeSelectionStateForWholeView(i,o){const c=this._getRangeListforRowIndices(i,o);return this.dataStore.getRowIds(c).then(e=>{this.setSelectionState(e)})}_getPotentialPivot(){return new Promise(i=>{const o=this.viewModel.getStateByKey(v.treetable.POTENTIAL_PIVOT);let c,e;o?(c=o.rangeList[0].rows.start,e=o.value,i({potentialPivotRowIndex:c,potentialPivotId:e})):(c=this.viewModel.dataSize.rows.start,this._getPivotId(c).then(t=>{e=t,i({potentialPivotRowIndex:c,potentialPivotId:e})}))})}_getPivotId(i){return new Promise(o=>{let c;const e=this.dataStore.getLocalRowMetaData(i);if(e&&e.id)c=e.id,o(c);else{const t=[f.range().setRows(i,i)];this.dataStore.getRowIds(t).then(s=>{c=s[0],o(c)})}})}}return r.default=d,r.default},A,x),A.exports=w},42182:(A,x,a)=>{var T,w;T=[a(80263),a(97154),a(58587),a(89019),a(37999),a(79424),a(21428)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d extends h{constructor(i){super(i),this.viewModel.setState(_.SELECT_ROW_HEADERS,!0),this._currentContinuousSelection=null,this.splitRange=u.splitRange}_setPivot(i){const o=f.curry(g.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end),c=v.range().setRows(i.rows.start,i.rows.start).setColumns(i.columns.start,i.columns.start),e=o(c);e&&this.viewModel.setState(_.protected.PIVOT,null,[e])}_getSelectedRangeList(){const i=this.viewModel.getStateByKey(_.protected.SELECTED);return i?i.rangeList:[]}_getCellSelectionKeyEventInfo(i,o){const c=o.event;return c.modifiers=o.event,c.dataSize=o.dataSize,c.viewPort=o.viewPort.rangeList[0],i&&Array.isArray(i.rangeList)&&i.rangeList[0].rows&&(c.row=i.rangeList[0].rows.start),c}setContiguousRows(i,o=!1){const c=this.viewModel.getStateByKey(_.protected.PIVOT),e=this.viewModel.getStateByKey(_.protected.FOCUSED);let t;c?t=c.rangeList[0]:e?t=e.rangeList[0]:t=v.range().setRows(0,0).setColumns(0,0);const s=Math.min(t.rows.start,i.rows.start),l=Math.max(t.rows.start,i.rows.start),p=v.range().setEntireRows(s,l);let E=[];if(o===!0){const m=this.getSelectionState();let y=!0;for(let b=0;b<m.length;b++)if(!v.isRangeEqual(p,m[b])){y=!1;break}if(y===!0)return;E=v.removeRangeFromRangeList(m,p),this._currentContinuousSelection!==null&&(E=v.removeRangeFromRangeList(E,this._currentContinuousSelection)),E.push(p),this._currentContinuousSelection=p}else E.push(p);this.setSelectionState(E)}_setFocusActiveCell(i,o){this.viewModel.setState(_.protected.ACTIVE_CELL,null,[i]),this.viewModel.setState(_.protected.FOCUSED,null,[o])}_getActiveCell(){return g.getActiveCell(this.viewModel)}eventList(){const i=super.eventList();return i[C.protected.TABLE_DBL_CLICK]=o=>this._handleDoubleClick(o),i[C.protected.ROW_SELECTION_CLICK]=o=>this._emit(C.protected.CELL_SELECTION_CLICK,o.event),this._isMultiRowSelection&&(i[C.protected.DATA_AREA_MOUSE_MOVE]=o=>this._trackMouseSelection(o),i[C.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=o=>this._autoScroll(o),i[C.protected.DOCUMENT_MOUSE_UP]=o=>this._endScroll(o),i[C.protected.HEADER_RECTS]=o=>this._setHeaderRects(o),i[C.protected.ROW_RECTS]=o=>this._setRowRects(o),i[C.protected.ROW_CELL_RECTS]=o=>this._setRowCellRects(o),i[C.protected.ALLOW_DRAG_TO_SELECT]=o=>this._emit(C.protected.ALLOW_DRAG_TO_SELECT,o)),i}_getSelectionToSet(i){return v.range().setEntireRows(i.rows.start,i.rows.start)}setAllRows(){const i=v.range().setEntireColumns(0,1/0);this.setSelectionState([i])}isRowSelected(i){const o=i.rows.start,c=i.rows.end,e=this._getSelectedRangeList();let t=-1;return f.find(e,l=>(t++,l.rows.start<=o&&l.rows.end>=c))?t:-1}setDiscontiguousRow(i){this._setPivot(i),this._currentContinuousSelection=null;const o=v.range().setEntireRows(i.rows.start,i.rows.start);let c=this._getSelectedRangeList().concat();const e=this.isRowSelected(o);if(e>-1){const t=u.splitRange(c[e],o);c.splice(e,1),c=c.concat(t)}else c.push(o);this.setSelectionState(c)}_emitSelectedActionEvent(){this._emit(C.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}getSelectionState(){const i=super.getSelectionState(_.protected.SELECTED);return i?i.rangeList:null}_handleDoubleClick(i){this._emit(C.protected.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}_setFocusedActiveCellStates(i){const o=u.getFirstCellFromRange(i);this._setPivot(o),u.setFocusedActiveCellStates(this.viewModel,this._hasCellFocus,{range:o,id:null,column:null})}setSelectionState(i,o={}){const{updateFocusTo:c}=o;u.isUpdateFocusToRangeValid(c,i)&&this._setFocusedActiveCellStates(c),this.viewModel.setState(_.protected.SELECTED,null,this._getFittedRange(i))}setIndividualRow(i){const o=v.range().setEntireRows(i.rows.start,i.rows.start);this._setPivot(i),this._currentContinuousSelection=null,this.setSelectionState([o])}}return r.default=d,r.default},A,x),A.exports=w},80263:(A,x,a)=>{var T,w;T=[a(79424),a(97154),a(58587),a(60794),a(66296),a(89019),a(21428),a(29724),a(37999)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};class i{constructor(c){const e=new _;if(this._emit=e.emit.bind(e),this.on=e.on.bind(e),this.viewModel=c.viewModel,this.dataStore=c.dataStore,this._events={},this._doesDataStoreSupportSelection=!!(c.options&&c.options.dataStoreSelection),this._doesDataStoreSupportSelection&&this.viewModel.on(C.internal.DATASTORE_SELECTION,this._updateSelectionFromDataStore.bind(this)),this._hasCellFocus=u.hasCellFocus(c),this._isMultiRowSelection=u.isMultiRowSelection(c),this._isMultiRowSelection){this._headerRects=()=>({}),this._rowRects=()=>({}),this._rowCellRects=()=>({}),this._setHeaderRects=u.setHeaderRects.bind(this),this._setRowRects=u.setRowRects.bind(this),this._setRowCellRects=u.setRowCellRects.bind(this),this._logicalViewPort=c.viewPortList[0],this._previousRange=d.range(),this._sizes=new r(this.viewModel),this._trackMouseSelection=i.trackMouseSelection.bind(this),this._autoScroll=i.autoScroll.bind(this),this._endScroll=i.endScroll.bind(this),this._setFocusActiveCell=this._setFocusActiveCell.bind(this),this.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!0);const{selectionConfig:t}=c.options;if(!t||!t.multiRowDragToSelect)this.viewModel.setState(f.protected.CAN_DRAG_TO_SELECT,null);else{const s=u.getCanDragToSelectFunc(t.multiRowDragToSelect);this.viewModel.setState(f.protected.CAN_DRAG_TO_SELECT,s)}}else this.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!1)}static trackMouseSelection(c){if(!this._canDragCellSelection())return;let e=g.getActiveCellRange(this.viewModel);if(e.rangeList&&Array.isArray(e.rangeList)&&(e=e.rangeList[0]),g.isActiveCellEmpty(e))return;const{pointer:t}=c.event,s=u.getRowIndexFromPointer(t,this._rowRects());let l=s;l<0&&(l=this._logicalViewPort.getFirstVisibleRow());const p=u.rowCellRectsHeaderFallback({row:l},this._rowCellRects({row:l}),this._headerRects()),E=u.getColumnIndexFromPointer(t,p),{nextRange:m}=u.computeFocusActiveCellWhenDrag(s,E,e);d.isRangeEqual(this._previousRange,m)||(this._previousRange=m,this._setFocusActiveCell(m,m),c.shiftKey=!0,c.dragEvent=!0,c.row=m.rows.start,this._emit(C.internal.RANGE_SELECTION,c))}static autoScroll(c){if(!this._canDragCellSelection())return;const e=g.getActiveCellRange(this.viewModel);if(g.isActiveCellEmpty(e))return;const t=u.rowCellRectsHeaderFallback({row:e.rows.start},this._rowCellRects({row:e.rows.start}),this._headerRects());if(Object.keys(t).length===0)return;const{leftPosition:s,topPosition:l}=u.computeScrollPosition(c,this._logicalViewPort,t,this._sizes.COL_WIDTH);c.event.rowsOnly||this._logicalViewPort.setScrollLeftPx(s),c.event.colsOnly||this._logicalViewPort.setScrollTopPx(l);const p=this._logicalViewPort.getFirstVisibleRow(),E=this._logicalViewPort.getFirstVisibleColumn(),m=u.rowCellRectsHeaderFallback({row:p},this._rowCellRects({row:p}),this._headerRects()),y=u.getAutoScrollRange(c,this._logicalViewPort,this.viewModel,p,E,m,this._rowRects());d.isRangeEqual(this._previousRange,y)||(this._previousRange=y,this.viewModel.setState(f.protected.ACTIVE_CELL,null,[y]),this.viewModel.setState(f.protected.FOCUSED,null,[y]),c.shiftKey=!0,c.dragEvent=!0,c.row=y.rows.start,this._emit(C.internal.RANGE_SELECTION,c))}static endScroll(c){if(!this._canDragCellSelection())return;const e=g.getActiveCellRange(this.viewModel);if(g.isActiveCellEmpty(e))return;const t=u.rowCellRectsHeaderFallback({row:e.rows.start},this._rowCellRects({row:e.rows.start}),this._headerRects());if(Object.keys(t).length===0)return;const s=u.rowCellRectsHeaderFallback({col:e.columns.start},this._rowCellRects({col:e.columns.start}),this._headerRects());if(Object.keys(s).length===0)return;const l=u.getActiveCellWhenScrollEnds(c,e,t,s);this._setFocusActiveCell(l,l),u.triggerCallbacks(c)}_canDragCellSelection(){const c=this.viewModel.getStateByKey(f.protected.ALLOW_DRAG_TO_SELECT)&&this.viewModel.getStateByKey(f.protected.ALLOW_DRAG_TO_SELECT).value,e=this.viewModel.getStateByKey(f.dragInProgress),t=this.viewModel.getStateByKey(f.protected.EDIT_STATE);return!e&&!t&&c}eventList(){const c={};return c[C.protected.TABLE_CELL_CLICK]=e=>this._emit(C.protected.CELL_SELECTION_CLICK,e.event),c[C.internal.TABLE_KEY_PRESS]=e=>this._processAndEmitKeyPress(e),c[C.protected.TABLE_DBL_CLICK]=e=>this._handleDoubleClick(e),c[C.protected.ROW_SELECTION_CLICK]=e=>this._emit(C.protected.CELL_SELECTION_CLICK,e.event),this._isMultiRowSelection&&(c[C.protected.DATA_AREA_MOUSE_MOVE]=e=>this._trackMouseSelection(e),c[C.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=e=>this._autoScroll(e),c[C.protected.DOCUMENT_MOUSE_UP]=e=>this._endScroll(e),c[C.protected.HEADER_RECTS]=e=>this._setHeaderRects(e),c[C.protected.ROW_RECTS]=e=>this._setRowRects(e),c[C.protected.ROW_CELL_RECTS]=e=>this._setRowCellRects(e),this.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!0),c[C.protected.ALLOW_DRAG_TO_SELECT]=e=>this._emit(C.protected.ALLOW_DRAG_TO_SELECT,e)),c}doesDataStoreManageSelection(){return this._doesDataStoreSupportSelection}_getActiveCell(){return g.getActiveCell(this.viewModel)}_processAndEmitKeyPress(c){const e=this._getActiveCell();this._pivot=e;const t=this._getCellSelectionKeyEventInfo(e,c);this._emit(C.protected.CELL_SELECTION_KEY,t),c.event.keyCode===v.ENTER&&this._emitSelectedActionEvent()}_getFittedRange(c){const e=h.curry(g.fitRangeToBounds)(this.viewModel.dataSize.rows.end,this.viewModel.dataSize.columns.end);return c.map(e).filter(t=>t!=null)}getSelectionState(){return this.viewModel.getStateByKey(f.protected.SELECTED)}}return n.default=i,n.default},A,x),A.exports=w},50269:(A,x,a)=>{var T,w;T=[a(37999),a(60794),a(58587),a(89019),a(97154),a(66296),a(29724),a(43409),a(55646),a(21428)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){"use strict";var i={};const o=m=>m.ctrlKey||m.meta||m.metaKey,c=Object.freeze({RANGE_SELECTION:"rangeSelection",COLUMN_SELECTION:"columnSelection",ROW_SELECTION:"rowSelection",SELECT_ALL:"selectAll"}),e=15,t=(m,y)=>{const b=Object.getOwnPropertyNames(y);if(b.length===0)return-1;if(m.x>=y[b[b.length-1]].right)return Number(b[b.length-1]);for(let I=0;I<b.length;I+=1){const S=b[I];if(m.x>=y[S].left&&m.x<y[S].right)return Number(S)}return-1},s=(m,y)=>{const b=Object.getOwnPropertyNames(y);if(b.length===0)return-1;if(m.y>=y[b[b.length-1]].bottom)return Number(b[b.length-1]);for(let I=0;I<b.length;I+=1){const S=b[I];if(m.y>=y[S].top&&m.y<y[S].bottom)return Number(S)}return-1},l=(m,y,b)=>{const I=Object.getOwnPropertyNames(y);for(let S=I.length-1;S>-1;S-=1)if(m[b]>y[I[S]][b])return Number(I[S]);return Number(I[I.length-1])},p=(m,y,b)=>{const I=Object.getOwnPropertyNames(y);for(let S=0;S<I.length;S+=1)if(m[b]<y[I[S]][b])return Number(I[S]);return Number(I[0])};class E extends C{constructor(y){super(),this._viewModel=y.viewModel,this._logicalViewPort=y.viewPortList[0],this._cellNav=new r(y.viewModel),this._resizeSelection=new d(y),this._events={},this._cellSelection=null,this._headerRects=()=>({}),this._rowRects=()=>({}),this._rowCellRects=()=>({}),this._previousRange=h.range(),this._previousLeftPosition=0,this._previousTopPosition=0,this._sizes=new u(this._viewModel)}static get event(){return c}eventList(){const y={};return y[v.protected.HEADER_RECTS]=b=>this._setHeaderRects(b),y[v.protected.ROW_RECTS]=b=>this._setRowRects(b),y[v.protected.ROW_CELL_RECTS]=b=>this._setRowCellRects(b),y[v.protected.TABLE_CELL_CLICK]=b=>this._handleCellClick(b),y[v.internal.TABLE_KEY_PRESS]=b=>this._handleKeyPress(b),y[v.protected.COL_HEADER_CLICK]=b=>this._handleColumnHeaderClick(b),y[v.protected.ROW_SELECTION_CLICK]=b=>this._handleRowHeaderClick(b),y[v.protected.DOCUMENT_MOUSE_MOVE_INTERVAL]=b=>this._autoScroll(b),y[v.protected.DATA_AREA_MOUSE_MOVE]=b=>this._trackMouseSelection(b),y[v.protected.DOCUMENT_MOUSE_UP]=b=>this._endScroll(b),y[v.protected.RESIZE_SELECTION_BEGIN]=b=>this._handleResizeBegin(b),y[v.protected.RESIZE_SELECTION_END]=b=>this._handleResizeEnd(b),y}_getActiveCell(){const y=this._viewModel.getStateByKey(_.protected.ACTIVE_CELL);return y&&y.rangeList[0]}_canDragCellSelection(){const y=this._viewModel.getStateByKey(_.dragInProgress),b=this._viewModel.getStateByKey(_.protected.EDIT_STATE);return!y&&!b}_rowCellRectsHeaderFallback(y){const b=this._rowCellRects(y);return Object.keys(b).length===0&&y.row!==void 0&&y.col===void 0?this._headerRects():b}_handleCellClick(y){this._resizeSelection.inProgress()||this._emitSelectionEvent(y)}_handleResizeBegin(y){const b=y.event,I={x:b.x,y:b.y},S=this._logicalViewPort.getFirstVisibleRow(),R=this._viewModel.getStateByKey(_.ACTIVE_RANGE);let N=this._getActiveCell();const O=R.value.rows.start,L=R.value.rows.end,U=R.value.columns.start,z=R.value.columns.end;if(R&&((!N||!(N.rows.start===O&&N.columns.start===U)&&!(N.rows.start===O&&N.columns.end===z)&&!(N.rows.start===L&&N.columns.end===U)&&!(N.rows.start===L&&N.columns.end===z))&&(N=h.range().setRows(O,O).setColumns(U,U),this._viewModel.setState(_.protected.ACTIVE_CELL,null,[N]),this._fulcrum||(this._fulcrum=h.range().setRows(L,L).setColumns(z,z))),this._fulcrum.columns.start!==this._fulcrum.columns.end)){const W=N.columns.start===U?z:U,V=N.rows.start===O?L:O;this._fulcrum=h.range().setRows(V,V).setColumns(W,W)}const $={startRow:s(I,this._rowRects()),startCol:t(I,this._rowCellRectsHeaderFallback({row:S})),activeCell:this._getActiveCell(),fulcrum:this._fulcrum,location:b.location};this._resizeSelection.begin($)}_handleResizeEnd(y){this._resizeSelection.end();const b=this._previousRange.rows.end===-1&&this._previousRange.columns.end===-1;this.getActiveRange()&&(b||!h.isRangeInside(this.getActiveRange().value,this._previousRange))?this._previousRange=this._getActiveCell():this._viewModel.setState(_.protected.ACTIVE_CELL,null,[this._previousRange])}_trackMouseSelection(y){if(!this._canDragCellSelection())return;const{pointer:b,rowsOnly:I,colsOnly:S}=y.event,R=s(b,this._rowRects());let N=R;N<0&&(N=this._logicalViewPort.getFirstVisibleRow());const O=t(b,this._rowCellRectsHeaderFallback({row:N})),L=this._getActiveCell();if(!L)return;const U=L.rows.start,z=L.columns.start;let $=h.range().setRows(U,U).setColumns(z,z);if(O>-1&&!I&&($=$.setColumns(O,O)),R>-1&&!S&&($=$.setRows(R,R)),!h.isRangeEqual(this._previousRange,$)){if(this._resizeSelection.inProgress()){const W=this._getState($);if(!W)return;this._fulcrum=W.resizeFulcrum,$=W.resizeActiveCell}this._previousRange=$,this._viewModel.setState(_.protected.ACTIVE_CELL,null,[$]),this._viewModel.setState(_.protected.FOCUSED,null,[$]),y.event.shiftKey=!0,y.event.dragEvent=!0,this._emitSelectionEvent(y)}}_autoScroll(y){let b=this._viewModel.getStateByKey(_.protected.ACTIVE_CELL);if(b=b&&b.rangeList[0],!this._canDragCellSelection()||!b)return;const I=this._rowCellRectsHeaderFallback({row:b.rows.start});if(Object.keys(I).length<1)return;const{yDelta:S,xDelta:R}=y.event,N=this._logicalViewPort.getScrollTop(),O=this._logicalViewPort.getScrollLeft(),L=this._logicalViewPort.getFirstVisibleColumn(),U=Math.floor(this._logicalViewPort.getLastVisibleColumn()),z=I[L].width/this._sizes.COL_WIDTH,$=Math.max(0,O+R/z),W=Math.max(0,N+S);let V=this._setAutoScrollRange(y);if(y.event.rowsOnly||this._logicalViewPort.setScrollLeftPx($),y.event.colsOnly||this._logicalViewPort.setScrollTopPx(W),!h.isRangeEqual(this._previousRange,V)){if(this._resizeSelection.inProgress()){const K=this._getState(V);if(!K)return;this._fulcrum=K.resizeFulcrum,V=K.resizeActiveCell}this._previousRange=V,this._viewModel.setState(_.protected.FOCUSED,null,[V]),this._viewModel.setState(_.protected.ACTIVE_CELL,null,[V]),this._fulcrum=this._fulcrum||h.range().setEntireColumns(U,U),y.event.shiftKey=!0,y.event.dragEvent=!0,this._emitSelectionEvent(y)}}_getState(y){if(this.getSelection().length===0)return null;const I={nextActiveCell:y,currentActiveCell:this._getActiveCell(),currentFulcrum:this._fulcrum};return this._resizeSelection.getState(I)}_setAutoScrollRange(y){const{yDelta:b,xDelta:I,pointer:S}=y.event;let R=this._getActiveCell(),N=this._logicalViewPort.getLastVisibleRow();const O=this._logicalViewPort.getFirstVisibleRow();let L=this._logicalViewPort.getLastVisibleColumn();const U=this._logicalViewPort.getFirstVisibleColumn();if(!y.event.rowsOnly)if(I>0)L=Math.min(L+e,this._viewModel.dataSize.columns.end),R=R.setColumns(L,L);else if(I<0){const z=Math.max(0,U-e);R=R.setColumns(z,z)}else{let z=t(S,this._rowCellRectsHeaderFallback({row:O}));z=g.getValidStartPoint(z),R=R.setColumns(z,z)}if(!y.event.colsOnly)if(b>0)N=Math.min(N+e,this._viewModel.dataSize.rows.end),R=R.setRows(N,N);else if(b<0){const z=Math.max(0,O-e);R=R.setRows(z,z)}else{let z=s(S,this._rowRects());z=g.getValidStartPoint(z),R=R.setRows(z,z)}return R}_endScroll(y){let b=this._viewModel.getStateByKey(_.protected.ACTIVE_CELL);b=b&&b.rangeList[0];const{yDelta:I,xDelta:S,containerRect:R}=y.event;if(!b)return;const N=this._rowCellRectsHeaderFallback({row:b.rows.start});if(Object.keys(N).length<1)return;const O=this._rowCellRectsHeaderFallback({col:b.columns.start});if(Object.keys(O).length<1)return;let L=this._getActiveCell();if(S>0){const U=l(R,N,"right");L=L.setColumns(U,U)}else if(S<0){const U=p(R,N,"left");L=L.setColumns(U,U)}if(I>0){const U=l(R,O,"bottom");L=L.setRows(U,U)}else if(I<0){const U=p(R,O,"top");L=L.setRows(U,U)}this._viewModel.setState(_.protected.FOCUSED,null,[L]),this._viewModel.setState(_.protected.ACTIVE_CELL,null,[L]),this._triggerCallbacks(y)}_triggerCallbacks(y){const{yDelta:b,xDelta:I,callback:S}=y.event,R={shiftKey:!0};b>0&&(R.keyCode=f.ARROW_DOWN,S(v.internal.TABLE_KEY_PRESS,R)),b<0&&(R.keyCode=f.ARROW_UP,S(v.internal.TABLE_KEY_PRESS,R)),I>0&&(R.keyCode=f.ARROW_RIGHT,S(v.internal.TABLE_KEY_PRESS,R)),I<0&&(R.keyCode=f.ARROW_LEFT,S(v.internal.TABLE_KEY_PRESS,R))}_setHeaderRects(y){this._headerRects=y.event.children}_setRowRects(y){this._rowRects=y.event.children}_setRowCellRects(y){this._rowCellRects=y.event.children}_computeEventForPlugin(y){return{shiftKey:y.event.shiftKey,ctrlKey:y.event.ctrlKey,metaKey:y.event.meta||y.event.metaKey,groupedSelection:y.event.groupedSelection}}_handleKeyPress(y){const b=y.event;switch(b.keyCode){case f.ARROW_LEFT:case f.ARROW_RIGHT:case f.ARROW_UP:case f.ARROW_DOWN:case f.PAGE_UP:case f.PAGE_DOWN:const I=this._getActiveCell();I&&(this._previousRange=h.range().setRows(I.rows.start,I.rows.start).setColumns(I.columns.start,I.columns.start)),this._emitSelectionEvent(y);break;case f.HOME:case f.END:this._emitSelectionEvent(y);break;case f.A:o(b)&&(y.event.nativeEvent.preventDefault(),this._selectAll(y));break;case f.SPACE:if(o(b)){const N=((this._viewModel.getStateByKey(_.protected.ACTIVE_CELL)||{}).rangeList||[{columns:{start:0}}])[0].columns.start;this._fulcrum=h.range().setRows(1/0,1/0).setColumns(N,N),this._emitColumnSelectionEvent(y,N)}else if(b.shiftKey){const N=((this._viewModel.getStateByKey(_.protected.ACTIVE_CELL)||{}).rangeList||[{rows:{start:0}}])[0].rows.start;this._fulcrum=h.range().setRows(N,N).setColumns(1/0,1/0),this._emitRowSelectionEvent(y,N)}break;default:return!1}}_selectAll(y){this._fulcrum=h.range().setRows(1/0,1/0).setColumns(1/0,1/0);const b=this._computeEventForPlugin(y);b.activeCell=this._getActiveCell(),b.fulcrum=this._fulcrum,b.keyCode=f.A,this.emit(c.SELECT_ALL,b)}_emitSelectionEvent(y){const b=this._getActiveCell();this._fulcrum=this._fulcrum||b,(!y.event.shiftKey||o(y.event))&&(this._fulcrum=b);const I=this._computeEventForPlugin(y);this._resizeSelection.inProgress()&&!b?I.activeCell=this._fulcrum:I.activeCell=b,I.fulcrum=this._fulcrum,this._resizeSelection.inProgress()&&(I.resizeSelectionInProgress=!0),y.event.keyCode&&(I.keyCode=y.event.keyCode),y.event.dragEvent&&(I.dragEvent=y.event.dragEvent),this.emit(c.RANGE_SELECTION,I)}_handleColumnHeaderClick(y){const b=y.event.column,I=y.event.columnEnd,S=this._logicalViewPort.getFirstVisibleRow(),R=this._cellNav.getScrollTopPosition(S,this._rowRects()),N=0,O=h.range().setRows(N,N).setColumns(b,b);this._logicalViewPort.setScrollTopPx(R),y.dataSize&&y.dataSize.rows.count>0&&(this._viewModel.setState(_.protected.FOCUSED,null,[O]),this._viewModel.setState(_.protected.ACTIVE_CELL,null,[O]),this._emitColumnSelectionEvent(y,b,I))}_emitColumnSelectionEvent(y,b,I){const S=this._getActiveCell();if(this._fulcrum=this._fulcrum||S,!y.event.shiftKey)I||(I=b),this._fulcrum=h.range().setRows(1/0,1/0).setColumns(b,I);else{const N=this._fulcrum.columns.start;I||(I=N),this._fulcrum=h.range().setRows(1/0,1/0).setColumns(Math.min(N,b,I),Math.max(this._fulcrum.columns.end,b,I))}const R=this._computeEventForPlugin(y);R.activeCell=S,R.fulcrum=this._fulcrum||S,R.keyCode=y.event.keyCode,this.emit(c.COLUMN_SELECTION,R)}_handleRowHeaderClick(y){const b=y.event.row,I=this._rowCellRectsHeaderFallback({row:b}),S=g.getFirstVisibleColumn(this._logicalViewPort,this._viewModel,I),R=this._cellNav.getScrollLeftPosition(S,this._rowCellRectsHeaderFallback({row:b})),N=h.range().setRows(b,b).setColumns(S,S);this._logicalViewPort.setScrollLeftPx(R),this._viewModel.setState(_.protected.FOCUSED,null,[N]),this._viewModel.setState(_.protected.ACTIVE_CELL,null,[N]),this._emitRowSelectionEvent(y,b)}_emitRowSelectionEvent(y,b){const I=this._getActiveCell();if(this._fulcrum=this._fulcrum||I,!y.event.shiftKey)this._fulcrum=h.range().setRows(b,b).setColumns(1/0,1/0);else{const R=this._fulcrum.rows.start;this._fulcrum=h.range().setRows(R,R).setColumns(1/0,1/0)}const S=this._computeEventForPlugin(y);S.activeCell=I,S.fulcrum=this._fulcrum,S.keyCode=y.event.keyCode,this.emit(c.ROW_SELECTION,S)}_handleDoubleClick(y){this.emit(v.internal.TABLE_SELECTED_ACTION,{selectedRange:this.getSelectionState()})}_setFocusedActiveCellStates(y,b){const I=n.getFirstCellFromRange(y),S=n.getUpdateFocusToContainingRange(I,b);this._fulcrum=n.getFirstCellFromRange(S),n.setFocusedActiveCellStates(this._viewModel,!0,{range:I,id:null,column:null}),this._viewModel.setState(_.ACTIVE_RANGE,S)}setSelection(y=[],b={}){const{activeRange:I,updateFocusTo:S}=b;Array.isArray(y)&&(this._viewModel.setState(_.ACTIVE_RANGE,I),this._viewModel.setState(_.protected.SELECTED,this._cellSelection,y),n.isUpdateFocusToRangeValid(S,y)&&this._setFocusedActiveCellStates(S,y))}getActiveRange(){return this._viewModel.getStateByKey(_.ACTIVE_RANGE)}getSelection(){const y=this._viewModel.getStateByKey(_.protected.SELECTED);return y?y.rangeList:[]}set applyToCells(y){y?this._cellSelection=_.SELECT_CELLS:this._cellSelection=null}set selectHeaders(y){this._viewModel.setState(_.SELECT_HEADERS,!!y)}}return i.default=E,i.default},A,x),A.exports=w},21428:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(66296),a(58587),a(13585),a(37999),a(79541),a(93155)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};const i=(e,t,s)=>{const l=Object.getOwnPropertyNames(t);for(let p=l.length-1;p>-1;p-=1)if(e[s]>t[l[p]][s])return Number(l[p]);return Number(l[l.length-1])},o=(e,t,s)=>{const l=Object.getOwnPropertyNames(t);for(let p=0;p<l.length;p+=1)if(e[s]<t[l[p]][s])return Number(l[p]);return Number(l[0])};class c{static getCanDragToSelectFunc(t){return s=>{let l=!1;switch(t){case u.TRUE:l=!0;break;case"false":l=!1;break;case u.WHITESPACE:v.isWhiteSpace(s.target,s.clientX,s.clientY)&&(l=!0);break;default:l=!1}return l}}static isMultiRowSelection(t){let s=!1;if(!t||!t.options||!t.options.features)return s;const l=p=>p.prototype instanceof r;for(let p=0;p<t.options.features.length;p++){const E=t.options.features[p];if(Array.isArray(E)?s=E.some(l):s=l(E),s)break}return s}static hasCellFocus(t){let s=!1;if(!t||!t.options||!t.options.features)return s;const l="CellFocus";for(const p of t.options.features)if(Array.isArray(p)?s=p.some(E=>E.name===l):s=p.name===l,s)break;return s}static getAutoScrollRange(t,s,l,p,E,m,y){const{yDelta:b,xDelta:I,pointer:S}=t.event;let R=s.getLastVisibleRow(),N=s.getLastVisibleColumn(),O=_.getActiveCell(l).rangeList[0];if(!t.event.rowsOnly)if(I>0)N=Math.min(N+15,l.dataSize.columns.end),O=O.setColumns(N,N);else if(I<0){const L=Math.max(0,E-15);O=O.setColumns(L,L)}else{let L=c.getColumnIndexFromPointer(S,m);L=_.getValidStartPoint(L),O=O.setColumns(L,L)}if(!t.event.colsOnly)if(b>0)R=Math.min(R+15,l.dataSize.rows.end),O=O.setRows(R,R);else if(b<0){const L=Math.max(0,p-15);O=O.setRows(L,L)}else{let L=c.getRowIndexFromPointer(S,y);L=_.getValidStartPoint(L),O=O.setRows(L,L)}return O}static computeScrollPosition(t,s,l,p){const{yDelta:E,xDelta:m}=t.event,y=s.getScrollTop(),b=s.getScrollLeft(),I=s.getFirstVisibleColumn(),S=l[I].width/p,R=Math.max(0,b+m/S),N=Math.max(0,y+E);return{leftPosition:R,topPosition:N}}static splitRange(t,s){let l,p;const E=[];return t.rows.start===t.rows.end?[]:t.rows.start===s.rows.start?(l=s.rows.start+1,p=t.rows.end,E.push(f.range().setEntireRows(l,p)),E):t.rows.end===s.rows.start?(p=s.rows.end-1,l=t.rows.start,E.push(f.range().setEntireRows(l,p)),E):(E.push(f.range().setEntireRows(t.rows.start,s.rows.start-1)),E.push(f.range().setEntireRows(s.rows.end+1,t.rows.end)),E)}static getRowIndexFromPointer(t,s){const l=Object.getOwnPropertyNames(s);if(l.length===0)return-1;if(t.y>=s[l[l.length-1]].bottom)return Number(l[l.length-1]);for(let p=0;p<l.length;p+=1){const E=l[p];if(t.y>=s[E].top&&t.y<s[E].bottom)return Number(E)}return-1}static getColumnIndexFromPointer(t,s){const l=Object.getOwnPropertyNames(s);if(l.length===0)return-1;if(t.x>=s[l[l.length-1]].right)return Number(l[l.length-1]);for(let p=0;p<l.length;p+=1){const E=l[p];if(t.x>=s[E].left&&t.x<s[E].right)return Number(E)}return-1}static rowCellRectsHeaderFallback(t,s,l){return Object.keys(s).length===0&&t.row!==void 0&&t.col===void 0?l:s}static getActiveCellWhenScrollEnds(t,s,l,p){const{yDelta:E,xDelta:m,containerRect:y}=t.event;let b=s;if(m>0){const I=i(y,l,"right");b=b.setColumns(I,I)}else if(m<0){const I=o(y,l,"left");b=b.setColumns(I,I)}if(E>0){const I=i(y,p,"bottom");b=b.setRows(I,I)}else if(E<0){const I=o(y,p,"top");b=b.setRows(I,I)}return b}static triggerCallbacks(t){const{yDelta:s,xDelta:l,callback:p}=t.event,E={shiftKey:!0};s>0&&(E.keyCode=g.ARROW_DOWN,p(h.internal.TABLE_KEY_PRESS,E)),s<0&&(E.keyCode=g.ARROW_UP,p(h.internal.TABLE_KEY_PRESS,E)),l>0&&(E.keyCode=g.ARROW_RIGHT,p(h.internal.TABLE_KEY_PRESS,E)),l<0&&(E.keyCode=g.ARROW_LEFT,p(h.internal.TABLE_KEY_PRESS,E))}static computeFocusActiveCellWhenDrag(t,s,l){const p=l.rows.start,E=l.columns.start;let m=f.range().setRows(p,p).setColumns(E,E);return s>-1&&(m=m.setColumns(s,s)),t>-1&&(m=m.setRows(t,t)),{nextRange:m}}static setHeaderRects(t){this._headerRects=t.event.children}static setRowRects(t){this._rowRects=t.event.children}static setRowCellRects(t){this._rowCellRects=t.event.children}static isIdListIdentical(t,s){if(t.length!==s.length)return!1;const l=new Set(t);for(let p=0;p<s.length;p+=1)if(!l.has(s[p]))return!1;return!0}static findIntersection(t,s){if(!t||!s)return[];const l=new Set(t),p=new Set(s);return Array.from(new Set([...l].filter(E=>p.has(E))))}static removeIntersection(t,s){return Array.isArray(t)?Array.isArray(s)?t.filter(l=>!s.includes(l)):t:[]}static findAndRemoveCommonIds(t,s){const l=c.findIntersection(t,s);return c.removeIntersection(t,l)}static getFirstCellFromRange(t){const s=t.rows.start,l=t.columns.start;return f.range().setRows(s,s).setColumns(l,l)}static isUpdateFocusToRangeValid(t,s){return t&&f.isRangeInsideRangeList(t,s)}static isUpdateFocusToIdValid(t,s){return t&&s.includes(t.id)}static setFocusedActiveCellStates(t,s,l){const p=l.id?{id:l.id}:null;if(t.setState(C.protected.ACTIVE_CELL,p,[l.range]),s===!0){const E=()=>{t.deleteState(C.protected.PREVENT_TRUE_FOCUS)};t.setState(C.protected.PREVENT_TRUE_FOCUS,{prevent:!0,delete:E}),t.setState(C.protected.FOCUSED,l.id,[l.range])}}static getUpdateFocusToContainingRange(t,s){return s.find(l=>f.isRangeInside(l,t))}}return d.default=c,d.default},A,x),A.exports=w},78517:(A,x,a)=>{var T,w;T=[a(15632),a(51348)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{_getPivotInView(){return new Promise(f=>{const u=this.viewModel.getStateByKey(C.protected.PIVOT);u&&u.value?this.dataStore.getIndex({id:u.value}).then(r=>{let d,n;r&&Number.isInteger(r.index)?(d=r.index,n=u.value,f({id:n,index:d})):this._getPotentialPivot().then(i=>{d=i.potentialPivotRowIndex,n=i.potentialPivotId,f({id:n,index:d})})}):f(!1)})}}return g.default=_,g.default},A,x),A.exports=w},61748:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static calculateRangeEnd(_,v,f){return Number(v)+Math.ceil(f/_)}static calcVisible(_,v){return Number(_)+Number(v)-1}static calculateFirstVisible(_,v){return Math.max(0,Math.floor(v/_))}static sum(_,v){return Number(_)+Number(v)}static roundedDivision(_,v){return Math.floor(v/_)}static calculateMaxFirstVisible(_,v){return Math.max(0,_-v)}static min2(_,v){return Math.min(_,v)}static max2(_,v){return Math.max(_,v)}}return h.default=C,h.default},A,x),A.exports=w},51891:(A,x,a)=>{var T,w;T=[a(60794),a(89019),a(23513),a(94967)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends h{constructor(r){super();const{viewModel:d,viewPortList:n}=r;this._viewPortList=n,this._viewModel=d}exposedAPI(){const r={};return Object.defineProperty(r,"minRowHeight",{get:this._getMinRowHeight.bind(this),set:this._setMinRowHeight.bind(this),enumerable:!0}),r}eventList(){return{}}_setMinRowHeight(r){_.setAttributes(this._viewModel,{minRowHeight:r}),g.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort())}_getMinRowHeight(){if(this._viewModel.getStateByKey(C.ROW_HEIGHT))return this._viewModel.getStateByKey(C.ROW_HEIGHT).value;throw new Error("Table does not have a minimum row height")}get emits(){return[]}}return v.default=f,v.default},A,x),A.exports=w},46860:(A,x,a)=>{var T,w;T=[a(89019),a(97154),a(79424),a(94967),a(95860),a(37999)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};class r{constructor(n){this._viewModel=n.viewModel,this._baseColumnConfig=Object.create(this._viewModel.getColumnHeaders()),this._spanningHeaders=typeof this._viewModel.getSpanningHeaders()=="object"?Object.create(this._viewModel.getSpanningHeaders()):void 0,this._orderedColumnConfig=Object.create(this._baseColumnConfig),this._computedHeaderWidths=[],this._customMapping=this._getMapping(),this.setColumnConfig(this.getColumnConfig()),this.setColumnHeaderConfig(this.getColumnHeaderConfig()),this.columnReorder=this.columnReorder.bind(this)}eventList(){const n={};return n[C.protected.COL_HEADER_MOUNT]=i=>this._storePixelWidths(i.event),n[C.protected.COL_RESIZE]=i=>this._swapPercentsForPixels(i.event),n[C.internal.COL_RESIZE_DONE]=i=>this._handleColResizeDone(i),n}exposedAPI(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}exposedTreeTableAPIs(){return{getColumnConfig:this.getColumnConfig.bind(this),setColumnConfig:this.setColumnConfig.bind(this),getColumnHeaderConfig:this.getColumnHeaderConfig.bind(this),setColumnHeaderConfig:this.setColumnHeaderConfig.bind(this)}}get treeTableEmits(){return[]}get emits(){return[]}columnReorder(n){const i=this.getColumnConfig(),{columnId:o,targetIndex:c}=n,e={columnId:o},t=this._viewModel.getSpanningHeaders(),s=this._indexLookupById(o,t),l=this._columnParentLookup(c,t),p=t?t[o]:void 0,E={index:c,targetParent:l};let m;if(s&&s.length>0?(e.colIndexs=s,e.sourceParent=p,m=i.moveByParentColumnId(e,E)):m=i.moveColumn(e,E),!m)throw new Error(`The move failed for column ${o}.`);const y=this._determineNextSortColumnIndex(i);this._setColumnConfig(i,y)}_determineNextSortColumnIndex(n){const i={},o=this._getExistingSortColumn();if(o.value&&o.column!==-1){const c=this._computeNewSortColumn(o.column,this._orderedColumnConfig.indexOf(n._moves[0].item),n._moves[0].toIndex);i.value=o.value,i.rangeList=[f.range().setRows(0,1/0).setColumns(c,c)]}return i}_computeNewSortColumn(n,i,o){if(n===i)return o;if(i<o)return n<i||n>o?n:n-1;if(i>o)return n>i||n<o?n:n+1}_getExistingSortColumn(){const n=this._viewModel.getStateByKey(h.protected.SORTED);return n&&n.value&&n.rangeList?{value:n.value,column:n.rangeList[0].columns.start}:{}}_indexLookupById(n,i){if(!i)return;const o=i[n];if(o)return g.rangeArray(o.colStartIndex,o.colEndIndex)}_columnParentLookup(n,i){const o=this._baseColumnConfig[n];if(o&&o.parentId)return i[o.parentId]}_columnsNotPaged(n){const i=n.length||this._viewModel.dataSize.columns.end;return _.notEnoughColumnsToPage(i)}_storePixelWidths(n){const{width:i,column:o}=n,c=this._viewModel.getColumnHeaders();if(this._columnsNotPaged(c)){let e=o;c[o]&&(e=this._customMapping[c[o].columnId]),this._computedHeaderWidths[e]=i}}_swapPercentsForPixels(){const n=this._viewModel.getStateByKey(h.protected.RESIZE_PCT_METADATA_HEADERS)||{};this._baseColumnConfig.length===0&&n.value===!0?this._swapMetaHeaderPercentsForPixels():this._swapViewHeaderPercentsForPixels()}_swapViewHeaderPercentsForPixels(){const n=this._viewModel.getColumnHeaders();this._columnsNotPaged(n)&&this._baseColumnConfig.forEach((i,o)=>{i.width.unit==="%"&&(i.width={value:this._computedHeaderWidths[o],unit:"px"})}),this.setColumnConfig(this.getColumnConfig()),this._swapPercentsForPixels=()=>!0,this._storePixelWidths=()=>!0}_swapMetaHeaderPercentsForPixels(){if(this._colResizeInProgress)return;const n=this._viewModel.getColumnCount(),i=this._viewModel.getColumnMetaDataUnified(),o=Array.from({length:n},(c,e)=>i[0](e).value);this._columnsNotPaged(o)&&o.forEach((c,e)=>{if(c.width.unit==="%"){const t={value:this._computedHeaderWidths[e],unit:"px"};this._viewModel.setColumnMetaData("width",t,e)}}),this._colResizeInProgress=!0}_removeHiddenColumns(){const n=Object.create(this._orderedColumnConfig);for(let i=0;i<n.length;i+=1){const o=n[i].hideable!==void 0?n[i].hideable:!0;n[i].hidden&&o&&n.length>1&&(n.splice(i,1),i-=1)}return this._autoFillMissingPercentageWidth(n),this._updateColumnHeaderIndex(n),n}_updateColumnHeaderIndex(n){let i=!1,o=0;for(let c=0;c<n.length;c+=1)n[c-1]&&n[c]&&n[c-1].parentId!==n[c].parentId&&(i=!1),n[c].parentId&&!i&&(o+=1,i=!0),n[c].parentId||(o+=1,i=!1),n[c].columnHeaderIndex=o}_autoFillMissingPercentageWidth(n){const[i,o]=_.validateColPct(n);if(o>-1){const c=Object.create(n[o]);Object.keys(n[o]).forEach(e=>{c[e]=n[o][e]}),c.width={value:c.width.value+i,unit:"%"},n[o]=c}}_mergeBaseItem(n,i){return Object.assign(n,i)}_moveColumns(n){n.forEach(i=>{const o=this._orderedColumnConfig.indexOf(i.item);this._orderedColumnConfig.splice(o,1),this._orderedColumnConfig.splice(i.toIndex,0,i.item)})}_getMapping(){const n=[],i=Object.create(n);return this._baseColumnConfig.forEach((o,c)=>{const e=c.toString();n.push(c),e!==o.columnId&&(i[o.columnId]=c)}),i}getColumnConfig(){return v(this._baseColumnConfig,this._customMapping,this._spanningHeaders)}setColumnConfig(n){this._setColumnConfig(n)}_filterColumnConfig(n,i){return Object.keys(n).forEach(function(o){i.includes(o)||delete n[o]}),n}_setColumnConfig(n,i={}){Object.keys(n).forEach(o=>{let c,e;if(this._spanningHeaders&&this._spanningHeaders[o]){e=o;const t=this._filterColumnConfig(n[o],["label","complexHeaderStyle"]);c=this._mergeBaseItem(this._spanningHeaders[o],t)}else e=this._customMapping[o],c=this._mergeBaseItem(this._baseColumnConfig[o],n[o]);if(!_.parseHeaderConfig(c,e))throw new Error(`Column Configuration is not valid for column with id: ${o}, label: ${(c||{}).label}`)}),this._moveColumns(n._moves),this._customMapping=this._getMapping(),this._viewModel.setColumnHeaders(this._removeHiddenColumns()),this._viewModel._setPreviousSortState(i.value,i.rangeList),this._viewModel.setState(h.protected.COLUMN_CONFIG,!0)}getColumnHeaderConfig(){return Object.assign({},this._viewModel.getColumnHeaderConfig())}setColumnHeaderConfig(n){const i=["hideColumnHeader"];Object.keys(n).forEach(c=>{if(i.includes(c)&&n[c]&&typeof n[c]!="boolean")throw new Error(`Invalid value '${n[c]}' set for '${c}' field.`)}),this.getColumnHeaderConfig().hideColumnHeader!==n.hideColumnHeader&&this._viewModel.setColumnHeaderConfig(n)}_handleColResizeDone(n){(this._viewModel.getStateByKey(h.protected.RESIZE_PCT_METADATA_HEADERS)||{}).value===!0&&(this._colResizeInProgress=!1)}}return u.default=r,u.default},A,x),A.exports=w},95860:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};function C(g,_,v){const f=[],u="COMPLEX_HEADER";function r(o,c){return!o||o.columnId===null||o.columnId===void 0?!1:c===u&&v&&v[o.columnId]?!0:!(isNaN(_[o.columnId])||_[o.columnId]<0)}function d(o){return!(!o||o.index===null||o.index===void 0||isNaN(o.index))}function n(o,c){return o.parentId===c.parentId}return Object.create(null,{getColumn:{value:function(o){if(!r(o,u))return null;const c=_[o.columnId];if(!this[c]){if(o&&v&&v[o.columnId])return this[o.columnId]=Object.create(v[o.columnId]),this[o.columnId];this[c]=Object.create(g[c])}return this[c]},writable:!1},moveColumn:{value:function(o,c){if(!r(o)){console.warn("invalid column source"+o.columnId+".");return}if(!d(c)){console.warn("invalid target "+c+".");return}const{targetParent:e}=c,t=Math.min(Math.max(c.index,0),g.length-1),s=_[o.columnId],l=e&&n(g[s],e);if(n(g[s],g[t])||l)return f.push({item:g[s],toIndex:t}),!0;console.warn("The destination index ("+t+") does not share the same parent as the column being moved (columnId: "+o.columnId+")")},writable:!1},moveByParentColumnId:{value:function(o,c){const{colIndexs:e,sourceParent:t,columnId:s}=o,{targetParent:l}=c;if(!d(c))return;const p=Math.min(Math.max(c.index,0),g.length-1);if(!n(t,g[p])&&!n(t,l)){console.warn("The destination index ("+p+") does not share the same parent as the column being moved (columnId: "+s+")");return}return e.map(E=>{f.push({item:g[E],toIndex:p})}),e[0]>p&&f.reverse(),!0},writable:!1},_moves:{get:function(){return f}}})}return h.default=C,h.default},A,x),A.exports=w},69872:(A,x,a)=>{var T,w;T=[a(37999)],w=a.dj.d(T,function(h){"use strict";var C={};class g{constructor(v){this._dataStore=v.dataStore,this.getRangeFromId=this.getRangeFromId.bind(this)}eventList(){return{}}exposedAPI(){return{getRangeFromId:this.getRangeFromId}}getRangeFromId(v){if(!v||v.id===void 0)throw new Error("You must provide a id to locate a range");return this._dataStore.getIndex({id:v.id}).then(function(f){return f&&f.index!=null?h.range().setRows(f.index,f.index):null})}}return C.default=g,C.default},A,x),A.exports=w},91179:(A,x,a)=>{var T,w;T=[a(60794),a(89019)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{constructor(f){super();const{viewModel:u}=f;this._viewModel=u}_disableWidget(){const f={};return Object.defineProperty(f,"disable",{get:this._getTableDisabled.bind(this),set:this._setTableDisabled.bind(this),enumerable:!0}),f}exposedAPI(){return this._disableWidget()}exposedTreeTableAPIs(){return this._disableWidget()}eventList(){return{}}_setTableDisabled(f){f===!0?this._viewModel.setState(C.protected.TABLE_DISABLED,f):this._viewModel.setState(C.protected.TABLE_DISABLED,!1)}_getTableDisabled(){return this._viewModel.getStateByKey(C.protected.TABLE_DISABLED)?this._viewModel.getStateByKey(C.protected.TABLE_DISABLED).value:!1}get emits(){return[]}}return g.default=_,g.default},A,x),A.exports=w},37317:(A,x,a)=>{var T,w;T=[a(89019),a(66296),a(37999),a(23513),a(85786),a(73505),a(22965)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d{constructor(i){const{emitEditCompleted:o,dataStore:c,viewModel:e,emitEditCanceled:t}=i;this._dataStore=c,this._viewModel=e,this._emitEditCompleted=o,this._emitEditCanceled=t,this._validKeys={},this._editPromise=null,this._editPromiseResolve=null,this._unmountEditor=!1,this._widget=this._viewModel.getStateByKey(h.protected.WIDGET_TYPE).value,this._widgetController=this._widget===h.protected.TYPE.TABLE?f:u;for(let s=C.BACKSPACE;s<=C.SYM2_END;s++)this._validKeys[s]=this._widgetController.isValidKeyDownEvent(s)}editCell({container:i}){this._editPromise?this._editPromise.then(()=>{this._setEditorOnFocusedCell(i)}):this._setEditorOnFocusedCell(i)}_setEditorOnFocusedCell(i){const c=this._viewModel.getStateByKey(h.protected.FOCUSED)||{};if(c.rangeList&&c.rangeList.length>0){const e=c.rangeList[0];this._widgetController.isTargetCellEditable(i,e)&&this._widgetController.setupEditorOnRange(e,this._viewModel,this._dataStore)}}_createEditPromise(){this._editPromise=new Promise(i=>{this._editPromiseResolve=i})}_resolveEditPromise(){this._editPromiseResolve(),this._editPromiseResolve=null,this._editPromise=null}eventList(){return{tableKeyPress:o=>this.setEditorOnKeyPress(o),editComplete:o=>this.editHandler(o),enterEditMode:o=>this.setEditorOnCell(o),editCancel:o=>this.removeEditorOnCell(o),editValidation:o=>this.handleEditValidation(o),processEdit:o=>this.handleProcessEdit(o)}}_updateProcessStart(i){return this._createEditPromise(),this._setEditProcessingState(i.event),this._widgetController.updateDataStore({obj:i.event,viewModel:this._viewModel,dataStore:this._dataStore})}_setEditProcessingState(i){let o;if(i){let{row:c,column:e,oldValue:t,newValue:s,validationResult:l}=i;l=l||null,o={},o={location:c+","+e,oldValue:t,newValue:s,validationResult:l}}else o=!1;this._viewModel.setState(h.protected.EDIT_PROCESSING,o)}editHandler(i){if(this._editPromise){this._unmountEditor=!0;return}const o=this._widgetController.getDataObj(i,this._viewModel);this._updateProcessStart(i).then(()=>this._updateSuccess(o),c=>this._updateFailedWithCanceled(o,c))}handleProcessEdit(i){if(this._editPromise)return;const o=this._widgetController.getDataObj(i,this._viewModel);this._updateProcessStart(i).then(()=>this._updateSuccess(o),c=>this._updateFailedWithValidation(o,c))}_updateSuccess(i){this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.getOriginalValuePromise().then(c=>{i.oldValue=c,this._widgetController.emitEditCompletedEvent(i,this._emitEditCompleted.bind(this))})}_updateFailedWithCanceled(i,o){const c=_.getValidationInfo(o);this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:i,validationResult:c,emitEditCanceled:this._emitEditCanceled.bind(this)})}_updateFailedWithValidation(i,o){const c=_.getValidationInfo(o);i.validationResult=c,!this._unmountEditor?(this._viewModel.setState(h.protected.EDIT_VALIDATION,{error:!0}),this._resolveEditPromise(),this._setEditProcessingState(i)):(this._resolveEditPromise(),this.removeEditorOnCell(),this._widgetController.handleEditCancel({obj:i,validationResult:c,emitEditCanceled:this._emitEditCanceled.bind(this)}))}handleEditValidation(i){let o=_.getState(h.protected.EDIT_VALIDATION,this._viewModel);o=o===null?{error:!1}:o.value,i.event.error!==o.error&&this._viewModel.setState(h.protected.EDIT_VALIDATION,i.event)}setEditorOnCell(i){if(v.hasModifierKey(i.event))return;const{row:o,column:c}=i.event,e=g.range().setRows(o,o).setColumns(c,c);this._widgetController.setupEditorOnRange(e,this._viewModel,this._dataStore)}removeEditorOnCell(i){const o=i?i.event:null;if(this._unmountEditor=!1,this._editPromise===null){_.getState(h.protected.EDIT_STATE,this._viewModel)&&this._viewModel.deleteState(h.protected.EDIT_STATE),_.getState(h.protected.EDIT_TRIGGER,this._viewModel)&&this._viewModel.deleteState(h.protected.EDIT_TRIGGER);const c=_.getState(h.protected.EDIT_VALIDATION,this._viewModel);c&&c.value&&c.value.error&&this._viewModel.setState(h.protected.EDIT_VALIDATION,{error:!1});const e=_.getState(h.protected.EDIT_PROCESSING,this._viewModel);e&&e.value&&this._setEditProcessingState(!1),o&&this._widgetController.handleRemoveEditor(o,this._emitEditCanceled,this._viewModel)}}setEditorOnKeyPress(i){this._widgetController.setEditorOnKeyPress({evt:i,viewModel:this._viewModel,dataStore:this._dataStore,setEditorOnFocusedCell:this._setEditorOnFocusedCell.bind(this),validKeys:this._validKeys})}}return r.default=d,r.default},A,x),A.exports=w},52466:(A,x,a)=>{var T,w;T=[a(60794)],w=a.dj.d(T,function(h){"use strict";var C={};class g extends h{constructor(v){super()}editCell(v){this._editController.editCell(v)}exposedAPI(){return{_editCell:this.editCell.bind(this)}}eventList(){return[this._editController.eventList(),this._interactiveController.eventList()]}emitEditCompleted(v){this.emit("editCompleted",v)}emitEditCanceled(v){this.emit("editCanceled",v)}emitIconAction(v){this.emit("iconAction",v)}}return C.default=g,C.default},A,x),A.exports=w},49145:(A,x,a)=>{var T,w;T=[a(89019),a(37317),a(88379),a(60612),a(52466)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u extends v{constructor(d){super();const{viewModel:n}=d;d.emitEditCompleted=this.emitEditCompleted.bind(this),d.emitEditCanceled=this.emitEditCanceled.bind(this),d.emitIconAction=this.emitIconAction.bind(this),this._editController=new C(d),this._widget=n.getStateByKey(h.protected.WIDGET_TYPE).value,this._interactiveController=this._widget===h.protected.TYPE.TABLE?new g(d):new _(d)}get emits(){return["editCompleted","editCanceled","iconAction"]}exposedTreeTableAPIs(){return{_editCell:this.editCell.bind(this)}}get treeTableEmits(){return["editCompleted","editCanceled","iconAction"]}}return f.default=u,f.default},A,x),A.exports=w},37756:(A,x,a)=>{var T,w;T=[a(89019),a(60794)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=u=>{const{ctrlKey:r,meta:d,shiftKey:n,altKey:i}=u.event;return r||i||d||n},v="headerEditCompleted";class f extends C{constructor(r){super();const{viewModel:d}=r;this._viewModel=d}_isEditInProgress(){const r=this._viewModel.getStateByKey(h.protected.EDIT_PROCESSING);return r?!!r.value:!1}exposedAPI(){return{}}eventList(){return{enterColEditMode:r=>this._setEditorOnCol(r),colEditComplete:r=>this._colEditHandler(r),leaveColEditMode:()=>this._removeEditor(h.protected.COL_EDIT_STATE),enterRowEditMode:r=>this._setEditorOnRow(r),rowEditComplete:r=>this._rowEditHandler(r),leaveRowEditMode:r=>this._editCompleted(h.protected.ROW_HEADER_EDIT_STATE,v,!1)}}get emits(){return[v]}_colEditHandler(r){const{oldValue:d,newValue:n,columnId:i}=r.event,o={oldValue:d,newValue:n,columnId:i};return this._viewModel.updateHeader({id:i,value:n}).then(()=>this._editCompleted(h.protected.COL_EDIT_STATE,v,o))}_rowEditHandler(r){const{oldValue:d,newValue:n,row:i}=r.event,o={oldValue:d,newValue:n,rowIndex:i};return this._viewModel.updateRowHeader({rowIndex:i},{value:n}).then(()=>this._editCompleted(h.protected.ROW_HEADER_EDIT_STATE,v,o))}_editCompleted(r,d,n){this._removeEditor(r),this.emit(d,n)}_setEditorOnCol(r){if(_(r)||this._isEditInProgress())return;const{columnId:d}=r.event;d&&(this._viewModel.setState(h.protected.EDIT_STATE,{}),this._viewModel.setState(h.protected.COL_EDIT_STATE,d))}_setEditorOnRow(r){if(_(r)||this._isEditInProgress())return;const{row:d}=r.event;this._viewModel.setState(h.protected.EDIT_STATE,{}),this._viewModel.setState(h.protected.ROW_HEADER_EDIT_STATE,d)}_removeEditor(r){this._viewModel.deleteState(h.protected.EDIT_STATE),this._viewModel.deleteState(r)}}return g.default=f,g.default},A,x),A.exports=w},73505:(A,x,a)=>{var T,w;T=[a(89019),a(66296),a(23513)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};let v={then:()=>{}};return _.default={updateDataStore(f){const{obj:u,viewModel:r,dataStore:d}=f,{row:n,column:i,newValue:o}=u,{dataRange:c}=g.getViewAndDataRange(n,i,r);return r.clearCurrentSortState(),d.update(c,[[o]])},getDataObj(f,u){const{row:r,column:d,newValue:n,oldValue:i}=f.event,{viewRange:o,dataRange:c}=g.getViewAndDataRange(r,d,u);return{oldValue:i,newValue:n,viewRange:o,dataRange:c,row:r,column:d}},emitEditCompletedEvent(f,u){delete f.row,delete f.column,u(f)},handleRemoveEditor(f,u,r){const{oldValue:d,newValue:n,validationResult:i,row:o,column:c}=f;if(d!==n){const{viewRange:e,dataRange:t}=g.getViewAndDataRange(o,c,r),s={oldValue:d,newValue:n,viewRange:e,dataRange:t};this.handleEditCancel({obj:s,validationResult:i,emitEditCanceled:u})}},handleEditCancel(f){const{obj:u,validationResult:r,emitEditCanceled:d}=f;r?u.validationResult=[r]:u.validationResult=[],d(u)},setEditorOnKeyPress(f){const{evt:u,viewModel:r,dataStore:d,validKeys:n}=f,i=u.event;if(!(i.ctrlKey||i.altKey||i.meta||i.shiftKey&&i.keyCode===C.SPACE||this._editPromise)&&n[i.keyCode]){const c=g.getState(h.protected.FOCUSED,r)||{};if(c.rangeList&&c.rangeList.length>0){const e=c.rangeList[0];if(this.isTargetCellEditable(i.nativeEvent.target,e)){let t=null;return i.keyCode!==C.ENTER&&i.keyCode!==C.SPACE&&(t=i),this.setupEditorOnRange(e,r,d,t)}}}},isTargetCellEditable(f,u){if(!f.hasAttribute("data-cell-type")&&u){const r=u.rows.start,d=u.columns.start;return f.querySelectorAll('[data-row="'+r+'"][data-col="'+d+'"][data-cell-type="EditableTableCell"]').length===1}return f.getAttribute("data-cell-type")==="EditableTableCell"},getOriginalValuePromise(){return v},setupEditorOnRange(f,u,r,d){const n=g.viewRangeToDataRange(f,u);if(v=g.setOriginalValuePromise(n,r),g.isFocusedRange(f,u)){const i={};i[f.rows.start+","+f.columns.start]=!0,u.setState(h.protected.EDIT_STATE,i,[f]),d&&u.setState(h.protected.EDIT_TRIGGER,d.nativeEvent.key)}},isValidKeyDownEvent(f){return f=f||1,f>=C.NUM_START&&f<=C.NUM_END||f===C.SPACE||f===C.ENTER||f>=C.ALPHA_START&&f<=C.ALPHA_END||f>=C.NUMPAD_START&&f<=C.NUMPAD_END||f>=C.SYM1_START&&f<=C.SYM1_END||f>=C.SYM2_START&&f<=C.SYM2_END}},_.default},A,x),A.exports=w},22965:(A,x,a)=>{var T,w;T=[a(51348),a(23513),a(66296)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};let v={then:()=>{}};return _.default={updateDataStore(f){const{obj:u,viewModel:r,dataStore:d}=f,{newValue:n,column:i,node:o}=u,e=(r.getColumnHeaders()[Number(i)]||{dataIndex:i}).dataIndex;r.clearCurrentSortState();const t=[];return t[e]=n,d.update({id:o.id},t)},getDataObj(f){return f.event},emitEditCompletedEvent(f,u){const{newValue:r,oldValue:d,column:n,node:i,columnId:o}=f;u({cellInfo:{id:i.id,column:n,columnId:o},newValue:r,oldValue:d})},handleRemoveEditor(f,u){this.handleEditCancel({obj:f,validationResult:f.validationResult,emitEditCanceled:u})},handleEditCancel(f){const{obj:u,validationResult:r,emitEditCanceled:d}=f,{newValue:n,oldValue:i,column:o,node:c,columnId:e}=u,t={cellInfo:{id:c.id,column:o,columnId:e},newValue:n,oldValue:i,validationResult:[]};r&&(t.validationResult=[r]),d(t)},setEditorOnKeyPress(f){const{evt:u,setEditorOnFocusedCell:r,validKeys:d}=f,n=u.event;n.ctrlKey||n.altKey||n.meta||n.shiftKey&&n.keyCode===g.SPACE||d[n.keyCode]&&r(n.nativeEvent.target)},isTargetCellEditable(f,u){const r=f,d="Editable";if(!r.hasAttribute("data-cell-type")){const i=u.rows.start,o=u.columns.start;return r.querySelectorAll(`[data-row="${i}"][data-col="${o}"][data-cell-type^="${d}"]`).length===1}return r.getAttribute("data-cell-type").indexOf(d)===0},getOriginalValuePromise(){return v},setupEditorOnRange(f,u,r){const d=C.viewRangeToDataRange(f,u);v=C.setOriginalValuePromise(d,r);const n={};n[f.rows.start+","+f.columns.start]=!0,u.setState(h.protected.EDIT_STATE,n,[f])},isValidKeyDownEvent(f){return f=f||1,f===g.F2||f===g.ENTER}},_.default},A,x),A.exports=w},75759:(A,x,a)=>{var T,w;T=[a(11342),a(60794),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends C{constructor(u){super(),this._handleDoubleClick=this._handleDoubleClick.bind(this),this._preventDefault=this._preventDefault.bind(this);const{viewModel:r}=u;this._viewModel=r}eventList(){const u={};return u[g.protected.CELL_DBL_CLICK]=r=>this._handleDoubleClick(r.event),u}_preventDefault(){this._defaultPrevented=!0}_handleDoubleClick(u){this._defaultPrevented=!1;const r=h.getRangeForCell(u.row,u.column),d=this._viewModel.getStateForCustomEvent(),n=Object.assign(d,{cellRange:r,preventDefault:this._preventDefault});this.emit(g.exposed.DOUBLE_CLICKED,n),!this._defaultPrevented&&u.defaultFn&&u.defaultFn()}get emits(){return[g.exposed.DOUBLE_CLICKED]}exposedAPI(){return{}}}return _.default=v,_.default},A,x),A.exports=w},58563:(A,x,a)=>{var T,w;T=[a(60794),a(97154),a(13585)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super();const{viewModel:r}=u;this._viewModel=r}exposedAPI(){return{}}eventList(){const u={};return u[C.internal.TABLE_RIGHT_CLICK]=this._handleRightClick.bind(this),u[C.internal.TABLE_WHITE_SPACE_LEFT_CLICK]=this._handleWhiteSpaceLeftClick.bind(this),u}_handleRightClick(u){let r=u.event;const d=this._viewModel.getStateForCustomEvent().isEditing,n=this._viewModel.viewRangeListToDataRangeList([r.viewRange]);if(n.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");Object.assign(r,{isEditing:d,dataRange:n[0]}),g.validateContextMenuEventInfo(r),this.emit(C.exposed.CONTEXT_MENU,r)}_handleWhiteSpaceLeftClick(u){this.emit(C.exposed.BELOW_DATA_REGION_CLICKED,u.event)}get emits(){return[C.exposed.CONTEXT_MENU,C.exposed.BELOW_DATA_REGION_CLICKED]}get treeTableEmits(){return[C.exposed.BELOW_DATA_REGION_CLICKED]}}return _.default=v,_.default},A,x),A.exports=w},61437:(A,x,a)=>{var T,w;T=[a(97154),a(89019)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f){const{viewModel:u}=f;this._vm=u,this._vm.setState(C.ROW_HEADER_NODE,{offsetWidth:0}),this._publishNode={},this._subscribeNode={}}exposedAPI(){return{}}eventList(){return{[h.internal.NODE_PUBLISH]:u=>this._nodePublish(u.event),[h.internal.NODE_SUBSCRIBE]:u=>this._nodeSubscribe(u.event),[h.internal.NODE_UNSUBSCRIBE]:u=>this._nodeUnsubscribe(u.event),[h.protected.NODE_NOTIFY]:u=>this._notifyChannel(u.event),[h.protected.FORCE_LAYOUT]:this._notifyAll.bind(this)}}_nodePublish(f){const{publisherFn:u,publisherId:r}=f;this._publishNode[r]=u}_nodeSubscribe(f){const{subscriberFn:u,subscriberId:r,subscribeTo:d}=f;this._subscribeNode[r]={subscriberFn:u,publisherId:d}}_nodeUnsubscribe({subscriberId:f}){delete this._subscribeNode[f]}_notifyChannel(f){const{publisherFn:u,publisherId:r}=f,d={[r]:u()};this._notifySubscribers(d)}_notifyAll(){const f={};Object.keys(this._publishNode).forEach(u=>{const r=this._publishNode[u];f[u]=r()}),this._notifySubscribers(f)}_notifySubscribers(f){Object.keys(this._subscribeNode).forEach(u=>{if(this._subscribeNode[u]){const{subscriberFn:r,publisherId:d}=this._subscribeNode[u];Object.prototype.hasOwnProperty.call(f,d)&&r(f[d])}})}}return g.default=_,g.default},A,x),A.exports=w},88379:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(66296),a(23513),a(37999)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{constructor(d){const{emitEditCompleted:n,emitIconAction:i,dataStore:o,viewModel:c}=d;this._viewModel=c,this._dataStore=o,this._emitEditCompleted=n,this._emitIconAction=i}eventList(){const d={};return d[h.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),d[h.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),d}_mapViewColumnsToDataColumns(d){const n={};for(let i=d.columns.start;i<=d.columns.end;i++)n[this._getDataColumn(i)]=i;return n}_convertViewRangeToDataRange(d){let n;const i=this._getDataColumn(d.columns.start),o=this._getDataColumn(d.columns.end);return d.rows.end===1/0?n=this._dataStore.dataSize.rows.end:n=d.rows.end,v.range().setRows(d.rows.start,n).setColumns(i,o)}_getNewValueIfUnchecked(d,n){const i=d.handleAction({value:n,shouldUpdate:!0});let o;return i?o=!1:o=!0,{oldState:o,value:i}}_getDataColumn(d){let i=(this._viewModel.getColumnHeaders()[Number(d)]||{}).dataIndex;return(i<=-1||i===void 0)&&(i=d),i}_getOldValueToToggle(d,n){const i=n.range,o=n.renderer,c=this._convertViewRangeToDataRange(i),e=this._mapViewColumnsToDataColumns(i);let t,s,l,p;for(let E=c.rows.start;E<=c.rows.end;E++)for(let m=c.columns.start;m<=c.columns.end;m++)if(this._getNewValueIfUnchecked(o,d[0][E][m]).oldState)return s=v.range().setRows(E,E).setColumns(m,m),t=o.handleAction({value:d[0][E][m],shouldUpdate:!0,shouldToggle:!0}),l=e[m],p=v.range().setRows(E,E).setColumns(l,l),{value:t,dataRange:s,viewRange:p}}_updateIconAction(d,n){this._emitIconAction({viewRange:n,dataRange:d})}_updateDataStore(d,n,i){this._dataStore.update(d,[[i.newValue]]),this._emitEditCompleted({oldValue:i.oldValue,newValue:i.newValue,viewRange:n,dataRange:d})}_updateToggledValues(d){let{interactiveRenderer:n,newToggledValue:i}=d;const o=this,c=n.renderer,{dataRange:e,viewRange:t}=this._getViewandDataRange(d),s=this._convertViewRangeToDataRange(n.range);this._dataStore.getData([s]).then(l=>{if(i=i||this._getNewValueIfUnchecked(c,l[0][e.rows.start][e.columns.start]).value,i){const p=o._getOldValueToToggle(l,n);p&&this._dataStore.update(p.dataRange,[[p.value.newValue]]),this._updateDataStore(e,t,i)}})}_getViewandDataRange(d){let{viewPosition:n,viewRange:i}=d;n&&(i=v.range().setRows(n.row,n.row).setColumns(n.column,n.column));const o=this._getDataColumn(i.columns.start),c=v.range().setRows(i.rows.start,i.rows.start).setColumns(o,o);return{viewRange:i,dataRange:c}}_handleCellClickEvent(d){const n=this,i=this._viewModel.getStateByKey("interactiveRenderer")||{},o=_.getInteractiveRendererFor(i,d.event.row,d.event.column);if(!o)return;const c=o.renderer,e={interactiveRenderer:o,viewPosition:{row:d.event.row,column:d.event.column},newToggledValue:d.event},t=this._getViewandDataRange(e);c.toggle?this._updateToggledValues(e):c.iconAction?this._updateIconAction(t.dataRange,t.viewRange):n._updateDataStore(t.dataRange,t.viewRange,d.event)}_handleKeyPressEvent(d){const n=[g.SPACE,g.ENTER],i=[g.SPACE];if(n.includes(d.event.keyCode)){const o=this._viewModel.getStateByKey(C.protected.FOCUSED),c=this._viewModel.getStateByKey("interactiveRenderer")||{};if(o&&o.rangeList&&o.rangeList.length>0){const{viewRange:e,viewColIndex:t,viewRowIndex:s}=_.getViewIndex(o),l=_.getInteractiveRendererFor(c,s,t);if(!l)return;const p=l.renderer;if(!p.iconAction&&!i.includes(d.event.keyCode))return;const E=_.getColumnConfig(this._viewModel,t),m=this._dataStore.getLocalCellMetaData(s,E.dataIndex);if(_.isReadOnly(m)||E.readonly===!0)return;const y={interactiveRenderer:l,viewRange:e},{dataRange:b}=this._getViewandDataRange(y);p.toggle?this._updateToggledValues(y):p.iconAction?this._updateIconAction(b,e):this._dataStore.getData([b]).then(I=>{const S=this._getNewValueIfUnchecked(p,I[0][b.rows.start][b.columns.start]).value;S&&this._updateDataStore(b,e,S)})}}}}return f.default=u,f.default},A,x),A.exports=w},34378:(A,x,a)=>{var T,w;T=[a(75209),a(85786),a(90622),a(72240),a(48369),a(98537),a(51348),a(66296)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};class n{constructor(o){const{dataStore:c,viewModel:e}=o;this._viewModel=e,this._dataStore=c,this._keyHandlerList=[],this._preventDefault=this._preventDefault.bind(this),this._widget=this._viewModel.getStateByKey(u.protected.WIDGET_TYPE).value}_getKeyHandlerList(){return this._keyHandlerList}_setKeyHandlerList(o){this._keyHandlerList=o}eventList(){const o={};return o[v.protected.KEY_PRESS]=this._handleTableKeyPress.bind(this),o}exposedTreeTableAPIs(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}exposedAPI(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}removeCustomKeyHandler(o){if(!o||typeof o!="string")throw new Error(`Invalid KeyHandlerName, ${o} should be a String.`);let c=this._getKeyHandlerList();if(!C.isPropertyInTheObject(c,f.KEY_HANDLER_NAME,o))throw new Error(`Invalid KeyHandlerName, ${o} has not been added by addCustomKeyHandler API.`);c&&Array.isArray(c)&&c.length>0&&(c=c.filter(e=>e[f.KEY_HANDLER_NAME]!==o),this._setKeyHandlerList(c))}addCustomKeyHandler(o,c,e){if(!o||typeof o!="string")throw new Error(`Invalid KeyHandlerName, ${o} should be a String.`);const t=this._getKeyHandlerList();if(C.isPropertyInTheObject(t,f.KEY_HANDLER_NAME,o))throw new Error(`Invalid KeyHandlerName, ${o} should be Unique, ${o} is already bound to addCustomKeyHandler API.`);if(typeof e!="function")throw new Error(`Invalid KeyHandler callback, ${e} should be a function.`);this._generateKeyHandlerList(o,c,e,t)}_generateKeyHandlerList(o,c,e,t,s=_.internal.ALL){if(c&&Array.isArray(c)){if(g.validatingKeyBindingLength(c),C.hasDuplicates(c))throw new Error("Invalid KeyBinding, Duplicate keycode found.");for(const l of c){this._validatingIndividualKeyCombination(l,s,t);const p=h.isKeyBindingInHandlerList(l,o,t);if(p){const E=h.findPropertyInTheObject(l,o,t);E&&E[f.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(E[f.PLATFORMS],s)}if(l&&!p){let E=h.getModifierLookupList();Array.isArray(l)&&(E=h.getModifierKeyCodeList(l));const m={};m[f.KEY_CODE]=l,m[f.KEY_HANDLER_NAME]=o,m[f.KEY_HANDLER]=e,m[f.PLATFORMS]=[s],m[f.MODIFIER_KEY_LIST]=E,t.push(m)}}}else if(c&&typeof c=="object"){g.validatingKeyBindingLength(Object.keys(c)),g.validatingPlatformInKeyBinding(c);for(const l in c)Object.prototype.hasOwnProperty.call(c,l)&&this._generateKeyHandlerList(o,c[l],e,t,l)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}_validatingIndividualKeyCombination(o,c,e){if(!o)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(o)){if(o.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");g.validateSequenceOfKeyCombination(o),g.validateKeyCombinations(o,c,e)}else{if(!h.keyCodeLookUpArray().includes(o))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");const t=h.findKeyCodeInTheList(o,c,e);if(t&&t[f.KEY_HANDLER_NAME])throw new Error(`Invalid KeyBinding, ${C.getKeyByValue(r,o)} is already bound to ${t[f.KEY_HANDLER_NAME]} KeyHandler`)}}_updateKeyHandlerObjectWithPlatform(o,c){!h.isPlatformInTheList(o,c)&&Array.isArray(o)&&o.push(c)}_getTableSelectionState(){const o=this._viewModel.getStateByKey(u.protected.SELECTED);return o&&o.rangeList?o.rangeList:null}_getTreeTableSelectionState(){const o=this._viewModel.getStateByKey(u.protected.SELECTED);return o&&o.value?o.value:[]}_getSelection(){if(this._widget==="Table")return this._getTableSelectionState();if(this._widget==="TreeTable")return this._getTreeTableSelectionState().map(e=>({id:e}))}_getFocusedState(){return this._viewModel.getStateByKey(u.protected.FOCUSED)||null}_getFocused(){const o={},c=this._getFocusedState();if(this._widget==="Table")return c;if(this._widget==="TreeTable")return c&&c.rangeList[0]&&c.value&&(o.column=c.rangeList[0].columns.start,o.id=c.value),o}_handleTableKeyPress(o){this._defaultPrevented=!1;const c=Object.assign([],this._getKeyHandlerList()),e=o.event,t={};if(t.preventDefault=this._preventDefault,t.selectedRows=this._getSelection(),t.focusedCell=this._getFocused(),c){const s=c.filter(l=>this._isKeyHandlerObjInTheList(e,l));for(const l of s)if(l[f.KEY_HANDLER](t),this._defaultPrevented)break}!this._defaultPrevented&&e.eventCallback&&this._emitExistingEvents(e)}_isKeyHandlerObjInTheList(o,c){const e=C.getUsersPlaform();let t=c[f.KEY_CODE];const s=c.modifierKeyList;Array.isArray(t)&&(t=h.getKeyCodeArray(t)[0]);const l=h.isPlatformInTheList(c[f.PLATFORMS],e);let p=l;return!l&&c[f.PLATFORMS][0]===_.internal.ALL&&(p=!0),o[f.KEY_CODE]===t&&o[f.ALT_KEY]===s[f.ALT_KEY]&&o[f.CTRL_KEY]===s[f.CTRL_KEY]&&o[f.META]===s[f.META]&&o[f.SHIFT_KEY]===s[f.SHIFT_KEY]&&p}_preventDefault(){this._defaultPrevented=!0}_emitExistingEvents(o){const{nativeEvent:c,keyCode:e,meta:t,ctrlKey:s,shiftKey:l,altKey:p}=o,E=v.internal.TABLE_KEY_PRESS;o.eventCallback&&o.eventCallback(E,{nativeEvent:c,keyCode:e,meta:t,ctrlKey:s,shiftKey:l,altKey:p})}}return d.default=n,d.default},A,x),A.exports=w},36749:(A,x,a)=>{var T,w;T=[a(89019),a(97154),a(9747)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{constructor(u){this._viewModel=u.viewModel,this._dataStore=u.dataStore,this._logicalViewPort=u.viewPortList[0],this._viewModel.on(C.internal.DATA_SORTED,this.updateActiveCellAfterSort.bind(this))}setActiveCell({activeRange:u,scrollInPixels:r,leftScrollFn:d,topScrollFn:n}){if(Array.isArray(u)&&u.length===0)return this._viewModel.setState(h.protected.ACTIVE_CELL,null,[]);if(u){const i=this.getActiveNodeInView(u),o=[u],c=i?{id:i.id}:null;if(this._viewModel.setState(h.protected.ACTIVE_CELL,c,o),r){const{scrollLeft:e,scrollCol:t,scrollFn:s}=r;!isNaN(e)&&e!==null&&d(e,t,s)}if(r){const{scrollFn:e,scrollTop:t,scrollRow:s}=r;!isNaN(t)&&t!==null&&n(t,s,e)}}else this._viewModel.setState(h.protected.ACTIVE_CELL,null,[])}getActiveNodeInView(u){let r=null;return u.rows.start<=this._viewModel.viewBuffer.rangeList[0].rows.end&&u.rows.start>=this._viewModel.viewBuffer.rangeList[0].rows.start&&(r=this._dataStore.getLocalRowMetaData(u.rows.start)),r}updateActiveCellAfterSort(u){var r;const d=this._viewModel.getStateByKey(h.protected.ACTIVE_CELL),n=!!((r=d==null?void 0:d.value)!=null&&r.id),i=!!(d!=null&&d.rangeList&&d.rangeList[0]);if(n&&i){const o=d.rangeList[0].columns.start;g.getRangeFromId(this._dataStore,d.value.id,o).then(e=>{this._viewModel.setState(h.protected.ACTIVE_CELL,d.value,[e])})}}}return _.default=v,_.default},A,x),A.exports=w},11914:(A,x,a)=>{var T,w;T=[a(64833)],w=a.dj.d(T,function(h){"use strict";var C={};function _(v){function f(n){return Math.max(0,n)*v.ROW_HEIGHT}function u(n,i,o){const c=h.maybe(o[i]).chain(function(m){return m.height}).therefore(-1,function(m){return n-m});if(c<0)return Math.max(f(i+1)-n,0);let e=i,t=0;for(;o[e-=1]&&t<c;)t+=o[e].height;e+=1;const s=t-c,l=Math.max(0,s/o[e].height),p=Math.floor(l*v.ROW_HEIGHT);return Math.floor(v.ROW_HEIGHT*e)+p}function r(n){return Math.max(0,v.COL_WIDTH*n)}function d(n,i,o){const c=h.maybe(o[i]).chain(function(m){return m.width}).therefore(-1,function(m){return n-m});if(c<0)return Math.max(r(i)-n,0);let e=i,t=0;for(;o[e-=1]&&t<c;)t+=o[e].width;e+=1;const s=t-c,l=Math.max(0,s/o[e].width),p=Math.floor(l*v.COL_WIDTH);return Math.floor(v.COL_WIDTH*e)+p}return{getScrollLeftPosition:r,getScrollRightPosition:d,getScrollBottomPosition:u,getScrollTopPosition:f}}return C.default=_,C.default},A,x),A.exports=w},43409:(A,x,a)=>{var T,w;T=[a(37999),a(3409),a(11914),a(45640),a(64833),a(29724),a(89019),a(19295)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};class n{constructor(o){this._logicalSize=new f(o),this._viewModel=o,this._bufferedNavigation=g(this._logicalSize),this._unbufferedNavigation=C(this._logicalSize),this.getScrollTopPosition=this.getScrollTopPosition.bind(this),this.getScrollBottomPosition=this.getScrollBottomPosition.bind(this),this.getScrollLeftPosition=this.getScrollLeftPosition.bind(this),this.getScrollLeftPositionWithFrozenColumns=this.getScrollLeftPositionWithFrozenColumns.bind(this),this.getScrollRightPosition=this.getScrollRightPosition.bind(this)}getScrollTopPosition(o,c){const e=this._viewModel.viewBuffer.rangeList[0],t=this._viewModel.getRowCount();return e.rows.count===t?this._unbufferedNavigation.getScrollTopPosition.apply(null,[o,c]):this._bufferedNavigation.getScrollTopPosition.apply(null,[o,c])}getScrollLeftPosition(o,c){const e=this._viewModel.viewBuffer.rangeList[0],t=this._viewModel.getColumnCount(),s=this._viewModel.getStateByKey(u.protected.FREEZE_COLUMN_CONFIG)?this._viewModel.getStateByKey(u.protected.FREEZE_COLUMN_CONFIG).value:null;return e.columns.count===t?this._unbufferedNavigation.getScrollLeftPosition.apply(null,[o,c,s]):this._bufferedNavigation.getScrollLeftPosition.apply(null,[o,c,s])}_getColumnsToSatisfyMinPhysicalScroll(o,c,e,t){let s=o,l=0;for(c-=1;t[c]&&s<e;)s+=t[c].width,l+=1,c-=1;return{columnsToScroll:l,actualPhysicalScroll:s,updateNextLeftColumnToBringIntoView:c}}_computeAdjustmentForExtraScroll(o,c,e,t){return(o-c)/(e[t+1].width/this._logicalSize.COL_WIDTH)}getScrollLeftPositionWithFrozenColumns(o,c,e,t){const{freezeColumnConfig:s,nextLeftColumnToBringIntoView:l,originalScrollRect:p}=o,E=e[s.range.columns.end].right-t.prev;let m=0;if(l>0){const y=p.left-e[l].left,b=l*this._logicalSize.COL_WIDTH,{columnsToScroll:I,actualPhysicalScroll:S,updateNextLeftColumnToBringIntoView:R}=this._getColumnsToSatisfyMinPhysicalScroll(y,l,E,e),N=this._computeAdjustmentForExtraScroll(S,E,e,R);m=Math.max(0,b-this._logicalSize.COL_WIDTH*I+N)}return m}getScrollRightPosition(o,c,e){const t=this._viewModel.viewBuffer.rangeList[0],s=this._viewModel.getColumnCount();return t.columns.count===s?this._unbufferedNavigation.getScrollRightPosition.apply(null,[o,c,e]):this._bufferedNavigation.getScrollRightPosition.apply(null,[o,c,e])}getScrollBottomPosition(o,c,e){const t=this._viewModel.viewBuffer.rangeList[0],s=this._viewModel.getRowCount();return t.rows.count===s?this._unbufferedNavigation.getScrollBottomPosition.apply(null,[o,c,e]):this._bufferedNavigation.getScrollBottomPosition.apply(null,[o,c,e])}increment(o,c,e){return Math.min(e+Number(c),o)}decrement(o,c,e){return Math.max(e-c,o)}setCellMeta(o,c,e,t){const s=h.range().setRows(e,e).setColumns(t,t);return{scrollInPixels:{scrollLeft:c,scrollTop:o,scrollCol:t,scrollRow:e},activeRange:s}}getCurrent(o,c){return v.maybe(o).chain(function(e){return e.currentState}).chain(function(e){return e.rangeList}).chain(function(e){return e[0]}).therefore(-1,function(e){return e[c].start})}isInRange(o,c){return o.prev<=c.prev&&o.next>=c.next}isNextItem(o,c){return o.next>c.prev&&o.next<=c.next}isPreviousItem(o,c){return o.prev>c.prev&&o.prev<=c.next}isBeforeView(o,c,e,t){return c.prev===void 0?t<Object.keys(e)[0]:this.isPreviousItem(o,c)||o.prev>c.prev&&o.prev>=c.next}isAfterView(o,c,e,t){return c.prev===void 0?t>Object.keys(e)[0]:this.isNextItem(o,c)||o.next<=c.prev&&o.next<c.next}getRowPosition(o,c,e,t){const s=c[e]||{},l=_.map(s,[["top","prev"],["bottom","next"]]),p=_.map(o,[["top","prev"],["bottom","next"]]);return this.isNextItem(p,l)?this.getScrollBottomPosition(t,e,c):this.isPreviousItem(p,l)?this.getScrollTopPosition(e,c):this.isInRange(p,l)?null:this.getScrollTopPosition(e,c)}getColPosition(o,c,e,t){const s=t[o]||{},l=_.map(s,[["left","prev"],["right","next"]]),p=_.map(c,[["left","prev"],["right","next"]]);return this.isNextItem(p,l)?this.getScrollRightPosition(e,o,t):this.isPreviousItem(p,l)?this.getScrollLeftPosition(o,t):this.isInRange(p,l)?null:this.getScrollLeftPosition(o,t)}getNearestRowPosition(o,c,e,t){const s=c[e]||{},l=_.map(s,[["top","prev"],["bottom","next"]]),p=_.map(o,[["top","prev"],["bottom","next"]]);return this.isBeforeView(p,l,c,e)?{scrollPosition:this.getScrollTopPosition(e,c),scrollDirection:r.SCROLL_TOP}:this.isAfterView(p,l,c,e)?{scrollPosition:this.getScrollBottomPosition(t,e,c),scrollDirection:r.SCROLL_BOTTOM}:null}getNearestColumnPosition(o,c,e,t){const s=c[e]||{},l=_.map(s,[["left","prev"],["right","next"]]),p=_.map(o,[["left","prev"],["right","next"]]);return this.isBeforeView(p,l,c,e)?{scrollPosition:this.getScrollLeftPosition(e,c),scrollDirection:r.SCROLL_LEFT}:this.isAfterView(p,l,c,e)?{scrollPosition:this.getScrollRightPosition(t,e,c),scrollDirection:r.SCROLL_RIGHT}:null}}return d.default=n,d.default},A,x),A.exports=w},80256:(A,x,a)=>{var T,w;T=[a(11342),a(79424),a(43409),a(36749),a(45640),a(66296),a(89019),a(97154),a(70348),a(19295),a(60794),a(45330)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o){"use strict";var c={};class e{constructor(s){const{viewModel:l}=s;this._viewModel=l,this._logicalViewPort=s.viewPortList[0],this._activeCell=new _(s),this._selectionById=!!(s.options&&s.options.selectionConfig&&s.options.selectionConfig.selectionById),this._handler={},this._handler[f.PAGE_UP]=this._handlePageUp.bind(this),this._handler[f.PAGE_DOWN]=this._handlePageDown.bind(this),this._handler[f.END]=this._handleEnd.bind(this),this._handler[f.HOME]=this._handleHome.bind(this),this._handler[f.ARROW_LEFT]=this._handleArrowLeft.bind(this),this._handler[f.ARROW_UP]=this._handleArrowUp.bind(this),this._handler[f.ARROW_RIGHT]=this._handleArrowRight.bind(this),this._handler[f.ARROW_DOWN]=this._handleArrowDown.bind(this),this._rowRects=()=>({}),this._headerRects=()=>({}),this._rowCellRects=()=>({}),this.cellNav=new g(l);const p=new i;this.on=p.on.bind(p)}exposedAPI(){return{scrollTo:this.scrollTo.bind(this)}}eventList(){const s={};return s[r.protected.TABLE_CELL_CLICK]=l=>this._rowClicked(l.event),s[r.internal.TABLE_KEY_PRESS]=l=>this._processAndEmitKeyPress(l),s[r.protected.HEADER_RECTS]=l=>this._setHeaderRects(l),s[r.protected.ROW_RECTS]=l=>this._setRowRects(l),s[r.protected.ROW_CELL_RECTS]=l=>this._setRowCellRects(l),s}_rowCellRectsHeaderFallback(s){const l=this._rowCellRects(s);return Object.keys(l).length===0&&s.row!==void 0&&s.col===void 0?this._headerRects():l}scrollTo(s,l={maintainPositionIfInView:!0,scrollToNearestEdge:!1}){l.maintainPositionIfInView===void 0&&(l.maintainPositionIfInView=!0),l.scrollToNearestEdge===void 0&&(l.scrollToNearestEdge=!1);const p=this;function E(){if(!(s&&Object.keys(s).length))return new Promise((b,I)=>I(new Error(`The usage of Cell Range argument - ${s} is not correct in scrollTo API. Please check JSDoc to see the correct usage.`)));let m=!1,y=!1;return s.rows&&(s.rows&&s.rows.count>0&&(y=p._scrollToRow(s,l)),s.columns&&s.columns.count>0&&(m=p._scrollToColumn(s,l))),m===!1&&y===!1?new Promise(b=>{b()}):new Promise(b=>{p._viewModel.on("viewDataChanged",b)})}return E()}_scrollToColumn(s,l){const{maintainPositionIfInView:p,scrollToNearestEdge:E}=l,m=Math.min(this._viewModel.dataSize.columns.count-1,s.columns.start),y=Math.min(this._viewModel.dataSize.rows.count-1,s.rows.start),b=this._rowCellRectsHeaderFallback({row:y}),I=this._logicalViewPort.getWidth(),S=this._getScrollRect();let R=!0;const N=this.cellNav.getColPosition(m,S,I,b)===null;if(p)if(s.columns.start!==s.columns.end){const O=this.cellNav.getColPosition(Math.min(this._viewModel.dataSize.columns.count-1,s.columns.end),S,I,b)===null;R=!(N&&O)}else R=!N;if(R){let O,L=n.SCROLL_LEFT;if(E&&!N&&s.columns.start===s.columns.end?{scrollPosition:O,scrollDirection:L}=this.cellNav.getNearestColumnPosition(S,b,m,I):O=this.cellNav.getScrollLeftPosition(m,b),L===n.SCROLL_LEFT)R=this._logicalViewPort.setScrollLeftPx(O);else{const U=C.curry(this.cellNav.getScrollRightPosition)(I,m);R=this._logicalViewPort.setScrollRightPx(O,m,U)}}return R}_scrollToRow(s,l){const{maintainPositionIfInView:p,scrollToNearestEdge:E}=l,m=Math.min(this._viewModel.dataSize.rows.count-1,s.rows.start),y=this._logicalViewPort.getHeight(),b=this._rowRects(),I=this._getScrollRect();let S=!0;const R=this.cellNav.getRowPosition(I,b,m,y)===null;if(p)if(s.rows.start!==s.rows.end){const N=this.cellNav.getRowPosition(I,b,s.rows.end,y)===null;S=!(R&&N)}else S=!R;if(S){let N,O=n.SCROLL_TOP;if(E&&!R&&s.rows.start===s.rows.end?{scrollPosition:N,scrollDirection:O}=this.cellNav.getNearestRowPosition(I,b,m,y):N=this.cellNav.getScrollTopPosition(m,b),O===n.SCROLL_TOP)S=this._logicalViewPort.setScrollTopPx(N);else{const L=C.curry(this.cellNav.getScrollBottomPosition)(y,m);S=this._logicalViewPort.setScrollBottomPx(N,m,L)}}return S}_setRowRects(s){this._rowRects=s.event.children}_setHeaderRects(s){this._headerRects=s.event.children}_setRowCellRects(s){this._rowCellRects=s.event.children}_hasModifier(s){return!1}_getActiveState(){return this._viewModel.getStateByKey(u.protected.ACTIVE_CELL)||void 0}_processAndEmitKeyPress(s){const l=s.event,p={keyCode:l.keyCode};p.modifiers=l,p.dataSize={},p.viewPort={},p.dataSize=s.dataSize,p.viewPort=s.viewPort.rangeList[0],p.viewModel=this._viewModel,p.headerRects=this._headerRects,p.rowCellRects=this._rowCellRects,p.currentState=this._getActiveState(),this._keyPressed(p)}_rowClicked(s){const l=h.getRangeForCell(s.row,s.column);let p=null;this._selectionById&&(p={id:s.rowId}),this._viewModel.setState(u.protected.ACTIVE_CELL,p,[l])}_getPreviousViewCount(s){const l=this.cellNav.getCurrent(s,"rows"),p=this._rowRects();return this._logicalViewPort.getPreviousViewPortCount(p,l)}_getNextViewPortCount(s){const l=this.cellNav.getCurrent(s,"rows"),p=this._rowRects();return this._logicalViewPort.getNextViewPortCount(p,l)}_getLastRowPositionForHeight(){const s=this._logicalViewPort.getHeight();return C.curry(this.cellNav.getScrollBottomPosition)(s)}_getRightColPositionForWidth(){const s=this._logicalViewPort.getWidth();return C.curry(this.cellNav.getScrollRightPosition)(s)}_getScrollRect(){const s=this._logicalViewPort.getBoundingRect(),l=s.height-this._logicalViewPort.getHeight(),p=s.width-this._logicalViewPort.getWidth();return{top:s.top,left:s.left,bottom:s.bottom-l,right:s.right-p}}_handleVertical(s,l,p){const E=this.cellNav.getCurrent(s,"rows"),m=Math.max(0,this.cellNav.getCurrent(s,"columns")),y=l(E),b=this._getScrollRect(),I=this._logicalViewPort.getWidth();let S=null;const R=this.cellNav.getColPosition(m,b,I,this._rowCellRectsHeaderFallback({row:E})),N=this._rowRects(),O=N[y]||{},L=v.map(O,[["top","prev"],["bottom","next"]]),U=v.map(b,[["top","prev"],["bottom","next"]]);this.cellNav.isInRange(U,L)||(S=p(y,N));const z=this.cellNav.setCellMeta(S,R,y,m);return z.scrollInPixels.scrollFn=C.curry(p)(y),z}_handlePageUp(s){const l=C.curry(this.cellNav.decrement)(s.dataSize.rows.start,this._getPreviousViewCount(s)),p=this._handleVertical(s,l,this.cellNav.getScrollTopPosition);return p.topScrollFn=this._logicalViewPort.setScrollTopPx,p}_handlePageDown(s){const l=C.curry(this.cellNav.increment)(s.dataSize.rows.end,this._getNextViewPortCount(s)),p=this._handleVertical(s,l,this._getLastRowPositionForHeight());return p.topScrollFn=this._logicalViewPort.setScrollBottomPx,p}_handleArrowUp(s){const l=C.curry(this.cellNav.decrement)(s.dataSize.rows.start,1);return this._handleVertical(s,l,this.cellNav.getScrollTopPosition)}_handleArrowDown(s){const l=C.curry(this.cellNav.increment)(s.dataSize.rows.end,1);return this._handleVertical(s,l,this._getLastRowPositionForHeight())}_hasCtrlModifier(s){return s.modifiers?s.modifiers.ctrlKey:!1}_hasCmdModifier(s){if(s.modifiers)return s.modifiers.meta||s.modifiers.metaKey}_handleHome(s){if(this._hasCtrlModifier(s))return this._handleCtrlHomeEnd(s,!1);if(this._hasCmdModifier(s))return;const l=()=>0;return this._handleHorizontal(s,l,this.cellNav.getScrollLeftPosition)}_handleEnd(s){if(this._hasCtrlModifier(s))return this._handleCtrlHomeEnd(s,!0);if(this._hasCmdModifier(s))return;const l=()=>s.dataSize.columns.end,p=this._handleHorizontal(s,l,this._getRightColPositionForWidth());return p.leftScrollFn=this._logicalViewPort.setScrollRightPx,p}_handleCtrlHomeEnd(s,l){const p=Math.max(0,this.cellNav.getCurrent(s,"rows"));let E=s.dataSize.columns.start,m=s.dataSize.rows.start;l===!0&&(E=s.dataSize.columns.end,m=s.dataSize.rows.end);const y=this._rowCellRectsHeaderFallback({row:p}),b=y[E]||{},I=this._rowRects(),S=I[m]||{},R=this._getScrollRect(),N=this._logicalViewPort.getWidth(),O=v.map(b,[["left","prev"],["right","next"]]),L=v.map(S,[["top","prev"],["bottom","next"]]),U=v.map(R,[["left","prev"],["right","next"]]);let z=null,$=null;this.cellNav.isInRange(U,O)||(z=this.cellNav.getScrollRightPosition(N,E,y)),this.cellNav.isInRange(U,L)||($=this.cellNav.getScrollTopPosition(m,I));const W=this.cellNav.setCellMeta($,z,m,E);return W.scrollInPixels.scrollFn=C.curry(this._getRightColPositionForWidth())(E),W.leftScrollFn=this._logicalViewPort.setScrollRightPx,W}_handleHorizontal(s,l,p,E=this._getScrollRect()){const m=Math.max(0,this.cellNav.getCurrent(s,"rows")),y=this.cellNav.getCurrent(s,"columns");let b=l(y);const I=this._rowCellRectsHeaderFallback({row:m}),S=I[b]||{};S.width===d.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN&&(b=this._getCollapseColumnFocus(y,b,I,s.dataSize),b===-1&&(b=y));const R=v.map(S,[["left","prev"],["right","next"]]),N=v.map(E,[["left","prev"],["right","next"]]);let O=null;const L=this._rowRects(),U=this.cellNav.getRowPosition(E,L,m,this._logicalViewPort.getHeight());this.cellNav.isInRange(N,R)||(O=p(b,I,R));const z=this.cellNav.setCellMeta(U,O,m,b);return z.scrollInPixels.scrollFn=C.curry(p)(b),z}_getCollapseColumnFocus(s,l,p,E){let m=-1;const y=l>s,b=E&&E.columns?E.columns.end:0,I=E&&E.columns?E.columns.start:0;if(y){for(let S=l;S<=b;S++)if((p[S]||{}).width>d.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){m=S;break}}else for(let S=l;S>=I;S--)if((p[S]||{}).width>d.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN){m=S;break}return m}_updateScrollRectWithFrozenColumns(s,l,p){const E=Math.max(0,this.cellNav.getCurrent(s,"rows")),y=this._rowCellRectsHeaderFallback({row:E})[p.range.columns.end];l.left=y.right}_handleArrowLeft(s){const l=C.curry(this.cellNav.decrement)(s.dataSize.columns.start,1),p=this._getScrollRect();let E=this.cellNav.getScrollLeftPosition;if(o.isFreezeColumnEnabled(this._viewModel)){const y=this._viewModel.getStateByKey(u.protected.FREEZE_COLUMN_CONFIG).value;this._updateScrollRectWithFrozenColumns(s,p,y);const b={freezeColumnConfig:y,nextLeftColumnToBringIntoView:this._logicalViewPort.getFirstVisibleColumn(),originalScrollRect:this._getScrollRect()};E=C.curry(this.cellNav.getScrollLeftPositionWithFrozenColumns)(b)}const m=this._handleHorizontal(s,l,E,p);return m.leftScrollFn=this._logicalViewPort.setScrollLeftPx,m}_handleArrowRight(s){const l=C.curry(this.cellNav.increment)(s.dataSize.columns.end,1),p=this._getRightColPositionForWidth(),E=this._handleHorizontal(s,l,p);return E.leftScrollFn=this._logicalViewPort.setScrollRightPx,E}_keyPressed(s){if(this._hasModifier(s))return;const l=this._handler[s.keyCode];if(l){const p=l(s);p.leftScrollFn=p.leftScrollFn||this._logicalViewPort.setScrollLeftPx,p.topScrollFn=p.topScrollFn||this._logicalViewPort.setScrollTopPx,this._activeCell.setActiveCell(p)}}}return c.default=e,c.default},A,x),A.exports=w},8246:(A,x,a)=>{var T,w;T=[a(80256)],w=a.dj.d(T,function(h){"use strict";var C={};class g extends h{_hasModifier(v){const{ctrlKey:f,shiftKey:u,altKey:r,meta:d}=v.modifiers;return f||u||r||d}}return C.default=g,C.default},A,x),A.exports=w},3409:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};function C(g){function _(r,d){let n=Math.max(r,0),i=0;for(;d[n-=1];)i+=d[n].height;return i}function v(r,d,n){let i=Math.max(d,0),o=0;do o+=n[i].height;while(n[i-=1]);return Math.max(0,o-r)}function f(r,d,n){let i=Math.max(r,0),o=0;for(;d[i-=1];)o+=d[i].width;if(n)for(let c=0;c<=n.range.columns.end;c++)o-=d[c].width;return o}function u(r,d,n){let i=Math.max(d,0),o=0;do o+=n[i].width;while(n[i-=1]);return Math.max(0,o-r)}return{getScrollLeftPosition:f,getScrollRightPosition:u,getScrollBottomPosition:v,getScrollTopPosition:_}}return h.default=C,h.default},A,x),A.exports=w},66745:(A,x,a)=>{var T,w;T=[a(23513),a(97154)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f){this.viewModel=f.viewModel,this._viewPortList=f.viewPortList}eventList(){const f={};return f[C.internal.TABLE_RESIZE]=u=>this.handleResize(u.event),f[C.internal.TABLE_MOUNT]=u=>this.handleInit(u.event),f}handleInit({table:f}){this._viewPortList[0].setContainer(f)}_getContainerWidth(f){if(f)return f.clientWidth}handleResize(f){const u=this._getContainerWidth(f.container),r=this.viewModel.viewPort;r.rangeList[0]=this._viewPortList[0].getViewPort(u),this.viewModel.viewPort=r,h.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort(u))}}return g.default=_,g.default},A,x),A.exports=w},49819:(A,x,a)=>{var T,w;T=[a(23513),a(61748),a(97154),a(89019),a(70348),a(29724),a(45330)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d{constructor(i){this._viewPortList=i.viewPortList,this.viewModel=i.viewModel,this._geomObjectX={scrollLeft:0,translateX:0},this._geomObjectY={translateY:0,scrollTop:0},this._scrollLeft=0,this._scrollTop=0,this._size=new f(this.viewModel),this._headerRects=()=>({}),this._rowCellRects=()=>({}),this._rowRects=()=>({})}exposedAPI(){return{}}eventList(){const i={};return i[g.internal.TABLE_SCROLL]=o=>this._handler(o.event),i[g.internal.COMPUTE_TRANSLATEX]=o=>this._getTranslateX(o.event),i[g.internal.COMPUTE_TRANSLATEY_AND_HEIGHT]=o=>this._getTranslateYAndHeight(o.event),i[g.internal.TABLE_WIDTH]=o=>this._updateGeomObjectForCols(o.event),i[g.protected.HEADER_RECTS]=o=>this._setHeaderNodes(o),i[g.protected.ROW_CELL_RECTS]=o=>this._setRowCellRects(o),i[g.protected.ROW_RECTS]=o=>this._setRowRects(o),i[g.internal.SCROLL_COMPONENT_UPDATED]=o=>this._setScrollBarUpdate(o.event),i}_setScrollBarUpdate(i){const{scrollHorizontal:o}=i;this.viewModel.setState(_.CAN_SCROLL_HORIZONTAL,o)}_setHeaderNodes(i){this._headerRects=i.event.children}_setRowCellRects(i){this._rowCellRects=i.event.children}_setRowRects(i){this._rowRects=i.event.children}_rowCellRectsHeaderFallback(i){const o=this._rowCellRects(i);return Object.keys(o).length===0&&i.row!==void 0&&i.col===void 0?this._headerRects():o}_calcMaxHeight(i){const o=this._viewPortList[0].getHeight();let c=0;const e=Object.keys(i).sort((E,m)=>E-m);let t;for(let E=e.length-1;E>=0&&(t=e[E],c+=i[t].height,!(c>o));E-=1);t=Math.max(t,0);const s=(c-o)/i[t].height,l=t,p=Math.floor(this._size.ROW_HEIGHT*(s+l));return[p+o,p]}_calcMaxWidth(i,o){const c=this._viewPortList[0].getWidth();let e=0;const t=Object.keys(i).sort((m,y)=>m-y);let s;for(let m=t.length-1;m>=0&&(s=t[m],e+=i[s].width,!(e>c));m-=1);s=Math.max(s,0);const l=(e-c)/i[s].width,p=s,E=Math.floor(this._size.COL_WIDTH*(l+p));return[E+c,E]}_allColumnsInView(i){const o=this.viewModel.viewBuffer.rangeList[0],c=this.viewModel.getColumnCount();if(o.columns.count===c)return this._geomObjectX.translateX=0,i.result=this._geomObjectX,this._geomObjectX.translateX}_isBufferCountZero(){return this.viewModel.viewBuffer.rangeList[0].rows.count===0}_allRowsInView(){const i=this.viewModel.viewBuffer.rangeList[0],o=this.viewModel.dataSize.rows.end,c=this.viewModel.dataSize.rows.start,e=i.rows.end;return i.rows.start===c&&o<=e}_scrollExceedsTableWidth(i){this._updateGeomObjectForCols(i);const{maxScroll:o,physicalWidth:c,childClientWidth:e}=this._geomObjectX;if(!h.isColumnHeaderHidden(this.viewModel)&&this._scrollLeft>=o)return this._geomObjectX.translateX=c-e,this._geomObjectX.translateX}_setPostUpdateX(i){const o=this.viewModel.getStateByKey("LastScrollColumnFn").value,c=this._viewPortList[0].getFirstBufferedRow(),e=o(this._rowCellRectsHeaderFallback({row:c}));e!==i?setTimeout(()=>{this.viewModel.deleteState("LastScrollColumn"),this.viewModel.deleteState("LastScrollColumnFn"),this._viewPortList[0].setScrollLeftPx(e,!0)},0):(this.viewModel.deleteState("LastScrollColumn"),this.viewModel.deleteState("LastScrollColumnFn"))}_setPostUpdateY(i){const o=this.viewModel.getStateByKey("LastScrollRowFn").value,c=o(this._rowRects());c!==i?window.requestAnimationFrame(()=>{this.viewModel.deleteState("LastScrollRow"),this.viewModel.deleteState("LastScrollRowFn"),this._viewPortList[0].setScrollTopPx(c,!0)}):(this.viewModel.deleteState("LastScrollRow"),this.viewModel.deleteState("LastScrollRowFn"))}_keyboardScrollTranslateY(i){const o=this._viewPortList[0].getHeight(),c=this._viewPortList[0].getScrollTop();let e=0;const t=this.viewModel.getStateByKey("LastScrollRow");if(t){const s=t.value,l=this._rowRects(),p=Object.keys(l);for(let E=0;E<p.length;E+=1){const m=p[E];if(e+=l[m].height,Number(m)===s){this._setPostUpdateY(c);const y=Math.min(c-e+o,c);return this._geomObjectY.translateY=y,i.result=this._geomObjectY,this._geomObjectY.translateY}}}}_keyboardScrollTranslateX(i){const o=this._viewPortList[0].getWidth(),c=this._viewPortList[0].getScrollLeft();let e=0;const t=this.viewModel.getStateByKey("LastScrollColumn"),s=this._viewPortList[0].getFirstBufferedRow();if(t){const l=t.value,p=this._rowCellRectsHeaderFallback({row:s}),E=Object.keys(p);for(let m=0;m<E.length;m+=1){const y=E[m];if(e+=p[y].width,Number(y)===l){this._setPostUpdateX(c);const b=Math.min(c-e+o-1,c);return this._geomObjectX.translateX=b,i.result=this._geomObjectX,this._geomObjectX.translateX}}}}_computeTranslateY(i,o){const c=Object.keys(o).sort((b,I)=>b-I),{physScrollY:e,scrollHeight:t,scrollYPos:s,bufferedRowCount:l}=this._geomObjectY;let p=0;for(let b=0;b<l;b+=1){const I=c[b];o[I]&&(p+=o[I].height-this._size.ROW_HEIGHT)}const E=t/this._size.ROW_HEIGHT-1,m=e%this._size.ROW_HEIGHT,y=Math.floor(s-p-E*m);return this._geomObjectY.translateY=y,i.result=this._geomObjectY,this._geomObjectY.translateY}_scrollExceedsTableHeight(i,o){const{maxScroll:c,physicalHeight:e}=this._geomObjectY;let t=0;if(this._scrollTop>=c){const s=Object.keys(o).length;for(let l=0;l<s;l+=1){const p=Object.keys(o)[l];o[p]&&(t=t+o[p].height)}return this._geomObjectY.translateY=e-t,this._geomObjectY.translateY}}_getTranslateYAndHeight(i){i.result=this._geomObjectY;const o=this._rowRects(),{isTranslateYChanged:c}=this._updateGeomObjectForRows(i,o);if(!c)return this._scrollExceedsTableHeight(i,o)||this._keyboardScrollTranslateY(i,o)||this._computeTranslateY(i,o)}_additionalBufferedColCountWhenFreezeColumns(i){const o=(e,t,s)=>s[t+1]&&s[t+1]-s[t]>1,c=i.findIndex(o);return c>-1?c+1:0}_computeTranslateX(i){const o=this._viewPortList[0].getFirstBufferedRow(),c=this._rowCellRectsHeaderFallback({row:o}),e=Object.keys(c).sort((b,I)=>b-I);let{physScrollX:t,scrollWidth:s,scrollXPos:l,bufferedColCount:p}=this._geomObjectX,E=0;u.isFreezeColumnEnabled(this.viewModel)&&(p+=this._additionalBufferedColCountWhenFreezeColumns(e));for(let b=0;b<p;b+=1){const I=e[b];c[I]&&(E+=c[I].width-this._size.COL_WIDTH)}const m=s/this._size.COL_WIDTH-1,y=t%this._size.COL_WIDTH;return this._geomObjectX.translateX=Math.floor(l-E-m*y),i.result=this._geomObjectX,this._geomObjectX.translateX}_getTranslateX(i){return i.result=this._geomObjectX,this._allColumnsInView(i)===0?this._geomObjectX.translateX:this._scrollExceedsTableWidth(i)||this._keyboardScrollTranslateX(i)||this._computeTranslateX(i)}_updateGeomObjectForCols(i){const{headerThead:o}=i,c=this.viewModel.viewBuffer.rangeList,e=c[0].columns.start;let t=this._size.COL_WIDTH*e;const s=c[1]?c[1].columns.end:-1;s>-1&&e>s+1&&(t=this._size.COL_WIDTH*(e-(s+1)));const l=this._viewPortList[0].getLastBufferedColumn(),p=this.viewModel.dataSize.columns.count-1,E=Math.min(p,C.calculateFirstVisible(this._size.COL_WIDTH,this._scrollLeft)),m=p*this._size.COL_WIDTH,y=this._viewPortList[0].getWidth(),b=this.viewModel.getColumnCount();if(c[0].columns.count!==b){const I=Math.min(Math.max(0,E-e),l);let S=1/0,R=0;const N=Math.floor((m-y)/this._size.COL_WIDTH),O=this._viewPortList[0].getFirstBufferedRow(),L=this._rowCellRectsHeaderFallback({row:O});if(N-v.buffers.COL_OVERSCAN<=e&&l===p){const[U,z]=this._calcMaxWidth(L,e);S=z,R=Math.floor(U)}this._geomObjectX={maxScroll:S,physicalWidth:R,childClientWidth:o.offsetWidth,scrollXPos:t,bufferedColCount:I,scrollWidth:(L[E]?L[E]:L[e]).width,physScrollX:this._scrollLeft,translateX:this._geomObjectX.translateX}}else{const I=this._viewPortList[0].getFirstBufferedRow(),S=this._rowCellRectsHeaderFallback({row:I}),R=Object.keys(S);let N=0;if(R.length>0){let O=S[R[0]].left,L=S[R[0]].right;for(let U=0;U<R.length;U=U+1){const z=R[U];S[z].left<O&&(O=S[z].left),S[z].right>L&&(L=S[z].right)}N=L-O}this._geomObjectX.physicalWidth=N}i.result=this._geomObjectX}_updateGeomObjectForRows(i,o){let c=!1;const t=this.viewModel.viewBuffer.rangeList[0].rows.start,s=this._size.ROW_HEIGHT*t,l=this._viewPortList[0].getLastBufferedRow(),p=this.viewModel.dataSize.rows.count-1,E=Math.min(p,C.calculateFirstVisible(this._size.ROW_HEIGHT,this._scrollTop)),m=p*this._size.ROW_HEIGHT,y=this._viewPortList[0].getHeight();if(!this._allRowsInView()&&!this._isBufferCountZero()){const b=Math.min(Math.max(0,E-t),l);let I=1/0,S=0;if(Math.floor((m-y)/this._size.ROW_HEIGHT)-v.buffers.ROW_OVERSCAN<=t&&l===p){const[N,O]=this._calcMaxHeight(o,t);I=O,S=Math.floor(N)}this._geomObjectY={maxScroll:I,physicalHeight:S,scrollYPos:s,bufferedRowCount:b,scrollHeight:(o[E]?o[E]:o[t]).height,physScrollY:this._scrollTop,translateY:this._geomObjectY.translateY}}else{const b=Object.keys(o);let I=0;if(b.length>0)for(let S=0;S<b.length;S=S+1)I=o[S].height+I;this._geomObjectY.physicalHeight=I,this._geomObjectY.translateY=0,c=!0}return i.result=this._geomObjectY,{isTranslateYChanged:c}}_handler(i){const o=this.viewModel.viewPort;o.rangeList[0]=this._viewPortList[0].getViewPort(),this._scrollLeft=i.target.scrollLeft,this._scrollTop=i.target.scrollTop,this.viewModel.viewPort=o,h.renderUpdate(this.viewModel,this._viewPortList[0].getBufferedViewPort())}}return r.default=d,r.default},A,x),A.exports=w},19423:(A,x,a)=>{var T,w;T=[a(60794),a(66296)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f,u){const r=new h;f===void 0&&(f=""),this.config=u,this._emit=r.emit.bind(r),this.on=r.on.bind(r),this._handleKeyDown=this._handleKeyDown.bind(this),this._handleBlur=this._handleBlur.bind(this);const d=document.createElement("div");this._oldValue=f;const n=this._textField=document.createElement("input");n.input="text",n.value=f,n.tabIndex=0,d.appendChild(n),this._domNode=d,n.className="mwTableTextEditor",this._textField.addEventListener("blur",this._handleBlur),this._textField.addEventListener("keydown",this._handleKeyDown)}_handleBlur(){this._handleEdit()}_handleEdit(){const f=this._textField.value,u=this._oldValue;u!==f?this._emit("editComplete",{newValue:f,oldValue:u}):this._emit("editCanceled")}_handleKeyDown(f){switch(f.stopPropagation(),f.keyCode){case 27:this._emit("editCanceled");break;case 13:this._handleEdit();break;case C.PAGE_UP:case C.PAGE_DOWN:f.preventDefault();break;default:}}get value(){return this._textField.value}set value(f){this._textField.value=f}setFocus(){this._textField.setSelectionRange(0,this._textField.value.length),this._textField.focus()}getDomNode(){return this._domNode}destroy(){this._textField.removeEventListener("blur",this._handleBlur),this._textField.removeEventListener("keydown",this._handleKeyDown),delete this._textField,delete this._domNode}}return g.default=_,g.default},A,x),A.exports=w},49118:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({HEADER_LABEL:"mw-header-label",HEADER_INDEX:"mw-header-index",ROW_HEADER_LABEL:"mw-row-header-label",RESIZE_AFFORDANCE:"mw-table-resize-affordance",RESIZE_SELECTION_AFFORDANCE:"mw-table-resize-selection",RESIZE_AFFORDANCE_PLACEHOLDER:"mwTableHeaderAffordancePlaceholder"});return h.default=C,h.default},A,x),A.exports=w},70348:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,MIN_ROW_HEADER_WIDTH:40,MIN_LEFT_HEADER_WIDTH:27,TOOLTIP_MIN_WIDTH:300,ABSOLUTE_MIN:10,COLLAPSE_COLUMN_ABSOLUTE_MIN:1,COLLAPSE_COLUMN_AFFORDANCE_MIN:10,MAX_ROW_HEADER_WIDTH:250}),g=Object.freeze({ROW_OVERSCAN:4,COL_OVERSCAN:3,UNPAGED_COL_LIMIT:12}),_=Object.freeze({EDITABLE_TABLE_CELL:"EditableTableCell",EDITABLE_TREE_CELL:"EditableTreeCell",INTERACTIVE_TABLE_CELL:"InteractiveTableCell"}),v=Object.freeze({ROW:"row",COLUMN:"column",CELL:"cell"}),f=Object.freeze({dimensions:C,buffers:g,cellType:_,rangeType:v,ZERO_HEIGHT_ROWS:12,ZERO_WIDTH_COLS:12,MAX_FROZEN_COLUMNS:5});return h.default=f,h.default},A,x),A.exports=w},43952:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({SOURCE_SELECTOR:"mw-table-dnd-source",TARGET_SELECTOR_TABLE_BODY:".mw-table-cell",TARGET_SELECTOR_TABLE_HEADER:".mw-table-header-column",TARGET_SELECTOR_TABLE_ROW:".mw-table-row",REORDER_COLUMN_SELECTOR_ICON:"mw-table-drag-icon",REORDER_COLUMN_SELECTOR_HEADER:"mw-table-drag-column-header",ROW_VALID_HOVER:"mw-table-dnd-valid-hover",ROW_INVALID_HOVER:"mw-table-dnd-invalid-hover",CONTAINER:"mw-scrolling-div",INSERTION_LINE_CLASS:"mw-table-insertion-line",WHITESPACE:"WHITESPACE",AUTO_EXPAND_TIME:1e3,MARGIN_LEFT_FOR_ROOT:18,ROW_REGIONS:{ROWS:"5 auto 5",CONTAINER:"0 auto 0",INSERT_AS_ROW:"50% 50%"},COLUMN_REGIONS:"50% 50%",dataType:{JSON:"json",TEXT:"text"},targetLifeCycle:{ENTER:"enter",HOVER:"hover",LEAVE:"leave"},dropTypeColumn:"column",modes:["columns","rowSelection"],REORDER:{INSERT_ABOVE:0,INSERT_BELOW:2,INSERT_AS_CHILD:1,ROWS:"reorderRows",VALID_LINE:"mw-table-horizontal-line",INVALID_LINE:"mw-table-horizontal-line-invalid"},REPARENT:{ROWS:"reparentRows"},DROP_TARGET:{TABLE_CELL:"tableCell",CONTAINER:"scrollComponent",INSERTION_LINE:"insertionLine"},TABLE_DEFAULT_TYPE:"mw-table-default-type",TABLE_SOURCE_COLUMN:"TABLE_COLUMN",TREETABLE_SOURCE_COLUMN:"TREETABLE_COLUMN",TABLE_SOURCE_ROW:"TABLE_ROW",TREETABLE_DEFAULT_TYPE:"mw-treetable-default-type",getDragSourceType:g});h.default=C;function g(_,v){if(_===C.modes[0]&&v===C.TABLE_DEFAULT_TYPE)return C.TABLE_SOURCE_COLUMN;if(_===C.modes[0]&&v===C.TREETABLE_DEFAULT_TYPE)return C.TREETABLE_SOURCE_COLUMN}return h.default},A,x),A.exports=w},79541:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({TRUE:"true",WHITESPACE:"whiteSpace"});return h.default=C,h.default},A,x),A.exports=w},49590:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const v={rowLabel:{enterEditEvent:"enterRowEditMode",editCompleteEvent:"rowEditComplete",editCanceledEvent:"leaveRowEditMode"},tableCell:{enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"},treeCell:{enterEditEvent:"enterEditMode",editCompleteEvent:"editComplete",editCanceledEvent:"editCancel",editValidationEvent:"editValidation",processEditEvent:"processEdit"}};class f{static getEditEventByType(r,d){return v[r][d]}}return h.default=f,h.default},A,x),A.exports=w},71408:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({error:{INVALID_UNIT:new Error("Invalid column width unit specified, only 'px' or '%' allowed"),DATA_INDEX_REQUIRED:new Error("The dataIndex property is required in the column configuration")}});return h.default=C,h.default},A,x),A.exports=w},97154:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ScrollComponentMounted:"scrollMounted",internal:{SCROLL_COMPONENT_MOUNTED:"scrollMounted",SCROLL_COMPONENT_UPDATED:"scrollUpdated",INTERACTIVE_CELL_CLICK:"interactiveCellClick",TABLE_RESIZE:"tableResized",COL_RESIZE_DONE:"colResized",TABLE_MOUNT:"tableMounted",TABLE_SCROLL:"tableScroll",NODE_PUBLISH:"nodePublish",NODE_SUBSCRIBE:"nodeSubscribe",NODE_UNSUBSCRIBE:"nodeUnsubscribe",BUFFER_DATA:"viewDataChanged",DATA_SIZE:"dataSizeChanged",ROW_META:"pagedRowMetaDataChanged",TBODY_MOUNT:"tbodyMount",COL_HEADER_UPDATE:"colHeaderUpdate",SET_LAST_COLUMN:"setLastColumn",COMPUTE_TRANSLATEX:"computeTranslateX",COMPUTE_TRANSLATEY_AND_HEIGHT:"computeTranslateY_Height",TABLE_WIDTH:"tableWidth",TABLE_HEIGHT:"tableHeight",TABLE_RIGHT_CLICK:"tableRightClick",TABLE_WHITE_SPACE_LEFT_CLICK:"tableWhiteSpaceLeftClick",SELECTION_EVENT:"selectionEvent",DRAG_STARTED:"dragStarted",DRAG_END:"dragEnd",COLUMN_REORDERED:"columnReordered",ROW_DROPPED:"rowDropped",TABLE_KEY_PRESS:"tableKeyPress",CLIPBOARD_CUT:"clipboardCut",CLIPBOARD_COPY:"clipboardCopy",CLIPBOARD_PASTE:"clipboardPaste",DATA_SORTED:"dataSorted",DATASTORE_SELECTION:"dataStoreSelection",UPDATE_SORTSTATE:"_updateSortState",EMIT_SELECTION_EVENT:"emitSelectionEvent",SCROLL_CHANGED:"scrollChanged",RANGE_SELECTION:"rangeSelection"},exposed:{SELECTION_CHANGED:"selectionChanged",HEADER_MENU:"headerMenuRequested",SELECTED_ACTION:"selectedAction",CONTEXT_MENU:"contextMenu",COLUMN_RESIZED:"columnResized",DOUBLE_CLICKED:"doubleClicked",ICON_ACTION:"iconAction",DROP_IN_PROGRESS:"dropInProgress",DROP_COMPLETED:"dropCompleted",DROP_FAILED:"dropFailed",SCROLL_VIEW_CHANGED:"scrollViewChanged",BELOW_DATA_REGION_CLICKED:"belowDataRegionClicked"},protected:{TABLE_CELL_CLICK:"tableCellClick",TABLE_DBL_CLICK:"tableDblClick",KEY_PRESS:"keyPress",TABLE_CELL_FOCUS:"tableCellFocus",CELL_DOM_FOCUS_CACHE:"cellDomFocusCache",CELL_FOCUS_KEY:"cellFocusKeyPress",CELL_FOCUS_CLICK:"cellFocusClick",CELL_SELECTION_CLICK:"cellSelectionClick",CELL_SELECTION_KEY:"cellSelectionKeyPress",CELL_DBL_CLICK:"cellDoubleClick",TABLE_SELECTED_ACTION:"tableSelectedAction",NODE_NOTIFY:"nodeNotify",FORCE_LAYOUT:"forceLayout",HEADER_RECTS:"headerRects",ROW_CELL_RECTS:"rowCellRects",ROW_RECTS:"rowRects",COL_HEADER_CLICK:"colHeaderClick",ROW_SELECTION_CLICK:"rowSelectionClick",HEADER_CLICKED:"headerClicked",DOCUMENT_MOUSE_MOVE_INTERVAL:"docMouseMoveInterval",DATA_AREA_MOUSE_MOVE:"dataAreaMouseMove",DOCUMENT_MOUSE_UP:"docMouseUp",SORT_AFFORDANCE_CLICKED:"sortAffordanceClicked",TABLE_COLUMN_SORT:"tableColumnSort",COL_RESIZE:"colResize",COL_HEADER_MOUNT:"colHeaderDidMount",RESIZE_SELECTION_BEGIN:"ResizeSelectionBegin",RESIZE_SELECTION_END:"ResizeSelectionEnd",ALLOW_DRAG_TO_SELECT:"allowDragToSelect"}});return h.default=C,h.default},A,x),A.exports=w},81022:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({EDITOR:"editorValue",RENDERER:"rendererValue"});return h.default=C,h.default},A,x),A.exports=w},59108:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ACTIVE_RIGHT_BORDER:1,SELECTED:2,ACTIVE_SELECTED:4}),g=Object.freeze({selection:C});return h.default=g,h.default},A,x),A.exports=w},44795:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ROW_LINES:"ROW_LINES",LIGHT_WEIGHT:"LIGHT_WEIGHT",STANDARD:"STANDARD"}),g=Object.freeze({ROW_LINES:"mw-table-gridstyle-rowlines",LIGHT_WEIGHT:"mw-table-gridstyle-lightweight",COLUMN_LINES:"mw-table-gridstyle-columnlines",STANDARD:"",public_enum:C});return h.default=g,h.default},A,x),A.exports=w},66296:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,SPACE:32,ENTER:13,ALPHA_START:65,ALPHA_END:91,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,F2:113,CTRL:17,SHIFT:16,META:91,ALT:18,ESCAPE:27,DELETE:46,A:65,C:67,V:86,X:88});return h.default=C,h.default},A,x),A.exports=w},29724:(A,x,a)=>{var T,w;T=[a(70348),a(89019)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f){this._viewModel=f}get COL_WIDTH(){const f=this._viewModel.getStateByKey(C.COL_WIDTH);let u=h.dimensions.COL_WIDTH;return f&&f.value&&(u=f.value),u}get ROW_HEIGHT(){const f=this._viewModel.getStateByKey(C.ROW_HEIGHT);let u=h.dimensions.ROW_HEIGHT;return f&&f.value&&(u=f.value),u}}return g.default=_,g.default},A,x),A.exports=w},99268:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return h.default=C,h.default},A,x),A.exports=w},98339:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({NEXT:"next",PREV:"previous",origin:[0,0],matchIndexOffset:2});return h.default=C,h.default},A,x),A.exports=w},62377:(A,x,a)=>{var T,w;T=[a(98314),a(36332),a(71611),a(1547),a(20966),a(5042),a(21990),a(83146),a(61640),a(28566),a(93754),a(34412),a(61110),a(80256),a(8246),a(16938),a(70728)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l){"use strict";var p={};const E=Object.freeze({AVAILABLE:{CellFocus:[h,e],SingleRowSelection:[_,e],MultiRowSelection:[v,h,e],CellSelection:[f,v,h,e],ColumnResize:u,IndividualColumnSort:r,RowHeaders:d,DragAndDrop:n,Search:o,Clipboard:c,HeaderMenu:i,ScrollSync:l},INTERNAL:{SingleRowSelectionById:[C,e],MultiRowSelectionById:[g,h,e]},INCOMPATIBLE:[[f,_,v,C,g]],CONTROLLERS:[[e,t]],EXPERIMENTAL_ADAPTORS:{SizingAdaptor:s}});return p.default=E,p.default},A,x),A.exports=w},54322:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ASYNC:"async",SYNC:"sync"});return h.default=C,h.default},A,x),A.exports=w},66065:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default={AVAILABLE:{COLUMNS:"columns",ROWS:"reorderRows"}},h.default},A,x),A.exports=w},63520:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",ACTIVE:"ACTIVE",FULCRUM:"FULCRUM",ROW:"ROW",COLUMN:"COLUMN"});return h.default=C,h.default},A,x),A.exports=w},19295:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({SCROLL_TOP:"top",SCROLL_BOTTOM:"bottom",SCROLL_LEFT:"left",SCROLL_RIGHT:"right"});return h.default=C,h.default},A,x),A.exports=w},89019:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({CELL:"cellComponent",ROW:"rowComponent",TBODY:"tbodyComponent",TOOLTIP:"TooltipComponent",FLOATING_CONTENT:"FloatingContentComponent"}),g=Object.freeze({ACTIVE_RANGE:"activerange",SELECT_HEADERS:"selectHeaders",SELECT_ROW_HEADERS:"selectRowHeaders",SELECT_CELLS:"selectCells",ROW_HEIGHT:"rowHeight",COL_WIDTH:"colWidth",tableFlexWidth:"tableFlexWidth",origHeaders:"origHeaders",tableBottomLeftAffordanceHeight:"tableBottomLeftAffordanceHeight",TABLE_AFFORDANCE_WIDTH:"tableAffordanceWidth",COLUMN_RESIZED:"columnResized",colResize:"colResize",displaySearch:"displaySearch",dragAndDrop:"dragAndDrop",dragColumns:"dragColumns",dragRows:"dragRows",dragAffordance:"dragAffordance",setDragData:"setDragData",setAvatar:"setAvatar",receiveDrop:"receiveDrop",dragInProgress:"dragInProgress",displayRowHeader:"displayRowHeader",HIDE_COLUMN_HEADER:"hideColumnHeader",DISPLAY_COLUMN_INDEX:"displayColumnIndex",DISPLAY_COLUMN_LABEL:"displayColumnLabel",DISPLAY_ROW_HEADER_INDICES:"displayIndices",rowHeaderWidth:"rowHeaderWidth",CAN_SCROLL_HORIZONTAL:"scrollHorizontal",INTERACTIVE_CHANGE:"interactiveChange",ROW_HEADER_NODE:"rowHeaderNode",VIEWPORT_CHANGED:"viewportChanged",SET_SCROLL_TOP:"setScrollTop",SCROLL_COMPONENT_WIDTH:"scrollComponentWidth",SCROLL_CONTAINER:"scrollComponent",TOTAL_COLUMN_WIDTH:"totalColumnWidth",TBODY:"tbody",TABLE_WIDTH:"tableWidth",VIEWPORT_CONTAINER:"viewportContainer",TRANSLATE_X:"translateX",LOGICAL_VIEWPORT:"logicalViewport",REGISTRATION:"registration",SEARCH_NAVIGATION_DATA:"searchNavigationData",state:{VIEWPORT_CHANGED:"viewportChanged"},publisher:{ROW_HEADER:"rowHeader",ROW_HEIGHTS:"rowHeights",SCROLL_BAR_HEIGHT:"scrollBarHeight",SCROLL_BAR_WIDTH:"scrollBarWidth",TOOLTIP_DISMISS:"tooltipDismiss",FLOATING_CONTENT_DISMISS:"floatingContentDismiss",HEADER_TRANSX:"headerTranslateX",HEADER_ROW_HEIGHT:"headerRowHeight",HEADER_ROW_WIDTH:"headerRowWidth",HEADER_ROW_SCROLL_WIDTH:"headerRowScrollWidth",TOP_LEFT_ROW_HEADER:"topLeftHeaderWidth",SCROLL_COMPONENT_LEFT:"scrollComponentLeft",SCROLL_COMPONENT_DIMENSION:"scrollComponentDimension",TRANSFORM_Y_AND_HEIGHT:"translatyeY_Height"},subscriber:{ROW_HEADER_PARENT:"rowHeaderParent",ROW_HEADER_TRANSFORM_Y:"rowHeaderTransformY",ROW_HEADER_HEIGHTS:"rowHeaderHeights",ROW_HEADER:"rowHeader",TOP_LEFT:"topLeft",TOOLTIP_ENTER:"tooltipEnter",TOOLTIP_LEAVE:"tooltipLeave",TOOLTIP_GLOBAL_LEAVE:"tooltipGlobalLeave",FLOATING_CONTENT_ENTER:"floatingContentEnter",FLOATING_CONTENT_LEAVE:"floatingContentLeave",INSERTION_TABLE_BODY:"insertionBody",INSERTION_COLUMN_HEADER:"insertionColumnHeader",DRAG_LEAVE:"dragLeave",DND_START:"dndStart",TABLE_BOTTOM_LEFT_AFFORDANCE:"tableBottomLeftAffordance",HEADER_RIGHT_AFFORDANCE:"headerRightAffordance",TABLE_HAS_VERT_SCROLL:"tableHasVertScroll",HEADER_MIN_HEIGHT:"headerMinHeight",HEADER_TRANSFORMX:"headerTransformX",TBODY_TRANSFORM:"tbodyTransform",TABLE_WIDTH:"tableWidth",HEADER_WIDTH:"headerWidth",TBODY_TRANSFORM_Y:"tBodytransformY",TABLE_HEIGHT:"tableHeight",HEADER_ROW_NEEDS_ROW_HEADER_WIDTH:"headerRowNeedsRowHeaderWidth",HEADER_ROW_NEEDS_HEADER_ROW_SCROLL_WIDTH:"headerRowNeedsHeaderRowScrollWidth",SCROLL_COMPONENT_CLASS:"scrollComponentClass"},protected:{VIEW_DATA:"viewData",ROW_METADATA:"rowMetaData",FIT_LAST_COLUMN:"fitLastColumn",COLLAPSE_COLUMN:"collapseColumn",component:C,UPDATE_CUSTOM_PROPS_FUNC:"updateCUstomPropsFunction",INIT_CUSTOM_PROPS_FUNC:"initializeCustomPropsFunction",PENDING_FOCUS_FUNC:"pendingFuncForView",FOCUSED:"focused",SELECTED:"selected",SELECTION_CLEARED:"selectionCleared",testId:"data-test-id",SORTED:"_sortIndicator",SORTABLE:"sortable",SORT_BEHAVIOUR:"sortBehaviour",DATASTORE_MANAGE_SELECTION:"dataStoreManageSelection",TABLE_SELECTION_BY_ID:"tableSelectionById",CLEAR_SORT:"clearSort",WIDGET_TYPE:"widgetType",TYPE:{TABLE:"Table",TREETABLE:"TreeTable"},HEADER_MENU_AFFORDANCE:"headerMenuAffordance",ACTIVE_CELL:"activeCell",PIVOT:"pivot",EDIT_STATE:"editState",EDIT_TRIGGER:"editTrigger",publisher:{CELL_ENTER:"cellEnter",CELL_HOVER:"cellHover",DND_IN_ACTION:"dndInAction"},GRID_STYLE:"gridStyle",GROUPED_COLUMN_HEADERS:"groupedColumnHeaders",COLUMN_CONFIG:"colconfig",COL_EDIT_STATE:"colEditState",ROW_HEADER_EDIT_STATE:"rowEditState",EDIT_VALIDATION:"editValidation",EDIT_PROCESSING:"editProcessing",USE_DATA_FIELDS:"useEditorRendererDataFields",RESIZE_SELECTION:"resizeSelection",READONLY_VISUALDESIGN:"readOnlyVisualDesign",RESIZE_PCT_METADATA_HEADERS:"resizePctMetaDataHeaders",REORDER_ROWS:"reorderRows",REPARENT_ROWS:"reparentRows",CAN_DRAG:"canDrag",CAN_DROP:"canDrop",TREE_COLUMN_INFO:"treeColumnInfo",WIDGET_ID:"widgetId",ALLOW_DRAG_TO_SELECT:"allowDragToSelect",CAN_DRAG_TO_SELECT:"canDragToSelect",TABLE_DISABLED:"tableDisabled",FREEZE_COLUMN_CONFIG:"freezeColumnConfig",PREVENT_TRUE_FOCUS:"preventTrueFocus",ROW_DND_UTIL:"rowDnDUtil",OUTSIDE_ROW_DND_UTIL:"outsideRowDnDUtil"}});return h.default=g,h.default},A,x),A.exports=w},37881:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({ROW_HEADER:"ROW_HEADER",COLUMN_HEADER:"COLUMN_HEADER",TABLE_CELL:"TABLE_CELL",TREE_CELL:"TREE_CELL",TABLE:"TABLE",TABLE_ROW:"TABLE_ROW",EMPTY_ROW:"EMPTY_ROW",EMPTY_ROW_HEADER:"EMPTY_ROW_HEADER",TREETABLE:"TREETABLE",TREETABLE_ROW:"TREETABLE_ROW",TOPLEFT_HEADER:"TOPLEFT_HEADER",GROUPED_COLUMN_HEADER:"GROUPED_COLUMN_HEADER",SPANNING_COLUMN_HEADER:"SPANNING_COLUMN_HEADER"});return h.default=C,h.default},A,x),A.exports=w},88577:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({PUBLIC:{TOOLTIP_COMPONENT:"tooltip",DISPLAY_ALWAYS:"displayAlways",DISPLAY_WHEN_TRUNCATED:"displayWhenTruncated"},TRIGGER:{FOCUS:"focus",MOUSE_ENTER:"mouseenter"}});return h.default=C,h.default},A,x),A.exports=w},79424:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static curry(_){return function v(){const f=arguments;return f.length>=_.length?_.apply(null,f):function(){const u=[];return Array.prototype.push.apply(u,f),Array.prototype.push.apply(u,arguments),v.apply(null,u)}}}static find(_,v){let f=0;for(;f<_.length&&!v(_[f]);)f++;return f<_.length?_[f]:null}static flatten(_){const v=[];return _.forEach(f=>{f=Array.isArray(f)?f:[f],Array.prototype.push.apply(v,f)}),v}static dedupe(_){return _.reduce((v,f)=>(v.indexOf(f)<0&&v.push(f),v),[])}static getNestedProp(_,v){let f=0,u=_;if(u){for(;f<v.length;){if(!Object.prototype.hasOwnProperty.call(u,v[f]))return;u=u[v[f]],f+=1}return u}}static compose(){const _=[...arguments].reverse();return function(){let v=_[0].apply(this,arguments);for(let f=1;f<_.length;f+=1)v=_[f].call(this,v);return v}}static fork(_,v,f){return u=>_(v(u),f(u))}static get alt(){return C.curry((_,v,f)=>_(f)||v(f))}static canConvertToNumber(_){return!isNaN(_)}static transpose(_){if(Array.isArray(_)&&_.length>0)return _[0].map((v,f)=>_.map(u=>u[f]))}static values(_){const v=[];for(const f in _)Object.prototype.hasOwnProperty.call(_,f)&&v.push(_[f]);return v}static range(_,v=0){return[...Array(_).keys()].map(f=>f+v)}static rangeArray(_,v=0){if(_>=0&&v>=0){const f=v-_+1;return C.range(f,_)}}static arrayMerge(_,v){return[..._,...v]}static toPromise(_=0){return new Promise((v,f)=>setTimeout(v,_))}static convertSyncFunctionToPromise(_){return new Promise((v,f)=>{try{const u=_?_.apply(null,arguments):void 0;return v(u)}catch(u){return f(u)}})}static deepEqual(_,v){const f=Object.keys(_),u=Object.keys(v);if(f.length!==u.length)return!1;for(const r of f){const d=_[r],n=v[r],i=C.isObject(d)&&C.isObject(n);if(i&&!C.deepEqual(d,n)||!i&&d!==n)return!1}return!0}static isObject(_){return _!=null&&typeof _=="object"}static classNameArrayEqual(_=[],v=[]){const f=_.length;if(f!==v.length)return!1;for(let u=f-1;u>=0;u--)if(_[u]!==v[u])return!1;return!0}static isPromise(_){return!!_&&typeof _.then=="function"}static asyncWrapper(_,v){return new Promise((u,r)=>{if(!_)u(!0);else{const d=_(v);typeof d=="boolean"?u(d):d.then(n=>u(n))}})}}return h.default=C,h.default},A,x),A.exports=w},76505:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(_){if(this.map=this.map.bind(this),this.chain=this.chain.bind(this),this.run=this.run.bind(this),typeof _=="function")this.effect=_;else throw new Error("IO Monad requires a function")}static of(_){return new C(()=>_)}static from(_){return new C(_)}map(_){const v=this;return new C(function(){return _(v.effect())})}chain(_){return _(this.effect())}run(){return this.effect()}}return h.default=C,h.default},A,x),A.exports=w},45640:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(_){this._mapping=_;for(const v in _)this[v]=_[v]}get(_){return this._mapping[_]}static map(_,v){let f={};return Array.isArray(v)&&(f=v.reduce(function(u,r){return u[r[1]]=_[r[0]],u},{})),new C(f)}}return h.default=C,h.default},A,x),A.exports=w},5946:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static fromType(f,u){return f(u)?new _(f,u):new g}get isNothing(){return!1}get isJust(){return!1}}class g extends C{chain(f){return this}get isNothing(){return!0}filter(){return this}orElse(f){return f}}class _ extends C{constructor(f,u){super(),this._typeCheck=f,this._value=u}chain(f){return C.fromType(this._typeCheck,f(this._value))}filter(f){return C.fromType(f,this._value)}get isJust(){return!0}orElse(){return this._value}}return h.default=C,h.default},A,x),A.exports=w},64833:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static chain(f){return C}static therefore(f,u){return f}}class g{static Something(f,u){return{chain:function(r){return f.maybe(r(u))},therefore:function(r,d){return d(u)}}}}class _{static maybe(f){return f===null||typeof f>"u"?C:g.Something(_,f)}}return h.default=_,h.default},A,x),A.exports=w},54614:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(_){this._viewModel=_}get numRows(){return()=>this._viewModel.dataSize.rows.count}get numColumns(){return()=>this._viewModel.dataSize.columns.count}}return h.default=C,h.default},A,x),A.exports=w},95857:(A,x,a)=>{var T,w;T=[a(76505),a(61748),a(79424),a(70348),a(29724),a(89019),a(94967),a(37999),a(23513)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};class i{constructor({viewModel:c,dataSize:e}){this._dataSize=e,this._viewModel=c,this.getBufferedViewPort=this.getBufferedViewPort.bind(this),this._viewModel.setState(f.TABLE_AFFORDANCE_WIDTH,h.from(()=>0)),this._viewModel.setState("headerRow",[]),this._viewModel.setState("scrollPositionChanged",!1),this._size=new v(this._viewModel),this._containerWidth=null}getFirstVisibleRow(){return 0}getLastVisibleRow(){return 0}getVisibleRowCount(){return 0}getFirstVisibleColumn(){return 0}getLastVisibleColumn(){return 0}getVisibleColumnCount(){return 0}getFirstBufferedRow(){return 0}getLastBufferedRow(){return 0}getFirstBufferedColumn(){return 0}getLastBufferedColumn(){return 0}_maxColIndex(){return this._viewModel.getColumnCount()-1}getViewPort(c){return r.range().setRows(this.getFirstVisibleRow(),this.getLastVisibleRow()).setColumns(this.getFirstVisibleColumn(),this.getLastVisibleColumn(c))}isCollapseColumn(){const c=this._viewModel.getStateByKey(f.colResize);return c?c.value[f.protected.COLLAPSE_COLUMN]:!1}getBufferedViewPort(c){let e=this.getFirstBufferedColumn(),t=this.getLastBufferedColumn(c);const s=this._viewModel.getColumnCount();if(u.notEnoughColumnsToPage(s)&&(e=0,t=this._maxColIndex()),this.isCollapseColumn()){c?this._containerWidth=c:c=this._containerWidth;const p=this.getFirstVisibleColumn(),E=this._getActualLastColumnVisible(p,c),m=this._getActualLastBufferedColumn(E);t=Math.max(t,m)}let l=this.getLastBufferedRow();return d.isColumnHeaderHidden(this._viewModel)&&this._viewModel.getSpanningHeaders()&&(l=Math.min(this._dataSize.numRows()-1,l+this._getNumAdditionalBufferRows())),r.range().setRows(this.getFirstBufferedRow(),l).setColumns(e,t)}_getActualLastBufferedColumn(c){const e=c+_.buffers.COL_OVERSCAN,t=this._maxColIndex();return Math.min(e,t)}_getNumAdditionalBufferRows(){const c=this._viewModel.getSpanningHeaders();let e=0,t=1;return Object.values(c).forEach(s=>{for(;s.parentId;)t+=1,s=c[s.parentId];t>e&&(e=t),t=1}),e+1}_getUnifiedColWidth(c,e){let t=-1,s=null;try{c&&c[0]&&c[0](e)&&(s=c[0](e).value)}catch(l){s=null}return s&&(s.styleData&&Object.prototype.hasOwnProperty.call(s.styleData,"maxWidth")&&(t=s.styleData.maxWidth),s.width&&Object.prototype.hasOwnProperty.call(s.width,"value")&&(t=s.width.value)),t}_getHeaderColWidth(c,e){let t=c&&c[e]&&c[e].width&&Object.prototype.hasOwnProperty.call(c[e].width,"value")?c[e].width.value:-1;return t=Number.isInteger(t)?t:-1,t}_getActualLastColumnVisible(c,e){const t=this._maxColIndex();if(!e)return-1;const s=this._viewModel.getColumnHeaders();let l=null;this._viewModel.getStateByKey("viewBuffer")&&(l=this._viewModel.getColumnMetaDataUnified());const E=this._size.COL_WIDTH;let m=0,y=t;for(let b=c;b<=t;b++){let I=E;const S=this._getHeaderColWidth(s,b),R=this._getUnifiedColWidth(l,b);if(R>-1?I=R:S>-1&&(I=S),m+=I,m>e){y=b;break}}return y}setScrollTop(c){}getScrollTop(){return 0}getScrollLeft(){return 0}getWidth(){return 0}getHeight(){return 0}setContainer(c){this._viewModel.setState(f.VIEWPORT_CONTAINER,c);const e=g.curry(C.sum)(_.buffers.ROW_OVERSCAN*-1),t=g.curry(C.sum)(_.buffers.COL_OVERSCAN*-1),s=g.curry(C.sum)(_.buffers.ROW_OVERSCAN),l=g.curry(C.sum)(_.buffers.COL_OVERSCAN),p=h.from(()=>c.clientHeight),E=h.from(()=>c.clientWidth),m=h.from(()=>c.scrollLeft),y=h.from(()=>c.scrollTop),b=()=>this._viewModel.getColumnCount();this.getScrollTop=()=>y.run(),this.getScrollLeft=()=>m.run(),this.getWidth=()=>E.run(),this.getHeight=()=>p.run(),this.getBoundingRect=()=>c.getBoundingClientRect(),this._viewModel.setState(f.TABLE_AFFORDANCE_WIDTH,h.from(()=>c.offsetWidth-c.clientWidth));const I=g.curry(C.max2)(0),S=B=>{B=B||_.ZERO_WIDTH_COLS;const P=this._maxColIndex();return Math.max(Math.min(P,B),-1)},R=B=>{B=B||_.ZERO_WIDTH_COLS;const P=b();return Math.max(Math.min(P,B),-1)},N=B=>Math.max(C.min2(B,this._dataSize.numRows()-1),-1),O=B=>Math.max(C.min2(B,this._dataSize.numRows()),0)||_.ZERO_HEIGHT_ROWS,L=()=>{const B=g.curry(C.calculateFirstVisible)(this._size.ROW_HEIGHT);return y.map(B).run()},U=()=>{const B=g.curry(C.calculateFirstVisible)(this._size.COL_WIDTH);return m.map(B).run()},z=(B,P)=>{const k=this.getHeight();let H=0,Y=0,G=!1,Q;const J=Object.keys(B).sort((pe,ce)=>pe-ce);for(let pe=J.length-1;pe>=0;pe-=1)if(H=Number(J[pe]),Q=B[H].height,H<=P&&(Y+=Q),Y>=k){G=!0;break}if(G){let pe=P-(H-1);const ce=Y-k;return pe=pe-Math.ceil(ce/Q),pe}const q=k-Y,oe=Math.floor(q/Q);return P+1-(H-oe)},$=(B,P)=>{const k=this.getHeight();let H=0,Y=0,G=!1,Q;const J=Object.keys(B).sort((pe,ce)=>pe-ce);for(let pe=0;pe<J.length;pe++)if(H=Number(J[pe]),Q=B[H].height,H>=P&&(Y+=Q),Y>=k){G=!0;break}if(G){let pe=H-P+1;const ce=Y-k;return pe=pe-Math.ceil(ce/Q),pe}const q=k-Y,oe=Math.floor(q/Q);return H+oe+1-P};this.getVisibleColumnCount=B=>{const P=B?h.from(()=>B):E,k=g.curry(C.roundedDivision)(this._size.COL_WIDTH);return P.map(k).chain(R)},this.getVisibleRowCount=()=>{const B=g.curry(C.roundedDivision)(this._size.ROW_HEIGHT);return p.map(B).chain(O)};const W=g.fork(C.calculateMaxFirstVisible,b,this.getVisibleColumnCount),V=B=>g.fork(C.calcVisible,U,this.getVisibleColumnCount)(B),K=g.fork(C.calculateMaxFirstVisible,this._dataSize.numRows,this.getVisibleRowCount),M=g.fork(C.calcVisible,L,this.getVisibleRowCount);this.getLastVisibleColumn=B=>g.compose(S,V)(B),this.getLastVisibleRow=g.compose(N,M),this.getFirstVisibleColumn=g.compose(B=>Math.min(U(),B),W),this.getPreviousViewPortCount=z,this.getNextViewPortCount=$,this.getFirstVisibleRow=g.compose(B=>Math.min(L(),B),K),this.getFirstBufferedColumn=g.compose(I,t,this.getFirstVisibleColumn),this.getFirstBufferedRow=g.compose(I,e,this.getFirstVisibleRow),this.getLastBufferedRow=g.compose(N,s,this.getLastVisibleRow),this.getLastBufferedColumn=B=>g.compose(S,l,this.getLastVisibleColumn)(B),this.setScrollRightPx=(B,P,k)=>{this._viewModel.setState("LastScrollColumn",P),this._viewModel.setState("LastScrollColumnFn",k);const H=c.scrollLeft;c.scrollLeft=B,this._viewModel.setState("scrollPositionChanged",H!==c.scrollLeft)},this.setScrollLeftPx=(B,P=!1)=>{this._viewModel.deleteState("LastScrollColumn"),this._viewModel.deleteState("LastScrollColumnFn");const k=c.scrollLeft;let H=!0;c.scrollLeft=B,k===c.scrollLeft&&(H=!1),this._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&this._viewModel.setState("scrollPositionChanged",k!==c.scrollLeft);const Y=c.scrollWidth-c.clientWidth;return!P&&B>Y&&(this._viewModel.setState("LastScrollColumn",B/this._size.COL_WIDTH),this._viewModel.setState("LastScrollColumnFn",()=>B)),H},this.setScrollTopPx=(B,P=!1)=>{this._viewModel.deleteState("LastScrollRow"),this._viewModel.deleteState("LastScrollRowFn");const k=c.scrollTop;let H=!0;c.scrollTop=B,k===c.scrollTop&&(H=!1),this._viewModel.getStateByKey("scrollPositionChanged").value!==!0&&this._viewModel.setState("scrollPositionChanged",k!==c.scrollTop);const Y=c.scrollHeight-c.clientHeight;return!P&&B>Y&&(this._viewModel.setState("LastScrollRow",B/this._size.ROW_HEIGHT),this._viewModel.setState("LastScrollRowFn",()=>B)),H},this.setScrollBottomPx=(B,P,k)=>{this._viewModel.setState("LastScrollRow",P),this._viewModel.setState("LastScrollRowFn",k);const H=c.scrollTop;c.scrollTop=B,this._viewModel.setState("scrollPositionChanged",H!==c.scrollTop)},this.getScrollComponentDimensions=()=>{const B=c.scrollHeight,P=c.scrollWidth,k=c.scrollTop,H=c.scrollLeft,Y=c.clientWidth,G=c.clientHeight;return{scrollHeight:B,scrollWidth:P,scrollTop:k,scrollLeft:H,clientWidth:Y,clientHeight:G}}}}return n.default=i,n.default},A,x),A.exports=w},77581:(A,x,a)=>{var T,w;T=[a(65392),a(44908)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f,u){this._viewModel=f,this._propManager=new h({},f,u),this._factory=new C(this._propManager),this._rowHeader=void 0,this._headerEl=[],this._tableComp=void 0}buildDataComponents(f){this._propManager.updateProps(f),this._headerEl=this._factory.makeHeaderComponent(),this._propManager.props.displayRowHeader&&(this._rowHeader=this._factory.makeRowHeaderComponent()),this._tableComp=this._factory.makeTableComponent()}buildTable(){return[this._factory.makeScrollComponent(this._tableComp,this._rowHeader),this._headerEl]}buildOuterWrapper(){const f=this.buildTable()[0];return this._factory.makeWrapperComponent(f,this._headerEl)}}return g.default=_,g.default},A,x),A.exports=w},65875:(A,x,a)=>{var T,w;T=[a(54322),a(89019),a(37999)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{constructor(u,r,d){this._pendingRender=null,this._render=this._triggerRender,this._viewModel=u,this._renderer=r,this._build=d,u.on("dataSizeChanged",this._dataSizeChanged.bind(this)),u.on("viewDataChanged",this._viewDataChanged.bind(this)),u.on("renderTypeChanged",this._renderTypeChanged.bind(this))}_renderTypeChanged(u){const{type:r}=u;switch(r){case h.ASYNC:this._render=this._requestRender;break;case h.SYNC:this._render=this._triggerRender;break;default:throw new Error(`Incorrect render type provided: ${r}`)}}_dataSizeChanged(){this._removeDirtyStates(),this._renderer.resize()}_removeDirtyStates(){const u=this._viewModel.getStateByKey(C.protected.SORTED);if(u&&u.rangeList){const r=u.rangeList[0].columns.start;this._viewModel.clearSortState(g.range().setColumns(r,r))}}_requestRender(){this._pendingRender===null&&(this._pendingRender=window.requestAnimationFrame(()=>{this._triggerRender(),this._pendingRender=null}))}_triggerRender(){const[u,r]=this._build.buildTable();this._renderer.render(u,r)}_viewDataChanged(u){this.buffEnd=this._viewModel.viewBuffer.rangeList[0].rows.end,this._build.buildDataComponents(u),this._render()}}return _.default=v,_.default},A,x),A.exports=w},91624:(A,x,a)=>{var T,w;T=[a(32746),a(23513),a(89019)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{constructor(u,r,d){this._viewModel=u,this._adaptorList=r,this._viewModel.viewPortList=d,this._handlingUserInteraction=!1,this._triggerRender=!1,this._handleMetaDataUpdate=this._handleMetaDataUpdate.bind(this),this._handleMetaDataFlags=this._handleMetaDataFlags.bind(this),this.eventCallback=this.eventCallback.bind(this),this.throttledRender=h(C.renderUpdate,16.666666666666668),this.destroy=this.destroy.bind(this),this._destroyed=!1,u.on(g.REGISTRATION,()=>{this.throttledRender(this._viewModel)}),u.on(g.SEARCH_NAVIGATION_DATA,this._handleMetaDataUpdate),u.on(g.protected.SELECTED,this._handleMetaDataUpdate),u.on(g.protected.FOCUSED,this._handleMetaDataUpdate),u.on(g.protected.SORTED,this._handleMetaDataUpdate),u.on(g.protected.EDIT_STATE,this._handleMetaDataUpdate),u.on(g.protected.COL_EDIT_STATE,this._handleMetaDataUpdate),u.on(g.protected.ROW_HEADER_EDIT_STATE,this._handleMetaDataUpdate),u.on(g.protected.ROW_HEIGHT,this._handleMetaDataUpdate),u.on(g.protected.COL_WIDTH,this._handleMetaDataUpdate),u.on(g.protected.EDIT_VALIDATION,this._handleMetaDataUpdate),u.on(g.protected.EDIT_PROCESSING,this._handleMetaDataUpdate),u.on(g.COLUMN_RESIZED,this._handleMetaDataFlags),u.on(g.protected.COLUMN_CONFIG,this._handleMetaDataFlags),u.on(g.protected.TABLE_DISABLED,this._handleMetaDataUpdate),u.on(g.HIDE_COLUMN_HEADER,this._handleMetaDataUpdate)}_handleMetaDataFlags(u={}){u.value===!0&&this._handleMetaDataUpdate(u)}_handleMetaDataUpdate(){this._handlingUserInteraction?this._triggerRender=!0:this.throttledRender(this._viewModel)}destroy(){this.throttledRender.cancel(),this._destroyed=!0,this._adaptorList=null,this._viewModel=null}eventCallback(u,r){if(this._destroyed===!0)return;r=r||{},this._handlingUserInteraction=!0,this._adaptorList.handleEvent(u,{dataSize:this._viewModel.dataSize,viewPort:this._viewModel.viewPort,event:r});const d=this._viewModel.getStateByKey("scrollPositionChanged")||{value:!1};this._triggerRender&&!d.value&&this.throttledRender(this._viewModel),this._triggerRender=!1,this._viewModel.setState("scrollPositionChanged",!1),this._handlingUserInteraction=!1}}return _.default=v,_.default},A,x),A.exports=w},16165:(A,x,a)=>{var T,w;T=[a(77581),a(65875),a(31045),a(91624),a(23513)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{constructor(d,n,i){this._viewModel=d,this._viewPortList=i,this._adaptorList=n;const o=new _(this._viewModel,this._adaptorList,this._viewPortList);this.destroyInteractiveEvents=o.destroy.bind(o),this._buildComponents=new h(this._viewModel,o.eventCallback),this._render=new g(this._buildComponents.buildOuterWrapper(),this._viewModel)}mount(){const d=this._render.mount();return this._incomingData=new C(this._viewModel,this._render,this._buildComponents),v.renderUpdate(this._viewModel,this._viewPortList[0].getBufferedViewPort()),this._render.resize(),d}unmount(){this.destroyInteractiveEvents(),this._render.unmount(),this._viewPortList=null,this._viewModel=null,this._adaptorList=null,this._render=null}get domNode(){return this._render.domNode}}return f.default=u,f.default},A,x),A.exports=w},31045:(A,x,a)=>{var T,w;T=[a(89019),a(89989)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f,u){this._container=document.createElement("div"),this._container.style.height="100%",this._container.style.width="100%",this._table=f,this._viewModel=u}mount(){return this._tableComponent=C.render(this._table,this._container),this.resize(),this._tableComponent}render(f,u){const r=this._viewModel.getStateByKey(h.protected.EDIT_TRIGGER)?this._viewModel.getStateByKey(h.protected.EDIT_TRIGGER):null,d=this._viewModel.getStateByKey(h.protected.EDIT_STATE)?this._viewModel.getStateByKey(h.protected.EDIT_STATE).value:!1,n=this._viewModel.getStateByKey(h.protected.EDIT_PROCESSING)?this._viewModel.getStateByKey(h.protected.EDIT_PROCESSING).value:!1;this._tableComponent&&this._tableComponent.setState({scrollComponent:f,header:u,editTrigger:r,editState:d,editProcessing:n})}resize(){this._tableComponent._handleResize(this._container),this._tableComponent._handleResize(this._container)}unmount(){C.unmountComponentAtNode(this._container),this._container.parentNode&&this._container.parentNode.removeChild(this._container),this._container=null,this._tableComponent=null,this._table=null,this._viewModel=null}get domNode(){return this._container}}return g.default=_,g.default},A,x),A.exports=w},546:(A,x,a)=>{var T,w;T=[a(61640),a(59108),a(70348)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v={enableEdit:!1,topLeftRowHeaderLabel:{}},f={displayIndices:!0},u=3,r=n=>{if(Array.isArray(n.features)&&n.features.find(o=>o instanceof h))return f};class d{static getRowHeaderConfig(i){const o=r(i);if(!o&&!i.rowModel)return;const c=Object.assign({},v,o);return i.rowModel&&i.rowModel.rowHeaderConfig?Object.assign({},c,i.rowModel.rowHeaderConfig):c}static getLabels(i,o,c){const e=[],t=c-o+1;if(t>0){e.length=t;for(let s=o;s<=c;s++){const l=i[0](s);if(l&&l.value&&l.value.label!==void 0){const p=l.value.label||"";e[s-o]={label:p,rowIndex:s}}}}return e}static getHeaderPaddingSize(){return u}static getRowHeaderMaxWidth(){return g.dimensions.MAX_ROW_HEADER_WIDTH}static getSelectedRows(i,o,c){const e=Math.max(i.rows.start,o.rows.start),t=Math.min(i.rows.end,o.rows.end);for(let s=e;s<=t;s+=1)c.mapping[s]=C.selection.SELECTED}static getSelectionMap(i){const{metadata:o={selections:[]},viewBuffer:c}=i,e=o.selections,t=o.selectionById,s={count:0,mapping:[]};if(t)Object.keys(e).forEach(l=>s.mapping[l]=C.selection.SELECTED);else for(let l=0;l<e.length;l+=1)e[l].rows.start<=c.rows.end&&e[l].rows.end>=c.rows.start&&d.getSelectedRows(e[l],c,s);return l=>s.mapping[l]||0}}return _.default=d,_.default},A,x),A.exports=w},94967:(A,x,a)=>{var T,w;T=[a(79424),a(5946),a(70348),a(89019),a(44795)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};let u=0;const r=Object.freeze({displayIndices:!1,displayColumnLabel:!0,hideColumnHeader:!1});function d(){return u}function n(l,p,E){const m={columns:[],spanningConfig:[]};let y={generatedId:E};if(l.children){if(u=u+1,p!==void 0){const{label:b,columnId:I,headerEditor:S,headerRenderer:R,sortType:N,sortFirst:O,headerMenu:L,groupLength:U,colStartIndex:z,colEndIndex:$,reorder:W,resizable:V,complexHeaderStyle:K}=l,M=E===void 0?"."+p:E+"."+p;y={generatedId:I||M,columnId:I||M,label:b,parentId:E,headerEditor:S,headerRenderer:R,sortType:N,sortFirst:O,headerMenu:L,groupLength:U,colStartIndex:z,colEndIndex:$,reorder:W,resizable:V,complexHeaderStyle:K,complexHeader:!0},m.spanningConfig.push(y)}l.children.forEach((b,I)=>{const S=n(b,I,y.generatedId);m.columns=m.columns.concat(S.columns),m.spanningConfig=m.spanningConfig.concat(S.spanningConfig)})}else l.parentId=E,m.columns=[l];return m}function i(l){const p={};for(const E of l){const m=E,{label:y,parentId:b,columnId:I,headerRenderer:S,headerEditor:R,sortType:N,sortFirst:O,headerMenu:L,groupLength:U,colStartIndex:z,colEndIndex:$,reorder:W,resizable:V,complexHeaderStyle:K,complexHeader:M}=m;p[m.generatedId]={label:y,parentId:b,columnId:I,headerRenderer:S,headerEditor:R,sortType:N,sortFirst:O,headerMenu:L,groupLength:U,colStartIndex:z,colEndIndex:$,reorder:W,resizable:V,complexHeaderStyle:K,complexHeader:M}}return p}const o=l=>l.length>0,c=l=>l.dataIndex>=0||l.complexHeader===!0,e=l=>l.width.unit==="px"||l.width.unit==="%"&&!l.parentId||l.width.unit===""||!l.width.value&&!l.width.unit;class t{static getLevelsOfHeaders(){return d()}static parseViewModelWithConfig({columnModel:p={},viewModel:E={},attributes:m={}}){const{spanning:y,columns:b}=h.alt(t.initializeConfiguredHeaders,()=>({columns:[]}),{columnConfig:p.columnConfig}),I=b||[],[S,R]=t.validateColPct(I),N=t.initialColumnHeaderConfig(p.columnHeaderConfig);return s(I,R,S),E.setColumnHeaderConfig(N),E.setColumnHeaders(I),E.setSpanningHeaders(y),t.setAttributes(E,m),E}static isEditorConfigured(p){let E=!1;if(p&&p.length){for(let m=0;m<p.length;m++)if(!(p[m]&&p[m].editor==null)&&!p[m].readonly){E=!0;break}}return E}static initialColumnHeaderConfig(p){return Object.assign({},r,p)}static enoughColumnsToPage(p){return p>=g.buffers.UNPAGED_COL_LIMIT}static notEnoughColumnsToPage(p){return!t.enoughColumnsToPage(p)}static parseHeaderConfig({label:p=null,dataIndex:E=-1,width:m={},renderer:y=null,editor:b=null,interactiveRenderer:I=null,sortType:S="",sortFirst:R=void 0,hidden:N=!1,hideable:O=!0,readonly:L=!1,columnId:U=null,headerMenu:z=!1,headerRenderer:$=null,headerEditor:W=null,parentId:V=void 0,colStartIndex:K=-1,colEndIndex:M=-1,reorder:B=!0,columnHeaderIndex:P=-1,resizable:k=void 0,complexHeader:H=!1},Y){I&&(b=null,y=null);const G={label:p,dataIndex:E,width:m,renderer:y,editor:b,interactiveRenderer:I,sortType:S,sortFirst:R,hidden:N,hideable:O,readonly:L,columnId:U!==null?U.toString():Y.toString(),headerMenu:z,headerRenderer:$,headerEditor:W,colStartIndex:K,colEndIndex:M,parentId:V,reorder:B,columnHeaderIndex:P,resizable:k,complexHeader:H};return C.fromType(c,G).filter(e).orElse(null)}static initializeConfiguredHeaders({columnConfig:p=[]}){const E=n({children:p}),m=i(E.spanningConfig),y=C.fromType(o,E.columns).chain(b=>b.map(t.parseHeaderConfig)).chain(b=>b.filter(I=>I));return{spanning:m,columns:y.orElse(null)}}static validateColPct(p){let E=0,m=0,y=-1;p.forEach((I,S)=>{if(I.width&&t.validateGeoVal(I.width,"%")){const R=Math.floor(Math.abs(I.width.value));E+=R,R>m&&(y=S,m=R)}});const b=100-E;return b<1&&(y=-1),[b,y]}static getTbodyHeaderClass(p){return p?"mw-tbody-all-columns":"mw-tbody-paged-columns"}static getTableHeaderClass(p,E=!1){return E?"mw-table-freeze-column":p?"":"mw-table-paged-columns"}static getPercentColumnPageWidth({headers:p=[],allColumnsRendered:E=!1}){function m(y){if(y.width)return y.width.unit==="%"}return E&&h.find(p,m)?"100%":null}static validateGeoVal({value:p,unit:E}={},m){return!isNaN(parseFloat(p))&&p!==1/0&&(!m||E===m)}static validateForNaturalNumber(p){if(!function(){return!(p!==void 0&&(typeof p!="number"||!Number.isInteger(p)||p<=0))}())throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number")}static setAttributes(p,E){function m($,W){W=Math.max(g.dimensions.ABSOLUTE_MIN,W),t.validateGeoVal({value:W})&&p.setState($,W)}function y($,W){Object.prototype.hasOwnProperty.call(v,W)&&p.setState($,W)}function b($,W){p.setState($,W)}function I($,W){p.setState($,W)}function S($,W){p.setState($,W)}function R($,W){p.setState($,W)}function N($,W){t.validateForNaturalNumber(W),p.setState($,W)}const O=function($){switch($){case"minColWidth":return m.bind(this,_.COL_WIDTH);case"minRowHeight":return m.bind(this,_.ROW_HEIGHT);case"gridStyle":return y.bind(this,_.protected.GRID_STYLE);case"groupedColumns":return R.bind(this,_.protected.GROUPED_COLUMN_HEADERS);case"numberOfGutters":return N.bind(this,"numberOfGutters");case"useEditorRendererDataFields":return b.bind(this,_.protected.USE_DATA_FIELDS);case"resizeSelection":return I.bind(this,_.protected.RESIZE_SELECTION);case"readOnlyVisualDesign":return S.bind(this,_.protected.READONLY_VISUALDESIGN);default:return W=>W}},L=Object.keys(E),U=L.length;let z;for(let $=0;$<U;$++)z=L[$],O(z)(E[z])}}f.default=t;function s(l,p=-1,E){return p>-1&&(l[p].width.value+=E),l}return f.default},A,x),A.exports=w},61110:(A,x,a)=>{var T,w;T=[a(60794),a(3378)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{get emits(){return[]}constructor(f){super(),this.adaptor=f.adaptor}static get adaptor(){return C}cut(){return this.adaptor.cut()}copy(f=null){return this.adaptor.copy(f)}paste(){return this.adaptor.paste()}exposedAPI(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}exposedTreeTableAPIs(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}}return g.default=_,g.default},A,x),A.exports=w},21990:(A,x,a)=>{var T,w;T=[a(60794),a(8044),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u,r){super(),this.adaptor=u.adaptor,this.adaptor.setConfig(r),u.adaptor.on(g.protected.COL_RESIZE,d=>this._handleResize(d)),u.adaptor.on(g.internal.COL_RESIZE_DONE,d=>this._handleResizeDone(d))}static config(u){class r extends v{constructor(n){super(n,u)}}return r}static get adaptor(){return C}get listensOn(){return[g.protected.COL_RESIZE]}get emits(){return[g.exposed.COLUMN_RESIZED]}get treeTableEmits(){return[g.exposed.COLUMN_RESIZED]}exposedAPI(){return{}}_handleResize(u){this.adaptor.setColumnResize(u)}_handleResizeDone(u){this.emit(g.exposed.COLUMN_RESIZED,u)}}return _.default=v,_.default},A,x),A.exports=w},28566:(A,x,a)=>{var T,w;T=[a(60794),a(78594),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super(),this.adaptor=u.adaptor,u.adaptor.on(g.exposed.DROP_COMPLETED,r=>this._emitDropEvent(g.exposed.DROP_COMPLETED,r)),u.adaptor.on(g.exposed.DROP_FAILED,r=>this._emitDropEvent(g.exposed.DROP_FAILED,r)),u.adaptor.on(g.exposed.DROP_IN_PROGRESS,r=>this._emitDropEvent(g.exposed.DROP_IN_PROGRESS,r))}static get adaptor(){return C}get emits(){return[g.exposed.DROP_IN_PROGRESS,g.exposed.DROP_COMPLETED,g.exposed.DROP_FAILED]}get treeTableEmits(){return[g.exposed.DROP_IN_PROGRESS,g.exposed.DROP_COMPLETED,g.exposed.DROP_FAILED]}_emitDropEvent(u,r){this.emit(u,r)}exposedAPI(){return{}}}return _.default=v,_.default},A,x),A.exports=w},98314:(A,x,a)=>{var T,w;T=[a(11342),a(79424),a(60794),a(28092),a(9747)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{constructor(d){this.adaptor=d.adaptor,this.eventCallback=d.eventCallback;const n=new g;this._emit=n.emit.bind(n),this.on=n.on.bind(n),this._events={},this._isFocusById=this.adaptor.isFocusManagedById(),d.adaptor.on("cellFocusClick",i=>this._rowClicked(i)),d.adaptor.on("cellFocusKeyPress",i=>this._keyPressed(i))}static get adaptor(){return _}get emits(){return["cellFocused"]}get listensOn(){return["cellFocusClick","cellFocusKeyPress"]}exposedAPI(){return{setCellFocus:this.setCellFocus.bind(this),getFocusedCell:this.getFocusedCell.bind(this)}}_rowClicked(d){const i={range:[h.getRangeForCell(d.row,d.column)],row:{id:d.rowId}};this.adaptor.setFocusState(i),d.emitCellFocused!==!1&&this._emit("cellFocused",this._getPayLoadToEmitCellFocusedEvent(i,d.columnId))}_getPayLoadToEmitCellFocusedEvent(d,n){return this._isFocusById?{focusedCell:{column:d.range[0].columns.start,id:d.row.id,columnId:n}}:d.range[0]}_keyPressed(d){const n={range:[d.range],row:{id:d.row?d.row.id:void 0}};this.adaptor.setFocusState(n)}setCellFocus(d){return this._isFocusById?this._setCellFocusById(d):C.convertSyncFunctionToPromise(()=>this.adaptor.setFocusState({range:d}))}_setCellFocusById(d){if(d&&typeof d=="object"&&Object.prototype.hasOwnProperty.call(d,"id")&&Object.prototype.hasOwnProperty.call(d,"column"))return this.adaptor.getFocusedCellRange(d.id,d.column).then(n=>{if(n){const i={range:[n],row:{id:d.id}};this.adaptor.setFocusState(i)}else throw new Error("The cell to be setCellFocus is not in the view")});if(d&&typeof d=="object"&&v.isObjectEmpty(d))return this.adaptor.setFocusState(null),Promise.resolve();throw new Error("Expected: cellInfo object or empty object to signify no focus. Usage: setCellFocus({id: 'a', column: 5}) or setCellFocus({})")}getFocusedCell(){const d=this.adaptor.getFocusState();return this._isFocusById?this._getFocusedCellById(d):this._getFocusedCellByRange(d)}_getFocusedCellByRange(d){const n={};return d&&d.rangeList[0]&&(n.row=d.rangeList[0].rows.start,n.column=d.rangeList[0].columns.start),n}_getFocusedCellById(d){const n={};return d&&d.rangeList[0]&&d.value&&(n.column=d.rangeList[0].columns.start,n.id=d.value),n}}return f.default=u,f.default},A,x),A.exports=w},61640:(A,x,a)=>{var T,w;T=[a(60763)],w=a.dj.d(T,function(h){"use strict";var C={};class g{constructor(v,f){this.adaptor=v.adaptor,this.adaptor.setConfig(f)}static get adaptor(){return h}get emits(){return[]}static config(v){class f extends g{constructor(r){super(r,v)}}return f}exposedAPI(){return{}}}return C.default=g,C.default},A,x),A.exports=w},93754:(A,x,a)=>{var T,w;T=[a(60794),a(37425),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super(),this.adaptor=u.adaptor,u.adaptor.on(g.protected.HEADER_CLICKED,r=>this._handleHeaderMenu(r))}static get adaptor(){return C}get emits(){return[g.exposed.HEADER_MENU]}exposedAPI(){return{}}_handleHeaderMenu(u={}){this.emit(g.exposed.HEADER_MENU,u)}}return _.default=v,_.default},A,x),A.exports=w},70728:(A,x,a)=>{var T,w;T=[a(60794),a(79424),a(15746),a(97154)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends h{constructor(r){super(),this.adaptor=r.adaptor,r.adaptor.on(_.internal.SCROLL_CHANGED,d=>this._emitScrollEvent(d))}static get adaptor(){return g}_emitScrollEvent(r){this.emit("scrollViewChanged",r)}scrollToPosition(r){const d=this;function n(){if(typeof r.scrollTop=="number"&&typeof r.scrollLeft=="number"||typeof r.scrollTop=="number"&&r.scrollLeft===void 0||typeof r.scrollLeft=="number"&&r.scrollTop===void 0)d.adaptor.scrollToPosition(r);else throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
Examples:
scrollToPosition({ scrollTop: 30 })
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}return C.convertSyncFunctionToPromise(()=>n())}getScrollComponentDimensions(){return this.adaptor.getScrollComponentDimensions()}exposedAPI(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}exposedTreeTableAPIs(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this)}}get emits(){return[_.exposed.SCROLL_VIEW_CHANGED]}get treeTableEmits(){return[_.exposed.SCROLL_VIEW_CHANGED]}}return v.default=f,v.default},A,x),A.exports=w},34412:(A,x,a)=>{var T,w;T=[a(23760),a(37999)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f,u){this.adaptor=f.adaptor}static get adaptor(){return h}search(f){this.adaptor.search(f)}clearSearch(){this.adaptor.clearSearch()}async nextSearchOccurrence(f){return await this.adaptor.nextSearchOccurrence(f)}async prevSearchOccurrence(f){return await this.adaptor.prevSearchOccurrence(f)}exposedAPI(){return{search:f=>this.search(f),clearSearch:()=>this.clearSearch(),nextSearchOccurrence:f=>this.nextSearchOccurrence(f),prevSearchOccurrence:f=>this.prevSearchOccurrence(f)}}get emits(){return[]}}return g.default=_,g.default},A,x),A.exports=w},5042:(A,x,a)=>{var T,w;T=[a(37999),a(60794),a(50269),a(97154),a(66296)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u=d=>d.ctrlKey||d.metaKey;class r extends C{get emits(){return[_.exposed.SELECTION_CHANGED,"selectedAction"]}_handleSelectedAction(n){this.emit("selectedAction",n)}constructor(n){super(),this.adaptor=n.adaptor,this.previousFulcrum=h.range(),this.previousRangeList=[],this.ctrlClickSelectCell=Object.prototype.hasOwnProperty.call(n,"ctrlClickSelectCell")?n.ctrlClickSelectCell:!0;const i=g.event;n.adaptor.on(i.RANGE_SELECTION,o=>this._handleKeySelection(o)),n.adaptor.on(i.COLUMN_SELECTION,o=>this._handleColumnSelection(o)),n.adaptor.on(i.ROW_SELECTION,o=>this._handleRowSelection(o)),n.adaptor.on(i.SELECT_ALL,o=>this._handleSelectAll(o)),n.adaptor.selectHeaders=!0,n.adaptor.applyToCells=!0}static get adaptor(){return g}_handleSelectAll(n){const i=h.range().setEntireColumns(0,1/0);this._updateSelection(n,i)}_handleColumnSelection(n){const{activeCell:i,fulcrum:o}=n,c=i.columns.start;let e=Math.min(o.columns.start,c),t=Math.max(o.columns.end,c);n.groupedSelection||(u(n)||!n.shiftKey)&&(e=Math.min(i.columns.start,c),t=e);const s=Math.min(e,t),l=Math.max(e,t),p=h.range().setEntireColumns(s,l);this._updateSelection(n,p)}_handleRowSelection(n){const{activeCell:i,fulcrum:o}=n,c=i.rows.start;let e=Math.min(o.rows.start,c),t=Math.max(o.rows.end,c);(u(n)||!n.shiftKey)&&(e=Math.min(i.rows.start,c),t=e);const s=Math.min(e,t),l=Math.max(e,t),p=h.range().setEntireRows(s,l);this._updateSelection(n,p)}_handleKeySelection(n){const i=n.fulcrum,o=n.activeCell;let c;if(!u(n)&&!n.shiftKey)c=h.range().setRows(o.rows.start,o.rows.start).setColumns(o.columns.start,o.columns.start);else if(!u(n)&&n.shiftKey){const e=Math.min(i.rows.start,o.rows.start),t=Math.max(i.rows.end,o.rows.end),s=Math.min(i.columns.start,o.columns.start),l=Math.max(i.columns.end,o.columns.end),p=Math.min(s,l),E=Math.max(s,l),m=Math.min(e,t),y=Math.max(e,t);c=h.range().setRows(m,y).setColumns(p,E)}else if(u(n)){if(this.ctrlClickSelectCell&&!this._isNavigationKey(n.keyCode)&&!n.shiftKey)c=this.adaptor.getSelection(),h.isRangeInsideRangeList(o,c)?(c=h.removeRangeFromRangeList(c,o),this.adaptor.setSelection(c,{activeRange:h.range()})):(c.push(o),this.adaptor.setSelection(c,{activeRange:o})),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()});else{const e=this.adaptor.getSelection();this.adaptor.setSelection(e)}return}this._updateSelection(n,c)}_updateSelection(n,i){const o=u(n),c=n.shiftKey,e=o&&n.keyCode===v.A,t=n.keyCode===v.SPACE;if(n.resizeSelectionInProgress){const{fulcrum:s}=n;this.previousFulcrum=s,this._modifyActiveRangeResize(i)}else if(o&&c){const s=this.adaptor.getSelection();this.adaptor.setSelection(s)}else!o&&c&&!t?n.dragEvent?this._modifyActiveRangeResize(i):this._additiveUpdate(n,i):(!o||e)&&!t?this._newSelection(i,n):this._discreteAdditiveUpdate(i,n)}_discreteAdditiveUpdate(n,i){const{fulcrum:o}=i;let c=this.adaptor.getSelection();h.isRangeInsideRangeList(n,c)?this.adaptor.setSelection(c,{activeRange:n}):(this.previousRangeList=c.slice(),c=h.removeRangeFromRangeList(c,n),c.push(n),this.previousFulcrum=o,this.adaptor.setSelection(c,{activeRange:n}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}_newSelection(n,i){const{fulcrum:o}=i,c=this.adaptor.getSelection(),e=c.length===1?h.isRangeEqual(n,c[0]):!1;this.adaptor.setSelection([n],{activeRange:n}),this.previousRange=n,this.previousRangeList=[],this.previousFulcrum=o,e||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}_additiveUpdate(n,i){const o=n.fulcrum;h.isRangeEqual(this.previousFulcrum,o)||o.rows.end===1/0&&this.previousFulcrum.columns.end===1/0||o.columns.end===1/0&&this.previousFulcrum.rows.end===1/0?this._modifyActiveRange(i):this._startNewActiveRange(i),this.previousRange=i,this.previousFulcrum=o}_startNewActiveRange(n){let i=this.adaptor.getSelection();this.previousRangeList=i;const o=h.isRangeInsideRangeList(n,i);i=h.removeRangeFromRangeList(i,n),i.push(n),this.adaptor.setSelection(i,{activeRange:n}),o||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}_modifyActiveRange(n){let i=this.adaptor.getSelection();const o=this.adaptor.getSelection();h.isRangeInsideRangeList(n,this.previousRangeList)?(this.adaptor.setSelection(this.previousRangeList,{activeRange:n}),h.isRangeInsideRangeList(this.previousRange,this.previousRangeList)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})):(i=h.removeRangeFromRangeList(this.previousRangeList,n),i.push(n),this.adaptor.setSelection(i,{activeRange:n}),h.isRangeInsideRangeList(this.previousRange,i)?h.isRangeInsideRangeList(n,o)||this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}):this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()}))}_modifyActiveRangeResize(n){const i=this.adaptor.getSelection();let o=!0;for(let c=0;c<i.length;c++)if(!h.isRangeEqual(n,i[c])){o=!1;break}if(!o){const c=this.adaptor.getActiveRange();let e=h.removeRangeFromRangeList(i,n);c.value&&(e=h.removeRangeFromRangeList(e,c.value)),e.push(n),this.adaptor.setSelection(e,{activeRange:n}),this.emit("selectionChanged",{rangeList:this.adaptor.getSelection()})}}_isNavigationKey(n){return n&&(n===v.ARROW_LEFT||n===v.ARROW_RIGHT||n===v.ARROW_UP||n===v.ARROW_DOWN||n===v.PAGE_UP||n===v.PAGE_DOWN||n===v.HOME||n===v.END)}setSelection(n,i={}){if(!Array.isArray(n))return;const o=[];let c=n.slice(),e=c.shift();for(;e;)o.push(e),c=h.removeRangeFromRangeList(c,e),e=c.shift();return this.adaptor.setSelection(o,i),o}getSelection(){return this.adaptor.getSelection()}exposedAPI(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}return f.default=r,f.default},A,x),A.exports=w},18920:(A,x,a)=>{var T,w;T=[a(15632),a(48369),a(66296),a(93155),a(37999),a(89019)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r=n=>n.ctrlKey||n.metaKey||n.meta;class d extends _{constructor(i){super(i),this.adaptor=i.adaptor,this._doesDataStoreSupportSelection=this.adaptor.doesDataStoreManageSelection(),i.adaptor.on(C.protected.CELL_SELECTION_CLICK,o=>this._handleSelection(o)),i.adaptor.on(C.internal.RANGE_SELECTION,o=>this._handleSelection(o)),i.adaptor.on(C.protected.ALLOW_DRAG_TO_SELECT,o=>this._handleAllowDragToSelect(o))}static get adaptor(){return h}_handleAllowDragToSelect(i){i.event.allowDragToSelect===!0?this.adaptor.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!0):this.adaptor.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!1)}_handleSelection(i){const o=v.range().setEntireRows(Number(i.row)),c=this._getIdFromEvent(i),e=r(i),t=i.shiftKey,s=i.dragEvent===!0?i.dragEvent:!1;if(this._lastSelectionRange=o,this._initialSelection=(this.adaptor.getSelectionState()||[]).slice(),e&&i.keyCode===g.A){this.adaptor.selectionChangedEventWaitForCtrlA===!0?this.adaptor.setAllRows().then(()=>{this._emitSelectionEvt()}):(this.adaptor.setAllRows(),this._emitSelectionEvt());return}if(c!==void 0){this._setMultipleSelection({selectionId:c,selectionRange:o,isCtrlKeyOrMetaKeyPressed:e,isShiftPressed:t,dragEvent:s});return}this.adaptor.getRowIdForIndex(i.row).then(l=>{this._lastSelectionRange===o&&this._setMultipleSelection({selectionId:l,selectionRange:o,isCtrlKeyOrMetaKeyPressed:e,isShiftPressed:t,dragEvent:s})})}_setMultipleSelection({selectionId:i,selectionRange:o,isCtrlKeyOrMetaKeyPressed:c,isShiftPressed:e,dragEvent:t}){c?(this.adaptor.setDiscontiguousRow(i),this._emitSelectionEvt()):t===!0?(this.adaptor.setDragSelection(o),this._emitSelectionEvt()):e?this.adaptor.setContiguousRows(o).then(()=>this._emitSelectionEvt()):this._handleIndividualRowSelection(i)}_handleIndividualRowSelection(i){this.adaptor.setIndividualRow(i),i!==void 0?this._emitSelectionEvt():this.adaptor.emitSelectionEvtWhenDataPagesIntoView(this._emitSelectionEvt.bind(this))}_isSelectionChanged(i){return this.adaptor.getSelectedIdIndex(i)<0}_handleSelectAndDeselectEvent(i,o){o?this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(i):this.adaptor.setSelectionState([i]):this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState([])}_keyPressed(i){i.rowId=i.rowId&&i.rowId.id;const o=this._getIdFromEvent(i);if(r(i)){if(i.keyCode===g.SPACE){this._handleSelection(i);return}if(i.keyCode===g.A){i.nativeEvent.preventDefault(),this._handleSelection(i);return}return}switch(i.keyCode){case g.ARROW_DOWN:case g.ARROW_UP:case g.ARROW_LEFT:case g.ARROW_RIGHT:case g.PAGE_DOWN:case g.PAGE_UP:case g.HOME:case g.END:this._handleSelection(i);break;case g.SPACE:i.shiftKey?this._handleSelection(i):this.adaptor.isRowSelected(o)<0&&(i.ctrlKey=!0,this._handleSelection(i));break}}_handleSelectionChangedEvent(i,o,c){(i!==void 0&&o||i!==void 0&&c)&&this._emitSelectionEvt()}_didSelectionChange(i,o){if(i.length!==o.length)return!0;const c=new Set(i);for(let e=0;e<o.length;e+=1)if(!c.has(o[e]))return!0;return!1}_emitSelectionEvt(){const o=this.adaptor.getSelectionState().map(c=>({id:c}));this.emit(C.exposed.SELECTION_CHANGED,{selection:o})}setSelection(i,o={}){if(i===null&&(i=[]),Array.isArray(i)){const c=i.map(e=>{if(e.id)return e.id;throw new Error(e+" should be a proxyNode containing an id property")});this.adaptor.setSelection(c,o)}else throw new Error("Expected: proxyNode array or empty array to signify no selection. Usage: setSelection([{id: 'a'}]), setSelection([])")}getSelection(){return super.getSelection().map(o=>({id:o}))}}return u.default=d,u.default},A,x),A.exports=w},43517:(A,x,a)=>{var T,w;T=[a(15632),a(48369),a(66296),a(82084)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=r=>r.ctrlKey||r.metaKey||r.meta;class u extends _{constructor(d){super(d),this.adaptor=d.adaptor,this._doesDataStoreSupportSelection=this.adaptor.doesDataStoreManageSelection(),d.adaptor.on(C.protected.CELL_SELECTION_CLICK,n=>this._handleSelection(n)),d.adaptor.on(C.protected.CELL_SELECTION_KEY,n=>this._keyPressed(n))}static get adaptor(){return h}_handleSelection(d){const n=this._getIdFromEvent(d),i=f(d);if(this._lastSelectedRow=d.row,n!==void 0){this._setSingleSelection({selectionId:n,isCtrlKeyOrMetaKeyPressed:i});return}this.adaptor.getRowIdForIndex(d.row).then(o=>{this._lastSelectedRow===d.row&&o!==void 0&&this._setSingleSelection({selectionId:o,isCtrlKeyOrMetaKeyPressed:i})})}_setSingleSelection({selectionId:d,isCtrlKeyOrMetaKeyPressed:n}){const i=this._isSelectionChanged(d);if(n)this._handleSelectAndDeselectEvent(d,i);else{const o=d!==void 0?[d]:null;this._doesDataStoreSupportSelection?Array.isArray(o)&&o.length>=1?this.adaptor.setIndividualRow(o[0]):this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState(o)}this._handleSelectionChangedEvent(d,i,n)}_isSelectionChanged(d){return this.adaptor.getSelectedIdIndex(d)<0}_handleSelectAndDeselectEvent(d,n){n?this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(d):this.adaptor.setSelectionState([d]):this._doesDataStoreSupportSelection?this.adaptor.setIndividualRow(null):this.adaptor.setSelectionState([])}_keyPressed(d){if(d.rowId=d.rowId&&d.rowId.id,f(d)&&d.keyCode!==g.SPACE){d.keyCode===g.A&&d.nativeEvent.preventDefault();return}switch(d.keyCode){case g.ARROW_DOWN:case g.ARROW_UP:case g.ARROW_LEFT:case g.ARROW_RIGHT:case g.PAGE_DOWN:case g.PAGE_UP:case g.HOME:case g.END:case g.SPACE:this._handleSelection(d);break}}_handleSelectionChangedEvent(d,n,i){(d!==void 0&&n||d!==void 0&&i)&&this._emitSelectionEvt()}_emitSelectionEvt(){const n=this.adaptor.getSelectionState().map(i=>({id:i}));this.emit(C.exposed.SELECTION_CHANGED,{selection:n})}setSelection(d,n={}){if(d===null&&(d=[]),Array.isArray(d)){let i;const o=d.map(c=>{if(c.id)return c.id;throw new Error(c+" should be a proxyNode containing an id property")});o.length>=1?i=[o[0]]:i=[],this.adaptor.setSelection(i,n)}else throw new Error("Expected: proxyNode array or empty array to signify no selection. Usage: setSelection([{id: 'a'}]), setSelection([])")}getSelection(){return super.getSelection().map(n=>({id:n}))}}return v.default=u,v.default},A,x),A.exports=w},93155:(A,x,a)=>{var T,w;T=[a(60794),a(97154)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{get emits(){return[C.exposed.SELECTION_CHANGED,"selectedAction"]}_fireSelectedActionEvent(f){this.emit("selectedAction",f)}constructor(f){super(),this.adaptor=f.adaptor,f.adaptor.on(C.protected.CELL_SELECTION_KEY,u=>this._keyPressed(u)),f.adaptor.on(C.protected.TABLE_SELECTED_ACTION,u=>this._fireSelectedActionEvent(u))}setSelection(f,u){}getSelection(){return this.adaptor.getSelectionState()}exposedAPI(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}return g.default=_,g.default},A,x),A.exports=w},20966:(A,x,a)=>{var T,w;T=[a(42182),a(48369),a(66296),a(93155),a(37999),a(89019)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r=o=>o.ctrlKey||o.metaKey||o.meta,d=(o,c)=>o<c?-1:o>c?1:0,n=(o,c)=>{const e=d(o.rows.start,c.rows.start);return e===0?d(o.rows.end,c.rows.end):e};class i extends _{constructor(c){super(c),this.adaptor=c.adaptor,c.adaptor.on(C.protected.CELL_SELECTION_CLICK,e=>this._calculateProperSelection(e)),c.adaptor.on(C.internal.RANGE_SELECTION,e=>this._calculateProperSelection(e)),c.adaptor.on(C.protected.ALLOW_DRAG_TO_SELECT,e=>this._handleAllowDragToSelect(e))}_handleAllowDragToSelect(c){c.event.allowDragToSelect===!0?this.adaptor.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!0):this.adaptor.viewModel.setState(f.protected.ALLOW_DRAG_TO_SELECT,!1)}_calculateProperSelection(c){const e=c.row!==void 0?v.range().setEntireRows(Number(c.row)):null,t=this.adaptor.getSelectionState()||[];r(c)?c.keyCode===g.A?this.adaptor.setAllRows():this.adaptor.setDiscontiguousRow(e):c.shiftKey?this.adaptor.setContiguousRows(e,c.dragEvent):this.adaptor.setIndividualRow(e),this._hasSelectionChanged(t)&&this.emit(C.exposed.SELECTION_CHANGED,{rangeList:this.adaptor.getSelectionState()})}_hasSelectionChanged(c=[]){const e=this.adaptor.getSelectionState()||[];let t=!0;return c.sort(n),e.length===c.length&&(e.sort(n),t=c.reduce((s,l,p)=>s||!v.isRangeEqual(l,e[p]),!1)),t}static get adaptor(){return h}_keyPressed(c){if(r(c)){c.keyCode===g.SPACE?this._calculateProperSelection(c):c.keyCode===g.A&&(c.nativeEvent.preventDefault(),this._calculateProperSelection(c));return}switch(c.keyCode){case g.ARROW_DOWN:case g.ARROW_UP:case g.PAGE_DOWN:case g.PAGE_UP:case g.HOME:case g.END:this._calculateProperSelection(c);break;case g.SPACE:c.shiftKey?this._calculateProperSelection(c):this.adaptor.isRowSelected(v.range().setEntireRows(Number(c.row)))<0&&(c.ctrlKey=!0,this._calculateProperSelection(c));break;default:break}}setSelection(c,e={}){if(Array.isArray(c)){const t=c.map(s=>v.range().setEntireRows(s.rows.start,s.rows.end));this.adaptor.setSelectionState(t,e)}}}return u.default=i,u.default},A,x),A.exports=w},1547:(A,x,a)=>{var T,w;T=[a(42182),a(48369),a(82084),a(37999),a(66296)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u=d=>d.ctrlKey||d.metaKey||d.meta;class r extends g{constructor(n){super(n),this.adaptor=n.adaptor,n.adaptor.on(C.protected.CELL_SELECTION_CLICK,i=>this._calculateProperSelection(i)),n.adaptor.on(C.protected.CELL_SELECTION_KEY,i=>this._keyPressed(i))}_calculateProperSelection(n){const i=_.range().setEntireRows(Number(n.row)),o=u(n),c=_.range().setEntireRows(i.rows.start,i.rows.start),e=this.adaptor.isRowSelected(c)<0;o?e?this.adaptor.setSelectionState([c]):this.adaptor.setSelectionState([]):this.adaptor.setIndividualRow(i),(i&&e||i&&o)&&this.emit(C.exposed.SELECTION_CHANGED,this.adaptor.getSelectionState())}static get adaptor(){return h}_keyPressed(n){if(u(n))if(n.keyCode===v.SPACE){this._calculateProperSelection(n);return}else if(n.keyCode===v.A)n.nativeEvent.preventDefault();else return;switch(n.keyCode){case v.ARROW_DOWN:case v.ARROW_UP:case v.PAGE_DOWN:case v.PAGE_UP:case v.HOME:case v.END:case v.SPACE:this._calculateProperSelection(n);break}}setSelection(n,i={}){if(Array.isArray(n)){let o;if(n.length>=1){const c=n[0];o=[_.range().setEntireRows(c.rows.start,c.rows.start)]}else o=[];this.adaptor.setSelectionState(o,i)}}}return f.default=r,f.default},A,x),A.exports=w},82084:(A,x,a)=>{var T,w;T=[a(60794),a(97154)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{get emits(){return[C.exposed.SELECTION_CHANGED,"selectedAction"]}_fireSelectedActionEvent(f){this.emit("selectedAction",f)}constructor(f){super(),this.adaptor=f.adaptor,this._events={},f.adaptor.on(C.protected.TABLE_SELECTED_ACTION,u=>this._fireSelectedActionEvent(u))}getSelection(){return this.adaptor.getSelectionState()}setSelection(f,u){}exposedAPI(){return{setSelection:this.setSelection.bind(this),getSelection:this.getSelection.bind(this)}}}return g.default=_,g.default},A,x),A.exports=w},71611:(A,x,a)=>{var T,w;T=[a(18920),a(78517)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{_getIdFromEvent(f){return f.rowId?f.rowId:void 0}static get adaptor(){return C}}return g.default=_,g.default},A,x),A.exports=w},36332:(A,x,a)=>{var T,w;T=[a(43517),a(78517)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends h{_getIdFromEvent(f){return f.rowId}static get adaptor(){return C}}return g.default=_,g.default},A,x),A.exports=w},83146:(A,x,a)=>{var T,w;T=[a(60794),a(83664),a(97154)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u,r){super(),this.adaptor=u.adaptor,r&&this.adaptor.setConfig(r),u.adaptor.on(g.protected.TABLE_COLUMN_SORT,d=>this._handleSort(d))}static config(u){class r extends v{constructor(n){super(n,u)}}return r}static get adaptor(){return C}get emits(){return[]}exposedAPI(){return{setSortIndicator:this.setSortIndicator.bind(this)}}_handleSort(u={}){const{order:r,column:d,type:n}=u;r!==void 0&&d>=0&&n&&this.adaptor.sortColumn({columnIndex:d,order:r,compare:n})}setSortIndicator(u={}){this.adaptor.setSortIndicator(u)}}return _.default=v,_.default},A,x),A.exports=w},93755:(A,x,a)=>{var T,w;T=[a(11104),a(97089),a(171),a(23513)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(r){r=r||{};const{isChecked:d,getValueForAction:n,getA11yProperties:i,alignment:o}=r;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],d&&(this._isChecked=d),n&&(this.getValueForAction=n),i&&(this._getA11yProperties=i),o===C.LEFT||o===C.RIGHT?this._alignment=o:this._alignment=C.CENTER}_isChecked(r){return typeof r=="object"&&r.checked===!0}_getLabel(r){return r&&r.label?r.label.trim():""}getTooltip(r=""){let d="";return this._alignment===C.LEFT&&(d={text:this._getLabel(r)}),d}getDomNode(r,d,n,i){const o=document.createElement("span"),c=document.createElement("span"),e=document.createElement("div"),t=document.createElement("div"),s=this._isChecked(r);if(s?c.className=this._checkboxDefaultClasses.concat(this._checkboxCheckedClasses).join(" "):c.className=this._checkboxDefaultClasses.join(" "),r&&r.a11y&&r.a11y.checkboxDescription)e.setAttribute("aria-label",r.a11y.checkboxDescription);else if(this._getA11yProperties){const p=this._getA11yProperties(r);p&&p.checkboxDescription&&e.setAttribute("aria-label",p.checkboxDescription)}const l=_.isInteractive(d)&&!_.isReadOnly(d);if(e.setAttribute("role","checkbox"),e.setAttribute("data-clickable",l),t.setAttribute("data-clickable",l),e.setAttribute("aria-checked",s),e.classList.add("mwCheckBoxRadioIconNode"),t.classList.add("mwCheckBoxRadioIconInner"),e.appendChild(t),c.appendChild(e),this._alignment===C.LEFT){const p=this._getlabelNode(r,d,n,i);c.classList.add("mwLabeledCheckbox"),e.classList.add("mwLabeledCheckboxIcon"),c.appendChild(p)}else this._alignment===C.RIGHT&&c.classList.add("mwRightAlignCheckbox");return o.appendChild(c),o.className="mw-table-cell-content mwRenderer",o}_getlabelNode(r,d,n,i){const o=document.createElement("span"),c=this._getLabel(r);return o.setAttribute("checkbox-label",!0),g.metaHasHighlightMatches(d)?(o.setAttribute("data-test-id","highlightLabel"),g.appendHighlightDom(o,c,d,n,i)):(o.textContent=c,o.setAttribute("data-test-id","label2")),o}getAriaLabel(r){const n=`checkbox ${this._isChecked(r)?"checked":"unchecked"}`;if(r&&r.a11y&&r.a11y.checkboxDescription)return r.a11y.checkboxDescription+" "+n;if(this._getA11yProperties){const i=this._getA11yProperties(r);if(i&&i.checkboxDescription)return i.checkboxDescription+" "+n}return n}getValueForAction(r){const d=h().shallowCopy(r);return typeof d=="object"&&Object.prototype.hasOwnProperty.call(d,"checked")&&(d.checked=!d.checked),{oldValue:r,newValue:d}}handleAction(r){r=r||{};const{value:d,shouldUpdate:n,target:i}=r;return n===!0||i&&i.getAttribute("data-clickable")?this.getValueForAction(d):null}}return f.ALIGNMENT=C,v.default=f,v.default},A,x),A.exports=w},59723:(A,x,a)=>{var T,w;T=[a(171),a(21836)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(f){this.config=f,this._getDomNodeWithHighlight=this._getDomNodeWithHighlight.bind(this),this._getDomNodeByValue=this._getDomNodeByValue.bind(this),this._editIndicator=this._setEditIndicator(f)}_setEditIndicator(f){return f&&f.editIndicator?f.editIndicator:null}getEditIndicator(){return this._editIndicator}getTooltip(f){return typeof f=="number"&&(f=f.toString()),{text:f}}getDomNode(f,u,r,d){return h.metaHasHighlightMatches(u)?this._getDomNodeWithHighlight(f,u,r,d):this._getDomNodeByValue(f)}_getDomNodeByValue(f){const u=document.createElement("div");return u.style.textOverflow="ellipsis",f===void 0&&(f=""),u.textContent=f,u.style.overflow="hidden",u.className="mw-string-renderer",u}_getDomNodeWithHighlight(f,u,r,d){const n=document.createElement("div");return n.setAttribute("data-test-id","highlightText"),n.style.textOverflow="ellipsis",n.style.overflow="hidden",n.className="mw-string-renderer",h.appendHighlightDom(n,f,u,r,d),n}}return _.EditIndicatorType=C.TYPE,g.default=_,g.default},A,x),A.exports=w},64104:(A,x,a)=>{var T,w,h=Object.defineProperty,C=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,v=(u,r,d)=>r in u?h(u,r,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[r]=d,f=(u,r)=>{for(var d in r||(r={}))g.call(r,d)&&v(u,d,r[d]);if(C)for(var d of C(r))_.call(r,d)&&v(u,d,r[d]);return u};T=[a(171),a(11104),a(81022),a(9747),a(38634)],w=a.dj.d(T,function(u,r,d,n,i){"use strict";var o={};const c="mw-string-renderer",e="mw-treetable",t="mw-table-renderer-with-edit-indicator",s=(S,R)=>{const N=n.isDeepEqual(S.value,R.value),O=n.isDeepEqual(S.metaData,R.metaData),L=S.useEditorRendererDataFields===R.useEditorRendererDataFields,U=S.renderer===R.renderer,z=n.searchNavigationDataUpdated(S,R);return N&&O&&L&&U&&!z},l=S=>{const{typeOfCell:R,treeNodeRendererClassName:N="",treeCellContentClassName:O="",useEditorRendererDataFields:L,metaData:U,showEditIndicator:z,searchNavigationData:$,index:W}=S,{value:V}=S,M=(B=>B==null?"":r().getDisplayValue(B,d.RENDERER,L).toString())(V);return p(R,O,M,N,U,z,$,W)},p=(S,R,N,O,L,U,z,$)=>{let W;return u.metaHasHighlightMatches(L)?W=f({},m(N,L,U,z,$)):W=f({},E(S,N,O,U)),R!==""&&(W.className=R),W};function E(S,R,N,O){return S===e?y(N,R,O):b(R,O)}function m(S,R,N,O,L){const U=[c];N&&U.push(t);let z=i.createElement("div",{className:U.join(" "),style:{textOverflow:"ellipsis",overflow:"hidden"}});return z=u.appendHighlightDomReact(z,S,R,O,L),z}function y(S,R,N){const O=[S];return N&&O.push(t),i.createElement("span",{className:O.join(" ")},i.createElement("div",{className:c,style:{textOverflow:"ellipsis",overflow:"hidden"}},R))}function b(S,R){const N=[c];return R&&N.push(t),i.createElement("div",{className:N.join(" "),style:{textOverflow:"ellipsis",overflow:"hidden"}},S)}const I=i.memo(l,s);return o.default=I,o.default},A,x),A.exports=w},41347:(A,x,a)=>{var T,w;T=[a(171),a(97089),a(92667)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const f=(r,d)=>r.iconSize&&r.iconSize[d]&&Number.isInteger(r.iconSize[d])?r.iconSize[d]:16;class u{constructor(d){this._getlabelNode=this._getlabelNode.bind(this),this._alignment=C.DEFAULT,d&&d.alignment&&(this._alignment=d.alignment),this.iconAction=!0}getTooltip(d=""){let n;return d&&d.label&&(n={text:d.label}),n}getDomNode(d="",n,i,o){const c=document.createDocumentFragment(),e=document.createElement("span");e.className="mw-icon-label-renderer";const t=d&&Object.prototype.hasOwnProperty.call(d,"label");let s;const l=d&&d.iconId,p={height:16,width:16};if(d&&d.iconUri?s=d.iconUri:s=d,s&&s.length>0||l){const E=!t&&this._alignment!==C.DEFAULT;let m;if(l){m=document.createElement("span"),E&&(p.height=f(d,"height"),p.width=f(d,"width"));const y=g.getIconByIdDom(l,p);m.appendChild(y)}else m=document.createElement("img"),d&&d.a11y&&d.a11y.iconDescription&&m.setAttribute("alt",d.a11y.iconDescription),m.setAttribute("src",encodeURI(s));m.className="mw-data-icon-renderer",!t&&this._alignment!==C.DEFAULT&&(this._alignment===C.CENTER?m.className="mw-data-icon-renderer-center":this._alignment===C.LEFT?m.className="mw-data-icon-renderer-left":this._alignment===C.RIGHT&&(m.className="mw-data-icon-renderer-right")),m.setAttribute("data-test-id","icon1"),e.appendChild(m)}if(t){const E=this._getlabelNode(d.label,n,i,o);E&&e.appendChild(E)}return c.appendChild(e),c}handleAction(d){return!0}_createLabelElement(){return document.createElement("span")}_getlabelNode(d,n,i,o){let c;if(d){const e=d.toString();c=this._createLabelElement(),c.setAttribute("data-region",!0),h.metaHasHighlightMatches(n)?(c.setAttribute("data-test-id","highlightLabel"),h.appendHighlightDom(c,e,n,i,o)):(c.textContent=e.trim(),c.setAttribute("data-test-id","label1"))}return c}}return u.ALIGNMENT=C,_.default=u,_.default},A,x),A.exports=w},36329:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(v){this.config=v}getTooltip(v){return(v==null||typeof v=="object")&&(v=""),typeof v!="string"&&(v=v.toString()),{text:v}}getDomNode(v){const f=document.createElement("div");return(v==null||typeof v=="object")&&(v=""),typeof v!="string"&&(v=v.toString()),v.split(`
`).forEach(r=>g(r,f)),f.className="mw-default-header-cell",f}}h.default=C;function g(_,v){const f=document.createElement("span");f.textContent=_,v.appendChild(f),v.appendChild(document.createElement("br"))}return h.default},A,x),A.exports=w},81835:(A,x,a)=>{var T,w;T=[a(80445),a(171)],w=a.dj.d(T,function(h,C){"use strict";var g={};function _(f){return!isNaN(f)&&typeof f!="boolean"&&f!==null}class v{constructor(u){u=u||{format:h.NO_FORMATTING};const r=u.format;this.formatNumber=r(u),this._getDomNodeWithHighlight=this._getDomNodeWithHighlight.bind(this),this._getDomNodeByValue=this._getDomNodeByValue.bind(this)}getTooltip(u=""){let r;return _(u)&&(r={text:this.formatNumber(u).toString()}),r}getDomNode(u,r,d,n){const i=document.createDocumentFragment();let o;return C.metaHasHighlightMatches(r)?o=this._getDomNodeWithHighlight(u,r,d,n):o=this._getDomNodeByValue(u),i.appendChild(o),i}_getDomNodeByValue(u){const r=document.createElement("span");return _(u)&&(r.textContent=this.formatNumber(u)),r.className="mw-data-number-renderer",r.setAttribute("data-test-id","number1"),r}_getDomNodeWithHighlight(u,r,d,n){const i=document.createElement("span");i.className="mw-data-number-renderer",i.setAttribute("data-test-id","highlightNumber"),i.setAttribute("data-region",!0);const o=u.toString();if(_(u)){const c=this.formatNumber(u).toString();if(o===c)C.appendHighlightDom(i,o,r,d,n);else{const e=[{start:0,count:c.length,value:c}];C.appendHighlightDomMatches(i,c,e,d,n)}return i}}}return g.default=v,g.default},A,x),A.exports=w},21836:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({DROPDOWN:"dropdown"}),g=Object.freeze({TYPE:C,isValid:_});h.default=g;function _(v){return Object.values(C).includes(v)}return h.default},A,x),A.exports=w},80445:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({SCIENTIFIC_NOTATION:function(g){const _=g.precision||g.decimals||C.SCIENTIFIC_NOTATION_DEFAULT_PRECISION;return v=>Number(v).toExponential(_)},SCIENTIFIC_NOTATION_DEFAULT_PRECISION:4,DECIMAL_NOTATION:function(g){const _=g.precision||g.decimals||C.DECIMAL_NOTATION_DEFAULT_PRECISION;return v=>Number(v).toFixed(_)},DECIMAL_NOTATION_DEFAULT_PRECISION:4,NO_FORMATTING:function(g){return _=>_}});return h.default=C,h.default},A,x),A.exports=w},97089:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({LEFT:"left",RIGHT:"right",CENTER:"center",DEFAULT:"default"});return h.default=C,h.default},A,x),A.exports=w},92667:(A,x,a)=>{var T,w;T=[a(97203)],w=a.dj.d(T,function(h){"use strict";var C={};class _{static shallowCopy(f){const u={};if(f!==null&&typeof f=="object"&&!Array.isArray(f)){for(const r in f)Object.prototype.hasOwnProperty.call(f,r)&&(u[r]=f[r]);return u}else return f}static getIconByIdDom(f,u={height:16,width:16}){const r=document.createElement("mw-icon");return r.setAttribute("icon-id",f),r.setAttribute("icon-width",u.width),r.setAttribute("icon-height",u.height),r}}return C.default=_,C.default},A,x),A.exports=w},60612:(A,x,a)=>{var T,w;T=[a(48369),a(51348),a(66296),a(24641),a(33553),a(80535),a(85786),a(23513)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};class n{constructor(o){const{emitEditCompleted:c,emitIconAction:e,dataStore:t,viewModel:s}=o;this._viewModel=s,this._dataStore=t,this._emitEditCompleted=c,this._emitIconAction=e}eventList(){const o={};return o[h.internal.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),o[h.internal.TABLE_KEY_PRESS]=this._handleKeyPressEvent.bind(this),o}_getInteractiveRenderer(o,c){const e=this._viewModel.getStateByKey("interactiveRenderer")||{},t=r.getInteractiveRendererFor(e,o,c);return t?t.renderer:void 0}_getCurrentlyCheckedValue(o){let{data:c,row:e,column:t,renderer:s,metaData:l,rowIndices:p}=o;const m=(this._viewModel.getColumnHeaders()[Number(t)]||{dataIndex:t}).dataIndex;let y;switch(l.rendererConfig.groupBy){case _.PARENT:y=c.map((I,S)=>{const R=p[S];return s=this._getInteractiveRenderer(R,t),{row:S,column:m,arrayIndex:S,dataIndex:m,renderer:s}});break;case _.ROW:y=c[0].map((I,S)=>(s=this._getInteractiveRenderer(e,S),{row:0,column:S,arrayIndex:0,dataIndex:S,renderer:s}));break}return this._getCheckedValue(y,c)}_getCheckedValue(o,c){let e;for(const t of o)if(t.renderer&&t.renderer.toggle&&(e=t.renderer.handleAction(c[t.row][t.column],{actionName:f.CONTROLLER}),e.hasChanged))return{dataIndex:t.dataIndex,value:e,arrayIndex:t.arrayIndex};return null}_updateToggledValues(o){const{row:c,column:e,node:t,metaData:s,renderer:l}=o,p=new v,E=[];let m,y;switch(s.rendererConfig.groupBy){case _.PARENT:y=this._dataStore.getChildNodes({id:o.metaData.parentId}).then(b=>(m=b.map(I=>(E.push(I.index),{id:I.node.id})),this._dataStore.getData({proxyNodes:m}))).then(b=>{const I={data:b,rowIndices:E,row:c,column:e,metaData:s,renderer:l},S=this._getCurrentlyCheckedValue(I);return p.resolve({currentlyCheckedValue:S,proxyNodes:m}),p.promise});break;case _.ROW:m=[{id:t.id}],y=this._dataStore.getData({proxyNodes:m}).then(b=>{const I={data:b,row:c,column:e,metaData:s,renderer:l},S=this._getCurrentlyCheckedValue(I);return p.resolve({currentlyCheckedValue:S,proxyNodes:m}),p.promise});break}this._updateDataStoreForToggleRenderer(y,o)}_updateDataStoreForToggleRenderer(o,c){o.then(e=>{const{currentlyCheckedValue:t,proxyNodes:s}=e;if(t){const l=[],p=s[t.arrayIndex].id;l[t.dataIndex]=t.value.newValue,this._dataStore.update({id:p},l)}this._updateDataStore({newValue:c.newValue,oldValue:c.oldValue,id:c.node.id,row:c.row,column:c.column})})}_handleCellClickEvent(o){const{row:c,column:e}=o.event,t=this._getInteractiveRenderer(c,e);t&&(o.event.renderer=t,t.toggle?this._updateToggledValues(o.event):t.iconAction?this._updateIconAction(o.event):this._updateDataStore(o.event))}_updateIconAction(o){const c=this._viewModel.getColumnHeaders()[Number(o.column)];let e;o.node?e=o.node.id:e=o.id,this._emitIconAction({cellInfo:{id:e,column:o.column,columnId:c.columnId}})}_updateDataStore(o){const c=this._viewModel.getColumnHeaders()[Number(o.column)]||{dataIndex:o.column},e=c.dataIndex,t=[];let s;t[e]=o.newValue,o.node?s=o.node.id:s=o.id,this._dataStore.update({id:s},t),this._emitEditCompleted({cellInfo:{id:s,column:o.column,columnId:c.columnId},newValue:o.newValue,oldValue:o.oldValue})}_handleKeyPressEvent(o){const c=u.hasModifierKey(o.event),e=[g.SPACE,g.ENTER],t=[g.SPACE];if(e.includes(o.event.keyCode)&&!c){const s=this._viewModel.getStateByKey(C.protected.FOCUSED);if(s&&s.rangeList&&s.rangeList.length>0){const{viewColIndex:l,viewRowIndex:p}=r.getViewIndex(s),E=this._getInteractiveRenderer(p,l);if(!E||!E.iconAction&&!t.includes(o.event.keyCode))return;const m=r.getColumnConfig(this._viewModel,l),y=this._dataStore.getLocalCellData(p,m.dataIndex),b=this._dataStore.getLocalCellMetaData(p,m.dataIndex);if(r.isReadOnly(b)||m.readonly===!0)return;const I=E.handleAction(y,{actionName:f.KEY_PRESS});I.hasChanged&&(E.toggle?this._dataStore.getNode({id:b.id}).then(S=>{const R={node:S.node,row:p,column:l,renderer:E,metaData:b,oldValue:I.oldValue,newValue:I.newValue};this._updateToggledValues(R)}):E.iconAction?this._updateIconAction({id:s.value,row:p,column:l}):this._updateDataStore({newValue:I.newValue,oldValue:I.oldValue,id:s.value,row:p,column:l}))}}}}return d.default=n,d.default},A,x),A.exports=w},98537:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({COL_WIDTH:82,ROW_HEIGHT:22,TOOLTIP_MIN_WIDTH:300}),g=Object.freeze({TREE_COLUMN_INDEX:0,TREE_NODE_INDENTATION:18,dimensions:C,KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"meta",SHIFT_KEY:"shiftKey"});return h.default=g,h.default},A,x),A.exports=w},62158:(A,x,a)=>{var T,w;T=[a(40923)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static mergeEnums(v,f){for(const u in f)Object.prototype.hasOwnProperty.call(v,u)?h.mixin(v[u],f[u]):v[u]=f[u];return v}}return C.default=g,C.default},A,x),A.exports=w},48369:(A,x,a)=>{var T,w;T=[a(62158),a(97154)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=h.mergeEnums({internal:{TREE_DISCLOSURE_CLICK:"treeDisclosureClick",TREE_CELL_DOUBLE_CLICK:"treeCellDoubleClick",EMIT_SELECTION_EVENT:"emitSelectionEvent",EMIT_CONTEXT_MENU:"emitContextMenu",TREETABLE_RIGHT_CLICK:"treeTableRightClick",INTERACTIVE_CELL_CLICK:"interactiveCellClick",CHECKBOX_CLICKED:"checkBoxClicked",CHECKBOX_STATUS_CHANGE_REQUESTED:"checkboxStatusChangeRequested"},exposed:{SELECTION_CHANGED:"selectionChanged",CONTEXT_MENU:"contextMenu",HEADER_MENU:"headerMenuRequested",ICON_ACTION:"iconAction",CHECK_CHANGED:"checkChanged",SCROLL_VIEW_CHANGED:"scrollViewChanged"},protected:{COL_HEADER_MOUNT:"colHeaderDidMount",COL_RESIZE:"colResize"}},C);return g.default=Object.freeze(_),g.default},A,x),A.exports=w},72240:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}}),h.default},A,x),A.exports=w},24641:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({PARENT:"parent",ROW:"row"});return h.default=C,h.default},A,x),A.exports=w},80535:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({CLICK:"click",KEY_PRESS:"keypress",CONTROLLER:"controller"});return h.default=C,h.default},A,x),A.exports=w},51348:(A,x,a)=>{var T,w;T=[a(62158),a(89019)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=h.mergeEnums({treetable:{treeColumnIndex:"treeColumnIndex",POTENTIAL_ACTIVE_CELL:"potentialNextActiveCell",POTENTIAL_PIVOT:"potentialPivot",SELECTION_CLEARED:"selectionCleared",CHECKBOX_TREETABLE:"checkboxTreetable",WIDGET_TYPE:"TreeTable"},protected:{WIDTH_CHANGED:"widthChanged",COLUMN_CONFIG:"colconfig"}},C);return g.default=Object.freeze(_),g.default},A,x),A.exports=w},53644:(A,x,a)=>{var T,w;T=[a(41347)],w=a.dj.d(T,function(h){"use strict";var C={};class g extends h{_createLabelElement(){const v=document.createElement("span");return v.className="mw-data-label-renderer",v}handleAction(v){return{hasChanged:!0}}}return C.default=g,C.default},A,x),A.exports=w},2090:(A,x,a)=>{var T,w;T=[a(85786)],w=a.dj.d(T,function(h){"use strict";var C={};let g=[];const _=window.requestAnimationFrame;let v=!1;function f(u,r,d,n){const i=d.style.display;d.style.display="none",u.insertBefore(r,n),g.push({node:d,display:i}),v||(v=!0,_(()=>{v=!1;for(let o=0;o<g.length;o+=1){const{node:c,display:e}=g[o];c.parentNode&&(c.parentNode.removeChild(c),c.style.display==="none"&&(c.style.display=e))}g=[]}))}return C.default={shouldCellUpdate(u,r,d,n){if(JSON.stringify(u.editState)!==JSON.stringify(r.editState)||u.focusClass!==r.focusClass||JSON.stringify(u.additionalClass)!==JSON.stringify(r.additionalClass)||u.renderer!==r.renderer||u.interactiveRenderer!==r.interactiveRenderer||u.editor!==r.editor||JSON.stringify(u.editValidation)!==JSON.stringify(r.editValidation)||u.editProcessing!==r.editProcessing)return!0;const i=u.cellData.isEqual(r.cellData);let o=u.styleData!==r.styleData;u.styleData instanceof Object&&r.styleData instanceof Object&&(o=!h.shallowEqual(u.styleData,r.styleData));const c=u.cellMetaData&&u.cellMetaData.isEqual(r.cellMetaData);return!i||!c||o},replaceFirstNode(u,r,d){f(u,r,d,u.firstChild)},replaceLastNode(u,r,d){f(u,r,d,null)}},C.default},A,x),A.exports=w},90622:(A,x,a)=>{var T,w;T=[a(75209),a(85786),a(72240),a(98537)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{static validatingKeyBindingLength(r){if(C.isArrayEmpty(r))throw new Error("Invalid KeyBinding, one or more values are empty")}static validatingPlatformInKeyBinding(r){const d=g.exposed.WINDOWS in r,n=g.exposed.LINUX in r,i=g.exposed.MAC in r;if(!(d&&n&&i))throw new Error("Invalid KeyBinding, it should have TreeTable.PLATFORMS.WINDOWS, TreeTable.PLATFORMS.LINUX and TreeTable.PLATFORMS.MAC as a key")}static validateSequenceOfKeyCombination(r){if(r){if(C.hasDuplicates(r))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");if(h.getKeyCodeArray(r).length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}static validateKeyCombinations(r,d,n){if(r&&d&&n){const i=n.filter(o=>Array.isArray(o.keyCode));for(const o of i)if(C.isArrayMatching(o[_.KEY_CODE],r)&&h.isThePlatformInObject(o[_.PLATFORMS],d))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}}return v.default=f,v.default},A,x),A.exports=w},75209:(A,x,a)=>{var T,w;T=[a(72240),a(98537),a(66296),a(85786)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{static isKeyBindingInHandlerList(r,d,n){return n&&d&&r?n.some(i=>{if(i&&i[C.KEY_CODE]&&i[C.KEY_HANDLER_NAME])return f.isKeyCodeEqual(r,i)&&i[C.KEY_HANDLER_NAME]===d}):!1}static isKeyCodeEqual(r,d){let n=!1;return Array.isArray(r)&&Array.isArray(d[C.KEY_CODE])?n=_.isArrayMatching(r,d[C.KEY_CODE]):n=d[C.KEY_CODE]===r,n}static isPlatformInTheList(r,d){return r&&d?r.some(n=>{if(n)return n===d}):!1}static isThePlatformInObject(r,d){return r&&Array.isArray(r)&&d?r.includes(d)||r.includes(h.internal.ALL)||d===h.internal.ALL:!1}static findPropertyInTheObject(r,d,n){return n&&d&&r?n.find(i=>{if(i&&i[C.KEY_CODE]&&i[C.KEY_HANDLER_NAME])return f.isKeyCodeEqual(r,i)&&i[C.KEY_HANDLER_NAME]===d}):!1}static findKeyCodeInTheList(r,d,n){return n.find(i=>i[C.KEY_CODE]===r&&f.isThePlatformInObject(i[C.PLATFORMS],d))}static getModifierLookupList(){return{altKey:!1,ctrlKey:!1,meta:!1,shiftKey:!1}}static getModifierKeyCodeState(r){const d=_.containsKeyCode(g.CTRL,r),n=_.containsKeyCode(g.SHIFT,r),i=_.containsKeyCode(g.ALT,r),o=_.containsKeyCode(g.META,r);return{ctrlKey:d,shiftKey:n,altKey:i,meta:o}}static getKeyCodeArray(r){const d=[];if(r)for(const n of r){const i=n;if(!f.keyCodeLookUpArray().includes(i)&&!f.getValidModifierList().includes(i))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");f.getValidModifierList().includes(i)||d.push(i)}return d}static getModifierKeyCodeList(r){const{ctrlKey:d,shiftKey:n,altKey:i,meta:o}=f.getModifierKeyCodeState(r),c=f.getModifierLookupList();for(const e in c)e===C.CTRL_KEY?c[e]=d:e===C.SHIFT_KEY?c[e]=n:e===C.ALT_KEY?c[e]=i:e===C.META&&(c[e]=o);return c}static keyCodeLookUpArray(){return[g.F2,g.ENTER,g.BACKSPACE,g.DELETE,g.ARROW_DOWN]}static getValidModifierList(){return[g.ALT,g.META,g.SHIFT,g.CTRL]}}return v.default=f,v.default},A,x),A.exports=w},85786:(A,x,a)=>{var T,w;T=[a(51348),a(37999),a(72240),a(82896)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{static getFocusedCellForTreeTable(r,d,n){const i={};let o;if(d&&d.rangeList.length>0&&d.rangeList[0]){const c=d.rangeList[0],e=c.rows.start,t=c.columns.start;let s=[e,t].join(",");if(d.value?(o=d.value,s=[o,t].join(",")):e<=r.rangeList[0].rows.end&&e>=r.rangeList[0].rows.start&&(o=r.rowMetaData[0](e).value.id,s=[o,t].join(","),f._updateActiveStateWhenFocusCellPageIntoView(o,d.rangeList,n)),e<=r.rangeList[0].rows.end&&e>=r.rangeList[0].rows.start){const l=r.rowMetaData[0](e).value.groupRow;f.isGroupedRow(l)&&(s=o)}i[s]="mw-table-cell-focused"}return[o,i]}static _areRangeListsEqual(r,d){if(!r&&!d&&r===d)return!0;if(!r||!d||r.length!==d.length)return!1;for(let n=0;n<r.length;n+=1)if(!C.isRangeEqual(r[n],d[n]))return!1;return!0}static _updateActiveStateWhenFocusCellPageIntoView(r,d,n){const i=n.getStateByKey(h.protected.FOCUSED),o=n.getStateByKey(h.protected.ACTIVE_CELL);(!i||i.value!==r)&&(!i||!f._areRangeListsEqual(d,i.rangeList))&&n.setState(h.protected.FOCUSED,r,d),(!o||!o.value||o.value.id!==r)&&(!o||!f._areRangeListsEqual(d,o.rangeList))&&n.setState(h.protected.ACTIVE_CELL,{id:r},d)}static getFocusedCell(r){const d=r.getStateByKey(h.protected.FOCUSED);return d?d.rangeList[0]:null}static isActiveCellEmpty(r){return!!(r==null||Array.isArray(r)&&r.length===0)}static _updateSelectionStateWhenSelectionPageIntoView(r,d){const n=d.getStateByKey(h.protected.SELECTED),i=d.getStateByKey(h.protected.PIVOT);(!n||!n.value||n.value[0]!==r)&&d.setState(h.protected.SELECTED,[r]),i&&i.value!==r&&d.setState(h.protected.PIVOT,r)}static getIdsFromProxyNodes(r){return r.map(d=>d.id)}static createProxyNodesWithIds(r){return r.map(d=>({id:d}))}static _setInitialSelectionPivot(r,d){if(r.rangeList[0].rows.count!==0&&r.rangeList[0].rows.start===0&&!d.getStateByKey(h.protected.PIVOT)){const n=r.rowMetaData[0](0).value.id;n!==void 0&&d.setState(h.protected.PIVOT,n)}}static getSelectionIdList(r,d,n){const i={};let o,c;if(d){if(o=d.value,o&&o.length!==0)for(let e=0;e<o.length;e++)i[o[e]]=!0;else if(!n.getStateByKey(h.treetable.SELECTION_CLEARED)){const e=n.getStateByKey(h.protected.ACTIVE_CELL);e&&e.value&&(c=e.value.id,c!==void 0&&(i[c]=!0),f._updateSelectionStateWhenSelectionPageIntoView(c,n))}}else f._setInitialSelectionPivot(r,n);return i}static isObjectEmpty(r){for(const d in r)if(Object.prototype.hasOwnProperty.call(r,d))return!1;return!0}static isGroupedRow(r){return r!==null&&typeof r=="object"&&r.constructor===Object}static getActiveCell(r){let d=r.getStateByKey(h.protected.ACTIVE_CELL);return d||(d={value:null,rangeList:[C.range().setRows(0,0).setColumns(0,0)]}),d}static hasModifierKey(r){const{ctrlKey:d,meta:n,shiftKey:i,altKey:o}=r;return d||o||n||i}static shallowEqual(r,d){if(r===d)return!0;for(const n in r)if(!(n in d)||r[n]!==d[n])return!1;for(const n in d)if(!(n in r))return!1;return!0}static containsKeyCode(r,d){return d&&Array.isArray(d)&&r?d.includes(r):!1}static hasDuplicates(r){return r&&Array.isArray(r)&&r.length>0?new Set(r).size!==r.length:!1}static isArrayEmpty(r){return!!(r&&Array.isArray(r)&&r.length<=0)}static isArrayMatching(r,d){if(Array.isArray(r)&&Array.isArray(d)){const n=Object.assign([],r),i=Object.assign([],d);if(n.sort(function(o,c){return o-c}),i.sort(function(o,c){return o-c}),n.length!==i.length)return!1;for(let o=0;o<r.length;o++)if(n[o]!==i[o])return!1;return!0}return!1}static isPropertyInTheObject(r,d,n){return r&&d&&n?r.some(i=>{if(i&&i[d])return i[d]===n}):!1}static getUsersPlaform(){const r=navigator.userAgent.toLowerCase();if(_(g.exposed.MAC))return g.exposed.MAC;if(r.includes(g.exposed.WINDOWS))return g.exposed.WINDOWS;if(r.includes(g.exposed.LINUX))return g.exposed.LINUX}static getKeyByValue(r,d){if(r&&d){for(const n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===d)return n}return!1}static getColumnId(r,d){const n=r.find(i=>i._index===d);return n?n.columnId:""}static getCheckboxTreetableAriaLabel(r){if(r)return`checkbox ${r.check===!0?"checked":r.check?r.check:"unchecked"}`}static getFocusState(r){return r.getStateByKey(h.protected.FOCUSED)||null}static getTreeColumnIndex(r){return r.getStateByKey(h.treetable.treeColumnIndex)||null}static getCheckboxTreetableState(r){return r.getStateByKey(h.treetable.CHECKBOX_TREETABLE)||null}static isCheckboxTreetable(r){return!!(r&&r.isCheckboxTree)}static getCellInfo(r){const{row:d,column:n,columnId:i,evt:o,node:c}=r,{ctrlKey:e,shiftKey:t,altKey:s,target:l}=o,{id:p}=c,E=o.metaKey;return{isDisclosureTarget:l.hasAttribute("data-disclosure-id"),cellInfo:{id:p,node:c,row:d,column:n,columnId:i,meta:E,ctrlKey:e,shiftKey:t,altKey:s}}}static isDraggedItemInTheNodePath(r,d){const{sourceIds:n,path:i}=r;let o=[];return o=d||i,n.some(function(e){return o.includes(e)})}static _isMouseOnTopOfTarget(r,d,n){const{left:i,right:o,bottom:c,top:e}=r.getBoundingClientRect(),{left:t,top:s}=d.getBoundingClientRect(),l=t+n.xOffset,p=s+n.yOffset;return l>=i&&l<=o&&p>=e&&p<=c}static isDragTargetDisclosureIcon(r,d){const n=r.querySelector(".disclosureIcon");return n?f._isMouseOnTopOfTarget(n,r,d):!1}static isTargetOnScrollBar(r,d){return(r.clientWidth<=d.xOffset||r.clientHeight<=d.yOffset)&&r.classList.contains("mw-scrolling-div")}static isDragTargetCheckboxTree(r,d){const n=r.querySelector(".mw-checkbox-tree");return n?f._isMouseOnTopOfTarget(n,r,d):!1}static isNextSiblingItsChild(r){const{level:d,nextSibling:n}=r;return n.level===d+1}}return v.default=f,v.default},A,x),A.exports=w},96405:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};function C(g,_,v,f){const u=v.style.display;v.style.display="none",g.insertBefore(_,f),setTimeout(()=>{v.parentNode&&(v.parentNode.removeChild(v),v.style.display==="none"&&(v.style.display=u))},0)}return h.default={shouldCellUpdate(g,_,v,f){return g.editState!==_.editState||g.focusClass!==_.focusClass||g.renderer!==_.renderer||g.interactiveRenderer!==_.interactiveRenderer||g.editor!==_.editor?!0:!g.cellData.isEqual(_.cellData)},replaceFirstNode(g,_,v){C(g,_,v,g.firstChild)},replaceLastNode(g,_,v){C(g,_,v,null)},getCellType(g){return g.type&&g.type.cellType?g.type.cellType:"TableCell"},determineCellBaseStyle(g,_){let v=g;return _&&_.type&&_.type.baseStyle&&(v=_.type.baseStyle),_&&_.readOnlyVisualDesign===!1&&v.indexOf("mw-table-cell-background-input")===-1&&(v=v.replace("mw-table-cell-background","mw-table-cell-background-input")),v},getBaseStyle(g){return this.determineCellBaseStyle("mw-table-cell mw-table-cell-background",g)},getFrozenColumnCellClass(g,_){let v;return g&&_>=g.range.columns.start&&_<=g.range.columns.end&&(v="mw-table-frozen-column-cell",_===g.range.columns.end&&(v+=" last-frozen-column")),v}},h.default},A,x),A.exports=w},27499:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static getFirstIndexAfterReorder(v,f,u={}){const{colEndIndex:r,colStartIndex:d}=u,n=r?r-d:0;return v>f?f:f-n}static getColRangeIndicesForView(v,f,u,r){if(!f)return{startIndex:v,endIndex:v};let d=v,n=u;const{colEndIndex:i,colStartIndex:o}=f,c=i-o||0;return n=n||v+c,u-v<c&&(r===v?d=n-c:n=v+c),{startIndex:d,endIndex:n}}static isGroupColumn(v={}){const{colEndIndex:f,colStartIndex:u}=v;return f&&f-u>0||!1}static getGroupCellAttribute(v,f){const{parentId:u,colIndex:r,startCol:d,endCol:n,headerIndex:i}=v;if(!u)return;if(r===d)return`group-${u}-start`;if(r===n)return`group-${u}-end`;const o=f[i-1],c=f[i+1];return o&&o.parentId!==u?`group-${u}-start`:c&&c.parentId!==u?`group-${u}-end`:`group-${u}`}static cellInsideGroup(v){if(typeof v!="string"||v.length<=0)return;const f=v.split("-");return Array.isArray(f)&&f.length===2?"middle":f[2]}static headerInsideGroup(v,f){return v.getAttribute("data-col-index")?f&&f.column===1?"end":"start":void 0}static columnDropValidation(v,f,u,r,d,n,i,o,c=null){v=Number(v);const{targetIndex:e,rightTargetIndex:t}=f,s=f.rightTargetIndex||f.targetIndex,l=(t||e)-v;if(s===o||v<o&&s>o||v>o&&s<o||n&&!n({dataTransferItem:d,target:{type:i,index:s}})||l===0||l===1)return!1;if(u&&u.colEndIndex>=0){const{endIndex:p}=C.getColRangeIndicesForView(v,u);if(l>0&&e<=p||(t||e)-p===1)return!1}return c&&e>=c.range.columns.start&&e<=c.range.columns.end?!1:r?g(f,r):!0}}h.default=C;function g(_,v){const{rightTargetIndex:f}=_;return!!(v==="start"&&!f||v==="end"&&f)}return h.default},A,x),A.exports=w},60794:(A,x,a)=>{var T,w;T=[a(43661),a(41745)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=C([h],{});class v{constructor(){const u=new _;this.emit=u.emit.bind(u),this.on=u.on.bind(u)}}return g.default=v,g.default},A,x),A.exports=w},78647:(A,x,a)=>{var T,w;T=[a(40668),a(60936),a(42495),a(59749),a(81673),a(26735),a(89019),a(94967),a(54614),a(95857),a(79424)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){"use strict";var o={};class c{static setViewModel(t,s,l,p,E={}){const m=new t(l),y=new s(m);y.setState("lookAheadRowBuffer",3),y.viewPort={size:{left:0,top:0,width:0,height:0},rangeList:[p.range().setRows(0,11).setColumns(0,5)]};const{CellComponent:b,RowComponent:I,TBodyComponent:S,TooltipComponent:R,widgetType:N}=E;return y.setState(u.protected.component.CELL,b||h),y.setState(u.protected.component.ROW,I||C),y.setState(u.protected.component.TBODY,S||g),y.setState(u.protected.WIDGET_TYPE,N||"Table"),y.setState(u.protected.component.TOOLTIP,R||_),y.setState(u.protected.component.FLOATING_CONTENT,v),y}static initializeTableView(t,s,l,p,E){const m=new d(t),y=[new n({viewPortItem:t.viewPort.rangeList[0],viewModel:t,dataSize:m})],b={viewModel:t,dataStore:s,viewPortList:y,dataSize:m,options:E};r.parseViewModelWithConfig({viewModel:t,dataSize:m,columnModel:E.columnModel,attributes:E.attributes});const I=t.getStateByKey(u.protected.READONLY_VISUALDESIGN);(I&&I.value?I.value:void 0)===void 0&&(r.isEditorConfigured(t.getColumnHeaders())||t.setState(u.protected.READONLY_VISUALDESIGN,!1));const R=Object.keys(l).map(O=>new l[O](b)),N=new f({viewModel:t,options:E,viewPortList:y,dataStore:s,controllers:R,pluginEnum:p});return N.initializeTable(),N}static mixinFacade(t,s,l){l=l||"exposedAPI",s.forEach(p=>{if(p[0][l]){const E=p[0][l]();for(const m in E){t[m]=E[m];const y=Object.getOwnPropertyDescriptor(E,m);(y.set||y.get)&&Object.defineProperty(t,m,Object.getOwnPropertyDescriptor(E,m))}}})}static facadeListeners(t,s,l){l=l||"emits",s.forEach(p=>{p[0][l]&&p[0][l].forEach(E=>{t._eventMap[E]=p[0]})})}static registerRenderer(t,s,l,p){return i.curry(c._updateRegistration)("renderer")(t,s,l,p)}static registerEditor(t,s,l,p){return i.curry(c._updateRegistration)("editor")(t,s,l,p)}static setupRegistration(t,s){t._registrationMap={renderer:{},editor:{}},s.setState(u.REGISTRATION,t._registrationMap)}static _updateRegistration(t){return(s,l,p,E)=>{s._registrationMap[t][p]=E,l.setState(u.REGISTRATION,s._registrationMap)}}static _generateUuid(){return"xxxx".replace(/[xy]/g,function(t){const s=Math.random()*16|0;return(t==="x"?s:s&3|8).toString(16)}).toUpperCase()}}return o.default=c,o.default},A,x),A.exports=w},171:(A,x,a)=>{var T,w;T=[a(86960),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{static appendHighlightDom(f,u,r,d,n){if(this.metaHasHighlightMatches(r)){const i=r.searchHighlight.matches;return this.appendHighlightDomMatches(f,u,i,d,n)}else return!1}static appendHighlightDomMatches(f,u,r,d,n){return this._isHighlightMatchesValid(r)?(f.setAttribute("data-region",!0),h.getHighlightedTextDOM(u.toString(),r,"mw-table-highlight",d,n).forEach(o=>{o.setAttribute&&o.setAttribute("data-region",!0),f.appendChild(o)}),!0):!1}static appendHighlightDomReact(f,u,r,d,n){if(this.metaHasHighlightMatches(r)){const i=r.searchHighlight.matches;return this.appendHighlightDomMatchesReact(f,u,i,d,n)}else return null}static appendHighlightDomMatchesReact(f,u,r,d,n){if(!this._isHighlightMatchesValid(r))return null;const i=h.getHighlightedReact(u.toString(),r,"mw-table-highlight",d,n);return C.cloneElement(f,{"data-test-id":"highlightText","data-region":"true"},i)}static metaHasHighlightMatches(f){return!!(f&&f.searchHighlight&&f.searchHighlight.matches)}static _isHighlightMatchesValid(f){return Array.isArray(f)?f.reduce((u,r)=>{const d=Object.prototype.hasOwnProperty.call(r,"start")&&Object.prototype.hasOwnProperty.call(r,"count");return u&&d},!0):!1}}return g.default=_,g.default},A,x),A.exports=w},65392:(A,x,a)=>{var T,w;T=[a(23513),a(85786),a(89019),a(29724),a(79424),a(99804),a(26412),a(11342),a(94967),a(45330)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){"use strict";var i={};class e{constructor(s,l,p){this._viewModel=l,this._dataStore=s,this._props={},this._props.eventCallback=p,this._rowComponentList=l.getStateByKey("RowComponent")||{},this._props.dataTestId=null,this._props.widgetId=null,this._sorted=[],this._size=new _(l),this._helper=f,this._props.headers=[],this._tableWidth=v.curry(h.computeTableHeight),this._disjointFreezeColumnRange=null,this._initViewStateProps(),l.getStateByKey(g.protected.testId)&&(this._props.dataTestId=l.getStateByKey(g.protected.testId).value),l.getStateByKey(g.protected.WIDGET_TYPE).value==="TreeTable"&&(this._helper=u),l.getStateByKey(g.protected.WIDGET_ID)&&(this._props.widgetId=l.getStateByKey(g.protected.WIDGET_ID).value),this._props.component={cell:l.getStateByKey(g.protected.component.CELL).value,row:l.getStateByKey(g.protected.component.ROW).value,tooltip:l.getStateByKey(g.protected.component.TOOLTIP).value,floatingContent:l.getStateByKey(g.protected.component.FLOATING_CONTENT).value,tbody:l.getStateByKey(g.protected.component.TBODY).value},this._props.selectHeaders=()=>l.getStateByKey(g.SELECT_HEADERS).value,this._props.selectRowHeaders=l.getStateByKey(g.SELECT_ROW_HEADERS).value,this._props.dragAndDrop=l.getStateByKey(g.dragAndDrop).value,this._props.allowDragToSelect=l.getStateByKey(g.protected.ALLOW_DRAG_TO_SELECT)?l.getStateByKey(g.protected.ALLOW_DRAG_TO_SELECT).value:!1,this._props.canDragToSelect=l.getStateByKey(g.protected.CAN_DRAG_TO_SELECT)?l.getStateByKey(g.protected.CAN_DRAG_TO_SELECT).value:null,this._props.reorderRows=l.getStateByKey(g.protected.REORDER_ROWS).value,this._props.reparentRows=l.getStateByKey(g.protected.REPARENT_ROWS).value,this._props.dragColumns=l.getStateByKey(g.dragColumns)?l.getStateByKey(g.dragColumns).value:null,this._props.dragRows=l.getStateByKey(g.dragRows)?l.getStateByKey(g.dragRows).value:null,this._props.rowDnDUtil=l.getStateByKey(g.protected.ROW_DND_UTIL)?l.getStateByKey(g.protected.ROW_DND_UTIL).value:null,this._props.outsideRowDnDUtil=l.getStateByKey(g.protected.OUTSIDE_ROW_DND_UTIL)?l.getStateByKey(g.protected.OUTSIDE_ROW_DND_UTIL).value:null,this._props.widgetType=l.getStateByKey(g.protected.WIDGET_TYPE).value,this._props.freezeColumnConfig=l.getStateByKey(g.protected.FREEZE_COLUMN_CONFIG)?l.getStateByKey(g.protected.FREEZE_COLUMN_CONFIG).value:null,this._props.searchNavigationData=l.getStateByKey(g.SEARCH_NAVIGATION_DATA)?l.getStateByKey(g.SEARCH_NAVIGATION_DATA).value:null;let E=C.getTreeColumnIndex(l);E=E?E.value:0,this._props.treeColumnIndex=this._props.widgetType==="TreeTable"?E:void 0,l.getStateByKey(g.setDragData)&&(this._props.setDragData=l.getStateByKey(g.setDragData).value),l.getStateByKey(g.dragAffordance)&&(this._props.dragAffordance=l.getStateByKey(g.dragAffordance).value),this._props.canDrag=l.getStateByKey(g.protected.CAN_DRAG).value,this._props.canDrop=l.getStateByKey(g.protected.CAN_DROP).value,l.getStateByKey(g.setAvatar)&&(this._props.setAvatar=l.getStateByKey(g.setAvatar).value),l.getStateByKey(g.receiveDrop)&&(this._props.receiveDrop=l.getStateByKey(g.receiveDrop).value),l.getStateByKey(g.displayRowHeader)&&(this._props.displayRowHeader=l.getStateByKey(g.displayRowHeader).value||l.getStateByKey(g.DISPLAY_ROW_HEADER_INDICES).value)}_initViewStateProps(){[{name:g.ROW_HEIGHT,default:this._size.ROW_HEIGHT},{name:g.protected.HEADER_MENU_AFFORDANCE,default:!1},{name:g.protected.SORTABLE,default:!1},{name:g.tableBottomLeftAffordanceHeight,default:0},{name:g.TABLE_AFFORDANCE_WIDTH,default:{run:()=>0}},{name:g.TRANSLATE_X,default:0},{name:g.colResize,default:!1},{name:g.SELECT_HEADERS,default:!1},{name:g.SELECT_ROW_HEADERS,default:!1},{name:g.dragAndDrop,default:!1},{name:g.dragColumns,default:!1},{name:g.dragRows,default:!1},{name:g.REGISTRATION,default:{}},{name:g.protected.GRID_STYLE,default:"STANDARD"},{name:g.protected.USE_DATA_FIELDS,default:!1},{name:g.protected.GROUPED_COLUMN_HEADERS,default:!1},{name:g.protected.REORDER_ROWS,default:!1},{name:g.protected.REPARENT_ROWS,default:!1},{name:g.protected.CAN_DRAG,default:!1},{name:g.protected.CAN_DROP,default:!1}].forEach(m=>{const y=this._viewModel.getStateByKey(m.name);(!y||!y.value)&&this._viewModel.setState(m.name,m.default)}),this._props.metadata={selections:[]},this._props.gridStyle=this._viewModel.getStateByKey(g.protected.GRID_STYLE),this._props.useEditorRendererDataFields=this._viewModel.getStateByKey(g.protected.USE_DATA_FIELDS),this._props.resizeSelection=this._viewModel.getStateByKey(g.protected.RESIZE_SELECTION);const l=this._viewModel.getStateByKey(g.protected.READONLY_VISUALDESIGN);this._props.readOnlyVisualDesign=l?l.value:!0,this._props.customProps={};const p=this._viewModel.getStateByKey(g.protected.INIT_CUSTOM_PROPS_FUNC);p&&p.value(this._viewModel,this._props),this._props.dataSize=this._viewModel.dataSize;const E=this._viewModel.getStateByKey(g.colResize);this._props.fitLastColumn=E?E.value[g.protected.FIT_LAST_COLUMN]:void 0,this._props.collapseColumn=E?E.value[g.protected.COLLAPSE_COLUMN]:void 0}setHeaderSortState(s){this._props.sorted[s._index]=s[g.protected.SORTED]||{order:""}}getHeaderSortType(s){return this._props.headers[s].sortType}_isA(s,l){return Object.keys(l).reduce((p,E)=>p&&typeof s[E]=="function",!0)}_setColumnContent(s,l){const p=s(l).value,E=this._viewModel,m={getDomNode:1,handleAction:1},y={getDomNode:1};p.interactiveRenderer&&this._isA(p.interactiveRenderer,m)?r.addMetadataToCol(l,E,"interactiveRenderer",p.interactiveRenderer):(p.editor&&r.addMetadataToCol(l,E,"editor",p.editor),p.renderer&&this._isA(p.renderer,y)&&r.addMetadataToCol(l,E,"renderer",p.renderer))}_getChildrenColumnIdAndIndex(s,l,p){if(Array.isArray(s&&s.indexes)&&l.push(...s.indexes),Array.isArray(s&&s.columnIds))for(const E of s.columnIds){p.push(E);const m=this._props.spanningHeaderDirectChildren[E];m&&this._getChildrenColumnIdAndIndex(m,l,p)}return[l,p]}_addSpanningHeaderDirectChildrenProperty(s,l,p){const E=this._props.spanningHeaderDirectChildren[s];E?E[l]=E[l]?[...E[l],p]:[p]:this._props.spanningHeaderDirectChildren[s]={[l]:[p]}}updateProps(s){const l=this._viewModel,p=s.viewData[0].range;this._disjointFreezeColumnRange=s.viewData[1]&&s.viewData[1].range;const E=l.dataSize,m=l.viewBuffer.rangeList[0];if(this._props.registration=l.getStateByKey(g.REGISTRATION).value,this._props.searchNavigationData=l.getStateByKey(g.SEARCH_NAVIGATION_DATA)?l.getStateByKey(g.SEARCH_NAVIGATION_DATA).value:null,this._props.dataSize=this._viewModel.dataSize,this._props.editTrigger=l.getStateByKey(g.protected.EDIT_TRIGGER),this._props.editState=this.getEditState(l.getStateByKey(g.protected.EDIT_STATE)),this._props.colEditState=this.getEditState(l.getStateByKey(g.protected.COL_EDIT_STATE)),this._props.rowEditState=this.getEditState(l.getStateByKey(g.protected.ROW_HEADER_EDIT_STATE)),this._props.editValidation=this.getValidationState(l.getStateByKey(g.protected.EDIT_VALIDATION)),this._props.editProcessing=this.getEditState(l.getStateByKey(g.protected.EDIT_PROCESSING)),this._props.numberOfGutters=this.getNumberOfGutters(l.getStateByKey("numberOfGutters")),this._props.startRow=p.rows.start,this._props.endRow=p.rows.end,this._props.startCol=p.columns.start,this._props.endCol=p.columns.end,this._props.rowDnDUtil=l.getStateByKey(g.protected.ROW_DND_UTIL)?l.getStateByKey(g.protected.ROW_DND_UTIL).value:null,this._props.outsideRowDnDUtil=l.getStateByKey(g.protected.OUTSIDE_ROW_DND_UTIL)?l.getStateByKey(g.protected.OUTSIDE_ROW_DND_UTIL).value:null,this._props.colResize=l.getStateByKey(g.colResize).value,this._props.tableAffordanceWidth=l.getStateByKey(g.TABLE_AFFORDANCE_WIDTH).value.run(),this._props.tableBottomLeftAffordanceHeight=l.getStateByKey(g.tableBottomLeftAffordanceHeight).value,this._props.displaySearch=l.getStateByKey(g.displaySearch)?l.getStateByKey(g.displaySearch).value:!1,this._props.checkboxTreetable=l.getStateByKey("checkboxTreetable")?l.getStateByKey("checkboxTreetable").value:!1,this._props.tableSelectionById=l.getStateByKey(g.protected.TABLE_SELECTION_BY_ID)?l.getStateByKey(g.protected.TABLE_SELECTION_BY_ID).value:!1,l.getStateByKey(g.displayRowHeader)){this._props.displayRowHeader=l.getStateByKey(g.displayRowHeader).value||l.getStateByKey(g.DISPLAY_ROW_HEADER_INDICES).value,this._props.rowHeaderWidth=l.getStateByKey(g.rowHeaderWidth).value,this._props.displayRowHeaderIndices=l.getStateByKey(g.DISPLAY_ROW_HEADER_INDICES).value;const W=l.getRowHeaderConfig.bind(l)();this._props.topLeftRowHeaderLabel=W?W.topLeftRowHeaderLabel:"",this._props.rowHeaderRenderer=W?W.headerRenderer:void 0,this._props.enableEdit=W?W.enableEdit:!1}this._props.rowHeight=l.getStateByKey(g.ROW_HEIGHT).value,this._props.focused=h.getFocusedCell(l.getStateByKey(g.protected.FOCUSED)),this._props.preventTrueFocus=l.getStateByKey(g.protected.PREVENT_TRUE_FOCUS)?l.getStateByKey(g.protected.PREVENT_TRUE_FOCUS).value:{prevent:!1},this._props.allowDragToSelect=l.getStateByKey(g.protected.ALLOW_DRAG_TO_SELECT)?l.getStateByKey(g.protected.ALLOW_DRAG_TO_SELECT).value:!1;let y,b;this._props.tableSelectionById?y=l.getStateByKey("selected")||{}:(y=l.getStateByKey("selected")&&l.getStateByKey("selected").rangeList||[],b=l.getStateByKey("selected")&&l.getStateByKey("selected").value);const I=l.getStateByKey(g.ACTIVE_RANGE)||{};this._props.metadata={selections:y,activeRange:I.value,selectionType:y.value||b},this._props.translateX=l.getStateByKey(g.TRANSLATE_X).value,this._props.height=h.computeTableHeight(Math.max(E.rows.count,this._props.endRow),this._size.ROW_HEIGHT),this._props.data=s.viewData[0],this._props.frozenColumnData=s.viewData[1],this._props.colMenuAffordance=l.getStateByKey(g.protected.HEADER_MENU_AFFORDANCE).value,this._props.sortable=l.getStateByKey(g.protected.SORTABLE).value,this._props.clearSort=l.getStateByKey(g.protected.CLEAR_SORT)?l.getStateByKey(g.protected.CLEAR_SORT).value:!1,this._props.scrollXPos=this._size.COL_WIDTH*this._props.startCol,this._props.scrollYPos=this._size.ROW_HEIGHT*this._props.startRow,this._props.translateY=this._size.ROW_HEIGHT*this._props.startRow,this._props.logicalColWidth=this._size.COL_WIDTH,this._props.logicalRowHeight=this._size.ROW_HEIGHT,this._props.viewBuffer=m,this._props.rowMetaData=s.rowMetaData,this._props.colMetaData=s.columnMetaData;const S=l.getColumnHeaders().length;this._props.lastDataColumn=S||E.columns.count,this._props.totalLogicalWidth=this._size.COL_WIDTH*this._props.lastDataColumn;const R=E.columns.count;this._allColumnsRendered=R===p.columns.count,this._props.spanningHeaderDirectChildren={},this._setHeaders();const N=this._tableWidth(this._size.COL_WIDTH),O={headers:this._props.headers,allColumnsRendered:this._allColumnsRendered},L=d.getPercentColumnPageWidth(O);this._props.width=L||N(E.columns.count),this._props.columnClass=d.getTbodyHeaderClass(this._allColumnsRendered),this._props.tableClass=d.getTableHeaderClass(this._allColumnsRendered,n.isFreezeColumnEnabled(l));const U=l.getStateByKey(g.protected.UPDATE_CUSTOM_PROPS_FUNC);U&&U.value(l,s,this._props),this._checkPendingFunctionForView(l,p),this._props.spanningColumnHeaders=l.getSpanningHeaders(),this._props.groupedColumnHeaders=l.getStateByKey(g.protected.GROUPED_COLUMN_HEADERS).value,this._props.spanningColumnHeaders||(this._props.spanningColumnHeaders=this._mixSpanningColumnHeaders(s.columnSpanningMetaData));const z=this._props.spanningColumnHeaders?Object.keys(this._props.spanningColumnHeaders).length!==0:!1;if(this._props.collapseColumn&&(this._props.groupedColumnHeaders||z)&&(this._props.collapseColumn=!1),this._props.widgetType===g.protected.TYPE.TREETABLE&&this._setTreeColumnWidth(),this._props.displayColumnIndex=l.getStateByKey(g.DISPLAY_COLUMN_INDEX)?l.getStateByKey(g.DISPLAY_COLUMN_INDEX).value:!1,this._props.displayColumnLabel=l.getStateByKey(g.DISPLAY_COLUMN_LABEL)?l.getStateByKey(g.DISPLAY_COLUMN_LABEL).value:!0,this._props.displayColumnIndexOnly=this._props.displayColumnIndex&&!this._props.displayColumnLabel,this._props.hideColumnHeader=l.getStateByKey(g.HIDE_COLUMN_HEADER)?l.getStateByKey(g.HIDE_COLUMN_HEADER).value:!1,!this._props.groupedColumnHeaders&&z&&(this._props.displayColumnIndexOnly=!1,this._props.displayColumnIndex=!1),z){const $=Object.keys(this._props.spanningColumnHeaders);for(const W of $)for(const V in this._props.spanningColumnHeaders)this._props.spanningColumnHeaders[V].parentId===W&&this._addSpanningHeaderDirectChildrenProperty(W,"columnIds",V)}return this._setSpanningHeaderAllChildren(),this._props}_setSpanningHeaderAllChildren(){if(this._props.spanningHeaderAllChildren={},this._props.spanningHeaderDirectChildren)for(const s in this._props.spanningHeaderDirectChildren){const l=this._props.spanningHeaderDirectChildren[s],[p,E]=this._getChildrenColumnIdAndIndex(l,[],[]);this._props.spanningHeaderAllChildren[s]={indexes:p,columnIds:E}}}_checkPendingFunctionForView(s,l){const p=s.getStateByKey(g.protected.PENDING_FOCUS_FUNC);p&&this._helper.isRangeInside(l,p.rangeList[0])&&(p.value(p.rangeList[0]),s.deleteState(g.protected.PENDING_FOCUS_FUNC))}setDisabledState(){const s=this._viewModel;this._props.isTableDisabled=()=>s.getStateByKey(g.protected.TABLE_DISABLED)?s.getStateByKey(g.protected.TABLE_DISABLED).value:!1}_mixSpanningColumnHeaders(s){const l={};return s[0].forEach(p=>{p.forEach(E=>{E&&Object.keys(E.value).forEach(y=>{l[y]=E.value[y]})})}),l}_getParsedHeader(s,l){const{logicalColWidth:p,lastDataColumn:E,fitLastColumn:m,collapseColumn:y,treeColumnIndex:b}=this._props,R={width:p,unit:"px"};if(l.label===null&&(l.label=s+1),l&&v.isObject(l)){l.width||(l.width={}),R.width=Math.floor(l.width.value),R.unit=l.width.unit;const N=this._viewModel.getStateByKey(g.CAN_SCROLL_HORIZONTAL)?this._viewModel.getStateByKey(g.CAN_SCROLL_HORIZONTAL).value:void 0,O=E===s+1&&m&&!N;R.fillContainerWidth=O?"100%":void 0,l.fillContainerWidth=O}return l._index=s,s===b&&(l.reorder=!1),l.styleData=h.getTableHeaderStyle(R,this._allColumnsRendered,p,y),this.setHeaderSortState(l),l}_setDisjointFreezeColumnHeader(s){if(this._props.freezeColumnHeaders=void 0,this._disjointFreezeColumnRange){const l=[];for(let p=0;p<=this._disjointFreezeColumnRange.columns.end;p++){const E=s[1](p).value;l.push(this._getParsedHeader(p,E)),this._setColumnContent(s[1],p)}this._props.freezeColumnHeaders=l}}_setHeaders(){const{colMetaData:s,startCol:l,endCol:p}=this._props,E=this._viewModel,m=s||[()=>({value:{}})];E.deleteState("renderer"),E.deleteState("editor"),E.deleteState("interactiveRenderer");const y=[];this._props.sorted=[],this._setDisjointFreezeColumnHeader(m);for(let R=l;R<=p;R+=1){const N=m[0](R).value;N&&N.parentId&&this._addSpanningHeaderDirectChildrenProperty(N.parentId,"indexes",R),y.push(this._getParsedHeader(R,N)),this._setColumnContent(m[0],R)}const b=E.getStateByKey("renderer")||{},I=E.getStateByKey("interactiveRenderer")||{},S=E.getStateByKey("editor")||{};this._props.getRenderer=v.curry(h.getContentFor)(b),this._props.getEditor=v.curry(h.getContentFor)(S),this._props.getInteractiveRenderer=v.curry(h.getContentFor)(I),this._props.setInteractiveRenderer=(R,N,O)=>{r.addMetadataToRange(R,R,N,N,E,"interactiveRenderer",O)},this._props.headers=y}_setTreeColumnWidth(){const{headers:s}=this._props;let l=!1;const p=C.getTreeColumnIndex(this._viewModel);s.forEach(E=>{E._index===p.value&&(this._viewModel.setState(g.protected.TREE_COLUMN_INFO,{id:E.columnId,maxWidth:E.styleData.maxWidth}),l=!0)}),l||this._viewModel.setState(g.protected.TREE_COLUMN_INFO,{})}getSortedState(s){return this._sorted[s]||{order:""}}getValidationState(s){return s&&Object.prototype.hasOwnProperty.call(s,"value")?s.value:{error:!1}}getNumberOfGutters(s){return s&&Object.prototype.hasOwnProperty.call(s,"value")?s.value:0}getEditState(s){return s&&Object.prototype.hasOwnProperty.call(s,"value")?s.value:!1}get props(){return this._props}}return i.default=e,i.default},A,x),A.exports=w},45330:(A,x,a)=>{var T,w;T=[a(9747),a(89019),a(85786),a(70348),a(90290)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{static initTableColumnProps(d,n){n.customProps=n.customProps||{},n.focused=[!0,{}]}static updateTableColumnProps(d,n,i){const o=n.rangeList[0];i.customProps.rowMetaData=n.rowMetaData[0],i.customProps.viewDataRowRange=o.rows,i.focused=g.getFocusedCellForTreeTable(n,d.getStateByKey(C.protected.FOCUSED),d);const c=h.getSelectionIdList(n,d.getStateByKey(C.protected.SELECTED),d);i.metadata={selections:c,selectionById:!0}}static isFreezeColumnEnabled(d){return!!(d.getStateByKey(C.protected.FREEZE_COLUMN_CONFIG)&&d.getStateByKey(C.protected.FREEZE_COLUMN_CONFIG).value)}static isFreezeColumnConfigValid(d){return!(d.range.columns.start!==0||d.range.columns.end<0||d.range.columns.count>_.MAX_FROZEN_COLUMNS)}static validateAndSetFreezeColumnConfig(d,n){d&&!u.isFreezeColumnConfigValid(d)&&(v.warn(`Invalid freeze range, disabling this feature: currently, this feature requires the freeze range to start from 0 to Nth column; max columns to freeze is ${_.MAX_FROZEN_COLUMNS}`),d=null),n.setState(C.protected.FREEZE_COLUMN_CONFIG,d)}}return f.default=u,f.default},A,x),A.exports=w},71831:(A,x,a)=>{var T,w;T=[a(89019)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static wrapFunctionWithViewModel(v,f){return function(){const r=f.getStateByKey(h.dragInProgress);return r&&r.value?null:v.apply(this,arguments)}}}return C.default=g,C.default},A,x),A.exports=w},72435:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._handlers={}}register(_){let v=_;Array.isArray(_)||(v=[_]),v.forEach(f=>{for(const u in f)this._handlers[u]=this._handlers[u]||[],this._handlers[u].push(f[u])})}handleEvent(_,v){const f=this._handlers[_];Array.isArray(f)&&f.forEach(u=>u(v))}}return h.default=C,h.default},A,x),A.exports=w},11104:(A,x,a)=>{var T,w;T=[a(81022),a(21836)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=()=>{const v=n=>{const i={};if(n!==null&&typeof n=="object"&&!Array.isArray(n)){for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(i[o]=n[o]);return i}return n},f=(n,i)=>!!(i&&i.value&&typeof n=="object"&&(h.EDITOR in n||h.RENDERER in n));return{getDisplayValue:(n,i,o)=>{let c=n;return f(n,o)&&(i in n||(n[i]=""),c=n[i]),c},shallowCopy:v,getValueToSave:(n,i,o,c)=>{let e=i;return f(n,c)?(e=v(n),e[o]=i,{oldValue:n,valueToSave:e}):{oldValue:n,valueToSave:e}},getEditIndicator:n=>{const i=n&&n.getEditIndicator&&n.getEditIndicator(),o=C.isValid(i);return{showEditIndicator:o,editIndicatorType:o?i:null}}}};return g.default=_,g.default},A,x),A.exports=w},55646:(A,x,a)=>{var T,w;T=[a(63520),a(37999)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{constructor(){this.dragType=null,this.cellType=null,this.inProgress=this._inProgress.bind(this),this.begin=this._begin.bind(this),this.getState=this._getState.bind(this),this.end=this._end.bind(this)}makeRange(f,u){return C.range().setRows(f,f).setColumns(u,u)}resizeRow(f,u){let r=f;return f===u&&(r=u),r}resizeColumn(f,u){let r=f;return f===u&&(r=u),r}_begin(f){const{location:u,activeCell:r,startRow:d,startCol:n}=f;let i,o;return u===h.TOP||u===h.BOTTOM?(r&&r.rows.start===d?i=h.ACTIVE:i=h.FULCRUM,o=h.ROW):(u===h.LEFT||u===h.RIGHT)&&(r&&r.columns.start===n?i=h.ACTIVE:i=h.FULCRUM,o=h.COLUMN),this.cellType=i,this.dragType=o,{cellType:i,dragType:o}}_inProgress(){const f=this.dragType;return f===h.ROW||f===h.COLUMN}_getState(f){const{nextActiveCell:u,currentActiveCell:r,currentFulcrum:d}=f;let n=r,i=d;if(this.dragType===h.ROW){if(this.cellType===h.ACTIVE){const t=this.resizeRow(u.rows.start,r.rows.start);n=this.makeRange(t,r.columns.start)}else if(this.cellType===h.FULCRUM){const t=this.resizeRow(u.rows.start,d.rows.start);i=this.makeRange(t,d.columns.start)}}if(this.dragType===h.COLUMN){if(this.cellType===h.ACTIVE){const t=this.resizeColumn(u.columns.start,r.columns.start);n=this.makeRange(r.rows.start,t)}else if(this.cellType===h.FULCRUM){const t=this.resizeColumn(u.columns.start,d.columns.start);i=this.makeRange(d.rows.start,t)}}const o=C.isRangeEqual(d,i),c=C.isRangeEqual(r,n);return o&&c?null:{resizeActiveCell:n,resizeFulcrum:i}}_end(){this.cellType=null,this.dragType=null}}return g.default=_,g.default},A,x),A.exports=w},58710:(A,x,a)=>{var T,w;T=[a(60330),a(79424)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=C.values(h.order),v=C.values(h.order).reverse(),f=C.arrayMerge([""],_),u=C.arrayMerge([""],v);class r{static getNext(n,i,o){let c;o&&o==="DESC"?c=i?u:v:c=i?f:_;const e=c.indexOf(n);if(e===-1)return c[0];const t=C.arrayMerge(c.slice(e),c);return t.shift(),t[0]}}return g.default=r,g.default},A,x),A.exports=w},99804:(A,x,a)=>{var T,w;T=[a(37999)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static isRangeInside(v,f){return h.isRangeInside(v,f)}}return C.default=g,C.default},A,x),A.exports=w},9747:(A,x,a)=>{var T,w;T=[a(96913),a(89019),a(37999)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{static hasModifierKey(u){const{ctrlKey:r,meta:d,shiftKey:n,altKey:i}=u;return r||i||d||n}static isObjectEmpty(u){for(const r in u)if(Object.prototype.hasOwnProperty.call(u,r))return!1;return!0}static isStrikeThrough(u){return u&&u.metaData&&u.metaData.strikeThrough===!0}static isSafari(){return/safari/i.test((h.getSystemInfo()||{}).BROWSER)}static isDeepEqual(u,r,d=0){if(u===r)return!0;if(d=d+1,typeof u!="object"||typeof r!="object"||u===null||r===null)return!1;const n=Object.keys(u),i=Object.keys(r);if(n.length!==i.length)return!1;for(const o of n){if(!i.includes(o)||(typeof u[o]=="function"||typeof r[o]=="function")&&u[o].toString()!==r[o].toString())return!1;if(u[o]instanceof Date||r[o]instanceof Date)return u[o]instanceof Date&&r[o]instanceof Date&&!isNaN(u[o])&&!isNaN(r[o])?u[o].getTime()===r[o].getTime():!1;if(d>=5||!v.isDeepEqual(u[o],r[o],d))return!1}return!0}static getSelectionIdList(u,r,d){const n={};let i,o;if(r){if(i=r.value,i&&i.length!==0)for(let c=0;c<i.length;c++)n[i[c]]=!0;else if(!d.getStateByKey(C.protected.SELECTION_CLEARED)){const c=d.getStateByKey(C.protected.ACTIVE_CELL);c&&c.value&&(o=c.value.id,o!==void 0&&(n[o]=!0),v._updateSelectionStateWhenSelectionPageIntoView(o,d))}}else v._setInitialSelectionPivot(u,d);return n}static _updateSelectionStateWhenSelectionPageIntoView(u,r){const d=r.getStateByKey(C.protected.SELECTED),n=r.getStateByKey(C.protected.PIVOT);(!d||!d.value||d.value[0]!==u)&&r.setState(C.protected.SELECTED,[u]),n&&n.value!==u&&r.setState(C.protected.PIVOT,u)}static _setInitialSelectionPivot(u,r){if(u.rangeList[0].rows.count!==0&&u.rangeList[0].rows.start===0&&!r.getStateByKey(C.protected.PIVOT)){const d=u.rowMetaData[0](0).value.id;d!==void 0&&r.setState(C.protected.PIVOT,d)}}static reverseArray(u){if(u&&Array.isArray(u))return u.reverse()}static joinArray(u,r){if(u&&Array.isArray(u))return u.join(r)}static getHeaderId(u,r,d){if(u&&d!==void 0)return u+r+d}static _areIndicesEqual(u,r){if(u.length!==r.length)return!1;for(let d=0;d<u.length;d++)if(u[d]!==r[d])return!1;return!0}static _areMatchIndicesEqual(u,r){if(u.searchNavigationData.direction==="next")return u.searchNavigationData.currentMatchIndex-1===r.searchNavigationData.currentMatchIndex;if(u.searchNavigationData.direction==="prev")return u.searchNavigationData.currentMatchIndex+1===r.searchNavigationData.currentMatchIndex}static searchNavigationDataUpdated(u,r){const d=u.searchNavigationData,n=r.searchNavigationData;return!d&&!n?!1:!d||!n?!0:!d.index&&!n.index?!1:!d.index||!n.index?!0:!(d.label===n.label&&d.direction===n.direction&&this._areIndicesEqual(d.index,n.index)&&this._areMatchIndicesEqual(u,r))}static getRangeFromId(u,r,d){let n={};return(typeof u.getIndex=="function"?u.getIndex.bind(u):u.getNode.bind(u))({id:r}).then(o=>o&&Number.isInteger(o.index)&&o.index>-1?(n=g.range().setRows(o.index,o.index).setColumns(d,d),n):!1)}}return _.default=v,_.default},A,x),A.exports=w},32746:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=function(C,g){let _=!1,v=0,f,u=-1;function r(i){_=!0,u=window.setTimeout(function(){C.apply(null,f),v=Date.now(),_=!1},i)}function d(){clearTimeout(u),_=!1,f=void 0,u=-1}function n(){f=arguments;const i=g-(Date.now()-v);i<=0||i>g?(C.apply(null,arguments),v=Date.now(),window.clearTimeout(u),_=!1):_||r(i)}return n.cancel=d,n},h.default},A,x),A.exports=w},26412:(A,x,a)=>{var T,w;T=[a(37999)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static isRangeInside(v,f){const{range:u}=f;return h.isRangeInside(v,u)}}return C.default=g,C.default},A,x),A.exports=w},77022:(A,x,a)=>{var T,w;T=[a(79424),a(71408)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=["px","%",""];class v{static column(u){const r={},{label:d,dataIndex:n,width:i}=u;let{value:o,unit:c}=i;if(c=c||"",isNaN(n)||n<0)throw C.error.DATA_INDEX_REQUIRED;if(h.find(_,e=>c===e)===null)throw C.error.INVALID_UNIT;return r.name=d||"",r.dataIndex=n,r.width=o,r.unit=c,r}static validateColPct(u){let r=0,d=0,n=-1;u.forEach((o,c)=>{if(o.width&&o.width.unit&&!isNaN(o.width.value)&&o.width.unit==="%"){const e=Math.abs(o.width.value);r+=e,e>d&&(n=c,d=e)}});const i=100-r;return i<0&&(n=-1),[i,n]}static separateControllers(u,r){const d=[],n=[];return r.CONTROLLERS.forEach(i=>{let o=0;i.forEach(c=>{const e=u.indexOf(c);e>-1&&(o++<1&&d.push(c),n.push(e))})}),n.sort(function(i,o){return o-i}).forEach(i=>{u.splice(i,1)}),[d,u]}static prunePlugins(u,r,d={}){const n=[];if(r.INCOMPATIBLE.forEach(i=>{let o=0;i.forEach((c,e)=>{const t=u.indexOf(c);t>-1&&o++>0&&n.push(t)})}),n.forEach(i=>{u.splice(i,1)}),d.selectionConfig&&d.selectionConfig.selectionById){let i=u.indexOf(r.AVAILABLE.SingleRowSelection[0]);if(i>-1&&(u[i]=r.INTERNAL.SingleRowSelectionById[0]),i=u.indexOf(r.AVAILABLE.MultiRowSelection[0]),i>-1&&(u[i]=r.INTERNAL.MultiRowSelectionById[0]),i=u.indexOf(r.AVAILABLE.CellSelection[0]),i>-1)throw new Error("ID based Cell selection is not supported yet !")}return u}}return g.default=v,g.default},A,x),A.exports=w},11342:(A,x,a)=>{var T,w;T=[a(37999)],w=a.dj.d(T,function(h){"use strict";var C={};class g{static addMetadataToCol(v,f,u,r){let d=[],n=[];const i=f.getStateByKey(u);i&&(n=i.value,d=i.rangeList),n.push(r),d.push(h.range().setEntireColumns(v)),f.setState(u,n,d)}static addMetadataToRow(v,f,u,r){let d=[],n=[];const i=f.getStateByKey(u);i&&(d=i.rangeList,n=i.value),n.push(r),d.push(h.range().setEntireRows(v)),f.setState(u,n,d)}static addMetadataToRange(v,f,u,r,d,n,i){let o=[],c=[];const e=d.getStateByKey(n);e&&(o=e.rangeList,c=e.value),c.push(i),o.push(h.range().setRows(v,f).setColumns(u,r)),d.setState(n,c,o)}static getRangeForCell(v,f){return h.range().setRows(v,v).setColumns(f,f)}static getRangeForRow(v){return h.range().setEntireRows(v)}static getRangeForColumn(v){return h.range().setEntireColumns(v)}static getStateForKey(v,f){const u=v.getStateByKey(f);return u?{rangeList:u.rangeList,value:u.value}:{rangeList:null,value:null}}static updateDataForCell(v,f,u,r){f=Number(f),u=Number(u);const d=h.range().setRows(f,f).setColumns(u,u);v.update(d,[[r]])}}return C.default=g,C.default},A,x),A.exports=w},47885:(A,x,a)=>{var T,w;T=[a(49118),a(97154),a(70348),a(79097),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};function u(){return u=Object.assign?Object.assign.bind():function(c){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(c[s]=t[s])}return c},u.apply(this,arguments)}const r="mw-table-resize-affordance",d="mw-table-resize-right-only",n="mw-table-resize-affordance-collapsecolumn",i="mwTableHeaderAffordancePlaceholder";class o extends v.Component{constructor(){super(),this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._handleMouseMove=this._handleMouseMove.bind(this),this.state={computedWidth:null}}shouldComponentUpdate(e){return!!(this.props.shouldReportHeaderWidth||this.props.colWidth!==e.colWidth||this.props.logicalColWidth!==e.logicalColWidth||this.props.colIndex!==e.colIndex||this.props.colIndexEnd!==e.colIndexEnd||this.props.rightOnly!==e.rightOnly||this.props.isResizable!==e.isResizable)}_getComputedWidth(){return this.affordance.parentNode.offsetWidth}_handleMouseDown(e){e.stopPropagation(),e.preventDefault(),e.target.hasAttribute("data-affordance-index")&&(document.addEventListener("mouseup",this._handleMouseUp),document.addEventListener("mousemove",this._handleMouseMove),this.setState({column:Number(e.target.getAttribute("data-col-index")),computedWidth:this._getComputedWidth(),startPos:e.clientX}))}_handleMouseUp(e){document.removeEventListener("mouseup",this._handleMouseUp),document.removeEventListener("mousemove",this._handleMouseMove),this._handleMouseMove(e);const t=this._getComputedWidth(),s=this.props.colIndexEnd-this.props.colIndex+1;for(let l=0;l<s;l=l+1)this.state.computedWidth!==t&&this.props.eventCallback(C.internal.COL_RESIZE_DONE,[{width:t/s,columnIndex:this.props.colIndex+l}])}_handleMouseMove(e){const t=e.clientX-this.state.startPos;if(this.props.rightOnly&&_.isMovingLeft(t))return;const s=this.props.colIndexEnd-this.props.colIndex+1;for(let l=0;l<s;l=l+1){const p=t+this.state.computedWidth;let E=this.props.logicalColWidth/s;this.props.collapseColumn&&(E=g.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN);const m=Math.max(E,p)/s;this.props.eventCallback(C.protected.COL_RESIZE,{width:m,column:this.props.colIndex+l})}}_reportComputedWidth(){if(this.props.eventCallback){const e=this.props.colIndexEnd-this.props.colIndex+1;for(let t=0;t<e;t=t+1)this.props.eventCallback(C.protected.COL_HEADER_MOUNT,{width:this._getComputedWidth()/e,column:this.props.colIndex+t,noRender:!0})}}componentDidUpdate(){this._reportComputedWidth()}componentDidMount(){this._reportComputedWidth()}render(){let{colIndex:e,rightOnly:t,colIndexEnd:s,collapseColumn:l,colWidth:p,isResizable:E}=this.props;s=s||e;let m=t?d:r;return l&&p<g.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&(m=n),E===void 0&&(E=!0),E||(m=i),v.createElement("div",u({ref:y=>{this.affordance=y},"data-test-id":E?h.RESIZE_AFFORDANCE:h.RESIZE_AFFORDANCE_PLACEHOLDER,"data-affordance-index":e,"data-affordance-index-end":s},E?{onMouseDown:this._handleMouseDown}:null,{className:m}))}}return f.default=o,f.default},A,x),A.exports=w},25731:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(70348),a(49118),a(37881),a(36329),a(47885),a(22005),a(98763),a(44855),a(59108),a(56471),a(18566),a(43952),a(29619),a(13585),a(5690),a(96405),a(27499),a(9747),a(23513),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b){"use strict";var I={};const S="mwTableSortAffordance",R=K=>{const M=K?K.closest("div"):null;return M&&M.className===S},N=(K,M)=>{const{headerRenderer:B}=M;return B&&typeof B.getDomNode=="function"?{headerRenderer:B}:{}},O=(()=>{const K={};return K[i.selection.SELECTED]="mw-table-header-col-selected",K})(),L=K=>O[K]||"",U=()=>b.createElement("div",{className:"mwTableHeaderAffordancePlaceholder"}),z=K=>{const{headerMeta:M={},eventCallback:B,sortable:P,clearSort:k,colIndex:H,sorted:Y,colStartIndex:G,colEndIndex:Q,cellEditState:J}=K,q=M.sortType,oe=M.sortFirst,ie=S;if(P&&q)return b.createElement(r,{key:"sort."+H,sortClass:ie,colIndex:H,colStartIndex:G,cellEditState:J,colEndIndex:Q,eventCallback:B,sortType:q,sortFirst:oe,sorted:Y,clearSort:k})},$=K=>{const{colResize:M,eventCallback:B,logicalColWidth:P,colIndex:k,headerMeta:H,colIndexEnd:Y,styleData:G,fillContainerWidth:Q,collapseColumn:J,range:q={}}=K;let oe=M;if(!oe)return b.createElement(U,{key:"resize."+k+"."+Y});H.resizable!==void 0&&(oe=H.resizable);const ie=E.getColRangeIndicesForView(k,H,Y,q.start),pe=G&&G.width&&G.width.includes("%"),ce=G&&G.minWidth?G.minWidth:P;return b.createElement(u,{key:"resize."+ie.startIndex,rightOnly:Q,colIndex:ie.startIndex,colIndexEnd:ie.endIndex,eventCallback:B,logicalColWidth:P,colWidth:ce,collapseColumn:J,shouldReportHeaderWidth:pe,isResizable:oe})},W=K=>{const{eventCallback:M,colMenuAffordance:B,sorted:P,colIndex:k,headerMeta:H={},colIndexEnd:Y,range:G={}}=K,{headerMenu:Q}=H,J=E.getColRangeIndicesForView(k,H,Y,G.start);if(B&&Q)return b.createElement(d,{key:"menu."+J.startIndex,colIndex:J.startIndex,colStartIndex:J.startIndex,colEndIndex:J.endIndex,eventCallback:M,sorted:P})};class V extends b.Component{constructor(M){super(),this._handleMouseEnter=this._handleMouseEnter.bind(this),this._handleMouseDown=this._handleMouseDown.bind(this);const{headerRenderer:B}=N(void 0,M);this.state={headerRenderer:B||new f},this.handleDragState=this.handleDragState.bind(this)}componentDidMount(){this.props.displayColumnIndexOnly||this.renderNode.appendChild(this.state.headerRenderer.getDomNode(this.props.name))}componentWillReceiveProps(M){const{headerRenderer:B}=M;B!==this.state.headerRenderer&&this.setState(N)}componentDidUpdate(M,B){if(this.state.headerRenderer!==B.headerRenderer||this.props.name!==M.name){const P=this.props.displayColumnIndexOnly?this.renderNode:this.renderNode.firstChild;p.replaceFirstNode(this.renderNode,this.state.headerRenderer.getDomNode(this.props.name),P)}}_handleMouseEnter(M,B=v.COLUMN_HEADER){const{colIndex:P,name:k,id:H}=this.props,Y=l.getTargetNode(v.COLUMN_HEADER,M.target,this.renderNode,this.state.headerRenderer);if(!this.state.dragInProgress&&this.state.headerRenderer.getTooltip&&(this.state.headerRenderer.showTooltip||l.isTruncated(Y))){const G=B===v.COLUMN_HEADER?P:H;this.props.eventCallback(h.protected.NODE_NOTIFY,{publisherFn:()=>({node:M.target,id:B+G,content:this.state.headerRenderer.getTooltip(k).text,className:"mw-table-header-column"}),publisherId:C.protected.publisher.CELL_HOVER,noRender:!0})}}_handleDoubleClick(){}_handleMouseDown(M){if(t.isSyntheticRightClick(M))return;const{colIndex:B,headerMeta:P,colIndexEnd:k,range:H={}}=this.props;if(B<0||R(M.target))return;const Y=E.isGroupColumn(P),G=E.getColRangeIndicesForView(B,P,k,H.start);this.props.eventCallback(h.protected.COL_HEADER_CLICK,{column:G.startIndex,columnEnd:G.endIndex,groupedSelection:Y,meta:M.metaKey,ctrlKey:M.ctrlKey,shiftKey:M.shiftKey,altKey:M.altKey})}handleDragState(M){this.setState({dragInProgress:M}),this.props.eventCallback(h.internal.DRAG_STARTED,{columnDragStarted:M})}_isWidthCollapsed(M,B){const{styleData:P,collapseColumn:k,logicalColWidth:H}=M;if(!k)return!1;const Y=P&&P.minWidth?P.minWidth:H;return(B||Y)<g.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN}_makeDragIcon(){const M=e.dropTypeColumn,{setAvatar:B,canDrop:P,widgetType:k,treeColumnIndex:H,colIndex:Y,name:G,columnId:Q,headerMeta:J,freezeColumnConfig:q,scrollNodeIntoView:oe}=this.props;return b.createElement(o,{avatarDefaultLabel:G,setAvatar:B,dropType:M,colIndex:Y,columnId:Q,headerMeta:J,scrollNode:oe.getScrollNode(),eventCallback:this.props.eventCallback,onDragAction:this.handleDragState,canDrop:P,widgetType:k,treeColumnIndex:H,freezeColumnConfig:q})}_collectDataForContextMenu(){const{rowIndex:M,colIndex:B,colIndexEnd:P,columnId:k,widgetType:H,eventCallback:Y}=this.props;return{rowIndex:M,colIndex:B,columnId:k,colEnd:P,component:v.COLUMN_HEADER,widget:H,eventCallback:Y}}render(){let{cellEditState:M,styleData:B,colEditState:P,colIndex:k,headerMeta:H,range:Y={},colIndexEnd:G,columnId:Q,dragColumns:J,colSelectionMap:q=()=>0,displayColumnIndex:oe,columnHeaderIndex:ie,displayColumnIndexOnly:pe,widgetId:ce,freezeColumnConfig:te,groupedColumnHeaders:ne,dragAffordance:re=!0,selectHeaders:se,eventCallback:ge}=this.props;const he=this.colHeaderNode&&this.colHeaderNode.offsetWidth?this.colHeaderNode.offsetWidth:0,fe=this._isWidthCollapsed(this.props,he);ie=ie||H&&H.columnHeaderIndex;const me=m.getHeaderId(ce,"_",Q),De=[],Ie=["mw-table-header-column","mw-table-flex-container"];let Oe=0,je=!0;for(let _t=k;_t<=G;_t+=1)if(Oe=q(_t),Oe<=0){je=!1;break}je&&Ie.push(L(Oe)),typeof B!="object"&&(B={position:"relative"});const dt=k===0?"mw-table-no-left-border":"mw-table-left-border";Ie.push(dt),fe||De.push(W(this.props)||z(this.props)),De.push($(this.props));const yt=[];fe||(te&&k>=te.range.columns.start&&k<=te.range.columns.end&&(J=!1),J&&re&&yt.push(this._makeDragIcon()));const kt=E.getColRangeIndicesForView(k,H,G,Y.start),Rt=M?"true":"false";let jt=pe?[]:["mw-table-header-label-container"];fe&&(jt=["mw-table-header-label-container-collapsecolumn"],Ie.push("mw-table-header-collapsecolumn"));const Wt=["mw-table-header-label"];oe&&(jt.push("mw-table-header-index-container"),Wt.push("mw-text-center"));const En=e.dropTypeColumn,{setAvatar:sn,canDrop:nn,widgetType:pn,treeColumnIndex:ye,name:Me,scrollNodeIntoView:Ge}=this.props,it=Ge?Ge.getScrollNode():void 0,st=p.getFrozenColumnCellClass(te,k);st&&Ie.push(st);let wt=H&&H.style?H.style:void 0;wt=ne&&H&&H.complexHeaderStyle?H.complexHeaderStyle:wt,wt&&y.metaDataStyling(wt,B,v.COLUMN_HEADER);const It={};return y.colorStyling(wt,It),b.createElement("th",{id:me,role:"columnheader",scope:"col",ref:_t=>{this.colHeaderNode=_t},"data-col-index":kt.startIndex,"data-col-index-end":kt.endIndex,"data-edit-state":P,"cell-edit-state":Rt,"data-column-id":Q,style:B,onMouseDown:this._handleMouseDown,onContextMenu:_t=>s.handleContextMenu(_t,this._collectDataForContextMenu()),className:Ie.join(" ")},yt,b.createElement(c,{avatarDefaultLabel:Me,setAvatar:sn,dropType:En,colIndex:k,columnId:Q,headerMeta:H,scrollNode:it,eventCallback:ge,onDragAction:this.handleDragState,canDrop:nn,widgetType:pn,treeColumnIndex:ye,headerContainerClasses:jt.join(" "),columnSelected:je,dragAffordance:re,selectHeaders:se},b.createElement(n,{columnHeaderIndex:ie,displayColumnIndex:oe,styleHeader:It}),pe?null:b.createElement("div",{ref:_t=>{this.renderNode=_t},style:It,"data-test-id":_.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,onDoubleClick:this._handleDoubleClick,className:Wt.join(" ")})),De)}}return I.default=V,I.default},A,x),A.exports=w},44855:(A,x,a)=>{var T,w;T=[a(49118),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=v=>{const{displayColumnIndex:f,columnHeaderIndex:u,styleHeader:r}=v,d=[];return f&&d.push("mw-table-header-index-font","mw-table-header-index-padding-bottom","mw-text-center"),f?C.createElement("div",{style:r,"data-test-id":h.HEADER_INDEX,className:d.join(" ")},[u]):null};return g.default=_,g.default},A,x),A.exports=w},44908:(A,x,a)=>{var T,w;T=[a(62953),a(13199),a(10634),a(3059),a(22563),a(53319),a(7970),a(90978),a(99596),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){"use strict";var i={};class o{constructor(e){this.propFactory=e,this._scrollNodeIntoView=new f}makeRowHeaderComponent(){const{height:e,startRow:t,endRow:s,eventCallback:l,scrollYPos:p,logicalRowHeight:E,rowMetaData:m,metadata:y,viewBuffer:b,displayRowHeaderIndices:I,enableEdit:S,displayRowHeader:R,rowEditState:N,editState:O,topLeftRowHeaderLabel:L,rowHeaderRenderer:U,canDragToSelect:z,widgetId:$,widgetType:W}=this.propFactory.props;return n.createElement(v,{scrollPos:p,displayRowHeaderIndices:I,scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:R,rowHeaderHeight:e,eventCallback:l,rowHeight:E,rowMetaData:m,startRow:t,metadata:y,viewBuffer:b,enableEdit:S,topLeftRowHeaderLabel:L,headerRenderer:U,rowEditState:N,cellEditState:O,endRow:s,widgetId:$,canDragToSelect:z,widgetType:W})}makeTableComponent(e){const{height:t,width:s,tableClass:l,viewBuffer:p,customProps:E,widgetType:m,dataSize:y,startRow:b,startCol:I,eventCallback:S,translateX:R,scrollYPos:N,columnClass:O,displaySearch:L,endRow:U,endCol:z,metadata:$,headers:W,freezeColumnHeaders:V,data:K,focused:M,preventTrueFocus:B,editState:P,editTrigger:k,editValidation:H,editProcessing:Y,logicalRowHeight:G,getRenderer:Q,getEditor:J,getInteractiveRenderer:q,setInteractiveRenderer:oe,component:ie,registration:pe,readOnlyVisualDesign:ce,numberOfGutters:te,useEditorRendererDataFields:ne,checkboxTreetable:re,resizeSelection:se,tableSelectionById:ge,dragAndDrop:he,canDragToSelect:fe,rowMetaData:me,widgetId:De,spanningColumnHeaders:Ie,displayRowHeader:Oe,groupedColumnHeaders:je,frozenColumnData:dt,freezeColumnConfig:yt,searchNavigationData:kt}=this.propFactory.props;return n.createElement(C,{tableClass:l,height:t,width:s,rowMetaData:me,widgetType:m,dataSize:y,scrollNodeIntoView:this._scrollNodeIntoView,translateY:N,translateX:R,eventCallback:S,columnClass:O,displaySearch:L,startRow:b,startCol:I,endRow:U,endCol:z,metadata:$,headers:W,freezeColumnHeaders:V,data:K,focused:M,preventTrueFocus:B,editTrigger:k,editState:P,editValidation:H,editProcessing:Y,logicalRowHeight:G,getEditor:J,getRenderer:Q,getInteractiveRenderer:q,setInteractiveRenderer:oe,component:ie,viewBuffer:p,customProps:E,registration:pe,numberOfGutters:te,checkboxTreetable:re,tableSelectionById:ge,useEditorRendererDataFields:ne,resizeSelection:se,readOnlyVisualDesign:ce,dragAndDrop:he,canDragToSelect:fe,widgetId:De,spanningColumnHeaders:Ie,displayRowHeader:Oe,groupedColumnHeaders:je,frozenColumnData:dt,freezeColumnConfig:yt,searchNavigationData:kt})}makeScrollComponent(e,t){const{eventCallback:s,tableBottomLeftAffordanceHeight:l,rowHeaderWidth:p,receiveDrop:E,displayRowHeader:m,rowDnDUtil:y,outsideRowDnDUtil:b,tableAffordanceWidth:I,metadata:S,dragAndDrop:R,setDragData:N,setAvatar:O,dragColumns:L,dragRows:U,canDrag:z,canDrop:$,reorderRows:W,reparentRows:V,widgetType:K,allowDragToSelect:M,logicalRowHeight:B,dragAffordance:P}=this.propFactory.props;let k=g;return R&&(k=u),n.createElement(d,{dragAndDrop:R},n.createElement(k,{eventCallback:s,scrollNodeIntoView:this._scrollNodeIntoView,table:e,dragAndDrop:R,allowDragToSelect:M,dragColumns:L,reorderRows:W,reparentRows:V,widgetType:K,canDrag:z,canDrop:$,receiveDrop:E,dragRows:U,dragAffordance:P,setDragData:N,setAvatar:O,metadata:S,displayRowHeader:m,rowHeader:t,rowHeaderWidth:p,tableAffordanceWidth:I,tableBottomLeftAffordanceHeight:l,rowDnDUtil:y,outsideRowDnDUtil:b,logicalRowHeight:B}))}makeHeaderComponent(){const{eventCallback:e,tableAffordanceWidth:t,width:s,startCol:l,endCol:p,lastDataColumn:E,displayRowHeader:m,displayRowHeaderIndices:y,topLeftRowHeaderLabel:b,columnClass:I,scrollXPos:S,totalLogicalWidth:R,colMetaData:N,logicalColWidth:O,metadata:L,headers:U,freezeColumnHeaders:z,viewBuffer:$,sorted:W,colResize:V,colMenuAffordance:K,sortable:M,clearSort:B,spanningColumnHeaders:P,colEditState:k,selectHeaders:H,editState:Y,groupedColumnHeaders:G,dragColumns:Q,dragAndDrop:J,widgetType:q,fitLastColumn:oe,collapseColumn:ie,setAvatar:pe,canDrop:ce,hideColumnHeader:te,displayColumnIndexOnly:ne,displayColumnLabel:re,displayColumnIndex:se,treeColumnIndex:ge,widgetId:he,rowDnDUtil:fe,outsideRowDnDUtil:me,spanningHeaderAllChildren:De,freezeColumnConfig:Ie,dragAffordance:Oe}=this.propFactory.props;let je=h;return J&&Q&&(je=r),n.createElement(d,{dragAndDrop:J},n.createElement(je,{scrollNodeIntoView:this._scrollNodeIntoView,displayRowHeader:m,displayRowHeaderIndices:y,topLeftRowHeaderLabel:b,scrollXPos:S,flexWidth:s,fitLastColumn:oe,hideColumnHeader:te,displayColumnIndexOnly:ne,displayColumnLabel:re,displayColumnIndex:se,collapseColumn:ie,lastDataColumn:E,width:s,eventCallback:e,startCol:l,endCol:p,tableAffordanceWidth:t,children:U,columnClass:I,logicalColWidth:O,totalLogicalWidth:R,headers:U,freezeColumnHeaders:z,colMetaData:N,viewBuffer:$,metadata:L,sorted:W,clearSort:B,colResize:V,sortable:M,colMenuAffordance:K,spanningColumnHeaders:P,groupedColumnHeaders:G,selectHeaders:H,cellEditState:Y,colEditState:k,dragColumns:Q,dragAffordance:Oe,widgetType:q,setAvatar:pe,dragAndDrop:J,rowDnDUtil:fe,outsideRowDnDUtil:me,canDrop:ce,treeColumnIndex:ge,widgetId:he,spanningHeaderAllChildren:De,freezeColumnConfig:Ie}))}makeWrapperComponent(e,t){this.propFactory.props.isTableDisabled||this.propFactory.setDisabledState();const{eventCallback:s,maxWidth:l,dataTestId:p,component:E,selectHeaders:m,isTableDisabled:y,selectRowHeaders:b,gridStyle:I}=this.propFactory.props,S={maxWidth:l||"none"};return n.createElement(_,{dataTestId:p,style:S,scrollComponent:e,header:t,eventCallback:s,component:E,selectRowHeaders:b,isTableDisabled:y,selectHeaders:m,gridStyle:I,wrapperClass:"mw-table-outer-wrapper-blurred"})}}return i.default=o,i.default},A,x),A.exports=w},40668:(A,x,a)=>{var T,w;T=[a(38634),a(57246),a(63688),a(51182),a(79411),a(12615),a(59723),a(11104),a(23513)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};const i=new u;let o=(e,t,s=!1)=>s===!1?e[t]:e[1][t];const c=e=>{let{colIndex:t,rowIndex:s,data:l,focused:p={},preventTrueFocus:E,getEditor:m,getRenderer:y,groupAttr:b,readOnlyVisualDesign:I,focusCached:S,getInteractiveRenderer:R,setInteractiveRenderer:N,styleData:O,customProps:L,additionalClass:U,eventCallback:z,editTrigger:$,editState:W,editValidation:V,editProcessing:K,selectionMap:M,registration:B,displaySearch:P,useEditorRendererDataFields:k,resizeSelection:H,readonly:Y,tableSelectionById:G,columnAndRowHeaderIds:Q,frozenColumnData:J,freezeColumnConfig:q,searchNavigationData:oe}=e;const{handleMouseOverWithRenderer:ie}=v(z),{setFloatingContent:pe,removeFloatingContent:ce}=f(z);let te,ne,re,se={},ge={},he=C,fe;J&&t>=q.range.columns.start&&t<=q.range.columns.end?fe=J(s)(t):fe=l(s)(t),ne=R(s,t),fe&&fe.metaData&&d.isReadOnly(fe.metaData)&&(Y=fe.metaData.readonly),Y===!0?(se.readonly=Y,re=null):re=m(s,t),fe.metaData&&(P&&fe.metaData.searchHighlight&&(se.searchHighlight=fe.metaData.searchHighlight),fe.metaData.style&&(d.metaDataStyling(fe.metaData.style,O),fe.metaData.style.rangeOuterBorderColor&&d.setAllRangeOuterBorderColor(fe,t,l,O,s)),fe.metaData.rendererConfig&&(se.rendererConfig=fe.metaData.rendererConfig),fe.metaData.renderer&&(typeof fe.metaData.renderer=="string"?te=B.renderer[fe.metaData.renderer]:te=fe.metaData.renderer),"interactiveRenderer"in fe.metaData&&(typeof fe.metaData.interactiveRenderer=="string"?(ne=B.renderer[fe.metaData.interactiveRenderer],N(s,t,ne)):fe.metaData.interactiveRenderer?(ne=fe.metaData.interactiveRenderer,N(s,t,ne)):ne=null),fe.metaData&&fe.metaData.editorConfig&&(ge.editorConfig=fe.metaData.editorConfig),"editor"in fe.metaData&&Y!==!0&&(typeof fe.metaData.editor=="string"?re=B.editor[fe.metaData.editor]:fe.metaData.editor?re=fe.metaData.editor:re=null)),ne?(he=g,te=ne,se.interactiveRenderer=!0):re&&(he=_),te=te||y(s,t)||i;const me=r().getEditIndicator(te);let{cellMetaData:De}=L,Ie;G===!0?p[0]?Ie=[De.value.id,t].join(","):Ie=[s,t].join(","):Ie=[s,t].join(",");let Oe=W[s+","+t]?{rowIndex:s,colIndex:t}:!1;return h.createElement(he,{eventCallback:z,row:s,column:t,editType:"tableCell",rowIndex:s,colIndex:t,styleData:O,cellData:fe,groupAttr:b,focusClass:o(p,Ie,G),focusCached:S,additionalClass:U,focused:p,preventTrueFocus:E,renderer:te,editIndicator:me,editor:re,customProps:L,editTrigger:$,editState:Oe,editValidation:V,editProcessing:K,renderMetaData:se,editorMetaData:ge,selectionMap:M,handleMouseOver:ie,handleSetFloatingContent:pe,handleRemoveFloatingContent:ce,useEditorRendererDataFields:k,resizeSelection:H,readOnlyVisualDesign:I,columnAndRowHeaderIds:Q,freezeColumnConfig:q,searchNavigationData:oe})};return n.default=c,n.default},A,x),A.exports=w},78320:(A,x,a)=>{var T,w;T=[a(38634)],w=a.dj.d(T,function(h){"use strict";var C={};class g extends h.Component{render(){const{disabled:v}=this.props;return v?h.createElement("div",{ref:f=>{this.disableWrapperRef=f},className:"mw-table-disable-layer",onContextMenu:f=>f.preventDefault()}):null}}return C.default=g,C.default},A,x),A.exports=w},56471:(A,x,a)=>{var T,w;T=[a(97154),a(43952),a(3023),a(50049),a(37632),a(68124),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};function d(){return d=Object.assign?Object.assign.bind():function(o){for(var c=1;c<arguments.length;c++){var e=arguments[c];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},d.apply(this,arguments)}const n=[C.REORDER_COLUMN_SELECTOR_ICON,C.SOURCE_SELECTOR],i=o=>{const c=new v(o),{headerMeta:e}=o,{reorder:t=!0}=e,s=()=>c.handleMouseDownEvent();return u.createElement("div",d({className:n.join(" "),onMouseDown:g.isColumnDraggable(t)?s:null},g.isColumnDraggable(t)?null:{disabled:!0},g.isColumnDraggable(t)?null:{"aria-disabled":!0}),u.createElement("svg",{viewBox:"0 0 6 10",width:"6px",height:"12px",fill:"var(--mw-backgroundColor-iconFill)"},u.createElement("rect",{width:"2",height:"2"}),u.createElement("rect",{y:"4",width:"2",height:"2"}),u.createElement("rect",{y:"8",width:"2",height:"2"}),u.createElement("rect",{x:"4",width:"2",height:"2"}),u.createElement("rect",{x:"4",y:"4",width:"2",height:"2"}),u.createElement("rect",{x:"4",y:"8",width:"2",height:"2"})))};return r.default=u.memo(i),r.default},A,x),A.exports=w},18566:(A,x,a)=>{var T,w;T=[a(97154),a(43952),a(3023),a(37632),a(50049),a(68124),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=[C.REORDER_COLUMN_SELECTOR_HEADER,C.SOURCE_SELECTOR],n=i=>{const o=new _(i),{headerContainerClasses:c,columnSelected:e=!1,dragAffordance:t=1,selectHeaders:s,headerMeta:l={}}=i,{reorder:p=!0}=l,E=g.isColumnDraggable(p),m=s?s():!1,b=E&&!t&&(m&&e||!m),I=()=>{o.handleMouseDownEvent()};let S=c;return b&&(S+=" "+d.join(" ")),u.createElement("div",{className:S,onMouseDown:b?I:null},i.children)};return r.default=u.memo(n),r.default},A,x),A.exports=w},43955:(A,x,a)=>{var T,w;T=[a(38634)],w=a.dj.d(T,function(h){"use strict";var C={};const g=_=>{const{editIndicator:v}=_,f="mw-table-cell-edit-indicator-"+v,u="mw-table-cell-edit-indicator-"+v+"Icon",r="edit indicator "+v;return h.createElement("div",{className:f,"edit-indicator":"true","aria-label":r},h.createElement("svg",{viewBox:"0 0 8 8",className:u,"edit-indicator":"true"},h.createElement("g",null,h.createElement("polygon",{points:"4 7 0 3 8 3 4 7","edit-indicator":"true"}))))};return C.default=h.memo(g),C.default},A,x),A.exports=w},41139:(A,x,a)=>{var T,w;T=[a(25731),a(99268),a(96405)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{constructor(u){super(u),this._handleEditComplete=this._handleEditComplete.bind(this),this._handleDoubleClick=this._handleDoubleClick.bind(this),this._handleMouseEnter=this._handleMouseEnter.bind(this)}_handleDoubleClick(u){const{columnId:r,eventCallback:d,headerEditor:n,scrollNodeIntoView:i}=this.props;if(d&&r&&n){const o=this.renderNode.getBoundingClientRect();i.scrollIntoView(o).then(c=>{c.isEditable&&d("enterColEditMode",{columnId:r})})}}_handleMouseEnter(u,r){this.props.colEditState||super._handleMouseEnter(u,r)}get cellType(){return"EditableColumnHeader"}_handleEditComplete(u){if(!this._content)return;this._handleLeaveEdit();const{columnId:r,eventCallback:d}=this.props;d&&d("colEditComplete",{newValue:u,columnId:r,oldValue:this.props.name})}_handleMouseEvent(u,r,d="tableCellClick"){const n=Number(r.rowIndex),i=Number(r.colIndex);u.button===C.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(d,{row:n,column:i,meta:u.metaKey,ctrlKey:u.ctrlKey,shiftKey:u.shiftKey,altKey:u.altKey})}_handleEditCanceled(){this._content&&(this._handleLeaveEdit(),this.props.eventCallback&&this.props.eventCallback("leaveColEditMode",{}))}_handleLeaveEdit(){if(this.renderNode){const u=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement;this._dismount(),u&&this._previousActiveElement.focus()}}_dismount(){this._listeners.forEach(u=>{u.remove()}),this._listeners=[],this._content.destroy(),this._content=void 0}_mountContent(){const u=this.renderNode,{headerEditor:r,name:d,colEditState:n}=this.props,{headerRenderer:i}=this.state;let o;const c=[];if(n){u.removeAttribute("data-title");try{o=new r(d,{}),this._content=o,this._previousActiveElement=document.activeElement}catch(e){return i}return c.push(o.on("editComplete",e=>{this._handleEditComplete(e.newValue)})),c.push(o.on("editCanceled",this._handleEditCanceled.bind(this))),this._listeners=c,o}else return i}_focusMe(u){this.renderNode.setAttribute("data-edit",this.props.colEditState||!1),this.props.colEditState&&(this._previousActiveElement=document.activeElement,u.setFocus())}get baseStyle(){return"mw-table-cell"}componentWillUnmount(){this.props.colEditState&&this.props.focusClass&&this._handleEditCanceled()}componentDidMount(){const{name:u,displayColumnIndexOnly:r}=this.props;if(!r){const d=this._mountContent();this.renderNode.appendChild(d.getDomNode(u)),this._focusMe(d)}}componentDidUpdate(u){const r=this.props.name===u.name;if((u.colEditState!==this.props.colEditState||!this.props.colEditState&&!r)&&!this.props.displayColumnIndexOnly){const{name:d}=this.props,n=this._mountContent();let i=!1;this.renderNode&&(i=this.renderNode.contains(document.activeElement)||document.activeElement===this._previousActiveElement),g.replaceFirstNode(this.renderNode,n.getDomNode(d),this.renderNode.firstChild),i&&this._previousActiveElement&&this._previousActiveElement.focus(),this._focusMe(n)}}}return _.default=v,_.default},A,x),A.exports=w},88723:(A,x,a)=>{var T,w;T=[a(32063),a(44622)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=C(h);return g.default=_,g.default},A,x),A.exports=w},51182:(A,x,a)=>{var T,w;T=[a(57246),a(44622),a(70348)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v={baseStyle:"mw-table-cell mw-table-text-full",cellType:g.cellType.EDITABLE_TABLE_CELL},f=C(h,v);return _.default=f,_.default},A,x),A.exports=w},86246:(A,x,a)=>{var T,w;T=[a(19423),a(29619),a(81022),a(11104),a(79424),a(11779),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};let d=null;const n=(p,E)=>{const m=E||h;return new m(p,{})},i=(p,E)=>{let m;return typeof p.editProcessing=="object"&&typeof E.editProcessing=="object"?m=Object.entries(p.editProcessing).toString()===Object.entries(E.editProcessing).toString():m=p.editProcessing===E.editProcessing,p.value===E.value&&m},o=p=>{const{CustomEditor:E,editProcessing:m,editTrigger:y,handleEditComplete:b,handleEditCanceled:I,handleEditValidation:S,handleProcessEdit:R,eventCallback:N,useEditorRendererDataFields:O,isTreeCell:L,isCustomHeight:U,cellRef:z,metaData:$={}}=p,{value:W}=p,V=u.useRef(),K=8,M=12,B=4,P=22,k=_().getDisplayValue(W,g.EDITOR,O),H=U&&z?z.offsetHeight:null;H&&(z.style.height=H+"px");const Y=H?{height:H-B+"px"}:null,G=L?K:M,[Q]=u.useState(k),[J,q]=u.useState(!1),oe=[],ie=(te,ne)=>{if(!d){d=n(te,E),V.current.appendChild(d.getDomNode(te,ne)),oe.push(d.on("editComplete",se=>c(se,pe,V.current,ce))),oe.push(d.on("editCanceled",se=>c(se,I,V.current,ce))),oe.push(d.on("editValidation",se=>S(se))),oe.push(d.on("processEdit",se=>R(se))),d.setFocus();const re=d._domNode&&d._domNode.querySelector("input");if(H&&re&&H-G>P&&(re.style.height=H-G+"px"),y){const se=d.getDomNode(te,ne).getElementsByClassName("mwTableTextEditor")[0];se&&l(y,se)}}},pe=te=>{const{oldValue:ne,valueToSave:re}=_().getValueToSave(W,te.newValue,g.EDITOR,O);return te.oldValue=ne,te.newValue=re,b(te)},ce=()=>{H&&(z.style.height="auto"),oe&&oe.forEach(te=>te.remove()),V.current&&V.current.contains(document.activeElement)&&(z?z.focus():C.setFocusCache(N)),d&&d.destroy&&d.destroy(),d=null};return u.useLayoutEffect(()=>(ie(k,$),()=>{ce()}),[]),u.useLayoutEffect(()=>{Q!==k&&I&&I()},[k]),u.useLayoutEffect(()=>{const te=d&&d.update,ne=m&&m.validationResult,re=m&&!m.validationResult;q(!!re),te&&ne&&e(m,d)},[m]),u.createElement(u.Fragment,null,u.createElement(f,{loading:J,style:Y}),u.createElement("span",{className:J?"mw-table-indicator-hide":"",ref:V,onMouseDown:t}))};r.default=u.memo(o,i);function c(p,E,m,y){if(y(),s(m)){E(p);return}v.toPromise().then(()=>E(p))}function e(p,E){const{validationResult:m,newValue:y}=p;m.validatedData=y,E.update(p.oldValue,{validationResult:m})}function t(p){p.stopPropagation()}function s(p){return p&&p.contains(document.activeElement)||!1}function l(p,E){let m=!1;function y(){m=!0}E.addEventListener("keypress",y),setTimeout(function(){m||(E.value===p.value&&(E.value=""),E.value=p.value),E.removeEventListener("keypress",y)},0)}return r.default},A,x),A.exports=w},81673:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(88577),a(94362),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u extends v.Component{createFloatingContent(d,n=g.PUBLIC.TOOLTIP_COMPONENT,i){if(n===g.PUBLIC.TOOLTIP_COMPONENT){i.referenceNode=d;const o=_(i);document.body.appendChild(o),this._currentFloatingContent={instance:o,type:n,refNode:d,destroy:()=>{o.destroy()}}}else throw new Error(`Invalid floating content component ${n} provided.`)}destroyFloatingContent(){this._currentFloatingContent&&(this._currentFloatingContent.destroy(),delete this._currentFloatingContent)}updateContentAndFocusRefNode(){this._currentFloatingContent.instance.requestUpdate(),this._currentFloatingContent.instance.updateComplete.then(()=>{this._currentFloatingContent.refNode.focus({preventScroll:!0})})}shouldDisplayFloatingContent(d=g.PUBLIC.DISPLAY_ALWAYS,n){return d===g.PUBLIC.DISPLAY_ALWAYS||d===g.PUBLIC.DISPLAY_WHEN_TRUNCATED&&n}_sameAsCurrentRefNode(d){return this._currentFloatingContent&&this._currentFloatingContent.refNode===d}_subscribeToDismissal(){this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:d=>{(d===!0||this._sameAsCurrentRefNode(d.refNode))&&this.destroyFloatingContent()},subscriberId:C.subscriber.FLOATING_CONTENT_LEAVE,subscribeTo:C.publisher.FLOATING_CONTENT_DISMISS,noRender:!0})}_handleCellEnterMessage(d){const n=d.trigger===g.TRIGGER.FOCUS,i=!this._sameAsCurrentRefNode(d.refNode);let o=!1;this.shouldDisplayFloatingContent(d.displayCriteria,d.isTruncated)&&(this._currentFloatingContent&&i&&this.destroyFloatingContent(),this._currentFloatingContent||(this.createFloatingContent(d.refNode,d.component,d.configObj),o=!0)),n&&(o?this.updateContentAndFocusRefNode():d.refNode.focus({preventScroll:!0}))}componentDidMount(){this._currentFloatingContent=null,this._subscribeToDismissal(),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._handleCellEnterMessage.bind(this),subscriberId:C.subscriber.FLOATING_CONTENT_ENTER,subscribeTo:C.protected.publisher.CELL_ENTER,noRender:!0})}render(){return null}}return f.default=u,f.default},A,x),A.exports=w},63304:(A,x,a)=>{var T,w;T=[a(41139),a(37881),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v extends h{_handleMouseEnter(u){super._handleMouseEnter(u,C.GROUPED_COLUMN_HEADER)}}return _.default=v,_.default},A,x),A.exports=w},98763:(A,x,a)=>{var T,w;T=[a(97154),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _ extends C.Component{constructor(){super(),this._handleMouseDown=this._handleMouseDown.bind(this),this._handleClick=this._handleClick.bind(this)}shouldComponentUpdate(f){return f.sorted!==this.props.sorted}_handleMouseDown(f){f.stopPropagation()}_handleClick(){const f=this.menuRef.getBoundingClientRect();this.props.eventCallback(h.protected.HEADER_CLICKED,{columnIndex:this.props.colIndex,colStartIndex:this.props.colStartIndex,colEndIndex:this.props.colEndIndex,bottomRect:window.pageYOffset+f.bottom,leftRect:window.pageXOffset+f.left,noRender:!0})}render(){const{colIndex:f,sorted:u,colStartIndex:r,colEndIndex:d}=this.props;return C.createElement("div",{className:"mwTableHeaderMenuAffordanceContainer",onMouseDown:this._handleMouseDown,onClick:this._handleClick},C.createElement("div",{"data-affordance-index":f,ref:n=>{this.menuRef=n},"data-sorted":u,colStartIndex:r,colEndIndex:d,className:"mwTableHeaderMenuAffordance"}))}}return g.default=_,g.default},A,x),A.exports=w},62953:(A,x,a)=>{var T,w;T=[a(38634),a(97154),a(89019),a(43952),a(99268),a(19413),a(25731),a(56744),a(81432),a(41139),a(63304),a(59108)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o){"use strict";var c={};const t=(R,N,O)=>{let L=Math.max(R.columns.start,N.columns.start),U=Math.min(R.columns.end,N.columns.end);for(let z=L;z<=U;z+=1)O.mapping[z]=o.selection.SELECTED},s=R=>{let{metadata:N={selections:[]},viewBuffer:O}=R,L=N.selections||[],U={count:0,mapping:[]};for(let z=0;z<L.length;z+=1)L[z].columns.start<=O.columns.end&&L[z].columns.end>=O.columns.start&&t(L[z],O,U);return z=>U.mapping[z]||0},l=(R,N,O)=>{let{label:L,styleData:U,headerRenderer:z,headerEditor:$,columnId:W,fillContainerWidth:V,columnHeaderIndex:K}=R,{eventCallback:M,logicalColWidth:B,colResize:P,colMenuAffordance:k,dragColumns:H,collapseColumn:Y,sorted:G=[],sortable:Q,clearSort:J,colEditState:q,cellEditState:oe,scrollNodeIntoView:ie,groupedColumnHeaders:pe,setAvatar:ce,canDrop:te,hideColumnHeader:ne,displayColumnIndex:re,displayColumnIndexOnly:se,widgetType:ge,treeColumnIndex:he,widgetId:fe,freezeColumnConfig:me,dragAffordance:De,selectHeaders:Ie}=O;U=U||{};let je=(G[R._index]||{}).order,dt;dt=$&&!se?n:u,pe&&(dt=i);let yt=se?K.toString():L,kt={headerEditor:$,headerRenderer:z,cellEditState:oe,colEditState:q===W},Rt=h.createElement(dt,{headerMeta:R,fillContainerWidth:V,collapseColumn:Y,key:R._index,logicalColWidth:B,setAvatar:ce,colIndex:R._index,colIndexEnd:R._index,styleData:U,eventCallback:M,colSelectionMap:N,sorted:je,colResize:P,colMenuAffordance:k,sortable:Q,clearSort:J,name:yt,columnId:W,scrollNodeIntoView:ie,dragColumns:H,selectHeaders:Ie,dragAffordance:De,displayColumnIndex:re,displayColumnIndexOnly:se,hideColumnHeader:ne,widgetType:ge,canDrop:te,treeColumnIndex:he,widgetId:fe,freezeColumnConfig:me});return se||(Rt=p(Rt,kt)),Rt},p=(R,N)=>h.cloneElement(R,N),E=R=>{let{headers:N,spanningColumnHeaders:O={},freezeColumnHeaders:L=[]}=R,U=[],z=s(R),$;for(let W=0;W<L.length;W+=1)U.push(l(L[W],z,R));for(let W=0;W<N.length;W+=1)U.push(l(N[W],z,R));return Object.keys(O).length&&($=r.makeColumnHeaderGroup(O,U,R)),$||U},m=R=>{let N=0;return R&&(R.width&&Object.prototype.hasOwnProperty.call(R.width,"value")?N=R.width.value:R.styleData&&Object.prototype.hasOwnProperty.call(R.styleData,"maxWidth")&&(N=R.styleData.maxWidth)),Number(N)},y=R=>R.tagName.toUpperCase()==="TH"?R:R.parentNode?y(R.parentNode):null,b=R=>R.width&&R.width.unit==="%",I=R=>{let N=R?R.closest("div"):null,O="";N&&(O=N.className);let L=_.REORDER_COLUMN_SELECTOR_HEADER;return O.includes(L)};class S extends h.Component{constructor(){super(),this._headerRow={affordanceWidth:0},this._geomObjectX={scrollLeft:0,translateX:0},this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._headerContainerScrollLeft=0,this._rowHeaderWidth=0,this._headerRowTableScrollWidth=0}_getHeaderRects(){const N=this.theadRef.childNodes[0].querySelectorAll("[data-col-index]");let O={};for(let L=0;L<N.length;L+=1){let U=N[L].getAttribute("data-col-index"),z=N[L].getAttribute("data-col-index-end"),$=N[L].getBoundingClientRect(),W=parseInt(U,10),V=parseInt(z,10);for(let K=W;K<=V;K+=1)O[K]=$}return O}_publishMinHeight(){let N=this.tableRef.offsetHeight;return()=>(N=Math.min(N,this.tableRef.offsetHeight),N)}_setFitWith(){const N=this.headerRef.parentNode;this.props.flexWidth==="100%"&&(N.style.maxWidth="none")}_setComputedWidth(){if(this.props.fitLastColumn)return this._setFitWith();let N=this.props.tableAffordanceWidth||this._headerRow.affordanceWidth||0;const O=this.headerRef.parentNode;if(this.props.flexWidth==="100%")O.style.maxWidth="none";else if(this._headerRowTableScrollWidth>0){let L=this._headerRowTableScrollWidth+this._rowHeaderWidth+N;if(this.props.collapseColumn){let U=this._getTotalWidthOfPagedHeaders(this.props.headers);U>0&&U<L&&(L=U+this._rowHeaderWidth+N+2)}O.style.maxWidth=L+"px"}}_getTotalWidthOfPagedHeaders(N){let O=0;for(let L=0;L<N.length;L+=1){let U=m(N[L]);O+=U}return O}_setAffordanceWidth(N=0){this._headerRow.affordanceWidth=N;let O=this.headerRef.childNodes;N===0?(O[O.length-1].style.width="0px",O[O.length-1].classList.remove("mw-table-top-right-affordance")):(O[O.length-1].style.width=N+"px",O[O.length-1].classList.add("mw-table-top-right-affordance")),this._setComputedWidth()}componentDidUpdate(N){this._alignHeaderAndBodyScroll(N),this._setComputedWidth()}_getGeomObject(N){let O={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(N,O),this._geomObjectX=O.result||this._geomObjectX}_getHeaderRowWidth(){if(this._getGeomObject(C.internal.TABLE_WIDTH),this._geomObjectX.physicalWidth>=0)return this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>2||this.colHeaderContainer.scrollWidth===0?this.props.hideColumnHeader===!0&&this.colHeaderContainer.scrollWidth===0&&this.props.columnClass!=="mw-tbody-paged-columns"||this.props.headers.every(b)&&this.props.totalLogicalWidth<=this.colHeaderContainer.clientWidth&&this.props.columnClass!=="mw-tbody-paged-columns"?"100%":this._geomObjectX.physicalWidth:"100%";{let N;if(this.colHeaderContainer.scrollWidth-this.colHeaderContainer.clientWidth>2)N=this.colHeaderContainer.scrollWidth-2;else{if(this.props.flexWidth==="100%")return"100%";N=this.colHeaderContainer.clientWidth}return N||0}}_getTranslateX(){return this._getGeomObject(C.internal.COMPUTE_TRANSLATEX),this._geomObjectX.translateX}_setScrollLeft(N){this._headerContainerScrollLeft!==N&&(this.colHeaderContainer.scrollLeft=N,this._headerContainerScrollLeft=this.colHeaderContainer.scrollLeft)}_setTranslateX(N){let O="translateX("+N+"px)";this.theadRef.style.transform=O,this.theadRef.style.webkitTransform=O;const{freezeColumnConfig:L}=this.props;L&&this._updateFrozenHeaderCellLeftPosition(N,L)}_updateFrozenHeaderCellLeftPosition(N,O){let L=0;const U={};for(let z=0;z<=O.range.columns.end;z++){const $=this.theadRef.querySelector(`th[data-col-index="${z}"]`);$&&(U[z]={previousColumnsWidth:L,node:$},L+=parseInt(window.getComputedStyle($).width.split("px")[0]))}Object.keys(U).forEach(z=>{U[z].node.style.left=-N+U[z].previousColumnsWidth+"px"})}_setTableWidth(N){N>0?(this.tableRef.style.width=N+"px",this.tableRef.style.minWidth=N+"px",this.tableRef.style.maxWidth=N+"px"):this.props.fitLastColumn&&N==="100%"?(this.tableRef.style.width=N,this.tableRef.style.minWidth=N,this.tableRef.style.maxWidth=N):N==="100%"&&(this.tableRef.style.width=this.props.flexWidth,this.tableRef.style.minWidth=this.props.flexWidth,this.tableRef.style.maxWidth=this.props.flexWidth)}_handleMouseDown(N){let O=y(N.target);O&&O.classList.contains("mw-table-header-column")&&!O.classList.contains("mw-table-spanning-column-header")&&N.button===v.MOUSE_LEFT_BUTTON&&(I(N.target)||(this.colHeaderContainer.classList.add("mw-table-header-row-drag-tracking"),f.addTrackingTo(this.colHeaderContainer.getBoundingClientRect(),this.props.eventCallback,{colsOnly:!0})))}_handleMouseUp(N){this.colHeaderContainer.classList.remove("mw-table-header-row-drag-tracking")}_publishHeaderRowTableScrollWidth(){return this.tableRef.scrollWidth}_setHeaderRowTableScrollWidth(N){this._headerRowTableScrollWidth=N}_setRowHeaderWidth(N){this._rowHeaderWidth=N}componentDidMount(){let{scrollNodeIntoView:N={}}=this.props;N.container=this.colHeaderContainer,this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setHeaderRowTableScrollWidth.bind(this),subscriberId:g.subscriber.HEADER_ROW_NEEDS_HEADER_ROW_SCROLL_WIDTH,subscribeTo:g.publisher.HEADER_ROW_SCROLL_WIDTH,noRender:!0}),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setRowHeaderWidth.bind(this),subscriberId:g.subscriber.HEADER_ROW_NEEDS_ROW_HEADER_WIDTH,subscribeTo:g.publisher.ROW_HEADER,noRender:!0}),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setAffordanceWidth.bind(this),subscriberId:g.subscriber.HEADER_RIGHT_AFFORDANCE,subscribeTo:g.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.headerRef.parentElement),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:O=>{this.headerRef.style.minHeight=O+"px"},subscriberId:g.subscriber.HEADER_MIN_HEIGHT,subscribeTo:g.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(C.internal.NODE_PUBLISH,{publisherFn:this._getTranslateX.bind(this),publisherId:g.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(C.internal.NODE_PUBLISH,{publisherFn:this._getHeaderRowWidth.bind(this),publisherId:g.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(C.internal.NODE_PUBLISH,{publisherFn:this._publishMinHeight().bind(this),publisherId:g.publisher.HEADER_ROW_HEIGHT,noRender:!0}),this.props.eventCallback(C.internal.NODE_PUBLISH,{publisherFn:this._publishHeaderRowTableScrollWidth.bind(this),publisherId:g.publisher.HEADER_ROW_SCROLL_WIDTH,noRender:!0}),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:g.subscriber.HEADER_TRANSFORMX,subscribeTo:g.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollLeft.bind(this),subscriberId:g.subscriber.HEADER_SCROLL_LEFT,subscribeTo:g.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(C.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:g.subscriber.HEADER_WIDTH,subscribeTo:g.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(C.protected.HEADER_RECTS,{children:this._getHeaderRects.bind(this),noRender:!0}),this._setComputedWidth()}_getTopLeftHeaderValue(N){return N.text||N.value}_getTopLeftHeaderRenderer(N){return N&&N.renderer?N.renderer:void 0}_alignHeaderAndBodyScroll(N){N.hideColumnHeader===!0&&this.props.hideColumnHeader===!1&&this.colHeaderContainer.scrollLeft!==this._geomObjectX.scrollLeft&&(this.colHeaderContainer.scrollLeft=this._geomObjectX.scrollLeft)}render(){let{topLeftRowHeaderLabel:N,flexWidth:O,displayRowHeader:L,columnClass:U,eventCallback:z,hideColumnHeader:$}=this.props,W=E(this.props),V={display:"flex",width:"100%"},K={minWidth:O,maxWidth:O,width:O},M=U+" mw-table-header-thead",B=($?"mw-table-header-hidden ":"")+"mw-table-flex-container mw-table-header-wrapper";return h.createElement("div",{ref:P=>{this.headerRef=P},className:B},L&&h.createElement(d,{topLeftRowHeaderValue:this._getTopLeftHeaderValue(N),topLeftRowHeaderRenderer:this._getTopLeftHeaderRenderer(N),eventCallback:z}),h.createElement("div",{className:"mw-table-flex-dynamic-item",onMouseDown:this._handleMouseDown,onMouseUp:this._handleMouseUp,ref:P=>{this.colHeaderContainer=P}},h.createElement("table",{ref:P=>{this.tableRef=P},style:K,className:"mw-table-header"},h.createElement("thead",{ref:P=>{this.theadRef=P},className:M},h.createElement("tr",{role:"row",style:V,className:"mw-table-header-row"},W)))),h.createElement("div",null))}}return c.default=S,c.default},A,x),A.exports=w},90978:(A,x,a)=>{var T,w;T=[a(62953),a(33828)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=C(h);return g.default=_,g.default},A,x),A.exports=w},3474:(A,x,a)=>{var T,w;T=[a(58738),a(546),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v=()=>{},f=u=>{const{indexDisplay:r,rowHeight:d,rowMetaData:n,eventCallback:i,additionalClass:o=[],onMouseDown:c=v,onMouseUp:e=v,onContextMenu:t=v,rowIndex:s,hasLabels:l,lastRowIndex:p}=u,E=g.useRef(),{indexWidth:m,setIndexWidth:y}=g.useContext(h),b={width:m+"px"},I=["mw-table-row-header-cell","mw-text-center","mw-cell-border-right",...o];return d&&(b.minHeight=d+"px"),n&&n.value&&n.value.rowHeight&&(b.height=d+"px"),g.useEffect(()=>{p===s&&E.current.scrollWidth>E.current.clientWidth&&y(E.current.scrollWidth+C.getHeaderPaddingSize())},[p,l]),g.createElement("div",{ref:E,style:b,key:s,"data-index":s,"data-test-id":"mw-row-header-index",rowIndex:s,onMouseDown:c,onMouseUp:e,onContextMenu:t,eventCallback:i,className:I.join(" ")},g.createElement("div",{className:"mw-table-force-flex-padding-right"},r))};return _.default=f,_.default},A,x),A.exports=w},19488:(A,x,a)=>{var T,w;T=[a(3474),a(91753),a(60871),a(37881)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=C(g(h,_.ROW_HEADER));return v.default=f,v.default},A,x),A.exports=w},63688:(A,x,a)=>{var T,w;T=[a(38634),a(57246),a(6939),a(70348)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f={baseStyle:"mw-table-cell",cellType:_.cellType.INTERACTIVE_TABLE_CELL},u=g(C,f);return v.default=u,v.default},A,x),A.exports=w},3059:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(66296),a(78320),a(44795),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r=n=>n.preventDefault();class d extends f.Component{constructor(i){super(i),this.state=i,this.scrollAffordanceWidth=0,this._handleResize=this._handleResize.bind(this),this._handleKeyDown=this._handleKeyDown.bind(this),this._handleFocus=this._handleFocus.bind(this),this._handleBlur=this._handleBlur.bind(this),this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._stopToggle=!1,this._handleClipboardCopy=this._handleClipboardEvent.bind(this,h.internal.CLIPBOARD_COPY),this._handleClipboardCut=this._handleClipboardEvent.bind(this,h.internal.CLIPBOARD_CUT),this._handleClipboardPaste=this._handleClipboardEvent.bind(this,h.internal.CLIPBOARD_PASTE)}_handleMouseUp(i){this.myOuterWrapper.removeEventListener("selectstart",r)}_handleMouseDown(i){i.shiftKey&&this.myOuterWrapper.addEventListener("selectstart",r)}_handleKeyDown(i){switch(i.keyCode){case g.ARROW_UP:case g.ARROW_DOWN:case g.ARROW_RIGHT:case g.ARROW_LEFT:case g.PAGE_UP:case g.PAGE_DOWN:case g.END:case g.HOME:case g.SPACE:i.preventDefault(),i.stopPropagation();break;case g.ALT:case g.SHIFT:case g.CTRL:case g.META:return}this.props.eventCallback&&(this.props.eventCallback(h.protected.KEY_PRESS,{nativeEvent:i,keyCode:i.keyCode,meta:i.metaKey,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,eventCallback:this.props.eventCallback}),this.props.eventCallback(h.protected.NODE_NOTIFY,{publisherFn:()=>!0,publisherId:C.publisher.TOOLTIP_DISMISS,noRender:!0}),this.props.eventCallback(h.protected.NODE_NOTIFY,{publisherFn:()=>!0,publisherId:C.publisher.FLOATING_CONTENT_DISMISS,noRender:!0}))}_handleFocus(i){this.props.eventCallback&&this.props.eventCallback("tableFocus",{target:i.target,noRender:!0}),this.setState({wrapperClass:"mw-table-outer-wrapper mw-table-outer-wrapper-focused"})}_handleBlur(){(!this.state.editState||this.state.editProcessing)&&this.state.wrapperClass!=="mw-table-outer-wrapper-blurred"&&this.setState({wrapperClass:"mw-table-outer-wrapper-blurred"})}_handleResize(i){this.myOuterWrapper&&this.state.eventCallback(h.internal.TABLE_RESIZE,{container:i})}_isTableCellOrRowActive(i){if(i.scrollComponent&&i.scrollComponent.props&&i.scrollComponent.props.children&&i.scrollComponent.props.children.props&&i.scrollComponent.props.children.props.table&&i.scrollComponent.props.children.props.table.props&&i.wrapperClass){const o=i.scrollComponent.props.children.props.table.props,c=o.focused?Object.getOwnPropertyNames(o.focused).length:0,e=o.metadata&&o.metadata.selections?o.metadata.selections.length:0,{wrapperClass:t,editState:s}=i;if((c>0||e>0||s)&&t.indexOf("mw-table-outer-wrapper-focused")!==-1)return!0}return!1}_setScrollAffordanceWidth(i){i!==this.scrollAffordanceWidth&&i>0&&(this.myOuterWrapper.classList.add("mw-table-has-vertical-scroll"),this.scrollAffordanceWidth=i),i<=0&&(this.myOuterWrapper.classList.remove("mw-table-has-vertical-scroll"),this.scrollAffordanceWidth=i)}componentDidUpdate(){this.state.eventCallback(h.protected.FORCE_LAYOUT,{noRender:!0}),this.myOuterWrapper.contains(document.activeElement)||this._handleBlur(),this.state.isTableDisabled&&this.state.isTableDisabled()?(this.state.wrapperClass==="mw-table-outer-wrapper"&&(document.activeElement.blur(),this._handleBlur()),this.myOuterWrapper.removeAttribute("tabindex")):this.myOuterWrapper.setAttribute("tabindex","0"),this._isTableCellOrRowActive(this.state)&&this.setState({wrapperClass:"mw-table-outer-wrapper"})}componentDidMount(){this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceWidth.bind(this),subscribeTo:C.publisher.SCROLL_BAR_WIDTH,subscriberId:C.subscriber.TABLE_HAS_VERT_SCROLL,noRender:!0}),document.addEventListener("cut",this._handleClipboardCut,!1),document.addEventListener("copy",this._handleClipboardCopy,!1),document.addEventListener("paste",this._handleClipboardPaste,!1)}componentWillUnmount(){document.removeEventListener("cut",this._handleClipboardCut,!1),document.removeEventListener("copy",this._handleClipboardCopy,!1),document.removeEventListener("paste",this._handleClipboardPaste,!1)}_isTableActive(){let i=!1;if(this.myOuterWrapper)i=this.myOuterWrapper.contains(document.activeElement);else{const o=document.activeElement.classList;for(let c=0;c<o.length;c++)if(/mw-table.*/.test(o[c]))return i=!0,i}return i}_handleClipboardEvent(i,o){this._isTableActive()&&this.props.eventCallback&&this.props.eventCallback(i,{nativeEvent:o,eventCallback:this.props.eventCallback})}focus(){this.myOuterWrapper&&this.myOuterWrapper.focus()}render(){let{header:i,scrollComponent:o,component:c,dataTestId:e,wrapperClass:t,isTableDisabled:s,selectHeaders:l=()=>0,selectRowHeaders:p,gridStyle:E}=this.state;const m=!!s&&s();t=t||"mw-table-outer-wrapper-blurred";const y=[t];return E&&Object.prototype.hasOwnProperty.call(v,E.value)&&y.push(v[E.value]),l()&&y.push("mw-table-select-headers"),p&&y.push("mw-table-select-row-headers"),this.scrollAffordanceWidth>0&&y.push("mw-table-has-vertical-scroll"),f.createElement("div",{className:"mw-table-component mw-table-scoped"},f.createElement("div",{ref:b=>{this.myOuterWrapper=b},tabIndex:"0","data-test-id":e,className:y.join(" "),onKeyDown:this._handleKeyDown,onFocusCapture:this._handleFocus,onBlur:this._handleBlur,onMouseDownCapture:this._handleMouseDown,onMouseUp:this._handleMouseUp},i,o,f.createElement(c.tooltip,this.props),f.createElement(c.floatingContent,this.props)),f.createElement(_,{disabled:m}))}}return u.default=d,u.default},A,x),A.exports=w},66584:(A,x,a)=>{var T,w;T=[a(79411),a(2090),a(81022),a(11104),a(90290),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r=(n,i,o,c,e,t)=>{if(n){const s=n.getDomNode(o,c,e,t);return s&&s.nodeType===3&&v.warn("The DOM node provided to the cell renderer should not be a text node. Certain features such as styling and expand/collapse may not function as expected. Please verify your custom renderers are returning DOM element nodes."),s&&i&&(s.className=i),s}return null},d=n=>{const i=f.useRef(),{renderer:o,eventCallback:c,metaData:e,treeNodeRendererClassName:t="",noToolTip:s=!1,treeCellContentClassName:l="",useEditorRendererDataFields:p,searchNavigationData:E,index:m}=n,{value:y,targetNode:b}=n,{handleMouseOverWithRenderer:I}=h(c),S=_().getDisplayValue(y,g.RENDERER,p),R=s?()=>{}:O=>I(O.target,"customRender",S,o,b);f.useLayoutEffect(()=>{const O=r(o,l,S,e,E,m);O&&i.current&&!i.current.firstChild?i.current.appendChild(O):O&&i.current&&i.current.firstChild&&C.replaceFirstNode(i.current,O,i.current.firstChild)},[S,o,e]);const N=[t,"mw-table-cell-span"];return f.createElement("span",{className:N.join(" "),ref:i,onMouseOver:R})};return u.default=d,u.default},A,x),A.exports=w},93126:(A,x,a)=>{var T,w;T=[a(66584),a(9747),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v=(f,u)=>{const r=C.isDeepEqual(f.value,u.value),d=C.isDeepEqual(f.metaData,u.metaData),n=f.useEditorRendererDataFields===u.useEditorRendererDataFields,i=f.renderer===u.renderer,o=C.searchNavigationDataUpdated(f,u);return r&&d&&n&&i&&!o};return _.default=g.memo(h,v),_.default},A,x),A.exports=w},3177:(A,x,a)=>{var T,w;T=[a(49118),a(97154),a(63520),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends _.Component{constructor(){super(),this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseUp=this._handleMouseUp.bind(this),this._borderResize=!1}static createComponent(r,d){let{eventCallback:n,colIndex:i,colStartIndex:o,rowIndex:c}=r;return o=o||i,_.createElement(f,{key:"resize.col"+i+"row"+c+d,cellResizeLocation:d,colIndex:o,rowIndex:c,eventCallback:n})}_handleMouseDown(r){document.addEventListener("mouseup",this._handleMouseUp),window.addEventListener("blur",this._handleMouseUp);const d={resize:!0,location:this.props.cellResizeLocation,x:r.x,y:r.y};this.props.eventCallback(C.protected.RESIZE_SELECTION_BEGIN,d),this._borderResize=!0}_handleMouseUp(r){document.removeEventListener("mouseup",this._handleMouseUp),window.removeEventListener("blur",this._handleMouseUp),this._borderResize=!1,this.props.eventCallback(C.protected.RESIZE_SELECTION_END,{resize:!1})}_getClassFromLocation(r){let d="mw-table-resize-selection-affordance-top";return r===g.BOTTOM&&(d="mw-table-resize-selection-affordance-bottom"),r===g.LEFT&&(d="mw-table-resize-selection-affordance-left"),r===g.RIGHT&&(d="mw-table-resize-selection-affordance-right"),d}componentDidMount(){this.reactRef&&this.reactRef.tagName&&this.reactRef.addEventListener("mousedown",this._handleMouseDown)}componentWillUnmount(){this.reactRef&&this.reactRef.tagName&&this.reactRef.removeEventListener("mousedown",this._handleMouseDown)}render(){const{cellResizeLocation:r,colIndex:d,rowIndex:n}=this.props,i=this._getClassFromLocation(r);return _.createElement("div",{ref:o=>{this.reactRef=o},"data-test-id":h.RESIZE_SELECTION_AFFORDANCE,"data-resize-column":d,"data-resize-row":n,"data-resize-location":r,className:i})}}return v.default=f,v.default},A,x),A.exports=w},22563:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(59723),a(546),a(18598),a(79424),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=_.getRowHeaderMaxWidth(),n=new g,i=(e,t)=>{let{viewBuffer:s,headerRenderer:l}=e;const p=s.rows.start,E=s.rows.end,m=[];if(E-p+1>0){const{rowMetaData:b}=e,I=_.getLabels(b,p,E);l=l||n,I.forEach(S=>{S.label=S.label||" ",m.push({key:S.rowIndex,rowIndex:S.rowIndex,headerRenderer:l,isMaxWidth:t,label:S.label})})}return m},o=(e,t,s,l,p,E)=>{const m=[],y=l.rowMetaData&&l.rowMetaData[0],b=S=>{if(S&&S.value&&(S.value.id!==void 0||S.value.id!==null))return S.value.id},I=(S,R)=>{if(S&&S.value&&S.value.rowHeight){const N=E&&E[R]&&E[R].height?E[R].height:l.rowHeight;return S.value.rowHeight==="auto"?N:S.value.rowHeight}return l.rowHeight};for(let S=e;S<=t;S++){const R=s[S-e],N=u.createElement(v,{headers:R,rowIndex:S,lastRowIndex:t,enableEdit:l.enableEdit,displayRowHeaderIndices:l.displayRowHeaderIndices,key:S,eventCallback:l.eventCallback,scrollNodeIntoView:l.scrollNodeIntoView,rowHeight:I(y(S),S),rowMetaData:y(S),rowEditState:l.rowEditState,rowSelectionMap:p,widgetId:l.widgetId,canDragToSelect:l.canDragToSelect,selectionById:l.metadata&&l.metadata.selectionById,rowId:b(y(S)),widgetType:l.widgetType});m.push(N)}return m};class c extends u.Component{constructor(t){super(t),this.state={topLeftWidth:0,isMaxWidth:!1},this.heightOfRows=[],this.translateY=0,this.makeRowHeader=this.makeRowHeader.bind(this),this._rowHeaderWidth=0}_setWidth(t){this._rowHeaderWidth=t,this.rowHeader.style.width=this._rowHeaderWidth+"px"}_getRowHeaderWidth(){return Math.min(this.rowHeader.scrollWidth,d)}makeRowHeader(t){const{rowMetaData:s}=this.props,l=[];return s&&s.length>0&&l.push(i(this.props,t)),f.transpose(l)}componentDidUpdate(){const t=this._getRowHeaderWidth();t>=d&&!this.state.isMaxWidth?this.setState({isMaxWidth:!0}):t<d&&this.state.isMaxWidth&&this.setState({isMaxWidth:!1}),this._setWidth(t)}componentDidMount(){this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:t=>{t>d&&(t=d),this.setState({topLeftWidth:t})},subscriberId:C.subscriber.ROW_HEADER,subscribeTo:C.publisher.TOP_LEFT_ROW_HEADER,noRender:!0}),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:t=>{this.heightOfRows=t},subscriberId:C.subscriber.ROW_HEADER_HEIGHTS,subscribeTo:C.publisher.ROW_HEIGHTS,noRender:!0}),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:t=>{this.translateY=t.translateY||0},subscriberId:C.subscriber.ROW_HEADER_TRANSFORM_Y,subscribeTo:C.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:()=>this._rowHeaderWidth,publisherId:C.publisher.ROW_HEADER,noRender:!0}),this._setWidth(this._getRowHeaderWidth())}render(){let{scrollPos:t,rowHeaderHeight:s,viewBuffer:l}=this.props,p={},E={};const m=this.makeRowHeader(this.state.isMaxWidth),y=_.getSelectionMap(this.props),b=this.state.topLeftWidth;return typeof t=="number"&&(p={height:s},t=this.translateY,E={minWidth:b+"px",transform:"translateY("+t+"px)",WebkitTransform:"translateY("+t+"px)"}),u.createElement("div",{className:"mw-table-row-header","data-test-id":"mw-table-row-header",style:p},u.createElement("div",{ref:I=>{this.rowHeader=I},className:"mw-table-tbody-row-header",style:E},o(l.rows.start,l.rows.end,m,this.props,y,this.heightOfRows)))}}return r.default=c,r.default},A,x),A.exports=w},47015:(A,x,a)=>{var T,w;T=[a(49118),a(66584),a(86246),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=(d,n)=>d===n?"mw-table-flex-cell-edit":"",u=()=>{};class r extends _.PureComponent{render(){const{rowIndex:n,rowHeight:i,editState:o,rowMetaData:c,isMaxWidth:e,scrollNodeIntoView:t,additionalClass:s=[],onMouseDown:l=u,onMouseUp:p=u,onContextMenu:E,label:m="",eventCallback:y,enterEditMode:b,headerRenderer:I,handleEditComplete:S,handleEditCanceled:R}=this.props;let N={};const O=["mw-table-row-header-cell","mw-table-flex-cell-full-width","mw-cell-border-right",...s];i&&(N={minHeight:i+"px"},c&&c.value&&c.value.rowHeight&&(N.height=i+"px")),O.push(f(o,n));let L=["mw-table-force-flex-padding-right"];(o===n||e)&&(L=[]);const U=()=>{b&&t.scrollIntoVerticalView(this.headerRef).then(()=>b())},z=()=>o===n?_.createElement(g,{value:m,key:`edit-${n}`,eventCallback:y,handleEditCanceled:R,handleEditComplete:S,editType:"rowLabel"}):_.createElement(C,{value:m,key:`render-${n}`,eventCallback:y,renderer:I,targetNode:this.headerRef&&this.headerRef.firstChild});return _.createElement("div",{style:N,ref:$=>{this.headerRef=$},key:`row-header-${n}`,"data-edit-state":o,"data-label-index":n,"data-test-id":h.ROW_HEADER_LABEL,onMouseDown:l,onMouseUp:p,onContextMenu:E,onDoubleClick:U,className:O.join(" ")},_.createElement("div",{key:n,className:L.join(" ")},z()))}}return v.default=r,v.default},A,x),A.exports=w},32063:(A,x,a)=>{var T,w;T=[a(47015),a(60871),a(37881),a(91753)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=_(C(h,g.ROW_HEADER));return v.default=f,v.default},A,x),A.exports=w},18598:(A,x,a)=>{var T,w;T=[a(88723),a(32063),a(19488),a(9747),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u=r=>{const{headers:d,rowIndex:n,lastRowIndex:i,displayRowHeaderIndices:o,enableEdit:c,eventCallback:e,scrollNodeIntoView:t,rowHeight:s,rowMetaData:l,rowEditState:p,rowSelectionMap:E,widgetId:m,selectionById:y,rowId:b,canDragToSelect:I,widgetType:S}=r,R="rowLabel",N=["mw-table-flex-row"],O=d&&d.length>0||!1,L=c?h:C,U=_.getHeaderId(m,"_ROW_",n),z=O?["mw-table-header-index-font"]:["mw-table-flex-cell-full-width","mw-table-header-index-font"],$=W=>v.createElement(g,{indexDisplay:W+1,lastRowIndex:i,key:W,additionalClass:z,rowIndex:W,rowId:b,hasLabels:O,eventCallback:e,rowHeight:s,rowMetaData:l,rowSelectionMap:E,selectionById:y,canDragToSelect:I,widgetType:S});return v.createElement("div",{className:N.join(" "),"data-row-index":n,id:U},o?$(n):null,O?d.map(W=>v.createElement(L,{key:W.rowIndex,rowIndex:W.rowIndex,colIndex:W.colIndex||0,headerRenderer:W.headerRenderer,value:W.label,isMaxWidth:W.isMaxWidth,scrollNodeIntoView:t,editType:R,row:n,label:W.label,rowHeight:s,rowMetaData:l,eventCallback:e,rowSelectionMap:E,selectionById:y,rowId:b,editState:p,canDragToSelect:I,widgetType:S})):null)};return f.default=u,f.default},A,x),A.exports=w},10634:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(99268),a(37881),a(16783),a(19413),a(79424),a(29619),a(13585),a(9747),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){"use strict";var o={};class c extends i.Component{constructor(t){super(t),this.handleScroll=this.handleScroll.bind(this),this.handleWheel=this.handleWheel.bind(this),this._handleMouseDown=this._handleMouseDown.bind(this),this._getDnDSourceData=this._getDnDSourceData.bind(this),this._handleMouseDownCapture=this._handleMouseDownCapture.bind(this),this._handleRowHeaderMouseDown=this._handleRowHeaderMouseDown.bind(this),this.setTabIndex=this.setTabIndex.bind(this),this._scrollDims={},this._isSafari=n.isSafari()}_setRowHeaderScroll(){this.props.rowHeader&&(this.rowHeader.childNodes[0].scrollTop=this.scrollNode.scrollTop)}_getDnDSourceData(){return{dndSourceDataToDropOutside:this.props.dndSourceData,internalRowDndSourceData:this.props.internalRowDndSourceData}}handleWheel(t){}_isPointInHorizontalScroll(t,s,l){let p=!1;const E=l-s;return s&&t>E&&(p=!0),p}_isTargetInScrollbar(t){const s=this._getScrollAffordanceHeight(),l=this.scrollNode.getBoundingClientRect().bottom;return this._isPointInHorizontalScroll(t.clientY,s,l)}_handleMouseDownCapture(){this.scrollNode.removeAttribute("tabIndex")}_handleMouseDown(t){t.button===g.MOUSE_LEFT_BUTTON&&t.target!==this.scrollNode?f.addTrackingTo(this.scrollNode.getBoundingClientRect(),this.props.eventCallback):f.addTrackingTo(this.scrollNode.getBoundingClientRect(),()=>0);const s=this.props.dragRows||this.props.reorderRows||this.props.reparentRows,l=this.props.reparentRows||this.props.reorderRows,p=r.targetIsEditIndicator(t);if(s&&!this.props.allowDragToSelect&&!p){const E=this.props.createDnDSource(this._getDnDSourceData);l&&this.props.createDnDTarget(E,this.scrollNode)}t.button===g.MOUSE_LEFT_BUTTON&&t.target===this.scrollNode&&!this._isTargetInScrollbar(t)&&d.handleBelowDataRegionClicked(t,this._collectDataForMouseEvent())}_handleRowHeaderMouseDown(t){t.button===g.MOUSE_LEFT_BUTTON&&(f.addTrackingTo(this.rowHeaderColumn.getBoundingClientRect(),this.props.eventCallback,{rowsOnly:!0}),t.target===this.rowHeaderColumn&&!this._isTargetInScrollbar(t)&&d.handleBelowDataRegionClicked(t,this._collectDataForMouseEventRowHeader())),this.props.dragRows&&u.toPromise().then(()=>this.props.createDnDSource(this._getDnDSourceData))}setTabIndex(t){this.scrollNode.setAttribute("tabIndex","-1")}handleScroll(t){if(this.scrollNode!==t.target)return;const s={noRender:!0,target:{scrollTop:t.target.scrollTop,scrollLeft:t.target.scrollLeft}};this.props.eventCallback&&(this._setRowHeaderScroll(),this.props.eventCallback(h.internal.TABLE_SCROLL,s))}_getScrollAffordanceWidth(){const t=this.scrollNode.offsetWidth-this.scrollNode.clientWidth,s=this.scrollNode.scrollWidth>this.scrollNode.clientWidth;return this.props.eventCallback(h.internal.SCROLL_COMPONENT_UPDATED,{[C.CAN_SCROLL_HORIZONTAL]:s}),t>0?(this._scrollDims.scrollbarWidth&&t!==this._scrollDims.scrollbarWidth?this._scrollDims.scrollbarWidth=t:this._scrollDims.scrollbarWidth=this._scrollDims.scrollbarWidth||t,this._scrollDims.scrollbarWidth):0}_getScrollAffordanceHeight(){const t=this.scrollNode.offsetHeight-this.scrollNode.clientHeight;return t>0?(this._scrollDims.scrollbarHeight!==t&&(this._scrollDims.scrollbarHeight=t),this._scrollDims.scrollbarHeight):0}_setScrollAffordanceHeight(t){const s=this.rowHeader.childNodes[1];t>0?s.classList.add("mw-table-bottom-left-affordance"):s.classList.remove("mw-table-bottom-left-affordance"),s.style.height=t+"px"}_getScrollComponentDimension(){return{scrollHeight:this.scrollNode.scrollHeight,offsetHeight:this.scrollNode.offsetHeight,scrollWidth:this.scrollNode.scrollWidth,offsetWidth:this.scrollNode.offsetWidth,clientHeight:this.scrollNode.clientHeight,clientWidth:this.scrollNode.clientWidth}}_setScrollComponentScrollbarClass(t){const{scrollHeight:s,offsetHeight:l,scrollWidth:p,offsetWidth:E,clientHeight:m,clientWidth:y}=t,b=l-m,I=E-y;b>0?(this.myScrollComponent.classList.add("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar")):p>E?(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.add("mw-table-has-hidden-horizontal-scrollbar")):(this.myScrollComponent.classList.remove("mw-table-has-horizontal-scroll"),this.myScrollComponent.classList.remove("mw-table-has-hidden-horizontal-scrollbar")),I>0?this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar"):s>l?this.myScrollComponent.classList.add("mw-table-has-hidden-vertical-scrollbar"):this.myScrollComponent.classList.remove("mw-table-has-hidden-vertical-scrollbar")}_getScrollLeft(){return this.scrollNode.scrollLeft}_getScrollTop(){return this.scrollNode.scrollTop}_collectDataForMouseEventRowHeader(){const{eventCallback:t,widgetType:s}=this.props;return{component:_.EMPTY_ROW_HEADER,widget:s,eventCallback:t}}_collectDataForMouseEvent(t=null){const{eventCallback:s,widgetType:l}=this.props;return{isTargetInScrollbar:t?this._isTargetInScrollbar(t):null,component:_.EMPTY_ROW,widget:l,eventCallback:s}}componentWillUnmount(){this.destroy&&this.destroy()}componentDidMount(){const{scrollNodeIntoView:t={}}=this.props;t.scrollNode=this.scrollNode,this.props.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceHeight.bind(this),publisherId:C.publisher.SCROLL_BAR_HEIGHT,noRender:!0}),this.props.setDnDNode&&this.props.setDnDNode(this.myScrollComponent.parentElement),this.props.setupDropFromOutside&&(this.context=this.props.setupDropFromOutside(this.myScrollComponent.parentElement,this.scrollNode),this.destroy=this.context.destroy.bind(this.context)),this.props.displayRowHeader&&(this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:s=>{this.rowHeader.style.maxWidth=s+"px",this.rowHeader.style.minWidth=s+"px"},subscribeTo:C.publisher.ROW_HEADER,subscriberId:C.subscriber.ROW_HEADER_PARENT,noRender:!0}),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollAffordanceHeight.bind(this),subscribeTo:C.publisher.SCROLL_BAR_HEIGHT,subscriberId:C.subscriber.TABLE_BOTTOM_LEFT_AFFORDANCE,noRender:!0})),this.props.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:this._getScrollLeft.bind(this),publisherId:C.publisher.SCROLL_COMPONENT_LEFT,noRender:!0}),this.props.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:this._getScrollAffordanceWidth.bind(this),publisherId:C.publisher.SCROLL_BAR_WIDTH,noRender:!0}),this.props.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:this._getScrollComponentDimension.bind(this),publisherId:C.publisher.SCROLL_COMPONENT_DIMENSION,noRender:!0}),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._setScrollComponentScrollbarClass.bind(this),subscribeTo:C.publisher.SCROLL_COMPONENT_DIMENSION,subscriberId:C.subscriber.SCROLL_COMPONENT_CLASS,noRender:!0}),this.props.eventCallback(h.internal.TABLE_MOUNT,{table:this.scrollNode})}render(){const{table:t,rowHeader:s,rowHeaderWidth:l,logicalRowHeight:p}=this.props,E="mw-table-row-header-container";let m={};l&&(m={width:l+"px"});let y;s&&(y=i.createElement(v,null,i.createElement("div",{className:E,onMouseDown:this._handleRowHeaderMouseDown,onContextMenu:I=>d.handleContextMenu(I,this._collectDataForMouseEventRowHeader()),style:m,ref:I=>{this.rowHeader=I}},i.createElement("div",{ref:I=>{this.rowHeaderColumn=I},className:"mw-table-row-header-scrolling-div"},s),i.createElement("div",null))));const b=["mw-table-flex-container","mw-table-scroll-container"];return i.createElement("div",{ref:I=>{this.myScrollComponent=I},className:b.join(" "),style:{"--mw-min-height-table-cell":p}},y,i.createElement("div",{className:this._isSafari?"mw-table-inner-wrapper mw-scrolling-div mw-scrolling-promote-layer":"mw-table-inner-wrapper mw-scrolling-div","data-test-id":"scrollNode",tabIndex:"-1",onMouseDownCapture:this._handleMouseDownCapture,onMouseDown:this._handleMouseDown,onMouseUp:this.setTabIndex,onMouseLeave:this.setTabIndex,onScroll:this.handleScroll,onWheel:this.handleWheel,onContextMenu:I=>d.handleContextMenu(I,this._collectDataForMouseEvent(I)),ref:I=>{this.scrollNode=I}},t))}}return o.default=c,o.default},A,x),A.exports=w},7970:(A,x,a)=>{var T,w;T=[a(10634),a(33828)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=C(h);return g.default=_,g.default},A,x),A.exports=w},22005:(A,x,a)=>{var T,w;T=[a(58710),a(97154),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v="hiddenAfterClearSort",f="sortDescFirst";class u extends g.Component{constructor(){super(),this._handleClick=this._handleClick.bind(this),this._handleMouseLeave=this._handleMouseLeave.bind(this),this._state={didClearSort:!1}}shouldComponentUpdate(d){return d.sortClass!==this.props.sortClass||d.sortFirst!==this.props.sortFirst||d.sorted!==this.props.sorted}_handleClick(d){const{sorted:n,clearSort:i,sortType:o,sortFirst:c,colIndex:e,eventCallback:t}=this.props,s=c===void 0?"ASC":c,l=h.getNext(n,i,s),p={order:l,type:o,column:e};i&&n&&l===""?this._state.didClearSort=!0:this._state.didClearSort=!1,setTimeout(()=>t(C.protected.SORT_AFFORDANCE_CLICKED,p),0)}_handleMouseLeave(d){d.currentTarget.classList.remove("hiddenAfterClearSort"),this._state.didClearSort=!1}render(){let{colIndex:d,sorted:n,sortClass:i,clearSort:o,sortFirst:c}=this.props;return o&&this._state.didClearSort&&(i+=" "+v),c&&c==="DESC"&&(i+=" "+f),g.createElement("div",{"data-affordance-index":d,"data-sorted":n,onClick:this._handleClick,onMouseLeave:o&&this._state.didClearSort?this._handleMouseLeave:null,className:i},g.createElement("svg",{width:"8px",height:"10px",viewBox:"0 0 8 10",version:"1.1"},g.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},g.createElement("g",{transform:"translate(-246.000000, -19.000000)",fill:"var(--mw-backgroundColor-iconFill)"},g.createElement("g",{transform:"translate(250.000000, 24.000000) rotate(180.000000) translate(-250.000000, -24.000000) translate(244.000000, 18.000000)"},g.createElement("polygon",{points:"5.9999 1 9.9999 6 1.9999 6"}),g.createElement("polygon",{points:"5 9 7 9 7 6 5 6"}),g.createElement("polygon",{points:"5 11 7 11 7 10 5 10"}))))))}}return _.default=u,_.default},A,x),A.exports=w},31921:(A,x,a)=>{var T,w;T=[a(49118),a(41139),a(37881),a(60871),a(9747),a(97154),a(29619),a(23513),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){"use strict";var n={};class i extends C{constructor(c){super(c),this._handleMouseEnter=this._handleMouseEnter.bind(this)}_handleMouseEnter(c){super._handleMouseEnter(c,g.SPANNING_COLUMN_HEADER)}_handleMouseDown(c){if(u.isSyntheticRightClick(c))return;const{columnId:e,spanningHeaderAllChildren:t}=this.props,s=e&&t&&t[e]&&t[e].indexes||[];s.length!==0&&this.props.eventCallback(f.protected.COL_HEADER_CLICK,{column:Math.min(...s),columnEnd:Math.max(...s),groupedSelection:!0,meta:c.metaKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,altKey:c.altKey})}_handleSpanningSelection(c){const{columnId:e,metadata:t,spanningHeaderAllChildren:s,viewBuffer:l}=this.props,p=e&&s&&s[e]&&s[e].indexes||[];if(t&&t.selections&&t.selections.length===1&&t.selections[0]){let E=!1;const m=t.selections[0].columns.start,y=t.selections[0].columns.end;E=this._isSpanningHeaderSelected(p,m,y,E),E&&c.push("mw-table-header-col-selected")}else if(t&&t.selections&&t.selections.length>1){let E=new Set;for(const m of t.selections){const y=m.columns.start,b=m.columns.count;for(let I=y;I<y+b;I++)y<=l.columns.end&&y+b>=l.columns.start&&E.add(I)}p&&E&&this._isSpanningHeaderSelectedForMultiRange(E,p)&&c.push("mw-table-header-col-selected"),E=null}}_isSpanningHeaderSelected(c,e,t,s){if(c){const l=Math.min(...c),p=Math.max(...c);e<=l&&p<=t?s=!0:s=!1}return s}_isSpanningHeaderSelectedForMultiRange(c,e){return e.every(t=>c.has(t))}render(){const{headerPosition:c,colEditState:e,columnId:t,onContextMenu:s,widgetId:l,complexHeaderStyle:p,width:E}=this.props,m=["mw-table-header-column","mw-table-spanning-column-header","mw-table-flex-container"];this._handleSpanningSelection(m),c>0&&m.push("mw-table-header-border-left");const y={};E&&(y.maxWidth=E),p&&r.metaDataStyling(p,y,g.COLUMN_HEADER);const b={};r.colorStyling(p,b);const I=v.getHeaderId(l,"_",t);return d.createElement("th",{className:m.join(" "),onDoubleClick:this._handleDoubleClick,"data-edit-state":e,"data-column-id":t,onContextMenu:s,style:y,id:I,onMouseDown:this._handleMouseDown},d.createElement("div",{className:"mw-table-header-label-container"},d.createElement("div",{ref:S=>{this.renderNode=S},"data-test-id":h.HEADER_LABEL,onMouseEnter:this._handleMouseEnter,style:b,className:"mw-table-header-label"})))}}return n.default=_(i,g.COLUMN_HEADER),n.default},A,x),A.exports=w},57246:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(70348),a(59108),a(29619),a(13585),a(96405),a(9747),a(79424),a(23513),a(88577),a(37881),a(63520),a(3177),a(93126),a(64104),a(59723),a(86246),a(43955),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E,m){"use strict";var y={};function b(){return b=Object.assign?Object.assign.bind():function(U){for(var z=1;z<arguments.length;z++){var $=arguments[z];for(var W in $)Object.prototype.hasOwnProperty.call($,W)&&(U[W]=$[W])}return U},b.apply(this,arguments)}const I=()=>{},S={0:"",1:"mw-table-active-selection-right-border",2:"mw-table-cell-selected",3:"",4:"",6:"mw-table-cell-selected mw-table-cell-active-range",7:"mw-table-cell-selected mw-table-cell-active-range mw-table-active-selection-right-border"},R={cells:()=>()=>0},N=U=>U&_.selection.SELECTED,O=U=>U&_.selection.ACTIVE_SELECTED;class L extends m.Component{constructor(){super(),this.cell=m.createRef(),this._handleDoubleClick=this._handleDoubleClick.bind(this)}_handleDoubleClick(z){const{eventCallback:$,rowIndex:W,colIndex:V,onDoubleClick:K}=this.props;if($&&$(h.protected.TABLE_DBL_CLICK,z),K)return K();const M=Number(W),B=Number(V),P={row:M,column:B};return v.emitDoubleClickEvent($,P)}_handleMouseOverFunction(z,$){if($)return;const{handleMouseOver:W,cellData:V,renderer:K}=this.props;if(V&&V.metaData&&V.metaData.floatingContent)return;const B=z.target;W(B,"tableCell",V.value,K,this.cell.current)}_handleMouseEnterFunction(z,$){if($)return;const{handleSetFloatingContent:W,cellData:V,renderer:K,row:M,column:B}=this.props,P="tableCell";if(V&&V.metaData&&V.metaData.floatingContent){const H={row:M,col:B,value:V.value,metadata:V.metaData};W(P,this.cell.current,K,H,i.TRIGGER.MOUSE_ENTER)}}componentDidUpdate(z){const{rowIndex:$,colIndex:W,focusClass:V,focusCached:K,editState:M,cellData:B,handleRemoveFloatingContent:P,handleSetFloatingContent:k,renderer:H,preventTrueFocus:Y}=this.props,G=V&&(!z.focusClass||K),Q=B&&B.metaData&&B.metaData.floatingContent,J=M&&M.rowIndex===$&&M.colIndex===W,q=!J&&z.editState&&z.editState.rowIndex===$&&z.editState.colIndex===W;G&&Y.prevent===!1&&this.cell.current&&this.cell.current.focus({preventScroll:!0}),G&&Y.prevent===!0&&Y.delete();const oe=z.cellData&&z.cellData.metaData&&z.cellData.metaData.floatingContent;if((Q&&J||oe&&!Q)&&P(this.cell.current),Q&&q){const ie="tableCell",pe={row:$,col:W,value:B.value,metadata:B.metaData};k(ie,this.cell.current,H,pe,i.TRIGGER.MOUSE_ENTER)}}componentWillUnmount(){this.props.focusClass&&this.cell.current.contains(document.activeElement)&&v.setFocusCache(this.props.eventCallback)}shouldComponentUpdate(z){const{selectionMap:$=R,colIndex:W,rowIndex:V,additionalClass:K,focused:M={}}=this.props,B=z.focused||M,P=z.selectionMap||R,k=[V+1,W].join(","),H=$.cells(V)(W),Y=$.cells(V+1)(W),G=P.cells(V)(W),Q=P.cells(V+1)(W),J=P.cells(V-1)(W),q=$.cells(V-1)(W),oe=B[k],ie=M[k];if(r.searchNavigationDataUpdated(this.props,z)||oe!==ie||J!==q||H!==G||Y!==Q||JSON.stringify(this.props.editState)!==JSON.stringify(z.editState)||JSON.stringify(this.props.editValidation)!==JSON.stringify(z.editValidation)||this.props.editProcessing!==z.editProcessing||this.props.focusCached!==z.focusCached||!d.classNameArrayEqual(K,z.additionalClass)||this.props.focusClass!==z.focusClass||this.props.renderer!==z.renderer||this.props.editor!==z.editor)return!0;const pe=this.props.styleData||{},ce=z.styleData||{};let te=pe!==ce;return pe instanceof Object&&ce instanceof Object&&(te=!r.isDeepEqual(pe,ce)),!this.props.cellData.isEqual(z.cellData)||te}_getRenderComponent(z){return!z||z.constructor===l?s:t}_getResizeSelectionAffordance(z,$,W,V,K,M){const{resizeSelection:B}=z;let P=null,k=null,H=null,Y=null;return B&&($&&M&&(P=e.createComponent(z,c.TOP)),W&&M&&(k=e.createComponent(z,c.BOTTOM)),V&&M&&(H=e.createComponent(z,c.LEFT)),K&&M&&(Y=e.createComponent(z,c.RIGHT))),{resizeSelectionAffordanceTop:P,resizeSelectionAffordanceBottom:k,resizeSelectionAffordanceLeft:H,resizeSelectionAffordanceRight:Y}}_collectDataForContextMenu(){const{rowIndex:z,colIndex:$,colEnd:W,handleEditComplete:V,eventCallback:K}=this.props;return{rowIndex:z,colIndex:$,colEnd:W,isEditable:!!V,component:o.TABLE_CELL,widget:C.protected.TYPE.TABLE,eventCallback:K}}render(){let{rowIndex:z,colIndex:$,cellData:W,styleData:V,focusClass:K,selectionMap:M=R,focused:B={},renderMetaData:P,groupAttr:k,additionalClass:H,handleEditComplete:Y,handleEditCanceled:G,handleEditValidation:Q,handleProcessEdit:J,editTrigger:q,editState:oe,renderer:ie,editIndicator:pe={},editor:ce,editProcessing:te,onClick:ne=I,eventCallback:re,useEditorRendererDataFields:se,editorMetaData:ge,customProps:he,columnAndRowHeaderIds:fe,freezeColumnConfig:me,searchNavigationData:De}=this.props;typeof V!="object"&&(V={});let Ie;if(he&&he.cellMetaData&&he.cellMetaData.value&&he.cellMetaData.value.id&&typeof he.cellMetaData.value.id=="string"&&(Ie=he.cellMetaData.value.id),typeof W!="object"||!Object.prototype.hasOwnProperty.call(W,"isEqual"))throw new Error("cellData property requires an isEqual function.");const Oe=M.cells(z)($),je=this._getRenderComponent(ie),dt=S[Oe],yt=["mw-table-cell-clean-focus",u.getBaseStyle(this.props),K,dt,H],kt=u.getCellType(this.props),Rt=M.cells(z-1)($),jt=M.cells(z+1)($),Wt=M.cells(z)($-1),En=M.cells(z)($+1),sn=[z+1,$].join(","),nn=O(Oe),pn=N(Oe),ye=O(Rt),Me=N(jt),Ge=O(jt),it=O(Wt),st=O(En),wt=N(En),It=nn&&!ye,_t=pn^Me||nn^Ge||nn&&!Me,Dt=nn&&!it,Jt=pn^wt||nn^st||nn&&!wt;It&&yt.push("mw-table-selection-top-edge"),_t&&yt.push("mw-table-selection-bottom-edge"),B[sn]&&yt.push("mw-table-focus-edge"),r.isStrikeThrough(W)&&yt.push("mw-table-cell-strike-through"),n.isInteractive(P)&&n.isReadOnly(P)&&yt.push("mw-table-cell-interactive-readonly"),(V&&V.minWidth?V.minWidth:g.dimensions.COL_WIDTH)<g.dimensions.COLLAPSE_COLUMN_AFFORDANCE_MIN&&yt.push("mw-table-cell-collapsecolumn");let yn=!1;oe&&oe.rowIndex===z&&oe.colIndex===$&&(yn=!0);const Vn=K?"-1":null,Er=ie&&ie.getAriaLabel?ie.getAriaLabel(W.value):null,{resizeSelectionAffordanceTop:un,resizeSelectionAffordanceBottom:ln,resizeSelectionAffordanceLeft:$n,resizeSelectionAffordanceRight:zn}=this._getResizeSelectionAffordance(this.props,It,_t,Dt,Jt,nn),Bn=r.reverseArray(fe),Ae=r.joinArray(Bn," "),we=u.getFrozenColumnCellClass(me,$);we&&yt.push(we);const Pe={rowIndex:z,colIndex:$};return m.createElement("td",b({ref:this.cell,style:V,role:"gridcell"},Ae?{"aria-describedby":Ae}:null,{"data-row":z,"data-row-id":Ie,"aria-colindex":$,"data-edit":!!oe,"data-col":$,"data-cell-type":kt},n.isReadOnly(P)?{"aria-readonly":P.readonly}:null,{tabIndex:Vn,"aria-label":Er,"group-attr":k,onClick:ne,onDoubleClick:this._handleDoubleClick,onContextMenu:He=>f.handleContextMenu(He,this._collectDataForContextMenu()),onMouseOver:He=>this._handleMouseOverFunction(He,yn),onMouseEnter:He=>this._handleMouseEnterFunction(He,yn),className:yt.join(" ")}),yn?m.createElement(p,{value:W.value,cellRef:this.cell.current,CustomEditor:ce,isCustomHeight:this.props.customProps&&this.props.customProps.customHeight,eventCallback:re,handleEditCanceled:G,handleEditComplete:Y,handleEditValidation:Q,handleProcessEdit:J,editProcessing:te,editTrigger:q,useEditorRendererDataFields:se,metaData:ge}):m.createElement(je,{value:W.value,eventCallback:re,metaData:P,noToolTip:!0,renderer:ie,useEditorRendererDataFields:se,typeOfCell:"mw-table",showEditIndicator:pe.showEditIndicator,searchNavigationData:De,index:Pe}),pe.showEditIndicator?m.createElement(E,{editIndicator:pe.editIndicatorType}):null,!yn&&un!==null&&un,!yn&&ln!==null&&ln,!yn&&$n!==null&&$n,!yn&&zn!==null&&zn)}}return y.default=L,y.default},A,x),A.exports=w},13199:(A,x,a)=>{var T,w;T=[a(38634),a(82386),a(97154),a(89019),a(69410)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u extends h.Component{_setTableWidth(d){d==="100%"?(this.myTable.style.width=d,this.myTable.style.maxWidth=d):d>0&&(this.myTable.style.width=d+"px",this.myTable.style.maxWidth=d+"px")}_setTableHeight(d){const n=d.height;parseInt(n)>parseInt(this.props.height)?(this.myTable.style.height=n+"px",this.myTable.style.maxHeight=n+"px"):(this.myTable.style.maxHeight="none",this.myTable.style.height=this.props.height)}_getGeomObject(d){const n={flexWidth:this.props.flexWidth,headerList:this.theadRef.childNodes[0].querySelectorAll("[data-col-index]"),headerThead:this.theadRef,noRender:!0};this.props.eventCallback(d,n),this._geomObject=n.result||this._geomObject}componentDidMount(){this.props.eventCallback(g.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableWidth.bind(this),subscriberId:_.subscriber.TABLE_WIDTH,subscribeTo:_.publisher.HEADER_ROW_WIDTH,noRender:!0}),this.props.eventCallback(g.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTableHeight.bind(this),subscriberId:_.subscriber.TABLE_HEIGHT,subscribeTo:_.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0})}render(){const{height:d,width:n,tableClass:i,dataSize:o,widgetType:c,scrollNodeIntoView:e,component:t}=this.props,s={height:d,width:n,maxHeight:d,maxWidth:n},{rows:l={},columns:p={}}=o,E=C.getRoleByWidgetType(c),m="mw-table "+i,y=l.count||0,b=p.count||0,I=Object.assign({tableHasFocus:e.tableContainerHasFocus()},this.props);return this.myTable&&this.myTable.contains(document.activeElement)&&this.props.preventTrueFocus.prevent===!0&&(this.props.preventTrueFocus.delete(),this.props.preventTrueFocus.prevent=!1),h.createElement("table",{ref:R=>{this.myTable=R},role:E,"aria-rowcount":y,"aria-colcount":b,"data-test-id":"mwtable",style:s,className:m},h.createElement(t.tbody,I),h.createElement(v,{subscriberId:_.subscriber.INSERTION_TABLE_BODY,eventCallback:this.props.eventCallback}))}}return f.default=u,f.default},A,x),A.exports=w},60936:(A,x,a)=>{var T,w;T=[a(43952),a(66629),a(27499),a(9747),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u={0:"",1:"mw-table-row-selected"},r="mw-table-row",d=t=>{const{dndEnabled:s}=v.useContext(C),{selectionMap:l={rows:()=>0},rowIndex:p,className:E,customProps:m,tableSelectionById:y,rowMetaData:b}=t;let I={value:{}};if(y){const{rowMetaData:U,viewDataRowRange:z}=m||{};U&&p<=z.end&&p>=z.start&&(I=U(p)),m.cellMetaData=I}const S=[];s&&l.rows(p)&&S.push(h.SOURCE_SELECTOR);const R=b&&b[0](p),N=R&&R.value&&R.value.rowHeight,O=n(l,p,E);if(N&&t.customProps){const U=N==="auto",z=t.className&&t.className.includes("mw-treetable-fit-content-row");U&&!z&&O.push("mw-table-fit-content-row"),t.customProps.customHeight=N==="auto"?N:N+"px"}const L=e(t,S);return v.createElement("tr",{role:"row","aria-rowindex":p,"data-test-id":p,"data-row-index":p,"data-row-id":I.value.id,customProps:m,className:O.join(" ")},L)};f.default=d;function n(t,s,l){const p=[r];return p.push(u[t.rows(s)]),l&&p.push(l),p}function i(t,s,l,p){if(t){const E=_.getHeaderId(s,"_ROW_",l);E&&p.push(E)}}function o(t,s,l){const p=_.getHeaderId(t,"_",l);p&&s.push(p)}function c(t,s,l){const{rowIndex:p,data:E,focused:m={},preventTrueFocus:y,getEditor:b,getRenderer:I,getInteractiveRenderer:S,setInteractiveRenderer:R,customProps:N,eventCallback:O,headers:L,freezeColumnHeaders:U,startCol:z,endCol:$,logicalRowHeight:W,focusCached:V,component:K,editTrigger:M,editState:B,selectionMap:P,resizeSelection:k,editValidation:H,editProcessing:Y,readOnlyVisualDesign:G,registration:Q,displaySearch:J,numberOfGutters:q,checkboxTreetable:oe,useEditorRendererDataFields:ie,tableSelectionById:pe,widgetId:ce,spanningColumnHeaders:te,displayRowHeader:ne,groupedColumnHeaders:re,frozenColumnData:se,freezeColumnConfig:ge,searchNavigationData:he}=t;let fe;pe&&(fe=N.cellMetaData.value);let me=l-z,De=L[me]?L[me]:{};U&&l<=ge.range.columns.end&&(me=l,De=U[me]?U[me]:{});const Ie=De?De.styleData:{};let Oe;const je=[];if(i(ne,ce,p,je),o(ce,je,De.columnId),De.parentId){const kt={parentId:De.parentId,colIndex:l,startCol:z,endCol:$,headerIndex:me};re&&je.pop(),Oe=g.getGroupCellAttribute(kt,L);let Rt=De.parentId,jt=!0;for(;jt===!0;){const Wt=te[Rt]&&te[Rt].columnId;o(ce,je,Wt),te[Rt]&&te[Rt].parentId===void 0&&(jt=!1),Rt=te[Rt]&&te[Rt].parentId}}const dt={minWidth:Ie.minWidth,maxWidth:Ie.maxWidth,width:Ie.width,minHeight:W+"px"};N&&N.customHeight&&(dt.height=N.customHeight);const yt=De?De.readonly:!1;return v.createElement(K.cell,{key:l,styleData:dt,rowIndex:p,colIndex:l,rowId:fe&&fe.id,additionalClass:s,data:E,focused:m,focusCached:V,preventTrueFocus:y,getEditor:b,getRenderer:I,displaySearch:J,getInteractiveRenderer:S,setInteractiveRenderer:R,editValidation:H,editProcessing:Y,customProps:N,eventCallback:O,editTrigger:M,editState:B,groupAttr:Oe,selectionMap:P,registration:Q,numberOfGutters:q,checkboxTreetable:oe,tableSelectionById:pe,useEditorRendererDataFields:ie,resizeSelection:k,readOnlyVisualDesign:G,readonly:yt,columnAndRowHeaderIds:je||[],frozenColumnData:se,freezeColumnConfig:ge,searchNavigationData:he})}function e(t,s){const l=[];if(t.freezeColumnConfig)if(t.startCol>t.freezeColumnConfig.range.columns.end)for(let E=t.freezeColumnConfig.range.columns.start;E<=t.freezeColumnConfig.range.columns.end;E++)l.push(E);else for(let E=0;E<t.startCol;E++)l.push(E);for(let E=t.startCol;E<=t.endCol;E++)l.push(E);const p=[];return l.forEach(E=>{p.push(c(t,s,E))}),p}return f.default},A,x),A.exports=w},23513:(A,x,a)=>{var T,w;T=[a(70348),a(89019),a(37881),a(37999),a(45330)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u=(d,n,i)=>i>=d.columns.start&&i<=d.columns.end&&n>=d.rows.start&&n<=d.rows.end;class r{static getFocusedCell(n){const i={};let o;if(n&&n.rangeList&&n.rangeList[0]&&(o=n.rangeList[0]),o&&o.rows&&o.columns){const c=o.rows.start,e=o.columns.start,t=[c,e].join(",");i[t]="mw-table-cell-focused"}return i}static getContentFor(n,i,o){const c=n.rangeList||[];for(let e=0;e<c.length;e++)if(u(c[e],i,o)&&n.value[e])return n.value[e];return null}static getInteractiveRendererFor(n,i,o){const c=n.rangeList||[];for(let e=0;e<c.length;e++)if(u(c[e],i,o))return n.value[e]?{renderer:n.value[e],range:c[e]}:null;return null}static getTableHeaderStyle(n={},i,o=h.dimensions.COL_WIDTH,c){let e={},{width:t,unit:s,fillContainerWidth:l}=n;switch(isNaN(t)&&(t=o,s="px"),s===""&&(s="px"),s){case"percent":case"%":i?e={maxWidth:"none",minWidth:o,width:Math.min(100,Math.abs(t))+"%"}:e={minWidth:o,maxWidth:o};break;case"px":c&&(o=h.dimensions.COLLAPSE_COLUMN_ABSOLUTE_MIN),Number.isInteger(t)||(t=o),t=Math.max(o,t),l?e={maxWidth:"none",minWidth:t,width:l}:e={maxWidth:t,minWidth:t};break;default:break}return e}static computeTableHeight(n,i){return(Math.max(n*i,1)||1)+"px"}static renderUpdate(n,i){i=i||n.viewPortList[0].getBufferedViewPort();let o=[i];if(v.isFreezeColumnEnabled(n)){const c=n.getStateByKey(C.protected.FREEZE_COLUMN_CONFIG).value;o=r.getViewRangeListWithFreezeColumns(c,i)}n.viewBuffer={size:null,rangeList:o}}static getViewRangeListWithFreezeColumns(n,i){let o;if(i.columns.start===n.range.columns.start)o=[i];else if(i.columns.start>n.range.columns.end+1){const c=_.range().setRows(i.rows.start,i.rows.end).setColumns(n.range.columns.start,n.range.columns.end);o=[i,c]}else o=[_.range().setRows(i.rows.start,i.rows.end).setColumns(0,i.columns.end)];return o}static getState(n,i){return i.getStateByKey(n)}static getViewAndDataRange(n,i,o){const c=_.range().setRows(n,n).setColumns(i,i),e=r.viewRangeToDataRange(c,o);return{viewRange:c,dataRange:e}}static viewRangeToDataRange(n,i){const o=i.viewRangeListToDataRangeList([n]);if(o.length>1)throw new Error("Single viewRange cell mapped to multiple ranges");return o[0]}static isFocusedRange(n,i){const o=r.getState(C.protected.FOCUSED,i)||!1,{rangeList:c=[{}]}=o;return _.isRangeEqual(c[0],n)}static getValidationInfo(n){return{isValid:n.success,validationMessage:n.message,type:"ERROR"}}static setOriginalValuePromise(n,i){return i.getData([n]).then(c=>c[0][n.rows.start][n.columns.start])}static getViewIndex(n){const i=n&&n.rangeList[0],o=i&&i.columns.start,c=i&&i.rows.start;return{viewRange:i,viewColIndex:o,viewRowIndex:c}}static getColumnConfig(n,i){return n.getColumnHeaders()[Number(i)]||{dataIndex:i}}static getColumnId(n,i){const o=n&&n.find(c=>c._index===i);return o?o.columnId:""}static isReadOnly(n){return n&&n.readonly===!0||!1}static isInteractive(n){return n&&n.interactiveRenderer===!0||!1}static isColumnHeaderHidden(n){const i=n.getStateByKey(C.HIDE_COLUMN_HEADER);return i?i.value:!1}static isTableFocused(n){let i=!1,o=n;for(;o&&/mw-table.*/.test(o.className)!==!1;)i=o.contains(document.activeElement),o=o.parentElement;return i}static setAllRangeOuterBorderColor(n,i,o,c,e){const t=[-1,0,1,0],s=[0,1,0,-1];for(let l=0;l<4;l++){const p=e+t[l],E=i+s[l];let m,y;try{m=o(p)(E),y=m.metaData.style.rangeOuterBorderColor}catch(b){r.setRangeOuterBorderColor(l,c,n)}finally{n.metaData.style.rangeOuterBorderColor!==y?r.setRangeOuterBorderColor(l,c,n):n.metaData.style.rangeOuterBorderColor===y&&r.setRangeOuterBorderColor(l,c,"")}}}static setRangeOuterBorderColor(n,i,o){let c,e;o===""?(c="",e=""):(c="2px solid "+o.metaData.style.rangeOuterBorderColor,e="1px"),n===0?(i.borderTop=c,i.paddingTop=e):n===1?(i.borderRight=c,i.paddingRight=e):n===2?(i.borderBottom=c,i.paddingBottom=e):n===3&&(i.borderLeft=c,i.paddingLeft=e)}static metaDataStyling(n,i,o){o!==g.COLUMN_HEADER&&(i.color=n.color||i.color,i.fontWeight=n.fontWeight||i.fontWeight,i.fontSize=n.fontSize||i.fontSize,i.fontFamily=n.fontFamily||i.fontFamily,i.fontStyle=n.fontStyle||i.fontStyle),i.backgroundColor=n.backgroundColor||i.backgroundColor,i.textAlign=n.textAlign||i.textAlign}static colorStyling(n,i){n&&n.color&&(i.color=n.color||i.color)}}return f.default=r,f.default},A,x),A.exports=w},26735:(A,x,a)=>{var T,w;T=[a(79424),a(89019),a(32746),a(77022),a(72435),a(62377),a(16165)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};class d{constructor(i){this.initializeTable=this.initializeTable.bind(this),this.renderTable=this.renderTable.bind(this);let{viewModel:o,viewPortList:c,options:e,controllers:t,dataStore:s,pluginEnum:l}=i;this._viewModel=o,this._dataStore=s,o.setState(C.tableBottomLeftAffordanceHeight,0),o.setState(C.colResize,!1),o.setState("scrollPositionChanged",!1),o.setState(C.displaySearch,!1),o.setState(C.TABLE_AFFORDANCE_WIDTH,{run:()=>0}),o.setState("ScrollChangeOnKeyPress",!1),e=e||{};let{features:p}=e;this.viewPortList=c,p=p||[],this.registry=[],this._adaptorList=new v,this.registry=t.map(y=>(this._adaptorList.register(y.eventList()),[y]));let[E,m]=_.separateControllers(h.dedupe(h.flatten(p)),l);e.initializedControllers=this.registry,E.forEach(y=>{const b=new y({viewModel:o,dataStore:s,viewPortList:c,tableView:this,options:e});this._adaptorList.register(b.eventList()),this.registry.push([b])}),m=_.prunePlugins(m,l,e),this._setupPlugins(m,e)}_setupPlugins(i,o,c=[]){i.forEach(e=>{let t;typeof e.adaptor=="string"&&(t=f.EXPERIMENTAL_ADAPTORS[e.adaptor]);try{let s;const l=t||e.adaptor,p=c.indexOf(l);p<0?(s=new l({viewModel:this._viewModel,dataStore:this._dataStore,viewPortList:this.viewPortList,tableView:this,options:o}),c.push(s),this.registry.push([new e({adaptor:s}),s])):(s=c[p],this.registry.push([new e({adaptor:s}),s])),this._adaptorList.register(s.eventList())}catch(s){}})}initializeTable(){this._lifecycle=new u(this._viewModel,this._adaptorList,this.viewPortList)}renderTable(){this._table=this._lifecycle.mount(),this.throttledResize=g(this._table._handleResize,16.666666666666668)}removeTable(){this.throttledResize&&this.throttledResize.cancel(),this._lifecycle.unmount(),this._viewModel.destroy(),this._table=null,this._adaptorList=null,this.viewPortList=null,this.registry=null,this._lifecycle=null,this._dataStore=null,this._viewModel=null}get domNode(){return this._lifecycle.domNode}focus(){this._table.focus()}}return r.default=d,r.default},A,x),A.exports=w},42495:(A,x,a)=>{var T,w;T=[a(38634),a(37999),a(97154),a(89019),a(99268),a(59108),a(29619),a(58587),a(48719),a(23513)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){"use strict";var i={};const o=(E,m,y)=>{const b=Math.max(E.rows.start,m.rows.start),I=Math.min(E.rows.end,m.rows.end);for(let S=b;S<=I;S+=1)y[S]=1},c=(E,m)=>{if(Object.keys(E).length===0)return;const{metadata:b,customProps:I}=m,S=I.rowMetaData;return R=>{const N=S(R).value.id;return b&&b.selections&&b.selections[N]?1:0}},e=(E,m,y)=>{const b=Math.max(E.rows.start,m.rows.start),I=Math.min(E.rows.end,m.rows.end),S=Math.min(E.columns.end,m.columns.end),R=y[S]||[],N=(O=0)=>O+f.selection.ACTIVE_RIGHT_BORDER;for(let O=b;O<=I;O+=1)R[O]=N(R[O]);y[S]=R},t=(E,m,y,b=f.selection.SELECTED)=>{const I=Math.max(E.rows.start,m.rows.start),S=Math.min(E.rows.end,m.rows.end),R=Math.max(E.columns.start,m.columns.start),N=Math.min(E.columns.end,m.columns.end),O=(L=0)=>L+b;for(let L=N;L>=R;L-=1){const U=y[L]||[];for(let z=I;z<=S;z+=1)U[z]=O(U[z]);y[L]=U}},s=E=>{const{metadata:m={selections:[],activeRange:null},viewBuffer:y,tableSelectionById:b}=E,{selections:I,selectionType:S}=m,R=m.activeRange||C.range(),N=[],O=[];let L;if(b)S===_.SELECT_CELLS?t(I,y,N):L=c(I,E);else for(let U=0;U<Object.keys(I).length;U+=1)C.doesRangeIntersect(y,I[U])&&(S===_.SELECT_CELLS?t(I[U],y,N):o(I[U],y,O));return t(R,y,N,f.selection.ACTIVE_SELECTED),e(R,y,N),{cellMap:N,cells:U=>z=>(N[z]||[])[U]||0,rows:L||(U=>O[U]||0)}};class l extends h.Component{constructor(){super(),this.state={triggerEditState:!1,waitForMouseUp:!1},this._geomObjectY={translateY:0,physicalHeight:0},this._handleMouseDown=this._handleMouseDown.bind(this),this._handleMouseEvent=this._handleMouseEvent.bind(this),this._handleFocusOnly=this._handleFocusOnly.bind(this),this._handleClick=this._handleClick.bind(this)}getKeyOnRowComponentByIdFn(m,y){const b=m.rowMetaData;let I=y;return b&&(I=b(y).value.id),I}_makeRowElements(){const{data:m,focused:y={},preventTrueFocus:b,getEditor:I,getRenderer:S,getInteractiveRenderer:R,resizeSelection:N,readOnlyVisualDesign:O,setInteractiveRenderer:L,customProps:U,eventCallback:z,headers:$,freezeColumnHeaders:W,startCol:V,endCol:K,logicalRowHeight:M,component:B,startRow:P,endRow:k,selectionMapFn:H,editTrigger:Y,editState:G,editValidation:Q,tableHasFocus:J,editProcessing:q,getKeyOnRowComponentFn:oe,metadata:ie,registration:pe,displaySearch:ce,numberOfGutters:te,checkboxTreetable:ne,useEditorRendererDataFields:re,tableSelectionById:se,rowMetaData:ge,widgetId:he,spanningColumnHeaders:fe,displayRowHeader:me,groupedColumnHeaders:De,frozenColumnData:Ie=null,freezeColumnConfig:Oe,searchNavigationData:je}=this.props,dt=H||s,yt=[],kt=dt(this.props);for(let Rt=P;Rt<=k;Rt+=1){let jt;se?jt=this.getKeyOnRowComponentByIdFn(U,Rt):jt=oe?oe(U,Rt):Rt,yt.push(h.createElement(B.row,{key:jt,rowIndex:Rt,selectionMap:kt,data:m,rowMetaData:ge,editTrigger:Y,editState:G,editValidation:Q,editProcessing:q,focusCached:J,focused:y,preventTrueFocus:b,getEditor:I,getRenderer:S,displaySearch:ce,getInteractiveRenderer:R,setInteractiveRenderer:L,customProps:U,eventCallback:z,component:B,startCol:V,endCol:K,headers:$,freezeColumnHeaders:W,activeRange:ie.activeRange,logicalRowHeight:M,registration:pe,numberOfGutters:te,checkboxTreetable:ne,tableSelectionById:se,useEditorRendererDataFields:re,resizeSelection:N,readOnlyVisualDesign:O,widgetId:he,spanningColumnHeaders:fe,displayRowHeader:me,groupedColumnHeaders:De,frozenColumnData:Ie,freezeColumnConfig:Oe,searchNavigationData:je}))}return yt}_setTranslateX(m=0){const b="translateX("+(m+"px")+")";this.tbodyRef.style.transform=b,this.tbodyRef.style.webkitTransform=b,this.tbodyRef.style.width="calc(100% + "+-m+"px)";const{startRow:I,endRow:S,freezeColumnConfig:R}=this.props;R&&this._setFrozenCellLeftPosition(m,I,S,R)}_setFrozenCellLeftPosition(m,y,b,I){const S={};for(let R=y;R<=b;R++){let N=0;S[R]={};for(let O=I.range.columns.start;O<=I.range.columns.end;O++){const L=this.tbodyRef.querySelector(`td[data-row="${R}"][data-col="${O}"]`);L&&(S[R][O]={previousColumnsWidth:N,node:L},N+=parseInt(window.getComputedStyle(L).width.split("px")[0]))}}Object.keys(S).forEach(R=>{Object.keys(S[R]).forEach(N=>{S[R][N].node.style.left=-m+S[R][N].previousColumnsWidth+"px"})})}_setTranslateY(m){const y=m.translateY||0,b=y+"px";this.tbodyRef.style.top=b,this.tbodyRef.style.height="calc(100% + "+-y+"px)"}_getTranslateYAndHeight(){return this._getGeomObject(g.internal.COMPUTE_TRANSLATEY_AND_HEIGHT),{height:this._geomObjectY.physicalHeight,translateY:this._geomObjectY.translateY}}_getRowRects(){const m=this.tbodyRef.childNodes,y={};for(let b=0;b<m.length;b+=1)y[m[b].getAttribute("data-row-index")]=m[b].getBoundingClientRect();return y}_getRowCellRects(m){const{row:y,col:b}=m,I="data-row",S="data-col";let R=`[${I}]`,N=`[${S}]`,O="";if(y!==void 0&&b!==void 0)R=`[${I}="${y}"]`,N=`[${S}="${b}"]`,O="";else if(y!==void 0)R=`[${I}="${y}"]`,O=S;else if(b!==void 0)N=`[${S}="${b}"]`,O=I;else throw new Error("You must specify either a row, column, or both");const L=this.tbodyRef.querySelectorAll(`tr ${R}${N}`);if(L.length&&L[0].parentElement.classList.contains("mw-treetable-group-row"))return m.row=m.row+1,this._getRowCellRects(m);let U={};for(let z=0;z<L.length;z+=1){const $=L[z];O!==""?U[$.getAttribute(O)]=$.getBoundingClientRect():U=$.getBoundingClientRect()}return U}_handleMouseDown(m,y){const{rowIndex:b,colIndex:I,id:S}=y,R=p(y),N=u.targetIsEditIndicator(m);if(this._setTriggerEditState(R,m,N),r.isCellInRanges(this.props.metadata.selections,this.props.tableSelectionById?S:b,I)){this.setState({waitForMouseUp:R});const L=u.shouldAllowDragToSelect(!0,this.props.dragAndDrop,m,this.props.canDragToSelect,N);this.props.eventCallback(g.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:L}),this._handleFocusOnly(y);return}const O=u.shouldAllowDragToSelect(!1,this.props.dragAndDrop,m,this.props.canDragToSelect,N);switch(this.props.eventCallback(g.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:O}),y.cellType){case"TableCell":case"EditableTableCell":this._handleMouseEvent(m,y);break;case"InteractiveTableCell":m.target.hasAttribute("data-clickable")||this._handleMouseEvent(m,y);break;default:break}}_setTriggerEditState(m,y,b){const{focused:I={},editState:S,editProcessing:R}=this.props,N=I[m],O=S[m];let L=!1;const U={cellInFocus:N,cellInEdit:O,editProcessing:R,hasShiftKey:y.shiftKey,targetIsEditIndicator:b};this._shouldCellEnterEdit(U)&&(L=m),this.setState({triggerEditState:L})}_shouldCellEnterEdit(m){const{cellInFocus:y,cellInEdit:b,editProcessing:I,hasShiftKey:S,targetIsEditIndicator:R}=m;return R?!0:this.tbodyRef&&!n.isTableFocused(this.tbodyRef)?!1:!!(y&&!b&&!S&&!I)}_handleFocusOnly(m){const y={row:m.rowIndex,column:m.colIndex};this.props.eventCallback(g.protected.TABLE_CELL_FOCUS,y)}_handleMouseEvent(m,y,b=g.protected.TABLE_CELL_CLICK,I=!0){const S=Number(y.rowIndex),R=Number(y.colIndex);m.button===v.MOUSE_LEFT_BUTTON&&this.props.eventCallback&&this.props.eventCallback(b,{row:S,column:R,rowId:y.id,meta:m.metaKey,ctrlKey:m.ctrlKey,shiftKey:m.shiftKey,altKey:m.altKey,emitCellFocused:I,columnId:n.getColumnId(this.props.headers,R)})}_handleClick(m,y){if(!y)return;const b=p(y);switch(y.cellType){case"TableCell":case"InteractiveTableCell":break;case"EditableTableCell":this.state.triggerEditState===b&&this._handleMouseEvent(m,y,"enterEditMode");break}}_handleMouseUp(m,y){if(!this.state.waitForMouseUp)return;const b=p(y);this.state.waitForMouseUp===b&&(this.setState({waitForMouseUp:!1}),this._handleMouseEvent(m,y,g.protected.TABLE_CELL_CLICK,!1))}_getGeomObject(m){const y={};this.props.eventCallback(m,y),this._geomObjectY=y.result||this._geomObjectY}componentDidMount(){this.props.eventCallback(g.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateX.bind(this),subscriberId:_.subscriber.TBODY_TRANSFORM,subscribeTo:_.publisher.HEADER_TRANSX,noRender:!0}),this.props.eventCallback(g.internal.NODE_PUBLISH,{publisherFn:this._getTranslateYAndHeight.bind(this),publisherId:_.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(g.internal.NODE_SUBSCRIBE,{subscriberFn:this._setTranslateY.bind(this),subscriberId:_.subscriber.TBODY_TRANSFORM_Y,subscribeTo:_.publisher.TRANSFORM_Y_AND_HEIGHT,noRender:!0}),this.props.eventCallback(g.internal.NODE_PUBLISH,{publisherFn:this._getRowRects.bind(this),publisherId:_.publisher.ROW_HEIGHTS,noRender:!0}),this.props.eventCallback(g.protected.ROW_RECTS,{children:this._getRowRects.bind(this),noRender:!0}),this.props.eventCallback(g.protected.ROW_CELL_RECTS,{children:this._getRowCellRects.bind(this),noRender:!0}),(!this.props.getKeyOnRowComponentFn||this.props.eventsToHandle)&&(this._eventDelegator=new d(this.tbodyRef),this._eventDelegator.delegateEvents(this.props.eventsToHandle||{click:this._handleClick,doubleClick:()=>{},mousedown:this._handleMouseDown,mouseup:this._handleMouseUp.bind(this)}))}componentWillUnmount(){this._eventDelegator&&this._eventDelegator.destroyEvents()}render(){const{translateY:m,translateX:y,columnClass:b,editValidation:I}=this.props,S="translateX("+y+"px)",R={transform:S,WebkitTransform:S,top:m+"px"};let N="mw-table-tbody "+b;I&&I.error?N=N.concat(" errorState"):N=N.replace(/ errorState/g,"");const O=this._makeRowElements();return h.createElement("tbody",{ref:L=>{this.tbodyRef=L},className:N,style:R},O)}}i.default=l;function p(E){const{rowIndex:m,colIndex:y}=E;return[m,y].join(",")}return i.default},A,x),A.exports=w},59749:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(70348),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f extends _.Component{static _setAdjustLeft(r,d){const n=r.node.querySelectorAll("[checkbox-label=true]")[0];if(n){let c=n.getBoundingClientRect().left;const e=r.node.getBoundingClientRect().right;return e<c&&(c=e),c}const i=r.node.querySelectorAll(".mw-icon-label-renderer")[0],o=i&&i.querySelector('span [data-region="true"]');return o?o.getBoundingClientRect().left:r.left+Math.min(0,document.documentElement.clientWidth-(r.left+d.clientWidth))}_dismissTooltip({node:r,id:d}){this.props.eventCallback(h.protected.NODE_NOTIFY,{publisherFn:()=>!0,publisherId:C.publisher.TOOLTIP_DISMISS+d,noRender:!0})}_addListeners({node:r,id:d}){const n=this;function i(){r.removeEventListener("mouseleave",i),r.removeEventListener("wheel",i),r.removeEventListener("click",i),r.removeEventListener("mousedown",i),n._dismissTooltip({node:r,id:d})}return r.addEventListener("wheel",i),r.addEventListener("click",i),r.addEventListener("mouseleave",i),r.addEventListener("mousedown",i),i}_getTipData({node:r,content:d,id:n}){const i=r.getBoundingClientRect(),o=window.getComputedStyle(r);return{id:n,node:r,top:i.top,left:i.left+1,right:i.right,width:i.width,textDecoration:o.textDecorationLine||"none",backgroundColor:o.backgroundColor||"rgb(255, 255, 255)",content:d}}_unsetPosition(){this.myTooltip.removeAttribute("style"),this.props.eventCallback(h.internal.NODE_UNSUBSCRIBE,{subscriberId:C.subscriber.TOOLTIP_LEAVE,noRender:!0})}_subscribeToDismissal({id:r="",node:d}){const n=this._addListeners({id:r,node:d});this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._unsetPosition.bind(this),subscriberId:C.subscriber.TOOLTIP_LEAVE,subscribeTo:C.publisher.TOOLTIP_DISMISS+r,noRender:!0}),this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:n,subscriberId:C.subscriber.TOOLTIP_GLOBAL_LEAVE,subscribeTo:C.publisher.TOOLTIP_DISMISS,noRender:!0})}_setPosition(r){this.myTooltip.style.top=r.top+"px",this.myTooltip.style.textDecoration=r.textDecoration;const d=r.node&&r.node.querySelector("div[edit-indicator=true]")!==null;let n=Math.max(g.dimensions.TOOLTIP_MIN_WIDTH,r.width);d&&(n=r.width-18),this.myTooltip.firstChild.style.maxWidth=n+"px",this.myTooltip.firstChild.style.backgroundColor=r.backgroundColor,this.myTooltip.firstChild.textContent=r.content;const o=(this.props.adjustLeftFn||f._setAdjustLeft)(r,this.myTooltip,d);this.myTooltip.style.left=Math.max(0,o)+"px",this._verifyAndCorrectPlacement(r.top,o),this.myTooltip.style.visibility="visible"}_verifyAndCorrectPlacement(r,d){const n=this.myTooltip.getBoundingClientRect(),i=n.x-d,o=n.y-r;(Math.abs(i)>1||Math.abs(o)>1)&&(this.myTooltip.style.left=Math.max(0-n.x,d-i)+"px",this.myTooltip.style.top=r-o+"px")}componentDidMount(){this.props.eventCallback(h.internal.NODE_SUBSCRIBE,{subscriberFn:r=>{const d=this._getTipData(r);d.content.length>0&&(this._setPosition(d),this._subscribeToDismissal(d))},subscriberId:C.subscriber.TOOLTIP_ENTER,subscribeTo:C.protected.publisher.CELL_HOVER,noRender:!0})}render(){return _.createElement("div",{className:"mw-table-tooltip-wrapper",ref:r=>{this.myTooltip=r}},_.createElement("div",{"data-test-id":"mw-table-tooltip",className:"mw-table-tooltip"}))}}return v.default=f,v.default},A,x),A.exports=w},66629:(A,x,a)=>{var T,w;T=[a(38634)],w=a.dj.d(T,function(h){"use strict";var C={};const g=h.createContext({});return C.default=g,C.default},A,x),A.exports=w},99596:(A,x,a)=>{var T,w;T=[a(66629),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=({children:v,dragAndDrop:f})=>{const[u,r]=C.useState(f),[d,n]=C.useState(""),[i,o]=C.useState(!1),c=C.useRef(null),e=C.useCallback(m=>{c.current=m},[]),[t,s]=C.useState(null),[l,p]=C.useState({}),E={dndEnabled:u,setDnDEnabled:r,dndSourceData:d,setDnDSourceData:n,dndTarget:i,setDnDTarget:o,dndNode:c,setDndNode:e,scrollNode:t,setScrollNode:s,dragPositionState:l,setDragPositionStateState:p};return C.createElement(h.Provider,{value:E},v)};return g.default=_,g.default},A,x),A.exports=w},58738:(A,x,a)=>{var T,w;T=[a(38634)],w=a.dj.d(T,function(h){"use strict";var C={};const g=h.createContext({});return g.displayName="HeaderContext",C.default=g,C.default},A,x),A.exports=w},16783:(A,x,a)=>{var T,w;T=[a(58738),a(70348),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v=({children:f})=>{const[u,r]=g.useState(C.dimensions.ABSOLUTE_MIN),[d,n]=g.useState(!1),i={indexWidth:u,setIndexWidth:r,isMaxWidth:d,setIsMaxWidth:n};return g.createElement(h.Provider,{value:i},f)};return _.default=v,_.default},A,x),A.exports=w},56744:(A,x,a)=>{var T,w;T=[a(63304),a(31921),a(41139),a(25731),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};const u=s=>{let l={};function p(E){let m=s[E];return l[E]||!m?null:(l[E]=!0,m.parentId&&s[m.parentId]?(s[m.parentId].headerList.push(m),p(m.parentId)):m)}return p},r=(s,l,p)=>{let{label:E,id:m,headerRenderer:y,width:b,columnId:I,headerEditor:S,sortType:R,clearSort:N,headerMenu:O,groupLength:L,colStartIndex:U,colEndIndex:z,reorder:$,complexHeaderStyle:W,dragAffordance:V}=s,K=p.colEditState?p.colEditState===I:!1;return v.createElement(C,{headerPosition:l,name:E,id:m,headerRenderer:y,headerEditor:S,width:b,columnId:I,eventCallback:p.eventCallback,colEditState:K,scrollNodeIntoView:p.scrollNodeIntoView,sortType:R,clearSort:N,headerMenu:O,groupLength:L,colStartIndex:U,colEndIndex:z,reorder:$,dragAffordance:V,widgetId:p.widgetId,metadata:p.metadata,spanningHeaderAllChildren:p.spanningHeaderAllChildren,viewBuffer:p.viewBuffer,complexHeaderStyle:W,widgetType:p.widgetType})},d=(s,l,p,E,m,y)=>{let{label:b,styleData:I,headerRenderer:S,headerEditor:R,columnId:N,colIndexEnd:O,colStartIndex:L,colEndIndex:U}=s,{eventCallback:z,logicalColWidth:$,colResize:W,colMenuAffordance:V,dragColumns:K,sorted:M=[],sortable:B,clearSort:P,scrollNodeIntoView:k,displayColumnIndex:H,displayColumnIndexOnly:Y,groupedColumnHeaders:G,widgetType:Q,canDrop:J,widgetId:q,dragAffordance:oe}=p,{id:ie,sortType:pe,headerMenu:ce,groupLength:te,reorder:ne}=s,re=p.colEditState?p.colEditState===N:!1;I=I||{};let ge=(M[s._index]||{}).order,he=Y?m.toString():b,fe=y||$,me;G?me=h:me=R&&!Y?g:_;let De={headerEditor:R,headerRenderer:S,colEditState:re},Ie=v.createElement(me,{id:ie,colIndexEnd:O,groupLength:te,colStartIndex:L,colEndIndex:U,sortType:pe,headerMeta:s,range:E,headerMenu:ce,key:s._index,logicalColWidth:fe,colIndex:s._index,styleData:I,eventCallback:z,colSelectionMap:l,sorted:ge,colResize:W,colMenuAffordance:V,sortable:B,clearSort:P,name:he,columnId:N,dragColumns:K,scrollNodeIntoView:k,displayColumnIndex:H,columnHeaderIndex:m,displayColumnIndexOnly:Y,reorder:ne,dragAffordance:oe,widgetType:Q,canDrop:J,widgetId:q,groupedColumnHeaders:G,width:y});return Y||(Ie=n(Ie,De)),Ie},n=(s,l)=>v.cloneElement(s,l),i=(s,l,p)=>{if(!s)return null;let E=s.headerList;if(!E)return s;let m=r(s,l,p),y=[];for(let b=0;b<E.length;b++){let I=i(E[b],l+b,p);I&&y.push(I)}return y.length?v.createElement("th",{className:"mw-table-hierarchical-column-header"},v.createElement("table",{className:"mw-table-spanning-header-outer"},v.createElement("thead",{className:"mw-table-spanning-header-inner"},v.createElement("tr",null,m),v.createElement("tr",{className:"mw-table-spanning-header-row"},y)))):null},o=(s,l,p,E)=>{if(!s)return null;let m=s.headerList;if(!m)return s;let y=!0;for(const O of m)O.headerList&&(y=!1);if(!y)for(let O=0;O<m.length;O++)return o(m[O],l+O,p);let b=m[0].props.colIndex,I=m[m.length-1].props.colIndex,S=m[0].props.colSelectionMap,R=m[0].props.headerMeta.columnHeaderIndex,N=s.width;return s.styleData=s.styleData||{},s.styleData.minWidth=s.width+"px",s.styleData.maxWidth=s.width+"px",s._index=b,s.colIndexEnd=I,d(s,S,p,E,R,N)},c=(s,l,p)=>{let E=[],m={},y=Object.keys(s),b=u(m);if(y.length===0)return p;for(const I of y){let S=I;m[S]=Object.create(s[S]),m[S].headerList=[],m[S].width=0}return l.forEach((I,S)=>{if(I.parentId&&m[I.parentId]){let R=I.styleData.minWidth;m[I.parentId].width+=R,m[I.parentId].headerList.push(p[S]);let N=b(I.parentId,m);N&&E.push(N)}else E.push(p[S])}),E},e=s=>{let l=0;if(s.headerList)for(const p of s.headerList)l+=e(p);return l+=s.width?s.width:0,s.width!==void 0&&(s.width=l),l};class t{static makeColumnHeaderGroup(l,p,E){const{startCol:m,endCol:y}=E,b=E.headers,I={start:m,end:y};if(I.start<0||I.start>I.end)return p;let S=[0];for(let O=0;O<b.length;O++){let L=b[O],U=L.width?L.width.value:L.styleData.maxWidth;S[O+1]=U+S[O]}const R=c(l,E.headers,p);R.forEach(e);let N=i;return E.groupedColumnHeaders&&(N=o),R.map((O,L)=>N(O,L,E,I))}}return f.default=t,f.default},A,x),A.exports=w},81432:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(37881),a(79411),a(546),a(9747),a(38634)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=i=>{const o=u.useRef(),c=u.useRef(),[e,t]=u.useState(0),{topLeftRowHeaderValue:s,topLeftRowHeaderRenderer:l,eventCallback:p}=i,{handleMouseOverWithRenderer:E}=_(p),m=["mw-table-top-left-affordance","mw-table-no-left-border"],y=["mw-flex-child"],b=R=>{c.current.style.minWidth=R+"px"},I=R=>{i.eventCallback(h.internal.NODE_PUBLISH,{publisherFn:()=>R,publisherId:C.publisher.TOP_LEFT_ROW_HEADER,noRender:!0})},S=()=>l?l.getDomNode(s):s&&document.createTextNode(s);return u.useLayoutEffect(()=>{const R=S();R&&o.current&&o.current.appendChild(R),p(h.internal.NODE_SUBSCRIBE,{subscriberFn:O=>b(O),subscriberId:C.subscriber.TOP_LEFT,subscribeTo:C.publisher.ROW_HEADER,noRender:!0});const N=c.current.scrollWidth+v.getHeaderPaddingSize();t(N),I(N)},[]),e>=v.getRowHeaderMaxWidth()&&y.push("mw-label-truncation"),u.createElement("div",{ref:c,className:m.join(" ")},u.createElement("div",{className:y.join(" "),onMouseEnter:R=>{E(R.target,g.TOPLEFT_HEADER,s,l,o.current)},ref:o}))};function n(i,o){return f.isDeepEqual(i.topLeftRowHeaderValue,o.topLeftRowHeaderValue)}return r.default=u.memo(d,n),r.default},A,x),A.exports=w},60871:(A,x,a)=>{var T,w;T=[a(13585),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};function _(){return _=Object.assign?Object.assign.bind():function(f){for(var u=1;u<arguments.length;u++){var r=arguments[u];for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(f[d]=r[d])}return f},_.apply(this,arguments)}const v=(f,u)=>r=>{const d=()=>{const{eventCallback:n,rowIndex:i,colIndex:o,colEnd:c,handleEditComplete:e,widgetType:t}=r;return{rowIndex:i,colIndex:o,colEnd:c,isEditable:!!e,component:u,widget:t,eventCallback:n}};return C.createElement(f,_({},r,{onContextMenu:n=>h.handleContextMenu(n,d())}))};return g.default=v,g.default},A,x),A.exports=w},33828:(A,x,a)=>{var T,w;T=[a(66629),a(68124),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};function v(){return v=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(n[c]=o[c])}return n},v.apply(this,arguments)}const f=n=>i=>{const{setDnDEnabled:o,dndNode:c,setDndNode:e}=g.useContext(h),[t,s]=g.useState([]),[l,p]=g.useState(null),[E,m]=g.useState(null),{canDrag:y,canDrop:b,dragAndDrop:I,metadata:S,setDragData:R,setAvatar:N,receiveDrop:O,eventCallback:L,reorderRows:U,reparentRows:z,rowDnDUtil:$,outsideRowDnDUtil:W}=i,{startDragSource:V,setDropTarget:K}=C(L),M=u(O,K,L,W),B={reorderRows:U,reparentRows:z,setDragData:R,setAvatar:N,selections:t,setSelections:s,setDndSourceData:p,setinternalRowDndSourceData:m,canDrag:y};return g.useLayoutEffect(()=>{o(I)},[I]),g.useLayoutEffect(()=>{I&&r(S,B,$)},[S]),g.createElement(n,v({},i,{createDnDSource:k,createDnDTarget:H,setupDropFromOutside:M,dndSourceData:l,internalRowDndSourceData:E,setDnDNode:P}));function P(Y){c.current||e(Y)}function k(Y){const G=!!R,Q=Object.assign({getData:Y,eventCallback:L},B),J=d(Q,$);return V(J,G)}function H(Y,G){let Q;U?Q="reorderRows":z&&(Q="reparentRows");const J={dndType:Q,canDrop:b,eventCallback:L,context:Y},q=$.createDropTarget(J);return K(Y,{targetList:q},G)}};_.default=f;function u(n,i,o,c){return n?c.createTargetForOutsideSource(n,i,o):null}function r(n,i,o){o.changeDragData(n,i)}function d(n,i){if(typeof i.getSourceLifecycle=="function")return i.getSourceLifecycle(n)}return _.default},A,x),A.exports=w},44622:(A,x,a)=>{var T,w;T=[a(49590),a(29619),a(85786),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};function f(){return f=Object.assign?Object.assign.bind():function(r){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},f.apply(this,arguments)}const u=(r,d)=>n=>{const{row:i,column:o,editState:c,eventCallback:e,editProcessing:t,editType:s,cellMetaData:l=!1,columnId:p=""}=n,E=()=>{const R=h.getEditEventByType(s,"enterEditEvent");e&&e(R,{row:i,column:o})},m=R=>{const{newValue:N="",oldValue:O}=R;let L={newValue:N,row:i,column:o,oldValue:O};if(l){const z=l.value;L={newValue:N,row:i,column:o,oldValue:O,node:z,columnId:p}}const U=h.getEditEventByType(s,"editCompleteEvent");e&&e(U,L)},y=R=>{R&&(R.row=i,R.column=o);let N=R,O="",L="";if(l){const z=l.value;R&&(O=R.newValue,L=R.oldValue);const $=R&&R.validationResult;N={newValue:O,row:i,column:o,oldValue:L,node:z,columnId:p,validationResult:$}}const U=h.getEditEventByType(s,"editCanceledEvent");e&&(c||c>=0)&&e(U,N)},b=R=>{const{newValue:N="",oldValue:O}=R;let L;if(l){const z=l.value;L={newValue:N,row:i,column:o,oldValue:O,node:z,columnId:p}}else L={newValue:N,row:i,column:o,oldValue:O};const U=h.getEditEventByType(s,"processEditEvent");e&&c&&e(U,L)},I=R=>{let N,O={row:i,column:o};if(R){const L=g.getCellInfo(R);N=L.isDisclosureTarget,O=L.cellInfo}if(!N){let L;return(!c||c.rowIndex!==i&&c.colIndex!==o)&&!t&&(L=E),C.emitDoubleClickEvent(e,O,L)}},S=R=>{const N=h.getEditEventByType(s,"editValidationEvent");e&&e(N,R)};return _.createElement(r,f({},n,{onDoubleClick:I,enterEditMode:E,handleEditComplete:m,handleEditCanceled:y,handleEditValidation:S,handleProcessEdit:b,type:d}))};return v.default=u,v.default},A,x),A.exports=w},6939:(A,x,a)=>{var T,w;T=[a(97154),a(9747),a(23513),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};function f(){return f=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(n[c]=o[c])}return n},f.apply(this,arguments)}const u=(n,i)=>o=>{const{eventCallback:c,renderer:e,cellData:t,colIndex:s,rowIndex:l,cellMetaData:p=!1,renderMetaData:E}=o;return i&&i.baseStyle&&(i.baseStyle=g.isReadOnly(E)?"mw-table-cell mw-table-cell-background":"mw-table-cell"),_.createElement(n,f({},o,{onMouseDown:m=>d(m),onClick:m=>r(m,t,c,e,l,s,p,E),onDoubleClick:()=>{},type:i}))};v.default=u;function r(n,i,o,c,e,t,s,l,p=h.internal.INTERACTIVE_CELL_CLICK){let E={},m=c.handleAction({value:i.value,target:n.target});if(g.isReadOnly(l))return!1;if(s){if(C.hasModifierKey(n))return;const b=s.value;m=c.handleAction(i.value,{actionName:"click",target:n.target}),E={node:b,row:e||0,column:t||0,oldValue:m.oldValue,newValue:m.newValue,metaData:i.metaData},m.hasChanged&&o(p,E)}else m&&(E={row:e,column:t,oldValue:m.oldValue,newValue:m.newValue},o(p,E))}function d(n){n.target.hasAttribute("data-clickable")&&n.stopPropagation()}return v.default},A,x),A.exports=w},91753:(A,x,a)=>{var T,w;T=[a(97154),a(43952),a(66629),a(29619),a(38634)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};function u(){return u=Object.assign?Object.assign.bind():function(o){for(var c=1;c<arguments.length;c++){var e=arguments[c];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t])}return o},u.apply(this,arguments)}const r={2:"mw-table-header-row-selected "},d=o=>c=>{const{eventCallback:e,rowIndex:t,rowSelectionMap:s,additionalClass:l=[],canDragToSelect:p,rowId:E,selectionById:m}=c,{dndEnabled:y}=v.useContext(g),[b,I]=v.useState(!1),[S,R]=v.useState(!1);l.push(i(t,s,y,S,E,m));const N=L=>{if(_.isSyntheticRightClick(L))return;if(s(t)){const z=_.shouldAllowDragToSelect(!0,y,L,p);e(h.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:z}),I(!0),R(z);return}const U=_.shouldAllowDragToSelect(!1,y,L,p);return e(h.protected.ALLOW_DRAG_TO_SELECT,{allowDragToSelect:U}),R(U),n(L,e,t)},O=L=>{if(b)return I(!1),n(L,e,t)};return v.createElement(o,u({},c,{onMouseDown:N,onMouseUp:O,additionalClass:l}))};f.default=d;function n(o,c,e){const{metaKey:t,ctrlKey:s,shiftKey:l,altKey:p}=o,E={row:e,meta:t,ctrlKey:s,shiftKey:l,altKey:p};return c(h.protected.ROW_SELECTION_CLICK,E)}function i(o,c,e,t,s,l){let p;l?p=c(s):p=c(o);let E=r[p];return E&&e&&!t&&(E+=" "+C.SOURCE_SELECTOR),E||""}return f.default},A,x),A.exports=w},53319:(A,x,a)=>{var T,w;T=[a(33553)],w=a.dj.d(T,function(h){"use strict";var C={};class u{set container(d){this._container=d}set scrollNode(d){this._scrollNode=d}getScrollNode(){return this._scrollNode}tableContainerHasFocus(){return this._scrollNode.parentNode===document.activeElement}scrollIntoView(d){return this._outOfLeftBoundary(d).then(i=>i.needsRightBoundaryCheck?this._outOfRightBoundary(d).then(()=>({isEditable:!0})):{isEditable:i.isEditable})}scrollIntoVerticalView(d){const n=d.getBoundingClientRect(),i=this._container.getBoundingClientRect(),o=n.bottom-this._scrollNode.clientHeight-i.bottom,c=n.bottom-i.bottom-22;let e=new h;return o>0?this._scrollNode.scrollTop+=o:c<0&&(this._scrollNode.scrollTop+=c),e.resolve(),e}_outOfLeftBoundary(d){let{left:n}=d,i={left:n},o=this._container.getBoundingClientRect(),c=new h;return o.left-i.left>162?c.resolve({needsRightBoundaryCheck:!1,isEditable:!1}):i.left<o.left?(this._scrollNode.scrollLeft-=10,i.left+=10,setTimeout(()=>{this._outOfLeftBoundary(i).then(()=>c.resolve({needsRightBoundaryCheck:!1,isEditable:!0}))})):c.resolve({needsRightBoundaryCheck:!0,isEditable:!0}),c}_outOfRightBoundary(d){let{left:n,right:i}=d,o={left:n,right:i},c=this._container.getBoundingClientRect(),e=new h;return o.right>c.right&&c.right-o.left<200?(this._scrollNode.scrollLeft+=10,o.right-=10,o.left-=10,setTimeout(()=>{this._outOfRightBoundary(o).then(()=>e.resolve())})):e.resolve(),e}}return C.default=u,C.default},A,x),A.exports=w},68124:(A,x,a)=>{var T,w;T=[a(50049),a(66629),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const v=f=>{const{dndNode:u}=g.useContext(C);return{startDragSource:(n,i=!1,o=!1)=>{const c={lifecycle:n,allowGlobal:i};return h.startDnD(u.current,c,f,o)},setDropTarget:(n,i,o)=>{const{targetList:c}=i;if(c)return c.map(e=>{h.addDnDContextTarget(n,e,o)}),n}}};return _.default=v,_.default},A,x),A.exports=w},12615:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(5690),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=u=>{const r=(i,o,c,e,t,s={})=>{const l=n(i,o,c,e,s);l&&(l.trigger=t,u(h.protected.NODE_NOTIFY,{publisherFn:()=>l,publisherId:C.protected.publisher.CELL_ENTER,noRender:!0}))},d=i=>{u(h.protected.NODE_NOTIFY,{publisherFn:()=>({refNode:i}),publisherId:C.publisher.FLOATING_CONTENT_DISMISS,noRender:!0})},n=function(i,o,c,e,t={}){const{component:s,config:l,displayCriteria:p}=e.metadata.floatingContent;if(!l)return;const E=i==="treeCell"?t:o,m=g.getNodeForTruncationCheck(i,E,c),y=g.isTruncated(m),b=l(e,y);if(!(!b||Object.keys(b).length===0))return{refNode:o,component:s,configObj:b,displayCriteria:p,isTruncated:y}};return _.useLayoutEffect(()=>()=>d(null),[]),{setFloatingContent:r,removeFloatingContent:d}};return v.default=f,v.default},A,x),A.exports=w},79411:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(5690),a(38634)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=u=>{const r=(o,c,e)=>{u(h.protected.NODE_NOTIFY,{publisherFn:()=>({node:o,id:c,content:e}),publisherId:C.protected.publisher.CELL_HOVER,noRender:!0})},d=(o,c,e)=>{if(g.isTruncated(o))return r(o,c,e)},n=(o,c,e="",t={},s)=>{o=g.getTargetNode(c,o,s,t);const l=t.showTooltip||g.isTruncated(o);if(s=s||o,l){if(t.getTooltip){const p=t.getTooltip(e);p&&p.text&&(e=p.text)}return r(s,c,e)}};return _.useLayoutEffect(()=>()=>i(),[]),{setTooltip:r,setTooltipWhenOverflow:d,handleMouseOverWithRenderer:n};function i(){u(h.protected.NODE_NOTIFY,{publisherFn:()=>!0,publisherId:C.publisher.TOOLTIP_DISMISS,noRender:!0})}};return v.default=f,v.default},A,x),A.exports=w},69410:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(38634)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const f=n=>{const{eventCallback:i,subscriberId:o}=n,c=g.useRef(null),[e,t]=g.useState({}),[s,l]=g.useState({}),[p,E]=g.useState("");return g.useEffect(()=>{l(d(e,c.current.parentNode,E))},[e.left]),g.useEffect(()=>{e&&!Object.prototype.hasOwnProperty.call(e,"left")&&l(r(e,c.current,E))},[e.top,e.maxMarginLeftForLevel,e.topOffset,e.lineClass]),g.useEffect(()=>{i(h.internal.NODE_SUBSCRIBE,{subscriberFn:m=>t(m),subscriberId:o,subscribeTo:C.protected.publisher.DND_IN_ACTION,noRender:!0})},[]),g.createElement("div",{ref:c,style:s,className:`mw-table-insertion-line ${p}`})},u=()=>!0;_.default=g.memo(f,u);function r(n,i,o){let{parentNode:c,left:e}=i;const{lineClass:t,maxMarginLeftForLevel:s=0}=n;let l=0;if(o(t),n.top){const{top:p,bottom:E,width:m,height:y}=c.getBoundingClientRect(),{height:b,width:I}=c.parentNode.getBoundingClientRect(),S=b<y+2,R=I<m,N=E<=n.top+2;let O=Math.ceil(n.top-p);e=s||e;const L=m-e;return N&&(S||R)&&(l=2),O=O-l,i.left=e,{top:O,left:e,width:L,borderTopWidth:2}}return{display:"none"}}function d(n,i,o){if(o(n.lineClass),n.left){let e=n.left-i.getBoundingClientRect().left;const t=i.getBoundingClientRect().width;return e=Math.ceil(e)===Math.ceil(t)?e-3:e-1,{left:e}}return{display:"none"}}return _.default},A,x),A.exports=w},11779:(A,x,a)=>{var T,w;T=[a(98289),a(38634)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=v=>{const{loading:f,style:u}=v;return f?C.createElement("div",{className:"mw-table-progress-indicator",style:u},C.createElement("mw-progress-indicator",{className:"progressIndicator",size:"xsmall",type:"spinner"})):null};return g.default=_,g.default},A,x),A.exports=w},82386:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static getRoleByWidgetType(_){return{Table:"grid",TreeTable:"grid"}[_]}static getTreeNode(_){const{check:v,isExpandable:f,isExpanded:u}=_,r={};return f&&(r.isExpanded=u),r.check=v,r}}return h.default=C,h.default},A,x),A.exports=w},8048:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),g=[10,32],_=[0,32];function v(r){const d=_[1]-r,n=g[1]-g[0],i=_[1]-_[0];return d*(n/i)+g[0]}function f(r,d){const{left:n,top:i}=r.getBoundingClientRect(),{xOffset:o,yOffset:c}=d,e=n+o,t=i+c;return{mouseLeftPosition:e,mouseTopPosition:t}}function u(r,d,n){const{left:i,top:o,bottom:c,right:e}=n.getBoundingClientRect(),t=c-r,s=r-o,l=e-d,p=d-i;return{distanceFromContainerBottom:t,distanceFromContainerTop:s,distanceFromContainerRight:l,distanceFromContainerLeft:p}}return h.default={scroll:function(r,d,n){const i=d.scrollWidth>d.clientWidth,o=d.scrollHeight>d.clientHeight;if(!i&&!o)return;const{mouseLeftPosition:c,mouseTopPosition:e}=f(r,n),{distanceFromContainerBottom:t,distanceFromContainerTop:s,distanceFromContainerRight:l,distanceFromContainerLeft:p}=u(e,c,d);o&&(t<C.V_TRIGGER_AUTOSCROLL?d.scrollTop=d.scrollTop+v(t):s<C.V_TRIGGER_AUTOSCROLL&&(d.scrollTop=d.scrollTop-v(s))),i&&(l<C.H_TRIGGER_AUTOSCROLL?d.scrollLeft=d.scrollLeft+v(l):p<C.H_TRIGGER_AUTOSCROLL&&(d.scrollLeft=d.scrollLeft-v(p)))}},h.default},A,x),A.exports=w},3023:(A,x,a)=>{var T,w;T=[a(41662),a(27499),a(50049),a(43952),a(89019)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{static getColumnHeaderTarget(n){const i=_.TARGET_SELECTOR_TABLE_HEADER,o=_.COLUMN_REGIONS;return{dropTarget:i,columnRegions:o,lifecycle:n}}static getColumnHeaderLifeCycle(n){const{getData:i,setAvatar:o,eventCallback:c}=n;return{start:(s,l)=>{const p=i();return u.setDataByType(s,p),g.setAvatar(l,p,s,o),g.startAction({dragItem:s},c),!0},end:()=>{g.endAction(c)}}}static getTableCellTarget(n){const i=_.TARGET_SELECTOR_TABLE_BODY,o=_.COLUMN_REGIONS;return{dropTarget:i,columnRegions:o,lifecycle:n}}static getInsertionLineTarget(n){return{dropTarget:".mw-table-insertion-line",lifecycle:n}}static getTargetValidation(n,i,o,c,e,t,s,l=null){return function(m,y,b){const I=p(m,y,b,e,t,s),S=g.getHorizontalPosition(m,y,b);return Object.assign(S,{lineClass:I?"mw-table-vertical-line":"mw-table-vertical-line-invalid"}),g.setDropPosition(S,o),I};function p(E,m,y,b,I,S){const R=u.getColIndexFromTargetNode(E,m,y);let N=R.rightTargetIndex||R.targetIndex;N>n&&(N=N-1);const O=C.cellInsideGroup(m.getAttribute("group-attr")),L=C.headerInsideGroup(m,y),U=O||L,z=C.columnDropValidation(n,R,i,U,E,b,I,S,l);return c({index:N,valid:z}),z}}static getColIndexFromTargetNode(n,i,o){const c=Number(i.getAttribute("data-col-index")),e=Number(i.getAttribute("data-col-index-end")),t=Number(i.getAttribute("data-col")),s=g.onTargetRight(o),l=t||c,E=s?r(t||e):void 0;return{targetIndex:l,rightTargetIndex:E}}static setDataByType(n,i){let o=h.NativeType.TEXT;const{columnDnDSourceData:c}=i;c.data.dragSourceType&&(o=c.data.dragSourceType),n.setDataByType(o,c.data.value)}static isColumnDraggable(n){return n!==!1}static getDragDefaultType(n){return n===v.protected.TYPE.TREETABLE?_.TREETABLE_DEFAULT_TYPE:_.TABLE_DEFAULT_TYPE}}f.default=u;function r(d){return d+1}return f.default},A,x),A.exports=w},50049:(A,x,a)=>{var T,w;T=[a(41662),a(9747),a(8048),a(97154),a(89019),a(43952)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r="."+f.SOURCE_SELECTOR,d=300;class n{static createDnDContext(e){return h.createContext({context:e})}static startDnD(e,t,s,l=!1){const p=n.createDnDContext(e);return i(p,r,t,s,l?e:null),p._mouseupFn=()=>n.clearDnDContext(p,s),document.addEventListener("mouseup",p._mouseupFn,{capture:!0}),p}static addDnDContextTarget(e,t,s){let{dropTarget:l,columnRegions:p,lifecycle:E,allowGlobal:m,rowRegions:y}=t;return l&&(E=n.targetLifecycleDecorator(E,s),e.createDropTarget({allowGlobal:m,dropTarget:l,columnRegions:p,lifecycle:E,rowRegions:y})),e}static getVerticalPosition(e,t,s,l){let{top:p,bottom:E}=t.getBoundingClientRect();const m=n.onTargetPosition(s,l);return m.bottom&&(p=E),{top:p,targetPosition:m}}static getHorizontalPosition(e,t,s){const{left:l,right:p}=t.getBoundingClientRect();let E=l;return n.onTargetRight(s)&&(E=p),{left:E}}static setDropPosition(e,t){t(_.protected.NODE_NOTIFY,{publisherFn:()=>e,publisherId:v.protected.publisher.DND_IN_ACTION,noRender:!0})}static getContextCacheInfo(e,t,s,l){return e.cachedData||(e.cachedData={}),l||(e.cachedData[t]=s),e.cachedData[t]}static removeInsertionLine(e){return n.setDropPosition({},e)}static getDragScroll(e){return C.isSafari()?(s,l)=>{window.requestAnimationFrame(()=>{g.scroll(l,e,s.getXYCoordinates())})}:void 0}static lifecycleAddOn(e,...t){return function(){return t.forEach(l=>{l&&l.apply(this,arguments)}),e?e.apply(this,arguments):void 0}}static targetLifecycleDecorator(e,t){const s=n.getDragScroll(t);return e.hover=n.lifecycleAddOn(e.hover,s),e}static sourceLifecycleDecorator(e,t,s){const l=()=>n.clearDnDContext(t,s);return e.end=n.lifecycleAddOn(e.end,l),e}static onTargetRight(e){return e&&e.column===1}static onTargetPosition(e,t){const s=e&&e.row===t?!0:void 0,l=e&&e.row===0?!0:void 0;return{bottom:s,top:l,middle:!s&&!l?!0:void 0}}static isWhitespace(e){return e.classList.contains(f.CONTAINER)}static isInsertionLine(e){return e.classList.contains(f.INSERTION_LINE_CLASS)}static getHorizontalLineClassByValidation(e){return e?"mw-table-horizontal-line":"mw-table-horizontal-line-invalid"}static removeRowTargetStyle(e,t,s,l){l===f.targetLifeCycle.LEAVE&&s&&s.row!==1||(t.classList.contains(f.ROW_VALID_HOVER)&&t.classList.remove(f.ROW_VALID_HOVER),t.classList.contains(f.ROW_INVALID_HOVER)&&t.classList.remove(f.ROW_INVALID_HOVER))}static getRowOnDrop(e,t){return(s,l,p)=>{const E={dataTransferItem:s,target:t.cachedData.targetInfo};return n.removeRowTargetStyle(s,l,p),e(E)}}static getRowTargetList(e,t,s=!1){const l=[`.${f.INSERTION_LINE_CLASS}`,`.${f.CONTAINER}`],p={allowGlobal:s,dropTarget:f.TARGET_SELECTOR_TABLE_ROW,rowRegions:t,lifecycle:e};return l.map(m=>({allowGlobal:s,dropTarget:m,lifecycle:e})).concat(p)}static debounceCheckForDragOut(e,t,s){return function(){e.currentDndLifeCycle=t,e.checktimer&&clearTimeout(e.checktimer),e.checktimer=setTimeout(()=>n.removeInsertionLineOnLastTarget(e,s),d)}}static removeInsertionLineOnLastTarget(e,t){e.currentDndLifeCycle===f.targetLifeCycle.LEAVE&&n.removeInsertionLine(t)}static clearDnDContext(e,t){return document.removeEventListener("mouseup",e._mouseupFn,{capture:!0}),e._mouseupFn=null,t(_.internal.DRAG_END),e.destroy()}static setAvatar(e,t,s,l){const{avatarNode:p,count:E}=n.getAvatarNode(e,t,s,l);s.setAvatar(p,E)}static getAvatarNode(e,t,s,l){let p;const E=o(t);if(l){const m=l({dataTransferItem:s});m&&m.node&&(p=m.node)}return p=p||document.createTextNode(e.textContent),{avatarNode:p,count:E}}static startAction(e,t){t(_.internal.DRAG_STARTED,e)}static endAction(e){n.removeInsertionLine(e),e(_.internal.DRAG_END)}}u.default=n;function i(c,e,t,s,l=null){const{allowGlobal:p=!1,lifecycle:E}=t;n.sourceLifecycleDecorator(E,c,s);const m=l?l.querySelector(e):e;return c.createDragSource({dragSource:m,allowGlobal:p,lifecycle:E}),c}function o(c){const{dndSourceDataToDropOutside:e,internalRowDndSourceData:t,columnDnDSourceData:s}=c;let l=1;return s?l=s.count:(e&&(l=e.count),t&&(l=t.count)),l}return u.default},A,x),A.exports=w},37632:(A,x,a)=>{var T,w;T=[a(97154),a(43952),a(3023),a(50049),a(68124)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";var f={};class u{constructor(o){const{avatarDefaultLabel:c,setAvatar:e,headerMeta:t,eventCallback:s,columnId:l,colIndex:p,dragAffordance:E=!0,onDragAction:m,scrollNode:y,dragType:b="columns",canDrop:I,widgetType:S,treeColumnIndex:R}=o;Object.assign(this,{avatarDefaultLabel:c,setAvatar:e,headerMeta:t,eventCallback:s,columnId:l,colIndex:p,dragAffordance:E,onDragAction:m,scrollNode:y,dragType:b,canDrop:I,widgetType:S,treeColumnIndex:R});const{startDragSource:N,setDropTarget:O}=v(this.eventCallback);Object.assign(this,{startDragSource:N,setDropTarget:O,onDragAction:m});const L=g.getDragDefaultType(this.widgetType);this.dropTargetIndex={current:null};const U=C.getDragSourceType(this.dragType,L);Object.assign(this,{dragDefaultType:L,dragSourceType:U})}getData(){const o={source:{ids:[this.columnId],type:this.dragSourceType}};return{columnDnDSourceData:{data:{dragSourceType:this.dragDefaultType,value:o},dragType:this.dragType,count:1}}}setDropTargetIndex(o){this.dropTargetIndex.current=o}dropAction(){this.onDragAction(!1),_.removeInsertionLine(this.eventCallback);const o=this.dropTargetIndex.current.index,c={columnId:this.columnId,colIndex:this.colIndex,targetIndex:o,headerMeta:this.headerMeta};this.dropTargetIndex.current.valid&&this.eventCallback(h.internal.COLUMN_REORDERED,c)}dropTargetConfig(o,c,e){const t=g.getTargetValidation(this.colIndex,this.headerMeta,this.eventCallback,this.setDropTargetIndex.bind(this),this.canDrop,this.dragSourceType,this.treeColumnIndex),s=_.lifecycleAddOn(t,_.debounceCheckForDragOut(o,C.targetLifeCycle.ENTER,this.eventCallback)),l=_.debounceCheckForDragOut(o,C.targetLifeCycle.LEAVE,this.eventCallback),p=_.debounceCheckForDragOut(o,C.targetLifeCycle.HOVER,this.eventCallback);return{enter:s,leave:l,hover:p,drop:this.dropAction.bind(this)}}handleMouseDownEvent(){this.onDragAction(!0);const o={getData:this.getData.bind(this),eventCallback:this.eventCallback,setAvatar:r(this.avatarDefaultLabel,this.setAvatar)},c=g.getColumnHeaderLifeCycle(o),e=!this.dragAffordance,t=this.startDragSource(c,!1,e),s=this.dropTargetConfig(t,this.canDrop,this.treeColumnIndex),l=n(this.dropTargetIndex.current,this.dropAction.bind(this)),p=[g.getColumnHeaderTarget(s)];return p.push(g.getTableCellTarget(s)),p.push(g.getInsertionLineTarget(l)),this.setDropTarget(t,{targetList:p},this.scrollNode)}}f.default=u;function r(i,o){return o?c=>o(c)||d(i):()=>d(i)}function d(i){return{node:document.createTextNode(i)}}function n(i,o){return{enter:()=>i&&i.valid,drop:o}}return f.default},A,x),A.exports=w},19413:(A,x,a)=>{var T,w;T=[a(97154),a(89019),a(45640),a(32746)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};const f=16.666666666666668,u=1e3/30,r=30,d=200,n=5,i=10,o=t=>{t.preventDefault()},c=(t,s,l=4)=>{let p=Math.max(0,Math.ceil((s.position-t.maxBorder)/n)<<1)||Math.min(0,Math.ceil((s.position-t.minBorder)/n)<<1);return p<0?(p=Math.min(l*-1,p),p<r*-1?d*-1:p):p>0?(p=Math.max(l,p),p>r?d:p):0};class e{constructor(s){this._containerRect=s.containerRect,this._callback=s.callback,this._rowsOnly=s.options.rowsOnly,this._colsOnly=s.options.colsOnly,this._destroyed=!1,document.addEventListener("selectstart",o,{capture:!0}),this._throttledMoveHandler=_(this._handleMouseMove.bind(this),u),this._throttledTracking=_(this._trackingUpdate.bind(this),u),this._destroy=this._destroy.bind(this),this._scrollX=g.map(this._containerRect,[["left","minBorder"],["right","maxBorder"]]),this._scrollY=g.map(this._containerRect,[["top","minBorder"],["bottom","maxBorder"]]),document.addEventListener("mousemove",this._throttledMoveHandler),document.addEventListener("mouseup",this._destroy),window.addEventListener("blur",this._destroy),this._removeByOtherDnD()}_removeByOtherDnD(){this._callback(h.internal.NODE_SUBSCRIBE,{subscriberFn:this._destroy,subscriberId:C.subscriber.DND_START,subscribeTo:C.protected.publisher.DND_IN_ACTION,noRender:!0})}static addTrackingTo(s,l,p={}){return new e({containerRect:s,callback:l,options:p})}_handleMouseMove(s){if(this._destroyed)return;const l=g.map(s,[["clientY","position"]]),p=g.map(s,[["clientX","position"]]);this._pointer={x:s.clientX,y:s.clientY},this._yDelta=c(this._scrollY,l),this._xDelta=c(this._scrollX,p,i),this._colsOnly&&(this._yDelta=0),this._rowsOnly&&(this._xDelta=0),window.clearInterval(this._prevInterval),this._xDelta!==0||this._yDelta!==0?this._prevInterval=window.setInterval(this._requestScroll(s),f):this._throttledTracking(s)}_requestScroll(s){const{ctrlKey:l,shiftKey:p,metaKey:E}=s;return()=>this._callback(h.protected.DOCUMENT_MOUSE_MOVE_INTERVAL,{yDelta:this._yDelta,xDelta:this._xDelta,pointer:this._pointer,rowsOnly:this._rowsOnly,colsOnly:this._colsOnly,containerRect:this._containerRect,ctrlKey:l,shiftKey:p,metaKey:E})}_destroy(){document.removeEventListener("selectstart",o,{capture:!0}),window.clearInterval(this._prevInterval),this._prevInterval=null,document.removeEventListener("mousemove",this._throttledMoveHandler),document.removeEventListener("mouseup",this._destroy),window.removeEventListener("blur",this._destroy),this._destroyed=!0,(this._xDelta!==0||this._yDelta!==0)&&this._callback(h.protected.DOCUMENT_MOUSE_UP,{yDelta:this._yDelta,xDelta:this._xDelta,containerRect:this._containerRect,callback:this._callback})}_trackingUpdate(s){const{ctrlKey:l,shiftKey:p,metaKey:E}=s;this._callback(h.protected.DATA_AREA_MOUSE_MOVE,{rowsOnly:this._rowsOnly,colsOnly:this._colsOnly,pointer:this._pointer,shiftKey:p,ctrlKey:l,metaKey:E})}}return v.default=e,v.default},A,x),A.exports=w},48719:(A,x,a)=>{var T,w;T=[a(99268),a(70885),a(64376),a(29619)],w=a.dj.d(T,function(h,C,g,_){"use strict";var v={};class f{constructor(r,d){this._refNode=r,this._type=d}static get TYPE(){return Object.freeze({CELL:"Cell"})}delegateEvents(r){const d=this._detector=new g(this._refNode),n={};r.doubleClick&&(n.doubleClick=C.doubleTap({options:{maxRadius:3},callbacks:{recognized:(i,o)=>{const c=_.getCellInfo(i.srcEvent);r.doubleClick(i.srcEvent,c)}}})),r.click&&(n.click=C.leftClick({callbacks:{recognized:(i,o)=>{const c=_.getCellInfo(i.srcEvent);r.click(i.srcEvent,c)}}})),r.doubleClick&&r.click&&n.click.getCoordinator().waitForFailure(n.doubleClick),d.add(Object.keys(n).map(i=>n[i])),this._mouseDownCallback=i=>{const o=_.getCellInfo(i);i.button===h.MOUSE_LEFT_BUTTON&&r.mousedown(i,o)},this._mouseupCallback=i=>{const o=_.getCellInfo(i);r.mouseup&&i.button===h.MOUSE_LEFT_BUTTON&&r.mouseup(i,o)},this._refNode.addEventListener("mousedown",this._mouseDownCallback),this._refNode.addEventListener("mouseup",this._mouseupCallback)}destroyEvents(){this._detector.destroy(),this._refNode.removeEventListener("mousedown",this._mouseDownCallback),this._refNode.removeEventListener("mouseup",this._mouseupCallback)}}return v.default=f,v.default},A,x),A.exports=w},29619:(A,x,a)=>{var T,w;T=[a(99268),a(97154)],w=a.dj.d(T,function(h,C){"use strict";var g={};class _{static isSyntheticRightClick(r){return r&&r.button&&r.button===h.MOUSE_RIGHT_BUTTON||!1}static emitDoubleClickEvent(r,d,n){r&&(d.defaultFn=n,r(C.protected.CELL_DBL_CLICK,d))}static getCellInfo(r,d="mw-table-cell"){let n;const i=r.path||r.composedPath&&r.composedPath();if(i&&i.length>0){for(const o of i)if(f(o)&&o.classList.contains(d)){n=v(o);break}else if(f(o)&&o.classList.contains("mw-table-component"))break}else if(document.elementsFromPoint){const c=document.elementsFromPoint(r.clientX,r.clientY).find(e=>f(e)&&e.classList.contains(d));c&&(n=v(c))}else{let o=document.elementFromPoint(r.clientX,r.clientY);for(;f(o)&&!o.classList.contains("mw-table-component")&&o!==document.body;){if(o.classList.contains(d)){n=v(o);break}o=o.parentNode}}return n}static setFocusCache(r){r(C.protected.CELL_DOM_FOCUS_CACHE)}static isClassInClassList(r,d){if(r&&typeof r=="string"){for(const n of d)if(r.includes(n))return!0}return!1}static shouldAllowDragToSelect(r,d,n,i,o){if(o||r&&d)return!1;let c=!1;return i&&i(n)&&(c=!0),c}static targetIsEditIndicator(r){let d=!1;return!r||!r.target||r.target.getAttribute("edit-indicator")==="true"&&(d=!0),d}}g.default=_;function v(u){const r=Number(u.getAttribute("data-row")),d=Number(u.getAttribute("data-col")),n=u.getAttribute("data-row-id");return{rowIndex:r,colIndex:d,id:n,cellNode:u,cellType:u.getAttribute("data-cell-type")}}function f(u){return u&&u.classList}return g.default},A,x),A.exports=w},86960:(A,x,a)=>{var T,w;T=[a(38634)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default={getHighlightedTextDOM(g,_,v="mw-table-highlight",f,u){return this._getHighlightedDomNodes(g,_,v,this._createHighlightedTextContentForDisplay,this._createNonHighlightedTextContentForDisplay,f,u)},getHighlightedReact(g,_,v="mw-table-highlight",f,u){return this._getHighlightedDomNodes(g,_,v,this._createReactHighlightedTextContentForDisplay,this._createReactNonHighlightedTextContentForDisplay,f,u)},getFieldSpecificHighlightData(g,_){return g.field===_&&Array.isArray(g.matches)?g.matches:!1},_getHighlightedDomNodes(g,_,v,f,u,r,d){const n=[];if(!(Array.isArray(_)&&_.length>0))return n.push(u(g)),n;let i,o;const c=this._createClassNameLookUp(g,_,v);let e=0;for(;e<c.length;){let t,s;if(c[e][1]===0){for(t=e;e<c.length&&c[e][1]===0;)e++;s=e,i=u(g.substring(t,s)),n.push(i)}if(e<c.length){t=e;const l=c[e][1],p=c[e][0];for(;e<c.length&&c[e][1]!==0&&l===c[e][1]&&p===c[e][0];)e++;s=e,r!=null&&r.currentMatchIndex!==void 0&&p-1===r.currentMatchIndex&&r.index&&r.index[0]===d.rowIndex&&r.columnDataIndex===d.colIndex?o=f(g.substring(t,s),l+" tableSearchNavigationHighlight"):o=f(g.substring(t,s),l),n.push(o)}}return n},_createClassNameLookUp(g,_,v){let f=[];for(let r=0;r<g.length;r++)f.push([0,0]);let u=1;if(_.sort((r,d)=>r.start<d.start||r.start===d.start&&r.start+r.count>d.start+d.count?-1:1),_.length>1){let r=1;for(;r<_.length;){let d=_[r-1];_[r].start<d.start+d.count?_.splice(r,1):r+=1}}for(const r of _){let d=r.className||_.className||v,n=r.start+r.count;for(let i=r.start;i<n;i++)f[i]=[u,d];u+=1}return f},_createHighlightedTextContentForDisplay(g,_){const v=document.createElement("mark");v.textContent=g;const f=_.split(" ");return v.classList.add(...f),v},_createNonHighlightedTextContentForDisplay(g){return document.createTextNode(g)},_createReactHighlightedTextContentForDisplay(g,_){const v=g?g.toString():"";return h.createElement("mark",{className:_,"data-region":!0},v)},_createReactNonHighlightedTextContentForDisplay(g){const _=g?g.toString():"";return h.createElement(h.Fragment,{"data-region":!0},_)}},C.default},A,x),A.exports=w},13585:(A,x,a)=>{var T,w;T=[a(97154),a(48369),a(89019),a(37881),a(29619),a(37999)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r="mw-table-row-header-scrolling-div",d="mw-scrolling-div";class n{static isWhiteSpace(o,c,e){if(!o)return!0;if(this._isNonWhiteSpaceClass(o.className))return!1;const t=o.childNodes;if(t.length===0)return!1;let s=!0;for(const l of t)this._isPointInTextNode(c,e,l)&&(s=!1);return s}static handleContextMenu(o,c){const{eventCallback:e,component:t,widget:s,rowIndex:l,colIndex:p,colEnd:E,id:m,columnId:y,isEditable:b,isTargetInScrollbar:I}=c;if(!n._isEmptyRegionContextMenuValid(o,t,I))return;e&&o.preventDefault();const S={top:o.pageY,left:o.pageX,target:{type:t,isEditable:b}},R=l>=0?l:-1,N=p>=0?p:-1;t===_.EMPTY_ROW_HEADER||t===_.EMPTY_ROW?S.target.isWhiteSpace=!0:S.target.isWhiteSpace=n.isWhiteSpace(o.target,o.clientX,o.clientY),s===g.protected.TYPE.TABLE?(S.viewRange=n._getRangeFromCellIndices(R,N,E),e(h.internal.TABLE_RIGHT_CLICK,S)):s===g.protected.TYPE.TREETABLE&&(S.target.id=m,S.target.column=N,S.target.columnId=y,(t===_.COLUMN_HEADER||t===_.EMPTY_ROW)&&(S.col=N,S.colEnd=E,S.row=R),e(C.internal.TREETABLE_RIGHT_CLICK,S))}static validateContextMenuEventInfo(o){o.isEditing&&o.target&&o.target.hasOwnProperty("isWhiteSpace")&&delete o.target.isWhiteSpace}static handleBelowDataRegionClicked(o,c){const{component:e,eventCallback:t}=c,s={top:o.pageY,left:o.pageX,target:{type:e}};t(h.internal.TABLE_WHITE_SPACE_LEFT_CLICK,s)}static _isEmptyRegionContextMenuValid(o,c,e=null){return c===_.EMPTY_ROW_HEADER?v.isClassInClassList(r,o.target.classList):c===_.EMPTY_ROW?v.isClassInClassList(d,o.target.classList)&&!e:!0}static _isNonWhiteSpaceClass(o){const c=["mwCheckBoxRadioIconNode"];return v.isClassInClassList(o,c)}static _isPointInTextNode(o,c,e){if(!this._isNodeTypeText(e))return!1;const t=document.createRange();t.selectNodeContents(e);const s=t.getBoundingClientRect();return!!this._isPointInsideRect(o,c,s)}static _isPointInsideRect(o,c,e){return o>=e.left&&c>=e.top&&o<=e.right&&c<=e.bottom}static _isNodeTypeText(o){if(o){if(o.nodeType===3)return!0;if(o.nodeType===1&&o.innerText)return!0}else return!1;return!1}static _getRangeFromCellIndices(o,c,e=c){const t=Math.max(0,o),s=Math.max(-1,o),l=Math.max(0,c),p=Math.max(-1,e);return f.range().setRows(t,s).setColumns(l,p)}}return u.default=n,u.default},A,x),A.exports=w},322:(A,x,a)=>{var T,w;T=[a(43952),a(37881),a(85786)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};class v{constructor(u){this._rowDnDService=u}onTargetBelow(u){return u&&u===2}getClosestRow(u){return u.closest("tr")}_getLinePosition(u,r={}){const{insertBeforeChild:d}=r;let n=1,i=!1,o=!1,c=!1,{level:e,hoverRowNode:t,nextSibling:s,domNode:l,isDropValid:p,insertionPosition:E}=u;const m=this._rowDnDService.getTreeColumnWidth();d&&(e=s.level);let y=(e+1)*h.MARGIN_LEFT_FOR_ROOT;m?y=y>m?m:y:y=0;let b=l.getBoundingClientRect().top;if(this.onTargetBelow(E)&&(b=l.getBoundingClientRect().bottom),!t.nextSibling&&E===h.REORDER.INSERT_BELOW){i=!0;const S=t.closest(".mw-scrolling-div"),R=S&&S.getBoundingClientRect().height,N=S&&S.firstChild.getBoundingClientRect().height;o=R===N,c=this._rowDnDService.hasHorizontalScroll()}!t.previousSibling&&E===h.REORDER.INSERT_ABOVE&&(n=0);const I=p?h.REORDER.VALID_LINE:h.REORDER.INVALID_LINE;return{top:b,lastRow:i,maxMarginLeftForLevel:y,topOffset:n,lineClass:I,hasHorizontalScroll:c,isTableHeightSameAsContainer:o}}getReorderTargetParent(u){const{row:r,targetNodeInfo:d,insertionPosition:n}=u;let i={};const o={},c=this._rowDnDService.getCurrentRowMetaData(r).path,e=c&&c.length;return e<=1?(o.id=null,o.path=[]):(o.id=c[e-2],o.path=c.slice(0,e-1)),o.id===null?o.type=C.TREETABLE:o.type=C.TREETABLE_ROW,n===h.REORDER.INSERT_BELOW&&d.isExpandable&&d.isExpanded&&(o.id=d.id),i={proxyNode:{id:o.id},type:o.type},i}getNextSiblingInfo(u){const{hoverRowNode:r}=u,d=r.nextElementSibling,n=d&&d.firstChild,i=d?C.TREETABLE_ROW:C.TREETABLE,o=this._rowDnDService.getNodeInfo(n,i);return o.rowNode=d,o}getPreviousSiblingInfo(u){const{hoverRowNode:r}=u,d=r.previousElementSibling,n=d&&d.firstChild,i=d?C.TREETABLE_ROW:C.TREETABLE,o=this._rowDnDService.getNodeInfo(n,i);return o.rowNode=d,o}isItNoOperationForBelowNode(u){const{sourceIds:r,level:d,hoverRowNode:n,domNode:i,nextSibling:o}=u,{level:c,rowNode:e}=o,t=n.classList.contains("mw-table-row-selected"),s=!!(e&&e.classList.contains("mw-table-row-selected")),l=r.length>1,p=t||c>=d&&s;return!!(i.classList.contains("mw-scrolling-div")||p&&!l)}getLinePositionBelowNode(u){let r={};return this.isItNoOperationForBelowNode(u)||(g.isNextSiblingItsChild(u)?r=this._getLinePosition(u,{insertBeforeChild:!0}):r=this._getLinePosition(u)),r}isItNoOperationForAboveNode(u){const{sourceIds:r,level:d,hoverRowNode:n,domNode:i,previousSibling:o}=u,{level:c,rowNode:e}=o,t=n.classList.contains("mw-table-row-selected"),s=!!(e&&e.classList.contains("mw-table-row-selected")),l=r.length>1,p=t||c<=d&&s;return!!(i.classList.contains("mw-scrolling-div")||p&&!l)}getLinePositionAboveNode(u){let r={};return this.isItNoOperationForAboveNode(u)||(r=this._getLinePosition(u)),r}}return _.default=v,_.default},A,x),A.exports=w},79097:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static isMovingLeft(_){return _<0}}return h.default=C,h.default},A,x),A.exports=w},1241:(A,x,a)=>{var T,w;T=[a(58587),a(43952),a(37999),a(41662),a(50049),a(79424),a(60757),a(37881)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r){"use strict";var d={};const i=()=>({changeDragData:m,setDragItemDataByType:s,isDragValid:E,removeDnDStyle:p,createTargetForOutsideSource:b,getSourceLifecycle:o,isDataTransfer:e,setMultipleDragItemDataByType:t,setDragItemSourceType:c,setSelectionDataForDrag:l});d.default=i;function o(O){return{start:(z,$)=>{const{canDrag:W,getData:V,setAvatar:K,eventCallback:M}=O;if(!E($,z))return!1;const B=V();if(Object.keys(B).length<=0)return!1;if(e(B))t(z,B);else{const P=_.NativeType.TEXT;s(z,P,B)}return W&&!W({dataTransferItem:z})?!1:(v.setAvatar($,B,z,K),v.startAction({dragItem:z},M),!0)},end:(z,$)=>{const{eventCallback:W}=O;p($,{dropCompleted:!0}),v.endAction(W)}}}function c(O){const U={source:{type:C.TABLE_SOURCE_ROW}};O.setDataByType(C.TABLE_DEFAULT_TYPE,U)}function e(O){const{dndSourceDataToDropOutside:L}=O;return L&&L.data&&L.data.dataTransfer}function t(O,L){if(!e(L))return;c(O);const{dndSourceDataToDropOutside:U}=L,z=U.data.dataTransfer,$=z.types;for(let W=0;W<$.length;W++){const V=$[W],K=z.getData(V);O.setDataByType(V,K)}}function s(O,L,U){const z=L,{dndSourceDataToDropOutside:$}=U,W=U.internalRowDndSourceData;$&&(c(O),L=$.data.dragSourceType||z,O.setDataByType(L,$.data.value)),W&&(L=W.data.dragSourceType||z,O.setDataByType(L,W.data.value))}function l(O,L){if(O&&L){const U=new u;return O(L,U)}return f.toPromise()}function p(O,L={}){return!0}function E(O,L){return!0}function m(O,L={}){if(O.selectionById)return y(O,L);const{setDragData:U,selections:z,setSelections:$,setDndSourceData:W}=L;if(!O.selections||!h.areSelectionRangesDifferent(z,O.selections)||($(O.selections),!U))return;const{count:V,type:K}=h.getSelectionCountByRanges(O.selections);W(null),l(U,O.selections).then(function(M){W({data:M,count:V,dragType:K})})}function y(O,L){const{setDragData:U,selections:z,setSelections:$,setDndSourceData:W,setinternalRowDndSourceData:V}=L;if(O.selections&&h.areSelectionIdsDifferent(z,O.selections)){$(O.selections);const K=Object.keys(O.selections),M=K.length,B="rows",P=K.map(H=>({id:H})),k={dragSourceType:C.TABLE_DEFAULT_TYPE,value:{source:{proxyNodes:P,type:r.TABLE_ROW}}};U&&(W(null),l(U,P).then(function(H){W({data:H,count:M,dragType:B})})),V({data:k,count:M,dragType:B})}}function b(O,L,U){return function($,W){const V=v.createDnDContext($),K=I(O.canDrop,U,V),M=v.getRowOnDrop(O.onDrop,V),B=N(V,K,M,U),P=v.getRowTargetList(B,C.ROW_REGIONS.INSERT_AS_ROW,!0);return L(V,{targetList:P},W)}}function I(O,L,U){return function($,W,V){const K=S(W,V),M=K.place==="insertion",B=v.getContextCacheInfo(U,"targetInfo",K,M);let P=O({dataTransferItem:$,target:B});if(P===null)return P;P=v.getContextCacheInfo(U,"validation",P,M);const k=R($,W,V),H=v.getHorizontalLineClassByValidation(P);return Object.assign(k,{lineClass:H}),v.setDropPosition(k,L),P}}function S(O,L){const U="TABLE";if(v.isWhitespace(O))return{type:U};if(v.isInsertionLine(O))return{place:"insertion"};const z=Number(O.getAttribute("data-row-index")),$=O.getAttribute("data-row-id");if(typeof $=="string")return{type:U,rowId:$};const W=L.row===1?z+1:z,V=g.range().setRows(W,W).setColumns(0,1/0);return{type:U,range:V}}function R(O,L,U){if(v.isWhitespace(L)){const{bottom:z}=L.firstChild.getBoundingClientRect();return{top:z}}return v.getVerticalPosition(O,L,U,1)}function N(O,L,U,z){const $=v.lifecycleAddOn(L,v.debounceCheckForDragOut(O,C.targetLifeCycle.ENTER,z)),W=v.debounceCheckForDragOut(O,C.targetLifeCycle.LEAVE,z),V=v.debounceCheckForDragOut(O,C.targetLifeCycle.HOVER,z),K=v.lifecycleAddOn(U,()=>v.removeInsertionLine(z));return{enter:$,hover:V,leave:W,drop:K}}return d.default},A,x),A.exports=w},5690:(A,x,a)=>{var T,w;T=[a(37881),a(59723),a(93755),a(41347),a(36329),a(81835),a(53644)],w=a.dj.d(T,function(h,C,g,_,v,f,u){"use strict";var r={};const d=".mw-data-label-renderer",n=".mw-string-renderer";class i{static isTruncated(c){return!!(c&&c.scrollWidth>c.offsetWidth)}static getTreeCellTargetNode(c){return c.firstElementChild.firstChild}static getTreetableIconLabelTargetNode(c,e){return c&&c.querySelector(d)?c.querySelector(d):e}static getTableRendererTargetNode(c){return c.firstElementChild}static isHeaderCell(c){return c===h.COLUMN_HEADER||c===h.TOPLEFT_HEADER}static isIconLabelOrCheckboxRenderer(c){return c instanceof _||c instanceof g}static getTargetNode(c,e,t,s){return c==="treeCell"&&(e=this.getTreeCellTargetNode(e)),this.isHeaderCell(c)&&Object.keys(s).length!==0&&(e=t.firstChild),this.isIconLabelOrCheckboxRenderer(s)&&(e=this.getTableRendererTargetNode(t)),this.isHeaderCell(c)&&this.isIconLabelOrCheckboxRenderer(s)&&(e=t),s instanceof u&&(e=this.getTreetableIconLabelTargetNode(t,e)),e}static getNodeForTruncationCheck(c,e,t){let s=e;if(c==="treeCell"&&(s=e.firstElementChild),t instanceof u){const l=s.querySelector(d);l&&(s=l)}else t instanceof C?s=s.querySelector(n):t instanceof g||t instanceof _?s=s.firstElementChild:t instanceof v||t instanceof f?s=s.firstElementChild.firstElementChild:s=s.firstElementChild;return s}}return r.default=i,r.default},A,x),A.exports=w},49330:(A,x,a)=>{var T,w;T=[a(43952),a(37881),a(50049)],w=a.dj.d(T,function(h,C,g){"use strict";var _={};const d="first",n="child";class i{constructor(l){this._rowDnDService=l,this.createTargetForOutsideSource=this.createTargetForOutsideSource.bind(this),this.getTargetRowValidation=this.getTargetRowValidation.bind(this),this.setInsertionPosition=this.setInsertionPosition.bind(this),this.expandTreenode=this.expandTreenode.bind(this),this.getTreeRowTargetInfo=this.getTreeRowTargetInfo.bind(this)}createTargetForOutsideSource(l,p,E){return(y,b)=>{const{dropType:I={}}=l,S=I.reparentRows?void 0:h.ROW_REGIONS.ROWS,R=g.createDnDContext(y),N=this.getTargetRowValidation(l.canDrop,E,R,I),O=g.getRowOnDrop(l.onDrop,R),L=g.lifecycleAddOn(N,g.debounceCheckForDragOut(R,h.targetLifeCycle.ENTER,E)),U=g.lifecycleAddOn((M,B,P)=>g.removeRowTargetStyle(M,B,P,h.targetLifeCycle.LEAVE),g.debounceCheckForDragOut(R,h.targetLifeCycle.LEAVE,E)),z=g.debounceCheckForDragOut(R,h.targetLifeCycle.HOVER,E),$=g.lifecycleAddOn(O,()=>g.removeInsertionLine(E)),W={enter:L,hover:z,leave:U,drop:$},K={targetList:g.getRowTargetList(W,S,!0)};return p(R,K,b)}}getTargetRowValidation(l,p,E,m){return(b,I,S)=>{const R=this.getTreeRowTargetInfo(I,S);this.expandTreenode(E,R);const N=R.place==="insertion",{proxyNode:O,type:L}=g.getContextCacheInfo(E,"targetInfo",R,N);let z=l({dataTransferItem:b,target:{proxyNode:O,type:L}});return z===null||(z=g.getContextCacheInfo(E,"validation",z,N),m.reorderRows&&!N&&this.setInsertionPosition(b,I,p,S,z)),z}}setInsertionPosition(l,p,E,m,y){const b=o({dragItem:l,domNode:p,position:m,validation:y}),I=g.getHorizontalLineClassByValidation(y);return Object.assign(b,{lineClass:I,validation:y}),g.setDropPosition(b,E)}expandTreenode(l,p){l.autoExpandTimer&&clearTimeout(l.autoExpandTimer),p&&p.place===n&&(l.autoExpandTimer=window.setTimeout(()=>{this._rowDnDService.expandNode(p.proxyNode)},h.AUTO_EXPAND_TIME))}getTreeRowTargetInfo(l,p){if(g.isWhitespace(l))return{type:C.TREETABLE,proxyNode:{id:null},place:"last"};if(g.isInsertionLine(l))return{place:"insertion"};const E=l.firstChild.getAttribute("data-row");if(E==="0"&&p&&p.row===0)return{type:C.TREETABLE,proxyNode:{id:null},place:d};const{expanded:m}=e(l),y=m==="true",b=l.firstChild.getAttribute("data-row-id");if(p&&p.row===2&&y)return{proxyNode:{id:b},type:C.TREETABLE_ROW,place:d};if(p&&p.row===1)return{proxyNode:{id:b},type:C.TREETABLE_ROW,place:n};const I=c(this._rowDnDService.getCurrentRowMetaData(E).path,b),S=I===null?C.TREETABLE:C.TREETABLE_ROW,R={id:b},N=p.row===0?"before":"after";return{proxyNode:{id:I},type:S,place:N,node:R}}}_.default=i;function o(s){const{dragItem:l,domNode:p,position:E,validation:m}=s;if(g.isWhitespace(p))return{};const{top:y,targetPosition:b}=g.getVerticalPosition(l,p,E,2);if(b.middle)return m&&p.classList.add(h.ROW_VALID_HOVER),!m&&p.classList.add(h.ROW_INVALID_HOVER),{};g.removeRowTargetStyle(l,p,E);const I=t(p,E);return{top:y,maxMarginLeftForLevel:I}}function c(s=[],l){if(s.length<=1)return null;if(s[s.length-1]===l)return s[s.length-2]}function e(s){return{expanded:s&&s.firstChild&&s.firstChild.getAttribute("aria-expanded")?s.firstChild.getAttribute("aria-expanded"):void 0}}function t(s,l){let p=Number(s.firstChild.getAttribute("data-level-index"))||0;const{expanded:E}=e(s);E==="true"&&l&&l.row===2&&p++;const m=(p+1)*h.MARGIN_LEFT_FOR_ROOT;return Math.min(s.firstChild.firstChild.clientWidth,m)}return _.default},A,x),A.exports=w},93961:(A,x,a)=>{var T,w;T=[a(58587),a(41662),a(43952),a(97154),a(89019),a(37881),a(85786),a(322),a(50049),a(79424),a(1241)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){"use strict";var o={};const c=g.AUTO_EXPAND_TIME;let e={};const t=i();class s{constructor(p){this._rowDnDService=p,this._reorderUtils=new r(p),this.autoExpandTimer=null,this.changeDragData=this.changeDragData.bind(this),this.createDropTarget=this.createDropTarget.bind(this),this.setDragItemDataByType=this.setDragItemDataByType.bind(this),this.isDragValid=this.isDragValid.bind(this),this.removeDnDStyle=this.removeDnDStyle.bind(this),this.getSourceLifecycle=this.getSourceLifecycle.bind(this)}changeDragData(p,E){const{reorderRows:m,reparentRows:y,setDragData:b,selections:I,setSelections:S,setDndSourceData:R,setinternalRowDndSourceData:N}=E;if(p.selections&&h.areSelectionIdsDifferent(I,p.selections)){S(p.selections);const O=Object.keys(p.selections),L=O.length,U="rows",z=u.createProxyNodesWithIds(O),$={dragSourceType:g.TREETABLE_DEFAULT_TYPE,value:{source:{proxyNodes:z,type:f.TREETABLE_ROW}}};b&&(R(null),t.setSelectionDataForDrag(b,z).then(function(W){R({data:W,count:L,dragType:U})})),(m||y)&&N({data:$,count:L,dragType:U})}}getSourceLifecycle(p){return{start:(y,b)=>{const{canDrag:I,getData:S,setAvatar:R,eventCallback:N}=p,O=S();if(!this.isDragValid(b,y)||Object.keys(O).length<=0)return!1;if(t.isDataTransfer(O))t.setMultipleDragItemDataByType(y,O);else{const L=C.NativeType.TEXT;this.setDragItemDataByType(y,L,O)}return this._rowDnDService.dropInProgress||I&&!I({dataTransferItem:y})?!1:(d.setAvatar(b,O,y,R),d.startAction({dragItem:y},N),!0)},end:(y,b)=>{const{eventCallback:I}=p;this.removeDnDStyle(b,{dropCompleted:!0}),d.endAction(I)}}}createDropTarget(p){const{dndType:E}=p;if(E===v.protected.REPARENT_ROWS){const m={allowGlobal:!0,dropTarget:this._getDndDropTarget("tableCell"),lifecycle:this._getDndLifecycle(f.TREETABLE_ROW,p)},y={allowGlobal:!0,dropTarget:this._getDndDropTarget("scrollComponent"),lifecycle:this._getDndLifecycle(f.TREETABLE,p)};return[m,y]}else{const m={allowGlobal:!0,dropTarget:this._getDndDropTarget(g.DROP_TARGET.TABLE_CELL),lifecycle:this._getDndLifecycle(f.TREETABLE_ROW,p),rowRegions:g.ROW_REGIONS.ROWS},y={allowGlobal:!0,dropTarget:this._getDndDropTarget(g.DROP_TARGET.CONTAINER),lifecycle:this._getDndLifecycle(f.TREETABLE,p),rowRegions:g.ROW_REGIONS.CONTAINER},b={allowGlobal:!0,dropTarget:this._getDndDropTarget(g.DROP_TARGET.CONTAINER.INSERTION_LINE),lifecycle:this._getInsertionLineDndLifecycle(p)};return[m,y,b]}}_getDndDropTarget(p){let E="";return p===g.DROP_TARGET.TABLE_CELL?E=".mw-table-cell":p===g.DROP_TARGET.CONTAINER?E=".mw-scrolling-div":p===g.DROP_TARGET.CONTAINER.INSERTION_LINE&&(E=".mw-table-insertion-line"),E}setDragItemDataByType(p,E,m){const y=E,{dndSourceDataToDropOutside:b,internalRowDndSourceData:I}=m;b&&(t.setDragItemSourceType(p),E=b.data.dragSourceType||y,p.setDataByType(E,b.data.value)),I&&(E=I.data.dragSourceType,p.setDataByType(E,I.data.value))}_getInsertionLineDndLifecycle(p){const{eventCallback:E,context:m}=p;let y={};return y={enter:(b,I,S)=>{const{eventCallback:R}=p,{dropPosition:N}=e;return d.setDropPosition(N,R),e.isDropValid},drop:(b,I,S)=>{this._handleDrop({dragItem:b,domNode:I,position:S,eventCallback:E})}},y.enter=d.lifecycleAddOn(y.enter,d.debounceCheckForDragOut(m,g.targetLifeCycle.ENTER,E)),y.leave=d.debounceCheckForDragOut(m,g.targetLifeCycle.LEAVE,E),y.hover=d.debounceCheckForDragOut(m,g.targetLifeCycle.HOVER,E),y}_getDndLifecycle(p,E){const{dndType:m,eventCallback:y,context:b,canDrop:I}=E;let S={};return S={enter:(R,N,O)=>this._handleEnter({dragItem:R,domNode:N,dropNodeType:p,position:O,dndType:m,eventCallback:y,canDrop:I}),hover:(R,N,O)=>{this._handleHover({dragItem:R,domNode:N,position:O,dndType:m})},leave:(R,N,O)=>{this._handleLeave({dragItem:R,domNode:N,position:O})},drop:(R,N,O)=>{this._handleDrop({dragItem:R,domNode:N,position:O,eventCallback:y})}},S.enter=d.lifecycleAddOn(S.enter,d.debounceCheckForDragOut(b,g.targetLifeCycle.ENTER,y)),S.leave=d.lifecycleAddOn(S.leave,d.debounceCheckForDragOut(b,g.targetLifeCycle.LEAVE,y)),S.hover=d.lifecycleAddOn(S.hover,d.debounceCheckForDragOut(b,g.targetLifeCycle.HOVER,y)),S}_setCurrentNodeInfo(p){const{dragItem:E,domNode:m,dropNodeType:y,position:b}=p;e={sourceStylesSet:!1,hoverStylesSet:!1,type:y,hoverRowNode:this._reorderUtils.getClosestRow(m),dropPosition:{}};const I=b?b.row:1;e.insertionPosition=I,e.domNode=m;const S=E.getDataByType(g.TREETABLE_DEFAULT_TYPE),R=u.getIdsFromProxyNodes(S.source.proxyNodes);e.sourceIds=R,e.targetId=m.getAttribute("data-row-id");const N=this._rowDnDService.getNodeInfo(m,y);e.targetNodeInfo=N,e.level=parseInt(N.level),e.row=m.getAttribute("data-row");const O=this._rowDnDService.getCurrentRowMetaData(e.row).path||[];e.path=O;let L;if(!e.sourceStylesSet){for(const U in R)if(L=m.closest(".mw-table-inner-wrapper").querySelectorAll('[data-row-id="'+R[U]+'"]'),L.length>0)for(let z=0;z<L.length;z++)L[z].classList.add("mw-table-row-drag-source");e.sourceStylesSet=!0}}isDragValid(p,E){const m=E.getXYCoordinates();return!(u.isDragTargetDisclosureIcon(p,m)||u.isDragTargetCheckboxTree(p,m))}async _isDropValid(p){const{dragItem:E,dndType:m,canDrop:y}=p,{targetId:b,sourceIds:I,domNode:S}=e,R=this._getTargetInfo(m,p),N=this._rowDnDService.isInternalDrag(),O=u.isDraggedItemInTheNodePath(e,R.path),L=u.isTargetOnScrollBar(S,E.getXYCoordinates()),U=await n.asyncWrapper(y,{dataTransferItem:E,target:R});return e.isDropValid=!0,(I.includes(b)||L||O||!U)&&N?(e.isDropValid=!1,!1):!0}dropAction(p,E){E(_.internal.ROW_DROPPED,p)}removeDnDStyle(p,E={}){const{dropCompleted:m,clearStyles:y}=E;if(e.hoverStylesSet||y){const b=p.closest("tr");if(b){const I=b.querySelectorAll("td");if(I.length>0){for(let S=0;S<I.length;S++)I[S].classList.remove("mw-table-dnd-valid-hover"),I[S].classList.remove("mw-table-dnd-invalid-hover");e.hoverStylesSet=!1}}}if(m){const b=p.closest(".mw-table-inner-wrapper"),I=b&&b.querySelectorAll(".mw-table-row-drag-source")||[];for(let S=0;S<I.length;S++)I[S].classList.remove("mw-table-row-drag-source")}}_autoExpandOnEnter(p){this._clearTimeoutForAutoExpand(),this.autoExpandTimer=window.setTimeout(()=>{this._rowDnDService.expandNode(p)},c)}_clearTimeoutForAutoExpand(){window.clearTimeout(this.autoExpandTimer)}_getTargetInfo(p){const{targetId:E,type:m,insertionPosition:y}=e;let b={};return b={proxyNode:{id:E},type:m},e.target=b,p==="reorderRows"&&(y===g.REORDER.INSERT_ABOVE||y===g.REORDER.INSERT_BELOW)&&(b=this._reorderUtils.getReorderTargetParent(e)),b}_handleLeave(p){const{domNode:E,position:m}=p,{insertionPosition:y}=e;let b=!1;if(this.removeDnDStyle(E,{clearStyles:!0}),!m)b=e.domNode===E;else{const I=y===g.REORDER.INSERT_BELOW,S=y===g.REORDER.INSERT_ABOVE,R=m.row===g.REORDER.INSERT_AS_CHILD;b=(I||S)&&R}b&&this._clearTimeoutForAutoExpand()}_validateAsyncDrop(p){const{domNode:E,dropNodeType:m}=p;if(E.getAttribute("data-row-id")===null&&m==="TREETABLE_ROW")return e.isDropValid=!1,!1;if(m==="TREETABLE_ROW"){const y=this._rowDnDService.getCurrentRowMetaData(E.getAttribute("data-row"));if(!y.path||y.path.length===0)return e.isDropValid=!1,!1}return!0}_handleEnter(p){const{domNode:E,eventCallback:m}=p;if(this.removeDnDStyle(E),!E||!this._validateAsyncDrop(p))return!1;this._setCurrentNodeInfo(p);const{insertionPosition:y}=e;return y===g.REORDER.INSERT_BELOW?(e.nextSibling=this._reorderUtils.getNextSiblingInfo(e),e.dropPosition=this._reorderUtils.getLinePositionBelowNode(e)):y===g.REORDER.INSERT_ABOVE?(e.previousSibling=this._reorderUtils.getPreviousSiblingInfo(e),e.dropPosition=this._reorderUtils.getLinePositionAboveNode(e)):e.dropPosition={},d.setDropPosition(e.dropPosition,m),{isValidDropAsync:async()=>{const{insertionPosition:b}=e;b===g.REORDER.INSERT_AS_CHILD&&this._autoExpandOnEnter({id:e.targetId});const I=await this._isDropValid(p);return b!==g.REORDER.INSERT_AS_CHILD&&I&&(e.dropPosition.lineClass=g.REORDER.VALID_LINE),d.setDropPosition(e.dropPosition,m),I}}}_handleDrop(p){const{dragItem:E,domNode:m,eventCallback:y}=p;this._clearTimeoutForAutoExpand();const b=E.getDataByType(g.TREETABLE_DEFAULT_TYPE).source.proxyNodes;this.dropAction({dragItem:E,proxyNodes:b,domNode:m,currentNodeInfo:e},y),this.removeDnDStyle(m,{dropCompleted:!0}),d.removeInsertionLine(y)}_handleHover(p){const{domNode:E,dndType:m,position:y}=p;if(this.removeDnDStyle(E),!(m!==v.protected.REPARENT_ROWS&&y.row!==g.REORDER.INSERT_AS_CHILD)&&!e.hoverStylesSet){const b=E.closest("tr");if(b){const I=b.querySelectorAll("td");if(I.length>0){for(let S=0;S<I.length;S++)e.isDropValid?I[S].classList.add("mw-table-dnd-valid-hover"):I[S].classList.add("mw-table-dnd-invalid-hover");e.hoverStylesSet=!0}}}}}return o.default=s,o.default},A,x),A.exports=w},86517:(A,x,a)=>{var T,w;T=[a(38163),a(43739),a(85177),a(89019),a(37999),a(97154)],w=a.dj.d(T,function(h,C,g,_,v,f){"use strict";var u={};const r="";class d{constructor(i){this._stateCategoryIndex={},this._stateRangeIndex=new h,this._events={},this._columnDataMapper=new C,this._rowDataMapper=new C,this._dataModel=i,this._viewColumnRange=i,this._sortState=null,this._previousSortState={},this._rowMetaData=new g({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new g({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new g({rankType:"column",dataViewMapper:this._columnDataMapper}),this._ownedListeners=[],this.setColumnHeaders([]),this.setColumnHeaderConfig({}),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}viewRangeListToDataRangeList(i){const o=i.slice(0);return this._columnDataMapper.viewToModelRangeMapping(o)}set _viewColumnRange(i){this._viewColumnObject=i}get _viewColumnRange(){return this._viewColumnObject.dataSize.columns}setRowMetaData(i,o,c){this._rowMetaData.setViewMetaData(i,o,c),this._emitViewDataChanged()}deleteRowMetaData(i,o){this._rowMetaData.deleteViewMetaData(i,o),this._emitViewDataChanged()}setColumnMetaData(i,o,c){this._columnMetaData.setViewMetaData(i,o,c),this._emitViewDataChanged()}getColumnMetaDataUnified(){return this._columnMetaData.getUnifiedMetaData()}deleteColumnMetaData(i,o){this._columnMetaData.deleteViewMetaData(i,o),this._emitViewDataChanged()}setRenderType(i){const o={type:i};this._emit("renderTypeChanged",o)}getStateForCustomEvent(){return{isEditing:!!this.getStateByKey(_.protected.EDIT_STATE)}}_emitDataSizeChanged(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}_handlePagedDataChanged(i){const o=this.getStateByKey("viewBuffer");if(o){this._viewData=this._columnDataMapper.modelToViewDataMapping(i.pagedData,i.cellMetaData,o.rangeList),this._rowMetaData.setRangeList(o.rangeList),this._columnMetaData.setRangeList(o.rangeList),this._columnMetaData.setDataMetaData(i.columnMetaData),this._rowMetaData.setDataMetaData(i.rowMetaData),this._columnSpanningMetaData=i.columnSpanningMetaData;const c={},e=this._parseColumnMetaDataForSortState(i.columnMetaData[0][0]),t=this._translateSortStateToViewIndices(e),s=this._filterSortStateAgainstSortConfig(t),l=this._determineOneColumnForEachSortCriteria(s);if(l!==void 0&&(c.sorted=l),this._isSelectionManagedByDataStore()){const p=this._getSelectedIdsFromRowMetaData(i.rowMetaData[0]);c.selection=p}this._emitViewDataChanged(c)}}_isSelectionManagedByDataStore(){return!!(this.getStateByKey(_.protected.DATASTORE_MANAGE_SELECTION)&&this.getStateByKey(_.protected.DATASTORE_MANAGE_SELECTION).value)}_getSelectedIdsFromRowMetaData(i){const o=[];return i.forEach(c=>{Array.isArray(c)&&c[0].selected&&o.push(c[0].id)}),o}_parseColumnMetaDataForSortState(i){let o;return i.forEach(c=>{c&&Object.prototype.hasOwnProperty.call(c,"sorted")&&Array.isArray(c.sorted)&&o===void 0&&(o=c.sorted)}),o}_translateSortStateToViewIndices(i){let o=[];return Array.isArray(i)&&i.forEach(c=>{const e=this._convertDSCriteriaToViewCriteria(c);e.columnIndex.length>0?o=o.concat(e):o=o.concat([{}])}),o}_convertDSCriteriaToViewCriteria(i){const o=this._columnDataMapper.getMappedViewIndicesForDataIndex(i.columnIndex);return Object.assign({},i,{columnIndex:o})}_filterSortStateAgainstSortConfig(i){const o=[];return i.forEach(c=>{if(!Array.isArray(c.columnIndex)){o.push({});return}const e=[];c.columnIndex.forEach(t=>{this._doesSortTypeMatchWithConfiguration(Object.assign({},c,{columnIndex:t}))&&e.push(t)}),o.push(Object.assign({},c,{columnIndex:e}))}),o}_determineOneColumnForEachSortCriteria(i){const o=[],c=this._getViewSortArrowColumn();return i.forEach(e=>{if(!Array.isArray(e.columnIndex)){o.push({});return}let t=e.columnIndex[0];e.columnIndex.indexOf(c)>=0&&(t=c),o.push(Object.assign({},e,{columnIndex:t}))}),o}_getViewSortArrowColumn(){const i=this._getPreviousSortState();return i&&i.value?i.rangeList[0].columns.start:-1}_doesSortTypeMatchWithConfiguration(i){return i.compare===this._getSortOrderConfiguredForColumnIndex(i.columnIndex)}_getSortOrderConfiguredForColumnIndex(i){if(!Number.isInteger(i))return r;const o=this._columnMetaData.getHeaderMetaData()[i],c=o.parentId,e=this.getStateByKey(_.protected.GROUPED_COLUMN_HEADERS);return c===void 0||e&&e.value===!1?o.sortType:this._getSortTypeForParentId(c)}_getSortTypeForParentId(i){let o=r;return this._columnSpanningMetaData.forEach(c=>{c.forEach(e=>{e.forEach(t=>{t&&t.value&&t.value[i]&&(o=t.value[i].sortType)})})}),o}clearSortState(i){this._sortState=null,this.deleteState(_.protected.SORTED),this.deleteColumnMetaData(_.protected.SORTED,i.columns.start)}clearCurrentSortState(){const i=this.getStateByKey(_.protected.SORTED);i&&this.clearSortState(i.rangeList[0])}_didSortStateChange(i){if(!Array.isArray(this._sortState)||this._sortState.length!==i.length)return!0;let o=!1;return this._sortState.forEach((c,e)=>{o||(c.columnIndex!==i[e].columnIndex||c.order!==i[e].order||c.compare!==i[e].compare)&&(o=!0)}),o}_emitViewDataChanged(i={}){const o=this.getStateByKey("viewBuffer");if(o){const c=this._columnMetaData.getUnifiedMetaData(),e=this._rowMetaData.getUnifiedMetaData(),t=this._columnMetaData.getMetaDataRangeList(),s=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===t.length&&this._viewData.length===s.length){for(let l=0;l<this._viewData.length;l+=1){const p=this._viewData[l].range,E=t[l],m=s[l];if(p.columns.start!==E.columns.start||p.columns.end!==E.columns.end||p.rows.start!==m.rows.start||p.rows.end!==m.rows.end)return}this.setState(_.protected.VIEW_DATA,this._viewData),this.setState(_.protected.ROW_METADATA,e),this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:c,rowMetaData:e,rangeList:o.rangeList,columnSpanningMetaData:this._columnSpanningMetaData}),Object.keys(i).forEach(l=>{switch(l){case"sorted":this._didSortStateChange(i.sorted)&&(this._sortState=i.sorted,this._emit(f.internal.DATA_SORTED,{sorted:i.sorted}));break;case"selection":let p=this.getStateByKey("selected")||[];Array.isArray(p)||(p=p.value||[]),p.join()!==i.selection.join()&&this._emit(f.internal.DATASTORE_SELECTION,{selectedIds:i.selection});break}})}}}_columnMetaDataToString(i,o){const c=o?o[0]:0,e=c&&c.columns?c.columns.end:0;if(!i||!i[0]||!e)return"";const t=c&&c.columns?c.columns.start:0;let s="",l="",p=0,E=" columnWidths = ",m=0;for(let y=t;y<=e;y+=1){let b=null;try{i[0]&&i[0](y)&&(b=i[0](y).value)}catch(O){b=null}if(!b)continue;p++,b[_.protected.SORTED]&&(s+=" sortCol = "+y+" sort = "+JSON.stringify(b[_.protected.SORTED]));const I=Object.keys(b);I.length>m&&(m=I.length,l=" col="+y+" label= "+b.label+" prop count = "+I.length+" props="+I);let S="x";b&&b.styleData&&Object.prototype.hasOwnProperty.call(b.styleData,"maxWidth")&&(S="s"+b.styleData.maxWidth),b&&b.width&&Object.prototype.hasOwnProperty.call(b.width,"value")&&(S="w"+b.width.value),E+=",["+y+"]"+S}return"Col Count = "+p+s+l+E}set viewBuffer(i){const{size:o,rangeList:c}=i,e=c.slice(),t=this._columnDataMapper.viewToModelRangeMapping(e);this.setState("viewBuffer",o,e),this._manageDataModelPaging(t)}get viewBuffer(){const i=this.getStateByKey("viewBuffer");return{size:i.value,rangeList:i.rangeList}}set viewPort(i){const{size:o,rangeList:c}=i;this.setState("viewPort",o,c)}get viewPort(){const i=this.getStateByKey("viewPort");return{size:i.value,rangeList:i.rangeList}}get dataSize(){let i=v.range();return i=i.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),i=i.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),i}sort(i){const o=[];for(let c=0;c<i.length;c+=1){const e=i[c];if(e.columnIndex<this.dataSize.columns.start||e.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");const t={columnIndex:this._columnDataMapper.viewToDataIndex(e.columnIndex),order:e.order,compare:e.compare};o.push(t)}this._dataModel.sort(o,this._getSortOptions())}_getSortOptions(){let i=!1;const o=this.getStateByKey(_.protected.SORT_BEHAVIOUR);return o&&o.value===!0&&(i=!0),{keepSorted:i}}setColumnHeaders(i){if(!i||i.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(i);else{const c=[v.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],c)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}const o=[v.range().setColumns(0,i.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:o[0]},this._columnDataMapper.viewColumnIndexToDataIndex=i.map(c=>c.dataIndex),this._columnMetaData.setViewHeaders(i),this._dataModel.setHeaders?this._dataModel.setHeaders(i):this.setState("columnHeaders",i,o)}setColumnHeaderConfig(i){this._columnHeaderConfig=Object.assign({},i);const o=!!(i&&i.displayIndices);this.setState(_.DISPLAY_COLUMN_INDEX,o);const c=!!(i&&i.displayColumnLabel);this.setState(_.DISPLAY_COLUMN_LABEL,c);const e=!!(i&&i.hideColumnHeader);this.setState(_.HIDE_COLUMN_HEADER,e)}getColumnHeaderConfig(){return this._columnHeaderConfig}setRowHeaderConfig(i){this._rowHeaderConfig=i;const o=!!(i&&i.displayIndices),c=!!(i&&i.displayRowLabel);this.setState(_.DISPLAY_ROW_HEADER_INDICES,o),this.setState(_.displayRowHeader,c);const e=i&&i.rowHeaderWidth||0;this.setState(_.rowHeaderWidth,e)}getRowHeaderConfig(){return this._rowHeaderConfig}setSpanningHeaders(i){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(i)}getSpanningHeaders(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}updateHeader(i){return this._dataModel.updateHeader(i)}updateRowHeader(i,o){return this._dataModel.updateRowHeader(i,o)}getColumnHeaders(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}getColumnCount(){return this.getColumnHeaders().length||this.dataSize.columns.count}getRowCount(){return this.dataSize.rows.count}setState(i,o,c=[]){if(["all","keys"].indexOf(i)>=0)throw new Error(`The key '${i}' is reserved, and cannot be used to setState`);const e=c.slice(),t={value:o,rangeList:e,pointerList:[]};this._deleteState(i),this._stateCategoryIndex[i]=t,i===_.protected.SORTED&&this._setPreviousSortState(o,c),e.forEach(s=>{const l=this._stateRangeIndex.insert(s,i);t.pointerList.push(l)}),this._emit(i,this.getStateByKey(i))}_setPreviousSortState(i,o){this._previousSortState=Object.create({value:i,rangeList:o})}_getPreviousSortState(){return this._previousSortState}deleteState(i){this._deleteState(i),this._emit(i)}_deleteState(i){if(!this._stateCategoryIndex[i])return;const o=this._stateCategoryIndex[i];delete this._stateCategoryIndex[i],o.pointerList.forEach(c=>{this._stateRangeIndex.remove(c)})}getStateByKey(i){const o=this._stateCategoryIndex[i];return o?{value:o.value,rangeList:o.rangeList.slice()}:null}getStateByRangeList(i){const o={};return o.keys=[],i.forEach(c=>{this._stateRangeIndex.forEach(e=>{const t=e.key,s=e.value;o[s]||v.doesRangeIntersect(c,t)&&(o[s]=this.getStateByKey(s),o[s].firstMatch=t,o.keys.push(s))})}),o}on(i,o){this._events[i]||(this._events[i]=[]),this._events[i].push(o);const c={};return c.remove=()=>{const e=this._events[i].indexOf(o);this._events[i].splice(e,1),c.remove=()=>null},c}_addOwnListeners(i){this._ownedListeners.push(i)}_removeOwnListeners(){this._ownedListeners.forEach(i=>i.remove())}destroy(){this._removeOwnListeners(),this._dataModel=null,this._events={},this._sortState=null,this._previousSortState={},this._stateCategoryIndex={}}_emit(i,o={}){const c=this._events.all,e=this._events[i],t=Object.getOwnPropertyNames(o),s={};t.forEach(p=>{s[p]=o[p]}),s.eventName=i;const l=p=>{p&&p.forEach(E=>{E(s)})};l(e),l(c)}}return u.default=d,u.default},A,x),A.exports=w},43739:(A,x,a)=>{var T,w;T=[a(37612),a(37999)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=function(r,d){let n=[],i=[];if(d.length===0)i=r.slice(0);else{if(r.forEach(c=>{if(c.start>=d.length||c.end>=d.length)throw new Error("RangeIndex exceeds dataIndexMap size");const e=d.slice(c.start,c.end+1);n=n.concat(e)}),n.length===0)return[];n.sort((c,e)=>c-e);let o={start:n[0],end:n[0]};i.push(o);for(let c=1;c<n.length;c+=1){const e=n[c];o.end+1===e||o.end===e?o.end=e:(o={start:e,end:e},i.push(o))}}return i},v=function(r,d){let n=[];const i=r.map(c=>c.columns),o=_(i,d);return n=n.concat(o.map(c=>C.range().setColumns(c.start,c.end).setRows(r[0].rows.start,r[0].rows.end))),n},f=function(r,d,n){const i=v([r],n),o=[];return i.forEach(c=>{let e=!1;for(let t=0;t<d.length;t+=1)if(C.isRangeInside(c,d[t])){e=!0,o.push(t);break}if(!e)throw new Error("Data Range to view range mapping not found")}),o};class u{constructor(){this._viewColumnIndexToDataIndex=[]}set viewColumnIndexToDataIndex(d){this._viewColumnIndexToDataIndex=d}get viewColumnIndexToDataIndex(){return this._viewColumnIndexToDataIndex}viewToModelRangeMapping(d){let n=[];return C.groupRangeListByRow(d).forEach(o=>{const c=v(o,this.viewColumnIndexToDataIndex);n=n.concat(c)}),n}modelToViewDataMapping(d,n,i){const o=[],c=d.map(e=>e.range);return i.forEach((e,t)=>{let s;s=f(e,c,this.viewColumnIndexToDataIndex),s.sort((p,E)=>d[p].range.columns.start-d[E].range.columns.start);const l=[];o[t]=p=>{if(p<l.length)return l[p];throw new Error("No Data Found for rowIndex: "+p)},o[t].range=e;for(let p=e.rows.start;p<=e.rows.end;p+=1){const E=u._createRow(p,s,d,n,this.viewColumnIndexToDataIndex);l[p]=E}}),o}viewToDataIndex(d){const n=this.viewColumnIndexToDataIndex;return n.length>0?n[d]:d}getMappedViewIndicesForDataIndex(d){const n=this.viewColumnIndexToDataIndex;return n.length>0?n.map((i,o)=>i===d?o:-1).filter(i=>i!==-1):[]}static _createRow(d,n,i,o,c){const e=n.map(t=>{const s=i[t];let l=[];return o&&(l=o[t]),{start:s.range.columns.start,end:s.range.columns.end,cells:s[d],metaData:l[d]||[]}});return h(e,c)}}return g.default=u,g.default},A,x),A.exports=w},38163:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(v,f){this._next=null,this._prev=null,this._value=f,this._key=v}get next(){return this._next}get prev(){return this._prev}set next(v){this._next=v}set prev(v){this._prev=v}get isLast(){return this._next===null}get isFirst(){return this._prev===null}get key(){return this._key}get value(){return this._value}}class g{constructor(){this._root=null}get root(){return this._root}insert(v,f){const u=new C(v,f);return this._root!==null&&(this._root.prev=u,u.next=this._root),this._root=u,u}find(v){if(this._root===null)return null;let f=this._root;for(;f;){if(f.key===v)return f;f=f.next}return null}forEach(v){if(this._root===null)return;let f=this._root;for(;f;)v(f),f=f.next}removeWithKey(v){const f=this.find(v);this.remove(f)}remove(v){v&&(v.isFirst?(this._root=v.next,this.root&&!this.root.isLast&&(v.next.prev=null)):v.isLast?v.prev.next=null:(v.prev.next=v.next,v.next.prev=v.prev))}}return h.default=g,h.default},A,x),A.exports=w},85177:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return h.default=class{constructor(C){this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=C.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=g=>g.setColumns(0,0),this._flattenData=(g,_,v)=>g[_](v)(0)):this._rankType==="column"&&(this._flattenRangeDimension=g=>g.setRows(0,0),this._flattenData=(g,_,v)=>g[_](0)(v)),this._dataViewMapper=C.dataViewMapper}setViewHeaders(C){const g=C.slice(0);this._headerMetaData=g}getHeaderMetaData(){return Object.assign({},this._headerMetaData)}setRangeList(C){this._flatRangeList=C.map(this._flattenRangeDimension)}setViewMetaData(C,g,_){this._viewMetaData[_]||(this._viewMetaData[_]={version:0,value:{}}),this._viewMetaData[_].value[C]=g,this._viewMetaData[_].version+=1}deleteViewMetaData(C,g){this._viewMetaData[g]&&(delete this._viewMetaData[g].value[C],this._viewMetaData[g].version+=1)}setDataMetaData(C){const g=this._transform(C,this._dataViewMapper,this._flattenData);this._dataMetaData=g}getMetaDataRangeList(){return this._flatRangeList}getUnifiedMetaData(){const C=this._dataMetaData,g=this._headerMetaData,_=[],v=(f,u)=>(Object.keys(f).forEach(r=>{u[r]=f[r]}),u);for(let f=0;f<C.length;f+=1){const u=f;_.push(r=>{let d=C[u](r).value;d=Object(d);let n={};n=v(d,n);const i={_dataMetaData:C[u](r),isEqual:function(o){return this._headerMetaData===o._headerMetaData&&this._viewMetaDataVersion===o._viewMetaDataVersion&&this._dataMetaData.isEqual(o._dataMetaData)}};if(g[r]){const o=g[r];n=v(o,n),i._headerMetaData=g}if(this._viewMetaData[r]){const o=this._viewMetaData[r].value,c=this._viewMetaData[r].version;Object.keys(o).forEach(e=>{n[e]=o[e]}),i._viewMetaDataVersion=c}return i.value=n,i})}return _}_transform(C,g,_){const v=g.modelToViewDataMapping(C,C,this._flatRangeList),f=[],u=_.bind(this,v);for(let r=0;r<v.length;r+=1){const d=u.bind(this,r);f.push(d)}return f}},h.default},A,x),A.exports=w},37612:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={};return h.default=function(g,_){if(!Array.isArray(g))throw new Error("No rowData Present");const v=function(f){let u;_.length===0?u=f:u=_[f];let r=v._lastAccessRowDataIndex;do{if(u>=g[r].start&&u<=g[r].end)return{value:g[r].cells[u],metaData:g[r].metaData[u]||C,isEqual:function(d){return d.value===this.value&&d.metaData===this.metaData}};r+=1,r=r%g.length}while(r!==v._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+f)};return v._lastAccessRowDataIndex=0,v._rowData=g,v._dataIndexMap=_,v.isEqual=function(f){if(f._rowData.length!==g.length||_!==f._dataIndexMap)return!1;for(let u=0;u<=g.length;u+=1)if(v._rowData[u].data!==g[u].data)return!1;return!0},v},h.default},A,x),A.exports=w},94362:(A,x,a)=>{var T,w;T=[a(10710),a(48292),a(52819),a(9181),a(99635),a(34744),a(5135),a(6245),a(36170),a(38630),a(66396)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){"use strict";var o={};const c=[u.ERROR,u.WARNING],e=951,t="_focusEventHandled",s=[5,5],l={name:"hideOnEsc",defaultValue:!0,fn({hide:E}){function m(y){y.key==="Escape"&&E()}return{onShow(){document.addEventListener("keydown",m)},onHide(){document.removeEventListener("keydown",m)}}}};class p extends h{static get styles(){return i`
[mw-tooltip] {
visibility: hidden;
opacity: 0;
transition: opacity 0.2s linear;
}
[mw-tooltip = 'show'] {
visibility: visible;
position: absolute;
overflow: hidden;
max-height: 400px;
max-width: min(calc(100vw - 20px), 400px);
z-index: 951;
opacity: 1;
transition: opacity 0.2s linear;
background-color: var(--mw-backgroundColor-tertiary, $mw-backgroundColor-tertiary);
border: 1px solid var(--mw-borderColor-primary, $mw-borderColor-primary);
border-radius: 2px;
padding: 5px;
box-shadow: 0 1px 4px 0 var(--mw-boxShadowColor, $mw-boxShadowColor);
display: flex;
align-items: center;
width: max-content;
}
[mw-tooltip = 'show'] .mw-tooltip-text {
color: var(--mw-color-primary);
font: 12px Arial;
letter-spacing: 0.23px;
line-height: 14px;
white-space: normal;
max-height: 400px;
word-wrap:break-word;
font-kerning: normal;
min-width: 0;
}
[mw-tooltip = 'show'] .mw-tooltip-icon-error {
height: 12px;
width: 12px;
display: inline-block;
margin-right: 5px;
}
[mw-tooltip = 'show'] .mw-tooltip-icon-warning {
height: 12px;
width: 12px;
display: inline-block;
margin-right: 5px;
}
[mw-tooltip = 'show'][mw-tooltip-type = 'error'] {
border: 1px solid var(--mw-borderColor-error, $mw-borderColor-error);
background-color: var(--mw-backgroundColor-secondary-error, $mw-backgroundColor-secondary-error);
}
[mw-tooltip = 'show'][mw-tooltip-type = 'warning'] {
border: 1px solid var(--mw-borderColor-warning, $mw-borderColor-warning);
background-color: var(--mw-backgroundColor-secondary-warning, $mw-backgroundColor-secondary-warning);
}
`}static get properties(){return{referenceNode:{type:Object,reflect:!1,attribute:!1},referenceSelector:{type:String,reflect:!0,attribute:!0},content:{type:String,reflect:!0,attribute:!0},type:{type:String,reflect:!0,attribute:!0},isHTML:{type:String,reflect:!0,attribute:!0},dataTestId:{type:String,reflect:!0,attribute:"data-test-id"}}}constructor(){super(),this._referenceSelector=null,this._referenceNode=null,this._content=null,this._type="",this._isHTML=!1,this._experimentalUseShadowDom=!0,this.tID="mw-tooltip-"+v.generateUuid()}connectedCallback(){if(super.connectedCallback(),v.hasMultipleReferenceNode(this.referenceNode))for(const m of this.referenceNode)this._destroyTooltipFromDOM(m);else v.isElement(this.referenceNode)&&this._destroyTooltipFromDOM(this.referenceNode)}set type(m){const y=this._type;m=typeof m=="string"?m.toLowerCase():m,this._type=c.includes(m)?m:"",this.requestUpdate("type",y)}get type(){return this._type}set content(m){const y=this._content;this._content=m||null,this.requestUpdate("content",y)}get content(){return this._content}set isHTML(m){const y=this._isHTML;this._isHTML=m==="true"||m===!0,this.requestUpdate("isHTML",y)}get isHTML(){return this._isHTML}set referenceNode(m){const y=this._referenceNode;if(!v.isValidReferenceNode(m))throw new Error("You must pass a valid dom node");if(y===null){if(v.hasMultipleReferenceNode(m))for(const b of m)this._errorIfTooltipExist(b),r.set(b,this);else this._errorIfTooltipExist(m),r.set(m,this);d.set(m,this),this._referenceNode=m}}get referenceNode(){return this._referenceNode}set referenceSelector(m){const y=this._referenceSelector;if(!v.isSelectorValid(m))throw new Error("Only class and id selector is supported at this moment.");if(y!==null)return;const b=document.querySelectorAll(m);this.referenceNode=b,this._referenceSelector=m,this.requestUpdate("referenceSelector",y)}get referenceSelector(){return this._referenceSelector}_errorIfTooltipExist(m){if(r.has(m))throw new Error("A tooltip already exists for this reference node. Pass a new reference node")}_destroyTooltipFromDOM(m){const{promise:y,observer:b}=v.observeElementInDom(m);this._referenceObserver=b,y.then(I=>{this.destroy()})}_getReferenceNodeTheme(m){let y=g.getTheme(m);return y=y===""?f.light:f[y],y}handleFocusIn(m,y){if(v.getTooltipPrivateEventProp(y,"_mwTooltipCustomData",t))return m._mwTooltipCustomData=t,!1;v.setTooltipPrivateEventProp(y,"_mwTooltipCustomData",t),m.props.offset=s}_createTippy(){if(!this._tippyInstance&&this.content){const m=this;this._tippyInstance=n(m.referenceSelector||m.referenceNode,{arrow:!1,allowHTML:m.isHTML,content:m.content,delay:[500,0],followCursor:"initial",placement:"bottom-end",appendTo:()=>m.renderRoot,interactive:!0,interactiveBorder:0,offset:[5,15],aria:{content:"describedby",expanded:!1},moveTransition:"opacity 0.2s linear",trigger:"mouseenter focusin",zIndex:951,onMount(y){y.reference.setAttribute("aria-describedby",`${m.tID}`);const b=m._getReferenceNodeTheme(y.reference);g.setTheme(b,m),m.setAttribute("isOpen",!0)},onHide(y){y.reference.removeAttribute("aria-describedby"),m.removeAttribute("isOpen")},onShow(y){if(y._mwTooltipCustomData===t)return!1;n.hideAll({exclude:y})},onTrigger(y,b){if(b.type==="focusin")return y._mwTooltipCustomData="",m.handleFocusIn(y,b)},animation:!1,plugins:[l],render(y){y.type=m.type,m.setAttribute("id",m.tID),m.setAttribute("role","tooltip");let b=v.calculateTooltipZindex(y.reference,m);b=b!=="auto"?b:e,m.setAttribute("zIndex",b),y.props.zIndex=b;const I=document.createElement("span");I.setAttribute("mw-tooltip","show"),_.createContent({content:{text:y.props.content,isHTML:y.props.allowHTML,type:m.type},container:I});function S(R,N){I&&(R.content!==N.content||R.allowHTML!==N.allowHTML||I.type!==m.type)&&(I.innerHTML="",_.createContent({content:{text:N.content,isHTML:N.allowHTML,type:m.type},container:I}))}return{popper:I,onUpdate:S}}})}else this._tippyInstance&&Array.isArray(this._tippyInstance)?this._tippyInstance.forEach(m=>{m.setProps({content:this.content,allowHTML:this.isHTML})}):this._tippyInstance&&this._tippyInstance.setProps({content:this.content,allowHTML:this.isHTML})}disconnectedCallback(){this._destroyTooltip("tooltip"),super.disconnectedCallback()}updated(m){(m.has("type")||m.has("content")||m.has("isHTML"))&&this._createTippy()}_destroyTippyInstance(m){m&&m.destroy()}_removeAriaAttribute(m){m&&m.reference.hasAttribute("aria-describedby")&&m.reference.removeAttribute("aria-describedby")}_destroyTooltip(m="referenceNode"){if(d.has(this.referenceNode)){let y=d.get(this.referenceNode),b=y&&y._tippyInstance;if(b&&Array.isArray(b)?b.forEach(I=>{this._removeAriaAttribute(I),this._destroyTippyInstance(I)}):(this._removeAriaAttribute(b),this._destroyTippyInstance(b)),v.hasMultipleReferenceNode(this.referenceNode))for(const I of this.referenceNode)r.has(I)&&r.delete(I);else r.delete(this.referenceNode);d.delete(this.referenceNode),v.stopObservingElement(this._referenceObserver),this._referenceObserver=null,b=null,this.content=null,this.type="",this.isHTML=!1,this._referenceNode=null,this._referenceSelector=null,this.tID=null,this._tippyInstance=null,m!=="tooltip"&&y&&y.parentNode.removeChild(y),y=null}}destroy(){this._destroyTooltip()}}return o.default=C({name:"mw-tooltip",widgetClass:p}),o.default},A,x),A.exports=w},9181:(A,x,a)=>{"use strict";var T,w;T=[a(5135),a(71689)],w=a.dj.d(T,function(h,C){"use strict";var g={};const _=`
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0.5L15.5 14.5H0.5L8 0.5Z" fill="var(--mw-icon-alert-red, #B7313C)" stroke="var(--mw-icon-alert-red, #B7313C)" stroke-linecap="square" stroke-linejoin="round"/>
<circle cx="8" cy="12" r="1" fill="var(--mw-icon-background-default-white, white)"/>
<path d="M8 9V5" stroke="var(--mw-icon-background-default-white, white)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<use href="#error" />
</svg>`,v=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0.5L15.5 14.5H0.5L8 0.5Z" fill="var(--mw-icon-background-medium-yellow, #FFEF91)" stroke="var(--mw-icon-border-default-yellow, #674C06)" stroke-linecap="square" stroke-linejoin="round"/>
<circle cx="8" cy="12" r="1" fill="var(--mw-icon-glyph-content-yellow, #674C07)"/>
<path d="M8 9V5" stroke="var(--mw-icon-glyph-content-yellow, #674C07)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<use href="#warning" />
</svg>`;class f{static createContent(r){const{container:d,content:n}=r;if(n.type){let o=document.createElement("div");const c=n.type;let e;if(n.type===h.ERROR?(e="mw-tooltip-icon-error",o.innerHTML=_):n.type===h.WARNING&&(o.innerHTML=v,e="mw-tooltip-icon-warning"),e){const t=o.children[0].cloneNode(!0);o=null,d.setAttribute("mw-tooltip-type",c),t.setAttribute("class",e),d.appendChild(t)}}else d.hasAttribute("mw-tooltip-type")&&d.removeAttribute("mw-tooltip-type");d.type=n.type,(n.text===void 0||n.text===null)&&(n.text=""),typeof n.text!="string"&&(n.text=n.text.toString());const i=document.createElement("span");if(i.className="mw-tooltip-text",d.appendChild(i),n.isHTML===!0){const o=C.sanitizeHtmlForTooltip(n.text);i.appendChild(o)}else n.text.split(`
`).forEach(c=>{const e=document.createElement("span");e.textContent=c,i.appendChild(e),i.appendChild(document.createElement("br"))})}}return g.default=f,g.default},A,x),A.exports=w},6245:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._tooltipDepot=new WeakMap}clear(){this._tooltipDepot=new WeakMap}delete(_){return this._tooltipDepot.delete(_)}get(_){return this._tooltipDepot.get(_)}has(_){return this._tooltipDepot.has(_)}set(_,v){return this._tooltipDepot.set(_,v),this}}return h.default=new C,h.default},A,x),A.exports=w},36170:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{constructor(){this._tooltipStore=new WeakMap}clear(){this._tooltipStore=new WeakMap}delete(_){return this._tooltipStore.delete(_)}get(_){return this._tooltipStore.get(_)}has(_){return this._tooltipStore.has(_)}set(_,v){return this._tooltipStore.set(_,v),this}}return h.default=new C,h.default},A,x),A.exports=w},34744:(A,x,a)=>{var T,w;T=[a(42625)],w=a.dj.d(T,function(h){"use strict";var C={};const g=Object.freeze({light:h.LIGHT,dark:h.DARK});return C.default=g,C.default},A,x),A.exports=w},5135:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({WARNING:"warning",ERROR:"error"});return h.default=C,h.default},A,x),A.exports=w},71689:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C={B:[],BR:[],CODE:[],EM:[],I:[],S:[],SUB:[],SUP:[],STRONG:[],U:[]},g=function(_){return function(v){const f=function(o,c){const e=[];for(const t of o){const s=t;if(c.hasAttribute(s)){const l=c.getAttribute(s);e.push({key:s,value:l})}}return e},u=function(o){let c;if(o.nodeType===window.Node.ELEMENT_NODE)if(_[o.tagName]){c=document.createElement(o.tagName);const t=_[o.tagName];f(t,o).forEach(l=>{c.setAttribute(l.key,l.value)})}else c=document.createDocumentFragment();else o.nodeType===window.Node.TEXT_NODE?c=document.createTextNode(o.textContent):c=document.createDocumentFragment();return c},r=function(o,c=0){const e=document.createDocumentFragment();if(c>150||!o)return e;for(let t=o.firstChild;t;t=t.nextSibling){const s=u(t);t.nodeType===window.Node.ELEMENT_NODE&&s.appendChild(r(t,c+1)),e.appendChild(s)}return e},n=new DOMParser().parseFromString(v,"text/html");let i;return n.body?i=r(n.body):i=document.createDocumentFragment(),i}};return h.default={sanitizeHtmlForTooltip:g(C)},h.default},A,x),A.exports=w},99635:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};class C{static getCoordsWrtPage(_){const v=_.getBoundingClientRect();return{top:v.top+window.pageYOffset,left:v.left+window.pageXOffset}}static isElement(_){return _ instanceof window.Element||_ instanceof window.HTMLElement}static isValidReferenceNode(_){return _&&Array.isArray(_)&&_.length>0?_.every(v=>v instanceof window.Element||v instanceof window.HTMLElement):_ instanceof window.Element||_ instanceof window.HTMLElement||_ instanceof window.NodeList&&_.length>0}static removeChildNodes(_){for(;_.lastChild;)_.removeChild(_.lastChild)}static getBrowserVerticalScrollbarWidth(){return window.innerWidth-document.documentElement.clientWidth}static getBrowserHorizontalScrollbarHeight(){return window.innerHeight-document.documentElement.clientHeight}static getScrollbarWidth(_){return _.offsetWidth-_.clientWidth}static getScrollbarHeight(_){return _.offsetHeight-_.clientHeight}static setTooltipPrivateEventProp(_,v,f){(!_[v]||!_[v][f])&&(_[v]={},_[v][f]="true")}static getTooltipPrivateEventProp(_,v,f){return!!(_[v]&&_[v][f])}static generateUuid(){return"xxxxxxxx".replace(/[xy]/g,function(_){const v=Math.random()*16|0;return(_==="x"?v:v&3|8).toString(16)}).toUpperCase()}static getElementZindex(_){return window.getComputedStyle(_).getPropertyValue("z-index")}static getEffectiveZindex(_){let v=0,f,u=!0;for(;_&&C.isElement(_);)f=C.getElementZindex(_),f!=="auto"&&(f=parseInt(f,10),f>v&&(u=!1,v=f)),_=_.parentNode;return u?"auto":v}static isSelectorValid(_){return _.substring(0,1)==="."||_.substring(0,1)==="#"}static calculateTooltipZindex(_,v){const f=C.getEffectiveZindex(_),u=C.getElementZindex(v);return f==="auto"||u==="auto"||f<u?"auto":f+1}static observeElementInDom(_){let v,f=document.body.contains(_);const u=new Promise(function(d,n){v=d}),r=new window.MutationObserver(function(d){document.body.contains(_)?f=!0:f&&(f=!1,v(_))});return r.observe(document.body,{childList:!0,subtree:!0}),{promise:u,observer:r}}static stopObservingElement(_){_.disconnect()}static hasMultipleReferenceNode(_){return _&&(Array.isArray(_)||_ instanceof window.NodeList)&&_.length>0}}return h.default=C,h.default},A,x),A.exports=w},24644:(A,x,a)=>{"use strict";var T,w;function h(c){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(c)}function C(c){return f(c)||v(c)||_(c)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(c,e){if(c){if(typeof c=="string")return u(c,e);var t=Object.prototype.toString.call(c).slice(8,-1);if(t==="Object"&&c.constructor&&(t=c.constructor.name),t==="Map"||t==="Set")return Array.from(c);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(c,e)}}function v(c){if(typeof Symbol<"u"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}function f(c){if(Array.isArray(c))return u(c)}function u(c,e){(e==null||e>c.length)&&(e=c.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=c[t];return s}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function d(c,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,i(s.key),s)}}function n(c,e,t){return e&&d(c.prototype,e),t&&d(c,t),Object.defineProperty(c,"prototype",{writable:!1}),c}function i(c){var e=o(c,"string");return h(e)=="symbol"?e:String(e)}function o(c,e){if(h(c)!="object"||!c)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var s=t.call(c,e||"default");if(h(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(c)}T=[a(99544),a(23645),a(76301),a(95514),a(85491),a(58861),a(65454),a(88369),a(42640),a(82079),a(31115),a(9253),a(37999),a(11907),a(663),a(68419),a(11564),a(48970),a(72863),a(46465),a(31063),a(46481),a(76318),a(90290)],w=a.dj.d(T,function(c,e,t,s,l,p,E,m,y,b,I,S,R,N,O,L,U,z,$,W,V,K,M,B){"use strict";var P=function(){function k(H){var Y=this,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r(this,k),this._eventListeners=[],this._controllers=[],this._plugins=[],this._eventsMap={},this._createModels(H),this.rows=function(){var ie;return(ie=Y._dataStore)!==null&&ie!==void 0&&(ie=ie.dataSize)!==null&&ie!==void 0&&(ie=ie.rows)!==null&&ie!==void 0&&ie.count?Y._dataStore.dataSize.rows.count:0};var Q=O.getPluginsBasedOnDSConfiguration(this._dataStore)||[],J=G.plugins||[],q=[].concat(C(J),C(Q));q=q.length>0?q:void 0;var oe=this._getConfiguredPlugins(q,G);this._setViewModel(this._myViewModel,G),this._domNode=document.createElement("div"),this._domNode.className="mw-tree treeContainer",this._domNode.setAttribute("data-test-id",G.dataTestId),this._configureFeatureSpecificViewAndController(G,oe),this._createAndConfigureControllers(G),this._createAndConfigurePlugins(oe,G),this._configureExposedVariableApis()}return n(k,[{key:"_configureFeatureSpecificViewAndController",value:function(Y,G){if(Y.editor&&Y.editor.type){this._treeView=new t(this._myViewModel,this._domNode,Y,G);var Q=new s(this._treeView,this._myViewModel,this._dataStore);this._proxyControllerEvents(Q,Q.emits),this._controllers.push(Q)}else this._treeView=new e(this._myViewModel,this._domNode,Y,G);var J=new l(this._treeView,this._myViewModel,this._dataStore),q=new p(this._treeView,this._myViewModel,this._dataStore);this._controllers.push(q);var oe=J.emits;this._proxyControllerEvents(J,oe),this._controllers.push(J),this._facadeListeners(this._controllers),this._mixinFacade(this._controllers)}},{key:"_warnUsersAboutIncompatiblePlugins",value:function(Y){var G=O.COMPATIBLE,Q="",J="[";Y.forEach(function(q){Q+=q.name+" "}),J+=Q.trim()+"] are incompatible/not supported, however [",G.forEach(function(q){var oe="",ie=!1;q.forEach(function(pe){Y.indexOf(pe)&&(ie=!0),oe+=pe.name+" "}),ie&&(J+=oe.trim()+"] ")}),J+="are supported.",console.warn(J)}},{key:"_discardIncompatiblePlugins",value:function(Y){var G=this,Q=O.INCOMPATIBLE,J=[];return Q.forEach(function(q){var oe=0;q.forEach(function(ie){var pe=Y.indexOf(ie);pe>-1&&(oe>0&&J.push(pe),oe++)}),J.length>0&&G._warnUsersAboutIncompatiblePlugins(q)}),J.forEach(function(q){return Y.splice(q,1)}),Y}},{key:"_getConfiguredPlugins",value:function(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[O.AVAILABLE.SingleNodeSelection],G=arguments.length>1?arguments[1]:void 0,Q=[];Y.forEach(function(q){Array.isArray(q)?Array.prototype.push.apply(Q,q):Q.push(q)});var J=[];return J=Q.reduce(function(q,oe){return q.indexOf(oe)===-1&&q.push(oe),q},[]),this._discardIncompatiblePlugins(J)}},{key:"_setViewModel",value:function(Y,G){var Q=G.lookAheadNodeBuffer,J=G.nodeHeightInPx;Y.setState("lookAheadNodeBuffer",Q||$.lookAheadNodeBuffer),Y.setState("nodeHeightInPx",J||$.nodeHeight),this._viewStateOptions={lookAheadNodeBuffer:Q,nodeHeightInPx:J}}},{key:"_createModels",value:function(Y){Array.isArray(Y)?this._dataStore=b.create(Y,Object.assign({},{type:W.TREE})):this._dataStore=Y;var G=new I(this._dataStore);this._myViewModel=new S(G)}},{key:"_createAndConfigureControllers",value:function(Y){var G=new E(this._treeView,this._myViewModel,this._dataStore),Q=new M(this._treeView,this._myViewModel,this._dataStore);if(Y.actions){var J=new m(this._treeView,this._myViewModel,this._dataStore,Y);this.executeAction=J.executeAction;var q=J.emits;this._proxyControllerEvents(J,q),this._controllers.push(J)}if(!this._dataStore.isCheckboxTree&&!Y.editor){var oe=new y(this._treeView,this._myViewModel,this._dataStore),ie=oe.emits;this._proxyControllerEvents(oe,ie),this._controllers.push(oe)}var pe=Q.emits;this._proxyControllerEvents(Q,pe),this._controllers.push(G),this._controllers.push(Q)}},{key:"_proxyControllerEvents",value:function(Y,G){var Q=this;G.forEach(function(J){Q._eventsMap[J]=Y})}},{key:"_makeMap",value:function(){var Y={_map:{},get:function(Q){return this._map[Q]},set:function(Q,J){this._map[Q]=J}};return typeof Map>"u"?Y:new Map}},{key:"_createAndConfigurePlugins",value:function(){var Y=this,G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[O.AVAILABLE.SingleNodeSelection],Q=arguments.length>1?arguments[1]:void 0,J=this._makeMap(),q;G.forEach(function(oe){var ie=oe.adaptor;J.get(ie.toString())||(q=new ie(Y._myViewModel,Y._treeView,Y._dataStore,Q),J.set(ie.toString(),q));var pe=new oe(J.get(ie.toString()));Y._plugins.push(pe)}),this._facadeListeners(this._plugins),this._mixinFacade(this._plugins)}},{key:"_mixinFacade",value:function(Y){var G=this;Y.forEach(function(Q){var J=Q.exposedAPI();Object.keys(J).forEach(function(q){if(q==="exposedVariables"){var oe=J.exposedVariables;Object.keys(oe).forEach(function(ie){Object.defineProperty(G,ie,{set:oe[ie].setter,get:oe[ie].getter})})}G[q]=J[q]})})}},{key:"_configureExposedVariableApis",value:function(){var Y=this,G=this._exposedVariables();Object.keys(G).forEach(function(Q){Object.defineProperty(Y,Q,{set:G[Q].setter,get:G[Q].getter})})}},{key:"_facadeListeners",value:function(Y){var G=this;Y.forEach(function(Q){Q.emits.forEach(function(J){return G._eventsMap[J]=Q})})}},{key:"_constructTreeView",value:function(){this._treeView.initialize(this.rows)}},{key:"domNode",get:function(){return this._domNode}},{key:"resize",value:function(Y,G){if(this._treeView){var Q=this._viewStateOptions.nodeHeightInPx;this._myViewModel.setState("nodeHeightInPx",Q||$.nodeHeight),this._treeView.resize(Y,G)}}},{key:"_setDisabled",value:function(Y){this._isDisabled!==Y&&typeof Y=="boolean"&&this._treeView.setDisableState(Y)}},{key:"_isDisabled",value:function(){return this._treeView.getDisableState()}},{key:"_exposedVariables",value:function(){var Y=this;return{disable:{setter:function(Q){Y._setDisabled(Q)},getter:function(){return Y._isDisabled()}}}}},{key:"startup",value:function(){var Y=this._domNode.clientHeight;Y===0&&B.warn("The height of the Tree container is not set, which can lead to performance issues. We recommend setting the height to 100% or a value greater than 0."),this._constructTreeView()}},{key:"on",value:function(Y,G){if(this._eventsMap[Y]){var Q=this._eventsMap[Y].on(Y,G);return this._eventListeners.push(Q),Q}else throw new Error("Tree Configuration does not seem to support the event that you want to configure. Please check configuration.")}},{key:"expand",value:function(Y,G){if(Array.isArray(Y)&&Y.length)this._dataStore.expand(Y);else throw new Error("Expected: non empty treeNodearray. Usage: tree.expand([{id: 'node1'}])")}},{key:"expandAll",value:function(){this._dataStore.expandAll()}},{key:"collapse",value:function(Y,G){if(Array.isArray(Y)&&Y.length)this._dataStore.collapse(Y);else throw new Error("Expected: non empty treeNodearray. Usage: tree.collapse([{id: 'node1'}])")}},{key:"collapseAll",value:function(){this._dataStore.collapseAll()}},{key:"scrollTo",value:function(Y){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(Y===z.FIRST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.start);else if(Y===z.LAST_NODE)this._treeView.scrollToIndex(this._myViewModel.dataSize.rows.end);else if(Y&&Y.id){var Q={treeNode:Y,options:G};this._treeView.scrollTo(Q)}else throw new Error("Expected: Tree.FIRST_NODE, Tree.LAST_NODE or treeNode object with id property. Usage: scrollTo({id: 'node1'})")}},{key:"destroy",value:function(){this._eventListeners.forEach(function(G){return G.remove()}),this._controllers.forEach(function(G){G.destroy&&G.destroy()}),this._plugins.forEach(function(G){return G.destroy()});var Y=this._domNode.parentNode;this._treeView.destroy(),Y&&Y.removeChild(this._domNode)}}],[{key:"PLUGINS",get:function(){return O.AVAILABLE}},{key:"EDITORS",get:function(){return N}},{key:"ACTIONS",get:function(){return U.ACTIONS}},{key:"FIRST_NODE",get:function(){return z.FIRST_NODE}},{key:"LAST_NODE",get:function(){return z.LAST_NODE}},{key:"DND_ENUM",get:function(){return L.MODE}},{key:"KEYS",get:function(){return V}},{key:"PLATFORMS",get:function(){return K.exposed}}]),k}();return P},A,x),A.exports=w},74575:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(31063)],w=a.dj.d(T,function(e,t){var s="CheckboxTreeAdaptor",l=function(p){o(E,p);function E(m,y,b){var I;C(this,E),I=u(this,E),I._view=y,I._viewModel=m,I._dataStore=b;var S={};return S.checkBoxClicked=function(R){return I._checkboxClicked(R)},S.keyUpToggleCheckedState=function(R){return I._handleKeyChange(R)},I._view.registerEventCallback(S,!0),I}return _(E,[{key:"_emitCheckboxStateChanged",value:function(y){this.emit("checkboxStatusChangeRequested",{node:y.node,newValue:y.newValue,isSpaceKeyPressed:y.isSpaceKeyPressed})}},{key:"updateCheckboxState",value:function(y,b){return this._dataStore.updateChecked({id:y.id},b)}},{key:"_checkboxClicked",value:function(y){var b=this._viewModel.getStateByKey("treeContainerNode");b=b?b.value:null,b&&b.focus(),this._emitCheckboxStateChanged({node:y.node.value,newValue:y.detail.newValue})}},{key:"_isNodeEditable",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,I=b>=-1;if(!I)return!1;var S=this._dataStore.getLocalRowMetaData?this._dataStore.getLocalRowMetaData(b):{};return S.readonly&&(I=!1),I}},{key:"_handleKeyChange",value:function(y){var b=this,I=y.ctrlKey||y.metaKey;if(!(y.keyCode!==t.SPACE||I)){var S=this._viewModel.getStateByKey("keyboardActive");if(S=S?S.value:null,!!S)return this._dataStore.getNode(S).then(function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};b._isNodeEditable(R.node,R.index)&&b._emitCheckboxStateChanged({node:R.node,isSpaceKeyPressed:!0})})}}},{key:"destroy",value:function(){}}],[{key:"toString",value:function(){return s}}]),E}(e);return l},A,x),A.exports=w},20770:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=n(t),r(e,d()?Reflect.construct(t,s||[],n(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!e})()}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},n(e)}function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(60624),a(77330),a(37899),a(31063),a(82976),a(16355)],w=a.dj.d(T,function(e,t,s,l,p,E,m){var y="clipboardAdaptor",b=function(R){return R.ctrlKey||R.metaKey||R.meta},I=function(S){o(R,S);function R(N,O,L,U){var z;C(this,R),z=u(this,R),z._viewModel=N,z._view=O;var $=U||null;z._registerClipboardConfig($),z._onFailure=z._onFailure.bind(i(z)),z._onSuccess=z._onSuccess.bind(i(z));var W={};return W[s.CCP_KEY_PRESSED]=function(V){return z._handleKeyPress(V)},W[s.CLIPBOARD_COPY]=function(V){return z._handleCopyEvent(V)},W[s.CLIPBOARD_CUT]=function(V){return z._handleCutEvent(V)},W[s.CLIPBOARD_PASTE]=function(V){return z._handlePasteEvent(V)},O&&O.registerEventCallback(W),z}return _(R,[{key:"_registerClipboardConfig",value:function(O){var L=O?O.clipboardConfig:null;this._onCutCallback=t.toPromise,this._onCopyCallback=t.toPromise,L&&(L.onCut&&(this._onCutCallback=L.onCut),L.onCopy&&(this._onCopyCallback=L.onCopy),this._onPasteCallback=L.onPaste,this._onFailureCallback=L.onFailure,this._onSuccessCallback=L.onSuccess)}},{key:"_handleKeyPress",value:function(O){if(b(O))switch(O.keyCode){case p.C:O.preventDefault(),this._handleCopyEvent();break;case p.X:O.preventDefault(),this._handleCutEvent();break;case p.V:break}}},{key:"cut",value:function(){this._handleCutEvent()}},{key:"copy",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(E.isDataTransferValid(O)){this._serviceWrite(O);return}this._handleCopyEvent()}},{key:"paste",value:function(){this._handlePasteEvent()}},{key:"_handleCutEvent",value:function(){var O=this;this._isEditing()||this._getCutData().then(function(L){return O._serviceWrite(L)})}},{key:"_handleCopyEvent",value:function(){var O=this;this._isEditing()||this._getCopyData().then(function(L){O._serviceWrite(L)})}},{key:"_isEditing",value:function(){var O=this._viewModel.getStateByKey(l.IS_TREE_IN_EDIT);return O&&O.value}},{key:"_handlePasteEvent",value:function(O){this._serviceRead(O)}},{key:"_getCutData",value:function(){return this._onCutCallback()}},{key:"_getCopyData",value:function(){return this._onCopyCallback()}},{key:"_onSuccess",value:function(O){var L=this._onSuccessCallback;L&&L(O)}},{key:"_onFailure",value:function(O){var L=this._onFailureCallback;L&&L(O)}},{key:"_getServiceConfig",value:function(){var O={};return O}},{key:"_serviceRead",value:function(O){var L=this;if(this._onPasteCallback){var U=m.getInstance(this._getServiceConfig());U.read({event:O}).then(function(z){var $=z.dataTransfer,W=z.status,V=z.message;L._onPasteCallback($),L._onSuccess({status:W,message:V})}).catch(function(z){return L._onFailure(z)})}}},{key:"_serviceWrite",value:function(O){var L=this;if(E.isDataTransferValid(O)){var U=m.getInstance(this._getServiceConfig());U.write({dataTransfer:O}).then(this._onSuccess).catch(function(z){return L._onFailure(z)})}}}],[{key:"toString",value:function(){return y}}]),R}(e);return I},A,x),A.exports=w},91696:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(211),a(99544),a(67287)],w=a.dj.d(T,function(e,t,s){var l="ContextMenuAdaptor",p=function(E){o(m,E);function m(y,b,I){var S,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};C(this,m),S=u(this,m),S._view=b,S._viewState=y,S._treeOptions=R;var N={};return N[s.TREE_EVENTS.contextMenuClick]=function(O){return S._processAndEmitContextMenuClickEvt(O)},N[s.TREE_EVENTS.keyboardContextMenu]=function(O){return S._scrollToFocusedNode(O)},S._view.registerEventCallback(N,!0),S}return _(m,[{key:"_scrollToFocusedNode",value:function(b){var I=this,S={},R=this._viewState.getStateByKey("focused"),N=b.focusedDomNodePosition,O=b.treeContainerPosition,L=!1,U=function(){var W=I._view._rootDom.querySelector(".treeNode.focused");S.top=W.getBoundingClientRect().height/2+W.getBoundingClientRect().top,S.left=I._view._rootDom.querySelector(".treeNode.focused .treeNodeText").getBoundingClientRect().left,I._emitShiftF10Evt(R,S,O)};if(N&&(L=O.top<N.top&&O.bottom>N.bottom),R)if(L)U();else{var z={treeNode:{id:R.value.id},options:{maintainPositionIfInView:!0}};this._view.scrollTo(z,U)}else S.top=O.top,S.left=O.left,this._emitShiftF10Evt(null,S,O)}},{key:"_emitShiftF10Evt",value:function(b,I,S){(I.left<S.left||I.left>S.right)&&(I.left=S.left);var R={};b?(R={type:"TREENODE",nodeId:b.value.id,isWhiteSpace:!1},I.node=b.value):R={type:"TREE",isWhiteSpace:!0},I.emitTarget=R,this._processAndEmitContextMenuClickEvt(I)}},{key:"_processAndEmitContextMenuClickEvt",value:function(b){var I=!1,S={};if(this._treeOptions.editor&&this._treeOptions.editor.type&&(I=!0),S.type="TREE",b.node){var R=e.isNodeAlreadySelected(this._viewState,b.node);b.isNodeAlreadySelected=R,b.isNodeAlreadySelected&&(b.selectedNodes=e.getSelectedNodes(this._viewState)),S.nodeId=b.node.id,S.type="TREENODE";var N=b.metadata||{};I=I&&!N.readonly}b.emitTarget||(b.emitTarget=S),b.emitTarget.isEditable=I,this.emit("treeContextMenu",b)}},{key:"setContextMenuFocus",value:function(b){e.setContextMenuFocus(this._viewState,b)}}],[{key:"toString",value:function(){return l}}]),m}(t);return p},A,x),A.exports=w},57150:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(68419)],w=a.dj.d(T,function(e,t){var s="DnDAdaptor",l={TREENODE:"TREENODE",TREE:"TREE"},p=function(E){o(m,E);function m(y,b,I,S){var R;C(this,m),R=u(this,m),R.viewState=y,R.dataStore=I,R.dragAndDropConfig=S.dragAndDropConfig,R.view=b,R.viewState.setState("dnd",!0),R._options=S;var N={};return N.containerMount=function(O){return R.emit(t.Events.registerDnDSource,O)},N.containerUpdate=function(){return R.emit(t.Events.syncDnDSource)},b&&b.registerEventCallback(N),R.viewState.on("selected",function(O){var L=O.value&&O.rangeList[0],U=[];Array.isArray(L)?U=L.map(function(z){return z.id}):U.push(L.id),R.emit(t.Events.onDragSelection,{ids:U})}),R.setDnDEndsState({}),R}return _(m,[{key:"updateView",value:function(){this.viewState.setState("updateView",!0)}},{key:"getCurrentViewPortData",value:function(){return this.viewState.getStateByKey("currentViewPortData").value}},{key:"getDragAndDropConfig",value:function(){return this.dragAndDropConfig||{}}},{key:"isGlobalDragAllowed",value:function(){return!!this.getDragAndDropConfig().setDragDataBySelection}},{key:"isGlobalDropAllowed",value:function(){var b=this.getDragAndDropConfig().onDrop;return!!(b&&typeof b=="function")}},{key:"getSelectionData",value:function(){var b=this,I=this.getCurrentViewPortData(),S=this.getCurrentSelection();S=S?S.slice(0):[];var R=[],N=I.range.rows.start,O=I.range.rows.end,L=new Promise(function(U,z){for(var $=function(M){if(I(M)(0)&&I(M)(0).value){var B=S.findIndex(function(P){return P.id===I(M)(0).value.id});B>-1&&(R.push(I(M)(0).value.data),S.splice(B,1))}},W=N;W<=O&&S.length>0;W++)$(W);if(S.length===0)U(R);else{var V=[];S.forEach(function(K){V.push(b.dataStore.getNode(K).then(function(M){M&&M.node&&R.push(M.node.data)}))}),Promise.all(V).then(function(){U(R)})}});return L}},{key:"isReorderingEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===t.MODE.REORDER}},{key:"isReparentingOnlyEnabled",value:function(){return this.dragAndDropConfig&&this.dragAndDropConfig.mode===t.MODE.REPARENT}},{key:"isNodeLabelTruncated",value:function(){return this._options&&this._options.textTruncation&&this._options.textTruncation!=="none"}},{key:"getCurrentSelection",value:function(){var b=[],I=this.viewState.getStateByKey("selected");return I&&(b=I.rangeList[0]),b}},{key:"_isNodeInDragList",value:function(b,I){var S=b.some(function(R){return R.id===I.id});return S}},{key:"_emitMoveEvents",value:function(b,I,S){var R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},N={};S.id===null?N.type=l.TREE:N={nodeId:S.id,type:l.TREENODE},R.source=I,R.target=N,this.emit(b,R)}},{key:"_moveSuccessful",value:function(b,I){var S=this,R={nodeIds:b,type:l.TREENODE};return this._emitMoveEvents(t.Events.moveCompleted,R,I),this.dataStore.getNode({id:I.id}).then(function(N){N&&N.node&&!N.node.isExpanded&&S.viewState.setState("potentialNextKeyboardActiveNode",N.node)})}},{key:"moveTreeNodes",value:function(b,I){var S=this,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{place:"first"},N=[],O=[],L=[],U=[],z=function(W,V,K){if(V)L.push(W);else{var M=U.find(function(B){return B.error.reason===K.reason});M||(M={nodeIds:[],error:{reason:K.reason,message:K.message}},U.push(M)),M.nodeIds.push(W)}};return new Promise(function($,W){b.forEach(function(V){var K=S.dataStore.getParentNode({id:V.id}).then(function(M){var B=M?M.node:{id:null},P=B!==null&&S._isNodeInDragList(b,B);if(!P){var k=S.dataStore.move({id:B.id},{id:V.id},{id:I.id},R).then(z.bind(S,V.id,!0),z.bind(S,V.id,!1));O.push(k)}});N.push(K)}),Promise.all(N).then(function(){Promise.all(O).then(function(){U.forEach(function(V){var K={nodeIds:V.nodeIds,type:l.TREENODE};S._emitMoveEvents(t.Events.moveFailed,K,I,{error:V.error})}),L.length!==0?S._moveSuccessful(L,I).then(function(){$({movedNodes:L,failedReasons:U})}):$({movedNodes:L,failedReasons:U})})})})}},{key:"expandNode",value:function(b){this.dataStore.expand([{id:b.id}])}},{key:"setDragState",value:function(b,I){this.viewState.setState("mouseEnterNode",null),this.viewState.setState("isInDragging",b,I)}},{key:"setLocalDragState",value:function(b){this.viewState.setState("isDraggingLocal",b)}},{key:"getLocalDragState",value:function(){return this.viewState.getStateByKey("isDraggingLocal")&&this.viewState.getStateByKey("isDraggingLocal").value}},{key:"setDragHoverState",value:function(b){this.viewState.setState("dragHovered",b)}},{key:"getDragHoverState",value:function(){return this.viewState.getStateByKey("dragHovered")&&this.viewState.getStateByKey("dragHovered").value}},{key:"getDragState",value:function(){return this.viewState.getStateByKey("isInDragging")&&this.viewState.getStateByKey("isInDragging").value}},{key:"setDnDEndsState",value:function(b){this.viewState.setState("dndEnds",b)}},{key:"getEditState",value:function(){return this.viewState.getStateByKey("isInEditing")&&this.viewState.getStateByKey("isInEditing").value}}],[{key:"toString",value:function(){return s}}]),m}(e);return p},A,x),A.exports=w},93746:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544)],w=a.dj.d(T,function(e){var t="FilterAdaptor",s=function(l){o(p,l);function p(E,m,y){var b;return C(this,p),b=u(this,p),b._dataStore=y,b}return _(p,[{key:"filter",value:function(m,y){this._dataStore.filter(m,y),this._dataStore.expandAll(),this._dataStore.search(m)}},{key:"clearFilter",value:function(m){this._dataStore.clearFilter(),this._dataStore.clearSearch()}}],[{key:"toString",value:function(){return t}}]),p}(e);return s},A,x),A.exports=w},48108:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(211),a(99544)],w=a.dj.d(T,function(e,t){var s="FocusAdaptor",l=function(p){o(E,p);function E(m,y){var b;C(this,E),b=u(this,E),b.viewState=m,b.view=y;var I={};return I.treeNodeMouseDown=function(S){return b._processAndEmitClickEvt(S)},I.treeContextMenuSelection=function(S){S.node&&b._processAndEmitClickEvt(S)},I.treeNavigation=function(S){return b._processAndEmitKeyPress(S)},I.containerMount=function(){return b.emit("containerMount")},I.containerUpdate=function(){return b.emit("containerUpdate")},y&&y.registerEventCallback(I),b}return _(E,[{key:"_processAndEmitClickEvt",value:function(y){var b=y;this.emit("nodeFocusClick",b)}},{key:"_processAndEmitKeyPress",value:function(y){var b=y;this.viewState.getStateByKey("keyboardActive")&&(b.currentKeyboardActiveNode=this.viewState.getStateByKey("keyboardActive").value,this.emit("nodeFocusKeyPress",b))}},{key:"setContainerFocus",value:function(){e.removeContextMenuFocus(this.viewState),this.getTreeContainerNode().focus(),this.viewState.setState("updateView",!0)}},{key:"setFocusedState",value:function(y,b){e.removeContextMenuFocus(this.viewState),this.viewState.setState("focused",y),b&&this.viewState.setState("updateView",!0)}},{key:"getFocusedState",value:function(){var y=this.viewState.getStateByKey("focused");return y&&y.value?{id:y.value.id}:null}},{key:"setKeyboardActiveState",value:function(y){var b=this.viewState.getStateByKey("ActiveEditNode"),I=this.viewState.getStateByKey("isInEditing");if(I&&I.value){var S=y&&b.value&&y.id===b.value.node.id;S||(this.viewState.deleteState("isInEditing"),this.viewState.deleteState("ActiveEditNode"))}this.viewState.setState("keyboardActive",y)}},{key:"getTreeContainerNode",value:function(){var y=this.viewState.getStateByKey("treeContainerNode");return y&&y.value?y.value:null}},{key:"getViewPortInfo",value:function(){var y=this.viewState.getStateByKey("viewPort"),b=this.viewState.getStateByKey("currentViewPortData").value;return{currentViewPort:y,currentViewPortData:b}}}],[{key:"toString",value:function(){return s}}]),E}(t);return l},A,x),A.exports=w},8040:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(31063)],w=a.dj.d(T,function(u){var r=function(){function d(n,i,o){var c=this;C(this,d),this._viewState=n,this._dataStore=o,this._view=i,i.registerEventCallback({treeDisclosureMouseDown:function(t){return c._setPotentialBoundaryNodeOnDisclosureCollapse(t)}})}return _(d,[{key:"_setPotentialBoundaryNodeOnDisclosureCollapse",value:function(i){var o=this,c=this._viewState.getStateByKey("BoundaryNode");if(c&&c.value)return c=c.value,this._dataStore.getNode(c.node).then(function(e){e||o._setPotentialBoundaryNode({node:i.node,nodeIndex:i.nodeIndex})})}},{key:"_getBoundaryNodeInView",value:function(i){var o=this,c=i;return this._dataStore.getNode(c.node).then(function(e){if(e)c.nodeIndex=e.index;else{var t=o._viewState.getStateByKey("PotentialBoundaryNode");c=t?t.value:null}return c})}},{key:"_setBoundaryNode",value:function(i){this._viewState.setState("BoundaryNode",i),this._viewState.deleteState("PotentialBoundaryNode")}},{key:"_setPotentialBoundaryNode",value:function(i){this._viewState.setState("PotentialBoundaryNode",i)}},{key:"processAndEmitEvt",value:function(i,o){if(i.shiftKey)return this._processAndEmitShiftEvt(i,o);o(i)}},{key:"_processAndEmitShiftEvt",value:function(i,o){var c=this,e=this._viewState.getStateByKey("BoundaryNode");if(e&&e.value)return this._getBoundaryNodeInView(e.value).then(function(t){c._setBoundaryNode(t),o(i)});o(i)}},{key:"updateBoundaryNode",value:function(i){this._setBoundaryNode(i)}},{key:"getContiguousSelectionRange",value:function(i){var o=this._viewState.getStateByKey("BoundaryNode"),c=o&&o.value?o.value.nodeIndex:0,e=Math.min(c,i),t=Math.max(c,i);return{start:e,end:t}}}]),d}();return r},A,x),A.exports=w},13170:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(75845),a(879)],w=a.dj.d(T,function(e,t,s){var l="ScrollSyncAdaptor",p=function(E){o(m,E);function m(y,b){var I;C(this,m),I=u(this,m),I.viewState=y,I.view=b;var S={};return S.treeProgrammaticScroll=function(R){return I._handleScrollSyncProgrammaticScroll(R)},S.treeScroll=function(R){return I._handleScrollChanged(R)},S.treeScrollOnKeyPressed=function(R){return I._handleScrollChangedOnKeyPressed(R)},I.view.registerEventCallback(S),I}return _(m,[{key:"_handleScrollSyncProgrammaticScroll",value:function(b){var I=this;if(b.position){var S=this.getScrollComponentDimensions(),R=S.scrollHeight,N=S.clientHeight,O=S.scrollWidth,L=S.clientWidth,U=R-N,z=O-L;isNaN(b.position.scrollTop)||(this.viewState.viewPort.size.top=Math.max(0,Math.min(b.position.scrollTop,U)),s.calculateAndUpdateLogicalViewPort(this.viewState,this.viewState.viewPort.size),this.viewState.setState("scrollTopCalc",function(){return I.viewState.viewPort.size.top})),isNaN(b.position.scrollLeft)||(this.viewState.viewPort.size.left=Math.max(0,Math.min(b.position.scrollLeft,z)))}}},{key:"_handleScrollChanged",value:function(b){this.emit("scrollChanged",b)}},{key:"_handleScrollChangedOnKeyPressed",value:function(b){this.viewState.deleteState("shouldScrollOnKeyPressed"),this.emit("scrollChanged",b)}},{key:"scrollToPosition",value:function(b){this.view.scrollToPosition(b)}},{key:"getScrollComponentDimensions",value:function(){return this.view.getScrollComponentDimensions()}},{key:"hideScrollBars",value:function(){this.viewState.setState("hideScrollBars",!0),this.view.render()}},{key:"displayScrollBars",value:function(){var b=this.viewState.getStateByKey("hideScrollBars");b&&b.value&&(this.viewState.deleteState("hideScrollBars"),this.view.render())}}],[{key:"toString",value:function(){return l}}]),m}(e);return p},A,x),A.exports=w},13504:(A,x,a)=>{"use strict";var T,w;function h(l){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},h(l)}function C(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return p};var l,p={},E=Object.prototype,m=E.hasOwnProperty,y=Object.defineProperty||function(te,ne,re){te[ne]=re.value},b=typeof Symbol=="function"?Symbol:{},I=b.iterator||"@@iterator",S=b.asyncIterator||"@@asyncIterator",R=b.toStringTag||"@@toStringTag";function N(te,ne,re){return Object.defineProperty(te,ne,{value:re,enumerable:!0,configurable:!0,writable:!0}),te[ne]}try{N({},"")}catch(te){N=function(re,se,ge){return re[se]=ge}}function O(te,ne,re,se){var ge=ne&&ne.prototype instanceof K?ne:K,he=Object.create(ge.prototype),fe=new pe(se||[]);return y(he,"_invoke",{value:J(te,re,fe)}),he}function L(te,ne,re){try{return{type:"normal",arg:te.call(ne,re)}}catch(se){return{type:"throw",arg:se}}}p.wrap=O;var U="suspendedStart",z="suspendedYield",$="executing",W="completed",V={};function K(){}function M(){}function B(){}var P={};N(P,I,function(){return this});var k=Object.getPrototypeOf,H=k&&k(k(ce([])));H&&H!==E&&m.call(H,I)&&(P=H);var Y=B.prototype=K.prototype=Object.create(P);function G(te){["next","throw","return"].forEach(function(ne){N(te,ne,function(re){return this._invoke(ne,re)})})}function Q(te,ne){function re(ge,he,fe,me){var De=L(te[ge],te,he);if(De.type!=="throw"){var Ie=De.arg,Oe=Ie.value;return Oe&&h(Oe)=="object"&&m.call(Oe,"__await")?ne.resolve(Oe.__await).then(function(je){re("next",je,fe,me)},function(je){re("throw",je,fe,me)}):ne.resolve(Oe).then(function(je){Ie.value=je,fe(Ie)},function(je){return re("throw",je,fe,me)})}me(De.arg)}var se;y(this,"_invoke",{value:function(he,fe){function me(){return new ne(function(De,Ie){re(he,fe,De,Ie)})}return se=se?se.then(me,me):me()}})}function J(te,ne,re){var se=U;return function(ge,he){if(se===$)throw new Error("Generator is already running");if(se===W){if(ge==="throw")throw he;return{value:l,done:!0}}for(re.method=ge,re.arg=he;;){var fe=re.delegate;if(fe){var me=q(fe,re);if(me){if(me===V)continue;return me}}if(re.method==="next")re.sent=re._sent=re.arg;else if(re.method==="throw"){if(se===U)throw se=W,re.arg;re.dispatchException(re.arg)}else re.method==="return"&&re.abrupt("return",re.arg);se=$;var De=L(te,ne,re);if(De.type==="normal"){if(se=re.done?W:z,De.arg===V)continue;return{value:De.arg,done:re.done}}De.type==="throw"&&(se=W,re.method="throw",re.arg=De.arg)}}}function q(te,ne){var re=ne.method,se=te.iterator[re];if(se===l)return ne.delegate=null,re==="throw"&&te.iterator.return&&(ne.method="return",ne.arg=l,q(te,ne),ne.method==="throw")||re!=="return"&&(ne.method="throw",ne.arg=new TypeError("The iterator does not provide a '"+re+"' method")),V;var ge=L(se,te.iterator,ne.arg);if(ge.type==="throw")return ne.method="throw",ne.arg=ge.arg,ne.delegate=null,V;var he=ge.arg;return he?he.done?(ne[te.resultName]=he.value,ne.next=te.nextLoc,ne.method!=="return"&&(ne.method="next",ne.arg=l),ne.delegate=null,V):he:(ne.method="throw",ne.arg=new TypeError("iterator result is not an object"),ne.delegate=null,V)}function oe(te){var ne={tryLoc:te[0]};1 in te&&(ne.catchLoc=te[1]),2 in te&&(ne.finallyLoc=te[2],ne.afterLoc=te[3]),this.tryEntries.push(ne)}function ie(te){var ne=te.completion||{};ne.type="normal",delete ne.arg,te.completion=ne}function pe(te){this.tryEntries=[{tryLoc:"root"}],te.forEach(oe,this),this.reset(!0)}function ce(te){if(te||te===""){var ne=te[I];if(ne)return ne.call(te);if(typeof te.next=="function")return te;if(!isNaN(te.length)){var re=-1,se=function ge(){for(;++re<te.length;)if(m.call(te,re))return ge.value=te[re],ge.done=!1,ge;return ge.value=l,ge.done=!0,ge};return se.next=se}}throw new TypeError(h(te)+" is not iterable")}return M.prototype=B,y(Y,"constructor",{value:B,configurable:!0}),y(B,"constructor",{value:M,configurable:!0}),M.displayName=N(B,R,"GeneratorFunction"),p.isGeneratorFunction=function(te){var ne=typeof te=="function"&&te.constructor;return!!ne&&(ne===M||(ne.displayName||ne.name)==="GeneratorFunction")},p.mark=function(te){return Object.setPrototypeOf?Object.setPrototypeOf(te,B):(te.__proto__=B,N(te,R,"GeneratorFunction")),te.prototype=Object.create(Y),te},p.awrap=function(te){return{__await:te}},G(Q.prototype),N(Q.prototype,S,function(){return this}),p.AsyncIterator=Q,p.async=function(te,ne,re,se,ge){ge===void 0&&(ge=Promise);var he=new Q(O(te,ne,re,se),ge);return p.isGeneratorFunction(ne)?he:he.next().then(function(fe){return fe.done?fe.value:he.next()})},G(Y),N(Y,R,"Generator"),N(Y,I,function(){return this}),N(Y,"toString",function(){return"[object Generator]"}),p.keys=function(te){var ne=Object(te),re=[];for(var se in ne)re.push(se);return re.reverse(),function ge(){for(;re.length;){var he=re.pop();if(he in ne)return ge.value=he,ge.done=!1,ge}return ge.done=!0,ge}},p.values=ce,pe.prototype={constructor:pe,reset:function(ne){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ie),!ne)for(var re in this)re.charAt(0)==="t"&&m.call(this,re)&&!isNaN(+re.slice(1))&&(this[re]=l)},stop:function(){this.done=!0;var ne=this.tryEntries[0].completion;if(ne.type==="throw")throw ne.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var re=this;function se(Ie,Oe){return fe.type="throw",fe.arg=ne,re.next=Ie,Oe&&(re.method="next",re.arg=l),!!Oe}for(var ge=this.tryEntries.length-1;ge>=0;--ge){var he=this.tryEntries[ge],fe=he.completion;if(he.tryLoc==="root")return se("end");if(he.tryLoc<=this.prev){var me=m.call(he,"catchLoc"),De=m.call(he,"finallyLoc");if(me&&De){if(this.prev<he.catchLoc)return se(he.catchLoc,!0);if(this.prev<he.finallyLoc)return se(he.finallyLoc)}else if(me){if(this.prev<he.catchLoc)return se(he.catchLoc,!0)}else{if(!De)throw new Error("try statement without catch or finally");if(this.prev<he.finallyLoc)return se(he.finallyLoc)}}}},abrupt:function(ne,re){for(var se=this.tryEntries.length-1;se>=0;--se){var ge=this.tryEntries[se];if(ge.tryLoc<=this.prev&&m.call(ge,"finallyLoc")&&this.prev<ge.finallyLoc){var he=ge;break}}he&&(ne==="break"||ne==="continue")&&he.tryLoc<=re&&re<=he.finallyLoc&&(he=null);var fe=he?he.completion:{};return fe.type=ne,fe.arg=re,he?(this.method="next",this.next=he.finallyLoc,V):this.complete(fe)},complete:function(ne,re){if(ne.type==="throw")throw ne.arg;return ne.type==="break"||ne.type==="continue"?this.next=ne.arg:ne.type==="return"?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):ne.type==="normal"&&re&&(this.next=re),V},finish:function(ne){for(var re=this.tryEntries.length-1;re>=0;--re){var se=this.tryEntries[re];if(se.finallyLoc===ne)return this.complete(se.completion,se.afterLoc),ie(se),V}},catch:function(ne){for(var re=this.tryEntries.length-1;re>=0;--re){var se=this.tryEntries[re];if(se.tryLoc===ne){var ge=se.completion;if(ge.type==="throw"){var he=ge.arg;ie(se)}return he}}throw new Error("illegal catch attempt")},delegateYield:function(ne,re,se){return this.delegate={iterator:ce(ne),resultName:re,nextLoc:se},this.method==="next"&&(this.arg=l),V}},p}function g(l,p,E,m,y,b,I){try{var S=l[b](I),R=S.value}catch(N){E(N);return}S.done?p(R):Promise.resolve(R).then(m,y)}function _(l){return function(){var p=this,E=arguments;return new Promise(function(m,y){var b=l.apply(p,E);function I(R){g(b,m,y,I,S,"next",R)}function S(R){g(b,m,y,I,S,"throw",R)}I(void 0)})}}function v(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function f(l,p){for(var E=0;E<p.length;E++){var m=p[E];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,r(m.key),m)}}function u(l,p,E){return p&&f(l.prototype,p),E&&f(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}function r(l){var p=d(l,"string");return h(p)=="symbol"?p:String(p)}function d(l,p){if(h(l)!="object"||!l)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var m=E.call(l,p||"default");if(h(m)!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(l)}function n(l,p,E){return p=e(p),i(l,c()?Reflect.construct(p,E||[],e(l).constructor):p.apply(l,E))}function i(l,p){if(p&&(h(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(l)}function o(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function c(){try{var l=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(p){}return(c=function(){return!!l})()}function e(l){return e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},e(l)}function t(l,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(p&&p.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),p&&s(l,p)}function s(l,p){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},s(l,p)}T=[a(99544),a(2326),a(90290)],w=a.dj.d(T,function(l,p,E){var m="SearchAdaptor",y=function(b){t(I,b);function I(S,R,N){var O;return v(this,I),O=n(this,I),O._dataStore=N,O.viewState=S,O.navigator=new p(O._dataStore,O.viewState,R),O}return u(I,[{key:"search",value:function(R){this._dataStore.search(R)}},{key:"clearSearch",value:function(R){var N=this.navigator.initialSearchIndex,O=this.navigator.nodeToNavigate;this.navigator.isFirstNavigation=!0,this.navigator.setNodeToNavigate(N),this.navigator.setNavigationDataAndUpdateView(O,N),this._dataStore.clearSearch()}},{key:"nextSearchOccurrence",value:function(){var S=_(C().mark(function N(){var O,L;return C().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(O=this._dataStore,L={nodeId:""},typeof O.getRangeForQuery!="function"){z.next=8;break}return z.next=5,this.navigator.nextSearchOccurrence();case 5:L=z.sent,z.next=9;break;case 8:E.warn("Datastore instance should have getRangeForQuery function for search navigation to work.");case 9:return z.abrupt("return",L);case 10:case"end":return z.stop()}},N,this)}));function R(){return S.apply(this,arguments)}return R}()},{key:"prevSearchOccurrence",value:function(){var S=_(C().mark(function N(){var O,L;return C().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:if(O=this._dataStore,L={nodeId:""},typeof O.getRangeForQuery!="function"){z.next=8;break}return z.next=5,this.navigator.prevSearchOccurrence();case 5:L=z.sent,z.next=9;break;case 8:E.warn("Datastore instance should have getRangeForQuery function for search navigation to work.");case 9:return z.abrupt("return",L);case 10:case"end":return z.stop()}},N,this)}));function R(){return S.apply(this,arguments)}return R}()}],[{key:"toString",value:function(){return m}}]),I}(l);return y},A,x),A.exports=w},2326:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s){return f(s)||v(s)||_(s)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(s,l){if(s){if(typeof s=="string")return u(s,l);var p=Object.prototype.toString.call(s).slice(8,-1);if(p==="Object"&&s.constructor&&(p=s.constructor.name),p==="Map"||p==="Set")return Array.from(s);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return u(s,l)}}function v(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function f(s){if(Array.isArray(s))return u(s)}function u(s,l){(l==null||l>s.length)&&(l=s.length);for(var p=0,E=new Array(l);p<l;p++)E[p]=s[p];return E}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return l};var s,l={},p=Object.prototype,E=p.hasOwnProperty,m=Object.defineProperty||function(ce,te,ne){ce[te]=ne.value},y=typeof Symbol=="function"?Symbol:{},b=y.iterator||"@@iterator",I=y.asyncIterator||"@@asyncIterator",S=y.toStringTag||"@@toStringTag";function R(ce,te,ne){return Object.defineProperty(ce,te,{value:ne,enumerable:!0,configurable:!0,writable:!0}),ce[te]}try{R({},"")}catch(ce){R=function(ne,re,se){return ne[re]=se}}function N(ce,te,ne,re){var se=te&&te.prototype instanceof V?te:V,ge=Object.create(se.prototype),he=new ie(re||[]);return m(ge,"_invoke",{value:Q(ce,ne,he)}),ge}function O(ce,te,ne){try{return{type:"normal",arg:ce.call(te,ne)}}catch(re){return{type:"throw",arg:re}}}l.wrap=N;var L="suspendedStart",U="suspendedYield",z="executing",$="completed",W={};function V(){}function K(){}function M(){}var B={};R(B,b,function(){return this});var P=Object.getPrototypeOf,k=P&&P(P(pe([])));k&&k!==p&&E.call(k,b)&&(B=k);var H=M.prototype=V.prototype=Object.create(B);function Y(ce){["next","throw","return"].forEach(function(te){R(ce,te,function(ne){return this._invoke(te,ne)})})}function G(ce,te){function ne(se,ge,he,fe){var me=O(ce[se],ce,ge);if(me.type!=="throw"){var De=me.arg,Ie=De.value;return Ie&&h(Ie)=="object"&&E.call(Ie,"__await")?te.resolve(Ie.__await).then(function(Oe){ne("next",Oe,he,fe)},function(Oe){ne("throw",Oe,he,fe)}):te.resolve(Ie).then(function(Oe){De.value=Oe,he(De)},function(Oe){return ne("throw",Oe,he,fe)})}fe(me.arg)}var re;m(this,"_invoke",{value:function(ge,he){function fe(){return new te(function(me,De){ne(ge,he,me,De)})}return re=re?re.then(fe,fe):fe()}})}function Q(ce,te,ne){var re=L;return function(se,ge){if(re===z)throw new Error("Generator is already running");if(re===$){if(se==="throw")throw ge;return{value:s,done:!0}}for(ne.method=se,ne.arg=ge;;){var he=ne.delegate;if(he){var fe=J(he,ne);if(fe){if(fe===W)continue;return fe}}if(ne.method==="next")ne.sent=ne._sent=ne.arg;else if(ne.method==="throw"){if(re===L)throw re=$,ne.arg;ne.dispatchException(ne.arg)}else ne.method==="return"&&ne.abrupt("return",ne.arg);re=z;var me=O(ce,te,ne);if(me.type==="normal"){if(re=ne.done?$:U,me.arg===W)continue;return{value:me.arg,done:ne.done}}me.type==="throw"&&(re=$,ne.method="throw",ne.arg=me.arg)}}}function J(ce,te){var ne=te.method,re=ce.iterator[ne];if(re===s)return te.delegate=null,ne==="throw"&&ce.iterator.return&&(te.method="return",te.arg=s,J(ce,te),te.method==="throw")||ne!=="return"&&(te.method="throw",te.arg=new TypeError("The iterator does not provide a '"+ne+"' method")),W;var se=O(re,ce.iterator,te.arg);if(se.type==="throw")return te.method="throw",te.arg=se.arg,te.delegate=null,W;var ge=se.arg;return ge?ge.done?(te[ce.resultName]=ge.value,te.next=ce.nextLoc,te.method!=="return"&&(te.method="next",te.arg=s),te.delegate=null,W):ge:(te.method="throw",te.arg=new TypeError("iterator result is not an object"),te.delegate=null,W)}function q(ce){var te={tryLoc:ce[0]};1 in ce&&(te.catchLoc=ce[1]),2 in ce&&(te.finallyLoc=ce[2],te.afterLoc=ce[3]),this.tryEntries.push(te)}function oe(ce){var te=ce.completion||{};te.type="normal",delete te.arg,ce.completion=te}function ie(ce){this.tryEntries=[{tryLoc:"root"}],ce.forEach(q,this),this.reset(!0)}function pe(ce){if(ce||ce===""){var te=ce[b];if(te)return te.call(ce);if(typeof ce.next=="function")return ce;if(!isNaN(ce.length)){var ne=-1,re=function se(){for(;++ne<ce.length;)if(E.call(ce,ne))return se.value=ce[ne],se.done=!1,se;return se.value=s,se.done=!0,se};return re.next=re}}throw new TypeError(h(ce)+" is not iterable")}return K.prototype=M,m(H,"constructor",{value:M,configurable:!0}),m(M,"constructor",{value:K,configurable:!0}),K.displayName=R(M,S,"GeneratorFunction"),l.isGeneratorFunction=function(ce){var te=typeof ce=="function"&&ce.constructor;return!!te&&(te===K||(te.displayName||te.name)==="GeneratorFunction")},l.mark=function(ce){return Object.setPrototypeOf?Object.setPrototypeOf(ce,M):(ce.__proto__=M,R(ce,S,"GeneratorFunction")),ce.prototype=Object.create(H),ce},l.awrap=function(ce){return{__await:ce}},Y(G.prototype),R(G.prototype,I,function(){return this}),l.AsyncIterator=G,l.async=function(ce,te,ne,re,se){se===void 0&&(se=Promise);var ge=new G(N(ce,te,ne,re),se);return l.isGeneratorFunction(te)?ge:ge.next().then(function(he){return he.done?he.value:ge.next()})},Y(H),R(H,S,"Generator"),R(H,b,function(){return this}),R(H,"toString",function(){return"[object Generator]"}),l.keys=function(ce){var te=Object(ce),ne=[];for(var re in te)ne.push(re);return ne.reverse(),function se(){for(;ne.length;){var ge=ne.pop();if(ge in te)return se.value=ge,se.done=!1,se}return se.done=!0,se}},l.values=pe,ie.prototype={constructor:ie,reset:function(te){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(oe),!te)for(var ne in this)ne.charAt(0)==="t"&&E.call(this,ne)&&!isNaN(+ne.slice(1))&&(this[ne]=s)},stop:function(){this.done=!0;var te=this.tryEntries[0].completion;if(te.type==="throw")throw te.arg;return this.rval},dispatchException:function(te){if(this.done)throw te;var ne=this;function re(De,Ie){return he.type="throw",he.arg=te,ne.next=De,Ie&&(ne.method="next",ne.arg=s),!!Ie}for(var se=this.tryEntries.length-1;se>=0;--se){var ge=this.tryEntries[se],he=ge.completion;if(ge.tryLoc==="root")return re("end");if(ge.tryLoc<=this.prev){var fe=E.call(ge,"catchLoc"),me=E.call(ge,"finallyLoc");if(fe&&me){if(this.prev<ge.catchLoc)return re(ge.catchLoc,!0);if(this.prev<ge.finallyLoc)return re(ge.finallyLoc)}else if(fe){if(this.prev<ge.catchLoc)return re(ge.catchLoc,!0)}else{if(!me)throw new Error("try statement without catch or finally");if(this.prev<ge.finallyLoc)return re(ge.finallyLoc)}}}},abrupt:function(te,ne){for(var re=this.tryEntries.length-1;re>=0;--re){var se=this.tryEntries[re];if(se.tryLoc<=this.prev&&E.call(se,"finallyLoc")&&this.prev<se.finallyLoc){var ge=se;break}}ge&&(te==="break"||te==="continue")&&ge.tryLoc<=ne&&ne<=ge.finallyLoc&&(ge=null);var he=ge?ge.completion:{};return he.type=te,he.arg=ne,ge?(this.method="next",this.next=ge.finallyLoc,W):this.complete(he)},complete:function(te,ne){if(te.type==="throw")throw te.arg;return te.type==="break"||te.type==="continue"?this.next=te.arg:te.type==="return"?(this.rval=this.arg=te.arg,this.method="return",this.next="end"):te.type==="normal"&&ne&&(this.next=ne),W},finish:function(te){for(var ne=this.tryEntries.length-1;ne>=0;--ne){var re=this.tryEntries[ne];if(re.finallyLoc===te)return this.complete(re.completion,re.afterLoc),oe(re),W}},catch:function(te){for(var ne=this.tryEntries.length-1;ne>=0;--ne){var re=this.tryEntries[ne];if(re.tryLoc===te){var se=re.completion;if(se.type==="throw"){var ge=se.arg;oe(re)}return ge}}throw new Error("illegal catch attempt")},delegateYield:function(te,ne,re){return this.delegate={iterator:pe(te),resultName:ne,nextLoc:re},this.method==="next"&&(this.arg=s),W}},l}function d(s,l,p,E,m,y,b){try{var I=s[y](b),S=I.value}catch(R){p(R);return}I.done?l(S):Promise.resolve(S).then(E,m)}function n(s){return function(){var l=this,p=arguments;return new Promise(function(E,m){var y=s.apply(l,p);function b(S){d(y,E,m,b,I,"next",S)}function I(S){d(y,E,m,b,I,"throw",S)}b(void 0)})}}function i(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function o(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,e(E.key),E)}}function c(s,l,p){return l&&o(s.prototype,l),p&&o(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function e(s){var l=t(s,"string");return h(l)=="symbol"?l:String(l)}function t(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}T=[a(37999),a(12540),a(56678)],w=a.dj.d(T,function(s,l,p){"use strict";var E=function(){function m(y,b,I){var S=this;i(this,m),this._datastore=y,this.viewState=b,this.searchIndexToBeginNavigation=0,this.setNodeToNavigate(this.searchIndexToBeginNavigation,l.NEXT),this.isFirstNavigation=!0;var R={};R.treeDisclosureMouseDown=function(N){S._handleTreeExpandCollapse(N)},I.registerEventCallback(R,!0)}return c(m,[{key:"_handleTreeExpandCollapse",value:function(b){var I=b.node,S=b.nodeIndex;I.isExpanded&&(this.setNodeToNavigate(S,l.NEXT),this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.matchCount)}},{key:"_isSearchEmpty",value:function(){var y=n(r().mark(function I(){var S,R;return r().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return S=s.range().setRows(0,0).setColumns(0,1/0),O.next=3,this._datastore.getRangeForQuery({metaData:{type:"row",key:"highlight"}},{range:S,position:"next"});case 3:return R=O.sent,O.abrupt("return",!R.range);case 5:case"end":return O.stop()}},I,this)}));function b(){return y.apply(this,arguments)}return b}()},{key:"_isNodeWithinPreviousOccurrence",value:function(b,I){for(var S=I-1;S>=0;S--)if(this._isSurroundingOccurrence(b[I],b[S]))return!0;return!1}},{key:"_isSurroundingOccurrence",value:function(b,I){return b.start>=I.start&&b.start<I.start+I.count}},{key:"getMatchCount",value:function(b){for(var I=[],S=1,R=0;R<b.length;R++)I=[].concat(C(I),C(b[R].matches));I.sort(function(O,L){return O.start-L.start});for(var N=1;N<I.length;N++)this._isNodeWithinPreviousOccurrence(I,N)||S++;return S}},{key:"getNavigableNodeData",value:function(b,I){var S=this._datastore.getLocalCellData(b),R=S&&S.highlight?this.getMatchCount(S.highlight):0;return S?{id:S.id,matchCount:R,currentMatchIndex:I===l.NEXT?0:R-1,label:S.data.label,direction:""}:{}}},{key:"areAllMatchesInNodeNavigated",value:function(b,I){var S=I===l.NEXT?b.currentMatchIndex>b.matchCount-1:b.currentMatchIndex<=0;return S}},{key:"setNodeToNavigate",value:function(b,I){this.nodeToNavigate=this.getNavigableNodeData(b,I)}},{key:"setNextNavigableEntryData",value:function(){var y=n(r().mark(function I(S,R){var N,O,L;return r().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,this._datastore.dataSize.rows.end;case 2:return N=z.sent,S===l.PREV&&R<this.searchIndexToBeginNavigation?R=N:R>N&&(R=this.searchIndexToBeginNavigation),z.next=6,this.getHighlightMetaData(S,R);case 6:O=z.sent,L=O.range?O.range.rows.start:this.searchIndexToBeginNavigation,this.setNodeToNavigate(L,S);case 9:case"end":return z.stop()}},I,this)}));function b(I,S){return y.apply(this,arguments)}return b}()},{key:"getHighlightMetaData",value:function(){var y=n(r().mark(function I(S,R){var N,O,L;return r().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return N=this._datastore,O=s.range().setRows(R,R).setColumns(0,1/0),z.next=4,N.getRangeForQuery({metaData:{type:"row",key:"highlight"}},{range:O,position:S});case 4:return L=z.sent,z.abrupt("return",L);case 6:case"end":return z.stop()}},I,this)}));function b(I,S){return y.apply(this,arguments)}return b}()},{key:"nextSearchOccurrence",value:function(){var y=n(r().mark(function I(){var S,R,N,O;return r().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return S=this._datastore,U.next=3,this._isSearchEmpty();case 3:if(R=U.sent,!R){U.next=6;break}return U.abrupt("return",{});case 6:if(!this.isFirstNavigation){U.next=14;break}return U.next=9,this.setNextNavigableEntryData(l.NEXT,0);case 9:return U.next=11,S.getNode({id:this.nodeToNavigate.id});case 11:N=U.sent,this.searchIndexToBeginNavigation=N.index,this.isFirstNavigation=!1;case 14:return this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.direction===l.PREV?this.nodeToNavigate.currentMatchIndex+1:this.nodeToNavigate.currentMatchIndex,U.next=17,S.getNode({id:this.nodeToNavigate.id});case 17:if(O=U.sent,this.nodeToNavigate.matchCount=O.node.highlight?this.getMatchCount(O.node.highlight):0,!this.areAllMatchesInNodeNavigated(this.nodeToNavigate,l.NEXT)){U.next=26;break}return U.next=22,this.setNextNavigableEntryData(l.NEXT,O.index+1);case 22:this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex),this.nodeToNavigate.currentMatchIndex++,U.next=28;break;case 26:this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex),this.nodeToNavigate.currentMatchIndex++;case 28:return this.nodeToNavigate.direction=l.NEXT,U.abrupt("return",{nodeId:this.nodeToNavigate.id});case 30:case"end":return U.stop()}},I,this)}));function b(){return y.apply(this,arguments)}return b}()},{key:"prevSearchOccurrence",value:function(){var y=n(r().mark(function I(){var S,R,N;return r().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return S=this._datastore,L.next=3,this._isSearchEmpty();case 3:if(R=L.sent,!R){L.next=6;break}return L.abrupt("return",{});case 6:if(!this.isFirstNavigation){L.next=10;break}return L.next=9,this.nextSearchOccurrence();case 9:this.isFirstNavigation=!1;case 10:return this.nodeToNavigate.currentMatchIndex=this.nodeToNavigate.direction===l.NEXT?this.nodeToNavigate.currentMatchIndex-1:this.nodeToNavigate.currentMatchIndex,L.next=13,S.getNode({id:this.nodeToNavigate.id});case 13:if(N=L.sent,!this.areAllMatchesInNodeNavigated(this.nodeToNavigate,l.PREV)){L.next=20;break}return L.next=17,this.setNextNavigableEntryData(l.PREV,N.index-1);case 17:this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex),L.next=22;break;case 20:this.nodeToNavigate.currentMatchIndex--,this.setNavigationDataAndUpdateView(this.nodeToNavigate.id,this.nodeToNavigate.currentMatchIndex);case 22:return this.nodeToNavigate.direction=l.PREV,L.abrupt("return",{nodeId:this.nodeToNavigate.id});case 24:case"end":return L.stop()}},I,this)}));function b(){return y.apply(this,arguments)}return b}()},{key:"setNavigationDataAndUpdateView",value:function(b,I){this.viewState.setState(p.SEARCH_NAVIGATION_DATA,{id:b,indexInRow:I}),this.viewState.setState("updateView",!0)}}]),m}();return E},A,x),A.exports=w},54946:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t,s){return t=f(t),g(e,v()?Reflect.construct(t,s||[],f(e).constructor):t.apply(e,s))}function g(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}function _(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(v=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},f(e)}function u(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},r(e,t)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,o(l.key),l)}}function i(e,t,s){return t&&n(e.prototype,t),s&&n(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=c(e,"string");return h(t)=="symbol"?t:String(t)}function c(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}T=[a(99544),a(75845),a(31063),a(8040)],w=a.dj.d(T,function(e,t,s,l){var p="SelectionAdaptor",E=function(){function y(){d(this,y)}return i(y,[{key:"processAndEmitEvt",value:function(I,S){S(I)}},{key:"updateBoundaryNode",value:function(I){}},{key:"getContiguousSelectionRange",value:function(I){}}]),y}(),m=function(y){u(b,y);function b(I,S,R,N){var O;d(this,b),O=C(this,b),O.viewState=I,O._view=S,O._dataStore=R,O.selectionModelDelegate=new E;var L=R.isCheckboxTree,U=N&&N.checkboxTree&&N.checkboxTree.checkbox&&N.checkboxTree.checkbox.selection===!1,z=U&&L,$={};return $.treeNodeMouseDown=function(W){W.isTargetCheckBox&&z||O._processAndEmitEvt(W,"nodeSelectionMouseDown")},$.treeNodeMouseClick=function(W){W.node&&!(W.isTargetCheckBox&&z)&&O._processAndEmitEvt(W,"nodeSelectionClick")},$.treeNodeDoubleClick=function(W){W.node&&!(W.isTargetCheckBox&&z)&&O._processAndEmitEvt(W,"nodeSelectionDoubleClick")},$.treeNavigation=function(W){var V=function(M){return M.ctrlKey||M.altKey||M.metaKey||M.shiftKey};if(!(W.keyCode===s.SPACE&&!V(W)&&z))return O._processAndEmitKeyPress(W)},$.treeContextMenuSelection=function(W){W.node&&O._processAndEmitEvt(W,"nodeSelectionContextMenu")},$.treeClick=function(W){O.emit("treeClick",W)},S&&S.registerEventCallback($),O}return i(b,[{key:"setRangeSelectionModel",value:function(){this.selectionModelDelegate=new l(this.viewState,this._view,this._dataStore)}},{key:"_isNodeAlreadySelected",value:function(S,R){return S.some(function(N){return N.id===R.id})}},{key:"_processAndEmitEvt",value:function(S,R){var N=this,O=S;return O.currentSelection=this.getSelectionState(),O.isNodeAlreadySelected=this._isNodeAlreadySelected(O.currentSelection,O.node),this.selectionModelDelegate.processAndEmitEvt(O,function(L){N.emit(R,L)})}},{key:"_processAndEmitKeyPress",value:function(S){var R=this,N=S;N.currentSelection=this.getSelectionState();var O=this.viewState.getStateByKey("keyboardActive"),L=this.viewState.getStateByKey("keyboardActiveIndex");return O=O?O.value:null,L=L?L.value:null,N.currentKeyboardActiveNode=O,N.nodeIndex=L,this.selectionModelDelegate.processAndEmitEvt(N,function(U){R.emit("nodeSelectionKeyPress",U)})}},{key:"_getNodeIndexInCurrentSelection",value:function(S,R){for(var N=0;N<S.length;N++)if(S[N].id===R.id)return N;return-1}},{key:"_addToSelectionIfNotSelected",value:function(S,R){var N=S.some(function(L){return L.id===R.id});if(!N){var O=S.slice(0,S.length);O.push(R),this.setSelectionState(O)}}},{key:"_toggleSelection",value:function(S,R){S=S||[];var N=this._getNodeIndexInCurrentSelection(S,R),O=[];Array.isArray(S)&&(O=S.slice(0,S.length)),N>-1?O.splice(N,1):O.push({id:R.id}),this.setSelectionState(O)}},{key:"setIndividualSelection",value:function(S,R){this.selectionModelDelegate.updateBoundaryNode(S),this.setSelectionState([S.node]),R(this.getSelectionState())}},{key:"updateBoundaryNodeProgrammatically",value:function(S){var R=this;this._dataStore.getNode(S).then(function(N){N&&R.selectionModelDelegate.updateBoundaryNode(N)})}},{key:"setDiscontiguousSelection",value:function(S,R){this.selectionModelDelegate.updateBoundaryNode(S),S.isMetaKeyPressed?this._toggleSelection(this.getSelectionState(),S.node):this._addToSelectionIfNotSelected(this.getSelectionState(),S.node),R(this.getSelectionState())}},{key:"setContiguousSelection",value:function(S,R){var N=this.selectionModelDelegate.getContiguousSelectionRange(S.nodeIndex);N?this._setRangeSelection(N.start,N.end,R):R(this.getSelectionState())}},{key:"_getSelectionForNodesInViewBuffer",value:function(S,R,N){for(var O=[],L=R;L<=N;L++)O.push({id:S(L)(0).value.id});return O}},{key:"_setRangeSelection",value:function(S,R,N){var O=this,L=this.viewState.viewBuffer.rangeList[0].rows,U=L.start,z=L.end,$=S>=U&&R<=z,W=this.viewState.getStateByKey("currentViewPortData").value,V;if($)V=this._getSelectionForNodesInViewBuffer(W,S,R),this.setSelectionState(V),N(V);else{var K=S>=U?S:U,M=R<=z?R:z;V=this._getSelectionForNodesInViewBuffer(W,K,M),this.setSelectionState(V);var B=t.getRangeListForRange(this.viewState,S,R);this._dataStore.getData(B).then(function(P){V=[],P[0].forEach(function(k){return V.push({id:k[0].id})}),O.setSelectionState(V),N(V)})}}},{key:"setSelectionState",value:function(S,R,N){var O=this.viewState;Array.isArray(S)&&S.length?O.setState("selected",!0,[S]):O.setState("selected",!1,[]),N&&O.setState("updateView",!0)}},{key:"getSelectionState",value:function(){var S,R=this.viewState.getStateByKey("selected");if(R&&(S=R.rangeList[0]),S&&S.length){var N=S.map(function(O){return{id:O.id}});if(N.length>0)return N}return[]}}],[{key:"toString",value:function(){return p}}]),b}(e);return m},A,x),A.exports=w},82976:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function r(){C(this,r)}return _(r,null,[{key:"isDataTransferValid",value:function(n){if(!n)return!1;var i=n.types;if(!Array.isArray(i)||i.length===0)return!1;var o=i[0];if(!o)return!1;var c=n.getData(o);return!!c}},{key:"getDataTransferString",value:function(n){if(!n)return"dataTransfer is null";var i=n.types;if(!i||i.length===0||!i[0])return"dataTransfer has no mime types";for(var o="",c=0;c<i.length;c++){var e=i[c],t=n.getData(e);o+=" type = "+e+" value = "+t}return o}}]),r}();return u},A,x),A.exports=w},211:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function r(){C(this,r)}return _(r,null,[{key:"getSelectedNodes",value:function(n){var i,o=n.getStateByKey("selected");if(o&&(i=o.rangeList[0]),i&&i.length){var c=i.map(function(e){return{id:e.id}});if(c.length>0)return c}return[]}},{key:"isNodeAlreadySelected",value:function(n,i){var o=r.getSelectedNodes(n);return o.some(function(c){return i.id===c.id})}},{key:"setContextMenuFocus",value:function(n,i){n.setState("contextMenuFocus",i)}},{key:"removeContextMenuFocus",value:function(n){n.deleteState("contextMenuFocus")}}]),r}();return u},A,x),A.exports=w},12540:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({NEXT:"next",PREV:"previous"});return h},A,x),A.exports=w},58861:(A,x,a)=>{"use strict";var T,w;function h(l){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},h(l)}function C(l,p){var E=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!E){if(Array.isArray(l)||(E=g(l))||p&&l&&typeof l.length=="number"){E&&(l=E);var m=0,y=function(){};return{s:y,n:function(){return m>=l.length?{done:!0}:{done:!1,value:l[m++]}},e:function(N){throw N},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var b=!0,I=!1,S;return{s:function(){E=E.call(l)},n:function(){var N=E.next();return b=N.done,N},e:function(N){I=!0,S=N},f:function(){try{!b&&E.return!=null&&E.return()}finally{if(I)throw S}}}}function g(l,p){if(l){if(typeof l=="string")return _(l,p);var E=Object.prototype.toString.call(l).slice(8,-1);if(E==="Object"&&l.constructor&&(E=l.constructor.name),E==="Map"||E==="Set")return Array.from(l);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _(l,p)}}function _(l,p){(p==null||p>l.length)&&(p=l.length);for(var E=0,m=new Array(p);E<p;E++)m[E]=l[E];return m}function v(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function f(l,p){for(var E=0;E<p.length;E++){var m=p[E];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,r(m.key),m)}}function u(l,p,E){return p&&f(l.prototype,p),E&&f(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}function r(l){var p=d(l,"string");return h(p)=="symbol"?p:String(p)}function d(l,p){if(h(l)!="object"||!l)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var m=E.call(l,p||"default");if(h(m)!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(l)}function n(l,p,E){return p=e(p),i(l,c()?Reflect.construct(p,E||[],e(l).constructor):p.apply(l,E))}function i(l,p){if(p&&(h(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(l)}function o(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function c(){try{var l=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(p){}return(c=function(){return!!l})()}function e(l){return e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},e(l)}function t(l,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(p&&p.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),p&&s(l,p)}function s(l,p){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},s(l,p)}T=[a(99544),a(31063),a(48134),a(56355),a(27068),a(46481),a(75845)],w=a.dj.d(T,function(l,p,E,m,y,b,I){var S=function(R){t(N,R);function N(O,L,U){var z;v(this,N),z=n(this,N),z._view=O,z._viewModel=L,z._dataStore=U,z._keyHandlerList=[];var $={};return $.treeKeyPressed=function(W,V,K,M){return z._keyPressHandler(W,V,K,M)},z._view.registerEventCallback($,!0),z}return u(N,[{key:"emits",get:function(){return[]}},{key:"_keyPressHandler",value:function(L,U,z,$){var W=this;this._defaultPrevented=!1;var V=Object.assign([],this._getKeyHandlerList());if(V){var K={};K.preventDefault=this._preventDefault.bind(this),K.selectedNodes=this._getSelection(),K.focusedNode=this._getFocused();var M=V.filter(function(H){return W._isKeyHandlerObjInTheList(L,H)}),B=C(M),P;try{for(B.s();!(P=B.n()).done;){var k=P.value;if(k[y.KEY_HANDLER](K),this._defaultPrevented)return new Promise(function(H){H({prevented:!0})})}}catch(H){B.e(H)}finally{B.f()}}if(!this._defaultPrevented)return new Promise(function(H){H(W._handleNextEvent(L,U,z,$))})}},{key:"_handleNextEvent",value:function(L,U,z,$){var W={eventToEmit:U,eventProperties:L,eventCallback:$};z(W)}},{key:"addCustomKeyHandler",value:function(L,U,z){if(!L||typeof L!="string")throw new Error("Invalid KeyHandlerName, ".concat(L," should be a String."));var $=this._getKeyHandlerList();if(I.isPropertyInTheObject($,y.KEY_HANDLER_NAME,L))throw new Error("Invalid KeyHandlerName, ".concat(L," should be Unique, ").concat(L," is already bound to addCustomKeyHandler API."));if(typeof z!="function")throw new Error("Invalid KeyHandler callback, ".concat(z," should be a function."));this._generateKeyHandlerList(L,U,z,$)}},{key:"_generateKeyHandlerList",value:function(L,U,z,$){var W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:b.internal.ALL;if(U&&Array.isArray(U)){if(m.validatingKeyBindingLength(U),I.hasDuplicates(U))throw new Error("Invalid KeyBinding, Duplicate keycode found.");var V=C(U),K;try{for(V.s();!(K=V.n()).done;){var M=K.value;this._validatingIndividualKeyCombination(M,W,$);var B=E.isKeyBindingInHandlerList(M,L,$);if(B){var P=E.findPropertyInTheObject(M,L,$);P&&P[y.PLATFORMS]&&this._updateKeyHandlerObjectWithPlatform(P[y.PLATFORMS],W)}if(M&&!B){var k=E.getModifierLookupList();Array.isArray(M)&&(k=E.getModifierKeyCodeList(M));var H={};H[y.KEY_CODE]=M,H[y.KEY_HANDLER_NAME]=L,H[y.KEY_HANDLER]=z,H[y.PLATFORMS]=[W],H[y.MODIFIER_KEY_LIST]=k,$.push(H)}}}catch(G){V.e(G)}finally{V.f()}}else if(U&&h(U)==="object"){m.validatingKeyBindingLength(Object.keys(U)),m.validatingPlatformInKeyBinding(U);for(var Y in U)U.hasOwnProperty(Y)&&this._generateKeyHandlerList(L,U[Y],z,$,Y)}else throw new Error("Invalid KeyBinding, it should be an Array or Object")}},{key:"_validatingIndividualKeyCombination",value:function(L,U,z){if(!L)throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc.");if(Array.isArray(L)){if(L.length<=1)throw new Error("Invalid KeyBinding, Key Combination should have one regular key and multiple modifier keys");m.validateSequenceOfKeyCombination(L),m.validateKeyCombinations(L,U,z)}else{if(!E.keyCodeLookUpArray().includes(L))throw new Error("Invalid KeyBinding, Please refer to valid keycode in jsDoc");var $=E.findKeyCodeInTheList(L,U,z);if($&&$[y.KEY_HANDLER_NAME])throw new Error("Invalid KeyBinding, ".concat(I.getKeyByValue(p,L)," is already bound to ").concat($[y.KEY_HANDLER_NAME]," KeyHandler"))}}},{key:"_updateKeyHandlerObjectWithPlatform",value:function(L,U){var z=E.isPlatformInTheList(L,U);!z&&Array.isArray(L)&&L.push(U)}},{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_getSelectionState",value:function(){var L=this._viewModel.getStateByKey("selected");return L&&L.value?L.rangeList:[]}},{key:"_getSelection",value:function(){var L=this._getSelectionState(),U=L[0]?L[0]:[];return U=U.map(function(z){return{id:z.id}}),U}},{key:"_getFocusedState",value:function(){return this._viewModel.getStateByKey("focused")||null}},{key:"_getFocused",value:function(){var L={},U=this._getFocusedState();return U&&U.value&&(L.id=U.value.id),L}},{key:"_getKeyHandlerList",value:function(){return this._keyHandlerList}},{key:"_setKeyHandlerList",value:function(L){this._keyHandlerList=L}},{key:"_isKeyHandlerObjInTheList",value:function(L,U){var z=I.getUsersPlaform(),$=U[y.KEY_CODE],W=U.modifierKeyList;Array.isArray($)&&($=E.getKeyCodeArray($)[0]);var V=E.isPlatformInTheList(U[y.PLATFORMS],z),K=V;return!V&&U[y.PLATFORMS][0]===b.internal.ALL&&(K=!0),L[y.KEY_CODE]===$&&L[y.ALT_KEY]===W[y.ALT_KEY]&&L[y.CTRL_KEY]===W[y.CTRL_KEY]&&L[y.META]===W[y.META]&&L[y.SHIFT_KEY]===W[y.SHIFT_KEY]&&K}},{key:"removeCustomKeyHandler",value:function(L){if(!L||typeof L!="string")throw new Error("Invalid KeyHandlerName, ".concat(L," should be a String."));var U=this._getKeyHandlerList();if(!I.isPropertyInTheObject(U,y.KEY_HANDLER_NAME,L))throw new Error("Invalid KeyHandlerName, ".concat(L," has not been added by addCustomKeyHandler API."));U&&Array.isArray(U)&&U.length>0&&(U=U.filter(function(z){return z[y.KEY_HANDLER_NAME]!==L}),this._setKeyHandlerList(U))}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{addCustomKeyHandler:this.addCustomKeyHandler.bind(this),removeCustomKeyHandler:this.removeCustomKeyHandler.bind(this)}}}]),N}(l);return S},A,x),A.exports=w},85491:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(87241)],w=a.dj.d(T,function(e,t){var s=["expanded","collapsed"],l=function(p){o(E,p);function E(m,y,b){var I;C(this,E),I=u(this,E),I._view=m,I._viewModel=y,I._dataStore=b,I._treeNavHandler=new t(I._viewModel,I._dataStore);var S=I._treeNavHandler.emits;S.forEach(function(N){I._treeNavHandler.on(N,function(O){return I.emit(N,O)})});var R={};return R.treeDisclosureMouseDown=function(N){return I._disclosureClickHandler(N)},R.treeNodeMouseDown=function(N){return I._nodeClickHandler(N)},R.treeContextMenuSelection=function(N){N.node&&I._nodeClickHandler(N)},R.treeNodeDoubleClick=function(N){return I._disclosureClickHandler(N)},R.treeNavigation=function(N){return I._nodeKeyPressHandler(N)},I._view.registerEventCallback(R,!0),I}return _(E,[{key:"_expandNode",value:function(y){var b=this;!y.isExpanded&&y.isExpandable&&this._dataStore.expand([y]).then(function(){b.emit("expanded",{nodeId:y.id})})}},{key:"_collapseNode",value:function(y){var b=this;y.isExpanded&&y.isExpandable&&this._dataStore.collapse([y]).then(function(){b.emit("collapsed",{nodeId:y.id})})}},{key:"emits",get:function(){return s}},{key:"_nodeClickHandler",value:function(y){var b=y.altKey,I=y.ctrlKey||y.metaKey;b||I&&y.shiftKey||(this._viewModel.deleteState("potentialNextKeyboardActiveNode"),this._viewModel.setState("keyboardActive",y.node),this._viewModel.setState("keyboardActiveIndex",y.nodeIndex))}},{key:"_updatePotentialKeyboardActiveNode",value:function(y){var b=this,I=this._viewModel.getStateByKey("potentialNextKeyboardActiveNode");I?(I=I.value,this._dataStore.getNode(I).then(function(S){S||b._viewModel.setState("potentialNextKeyboardActiveNode",y)})):this._viewModel.setState("potentialNextKeyboardActiveNode",y)}},{key:"_disclosureClickHandler",value:function(y){var b=this;y.node.isExpanded?this._collapseNode(y.node):this._expandNode(y.node);var I=this._viewModel.getStateByKey("keyboardActive");I&&I.value&&(I=I.value,this._dataStore.getNode(I).then(function(S){S||b._updatePotentialKeyboardActiveNode(y.node)}))}},{key:"_nodeKeyPressHandler",value:function(y){return this._treeNavHandler.handleKeyEvent(y)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}}]),E}(e);return l},A,x),A.exports=w},88369:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=n(t),r(e,d()?Reflect.construct(t,s||[],n(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!e})()}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},n(e)}function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(23452),a(11564)],w=a.dj.d(T,function(e,t,s){"use strict";var l=function(p){o(E,p);function E(m,y,b,I){var S;C(this,E),S=u(this,E),S._view=m,S._viewModel=y,S._dataStore=b,S.executeAction=S.executeAction.bind(i(S));var R={},N={},O=I.actions[s.ACTIONS.DELETE];return O&&(N.deleteActionCompleted=function(L){return S._handleDeleteActionCompleted(L)},N.deleteActionsCompleted=function(L){return S._handleDeleteActionsCompleted(L)},S._deleteActionImpl=new t(y,b,N,O),R.deleteActionEvent=function(){return S._deleteActionImpl.performAction()}),S._view.registerEventCallback(R,!0),S}return _(E,[{key:"executeAction",value:function(y){switch(y){case s.ACTIONS.DELETE:this._view.executeAction(y);break;default:break}}},{key:"emits",get:function(){return["deleteActionCompleted","deleteActionsCompleted"]}},{key:"_handleDeleteActionCompleted",value:function(y){this.emit("deleteActionCompleted",y)}},{key:"_handleDeleteActionsCompleted",value:function(y){this.emit("deleteActionsCompleted",y)}},{key:"exposedAPI",value:function(){return{}}}]),E}(e);return l},A,x),A.exports=w},11564:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({ACTIONS:{DELETE:"DELETE"}});return h},A,x),A.exports=w},23452:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(75845)],w=a.dj.d(T,function(u){"use strict";var r=function(){function d(n,i,o,c){C(this,d),this._viewModel=n,this._dataStore=i,this._handlers=o,this._parseConfig(c)}return _(d,[{key:"_parseConfig",value:function(i){var o=this._isObject(i)&&i.beforeAction;o&&(this._beforeAction=i.beforeAction)}},{key:"_isObject",value:function(i){return i&&h(i)==="object"&&!Array.isArray(i)}},{key:"performAction",value:function(){var i=this,o=u.getSelectedNodes(this._viewModel),c=o.map(function(e){var t=this;return new Promise(function(s){var l=e||{id:null};t._beforeAction?t._handleBeforeAction(e,s):t._deleteNode(l,s)})},this);Promise.all(c).then(function(e){e=e.filter(function(s){return s&&s.id}),e=e.map(function(s){return s.id});var t={nodeIds:e};i._handlers.deleteActionsCompleted(t)})}},{key:"_handleBeforeAction",value:function(i,o){var c=this,e=this._beforeAction(i);if(e.then)e.then(function(){c._deleteNode(i,o)},function(){c._handlers.deleteActionCompleted({}),o()});else throw new Error("Expected: beforeAction should return a Promise")}},{key:"_deleteNode",value:function(i,o){var c=this;this._dataStore.remove(null,{id:i.id}).then(function(){u.removeNodeSelectionState(c._viewModel,i),u.removeNodeFocusState(c._viewModel,i),c._handlers.deleteActionCompleted({id:i.id}),o(i)})}}]),d}();return r},A,x),A.exports=w},95514:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(76836),a(72983)],w=a.dj.d(T,function(e,t,s){var l=function(p){o(E,p);function E(m,y,b){var I;C(this,E),I=u(this,E),I._view=m,I._viewModel=y,I._dataStore=b;var S={};return S.treeNodeEditMouseEvent=function(R){return I._handleFocusedNodeClick(R)},S.treeNodeEditKeyPress=function(R){return I._handleEnterKeyPress(R)},S.treeNodeEditComplete=function(R){return I._handleEditorEditComplete(R)},S.treeNodeProcessEdit=function(R){return I._handleEditorProcessEdit(R)},S.treeNodeEditCanceled=function(R){return I._handleEditorEditCanceled(R)},I._view.registerEventCallback(S,!0),I}return _(E,[{key:"emits",get:function(){return["editCompleted","editCanceled"]}},{key:"_enterEditMode",value:function(y){var b=this,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._viewModel.setState("ContainerFocused",!0),this._dataStore.getParentNode(y).then(function(S){var R=S?S.node:{id:null};b._updateStateMachineForTreeNode({node:y,parentNode:R,config:{firstChar:I.firstChar}},"EDIT_STARTED")})}},{key:"editNode",value:function(){var y=this,b=this._viewModel.getStateByKey("keyboardActive");if(b){var I=this._handleEnterKeyPress();I&&this._view.isFocusedNodeInTheView()&&I.then&&I.then(function(){y._viewModel.setState("updateView",!0)})}else throw new Error("Expected: treeNode object with id property. setNodeFocus({id: 'node1'}) to set node focus,before editNode")}},{key:"_isEditPermitted",value:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!(b.readonly||b.noMouseInteraction||b.displayBlank)}},{key:"_handleEnterKeyPress",value:function(){var y=this,b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._isEditInProgress()){var I=this._viewModel.getStateByKey("keyboardActive");if(I=I?I.value:null,!!I)return new Promise(function(S){y._dataStore.getNode(I).then(function(R){if(!R){S();return}var N=y._dataStore.getLocalRowMetaData?y._dataStore.getLocalRowMetaData(R.index):{};if(!y._isEditPermitted(R.node,N)){S();return}y._enterEditMode(I,{firstChar:b.firstChar}).then(function(){S()})})})}}},{key:"_handleFocusedNodeClick",value:function(y){if(!(this._isEditInProgress()||!this._isEditPermitted(y.node,y.metadata)))return this._enterEditMode(y.node)}},{key:"_handleEditorEditComplete",value:function(y){if(!y.hasValueChanged)this._updateStateMachineForTreeNode({node:y.node.value,parentNode:y.parentNode},"NO_EDIT_CHANGE");else return this._updateDataStoreIfNeeded(y,"EDITOR_EDIT_COMPLETE")}},{key:"_handleEditorEditCanceled",value:function(y){this._updateStateMachineForTreeNode({node:y.node.value,parentNode:y.parentNode,oldValue:y.oldValue,newValue:y.newValue,config:{validationResult:y.validationResult}},"EDITOR_EDIT_CANCELED")}},{key:"_handleEditorProcessEdit",value:function(y){return this._updateDataStoreIfNeeded(y,"EDITOR_PROCESS_EDIT")}},{key:"_updateDataStore",value:function(y){var b=this,I={node:y.node.value,oldValue:y.oldValue,newValue:y.newValue,parentNode:y.parentNode},S=this._dataStore.update(y.parentNode,y.node.value,y.newValue);return new Promise(function(R,N){S&&S.then?S.then(function(){b._updateStateMachineForTreeNode(I,"DATA_UPDATE_SUCCESS"),b._ds_update_promise_fulfilled=!0,R({type:s.DATA_UPDATE_SUCCESS})},function(O){var L={};L.isValid=O.success,L.validationMessage=O.message,L.type="ERROR",I.config={validationResult:L},b._updateStateMachineForTreeNode(I,"DATA_UPDATE_FAILURE"),b._ds_update_promise_fulfilled=!0,R({type:s.DATA_UPDATE_FAILURE})}):(b._updateStateMachineForTreeNode(I,"DATA_UPDATE_SUCCESS"),b._ds_update_promise_fulfilled=!0,R({type:s.DATA_UPDATE_SUCCESS}))})}},{key:"_handleEditInProgress",value:function(y,b){var I=this._deepCloneTreeNode(y.node);I.value.data=y.newValue,this._updateStateMachineForTreeNode({node:y.node.value,parentNode:y.parentNode,oldValue:y.oldValue,newValue:y.newValue,tempNode:I},b),this._viewModel.setState("updateView",!0)}},{key:"_updateDataStoreIfNeeded",value:function(y,b){return this._ds_update_promise&&!this._ds_update_promise_fulfilled?(this._handleEditInProgress(y,b),this._ds_update_promise):(this._ds_update_promise_fulfilled=!1,this._ds_update_promise=this._updateDataStore({node:y.node,parentNode:y.parentNode,oldValue:y.oldValue,newValue:y.newValue}),this._ds_update_promise_fulfilled||this._handleEditInProgress(y,b),this._ds_update_promise)}},{key:"_updateStateMachineForTreeNode",value:function(y,b){var I=this._viewModel.getStateByKey("ActiveEditNode");I=I?I.value:null;var S={node:y.node,parentNode:y.parentNode,config:y.config||{}},R=I?I.state:null;switch(b){case"EDITOR_EDIT_COMPLETE":{R=t.INACTIVE_EDIT_IN_PROGRESS,S.tempNode=y.tempNode;break}case"DATA_UPDATE_SUCCESS":{R=null,this._emitEditCompletedEvt(y);break}case"DATA_UPDATE_FAILURE":{R===t.ACTIVE_EDIT_IN_PROGRESS?(R=t.ACTIVE_EDIT,y.config.validationResult.validatedData=y.newValue):(R=null,this._emitEditCanceledEvt(y));break}case"EDITOR_EDIT_CANCELED":{R=null,this._emitEditCanceledEvt(y);break}case"EDITOR_PROCESS_EDIT":{R=t.ACTIVE_EDIT_IN_PROGRESS,S.config.isReadOnly=!0;break}case"EDIT_STARTED":{this._viewModel.setState("isInEditing",!0),R=t.ACTIVE_EDIT;break}case"NO_EDIT_CHANGE":{R=null;break}}R!==null?(S.state=R,this._viewModel.setState("ActiveEditNode",S)):(this._viewModel.deleteState("isInEditing"),this._viewModel.deleteState("ActiveEditNode"))}},{key:"_emitEditCompletedEvt",value:function(y){this.emit("editCompleted",{nodeId:y.node.id,oldValue:y.oldValue,newValue:y.newValue,config:y.config})}},{key:"_emitEditCanceledEvt",value:function(y){var b,I=(b=y.config)!==null&&b!==void 0&&(b=b.validationResult)!==null&&b!==void 0&&b.length?[y.config.validationResult]:[];this.emit("editCanceled",{nodeId:y.node.id,oldValue:y.oldValue,newValue:y.newValue,validationResults:I})}},{key:"_isEditInProgress",value:function(){var y=this._viewModel.getStateByKey("ActiveEditNode");return y&&y.value}},{key:"_deepCloneTreeNode",value:function(y){var b=this,I={};return Object.keys(y).forEach(function(S){y[S]&&h(y[S])==="object"?I[S]=b._deepCloneTreeNode(y[S]):I[S]=y[S]}),I}},{key:"exposedAPI",value:function(){return{editNode:this.editNode.bind(this)}}}]),E}(e);return l},A,x),A.exports=w},76318:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=n(t),r(e,d()?Reflect.construct(t,s||[],n(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return i(e)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(d=function(){return!!e})()}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},n(e)}function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(77330)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E,m,y){var b;C(this,p),b=u(this,p),b._view=E,b._viewModel=m,b._dataStore=y,b._eventEnum=t;var I={};return I[b._eventEnum.TREE_NODE_DOUBLE_CLICKED]=function(S){return b._handleDoubleclick(S)},b._view.registerEventCallback(I,!0),b._preventDefault=b._preventDefault.bind(i(b)),b}return _(p,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"_handleDoubleclick",value:function(m){this._defaultPrevented=!1;var y=m.node,b={node:y,preventDefault:this._preventDefault};this.emit(this._eventEnum.DOUBLE_CLICKED,b),!this._defaultPrevented&&m.defaultFn&&m.defaultFn()}},{key:"emits",get:function(){return[this._eventEnum.DOUBLE_CLICKED]}},{key:"exposedAPI",value:function(){return{}}}]),p}(e);return s},A,x),A.exports=w},42640:(A,x,a)=>{"use strict";var T,w;function h(t){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},h(t)}function C(t,s,l){return s=f(s),s in t?Object.defineProperty(t,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[s]=l,t}function g(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function _(t,s){for(var l=0;l<s.length;l++){var p=s[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,f(p.key),p)}}function v(t,s,l){return s&&_(t.prototype,s),l&&_(t,l),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var s=u(t,"string");return h(s)=="symbol"?s:String(s)}function u(t,s){if(h(t)!="object"||!t)return t;var l=t[Symbol.toPrimitive];if(l!==void 0){var p=l.call(t,s||"default");if(h(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(t)}function r(t,s,l){return s=i(s),d(t,n()?Reflect.construct(s,l||[],i(t).constructor):s.apply(t,l))}function d(t,s){if(s&&(h(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(s){}return(n=function(){return!!t})()}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},i(t)}function o(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),s&&e(t,s)}function e(t,s){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,E){return p.__proto__=E,p},e(t,s)}T=[a(77330),a(57308),a(99544),a(31063)],w=a.dj.d(T,function(t,s,l,p){var E=function(m){c(y,m);function y(b,I,S){var R;g(this,y),R=r(this,y),R._view=b,R._viewModel=I,R._dataStore=S;var N={};return N[t.INTERACTIVE_RENDERER_CLICK]=function(O){return R._handleInteractiveClick(O)},N[t.KEYUP_TOGGLE_CHECKED_STATE]=function(O){return R._handleKeyPressEvent(O)},R._view.registerEventCallback(N,!0),R._preventDefault=R._preventDefault.bind(o(R)),R}return v(y,[{key:"_preventDefault",value:function(){this._defaultPrevented=!0}},{key:"eventList",value:function(){var I={};return I[t.INTERACTIVE_CELL_CLICK]=this._handleCellClickEvent.bind(this),I}},{key:"emits",get:function(){return[t.EDIT_COMPLETED]}},{key:"_handleInteractiveClick",value:function(I){var S=I.renderer,R=I.node,N=I.evt,O=N.ctrlKey,L=N.meta,U=N.shiftKey,z=N.altKey,$=O||z||L||U;if(!$&&"handleAction"in S){var W=S.handleAction(R.value.data,{actionName:s.CLICK,target:N.target});if(W.hasChanged){var V={oldValue:W.oldValue,newValue:W.newValue};this._updateDataStore(V)}}}},{key:"_updateDataStore",value:function(I){var S=Object.assign({},I.oldValue),R=Object.assign({},I.newValue),N=Object.keys(R).reduce(function(O,L){return S[L]===R[L]?O:Object.assign(O,C({},L,R[L]))},{});this._dataStore.update(null,{id:I.oldValue.id},N),this._emitEditCompletedEvt(S,R)}},{key:"_emitEditCompletedEvt",value:function(I,S){this.emit(t.EDIT_COMPLETED,{nodeId:I.id,oldValue:I,newValue:S})}},{key:"_isSpacePressed",value:function(I){var S=I.ctrlKey||I.metaKey||I.altKey||I.shiftKey;return!(I.keyCode!==p.SPACE||S)}},{key:"_handleKeyPressEvent",value:function(I){var S=this;if(this._isSpacePressed(I))return new Promise(function(R,N){var O=S._viewModel.getStateByKey("keyboardActive");S._dataStore.getNode(O.value).then(function(L){if(!L){R();return}var U=S._dataStore.getLocalRowMetaData?S._dataStore.getLocalRowMetaData(L.index):{};if(U.readonly){R();return}if(U.interactiveRenderer){var z=U.interactiveRenderer,$=O.value.data?O.value.data:O.value,W=z.handleAction($,{actionName:s.KEY_PRESS});W.hasChanged&&(S._updateDataStore(W),R())}})})}}]),y}(l);return E},A,x),A.exports=w},24460:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(56678),a(879)],w=a.dj.d(T,function(u,r){"use strict";var d=function(){function n(i){C(this,n),this._viewModel=i.viewModel,this._getViewIndexOfNode=i.treeNodeHandler}return _(n,[{key:"getActiveNodeInfo",value:function(o){var c=this;return new Promise(function(e){c._getInitialActiveNodeIndex(o,u.ACTIVE_NODE).then(function(t){return t?(e(t),!0):!1}).then(function(t){t||c._getInitialActiveNodeIndex(o,u.POTENTIAL_ACTIVE_NODE).then(function(s){s.isPotentialActiveNode=!s.isDefaultInitialIndex,e(s)})})})}},{key:"_getInitialActiveNodeIndex",value:function(o,c){var e=this._viewModel.getStateByKey(c),t;return e&&e.value?(e=e.value,t=this._getViewIndexOfNode(e)):t={isDefaultInitialIndex:!0,index:o.currentDataSize.start},Promise.resolve(t)}},{key:"_getViewportEnd",value:function(o,c,e){return Math.max(0,Math.min(o+c-1,e))}},{key:"_boundedScrollTo",value:function(o){var c=o,e=this._viewModel.dataSize,t;return t=Math.max(Math.min(c,e.rows.end),0),t}},{key:"_isActiveIndexInViewPort",value:function(o){var c=this._viewModel.viewPort,e=c.size.top,t=r.getViewPortCount(this._viewModel),s=r.getFirstVisibleRow(e,this._viewModel).index,l=s+t-1;return o>s&&o<l}},{key:"_getNodeInfoFromViewPort",value:function(o){var c=this._viewModel.getStateByKey("currentViewPortData").value,e=c(o)(0).value;return e}},{key:"_updateViewPort",value:function(o,c){var e=this,t=this._boundedScrollTo(c);if(r.updateLogicalViewPort(this._viewModel,t),r.isViewPortRangeInDataBuffer(this._viewModel))this._updateActiveNodeInViewModel(o,!0);else return new Promise(function(s){var l=e._viewModel.on("currentViewPortData",function(){l.remove(),e._updateActiveNodeInViewModel(o,!0),s()});r.updateDataBuffer(e._viewModel)})}},{key:"_updateActiveNodeInViewModel",value:function(o,c){var e=this._getNodeInfoFromViewPort(o);this._viewModel.setState("keyboardActive",e),this._viewModel.setState("keyboardActiveIndex",o),c&&this._viewModel.setState("shouldScroll",!0),this._viewModel.deleteState("potentialNextKeyboardActiveNode")}},{key:"setActiveNode",value:function(o,c,e){this._isActiveIndexInViewPort(o.index)?this._updateActiveNodeInViewModel(o.index,!1):(e?this._viewModel.setState("scrollTopCalc",r.dynamicScrollTopForBottomNodeCalculator(e,this._viewModel)):this._viewModel.setState("scrollTopCalc",r.dynamicScrollTopCalculator(c,this._viewModel)),this._updateViewPort(o.index,c),this._viewModel.setState("shouldScrollOnKeyPressed",!0))}}]),n}();return d},A,x),A.exports=w},87241:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(75845),a(879),a(31063),a(99544),a(25655),a(24460),a(56678)],w=a.dj.d(T,function(e,t,s,l,p,E,m){"use strict";var y=function(b){o(I,b);function I(S,R){var N;return C(this,I),N=u(this,I),N._viewModel=S,N._dataStore=R,N._initializeKeyNavigationAndActiveNode(),N}return _(I,[{key:"_initializeKeyNavigationAndActiveNode",value:function(){var R=this;this._keyNavigation=new p({expandHandler:function(O){return R._expandNode(O)},collapseHandler:function(O){return R._collapseNode(O)},getCurrentViewPortCount:function(){return R._getCurrentViewPortCount()},getPreviousViewPortCount:function(O){return R._getPreviousViewPortCount(O)},getNextViewPortCount:function(O){return R._getNextViewPortCount(O)},getFirstVisible:function(O){return R._getFirstVisible(O)},viewModel:this._viewModel}),this._activeNodeHandler=new E({viewModel:this._viewModel,treeNodeHandler:function(O){return R._getViewIndexOfNode(O)}})}},{key:"emits",get:function(){return["expanded","collapsed"]}},{key:"_getCurrentViewPortCount",value:function(){return t.getViewPortCount(this._viewModel)}},{key:"_getPreviousViewPortCount",value:function(R){return t.getPreviousViewPortCount(this._viewModel,R)}},{key:"_getNextViewPortCount",value:function(R){return t.getNextViewPortCount(this._viewModel,R)}},{key:"_getFirstVisible",value:function(R){return t.getFirstVisibleRow(R,this._viewModel).index}},{key:"_expandNode",value:function(R){var N=this,O=!R.isExpanded&&R.isExpandable;O&&this._dataStore.expand([R]).then(function(){N.emit("expanded",{nodeId:R.id})})}},{key:"_collapseNode",value:function(R){var N=this,O=R.isExpanded&&R.isExpandable;O&&this._dataStore.collapse([R]).then(function(){N.emit("collapsed",{nodeId:R.id})})}},{key:"_getParentNode",value:function(R){return this._dataStore.getParentNode(R)}},{key:"_getViewIndexOfNode",value:function(R){return this._dataStore.getNode(R)}},{key:"_getKeyboardEvent",value:function(R){var N={keyCode:R.keyCode};return N.currentDataSize=this._viewModel.dataSize.rows,N.currentViewPort=this._viewModel.viewPort.rangeList[0].rows,N.currentViewPortSize=this._viewModel.viewPort.size,N}},{key:"_isKeyCodeValid",value:function(R){var N=R.ctrlKey||R.metaKey,O=R.shiftKey,L=R.altKey,U=!(L||N&&O)&&this._keyNavigation.getKeyCommand(R.keyCode);return N?U:O?R.keyCode!==s.ARROW_LEFT&&R.keyCode!==s.ARROW_RIGHT:U}},{key:"handleKeyEvent",value:function(R){var N=this,O=this._viewModel.dataSize.rows.count;if(!(!this._isKeyCodeValid(R)||O===0))return new Promise(function(L){var U=N._getKeyboardEvent(R);N._activeNodeHandler.getActiveNodeInfo(U).then(function(z){return N._processKeyEvt(U,z)}).then(function(z){if(!z)L();else{var $={index:z.index>=0?z.index:z.keyboardActiveIndex,activeNode:z.keyboardActiveNode||z.node},W=z.firstVisibleIndex>=0?z.firstVisibleIndex:z.index,V=z.lastVisibleIndex?z.lastVisibleIndex:null;L(N._activeNodeHandler.setActiveNode($,W,V))}})})}},{key:"_processKeyEvt",value:function(R,N){var O=N.isPotentialActiveNode||N.isDefaultInitialIndex;return R.currentKeyboardActiveNode=N.node,R.currentKeyboardActiveIndex=N.index,O?this._processNoActiveNodeInView(R):Promise.resolve(this._processExistingActiveIndex(R))}},{key:"_processNoActiveNodeInView",value:function(R){var N;switch(R.keyCode){case s.PAGE_UP:case s.PAGE_DOWN:case s.HOME:case s.END:{N=this._keyNavigation.getKeyCommand(R.keyCode)(R);break}default:{N={firstVisibleIndex:R.currentKeyboardActiveIndex,keyboardActiveIndex:R.currentKeyboardActiveIndex};break}}return N}},{key:"_processExistingActiveIndex",value:function(R){var N=this._keyNavigation.getKeyCommand(R.keyCode)(R);return N.parentIsNewKeyboardActiveNode?this._getParentNode(N.keyboardActiveNode):N}}]),I}(l);return y},A,x),A.exports=w},25655:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(31063),a(72863)],w=a.dj.d(T,function(u,r){"use strict";var d=function(){function n(i){C(this,n),this._constructCommands(),this._expandNode=i.expandHandler,this._collapseNode=i.collapseHandler,this._getCurrentViewPortCount=i.getCurrentViewPortCount,this._getPreviousViewPortCount=i.getPreviousViewPortCount,this._getNextViewPortCount=i.getNextViewPortCount,this._currentFirstVisible=i.getFirstVisible}return _(n,[{key:"_constructCommands",value:function(){var o=this;this.keyCommands={},this.keyCommands[u.HOME]=function(c){return o._handleHome(c)},this.keyCommands[u.END]=function(c){return o._handleEnd(c)},this.keyCommands[u.PAGE_UP]=function(c){return o._handlePageUp(c)},this.keyCommands[u.PAGE_DOWN]=function(c){return o._handlePageDown(c)},this.keyCommands[u.ARROW_UP]=function(c){return o._handleArrowUp(c)},this.keyCommands[u.ARROW_DOWN]=function(c){return o._handleArrowDown(c)},this.keyCommands[u.ARROW_LEFT]=function(c){return o._handleArrowLeft(c)},this.keyCommands[u.ARROW_RIGHT]=function(c){return o._handleArrowRight(c)},this.keyCommands[u.SPACE]=function(c){return o._handleSpace(c)}}},{key:"getKeyCommand",value:function(o){return this.keyCommands[o]}},{key:"_handleSpace",value:function(o){var c=o.currentKeyboardActiveIndex,e=this._currentFirstVisible(o.currentViewPortSize.top),t=this._getCurrentViewPortCount(),s=e+t;return e<=o.currentKeyboardActiveIndex&&s>=o.currentKeyboardActiveIndex&&(c=o.currentViewPort.start),{firstVisibleIndex:c,keyboardActiveIndex:o.currentKeyboardActiveIndex}}},{key:"_handleHome",value:function(o){return{firstVisibleIndex:o.currentDataSize.start,keyboardActiveIndex:o.currentDataSize.start}}},{key:"_handleEnd",value:function(o){var c=o.currentDataSize.end,e=this._getCurrentViewPortCount(),t=Math.max(c-e+1,o.currentDataSize.start);return{keyboardActiveIndex:c,firstVisibleIndex:t,lastVisibleIndex:Math.max(o.currentDataSize.start,c)}}},{key:"_getFirstVisibleIndexForPageUp",value:function(o,c,e,t){var s,l,p=this._currentFirstVisible(e.top),E=this._getPreviousViewPortCount(p),m=this._getCurrentViewPortCount(),y=p<=c&&c<=p+m;return y?(s=Math.max(p-E,o),l=Math.max(p-1,o)):s=t,{firstVisibleIndex:s,lastVisibleIndex:l}}},{key:"_handlePageUp",value:function(o){var c=o.currentKeyboardActiveIndex,e=this._getPreviousViewPortCount(c),t=Math.max(o.currentKeyboardActiveIndex-e,o.currentDataSize.start),s=this._getFirstVisibleIndexForPageUp(o.currentDataSize.start,o.currentKeyboardActiveIndex,o.currentViewPortSize,t),l=s.firstVisibleIndex,p=s.lastVisibleIndex;return{keyboardActiveIndex:t,firstVisibleIndex:l,lastVisibleIndex:p}}},{key:"_handlePageDown",value:function(o){var c=o.currentKeyboardActiveIndex,e=this._getNextViewPortCount(c),t=Math.max(o.currentKeyboardActiveIndex+e,o.currentDataSize.start);t=Math.min(t,o.currentDataSize.end);var s=this._currentFirstVisible(o.currentViewPortSize.top),l=this._getFirstVisibleIndexForPgDown(o.currentDataSize.start,o.currentKeyboardActiveIndex,t,s),p=l.firstVisibleIndex;return p=p>o.currentDataSize.end?s:p,{keyboardActiveIndex:t,firstVisibleIndex:p}}},{key:"_getFirstVisibleIndexForPgDown",value:function(o,c,e,t){var s,l=this._getCurrentViewPortCount(),p=t<=c&&c<=t+l-1;return p?s=Math.max(t+l,o):s=e,{firstVisibleIndex:s}}},{key:"_handleArrowDown",value:function(o){var c=Math.min(o.currentKeyboardActiveIndex+1,o.currentDataSize.end),e=this._currentFirstVisible(o.currentViewPortSize.top),t=this._getCurrentViewPortCount(),s,l=e<=c&&c<=e+t-1;l?s=e:s=Math.max(e+1,o.currentDataSize.start);var p=e+t;return p=p<=c?c:null,{keyboardActiveIndex:c,firstVisibleIndex:s,lastVisibleIndex:p}}},{key:"_handleArrowUp",value:function(o){var c=Math.max(o.currentKeyboardActiveIndex-1,o.currentDataSize.start),e=this._currentFirstVisible(o.currentViewPortSize.top),t=this._getCurrentViewPortCount(),s=e+t,l=c;return e<=c&&s>=c&&(l=e),{keyboardActiveIndex:c,firstVisibleIndex:l}}},{key:"_handleArrowRight",value:function(o){var c=o.currentKeyboardActiveNode.isExpanded&&o.currentKeyboardActiveNode.isExpandable;if(c)return this._handleArrowDown(o);this._expandNode(o.currentKeyboardActiveNode);var e=this._getCurrentViewPortCount(),t=this._currentFirstVisible(o.currentViewPortSize.top),s=t<=o.currentKeyboardActiveIndex&&o.currentKeyboardActiveIndex<=t+e-1;if(s){var l=t;return{keyboardActiveIndex:o.currentKeyboardActiveIndex,firstVisibleIndex:l}}return{keyboardActiveIndex:o.currentKeyboardActiveIndex,firstVisibleIndex:o.currentKeyboardActiveIndex}}},{key:"_handleArrowLeft",value:function(o){var c=o.currentKeyboardActiveNode.isExpandable&&!o.currentKeyboardActiveNode.isExpanded,e=!o.currentKeyboardActiveNode.isExpandable;if(c||e)return{keyboardActiveNode:o.currentKeyboardActiveNode,parentIsNewKeyboardActiveNode:!0};this._collapseNode(o.currentKeyboardActiveNode);var t=this._getCurrentViewPortCount(),s=this._currentFirstVisible(o.currentViewPortSize.top),l=s<=o.currentKeyboardActiveIndex&&o.currentKeyboardActiveIndex<=s+t-1;if(l){var p=s;return{keyboardActiveIndex:o.currentKeyboardActiveIndex,firstVisibleIndex:p}}return{keyboardActiveIndex:o.currentKeyboardActiveIndex,firstVisibleIndex:o.currentKeyboardActiveIndex}}}]),n}();return d},A,x),A.exports=w},65454:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(879)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E,m,y){var b;C(this,p),b=u(this,p),b._view=E,b._viewModel=m,b._dataStore=y;var I={};return I.treeScroll=function(S){return b._handleScroll(S)},I.treeProgrammaticScroll=function(S){return b._handleProgrammaticScroll(S)},b._view.registerEventCallback(I,!0),b}return _(p,[{key:"_scrollToIndex",value:function(m){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{maintainPositionIfInView:!0};if(y.maintainPositionIfInView){var b=t.isTreeNodeCompletelyInsideViewPort(m,this._viewModel);if(b)return}var I=this._viewModel.getStateByKey("nodeHeightInPx").value;this._viewModel.viewPort.size.top=m*I,this._viewModel.setState("scrollTopCalc",t.dynamicScrollTopCalculator(m,this._viewModel)),t.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size)}},{key:"_scrollToNode",value:function(m,y){var b=this;return this._dataStore.expandTo(m).then(function(I){if(I){var S=I.index;b._scrollToIndex(S,y)}})}},{key:"_handleProgrammaticScroll",value:function(m){if(!(!m.treeNodeScroll&&!(m.nodeIndex>=0)))return m.treeNodeScroll?this._scrollToNode(m.treeNodeScroll.treeNode,m.treeNodeScroll.options):this._scrollToIndex(m.nodeIndex)}},{key:"_handleScroll",value:function(m){this._handleUpdateViewPort(m)}},{key:"_handleUpdateViewPort",value:function(m){var y={left:m.scrollLeft,top:m.scrollTop,width:m.clientWidth,height:m.clientHeight};t.calculateAndUpdateLogicalViewPort(this._viewModel,y)}},{key:"destroy",value:function(){}},{key:"exposedAPI",value:function(){return{}}}]),p}(e);return s},A,x),A.exports=w},3461:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(31063),a(62683)],w=a.dj.d(T,function(e,t,s){"use strict";var l=function(p){o(E,p);function E(){return C(this,E),u(this,E,arguments)}return _(E,[{key:"setFocus",value:function(){this._textField.focus(),this._config.firstChar?(this._textField.value=this._config.firstChar,this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)):this._textField.select()}}]),E}(s);return l},A,x),A.exports=w},51693:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(31063)],w=a.dj.d(T,function(u){"use strict";var r=function(){function d(){C(this,d)}return _(d,null,[{key:"config",value:function(i,o){return function(c,e){return Object.keys(i).forEach(function(t){e[t]=i[t]}),o(c,e)}}},{key:"_shallowCloneObject",value:function(i){var o={};for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(o[c]=i[c]);return o}},{key:"decorateEditor",value:function(i){var o=this._handleContextMenu(i),c=this._handleKeyDown(i),e=this._handleKeyUp(i),t=this._handleBlur(i),s=this._handleInput(i),l=this._handleMouseDown(i);i._configureListeners([{event:"contextmenu",handler:o},{event:"blur",handler:t},{event:"input",handler:s},{event:"keydown",handler:c},{event:"keyup",handler:e},{event:"mousedown",handler:l}])}},{key:"_handleContextMenu",value:function(i){return function(o){o.stopPropagation()}}},{key:"_handleMouseDown",value:function(i){return function(o){o.stopPropagation()}}},{key:"_handleKeyUp",value:function(i){return function(o){o.stopPropagation()}}},{key:"_handleKeyDown",value:function(i){return function(o){switch(o.stopPropagation(),o.keyCode){case u.ENTER:{i._validateAndCompleteEdit({displayError:!0});break}case u.ESCAPE:{i._validateAndCompleteEdit({displayError:!1,isEscKeyPressed:!0});break}case u.END:{if(!o.shiftKey){var c=i._getInputNode().value.length;i._getInputNode().setSelectionRange(c,c),o.preventDefault()}break}case u.HOME:{o.shiftKey||(i._getInputNode().setSelectionRange(0,0),o.preventDefault());break}case u.PAGE_UP:case u.PAGE_DOWN:{o.preventDefault();break}case u.ARROW_UP:case u.ARROW_RIGHT:case u.ARROW_DOWN:case u.ARROW_LEFT:{i.arrowKeyPressed&&i.arrowKeyPressed(o);break}}}}},{key:"_handleInput",value:function(i){return function(o){o.currentTarget.size=o.target.value.length||1,i._handleTextChange(o.target.value)}}},{key:"_handleBlur",value:function(i){return function(o){i._validateAndCompleteEdit({displayError:!1})}}}]),d}();return r},A,x),A.exports=w},11907:(A,x,a)=>{"use strict";var T,w;T=[a(62683),a(3461)],w=a.dj.d(T,function(h,C){"use strict";var g=Object.freeze({DefaultEditor:h,DesignTimeEditor:C});return g},A,x),A.exports=w},62683:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(51693),a(29611)],w=a.dj.d(T,function(e,t,s){"use strict";var l=function(p){o(E,p);function E(m,y){var b;return C(this,E),b=u(this,E),m=m||{},b._config=y,b._oldValue=t._shallowCloneObject(m),b._newValue=t._shallowCloneObject(m),b._constructDom(b._newValue),b}return _(E,[{key:"_getTextField",value:function(){return this._textField}},{key:"_getInputNode",value:function(){return this._textField}},{key:"_constructDom",value:function(y){var b="icon1",I=document.createElement("div");I.className="treeNodeIconEditor";var S,R,N=y.iconUri,O=y.iconId;if(O||N){if(S=document.createElement("span"),S.setAttribute("data-test-id",b),S.className="treeNodeIcon",O){var L=s.getIconByIdDom(O);S.appendChild(L)}else S.style.backgroundImage="url('"+encodeURI(N)+"')";I.appendChild(S)}R=this._textField=document.createElement("input"),R.input="text",R.setAttribute("data-editor",!0),R.spellcheck=!1,R.value=y.label,R.size=y.label.length||1,R.tabIndex=0,R.className="mwTreeTextEditor",I.appendChild(R),this._domNode=I,t.decorateEditor(this)}},{key:"_configureListeners",value:function(y){var b=this;y.forEach(function(I){b._getInputNode().addEventListener(I.event,I.handler)}),this._eventsHandlers=y}},{key:"_emitEditCompleteEvent",value:function(y,b){this.emit("editComplete",{newValue:y,oldValue:b,hasValueChanged:b.label!==y.label})}},{key:"_emitEditCanceledEvent",value:function(y,b,I){this.emit("editCanceled",{newValue:y,oldValue:b,validationResult:I})}},{key:"_handleTextChange",value:function(y){}},{key:"_validateAndCompleteEdit",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._newValue.label=this._textField.value.trim(),(this._newValue.label||this._config&&this._config.acceptEmptyLabel)&&!y.isEscKeyPressed)this._emitEditCompleteEvent(this._newValue,this._oldValue);else if(y.isEscKeyPressed){var b=[];this._emitEditCanceledEvent(this._newValue,this._oldValue,b)}else this._emitEditCanceledEvent(this._newValue,this._oldValue)}},{key:"value",get:function(){return this._newValue.label=this._textField.value,this._newValue},set:function(y){this._textField.value=y.label}},{key:"setFocus",value:function(){this._textField.focus(),this._textField.setSelectionRange(this._textField.value.length,this._textField.value.length)}},{key:"getDomNode",value:function(y){return this._domNode}},{key:"commitValue",value:function(){this._validateAndCompleteEdit()}},{key:"destroy",value:function(){var y=this;this._textField&&(this._eventsHandlers.forEach(function(b){y._getInputNode().removeEventListener(b.event,b.handler)}),delete this._textField),delete this._domNode}}],[{key:"config",value:function(y){return t.config(y,this._createInstance)}},{key:"_createInstance",value:function(y,b){return new E(y,b)}}]),E}(e);return l},A,x),A.exports=w},27068:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({KEY_HANDLER_NAME:"keyHandlerName",KEY_CODE:"keyCode",KEY_HANDLER:"keyHandler",PLATFORMS:"platforms",MODIFIER_KEY_LIST:"modifierKeyList",ALT_KEY:"altKey",CTRL_KEY:"ctrlKey",META:"metaKey",SHIFT_KEY:"shiftKey"});return h},A,x),A.exports=w},77330:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({INTERACTIVE_RENDERER_CLICK:"interactiveClick",KEYUP_TOGGLE_CHECKED_STATE:"keyUpToggleCheckedState",KEY_PRESS:"keyDown",DOUBLE_CLICKED:"doubleClicked",EDIT_COMPLETED:"editCompleted",TREE_NODE_DOUBLE_CLICKED:"treeNodeDoubleClicked",CCP_KEY_PRESSED:"clipboardKeyPresses",CLIPBOARD_CUT:"clipboardCut",CLIPBOARD_COPY:"clipboardCopy",CLIPBOARD_PASTE:"clipboardPaste"});return h},A,x),A.exports=w},46481:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({internal:{ALL:"all"},exposed:{WINDOWS:"windows",MAC:"mac",LINUX:"linux"}})},A,x),A.exports=w},57308:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({CLICK:"click",KEY_PRESS:"keypress"});return h},A,x),A.exports=w},37899:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({TREE_DISABLED:"treeDisabled",IS_TREE_IN_EDIT:"isInEditing",CONTAINER_HEIGHT:"containerHeight"})},A,x),A.exports=w},60624:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){var u=function(){function r(){C(this,r)}return _(r,null,[{key:"compose",value:function(){var n=Array.prototype.slice.call(arguments).reverse();return function(){for(var i=n[0].apply(this,arguments),o=1;o<n.length;o+=1)i=n[o].call(this,i);return i}}},{key:"toPromise",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(i,o){return setTimeout(i,n)})}}]),r}();return u},A,x),A.exports=w},663:(A,x,a)=>{"use strict";var T,w;T=[a(21622),a(14634),a(28154),a(30624),a(46991),a(15054),a(55612),a(71262),a(95206),a(83576),a(23942)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){"use strict";var o=Object.freeze({AVAILABLE:{Focus:f,Filter:[_,u],Search:u,DragAndDrop:g,ContextMenu:C,ScrollSync:n,SingleNodeSelection:[f,r],MultipleNodeSelection:[f,d],DesignTimeMultipleNodeSelection:[v,d],Clipboard:i},INTERNAL:{CheckboxTree:h},COMPATIBLE:[[h,r]],INCOMPATIBLE:[[r,d],[h,d]],getPluginsBasedOnDSConfiguration:function(e){var t=[];return e&&e.isCheckboxTree&&t.push(h),t}});return o},A,x),A.exports=w},21622:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(74575)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m._listeners=[],m._listeners.push(m.adaptor.on("checkboxStatusChangeRequested",function(y){return m._handleCheckboxState(y)})),m}return _(p,[{key:"emits",get:function(){return["checkChanged"]}},{key:"_handleCheckboxState",value:function(m){var y=this,b=m.newValue;!b&&m.isSpaceKeyPressed&&(b=m.node.check==="mixed"?!0:m.node.check!==!0),this.adaptor.updateCheckboxState(m.node,b).then(function(){y.emit("checkChanged",{nodeId:m.node.id,oldValue:m.node.check,newValue:b})})}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this._listeners.forEach(function(m){return m.remove()})}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},23942:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(20770)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m}return _(p,[{key:"emits",get:function(){return[]}},{key:"cut",value:function(){return this.adaptor.cut()}},{key:"copy",value:function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.adaptor.copy(m)}},{key:"paste",value:function(){return this.adaptor.paste()}},{key:"exposedAPI",value:function(){return{cut:this.cut.bind(this),copy:this.copy.bind(this),paste:this.paste.bind(this)}}},{key:"destroy",value:function(){}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},14634:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(91696)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m._listeners=[],m._listeners.push(m.adaptor.on("treeContextMenu",function(y){return m._handleRightClick(y)})),m}return _(p,[{key:"emits",get:function(){return["contextMenu"]}},{key:"exposedAPI",value:function(){return{}}},{key:"_handleRightClick",value:function(m){if(m.node){var y=m.isNodeAlreadySelected?m.selectedNodes:[m.node];this.adaptor.setContextMenuFocus(y)}this.emit("contextMenu",{top:m.top,left:m.left,target:m.emitTarget})}},{key:"destroy",value:function(){this._listeners.forEach(function(m){return m.remove()})}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},28154:(A,x,a)=>{"use strict";var T,w;function h(m){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},h(m)}function C(m){return f(m)||v(m)||_(m)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(m,y){if(m){if(typeof m=="string")return u(m,y);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return u(m,y)}}function v(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function f(m){if(Array.isArray(m))return u(m)}function u(m,y){(y==null||y>m.length)&&(y=m.length);for(var b=0,I=new Array(y);b<y;b++)I[b]=m[b];return I}function r(m,y){if(!(m instanceof y))throw new TypeError("Cannot call a class as a function")}function d(m,y){for(var b=0;b<y.length;b++){var I=y[b];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(m,i(I.key),I)}}function n(m,y,b){return y&&d(m.prototype,y),b&&d(m,b),Object.defineProperty(m,"prototype",{writable:!1}),m}function i(m){var y=o(m,"string");return h(y)=="symbol"?y:String(y)}function o(m,y){if(h(m)!="object"||!m)return m;var b=m[Symbol.toPrimitive];if(b!==void 0){var I=b.call(m,y||"default");if(h(I)!="object")return I;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(m)}function c(m,y,b){return y=l(y),e(m,s()?Reflect.construct(y,b||[],l(m).constructor):y.apply(m,b))}function e(m,y){if(y&&(h(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t(m)}function t(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function s(){try{var m=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(y){}return(s=function(){return!!m})()}function l(m){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(b){return b.__proto__||Object.getPrototypeOf(b)},l(m)}function p(m,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(y&&y.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),Object.defineProperty(m,"prototype",{writable:!1}),y&&E(m,y)}function E(m,y){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,S){return I.__proto__=S,I},E(m,y)}T=[a(34454),a(99544),a(57150),a(41028),a(60391),a(41574),a(68419),a(60757)],w=a.dj.d(T,function(m,y,b,I,S,R,N,O){var L=function(U){p(z,U);function z($){var W;return r(this,z),W=c(this,z),W.adaptor=$,W.isReorderingEnabled=W.adaptor.isReorderingEnabled(),W.previousTargetDom=null,W.autoExpandTimer=null,W.dragEnterRow=null,W.isValidDrop=!0,W._customSourceDrag=[],W.adaptor.on(N.Events.registerDnDSource,function(V){return W._registerDnDSource(V)}),W.adaptor.on(N.Events.moveFailed,function(V){return W._emitDropFailed(V)}),W.adaptor.on(N.Events.moveCompleted,function(V){return W._emitDropCompleted(V)}),W.adaptor.on(N.Events.onDragSelection,function(V){return W.setSelectionDataForDrag(V)}),W.autoExpandTime=1e3,W}return n(z,[{key:"_registerDnDSource",value:function(W){this.dndService=new m(W.treeContainerNode,this._getDnDHandlers(),this.adaptor.isNodeLabelTruncated())}},{key:"setSelectionDataForDrag",value:function(W){var V=this,K=W.ids,M=this.adaptor.getDragAndDropConfig().setDragDataBySelection;if(M){var B=new O;M(K,B).then(function(P){if(!P.dataTransfer){V._customSourceDrag=[];return}for(var k=P.dataTransfer,H=[],Y=0;Y<k.types.length;Y++){var G=k.types[Y],Q=k.getData(G);H.push({type:G,data:Q})}V._customSourceDrag=H});return}this._customSourceDrag=[]}},{key:"_getDnDHandlers",value:function(){var W={dragSources:{type:N.TYPE_TREENODE,handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this),allowGlobal:this.adaptor.isGlobalDragAllowed()},dropTargets:{handleDrop:this._handleDrop.bind(this),handleDragEnter:this._handleDragEnter.bind(this),handleDragHover:this._handleDragHover.bind(this),handleDragLeave:this._handleDragLeave.bind(this),allowGlobal:this.adaptor.isGlobalDropAllowed()}};return this.isReorderingEnabled&&(W.dropTargets={handleDrop:this._handleDropOnReordering.bind(this),handleDragEnter:this._handleDragEnterReordering.bind(this),handleDragHover:this._handleDragHoverOnReordering.bind(this),handleDragLeave:this._handleDragLeaveOnReordering.bind(this),allowGlobal:this.adaptor.isGlobalDropAllowed()},W.rowDivision={TYPE_TREE_NODE_DIVISION:R.ROW_DIVISION.TYPE_TREE_NODE_DIVISION,TYPE_TREE_DIVISION:R.ROW_DIVISION.TYPE_TREE_DIVISION}),W}},{key:"_handleDragStart",value:function(W){this.adaptor.setLocalDragState(!0);var V=W.dragItem,K=W.domNode,M=K.classList.contains("selected"),B=this._getDragSourceInfo([K]);if(!this.canSourceDrag(B,{dataTransferItem:V})||this.adaptor.getEditState()||!M)return!1;V.setDataByType(N.TYPE_TREENODE,B);for(var P=this._customSourceDrag,k=0;k<P.length;k++){var H=P[k].data,Y=P[k].type;V.setDataByType(Y,H)}V.setDragOperations&&V.setDragOperations(this.dndService.MOVE);var G=document.createElement("div");G.classList.add("mw-tree-dnd-avatar");var Q=B[0].data.label,J=document.createElement("div");return J.classList.add("mw-tree-avatar-label"),J.appendChild(document.createTextNode(Q)),G.appendChild(J),V.setAvatar(G,B.length),this.adaptor.setDragState(!0,B),this.adaptor.updateView(),!0}},{key:"autoExpandOnHover",value:function(W){var V=this;this.previousTargetDom!==W&&(this.previousTargetDom=W,this.clearTimeoutForAutoExpand(),this.autoExpandTimer=window.setTimeout(function(){V.adaptor.expandNode(W)},this.autoExpandTime))}},{key:"clearTimeoutForAutoExpand",value:function(){window.clearTimeout(this.autoExpandTimer)}},{key:"_handleDragEnter",value:function(W){var V=this._isLocalDrag();return V||(this.adaptor.setDragState(!0),this.adaptor.updateView()),this._handleDragAndDropValidation(W)}},{key:"_handleDragEnterReordering",value:function(W){var V=W.position.row;this.dragEnterRow=V;var K=this._isLocalDrag();return K||(this.adaptor.setDragState(!0),this.adaptor.updateView()),V===R.REPARENT?this.isValidDrop=this._handleDragAndDropValidation(W):(this.previousTargetDom=null,this.isValidDrop=this._handleReorderingValidation(W),W.isValidReorder=this.isValidDrop,S.handleReorderingLine(W)),this.isValidDrop}},{key:"_handleDragAndDropValidation",value:function(W){var V=W.domNode,K=W.dragItem,M=W.type,B=this._isValidDragItem(K);if(!B)return!1;var P=this._getTargetInfo(V,M);return!!(this.canTargetAcceptSource({dropTarget:P,dataTransferItem:K,dropType:M})&&!this.isDraggedItemInTheNodePath({dropTarget:P,dataTransferItem:K,dropType:M}))}},{key:"_handleReorderingValidation",value:function(W){var V=W.domNode,K=W.dragItem,M=W.type,B=W.position,P={},k=this._isValidDragItem(K);if(!k)return!1;var H=this._getTargetInfo(V,M),Y=H.path&&H.path.length;return Y>1?(P.id=H.path[Y-2],P.path=H.path.slice(0,Y-1)):(P.id=null,P.path=[]),B.row===R.INSERT_BELOW&&H.isExpandable&&H.isExpanded&&(P.id=H.id),!!(this.canTargetAcceptSource({dropTarget:P,dataTransferItem:K,dropType:M})&&!this.isDraggedItemInTheNodePath({dropTarget:P,dataTransferItem:K,dropType:M}))}},{key:"_handleDragHover",value:function(W){var V=W.domNode,K=W.type,M=this._getTargetInfo(V,K);this.autoExpandOnHover(M),this._handleReparentingOnHover(W)}},{key:"_handleDragHoverOnReordering",value:function(W){var V=W.domNode,K=W.type,M=W.position,B=this._getTargetInfo(V,K),P=M.row;P===R.REPARENT&&(this.autoExpandOnHover(B),this._handleReparentingOnHover(W))}},{key:"_handleReparentingOnHover",value:function(W){var V=W.domNode,K=W.type,M=this._getTargetInfo(V,K),B=this.adaptor.getDragHoverState();K===N.TYPE_TREENODE&&(!B||B.id!==M.id)&&(this.adaptor.setDragHoverState(M),V.classList.add(I.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragEnd",value:function(W){var V=W.domNode;V.classList.remove(I.DRAGGED_NODE_CLASS),this.adaptor.setDragState(!1),this.adaptor.updateView(),S.removeInsertionLine(this.dndService._treeContainer),this.adaptor.setLocalDragState(!1)}},{key:"_handleDragLeave",value:function(W){var V=W.domNode,K=W.type;this.clearTimeoutForAutoExpand(),this.previousTargetDom=null;var M=this.adaptor.getDragHoverState();M&&M.id&&K===N.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),V.classList.remove(I.TREENODE_DRAG_HOVER[0]))}},{key:"_handleDragLeaveOnReordering",value:function(W){var V=W.domNode,K=W.type,M=this.adaptor.getDragHoverState(),B=this.dragEnterRow===R.INSERT_BELOW,P=this.dragEnterRow===R.INSERT_ABOVE,k=W.position.row===R.REPARENT,H=!((B||P)&&k);k&&(this.clearTimeoutForAutoExpand(),this.previousTargetDom=null),H&&S.removeInsertionLine(V),M&&M.id&&K===N.TYPE_TREENODE&&(this.adaptor.setDragHoverState({}),V.classList.remove(I.TREENODE_DRAG_HOVER[0]))}},{key:"_getTargetInfo",value:function(W,V){if(W&&V===N.TYPE_TREENODE){var K=this.adaptor.getCurrentViewPortData(),M=parseInt(W.getAttribute("data-row-index"));return K(M)(0).value}return{id:null}}},{key:"_handleDrop",value:function(W){if(this._isOutsideDrop()){var V=this.adaptor.getDragAndDropConfig().onDrop;this._handleDropOnReparentingFromOutside(W,V);return}this._handleDropOnReparenting(W)}},{key:"_isValidDragItem",value:function(W){return W.getDataTypes().includes(N.TYPE_TREENODE)||this.adaptor.isGlobalDropAllowed()}},{key:"_isOutsideDrop",value:function(){var W=this._isLocalDrag();return!W&&this.adaptor.isGlobalDropAllowed()}},{key:"_isLocalDrag",value:function(){return this.adaptor.getLocalDragState()}},{key:"_handleDropOnReordering",value:function(W){if(this._isOutsideDrop()){var V=this.adaptor.getDragAndDropConfig().onDrop;this._handleDropOnReorderingFromOutside(W,V);return}var K=W.domNode,M=W.position,B=M.row;if(B===R.REPARENT){this._handleDropOnReparenting(W);return}S.handleReorderNode(W,this.adaptor),this.adaptor.updateView(),S.removeInsertionLine(K)}},{key:"_handleDropOnReorderingFromOutside",value:function(W,V){var K=W.domNode,M=W.position,B=M.row;if(B===R.REPARENT){this._handleDropOnReparentingFromOutside(W,V);return}S.handleReorderNodeFromOutside(W,this.adaptor,V),this.adaptor.updateView(),S.removeInsertionLine(K)}},{key:"_handleDropOnReparentingFromOutside",value:function(W,V){this.clearTimeoutForAutoExpand();var K=W.domNode,M=W.dragItem,B=W.type,P=M,k=this._getTargetInfo(K,B);if(this.adaptor.setDragHoverState({}),K.classList.remove(I.TREENODE_DRAG_HOVER[0]),B===N.TYPE_TREE){var H={proxyNode:{id:null},node:{id:k.id},place:"last",type:B};V({dataTransferItem:P,target:H}),this.adaptor.updateView();return}var Y=k.path&&k.path[k.path.length-1],G={proxyNode:{id:Y},node:{id:k.id},place:"first",type:B};V({dataTransferItem:P,target:G}),this.adaptor.updateView()}},{key:"_handleDropOnReparenting",value:function(W){this.clearTimeoutForAutoExpand();var V=W.domNode,K=W.dragItem,M=W.type,B=this._getTargetInfo(V,M),P=K.getDataByType(N.TYPE_TREENODE);if(this.adaptor.setDragHoverState({}),V.classList.remove(I.TREENODE_DRAG_HOVER[0]),M===N.TYPE_TREE){var k={place:"last"};this.adaptor.moveTreeNodes(P,B,k),this.adaptor.updateView();return}this.adaptor.moveTreeNodes(P,B),this.adaptor.updateView()}},{key:"_getDragSourceInfo",value:function(W){var V=this.adaptor.getCurrentViewPortData(),K=this.adaptor.getCurrentSelection(),M=[],B;return W.forEach(function(P){B=parseInt(P.getAttribute("data-row-index")),M.push(V(B)(0).value)}),M.push.apply(M,C(K)),M.filter(function(P,k){return P.id!==M[0].id||k===0})}},{key:"_emitDropCompleted",value:function(W){this.emit("dropCompleted",W)}},{key:"_emitDropFailed",value:function(W){this.emit("dropFailed",W)}},{key:"emits",get:function(){var W=["dropFailed","dropCompleted"];return W}},{key:"exposedAPI",value:function(){return{}}},{key:"canSourceDrag",value:function(W,V){var K=W.map(function(B){return B.id}),M={nodeIds:K,type:N.TYPE_TREENODE};return this.adaptor.getDragAndDropConfig().canDrag?this.adaptor.getDragAndDropConfig().canDrag(M,V):!0}},{key:"canTargetAcceptSource",value:function(W){var V=W.dataTransferItem.getDataByType(N.TYPE_TREENODE),K,M={};Array.isArray(V)&&(K=V.map(function(k){return k.id}),M={nodeIds:K,type:N.TYPE_TREENODE});var B=W.dropTarget.id,P;return W.dropType===N.TYPE_TREE?P={type:N.TYPE_TREE}:W.dropType===N.TYPE_TREENODE&&(P={nodeId:B,type:N.TYPE_TREENODE}),this.adaptor.getDragAndDropConfig().canDrop?this.adaptor.getDragAndDropConfig().canDrop(M,P,W.dataTransferItem):!0}},{key:"isDraggedItemInTheNodePath",value:function(W){var V=W.dataTransferItem.getDataByType(N.TYPE_TREENODE);return W.dropType===N.TYPE_TREE||!Array.isArray(V)?!1:V.some(function(K){return W.dropTarget.path.includes(K.id)})}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}}],[{key:"adaptor",get:function(){return b}}]),z}(y);return L},A,x),A.exports=w},68419:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({TYPE_TREENODE:"TREENODE",TYPE_TREE:"TREE",MODE:{REORDER:"REORDER",REPARENT:"REPARENT",REORDER_WITHOUT_REPARENT:"REORDER_WITHOUT_REPARENT"},Events:{registerDnDSource:"registerDnDSource",syncDnDSource:"syncDnDSource",moveCompleted:"moveCompleted",moveFailed:"moveFailed",onDragSelection:"onDragSelection"}});return h},A,x),A.exports=w},41574:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({INSERT_ABOVE:0,INSERT_BELOW:2,REPARENT:1,ROW_DIVISION:{TYPE_TREE_NODE_DIVISION:"5 auto 5",TYPE_TREE_DIVISION:"0 auto 0"}});return h},A,x),A.exports=w},60391:(A,x,a)=>{"use strict";var T,w;T=[a(41028),a(41574),a(68419)],w=a.dj.d(T,function(h,C,g){var _=18,v=13,f=1,u=2,r=document.createElement("span");r.classList.add(h.REORDERING);var d={insertionLine:r};function n(S){var R=document.createElement("div");R.classList.add("dummyDiv"),S.append(R);var N=parseFloat(window.getComputedStyle(S).width);R.style.width=N+"px",R.style.height=f+"px",R.style.position="absolute"}function i(S,R){var N=S.domNode,O=S.isValidReorder,L=N.nextElementSibling;N.nextSibling||n(N),l(S)||(N.append(R.insertionLine),c(N)?e(L,R):e(N,R),O?s(R):t(R))}function o(S,R){var N=S.domNode,O=S.isValidReorder;p(S)||(N.prepend(R.insertionLine),e(N,R),O?s(R):t(R))}function c(S){var R=S.nextElementSibling,N=parseInt(y(R)),O=parseInt(y(S));return N===O+1}function e(S,R){var N=parseInt(S.getAttribute("data-level-index")),O=(N+1)*_,L=parseFloat(window.getComputedStyle(S).width);R.insertionLine.style.width=L-(O+v-u)+"px",R.insertionLine.style.marginLeft=O+"px"}function t(S){S.insertionLine.classList.remove(h.VALID_REORDERING),S.insertionLine.classList.add(h.INVALID_REORDERING)}function s(S){S.insertionLine.classList.remove(h.INVALID_REORDERING),S.insertionLine.classList.add(h.VALID_REORDERING)}function l(S){var R=S.domNode,N=S.dragItem,O=N.getDataByType(g.TYPE_TREENODE),L=y(R),U=R.nextElementSibling,z=y(U),$=R.classList.contains("selected"),W=U&&U.classList.contains("selected"),V=O.length>1,K=$||z>=L&&W;if(R.classList.contains("mw-tree-scroll-component")||K&&!V)return!0}function p(S){var R=S.domNode,N=S.dragItem,O=y(R),L=N.getDataByType(g.TYPE_TREENODE),U=R.previousElementSibling,z=y(U),$=R.classList.contains("selected"),W=L.length>1,V=U&&U.classList.contains("selected"),K=$||z<=O&&V;if(R.classList.contains("mw-tree-scroll-component")||K&&!W)return!0}function E(S,R,N){if(S&&R===g.TYPE_TREENODE){var O=N.getCurrentViewPortData(),L=parseInt(S.getAttribute("data-row-index"));return O(L)(0).value}return{id:null}}function m(S,R,N){var O={};O.place="after",O.node={id:R.id};var L=R.path,U;if(L&&L.length>1){U=L[L.length-2];var z={id:U};N.moveTreeNodes(S,z,O)}else{var $={id:null};N.moveTreeNodes(S,$,O)}}function y(S){if(S)return parseInt(S.getAttribute("data-level-index"))}function b(S){var R=S.path,N;return R&&R.length>1?(N=R[R.length-2],N):null}function I(S,R,N){var O={};O.place="before",O.node={id:R.id};var L=R.path,U;if(L&&L.length>1){U=L[L.length-2];var z={id:U};N.moveTreeNodes(S,z,O)}else{var $={id:null};N.moveTreeNodes(S,$,O)}}return{handleReorderingLine:function(R){var N=R.position,O=N.row;O===C.INSERT_BELOW?i(R,d):O===C.INSERT_ABOVE&&o(R,d)},handleReorderNode:function(R,N){var O=R.domNode,L=R.dragItem,U=R.type,z=R.position,$=E(O,U,N),W=L.getDataByType(g.TYPE_TREENODE);if(z.row===C.INSERT_BELOW){if(c(O)){var V=O.nextElementSibling;$=E(V,U,N),I(W,$,N);return}m(W,$,N)}else z.row===C.INSERT_ABOVE&&I(W,$,N)},handleReorderNodeFromOutside:function(R,N,O){var L=R.domNode,U=R.dragItem,z=R.type,$=R.position,W=E(L,z,N),V=U,K=b(W);if($.row===C.INSERT_BELOW){if(c(L)){var M=L.nextElementSibling;W=E(M,z,N);var B=b(W),P={proxyNode:{id:B},node:{id:W.id},place:"before",type:z};O({dataTransferItem:V,target:P});return}var k={proxyNode:{id:K},node:{id:W.id},place:"after",type:z};O({dataTransferItem:V,target:k})}else if($.row===C.INSERT_ABOVE){var H={proxyNode:{id:K},node:{id:W.id},place:"before",type:z};O({dataTransferItem:V,target:H})}},removeInsertionLine:function(R){var N=R.querySelector(".".concat(h.REORDERING)),O=R.querySelector(".dummyDiv");N&&N.remove(),O&&O.remove()}}},A,x),A.exports=w},64188:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(57150),a(34454),a(41662),a(68419)],w=a.dj.d(T,function(u,r,d,n){var i=function(){function o(c){var e=this;C(this,o),this.adaptor=c,this.selectionData=[],this.adaptor.on(n.Events.registerDnDSource,function(t){return e._registerDnDSource(t)}),this.adaptor.on(n.Events.syncDnDSource,function(t){return e._updateSelectionData(t)})}return _(o,[{key:"_isGlobalDragAllowed",value:function(){return!!this.adaptor.getDragAndDropConfig().setDragDataBySelection}},{key:"_updateSelectionData",value:function(e){var t=this;this.adaptor.getSelectionData().then(function(s){t.selectionData=s})}},{key:"_getTextDataFromSelection",value:function(){return this.selectionData.map(function(e){return e.label}).join(", ")}},{key:"_registerDnDSource",value:function(e){this.dndService=new r(e.treeContainerNode,{dragSources:{type:n.TYPE_TREENODE,allowGlobal:this._isGlobalDragAllowed(),handleDragStart:this._handleDragStart.bind(this),handleDragEnd:this._handleDragEnd.bind(this)}},this.adaptor.isNodeLabelTruncated())}},{key:"_handleDragStart",value:function(e){var t=e.dragItem;return t.setDataByType(d.NativeType.TEXT,this._getTextDataFromSelection()),this.adaptor.updateView(),!0}},{key:"_handleDragEnd",value:function(){this.adaptor.updateView()}},{key:"emits",get:function(){var e=[];return e}},{key:"exposedAPI",value:function(){return{}}},{key:"destroy",value:function(){this.dndService&&this.dndService.destroy()}}],[{key:"adaptor",get:function(){return u}}]),o}();return i},A,x),A.exports=w},88657:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({V_TRIGGER_AUTOSCROLL:32,H_TRIGGER_AUTOSCROLL:32,V_AUTOSCROLL_VALUE:16,H_AUTOSCROLL_VALUE:16}),C=[10,32],g=[0,32];function _(u){var r=g[1]-u,d=C[1]-C[0],n=g[1]-g[0];return r*(d/n)+C[0]}function v(u,r){var d=u.getBoundingClientRect(),n=d.left,i=d.top,o=r.xOffset,c=r.yOffset,e=n+o,t=i+c;return{mouseLeftPosition:e,mouseTopPosition:t}}function f(u,r,d){var n=d.getBoundingClientRect(),i=n.left,o=n.top,c=n.bottom,e=n.right,t=c-u,s=u-o,l=e-r,p=r-i;return{distanceFromContainerBottom:t,distanceFromContainerTop:s,distanceFromContainerRight:l,distanceFromContainerLeft:p}}return{scroll:function(r,d,n,i){var o=!i&&d.scrollWidth>d.clientWidth,c=d.scrollHeight>d.clientHeight;if(!(!o&&!c)){var e=v(r,n),t=e.mouseLeftPosition,s=e.mouseTopPosition,l=f(s,t,d),p=l.distanceFromContainerBottom,E=l.distanceFromContainerTop,m=l.distanceFromContainerRight,y=l.distanceFromContainerLeft;c&&(p<h.V_TRIGGER_AUTOSCROLL?d.scrollTop=d.scrollTop+_(p):E<h.V_TRIGGER_AUTOSCROLL&&(d.scrollTop=d.scrollTop-_(E))),o&&(m<h.H_TRIGGER_AUTOSCROLL?d.scrollLeft=d.scrollLeft+_(m):y<h.H_TRIGGER_AUTOSCROLL&&(d.scrollLeft=d.scrollLeft-_(y)))}}}},A,x),A.exports=w},34454:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(41662),a(88657),a(52027),a(41028),a(68419)],w=a.dj.d(T,function(u,r,d,n,i){var o=function(){function c(e,t,s){C(this,c),this._context=u.createContext({context:e}),this._dragSources=[],this._dropTargets=[],this._handlers=t,this._isTruncated=s,this._treeContainer=e,t&&t.dragSources&&this._createDragSource(".".concat(n[t.dragSources.type][0]),t.dragSources),t&&t.dropTargets&&(this._createDropTarget(".".concat(n[i.TYPE_TREENODE][0]),i.TYPE_TREENODE,t),this._createDropTarget(e,i.TYPE_TREE,t))}return _(c,[{key:"destroy",value:function(){this._context.destroy()}},{key:"_createDragSource",value:function(t,s){var l=this._createDragLifecycle(s),p=this._context.createDragSource({dragSource:t,allowGlobal:s.allowGlobal,lifecycle:l});this._dragSources.push(p)}},{key:"MOVE",get:function(){return this._context.MOVE}},{key:"_createDragLifecycle",value:function(t){var s=this,l={};if(t.handleDragStart)l.start=function(p,E){return s._draggedOnDisclosureIcon(E,p.getXYCoordinates())?!1:t.handleDragStart({dragItem:p,domNode:E})};else throw new Error("Exception : handleDragStart handler is required");return t.handleDragEnd&&(l.end=function(p,E){return t.handleDragEnd({dragItem:p,domNode:E})}),l}},{key:"_createDropTarget",value:function(t,s,l){var p=this._createDropLifeycle(l.dropTargets,s),E={dropTarget:t,allowGlobal:l.dropTargets.allowGlobal,lifecycle:p};s===i.TYPE_TREENODE&&l.rowDivision&&(E.rowRegions=l.rowDivision.TYPE_TREE_NODE_DIVISION),s===i.TYPE_TREE&&l.rowDivision&&(E.rowRegions=l.rowDivision.TYPE_TREE_DIVISION);var m=this._context.createDropTarget(E);this._dropTargets.push(m)}},{key:"_createDropLifeycle",value:function(t,s){var l=this,p={};if(t.handleDragEnter)p.enter=function(E,m,y){return m===l._treeContainer&&l._isInScrollBarRegion(m,E.getXYCoordinates())?!1:t.handleDragEnter({dragItem:E,domNode:m,type:s,position:y})};else throw new Error("Exception : handleDragEnter handler is required");if(t.handleDrop)p.drop=function(E,m,y){t.handleDrop({dragItem:E,domNode:m,type:s,position:y})};else throw new Error("Exception : handleDrop handler is required");return p.hover=function(E,m,y){if(d.noAutoScrollSupport&&window.requestAnimationFrame(function(){r.scroll(m,l._treeContainer,E.getXYCoordinates(),l._isTruncated)}),t.handleDragHover)return t.handleDragHover({dragItem:E,domNode:m,type:s,position:y})},t.handleDragLeave&&(p.leave=function(E,m,y){t.handleDragLeave({dragItem:E,domNode:m,type:s,position:y})}),p}},{key:"_draggedOnDisclosureIcon",value:function(t,s){var l=t.querySelector(".disclosureIcon");if(!l)return!1;var p=l.getBoundingClientRect(),E=p.left,m=p.right,y=p.bottom,b=p.top,I=t.getBoundingClientRect(),S=I.left,R=I.top,N=S+s.xOffset,O=R+s.yOffset;return N>=E&&N<=m&&O>=b&&O<=y}},{key:"_isInScrollBarRegion",value:function(t,s){return t.clientWidth<=s.xOffset||t.clientHeight<=s.yOffset}}]),c}();return o},A,x),A.exports=w},30624:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(93746)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m}return _(p,[{key:"emits",get:function(){return[]}},{key:"filter",value:function(m,y){this.adaptor.filter(m,y)}},{key:"clearFilter",value:function(){this.adaptor.clearFilter()}},{key:"exposedAPI",value:function(){var m=this;return{filter:function(b){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayChildren:!1};return m.filter(b,I)},clearFilter:function(){return m.clearFilter()}}}},{key:"destroy",value:function(){}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},46991:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(15054)],w=a.dj.d(T,function(e){var t=function(s){o(l,s);function l(p){var E;return C(this,l),E=u(this,l,[p]),E.adaptor=p,E.adaptor.on("containerMount",function(){return E._containerAddDesignTimeClass()}),E.adaptor.on("containerUpdate",function(){return E._containerAddDesignTimeClass()}),E}return _(l,[{key:"exposedAPI",value:function(){return{setFocus:this.setFocus.bind(this),getFocus:this.getFocus.bind(this),isNodeInViewPort:this.isNodeInViewPort.bind(this)}}},{key:"setFocus",value:function(E){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;this.adaptor.setFocusedState(E,!0),this.adaptor.setKeyboardActiveState(E),m&&this.adaptor.getTreeContainerNode().focus()}},{key:"getFocus",value:function(){return this.adaptor.getFocusedState()}},{key:"isNodeInViewPort",value:function(E){for(var m=this.adaptor.getViewPortInfo(),y=m.currentViewPort,b=y.rangeList[0].rows,I=b.start,S=b.end,R=m.currentViewPortData,N=I;N<=S;N++)if(R(N)(0).value&&R(N)(0).value.id===E)return!0;return!1}},{key:"_containerAddDesignTimeClass",value:function(){var E=this.adaptor.getTreeContainerNode();E&&E.classList.add("mw-tree-design-time")}}]),l}(e);return t},A,x),A.exports=w},15054:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(48108)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m.adaptor.on("nodeFocusClick",function(y){return m._nodeClicked(y)}),m.adaptor.on("nodeFocusKeyPress",function(y){return m._keyPressed(y)}),m}return _(p,[{key:"focus",value:function(){this.adaptor.setContainerFocus()}},{key:"setNodeFocus",value:function(m){if(m&&!m.id)throw new Error("Expected: treeNode object with id property. Usage: setNodeFocus({id: 'node1'}) to set node focus,setNodeFocus() to empty focus");this.adaptor.setKeyboardActiveState(m),this.adaptor.setFocusedState(m,!0)}},{key:"_nodeClicked",value:function(m){var y=m.ctrlKey||m.metaKey;m.altKey||m.shiftKey&&y||this.adaptor.setFocusedState(m.node)}},{key:"_keyPressed",value:function(m){this.adaptor.setFocusedState(m.currentKeyboardActiveNode)}},{key:"emits",get:function(){var m=[];return m}},{key:"exposedAPI",value:function(){return{focus:this.focus.bind(this),setNodeFocus:this.setNodeFocus.bind(this)}}},{key:"destroy",value:function(){}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},83576:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(13170)],w=a.dj.d(T,function(e,t){var s=function(l){o(p,l);function p(E){var m;return C(this,p),m=u(this,p),m.adaptor=E,m._listeners=[],m._listeners.push(m.adaptor.on("scrollChanged",function(y){return m._emitScrollView(y)})),m._isScrollBarShown=!0,m}return _(p,[{key:"scrollToPosition",value:function(m){var y;if(typeof m.scrollTop=="number"&&typeof m.scrollLeft=="number"||typeof m.scrollTop=="number"&&m.scrollLeft===void 0||typeof m.scrollLeft=="number"&&m.scrollTop===void 0)return this.adaptor.scrollToPosition(m),y=new Promise(function(b){b(null)}),y;throw new Error(`scrollToPosition needs scrollTop, scrollLeft, or both set as properties as positive integers.
Examples:
scrollToPosition({ scrollTop: 30 })
scrollToPosition({ scrollTop: 30, scrollLeft: 50 })`)}},{key:"getScrollComponentDimensions",value:function(){return this.adaptor.getScrollComponentDimensions()}},{key:"_emitScrollView",value:function(m){this.emit("scrollViewChanged",m)}},{key:"emits",get:function(){var m=["scrollViewChanged"];return m}},{key:"_displayScrollBars",value:function(m){this._isScrollBarShown=m,m===!1&&this.adaptor.hideScrollBars(),m===!0&&this.adaptor.displayScrollBars()}},{key:"exposedAPI",value:function(){return{scrollToPosition:this.scrollToPosition.bind(this),getScrollComponentDimensions:this.getScrollComponentDimensions.bind(this),exposedVariables:{displayScrollBars:{setter:function(m){this._displayScrollBars(m)}.bind(this),getter:function(m){return this._isScrollBarShown}.bind(this)}}}}},{key:"destroy",value:function(){}}],[{key:"adaptor",get:function(){return t}}]),p}(e);return s},A,x),A.exports=w},55612:(A,x,a)=>{"use strict";var T,w;function h(l){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},h(l)}function C(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */C=function(){return p};var l,p={},E=Object.prototype,m=E.hasOwnProperty,y=Object.defineProperty||function(te,ne,re){te[ne]=re.value},b=typeof Symbol=="function"?Symbol:{},I=b.iterator||"@@iterator",S=b.asyncIterator||"@@asyncIterator",R=b.toStringTag||"@@toStringTag";function N(te,ne,re){return Object.defineProperty(te,ne,{value:re,enumerable:!0,configurable:!0,writable:!0}),te[ne]}try{N({},"")}catch(te){N=function(re,se,ge){return re[se]=ge}}function O(te,ne,re,se){var ge=ne&&ne.prototype instanceof K?ne:K,he=Object.create(ge.prototype),fe=new pe(se||[]);return y(he,"_invoke",{value:J(te,re,fe)}),he}function L(te,ne,re){try{return{type:"normal",arg:te.call(ne,re)}}catch(se){return{type:"throw",arg:se}}}p.wrap=O;var U="suspendedStart",z="suspendedYield",$="executing",W="completed",V={};function K(){}function M(){}function B(){}var P={};N(P,I,function(){return this});var k=Object.getPrototypeOf,H=k&&k(k(ce([])));H&&H!==E&&m.call(H,I)&&(P=H);var Y=B.prototype=K.prototype=Object.create(P);function G(te){["next","throw","return"].forEach(function(ne){N(te,ne,function(re){return this._invoke(ne,re)})})}function Q(te,ne){function re(ge,he,fe,me){var De=L(te[ge],te,he);if(De.type!=="throw"){var Ie=De.arg,Oe=Ie.value;return Oe&&h(Oe)=="object"&&m.call(Oe,"__await")?ne.resolve(Oe.__await).then(function(je){re("next",je,fe,me)},function(je){re("throw",je,fe,me)}):ne.resolve(Oe).then(function(je){Ie.value=je,fe(Ie)},function(je){return re("throw",je,fe,me)})}me(De.arg)}var se;y(this,"_invoke",{value:function(he,fe){function me(){return new ne(function(De,Ie){re(he,fe,De,Ie)})}return se=se?se.then(me,me):me()}})}function J(te,ne,re){var se=U;return function(ge,he){if(se===$)throw new Error("Generator is already running");if(se===W){if(ge==="throw")throw he;return{value:l,done:!0}}for(re.method=ge,re.arg=he;;){var fe=re.delegate;if(fe){var me=q(fe,re);if(me){if(me===V)continue;return me}}if(re.method==="next")re.sent=re._sent=re.arg;else if(re.method==="throw"){if(se===U)throw se=W,re.arg;re.dispatchException(re.arg)}else re.method==="return"&&re.abrupt("return",re.arg);se=$;var De=L(te,ne,re);if(De.type==="normal"){if(se=re.done?W:z,De.arg===V)continue;return{value:De.arg,done:re.done}}De.type==="throw"&&(se=W,re.method="throw",re.arg=De.arg)}}}function q(te,ne){var re=ne.method,se=te.iterator[re];if(se===l)return ne.delegate=null,re==="throw"&&te.iterator.return&&(ne.method="return",ne.arg=l,q(te,ne),ne.method==="throw")||re!=="return"&&(ne.method="throw",ne.arg=new TypeError("The iterator does not provide a '"+re+"' method")),V;var ge=L(se,te.iterator,ne.arg);if(ge.type==="throw")return ne.method="throw",ne.arg=ge.arg,ne.delegate=null,V;var he=ge.arg;return he?he.done?(ne[te.resultName]=he.value,ne.next=te.nextLoc,ne.method!=="return"&&(ne.method="next",ne.arg=l),ne.delegate=null,V):he:(ne.method="throw",ne.arg=new TypeError("iterator result is not an object"),ne.delegate=null,V)}function oe(te){var ne={tryLoc:te[0]};1 in te&&(ne.catchLoc=te[1]),2 in te&&(ne.finallyLoc=te[2],ne.afterLoc=te[3]),this.tryEntries.push(ne)}function ie(te){var ne=te.completion||{};ne.type="normal",delete ne.arg,te.completion=ne}function pe(te){this.tryEntries=[{tryLoc:"root"}],te.forEach(oe,this),this.reset(!0)}function ce(te){if(te||te===""){var ne=te[I];if(ne)return ne.call(te);if(typeof te.next=="function")return te;if(!isNaN(te.length)){var re=-1,se=function ge(){for(;++re<te.length;)if(m.call(te,re))return ge.value=te[re],ge.done=!1,ge;return ge.value=l,ge.done=!0,ge};return se.next=se}}throw new TypeError(h(te)+" is not iterable")}return M.prototype=B,y(Y,"constructor",{value:B,configurable:!0}),y(B,"constructor",{value:M,configurable:!0}),M.displayName=N(B,R,"GeneratorFunction"),p.isGeneratorFunction=function(te){var ne=typeof te=="function"&&te.constructor;return!!ne&&(ne===M||(ne.displayName||ne.name)==="GeneratorFunction")},p.mark=function(te){return Object.setPrototypeOf?Object.setPrototypeOf(te,B):(te.__proto__=B,N(te,R,"GeneratorFunction")),te.prototype=Object.create(Y),te},p.awrap=function(te){return{__await:te}},G(Q.prototype),N(Q.prototype,S,function(){return this}),p.AsyncIterator=Q,p.async=function(te,ne,re,se,ge){ge===void 0&&(ge=Promise);var he=new Q(O(te,ne,re,se),ge);return p.isGeneratorFunction(ne)?he:he.next().then(function(fe){return fe.done?fe.value:he.next()})},G(Y),N(Y,R,"Generator"),N(Y,I,function(){return this}),N(Y,"toString",function(){return"[object Generator]"}),p.keys=function(te){var ne=Object(te),re=[];for(var se in ne)re.push(se);return re.reverse(),function ge(){for(;re.length;){var he=re.pop();if(he in ne)return ge.value=he,ge.done=!1,ge}return ge.done=!0,ge}},p.values=ce,pe.prototype={constructor:pe,reset:function(ne){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ie),!ne)for(var re in this)re.charAt(0)==="t"&&m.call(this,re)&&!isNaN(+re.slice(1))&&(this[re]=l)},stop:function(){this.done=!0;var ne=this.tryEntries[0].completion;if(ne.type==="throw")throw ne.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var re=this;function se(Ie,Oe){return fe.type="throw",fe.arg=ne,re.next=Ie,Oe&&(re.method="next",re.arg=l),!!Oe}for(var ge=this.tryEntries.length-1;ge>=0;--ge){var he=this.tryEntries[ge],fe=he.completion;if(he.tryLoc==="root")return se("end");if(he.tryLoc<=this.prev){var me=m.call(he,"catchLoc"),De=m.call(he,"finallyLoc");if(me&&De){if(this.prev<he.catchLoc)return se(he.catchLoc,!0);if(this.prev<he.finallyLoc)return se(he.finallyLoc)}else if(me){if(this.prev<he.catchLoc)return se(he.catchLoc,!0)}else{if(!De)throw new Error("try statement without catch or finally");if(this.prev<he.finallyLoc)return se(he.finallyLoc)}}}},abrupt:function(ne,re){for(var se=this.tryEntries.length-1;se>=0;--se){var ge=this.tryEntries[se];if(ge.tryLoc<=this.prev&&m.call(ge,"finallyLoc")&&this.prev<ge.finallyLoc){var he=ge;break}}he&&(ne==="break"||ne==="continue")&&he.tryLoc<=re&&re<=he.finallyLoc&&(he=null);var fe=he?he.completion:{};return fe.type=ne,fe.arg=re,he?(this.method="next",this.next=he.finallyLoc,V):this.complete(fe)},complete:function(ne,re){if(ne.type==="throw")throw ne.arg;return ne.type==="break"||ne.type==="continue"?this.next=ne.arg:ne.type==="return"?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):ne.type==="normal"&&re&&(this.next=re),V},finish:function(ne){for(var re=this.tryEntries.length-1;re>=0;--re){var se=this.tryEntries[re];if(se.finallyLoc===ne)return this.complete(se.completion,se.afterLoc),ie(se),V}},catch:function(ne){for(var re=this.tryEntries.length-1;re>=0;--re){var se=this.tryEntries[re];if(se.tryLoc===ne){var ge=se.completion;if(ge.type==="throw"){var he=ge.arg;ie(se)}return he}}throw new Error("illegal catch attempt")},delegateYield:function(ne,re,se){return this.delegate={iterator:ce(ne),resultName:re,nextLoc:se},this.method==="next"&&(this.arg=l),V}},p}function g(l,p,E,m,y,b,I){try{var S=l[b](I),R=S.value}catch(N){E(N);return}S.done?p(R):Promise.resolve(R).then(m,y)}function _(l){return function(){var p=this,E=arguments;return new Promise(function(m,y){var b=l.apply(p,E);function I(R){g(b,m,y,I,S,"next",R)}function S(R){g(b,m,y,I,S,"throw",R)}I(void 0)})}}function v(l,p){if(!(l instanceof p))throw new TypeError("Cannot call a class as a function")}function f(l,p){for(var E=0;E<p.length;E++){var m=p[E];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(l,r(m.key),m)}}function u(l,p,E){return p&&f(l.prototype,p),E&&f(l,E),Object.defineProperty(l,"prototype",{writable:!1}),l}function r(l){var p=d(l,"string");return h(p)=="symbol"?p:String(p)}function d(l,p){if(h(l)!="object"||!l)return l;var E=l[Symbol.toPrimitive];if(E!==void 0){var m=E.call(l,p||"default");if(h(m)!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(l)}function n(l,p,E){return p=e(p),i(l,c()?Reflect.construct(p,E||[],e(l).constructor):p.apply(l,E))}function i(l,p){if(p&&(h(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return o(l)}function o(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function c(){try{var l=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(p){}return(c=function(){return!!l})()}function e(l){return e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},e(l)}function t(l,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(p&&p.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),p&&s(l,p)}function s(l,p){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},s(l,p)}T=[a(99544),a(13504)],w=a.dj.d(T,function(l,p){var E=function(m){t(y,m);function y(b){var I;return v(this,y),I=n(this,y),I.adaptor=b,I}return u(y,[{key:"emits",get:function(){return[]}},{key:"search",value:function(I){this.adaptor.search(I)}},{key:"clearSearch",value:function(){this.adaptor.clearSearch()}},{key:"nextSearchOccurrence",value:function(){var b=_(C().mark(function S(){var R;return C().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,this.adaptor.nextSearchOccurrence();case 2:return R=O.sent,O.abrupt("return",R);case 4:case"end":return O.stop()}},S,this)}));function I(){return b.apply(this,arguments)}return I}()},{key:"prevSearchOccurrence",value:function(){var b=_(C().mark(function S(){var R;return C().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,this.adaptor.prevSearchOccurrence();case 2:return R=O.sent,O.abrupt("return",R);case 4:case"end":return O.stop()}},S,this)}));function I(){return b.apply(this,arguments)}return I}()},{key:"exposedAPI",value:function(){var I=this;return{search:function(R){return I.search(R)},clearSearch:function(){return I.clearSearch()},nextSearchOccurrence:function(){var S=_(C().mark(function N(){var O;return C().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,I.nextSearchOccurrence();case 2:return O=U.sent,U.abrupt("return",O);case 4:case"end":return U.stop()}},N)}));function R(){return S.apply(this,arguments)}return R}(),prevSearchOccurrence:function(){var S=_(C().mark(function N(){var O;return C().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,I.prevSearchOccurrence();case 2:return O=U.sent,U.abrupt("return",O);case 4:case"end":return U.stop()}},N)}));function R(){return S.apply(this,arguments)}return R}()}}},{key:"destroy",value:function(){}}],[{key:"adaptor",get:function(){return p}}]),y}(l);return E},A,x),A.exports=w},95206:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(31063),a(54946)],w=a.dj.d(T,function(e,t,s){var l=function(p){o(E,p);function E(m){var y;return C(this,E),y=u(this,E),y.adaptor=m,y._listeners=[],y._listeners.push(y.adaptor.on("nodeSelectionMouseDown",function(b){return y._handleMouseDown(b)})),y._listeners.push(y.adaptor.on("nodeSelectionClick",function(b){return y._handleClickAndDoubleClick(b)})),y._listeners.push(y.adaptor.on("nodeSelectionDoubleClick",function(b){return y._handleClickAndDoubleClick(b)})),y._listeners.push(y.adaptor.on("nodeSelectionContextMenu",function(b){return y._handleContextMenu(b)})),y._listeners.push(y.adaptor.on("nodeSelectionKeyPress",function(b){return y._handleKeyboard(b,{node:b.currentKeyboardActiveNode,nodeIndex:b.nodeIndex})})),y._listeners.push(y.adaptor.on("treeClick",function(b){return y._treeClickHandler(b)})),y.adaptor.setRangeSelectionModel(),y._selectionChanged={},y}return _(E,[{key:"_hasSelectionChanged",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.length!==b.length?!0:b[b.length-1].id!==y[y.length-1].id}},{key:"_emitSelectionEvt",value:function(y,b){if(y=y||[],b=b||[],this._hasSelectionChanged(y,b)){var I=b.map(function(S){return S.id});this.emit("selectionChanged",{nodeIds:I})}}},{key:"_emitClickEvent",value:function(y){this.emit("belowNodesClicked",{top:y.top,left:y.left,target:y.target})}},{key:"_handleClickAndDoubleClick",value:function(y){var b=y.node.id;y.isNodeAlreadySelected&&!this._selectionChanged[b]&&this._handleSelection(y,{node:y.node,nodeIndex:y.nodeIndex}),delete this._selectionChanged.nodeId}},{key:"_handleMouseDown",value:function(y){var b=y.node.id;y.isNodeAlreadySelected?this._selectionChanged[b]=!1:(this._selectionChanged[b]=!0,this._handleSelection(y,{node:y.node,nodeIndex:y.nodeIndex}))}},{key:"_treeClickHandler",value:function(y){this._emitClickEvent(y)}},{key:"_handleContextMenu",value:function(y){var b=this;y.isNodeAlreadySelected||this.adaptor.setIndividualSelection({node:y.node,nodeIndex:y.nodeIndex},function(I){return b._emitSelectionEvt(y.currentSelection,I)})}},{key:"_isValidExtendedSelectionkey",value:function(y){switch(y.keyCode){case t.ARROW_DOWN:case t.ARROW_UP:case t.PAGE_DOWN:case t.PAGE_UP:case t.HOME:case t.END:case t.SPACE:return!0;default:return!1}}},{key:"_handleSelection",value:function(y,b){var I=this,S=y.ctrlKey||y.metaKey,R=y.shiftKey,N=y.keyCode===t.SPACE,O=function(z){return I._emitSelectionEvt(y.currentSelection,z)},L={node:b.node,nodeIndex:b.nodeIndex,isMetaKeyPressed:S};y.altKey||S&&R||(S?this.adaptor.setDiscontiguousSelection(L,O):R?this.adaptor.setContiguousSelection(L,O):N?this.adaptor.setDiscontiguousSelection(L,O):this.adaptor.setIndividualSelection(L,O))}},{key:"_handleKeyboard",value:function(y,b){var I=y.ctrlKey||y.metaKey,S=!I&&!y.shiftKey||I&&y.keyCode===t.SPACE||y.shiftKey&&this._isValidExtendedSelectionkey(y);S&&b.node&&this._handleSelection(y,b)}},{key:"emits",get:function(){var y=["selectionChanged","belowNodesClicked"];return y}},{key:"setSelection",value:function(y){if(y===null&&(y=[]),Array.isArray(y)){if(this.adaptor.setSelectionState(y,null,!0),y.length===1){var b=y[0];this.adaptor.updateBoundaryNodeProgrammatically(b)}}else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var y=this;return{setSelection:function(I){return y.setSelection(I)},getSelection:function(){return y.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(y){return y.remove()})}}],[{key:"adaptor",get:function(){return s}}]),E}(e);return l},A,x),A.exports=w},71262:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(99544),a(31063),a(54946)],w=a.dj.d(T,function(e,t,s){var l=function(p){o(E,p);function E(m){var y;return C(this,E),y=u(this,E),y.adaptor=m,y._listeners=[],y._listeners.push(y.adaptor.on("nodeSelectionMouseDown",function(b){return y._nodeMouseHandler(b)})),y._listeners.push(y.adaptor.on("nodeSelectionContextMenu",function(b){return y._contextMenuHandler(b)})),y._listeners.push(y.adaptor.on("nodeSelectionKeyPress",function(b){return y._setKeyboardSelection(b,b.currentKeyboardActiveNode)})),y._listeners.push(y.adaptor.on("treeClick",function(b){return y._treeClickHandler(b)})),y}return _(E,[{key:"_toggleSelection",value:function(y,b){var I=y.currentSelection&&y.currentSelection[0]?y.currentSelection[0]:null;I&&b.id===I.id?(this.adaptor.setSelectionState([]),this.emit("selectionChanged",{nodeIds:[]})):this._setSelection(y,b)}},{key:"_setSelection",value:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=y.currentSelection&&y.currentSelection[0]?y.currentSelection[0]:null,S=I===null&&b!==null||I&&b.id!==I.id;if(S){var R=[b];this.adaptor.setSelectionState(R);var N=R.map(function(O){return O.id});this.emit("selectionChanged",{nodeIds:N})}}},{key:"_emitClickEvent",value:function(y){this.emit("belowNodesClicked",{top:y.top,left:y.left,target:y.target})}},{key:"_contextMenuHandler",value:function(y){this._setSelection(y,y.node)}},{key:"_nodeMouseHandler",value:function(y){y.altKey||(y.ctrlKey||y.metaKey?this._toggleSelection(y,y.node):this._setSelection(y,y.node))}},{key:"_treeClickHandler",value:function(y){this._emitClickEvent(y)}},{key:"_setKeyboardSelection",value:function(y,b){var I=y.ctrlKey||y.metaKey;I?y.keyCode===t.SPACE&&this._toggleSelection(y,b):this._setSelection(y,b)}},{key:"emits",get:function(){var y=["selectionChanged","belowNodesClicked"];return y}},{key:"setSelection",value:function(y){if(y===null&&(y=[]),Array.isArray(y))y.length=y.length>1?1:y.length,this.adaptor.setSelectionState(y,null,!0);else throw new Error("Expected: TreeNodes array or null to signify no selection.Usage: setSelection([{id: 'node5'}]), setSelection([]), setSelection(null)")}},{key:"getSelection",value:function(){return this.adaptor.getSelectionState()}},{key:"exposedAPI",value:function(){var y=this;return{setSelection:function(I){return y.setSelection(I)},getSelection:function(){return y.getSelection()}}}},{key:"destroy",value:function(){this._listeners.forEach(function(y){return y.remove()})}}],[{key:"adaptor",get:function(){return s}}]),E}(e);return l},A,x),A.exports=w},29131:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(29611),a(71136),a(57308),a(35861)],w=a.dj.d(T,function(u,r,d,n){"use strict";var i=21,o=25,c=4,e=function(){function t(s){C(this,t),s=s||{};var l=s,p=l.isChecked,E=l.getValueForAction,m=l.getA11yProperties;this._checkboxDefaultClasses=["mwDefaultVisualFamily","mwEnabled","mwWidget","mwCheckBox","mw-data-checkbox-renderer"],this._checkboxCheckedClasses=["mwCheckBoxChecked"],p&&(this._isChecked=p),E&&(this.getValueForAction=E),m&&(this._getA11yProperties=m)}return _(t,[{key:"_isChecked",value:function(l){return!!(l&&l.checked===!0)}},{key:"getDomNode",value:function(l,p){var E=document.createElement("div"),m=document.createElement("span"),y=document.createElement("div"),b=document.createElement("div"),I=this._isChecked(l);if(m.className=this._checkboxDefaultClasses.join(" "),I&&m.classList.add(this._checkboxCheckedClasses),l&&l.a11y&&l.a11y.checkboxDescription)y.setAttribute("aria-label",l.a11y.checkboxDescription);else if(this._getA11yProperties){var S=this._getA11yProperties(l);S&&S.checkboxDescription&&y.setAttribute("aria-label",S.checkboxDescription)}y.setAttribute("role","checkbox"),p&&(p.readonly||p.noMouseInteraction)?(y.setAttribute("disabled",""),y.setAttribute("aria-disabled",!0),y.removeAttribute("tabindex"),y.setAttribute("aria-checked",I),y.setAttribute("data-clickable",!1),b.setAttribute("data-clickable",!1)):(y.setAttribute("aria-checked",I),y.setAttribute("data-clickable",!0),b.setAttribute("data-clickable",!0)),y.className="mwCheckBoxRadioIconNode",b.className="mwCheckBoxRadioIconInner",y.appendChild(b),m.appendChild(y),p.isExpandable!==void 0&&!p.isExpandable&&E.appendChild(m);var R=l.iconUri,N=l.iconId,O;if(R||N){if(O=document.createElement("span"),O.setAttribute("data-test-id","icon1"),O.className="treeNodeIcon",N){var L=u.getIconByIdDom(N);O.appendChild(L)}else O.style.backgroundImage="url('"+encodeURI(R)+"')";E.appendChild(O)}var U=this._getLabelDOMNode(l,p);return E.appendChild(U),E.className="mw-tree-renderer",E}},{key:"_getLabelDOMNode",value:function(l,p){var E,m=document.createElement("span"),y=document.createElement("span"),b="label",I=l.label,S=["treeNodeText"];if(n.isTruncated()){var R,N=["mw-tree-node-truncation"];n.isLeft()&&(N.push("mw-tree-node-left-truncation"),I="\u200E".concat(l.label,"\u200E"));var O=p.isExpandable!==void 0&&!p.isExpandable,L=!!l.iconUri,U=O&&L?i+o:O&&!L?i:!O&&L?o:c,z="calc(100% - ".concat(U,"px)");(R=y.classList).add.apply(R,N),y.style.width=z,y.appendChild(m)}if((E=m.classList).add.apply(E,S),m.setAttribute("data-test-id","label"),m.setAttribute("data-region",!0),p&&Array.isArray(p.highlight)){var $=r.getHighlightedTextDOM(l.label,b,p.highlight);$.forEach(function(W){W.setAttribute&&W.setAttribute("data-region",!0),m.appendChild(W)})}else m.textContent=I;return n.isTruncated()?y:m}},{key:"getValueForAction",value:function(l){var p=u.shallowCopy(l);return u.isTypeObject(p)&&(p.checked=!p.checked),{oldValue:l,newValue:p}}},{key:"handleAction",value:function(l,p){var E={};switch((!p||h(p)!=="object")&&(p={}),p.actionName){case d.CLICK:var m=p.target;m&&m.getAttribute("data-clickable")==="true"&&(E=this.getValueForAction(l));break;case d.KEY_PRESS:E=this.getValueForAction(l);break;default:E={}}return E.hasOwnProperty("newValue")&&this._isChecked(l)!==this._isChecked(E.newValue)?E.hasChanged=!0:E={hasChanged:!1},E}}]),t}();return e},A,x),A.exports=w},76755:(A,x,a)=>{"use strict";var T,w;T=[a(71136),a(35861),a(29611)],w=a.dj.d(T,function(h,C,g){"use strict";var _="5px",v="25px",f="icon1",u="treeNodeIcon";return{getDomNode:function(d,n){var i,o=document.createElement("span");o.className="mw-tree-renderer";var c,e=d.iconUri,t=d.iconId;if(t||e){if(c=document.createElement("span"),t){var s=g.getIconByIdDom(t);c.appendChild(s)}else e&&(c.style.backgroundImage="url('"+encodeURI(e)+"')");c.setAttribute("data-test-id",f),c.className=u,o.appendChild(c)}return i=this._getLabelDOMNode(d,n),o.appendChild(i),o},_getLabelDOMNode:function(d,n){var i,o=document.createElement("span"),c=document.createElement("span"),e="label",t=d.label,s=[];if(s.push("treeNodeText"),C.isTruncated()){var l,p=["mw-tree-node-truncation"];C.isLeft()&&(p.push("mw-tree-node-left-truncation"),t="\u200E".concat(d.label,"\u200E"));var E=d.iconUri?v:_,m="calc(100% - ".concat(E,")");(l=c.classList).add.apply(l,p),c.style.width=m,c.appendChild(o)}if((i=o.classList).add.apply(i,s),o.setAttribute("data-test-id","label"),o.setAttribute("data-region",!0),n&&Array.isArray(n.highlight)){var y=n.searchNavigationData&&d.id===n.searchNavigationData.id,b=h.getHighlightedTextDOM(t,e,n.highlight,y,n.searchNavigationData);b.forEach(function(I){I.setAttribute&&I.setAttribute("data-region",!0),o.appendChild(I)})}else o.textContent=t;return C.isTruncated()?c:o}}},A,x),A.exports=w},29611:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(97203)],w=a.dj.d(T,function(u){"use strict";var r=16,d=function(){function n(){C(this,n)}return _(n,null,[{key:"shallowCopy",value:function(o){var c={};if(o!==null&&h(o)==="object"&&!Array.isArray(o)){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(c[e]=o[e]);return c}else return o}},{key:"isTypeObject",value:function(o){return h(o)==="object"}},{key:"getIconByIdDom",value:function(o){var c=document.createElement("mw-icon");return c.setAttribute("icon-id",o),c.setAttribute("icon-width",r),c.setAttribute("icon-height",r),c}}]),n}();return d},A,x),A.exports=w},99544:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){var u=function(){function r(d){C(this,r),this._events=[]}return _(r,[{key:"on",value:function(n,i){var o=this;this._events[n]||(this._events[n]=[]),this._events[n].push(i);var c={};return c.remove=function(){var e=o._events[n].indexOf(i);o._events[n].splice(e,1),c.remove=function(){return null}},c}},{key:"emit",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this._events[n],c=Object.getOwnPropertyNames(i),e={};c.forEach(function(s){e[s]=i[s]});var t=function(l){l&&l.forEach(function(p){p(e)})};t(o)}}]),r}();return u},A,x),A.exports=w},71136:(A,x,a)=>{"use strict";var T,w;function h(r,d){var n=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=_(r))||d&&r&&typeof r.length=="number"){n&&(r=n);var i=0,o=function(){};return{s:o,n:function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}},e:function(l){throw l},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,e=!1,t;return{s:function(){n=n.call(r)},n:function(){var l=n.next();return c=l.done,l},e:function(l){e=!0,t=l},f:function(){try{!c&&n.return!=null&&n.return()}finally{if(e)throw t}}}}function C(r){return f(r)||v(r)||_(r)||g()}function g(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(r,d){if(r){if(typeof r=="string")return u(r,d);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(r,d)}}function v(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function f(r){if(Array.isArray(r))return u(r)}function u(r,d){(d==null||d>r.length)&&(d=r.length);for(var n=0,i=new Array(d);n<d;n++)i[n]=r[n];return i}T=[],w=a.dj.d(T,function(){"use strict";return{getHighlightedTextDOM:function(d,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,c=arguments.length>4?arguments[4]:void 0,e=[],t=[];t=i.filter(function(l){return l.field===n}),t.length>0?e=this._getMatchedDOM(d,t):e.push(this._createNonHighlightedTextContentForDisplay(d));var s=e.filter(function(l){return l.tagName&&l.tagName==="MARK"});return o&&s&&c.indexInRow>=0&&s.length>c.indexInRow&&s[c.indexInRow].classList.add("treeSearchNavigationHighlight"),e},_getMatchedDOM:function(d,n){var i=this,o=[],c,e,t=[];n.forEach(function(l){t=[].concat(C(t),C(l.matches.map(function(p){return{start:p.start,count:p.count,value:p.value,className:p.className,highlightClass:l.className}})))});var s=this._splitStringByMatches(d,t);return s.forEach(function(l){l.matched?(e=i._createHighlightedTextContentForDisplay(l.text),e.className=l.className,o.push(e)):(c=i._createNonHighlightedTextContentForDisplay(l.text),o.push(c))}),o},_splitStringByMatches:function(d,n){var i="treeHighlight",o=[];n.sort(function(p,E){return p.start-E.start});var c=0,e=h(n),t;try{for(e.s();!(t=e.n()).done;){var s=t.value;if(!(s.start<c)){var l=s.className||s.highlightClass||i;s.start>c&&o.push({text:d.slice(c,s.start),matched:!1}),o.push({text:d.slice(s.start,s.start+s.count),matched:!0,className:l}),c=s.start+s.count}}}catch(p){e.e(p)}finally{e.f()}return c<d.length&&o.push({text:d.slice(c),matched:!1}),o},_createClassNameLookUp:function(d,n){for(var i="treeHighlight",o=new Array(d.length).fill(0),c=function(){var s=n[e];s.matches.forEach(function(l){for(var p=l.className||s.className||i,E=l.start+l.count,m=l.start;m<E;m++){var y=o[m];(y===void 0||y!=="treeNodeHighlightPrimary")&&(o[m]=p)}})},e=0;e<n.length;e++)c();return o},_createHighlightedTextContentForDisplay:function(d){var n=document.createElement("mark");return n.textContent=d,n},_createNonHighlightedTextContentForDisplay:function(d){var n=document.createTextNode(d);return n}}},A,x),A.exports=w},31063:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({BACKSPACE:8,NUM_START:48,NUM_END:57,F2:113,SPACE:32,ENTER:13,ESCAPE:27,X:88,C:67,V:86,ALPHA_START:65,ALPHA_END:90,NUMPAD_START:95,NUMPAD_END:112,SYM1_START:185,SYM1_END:193,SYM2_START:219,SYM2_END:222,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,CTRL:17,SHIFT:16,META:91,ALT:18});return h},A,x),A.exports=w},56355:(A,x,a)=>{"use strict";var T,w;function h(n){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},h(n)}function C(n,i){var o=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!o){if(Array.isArray(n)||(o=g(n))||i&&n&&typeof n.length=="number"){o&&(n=o);var c=0,e=function(){};return{s:e,n:function(){return c>=n.length?{done:!0}:{done:!1,value:n[c++]}},e:function(E){throw E},f:e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var t=!0,s=!1,l;return{s:function(){o=o.call(n)},n:function(){var E=o.next();return t=E.done,E},e:function(E){s=!0,l=E},f:function(){try{!t&&o.return!=null&&o.return()}finally{if(s)throw l}}}}function g(n,i){if(n){if(typeof n=="string")return _(n,i);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _(n,i)}}function _(n,i){(i==null||i>n.length)&&(i=n.length);for(var o=0,c=new Array(i);o<i;o++)c[o]=n[o];return c}function v(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function f(n,i){for(var o=0;o<i.length;o++){var c=i[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,r(c.key),c)}}function u(n,i,o){return i&&f(n.prototype,i),o&&f(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n}function r(n){var i=d(n,"string");return h(i)=="symbol"?i:String(i)}function d(n,i){if(h(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var c=o.call(n,i||"default");if(h(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}T=[a(48134),a(75845),a(46481),a(27068)],w=a.dj.d(T,function(n,i,o,c){var e=function(){function t(){v(this,t)}return u(t,null,[{key:"validatingKeyBindingLength",value:function(l){if(i.isArrayEmpty(l))throw new Error("Invalid KeyBinding, one or more values are empty")}},{key:"validatingPlatformInKeyBinding",value:function(l){var p=o.exposed.WINDOWS in l,E=o.exposed.LINUX in l,m=o.exposed.MAC in l;if(!(p&&E&&m))throw new Error("Invalid KeyBinding, it should have Tree.PLATFORMS.WINDOWS, Tree.PLATFORMS.LINUX and Tree.PLATFORMS.MAC as a key")}},{key:"validateSequenceOfKeyCombination",value:function(l){if(l){if(i.hasDuplicates(l))throw new Error("Invalid KeyBinding, Duplicate Key Combination found");var p=n.getKeyCodeArray(l);if(p.length!==1)throw new Error("Invalid KeyBinding, Excluding modifiers, there can only be one key for the binding");return!0}return!1}},{key:"validateKeyCombinations",value:function(l,p,E){if(l&&p&&E){var m=E.filter(function(S){return Array.isArray(S.keyCode)}),y=C(m),b;try{for(y.s();!(b=y.n()).done;){var I=b.value;if(i.isArrayMatching(I[c.KEY_CODE],l)&&n.isThePlatformInObject(I[c.PLATFORMS],p))throw new Error("Invalid KeyBinding, Key Combination is already bound to addCustomKeyHandler API")}}catch(S){y.e(S)}finally{y.f()}}}}]),t}();return e},A,x),A.exports=w},48134:(A,x,a)=>{"use strict";var T,w;function h(n){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},h(n)}function C(n,i){var o=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!o){if(Array.isArray(n)||(o=g(n))||i&&n&&typeof n.length=="number"){o&&(n=o);var c=0,e=function(){};return{s:e,n:function(){return c>=n.length?{done:!0}:{done:!1,value:n[c++]}},e:function(E){throw E},f:e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var t=!0,s=!1,l;return{s:function(){o=o.call(n)},n:function(){var E=o.next();return t=E.done,E},e:function(E){s=!0,l=E},f:function(){try{!t&&o.return!=null&&o.return()}finally{if(s)throw l}}}}function g(n,i){if(n){if(typeof n=="string")return _(n,i);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _(n,i)}}function _(n,i){(i==null||i>n.length)&&(i=n.length);for(var o=0,c=new Array(i);o<i;o++)c[o]=n[o];return c}function v(n,i){if(!(n instanceof i))throw new TypeError("Cannot call a class as a function")}function f(n,i){for(var o=0;o<i.length;o++){var c=i[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(n,r(c.key),c)}}function u(n,i,o){return i&&f(n.prototype,i),o&&f(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n}function r(n){var i=d(n,"string");return h(i)=="symbol"?i:String(i)}function d(n,i){if(h(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var c=o.call(n,i||"default");if(h(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}T=[a(46481),a(27068),a(31063),a(75845)],w=a.dj.d(T,function(n,i,o,c){var e=function(){function t(){v(this,t)}return u(t,null,[{key:"isKeyBindingInHandlerList",value:function(l,p,E){return E&&p&&l?E.some(function(m){if(m&&m[i.KEY_CODE]&&m[i.KEY_HANDLER_NAME])return t.isKeyCodeEqual(l,m)&&m[i.KEY_HANDLER_NAME]===p}):!1}},{key:"isKeyCodeEqual",value:function(l,p){var E=!1;return Array.isArray(l)&&Array.isArray(p[i.KEY_CODE])?E=c.isArrayMatching(l,p[i.KEY_CODE]):E=p[i.KEY_CODE]===l,E}},{key:"isPlatformInTheList",value:function(l,p){return l&&p?l.some(function(E){if(E)return E===p}):!1}},{key:"isThePlatformInObject",value:function(l,p){return l&&Array.isArray(l)&&p?l.includes(p)||l.includes(n.internal.ALL)||p===n.internal.ALL:!1}},{key:"findPropertyInTheObject",value:function(l,p,E){return E&&p&&l?E.find(function(m){if(m&&m[i.KEY_CODE]&&m[i.KEY_HANDLER_NAME])return t.isKeyCodeEqual(l,m)&&m[i.KEY_HANDLER_NAME]===p}):!1}},{key:"findKeyCodeInTheList",value:function(l,p,E){return E.find(function(m){return m[i.KEY_CODE]===l&&t.isThePlatformInObject(m[i.PLATFORMS],p)})}},{key:"getModifierLookupList",value:function(){return{altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1}}},{key:"getModifierKeyCodeState",value:function(l){var p=c.containsKeyCode(o.CTRL,l),E=c.containsKeyCode(o.SHIFT,l),m=c.containsKeyCode(o.ALT,l),y=c.containsKeyCode(o.META,l);return{ctrlKey:p,shiftKey:E,altKey:m,meta:y}}},{key:"getKeyCodeArray",value:function(l){var p=[];if(l){var E=C(l),m;try{for(E.s();!(m=E.n()).done;){var y=m.value,b=y;if(!t.keyCodeLookUpArray().includes(b)&&!t.getValidModifierList().includes(b))throw new Error("Invalid KeyBinding, Please refer to valid keycode in JSDoc");t.getValidModifierList().includes(b)||p.push(b)}}catch(I){E.e(I)}finally{E.f()}}return p}},{key:"getModifierKeyCodeList",value:function(l){var p=t.getModifierKeyCodeState(l),E=p.ctrlKey,m=p.shiftKey,y=p.altKey,b=p.meta,I=t.getModifierLookupList();for(var S in I)S===i.CTRL_KEY?I[S]=E:S===i.SHIFT_KEY?I[S]=m:S===i.ALT_KEY?I[S]=y:S===i.META&&(I[S]=b);return I}},{key:"keyCodeLookUpArray",value:function(){return[o.PAGE_UP,o.PAGE_DOWN,o.END,o.HOME,o.ARROW_DOWN,o.ARROW_UP,o.ARROW_RIGHT,o.ARROW_LEFT,o.ENTER]}},{key:"getValidModifierList",value:function(){return[o.ALT,o.META,o.SHIFT,o.CTRL]}}]),t}();return e},A,x),A.exports=w},52671:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({MOUSE_LEFT_BUTTON:0,MOUSE_MIDDLE_BUTTON:1,MOUSE_RIGHT_BUTTON:2});return h},A,x),A.exports=w},72983:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({DATA_UPDATE_SUCCESS:"DATA_UPDATE_SUCCESS",DATA_UPDATE_FAILURE:"DATA_UPDATE_FAILURE"});return h},A,x),A.exports=w},76836:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({ACTIVE_EDIT:"ACTIVE_EDIT",ACTIVE_EDIT_IN_PROGRESS:"ACTIVE_EDIT_IN_PROGRESS",INACTIVE_EDIT_IN_PROGRESS:"EDIT_IN_PROGRESS"});return h},A,x),A.exports=w},75845:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(37999),a(46481),a(56662)],w=a.dj.d(T,function(u,r,d){"use strict";var n=function(){function i(){C(this,i)}return _(i,null,[{key:"generateUuid",value:function(){return d.generateUuid()}},{key:"getRangeListForRange",value:function(c,e,t){var s=Math.max(e,c.dataSize.rows.start),l=Math.min(t,c.dataSize.rows.end);return[u.range().setRows(s,l).setColumns(0,0)]}},{key:"getSelectedNodes",value:function(c){var e,t=c.getStateByKey("selected");if(t&&(e=t.rangeList[0]),e&&e.length){var s=e.map(function(l){return{id:l.id}});if(s.length>0)return s}return[]}},{key:"removeNodeSelectionState",value:function(c,e){var t,s=c.getStateByKey("selected");if(s&&(t=s.rangeList[0]),t&&t.length){var l=t.filter(function(p){return p.id!==e.id});c.setState("selected",!0,[l])}}},{key:"removeNodeFocusState",value:function(c,e){var t=c.getStateByKey("focused");t&&t.value&&(t=t.value,e.id===t.id&&c.deleteState("focused"))}},{key:"isArrayMatching",value:function(c,e){if(Array.isArray(c)&&Array.isArray(e)){var t=Object.assign([],c),s=Object.assign([],e);if(t.sort(function(p,E){return p-E}),s.sort(function(p,E){return p-E}),t.length!==s.length)return!1;for(var l=0;l<c.length;l++)if(t[l]!==s[l])return!1;return!0}return!1}},{key:"containsKeyCode",value:function(c,e){return e&&Array.isArray(e)&&c?e.includes(c):!1}},{key:"isPropertyInTheObject",value:function(c,e,t){return c&&e&&t?c.some(function(s){if(s&&s[e])return s[e]===t}):!1}},{key:"hasDuplicates",value:function(c){return c&&Array.isArray(c)&&c.length>0?new Set(c).size!==c.length:!1}},{key:"isArrayEmpty",value:function(c){return!!(c&&Array.isArray(c)&&c.length<=0)}},{key:"getUsersPlaform",value:function(){var c=navigator.userAgent.toLowerCase();if(c.includes(r.exposed.MAC))return r.exposed.MAC;if(c.includes(r.exposed.WINDOWS))return r.exposed.WINDOWS;if(c.includes(r.exposed.LINUX))return r.exposed.LINUX}},{key:"getKeyByValue",value:function(c,e){if(c&&e){for(var t in c)if(c.hasOwnProperty(t)&&c[t]===e)return t}return!1}},{key:"shallowEqual",value:function(c,e){var t=Object.keys(c),s=Object.keys(e);if(t.length!==s.length)return!1;for(var l=0,p=t;l<p.length;l++){var E=p[l],m=this.isObject(c[E])&&this.isObject(e[E]);if(!m&&c[E]!==e[E])return!1}return!0}},{key:"isObject",value:function(c){return c!=null&&h(c)==="object"}},{key:"throttle",value:function(c,e){var t,s,l;return function(){var p=this,E=arguments;t?(clearTimeout(s),s=setTimeout(function(){Date.now()-l>=e&&(c.apply(p,E),l=Date.now())},Math.max(e-(Date.now()-l),0))):(c.apply(p,E),l=Date.now(),t=!0)}}}]),i}();return n},A,x),A.exports=w},35861:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=Object.freeze({LEFT:"left",RIGHT:"right",NONE:"none"}),r=function(){function d(){C(this,d),this._truncation=u.NONE}return _(d,[{key:"getMode",value:function(){return this._truncation}},{key:"setMode",value:function(i){this._truncation=i===u.LEFT?u.LEFT:i===u.RIGHT?u.RIGHT:u.NONE}},{key:"isTruncated",value:function(){return this._truncation!==u.NONE}},{key:"isLeft",value:function(){return this._truncation===u.LEFT}},{key:"isRight",value:function(){return this._truncation===u.RIGHT}}]),d}();return new r},A,x),A.exports=w},64986:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function r(){C(this,r),this._controllers={},this._adaptors={}}return _(r,[{key:"registerEventListeners",value:function(n,i){var o=this,c=Object.keys(n);i?c.forEach(function(e){var t=o._controllers[e]||[];t.push(n[e]),o._controllers[e]=t}):c.forEach(function(e){var t=o._adaptors[e]||[];t.push(n[e]),o._adaptors[e]=t})}},{key:"_handleAdaptorEvents",value:function(n,i){var o=this._adaptors[n],c=[];return Array.isArray(o)&&o.forEach(function(e){var t=e(i);t&&t.then&&c.push(t)}),Promise.all(c)}},{key:"handleEvent",value:function(n){var i=this,o=n.eventToEmit,c=n.eventProperties,e=n.eventCallback,t=n.nextActionEvent,s=n.handleEvent;s=s&&s.bind(this);var l=this._controllers[o],p=[];Array.isArray(l)&&l.forEach(function(E){var m=E(c,t,s,e);m&&p.push(m)}),p.length>0?Promise.all(p).then(function(E){var m=E.some(function(y){return y&&y.prevented});m?e(E):s||i._handleAdaptorEvents(o,c).then(function(y){var b=E.concat(y);e(b)})}):this._handleAdaptorEvents(o,c).then(function(E){return e(E)})}}]),r}();return u},A,x),A.exports=w},879:(A,x,a)=>{"use strict";var T,w;function h(c){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(c)}function C(c,e){return u(c)||f(c,e)||_(c,e)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(c,e){if(c){if(typeof c=="string")return v(c,e);var t=Object.prototype.toString.call(c).slice(8,-1);if(t==="Object"&&c.constructor&&(t=c.constructor.name),t==="Map"||t==="Set")return Array.from(c);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(c,e)}}function v(c,e){(e==null||e>c.length)&&(e=c.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=c[t];return s}function f(c,e){var t=c==null?null:typeof Symbol<"u"&&c[Symbol.iterator]||c["@@iterator"];if(t!=null){var s,l,p,E,m=[],y=!0,b=!1;try{if(p=(t=t.call(c)).next,e===0){if(Object(t)!==t)return;y=!1}else for(;!(y=(s=p.call(t)).done)&&(m.push(s.value),m.length!==e);y=!0);}catch(I){b=!0,l=I}finally{try{if(!y&&t.return!=null&&(E=t.return(),Object(E)!==E))return}finally{if(b)throw l}}return m}}function u(c){if(Array.isArray(c))return c}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function d(c,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(c,i(s.key),s)}}function n(c,e,t){return e&&d(c.prototype,e),t&&d(c,t),Object.defineProperty(c,"prototype",{writable:!1}),c}function i(c){var e=o(c,"string");return h(e)=="symbol"?e:String(e)}function o(c,e){if(h(c)!="object"||!c)return c;var t=c[Symbol.toPrimitive];if(t!==void 0){var s=t.call(c,e||"default");if(h(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(c)}T=[a(37999)],w=a.dj.d(T,function(c){"use strict";var e=function(){function t(){r(this,t)}return n(t,null,[{key:"isViewPortRangeInDataBuffer",value:function(l){var p=l.viewPort.rangeList[0],E=l.viewBuffer.rangeList[0],m=Math.max(0,p.rows.start-4),y=p.rows.end+4;return m>=E.rows.start&&y<=E.rows.end}},{key:"shouldReduceBufferRange",value:function(l){var p=l.viewPort.rangeList[0],E=l.viewBuffer.rangeList[0],m=l.getStateByKey("lookAheadNodeBuffer").value,y=Math.abs(p.rows.start-E.rows.start),b=Math.abs(p.rows.end-E.rows.end);return y>m||b>m}},{key:"getRangeListForRange",value:function(l,p,E){var m=Math.max(p,l.dataSize.rows.start),y=Math.min(E,l.dataSize.rows.end);return[c.range().setRows(m,y).setColumns(0,0)]}},{key:"getHeightForDataSize",value:function(l,p){var E=t.getFixedHeightOfTreeNode(l);return p*E}},{key:"dynamicScrollTopCalculator",value:function(l,p){var E=this,m=function(b){b.top=p.viewPort.size.top,b.left=p.viewPort.size.left;var I=t.getFixedHeightOfTreeNode(p);E.calculateAndUpdateLogicalViewPort(p,b);var S=p.viewPort.size.height,R=p.getStateByKey("maxScrollHeight");R=R?R.value:p.dataSize.rows.count*I;var N=S<R?R-S:0,O=E.getFirstVisibleRow(N,p),L=O.index;if(l>=L)return N;if(E.allRowInView(p.dataSize,p.viewBuffer)){for(var U=p.getStateByKey("bufferDataRendererd").value,z=l,$=0,W=0;U[W].index!==z&&z<p.dataSize.rows.count;)$=U[W].height+$,W++;var V=p.getStateByKey("maxScrollHeight");V=V&&V.value;var K=S<V?V-S:0;return $=K>$?$:K,$}var M=N<l*I?N:l*I;return M};return m}},{key:"dynamicScrollTopForBottomNodeCalculator",value:function(l,p){var E=this,m=function(b){b.top=p.viewPort.size.top,b.left=p.viewPort.size.left;var I=t.getFixedHeightOfTreeNode(p);E.calculateAndUpdateLogicalViewPort(p,b);var S=p.getStateByKey("bufferDataRendererd").value,R=p.viewPort.size.height;if(E.allRowInView(p.dataSize,p.viewBuffer)){for(var N=0,O=0,L=S[O].index,U=O+(l-L);U>=0;)N=S[U].height+N,U--;return N=N>R?N-R:0,N}for(var z=p.viewPort.size.top,$=0,W=S[$].index,V=$+(l-W),K=0,M=0,B;R>M&&V>=0;)K=S[V].height,M=K+M,B=S[V].index,V--;var P=M-R;P=P>0?P:0;var k=P>-1?B:0,H=K,Y=I/H*P;return z=k*I+Y,z};return m}},{key:"ArrayOfBufferNodeHeight",value:function(l){var p=[],E=l.getStateByKey("bufferDataRendererd");if(!E){for(var m=l.viewBuffer.rangeList[0],y=l.viewBuffer.rangeList[0].rows.end,b=l.dataSize.rows.end,I=b<y?b:y,S=t.getFixedHeightOfTreeNode(l),R=m.rows.start;R<=I;R++){var N={index:R,height:S};p.push(N)}return p}return E.value}},{key:"getMaxHeight",value:function(l){var p=l.viewBuffer.rangeList,E=p[0].rows.count,m=l.viewPort.size.height,y=0,b=this.ArrayOfBufferNodeHeight(l);if(b.length===0)return 0;var I=t.getFixedHeightOfTreeNode(l);if(this.allRowInView(l.dataSize,l.viewBuffer)){var S=0;if(E>0)for(var R=0;R<b.length;R=R+1)S=b[R].height+S;y=S}else if(y=l.dataSize.rows.count*I,this.lastPageInView(l.dataSize,l.viewBuffer)){var N=this._calcMaxHeight(b,m,I),O=C(N,2),L=O[0],U=O[1];this.maxScroll=U,y=Math.floor(L)}return l.setState("maxScrollHeight",y),y}},{key:"allRowInView",value:function(l,p){var E=l.rows.end,m=l.rows.start,y=p.rangeList[0],b=y.rows.end,I=y.rows.start;return I===m&&E<=b}},{key:"lastPageInView",value:function(l,p){var E=p.rangeList[0],m=E.rows.end,y=l.rows.count-1;return m>=y}},{key:"_calcMaxHeight",value:function(l,p,E){for(var m=0,y,b,I=l.length-1;I>=0&&(y=l[I].index,b=l[I].height,m+=b,!(m>p));I-=1);y=Math.max(y,0);var S=(m-p)/b,R=y,N=Math.floor(E*(S+R));return[N+p,N]}},{key:"computeTranslateY",value:function(l){var p=l.viewBuffer.rangeList,E=Math.max(p[0].rows.start,0),m=l.viewPort.size.top,y=t.getFixedHeightOfTreeNode(l),b=Math.floor(m/y),I=b-E,S=this.ArrayOfBufferNodeHeight(l);if(S.length===0||this.allRowInView(l.dataSize,l.viewBuffer))return 0;if(this.lastPageInView(l.dataSize,l.viewBuffer)){var R=l.viewPort.size.height,N=this._calcMaxHeight(S,R,y),O=C(N,2),L=O[0],U=O[1];if(m>=U){for(var z=0,$=0;$<S.length;$+=1)S[$]&&(z=S[$].height+z);var W=L-z;return W}}for(var V=S.find(function(Y){return Y.index===b}),K=V?V.height:y,M=0,B=0;B<I;B+=1)S[B]&&(M+=S[B].height-y);var P=K/y-1,k=m%y,H=Math.floor(E*y-M-P*k);return H}},{key:"getExpectedTranslateTopValue",value:function(l){var p=t.getFixedHeightOfTreeNode(l),E=l.viewBuffer.rangeList[0].rows.start*p;return E}},{key:"getFixedHeightOfTreeNode",value:function(l){var p=l.getStateByKey("nodeHeightInPx");return p&&p.value}},{key:"calculateAndUpdateLogicalViewPort",value:function(l,p){var E=0,m=0,y=t.getFixedHeightOfTreeNode(l);y&&(E=Math.round(p.height/y),m=Math.round(p.top/y));var b=l.dataSize.rows.end-(E-1);m=m>b?b:m,t.updateLogicalViewPort(l,m,E,p)}},{key:"updateLogicalViewPort",value:function(l,p,E,m){var y=l.viewPort,b=0,I=0;if(m&&(y.size=m),typeof p=="number"&&p>=0){var S=l.dataSize.rows.end-(y.rangeList[0].rows.count-1),R=p>S?S:p;b=Math.max(R,l.dataSize.rows.start)}typeof E=="number"&&E>0?I=Math.max(0,b+E-1):I=Math.max(0,b+y.rangeList[0].rows.count-1);var N=y.rangeList;N[0]=N[0].setRows(b,I).setColumns(0,0),y.rangeList=N,l.viewPort=y}},{key:"getViewPortCount",value:function(l){for(var p=l.getStateByKey("bufferDataRendererd").value,E=l.viewPort.size.height,m=l.viewPort.size.top,y=this.getFirstVisibleRow(m,l),b=y.index,I=0,S=0,R,N=0;N<p.length&&(I=p[N].index,R=p[N].height,I>=b&&(S+=R),!(S>E));N++);var O=S-E;if(O>0){var L=I-(b-1)-Math.round(O/R);return L}return I+1}},{key:"getPreviousViewPortCount",value:function(l,p){var E=l.getStateByKey("bufferDataRendererd");E=E&&E.value;var m=l.viewPort.size.height,y=0,b=0,I=!1,S,R=0;for(R=E.length-1;R>=0;R--)if(y=E[R].index,S=E[R].height,y<=p&&(b+=S),b>=m){I=!0;break}if(I){var N=p-(y-1),O=b-m;return N=N-Math.round(O/S),N}var L=m-b,U=Math.round(L/S),z=p+1-(y-U);return z}},{key:"getNextViewPortCount",value:function(l,p){var E=l.getStateByKey("bufferDataRendererd");E=E&&E.value;var m=l.viewPort.size.height,y=0,b=0,I=!1,S,R=0;for(R=0;R<E.length;R++)if(y=E[R].index,S=E[R].height,y>=p&&(b+=S),b>=m){I=!0;break}if(I){var N=y-p+1,O=b-m;return N=N-Math.round(O/S),N}var L=m-b,U=Math.round(L/S),z=y+U+1-p;return z}},{key:"getIndexForScrollTop",value:function(l,p){for(var E=0,m=0,y=0;y<p.length&&(E=p[y].index,m=p[y].height,m<=l);y++)l=l-m;var b=l;return{rowIndex:E,rowHeight:m,diff:b}}},{key:"getPhysicalHeightTillLastRow",value:function(l,p,E,m){for(var y=Math.floor(l/m),b=0,I=0,S=0,R=0;R<p.length;R++){if(b=p[R].index,I=p[R].height,b===y){var N=m-l%m;S+=I*(N/m)}else b>y&&(S+=I);if(S>=E)break}return{physicalTotal:S,rowIndex:b,rowHeight:I}}},{key:"getFirstVisibleRow",value:function(l,p){var E,m=t.getFixedHeightOfTreeNode(p);if(this.allRowInView(p.dataSize,p.viewBuffer)){var y=p.getStateByKey("bufferDataRendererd").value,b=t.getIndexForScrollTop(l,y),I=b.rowIndex,S=b.rowHeight,R=b.diff;return E=R%S!==0,{index:I+Math.round(R/S),isPartialVisible:E}}var N=Math.round(l/m);return E=l%m!==0,{index:N,isPartialVisible:E}}},{key:"getLastVisibleRow",value:function(l,p){var E=p.getStateByKey("bufferDataRendererd").value,m=p.viewPort.size.height,y;if(t.allRowInView(p.dataSize,p.viewBuffer)){var b=l+m,I=t.getIndexForScrollTop(b,E),S=I.rowIndex,R=I.rowHeight,N=I.diff,O=1-Math.round(N/R);return y=N%R!==0,{index:S-O,isPartialVisible:y}}else{var L=t.getFixedHeightOfTreeNode(p),U=t.getPhysicalHeightTillLastRow(l,E,m,L),z=U.physicalTotal,$=U.rowIndex,W=U.rowHeight,V=Math.max(z-m,0);return y=V%W!==0,{index:$-Math.round(V/W),isPartialVisible:y}}}},{key:"updateDataBuffer",value:function(l){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(!p.isInitialRequest&&t.isViewPortRangeInDataBuffer(l)&&!(p.canReduceBufferRange&&t.shouldReduceBufferRange(l)))){var E=l.getStateByKey("lookAheadNodeBuffer").value,m=Math.max(l.dataSize.rows.start,l.viewPort.rangeList[0].rows.start-E),y=l.viewPort.rangeList[0].rows.end+E;l.viewBuffer={size:null,rangeList:[c.range().setRows(m,y).setColumns(0,0)]}}}},{key:"isTreeNodeCompletelyInsideViewPort",value:function(l,p){var E=t.getFirstVisibleRow(p.viewPort.size.top,p),m=E.index,y=E.isPartialVisible,b=t.getLastVisibleRow(p.viewPort.size.top,p),I=b.index,S=b.isPartialVisible;return l===m?!y:l===I?!S:l>m&&l<I}}]),t}();return e},A,x),A.exports=w},56678:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({ACTIVE_NODE:"keyboardActive",POTENTIAL_ACTIVE_NODE:"potentialNextKeyboardActiveNode",SEARCH_NAVIGATION_DATA:"searchNavigationData"});return h},A,x),A.exports=w},52027:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=602,C=!window.chrome&&window.webkit&&window.webkit.version<h,g=!!window.safari;return{shouldHoverBeDisabled:C,noAutoScrollSupport:g}},A,x),A.exports=w},41028:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=["tree-list-item","treeNode"],C=["mw-treeNode-renderer-container"],g=["mw-tree-drag-hover"],_=["mw-tree-node-hover"],v="mw-tree-node-strike-through",f="mw-tree-node-gutter",u="mw-tree-node-gutter-wrapper",r="mw-tree-node-gutter-item",d="invalid",n="reordering",i="valid",o="dragged-node",c={invalid:"mw-tree-dnd-invalid"},e="blank",t="readonly",s="non-interactive",l=Object.freeze({get TREENODE(){return[].concat(h)},get TREENODE_CONTENT(){return[].concat(C)},get TREENODE_DRAG_HOVER(){return[].concat(g)},get TREENODE_HOVER(){return[].concat(_)},get TREENODE_STRIKETHROUGH(){return v},get TREENODE_GUTTER(){return f},get TREENODE_GUTTER_WRAPPER(){return u},get TREENODE_GUTTER_ITEM(){return r},get VALID_REORDERING(){return i},get REORDERING(){return n},get INVALID_REORDERING(){return d},get DRAGGED_NODE_CLASS(){return o},get DnD_AVATAR_ICON_CLASSES(){return c},get BLANK_NODE_CLASS(){return e},get READ_ONLY_NODE_CLASS(){return t},get NON_INTERACTIVE_NODE_CLASS(){return s}});return l},A,x),A.exports=w},33035:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(38634),a(35861)],w=a.dj.d(T,function(e,t){"use strict";var s=Object.freeze({INLINE:"inline",NONE:"none"}),l=2,p=function(E){o(m,E);function m(y){var b;return C(this,m),b=u(this,m,[y]),b.state={display:s.NONE,top:0,left:0,label:"",_showDataTip:y.showDataTip},b}return _(m,[{key:"removeTip",value:function(){this.props.showDataTip=!1,this.setState({_showDataTip:!1})}},{key:"handleClick",value:function(b){this.removeTip(),b.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.clickHandler(b)}},{key:"handleMouseDown",value:function(b){this.removeTip(),b.currentTarget=this.props.treeNodeInfo.nodeRef.current,this.props.treeNodeInfo.mouseDownHandler(b)}},{key:"render",value:function(){return e.createElement("span",{class:"mw-data-tip-container",ref:this.props.tipRef,style:{top:"".concat(this.state.top,"px"),left:"".concat(this.state.left,"px"),display:"".concat(this.state.display)},onMouseLeave:this.removeTip.bind(this),onWheel:this.removeTip.bind(this),onClick:this.handleClick.bind(this),onMouseDown:this.handleMouseDown.bind(this)},e.createElement("label",null,this.state.label))}}],[{key:"_isContentVisible",value:function(b){return!!(b&&b.clientWidth>0&&!t.isLeft()||b&&b.clientWidth>l&&t.isLeft())}},{key:"_calculatePosition",value:function(b,I){if(I.current){var S=I.current,R=S.querySelector(".treeNodeText"),N=R&&R.scrollWidth>R.clientWidth,O=m._isContentVisible(R);if(N&&O){var L=b.getBoundingClientRect(),U=R.getBoundingClientRect();return{top:U.top-L.top,left:U.left-L.left}}}}},{key:"getDerivedStateFromProps",value:function(b,I){var S=b.showDataTip;if(S){var R=b.treeNodeInfo,N=b.containerElm,O=R.nodeData.label,L=m._calculatePosition(N,R.nodeRef);return L?{display:s.INLINE,top:L.top,left:L.left,label:O}:{display:s.NONE}}else return{display:s.NONE}}}]),m}(e.Component);return p},A,x),A.exports=w},72863:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({nodeHeight:22,lookAheadNodeBuffer:10});return h},A,x),A.exports=w},73312:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({rightClick:"treeContextMenuSelection",contextMenuClick:"",keyboardContextMenu:"keyboardContextMenu",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyDownMetaNavigation:"",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",treeClick:"treeClick",nodeDoubleClicked:"treeNodeDoubleClicked",treeMouseDown:"treeMouseDown",deleteAction:"deleteActionEvent",treeKeyPressed:"treeKeyPressed"}),C=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"",nodeMouseDownFocused:"",keyDownAlphaNum:"treeNodeEditKeyPress"});return{TREE_EVENTS:h,EDIT_TREE_EVENTS:C}},A,x),A.exports=w},60162:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(38634)],w=a.dj.d(T,function(e){var t=function(s){o(l,s);function l(){return C(this,l),u(this,l,arguments)}return _(l,[{key:"render",value:function(){return e.createElement("div",{className:"mw-tree-disable-layer",onContextMenu:function(m){return m.preventDefault()}})}}]),l}(e.Component);return t},A,x),A.exports=w},14497:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function g(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,v(E.key),E)}}function _(s,l,p){return l&&g(s.prototype,l),p&&g(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s){var l=f(s,"string");return h(l)=="symbol"?l:String(l)}function f(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}function u(s,l,p){return l=c(l),r(s,n()?Reflect.construct(l,p||[],c(s).constructor):l.apply(s,p))}function r(s,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(s)}function d(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(n=function(){return!!s})()}function i(){return typeof Reflect<"u"&&Reflect.get?i=Reflect.get.bind():i=function(l,p,E){var m=o(l,p);if(m){var y=Object.getOwnPropertyDescriptor(m,p);return y.get?y.get.call(arguments.length<3?l:E):y.value}},i.apply(this,arguments)}function o(s,l){for(;!Object.prototype.hasOwnProperty.call(s,l)&&(s=c(s),s!==null););return s}function c(s){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},c(s)}function e(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&t(s,l)}function t(s,l){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,m){return E.__proto__=m,E},t(s,l)}T=[a(39057),a(97309),a(76836),a(38634)],w=a.dj.d(T,function(s,l,p,E){var m="30",y=function(b){e(I,b);function I(S,R){var N,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},L=arguments.length>3?arguments[3]:void 0;return C(this,I),N=u(this,I,[S,R,O,L]),N._editor={type:O.editor.type,config:O.editor.config},N}return _(I,[{key:"_getUpdatedTreeProps",value:function(){var R=i(c(I.prototype),"_getUpdatedTreeProps",this).call(this),N=this._viewModel.getStateByKey("ActiveEditNode");return R.activeEditNode=N?N.value:null,R}},{key:"_getStylingAndClasses",value:function(R,N){var O=i(c(I.prototype),"_getStylingAndClasses",this).call(this,R,N),L=this._viewModel.getStateByKey("ActiveEditNode");L=L?L.value:null;var U=L&&L.node.id===R.id&&(L.state===p.ACTIVE_EDIT_IN_PROGRESS||L.state===p.INACTIVE_EDIT_IN_PROGRESS);U&&O.classes.push(" updateInProgress");var z=L&&L.node.id===R.id&&L.state!==p.INACTIVE_EDIT_IN_PROGRESS;return z&&(O.style.treeNodeData.marginLeft=O.style.treeNodeData.marginLeft+1),O}},{key:"buildContentNode",value:function(R,N,O){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},U=L.displayBlank;if(U)return{content:null,additionalDataAttributes:{}};var z={content:null,additionalDataAttributes:{}},$=N.activeEditNode&&N.activeEditNode.node.id===R.value.id?N.activeEditNode.state:null,W=$&&$!==p.INACTIVE_EDIT_IN_PROGRESS,V=$&&$===p.INACTIVE_EDIT_IN_PROGRESS;if(this._editor.type&&W){var K=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-O;z.content=this.buildEditor(R,N.activeEditNode.parentNode,K,N.activeEditNode.state,N.activeEditNode.config),z.additionalDataAttributes={"data-edit-mode":!0}}else{var M=R;V&&(M=N.activeEditNode.tempNode,L.maxWidth=this._viewModel.viewPort.size.width+this._viewModel.viewPort.size.left-O-m),z.content=this.buildRenderer(M,L)}return z}},{key:"buildEditor",value:function(R,N,O,L){var U=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},z=this._editor;return E.createElement(l,{editor:z,maxWidth:O,editorState:L,saveUnsavedValueHandler:this.handlers.editor._saveUnSavedValueHandler,editCompleteHandler:this.handlers.editor._editCompleteHandler,editCancelledHandler:this.handlers.editor._editCanceledHandler,processEditHandler:this.handlers.editor._processEditHandler,parentNode:N,config:U,node:R})}}]),I}(s);return y},A,x),A.exports=w},76301:(A,x,a)=>{"use strict";var T,w;function h(s){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},h(s)}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function g(s,l){for(var p=0;p<l.length;p++){var E=l[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,v(E.key),E)}}function _(s,l,p){return l&&g(s.prototype,l),p&&g(s,p),Object.defineProperty(s,"prototype",{writable:!1}),s}function v(s){var l=f(s,"string");return h(l)=="symbol"?l:String(l)}function f(s,l){if(h(s)!="object"||!s)return s;var p=s[Symbol.toPrimitive];if(p!==void 0){var E=p.call(s,l||"default");if(h(E)!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(s)}function u(s,l,p){return l=c(l),r(s,n()?Reflect.construct(l,p||[],c(s).constructor):l.apply(s,p))}function r(s,l){if(l&&(h(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(s)}function d(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function n(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(n=function(){return!!s})()}function i(){return typeof Reflect<"u"&&Reflect.get?i=Reflect.get.bind():i=function(l,p,E){var m=o(l,p);if(m){var y=Object.getOwnPropertyDescriptor(m,p);return y.get?y.get.call(arguments.length<3?l:E):y.value}},i.apply(this,arguments)}function o(s,l){for(;!Object.prototype.hasOwnProperty.call(s,l)&&(s=c(s),s!==null););return s}function c(s){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},c(s)}function e(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),l&&t(s,l)}function t(s,l){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(E,m){return E.__proto__=m,E},t(s,l)}T=[a(31063),a(23645),a(14497),a(72983)],w=a.dj.d(T,function(s,l,p,E){var m=function(y){e(b,y);function b(I,S){var R,N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},O=arguments.length>3?arguments[3]:void 0;return C(this,b),R=u(this,b,[I,S,N,O]),R._editorSaveRetrieveUnCommitedValues={saveValue:function(U){R._viewModel.setState("unsavedEditorValue",U)},getValue:function(){var U=R._viewModel.getStateByKey("unsavedEditorValue");return U=U?U.value:null,U},destroy:function(){R._viewModel.deleteState("unsavedEditorValue")}},R.handlers.editor={},R.handlers.editor._editCompleteHandler=function(L){return R._handleEditComplete(L)},R.handlers.editor._editCanceledHandler=function(L){return R._handleEditCanceled(L)},R.handlers.treeNode._nodeClickHandler=function(L){return R._handleNodeClick(L)},R.handlers.treeNode._nodeDblClickHandler=function(L){return R._handleNodeDoubleClick(L)},R.handlers.editor._processEditHandler=function(L){return R._handleProcessEdit(L)},R.handlers.editor._saveUnSavedValueHandler=R._editorSaveRetrieveUnCommitedValues,R}return _(b,[{key:"createTreeBuilder",value:function(S,R){return new p(this._viewModel,this.handlers,S,R)}},{key:"_handleEditComplete",value:function(S){var R={eventToEmit:"treeNodeEditComplete",eventProperties:S,eventCallback:function(){this._viewModel.deleteState("treeWidth"),this._deleteTreeFocus(),this.render(),this._editorSaveRetrieveUnCommitedValues.destroy(),this._setEditState(!1)}.bind(this)};this._viewEventHandler.handleEvent(R)}},{key:"_handleProcessEdit",value:function(S){var R={eventToEmit:"treeNodeProcessEdit",eventProperties:S,eventCallback:function(N){this.render();var O=this._checkFailures(N);O||this._editorSaveRetrieveUnCommitedValues.destroy()}.bind(this)};this._viewEventHandler.handleEvent(R)}},{key:"_deleteTreeFocus",value:function(){this._rootDom.contains(document.activeElement)||this._viewModel.deleteState("ContainerFocused")}},{key:"_checkFailures",value:function(S){for(var R=!1,N=0;N<S.length;N++){var O=S[N];if(O.type&&O.type===E.DATA_UPDATE_FAILURE){R=!0;break}}return R}},{key:"_handleEditCanceled",value:function(S){var R={eventToEmit:"treeNodeEditCanceled",eventProperties:S,eventCallback:function(){this._editorSaveRetrieveUnCommitedValues.destroy(),this._deleteTreeFocus(),this.render()}.bind(this)};this._viewEventHandler.handleEvent(R),this._setEditState(!1)}},{key:"_setEditState",value:function(S){this._viewModel.setState("isInEditing",S)}},{key:"_handleKeyDown",value:function(S){var R,N;if(S.keyCode===s.ENTER?R=this._EDIT_EVENTS_CONFIG.keyDownEnter:S.keyCode===s.F2?R=this._EDIT_EVENTS_CONFIG.keyDownF2:(S.keyCode>=s.ALPHA_START&&S.keyCode<=s.ALPHA_END||S.keyCode>=s.NUM_START&&S.keyCode<=s.NUM_END||S.keyCode>=s.NUMPAD_START&&S.keyCode<=s.NUMPAD_END)&&!(S.metaKey||S.ctrlKey||S.altKey)?(N=S.key,R=this._EDIT_EVENTS_CONFIG.keyDownAlphaNum):R="",R){var O={firstChar:N,keyCode:S.keyCode,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,altKey:S.altKey};S.preventDefault();var L=this._EVENTS_CONFIG.treeKeyPressed,U=this._viewEventHandler.handleEvent,z={eventToEmit:L,eventProperties:O,nextActionEvent:R,handleEvent:U,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(z)}else i(c(b.prototype),"_handleKeyDown",this).call(this,S)}},{key:"_areMultipleNodesSelected",value:function(){var S=this._viewModel.getStateByKey("selected");if(!S||S.rangeList.length===0)return!1;var R=S.rangeList[0];return R.length>1}},{key:"_handleNodeMouseDown",value:function(S,R){var N=S.currentTarget.classList.contains("focused"),O=S.currentTarget.classList.contains("selected"),L=S.target.attributes["data-region"],U=this._isTargetCheckBox(S),z=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,$=z&&N&&L,W=S.currentTarget.attributes["data-row-index"].nodeValue,V=this._data(parseInt(W))(0).value,K=this._metadata?this._metadata:function(k){return{value:{}}},M=this._areMultipleNodesSelected();K=K(W).value,$=!M&&$&&!K.readonly;var B={node:V,isTargetCheckBox:U,metadata:K,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,nodeIndex:parseInt(W)};if(!$||!O){var P={eventToEmit:R,eventProperties:B,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(P)}else S.currentTarget.setAttribute("data-can-edit","true")}},{key:"_handleNodeDoubleClick",value:function(S){if(!this._isDisclosureTarget(S)){var R=S.currentTarget.classList.contains("focused"),N=this._isTargetEditable(S);this._areMultipleNodesSelected()&&R||!N?i(c(b.prototype),"_handleNodeDoubleClick",this).call(this,S):this._handleNodeEditableDoubleClick(S)}}},{key:"_handleNodeEditableDoubleClick",value:function(S){var R=this._EDIT_EVENTS_CONFIG.dblClick,N=this._EVENTS_CONFIG.nodeDoubleClicked,O=this._isTargetCheckBox(S);S.currentTarget.removeAttribute("data-can-edit");var L=this._buildDoubleClickHandlerObject(R,S),U={eventToEmit:N,isTargetCheckbox:O,eventProperties:L,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(U)}},{key:"_handleNodeEditableClick",value:function(S){var R=this._EDIT_EVENTS_CONFIG.nodeMouseDownFocused,N=Number(S.currentTarget.getAttribute("data-row-index")),O=this._data(parseInt(N))(0).value,L=this._metadata?this._metadata:function($){return{value:{}}};L=L(N).value,S.preventDefault();var U={node:O,metadata:L,altKey:S.altKey,metaKey:S.metaKey,ctrlKey:S.ctrlKey,shiftKey:S.shiftKey,nodeIndex:parseInt(N)};if(!this._isInDragMode()){var z={eventToEmit:R,eventProperties:U,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(z),this._setEditState(!0),S.currentTarget.removeAttribute("data-can-edit")}}},{key:"_isNodeEditable",value:function(S){var R=S.currentTarget.classList.contains("focused"),N=S.target.attributes["data-region"],O=Number(S.currentTarget.getAttribute("data-row-index")),L=this._metadata?this._metadata:function($){return{value:{}}};L=L(O).value;var U=!L.readonly&&N&&R&&!this._isNodeReadOnly(S),z=S.currentTarget.hasAttribute("data-can-edit");return U&&z&&!this._areMultipleNodesSelected()&&this._isDnDNotInProgress(S)}},{key:"_handleNodeClick",value:function(S){this._isDisclosureTarget(S)||(this._isNodeEditable(S)?this._handleNodeEditableClick(S):i(c(b.prototype),"_handleNodeClick",this).call(this,S),this._endingDnD())}}]),b}(l);return m},A,x),A.exports=w},67287:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({rightClick:"",contextMenuClick:"treeContextMenu",keyboardContextMenu:"keyboardContextMenu",dblClick:"treeNodeDoubleClick",keyDownNavigation:"treeNavigation",keyUp:"keyUpToggleCheckedState",keyDownMetaNavigation:"treeNavigation",keyDownRangeNavigation:"treeNavigation",keyDown:"treeKeyPress",nodeMouseDown:"treeNodeMouseDown",treeMouseDown:"treeMouseDown",treeClick:"treeClick",deleteAction:"deleteActionEvent",nodeDoubleClicked:"treeNodeDoubleClicked",interactiveClick:"interactiveClick",treeKeyPressed:"treeKeyPressed"}),C=Object.freeze({dblClick:"treeNodeEditMouseEvent",keyDownAlphaNum:"",keyDownF2:"treeNodeEditKeyPress",keyDownEnter:"treeNodeEditKeyPress",nodeMouseDownFocused:"treeNodeEditMouseEvent"});return{TREE_EVENTS:h,EDIT_TREE_EVENTS:C}},A,x),A.exports=w},73098:(A,x,a)=>{"use strict";var T,w;T=[a(38634),a(41028),a(75845)],w=a.dj.d(T,function(h,C,g){var _=h.memo(v,u);return _;function v(r){var d=r.gutterColors,n=r.numberOfGutters,i=[];if(d&&Array.isArray(d))for(var o=0;o<d.length&&o<n;o++){var c=d[o];i.push(f(c))}return h.createElement("div",{class:C.TREENODE_GUTTER_WRAPPER,"data-test-id":"gutterHandle"},i)}function f(r){return h.createElement("span",{key:g.generateUuid(),class:C.TREENODE_GUTTER_ITEM,style:{backgroundColor:r}})}function u(r,d){var n=r.gutterColors||[],i=d.gutterColors||[];if(r.gutterColors&&d.gutterColors)return r.numberOfGutters===d.numberOfGutters&&n.join("")===i.join("")}},A,x),A.exports=w},39057:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(26821),a(26036),a(33035),a(42565),a(60162),a(32367),a(5346),a(76755),a(29131),a(60624),a(41028),a(75845),a(879),a(35861),a(37899),a(38634),a(56678)],w=a.dj.d(T,function(u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b,I){var S=18,R=18,N={data:null,domId:null};function O(U){var z=function($){return!($!==void 0&&(typeof $!="number"||!Number.isInteger($)||$<=0))}(U);if(!z)throw new Error("Error: Invalid numberOfGutters option, numberOfGutters should be a natural number");return z}var L=function(){function U(z,$,W,V){C(this,U),this._viewModel=z,this.dataTestId=W.dataTestId,this.handlers=$,this.renderer=W.renderer?W.renderer:e,this._numberOfGutters=O(W.numberOfGutters)?W.numberOfGutters:0,m.setMode(W&&W.textTruncation),this._configuredPlugins=V,this.CheckboxTreeFlag=!1;for(var K=this._configuredPlugins?this._configuredPlugins.length:0,M=0;M<K;M++){var B=this._configuredPlugins[M].name?this._configuredPlugins[M].name:void 0;if(B==="CheckboxTree"){this.CheckboxTreeFlag=!0;break}}this.handleHoverAction=this._handleHoverAction.bind(this),this._dataTipRef=b.createRef()}return _(U,[{key:"_getScrollTopValue",value:function($){var W=this._viewModel.getStateByKey("scrollTopCalc");if(W&&$){var V=W.value($);return this._viewModel.viewPort.size.top=V,this._viewModel.deleteState("scrollTopCalc"),V}}},{key:"_getConsumedNodeWidth",value:function($,W){var V=$;return W.forEach(function(K){K&&(V+=K.width?K.width:0)}),V}},{key:"_getTranslateTopValue",value:function(){var $=E.computeTranslateY(this._viewModel);return $}},{key:"_getExpectedTranslateTopValue",value:function(){var $=E.getExpectedTranslateTopValue(this._viewModel);return $}},{key:"_getHeight",value:function(){var $=E.getMaxHeight(this._viewModel);return $}},{key:"_getUpdatedTreeProps",value:function(){var $=this,W={},V=this._viewModel.getStateByKey("nodeHeightInPx");W.treeNodeHeight=V?V.value:0,W.treeHeight=function(){return $._getHeight()},W.treeWidth=this._viewModel.getStateByKey("treeWidth"),W.treeWidth=W.treeWidth?W.treeWidth.value:null,W.forceContainerFocus=this._viewModel.getStateByKey("forceContainerFocus"),W.forceContainerFocus=W.forceContainerFocus?W.forceContainerFocus.value:null,this._viewModel.deleteState("forceContainerFocus"),W.viewHeight=this._viewModel.viewPort.size.height,W.scrollTopFunc=function(P){return $._getScrollTopValue(P)},W.translateY=this._getExpectedTranslateTopValue(),W.translateTopFunc=function(){return $._getTranslateTopValue()};var K=this._viewModel.getStateByKey("ContainerFocused");K=K&&K.value;var M="mw-tree-scroll-component";K?M="".concat(M," focused"):M="mw-tree-scroll-component";var B=this._viewModel.getStateByKey("hideScrollBars");return B=B&&B.value,B&&(M="".concat(M," hideScrollBars")),W.containerClass="".concat(M),W.scrollLeft=this._viewModel.viewPort.size.left,this._updateFocusedNodeID(),W}},{key:"_updateFocusedNodeID",value:function(){var $=this._viewModel.getStateByKey("focused")?this._viewModel.getStateByKey("focused").value:null;$!==N.data&&(N.data=$,N.domId="treeNode_"+p.generateUuid())}},{key:"buildTree",value:function($,W){var V=this,K=this._getUpdatedTreeProps(),M=[],B="tree",P=this._viewModel.getStateByKey("isInDragging"),k=this._viewModel.getStateByKey(y.TREE_DISABLED);k=k&&k.value;var H=k?"-1":"0";P&&P.value&&(B="".concat(B," mw-tree-drag-in-progress"),K.isDraggingStarted=!0);var Y,G=this._viewModel.getStateByKey("NodeHover");if(m.isTruncated()&&G&&(Y=G.value),$)for(var Q=$.range.rows.start,J=$.range.rows.end,q=Q;q<=J&&$(q)(0).value;q++){var oe=W(q).value;M.push(this.buildTreeNode($(q)(0),q,K,oe))}var ie;if(m.isTruncated()){var pe=this._isPointerOnNode(Y);ie=this.buildDataTip(Y,pe)}return b.createElement(b.Fragment,null,b.createElement(n,{classes:B,disabled:k,tabIndex:H,dataTestId:this.dataTestId,translateY:K.translateY,viewHeight:K.viewHeight,bodyHeight:K.treeHeight,treeNodeHeight:K.treeNodeHeight,nodeHoverInfo:Y,scrollHandler:this.handlers.tree._scrollHandler,scrollTopFunc:K.scrollTopFunc,translateTopFunc:K.translateTopFunc,scrollLeft:K.scrollLeft,setTreeBufferHeight:this.handlers.tree._setTreebufferDataHandler,deleteTreeWidth:this.handlers.tree._deleteTreeWidth,width:K.treeWidth,containerClass:K.containerClass,focusedNodeID:N.domId,forceContainerFocus:K.forceContainerFocus,focusHandler:this.handlers.tree._focusHandler,clipboardCutHandler:this.handlers.tree._clipboardCutHandler,clipboardCopyHandler:this.handlers.tree._clipboardCopyHandler,clipboardPasteHandler:this.handlers.tree._clipboardPasteHandler,containerMountHandler:this.handlers.tree._containerMountHandler,containerUpdateHandler:this.handlers.tree._containerUpdateHandler,blurHandler:this.handlers.tree._blurHandler,contextMenuHandler:this.handlers.tree._contextMenuHandler,treeClickHandler:this.handlers.tree._treeClickHandler,keyHandler:this.handlers.tree._keyDownHandler,keyUpHandler:this.handlers.tree._keyUpHandler,ref:function(te){return V.containerNodeRef=te},dataTip:ie},M),k?b.createElement(i,null):null)}},{key:"buildContentNode",value:function($,W,V,K){var M={content:null,additionalDataAttributes:{}};return M.content=this.buildRenderer($,K),M}},{key:"buildPluginComponents",value:function($,W,V,K){var M=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},B=[],P=[];if(M.displayBlank)return{components:B,properties:P};var k=c.getPluginBuilderAndProperties(this._configuredPlugins,K);return k.forEach(function(H){B.push(H.builder($,V,W,M)),P.push(H.properties)}),{components:B,properties:P}}},{key:"_handleHoverAction",value:function($){if(m.isTruncated()){var W={nodeData:$.nodeData,nodeRef:$.nodeRef,hoverMode:$.hoverMode,relatedTargetNode:$.relatedTargetNode,mouseUpHandler:this.handlers.treeNode._nodeMouseUpHandler,mouseDownHandler:this.handlers.treeNode._nodeMouseDownHandler,dblClickHandler:this.handlers.treeNode._nodeDblClickHandler,clickHandler:this.handlers.treeNode._nodeClickHandler};this.handlers.treeNode._nodeHoverHandler(W)}}},{key:"_isPointerOnNode",value:function($){var W=!1,V=this._dataTipRef.current;if(V&&$){var K=$.hoverMode;if(K)W=!0;else{var M=$.relatedTarget;W=M&&M.nodeName&&V.contains(M)||!1}}return W}},{key:"buildDataTip",value:function($,W){if(this.containerNodeRef){var V=this.containerNodeRef.myContainerDiv;return b.createElement(d,{containerElm:V,tipRef:this._dataTipRef,showDataTip:W,treeNodeInfo:$})}}},{key:"buildTreeNode",value:function($,W,V,K){var M=$.value,B=this._getStylingAndClasses(M,K);K.nodeReadOnly=B.classes.includes("readonly");var P=this.buildDisclosureNode(M,W,K);V.nodeIndentation=B.nodeDataIndentation;var k=this.buildPluginComponents($,V,this.handlers,c.VIEW_COMPONENTS.TREENODE_BEFORE_CONTENT,K),H=c.getComponentAttributes(this._configuredPlugins,c.VIEW_COMPONENTS.TREENODE,$,V),Y=this._getConsumedNodeWidth(V.nodeIndentation,k.properties),G=this.buildContentNode($,V,Y,K),Q=G.content,J=N.data&&N.data.id===M.id?N.domId:null;return b.createElement(r,{key:M.data.id,classes:B.classes,rowIndex:W,node:M,additionalDataAttributes:G.additionalDataAttributes,componentsBeforeContent:k.components,content:G.content,renderer:Q,nodeDomID:J,disclosureNode:P,hoverAction:this.handleHoverAction,nodeMouseUp:this.handlers.treeNode._nodeMouseUpHandler,nodeMouseDown:this.handlers.treeNode._nodeMouseDownHandler,nodeDblClick:this.handlers.treeNode._nodeDblClickHandler,nodeClick:this.handlers.treeNode._nodeClickHandler,additionalAttributes:H,treeNodeStyle:B.style,numberOfGutters:this._numberOfGutters,noMouseInteraction:K.noMouseInteraction,isDraggingStarted:V.isDraggingStarted})}},{key:"buildRenderer",value:function($){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},V=W&&W.interactiveRenderer?W.interactiveRenderer:this.renderer;if(W.interactiveRenderer instanceof t&&this.CheckboxTreeFlag)throw new Error("Checkbox Tree and Tree with Checkbox Renderer are not allowed together!");var K=$.value,M=W.displayBlank;if(!M){var B=this.handlers.interactive_renderer,P=c.getComponentAttributes(this._configuredPlugins,c.VIEW_COMPONENTS.TREENODE_CONTENT,K),k=c.getDOMListeners(this._configuredPlugins,c.VIEW_COMPONENTS.TREENODE_CONTENT,this.handlers),H=this._viewModel.getStateByKey(I.SEARCH_NAVIGATION_DATA),Y=H?H.value:{};return b.createElement(o,{renderer:V,additionalAttributes:P,additionalListeners:k,interactiveCallback:B,config:W,shallowEqual:function(Q,J){return p.shallowEqual(Q,J)},node:$,searchNavigationData:Y})}}},{key:"buildDisclosureNode",value:function($,W){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K,M=V.displayBlank;if(!M){if($.isExpandable){var B=["disclosureIcon"];$.isExpanded?B.push("collapse"):B.push("expand"),B=B.join(" "),K=b.createElement(u,{classes:B,node:$,noMouseInteraction:V.noMouseInteraction,disclosureMouseDown:this.handlers.disclosureNode._disclosureMouseDownHandler,rowIndex:W})}return K}}},{key:"_getStylingAndClasses",value:function($){var W=this,V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=function(){var pe=W._viewModel.getStateByKey("selected");return function(ce){var te=ce.classes,ne=ce.nodeStyle,re=ce.nodeDataIndentation;if(pe&&pe.rangeList&&pe.rangeList.length>0){pe=pe.rangeList[0];var se=pe.some(function(ge){return $.id===ge.id});se&&te.push("selected")}return{classes:te,nodeStyle:ne,node:$,nodeDataIndentation:re}}},M=function(){var pe=W._viewModel.getStateByKey("contextMenuFocus");return function(ce){var te=ce.node,ne=ce.classes,re=ce.nodeStyle,se=ce.nodeDataIndentation;if(pe&&pe.value){var ge=pe.value,he=ge.some(function(fe){return fe.id===te.id});he&&(re.treeNodeData.marginLeft=re.treeNodeData.marginLeft-1,ne.push("contextFocus"))}return{classes:ne,node:te,nodeStyle:re,nodeDataIndentation:se}}},B=function(pe){var ce=W._viewModel.getStateByKey(pe);return ce?ce.value:null},P=function(){var pe=W._viewModel.getStateByKey("contextMenuFocus")?null:W._viewModel.getStateByKey("focused"),ce=B("ContainerFocused");return function(te){var ne=te.classes,re=te.node,se=te.nodeStyle,ge=te.nodeDataIndentation;if(pe&&pe.value){pe=pe.value;var he=re.id===pe.id;he&&ce&&(se.treeNodeData.marginLeft=se.treeNodeData.marginLeft-1),he&&ne.push("focused")}return{classes:ne,nodeStyle:se,node:re,nodeDataIndentation:ge}}},k=function(){return function(pe){var ce=pe.classes,te=pe.node,ne=pe.nodeStyle,re=pe.nodeDataIndentation,se=V.displayBlank;return se&&te.isExpandable?(ne.treeNodeData.marginLeft+=R,ce.push("parentNode")):te.isExpandable?(re=re+R,ce.push("parentNode")):(ce.push("leafNode"),ne.treeNodeData.marginLeft+=S,re=re+S),{classes:ce,node:te,nodeStyle:ne,nodeDataIndentation:re}}},H=function(){function pe(ce,te,ne){ne&&(ce[te]=ne)}return function(ce){var te=ce.classes,ne=ce.nodeStyle,re=ce.nodeDataIndentation,se=V&&V.readonly,ge=V.displayBlank,he=V&&V.noMouseInteraction;if(se&&te.push(l.READ_ONLY_NODE_CLASS),ge&&te.push(l.BLANK_NODE_CLASS),he&&te.push(l.NON_INTERACTIVE_NODE_CLASS),V.style){var fe=V.style,me=fe.backgroundColor,De=fe.color,Ie=fe.fontWeight,Oe=fe.fontStyle,je=fe.fontFamily,dt=fe.fontSize;ne.treeNode={},pe(ne.treeNode,"backgroundColor",me),pe(ne.treeNode,"color",De),pe(ne.treeNode,"fontWeight",Ie),pe(ne.treeNode,"fontStyle",Oe),pe(ne.treeNode,"fontFamily",je),pe(ne.treeNode,"fontSize",dt)}var yt=V.gutterColors,kt=V.strikeThrough;return kt===!0&&te.push(l.TREENODE_STRIKETHROUGH),pe(ne,"gutterColors",yt),{classes:te,nodeStyle:ne,nodeDataIndentation:re}}},Y=function(pe){var ce=pe.classes,te=pe.nodeStyle,ne=pe.nodeDataIndentation;return{classes:ce,style:te,nodeDataIndentation:ne}},G=function(){var pe=W._viewModel.getStateByKey("isInDragging");return function(ce){var te=ce.classes,ne=ce.nodeStyle,re=ce.nodeDataIndentation;if(pe&&pe.rangeList&&pe.rangeList.length>0){pe=pe.rangeList;var se=pe.some(function(he){return $.id===he.id}),ge=pe[0];se&&te.push("dragged-node"),ge.id===$.id&&(ne.treeNodeData.marginLeft=ne.treeNodeData.marginLeft+1)}return{classes:te,nodeStyle:ne,node:$,nodeDataIndentation:re}}},Q=s.compose(Y,k(),G(),P(),M(),K(),H()),J=l.TREENODE;this._numberOfGutters>0&&J.push(l.TREENODE_GUTTER);var q={treeNodeData:{marginLeft:$.level*S}},oe=q.treeNodeData.marginLeft;return Q({classes:J,nodeStyle:q,nodeDataIndentation:oe})}},{key:"_updateScrollLeftIfNeccessary",value:function($){var W=this._viewModel.viewPort.size.width,V=this._viewModel.viewPort.size.left,K;$>.5*(V+W)?K=$-.5*(V+W):$<V&&$>W?K=$:K=0,this._viewModel.viewPort.size.left=K}}]),U}();return L},A,x),A.exports=w},42565:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(52027),a(38634),a(93390),a(35861)],w=a.dj.d(T,function(e,t,s,l){var p=function(E){o(m,E);function m(y){var b;return C(this,m),b=u(this,m,[y]),b._scrollHandler=function(I){return b.props.scrollHandler(I)},b._disableUserSelectHandler=function(I){return b._handleDisableUserSelect(I)},b._getContainerRef=function(I){b.myContainerDiv=I},b._contextMenuHandler=function(I){return b._handleContextMenu(I)},b}return _(m,[{key:"_handleDisableUserSelect",value:function(b){var I=b.target&&b.target.tagName;I!=="INPUT"&&I!=="TEXTAREA"&&b.preventDefault()}},{key:"_calculateBufferTreeNodeHeight",value:function(){this.props.setTreeBufferHeight(this.myContainerDiv)}},{key:"_deleteTreeWidth",value:function(b){this.props.deleteTreeWidth(b)}},{key:"_adjustScrollTop",value:function(){var b,I={height:this.myContainerDiv&&this.myContainerDiv.clientHeight,width:this.myContainerDiv&&this.myContainerDiv.clientWidth};b=this.props.scrollTopFunc(I),b>=0&&this.myContainerDiv&&this.myContainerDiv.scrollTop!==b&&(this.myContainerDiv.scrollTop=b)}},{key:"_adjustHeight",value:function(){var b=this.props.bodyHeight(),I=this.myContainerDiv&&this.myContainerDiv.childNodes[0];I&&(I.style.height="".concat(b)+"px",I.style.maxHeight="".concat(b)+"px")}},{key:"_adjustScrollLeft",value:function(){var b=this.props.scrollLeft;this.myContainerDiv&&this.myContainerDiv.scrollLeft!==b&&(this.myContainerDiv.scrollLeft=b)}},{key:"_adjustTranslate",value:function(){var b=this.props.translateTopFunc(),I=b+"px",S=this.myContainerDiv&&this.myContainerDiv.childNodes[0].childNodes[0];S&&(S.style.transform="translateY("+"".concat(I)+")")}},{key:"_handleContextMenu",value:function(b){b.preventDefault(),this.props.contextMenuHandler(b)}},{key:"componentDidMount",value:function(){this._calculateBufferTreeNodeHeight(),this.props.containerMountHandler({treeContainerNode:this.myContainerDiv,mwTreeNode:this.mwTreeNode}),document.addEventListener("cut",this.props.clipboardCutHandler,!1),document.addEventListener("copy",this.props.clipboardCopyHandler,!1),document.addEventListener("paste",this.props.clipboardPasteHandler,!1)}},{key:"componentDidUpdate",value:function(){this._calculateBufferTreeNodeHeight(),this._adjustHeight(),this._adjustScrollTop(),this._adjustTranslate(),this._adjustScrollLeft(),this.props.disabled&&this.myContainerDiv.blur(),this.props.containerUpdateHandler(),this._deleteTreeWidth(this.myContainerDiv)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("cut",this.props.clipboardCutHandler,!1),document.removeEventListener("copy",this.props.clipboardCopyHandler,!1),document.removeEventListener("paste",this.props.clipboardPasteHandler,!1)}},{key:"render",value:function(){var b=this,I={height:this.props.bodyHeight()},S=this.props.containerClass,R=this.props.classes;e.shouldHoverBeDisabled||(S+=" hoverable"),l.isTruncated()&&(S+=" mw-truncation-enabled",R+=" mw-truncation-mode"),this.props.width&&(I.minWidth=this.props.width);var N={transform:"translateY("+this.props.translateY+"px)"};return N.WebkitTransform="translateY("+this.props.translateY+"px)",t.createElement("div",{className:S,onScroll:this._scrollHandler,onFocus:this.props.focusHandler,onBlur:this.props.blurHandler,onClick:this.props.treeClickHandler,onKeyDown:this.props.keyHandler,onKeyUp:this.props.keyUpHandler,tabIndex:this.props.tabIndex,ref:this._getContainerRef,"aria-disabled":this.props.disabled,role:s.treeContainer,"aria-activedescendant":this.props.focusedNodeID,onContextMenu:this._contextMenuHandler},t.createElement("div",{className:"mw-tree-body-component",style:I},t.createElement("div",{className:R,style:N,ref:function(L){return b.mwTreeNode=L}},this.props.children)),l.isTruncated()&&this.props.dataTip)}}]),m}(t.Component);return p},A,x),A.exports=w},26821:(A,x,a)=>{"use strict";var T,w;T=[a(38634)],w=a.dj.d(T,function(h){var C=function(f){var u=f.noMouseInteraction;return u?h.createElement(_,f):h.createElement(g,f)},g=function(f){return h.createElement("span",{className:f.classes,"data-row-index":f.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":f.node.data.id,onMouseDown:f.disclosureMouseDown},h.createElement("svg",{className:"disclosureIcon","data-disclosure-id":f.node.data.id,viewBox:"0 0 8 8","data-row-index":f.rowIndex},h.createElement("g",null,h.createElement("polygon",{points:"4 7 0 3 8 3 4 7"}))))},_=function(f){return h.createElement("span",{className:f.classes,"data-row-index":f.rowIndex,"data-test-id":"disclosureHandle","data-disclosure-id":f.node.data.id},h.createElement("span",{className:"disclosureImage","data-disclosure-id":f.node.data.id,"data-row-index":f.rowIndex}))};return C},A,x),A.exports=w},97309:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(76836),a(38634)],w=a.dj.d(T,function(e,t){"use strict";var s=function(l){o(p,l);function p(){return C(this,p),u(this,p,arguments)}return _(p,[{key:"componentDidMount",value:function(){var m=this,y=this.props,b=y.editor,I=y.node,S={firstChar:this.props.config.firstChar,height:this._editorContainer.clientHeight};for(var R in b.config)b.config.hasOwnProperty(R)&&(S[R]=b.config[R]);var N=this.props.saveUnsavedValueHandler.getValue(),O=b.type;this._editorInstance=new O(I.value.data,S),N&&(this._editorInstance.value=N),this._editorInstanceListeners=[],this._editorInstanceListeners.push(this._editorInstance.on("editComplete",function(L){m._editCompleted(L)})),this._editorInstanceListeners.push(this._editorInstance.on("editCanceled",function(L){m._editCanceled(L)})),this._editorInstanceListeners.push(this._editorInstance.on("processEdit",function(L){m._processEdit(L)})),this._mountEditor()}},{key:"componentDidUpdate",value:function(){this._editorInstance&&this._editorInstance.update&&this._editorInstance.update(this.props.node.value.data,this.props.config)}},{key:"_processEdit",value:function(m){this.props.processEditHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:m.oldValue,newValue:m.newValue})}},{key:"_editCanceled",value:function(m){this._unMountEditor(),this.props.editCancelledHandler({node:this.props.node,oldValue:m.oldValue,newValue:m.newValue,validationResult:m.validationResult}),this._refocusToPreviousNode()}},{key:"_editCompleted",value:function(m){var y=this.props.editorState===e.ACTIVE_EDIT_IN_PROGRESS&&!m.hasValueChanged;y||(this._isEditorFocused=this._editorContainer.contains(document.activeElement),this._unMountEditor(),this.props.editCompleteHandler({node:this.props.node,parentNode:this.props.parentNode,oldValue:m.oldValue,newValue:m.newValue,hasValueChanged:m.hasValueChanged}),this._refocusToPreviousNode())}},{key:"_mountEditor",value:function(){this._editorContainer.appendChild(this._editorInstance.getDomNode()),this._previousActiveNode=document.activeElement,this._editorInstance.setFocus()}},{key:"_refocusToPreviousNode",value:function(){this._previousActiveNode&&this._isEditorFocused&&this._previousActiveNode.focus()}},{key:"_unMountEditor",value:function(){this._editorInstanceListeners.forEach(function(m){m.remove()}),this._editorContainer.removeChild(this._editorContainer.firstChild),this._editorInstance.destroy(),this._editorInstance=null}},{key:"componentWillUnmount",value:function(){this._editorInstance&&(this.props.saveUnsavedValueHandler.saveValue(this._editorInstance.value),this.props.editorState===e.ACTIVE_EDIT_IN_PROGRESS?(this._unMountEditor(),this._refocusToPreviousNode()):this._editorInstance.commitValue?this._editorInstance.commitValue():this._editCompleted({oldValue:this.props.node.value.data,newValue:this.props.node.value.data,hasValueChanged:!1}))}},{key:"render",value:function(){var m=this,y={maxWidth:this.props.maxWidth+"px"},b="mw-treeNode-editor-container";return t.createElement("div",{ref:function(S){return m._editorContainer=S},className:b,style:y})}}]),p}(t.Component);return s},A,x),A.exports=w},26036:(A,x,a)=>{"use strict";var T,w;function h(){return h=Object.assign?Object.assign.bind():function(r){for(var d=1;d<arguments.length;d++){var n=arguments[d];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},h.apply(this,arguments)}function C(r,d){return u(r)||f(r,d)||_(r,d)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(r,d){if(r){if(typeof r=="string")return v(r,d);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(r,d)}}function v(r,d){(d==null||d>r.length)&&(d=r.length);for(var n=0,i=new Array(d);n<d;n++)i[n]=r[n];return i}function f(r,d){var n=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var i,o,c,e,t=[],s=!0,l=!1;try{if(c=(n=n.call(r)).next,d===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=c.call(n)).done)&&(t.push(i.value),t.length!==d);s=!0);}catch(p){l=!0,o=p}finally{try{if(!s&&n.return!=null&&(e=n.return(),Object(e)!==e))return}finally{if(l)throw o}}return t}}function u(r){if(Array.isArray(r))return r}T=[a(38634),a(93390),a(41028),a(73098),a(4621)],w=a.dj.d(T,function(r,d,n,i,o){var c=3,e=function(p){var E=p.noMouseInteraction;return E?r.createElement(s,p):r.createElement(t,p)},t=function(p){var E=r.useState(!1),m=C(E,2),y=m[0],b=m[1],I=r.useRef(null),S=p.numberOfGutters,R=p.classes,N=p.isDraggingStarted;R=R.slice(0),!N&&y&&R.push(n.TREENODE_HOVER[0]);var O=p.treeNodeStyle.treeNode||{};S&&(O.gridTemplateColumns="".concat(S*c,"px auto"));var L={handleClick:p.nodeClick,handleDoubleClick:p.nodeDblClick},U=function(H){!N&&b(!0);var Y={nodeData:p.node.data,nodeRef:I,hoverMode:!0,container:p.container,relatedTarget:H.relatedTarget};p.hoverAction(Y)},z=function(H){!N&&b(!1);var Y={nodeData:p.node.data,nodeRef:I,hoverMode:!1,container:p.container,relatedTarget:H.relatedTarget};p.hoverAction(Y)},$=function(){var H={nodeData:p.node.data,nodeRef:I,container:p.container,hoverMode:!1};p.hoverAction(H)},W=o(L),V=C(W,2),K=V[0],M=V[1],B=p.node.nodePosition&&p.node.nodePosition.nodeIndex,P=p.node.nodePosition&&p.node.nodePosition.nodeIndex;return r.createElement("div",h({className:R.join(" "),"data-row-index":p.rowIndex,style:O,"data-level-index":p.node.level,"data-test-id":p.node.data.id},p.additionalDataAttributes,p.additionalAttributes,{id:p.nodeDomID,ref:I,role:d.treeNodeItem,"aria-level":p.node.level+1,"aria-posinset":B?p.node.nodePosition.nodeIndex:null,"aria-setsize":P?p.node.nodePosition.noOfNodes:null,"aria-expanded":p.node.isExpandable?p.node.isExpanded:null,"aria-checked":p.node.check!==void 0?p.node.check:null,"aria-selected":p.classes&&p.classes.indexOf("selected")!==-1,onMouseDown:p.nodeMouseDown,onMouseUp:p.nodeMouseUp,onMouseEnter:U,onMouseLeave:z,onWheel:$,onDoubleClick:M,onClick:K}),S>0?r.createElement(i,{gutterColors:p.treeNodeStyle.gutterColors,numberOfGutters:S}):"",r.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:p.treeNodeStyle.treeNodeData},p.disclosureNode,p.componentsBeforeContent,p.content))},s=function(p){var E=p.numberOfGutters,m=p.classes;m=m.slice(0);var y=p.treeNodeStyle.treeNode||{};E&&(y.gridTemplateColumns="".concat(E*c,"px auto"));var b=p.node.nodePosition&&p.node.nodePosition.nodeIndex,I=p.node.nodePosition&&p.node.nodePosition.nodeIndex;return r.createElement("div",h({className:m.join(" "),"data-row-index":p.rowIndex,style:y,"data-level-index":p.node.level,"data-test-id":p.node.data.id},p.additionalDataAttributes,p.additionalAttributes,{id:p.nodeDomID,role:d.treeNodeItem,"aria-level":p.node.level+1,"aria-posinset":b?p.node.nodePosition.nodeIndex:null,"aria-setsize":I?p.node.nodePosition.noOfNodes:null,"aria-expanded":p.node.isExpandable?p.node.isExpanded:null,"aria-checked":p.node.check!==void 0?p.node.check:null,"aria-selected":p.classes&&p.classes.indexOf("selected")!==-1}),E>0?r.createElement(i,{gutterColors:p.treeNodeStyle.gutterColors}):"",r.createElement("div",{className:"treeNodeData","data-test-id":"nodeContentHandle",style:p.treeNodeStyle.treeNodeData},p.disclosureNode,p.componentsBeforeContent,p.content))};return e},A,x),A.exports=w},93390:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=Object.freeze({treeContainer:"tree",treeNodeItem:"treeitem"});return h},A,x),A.exports=w},5346:(A,x,a)=>{"use strict";var T,w;function h(u){return v(u)||_(u)||g(u)||C()}function C(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(u,r){if(u){if(typeof u=="string")return f(u,r);var d=Object.prototype.toString.call(u).slice(8,-1);if(d==="Object"&&u.constructor&&(d=u.constructor.name),d==="Map"||d==="Set")return Array.from(u);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return f(u,r)}}function _(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function v(u){if(Array.isArray(u))return f(u)}function f(u,r){(r==null||r>u.length)&&(r=u.length);for(var d=0,n=new Array(r);d<r;d++)n[d]=u[d];return n}T=[a(42963),a(663),a(64188),a(28154),a(38634)],w=a.dj.d(T,function(u,r,d,n,i){var o=Object.freeze({TREE:"TREE",TREENODE:"TREENODE",TREENODE_CONTENT:"TREENODE_CONTENT",TREENODE_EDITOR:"TREENODE_EDITOR",TREENODE_RENDERER:"TREENODE_RENDERER",TREENODE_BEFORE_CONTENT:"TREENODE_BEFORE_CONTENT",TREENODE_AFTER_CONTENT:"TREENODE_AFTER_CONTENT"}),c=Object.freeze({CheckboxTree:r.INTERNAL.CheckboxTree,HTMLDnD:d,DnD:n}),e=function(l,p){return p.activeEditNode&&p.activeEditNode.node.id===l.value.id?{}:{draggable:!0}},t=Object.freeze({CheckboxTree:[{viewComponentPlacement:o.TREENODE_BEFORE_CONTENT,viewComponentBuilder:function(l,p,E,m){return i.createElement(u,{key:l.value.id+"_checkbox",node:l,metadata:m,checkedHandler:p.checkboxTree.checkBoxHandler,config:E})},viewComponentEventListener:[{nameSpace:"checkboxTree",handlerName:"checkBoxHandler",eventName:"checkBoxClicked",shouldRender:!0,eventHandler:function(l){}}],viewComponentProperties:{width:19}}],HTMLDnD:[{viewComponentPlacement:o.TREENODE,viewComponentAttributes:e,viewComponentEventListener:[]}],DnD:[{viewComponentPlacement:o.TREENODE,viewComponentAttributes:e,viewComponentEventListener:[]}]});return{_getNameForPlugin:function(l){var p=Object.keys(c),E=p.filter(function(m){return c[m]===l});return E[0]},_getViewComponentForPlugin:function(l){var p=this._getNameForPlugin(l);return p?t[p]:[]},getEventListenersForPlugins:function(){var l=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(!Array.isArray(p))return[];var E=[];return p.forEach(function(m){var y=l._getViewComponentForPlugin(m);y.forEach(function(b){E.push.apply(E,h(b.viewComponentEventListener))})}),E},getPluginBuilderAndProperties:function(){var l=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],E=arguments.length>1?arguments[1]:void 0,m=[];return Array.isArray(p)?(p.forEach(function(y){var b=l._getViewComponentForPlugin(y);b.forEach(function(I){I.viewComponentPlacement===E&&m.push({builder:I.viewComponentBuilder,properties:I.viewComponentProperties})})}),m):[]},getComponentAttributes:function(){var l=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],E=arguments.length>1?arguments[1]:void 0,m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!Array.isArray(p))return{};var b={};return p.forEach(function(I){var S=l._getViewComponentForPlugin(I);S.forEach(function(R){R.viewComponentPlacement===E&&(b=R.viewComponentAttributes(m,y))})}),b},getDOMListeners:function(){var l=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],E=arguments.length>1?arguments[1]:void 0,m=arguments.length>2?arguments[2]:void 0,y=[],b={};return Array.isArray(p)?(p.forEach(function(I){var S=l._getViewComponentForPlugin(I);S.forEach(function(R){R.viewComponentPlacement===E&&(y=R.viewComponentEventListener)})}),y.forEach(function(I){b[I.DOMEventToListen]=m[I.nameSpace][I.handlerName]}),b):{}},VIEW_COMPONENTS:o}},A,x),A.exports=w},32367:(A,x,a)=>{"use strict";var T,w;function h(t){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},h(t)}function C(){return C=Object.assign?Object.assign.bind():function(t){for(var s=1;s<arguments.length;s++){var l=arguments[s];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(t[p]=l[p])}return t},C.apply(this,arguments)}function g(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function _(t,s){for(var l=0;l<s.length;l++){var p=s[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(t,f(p.key),p)}}function v(t,s,l){return s&&_(t.prototype,s),l&&_(t,l),Object.defineProperty(t,"prototype",{writable:!1}),t}function f(t){var s=u(t,"string");return h(s)=="symbol"?s:String(s)}function u(t,s){if(h(t)!="object"||!t)return t;var l=t[Symbol.toPrimitive];if(l!==void 0){var p=l.call(t,s||"default");if(h(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(t)}function r(t,s,l){return s=o(s),d(t,i()?Reflect.construct(s,l||[],o(t).constructor):s.apply(t,l))}function d(t,s){if(s&&(h(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(t)}function n(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(s){}return(i=function(){return!!t})()}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},o(t)}function c(t,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(s&&s.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),s&&e(t,s)}function e(t,s){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,E){return p.__proto__=E,p},e(t,s)}T=[a(38634),a(77330),a(35861)],w=a.dj.d(T,function(t,s,l){"use strict";var p=function(E){c(m,E);function m(){return g(this,m),r(this,m,arguments)}return v(m,[{key:"shouldComponentUpdate",value:function(b){var I=!this.props.node.isEqual(b.node)||!this.props.shallowEqual(this.props.config,b.config)||this.props.config.rendererConfig&&!this.props.shallowEqual(this.props.config.rendererConfig,b.config.rendererConfig)||this.props.config.style&&!this.props.shallowEqual(this.props.config.style,b.config.style)||this.props.searchNavigationData.id!==b.searchNavigationData.id||this.props.searchNavigationData.indexInRow!==b.searchNavigationData.indexInRow;return I=I||!1,I}},{key:"componentDidUpdate",value:function(b,I){var S=this.rendererContainer,R=this.props,N=R.renderer,O=R.node,L=this._getRendererDom(N,O),U=S.firstChild.isEqualNode(L);!U&&this.rendererContainer.replaceChild(L,S.firstChild)}},{key:"_getRendererDom",value:function(b,I){var S=this.props.node.value.highlight,R=this.props.config.readonly,N=this.props.config.noMouseInteraction,O=I.value.isExpandable,L=this.props.config.rendererConfig,U=this.props.searchNavigationData;return b.getDomNode(I.value.data,{highlight:S,readonly:R,isExpandable:O,noMouseInteraction:N,rendererConfig:L,searchNavigationData:U})}},{key:"componentDidMount",value:function(){var b=this.props,I=b.renderer,S=b.node;this.rendererContainer.appendChild(this._getRendererDom(I,S))}},{key:"_handleClick",value:function(b){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.INTERACTIVE_RENDERER_CLICK,S=this.props,R=S.renderer,N=S.node;this.props.interactiveCallback&&this.props.interactiveCallback(I,{node:N,renderer:R,evt:b})}},{key:"render",value:function(){var b=this,I=this.props.config&&this.props.config.maxWidth?{maxWidth:this.props.config.maxWidth}:{},S=l.isTruncated()?"mw-treeNode-renderer-container mw-treeNode-renderer-container-truncate":"mw-treeNode-renderer-container",R=function(O){return b._handleClick(O)};return t.createElement("span",C({style:I},this.props.additionalAttributes,this.props.additionalListeners,{ref:function(O){return b.rendererContainer=O},onClick:R,className:S}))}}]),m}(t.Component);return p},A,x),A.exports=w},23645:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(38634),a(89989),a(64986),a(31063),a(52671),a(37999),a(879),a(75845),a(67287),a(73312),a(5346),a(39057),a(99544),a(4621),a(35861),a(41028),a(37899),a(77330),a(72863)],w=a.dj.d(T,function(u,r,d,n,i,o,c,e,t,s,l,p,E,m,y,b,I,S,R){var N=function(){return{value:{}}},O=16,L=2,U=function(){function z($,W){var V=this,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},M=arguments.length>3?arguments[3]:void 0;C(this,z),this._viewModel=$,this._viewEventHandler=new d,this._rootDom=W,this._listeners=[],K.designTimeEventsConfig?(this._EVENTS_CONFIG=s.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=s.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDesignTimeEventsTargetEditable,this._designTimeReadOnly=this._isNodeReadOnly):(this._EVENTS_CONFIG=t.TREE_EVENTS,this._EDIT_EVENTS_CONFIG=t.EDIT_TREE_EVENTS,this._isTargetEditable=this._isDefaultEventsTargetEditable);var B={disclosureNode:{},treeNode:{},tree:{},interactive_renderer:{}};B.disclosureNode._disclosureMouseDownHandler=function(P){return V._handleDisclosureNodeLeftMouseDownEvent(P,function(k){return V._handleDisclosureMouseDown(k)})},B.treeNode._nodeMouseDownHandler=function(P){return V._handleMouseDownEvents(P,function(k,H){return V._handleNodeMouseDown(k,H)})},B.treeNode._nodeClickHandler=function(P){return V._handleNodeClick(P)},B.treeNode._nodeDblClickHandler=function(P){return V._handleNodeDoubleClick(P)},B.treeNode._nodeHoverHandler=function(P){return V._handleHoverToggle(P)},B.tree._keyDownHandler=function(P){return V._handleKeyDown(P)},B.tree._keyUpHandler=function(P){return V._handleKeyUp(P)},B.tree._scrollHandler=function(P){return V._handleScroll(P)},B.tree._clipboardCutHandler=function(P){return V._handleCut(P)},B.tree._clipboardCopyHandler=function(P){return V._handleCopy(P)},B.tree._clipboardPasteHandler=function(P){return V._handlePaste(P)},B.tree._focusHandler=function(P){return V._handleFocus(P)},B.tree._containerMountHandler=function(P){return V._handleContainerMount(P)},B.tree._containerUpdateHandler=function(){return V._handleContainerUpdate()},B.tree._blurHandler=function(P){return V._handleBlur(P)},B.tree._contextMenuHandler=function(P){return V._handleContextMenu(P)},B.tree._treeClickHandler=function(P){return V._handleTreeClick(P)},B.tree._setTreebufferDataHandler=function(P){return V.setTreeBufferData(P)},B.tree._deleteTreeWidth=function(P){V.deleteTreeWidth(P)},B.interactive_renderer=function(P,k){return V._handleInteractiveRendererEvent(P,k)},this.handlers=B,this._handlePluginEvents(M),this.treeBuilder=this.createTreeBuilder(K,M),this._throttledHandleKeyNavigation=e.throttle(this._handleKeyNavigation,O)}return _(z,[{key:"_isDesignTimeEventsTargetEditable",value:function(W){return!(W.target.attributes["data-editor"]||this._isNodeReadOnly(W))}},{key:"_isDefaultEventsTargetEditable",value:function(W){return W.target.attributes["data-region"]&&!this._isNodeReadOnly(W)}},{key:"deleteTreeWidth",value:function(W){var V=W&&!this._hasHorizontalScrollBar(W);V&&this._viewModel.deleteState("treeWidth")}},{key:"_handlePluginEvents",value:function(){var W=this,V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],K=l.getEventListenersForPlugins(V);K.forEach(function(M){W.handlers[M.nameSpace]=W.handlers[M.nameSpace]?W.handlers[M.nameSpace]:{},W.handlers[M.nameSpace][M.handlerName]=function(B){var P={eventToEmit:M.eventName,eventProperties:B,eventCallback:function(){M.eventHandler(this._viewModel,B),M.shouldRender&&this.render()}.bind(W)};W._viewEventHandler.handleEvent(P)}})}},{key:"_handleContextMenu",value:function(W){var V=W.button===L;V?this._handleRightClick(W):this._handleKeyboardContextMenu()}},{key:"createTreeBuilder",value:function(W,V){return new p(this._viewModel,this.handlers,W,V)}},{key:"_handleCopy",value:function(W){if(this._isContainerActive()){var V=this._viewEventHandler.handleEvent,K={eventToEmit:S.CLIPBOARD_COPY,eventProperties:W,handleEvent:V,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(K)}}},{key:"_handleCut",value:function(W){if(this._isContainerActive()){var V=this._viewEventHandler.handleEvent,K={eventToEmit:S.CLIPBOARD_CUT,eventProperties:W,handleEvent:V,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(K)}}},{key:"_handlePaste",value:function(W){if(this._isContainerActive()){var V=this._viewEventHandler.handleEvent,K={eventToEmit:S.CLIPBOARD_PASTE,eventProperties:W,handleEvent:V,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(K)}}},{key:"_isContainerActive",value:function(){var W=this._rootDom.contains(document.activeElement);return W}},{key:"_handleFocus",value:function(W){this._viewModel.setState("ContainerFocused",!0),this._viewModel.deleteState("NodeHover"),this.render()}},{key:"_handleContainerMount",value:function(W){this._viewModel.setState("treeContainerNode",W.treeContainerNode);var V={treeContainerNode:W.treeContainerNode,mwTreeNode:W.mwTreeNode},K={eventToEmit:"containerMount",eventProperties:V,eventCallback:function(){}};this._viewEventHandler.handleEvent(K)}},{key:"_handleContainerUpdate",value:function(W){var V=this._viewModel.getStateByKey("treeContainerNode");V=V?V.value:null,V&&(this._viewModel.viewPort.size.width=V.clientWidth);var K={eventToEmit:"containerUpdate",eventProperties:null,eventCallback:function(){}};this._viewEventHandler.handleEvent(K)}},{key:"_handleBlur",value:function(W){this._viewModel.deleteState("ContainerFocused"),this.render()}},{key:"_handleHoverToggle",value:function(W){this._viewModel.setState("NodeHover",W),this.render()}},{key:"_hasVerticalScrollBar",value:function(W){var V=W.scrollHeight,K=W.clientHeight;return V>K}},{key:"_hasHorizontalScrollBar",value:function(W){var V=W.scrollWidth,K=W.clientWidth;return V>K}},{key:"_handleScroll",value:function(W){var V={clientHeight:W.currentTarget.clientHeight,scrollTop:W.currentTarget.scrollTop,scrollLeft:W.currentTarget.scrollLeft,clientWidth:W.currentTarget.clientWidth,scrollWidth:W.currentTarget.scrollWidth,scrollHeight:W.currentTarget.scrollHeight};this._hasVerticalScrollBar(W.currentTarget)&&!y.isTruncated()&&this.setTreeWidthProperty(V.scrollWidth),this._hasHorizontalScrollBar(W.currentTarget)&&!y.isTruncated()&&(this._viewModel.viewPort.size.height=V.clientHeight);var K=this._viewModel.getStateByKey("shouldScrollOnKeyPressed");if(K&&K.value){var M={eventToEmit:"treeScrollOnKeyPressed",eventProperties:V,eventCallback:function(){}};this._viewEventHandler.handleEvent(M)}var B=this._viewModel.viewPort.size.height!==V.clientHeight||Math.round(this._viewModel.viewPort.size.top)!==Math.round(V.scrollTop),P=this._viewModel.viewPort.size.width!==V.clientWidth||Math.round(this._viewModel.viewPort.size.left)!==Math.round(V.scrollLeft);if(B||P){var k={eventToEmit:"treeScroll",eventProperties:V,eventCallback:function(){c.updateDataBuffer(this._viewModel),this.render()}.bind(this)};this._viewEventHandler.handleEvent(k)}}},{key:"_isNodeTargetWhiteSpace",value:function(W){return!(this._isDisclosureTarget(W)||this._isTargetNodeRenderer(W))}},{key:"_handleRightClick",value:function(W){for(var V=W.target,K=V.tagName,M=V;!V.classList.contains("treeNode");)if(V=V.parentNode,K=V.tagName,K==="BODY"){M=null;break}var B={},P,k={},H=this._isNodeTargetWhiteSpace(W);if(M){var Y=V.attributes["data-row-index"].nodeValue;P=this._data(parseInt(Y))(0).value,k=this._metadata(Y).value,B={type:"TREENODE",nodeId:P.id,isWhiteSpace:H}}else B={type:"TREE",isWhiteSpace:!0};var G={top:W.pageY,left:W.pageX,node:P,metadata:k,emitTarget:B},Q=!k.noMouseInteraction&&this._EVENTS_CONFIG.contextMenuClick;if(Q){var J={eventToEmit:Q,eventProperties:G,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(J)}}},{key:"isFocusedNodeInTheView",value:function(){var W=this._rootDom.querySelector(".treeNode.focused"),V=this._rootDom.querySelector(".focused").getBoundingClientRect();if(W){var K=W.getBoundingClientRect();return!(K.top>V.bottom||K.bottom<V.top)}else return!1}},{key:"_handleKeyboardContextMenu",value:function(){var W=this._EVENTS_CONFIG.keyboardContextMenu,V=this._rootDom.querySelector(".treeNode.focused"),K={};if(V){var M=V.attributes["data-row-index"].nodeValue;K=this._metadata(M).value}var B=this._rootDom.querySelector(".focused").getBoundingClientRect(),P={focusedDomNodePosition:V&&V.getBoundingClientRect(),treeContainerPosition:B,metadata:K};if(W){var k={eventToEmit:W,eventProperties:P,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(k)}}},{key:"registerEventCallback",value:function(W,V){this._viewEventHandler.registerEventListeners(W,V)}},{key:"setTreeBufferData",value:function(W){for(var V=W.querySelectorAll("."+"".concat(b.TREENODE)),K=[],M=0;M<V.length;M++){var B=V[M].offsetHeight;B=B||R.nodeHeight;var P=Number(V[M].getAttribute("data-row-index")),k={index:P,height:B};K.push(k)}this._viewModel.setState("bufferDataRendererd",K)}},{key:"setDisableState",value:function(W){this._viewModel.setState(I.TREE_DISABLED,W),this.render()}},{key:"getDisableState",value:function(){var W=this._viewModel.getStateByKey(I.TREE_DISABLED);return!!(W&&W.value)}},{key:"setTreeWidthProperty",value:function(W){var V=this._viewModel.getStateByKey("treeWidth");V=V?V.value:null,V<W&&this._viewModel.setState("treeWidth",W)}},{key:"_handleKeyDown",value:function(W){var V={keyCode:W.keyCode,metaKey:W.metaKey,ctrlKey:W.ctrlKey,shiftKey:W.shiftKey,altKey:W.altKey};switch(V.keyCode){case n.ARROW_UP:case n.ARROW_DOWN:case n.PAGE_UP:case n.PAGE_DOWN:case n.ARROW_RIGHT:case n.ARROW_LEFT:case n.SPACE:case n.HOME:case n.END:{W.preventDefault();var K=W.ctrlKey||W.metaKey?this._EVENTS_CONFIG.keyDownMetaNavigation:W.shiftKey?this._EVENTS_CONFIG.keyDownRangeNavigation:this._EVENTS_CONFIG.keyDownNavigation;if(!K)return;this._throttledHandleKeyNavigation(K,V);break}case n.DELETE:case n.BACKSPACE:{if(W.preventDefault(),W.ctrlKey||W.metaKey||W.shiftKey)return;this._handleDelete(V);break}case n.X:case n.C:case n.V:{this._handleCCPEvent(W);break}}}},{key:"_handleCCPEvent",value:function(W){var V=this._viewEventHandler.handleEvent,K={eventToEmit:S.CCP_KEY_PRESSED,eventProperties:W,nextActionEvent:"",handleEvent:V,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(K)}},{key:"_handleKeyNavigation",value:function(W,V){this.viewModelUpdateInProgress=!0;var K=this._EVENTS_CONFIG.treeKeyPressed,M=this._viewEventHandler.handleEvent,B={eventToEmit:K,eventProperties:V,nextActionEvent:W,handleEvent:M,eventCallback:function(){this.viewModelUpdateInProgress=!1;var P=this._viewModel.getStateByKey("nodeHeightInPx").value,k=this._viewModel.getStateByKey("shouldScroll");k&&k.value&&(this._viewModel.viewPort.size.top=this._viewModel.viewPort.rangeList[0].rows.start*P,this._viewModel.deleteState("shouldScroll")),this._viewModel.setState("forceContainerFocus",!0),this.render()}.bind(this)};this._viewEventHandler.handleEvent(B)}},{key:"_handleKeyUp",value:function(W){var V={keyCode:W.keyCode,metaKey:W.metaKey,ctrlKey:W.ctrlKey,shiftKey:W.shiftKey,altKey:W.altKey};switch(V.keyCode){case n.SPACE:{W.preventDefault();var K=V.ctrlKey||V.metaKey||V.shiftKey||V.altKey?null:this._EVENTS_CONFIG.keyUp;if(!K)return;var M={eventToEmit:K,eventProperties:V,eventCallback:function(){}};this._viewEventHandler.handleEvent(M);break}}}},{key:"_handleDelete",value:function(W){var V=this._EVENTS_CONFIG.deleteAction,K=this._EVENTS_CONFIG.treeKeyPressed,M=this._viewEventHandler.handleEvent,B={eventToEmit:K,eventProperties:W,nextActionEvent:V,handleEvent:M,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(B)}},{key:"_isInDragMode",value:function(){return this._viewModel.getStateByKey("isInDragging")&&this._viewModel.getStateByKey("isInDragging").value}},{key:"_endingDnD",value:function(){this._viewModel.getStateByKey("dndEnds")&&this._viewModel.setState("dndEnds",{})}},{key:"_isDisclosureTarget",value:function(W){var V=W.target,K=V?V.parentElement:null,M=K?K.parentElement:null;return V&&V.hasAttribute("data-disclosure-id")||K&&K.hasAttribute("data-disclosure-id")||M&&M.hasAttribute("data-disclosure-id")}},{key:"_isTargetNodeRenderer",value:function(W){var V=W.target,K=V.classList.contains("treeNodeData")||V.classList.contains("treeNode");return!K}},{key:"_isDnDNotInProgress",value:function(W){return!this._viewModel.getStateByKey("dndEnds")||this._viewModel.getStateByKey("dndEnds")&&!this._viewModel.getStateByKey("dndEnds").value[W.target]}},{key:"_isNodeReadOnly",value:function(W){return W.currentTarget.classList.contains("readonly")}},{key:"_handleNodeDoubleClick",value:function(W){if(!this._isDisclosureTarget(W)){var V=this._EVENTS_CONFIG.dblClick,K=this._EVENTS_CONFIG.nodeDoubleClicked;W.currentTarget.removeAttribute("data-can-edit");var M=this._isTargetCheckBox(W);if(!(this._designTimeReadOnly&&this._designTimeReadOnly(W))){var B=this._buildDoubleClickHandlerObject(V,W),P={eventToEmit:K,isTargetCheckbox:M,eventProperties:B,eventCallback:function(){this.render()}.bind(this)};this._viewEventHandler.handleEvent(P)}}}},{key:"_buildDoubleClickHandlerObject",value:function(W,V){var K=this,M=Number(V.currentTarget.getAttribute("data-row-index")),B=this._data(parseInt(M))(0).value,P=this._metadata?this._metadata:function(k){return{value:{}}};return P=P(M).value,{node:B,defaultFn:function(){var H={node:B,metadata:P,altKey:V.altKey,metaKey:V.metaKey,ctrlKey:V.ctrlKey,shiftKey:V.shiftKey,nodeIndex:parseInt(M)},Y={eventToEmit:W,eventProperties:H,eventCallback:function(){this.render()}.bind(K)};K._viewEventHandler.handleEvent(Y)}}}},{key:"_handleDisclosureNodeLeftMouseDownEvent",value:function(W,V){W.button===i.MOUSE_LEFT_BUTTON&&V(W)}},{key:"_handleMouseDownEvents",value:function(W,V){var K=this._EVENTS_CONFIG.nodeMouseDown,M=this._EVENTS_CONFIG.rightClick;W.button===i.MOUSE_LEFT_BUTTON?V(W,K):M&&W.button===i.MOUSE_RIGHT_BUTTON&&V(W,M)}},{key:"_handleDisclosureMouseDown",value:function(W){W.stopPropagation();var V=W.currentTarget.attributes["data-row-index"].nodeValue,K=this._data(parseInt(V))(0).value,M={node:K,nodeIndex:parseInt(V)},B={eventToEmit:"treeDisclosureMouseDown",eventProperties:M,eventCallback:function(){}};this._viewEventHandler.handleEvent(B)}},{key:"_isTargetCheckBox",value:function(W){var V=W.currentTarget.querySelector(".mw-checkbox-tree"),K=V&&V.contains(W.target);return K}},{key:"_handleNodeMouseDown",value:function(W,V){var K=W.currentTarget.attributes["data-row-index"].nodeValue,M=this._isTargetCheckBox(W),B=this._data(parseInt(K))(0).value,P={node:B,isTargetCheckBox:M,altKey:W.altKey,metaKey:W.metaKey,ctrlKey:W.ctrlKey,shiftKey:W.shiftKey,nodeIndex:parseInt(K)},k={eventToEmit:V,eventProperties:P,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(k)}},{key:"_handleTreeClick",value:function(W){var V=W.target.classList.contains("mw-tree-scroll-component");if(V){var K=this._EVENTS_CONFIG.treeClick,M={top:W.pageY,left:W.pageX,target:{type:"TREE"}},B={eventToEmit:K,eventProperties:M,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(B)}}},{key:"_handleNodeClick",value:function(W){if(!this._isDisclosureTarget(W)){var V=W.currentTarget.attributes["data-row-index"].nodeValue,K=this._data(parseInt(V)),M=this._isTargetCheckBox(W);if(K){var B=K(0).value,P={node:B,isTargetCheckBox:M,altKey:W.altKey,metaKey:W.metaKey,ctrlKey:W.ctrlKey,shiftKey:W.shiftKey,nodeIndex:parseInt(V)},k={eventToEmit:"treeNodeMouseClick",eventProperties:P,eventCallback:function(){this._viewModel.deleteState("NodeHover"),this.render()}.bind(this)};this._viewEventHandler.handleEvent(k)}}}},{key:"_handleInteractiveRendererEvent",value:function(W,V){var K={eventToEmit:W,eventProperties:V,eventCallback:function(){}};this._viewEventHandler.handleEvent(K)}},{key:"initialize",value:function(W){var V=this,K=this._rootDom.clientHeight,M=this._viewModel.getStateByKey("nodeHeightInPx").value;if(K===0&&this._rootDom.offsetParent!==null){var B=W();K=B*M,this._viewModel.setState(I.CONTAINER_HEIGHT,!1)}var P=Math.floor(K/M);this._viewModel.viewPort={size:{left:0,top:0,width:this._rootDom.clientWidth,height:K},rangeList:[o.range().setRows(0,P-1).setColumns(0,0)]};var k=this._viewModel.on("updateView",function(){V.render()}),H=this._viewModel.on("viewDataChanged",function(G){var Q=G.viewData,J=G.rowMetaData||[N];V._viewModel.setState("currentViewPortData",Q[0]),V._viewModel.setState("currentViewPortMetaData",J[0]),V.render(Q[0],J[0])}),Y=this._viewModel.on("dataSizeChanged",function(G){V._viewModel.deleteState("treeWidth");var Q=V._viewModel.getStateByKey(I.CONTAINER_HEIGHT);Q=Q&&Q.value,Q===!1&&(K=c.getHeightForDataSize(V._viewModel,G.dataSize.rows.count),V._viewModel.viewPort.size.height=K,c.calculateAndUpdateLogicalViewPort(V._viewModel,V._viewModel.viewPort.size),c.updateDataBuffer(V._viewModel,{canReduceBufferRange:!0})),V.render()});this._listeners.push(k),this._listeners.push(H),this._listeners.push(Y),c.updateDataBuffer(this._viewModel,{isInitialRequest:!0})}},{key:"resize",value:function(W,V){this._viewModel.deleteState("containerHeight");var K,M;K=W||this._rootDom.clientHeight,M=V||this._rootDom.clientWidth,this._viewModel.viewPort.size.width=M,this._viewModel.viewPort.size.height=K,c.calculateAndUpdateLogicalViewPort(this._viewModel,this._viewModel.viewPort.size),c.updateDataBuffer(this._viewModel,{canReduceBufferRange:!0}),this.render()}},{key:"scrollTo",value:function(W){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},K={treeNodeScroll:W};this._emitProgrammaticScrollEvt(K,V)}},{key:"scrollToPosition",value:function(W){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){},K={position:W};this._emitProgrammaticScrollEvt(K,V)}},{key:"getScrollComponentDimensions",value:function(){var W=this._rootDom.childNodes[0].scrollHeight,V=this._rootDom.childNodes[0].scrollWidth,K=this._rootDom.childNodes[0].scrollTop,M=this._rootDom.childNodes[0].scrollLeft,B=this._rootDom.childNodes[0].clientWidth,P=this._rootDom.childNodes[0].clientHeight;return{scrollHeight:W,scrollWidth:V,scrollTop:K,scrollLeft:M,clientWidth:B,clientHeight:P}}},{key:"executeAction",value:function(W){switch(W){case"DELETE":this._handleDelete();break;default:break}}},{key:"_emitProgrammaticScrollEvt",value:function(W){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};this.viewModelUpdateInProgress=!0;var K={eventToEmit:"treeProgrammaticScroll",eventProperties:W,eventCallback:function(){this.viewModelUpdateInProgress=!1,c.isViewPortRangeInDataBuffer(this._viewModel)?this.render():c.updateDataBuffer(this._viewModel),V()}.bind(this)};this._viewEventHandler.handleEvent(K)}},{key:"scrollToIndex",value:function(W){var V={nodeIndex:W};this._emitProgrammaticScrollEvt(V)}},{key:"render",value:function(W){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:N;if(W&&(this._data=W,this._metadata=V),!this.viewModelUpdateInProgress){var K=this.treeBuilder.buildTree(this._data,this._metadata);r.render(K,this._rootDom)}}},{key:"destroy",value:function(){m.handleRemoveTimers(),this._listeners.forEach(function(W){W.remove()}),r.unmountComponentAtNode(this._rootDom)}}]),z}();return U},A,x),A.exports=w},42963:(A,x,a)=>{"use strict";var T,w;function h(e){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var s=0;s<t.length;s++){var l=t[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,v(l.key),l)}}function _(e,t,s){return t&&g(e.prototype,t),s&&g(e,s),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=f(e,"string");return h(t)=="symbol"?t:String(t)}function f(e,t){if(h(e)!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var l=s.call(e,t||"default");if(h(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function u(e,t,s){return t=i(t),r(e,n()?Reflect.construct(t,s||[],i(e).constructor):t.apply(e,s))}function r(e,t){if(t&&(h(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!e})()}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)},i(e)}function o(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,p){return l.__proto__=p,l},c(e,t)}T=[a(21255),a(38634)],w=a.dj.d(T,function(e,t){"use strict";var s=function(l){o(p,l);function p(){return C(this,p),u(this,p,arguments)}return _(p,[{key:"componentDidUpdate",value:function(){this.props.node.value.check?this.tristateCB.checked=this.props.node.value.check:this.tristateCB.checked=!1,this._updateStateOnTriState(this.props.metadata),this.tristateCB.tabIndex=-1}},{key:"componentDidMount",value:function(){var m=this;this.tristateCB=e({checked:this.props.node.value.check||!1}),this._updateStateOnTriState(this.props.metadata),this.tristateCB["aria-label"]=this.props.node.value.label,this.changeListener=this.tristateCB.on("change",function(y){y.node=m.props.node,m.props.checkedHandler(y)}),this.checkboxContainer.appendChild(this.tristateCB),this.tristateCB.tabIndex=-1}},{key:"componentWillUnmount",value:function(){this.changeListener.remove()}},{key:"_updateStateOnTriState",value:function(m){if(m){var y=!!(m.readonly||m.disabled||m.noMouseInteraction);this.tristateCB.disabled=y}}},{key:"_mouseDownHandler",value:function(m){m.preventDefault()}},{key:"_doubleClickHandler",value:function(m){this.tristateCB.disabled||(m.preventDefault(),m.stopPropagation())}},{key:"render",value:function(){var m=this;return t.createElement("span",{className:"mw-checkbox-tree",onMouseDown:this._mouseDownHandler,onDoubleClick:this._doubleClickHandler.bind(this),ref:function(b){return m.checkboxContainer=b}})}}]),p}(t.Component);return s},A,x),A.exports=w},4621:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h=250,C=[],g=function _(v){var f=function(d){var n=d.currentTarget;d.persist(),C.push(setTimeout(function(){d.currentTarget=n,v.handleClick(d)},h))},u=function(d){_.handleRemoveTimers(),v.handleDoubleClick(d)};return[f,u]};return g.handleRemoveTimers=function(){for(;C.length>0;)clearTimeout(C.pop())},g},A,x),A.exports=w},48970:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h=Object.freeze({FIRST_NODE:{},LAST_NODE:{}});return h},A,x),A.exports=w},21458:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(60591),a(37999)],w=a.dj.d(T,function(u,r){"use strict";var d=function(e,t){var s=[],l=[];if(t.length===0)l=e.slice(0);else{if(e.forEach(function(y){if(y.start>=t.length||y.end>=t.length)throw new Error("RangeIndex exceeds dataIndexMap size");var b=t.slice(y.start,y.end+1);s=s.concat(b)}),s.length===0)return[];s.sort(function(y,b){return y-b});var p={start:s[0],end:s[0]};l.push(p);for(var E=1;E<s.length;E+=1){var m=s[E];p.end+1===m||p.end===m?p.end=m:(p={start:m,end:m},l.push(p))}}return l},n=function(e,t){var s=[],l=e.map(function(E){return E.columns}),p=d(l,t);return s=s.concat(p.map(function(E){return r.range().setColumns(E.start,E.end).setRows(e[0].rows.start,e[0].rows.end)})),s},i=function(e,t,s){var l=n([e],s),p=[];return l.forEach(function(E){for(var m=!1,y=0;y<t.length;y+=1)if(r.isRangeInside(E,t[y])){m=!0,p.push(y);break}if(!m)throw new Error("Data Range to view range mapping not found")}),p},o=function(){function c(){C(this,c),this._viewColumnIndexToDataIndex=[]}return _(c,[{key:"viewColumnIndexToDataIndex",get:function(){return this._viewColumnIndexToDataIndex},set:function(t){this._viewColumnIndexToDataIndex=t}},{key:"viewToModelRangeMapping",value:function(t){var s=this,l=[],p=r.groupRangeListByRow(t);return p.forEach(function(E){var m=n(E,s.viewColumnIndexToDataIndex);l=l.concat(m)}),l}},{key:"modelToViewDataMapping",value:function(){var t=this,s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s,p=arguments.length>2?arguments[2]:void 0,E=[],m=s.map(function(y){return y.range});return p.forEach(function(y,b){var I;I=i(y,m,t.viewColumnIndexToDataIndex),I.sort(function(O,L){return s[O].range.columns.start-s[L].range.columns.start});var S=[];E[b]=function(O){if(O<S.length)return S[O];throw new Error("No Data Found for rowIndex: "+O)},E[b].range=y;for(var R=y.rows.start;R<=y.rows.end;R+=1){var N=c._createRow(R,I,s,l,t.viewColumnIndexToDataIndex);S[R]=N}}),E}},{key:"viewToDataIndex",value:function(t){var s=this.viewColumnIndexToDataIndex;return s.length>0?s[t]:t}}],[{key:"_createRow",value:function(t,s,l,p,E){var m=s.map(function(y){var b=l[y],I=[];return p&&(I=p[y]),{start:b.range.columns.start,end:b.range.columns.end,cells:b[t],metaData:I[t]||[]}});return u(m,E)}}]),c}();return o},A,x),A.exports=w},85026:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";var u=function(){function d(n,i){C(this,d),this._next=null,this._prev=null,this._value=i,this._key=n}return _(d,[{key:"next",get:function(){return this._next},set:function(i){this._next=i}},{key:"prev",get:function(){return this._prev},set:function(i){this._prev=i}},{key:"isLast",get:function(){return this._next===null}},{key:"isFirst",get:function(){return this._prev===null}},{key:"key",get:function(){return this._key}},{key:"value",get:function(){return this._value}}]),d}(),r=function(){function d(){C(this,d),this._root=null}return _(d,[{key:"root",get:function(){return this._root}},{key:"insert",value:function(i,o){var c=new u(i,o);return this._root!==null&&(this._root.prev=c,c.next=this._root),this._root=c,c}},{key:"find",value:function(i){if(this._root===null)return null;for(var o=this._root;o;){if(o.key===i)return o;o=o.next}return null}},{key:"forEach",value:function(i){if(this._root!==null)for(var o=this._root;o;)i(o),o=o.next}},{key:"removeWithKey",value:function(i){var o=this.find(i);this.remove(o)}},{key:"remove",value:function(i){i&&(i.isFirst?(this._root=i.next,this.root&&!this.root.isLast&&(i.next.prev=null)):i.isLast?i.prev.next=null:(i.prev.next=i.next,i.next.prev=i.prev))}}]),d}();return r},A,x),A.exports=w},60591:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};return function(C,g){if(C.length<0)throw new Error("No rowData Present");var _=function v(f){var u;g.length===0?u=f:u=g[f];var r=v._lastAccessRowDataIndex;do{if(u>=C[r].start&&u<=C[r].end)return{value:C[r].cells[u],metaData:C[r].metaData[u]||h,isEqual:function(n){return n.value===this.value&&n.metaData===this.metaData}};r+=1,r=r%C.length}while(r!==v._lastAccessRowDataIndex);throw new Error("No Data Found for cellIndex: "+f)};return _._lastAccessRowDataIndex=0,_._rowData=C,_._dataIndexMap=g,_.isEqual=function(v){if(v._rowData.length!==C.length||g!==v._dataIndexMap)return!1;for(var f=0;f<=C.length;f+=1)if(_._rowData[f].data!==C[f].data)return!1;return!0},_}},A,x),A.exports=w},9253:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[a(85026),a(21458),a(361),a(37999)],w=a.dj.d(T,function(u,r,d,n){"use strict";var i=function(){function o(c){C(this,o),this._stateCategoryIndex={},this._stateRangeIndex=new u,this._events={},this._columnDataMapper=new r,this._rowDataMapper=new r,this._dataModel=c,this._viewColumnRange=c,this._rowMetaData=new d({rankType:"row",dataViewMapper:this._rowDataMapper}),this._columnMetaData=new d({rankType:"column",dataViewMapper:this._columnDataMapper}),this._columnSpanningMetaData=new d({rankType:"column",dataViewMapper:this._columnDataMapper}),this._dataMapper=new r,this._dataModel=c,this._viewColumnRange=c.dataSize.columns,this._ownedListeners=[],this.setColumnHeaders([]),this._manageDataModelPaging=this._dataModel.managePaging.bind(this._dataModel),this._addOwnListeners(this._dataModel.on("pagedDataChanged",this._handlePagedDataChanged.bind(this))),this._addOwnListeners(this._dataModel.on("dataSizeChanged",this._emitDataSizeChanged.bind(this)))}return _(o,[{key:"_viewColumnRange",get:function(){return this._viewColumnObject.dataSize.columns},set:function(e){this._viewColumnObject=e}},{key:"setRowMetaData",value:function(e,t,s){this._rowMetaData.setViewMetaData(e,t,s),this._emitViewDataChanged()}},{key:"deleteRowMetaData",value:function(e,t){this._rowMetaData.deleteViewMetaData(e,t),this._emitViewDataChanged()}},{key:"setColumnMetaData",value:function(e,t,s){this._columnMetaData.setViewMetaData(e,t,s),this._emitViewDataChanged()}},{key:"deleteColumnMetaData",value:function(e,t){this._columnMetaData.deleteViewMetaData(e,t),this._emitViewDataChanged()}},{key:"_emitDataSizeChanged",value:function(){this._emit("dataSizeChanged",{dataSize:this.dataSize})}},{key:"_handlePagedDataChanged",value:function(e){var t=this.getStateByKey("viewBuffer");t&&(this._viewData=this._columnDataMapper.modelToViewDataMapping(e.pagedData,e.cellMetaData,t.rangeList),this._rowMetaData.setRangeList(t.rangeList),this._columnMetaData.setRangeList(t.rangeList),this._columnMetaData.setDataMetaData(e.columnMetaData),this._rowMetaData.setDataMetaData(e.rowMetaData),this._columnSpanningMetaData=e.columnSpanningMetaData,this._emitViewDataChanged())}},{key:"_emitViewDataChanged",value:function(){var e=this.getStateByKey("viewBuffer");if(e){var t=this._columnMetaData.getUnifiedMetaData(),s=this._rowMetaData.getUnifiedMetaData(),l=this._columnMetaData.getMetaDataRangeList(),p=this._rowMetaData.getMetaDataRangeList();if(this._viewData&&this._viewData.length===l.length&&this._viewData.length===p.length){for(var E=0;E<this._viewData.length;E+=1){var m=this._viewData[E].range,y=l[E],b=p[E];if(m.columns.start!==y.columns.start||m.columns.end!==y.columns.end||m.rows.start!==b.rows.start||m.rows.end!==b.rows.end)return}this._emit("viewDataChanged",{viewData:this._viewData,columnMetaData:t,rowMetaData:s,rangeList:e.rangeList,columnSpanningMetaData:this._columnSpanningMetaData})}}}},{key:"viewBuffer",get:function(){var e=this.getStateByKey("viewBuffer");return{size:e.value,rangeList:e.rangeList}},set:function(e){var t=e.size,s=e.rangeList,l=s.slice(),p=this._columnDataMapper.viewToModelRangeMapping(l);this.setState("viewBuffer",t,l),this._manageDataModelPaging(p)}},{key:"viewPort",get:function(){var e=this.getStateByKey("viewPort");return{size:e.value,rangeList:e.rangeList}},set:function(e){var t=e.size,s=e.rangeList;this.setState("viewPort",t,s)}},{key:"dataSize",get:function(){var e=n.range();return e=e.setColumns(this._viewColumnRange.start,this._viewColumnRange.end),e=e.setRows(this._dataModel.dataSize.rows.start,this._dataModel.dataSize.rows.end),e}},{key:"sort",value:function(e){for(var t=[],s=0;s<e.length;s+=1){var l=e[s];if(l.columnIndex<this.dataSize.columns.start||l.columnIndex>this.dataSize.columns.end)throw new Error("columnIndex is out of bounds");var p={columnIndex:this._columnDataMapper.viewToDataIndex(l.columnIndex),order:l.order,compare:l.compare};t.push(p)}this._dataModel.sort(t)}},{key:"setColumnHeaders",value:function(e){if(!e||e.length===0){if(this._columnDataMapper.viewColumnIndexToDataIndex=[],this._viewColumnRange=this._dataModel,this._dataModel.setHeaders)this._dataModel.setHeaders(e);else{var t=[n.range().setColumns(0,-1).setRows(0,1/0)];this.setState("columnHeaders",[],t)}this._columnMetaData.setViewHeaders([]),this._emitDataSizeChanged();return}var s=[n.range().setColumns(0,e.length-1).setRows(0,1/0)];this._viewColumnRange={dataSize:s[0]},this._columnDataMapper.viewColumnIndexToDataIndex=e.map(function(l){return l.dataIndex}),this._columnMetaData.setViewHeaders(e),this._dataModel.setHeaders?this._dataModel.setHeaders(e):this.setState("columnHeaders",e,s)}},{key:"setSpanningHeaders",value:function(e){this._dataModel.setSpanningHeaders&&this._dataModel.setSpanningHeaders(e)}},{key:"getSpanningHeaders",value:function(){return this._dataModel.getSpanningHeaders?this._dataModel.getSpanningHeaders():{}}},{key:"updateHeader",value:function(e){return this._dataModel.updateHeader(e)}},{key:"getColumnHeaders",value:function(){return this._dataModel.getHeaders?this._dataModel.getHeaders()||[]:this.getStateByKey("columnHeaders").value}},{key:"setState",value:function(e,t){var s=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(["all","keys"].indexOf(e)>=0)throw new Error("The key '".concat(e,"' is reserved, and cannot be used to setState"));var p=l.slice(),E={value:t,rangeList:p,pointerList:[]};this._deleteState(e),this._stateCategoryIndex[e]=E,p.forEach(function(m){var y=s._stateRangeIndex.insert(m,e);E.pointerList.push(y)}),this._emit(e,this.getStateByKey(e))}},{key:"deleteState",value:function(e){this._deleteState(e),this._emit(e)}},{key:"_deleteState",value:function(e){var t=this;if(this._stateCategoryIndex[e]){var s=this._stateCategoryIndex[e];delete this._stateCategoryIndex[e],s.pointerList.forEach(function(l){t._stateRangeIndex.remove(l)})}}},{key:"getStateByKey",value:function(e){var t=this._stateCategoryIndex[e];return t?{value:t.value,rangeList:t.rangeList.slice()}:null}},{key:"getStateByRangeList",value:function(e){var t=this,s={};return s.keys=[],e.forEach(function(l){t._stateRangeIndex.forEach(function(p){var E=p.key,m=p.value;s[m]||n.doesRangeIntersect(l,E)&&(s[m]=t.getStateByKey(m),s[m].firstMatch=E,s.keys.push(m))})}),s}},{key:"on",value:function(e,t){var s=this;this._events[e]||(this._events[e]=[]),this._events[e].push(t);var l={};return l.remove=function(){var p=s._events[e].indexOf(t);s._events[e].splice(p,1),l.remove=function(){return null}},l}},{key:"_addOwnListeners",value:function(e){this._ownedListeners.push(e)}},{key:"_removeOwnListeners",value:function(){this._ownedListeners.forEach(function(e){return e.remove()})}},{key:"destroy",value:function(){this._removeOwnListeners(),this._dataModel=null}},{key:"_emit",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this._events.all,l=this._events[e],p=Object.getOwnPropertyNames(t),E={};p.forEach(function(y){E[y]=t[y]}),E.eventName=e;var m=function(b){b&&b.forEach(function(I){I(E)})};m(l),m(s)}}]),o}();return i},A,x),A.exports=w},361:(A,x,a)=>{"use strict";var T,w;function h(u){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},h(u)}function C(u,r){if(!(u instanceof r))throw new TypeError("Cannot call a class as a function")}function g(u,r){for(var d=0;d<r.length;d++){var n=r[d];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,v(n.key),n)}}function _(u,r,d){return r&&g(u.prototype,r),d&&g(u,d),Object.defineProperty(u,"prototype",{writable:!1}),u}function v(u){var r=f(u,"string");return h(r)=="symbol"?r:String(r)}function f(u,r){if(h(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var n=d.call(u,r||"default");if(h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(u)}T=[],w=a.dj.d(T,function(){"use strict";return function(){function u(r){C(this,u),this._flatRangeList=[],this._headerMetaData=[],this._dataMetaData=[],this._viewMetaData=[],this._rankType=r.rankType||"row",this._rankType==="row"?(this._flattenRangeDimension=function(d){return d.setColumns(0,0)},this._flattenData=function(d,n,i){return d[n](i)(0)}):this._rankType==="column"&&(this._flattenRangeDimension=function(d){return d.setRows(0,0)},this._flattenData=function(d,n,i){return d[n](0)(i)}),this._dataViewMapper=r.dataViewMapper}return _(u,[{key:"setViewHeaders",value:function(d){var n=d.slice(0);this._headerMetaData=n}},{key:"setRangeList",value:function(d){this._flatRangeList=d.map(this._flattenRangeDimension)}},{key:"setViewMetaData",value:function(d,n,i){this._viewMetaData[i]||(this._viewMetaData[i]={version:0,value:{}}),this._viewMetaData[i].value[d]=n,this._viewMetaData[i].version+=1}},{key:"deleteViewMetaData",value:function(d,n){this._viewMetaData[n]&&(delete this._viewMetaData[n].value[d],this._viewMetaData[n].version+=1)}},{key:"setDataMetaData",value:function(d){var n=[];d&&(n=this._transform(d,this._dataViewMapper,this._flattenData)),this._dataMetaData=n}},{key:"getMetaDataRangeList",value:function(){return this._flatRangeList}},{key:"getUnifiedMetaData",value:function(){for(var d=this,n=this._dataMetaData,i=this._headerMetaData,o=[],c=function(l,p){return Object.keys(l).forEach(function(E){p[E]=l[E]}),p},e=function(){var l=t;o.push(function(p){var E=n[l](p).value;E=Object(E);var m={};m=c(E,m);var y={_dataMetaData:n[l](p),isEqual:function(N){return this._headerMetaData===N._headerMetaData&&this._viewMetaDataVersion===N._viewMetaDataVersion&&this._dataMetaData.isEqual(N._dataMetaData)}};if(i[p]){var b=i[p];m=c(b,m),y._headerMetaData=i}if(d._viewMetaData[p]){var I=d._viewMetaData[p].value,S=d._viewMetaData[p].version;Object.keys(I).forEach(function(R){m[R]=I[R]}),y._viewMetaDataVersion=S}return y.value=m,y})},t=0;t<n.length;t+=1)e();return o}},{key:"_transform",value:function(d,n,i){for(var o=n.modelToViewDataMapping(d,d,this._flatRangeList),c=[],e=i.bind(this,o),t=0;t<o.length;t+=1){var s=e.bind(this,t);c.push(s)}return c}}]),u}()},A,x),A.exports=w},21255:(A,x,a)=>{var T,w;T=[a(48292),a(10710),a(16620),a(51608),a(57540)],w=a.dj.d(T,function(h,C,g,_,v){"use strict";class f extends C{constructor(){super(),this.checked=_.FALSE,this.disabled=!1,this.tabIndex=0}static get properties(){return{checked:{type:String,reflect:!0},disabled:{type:Boolean,reflect:!0},tabIndex:{type:Number,reflect:!0,attribute:"tab-index"},dataTestId:{type:String,reflect:!0,attribute:"data-test-id"}}}set checked(r){const d=this.checked;r=this._setProperType(r),this._validate(r,"checked"),this._checked=r,this.requestUpdate("checked",d)}get checked(){return typeof this._checked=="boolean"?this._checked:this._checked===_.MIXED?this._checked:this._checked===_.TRUE}set disabled(r){const d=this.disabled;this._validate(r,"disabled"),this._disabled=r,this.requestUpdate("disabled",d)}get disabled(){return this._disabled}set dataTestId(r){this._validate(r,"dataTestId"),r?this.setAttribute("data-test-id",r):this.removeAttribute("data-test-id")}get dataTestId(){return this.getAttribute("data-test-id")}_validate(r,d){switch(d){case"disabled":if(typeof r!="boolean")throw new Error("Value of "+d+" property should be boolean");break;case"checked":if(r!==_.MIXED&&r!==!0&&r!==!1)throw new Error("Value of "+d+" property should be either a boolean or 'mixed'");break;case"dataTestId":if(typeof r!="string"&&r!==null)throw new Error("Value of "+d+" property should be a string or null");break}}_toggleToNewState(r){return r===_.MIXED||r===_.FALSE||r===!1?this._checked=!0:r===_.TRUE||r===!0?this._checked=!1:this._checked=!0,this._checked}_setProperType(r){return r===!1||r===_.FALSE?!1:r===!0||r===_.TRUE?!0:r===_.MIXED?_.MIXED:r}_toggleCheck(r){const d=this.checked,n=this._toggleToNewState(d),i={propertyName:"checked",oldValue:this._setProperType(d),newValue:n};this.emit("change",i,{bubbles:!0}),this.requestUpdate("checked",d)}_handleClick(r){this.disabled||this._toggleCheck(r)}_handleKeyDown(r){switch(r.keyCode){case g.SPACE:case g.ENTER:r.preventDefault(),this._toggleCheck(r);break}}willUpdate(r){r.has("disabled")&&(this.disabled?(this.tabIndex=-1,this._removeEventHandlers(),this.setAttribute("aria-disabled",this.disabled)):(this.tabIndex=0,this._attachEventHandlers(),this.removeAttribute("aria-disabled"))),r.has("checked")&&this.setAttribute("aria-checked",this.checked)}_attachEventHandlers(){this.on("click",this._handleClick),this.on("keydown",this._handleKeyDown)}_removeEventHandlers(){this.removeEventListener("click",this._handleClick),this.removeEventListener("keydown",this._handleKeyDown)}connectedCallback(){super.connectedCallback(),this.checked=this._checked,this.disabled=this._disabled,this.tabIndex=0,this._attachEventHandlers()}firstUpdated(){this.setAttribute("role","checkbox"),this.setAttribute("aria-checked",this.checked)}render(){return v()}disconnectedCallback(){super.disconnectedCallback(),this._removeEventHandlers()}emits(){}}return h({name:"mw-tristate-checkbox",widgetClass:f})},A,x),A.exports=w},16620:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({SPACE:32,ENTER:13})},A,x),A.exports=w},51608:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";return Object.freeze({TRUE:"true",FALSE:"false",MIXED:"mixed"})},A,x),A.exports=w},57540:(A,x,a)=>{var T,w;T=[a(31260)],w=a.dj.d(T,function(h){"use strict";return()=>h`
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 14 14" xml:space="preserve">
<g class="mw-tristate-checkbox-background"><rect width="14" height="14"/></g>
<g class="mw-tristate-checkbox-default"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-hover"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-focus"><path d="M0,0v14h14V0H0z M13,13H1V1h12V13z"/></g>
<g class="mw-tristate-checkbox-indeterminate"><rect x="3" y="3" width="8" height="8"/></g>
<g class="mw-tristate-checkbox-checked"><polygon points="12,4 11,3 5,9 3,7 2,8 5,11"/></g>
</svg>`},A,x),A.exports=w},42625:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=Object.freeze({LIGHT:"light",DARK:"dark"});return h.default=C,h.default},A,x),A.exports=w},52819:(A,x,a)=>{var T,w;T=[a(42625)],w=a.dj.d(T,function(h){"use strict";var C={};let g;class _{constructor(){this.themeClass={light:"mw-theme-light",dark:"mw-theme-dark"},this.themeName={"mw-theme-light":h.LIGHT,"mw-theme-dark":h.DARK},window.matchMedia&&(this.windowMediaQuery=window.matchMedia("(prefers-color-scheme: dark)")),this._mediaQueryEventHandler=this._mediaQueryEventHandler.bind(this)}set useSystemMode(u){u?this._setThemeBySystemMode():this._removeSystemMode()}set useSettings(u){u&&(g=u.settingsObj||u,g.getSetting(["matlab","appearance"],"MATLABTheme").then(r=>{this._settingsValueHandler(r.value,u.domNode)}),g.listenTo(["matlab","appearance"],"MATLABTheme",r=>{this._settingsValueHandler(r.newValue,u.domNode)}))}_settingsValueHandler(u,r){let d;switch(u){case"System":this.useSystemMode=!0;break;case"Light":this.useSystemMode=!1,d=this.getTheme(),this.setTheme(h.LIGHT,r),this._emitEvent(d,h.LIGHT);break;case"Dark":this.useSystemMode=!1,d=this.getTheme(),this.setTheme(h.DARK,r),this._emitEvent(d,h.DARK);break}}_setThemeBySystemMode(){let u=this.getTheme();this.windowMediaQuery.matches?(this.setTheme(h.DARK),this._emitEvent(u,h.DARK)):(this.setTheme(h.LIGHT),this._emitEvent(u,h.LIGHT)),this.windowMediaQuery&&this.windowMediaQuery.addEventListener("change",this._mediaQueryEventHandler)}_removeSystemMode(){this.windowMediaQuery.removeEventListener("change",this._mediaQueryEventHandler)}_mediaQueryEventHandler(u){let r=this.getTheme();u.matches?(this.setTheme(h.DARK),this._emitEvent(r,h.DARK)):(this.setTheme(h.LIGHT),this._emitEvent(r,h.LIGHT))}_emitEvent(u,r){let d={oldTheme:u,newTheme:r},n=new CustomEvent("themechanged",{detail:d});if(document.body.dispatchEvent(n),g){const i=["matlab","appearance","CurrentTheme"].join("."),o=r.charAt(0).toUpperCase()+r.slice(1);g.setSettingValue(i,o,g.SettingLevel.TEMPORARY),g.clearSettingValue(i,g.SettingLevel.PERSONAL)}}setTheme(u,r){if(Object.keys(this.themeClass).includes(u)){let d=r||document.getElementsByTagName("body")[0];if(this._isHTMLElement(d)){for(let n in this.themeClass)d.classList.contains(this.themeClass[n])&&d.classList.remove(this.themeClass[n]);d.style.colorScheme=u,d.classList.add(this.themeClass[u])}}else throw new Error("The requested theme is not supported")}_isHTMLElement(u){return!!(u&&(u instanceof HTMLElement||u.ownerDocument&&u.ownerDocument.defaultView&&u.ownerDocument.defaultView.Element&&u instanceof u.ownerDocument.defaultView.Element))}getTheme(u){let r=u||document.getElementsByTagName("body")[0];return window.getComputedStyle(r).getPropertyValue("--mw-themeName").trim()}}var v=new _;return Object.freeze(v),C.default=v,C.default},A,x),A.exports=w},56662:(A,x,a)=>{var T,w;T=[a(81466)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default={generateUuid:function(){return this._uuidFromTemplate("xxxxxxxx").toUpperCase()},generateUUIDv4:function(){return this._uuidFromTemplate("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx")},_uuidFromTemplate:function(g){return g.replace(/[xy]/g,function(_){const v=Math.random()*16|0;return(_==="x"?v:v&3|8).toString(16)})},isImageData:function(g){return!!g&&(typeof window=="object"&&window.ImageData&&g instanceof window.ImageData||Object.prototype.hasOwnProperty.call(g,"width")&&Object.prototype.hasOwnProperty.call(g,"height")&&Object.prototype.hasOwnProperty.call(g,"data"))},isArray:function(g){return h.deprecated({deprecated:{module:"mw-utils/Utils",method:"isArray"},geckNumber:1444368}),Array.isArray(g)},getArrayLength:function(g){let _=0;return Array.isArray(g)?(g.forEach(function(v){v&&(_+=1)}),_):!1},isWhitespace:function(g){return/^\s+$/.test(g)},removeSurroundingNewLines:function(g){for(;g.charAt(0)===`
`;)g=g.substring(1);for(;g.charAt(g.length-1)===`
`;)g=g.substring(0,g.length-1);return g},getFirstUniqueElement:function(g,_){let v=null;return _.some(function(f){return g.indexOf(f)===-1?(v=f,!0):!1}),v},unionOfWordSets:function(g,_,v){g=this._stringToArray(g),_=this._stringToArray(_);const f=this.unionOfArrays(g,_);return v?f.join(" "):f},intersectionOfWordSets:function(g,_,v){g=this._stringToArray(g),_=this._stringToArray(_);const f=this.intersectionOfArrays(g,_);return v?f.join(" "):f},differenceOfWordSets:function(g,_,v){g=this._stringToArray(g),_=this._stringToArray(_);const f=this.unique(this.differenceOfArrays(g,_));return v?f.join(" "):f},unionOfArrays:function(g,_){return this.unique(g.concat(_))},intersectionOfArrays:function(g,_){return this.nonunique(g.concat(_))},differenceOfArrays:function(g,_){if(window.Map===void 0)return this._legacyDifferenceOfArrays(g,_);let v,f,u;const r=new Map,d=[];for(u=0;u<_.length;u++)r.set(_[u],null);for(u=0;u<g.length;u++)f=g[u],v=r.has(f),v||d.push(f);return d},_legacyDifferenceOfArrays:function(g,_){return this.unique(g.filter(function(v){return _.indexOf(v)===-1}))},unique:function(g){return g.filter(function(_,v){return g.indexOf(_)===v})},nonunique:function(g){return this.unique(g.filter(function(_,v){return g.indexOf(_)!==v}))},arrayEquals:function(g,_,v){if(g===_)return!0;if(g.length!==_.length)return!1;v||(v=function(f,u){return f===u});for(let f=0,u=g.length;f<u;f++)if(!v(g[f],_[f]))return!1;return!0},removeEmptyElements:function(g){return g.filter(function(_){return!(_===""||_===null||_===void 0)})},_stringToArray:function(g){return this._isString(g)?this.removeEmptyElements(g.split(" ")):g},_isString:function(g){return typeof g=="string"||g instanceof String}},C.default},A,x),A.exports=w},10710:(A,x,a)=>{var T,w;T=[a(45711)],w=a.dj.d(T,function(h){"use strict";var C={};const g=function(){};class _ extends h{createRenderRoot(){return window.ShadowRoot&&this._experimentalUseShadowDom?super.createRenderRoot():this}emit(f,u,r={}){const d=r.bubbles||!1,n=r.cancelable||!1,i=r.composed||!1,o=new CustomEvent(f,{detail:u||{},bubbles:d,cancelable:n,composed:i});this.dispatchEvent(o)}on(f,u,r={}){this.addEventListener(f,u,r);let d=this.removeEventListener.bind(this,f,u,r);return{remove:function(){d(),d=g}}}logUIEvent(f){this.disabled||(f=f||{},f.element=this,this.emit("uievent",f,{bubbles:!0,composed:!0}))}}return C.default=_,C.default},A,x),A.exports=w},48292:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){"use strict";var h={};const C=function(g){if(!g.widgetClass)throw new Error("The widgetClass object must have a widget widgetClass property");if(!g.name)throw new Error("The widgetDefinition object must have a name property");if(g.name.length<3||!g.name.startsWith("mw-"))throw new Error("The widgetDefinition object must have a nameproperty starting with 'mw-'");const _=g.widgetClass;if(_._observedAttributes){const v=_._observedAttributes.slice(0);Object.defineProperty(_,"observedAttributes",{enumerable:!1,get:function(){return v}})}return window.customElements.define(g.name,_),function v(f){if(this instanceof v)throw new Error("Do not use 'w = new Widget()' to create a widget instance. Just use 'w = Widget()'");const u=new _;for(const r in f)Object.prototype.hasOwnProperty.call(f,r)&&(u[r]=f[r]);return u}};return h.default=C,h.default},A,x),A.exports=w},45711:(A,x,a)=>{var T,w;T=[a(61685)],w=a.dj.d(T,function(h){"use strict";var C={};class g extends h.LitElement{}return C.default=g,C.default},A,x),A.exports=w},66396:(A,x,a)=>{var T,w;T=[a(61685)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default=h.css,C.default},A,x),A.exports=w},59977:(A,x,a)=>{var T,w;T=[a(61685)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default=h.html,C.default},A,x),A.exports=w},57804:(A,x,a)=>{var T,w;T=[a(61685)],w=a.dj.d(T,function(h){"use strict";var C={};const g=(_,v,f={})=>{if(f.scopeName)throw new Error("scopeName should not be set in render options, use WidgetBase for scoped rendering");return h.render(_,v,f)};return C.default=g,C.default},A,x),A.exports=w},31260:(A,x,a)=>{var T,w;T=[a(61685)],w=a.dj.d(T,function(h){"use strict";var C={};return C.default=h.svg,C.default},A,x),A.exports=w},64804:(A,x,a)=>{"use strict";var T,w;T=[a(37222),a(96916),a(48201),a(41032),a(20963),a(26268),a(11567),a(87451),a(99833),a(58944),a(83604),a(28205),a(87942),a(36629)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){const e=new i({id:"AnnotationDialog",position:["left"]}),t={data:{},setup:l,init:E,render:m,refresh:b,highlighted:null};let s=null;return u.subscribe("updateAnnotation",K),u.subscribe("highlightAnnotation",M),t;function l(k,H){k.annotator=t,s=k,v(H.domNode,v.selector(".anno-cell","mouseover"),U),v(H.domNode,v.selector(".anno-cell","click"),z),H.on("dgrid-refresh-complete",P),H.on("dgrid-select",p)}function p(k){const H=k.grid;S(H.selection),setTimeout(function(){R(H)},1)}function E(k){const H=k.annotation;t.data=O(H,k)}function m(k,H){const Y=s.data.currentFile,G=t.data[Y];G&&G.filter(function(q,oe){const[ie,pe]=q.lines;return ie<=k&&k<=pe}).map(function(q){return I(q,k)}).forEach(function(q){H.appendChild(q)})}function y(){const H=s.code.grid.domNode.querySelectorAll(".anno-cell");h.forEach(H,function(Y){Y.remove()})}function b(){y();const H=s.code.grid.domNode.querySelectorAll(".code-row");h.forEach(H,function(Y){const G=Y.querySelector(".tail"),Q=parseInt(G.getAttribute("line"));m(Q,G)})}function I(k,H){const Y=k.col,G=C.create("div",{class:"anno-cell"});G.setAttribute("index",k.id);const Q=Y*10+2;return _.set(G,"right",Q+"px"),k.lines[0]===H&&g.add(G,"st"),k.lines[1]===H&&g.add(G,"ed"),k.pending&&g.add(G,"new"),G.setAttribute("flag",k.flag),G.anno=k,G}function S(k){const H=s.data.currentFile;let G=Object.keys(k).map(function(J){return parseInt(J)}).reduce(function(J,q){const oe=J[J.length-1];if(!oe)J.push({file:H,lines:[q,q],flag:"normal",pending:!0});else{const ie=oe.lines[1];q-ie>1?J.push({file:H,lines:[q,q],flag:"normal",pending:!0}):oe.lines[1]=q}return J},[]);const Q=t.data[H];G=G.filter(J=>{const[q,oe]=J.lines;return Q.every(ie=>ie.lines[0]!==q||ie.lines[1]!==oe)}),G.forEach(J=>{const[q,oe]=J.lines,ie=[];for(let ce=q;ce<=oe;ce++)Q.forEach(te=>{te.lines[0]<=ce&&te.lines[1]>=ce&&(ie[te.col]=!0)});let pe=0;for(const ce=ie.length;pe<ce&&ie[pe];pe++);J.id=`${J.lines[0]}-${J.lines[1]}`,J.col=pe}),t.pending=G}function R(k){N(k),t.pending.forEach(function(Y){const G=Y.lines[0],Q=Y.lines[1];for(let J=G;J<=Q;J++){const q=k.row(J).element;if(q){const oe=q.querySelector(".tail"),ie=I(Y,J);oe.appendChild(ie)}}})}function N(k){const H=k.domNode.querySelectorAll(".anno-cell.new");h.forEach(H,function(Y){Y.remove()})}function O(k,H){const Y="init annotation";console.time(Y);let G;Array.isArray(k)?G=k:k?G=[k]:G=[];const Q=H.files.data,J={};return Q.forEach(function(q){const oe=q.name,ie=G.filter(function(pe){return pe.flag||(pe.flag="normal"),pe.file===oe});J[oe]=L(ie)}),console.timeEnd(Y),J}function L(k){const H=[];return k.map(function(Y){const G=Y.lines,Q=G[0],J=G[1];Y.id=`${Q}-${J}`;const q=[];for(let ie=Q;ie<=J;ie++){let pe=H[ie];pe||(pe=[]),pe.forEach(function(ce){q[ce]=!0}),H[ie]=pe}let oe=0;for(const ie=q.length;oe<ie&&q[oe];oe++);for(let ie=Q;ie<=J;ie++)H[ie].push(oe);return Y.col=oe,Y})}function U(k){const H=k.target;v.once(H,"mouseleave",function(J){const q=document.querySelectorAll(".anno-cell");h.forEach(q,function(ie){g.remove(ie,"hover")});const oe=document.querySelectorAll(".code-row");h.forEach(oe,function(ie){g.remove(ie,"hover")})});const Y=H.getAttribute("index"),G=document.querySelectorAll('.anno-cell[index="'+Y+'"]');h.forEach(G,function(J){g.add(J,"hover")});const Q=H.anno;for(let J=Q.lines[0];J<=Q.lines[1];J++){const q=document.querySelector('.code-row[line="'+J+'"]');q&&g.add(q,"hover")}}function z(k){k.stopPropagation(),k.preventDefault();const Y=k.target.anno,G=Y.lines,Q=s.code.grid;Q.clearSelection(),Q.select(G[0],G[1]),Y.pending?setTimeout(()=>W(Y.id),1):u.publish({action:"Annotation",userData:{anno:Y,action:"select"}})}function $(k){const H=C.create("div",{class:"annotation-editor"}),Y=s.data.currentFile;let Q=f.byId("AddReview");if(Q)Q.placeAt(H),Q.anno={file:Y,lines:k};else{const J=new c({id:"AddReview",text:d.getString("SimulinkCoderApp:report:AddToReview"),icon:"add_24",anno:{file:Y,lines:k}});J.placeAt(H),J.startup(),J.on("click",function(){const{file:q,lines:oe}=J.anno,ie=t.pending.find(te=>te.file===q&&te.id===oe);ie.pending=!1,ie.flag="normal",t.data[ie.file].push(ie);const ce=[].concat.apply([],Object.values(t.data));u.publish({action:"Annotation",userData:{action:"add",last:ie,all:ce}}),V(),s.code.indicator.refresh()})}return H}function W(k){const H=document.querySelector('.anno-cell[index="'+k+'"]');g.add(H,"open"),e.set("content",$(k)),o.open({popup:e,around:H,orient:["before-centered"]})}function V(){o.close(e),t.refresh()}function K(k){s.data.annotation=k.map(B),t.data=O(s.data.annotation,s.data),s.refresh()}function M(k){const H=B(k);s.data.files.get(H.file)&&(t.highlighted=H.lines,s.show(H.file,H.lines[0]))}function B(k){const H=k.split(":"),Y=H[0],G=H[1].split("-"),Q=parseInt(G[0]),J=G.length>1?parseInt(G[1]):Q,q=[Q,J],oe=`${Q}-${J}`;return{file:Y,lines:q,id:oe,flag:"normal",pending:!1}}function P(k){const H=t.highlighted;H&&setTimeout(()=>{const Y=k.grid;Y.clearSelection(),Y.select(H[0],H[1]),t.highlighted=null},10)}},A,x),A.exports=w},14820:(A,x,a)=>{"use strict";var T,w,h=Object.defineProperty,C=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,u=(n,i,o)=>i in n?h(n,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[i]=o,r=(n,i)=>{for(var o in i||(i={}))v.call(i,o)&&u(n,o,i[o]);if(_)for(var o of _(i))f.call(i,o)&&u(n,o,i[o]);return n},d=(n,i)=>C(n,g(i));T=[a(96916),a(48201),a(41032),a(47890),a(21190),a(82079),a(46465),a(10035),a(73742)],w=a.dj.d(T,function(n,i,o,c,e,t,s,l,p){return{init:U,render:z,refresh:$};function E(W){const V=window.cr,K=n.create("div",{class:"cov-content"});let M=document.getElementById("justificationTable"),B=document.getElementById("justificationTitle");return B&&B.remove(),M&&M.remove(),V.data.features.showJustificationLinks&&W.justifyLink&&W.justifyLink.length>0?(M=document.createElement("TABLE"),M.setAttribute("id","justificationTable"),W.justifyLink.map((P,k)=>{const H=document.createElement("TR");H.setAttribute("id",k),H.setAttribute("class","justification-row"),M.appendChild(H);const Y=document.createElement("TD");Y.setAttribute("class","justification-cell");const G=document.createTextNode(P[0]);Y.appendChild(G),H.appendChild(Y);const Q=document.createElement("TD");Q.setAttribute("class","justification-cell status");let J="",q="";P[2]?(J=document.createElement("a"),q=document.createTextNode(P[1]),J.appendChild(q),J.href=`matlab: ${P[2]}`):J=document.createTextNode(P[1]),Q.appendChild(J),H.appendChild(Q)}),B=document.createElement("div"),B.appendChild(document.createTextNode(W.tooltip)),B.setAttribute("id","justificationTitle"),K.appendChild(B),K.appendChild(M)):(B=document.createElement("div"),B.appendChild(document.createTextNode(W.tooltip)),B.setAttribute("id","justificationTitle"),K.appendChild(B)),K}function m(W){this.getDomNode=function(V){const K=document.createElement("div");return K.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),K.textContent=V,K},this.getTooltip=function(){return{text:W}},this.showTooltip=function(){return!0}}function y(){this.getDomNode=function(W){const V=document.createElement("div");return V.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),V.textContent=W.data,V},this.getTooltip=function(W){return{text:W.tooltip}},this.showTooltip=function(){return!0}}function b(W,V,K,M){const B=Object.keys(W),P=B.map((Q,J)=>d(r({label:K[Q],dataIndex:J,columnId:K[Q],renderer:new y},M[Q]&&{headerRenderer:new m(M[Q])}),{width:{value:100/B.length,unit:"%"}})),k={features:[e.FEATURE.ColumnResize],columnModel:{columnConfig:P}},H=[B.map(Q=>({data:W[Q],tooltip:V[Q]}))],Y=t.create(H,Object.assign({},{type:s.TABLE}));return new e(Y,k)}function I(W){this.getDomNode=function(V){const K=document.createElement("div");return K.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),K.textContent=V,K},this.getTooltip=function(){return{text:W}},this.showTooltip=function(){return!0}}function S(){this.getDomNode=function(W){const V=document.createElement("div");if(V.setAttribute("style","text-overflow: ellipsis; white-space: nowrap; overflow: hidden;"),W.cmd){const K=document.createElement("a");K.href=`matlab:${W.cmd}`,K.text=W.data,V.appendChild(K)}else V.textContent=W.data;return V},this.getTooltip=function(W){return null},this.showTooltip=function(){return!0}}function R(){this.getDomNode=function(W){const V=document.createElement("div");if(W[0].data){const K=document.createElement("a");K.href=`matlab:${W[0].data}`,K.style="margin-right: 10px;";const M=document.createElement("img");M.src="/toolbox/coder/profile/resources/membrane_16.png",K.append(M),V.appendChild(K)}if(W[1].data){const K=document.createElement("a");K.href=`matlab:${W[1].data}`,K.style="margin-right: 10px;";const M=document.createElement("img");M.src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png",K.append(M),V.appendChild(K)}if(W[2].data){const K=document.createElement("a");K.href=`matlab:${W[2].data}`,K.style="margin-right: 10px;";const M=document.createElement("img");M.src="/toolbox/coder/profile/resources/histogram_16.png",K.append(M),V.appendChild(K)}return V}}function N(W){const V=document.createElement("div");V.id="cpalink";const K=document.createElement("a");return K.href=`matlab:${W}`,K.text="View results in Code Profile Analyzer",V.appendChild(K),V}function O(W,V,K,M){const B={features:[e.FEATURE.ColumnResize],columnModel:{columnConfig:[{label:K.Name,dataIndex:0,columnId:"Name",renderer:new S,width:{value:30,unit:"%"}},d(r({label:K.MaxExecution,dataIndex:1,columnId:"MaxExecution",renderer:new S},M.MaxExecution&&{headerRenderer:new I(K.MaxExecution+" : "+M.MaxExecution)}),{width:{value:10,unit:"%"}}),d(r({label:K.AverageExecution,dataIndex:2,columnId:"AverageExecution"},M.AverageExecution&&{headerRenderer:new I(K.AverageExecution+" : "+M.AverageExecution)}),{width:{value:10,unit:"%"}}),d(r({label:K.MaxSelf,dataIndex:3,columnId:"MaxSelf",renderer:new S},M.MaxSelf&&{headerRenderer:new I(K.MaxSelf+" : "+M.MaxSelf)}),{width:{value:10,unit:"%"}}),d(r({label:K.AverageSelf,dataIndex:4,columnId:"AverageSelf"},M.AverageSelf&&{headerRenderer:new I(K.AverageSelf+" : "+M.AverageSelf)}),{width:{value:10,unit:"%"}}),{label:K.Calls,dataIndex:5,columnId:"Calls",width:{value:10,unit:"%"}},{label:"Statistics",dataIndex:6,columnId:"Statistics",renderer:new R,width:{value:20,unit:"%"}}]}},P=W.map((Y,G)=>[{data:Y.Name,tooltip:V[G].Name,cmd:Y.NameCmd},{data:Y.MaxExecution,tooltip:V[G].MaxExecution},Y.AverageExecution,{data:Y.MaxSelf,tooltip:V[G].MaxSelf},Y.AverageSelf,Y.Calls,[{data:Y.MembCmd,tooltip:V[G].MembCmd},{data:Y.SDICmd,tooltip:V[G].SDICmd},{data:Y.HistCmd,tooltip:V[G].HistCmd}]]),k=t.create(P,Object.assign({},{type:s.TABLE}));return new e(k,B)}function L(W,V,K,M){const B={features:[e.FEATURE.ColumnResize],columnModel:{columnConfig:[{label:K.Name,dataIndex:0,columnId:"Name",renderer:new S,width:{value:35,unit:"%"}},d(r({label:K.MaxExecution,dataIndex:1,columnId:"MaxExecution",renderer:new S},M.MaxExecution&&{headerRenderer:new I(K.MaxExecution+" : "+M.MaxExecution)}),{width:{value:15,unit:"%"}}),d(r({label:K.AverageExecution,dataIndex:2,columnId:"AverageExecution"},M.AverageExecution&&{headerRenderer:new I(K.AverageExecution+" : "+M.AverageExecution)}),{width:{value:15,unit:"%"}}),{label:K.Calls,dataIndex:3,columnId:"Calls",width:{value:15,unit:"%"}},{label:"Statistics",dataIndex:4,columnId:"Statistics",renderer:new R,width:{value:20,unit:"%"}}]}},P=W.map((Y,G)=>[{data:Y.Name,tooltip:V[G].Name,cmd:Y.NameCmd},{data:Y.MaxExecution,tooltip:V[G].MaxExecution},Y.AverageExecution,Y.Calls,[{data:Y.MembCmd,tooltip:V[G].MembCmd},{data:Y.SDICmd,tooltip:V[G].SDICmd},{data:Y.HistCmd,tooltip:V[G].HistCmd}]]),k=t.create(P,Object.assign({},{type:s.TABLE}));return new e(k,B)}function U(W){W.coverage&&W.coverage.forEach(function(V){const K=V.id;V.files.forEach(function(B){const P=B.file;let k=B.probes;Array.isArray(k)||(k=[k],B.probes=k);const H=W.files.get(P);if(H){H.cov||(H.cov={}),H.cov[K]=B;const Y=H.codeList;k.forEach(function(G){G.status1==="T"?G.level=1:G.status1==="E"?G.level=2:G.status1==="J"?G.level=3:G.status2?G.status2==="J"?G.level=3:G.level=4:G.level=5;const Q=parseInt(G.line),J=Y[Q-1];J.cov||(J.cov={},J.cov[K]=[],J.cov[K].level=0);const q=J.cov[K];Array.isArray(q)?(q.push(G),q.level<G.level&&(q.level=G.level)):(J.cov[K]=[G],J.cov[K].level=G.level)})}})})}function z(W,V){const K=window.cr;if(!K.config.covOn)return;const M=W.querySelector(".head"),B=n.create("cov");n.place(B,M,"first");const P=V.cov&&V.cov[K.config.covType];!P||P.length===0||(i.add(W,"cov"),B.setAttribute("covLevel",P.level),P.forEach(function(k){const H=k.col;let Y="",G;H>0?(i.add(W,"condition"),G=W.querySelectorAll("c")[H-1],Y=k.str1+k.str2,Y=Y.replace(/=&gt;/g,""),Y=Y.replace(/&nbsp;/g,"")):(G=B,Y=k.str1+" "+k.str2),i.add(G,"cov-loc");const Q=G.querySelectorAll(".cov-text").length,J=n.create("div",r({class:"cov-text",innerHTML:Y},!K.data.features.coverageTooltip&&{title:k.tooltip}),G),q=100+Q*60;o.set(J,"top",q+"%"),J.setAttribute("covLevel",k.level),K.data.features.coverageTooltip&&(J.onmouseover=function(oe){if(oe.preventDefault(),oe.stopPropagation(),!document.getElementById("ToolTip")){const ce=p({id:"ToolTip",placement:"top"});ce.referenceNode=document.createElement("div"),window.popout=ce,document.body.appendChild(ce)}const ie=document.getElementById("ToolTip"),pe=E(k);if(pe){if(ie.referenceNode!==J){const{observer:ce}=l.observeElementInDom(ie.referenceNode);ie._referenceObserver=ce,ie.referenceNode=J,ie.open||setTimeout(()=>{ie.show()},500)}ie.content=pe}})}))}function $(){const W=window.cr;if(W.config.covOn?i.add(W.domNode,"show-coverage"):i.remove(W.domNode,"show-coverage"),!W.data.coverage)return;const V=W.data.currentFile,K=W.data.files.get(V),M=W.footer.querySelector("#Information");if(M){const B=K.cov&&K.cov[W.config.covType],P=W.data.profiling,k=B&&B.summary,H=B&&B.summaryData;if(B&&(H||k)){let Y=document.getElementById("CoverageSummary");if(Y)for(;Y.firstChild;)Y.removeChild(Y.firstChild);else Y=document.createElement("div"),Y.setAttribute("id","CoverageSummary"),M.appendChild(Y);if(W.data.features.useMWTable&&H&&Object.keys(H).length>0){const Q=document.createElement("h4");Q.textContent=H.title;const J=b(H.percentage,H.percentageTooltip,H.columnHeader,H.columnHeaderTooltip);Y.appendChild(Q),Y.appendChild(J.domNode),J.startup()}else Y.innerHTML+=k;B.probes.some(function(Q){return!(Q.col>0)})&&i.add(W.domNode,"has-line-coverage")}if(P&&P.TaskSummaryData&&P.TaskSummaryTooltips&&P.TaskSummaryColHeaders&&P.TaskSummaryColTooltips&&W.data.features.showTaskSummary){let Y=document.getElementById("TaskSummary");if(Y)for(;Y.firstChild;)Y.removeChild(Y.firstChild);else Y=document.createElement("div"),Y.setAttribute("id","TaskSummary"),M.appendChild(Y);const G=document.createElement("h6");G.textContent="Task Profiling Summary";const Q=JSON.parse(P.TaskSummaryData),J=JSON.parse(P.TaskSummaryTooltips),q=JSON.parse(P.TaskSummaryColHeaders)[0],oe=JSON.parse(P.TaskSummaryColTooltips)[0],ie=JSON.parse(P.LinkCodeAnalyser),pe=JSON.parse(P.IsMetricsOnly);let ce=[];pe>0?ce=L(Q,J,q,oe):ce=O(Q,J,q,oe);const te=N(ie);Y.appendChild(G),Y.appendChild(te),Y.appendChild(ce.domNode),ce.startup()}M.innerHTML&&(o.set(M,"display","block"),i.add(W.domNode,"has-coverage"))}else M.innerHTML="",i.remove(W.domNode,"has-coverage"),o.set(M,"display","none")}},A,x),A.exports=w},31734:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(41032)],w=a.dj.d(T,function(h,C,g){return{init:_,render:v,refresh:f};function _(u){u.profiling&&u.profiling.proInfo.forEach(function(r){r.FileNames.forEach(function(n,i){const o=u.files.get(n);if(o){o.profiling||(o.profiling=[]);const c=r.LineNumbers[i];let e;c[1]-c[0]===2?e=c[0]+1:e=c[0],o.profiling.push(e);const s=o.codeList[e-1];s&&(s.profiling=r,s.TimerTicksPerSecond=u.profiling.TimerTicksPerSecond)}})})}function v(u,r){if(!window.cr.config.cpOn)return;const n=u.querySelector(".head"),i=h.create("cp");h.place(i,n,"first");const o=r.profiling;if(!o)return;const c=r.TimerTicksPerSecond,e=h.create("cp_num",{class:"cp-entry",title:"Average execution time"},i),t=h.create("cp_calls",{class:"cp-entry",title:"Number of calls"},i);C.add(u,"cp");const s=o.TotalExecutionTimeInTicks/o.NumCalls/c,l=s<1||s>99999?s.toExponential(2):s.toFixed(0);e.setAttribute("num",l);const p=o.NumCalls.toString();t.setAttribute("calls",p)}function f(){const u=window.cr;u.config.cpOn?C.add(u.domNode,"show-profiling"):C.remove(u.domNode,"show-profiling");const r=u.data.currentFile;u.data.files.get(r).profiling?C.add(u.domNode,"has-profiling"):C.remove(u.domNode,"has-profiling")}},A,x),A.exports=w},99833:(A,x,a)=>{"use strict";var T,w;T=[a(12536),a(67412),a(7109)],w=a.dj.d(T,function(h,C,g){const _={};return _["RTW:traceInfo"]=h,_["SimulinkCoderApp:report"]=C,_["coderdictionary:mapping"]=g,_.getString=function(v){if(v){const f=v.lastIndexOf(":");if(~f){const u=v.substring(0,f),r=v.substring(f+1),d=this[u];if(d)return d[r]}}},_},A,x),A.exports=w},97103:(A,x,a)=>{"use strict";var T,w;T=[a(37222),a(48201),a(20963),a(70495),a(39196),a(58944),a(13210),a(95859),a(1709),a(11567),a(64804),a(99833),a(47890),a(36629)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){return function(e,t){const s=t.domNode;c.readonly||(g(s,g.selector(".blk","mouseover"),R),g(s,g.selector(".tk",_.enter),N),g(s,g.selector(".trace-line","click"),y),g(s,g.selector(".trace-line","mouseover"),m),g(s,g.selector(".tk.traceable","click"),b),g(s,g.selector(".blk, .libblk","click"),I),g(s,g.selector(".req","click"),S)),g(s,g.selector(".has-icon, .dots","click"),W),g(s,g.selector(".br","mouseover"),U),g(s,g.selector(".br","click"),$),g(s,g.selector(".line-num, .annotation, cov","mouseover"),l),g(s,g.selector(".code-folding.has-icon","mouseover"),p),g(s,g.selector("c","mouseover"),V),i.setup(e,t),f({connectId:["root"],selector:".annotation",getContent:function(K){return K.getAttribute("annotation-text")}});function l(K){const M=K.target;let B=M;for(;B&&!B.classList.contains("code-row");)B=B.parentElement;B&&(C.add(B,"hover"),g.once(M,"mouseleave",function(P){const k=document.querySelectorAll(".code .code-row");h.forEach(k,function(H){C.remove(H,"hover")})}))}function p(K){const M=this,B=M.getAttribute("line"),P=document.querySelectorAll('.indent-space[line="'+B+'"]');h.forEach(P,function(k){C.add(k,"hover")}),g.once(M,"mouseleave",E)}function E(){const K=document.querySelectorAll(".indent-space");h.forEach(K,function(M){C.remove(M,"hover")})}function m(K){const M=K.target,B=parseInt(M.getAttribute("line"));let P=[];c.component==="HDL"?P=d.getHDLLineData(e.data,B):P=d.getLineData(e.data,B),g.once(M,"mouseleave",function(k){O(M,P)}),P.action="hover",n.publish(P)}function y(K){const B=parseInt(this.getAttribute("line"));if(c.component==="HDL"||e.data.rptComponent&&e.data.rptComponent==="HDL"){const P=d.getHDLLineData(e.data,B);P.action="hdl_line2mdl",n.publish(P)}else{const P=d.getLineData(e.data,B);P.action="line2mdl",n.publish(P)}}function b(K){const M=this,B=d.getUnitData(e.data,M);B.action="token2mdl",n.publish(B)}function I(K){const M=this,B=d.getUnitData(e.data,M);B.action="blk2mdl",n.publish(B)}function S(K){const M=this,B=M.getAttribute("blockpath"),P=e.data.blocks.get(B);let k;P?k=P.sid:k=B;const H=M.getAttribute("req_id"),Y={action:"code2req",userData:{sid:k,reqId:H}};n.publish(Y)}function R(K){const M=this,B=M.id,P=d.getUnitData(e.data,M);if(P){g.once(M,"mouseleave",function(H){O(M,P)}),P.action="hover",P.sids.length>0&&n.publish(P);const k=e.data.records.get(B);if(k){const H=k.define;H&&document.querySelectorAll('[defid="'+H.id+'"]').forEach(function(G){C.add(G,"hover")})}}}function N(K){const M=this,B=M.id;r(e,M);const P=d.getUnitData(e.data,M);if(P){g.once(M,"mouseleave",function(H){H.stopPropagation(),O(M,P)}),P.action="hover",P.sids.length>0&&n.publish(P);const k=e.data.records.get(B);if(k){const H=k.define;H&&document.querySelectorAll('[defid="'+H.id+'"]').forEach(function(G){C.add(G,"hover")})}}}function O(K,M){M.action="clear",n.publish(M);const B=s.querySelectorAll(".hover");h.forEach(B,function(P){C.remove(P,"hover")})}function L(K){const M=K.getAttribute("line"),P=t.store.get(M);let k,H;K.innerText==="{"?(k="}",H=P.to):(k="{",H=P.from);const Y=t.id+"-row-"+H,G=document.getElementById(Y);if(G){const Q=G.querySelectorAll(".br"),J=h.filter(Q,function(q){return q.innerText===k})[0];return{line:H,ele:J}}else return{line:H}}function U(K){const M=this;g.once(M,"mouseleave",z);const B=L(M).ele;B&&C.add(B,"hover")}function z(K){const B=L(this).ele;B&&C.remove(B,"hover")}function $(K){const P=L(this).line;P&&e.show(null,P,!0)}function W(K){const B=parseInt(this.getAttribute("line")),P=t.store,k=P.get(B);k.expand=!k.expand,d.updateData(P.data),t.refresh()}function V(K){const M=this,B=M.getAttribute("col"),P=M.getAttribute("ln"),k=document.getElementById("LnCol"),H=o.getString("SimulinkCoderApp:report:Ln"),Y=o.getString("SimulinkCoderApp:report:Col");k.innerHTML='<span class="label">'+H+'</span><span class="number">'+P+'</span><span class="label">'+Y+'</span><span class="number">'+B+"</span>"}}},A,x),A.exports=w},98159:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(37222),a(96916),a(48201),a(41032),a(20963),a(39196),a(33070),a(17279),a(61932),a(97467),a(1175),a(11805),a(97103),a(1709),a(64804),a(14820),a(31734),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p,E){return function(m){let y=0,b=0,I=null;const S=m.config,R=g.create("div",{class:"code",onclick:function(){d.publish("expandConfig",!1)}}),N=h([n,i]),O=new N({id:"CodeGrid",class:"code-grid",store:new o,query:Y,keepScrollPosition:!0,renderRow:W,allowTextSelection:!0,deselectOnRefresh:!0});g.place(O.domNode,R),e(m,O),O.startup();const L={domNode:R,grid:O,scrollToLine:H,refresh:z},U=c(m);return L.indicator=U,g.place(U.domNode,R),L;function z(){const G=m.data;L.file!==G.currentFile?$(G.currentFile):O.refresh(),U.refresh()}function $(G){if(!G)return;const J=m.data.files.get(G);b=J.codeList.length.toString().length+1,y=J.maxCols+1,I=J.lang,O.store.setData(J.codeList),O.refresh(),O.resize(),O.domNode.setAttribute("filetype",J.ext),L.file=J.name}function W(G){const Q=g.create("div",{class:"code-row"});Q.setAttribute("line",G.id);const J=V(G),q=K(G),oe=M(G);return Q.appendChild(J),Q.appendChild(q),Q.appendChild(oe),m.highlightor.addStyle(q),l.render(Q,G),p.render(Q,G),Q}function V(G){const Q=g.create("div",{class:"head"});Q.setAttribute("line",G.id);const J=B(G),q=P(G);return Q.appendChild(J),Q.appendChild(q),Q}function K(G){const Q=g.create("div",{class:"main"});return Q.setAttribute("line",G.id),k(G,Q),Q}function M(G){const Q=g.create("div",{class:"tail"}),J=G.id;return Q.setAttribute("line",J),s.render(J,Q),Q}function B(G){const Q=g.create("div",{class:"line-num"});return Q.setAttribute("line",G.id),G.isTraceable&&_.add(Q,"trace-line"),G.containsExpensiveDataCopy?_.add(Q,"expensive-data-copy"):G.containsDataCopy&&_.add(Q,"data-copy"),v.set(Q,"width",b+"ch"),Q}function P(G){const Q=g.create("div",{class:"code-folding"});if(Q.setAttribute("line",G.id),G.to&&G.to-G.id>1){_.add(Q,"has-icon");const J=g.create("div",{class:"icon"},Q);G.expand?(_.remove(J,"plus"),_.add(J,"minus")):(_.remove(J,"minus"),_.add(J,"plus"))}return Q}function k(G,Q){const J=G.id;Q.setAttribute("line",J),S.showComments===!1&&_.add(Q,"hide-comments"),v.set(Q,"min-width",y+"ch");const q=g.create("div",{class:"indent"});g.place(q,Q,"first"),G.up&&G.up.forEach(function(ne,re){const se=g.create("div",{class:"indent-space",line:ne},q),ge=G.spaces[re];v.set(se,"left",ge+"ch")});const oe=I.createNodes(G.tokens),ie=g.create("div",{class:"code-text"},Q);oe.forEach(ne=>ie.appendChild(ne));const pe=ie.querySelectorAll("c");for(let ne=0,re=pe.length;ne<re;ne++){const se=pe[ne];se.setAttribute("col",ne+1),se.setAttribute("ln",J)}const ce=m.data;C.forEach(oe,function(ne){const re=ne.innerText;if(ne.setAttribute("token",re),!E.readonly){const se=ne.id,ge=ce.records.get(se);ge&&ge.traceable&&_.add(ne,"traceable")}});const te=Q.querySelectorAll(".br");C.forEach(te,function(ne){ne.setAttribute("line",J)}),G.to&&G.to!==G.id&&!G.expand&&g.create("div",{class:"dots",innerHTML:"..."},Q).setAttribute("line",G.id)}function H(G){const Q=O.rowHeight,J=O.store.data;let q=Math.max(1,G);q=Math.min(q,J.length)-1;let oe=0;for(let se=0;se<q;se++){const ge=J[se];Y(ge)&&oe++}const ie=oe*Q,pe=O.getScrollPosition().y,ce=ie-pe,te=O.domNode,ne=5*Q,re=te.getBoundingClientRect().height-ne;if(ce<ne||ce>re){const se=Math.min(ne,re/2);O.scrollTo({y:ie-se})}}function Y(G){return G.show&&(G.isCodeLine||S.showComments)}}},A,x),A.exports=w},33472:(A,x,a)=>{"use strict";var T,w;T=[a(58233),a(96916),a(48201),a(33553),a(17279),a(98159),a(96941),a(46381),a(87451),a(1709),a(11567),a(66548),a(47890),a(14820),a(31734),a(64579),a(16671),a(73742)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l,p){return function(E){c.model=E.model;const m=p({id:"ToolTip",placement:"top"});window.popout=m,m.referenceNode=document.createElement("div"),m.trigger="hover",document.getElementById("ToolTip")||document.body.appendChild(m);let y=!0,b=!0,I=!0;E.hasOwnProperty("tokenLevelTrace")&&(y=E.tokenLevelTrace),E.hasOwnProperty("lineLevelTrace")&&(b=E.lineLevelTrace),E.hasOwnProperty("loadFromMATLAB")&&(I=E.loadFromMATLAB);const S={placeAt:$,show:U,showLocation:z,refresh:W,jumpToDef:L,history:s,back:V,forward:K,gotoState:M,parser:l,traceConfig:{tokenLevelTrace:y,lineLevelTrace:b}},R=C.create("div",{class:"code-report"});c.model||g.add(R,"standalone"),S.domNode=R,S.config=d(S),S.nav=u(S),S.code=f(S),S.highlightor=r(S),S.footer=C.create("div",{id:"footer"}),C.create("div",{id:"Information"},S.footer);const N=C.create("div",{id:"FileBanner"},S.footer);C.create("div",{id:"FilePath",onclick:function(){const B=this.innerText;B&&i.publish({action:"openFile",fileName:B})}},N),C.create("div",{id:"LnCol"},N),S._config=c,R.appendChild(S.nav.domNode),R.appendChild(S.code.domNode),R.appendChild(S.footer),C.create("div",{id:"ErrorPage"},R);const O=new h;return O.set("target",document.body),O.show(),S.busy=O,o(S),I&&n.start(),S.utils=n,S.config.showAnnotation&&g.add(S.domNode,"show-annotation"),c.readonly&&g.add(S.domNode,"readonly"),window.cr=S,S;function L(B){const k=S.data.define.get(B);if(k!==void 0){const H=k.file,Y=k.line;S.show(H,Y,!0)}}function U(B,P,k){const H=S.history,Y=H.getState(),G=S.data,Q=G.currentFile,J=G.files;let q;typeof B=="number"?q=J.data[B]:B&&(q=J.get(B));let oe;if(q?(oe=q.name,G.currentFile=oe):(oe=G.currentFile,q=J.get(oe)),!q){S.nav.refresh();return}if(P===void 0){const pe=S.highlightor;if(pe.inHighlight){const ce=pe.getCurrent();ce&&ce.file===oe&&(P=ce.line)}}P=P||0;const ie=oe+"["+P+"]";if(console.time(ie),P&&n.expandToLine(q.codeList,P),S.refresh(),S.code.scrollToLine(P),k&&S.code.grid.select(P),Y){const pe=H.getState();Y.file===pe.file&&Y.scroll.y===pe.scroll.y||(H.pushState(Y),S.nav.refresh())}v.publish(c.channel,{file:q.name,line:P}),G.currentFile!==Q&&i.publish({action:"FileChange",file:q.name}),console.timeEnd(ie)}function z(B,P){const k=S.data,H=k.files;let Y;typeof B=="number"?Y=H.data[B]:B&&(Y=H.get(B));let G;Y?(G=Y.name,k.currentFile=G):(G=k.currentFile,Y=H.get(G)),S.refresh(),P&&S.code.grid.scrollTo(P),i.publish({action:"FileChange",file:Y.name})}function $(B){C.place(R,B,"only")}function W(){if(m&&m.open&&m.close(),S.config.refresh(),e.refresh(),t.refresh(),S.nav.refresh(),S.code.refresh(),c.snc){const B=S.footer.querySelector("#FilePath"),P=S.data.currentFile,k=S.data.files.get(P);if(k){const H=S.data.arch.ispc?"\\":"/",Y=k.path+H+k.name;B.innerText=Y,S.data.arch.isunix?g.add(B,"unix"):g.remove(B,"unix")}}}function V(){const P=this.history.back();P&&this.gotoState(P)}function K(){const P=this.history.forward();P&&this.gotoState(P)}function M(B){const P=B.file,k=B.scroll,H=B.selection;this.data.currentFile=P,this.refresh();const Y=this.code.grid;Y.scrollTo(k),H.forEach(function(G){Y.select(G)})}}},A,x),A.exports=w},46381:(A,x,a)=>{"use strict";var T,w;T=[a(1175),a(20963),a(96916),a(48201),a(41032),a(37222),a(1709),a(99833),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){return function(n){const i=new h,o=new h;let c=null;const e={bySids:R,byModel:S,byToken:O,byString:L,byDiff:U,byExternalInput:z,byRecord:N,byMLFB:$,clear:t,updateCurrent:p,getCurrent:s,setCurrent:l,getResults:m,getIndex:y,next:b,pre:I,addStyle:K,reg:null,input:null,inHighlight:!1,mode:""};return e;function t(){i.setData([]),c=null,e.inHighlight=!1,e.mode="",e.input=null,e.reg=null;const M=n.data;M&&M.files.data.forEach(function(B){B.codeList.forEach(function(k){k.hlcache=[]});let P=B.codeList.firstTk;for(;P;)P.hl_hint=0,P=P.next})}function s(){return e.inHighlight?c:null}function l(M){c=M}function p(){if(e.inHighlight){if(n.config.showComments)c||(c=i.data[0]);else if(o.data.length>0){let P=i.index[c.id];const k=i.data,H=k.length;for(;!c.isCode;)P++,P>=H&&(P=0),c=k[P]}}}function E(){return n.config.showComments?i:o}function m(){return E().data}function y(){return c?E().index[c.id]:-1}function b(){const M=E(),B=M.data,P=B.length;let k=M.index[c.id];k++,k>=P&&(k=0),c=B[k]}function I(){const M=E(),B=M.data,P=B.length;let k=M.index[c.id];k--,k<0&&(k=P-1),c=B[k]}function S(M){const P="search model: "+M.text;console.time(P),t();const k=M.sid,H=n.data;let Y=[];d.component&&d.component==="HDL"&&n.data.traceStyle==="Line Level"?Y=H.queryLinesBySid(k):Y=H.queryBySid(k);const G={},Q=Y.filter(function(J){const q=J.file+":"+J.line;if(!G.hasOwnProperty(q))return G[q]=!0,!0}).map(function(J){const q=J.file,oe=J.line;return{id:q+":"+oe,file:q,line:oe}});Y.forEach(function(J){J.hl_hint=1}),W(Q),e.inHighlight=!0,e.input=M,e.mode="model",console.timeEnd(P)}function R(M){const B="model to code";console.time(B),t();const P=n.data,k=P.types,H=M.map(function(J){return k.queryBySid(J)}).filter(function(J){return J});if(H.length===0){console.timeEnd(B);return}const Y=P.queryBySid(M),G={},Q=Y.filter(function(J){const q=J.file+":"+J.line;if(!G.hasOwnProperty(q))return G[q]=!0,!0}).map(function(J){const q=J.file,oe=J.line;return{id:q+":"+oe,file:q,line:oe}});Y.forEach(function(J){M.some(oe=>J.sid.has(oe))?J.hl_hint=1:J.hl_hint=2}),W(Q),e.inHighlight=!0,e.input=H.length>1?H:H[0],e.mode="model",console.timeEnd(B)}function N(M){const B="record to code";console.time(B),t();const k=M.tokens.map(G=>{const Q=n.data.files.get(G.file);if(Q){const J=Q.codeList[G.line-1];if(J)return J.tokens.find(oe=>oe.col===G.col)}}).filter(G=>G),H={},Y=k.filter(function(G){const Q=G.file+":"+G.line;if(!H.hasOwnProperty(Q))return H[Q]=!0,!0}).map(function(G){const Q=G.file,J=G.line;return{id:Q+":"+J,file:Q,line:J}});k.forEach(function(G){G.hl_hint=1}),W(Y),e.inHighlight=!0,e.input=M.sid,e.mode="model",console.timeEnd(B)}function O(M){const B=M.token,k="search token: "+B.token;console.time(k),t();const H=B.usage;W(H),c=B,e.inHighlight=!0,e.mode="token",e.input=M,console.timeEnd(k)}function L(M){const B="search string: "+M;console.time(B),t();const P=M.trim(),k=new RegExp(P,"gi");e.reg=k;const H=[];n.data.files.data.forEach(function(G){const Q=G.name;G.codeList.forEach(function(J){const q=J.id,oe=J.rawCode,ie=J.cutoff;let pe;do if(pe=k.exec(oe),pe){const ce=pe.index,te=k.lastIndex;if(ce>=te)return;const ne=Q+":"+q+"c"+ce;H.push({id:ne,file:Q,line:q,loc:[ce,te],isCode:ce<ie})}while(pe)})}),W(H,"string"),e.inHighlight=!0,e.mode="string",e.input=P,console.timeEnd(B)}function U(M){console.time("diff"),t();const B=n.data,P=[];B.files.data.forEach(function(k){const H=k.name,Y=M.files.get(H);if(Y){const G=k.codeList,Q=Y.codeList;G.forEach(function(J){const q=J.rawCode.trim();if(q&&!Q.some(function(ie){return q===ie.rawCode.trim()})){const ie=J.id;P.push({id:H+":"+ie,file:H,line:ie})}})}}),W(P),e.inHighlight=!0,e.mode="diff",e.input="Code update",console.timeEnd("diff")}function z(M){t();const B=M.title;let P=M.data;P=Array.isArray(P)?P:[P],P.forEach(function(k){k.id=k.file+":"+k.line,k.loc&&(k.id=k.id+"c"+k.loc[0])}),W(P,"external"),e.inHighlight=!0,e.mode="external",e.input=B}function $(M){const B=M.sid,P=M.data.index,H=[...n.data.records.values()].filter(J=>{const q=J.sid;if(!q||q.size===0)return!1;for(const oe of q){const ie=oe.lastIndexOf(":");if(oe.slice(0,ie)===B){const ce=oe.slice(ie+1),[te,ne]=ce.split("-").map(re=>parseInt(re));if(te<=P&&P<=ne)return!0}}return!1});let Y=M.blockPath;M.type!=="EMChart"&&(Y+="/"+M.blockName);const G=M.data.pos;Y+=` Ln:${G.line}, Col:${G.column}`;const Q={sid:Y,tokens:H};this.byRecord(Q)}function W(M,B){B==="external"&&(M=M.filter(function(ie){const ce=n.data.files.get(ie.file),te=ce.codeList[ie.line-1];return ce.codeList.length>ie.line&&!!te&&!!te.rawCode})),B!=="string"&&M.forEach(function(ie){ie.isCode=V(ie.file,ie.line)});const P=M.filter(function(ie){return ie.isCode});i.setData(M),o.setData(P);const H=n.config.showComments?M:P;c=H[0];const Y=n.data.currentFile,G=H.filter(function(ie){return ie.file===Y}),Q=n.code.grid,J=Q.getScrollPosition().y,q=Math.ceil(J/Q.rowHeight);G.some(function(ie){if(c=ie,c.line>q)return!0});const oe=n.data.files;M.forEach(function(ie){const pe=ie.file,ce=ie.line,te=oe.get(pe);if(te){const ne=te.codeList[ce-1];ne&&(ne.hlcache?ne.hlcache.push(ie):ne.hlcache=[ie])}}),oe.data.forEach(function(ie){const pe=ie.name,ce=M.filter(function(ne){return ne.file===pe}),te=P.filter(function(ne){return ne.file===pe});ie.hlcount={full:ce.length,filter:te.length}})}function V(M,B){return n.data.files.get(M).codeList[B-1].isCodeLine}function K(M){const B=e;if(!B.inHighlight)return;const P=n.data.files,k=B.mode,H=n.data.currentFile,Y=parseInt(M.getAttribute("line")),Q=P.get(H).codeList[Y-1].hlcache;if(k==="model"||k==="diff")Q.length>0&&(_.add(M,"hl"),B.getCurrent()===Q[0]&&_.add(M,"current"),M.querySelectorAll(".tk").forEach(function(q){const oe=q.id,ie=n.data.records.get(oe);ie&&ie.hl_hint&&(_.add(q,"hl-hint"),q.setAttribute("hl-level",ie.hl_hint))}));else if(k==="token"){const J=M.querySelectorAll(".tk");f.forEach(J,function(q){const oe=q.id,ie=i.get(oe);ie&&(_.add(q,"hl"),B.getCurrent()===ie&&_.add(q,"current"))})}else if(k==="string"||k==="external"){const J=Q;if(J.length===0)return;const q=B.getCurrent(),ie=M.querySelector(".code-text").querySelectorAll("c");J.forEach(function(pe){if(pe.loc){const ce=pe.loc[0],te=pe.loc[1];for(let ne=ce;ne<te;ne++){const re=ie[ne];_.add(re,"hl"),pe===q&&_.add(re,"current")}}else _.add(M,"hl"),pe===q&&_.add(M,"current")})}}}},A,x),A.exports=w},64579:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return{get:g,forward:d,back:r,init:C,getState:v,pushState:f,push:u,save:n,load:i,print:_};function C(){const o=window.cr;let c=this.get();if(c){const e=c.stack,t=c.id,s=e[t],l=o.data.files;c.stack=e.filter(function(E){return l.get(E.file)});const p=c.stack.indexOf(s);p===-1?c.id=c.stack.length:c.id=p}else{c={id:0,stack:[]};const e=o._config.model;this[e]=c}}function g(){const c=window.cr._config.model;return this[c]}function _(){const o=this.get(),e=o.stack.map(function(t,s){let l=t.file+":"+t.scroll.y;return s===o.id&&(l="*"+l),l});console.log(e.join(", "))}function v(){const c=window.cr.code,e=c.file;if(e){const t=c.grid;return{file:e,scroll:t.getScrollPosition(),selection:Object.keys(t.selection)}}}function f(o){const c=this.get();let e=c.id;const t=c.stack;t[e]=o;const s=t[e-1];s&&s.file===o.file&&s.scroll.y===o.scroll.y?(s.scroll=o.scroll,s.selection=o.selection):++e,c.id=e,t.length=e+1}function u(){const o=this.getState();o&&this.pushState(o)}function r(){const o=this.get(),c=o.id;if(c<=0)return;const e=o.stack;return e[c]=v(),o.id=c-1,e[o.id]}function d(){const o=this.get(),c=o.id,e=o.stack;if(!(c>=e.length-1))return e[c]=v(),o.id=c+1,e[o.id]}function n(){const o=this.get();if(o){const c=this.getState();c&&(o.stack[o.id]=c)}}function i(){const o=this.get();return o.stack[o.id]}},A,x),A.exports=w},11805:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(41032),a(71275),a(20963),a(39196),a(99833)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return function(r){const n=h.create("div",{class:"indicator"});return v(n,v.selector(".bar","click"),E),{domNode:n,refresh:o,clear:s};function o(){const m=r.data,y=m.currentFile;if(!y)return;const b=m.files.get(y),I=b.codeList.length,S=r.highlightor;s(),S.inHighlight&&l(b.codeList),c(I,b),e(I,b),t(I,r.annotator.data[y])}function c(m,y){if(!r.config.covOn)return;const b=r.config.covType,I=y.cov,S=I&&I[b];if(!S)return;const R={};S.probes.forEach(function(N){const O=N.line;R[O]=!0}),Object.keys(R).forEach(function(N){const O=parseInt(N),U=y.codeList[O-1].cov[b].level,z=h.create("div",{class:"cov"},n);z.setAttribute("covLevel",U);const $=(O-.9)*100/m+"%",W=(m-O+.1)*100/m+"%";g.set(z,"top",$),g.set(z,"bottom",W)})}function e(m,y){if(!r.config.cpOn)return;const b=y.profiling;b&&b.forEach(function(I){const S=h.create("div",{class:"cp"},n),R=(I-.9)*100/m+"%",N=(m-I+.1)*100/m+"%";g.set(S,"top",R),g.set(S,"bottom",N)})}function t(m,y){y.forEach(function(b){const I=h.create("div",{class:"anno"},n);I.setAttribute("flag",b.flag);const S=b.lines,R=S[0],N=S[1],O=(R-.9)*100/m+"%",L=(m-N+.1)*100/m+"%";g.set(I,"top",O),g.set(I,"bottom",L)})}function s(){n.innerHTML=""}function l(m){const y=m.length,b=m.filter(function(U){return U.hlcache.length>0}).map(function(U){return U.id});if(b.length===0)return;const I={},S=b.map(function(U){return p(U,y)}).filter(function(U){const z=U.scaled;return I.hasOwnProperty(z)?!1:(I[z]=!0,!0)}),R=r.highlightor.getCurrent(),N=R.file===r.data.currentFile?p(R.line,y):null,O=S.map(function(U){const z=h.create("div",{class:"bar"}),$=U.orig;z.setAttribute("line",$);const W=_.substitute(u.getString("SimulinkCoderApp:report:GoToLine"),[$]);z.setAttribute("title",W);const V=U.scaled*100/1e3;return V<50?g.set(z,"top",V+"%"):g.set(z,"bottom",100-V+"%"),N&&U.scaled===N.scaled&&C.add(z,"current"),z}),L=h.create("div");O.forEach(function(U){L.appendChild(U)}),n.innerHTML=L.innerHTML}function p(m,y){return{orig:m,scaled:Math.floor((m-1)*1e3/y)}}function E(m){const y=m.target,b=parseInt(y.getAttribute("line")),I=r.highlightor,S=I.getResults(),R=r.data.currentFile;S.some(function(N,O){if(N.file===R&&N.line===b)return I.setCurrent(N),!0}),r.show()}}},A,x),A.exports=w},13210:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(41032),a(71275),a(1709),a(99833),a(11567)],w=a.dj.d(T,function(h,C,g,_,v,f,u){const r={fcn:f.getString("SimulinkCoderApp:report:Type_Function"),var:f.getString("SimulinkCoderApp:report:Type_Variable"),type:f.getString("SimulinkCoderApp:report:Type_Type"),cls:f.getString("SimulinkCoderApp:report:Type_Class")};return function(t,s){let l=s.querySelector(".info"),p;if(l)p=l.querySelector(".content");else{l=h.create("div",{class:"info",onclick:function(R){R.stopPropagation()}},s);const S=h.create("div",{class:"smart"},l);p=h.create("div",{class:"content"},S),d(l,p,s,t.data)}const E=s.getBoundingClientRect();let m=E.left,y=E.width;E.width<10&&(m-=5,y+=10);const b=window.innerHeight-E.top,I=E.bottom;I<100?(g.set(l,"top",I+"px"),g.set(l,"bottom","")):(g.set(l,"top",""),g.set(l,"bottom",b+"px")),g.set(l,"left",m+"px"),g.set(l,"width",y+"px"),g.set(p,"max-width",window.innerWidth-m+"px"),t.config.cmOn?C.add(l,"show-code-metrics"):C.remove(l,"show-code-metrics"),t.config.cpOn?C.add(l,"show-code-profiling"):C.remove(l,"show-code-profiling")};function d(t,s,l,p){const E=n(l,p);let m=null,y=null;window.cr.traceConfig.tokenLevelTrace&&(m=i(l,p),y=o(l,p));const b=c(l,p),I=e(l,p),S=[E,m,y,b,I].filter(function(R){return R});S.length===0?C.add(t,"empty"):S.forEach(function(R){h.place(R,s)})}function n(t,s){const l=t.id,p=s.records.get(l);if(!p)return;const E=p.define;if(!E)return;const m=h.create("div",{class:"section definition"});h.create("div",{class:"name",textContent:f.getString("SimulinkCoderApp:report:Definition")},m);const y=h.create("div",{class:"title"},m),b=window.cr,I=r[E.def],S=E.file,R=E.line,N=b.data.files.get(S),O=N.codeList[R-1];if(y.innerHTML='<span class="type">'+I+"</span> "+f.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+S+"</span>",E!==p){const L=h.create("div",{class:"body code-ref"},m);h.create("span",{class:"line",innerHTML:R},L),N.lang.createNodes(O.tokens).forEach(z=>L.appendChild(z)),h.create("div",{class:"overlay",onclick:function(z){z.stopPropagation(),b.show(S,R,!0)}},L)}return m}function i(t,s){const l=s.records.get(t.id);if(!l)return;const p=l.sid;if(!p||p.size===0)return;const E=[...p].map(function(b){return s.blocks.queryBySid(b)}).filter(function(b){return b});if(E.length===0)return;const m=h.create("div",{class:"section model-elements"});h.create("div",{class:"name",textContent:f.getString("SimulinkCoderApp:report:ModelElements")},m);const y=h.create("div",{class:"body"},m);return E.forEach(function(b){const I=v.createUnit({type:"blk",text:b.blk});I.setAttribute("sid",b.sid),I.onclick=function(S){S.stopPropagation();const N=S.target.getAttribute("sid");u.publish({action:"blk2mdl",sids:[N]})},h.place(I,y)}),m}function o(t,s){const l=t.id,p=s.records.get(l);if(!p)return;const E=p.customTrace;if(!E||E.size===0)return;const m=E.get("StorageClass"),y=E.get("ModelElemCategory");if(!m||!y)return;const b=h.create("div",{class:"section customization"});h.create("div",{class:"name",textContent:f.getString("SimulinkCoderApp:report:Customization")},b);const I=E.get("StorageClassSource")||"ModelDefault",S=f.getString("SimulinkCoderApp:report:"+I);let R;I==="Individual"?R=E.get("ModelDataSource"):R=f.getString("coderdictionary:mapping:"+y)||y,h.create("div",{class:"title",textContent:S},b);const N=h.create("div",{class:"body storage-class",category:y},b);return h.create("span",{class:"category-name",textContent:R+": "},N),h.create("span",{class:"storage-class-name",textContent:m},N),N.onclick=function(O){O.stopPropagation(),u.publish({action:"code2mapping",id:l,userData:E})},b}function c(t,s){const l=s.cm;if(!l)return;const p=t.getAttribute("token"),E=s.define.get(p);if(!E||E.type!=="fcn"&&E.type!=="var")return;const m=h.create("div",{class:"section code-metrics"});h.create("div",{class:"name",textContent:f.getString("SimulinkCoderApp:report:CodeMetrics")},m);const y=h.create("div",{class:"body"},m);if(E.type==="fcn"){const I=s.currentFile+":"+p,S=l.fcn;let R=S.get(I);if(R||(R=S.get(p)),R){const N='<span class="cm-num">'+R.Stack+"</span>",O=f.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),L=_.substitute(O,[N]);let U;if(R.StackTotal===-1)U=f.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const z='<span class="cm-num">'+R.StackTotal+"</span>",$=f.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");U=_.substitute($,[z])}return y.innerHTML=L+", "+U,m}}else if(E.type==="var"){const I=l.var.get(p);if(I){const S='<span class="cm-num">'+I.Size+"</span>",R=f.getString("SimulinkCoderApp:report:CodeMetrics_Size");return y.innerHTML=_.substitute(R,[S]),m}}}function e(t,s){if(!s.profiling)return;const p=s.profiling.proInfo,E=t.getAttribute("token"),m=p.find(function(re){return re.CodeSectionName===E});if(!m||m.FileNames[0]!==s.currentFile)return;const y=s.profiling.UnitOfTime,b=s.profiling.TimerTicksPerSecond,I=t.getElementsByTagName("c"),S=parseInt(I[0].getAttribute("ln")),R=m.LineNumbers[0],N=R.length,O=R[0],L=R[N-1];if(!(S>=O&&S<=L))return;const z=h.create("div",{class:"section code-profiling"});h.create("div",{class:"name",textContent:f.getString("SimulinkCoderApp:report:CodeProfiling")},z);const $=h.create("div",{class:"body"},z),W=m.MaximumExecutionTimeInTicks/b,V=W<1||W>99999?W.toExponential(2):W,K='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+f.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",M='<td class="cp-td"><span class="cp-num">'+V+"</span></td></tr>",B=m.TotalExecutionTimeInTicks/m.NumCalls/b,P=B<1||B>99999?B.toExponential(2):B.toFixed(0),k='<tr class="cp-tr"><td class="cp-td">'+f.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",H='<td class="cp-td"><span class="cp-num">'+P+"</span></td></tr>",Y=m.MaximumSelfTimeInTicks/b,G=Y<1||Y>99999?Y.toExponential(2):Y,Q='<tr class="cp-tr"><td class="cp-td">'+f.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",J=' <td class="cp-td"><span class="cp-num">'+G+"</span></td></tr>",q=m.TotalSelfTimeInTicks/m.NumCalls/b,oe=q<1||q>99999?q.toExponential(2):q.toFixed(0),ie='<tr class="cp-tr"><td class="cp-td">'+f.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",pe='<td class="cp-td"><span class="cp-num">'+oe+"</span></td></tr>",ce='<tr class="cp-tr"><td class="cp-td">'+f.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",te='<td class="cp-td"><span class="cp-num">'+m.NumCalls+"</span></td></tr></table>",ne=f.getString("SimulinkCoderApp:report:UnitOfTime");return $.innerHTML=K+M+k+H+Q+J+ie+pe+ce+te+ne+" "+y,z}},A,x),A.exports=w},4156:(A,x,a)=>{"use strict";var T,w;T=[a(1175),a(64804),a(14820),a(31734),a(66043),a(16671),a(93307),a(99833),a(1709),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){const i=d.mvm.getFeatures();let o;return i.getFeature("EnhancedDatacopyReporter").then(c=>{o=c}),function(c){console.time("init");const e=window.cr&&!window.cr.traceConfig.lineLevelTrace||n.readonly?null:c.trace?JSON.parse(c.trace):null;let t=n.readonly?[]:c.blocks||[];t=Array.isArray(t)?t:[t],n.component&&n.component==="HDL"||c.rptComponent&&c.rptComponent==="HDL"||(t=t.map(Q=>({blk:Q.RTWName,sid:Q.SIDString}))),t.forEach(function(Q){if(Q.blk.length){let J=Q.blk.replace(/\n/gm," ");const q=Q.sid.search(/#.+:[0-9]+$/);q>0&&(J+="@"+Q.sid.substr(q+1)+"^"),Q.blk=J}});const s=new h({data:t,idProperty:"blk"}),l=new Map(t.map(Q=>[Q.sid,Q]));s.queryBySid=function(Q){const J=this.query({sid:Q})[0];if(J)return J;const q=Q.split("#"),oe=q[0];if(oe!==Q){const ie=this.query({sid:oe})[0];if(ie){const pe=Object.create(ie);return pe.blk=ie.blk+"@"+q[1]+"^",pe.sid=Q,pe}}};const p=c.files.map($).filter(Q=>Q),E=f.analyze(p),m=new h({data:p,idProperty:"name"});e&&W(m,e);const y=new h({data:M(E,s)});y.queryBySid=function(Q){const J=this.query({sid:Q,type:"blk"})[0];if(J)return J;const q=Q.split("#"),oe=q[0];if(oe!==Q){const ie=this.query({sid:oe,type:"blk"})[0];if(ie){const pe=Object.create(ie);return pe.text=ie.text+"@"+q[1]+"^",pe.sid=Q,pe}}};const b=K(m.data);n.readonly||(n.component&&n.component==="HDL"||c.rptComponent&&c.rptComponent==="HDL"?P(m,s):B(m));const I=k(c.cm);if(o===1){const Q=H(I),q=Y(Q,3);G(m,I,q)}let S;Array.isArray(c.anno)?S=c.anno:c.anno?S=[c.anno]:S=[];const R=c.coverage,N=c.pInfo,O=p.filter(Q=>Q.group==="model");let L=null;p.length>0&&(L=O.length>0?O[0].name:p[0].name);let U;c.rptComponent&&(U=c.rptComponent);const z={files:m,records:b,types:y,currentFile:L,define:E,blocks:s,sid2rtwname:l,trace:e,traceStyle:c.traceStyle,cm:I,annotation:S,coverage:R,profiling:N,build:c.build,ref:c.ref,arch:c.arch||{},review:c.review,features:c.features,rptComponent:U};return z.queryBySid=function(Q){const J=Array.isArray(Q)?Q:[Q],q=[];for(const oe of this.records.values())(oe.sid?[...oe.sid]:[]).some(pe=>J.some(ce=>ce===pe||ce.startsWith(pe+"#")||pe.startsWith(ce+"#")))&&q.push(oe);return q},z.queryLinesBySid=function(Q){let J=[];const q=s.queryBySid(Q);return q&&(J=q.loc.map(ie=>{const pe=[];return pe.file=ie.file.split("/").pop().split("\\").pop(),pe.line=ie.line,pe})),J},C.init(z),g.init(z),_.init(z),console.timeEnd("init"),z;function $(Q){if(Q.code===void 0)return null;const J=Q.name,q=" init "+J;console.time(q);const oe=Q.code,ie=oe.length>1e7?"":J.slice(J.lastIndexOf(".")+1),pe=v.parseCode(oe,ie),ce=pe.lang,te=pe.codeList;let ne=0;for(let ge=0;ge<te.length;ge++){const he=te[ge],fe=he.tokens.lenghth;ne<fe&&(ne=fe),he.show=!0,he.expand=!0,he.hlcache=[]}let re=te.firstTk;for(;re;)re.file=J,re.id=J+":"+re.line+"c"+re.col,re=re.next;const se={name:J,codeList:te,maxCols:ne,lang:ce,ext:ie,group:Q.group,groupDisplay:Q.groupDisplay,path:Q.path,type:Q.type};return console.timeEnd(q),se}function W(Q,J){console.time("unRollTrace");const q=J.fileRecords;for(const oe in q){const ie=q[oe].records;if(!ie)continue;const pe=Q.get(J.sources[oe]);if(pe)for(const ce of ie)V(ce,pe,J)}console.timeEnd("unRollTrace")}function V(Q,J,q){const{tk:oe,els:ie,ct:pe}=Q;if(Array.isArray(ie)){for(let fe=0;fe<ie.length;fe++){const De=ie[fe].split(":"),Ie=parseInt(De[0]),Oe=q.sidPrefixes[Ie];De[0]=Oe,ie[fe]=De.join(":")}ie.forEach(fe=>{const me=l.get(fe);me&&(me.traceable=!0)})}const[ce,te,ne,re]=oe,se=J.codeList[ce-1];if(!se)return;const ge=se.tokens;let he=null;for(const fe of ge)if(fe.col===te){he=fe;break}for(;he&&!(he.line>ne);){if(he.line===ne&&he.col>=re)break;if(he.sid)for(const fe of ie)he.sid.add(fe);else he.sid=new Set(ie);if(pe){he.customTrace=new Map;for(const fe in pe){const me=q.categoricalProps[fe],De=q.categoricalValues[pe[fe]];he.customTrace.set(me,De)}}he=he.next}}function K(Q){const J=new Map;return Q.forEach(function(q){if(q.type==="source"||q.type==="header"||q.lang===u){let oe,ie=q.codeList.firstTk;for(;ie;){let pe=!0;const ce=ie.type;if(ce==="blk"){const te=ie.token,ne=s.get(te);if(ne)ie.sid||(ie.sid=new Set),ie.sid.add(ne.sid);else{const re=te.lastIndexOf(":");if(re!==-1){const se=te.slice(0,re),ge=te.slice(re),he=s.get(se);he&&(ie.sid||(ie.sid=new Set),ie.sid.add(he.sid+ge))}}oe=te}else if(ce==="req")oe?(ie.blockpath=oe,ie.req_id=ie.token.match(/\d+/)[0]):ie.type=null;else if(ie.style!=="comment"&&ie.token.trim()){const te=ie.define;te&&(ie.type=te.def)}else pe=!1;pe&&(window.cr&&!window.cr.traceConfig.tokenLevelTrace?ie.traceable=!1:ie.traceable=ie.sid&&ie.sid.size>0,J.set(ie.id,ie)),ie=ie.next}}}),J}function M(Q,J){if(n.component&&n.component==="HDL"||c.rptComponent&&c.rptComponent==="HDL"){const ge=J.data.map(function(he){return{text:he.blk,type:"blk",sid:he.sid,traceable:!0}});return ge.forEach(function(he,fe){he.id=fe}),ge}const q=Array.from(Q.values()).map(function(se){return{text:se.fullname,type:se.def,file:se.file,line:se.line,token:se}}),oe=q.filter(function(se){return se.type==="cls"}).sort(ne),ie=q.filter(function(se){return se.type==="fcn"}).sort(ne),pe=q.filter(function(se){return se.type==="var"}).sort(ne),ce=q.filter(function(se){return se.type==="type"}).sort(ne),te=J.data.map(function(se){return{text:se.blk,type:"blk",sid:se.sid,traceable:se.traceable}});function ne(se,ge){return se.text>ge.text?1:se.text<ge.text?-1:0}const re=oe.concat(ie).concat(pe).concat(ce).concat(te);return re.forEach(function(se,ge){se.id=ge}),re}function B(Q){for(const J of Q.data)for(const q of J.codeList){const oe=new Set;for(const ie of q.tokens)if(ie.type!=="blk"&&ie.sid&&ie.sid.size>0&&ie.sid.forEach(pe=>oe.add(pe)),(o===2||o===4)&&ie.customTrace!==void 0&&ie.customTrace!==null&&ie.customTrace.has("TypeofCopy")){const pe=ie.customTrace.get("TypeofCopy");pe==="Necessary"?(q.containsDataCopy=!0,q.DatacopyReason=r.getString("SimulinkCoderApp:report:NecessaryDatacopy")):pe==="Unnecessary"&&(q.containsDataCopy=!0,q.DatacopyReason=r.getString("SimulinkCoderApp:report:UnnecessaryDatacopy"))}q.sid=oe,q.isTraceable=oe.size>0}}function P(Q,J){J.data.forEach(function(q){q.loc=Array.isArray(q.loc)?q.loc:[q.loc],q.loc.forEach(function(oe){const pe=oe.file.split("/").pop().split("\\").pop(),ce=oe.line,te=Q.get(pe);if(te&&te.codeList){const ne=te.codeList[ce-1];ne&&ne.isCodeLine&&(ne.isTraceable=!0,ne.sid===void 0&&(ne.sid=new Set),ne.sid.add(q.sid))}})})}function k(Q){if(n.readonly||!Q)return null;const J=Array.isArray(Q.FcnInfo)?Q.FcnInfo:[Q.FcnInfo],q=new h({idProperty:"Name",data:J}),oe=Array.isArray(Q.GlobalVarInfo)?Q.GlobalVarInfo:[Q.GlobalVarInfo],ie=new h({idProperty:"Name",data:oe});return{fcn:q,var:ie}}function H(Q){let J=[];return!Q||!Array.isArray(Q.fcn.data)||Q.fcn.data.forEach(q=>{if(q.DataCopyDetails&&Array.isArray(q.DataCopyDetails)){const oe=q.DataCopyDetails.map(ie=>(q.hasOwnProperty("File")&&(ie.File=q.File),ie));J=J.concat(oe)}}),J}function Y(Q,J){let q=new Array(J);return q.fill(null),Q.forEach(oe=>{for(let ie=0;ie<q.length;ie++)if(!q[ie]||oe.Size>q[ie].Size){q.splice(ie,0,oe),q=q.slice(0,J);break}}),q.filter(oe=>oe)}function G(Q,J,q){if(J)for(const oe of J.fcn.data){let ie=oe.File[0];const pe=ie.split("/");ie=pe[pe.length-1];const ce=Q.data.find(te=>te.name===ie);if(!oe.hasOwnProperty("DataCopyDetails"))return;if(Array.isArray(oe.DataCopyDetails))for(const te of oe.DataCopyDetails){const ne=te.Location.LineNumber,re=ce.codeList[ne-1];re.containsDataCopy=!0,q.some(se=>se.File===te.File)&&q.some(se=>se.Location.LineNumber===ne)&&(re.containsExpensiveDataCopy=!0)}}}}},A,x),A.exports=w},11567:(A,x,a)=>{"use strict";var T,w;T=[a(74460),a(47890),a(17279)],w=a.dj.d(T,function(h,C,g){const _={};let v;return h.start(),h.subscribe(C.channel,function(d){const n=d.data;if(n.uid&&n.uid!==C.uid||n.cid&&n.cid!==C.cid||n.cid===void 0&&n.mdl!==C.model)return;n.mdl!==C.model&&(window.cr.history.save(),C.model=n.mdl,C.build=n.mdl);const i=_[n.action];i&&i(n.data)}),{publish:u,subscribe:r};function f(){if(v===void 0||v===!1)g.subscribe("/webviewStatus",function(d){return d===!0&&(v=!0),d});else return!0}function u(d){f()===!0?g.publish("/codeviewToWebview",d):(d.top=C.top,d.model=C.model,d.build=C.build,d.uid=C.uid,d.cid=C.cid,h.publish(C.channel,d))}function r(d,n){_[d]=n}},A,x),A.exports=w},96941:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(70631),a(12598),a(11567)],w=a.dj.d(T,function(h,C,g,_,v){return function(f){const u=h.create("div",{class:"navigator"}),r=h.create("div",{class:"nav-row"},u);t(r);const d=s(f);h.place(d,r);const n=g(f);h.place(n.domNode,r);const i=_(f);h.place(i.domNode,r);const o=f.config;h.place(o.domNode,r);const c=i.resultGroup;return h.place(c,u),{domNode:u,refresh:e};function e(){n.refresh(),i.refresh(),f.highlightor.inHighlight?C.add(u,"inHighlight"):C.remove(u,"inHighlight");const l=document.getElementById("Back"),p=document.getElementById("Forward"),E=f.history.get(),m=E.id,y=E.stack;y[m-1]?C.add(l,"enabled"):l&&C.remove(l,"enabled"),m<y.length-1?C.add(p,"enabled"):p&&C.remove(p,"enabled")}function t(l){h.create("button",{id:"OpenFile",class:"open-button",title:"Open files",onclick:function(){v.publish({action:"openFiles"})}},l),h.create("button",{id:"OpenFolder",class:"open-button",title:"Open folder",onclick:function(){v.publish({action:"openFolder"})}},l)}function s(l){const p=h.create("div",{id:"NavGroup"});return h.create("div",{id:"Back",class:"nav-button",onclick:function(){l.back()}},p),h.create("div",{id:"Forward",class:"nav-button",onclick:function(){l.forward()}},p),p}}},A,x),A.exports=w},66548:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(71275),a(31512),a(26268),a(19614),a(11567),a(4156),a(99833),a(47890),a(1709)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){return function(c){u.subscribe("highlight",function(l){const p=c.highlightor;if(l){p.byExternalInput(l);const E=p.getCurrent();E?c.show(E.file):c.refresh()}else p.clear(),c.refresh()}),u.subscribe("showFile",function({file:l,line:p,select:E}){c.show(l,p,E)}),n.readonly||(u.subscribe("m2c",function(l){const p=Array.isArray(l)?l:[l],E=c.highlightor;if(p.length>0){E.bySids(p);const m=E.getCurrent();m?c.show(m.file):c.refresh()}else E.clear(),c.refresh()}),u.subscribe("record2code",function(l){const p=c.highlightor;p.byRecord(l);const E=p.getCurrent();E?c.show(E.file):c.refresh()}),u.subscribe("mlfb2code",function(l){const p=c.highlightor;p.byMLFB(l);const E=p.getCurrent();E?c.show(E.file):c.refresh()}));const e=l=>{const p=l.message;if(p){const E=o(l);h.place(E,"ErrorPage","only"),c.data=null,n.build=n.model,C.add(c.domNode,"error")}else{C.remove(c.domNode,"error");const E=c.highlightor;E.clear(),c.code.file="";const m=c.data;c.data=r(l),n.build=c.data.build;const y=c.history;y.init();let b=!1;if(m){const S=m.currentFile;c.data.files.get(S)&&(c.data.currentFile=S,b=!0),m.build===c.data.build&&m.ref===c.data.ref&&E.byDiff(m)}const I=E.getCurrent();if(I)c.show(I.file);else if(E.clear(),b)c.refresh();else{const S=y.load();S?(c.gotoState(S),y.get().id--):c.show(null,1,!1)}}c.busy.hide(),s(t),u.publish({action:"CodeReady",file:c.data?c.data.currentFile:void 0,err:p})};u.subscribe("init",e);let t=null;function s(l){l&&l.closeProgressDialog&&l.closeProgressDialog()}u.subscribe("lock",function(l){s(t);const p=h.create("div",{textContent:l});let E="Loading ...";n.model&&(E=d.getString("SimulinkCoderApp:report:ProgressBarGenCode"),C.add(p,"typedef"),p.setAttribute("type","blk")),t=f.displayProgressDialog(E,p,{indeterminate:!0})}),u.subscribe("unlock",function(){s(t)}),u.subscribe("refresh",function(l){n.build=l.build,i.start()}),u.subscribe("switchModel",function(){i.start()}),c.loadData=e,u.publish({action:"ready"})};function o(c){const e=c.message,t=c.errorType,s=h.create("div",{class:"error-page"}),l=h.create("div",{class:"error-text"},s);l.innerText=e;const p=c.xil;if(p&&p.length!==0){h.create("div",{class:"error-suggest",textContent:"Generated code:"},s);const E=h.create("div",{id:"XIL",style:"padding: 8px"},s),m=h.create("table",{id:"XILTable"},E),y=h.create("tr",{},m);return h.create("th",{},y),h.create("th",{textContent:"Model Block"},y),p.forEach(b=>{const I=h.create("tr",{},m);h.create("td",{class:"xil-icon"},I);const S=h.create("td",{},I);h.create("a",{class:"xil-blk",innerHTML:b,href:`matlab:Simulink.BlockPath('${b}').open('Force', 'on')`},S)}),s}if(h.create("div",{class:"error-suggest",textContent:d.getString("SimulinkCoderApp:report:Suggest")},s),t==="STFMismatch"){const E=h.create("div",{class:"action"},s);h.create("div",{class:"name",textContent:d.getString("SimulinkCoderApp:report:GenerateCodeGroupName_STFMismatch")},E),h.create("div",{class:"text",textContent:d.getString("SimulinkCoderApp:report:GenerateCodeText_STFMismatch")},E)}else if(t==="HDLSubsystemUnpinned"){const E=h.create("div",{class:"action"},s);h.create("div",{class:"name",textContent:"Pin a subsystem"},E),h.create("div",{class:"text",textContent:'Select and pin a subsystem. Then click "View code" in the Review Results section on the HDL Code tab.'},E)}else{const E=h.create("div",{class:"action"},s);h.create("div",{class:"name",textContent:d.getString("SimulinkCoderApp:report:GenerateCodeGroupName")},E),h.create("div",{class:"text",textContent:d.getString("SimulinkCoderApp:report:GenerateCodeText")},E);const m=h.create("div",{class:"action"},s);h.create("div",{class:"name",textContent:d.getString("SimulinkCoderApp:report:ReloadCodeGroupName")},m);const y=d.getString("SimulinkCoderApp:report:ReloadBtnName");h.create("div",{class:"text",textContent:g.substitute(d.getString("SimulinkCoderApp:report:ReloadCodeText"),[y])},m);const b="ReloadBtn",I=h.create("div",{class:"btn-row"},m);let S=v.byId(b);S||(S=new _({id:b,label:y,class:"btn",onClick:function(){window.cr.busy.show(),u.publish({action:"start"})}}),S.startup()),h.place(S.domNode,I)}return s}},A,x),A.exports=w},12598:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(96916),a(48201),a(41032),a(17279),a(71275),a(61932),a(1709),a(99833),a(11567),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i){return function(o){let c=null;const e=C.create("div",{class:"search-group"}),t=C.create("div",{class:"input-group"},e),s=C.create("div",{class:"result-group"}),l=C.create("div",{class:"search-list"},e),p=h([u]),E=new p({id:"SearchList",renderRow:O,keepScrollPosition:!0,query:function(V){return!window.cr.traceConfig.tokenLevelTrace&&V.type==="blk"?!1:V.show}});o.searchList=E,C.place(E.domNode,l),E.startup(),C.create("label",{class:"search-icon search-item square",for:"SearchInput"},t);const m=C.create("input",{id:"SearchInput",class:"search-input search-item",type:"search",placeholder:d.getString("SimulinkCoderApp:report:Search"),oninput:function(V){const K=V.target.value;U(K)},onkeypress:function(V){const K=V.target,M=K.value;V.key==="Enter"?M?z(M):$():V.key==="Escape"&&(V.stopPropagation(),M||K.blur())},onblur:function(){g.remove(l,"show")},onfocus:function(V){v.publish("expandConfig",!1),L()}},t);v.subscribe("closeSearchList",function(){g.remove(l,"show")});const y=C.create("div",{class:"hl-text search-item"},s),b=C.create("div",{class:"search-text search-item"},s),I=C.create("div",{class:"search-result search-item",onclick:function(){v.publish("expandConfig",!1);const V=o.highlightor;if(V.inHighlight){const K=V.getCurrent();K&&o.show(K.file,K.line,!0)}}},s),S=C.create("div",{class:"search-nav-previous search-item square button",onclick:function(){if(v.publish("expandConfig",!1),!this.classList.contains("disabled")){const K=o.highlightor;K.pre();const M=K.getCurrent();M&&o.show(M.file)}}},s),R=C.create("div",{class:"search-nav-next search-item square button",onclick:function(V){if(v.publish("expandConfig",!1),!this.classList.contains("disabled")){const M=o.highlightor;M.next();const B=M.getCurrent();B&&o.show(B.file)}}},s);return C.create("div",{class:"search-overview search-item square button",onclick:function(){v.publish("expandConfig",!1),console.log("overview")}},s),C.create("div",{class:"search-clear search-item square button",onclick:function(){v.publish("expandConfig",!1),$()}},s),document.addEventListener("keydown",function(V){V.isComposing||V.keyCode===229||(V.ctrlKey||V.metaKey?V.key==="f"?m.focus():V.key==="n"?o.highlightor.inHighlight&&R.click():V.key==="p"&&o.highlightor.inHighlight&&S.click():V.key==="Escape"&&o.highlightor.inHighlight&&$())}),{domNode:e,resultGroup:s,refresh:W};function O(V){const K=C.create("div",{class:"row"}),M=C.create("div",{class:"typedef"},K),B=C.create("div",{class:"text"},K);return B.innerHTML=r.highlightText(V.text,c),M.setAttribute("type",V.type),V.type==="blk"&&!V.traceable&&g.add(K,"eb"),K.onmousedown=function(){z(V)},K}function L(){if(m.value){const K=E.store.data.filter(function(M){return M.show}).length;if(K>0){const M=K*30+1;_.set(l,"height",M+"px"),g.add(l,"show")}else g.remove(l,"show")}else _.set(l,"height","50vh"),g.add(l,"show");E.refresh()}function U(V){const K=V.trim(),M=E.store.data;if(K)try{c=new RegExp(V.trim(),"gi"),M.forEach(function(B){B.show=B.text.search(c)!==-1})}catch(B){}else c=null,M.forEach(function(B){B.show=!0});L(),E.refresh()}function z(V){const K=o.highlightor;typeof V=="string"?K.byString(V):V.type==="blk"?K.byModel(V):K.byToken(V);const M=K.getCurrent();M?o.show(M.file):o.refresh(),m.blur()}function $(){o.highlightor.clear(),o.refresh(),m.blur()}function W(){E.store!==o.data.types&&(E.store=o.data.types,E.store.data.forEach(function(K){K.show=!0}));const V=o.highlightor;if(V.inHighlight){g.remove(s,"eb"),g.remove(s,"plain");const K=V.input,M=V.mode,B=V.getResults().length;if(M==="diff")g.add(s,"plain"),b.textContent=d.getString("SimulinkCoderApp:report:HL_LineUpdate");else if(M==="external")g.add(s,"plain"),b.textContent=V.input;else if(Array.isArray(K)){g.add(s,"plain");const P=d.getString("SimulinkCoderApp:report:HL_SelectedBlk");b.innerHTML=f.substitute(P,['<span class="num">'+K.length+"</span>"])}else{const P=r.createUnit(K);if(C.place(P,b,"only"),y.textContent=d.getString("SimulinkCoderApp:report:Highlighting")+": ",K.type==="blk"&&B===0){const k="simulinkcoder.internal.util.getReason",H=i.build,Y=K.sid,G=K.text;r.mvm.feval(k,1,[H,Y,G]).then(([Q])=>{if(!Q)return;const J=d.getString(Q);if(!J)return;const q=/'\$\{0\}'/;b.innerHTML=J.replace(q,'<span class="typedef" type="blk"></span>');const oe=b.querySelector("span");oe.textContent=K.text;const ie=K.sid;ie&&(oe.onclick=function(pe){pe.stopPropagation(),n.publish({action:"blk2mdl",sids:[ie]})}),y.innerHTML="",g.add(s,"eb")})}}B===0?I.innerText=0:I.innerText=V.getIndex()+1+" / "+B,B<=1?(g.add(S,"disabled"),g.add(R,"disabled")):(g.remove(S,"disabled"),g.remove(R,"disabled"))}}}},A,x),A.exports=w},70631:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(17279)],w=a.dj.d(T,function(h,C,g){return function(_){const v=h.create("div",{id:"FileSelector",class:"file-selector",tabIndex:0,onblur:t}),f=h.create("div",{class:"top",onmousedown:e},v),u=h.create("div",{class:"list"},v);let r=!1;return document.addEventListener("keydown",function(l){l.isComposing||l.keyCode===229||(l.ctrlKey||l.metaKey)&&l.key==="l"&&e()}),v.addEventListener("keydown",function(l){if(l.isComposing||l.keyCode===229||!r)return;let p;switch(l.key){case"Escape":t();break;case"Enter":const E=v.querySelector(".list .item.file.preselect");if(E){const m=E.getAttribute("filename");o(m),t()}break;case"ArrowUp":p=v.querySelectorAll(".list .item.file"),s(p,-1);break;case"ArrowDown":p=v.querySelectorAll(".list .item.file"),s(p,1);break;default:console.log("other key: ",l.key)}}),{domNode:v,refresh:n};function n(){const l=_.data,p=l.files.data;if(p.length===0)return;const E=[],m={};p.forEach(function(R){const N=R.group;m[N]||(m[N]=!0,E.push({name:N,disp:R.groupDisplay,type:"group"})),E.push({name:R.name,hlcount:R.hlcount,type:"file"})}),_.highlightor.inHighlight?(C.add(v,"inHighlight"),E.filter(function(R){return R.type==="file"}).forEach(function(R){_.config.showComments?R.hits=R.hlcount.full:R.hits=R.hlcount.filter})):C.remove(v,"inHighlight");const b=E.map(i),I=l.currentFile,S=E.filter(function(R){return R.type==="file"&&R.name===I})[0];c(S),u.innerHTML="",b.forEach(function(R){u.appendChild(R)})}function i(l,p){const E=l.type,m=h.create("div",{class:"item "+E});m.setAttribute("filename",l.name),_.data.currentFile===l.name&&(C.add(m,"current"),C.add(m,"preselect")),p&&E==="file"&&(m.onmousedown=function(S){const R=l.name;o(R)});const b=h.create("div",{class:"text"},m);E==="group"?b.textContent=l.disp:b.textContent=l.name;const I=h.create("div",{class:"hits",textContent:"("+l.hits+")"},m);return l.hits===0&&C.add(I,"zero"),m}function o(l){const p=_.highlightor;if(p.inHighlight){const E=p.getResults();let m=null;E.some(function(y){if(y.file===l)return m=y,!0}),m&&p.setCurrent(m)}_.show(l)}function c(l){const p=i(l,!1),E=h.create("div",{class:"selector-button"});f.innerHTML="",f.appendChild(p),f.appendChild(E)}function e(){if(g.publish("expandConfig",!1),v.focus(),r=!r,r){C.add(v,"expand"),u.querySelectorAll(".preselect").forEach(function(E){C.remove(E,"preselect")});const p=u.querySelector(".current");p&&(p.scrollIntoViewIfNeeded(),C.add(p,"preselect"))}else C.remove(v,"expand")}function t(){C.remove(v,"expand"),r=!1}function s(l,p){let E=-1;const m=l.length;for(let b=0;b<m;b++)if(l[b].classList.contains("preselect")){E=b;break}E===-1&&console.error("no preselect");let y=E+p;y<0&&(y=0),y>=m&&(y=m-1),l[E].classList.remove("preselect"),l[y].classList.add("preselect"),l[y].scrollIntoViewIfNeeded(!1)}}},A,x),A.exports=w},87451:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(17279),a(99833),a(11567),a(1709),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return function(r){let d=!1;const n=h.create("div",{id:"Config",class:"config"});g.subscribe("expandConfig",function(l){d=l,d?C.add(n,"expand"):C.remove(n,"expand")});const i={showComments:!0,showAnnotation:null,showCodeMetrics:null,showCodeProfiling:null,cmOn:null,showCoverage:null,covType:null,covOn:null,cpOn:null,domNode:n,refresh:c};v.subscribe("toggleAnnotation",l=>{const p=l.flag;r.data.review=p,i.showAnnotation=p,r.refresh()}),h.create("div",{class:"v-dots",onclick:function(){d=!d,d?C.add(n,"expand"):C.remove(n,"expand")}},n);const o=h.create("div",{id:"ConfigPane",class:"contents"},n);return i;function c(){this.showAnnotation===null&&(this.showAnnotation=r.data.review),this.showAnnotation?C.add(r.domNode,"show-annotation"):C.remove(r.domNode,"show-annotation"),o.innerHTML="";const l=e();if(o.appendChild(l),!u.readonly){if(u.component!=="HDL"){const p=t();o.appendChild(p)}if(r.data.review){const p=s();o.appendChild(p)}}u.component!=="HDL"&&(h.create("hr",{},o),h.create("div",{class:"standalone-report",textContent:_.getString("SimulinkCoderApp:report:LaunchStandaloneReport"),onclick:function(){v.publish({action:"LaunchStandaloneReport"})}},o))}function e(){const l=h.create("div",{id:"ConfigDispGroup",class:"group"});h.create("div",{class:"title",textContent:_.getString("SimulinkCoderApp:report:ConfigGroup_Display")},l);const p=h.create("div",{id:"ConfigCommentsGroup",class:"item"},l);h.create("input",{id:"ConfigComments",class:"checkbox",type:"checkbox",checked:i.showComments,onchange:function(){i.showComments=this.checked,r.highlightor.updateCurrent(),r.show()}},p),h.create("label",{for:"ConfigComments",textContent:_.getString("SimulinkCoderApp:report:ShowComments")},p),h.create("div",{class:"item",textContent:_.getString("SimulinkCoderApp:report:ConfigCodeFolding")+":"},l);const E=h.create("div",{id:"ConfigCodeFolding",class:"item"},l);return h.create("button",{id:"ConfigFoldAll",class:"button",textContent:_.getString("SimulinkCoderApp:report:ConfigCodeFolding_FoldAll"),onclick:function(){f.expandAll(!1)}},E),h.create("button",{id:"ConfigExpandAll",class:"button",textContent:_.getString("SimulinkCoderApp:report:ConfigCodeFolding_ExpandAll"),onclick:function(){f.expandAll(!0)}},E),l}function t(){const l=h.create("div",{id:"ConfigAnalysisGroup",class:"group"});h.create("div",{class:"title",textContent:_.getString("SimulinkCoderApp:report:ConfigGroup_Analysis")},l);const p=r.data.cm;let E;p?(E=!0,i.showCodeMetrics===null?i.cmOn=!0:i.cmOn=i.showCodeMetrics):(i.cmOn=!1,E=!1);const m=h.create("div",{id:"ConfigCodeMetrics",class:"item"},l),y=h.create("input",{id:"ConfigShowCodeMetrics",class:"checkbox",type:"checkbox",checked:i.cmOn,onchange:function(){i.showCodeMetrics=this.checked,i.cmOn=this.checked}},m),b=h.create("label",{for:"ConfigShowCodeMetrics",textContent:_.getString("SimulinkCoderApp:report:ConfigShowCodeMetrics")},m);if(E||(y.setAttribute("disabled",""),C.add(b,"disabled")),h.create("div",{class:"link",onclick:function(){v.publish({action:"configset",param:"GenerateCodeMetricsReport"})}},m),r.data.coverage){const L=r.data.coverage;if(Array.isArray(L)){const U=L.map(function(M){const B=M.files;return!!(B&&B.length)}),z=U.some(function(M){return M});z?i.showCoverage===null?i.covOn=!0:i.covOn=i.showCoverage:i.covOn=!1,L.forEach(function(M,B){U[B]||M.id===i.covType&&(i.covType=null)}),i.covType===null&&L.some(function(M,B){if(U[B])return i.covType=M.id,!0});const $=h.create("div",{id:"ConfigCoverage",class:"item"},l),W=h.create("input",{id:"ConfigShowCoverage",class:"checkbox",type:"checkbox",checked:i.covOn,onchange:function(){i.showCoverage=this.checked,i.covOn=this.checked,i.showCoverage?C.add(r.domNode,"show-coverage"):C.remove(r.domNode,"show-coverage"),r.refresh()}},$),V=h.create("label",{for:"ConfigShowCoverage",textContent:_.getString("SimulinkCoderApp:report:ConfigShowCoverage")},$);z||(W.setAttribute("disabled",""),C.add(V,"disabled")),h.create("div",{class:"link",onclick:function(){v.publish({action:"configset",param:"CodeCoverageSettings"})}},$);const K=h.create("div",{id:"ConfigCoverageSelect",class:"options"},l);L.forEach(function(M,B){const P=M.id,k=U[B],H=h.create("div",{class:"option"},K),Y=h.create("input",{type:"radio",id:P,value:P,name:"covType",checked:P===i.covType,onchange:function(Q){i.covType=Q.target.value,r.refresh()}},H),G=h.create("label",{for:P,textContent:M.name},H);(!i.covOn||!k)&&(Y.setAttribute("disabled",""),C.add(G,"disabled"))})}}const I=r.data.profiling;let S;I?(S=!0,i.showCodeProfiling===null?i.cpOn=!0:i.cpOn=i.showCodeProfiling):(i.cpOn=!1,S=!1);const R=h.create("div",{id:"ConfigCodeProfiling",class:"item"},l),N=h.create("input",{id:"ConfigShowCodeProfiling",class:"checkbox",type:"checkbox",checked:i.cpOn,onchange:function(){i.showCodeProfiling=this.checked,i.cpOn=this.checked,r.refresh()}},R),O=h.create("label",{for:"ConfigShowCodeProfiling",textContent:_.getString("SimulinkCoderApp:report:ConfigShowCodeProfiling")},R);return S||(N.setAttribute("disabled",""),C.add(O,"disabled")),h.create("div",{class:"link",onclick:function(){v.publish({action:"configset",param:"CodeExecutionProfiling"})}},R),l}function s(){const l=h.create("div",{id:"ConfigReviewGroup",class:"group"});h.create("div",{class:"title",textContent:_.getString("SimulinkCoderApp:report:ConfigGroup_Review")},l);const p=h.create("div",{id:"ConfigAnnotationGroup",class:"item"},l);return h.create("input",{id:"ConfigAnnotation",class:"checkbox",type:"checkbox",checked:i.showAnnotation,onchange:function(){i.showAnnotation=this.checked,i.showAnnotation?C.add(r.domNode,"show-annotation"):C.remove(r.domNode,"show-annotation")}},p),h.create("label",{for:"ConfigAnnotation",textContent:_.getString("SimulinkCoderApp:report:ShowAnnotation")},p),l}}},A,x),A.exports=w},95859:(A,x,a)=>{"use strict";var T,w;T=[a(96916),a(48201),a(41032),a(20963),a(70495),a(39196),a(71275),a(73742),a(10035),a(1709),a(99833),a(11567),a(47890)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c){const e={fcn:i.getString("SimulinkCoderApp:report:Type_Function"),var:i.getString("SimulinkCoderApp:report:Type_Variable"),type:i.getString("SimulinkCoderApp:report:Type_Type"),cls:i.getString("SimulinkCoderApp:report:Type_Class")},t=n.mvm.getFeatures();let s;return t.getFeature("EnhancedDatacopyReporter").then(R=>{s=R}),function(R,N){if(!document.getElementById("ToolTip")){const z=r({id:"ToolTip",placement:"top"});z.referenceNode=document.createElement("div"),window.popout=z,document.body.appendChild(z)}const O=document.getElementById("ToolTip"),L=l(N,R.data);if(!L)return;if(O.referenceNode!==N){const{observer:z}=d.observeElementInDom(O.referenceNode);O._referenceObserver=z,O.referenceNode=N,O.open||setTimeout(()=>{N.matches(":hover")&&O.show()},500)}setTimeout(()=>{!N.matches(":hover")&&!O.matches(":hover")&&O.referenceNode===N&&O.close()},1e3),O.content=L,R.config.cmOn?C.add(L,"show-code-metrics"):C.remove(L,"show-code-metrics"),R.config.cpOn?C.add(L,"show-code-profiling"):C.remove(L,"show-code-profiling")};function l(R,N){let O=null;const L=p(R,N);let U=null,z=null;window.cr.traceConfig.tokenLevelTrace&&(U=E(R,N),z=m(R,N));const $=y(R,N),W=b(R,N),V=I(R,N),K=[L,U,z,$,W,V].filter(function(M){return M});return K.length>0&&(O=h.create("div",{class:"content"}),K.forEach(function(M){h.place(M,O)})),O}function p(R,N){const O=R.id,L=N.records.get(O);if(!L)return;const U=L.define;if(!U)return;const z=h.create("div",{class:"section definition"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:Definition")},z);const $=h.create("div",{class:"title"},z),W=window.cr,V=e[U.def],K=U.file,M=U.line,B=W.data.files.get(K),P=B.codeList[M-1];if($.innerHTML='<span class="type">'+V+"</span> "+i.getString("SimulinkCoderApp:report:DefinedIn")+' <span class="file">'+K+"</span>",U!==L){const k=h.create("div",{class:"body code-ref"},z);h.create("span",{class:"line",innerHTML:M},k),B.lang.createNodes(P.tokens).forEach(Y=>k.appendChild(Y)),h.create("div",{class:"overlay",onclick:function(Y){Y.stopPropagation(),W.show(K,M,!0)}},k)}return z}function E(R,N){const O=N.records.get(R.id);if(!O)return;const L=O.sid;if(!L||L.size===0)return;const U=[...L].map(function(W){return N.blocks.queryBySid(W)}).filter(function(W){return W});if(U.length===0)return;const z=h.create("div",{class:"section model-elements"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:ModelElements")},z);const $=h.create("div",{class:"body"},z);return U.forEach(function(W){const V=n.createUnit({type:"blk",text:W.blk});V.setAttribute("sid",W.sid),V.onclick=function(K){K.stopPropagation();const B=K.target.getAttribute("sid");o.publish({action:"blk2mdl",sids:[B]})},h.place(V,$)}),z}function m(R,N){const O=R.id,L=N.records.get(O);if(!L)return;const U=L.customTrace;if(!U||U.size===0)return;const z=U.get("StorageClass"),$=U.get("ModelElemCategory");if(!z||!$)return;const W=h.create("div",{class:"section customization"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:Customization")},W);const V=U.get("StorageClassSource")||"ModelDefault",K=i.getString("SimulinkCoderApp:report:"+V);let M;V==="Individual"?M=U.get("ModelDataSource"):M=i.getString("coderdictionary:mapping:"+$)||$,h.create("div",{class:"title",textContent:K},W);const B=h.create("div",{class:"body storage-class",category:$},W);return h.create("span",{class:"category-name",textContent:M+": "},B),h.create("span",{class:"storage-class-name",textContent:z},B),B.onclick=function(P){P.stopPropagation(),o.publish({action:"code2mapping",id:O,userData:U})},W}function y(R,N){const O=N.cm;if(!O)return;const L=R.getAttribute("token"),U=h.create("div",{class:"section code-metrics"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:CodeMetrics")},U);const z=h.create("div",{class:"body"},U),$=N.define.get(L);if(!(!$||$.type!=="fcn"&&$.type!=="var")){if($.type==="fcn"){const V=N.currentFile+":"+L,K=O.fcn;let M=K.get(V);if(M||(M=K.get(L)),M){const B='<span class="cm-num">'+M.Stack+"</span>",P=i.getString("SimulinkCoderApp:report:CodeMetrics_Stack"),k=u.substitute(P,[B]);let H;if(M.StackTotal===-1)H=i.getString("SimulinkCoderApp:report:CodeMetrics_TotalStackRecursion");else{const Y='<span class="cm-num">'+M.StackTotal+"</span>",G=i.getString("SimulinkCoderApp:report:CodeMetrics_TotalStack");H=u.substitute(G,[Y])}return z.innerHTML=k+", "+H,U}}else if($.type==="var"){const V=O.var.get(L);if(V){const K='<span class="cm-num">'+V.Size+"</span>",M=i.getString("SimulinkCoderApp:report:CodeMetrics_Size"),B=u.substitute(M,[K]);return z.innerHTML=B,U}}}}function b(R,N){const O=N.records.get(R.id),L=-1;if(s===1||s===2||s===4){const U=S(R,N);if(U!==L){const z=h.create("div",{class:"section"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:Datacopy")},z);const $=h.create("div",{class:"body"},z);return $.innerHTML=U,z}}}function I(R,N){if(!N.profiling)return;const L=N.profiling.proInfo,U=R.getAttribute("token"),z=L.find(function(dt){if(dt.FileNames[0]===N.currentFile){if(dt.CodeSectionName===U)return dt;if(dt.CodeSectionName!==U&&dt.LineNumbers[0].includes(parseInt(R.id.split(":")[1].split("c")[0])))return dt}});if(!z||z.FileNames[0]!==N.currentFile)return;const $=N.profiling.UnitOfTime,W=N.profiling.TimerTicksPerSecond,V=R.getElementsByTagName("c"),K=parseInt(V[0].getAttribute("ln")),M=z.LineNumbers[0],B=M.length,P=M[0],k=M[B-1];if(!(K>=P&&K<=k))return;const Y=h.create("div",{class:"section code-profiling"});h.create("div",{class:"name",textContent:i.getString("SimulinkCoderApp:report:CodeProfiling")},Y);const G=h.create("div",{class:"body"},Y),Q=z.MaximumExecutionTimeInTicks/W,J=Q<1||Q>99999?Q.toExponential(2):Q,q='<table class="cp-table"><tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:MaximumExecutionTime")+"</td>",oe='<td class="cp-td"><span class="cp-num">'+J+"</span></td></tr>",ie=z.TotalExecutionTimeInTicks/z.NumCalls/W,pe=ie<1||ie>99999?ie.toExponential(2):ie.toFixed(0),ce='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:AverageExecutionTime")+"</td>",te='<td class="cp-td"><span class="cp-num">'+pe+"</span></td></tr>",ne=z.MaximumSelfTimeInTicks/W,re=ne<1||ne>99999?ne.toExponential(2):ne,se='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:MaximumSelfTime")+"</td>",ge=' <td class="cp-td"><span class="cp-num">'+re+"</span></td></tr>",he=z.TotalSelfTimeInTicks/z.NumCalls/W,fe=he<1||he>99999?he.toExponential(2):he.toFixed(0),me='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:AverageSelfTime")+"</td>",De='<td class="cp-td"><span class="cp-num">'+fe+"</span></td></tr>",Ie='<tr class="cp-tr"><td class="cp-td">'+i.getString("SimulinkCoderApp:report:NumberOfCalls")+"</td>",Oe='<td class="cp-td"><span class="cp-num">'+z.NumCalls+"</span></td></tr>",je=i.getString("SimulinkCoderApp:report:UnitOfTime");if(c.features.showProfilingInfo){const dt='<tr class="cp-tr"><td class="cp-td">Statistics</td>';let yt='<td class="cp-td icons">';z.Statistics.Data[0]&&z.Statistics.Data[1]&&(yt+=`<span class="cp-num">
<a href="matlab:${z.Statistics.Data[0]}" title="${z.Statistics.Data[1].trim()}">
<img src="/toolbox/coder/profile/resources/membrane_16.png" class="icon" role="button" />
</a>
</span>`),z.Statistics.Histogram[0]&&z.Statistics.Histogram[1]&&(yt+=`<span class="cp-num">
<a href="matlab:${z.Statistics.Histogram[0]}" title="${z.Statistics.Histogram[1].trim()}">
<img src="/toolbox/coder/profile/resources/histogram_16.png" class="icon" role="button" />
</a>
</span>`),z.Statistics.SDIPlot[0]&&z.Statistics.SDIPlot[1]&&(yt+=`<span class="cp-num">
<a href="matlab:${z.Statistics.SDIPlot[0]}" title="${z.Statistics.SDIPlot[1].trim()}">
<img src="/toolbox/coder/profile/resources/SimulationDataInspector_16.png" class="icon" role="button" />
</a>
</span>`),z.Statistics.PieChart[0]&&z.Statistics.PieChart[1]&&(yt+=`<span class="cp-num">
<a href="matlab:${z.Statistics.PieChart[0]}" title="${z.Statistics.PieChart[1].trim()}">
<img src="/toolbox/coder/profile/resources/pie_16.png" class="icon" role="button" />
</a>
</span>`),yt+=`</td>
</tr>
</table>`,G.innerHTML=q+oe+ce+te+se+ge+me+De+Ie+Oe+dt+yt+je+" "+$}else G.innerHTML=q+oe+ce+te+se+ge+me+De+Ie+Oe+je+" "+$;return Y}function S(R,N){const L=R.id,U=N.records.get(L),z=U.file,$=U.line,K=window.cr.data.files.get(z).codeList[$-1];return K.hasOwnProperty("DatacopyReason")?K.DatacopyReason:-1}},A,x),A.exports=w},1709:(A,x,a)=>{"use strict";var T,w;T=[a(59076),a(11567)],w=a.dj.d(T,function(h,C){const g=document.createElement("span"),_=document.createElement("span");return _.classList.add("hl"),{text2html:f,html2text:u,highlightText:r,updateData:n,expandToLine:d,expandAll:i,getUnitData:o,getLineData:c,getHDLLineData:e,createUnit:t,markChar:s,mvm:h.getMVM(),start:l};function f(p){return g.innerText=p,g.innerHTML}function u(p){return g.innerHTML=p,g.innerText}function r(p,E){if(!E)return f(p);const m=p.match(E);if(!m)return f(p);const y=p.split(E),b=f(y[0]);return m.reduce(function(S,R,N){_.innerText=R;const O=_.outerHTML,L=f(y[N+1]);return S+O+L},b)}function d(p,E){const m=p[E-1];m&&m.up&&(m.up.forEach(function(y){p[y-1].expand=!0}),n(p))}function n(p){p.forEach(function(E){E.up?E.show=E.up.every(function(m){return p[m-1].expand}):E.show=!0})}function i(p){const E=window.cr;E.data.files.data.forEach(function(m){const y=m.codeList;y.forEach(function(b){b.expand=p}),n(y)}),E.refresh()}function o(p,E){const m=E.id,y=p.records.get(m);if(y)return{file:y.file,line:y.line,col:y.col,code:y.token,sids:y.sid?[...y.sid]:[]}}function c(p,E){const m=p.currentFile,y=p.files.get(m).codeList[E-1],b=y.rawCode,I=[...y.sid];return{file:m,line:E,code:b,sids:I}}function e(p,E){const m=p.currentFile,b=p.files.get(m).codeList[E-1],I=b.rawCode;let S=[];return b.id===E&&b.isTraceable&&b.sid&&(S=[...b.sid]),{file:m,line:E,code:I,sids:S}}function t(p){const E=document.createElement("span");return E.classList.add("typedef"),typeof p=="string"?(E.setAttribute("type","string"),E.textContent=p):(E.setAttribute("type",p.type),E.textContent=p.text,E.onclick=function(m){if(m.stopPropagation(),p.sid)C.publish({action:"blk2mdl",sids:[p.sid]});else{const y=p.file,b=p.line;window.cr.show(y,b,!0)}}),E}function s(p){const E=p.childNodes;for(let m=0,y=E.length;m<y;m++){const b=E[m];if(b.nodeType===1)s(b);else if(b.nodeType===3){const I=document.createElement("text"),S=b.textContent;let R="";for(let N=0,O=S.length;N<O;N++)R+="<c>"+S[N]+"</c>";I.innerHTML=R,p.replaceChild(I,b)}}}function l(){C.publish({action:"start"})}},A,x),A.exports=w},47890:(A,x,a)=>{"use strict";var T,w;T=[a(80419)],w=a.dj.d(T,function(h){const C=window.location.search.substr(1),g=h.queryToObject(C);return g.channel="/report",g.uid=Date.now()+"-"+Math.random(),g.hasOwnProperty("features")?g.features=JSON.parse(g.features):g.features={},g.model||(g.model=g.top),g.hasOwnProperty("readonly")?g.readonly=JSON.parse(g.readonly):g.readonly=!1,window.config=g,g},A,x),A.exports=w},33065:(A,x,a)=>{var T,w;T=[],w=a.dj.d(T,function(){return class{constructor(C,g){this.token=C,this.style=g}}},A,x),A.exports=w},20907:(A,x,a)=>{"use strict";var T,w;T=[a(43840),a(70412)],w=a.dj.d(T,function(h,C){return{__proto__:C,name:"ASAP2",blockBegin:{style:"keyword",token:"begin"},blockEnd:{style:"keyword",token:"end"},comment:{style:"comment"},setup:function(g){h(g);const v={name:"clike",keywords:{begin:!0,end:!0}};return g.defineMIME(this.name,v),g.getMode({},{name:this.name})}}},A,x),A.exports=w},93307:(A,x,a)=>{"use strict";var T,w;T=[a(49537),a(43840),a(70412),a(1709)],w=a.dj.d(T,function(h,C,g,_){return{__proto__:g,name:"C/C++",blockBegin:{style:null,token:"{"},blockEnd:{style:null,token:"}"},comment:{style:"comment"},setup:function(f){C(f);const u={name:"text/x-c++src"};return f.getMode({},u)},createNodes:function(f){return f.map(u=>{const r=document.createElement("span"),d=u.token,n=u.style;r.setAttribute("scope",u.scope),u.def&&r.setAttribute("def",u.def),u.type&&r.setAttribute("type",u.type),u.define&&r.setAttribute("defid",u.define.id),r.classList.add("cpp"),n===null?(d==="{"||d==="}")&&r.classList.add("br"):r.classList.add(n);const i=window.ProtectedModel===void 0?!1:window.ProtectedModel,o=u.id;r.setAttribute("id",o),r.setAttribute("name",o),n==="variable"||n==="def"||n==="operator"||n==="number"?r.classList.add("tk"):n==="variable-3"||n==="keyword"||n==="atom"?(r.classList.add("tk"),r.classList.add("kw")):n==="comment"&&(r.classList.add("ct"),u.type==="blk"?i||r.classList.add("blk"):u.type==="req"?(r.classList.add("req"),r.setAttribute("req_id",u.req_id),r.setAttribute("blockpath",u.blockpath)):u.type==="libblk"&&r.classList.add("libblk")),r.setAttribute("cstyle",n);for(let c=0;c<d.length;c++){const e=document.createElement("c");e.innerText=d[c],r.appendChild(e)}return r})},slHook:function(f,u,r){if(g=this,f.style==="meta")return v(f,u,r);if(f.style==="comment"){g.replaceNonAscii(f);let d=g.detectBlockPath(f);if(d.length>1||(d=g.detectLibBlockPath(f),d.length>1)||(d=g.detectRequirementID(f),d.length>1))return d}return f},createTokenScope:function(f){const u=o=>{const c=o.token,e=c.length;for(let t=0;t<e;t++)if(c[t]!==">")return;return e},r=(o,c,e)=>{let t;for(let s=0;s<e;s++)if(t=o.pop(),!t)return;for(let s=t;s!==c.next;s=s.next)s.template=!0};let d=0,n=[],i=f.firstTk;for(;i;){if(i.scope=d,!i.meta&&i.style===null)i.token==="{"||i.token==="("||i.token==="["?(d++,n=[]):i.token==="}"||i.token===")"||i.token==="]"?(d--,i.scope=d,n=[]):i.token===";"&&(n=[]);else if(i.style==="operator")i.token==="<"?n.push(i):i.token===">"?r(n,i,1):i.token===">>"&&r(n,i,2);else if(i.style==="invalid_operator"){const o=u(i);o&&r(n,i,o)}i=i.next}},detectRequirementID:function(f){const u=/\d+\.\s+\w+.+/;return this.detectPattern(f,u,"req",0)},detectBlockPath:function(f){const u=/'<.+>.*?'/;return this.detectPattern(f,u,"blk",1)},detectLibBlockPath:function(f){const u=/\('.+:\d+'\)/;return this.detectPattern(f,u,"libblk",2)}};function v(f,u,r){const d=/#\s*\w+\s/,n=f.token;if(n.slice(0,8)==="#include")return[f];const i=n.match(d);if(i===null)return[f];const o=i[0],e=i.index+o.length,t={style:"meta",token:o},s=n.slice(e),l=new h(s),p=[t];for(;!l.eol();){const E=u.token(l,r),m={token:l.current(),style:E,meta:!0};p.push(m),l.start=l.pos}return p}},A,x),A.exports=w},47755:(A,x,a)=>{"use strict";var T,w;T=[a(43840),a(93307)],w=a.dj.d(T,function(h,C){return{__proto__:C,name:"CUDA",setup:function(g){h(g);const _=g.mimeModes["text/x-c++src"],f={__proto__:_.keywords,__global__:!0,__device__:!0,__shared__:!0,__host__:!0,__constant__:!0,__launch_bounds__:!0,gridDim:!0,blockIdx:!0,blockDim:!0,threadIdx:!0,wrapSize:!0,dim3:!0,cudaMalloc:!0,cudaMemcpy:!0,cudaMemcpyHostToDevice:!0,cudaMemcpyDeviceToHost:!0,cudaFree:!0},u={__proto__:_,keywords:f};return g.defineMIME(this.name,u),g.getMode({},{name:this.name})}}},A,x),A.exports=w},96542:(A,x,a)=>{"use strict";var T,w;T=[a(70412)],w=a.dj.d(T,function(h){return{__proto__:h,createNodes:function(C){return C.map(g=>{const _=document.createElement("span"),v=g.token,f=g.style,u=g.id;_.setAttribute("id",u),f&&f.trim().split(" ").forEach(d=>_.classList.add(d)),f==="comment"&&(_.classList.add("ct"),g.type==="blk"?_.classList.add("blk"):g.type==="req"?(_.classList.add("req"),_.setAttribute("req_id",g.req_id),_.setAttribute("blockpath",g.blockpath)):g.type==="libblk"&&_.classList.add("libblk"));for(let r=0;r<v.length;r++){const d=document.createElement("c");d.innerText=v[r],_.appendChild(d)}return _})},assignLineScope:function(C,g,_,v,f){for(let u=0;u<g;u++){const r=C[u];if(this.isBlockBegin(r))f.push(_.id);else if(this.isBlockEnd(r)){const d=f.pop();if(d!==void 0){const n=v[d-1];if(n.to=_.id,_.from=n.id,r.token==="END")break}}}},slHook:function(C,g,_){if(h=this,C.style==="comment"){h.replaceNonAscii(C);let v=h.detectBlockPath(C);if(v.length>1||(v=h.detectLibBlockPath(C),v.length>1)||(v=h.detectRequirementID(C),v.length>1))return v}return C},detectRequirementID:function(C){const g=/\d+\.\s+\w+.+/;return this.detectPattern(C,g,"req",0)},detectLibBlockPath:function(C){const g=/\('.+:\d+'\)/;return this.detectPattern(C,g,"libblk",2)}}},A,x),A.exports=w},70412:(A,x,a)=>{"use strict";var T,w;T=[a(8806),a(49537),a(1709),a(33065)],w=a.dj.d(T,function(h,C,g,_){return{comment:{style:"comment"},blockBegin:[],blockEnd:[],parse:function(v){const f=this,u=new h,r=f.setup(u),d=u.splitLines(v),n=u.startState(r);return d.map(function(o,c){const e=f.parseLineForTokens(o,r,n),t=e.map(function(p){return p.token}).join(""),s=e.filter(function(p){return p.style!==f.comment.style}).map(function(p){return p.token}).join(""),l=!!s.trim();return{id:c+1,rawCode:t,tokens:e,cutoff:s.length,isCodeLine:l}})},parseLineForTokens:function(v,f,u){const r=this,d=new C(v);!d.streing&&f.blankLine&&f.blankLine(u);let n=[];for(;!d.eol();){const i=f.token(d,u),o=new _(d.current(),i),c=r.slHook(o,f,u);n=n.concat(c),d.start=d.pos}return n},createNodes:function(v){return v.map(f=>{const u=document.createElement("span"),r=f.token,d=f.style;d&&d.trim().split(" ").forEach(i=>u.classList.add(i));for(let n=0;n<r.length;n++){const i=document.createElement("c");i.innerText=r[n],u.appendChild(i)}return u})},createNoComment:function(v){let f="";const u=this;return v.forEach(function(r){r.style!==u.comment.style&&(f+=r.token)}),f},createTokenScope:function(v){},createScope:function(v){this.createTokenScope(v);const f=v.length,u=[];for(let r=0;r<f;++r){const d=v[r],n=d.tokens,i=n.length;for(let c=0;c<i;c++){const e=n[c];if(e.token.trim())if(this.isBlockEnd(e)){d.indent=u.length-1;break}else{d.indent=u.length;break}else continue}const o=n[0];o&&!o.token.trim()?d.indentSpace=o.token.length:d.indentSpace=0,this.assignLineScope(n,i,d,v,u),d.up=u.filter(c=>c!==d.id),d.spaces=d.up.map(c=>{const e=v[c-1],t=e.tokens;let s=t[0];for(;s&&!s.token.trim();)s=s.next;let l=t[t.length-1];for(;l&&!l.token.trim();)l=l.prev;if(s.scope===l.scope)return e.indentSpace;{let p=s.prev;for(;p&&p.scope>l.scope;)p=p.prev;return p?v[p.line-1].indentSpace:e.indentSpace}})}},assignLineScope:function(v,f,u,r,d){for(let n=0;n<f;n++){const i=v[n];if(this.isBlockBegin(i))d.push(u.id);else if(this.isBlockEnd(i)){const o=d.pop();if(o!==void 0){const c=r[o-1];c.to=u.id,u.from=c.id}}}},slHook:function(v){return v},isBlockBegin(v){return this.isEq(v,this.blockBegin)},isBlockEnd(v){return this.isEq(v,this.blockEnd)},isEq(v,f){Array.isArray(f)||(f=[f]);const u=v.style,r=v.token;for(let d=0;d<f.length;d++){const n=f[d],i=n.style,o=n.token;let c=!1;if(u!==void 0&&i!==void 0&&(c=u===i),r!==void 0&&o!==void 0&&(c=c&&r===o),c)return!0}return!1},replaceNonAscii:v=>{const f=v.token,u=/&#\w+;/g;v.token=f.replace(u,g.html2text)},detectPattern:(v,f,u,r)=>{const d=v.token,n=d.match(f);if(n===null)return[v];const i=n[0];let o=n.index,c=o+i.length;o+=r,c-=r;const e=d.slice(0,o),t=d.slice(o,c),s=d.slice(c),l={token:e,style:v.style},p={token:t,style:v.style,type:u},E={token:s,style:v.style};return[l,p,E].filter(function(y){return y.token})}}},A,x),A.exports=w},16671:(A,x,a)=>{"use strict";var T,w;T=[a(93307)],w=a.dj.d(T,function(S){return{analyze:function(R){let N="parser";console.time(N),Array.isArray(R)||(R=[R]);const O=R.filter(function(U){return U.lang===S});h(O);const L=C(O);return this.defineMap=L,console.timeEnd(N),N="build defs",console.time(N),this.buildDefs(O),console.timeEnd(N),L},locateDef:function(R){return l(R,this.defineMap)},buildDefs:I}},A,x),A.exports=w;function h(S){S.forEach(function(R){let N=R.codeList[0].tokens[0];for(;N;)(N.style==="comment"||N.style==="blk"||N.style==="req"||N.style==="libblk"||N.style==="meta"||N.meta||!N.token.trim()||N.template===!0)&&(N.skip=!0),N=N.next})}function C(S){const R=new Map;return S.forEach(function(N){const O=N.codeList.firstTk;if(!O)return;const L={style:"global",scope:-1,defs:[]};try{_(O,L)}catch(U){console.error(U)}try{g(L,R)}catch(U){console.error(U)}}),R}function g(S,R){const N=S.fullname;S.defs.forEach(function(O){N?O.fullname=N+"::"+O.token:O.fullname=O.token,R.set(O.fullname,O),(O.def==="type"||O.def==="cls"||O.def==="ns")&&O.defs&&g(O,R)})}function _(S,R){R.defs||(R.defs=[]);const N=S.scope;for(;S&&S.scope>R.scope&&(S.parent=R,!S.skip&&S.scope===N&&(S.style==="keyword"?S.token==="extern"||S.token==="return"?S=e(S,";",R):S.token==="using"?S=f(S,R):S.token==="template"?S=u(S,R):S.token==="typedef"?S=d(S,R):S.token==="struct"?S=n(S,R,"type",!1).it:S.token==="class"?S=n(S,R,"cls",!1).it:S.token==="auto"||S.token==="decltype"?S=i(S,R,S):S.token==="namespace"&&(S=v(S,R)):S.style==="variable"||S.style==="variable-3"?S=i(S,R,S):S.style===null&&S.token==="{"&&(S=_(S.next,S))),S);)S=S.next;return S}function v(S,R){R.defs||(R.defs=[]);const N=S.scope,O=s(S,function(L){return L.scope===N&&L.style===null&&L.token==="{"},function(L){return L.scope>N||L.scope===N&&L.style===null&&L.token===";"},!1,R);if(O.success){const L=O.it,U=s(L,function($){return $.scope===N&&($.style==="def"||$.style==="variable")},function($){return $===S},!0,R);let z;return U.success?(z=U.it,z.def="ns",R.defs.push(z)):z=L,_(L.next,z)}else return O.it}function f(S,R){R.defs||(R.defs=[]);let N=s(S,function(L){return L.scope===S.scope&&(L.style==="variable"||L.style==="variable-3")},function(L){return L.scope<S.scope||L.style===null&&L.token===";"},!1,R);const O=N.it;return N.success?(N=s(N.it,function(L){return L.scope===S.scope&&L.style==="operator"&&L.token==="="},function(L){return L.scope<S.scope||L.style===null&&L.token===";"},!1,R),N.success&&(O.def="type",R.defs.push(O),N=s(N.it,function(L){return L.scope===S.scope&&L.style===null&&L.token===";"},null,!1,R)),N.it):O}function u(S,R){let N=r(S);const O=S.scope;for(;N&&N.scope>=O;){if(N.parent=R,!N.skip&&N.scope===O){if(N.style==="keyword"){if(N.token==="class"){N=n(N,R,"cls").it;break}else if(N.token==="struct"){N=n(N,R,"type").it;break}}else if(N.style==="variable-3"||N.style==="variable"){N=i(N,R);break}}N=N.next}return N}function r(S){let R=0,N=!1;const O=S;let L=S.next;for(;L;){if(L.parent=O,L.style==="operator"&&(L.token==="<"?(R++,N=!0):L.token===">"&&R--,R===0&&N))return L;L=L.next}return L}function d(S,R){let N=S.next;const O=S.scope;let L=s(N,function($){return $.scope===O&&$.style===null&&$.token===";"},function($){return $.scope<O},!1,R);const U=L.it;if(!L.success)return U;let z;for(;N&&N.scope>=O;){if(!N.skip&&N.scope===O&&(N.style==="keyword"?N.token==="struct"?(L=n(N,R,"type",!0),N=L.it,z=L.tk):N.token==="class"&&(L=n(N,R,"cls",!0),N=L.it,z=L.tk):N.style==="variable"?z?(N.def="type",N.typename=z,R.defs.push(N)):z=N:N.style==="def"?z&&(N.def="type",N.typename=z,R.defs.push(N)):N.style==="variable-3"&&(z=N)),N===U)return U;N=N.next}return U}function n(S,R,N,O){let L=S;const U=S.scope;let z=null,$=s(S,function(W){return W.scope===U&&W.style===null&&W.token==="{"},function(W){return W.scope<U||W.scope===U&&W.style===null&&W.token===";"},!1,R);if($.success){const W=$.it;$=s(S,function(K){return K.scope===U&&K.style===null&&K.token===":"},function(K){return K===W},!1,R);const V=$.success?$.it:W;return $=s(V,function(K){return K.scope===U&&(K.style==="def"||K.style==="variable")},function(K){return K===S},!0,R),$.success?(z=$.it,z.def=N,R.defs.push(z)):z=W,L=_(W.next,z),O||(L=i(L,R,z,O)),{tk:z,it:L}}else{const W=$.it;if($=s(S,function(V){return V.scope===U&&(V.style==="def"||V.style==="variable")},function(V){return V===W},!1,R),$.success)return z=$.it,L=i(z,R,z,O),{tk:z,it:L}}}function i(S,R,N,O){S.parent=R;let L=S.next,U=null;const z=S.scope,$=O?"type":"var";let W=0;for(;L&&L.scope>=z;){if(L.parent=R,!L.skip&&L.scope===z){if(W===0)if(L.style==="variable"||L.style==="def"||L.style==="keyword"&&L.token==="operator")U=L,W=1;else{if(L.style==="keyword"&&(L.token==="class"||L.token==="namespace"||L.token==="template"))return L.prev;(L.style===null&&(L.token===";"||L.token==="."||L.token==="{"||L.token==="}"||L.token==="("||L.token===")")||L.style==="operator"&&L.token!=="*"&&L.token!=="**"&&L.token!=="&"&&L.token!=="&&"||L.style==="invalid_operator")&&(W=-1)}else if(W===1)L.style==="variable"||L.style==="variable-3"?W=-1:L.style===null&&L.token==="("?(L=o(U,L,S,R),W=-1):L.style===null&&L.token==="{"||L.style==="operator"&&L.token==="="?W=3:L.style===null&&L.token===";"?(U.def=$,U.typename=N,R.defs.push(U),W=-1):L.style==="operator"&&(W=-1);else if(W===3&&L.style===null&&L.token===";")return U.def=$,U.typename=N,R.defs.push(U),L;if(W===-1)return t(L,S.scope,R)}if(L)L=L.next;else break}return L}function o(S,R,N,O){const L=S.scope;let U=s(R.next,function($){return $.scope===L&&$.token===")"},function($){return $.scope===L&&$.token!==")"},!1,S),z=U.it;return U.success&&(U=s(z,function($){return $.scope===L&&$.style===null&&$.token==="{"},function($){return $.scope===L&&$.style===null&&$.token===";"},!1,O),U.success?(c(R,U.it,S),S.def="fcn",S.typename=N,O.defs.push(S),z=_(U.it.next,S)):z=U.it),z}function c(S,R,N){N.defs||(N.defs=[]);const O=N.scope;let L=s(S,function(V){return V.scope===O&&V.style===null&&(V.token===":"||V.token==="{")},function(V){return V===R},!1,N);L=s(L.it,function(V){return V.scope===O&&V.style===null&&V.token==="("},function(V){return V===S},!0,N);let U=L.it.next,z=0,$=null;const W=O+1;for(;U&&U.scope>=W;)U.parent=N,!U.skip&&U.scope===W&&(z===0?(U.style==="variable"||U.style==="variable-3")&&($=U,z=1):z===1&&(U.style==="variable"||U.style==="def"?(U.def="var",U.typename=$,N.defs.push(U),$=null,z=0):U.style===null&&U.token===","&&($=null,z=0))),U=U.next;return U}function e(S,R,N){let O=S;const L=S.scope;for(;O&&O.scope>=L;){if(O.parent=N,O.scope===L&&!O.skip&&O.style===null&&O.token===R)return O;O=O.next}return O}function t(S,R,N){for(;S;){if(S.parent=N,!S.skip&&S.scope===R&&S.style===null&&(S.token===";"||S.token==="}"))return S;S=S.next}return S}function s(S,R,N,O,L){for(;S;){if(S.parent=L,N&&N(S))return{it:S,success:!1};if(R(S))return{it:S,success:!0};O?S=S.prev:S=S.next}return{it:null,success:!1}}function l(S,R){if(S.def)return S.define=S,S;if(S.define!==void 0)return S.define;if(S.style!=="variable"&&S.style!=="def")return S.define=null,null;let N=null;const O=p(S);return O?O.style==="keyword"?N=y(S,R):N=m(S,O,R):N=E(S,R),S.define=N,N}function p(S){let R=S.prev;const N=S.scope;let O=0;for(;R;){if(R.scope===N&&R.token.trim())if(O===0)if(R.style===null&&R.token==="."||R.style==="operator"&&R.token==="->")O=1;else return null;else{if(R.style==="variable"||R.style==="def"||R.style==="keyword"&&R.token==="this")return R;if(!(R.style===null&&(R.token==="("||R.token===")")))return null}R=R.prev}return null}function E(S,R){if(S.define!==void 0)return S.define;let N=null,O=S.parent;for(;O;){if(O.defs)for(let L=0,U=O.defs.length;L<U;L++){const z=O.defs[L];if(z.token===S.token)return S.define=z,z}if(O.def==="cls"||O.def==="type"||O.def==="ns"){const L=O.fullname+"::"+S.token;if(N=R.get(L),N)return S.define=N,N}else if(O.def==="fcn"){const U=O.token.split("::"),z=U.length;if(z>1){U[z-1]=S.token;const $=U.join("::");if(N=R.get($),N)return S.define=N,N}}O=O.parent}return N=R.get(S.token),N||(N=null),S.define=N,N}function m(S,R,N){if(S.define!==void 0)return S.define;const O=l(R,N);if(!O)return S.define=null,null;const L=O.typename;if(!L)return S.define=null,null;const U=b(S,L,N);return S.define=U,U}function y(S,R){if(S.define!==void 0)return S.define;let N=null,O=S.parent;for(;O;){if(O.def==="fcn"){const L=O.parent;if(L.def==="cls")if(L.token==="{"){if(L.defs){for(let U=0,z=L.defs.length;U<z;U++)if(N=L.defs[U],N.token===S.token)return S.define=N,N}}else{const z=L.fullname+"::"+S.token;if(N=R.get(z),N)return S.define=N,N}else{const z=O.token.split("::"),$=z.length;if($>1){z[$-1]=S.token;const W=z.join("::");if(N=R.get(W),N)return S.define=N,N}}return S.defTk=null,null}O=O.parent}}function b(S,R,N){let O=null;if(R.defs){for(let z=0,$=R.defs.length;z<$;z++)if(O=R.defs[z],O.token===S.token)return O}const L=l(R,N);if(!L)return null;const U=L.fullname+"::"+S.token;return O=N.get(U),O||(L.typename&&(O=b(S,L.typename,N)),O)}function I(S){const R=this.defineMap;S.forEach(function(N){for(let O=N.codeList.firstTk;O;O=O.next)try{const L=l(O,R);L&&(L.usage||(L.usage=[]),L.usage.push(O))}catch(L){console.error(L)}})}},84327:(A,x,a)=>{"use strict";var T,w;T=[a(26228),a(51040)],w=a.dj.d(T,function(h,C){return{__proto__:C,name:"SystemVerilog",setup:function(g){h(g);const _=g.mimeModes["text/x-systemverilog"],f={__proto__:_.keywords,alias:!0,endinterfac:!0,longint:!0,shortreal:!0,always_co:!0,endpackag:!0,mb:!0,matches:!0,always_ff:!0,always_lat:!0,modport:!0,solve:!0,ch:!0,endprogra:!0,assert:!0,endpropert:!0,new:!0,static:!0,assume:!0,string:!0,before:!0,endsequen:!0,ce:!0,struct:!0,bind:!0,super:!0,bins:!0,binsof:!0,enum:!0,bit:!0,break:!0,expect:!0,tagged:!0,export:!0,extends:!0,package:!0,this:!0,extern:!0,packed:!0,throughout:!0,byte:!0,final:!0,first_matc:!0,timeprecisi:!0,on:!0,timeunit:!0,priority:!0,chandle:!0,foreach:!0,program:!0,property:!0,clocking:!0,protected:!0,forkjoin:!0,const:!0,constraint:!0,context:!0,continue:!0,cover:!0,covergroup:!0,coverpoint:!0,cross:!0,type:!0,typedef:!0,union:!0,unique:!0,pure:!0,rand:!0,randc:!0,randcase:!0,randsequence:!0,ignore_bin:!0,illegal_bin:!0,import:!0,dist:!0,do:!0,virtual:!0,void:!0,wait_order:!0,ref:!0,interface:!0,intersect:!0,endclass:!0,endclockin:!0,join_any:!0,join_none:!0,sequence:!0,shortint:!0,with:!0,within:!0,wildcard:!0,endgroup:!0,local:!0,logic:!0},u={__proto__:_,keywords:f};return g.defineMIME(this.name,u),g.getMode({},{name:this.name})}}},A,x),A.exports=w},66807:(A,x,a)=>{"use strict";var T,w;T=[a(70412)],w=a.dj.d(T,function(h){return{__proto__:h,name:"Plain Text",parse:function(C){return C.split(`
`).map(function(v,f){return{id:f+1,rawCode:v,tokens:[{token:v,style:null}],cutoff:v.length,isCodeLine:!0}})},createScope:function(C){}}},A,x),A.exports=w},66043:(A,x,a)=>{"use strict";var T,w;T=[a(33065),a(93307),a(47755),a(77587),a(20907),a(45338),a(51040),a(84327),a(66807)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d){const n=new Map;n.set("c",C),n.set("cpp",C),n.set("h",C),n.set("hpp",C),n.set("cu",g),n.set("xml",_),n.set("arxml",_),n.set("a2l",v),n.set("vhd",f),n.set("v",u),n.set("sv",r);const i={parseCode:o};return window.tokenizer=i,i;function o(c,e){let t=n.get(e.toLowerCase());t||(t=d);const s=t.parse(c),l=s.length-1;for(let m=0;m<l;m++)s[m].tokens.push(new h(`
`,null));let p=null,E=null;return s.forEach(function(m){let y=1;m.tokens.forEach(function(b){b.line=m.id,b.col=y,y+=b.token.length,p?(p.next=b,b.prev=p):E=b,p=b})}),s.firstTk=E,t.createScope(s),{lang:t,codeList:s}}},A,x),A.exports=w},51040:(A,x,a)=>{"use strict";var T,w;T=[a(26228),a(96542)],w=a.dj.d(T,function(h,C){return{__proto__:C,setup:function(g){h(g);const _={name:"verilog"};return g.getMode({},_)},detectBlockPath:function(g){const _=new RegExp("(?<=').+?>.*?(?=')|<.+>.*");return this.detectPattern(g,_,"blk",0)},blockBegin:[{style:"keyword",token:"module"},{style:"keyword",token:"begin"}],blockEnd:[{style:"keyword",token:"end"},{style:"keyword",token:"endmodule"}],comment:{style:"comment"}}},A,x),A.exports=w},45338:(A,x,a)=>{"use strict";var T,w;T=[a(40822),a(96542)],w=a.dj.d(T,function(h,C){return{__proto__:C,setup:function(g){h(g);const _={name:"vhdl"};return g.getMode({},_)},detectBlockPath:function(g){const _=new RegExp("(?<=').+?>.*?(?=')|<.+>.*");return this.detectPattern(g,_,"blk",0)},blockBegin:[{style:"keyword",token:"IS"},{style:"keyword",token:"COMPONENT"},{style:"keyword",token:"THEN"},{style:"keyword",token:"PROCESS"}],blockEnd:[{style:"keyword",token:"END"},{style:"keyword",token:"ELSIF"}],comment:{style:"comment"}}},A,x),A.exports=w},77587:(A,x,a)=>{"use strict";var T,w;T=[a(82959),a(70412)],w=a.dj.d(T,function(h,C){return{__proto__:C,setup:function(g){h(g);const _={name:"text/xml"};return g.getMode({},_)},blockBegin:{style:"xml tag bracket",token:"<"},blockEnd:[{style:"xml tag bracket",token:"</"},{style:"xml tag bracket",token:"/>"}],comment:{style:"xml comment"}}},A,x),A.exports=w},31981:(A,x,a)=>{A.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7",FunRate:"\u30BF\u30A4\u30DE\u30FC",HeaderNotFound:"Trace Matrix \u306F\u30D8\u30C3\u30C0\u30FC\u884C\u3092\u542B\u3093\u3067\u3044\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30C4\u30FC\u30EB\u306F\u3001\u524D\u306E\u30B3\u30E1\u30F3\u30C8 (\u5B58\u5728\u3059\u308B\u5834\u5408) \u3068\u4E00\u81F4\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093\u3002",IECLicenseNotAvailable:"IEC Certification Kit \u3082 DO Qualification kit \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u3082\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",InitFun:"\u95A2\u6570",LicenseNotAvailable:"${0} \u306E\u30E9\u30A4\u30BB\u30F3\u30B9\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NoBuildDir:"\u30D3\u30EB\u30C9\u60C5\u5831\u3092\u5FA9\u65E7\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u3092\u518D\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoTraceForSelectedBlocks:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u3067\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",NotAPC:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u95A2\u6570\u306F Windows \u30D9\u30FC\u30B9\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u4E0A\u3067\u5B9F\u884C\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",OneShot:"1 \u56DE\u547C\u3073\u51FA\u3057",RTWReportInformationSource:"\u30C7\u30FC\u30BF \u30BD\u30FC\u30B9\u306E\u30EC\u30DD\u30FC\u30C8",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Excel \u30B5\u30FC\u30D0\u30FC\u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093\u3002\u5236\u9650\u306B\u3064\u3044\u3066\u306F\u30C9\u30AD\u30E5\u30E1\u30F3\u30C6\u30FC\u30B7\u30E7\u30F3\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u95A2\u6570",TermFun:"\u95A2\u6570",TraceFailure:"ExportTraceReport \u306B\u5931\u6557\u3057\u305F\u3089\u3001\u30E2\u30C7\u30EB\u304C\u958B\u3044\u3066\u3044\u308B\u3053\u3068\u3001\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3001\u30B3\u30FC\u30C9\u306E\u30B3\u30E1\u30F3\u30C8\u304C\u6709\u52B9\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u307E\u3059\u3002",TraceUsagedo178b:"ExportTraceReport \u306F\u3001\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D do178c.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",TraceUsageiec:"ExportTraceReport \u304C\u5C11\u306A\u304F\u3068\u3082\u30E2\u30C7\u30EB\u540D iec.ExportTraceReport(<model>) \u3067\u547C\u3073\u51FA\u3055\u308C\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",UnableToOpenExcelFile:"Microsoft Office Excel \u3092\u8D77\u52D5\u3067\u304D\u307E\u305B\u3093",UpdateFun:"\u95A2\u6570",blockNotInModel:"'${0}' \u306F\u3001\u540C\u3058\u30E2\u30C7\u30EB\u306B\u5C5E\u3057\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockOutsideSystem:"'${0}' \u306F\u3001\u30BD\u30FC\u30B9\u306E\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u5916\u5074\u306B\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",blockToCodeHighlighting:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",browseButton:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirBrowseButton:"\u53C2\u7167...",buildDirBrowseToolTip:"\u5F37\u8ABF\u8868\u793A\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u53C2\u7167\u3057\u307E\u3059\u3002",buildDirNotFound:"\u30E2\u30C7\u30EB ${1} \u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC ${0} \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buildDirNotFoundOrTraceInfoNotAvailable:"\u30E2\u30C7\u30EB '${0}' \u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u307E\u305F\u306F\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9\u751F\u6210] > [\u30EC\u30DD\u30FC\u30C8] > [\u8A73\u7D30\u8A2D\u5B9A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] > [\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B] \u3092\u9078\u629E\u3057\u3066\u3001\u30B3\u30FC\u30C9\u304C\u751F\u6210\u3055\u308C\u305F\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buildDirectory:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC",buildDirectoryToolTip:"\u8FFD\u8DE1\u3059\u308B\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",codeInfoNotAvailable:"\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u30B3\u30FC\u30C9\u60C5\u5831\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",commentOptionOff:"'${0}' \u3067\u306F\u6B21\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001[\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[\u30B3\u30E1\u30F3\u30C8\u3092\u542B\u3081\u308B] \u304A\u3088\u3073 [\u30B3\u30FC\u30C9\u751F\u6210]\u3001[\u30B3\u30E1\u30F3\u30C8]\u3001[Simulink \u30D6\u30ED\u30C3\u30AF / Stateflow \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B3\u30E1\u30F3\u30C8] \u3092\u9078\u629E\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u9078\u629E\u3057\u3066\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",dlgDescription:`\u65E2\u5B58\u306E\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304B\u3089\u751F\u6210\u30B3\u30FC\u30C9\u3092\u53D6\u308A\u51FA\u3057\u307E\u3059\u3002\u3053\u306E\u30B9\u30C6\u30C3\u30D7\u306F\u3001\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u73FE\u5728\u306E\u4F5C\u696D\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u306A\u304F\u3001\u30E2\u30C7\u30EB\u304C\u9589\u3058\u3089\u308C\u3066\u304A\u308A\u3001\u30B3\u30FC\u30C9\u751F\u6210\u5F8C\u306B\u518D\u5EA6\u958B\u304B\u308C\u305F\u5834\u5408\u306B\u306E\u307F\u5FC5\u8981\u3067\u3059\u3002
\u30E1\u30E2: \u30EA\u30D3\u30EB\u30C9\u3001\u307E\u305F\u306F\u30E2\u30C7\u30EB\u3092\u9589\u3058\u305F\u5834\u5408\u3001\u8A2D\u5B9A\u306F\u5931\u308F\u308C\u307E\u3059\u3002`,dlgDescriptionTitle:"\u8AAC\u660E",emptySubsystem:"Empty SubSystem",generatedCode:"\u751F\u6210\u30B3\u30FC\u30C9\u306E\u53D6\u5F97",htmlNotFound:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",htmlTimeStampNotMatch:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3068\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",illegalCharacter:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u3092\u7121\u52B9\u5316\u3059\u308B\u4E0D\u6B63\u306A\u6587\u5B57 (\u4E00\u91CD\u5F15\u7528\u7B26) \u3092\u542B\u3093\u3067\u3044\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u540D\u304B\u3089\u4E00\u91CD\u5F15\u7528\u7B26\u3092\u524A\u9664\u3057\u3001\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u306F\u3001\u30DE\u30B9\u30AF \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u3001Subsystem \u30D6\u30ED\u30C3\u30AF\u306E\u30EC\u30D9\u30EB\u3067\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30DE\u30B9\u30AF\u5185\u306E\u500B\u3005\u306E\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u5229\u7528\u3067\u304D\u307E\u3059\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u30E2\u30C7\u30EB\u306F\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",modelDirNotMatch:`\u30E2\u30C7\u30EB\u306E\u73FE\u5728\u306E\u30D1\u30B9\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u6642\u306E\u3082\u306E\u3068\u540C\u3058\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002
\u73FE\u5728\u306E\u30D1\u30B9:
'\${0}'
\u4EE5\u524D\u306E\u30D1\u30B9:
'\${1}'`,modelUnsaved:"\u30E2\u30C7\u30EB\u3078\u306E\u5909\u66F4\u306F\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u73FE\u5728\u306E\u3082\u306E\u3067\u306F\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",notGenerated:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notReady:"\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",notTraceable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u305F\u3081\u3001'${0}' \u306B\u95A2\u3059\u308B\u30B3\u30FC\u30C9\u306F\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB '${1}' \u306B\u5BFE\u3059\u308B\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u3078\u306E\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u304C\u6709\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u305B\u3093\u3002",reducedBlock:"'${0}' \u306F\u3001\u30E2\u30C7\u30EB\u306E\u30B3\u30F3\u30D1\u30A4\u30EB\u4E2D\u306B\u524A\u6E1B\u3055\u308C\u307E\u3059\u3002\u30B3\u30FC\u30C9\u306F\u524A\u6E1B\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",reusableFunction:"'${0}' \u306B\u5BFE\u3059\u308B\u30B3\u30FC\u30C9\u306F\u3001\u518D\u5229\u7528\u53EF\u80FD\u306A\u95A2\u6570\u304B\u3089\u306E\u3082\u306E\u3067\u3042\u308B\u305F\u3081\u3001\u8FFD\u8DE1\u3067\u304D\u307E\u305B\u3093\u3002",srcNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC\u5185\u3067\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotFound:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u304C\u73FE\u5728\u306E\u3082\u306E\u3067\u3042\u308B\u304B\u3069\u3046\u304B\u3092\u691C\u8A3C\u3059\u308B\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",srcTimeStampNotMatch:"\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3068\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093\u3002",tInfoExcelCheckSumFailed:"\u95A2\u6570\u306F\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u3092\u8A08\u7B97\u3067\u304D\u307E\u305B\u3093",tInfoExcelCodeInfoTab:"\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",tInfoExcelError_BadHeader:"\u5165\u529B\u306E\u30D8\u30C3\u30C0\u30FC \u30D5\u30A1\u30A4\u30EB\u306F\u30BB\u30EB\u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",tInfoExcelError_ExcelFileFiledToOpen:"Excel \u30D5\u30A1\u30A4\u30EB '${0}' \u3092\u958B\u304F\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093",tInfoExcelError_InvalidHeaderEntry:"\u30D8\u30C3\u30C0\u30FC\u306E\u30A8\u30F3\u30C8\u30EA '${0}' \u306F\u3001\u6709\u52B9\u306A\u30A8\u30F3\u30C8\u30EA\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelError_NoWritePer:"MATLAB \u306F\u9078\u629E\u3057\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306B\u66F8\u304D\u8FBC\u307F\u3067\u304D\u307E\u305B\u3093; \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",tInfoExcelFileList:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB",tInfoExcelFileLocation:"\u30D5\u30A1\u30A4\u30EB\u306E\u30D5\u30A9\u30EB\u30C0\u30FC",tInfoExcelFileName:"\u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelGUI_BadDirectory:"\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA '${0}' \u306F\u6709\u52B9\u306A\u9078\u629E\u3067\u306F\u3042\u308A\u307E\u305B\u3093",tInfoExcelGlobal:"\u30B0\u30ED\u30FC\u30D0\u30EB",tInfoExcelInfoTab:"\u30E2\u30C7\u30EB\u60C5\u5831",tInfoExcelLastUpdate:"\u6B21\u306E\u6700\u7D42\u66F4\u65B0\u65E5\u306B\u66F4\u65B0\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelLastUpdateBy:"\u6B21\u306E\u6700\u7D42\u7DE8\u96C6\u8005\u304C\u7DE8\u96C6\u3057\u305F\u30E2\u30C7\u30EB",tInfoExcelModelAuthor:"\u30E2\u30C7\u30EB\u306E\u4F5C\u6210\u8005",tInfoExcelModelCheckSum:"\u30E2\u30C7\u30EB\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_1:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u540D",tInfoExcelModelCol_10:"\u8981\u4EF6\u30BD\u30FC\u30B9",tInfoExcelModelCol_11:"\u8981\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u56FA\u6709 ID",tInfoExcelModelCol_13:"\u30E2\u30C7\u30EB\u6700\u9069\u5316\u7406\u7531",tInfoExcelModelCol_14:"\u30E6\u30FC\u30C6\u30A3\u30EA\u30C6\u30A3\u95A2\u6570",tInfoExcelModelCol_15:"\u6700\u9069\u5316\u3055\u308C\u305F\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",tInfoExcelModelCol_16:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB",tInfoExcelModelCol_17:"\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_18:"\u30B3\u30FC\u30C9 \u30B3\u30E1\u30F3\u30C8\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelModelCol_19:"\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u4F7F\u7528\u65B9\u6CD5\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059",tInfoExcelModelCol_2:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30D1\u30B9",tInfoExcelModelCol_3:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0",tInfoExcelModelCol_4:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u306E\u5834\u6240",tInfoExcelModelCol_5:"\u30B3\u30FC\u30C9 \u30D5\u30A1\u30A4\u30EB\u540D",tInfoExcelModelCol_6:"\u30B3\u30FC\u30C9\u95A2\u6570",tInfoExcelModelCol_7:"\u30B3\u30FC\u30C9\u884C\u756A\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BFE\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8 \u30BF\u30A4\u30D7",tInfoExcelModelCreationDate:"\u6B21\u306E\u4F5C\u6210\u65E5\u306B\u4F5C\u6210\u3055\u308C\u305F\u30E2\u30C7\u30EB",tInfoExcelModelName:"\u30E2\u30C7\u30EB / \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u540D",tInfoExcelModelVersion:"\u30E2\u30C7\u30EB \u30D0\u30FC\u30B8\u30E7\u30F3",tInfoExcelNone:"\u306A\u3057",tInfoExcelNotUnique:"\u884C\u306F\u56FA\u6709\u3067\u306F\u3042\u308A\u307E\u305B\u3093:",tInfoExcelReport:"\u30EC\u30DD\u30FC\u30C8",tInfoExcelSubsystemCheckSum:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30C1\u30A7\u30C3\u30AF\u30B5\u30E0",tInfoExcelSubsystemCheckSumUsed:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u306E\u30C1\u30A7\u30C3\u30AF\u30B5\u30E0\u5024\u304C\u30EC\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F",tInfoExcelSubsystemUsed:"\u30E1\u30E2: \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u304C\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F\u3002",tInfoGUIAvailCol:"\u4F7F\u7528\u53EF\u80FD\u306A\u5217",tInfoGUIBrowse:"\u53C2\u7167...",tInfoGUIBrowseToolTip:"\u66F4\u65B0\u3059\u308B\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDescription:"\u8AAC\u660E",tInfoGUIDescriptionText:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306F\u3001\u30E2\u30C7\u30EB \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3001\u751F\u6210\u30B3\u30FC\u30C9\u3001\u304A\u3088\u3073\u30E2\u30C7\u30EB\u8981\u4EF6\u9593\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u3092 Excel \u30D5\u30A1\u30A4\u30EB\u5F62\u5F0F\u3067\u63D0\u4F9B\u3057\u307E\u3059\u3002<br /><br /><b>[\u53C2\u7167]</b> \u30DC\u30BF\u30F3\u3092\u4F7F\u7528\u3057\u3066\u65E2\u5B58\u306E\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u66F4\u65B0\u3059\u308B\u304B\u3001\u65B0\u3057\u3044\u30EC\u30DD\u30FC\u30C8\u306E\u540D\u524D\u3068\u5834\u6240\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u30EA\u30B9\u30C8 \u30DA\u30A4\u30F3\u3092\u4F7F\u7528\u3057\u3066\u30EC\u30DD\u30FC\u30C8\u306E\u5217\u898B\u51FA\u3057\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002<br><br><b>[\u751F\u6210]</b> \u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9 \u30EC\u30DD\u30FC\u30C8\u3092\u751F\u6210\u3057\u3066\u304F\u3060\u3055\u3044",tInfoGUIDiagTitle:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u306E\u751F\u6210",tInfoGUIExcelFile:"Excel \u30D5\u30A1\u30A4\u30EB",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3 \u30DE\u30C8\u30EA\u30AF\u30B9\u3092\u751F\u6210\u3057\u307E\u3059",tInfoGUISelectedCol:"\u9078\u629E\u5217",tInfoGUIStarText:"<b>*</b> \u8981\u6C42\u3055\u308C\u305F\u9805\u76EE\u306E\u9078\u629E\u3092\u89E3\u9664\u3067\u304D\u307E\u305B\u3093",tooManyLines:"\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u306F\u3001\u5F37\u8ABF\u8868\u793A\u3059\u308B\u884C\u304C\u591A\u3059\u304E\u307E\u3059\u3002\u3044\u304F\u3064\u304B\u306E\u884C\u306F\u3001\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u5185\u3092\u5F37\u8ABF\u8868\u793A\u3055\u308C\u306A\u3044\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`\u30D3\u30EB\u30C9 \u30D5\u30A9\u30EB\u30C0\u30FC
'\${0}'
\u306B\u683C\u7D0D\u3055\u308C\u3066\u3044\u308B\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u3092\u518D\u751F\u6210\u3059\u308B\u305F\u3081\u306B\u30E2\u30C7\u30EB\u3092\u30EA\u30D3\u30EB\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\u3002`,traceInfoNotAvailable:"\u30C8\u30EC\u30FC\u30B5\u30D3\u30EA\u30C6\u30A3\u60C5\u5831\u306F\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002[\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC] \u30C0\u30A4\u30A2\u30ED\u30B0 \u30DC\u30C3\u30AF\u30B9\u3067 <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">[\u30E2\u30C7\u30EB\u304B\u3089\u30B3\u30FC\u30C9\u306B]</a> \u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",virtualBlock:"'${0}' \u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u3067\u3059\u3002\u30B3\u30FC\u30C9\u306F\u30D0\u30FC\u30C1\u30E3\u30EB \u30D6\u30ED\u30C3\u30AF\u306B\u5BFE\u3057\u3066\u751F\u6210\u3055\u308C\u307E\u305B\u3093\u3002",virtualSubsystem:"Virtual SubSystem"}},3423:(A,x,a)=>{A.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:"Cannot find build folder or traceability information of model '${0}'. Verify that code was generated with configuration set parameter Code Generation > Report > Advanced Parameters > Model-to-code selected.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
Current path:
'\${0}'
Previous path:
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"}},87268:(A,x,a)=>{A.exports={root:{CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"Prototype",FunRate:"Timing",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"Function",LicenseNotAvailable:"A ${0} license is not available.",NoBuildDir:"Cannot recover build information. Please regenerate code.",NoTraceForSelectedBlocks:"Traceability information is not available for the selected blocks.",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"Called once",RTWReportInformationSource:"Report data source",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"Function",TermFun:"Function",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"Function",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"Model-to-code navigation",browseButton:"Browse to build folder to highlight.",buildDirBrowseButton:"Browse ...",buildDirBrowseToolTip:"Browse to build folder to highlight.",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:"Cannot find build folder or traceability information of model '${0}'. Verify that code was generated with configuration set parameter Code Generation > Report > Advanced Parameters > Model-to-code selected.",buildDirectory:"Build folder",buildDirectoryToolTip:"Set build folder to be traced.",codeInfoNotAvailable:"Code information is not available for this model.",commentOptionOff:"'${0}' requires the following parameters be selected: 'Code Generation > Comments > Include comments' and 'Code Generation> Comments > Simulink block / Stateflow object comments'. Select the parameters and rebuild model.",dlgDescription:`Retrieve generated code from existing build folder. This step is necessary only when the build folder is not located in the current working folder and the model was closed and reopened after code generation.
Note: The setting is lost when you rebuild or close the model.`,dlgDescriptionTitle:"Description",emptySubsystem:"Empty SubSystem",generatedCode:"Retrieve generated code",htmlNotFound:"Code generation report cannot be found.",htmlTimeStampNotMatch:"Timestamps of code generation report and generated code do not match.",illegalCharacter:"'${0}' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.",maskedSubsystem:"Masked SubSystem",modelChanged:"Model has been modified. Traceability information might not be current.",modelDirNotMatch:`The current path to the model is not the same as it was at the time of code generation.
Current path:
'\${0}'
Previous path:
'\${1}'`,modelUnsaved:"Changes to model have not been saved. Traceability information might not be current.",notGenerated:"Traceability information has not been generated.",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"Model-to-code navigation is not enabled.",reducedBlock:"'${0}' is reduced during model compilation. Code is not generated for reduced blocks.",reusableFunction:"Code for '${0}' is from reusable function and cannot be traced.",srcNotFound:"Generated code is not found in build folder.",srcTimeStampNotFound:"Cannot find timestamp to verify if generated code is current.",srcTimeStampNotMatch:"Timestamps of generated code and traceability information do not match.",tInfoExcelCheckSumFailed:"The function was unable to calculate a checksum",tInfoExcelCodeInfoTab:"Code Interface",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"The header entry '${0}' is not a valid entry",tInfoExcelError_NoWritePer:"MATLAB is not able to write to the selected directory '${0}'; check the write permission for the directory",tInfoExcelFileList:"Code Files",tInfoExcelFileLocation:"File Folder",tInfoExcelFileName:"File Name",tInfoExcelGUI_BadDirectory:"The directory '${0}' is not a valid selection'",tInfoExcelGlobal:"Global",tInfoExcelInfoTab:"Model Information",tInfoExcelLastUpdate:"The model was last updated on",tInfoExcelLastUpdateBy:"The model was last saved by",tInfoExcelModelAuthor:"Model Author",tInfoExcelModelCheckSum:"Model Checksum",tInfoExcelModelCol_1:"Model Object Name",tInfoExcelModelCol_10:"Requirements Source",tInfoExcelModelCol_11:"Requirements Location",tInfoExcelModelCol_12:"Model Object Unique ID",tInfoExcelModelCol_13:"Model Optimization Rationale",tInfoExcelModelCol_14:"Utility Function",tInfoExcelModelCol_15:"Model Object Optimized",tInfoExcelModelCol_16:"Model File",tInfoExcelModelCol_17:"Model File Location",tInfoExcelModelCol_18:"Code Comment Checksum",tInfoExcelModelCol_19:"Object usage has changed",tInfoExcelModelCol_2:"Model Object Path",tInfoExcelModelCol_3:"Model Object Subsystem",tInfoExcelModelCol_4:"Code File Location",tInfoExcelModelCol_5:"Code File Name",tInfoExcelModelCol_6:"Code Function",tInfoExcelModelCol_7:"Code Line Number",tInfoExcelModelCol_8:"Relative Position",tInfoExcelModelCol_9:"Model Object Type",tInfoExcelModelCreationDate:"The model was created on",tInfoExcelModelName:"Model / Subsystem Name",tInfoExcelModelVersion:"Model Version",tInfoExcelNone:"None",tInfoExcelNotUnique:"Row is not unique:",tInfoExcelReport:"Report",tInfoExcelSubsystemCheckSum:"Subsystem Checksum",tInfoExcelSubsystemCheckSumUsed:"The Subsystem checksum value was reported",tInfoExcelSubsystemUsed:"NOTE: The traceability matrix export was performed on a sub-system.",tInfoGUIAvailCol:"Available columns",tInfoGUIBrowse:"Browse...",tInfoGUIBrowseToolTip:"Select an existing file to update or create a new file",tInfoGUIDescription:"Description",tInfoGUIDescriptionText:"The traceability matrix provides traceability among model objects, generated code, and model requirements in an excel file format.<br /><br />Use the <b>Browse</b> button to select an existing Traceability Matrix Report to update or to select the name and location of a new report. Use the list panes to define the column headings in the report.<br><br>Click <b>Generate</b> to generate the Traceability Matrix Report",tInfoGUIDiagTitle:"Generate Traceability Matrix",tInfoGUIExcelFile:"Excel file",tInfoGUIGenerate:"Generate",tInfoGUIGenerateToolTip:"Generate traceability matrix",tInfoGUISelectedCol:"Selected columns",tInfoGUIStarText:"<b>*</b> Required items cannot be deselected",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' is a virtual block. Code is not generated for virtual blocks.",virtualSubsystem:"Virtual SubSystem"},"ja-jp":!0,"ko-kr":!0,"zh-cn":!0}},75047:(A,x,a)=>{A.exports={CodeGenerationReducedBlock:"Block '${0}' is eliminated by code generation optimization. Code is not generated for eliminated blocks.",CodeGenerationReducedBlockShort:"Eliminated by code generation optimization",FunProto:"\u539F\u578B",FunRate:"\u5B9A\u65F6",HeaderNotFound:"The Trace Matrix did not contain a header row. The tool will not be able to match previous comments (if present).",IECLicenseNotAvailable:"Neither an IEC Certification Kit or DO Qualification kit license are available.",InitFun:"\u51FD\u6570",LicenseNotAvailable:"${0} \u8BB8\u53EF\u8BC1\u4E0D\u53EF\u7528\u3002",NoBuildDir:"\u65E0\u6CD5\u6062\u590D\u7F16\u8BD1\u4FE1\u606F\u3002\u8BF7\u91CD\u65B0\u751F\u6210\u4EE3\u7801\u3002",NoTraceForSelectedBlocks:"\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u6240\u9009\u6A21\u5757\u4E0D\u53EF\u7528\u3002",NotAPC:"The Traceability Matrix Export function must be run on a Windows based machine.",OneShot:"\u8C03\u7528\u4E00\u6B21",RTWReportInformationSource:"\u62A5\u544A\u6570\u636E\u6E90",RTWReportInformationSourceEC:"Embedded Coder",RTWReportInformationSourceSLCI:"SLCI",ServerFail:"Could not start Excel server. See documentation for resulting limitations",SimulationReducedBlock:"Block '${0}' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.",StepFun:"\u51FD\u6570",TermFun:"\u51FD\u6570",TraceFailure:"ExportTraceReport failed, verify that the model is open, that code was generated and that code comments were enabled.",TraceUsagedo178b:"ExportTraceReport must be called with at least the model name do178c.ExportTraceReport(<model>).",TraceUsageiec:"ExportTraceReport must be called with at least the model name iec.ExportTraceReport(<model>).",UnableToOpenExcelFile:"Microsoft Office Excel failed to start",UpdateFun:"\u51FD\u6570",blockNotInModel:"'${0}' does not belong to the same model and cannot be traced.",blockOutsideSystem:"'${0}' is outside of source subsystem and cannot be traced.",blockToCodeHighlighting:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A",browseButton:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirBrowseButton:"\u6D4F\u89C8...",buildDirBrowseToolTip:"\u6D4F\u89C8\u5230\u8981\u7A81\u51FA\u663E\u793A\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",buildDirNotFound:"Cannot find build folder ${0} of model ${1}. Verify that code was generated.",buildDirNotFoundOrTraceInfoNotAvailable:`\u627E\u4E0D\u5230\u6A21\u578B '\${0}' \u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u6216\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u3002\u8BF7\u786E\u4FDD\u4EE3\u7801\u662F\u5728\u914D\u7F6E\u96C6\u53C2\u6570 "\u4EE3\u7801\u751F\u6210 > \u62A5\u544A > \u9AD8\u7EA7\u53C2\u6570 > \u6A21\u578B\u5230\u4EE3\u7801" \u5904\u4E8E\u9009\u4E2D\u72B6\u6001\u7684\u60C5\u51B5\u4E0B\u751F\u6210\u7684\u3002`,buildDirectory:"\u7F16\u8BD1\u6587\u4EF6\u5939",buildDirectoryToolTip:"\u8BBE\u7F6E\u8981\u8FFD\u6EAF\u7684\u7F16\u8BD1\u6587\u4EF6\u5939\u3002",codeInfoNotAvailable:"\u6CA1\u6709\u5BF9\u6B64\u6A21\u578B\u53EF\u7528\u7684\u4EE3\u7801\u4FE1\u606F\u3002",commentOptionOff:"'${0}' \u8981\u6C42\u9009\u62E9\u4EE5\u4E0B\u53C2\u6570: '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > \u5305\u62EC\u6CE8\u91CA' \u548C '\u4EE3\u7801\u751F\u6210 > \u6CE8\u91CA > Simulink \u6A21\u5757/Stateflow \u5BF9\u8C61\u6CE8\u91CA'\u3002\u9009\u62E9\u53C2\u6570\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",dlgDescription:`\u4ECE\u73B0\u6709\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801\u3002\u4EC5\u5F53\u7F16\u8BD1\u6587\u4EF6\u5939\u4E0D\u5728\u5F53\u524D\u5DE5\u4F5C\u6587\u4EF6\u5939\u4E2D\u5E76\u4E14\u6A21\u578B\u5728\u4EE3\u7801\u751F\u6210\u540E\u5173\u95ED\u5E76\u91CD\u65B0\u6253\u5F00\u65F6\uFF0C\u6B64\u6B65\u9AA4\u624D\u662F\u5FC5\u9700\u7684\u3002
\u6CE8\u610F: \u91CD\u65B0\u7F16\u8BD1\u6216\u5173\u95ED\u6A21\u578B\u65F6\uFF0C\u8BBE\u7F6E\u4F1A\u4E22\u5931\u3002`,dlgDescriptionTitle:"\u63CF\u8FF0",emptySubsystem:"Empty SubSystem",generatedCode:"\u68C0\u7D22\u751F\u6210\u7684\u4EE3\u7801",htmlNotFound:"\u627E\u4E0D\u5230\u4EE3\u7801\u751F\u6210\u62A5\u544A\u3002",htmlTimeStampNotMatch:"\u4EE3\u7801\u751F\u6210\u62A5\u544A\u548C\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u4E0D\u5339\u914D\u3002",illegalCharacter:"'${0}' \u5305\u542B\u7528\u4E8E\u7981\u7528\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u7684\u975E\u6CD5\u5B57\u7B26(\u5355\u5F15\u53F7)\u3002\u8BF7\u4ECE\u6A21\u5757\u540D\u79F0\u4E2D\u5220\u9664\u5355\u5F15\u53F7\u5E76\u91CD\u65B0\u7F16\u8BD1\u6A21\u578B\u3002",illegalCharacterShort:"Illegal character (${0})",maskedSubSystem:"'${0}' \u662F\u5C01\u88C5\u5B50\u7CFB\u7EDF\uFF0C\u65E0\u6CD5\u5728\u5B50\u7CFB\u7EDF\u6A21\u5757\u7EA7\u522B\u8FDB\u884C\u8FFD\u6EAF\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u5BF9\u5C01\u88C5\u5185\u90E8\u7684\u5355\u4E2A\u6A21\u5757\u53EF\u7528\u3002",maskedSubsystem:"Masked SubSystem",modelChanged:"\u6A21\u578B\u5DF2\u4FEE\u6539\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",modelDirNotMatch:`\u6A21\u578B\u7684\u5F53\u524D\u8DEF\u5F84\u4E0E\u4EE3\u7801\u751F\u6210\u65F6\u7684\u8DEF\u5F84\u4E0D\u540C\u3002
\u5F53\u524D\u8DEF\u5F84:
'\${0}'
\u4EE5\u524D\u7684\u8DEF\u5F84:
'\${1}'`,modelUnsaved:"\u5BF9\u6A21\u578B\u7684\u66F4\u6539\u5C1A\u672A\u4FDD\u5B58\u3002\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u53EF\u80FD\u4E0D\u662F\u6700\u65B0\u7684\u3002",notGenerated:"\u5C1A\u672A\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u3002",notReady:"Build folder is not set.",notTraceable:"Code for '${0}' cannot be traced because traceability information is not found.",notTraceableShort:"Not traceable",notValidBuildDir:"'${0}' is not a valid build folder for model '${1}'. Select a valid build folder.",obfuscationOn:`Obfuscation and traceability information generation cannot both be enabled at the same time. Disable Obfuscation or disable both the <a href="matlab:configset.highlightParameter('\${0}', 'IncludeHyperlinkInReport')">'Code-to-model'</a> and the <a href="matlab:configset.highlightParameter('\${0}', 'GenerateTraceInfo')">'Model-to-code'</a> navigation options in the Configuration Parameters dialog box.`,optimizedSfObject:"Stateflow object '${0}' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.",optimizedSfObjectShort:"${0} eliminated by optimization",optionOff:"\u6A21\u578B\u5230\u4EE3\u7801\u5BFC\u822A\u672A\u542F\u7528\u3002",reducedBlock:"\u6A21\u578B\u7F16\u8BD1\u671F\u95F4\u7B80\u5316\u4E86 '${0}'\u3002\u4E0D\u4F1A\u4E3A\u7B80\u5316\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",reusableFunction:"'${0}' \u7684\u4EE3\u7801\u6765\u81EA\u53EF\u91CD\u7528\u51FD\u6570\uFF0C\u65E0\u6CD5\u8FFD\u6EAF\u3002",srcNotFound:"\u5728\u7F16\u8BD1\u6587\u4EF6\u5939\u4E2D\u627E\u4E0D\u5230\u751F\u6210\u7684\u4EE3\u7801\u3002",srcTimeStampNotFound:"\u627E\u4E0D\u5230\u65F6\u95F4\u6233\u6765\u9A8C\u8BC1\u751F\u6210\u7684\u4EE3\u7801\u662F\u5426\u4E3A\u6700\u65B0\u3002",srcTimeStampNotMatch:"\u751F\u6210\u4EE3\u7801\u7684\u65F6\u95F4\u6233\u548C\u53EF\u8FFD\u6EAF\u6027\u4FE1\u606F\u4E0D\u5339\u914D\u3002",tInfoExcelCheckSumFailed:"\u51FD\u6570\u65E0\u6CD5\u8BA1\u7B97\u6821\u9A8C\u548C",tInfoExcelCodeInfoTab:"\u4EE3\u7801\u63A5\u53E3",tInfoExcelError_BadHeader:"The input header file must be a cell array",tInfoExcelError_ExcelFileFiledToOpen:"The Excel file '${0}' failed to open",tInfoExcelError_InvalidHeaderEntry:"\u5934\u6587\u4EF6\u6761\u76EE '${0}' \u4E0D\u662F\u6709\u6548\u6761\u76EE",tInfoExcelError_NoWritePer:"MATLAB \u65E0\u6CD5\u5199\u5165\u6240\u9009\u76EE\u5F55 '${0}'\uFF1B\u8BF7\u68C0\u67E5\u8BE5\u76EE\u5F55\u7684\u5199\u5165\u6743\u9650",tInfoExcelFileList:"\u4EE3\u7801\u6587\u4EF6",tInfoExcelFileLocation:"\u6587\u4EF6\u5939",tInfoExcelFileName:"\u6587\u4EF6\u540D",tInfoExcelGUI_BadDirectory:"\u76EE\u5F55 '${0}' \u4E0D\u662F\u6709\u6548\u7684\u9009\u62E9",tInfoExcelGlobal:"\u5168\u5C40",tInfoExcelInfoTab:"\u6A21\u578B\u4FE1\u606F",tInfoExcelLastUpdate:"\u6A21\u578B\u4E0A\u6B21\u66F4\u65B0\u65F6\u95F4",tInfoExcelLastUpdateBy:"\u6A21\u578B\u4E0A\u6B21\u4FDD\u5B58\u8005",tInfoExcelModelAuthor:"\u6A21\u578B\u4F5C\u8005",tInfoExcelModelCheckSum:"\u6A21\u578B\u6821\u9A8C\u548C",tInfoExcelModelCol_1:"\u6A21\u578B\u5BF9\u8C61\u540D\u79F0",tInfoExcelModelCol_10:"\u9700\u6C42\u6E90",tInfoExcelModelCol_11:"\u9700\u6C42\u4F4D\u7F6E",tInfoExcelModelCol_12:"\u6A21\u578B\u5BF9\u8C61\u552F\u4E00 ID",tInfoExcelModelCol_13:"\u6A21\u578B\u4F18\u5316\u539F\u7406",tInfoExcelModelCol_14:"\u5DE5\u5177\u51FD\u6570",tInfoExcelModelCol_15:"\u6A21\u578B\u5BF9\u8C61\u5DF2\u4F18\u5316",tInfoExcelModelCol_16:"\u6A21\u578B\u6587\u4EF6",tInfoExcelModelCol_17:"\u6A21\u578B\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_18:"\u4EE3\u7801\u6CE8\u91CA\u6821\u9A8C\u548C",tInfoExcelModelCol_19:"\u5BF9\u8C61\u7528\u9014\u5DF2\u66F4\u6539",tInfoExcelModelCol_2:"\u6A21\u578B\u5BF9\u8C61\u8DEF\u5F84",tInfoExcelModelCol_3:"\u6A21\u578B\u5BF9\u8C61\u5B50\u7CFB\u7EDF",tInfoExcelModelCol_4:"\u4EE3\u7801\u6587\u4EF6\u4F4D\u7F6E",tInfoExcelModelCol_5:"\u4EE3\u7801\u6587\u4EF6\u540D",tInfoExcelModelCol_6:"\u4EE3\u7801\u51FD\u6570",tInfoExcelModelCol_7:"\u4EE3\u7801\u884C\u53F7",tInfoExcelModelCol_8:"\u76F8\u5BF9\u4F4D\u7F6E",tInfoExcelModelCol_9:"\u6A21\u578B\u5BF9\u8C61\u7C7B\u578B",tInfoExcelModelCreationDate:"\u6A21\u578B\u521B\u5EFA\u65F6\u95F4",tInfoExcelModelName:"\u6A21\u578B/\u5B50\u7CFB\u7EDF\u540D\u79F0",tInfoExcelModelVersion:"\u6A21\u578B\u7248\u672C",tInfoExcelNone:"\u65E0",tInfoExcelNotUnique:"\u884C\u4E0D\u552F\u4E00:",tInfoExcelReport:"\u62A5\u544A",tInfoExcelSubsystemCheckSum:"\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C",tInfoExcelSubsystemCheckSumUsed:"\u5DF2\u62A5\u544A\u5B50\u7CFB\u7EDF\u6821\u9A8C\u548C\u503C",tInfoExcelSubsystemUsed:"\u6CE8\u610F: \u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u5BFC\u51FA\u662F\u5BF9\u5B50\u7CFB\u7EDF\u6267\u884C\u7684\u3002",tInfoGUIAvailCol:"\u53EF\u7528\u5217",tInfoGUIBrowse:"\u6D4F\u89C8...",tInfoGUIBrowseToolTip:"\u9009\u62E9\u73B0\u6709\u6587\u4EF6\u4EE5\u66F4\u65B0\u6216\u521B\u5EFA\u65B0\u6587\u4EF6",tInfoGUIDescription:"\u63CF\u8FF0",tInfoGUIDescriptionText:"\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u4EE5 excel \u6587\u4EF6\u683C\u5F0F\u63D0\u4F9B\u6A21\u578B\u5BF9\u8C61\u3001\u751F\u6210\u7684\u4EE3\u7801\u548C\u6A21\u578B\u9700\u6C42\u4E4B\u95F4\u7684\u53EF\u53EF\u8FFD\u6EAF\u6027\u6027\u3002<br /><br />\u4F7F\u7528<b>\u6D4F\u89C8</b>\u6309\u94AE\u9009\u62E9\u8981\u66F4\u65B0\u7684\u73B0\u6709\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u62A5\u544A\uFF0C\u6216\u9009\u62E9\u65B0\u62A5\u544A\u7684\u540D\u79F0\u548C\u4F4D\u7F6E\u3002\u4F7F\u7528\u5217\u8868\u7A97\u683C\u5B9A\u4E49\u62A5\u544A\u4E2D\u7684\u5217\u6807\u9898\u3002<br><br>\u70B9\u51FB<b>\u751F\u6210</b>\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635\u62A5\u544A",tInfoGUIDiagTitle:"\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635",tInfoGUIExcelFile:"Excel \u6587\u4EF6",tInfoGUIGenerate:"\u751F\u6210",tInfoGUIGenerateToolTip:"\u751F\u6210\u53EF\u8FFD\u6EAF\u6027\u77E9\u9635",tInfoGUISelectedCol:"\u6240\u9009\u5217",tInfoGUIStarText:"<b>*</b>\u5FC5\u9700\u9879\u65E0\u6CD5\u53D6\u6D88\u9009\u4E2D",tooManyLines:"Block code has too many lines to highlight. Some lines might not be highlighted in code generation report.",traceInfoFileNotFound:`Cannot find traceability information in build folder,
'\${0}'.
Set the model configuration parameter 'GenerateTraceInfo' to 'on' before generating code.`,traceInfoFileNotValid:`Traceability information stored in build folder,
'\${0}'
is not valid. Rebuild model to regenerate traceability information.`,traceInfoNotAvailable:"Traceability information has not been generated for model '${0}'. Select <a href=\"matlab:configset.highlightParameter('${0}', 'GenerateTraceInfo')\">'Model-to-code'</a> in the Configuration Parameters dialog box.",virtualBlock:"'${0}' \u662F\u4E00\u4E2A\u865A\u62DF\u6A21\u5757\u3002\u4E0D\u4F1A\u4E3A\u865A\u62DF\u6A21\u5757\u751F\u6210\u4EE3\u7801\u3002",virtualSubsystem:"Virtual SubSystem"}},32079:(A,x,a)=>{A.exports={AddToReview:"\u30EC\u30D3\u30E5\u30FC\u5BFE\u8C61\u306B\u8FFD\u52A0",AverageExecutionTime:"\u5E73\u5747\u5B9F\u884C\u6642\u9593",AverageSelfTime:"\u5E73\u5747\u81EA\u5DF1\u6642\u9593",Calls:"\u547C\u3073\u51FA\u3057",CodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9",CodeMetrics_Size:"\u30B5\u30A4\u30BA: ${0} \u30D0\u30A4\u30C8",CodeMetrics_Stack:"\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStack:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: ${0} \u30D0\u30A4\u30C8",CodeMetrics_TotalStackRecursion:"\u5408\u8A08\u30B9\u30BF\u30C3\u30AF: \u518D\u5E30",CodePanelName:"\u30B3\u30FC\u30C9",CodeProfiling:"\u30B3\u30FC\u30C9\u306E\u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0",CodeTabName:"\u30BD\u30FC\u30B9",CodeView_C_Title:"\u30B3\u30FC\u30C9",CodeView_HDL_Title:"HDL \u30B3\u30FC\u30C9",CodeView_PLC_Title:"PLC \u30B3\u30FC\u30C9",Col:"\u5217",ConfigCodeFolding:"\u30B3\u30FC\u30C9\u306E\u6298\u308A\u305F\u305F\u307F",ConfigCodeFolding_ExpandAll:"\u3059\u3079\u3066\u5C55\u958B\u3059\u308B",ConfigCodeFolding_FoldAll:"\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080",ConfigGroup_Analysis:"\u89E3\u6790",ConfigGroup_Display:"\u8868\u793A",ConfigGroup_Review:"\u78BA\u8A8D",ConfigShowCodeMetrics:"\u30B3\u30FC\u30C9 \u30E1\u30C8\u30EA\u30AF\u30B9\u3092\u8868\u793A",ConfigShowCodeProfiling:"\u30B3\u30FC\u30C9 \u30D7\u30ED\u30D5\u30A1\u30A4\u30EA\u30F3\u30B0\u306E\u8868\u793A",ConfigShowCoverage:"\u30B3\u30FC\u30C9 \u30AB\u30D0\u30EC\u30C3\u30B8\u3092\u8868\u793A",Customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",Datacopy:"\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u306E\u8A73\u7D30",DefinedIn:"\u6B21\u3067\u5B9A\u7FA9",Definition:"\u5B9A\u7FA9",DictionaryDefault:"\u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",GenerateCodeGroupName:"\u30B3\u30FC\u30C9\u751F\u6210",GenerateCodeGroupName_STFMismatch:"\u53C2\u7167\u30E2\u30C7\u30EB\u3067 [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u4E0D\u4E00\u81F4\u3092\u4FEE\u6B63\u3057\u307E\u3059\u3002",GenerateCodeText:"\u30E2\u30C7\u30EB\u3092\u30D3\u30EB\u30C9\u3057\u3001\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GenerateCodeText_STFMismatch:"\u30A2\u30AF\u30C6\u30A3\u30D6 \u30E2\u30C7\u30EB\u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092\u5909\u66F4\u3057\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u4E00\u81F4\u3055\u305B\u3066\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u307E\u3059\u3002",GoToLine:"\u6B21\u306E\u884C\u306B\u79FB\u52D5: ${0}",HL_LineUpdate:"\u5F37\u8ABF\u8868\u793A: \u6700\u5F8C\u306E\u30D3\u30EB\u30C9\u3067\u5909\u66F4\u3055\u308C\u305F\u884C",HL_SelectedBlk:"\u5F37\u8ABF\u8868\u793A: \u9078\u629E\u3057\u305F ${0} \u500B\u306E\u30D6\u30ED\u30C3\u30AF",HighlightCode:"\u30B3\u30FC\u30C9\u306E\u5F37\u8ABF\u8868\u793A",Highlight_DataType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u30C7\u30FC\u30BF\u306F\u3001'file' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'line' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u306E cell \u914D\u5217\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_FileType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u30D5\u30A1\u30A4\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_InputType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306F\u3001'title' \u30D5\u30A3\u30FC\u30EB\u30C9\u3068 'data' \u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u3082\u3064 struct \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LineType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u884C\u306F\u3001\u6B63\u306E\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"\u30B3\u30FC\u30C9 \u30D3\u30E5\u30FC\u306E\u5F37\u8ABF\u8868\u793A\u5165\u529B\u306E\u30BF\u30A4\u30C8\u30EB\u306F\u3001\u7A7A\u3067\u306A\u3044 string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Highlighting:"\u5F37\u8ABF\u8868\u793A",Individual:"\u500B\u3005\u306E\u8981\u7D20\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_DefaultMapping:"\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",Info_IndividualMapping:"\u500B\u3005\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",LaunchStandaloneReport:"\u30B3\u30FC\u30C9\u751F\u6210\u30EC\u30DD\u30FC\u30C8\u3092\u958B\u304F",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u5B9F\u884C\u6642\u9593",MaximumSelfTime:"\u6700\u5927\u81EA\u5DF1\u6642\u9593",ModelDefault:"\u30E2\u30C7\u30EB\u306E\u65E2\u5B9A\u306E\u30DE\u30C3\u30D4\u30F3\u30B0",ModelElements:"\u30E2\u30C7\u30EB\u8981\u7D20",ModelRefSTFNotMatch:'"${0}" \u306E [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u8A2D\u5B9A\u306F "${1}"\u3001\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB "${2}" \u306E\u8A2D\u5B9A\u306F "${3}" \u3067\u3059\u3002\u3053\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u8A2D\u5B9A\u306F\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u306E\u8A2D\u5B9A\u3068\u540C\u3058\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002',NecessaryDatacopy:"\u3053\u306E\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u306F\u5FC5\u8981\u3067\u3059\u3002",NoCode:'"${0}" \u306E\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002',NoCodeGenReport:"\u30B3\u30FC\u30C9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",NumberOfCalls:"\u547C\u3073\u51FA\u3057\u6570",ProgressBarGenCode:"\u30B3\u30FC\u30C9\u751F\u6210",ReloadBtnName:"\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeGroupName:"\u30B3\u30FC\u30C9\u306E\u518D\u8AAD\u307F\u8FBC\u307F",ReloadCodeText:'MATLAB \u306E\u73FE\u5728\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u5909\u66F4\u3057\u3066\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u4F5C\u6210\u3057\u3001"${0}" \u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u307E\u3059\u3002',ReportTabName:"\u30EC\u30DD\u30FC\u30C8",Search:"\u691C\u7D22",ShowAnnotation:"\u30B3\u30FC\u30C9\u6CE8\u91C8\u306E\u8868\u793A",ShowComments:"\u30B3\u30E1\u30F3\u30C8\u3068\u7A7A\u306E\u884C\u3092\u8868\u793A",Statistics:"\u7D71\u8A08",Suggest:"\u63A8\u5968\u30A2\u30AF\u30B7\u30E7\u30F3:",Task:"\u30BF\u30B9\u30AF",Type_Class:"\u30AF\u30E9\u30B9",Type_Function:"\u95A2\u6570",Type_Type:"\u578B",Type_Variable:"\u5909\u6570",UnitOfTime:"\u6642\u9593\u5358\u4F4D:",UnnecessaryDatacopy:"\u3053\u306E\u30C7\u30FC\u30BF \u30B3\u30D4\u30FC\u64CD\u4F5C\u306F\u6700\u9069\u5316\u304C\u53EF\u80FD\u3067\u3059\u3002"}},8:(A,x,a)=>{A.exports={root:{AddToReview:"Add to review",AverageExecutionTime:"Average Execution Time",AverageSelfTime:"Average Self Time",Calls:"Calls",CodeMetrics:"Code metrics",CodeMetrics_Size:"size: ${0} byte",CodeMetrics_Stack:"stack: ${0} byte",CodeMetrics_TotalStack:"total stack: ${0} byte",CodeMetrics_TotalStackRecursion:"total stack: recursion",CodePanelName:"Code",CodeProfiling:"Code profiling",CodeTabName:"Source",CodeView_C_Title:"Code",CodeView_HDL_Title:"HDL Code",CodeView_PLC_Title:"PLC Code",Col:"Col",ConfigCodeFolding:"Code folding",ConfigCodeFolding_ExpandAll:"Expand all",ConfigCodeFolding_FoldAll:"Fold all",ConfigGroup_Analysis:"Analysis",ConfigGroup_Display:"Display",ConfigGroup_Review:"Review",ConfigShowCodeMetrics:"Show code metrics",ConfigShowCodeProfiling:"Show code profiling",ConfigShowCoverage:"Show code coverage",Customization:"Customization",Datacopy:"Datacopy details",DefinedIn:"defined in",Definition:"Definition",DictionaryDefault:"Dictionary default mapping",GenerateCodeGroupName:"Generate code",GenerateCodeGroupName_STFMismatch:'Fix "System target file" parameter mismatch for referenced model.',GenerateCodeText:"Build model and generate code.",GenerateCodeText_STFMismatch:'Change "System target file" for active model to match root model and generate code.',GoToLine:"go to line: ${0}",HL_LineUpdate:"Highlighting: lines modified in last build",HL_SelectedBlk:"Highlighting: selected ${0} blocks",HighlightCode:"Highlight Code",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"Highlighting",Individual:"Individual element mapping",Info_DefaultMapping:"Default mapping",Info_IndividualMapping:"Individual mapping",LaunchStandaloneReport:"Open code generation report",Ln:"Ln",MaximumExecutionTime:"Maximum Execution Time",MaximumSelfTime:"Maximum Self Time",ModelDefault:"Model default mapping",ModelElements:"Model elements",ModelRefSTFNotMatch:'"System target file" setting for "${0}" is "${1}" and root model "${2}" is "${3}". Setting for this parameter must be same as setting for root model.',NecessaryDatacopy:"This data copy is necessary.",NoCode:'No code for "${0}".',NoCodeGenReport:"Code is not found.",NumberOfCalls:"Number of Calls",ProgressBarGenCode:"Generating Code",ReloadBtnName:"Reload",ReloadCodeGroupName:"Reload code",ReloadCodeText:'Change MATLAB current folder to build folder and click "${0}" button.',ReportTabName:"Report",Search:"Search",ShowAnnotation:"Show code annotation",ShowComments:"Show comments and empty lines",Statistics:"Statistics",Suggest:"Suggested actions:",Task:"Task",Type_Class:"Class",Type_Function:"Function",Type_Type:"Type",Type_Variable:"Variable",UnitOfTime:"Unit of time :",UnnecessaryDatacopy:"It is possible to optimize out this data copy operation."},"ja-jp":!0,"zh-cn":!0}},88945:(A,x,a)=>{A.exports={AddToReview:"\u6DFB\u52A0\u81F3\u5BA1\u6838",AverageExecutionTime:"\u5E73\u5747\u6267\u884C\u65F6\u95F4",AverageSelfTime:"\u5E73\u5747\u81EA\u7528\u65F6\u95F4",Calls:"\u8C03\u7528\u6B21\u6570",CodeMetrics:"\u4EE3\u7801\u5EA6\u91CF",CodeMetrics_Size:"\u5927\u5C0F: ${0} \u5B57\u8282",CodeMetrics_Stack:"\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStack:"\u603B\u5806\u6808: ${0} \u5B57\u8282",CodeMetrics_TotalStackRecursion:"\u603B\u5806\u6808: \u9012\u5F52",CodePanelName:"\u4EE3\u7801",CodeProfiling:"\u4EE3\u7801\u5206\u6790",CodeTabName:"\u6E90",CodeView_C_Title:"\u4EE3\u7801",CodeView_HDL_Title:"HDL \u4EE3\u7801",CodeView_PLC_Title:"PLC \u4EE3\u7801",Col:"\u5217",ConfigCodeFolding:"\u4EE3\u7801\u6298\u53E0",ConfigCodeFolding_ExpandAll:"\u5168\u90E8\u5C55\u5F00",ConfigCodeFolding_FoldAll:"\u5168\u90E8\u6298\u53E0",ConfigGroup_Analysis:"\u5206\u6790",ConfigGroup_Display:"\u663E\u793A",ConfigGroup_Review:"\u5BA1\u6838",ConfigShowCodeMetrics:"\u663E\u793A\u4EE3\u7801\u5EA6\u91CF",ConfigShowCodeProfiling:"\u663E\u793A\u4EE3\u7801\u63A2\u67E5",ConfigShowCoverage:"\u663E\u793A\u4EE3\u7801\u8986\u76D6\u7387",Customization:"\u81EA\u5B9A\u4E49",Datacopy:"\u6570\u636E\u526F\u672C\u8BE6\u7EC6\u4FE1\u606F",DefinedIn:"\u5B9A\u4E49\u4F4D\u7F6E",Definition:"\u5B9A\u4E49",DictionaryDefault:"\u5B57\u5178\u9ED8\u8BA4\u6620\u5C04",GenerateCodeGroupName:"\u751F\u6210\u4EE3\u7801",GenerateCodeGroupName_STFMismatch:'\u4FEE\u590D\u5F15\u7528\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u53C2\u6570\u4E0D\u5339\u914D\u3002',GenerateCodeText:"\u7F16\u8BD1\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002",GenerateCodeText_STFMismatch:'\u66F4\u6539\u6D3B\u52A8\u6A21\u578B\u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u4EE5\u5339\u914D\u6839\u6A21\u578B\u5E76\u751F\u6210\u4EE3\u7801\u3002',GoToLine:"\u8F6C\u81F3\u884C: ${0}",HL_LineUpdate:"\u7A81\u51FA\u663E\u793A: \u5728\u4E0A\u6B21\u7F16\u8BD1\u4E2D\u4FEE\u6539\u7684\u884C",HL_SelectedBlk:"\u7A81\u51FA\u663E\u793A: \u9009\u5B9A\u7684 ${0} \u4E2A\u6A21\u5757",HighlightCode:"\u7A81\u51FA\u663E\u793A\u4EE3\u7801",Highlight_DataType:"Code View highlight input data must be a cell array of struct with field 'file' and 'line'.",Highlight_FileType:"Code View highlight file must be a non-empty string.",Highlight_InputType:"Code View highlight input must be a struct with field 'title' and 'data'.",Highlight_LineType:"Code View highlight line must be a positive integer.",Highlight_LocType:"Code View highlight location must be a 1X2 numerical vector representing starting and ending columns.",Highlight_TitleType:"Code View highlight input title must be a non-empty string.",Highlighting:"\u7A81\u51FA\u663E\u793A",Individual:"\u5355\u4E2A\u5143\u7D20\u6620\u5C04",Info_DefaultMapping:"\u9ED8\u8BA4\u6620\u5C04",Info_IndividualMapping:"\u5355\u4E2A\u6620\u5C04",LaunchStandaloneReport:"\u6253\u5F00\u4EE3\u7801\u751F\u6210\u62A5\u544A",Ln:"\u884C",MaximumExecutionTime:"\u6700\u5927\u6267\u884C\u65F6\u95F4",MaximumSelfTime:"\u6700\u5927\u81EA\u7528\u65F6\u95F4",ModelDefault:"\u6A21\u578B\u9ED8\u8BA4\u6620\u5C04",ModelElements:"\u6A21\u578B\u5143\u7D20",ModelRefSTFNotMatch:'"${0}" \u7684 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u8BBE\u7F6E\u4E3A "${1}"\uFF0C\u6839\u6A21\u578B "${2}" \u4E3A "${3}"\u3002\u6B64\u53C2\u6570\u7684\u8BBE\u7F6E\u5FC5\u987B\u4E0E\u6839\u6A21\u578B\u7684\u8BBE\u7F6E\u76F8\u540C\u3002',NecessaryDatacopy:"\u6B64\u6570\u636E\u526F\u672C\u662F\u5FC5\u9700\u7684\u3002",NoCode:'\u6CA1\u6709 "${0}" \u7684\u4EE3\u7801\u3002',NoCodeGenReport:"\u627E\u4E0D\u5230\u4EE3\u7801\u3002",NumberOfCalls:"\u8C03\u7528\u6B21\u6570",ProgressBarGenCode:"\u751F\u6210\u4EE3\u7801",ReloadBtnName:"\u91CD\u65B0\u52A0\u8F7D",ReloadCodeGroupName:"\u91CD\u65B0\u52A0\u8F7D\u4EE3\u7801",ReloadCodeText:'\u5C06 MATLAB \u5F53\u524D\u6587\u4EF6\u5939\u66F4\u6539\u4E3A\u7F16\u8BD1\u6587\u4EF6\u5939\uFF0C\u7136\u540E\u70B9\u51FB "${0}" \u6309\u94AE\u3002',ReportTabName:"\u62A5\u544A",Search:"\u641C\u7D22",ShowAnnotation:"\u663E\u793A\u4EE3\u7801\u6CE8\u91CA",ShowComments:"\u663E\u793A\u6CE8\u91CA\u548C\u7A7A\u884C",Statistics:"\u7EDF\u8BA1\u4FE1\u606F",Suggest:"\u5EFA\u8BAE\u7684\u64CD\u4F5C:",Task:"\u4EFB\u52A1",Type_Class:"\u7C7B",Type_Function:"\u51FD\u6570",Type_Type:"\u7C7B\u578B",Type_Variable:"\u53D8\u91CF",UnitOfTime:"\u65F6\u95F4\u5355\u4F4D:",UnnecessaryDatacopy:"\u53EF\u4EE5\u8FDB\u884C\u4F18\u5316\u4EE5\u9664\u53BB\u6570\u636E\u590D\u5236\u64CD\u4F5C\u3002"}},8312:(A,x,a)=>{A.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u8FFD\u52A0\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u30D6\u30ED\u30C3\u30AF\u304C\u95A2\u6570\u547C\u3073\u51FA\u3057\u306E\u30C8\u30EA\u30AC\u30FC\u4FE1\u53F7\u3092\u51FA\u529B\u3057\u3066\u3044\u307E\u3059\u304C\u3001\u3053\u308C\u306F\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092 "${0}" \u304B\u3089 "${1}" \u306B\u5207\u308A\u66FF\u3048\u305F\u3053\u3068\u306B\u3088\u308A\u3001\u65B0\u3057\u3044\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u8A2D\u5B9A\u3092\u30E2\u30C7\u30EB\u306B\u53CD\u6620\u3057\u307E\u3057\u305F\u3002\u524D\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u4FDD\u6301\u3055\u308C\u3001\u4E0A\u66F8\u304D\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306E\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_AddSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u30E2\u30C7\u30EB\u306E\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u9078\u629E\u3055\u308C\u305F\u30D6\u30ED\u30C3\u30AF \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3092\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_RemoveSignal_Tooltip:"\u9078\u629E\u3057\u305F\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304B\u3089\u524A\u9664\u3057\u307E\u3059\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u540D\u524D\u4ED8\u304D\u306E\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u8FFD\u52A0\u3057\u307E\u3059\u3002",CodeMappings:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsAdaptiveAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosar:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsAutosarSubComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9",CodeMappingsC:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsComponent:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsCpp:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDDS:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeMappingsDefaults:"\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsEditorInconsistentApp:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D\u307E\u3059</a>\u3002",CodeMappingsEditorInconsistentCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentMapping:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u30EB\u30FC\u30C8 \u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304F</a>\u304B\u3001\u30E2\u30C7\u30EB '${0}' \u306B\u3064\u3044\u3066\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u306E\u8A2D\u5B9A\u3092 '${1}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorInconsistentSTFandCIP:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001<a href=\"matlab:open_system('${0}');\">\u30E2\u30C7\u30EB\u3092\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u3068\u3057\u3066\u958B\u304D</a>\u3001\u30E2\u30C7\u30EB \u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B7\u30B9\u30C6\u30E0 \u30BF\u30FC\u30B2\u30C3\u30C8 \u30D5\u30A1\u30A4\u30EB] \u3092 '${1}' \u306B\u3001\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC [\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316] \u3092 '${2}' \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",CodeMappingsEditorMappingCreation:"\u30E2\u30C7\u30EB '${0}' \u306B\u5BFE\u3057\u3066\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3044\u3066\u304F\u3060\u3055\u3044\u3002</a>",CodeMappingsEditorNoMappings:"\u30E2\u30C7\u30EB '${0}' \u3067\u306F\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002",CodeMappingsNCDefault:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 ${0}",CodeMappingsSubAssembly:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 - \u30B5\u30D6\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9 ${0}",CodeProperties_CCodeSyncStage:"C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u540C\u671F",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u66F4\u65B0\u3057\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u7DDA\u56F3\u306E\u66F4\u65B0\u304C\u958B\u59CB\u3055\u308C\u307E\u3059\u3002",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F7F\u7528\u3057\u3066\u3001\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u306E\u30B3\u30FC\u30C9\u5B9A\u7FA9\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u8A2D\u5B9A",ConflictingModelRefInportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u5165\u529B\u7AEF\u5B50 ${0} \u3068\u3001\u5165\u529B\u7AEF\u5B50\u306B\u63A5\u7D9A\u3055\u308C\u3066\u3044\u308B\u30D6\u30ED\u30C3\u30AF '${3}' \u306E\u51FA\u529B\u7AEF\u5B50 ${2} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5404\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u3044\u305A\u308C\u304B\u306E\u7AEF\u5B50\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",ConflictingModelRefOutportStorageClass:"\u4FE1\u53F7\u306E\u69CB\u6210\u304C\u7AF6\u5408\u3057\u3066\u3044\u307E\u3059\u3002\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306E\u51FA\u529B\u7AEF\u5B50 ${0} \u306B\u306F\u3001Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u30E2\u30C7\u30EB\u3067\u306F\u3001\u540C\u3058\u7AEF\u5B50\u306B Auto \u4EE5\u5916\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u7AEF\u5B50\u306F\u540C\u3058\u4FE1\u53F7\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u308B\u305F\u3081\u3001\u4E00\u65B9\u306E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",Constants:"Constants",ConstantsToolTip:"Constant \u30D6\u30ED\u30C3\u30AF I/O \u304A\u3088\u3073\u5B9A\u6570\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",CorruptMappingsNotLoaded:"\u4FDD\u5B58\u3057\u305F\u30E2\u30C7\u30EB \u30D5\u30A1\u30A4\u30EB\u304C\u7834\u640D\u3057\u3066\u3044\u308B\u53EF\u80FD\u6027\u304C\u3042\u308B\u305F\u3081\u3001\u30B3\u30FC\u30C9 \u30B8\u30A7\u30CD\u30EC\u30FC\u30BF\u30FC\u306F\u30E2\u30C7\u30EB '${0}' \u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u8AAD\u307F\u8FBC\u307F\u307E\u305B\u3093\u3067\u3057\u305F\u3002",CppAccessColumnName:"\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9",CppClassSettingDialogToolstripDescription:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593\u3092\u69CB\u6210\u3057\u307E\u3059",CppClassSettingDialogToolstripLabel:"\u30AF\u30E9\u30B9\u540D\u3068\u540D\u524D\u7A7A\u9593",CppCodeMappingToolstripDescription:"\u30C7\u30FC\u30BF\u3068\u30E1\u30BD\u30C3\u30C9\u306E\u30AF\u30E9\u30B9 \u30E1\u30F3\u30D0\u30FC\u3092\u69CB\u6210\u3057\u307E\u3059",CppCodeMappingToolstripLabel:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0",CppCommunicationToolstripLabel:"\u901A\u4FE1\u306E\u69CB\u6210",CppDataPropertyKind:"\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9",CppDataSettings:"\u30C7\u30FC\u30BF",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`\u30E2\u30C7\u30EB "\${0}" \u306E\u5404\u30BF\u30B9\u30AF\u306F\u660E\u793A\u7684\u306A\u5206\u5272\u3092\u4F7F\u7528\u3057\u3066\u5206\u5272\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u304A\u308A\u3001[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3057\u3066\u30E2\u30C7\u30EB\u304C\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"[I/O \u5F15\u6570 step \u30E1\u30BD\u30C3\u30C9] \u30B9\u30BF\u30A4\u30EB\u306E step \u30E1\u30BD\u30C3\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u306E [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [public] \u306B\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",CppMethodNameColumnName:"\u30E1\u30BD\u30C3\u30C9\u540D",CppMethodPreviewColumnName:"\u30E1\u30BD\u30C3\u30C9\u306E\u30D7\u30EC\u30D3\u30E5\u30FC",CppMethodVisibilityColumnName:"\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027",CppNativeThreadsSeparateOutputUpdateNotSupported:`\u30E2\u30C7\u30EB "\${0}" \u3067\u3001[NativeThreadsExample] \u304A\u3088\u3073 [1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u306E [\u30BF\u30FC\u30B2\u30C3\u30C8 \u30AA\u30DA\u30EC\u30FC\u30C6\u30A3\u30F3\u30B0 \u30B7\u30B9\u30C6\u30E0] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u30E2\u30C7\u30EB\u3067\u306F\u3001\u30B5\u30F3\u30D7\u30EB\u306E ERT \u30E1\u30A4\u30F3\u306E\u751F\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>[1 \u3064\u306E\u51FA\u529B/\u66F4\u65B0\u95A2\u6570] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>[\u30E1\u30A4\u30F3 \u30D7\u30ED\u30B0\u30E9\u30E0\u4F8B\u306E\u751F\u6210] \u3092 [\u30AA\u30D5] \u306B\u8A2D\u5B9A\u3059\u308B</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`\u30E2\u30C7\u30EB "\${0}" \u306B\u3064\u3044\u3066\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067 "\${1}" \u306E\u30C7\u30FC\u30BF \u30A2\u30AF\u30BB\u30B9 \u30D7\u30ED\u30D1\u30C6\u30A3\u304C [\u30DD\u30A4\u30F3\u30BF\u30FC] \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u69CB\u6210\u3067\u306F\u3001\u30E2\u30C7\u30EB\u304C\u3001\u30B5\u30F3\u30D7\u30EB\u306E ERT \u30E1\u30A4\u30F3\u306E\u751F\u6210\u3001SIL \u307E\u305F\u306F PIL \u30E2\u30C7\u30EB \u30D6\u30ED\u30C3\u30AF\u306E\u4F5C\u6210\u3001\u307E\u305F\u306F\u30B3\u30FC\u30C9\u306E\u307F\u306E\u751F\u6210\u306E\u3044\u305A\u308C\u304B\u3092\u884C\u3046\u3088\u3046\u306B\u69CB\u6210\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>[\u30E1\u30A4\u30F3 \u30D7\u30ED\u30B0\u30E9\u30E0\u4F8B\u306E\u751F\u6210] \u3092 [\u30AA\u30F3] \u306B\u8A2D\u5B9A\u3059\u308B\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u5185\u3067\u3001'${0}' \u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3067\u304D\u307E\u305B\u3093\u3002'${0}' \u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u5B9A\u7FA9\u3057\u3066\u3001\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u305D\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u9069\u7528\u3057\u307E\u3059\u3002const \u307E\u305F\u306F volatile \u306E\u4FEE\u98FE\u5B50\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u30C7\u30FC\u30BF\u8EE2\u9001\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u95A2\u6570\u3092\u63A5\u7D9A\u3059\u308B\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u4FE1\u53F7\u306B\u5BFE\u3057\u30C7\u30FC\u30BF\u8EE2\u9001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u30BF\u30B9\u30AF\u9593\u306E\u30C7\u30FC\u30BF\u8EE2\u9001",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u524A\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u8FFD\u52A0\u30D7\u30ED\u30D1\u30C6\u30A3\u306A\u3057\u3002",DocBtnToolTip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u4F7F\u7528\u3057\u3066\u3001\u30E2\u30C7\u30EB\u306E\u30C7\u30FC\u30BF\u8981\u7D20\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u306E\u69CB\u6210\u306B\u95A2\u9023\u4ED8\u3051\u307E\u3059\u3002",DplTypeDlgCancelButtonLabel:"\u30AD\u30E3\u30F3\u30BB\u30EB",DplTypeDlgCppClassLabel:"C++ \u30AF\u30E9\u30B9\u540D:",DplTypeDlgCppClassLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u7A7A\u9593\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgCppClassTextboxToolTip:"\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u3066\u65E2\u5B9A\u306E\u30AF\u30E9\u30B9\u540D\u3092\u4F7F\u3046\u304B\u3001\u30AF\u30E9\u30B9\u540D\u3068\u3057\u3066\u6709\u52B9\u306A C++ \u8B58\u5225\u5B50\u3092\u5165\u529B\u3057\u307E\u3059\u3002",DplTypeDlgDescription:"C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059",DplTypeDlgHelpButtonLabel:"\u30D8\u30EB\u30D7",DplTypeDlgInvalidIdentifier:"\u7121\u52B9\u306A C++ \u8B58\u5225\u5B50",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"'${0}' \u306E C++ \u30AF\u30E9\u30B9\u8A2D\u5B9A\u306E\u69CB\u6210",DuplicateIDMWarn:`\${1} '\${2}' \u306B\u3064\u3044\u3066\u3001\u91CD\u8907\u3059\u308B\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u30E2\u30C7\u30EB '\${0}' \u306B\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002 <actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>\u30E2\u30C7\u30EB '\${0}' \u304B\u3089\u91CD\u8907\u3059\u308B\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u524A\u9664\u3059\u308B\u3002</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"\u30E2\u30C7\u30EB\u6A5F\u80FD\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u30A8\u30E9\u30FC",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u30B9\u30C6\u30C3\u30D7\u95A2\u6570\u3084\u30EA\u30BB\u30C3\u30C8\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u95A2\u6570\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u500B\u3005\u306E\u30E2\u30C7\u30EB\u95A2\u6570\u306B\u5BFE\u3057\u95A2\u6570\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u30D9\u30FC\u30B9 \u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u307E\u305F\u306F\u30C7\u30FC\u30BF \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC",HelpBtnLabel:"\u30C7\u30FC\u30BF\u3068\u95A2\u6570\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D8\u30EB\u30D7\u3002",InaccessibleCppPrivateIO:"C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u5165\u529B\u7AEF\u5B50\u307E\u305F\u306F\u51FA\u529B\u7AEF\u5B50\u304C [\u30C7\u30FC\u30BF\u306E\u53EF\u8996\u6027] \u3092 [\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8] \u306B\u8A2D\u5B9A\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001[\u30E1\u30F3\u30D0\u30FC \u30A2\u30AF\u30BB\u30B9 \u30E1\u30BD\u30C3\u30C9] \u3092 [\u306A\u3057] \u4EE5\u5916\u306E\u5024\u306B\u8A2D\u5B9A\u3057\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u30E2\u30C7\u30EB\u5185\u3067 Initialize Function \u30D6\u30ED\u30C3\u30AF\u3001Reset Function \u30D6\u30ED\u30C3\u30AF\u3001\u304A\u3088\u3073 Terminate Function \u30D6\u30ED\u30C3\u30AF\u3068\u3057\u3066\u8868\u3055\u308C\u308B\u95A2\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u5165\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u5165\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u5165\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,InportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u30D6\u30ED\u30C3\u30AF\u306E\u96E2\u6563\u72B6\u614B\u3001\u30D6\u30ED\u30C3\u30AF\u306E\u51FA\u529B\u4FE1\u53F7\u3001\u304A\u3088\u3073\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7\u3068\u4EE5\u524D\u306E\u30BC\u30ED\u30AF\u30ED\u30C3\u30B7\u30F3\u30B0\u4FE1\u53F7",InvalidBlockForInportMappings:"\u5165\u529B\u7AEF\u5B50\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u306B\u306E\u307F\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u3059\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u30E2\u30C7\u30EB\u306F\u30D0\u30FC\u30C1\u30E3\u30EB\u306E In Bus Element \u30D6\u30ED\u30C3\u30AF\u307E\u305F\u306F Out Bus Element \u30D6\u30ED\u30C3\u30AF\u3092\u542B\u307F\u3001\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u5171\u6709 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30FC\u30D3\u30B9 \u30B3\u30FC\u30C9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u3092\u5B9A\u7FA9\u3059\u308B\u30B3\u30FC\u30C0\u30FC \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306B\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3059\u308B\u306B\u306F\u3001In Bus Element \u30D6\u30ED\u30C3\u30AF\u3068 Out Bus Element \u30D6\u30ED\u30C3\u30AF\u306F\u975E\u30D0\u30FC\u30C1\u30E3\u30EB\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u5165\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidInputError:'"${0}" \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u52B9\u3067\u3059\u3002',InvalidInternalDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3001\u307E\u305F\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidMaxMsgNumValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u6700\u5927\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",InvalidOutportDataMappingDueToMessage:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u65E2\u5B9A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306F\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u304C\u30E2\u30C7\u30EB\u306B\u542B\u307E\u308C\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001'${6}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidPriorityValue:"\u30C7\u30FC\u30BF\u578B\u304C\u7121\u52B9\u3067\u3059\u3002\u512A\u5148\u9806\u4F4D\u306E\u5024\u306F\u7B26\u53F7\u306A\u3057\u6574\u6570\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093",InvalidPrototype:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7 '${0}' \u306F\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u6709\u52B9\u306A\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092\u6709\u52B9\u306A '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30D0\u30FC\u30C1\u30E3\u30EB \u30D0\u30B9 \u30C7\u30FC\u30BF\u578B\u306E\u30D0\u30B9\u8981\u7D20\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001'${1}' \u304B\u3089 ${2} '${3}' \u3078\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001'${4}' \u306B\u5BFE\u3057\u3066\u7121\u52B9\u306A Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u5185\u306E\u5B9A\u7FA9\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3066\u3044\u307E\u3059\u3002\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u53D7\u4FE1\u3059\u308B\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50\u3067\u306F\u3001\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 Auto \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001${6} '${7}' \u3092 '${5}' \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F\u672A\u30B5\u30DD\u30FC\u30C8\u306E\u30D6\u30ED\u30C3\u30AF\u3067\u306E '${1}' \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u3059\u3002",MappingFunctionDefault:"Default",MappingInspectorError:"1 \u3064\u4EE5\u4E0A\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u6307\u5B9A\u3055\u308C\u305F\u5024\u304C\u7121\u8996\u3055\u308C\u307E\u3057\u305F\u3002",MappingInspectorTooltip:"\u8FFD\u52A0\u306E\u30DE\u30C3\u30D4\u30F3\u30B0 \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F AUTOSAR \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MappingNotFound_C:"\u30E2\u30C7\u30EB '${0}' \u306B\u306F C \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3042\u308A\u307E\u305B\u3093\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C C++ \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MigrateFromCSRef:"\u53C2\u7167\u5148\u306E\u30B3\u30F3\u30D5\u30A3\u30AE\u30E5\u30EC\u30FC\u30B7\u30E7\u30F3 \u30BB\u30C3\u30C8 '${0}' \u304B\u3089\u306E\u60C5\u5831\u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3068 C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30A4\u30F3\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F\u3002",MigrateMemorySectionError:"\u8A8D\u8B58\u3055\u308C\u306A\u3044\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3 '${0}' \u3092\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u79FB\u884C\u3067\u304D\u307E\u305B\u3093\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u89E3\u6C7A\u6E08\u307F\u306E\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u540C\u3058\u30BF\u30FC\u30B2\u30C3\u30C8\u306B\u3064\u3044\u3066 '${0}' \u3068\u3044\u3046\u540D\u524D\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u4EE5\u524D\u306B\u4F5C\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ModelParameters:"Model parameters",ModelParametersToolTip:"\u3053\u306E\u30E2\u30C7\u30EB\u5185\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC (\u5024\u306F\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709)",NewStorageClassModelReference:"\u53C2\u7167\u30E2\u30C7\u30EB '${0}' \u3067\u3001${1} '${2}' \u304C Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3001\u304A\u3088\u3073\u30EB\u30FC\u30C8\u5165\u529B\u7AEF\u5B50\u3092\u30BD\u30FC\u30B9\u3068\u3059\u308B\u4FE1\u53F7\u3092 Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3059\u308B\u3053\u3068\u306F\u3001\u53C2\u7167\u30E2\u30C7\u30EB\u306E\u30B3\u30FC\u30C9\u751F\u6210\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002${1} \u3092\u30B3\u30FC\u30C9\u751F\u6210\u88FD\u54C1\u3067\u6307\u5B9A\u3055\u308C\u305F\u3001\u307E\u305F\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3057\u3066\u304F\u3060\u3055\u3044\u3002",NoCoderDictionaryWarn:`\u30E2\u30C7\u30EB '\${0}' \u306B C \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3042\u308A\u307E\u3059\u304C\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u306F\u3042\u308A\u307E\u305B\u3093\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u30E2\u30C7\u30EB '\${0}' \u306B Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3092\u4F5C\u6210\u3059\u308B\u3002 </txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",NullBlockMapping:"BlockMapping \u306B null \u30D6\u30ED\u30C3\u30AF\u304C\u3042\u308A\u307E\u3059\u3002",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u30E2\u30C7\u30EB \u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u51FA\u529B\u7AEF\u5B50\u306E\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u304C '${0}' \u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u751F\u6210\u3055\u308C\u305F\u30B3\u30FC\u30C9\u306F\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u306E\u30B3\u30F3\u30C8\u30ED\u30FC\u30EB\u6A5F\u80FD\u306B\u5BFE\u5FDC\u3057\u307E\u305B\u3093\u3002\u65E2\u5B9A\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092 [\u65E2\u5B9A] \u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u51FA\u529B\u7AEF\u5B50\u306F\u3001Embedded Coder \u30C7\u30A3\u30AF\u30B7\u30E7\u30CA\u30EA\u3067\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u308B\u65E2\u5B9A\u306E\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306B\u30DE\u30C3\u30D4\u30F3\u30B0\u3055\u308C\u307E\u3059\u3002
\u6700\u4E0A\u4F4D\u30E2\u30C7\u30EB\u306E\u500B\u3005\u306E\u51FA\u529B\u7AEF\u5B50\u306B\u5BFE\u3057\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001[\u5C55\u958B\u30BF\u30A4\u30D7] \u3092 [\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8] \u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002`,OutportsToolTip:"\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u51FA\u529B\u7AEF\u5B50",OutputArgReturnByVal:"\u7AEF\u5B50 '${0}' \u306F\u975E\u30B9\u30AB\u30E9\u30FC\u5024\u3092\u4FDD\u6301\u3059\u308B\u305F\u3081\u3001\u623B\u308A\u5F15\u6570\u3068\u3057\u3066\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093",PackageSelectionToolTip:`sldataclassdesigner \u3068 cscdesigner \u3092\u4F7F\u7528\u3057\u3066\u4F5C\u6210\u3055\u308C\u3001
\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3068\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u542B\u3080\u30D1\u30C3\u30B1\u30FC\u30B8\u3092\u9078\u629E\u3057\u307E\u3059\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u56FA\u6709\u306E\u5024\u3092\u3082\u3064\u30E2\u30C7\u30EB \u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u306E\u5F15\u6570 (\u65E2\u5B9A\u5024\u306F\u3053\u306E\u30E2\u30C7\u30EB\u3067\u5B9A\u7FA9)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3067\u6307\u5B9A\u3055\u308C\u305F\u7AEF\u5B50\u540D '${0}' \u304C\u30E2\u30C7\u30EB\u5185\u306B\u3042\u308A\u307E\u305B\u3093\u3002\u95A2\u6570\u306E\u5F15\u6570\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u30D7\u30ED\u30D1\u30C6\u30A3 \u30A4\u30F3\u30B9\u30DA\u30AF\u30BF\u30FC\u3067\u958B\u304F",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u8AAD\u307F\u53D6\u308A\u5C02\u7528]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${1}' \u3078\u306E ${0} \u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u305D\u306E ${0} \u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3068\u7AF6\u5408\u3057\u307E\u3059\u3002\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u8A2D\u5B9A\u3092\u5909\u66F4\u3059\u308B\u304B\u3001\u5916\u90E8\u30C7\u30FC\u30BF \u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092 Auto \u306B\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",ResovledSignalContextMenu_Create:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u4F5C\u6210...",ResovledSignalContextMenu_Explore:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u63A2\u7D22",ResovledSignalContextMenu_Open:"\u4FE1\u53F7\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3092\u958B\u304F",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"'${0}' \u3068\u3044\u3046\u540D\u524D\u306E MessageCustomization \u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059\u3002",SameStorageClassForLocalAndParameterArgument:"\u30E2\u30C7\u30EB '${0}' \u306E \"${1}\" '${2}' \u304A\u3088\u3073 \"${3}\" '${4}' \u306F\u540C\u3058\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9 '${5}' \u3092\u4F7F\u7528\u3057\u3066\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u7570\u306A\u308B\u30B9\u30C8\u30EC\u30FC\u30B8 \u30AF\u30E9\u30B9\u3092\u4F7F\u7528\u3057\u3066 \"${6}\" \u3068 \"${7}\" \u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u5DF1\u30C7\u30FC\u30BF\u69CB\u9020\u4F53",ServiceDirectAccess:"In model '${0}', root-level ${1} '${3}' is configured for use with a ${2} that uses direct-access communication. Change ${2} data communication method to during-execution or outside-execution.",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u30E2\u30C7\u30EB\u304C\u518D\u547C\u3073\u51FA\u3057\u53EF\u80FD\u306A\u5834\u5408\u306B\u30E2\u30C7\u30EB \u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u9593\u3067\u5171\u6709\u3055\u308C\u308B\u30C7\u30FC\u30BF \u30B9\u30C8\u30A2",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u30E2\u30C7\u30EB\u5185\u306E\u56FA\u5B9A\u5C0F\u6570\u70B9\u95A2\u6570\u3001\u30EB\u30C3\u30AF\u30A2\u30C3\u30D7 \u30C6\u30FC\u30D6\u30EB\u95A2\u6570\u3001\u30D0\u30A4\u30CA\u30EA\u691C\u7D22\u95A2\u6570\u306A\u3069\u306E\u95A2\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u65E2\u5B9A\u306E\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F5C\u6210",State:"State",StepFPCombinedIOOrdering:"\u540C\u3058\u540D\u524D\u3092\u3082\u3064\u7AEF\u5B50\u306E\u30DA\u30A2\u306F\u3001\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u5185\u3067\u96A3\u308A\u5408\u308F\u305B\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemBuildFPCForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformError:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002\u5909\u63DB\u3092\u7D9A\u884C\u3059\u308B\u306B\u306F\u3001\u30E2\u30C7\u30EB\u53C2\u7167\u5909\u63DB\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3067\u3001[\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30B3\u30D4\u30FC] \u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u30AA\u30D5\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemConversionForFunctionPlatformWarn:"\u30E2\u30C7\u30EB '${0}' \u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u69CB\u6210\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u304B\u3089\u53C2\u7167\u30E2\u30C7\u30EB\u3078\u306E\u5909\u63DB\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3002",SubsystemConversionForServiceInterfaceNotification:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u306B\u63A5\u7D9A\u3055\u308C\u305F\u30E2\u30C7\u30EB\u8981\u7D20\u306E\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u3001\u4F5C\u6210\u3055\u308C\u305F\u53C2\u7167\u30E2\u30C7\u30EB '${1}' \u306B\u30B3\u30D4\u30FC\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002",SubsystemFpcNewConfigurationForC:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C \u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u69CB\u6210\u306F\u5C06\u6765\u306E\u30EA\u30EA\u30FC\u30B9\u3067\u524A\u9664\u3055\u308C\u308B\u4E88\u5B9A\u3067\u3059\u3002\u65B0\u898F\u306E\u69CB\u6210\u3067\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u95A2\u6570\u30D7\u30ED\u30C8\u30BF\u30A4\u30D7\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemFpcNewConfigurationForCPP:"\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 \u30D3\u30EB\u30C9\u306E C++ \u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u69CB\u6210\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3059\u308B\u306B\u306F\u3001\u30B5\u30D6\u30B7\u30B9\u30C6\u30E0 '${0}' \u3092\u53C2\u7167\u30E2\u30C7\u30EB\u306B\u5909\u63DB\u3057\u3001\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u4F7F\u7528\u3057\u3066\u30E2\u30C7\u30EB\u306E\u30AF\u30E9\u30B9 \u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30A4\u30B9\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemSecPkgMisMatch:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001'${2}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306F\u3001'${3}' \u30D1\u30C3\u30B1\u30FC\u30B8\u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u304B\u3089\u306E\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SubsystemMemorySectionInMultiplePackages:"\u30E2\u30C7\u30EB '${0}' \u5185\u306E '${1}' \u30B5\u30D6\u30B7\u30B9\u30C6\u30E0\u3067\u306F\u3001\u30C7\u30FC\u30BF\u307E\u305F\u306F\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u304C\u3001\u5C11\u306A\u304F\u3068\u3082 2 \u3064\u306E\u30D1\u30C3\u30B1\u30FC\u30B8 (${2} \u304A\u3088\u3073 ${3}) \u3067\u5B9A\u7FA9\u3055\u308C\u305F\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u3088\u308A\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u30C7\u30FC\u30BF\u304A\u3088\u3073\u95A2\u6570\u306E\u65E2\u5B9A\u306E\u30AB\u30C6\u30B4\u30EA\u306B\u5BFE\u3057\u8A2D\u5B9A\u3055\u308C\u308B\u30E1\u30E2\u30EA \u30BB\u30AF\u30B7\u30E7\u30F3\u306F\u3001\u540C\u3058\u30D1\u30C3\u30B1\u30FC\u30B8\u5185\u3067\u5B9A\u7FA9\u3057\u3066\u304F\u3060\u3055\u3044\u3002",SwAddrMethodForInternalDataTooltip:"SectionType \u304C 'Var' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",SwAddrMethodForRunnableTooltip:"SectionType \u304C 'Code' \u306E SwAddrMethod \u3092\u9078\u629E\u3057\u307E\u3059\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5165\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u53D7\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u30E2\u30C7\u30EB '${0}' \u3067\u3001\u51FA\u529B\u7AEF\u5B50 '${1}' \u306F\u76F4\u63A5\u30A2\u30AF\u30BB\u30B9\u901A\u4FE1\u3092\u4F7F\u7528\u3059\u308B\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u3067\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u69CB\u6210\u3055\u308C\u3066\u304A\u308A\u3001\u8B58\u5225\u5B50\u306F\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u51FA\u529B\u7AEF\u5B50\u306E\u8B58\u5225\u5B50\u3092\u6307\u5B9A\u3059\u308B\u304B\u3001\u9001\u4FE1\u5074\u30B5\u30FC\u30D3\u30B9\u306E\u30C7\u30FC\u30BF\u901A\u4FE1\u65B9\u6CD5\u306E\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u95A2\u9023\u4ED8\u3051\u306A\u3057",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u691C\u8A3C\u3057\u307E\u3059",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570\u306E\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u3068 '${1}' \u304C\u540C\u3058\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3067\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4E00\u65B9\u306E\u30D6\u30ED\u30C3\u30AF\u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u3092\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",duplicateMappingFound:"\u91CD\u8907\u3059\u308B '${0}' \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u898B\u3064\u304B\u308A\u307E\u3057\u305F\u3002mappingObj.removeInvalidInternalDataMappings \u3092\u4F7F\u7528\u3057\u3066\u91CD\u8907\u3059\u308B\u8981\u7D20\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002",inactiveMappingsLost:"\u30E2\u30C7\u30EB '${0}' \u306B\u3001${1} \u7528\u306B\u69CB\u6210\u3055\u308C\u305F\u975E\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30DE\u30C3\u30D4\u30F3\u30B0\u306F\u3001\u30E2\u30C7\u30EB\u3092\u4EE5\u524D\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3059\u308B\u3068\u5931\u308F\u308C\u307E\u3059\u3002",invalidBlockParameterName:"\u30D6\u30ED\u30C3\u30AF ${1} \u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC '${0}' \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSelectionForAddingBlockParameters:"\u9078\u629E\u3057\u305F\u30D6\u30ED\u30C3\u30AF\u306B\u8ABF\u6574\u53EF\u80FD\u306A\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Argument Inport \u30D6\u30ED\u30C3\u30AF ${0} \u306E\u51FA\u529B\u4FE1\u53F7\u3092\u30B3\u30FC\u30C9\u751F\u6210\u7528\u306B\u69CB\u6210\u3067\u304D\u307E\u305B\u3093\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u3001\u30A8\u30F3\u30C8\u30EA\u30DD\u30A4\u30F3\u30C8\u95A2\u6570 '${0}' \u306E\u95A2\u6570\u540D\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u95A2\u6570\u540D\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unmappedFcnCallInport:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u3067\u306F\u3001\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u30B3\u30FC\u30C9\u95A2\u6570\u540D\u306F\u8A2D\u5B9A\u3055\u308C\u307E\u305B\u3093\u3002",unmappedIOBlock:"\u30B3\u30FC\u30C9 \u30DE\u30C3\u30D4\u30F3\u30B0\u306B\u30D6\u30ED\u30C3\u30AF '${0}' \u306E\u69CB\u6210\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30EB\u30FC\u30C8\u30EC\u30D9\u30EB\u306E\u5165\u529B\u7AEF\u5B50\u3068\u51FA\u529B\u7AEF\u5B50\u3092\u69CB\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},15225:(A,x,a)=>{A.exports={root:{ASAPAttributesTitle:"ASAP2 attributes",AUTOSARAttributes:"Additional attributes",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport block outputs function-call trigger signal, which is not supported by inport code mappings.",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'Code Mappings editor switched code interface from "${0}" to "${1}" to reflect new code interface setting for model. Previous code mappings retained and not overwritten.',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"Add block parameters for selected blocks to code mappings.",CodeMapping_AddSignal_Tooltip:"Add selected signals to code mappings.",CodeMapping_RemoveBlockParameter_Tooltip:"Remove parameters for blocks selected in model diagram or a block parameter selected in code mappings.",CodeMapping_RemoveSignal_Tooltip:"Remove selected signals from code mappings.",CodeMapping_SyncNamedSignals_Tooltip:"Add named signals to code mappings.",CodeMappings:"Code Mappings ${0}",CodeMappingsAdaptiveAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosar:"Code Mappings - Component Interface ${0}",CodeMappingsAutosarSubComponent:"Code Mappings - Subcomponent Interface",CodeMappingsC:"Code Mappings - Component Interface ${0}",CodeMappingsComponent:"Code Mappings - Component Interface ${0}",CodeMappingsCpp:"Code Mappings - Component Interface ${0}",CodeMappingsDDS:"Code Mappings - Component Interface ${0}",CodeMappingsDefaults:"Default Code Mappings ${0}",CodeMappingsEditorInconsistentApp:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open the model as a top model</a>.",CodeMappingsEditorInconsistentCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change setting of model configuration parameter Code interface packaging to '${1}'.",CodeMappingsEditorInconsistentMapping:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a root model</a> or, for model '${0}', change setting of model configuration parameter System target file to '${1}'.",CodeMappingsEditorInconsistentSTFandCIP:"Code Mappings editor is not available for model '${0}'. To configure code mappings, <a href=\"matlab:open_system('${0}');\">open model as a top model</a> and change model configuration parameter System target file to '${1}' and parameter Code interface packaging to '${2}'.",CodeMappingsEditorMappingCreation:"Code Mappings are not available for model '${0}'. <a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">Configure default code interfaces and open Code Mappings editor.</a>",CodeMappingsEditorNoMappings:"Model '${0}' does not support code mappings.",CodeMappingsNCDefault:"Code Mappings ${0}",CodeMappingsSubAssembly:"Code Mappings - Subcomponent Interface ${0}",CodeProperties_CCodeSyncStage:"C code mapping synchronization",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"Update code mappings. Initiates an update diagram.",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"Create code definitions for data and functions by using Embedded Coder Dictionary.",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"Configure Prototype",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"Constant block I/O and constant parameters",CorruptMappingsNotLoaded:"Code generator did not load code mappings for model '${0}' due to possible corruption in saved model file.",CppAccessColumnName:"Member Access Method",CppClassSettingDialogToolstripDescription:"Configure class name and namespace",CppClassSettingDialogToolstripLabel:"Class Name & Namespace",CppCodeMappingToolstripDescription:"Configure data and method class members",CppCodeMappingToolstripLabel:"Code Mappings",CppCommunicationToolstripLabel:"Configure Communication",CppDataPropertyKind:"Data Access",CppDataSettings:"Data",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`Model "\${0}" has individual tasks mapped to partitions using explicit partitioning and is configured with 'Single output/update function' set to 'off'. This configuration is not supported. <actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>Set 'Single output/update function' to 'on'</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"To generate 'I/O arguments step method' style step methods, in code mappings, inports and outports must be configured with 'Data Visibility' set to 'public' and 'Member Access Method' set to 'None'.",CppMethodNameColumnName:"Method Name",CppMethodPreviewColumnName:"Method Preview",CppMethodVisibilityColumnName:"Data Visibility",CppNativeThreadsSeparateOutputUpdateNotSupported:`In model "\${0}" generating a sample ERT main is not supported for a model configured with 'Target Operating System' of 'NativeThreadsExample' and 'Single Output/Update Function' set to 'off'. <actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>Set 'Single output/update function' to 'on'</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>Set 'Generate an example main program' to 'off'</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`For model "\${0}", the data access property for "\${1}" is set to "Pointer" in the code mappings. In this configuration, the model must be configured to either generate a sample ERT main, create a SIL or PIL model block, or generate code only. <actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>Set 'Generate an example main program' to 'on'.</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"Cannot configure memory sections for '${0}' in the code mapping. To configure memory sections for '${0}', define a storage class and apply the memory section to the storage class. To use const or volatile qualifiers, configure the properties of the storage class.",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`Data Transfers are mapped to the default data transfer service defined in Embedded Coder Dictionary.
To configure data transfer service interface for individual signals of a top model that connect callable functions, set deployment type to Component.`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"Transfer of data between tasks",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"Delete",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"No additional properties.",DocBtnToolTip:"Use Code Mappings editor to associate model data elements and functions with code generation configurations.",DplTypeDlgCancelButtonLabel:"Cancel",DplTypeDlgCppClassLabel:"C++ Class Name :",DplTypeDlgCppClassLabelToolTip:"C++ Class Name.",DplTypeDlgCppClassNamespaceLabel:"C++ Class Namespace :",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ Class Namespace.",DplTypeDlgCppClassNamespaceTextboxToolTip:"Leave blank for default class name space or enter a valid C++ identifier for class name space.",DplTypeDlgCppClassTextboxToolTip:"Leave blank for default class name or enter a valid C++ identifier for class name.",DplTypeDlgDescription:"Configure C++ Class Settings",DplTypeDlgHelpButtonLabel:"Help",DplTypeDlgInvalidIdentifier:"Invalid C++ Identifier",DplTypeDlgOKButtonLabel:"OK",DplTypeDlgTitle:"Configure C++ Class Settings for '${0}'",DuplicateIDMWarn:`Duplicate code mappings found in model '\${0}' for \${1} '\${2}'. <actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>Remove duplicate code mappings from model '\${0}'.</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"Memory sections for model functions",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"Error",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"Functions such as step and reset functions",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`Functions are mapped to the default function customization templates defined in Embedded Coder Dictionary.
To configure function customization templates for individual model functions, set deployment type to Component.`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"Data stores in base workspace or data dictionary",GlobalParameters:"External parameters",GlobalParametersToolTip:"Parameters defined in base workspace or data dictionary",HelpBtnLabel:"Help for configuring data and functions for code generation.",InaccessibleCppPrivateIO:"In C++ code mapping, if inports or outports are configured with 'Data Visibility' set to 'private', you must set 'Member Access Method' to a value other than 'None'.",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"Functions represented in model as Initialize Function, Reset Function, and Terminate Function blocks.",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"In model code mappings, default storage class for inports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Inports:"Inports",InportsNotConfigurableMessage:`Inports are mapped to the default receiver service interface defined in Embedded Coder Dictionary.
To configure receiver service interface for individual inports of a top model, set deployment type to Component.`,InportsToolTip:"Root-level inports",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"Discrete block states, block output signals, and zero-crossing and previous zero-crossing signals",InvalidBlockForInportMappings:"Inport code mappings are for root-level inports only.",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"Model includes virtual In Bus Element or Out Bus Element blocks and is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration. To generate code for a model linked to a coder dictionary that defines a service code interface configuration, In Bus Element and Out Bus Element blocks must be nonvirtual.",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends a message. In code mappings, set '${6}' to '${5}'.",InvalidInputError:'Value specified for "${0}" property is invalid.',InvalidInternalDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because model contains a root-level inport that sends or root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidMaxMsgNumValue:"Invalid data type. Capacity must be an unsigned integer.",InvalidOutportDataMappingDueToMessage:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}' because the model contains a root-level outport that receives a message. In code mappings, set '${6}' to '${5}'.",InvalidPriorityValue:"Invalid data type. Priority value must be an unsigned integer",InvalidPrototype:"Function prototype '${0}' is not a valid prototype. Enter a valid prototype.",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set ${6} '${7}' to a valid '${5}'.",InvalidStorageClassTooltipIndividualBusElementPort:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For bus element ports with a virtual bus data type, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level outports that receive messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"Model '${0}' has a '${1}' mapping with an unsupported block.",MappingFunctionDefault:"Default",MappingInspectorError:"Values specified for one or more code mapping properties ignored.",MappingInspectorTooltip:"Configure additional mapping properties.",MappingNone:"None",MappingNotFound_AUTOSAR:"Model '${0}' does not have AUTOSAR mapping.",MappingNotFound_C:"Model '${0}' does not have C mapping.",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"Information from referenced configuration set '${0}' imported into C++ code mappings.",MigrateFromCSRef:"Information from referenced configuration set '${0}' imported into Embedded Coder Dictionary and C code mappings.",MigrateMemorySectionError:"Unable to migrate unrecognized memory section '${0}' to code mappings.",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"Resolved signal object cannot be found",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"Self data structure",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"A mapping with name '${0}' for the same target was previously created.",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ModelParameters:"Model parameters",ModelParametersToolTip:"Tunable parameters defined in this model (value shared across model instances)",NewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}'is mapped to storage class defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root inport source, mappings to storage classes that are defined in Embedded Coder Dictionary are not supported for reference model code generation. Map ${1} to a storage class provided by the coder product or that is defined in a package.",NoCoderDictionaryWarn:`Model '\${0}' has a C code mapping but has no Embedded Coder Dictionary. <actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>Create an Embedded Coder Dictionary in model '\${0}'.</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",NullBlockMapping:"BlockMapping has a null block.",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"In model code mappings, default storage class for outports is set to '${0}', making generated code noncompliant with function prototype control feature. Set default storage class to 'Default'.",Outports:"Outports",OutportsNotConfigurableMessage:`Outports are mapped to the default sender service interface defined in Embedded Coder Dictionary.
To configure sender service interface for individual outports of a top model, set deployment type to Component.`,OutportsToolTip:"Root-level outports",OutputArgReturnByVal:"Port '${0}' cannot be set as return argument since it holds non-scalar value",PackageSelectionToolTip:`Select a package that was created by using sldataclassdesigner
and cscdesigner and that contains memory sections and storage classes.`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"Model parameter arguments with instance-specific values (default value defined in this model)",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"Port name '${0}', specified in function prototype, is not in model. Reconfigure function arguments.",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"Open in Property Inspector",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[Read-only]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"Code mapping of ${0} to storage class '${1}' conflicts with storage class setting for external data object associated with that ${0}. Change storage class setting for code mapping or external data object to Auto.",ResovledSignalContextMenu_Create:"Create signal object...",ResovledSignalContextMenu_Explore:"Explore signal object",ResovledSignalContextMenu_Open:"Open signal object",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"MessageCustomization named '${0}' already exists.",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"Self data structure",ServiceDirectAccess:"In model '${0}', root-level ${1} '${3}' is configured for use with a ${2} that uses direct-access communication. Change ${2} data communication method to during-execution or outside-execution.",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"Data stores shared between model instances when model is reentrant",SharedUtility:"Shared utility",SharedUtilityToolTip:"Functions such as fixed-point functions, lookup table functions, and binary search functions in model",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"Create Default Component",State:"State",StepFPCombinedIOOrdering:"Pair of ports with same name must be next to each other in function prototype.",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"C function prototype configuration for subsystem build will be removed in a future release. To configure the function prototype, convert subsystem '${0}' to a referenced model.",SubsystemBuildFPCForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemConversionForFunctionPlatformError:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings. To proceed with conversion, in Model Reference Conversion Advisor, clear 'Copy code mappings' option.",SubsystemConversionForFunctionPlatformWarn:"Model '${0}' is configured with service interface code mappings. Conversion of subsystem to referenced model does not copy service interface code mappings.",SubsystemConversionForServiceInterfaceNotification:"Code mappings for model elements that feed subsystem '${0}' were not copied to created reference model '${1}'.",SubsystemFpcNewConfigurationForC:"C function prototype configuration for subsystem build will be removed in a future release. For new configurations, convert subsystem '${0}' to a referenced model and configure function prototypes for model by using code mappings.",SubsystemFpcNewConfigurationForCPP:"C++ class interface configuration for subsystem build is not supported. To configure class interface, convert subsystem '${0}' to a referenced model and configure class interface for model by using code mappings.",SubsystemMemSecPkgMisMatch:"For '${1}' subsystem within model '${0}', data or function categories are configured with memory sections that are defined in '${2}' package and data or function default categories are configured with memory sections that are defined in '${3}' package. Select memory sections from the same package.",SubsystemMemorySectionInMultiplePackages:"For '${1}' subsystem within model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages - ${2} and ${3}. Define memory sections configured for data and function default categories in the same package.",SwAddrMethodForInternalDataTooltip:"Select SwAddrMethod with SectionType 'Var'.",SwAddrMethodForRunnableTooltip:"Select SwAddrMethod with SectionType 'Code'.",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"In model '${0}', root-level inport '${1}' is configured for use with a receiver service that uses direct-access communication and no identifier is specified. Specify an identifier for the inport or change receiver service data communication method setting.",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"In model '${0}', outport '${1}' is configured for use with a sender service that uses direct-access communication and no identifier is specified. Specify an identifier for the outport or change sender service data communication method setting.",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"Unresolved",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"Validate Code Mappings",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"Code mappings configures entry-point functions '${0}' and '${1}' with same code function name. Reconfigure function name for one of the entry-point functions.",duplicateMappedFcnCallInport:"Code mapping configures blocks '${0}' and '${1}' with same code function name. Reconfigure code function name for one of the blocks.",duplicateMappingFound:"Duplicate '${0}' mapping found. Use mappingObj.removeInvalidInternalDataMappings to delete duplicate elements.",inactiveMappingsLost:"Model '${0}' contains inactive code mappings configured for ${1}. These mappings will be lost when exporting the model to a previous version.",invalidBlockParameterName:"Tunable parameter '${0}' for block ${1} not found.",invalidSelectionForAddingBlockParameters:"Tunable parameters for selected blocks not found.",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"Unable to configure output signal of Argument Inport block ${0} for code generation.",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"Code mappings does not configure function name for entry-point function '${0}'. Configure function name.",unmappedFcnCallInport:"Code mappings does not configure code function name for block '${0}'.",unmappedIOBlock:"Code mappings does not include configuration for block '${0}'. Configure root-level inports and outports."},"ja-jp":!0,"zh-cn":!0}},58298:(A,x,a)=>{A.exports={ASAPAttributesTitle:"ASAP2 \u5C5E\u6027",AUTOSARAttributes:"\u5176\u4ED6\u5C5E\u6027",AutoGenerate:"Auto",BlockParameterArguments:"Block parameter arguments",BlockParameters:"Block parameters",CannotChangeIOAccessToNone:"Access method '${0}' cannot be changed to 'None' when visibility is set to 'private'.",CannotConfigureClassMemoryType:"Cannot configure 'External Pointer' for model element type '${0}'.",CannotMapFcnCallInport:"Inport \u6A21\u5757\u8F93\u51FA\u51FD\u6570\u8C03\u7528\u89E6\u53D1\u4FE1\u53F7\uFF0C\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4E0D\u652F\u6301\u8BE5\u4FE1\u53F7\u3002",CodeIdentifierColumnName:"Identifier",CodeIdentifierSpecifiedOnVirtualBusState:"Block '${0}' has a virtual bus input signal and a state that is configured with storage class other than Auto. Set storage class to Auto or use a nonvirtual bus with a Simulink.Bus object on the input signal to this block.",CodeInterfaceSwitched:'\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5DF2\u5C06\u4EE3\u7801\u63A5\u53E3\u4ECE "${0}" \u5207\u6362\u5230 "${1}" \u4EE5\u53CD\u6620\u6A21\u578B\u7684\u65B0\u4EE3\u7801\u63A5\u53E3\u8BBE\u7F6E\u3002\u4FDD\u7559\u4EE5\u524D\u7684\u4EE3\u7801\u6620\u5C04\u800C\u4E0D\u8986\u76D6\u3002',CodeMappingPreviewTitle:"Code Mapping Preview",CodeMapping_AddBlockParameter_Tooltip:"\u5C06\u6240\u9009\u6A21\u5757\u7684\u6A21\u5757\u53C2\u6570\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_AddSignal_Tooltip:"\u5C06\u6240\u9009\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMapping_RemoveBlockParameter_Tooltip:"\u5220\u9664\u5728\u6A21\u578B\u56FE\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u7684\u53C2\u6570\u6216\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u9009\u62E9\u7684\u6A21\u5757\u53C2\u6570\u3002",CodeMapping_RemoveSignal_Tooltip:"\u4ECE\u4EE3\u7801\u6620\u5C04\u4E2D\u5220\u9664\u6240\u9009\u4FE1\u53F7\u3002",CodeMapping_SyncNamedSignals_Tooltip:"\u5C06\u547D\u540D\u4FE1\u53F7\u6DFB\u52A0\u5230\u4EE3\u7801\u6620\u5C04\u3002",CodeMappings:"\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsAdaptiveAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosar:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsAutosarSubComponent:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3",CodeMappingsC:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsComponent:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsCpp:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDDS:"\u4EE3\u7801\u6620\u5C04 - \u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeMappingsDefaults:"\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsEditorInconsistentApp:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\u3002",CodeMappingsEditorInconsistentCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '\${1}'\u3002`,CodeMappingsEditorInconsistentMapping:"\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href=\"matlab:open_system('${0}');\">\u5C06\u6A21\u578B\u4F5C\u4E3A\u6839\u6A21\u578B\u6253\u5F00</a>\uFF1B\u6216\u8005\uFF0C\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 \"\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6\" \u7684\u8BBE\u7F6E\u66F4\u6539\u4E3A '${1}'\u3002",CodeMappingsEditorInconsistentSTFandCIP:`\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '\${0}'\u3002\u8981\u914D\u7F6E\u4EE3\u7801\u6620\u5C04\uFF0C\u8BF7<a href="matlab:open_system('\${0}');">\u5C06\u6A21\u578B\u4F5C\u4E3A\u9876\u5C42\u6A21\u578B\u6253\u5F00</a>\uFF0C\u5E76\u5C06\u6A21\u578B\u914D\u7F6E\u53C2\u6570 "\u7CFB\u7EDF\u76EE\u6807\u6587\u4EF6" \u66F4\u6539\u4E3A '\${1}'\uFF0C\u5C06\u53C2\u6570 "\u4EE3\u7801\u63A5\u53E3\u6253\u5305" \u66F4\u6539\u4E3A '\${2}'\u3002`,CodeMappingsEditorMappingCreation:"\u4EE3\u7801\u6620\u5C04\u4E0D\u53EF\u7528\u4E8E\u6A21\u578B '${0}'\u3002<a href=\"matlab:Simulink.CodeMapping.UI_Launch('${0}');\">\u914D\u7F6E\u9ED8\u8BA4\u4EE3\u7801\u63A5\u53E3\u5E76\u6253\u5F00\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u3002</a>",CodeMappingsEditorNoMappings:"\u6A21\u578B '${0}' \u4E0D\u652F\u6301\u4EE3\u7801\u6620\u5C04\u3002",CodeMappingsNCDefault:"\u4EE3\u7801\u6620\u5C04 ${0}",CodeMappingsSubAssembly:"\u4EE3\u7801\u6620\u5C04 - \u5B50\u7EC4\u4EF6\u63A5\u53E3 ${0}",CodeProperties_CCodeSyncStage:"C \u4EE3\u7801\u6620\u5C04\u540C\u6B65",CodeProperties_Refresh:"Refresh",CodeProperties_Refresh_Tooltip:"\u66F4\u65B0\u4EE3\u7801\u6620\u5C04\u3002\u542F\u52A8\u66F4\u65B0\u56FE\u3002",CoderDataTypeNotFound:"No CoderDataType matches the condition.",CoderDictBtnToolTip:"\u4F7F\u7528 Embedded Coder \u5B57\u5178\u4E3A\u6570\u636E\u548C\u51FD\u6570\u521B\u5EFA\u4EE3\u7801\u5B9A\u4E49\u3002",ConfigurationModeLabel:"Configuration Mode",ConfigureArguments:"\u914D\u7F6E\u539F\u578B",ConflictingModelRefInportStorageClass:"Conflicting signal configuration. Inport port ${0} for referenced model '${1}' and output port ${2} from block '${3}', which feeds the inport port, are configured with storage classes other than Auto. Because the ports map to the same signal, you must set the storage class for one of the ports to Auto.",ConflictingModelRefOutportStorageClass:"Conflicting signal configuration. Outport port ${0} for referenced model '${1}' is configured with a storage class other than Auto. The same port is configured with a storage class other than Auto in this model. Because the port maps to the same signal, you must set the storage class for one instance to Auto.",Constants:"Constants",ConstantsToolTip:"\u5E38\u91CF\u6A21\u5757 I/O \u548C\u5E38\u91CF\u53C2\u6570",CorruptMappingsNotLoaded:"\u7531\u4E8E\u4FDD\u5B58\u7684\u6A21\u578B\u6587\u4EF6\u53EF\u80FD\u5DF2\u635F\u574F\uFF0C\u4EE3\u7801\u751F\u6210\u5668\u672A\u52A0\u8F7D\u6A21\u578B '${0}' \u7684\u4EE3\u7801\u6620\u5C04\u3002",CppAccessColumnName:"\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5",CppClassSettingDialogToolstripDescription:"\u914D\u7F6E\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppClassSettingDialogToolstripLabel:"\u7C7B\u540D\u79F0\u548C\u547D\u540D\u7A7A\u95F4",CppCodeMappingToolstripDescription:"\u914D\u7F6E\u6570\u636E\u548C\u65B9\u6CD5\u7C7B\u6210\u5458",CppCodeMappingToolstripLabel:"\u4EE3\u7801\u6620\u5C04",CppCommunicationToolstripLabel:"\u914D\u7F6E\u901A\u4FE1",CppDataPropertyKind:"\u6570\u636E\u8BBF\u95EE",CppDataSettings:"\u6570\u636E",CppExplicitPartitioningThreadsSeparateOutputUpdateNotSupported:`\u6A21\u578B "\${0}" \u4F7F\u7528\u663E\u5F0F\u5206\u533A\u5C06\u5355\u4E2A\u4EFB\u52A1\u6620\u5C04\u5230\u5206\u533A\uFF0C\u5E76\u4E14\u914D\u7F6E\u4E3A\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'off'\u3002\u4E0D\u652F\u6301\u6B64\u914D\u7F6E\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="CppNativeThreadsSeparateOutputUpdateNotSupported" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'on'</txt> </action> </actions>`,CppIOAccessNotNoneWithFPCConfigured:"\u8981\u751F\u6210 'I/O \u53C2\u6570\u5355\u6B65\u65B9\u6CD5' \u6837\u5F0F\u5355\u6B65\u65B9\u6CD5\uFF0C\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u65F6\uFF0C\u5FC5\u987B\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u516C\u5171'\uFF0C\u5E76\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0'\u3002",CppMethodNameColumnName:"\u65B9\u6CD5\u540D\u79F0",CppMethodPreviewColumnName:"\u65B9\u6CD5\u9884\u89C8",CppMethodVisibilityColumnName:"\u6570\u636E\u53EF\u89C1\u6027",CppNativeThreadsSeparateOutputUpdateNotSupported:`\u5728\u6A21\u578B "\${0}" \u4E2D\uFF0C\u5982\u679C\u6A21\u578B\u7684 '\u76EE\u6807\u64CD\u4F5C\u7CFB\u7EDF' \u914D\u7F6E\u4E3A 'NativeThreadsExample' \u4E14 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'off'\uFF0C\u5219\u4E0D\u652F\u6301\u751F\u6210\u793A\u4F8B ERT \u4E3B\u7A0B\u5E8F\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NativeThreadsSeparateOuptutUpdate" retvalue="false"> <cmd>set_param('\${0}', 'CombineOutputUpdateFcns', 'on')</cmd> <txt>\u5C06 '\u5355\u4E00\u8F93\u51FA/\u66F4\u65B0\u51FD\u6570' \u8BBE\u7F6E\u4E3A 'on'</txt> </action> <action type="fixit" id="NativeThreadsExampleMain" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'off')</cmd> <txt>\u5C06 '\u751F\u6210\u793A\u4F8B\u4E3B\u7A0B\u5E8F' \u8BBE\u7F6E\u4E3A 'off'</txt> </action> </actions>`,CppStaticMainPointerDataAccess:`\u5BF9\u4E8E\u6A21\u578B "\${0}"\uFF0C"\${1}" \u7684\u6570\u636E\u8BBF\u95EE\u5C5E\u6027\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u8BBE\u7F6E\u4E3A "\u6307\u9488"\u3002\u5728\u6B64\u914D\u7F6E\u4E2D\uFF0C\u6A21\u578B\u5FC5\u987B\u914D\u7F6E\u4E3A\u751F\u6210\u793A\u4F8B ERT \u4E3B\u7A0B\u5E8F\uFF0C\u521B\u5EFA\u4E00\u4E2A SIL \u6216 PIL \u6A21\u578B\u6A21\u5757\uFF0C\u6216\u4EC5\u751F\u6210\u4EE3\u7801\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="CppStaticMainPointerDataAccess" retvalue="false"> <cmd>set_param('\${0}', 'GenerateSampleERTMain', 'on')</cmd> <txt>\u5C06 '\u751F\u6210\u793A\u4F8B\u4E3B\u7A0B\u5E8F' \u8BBE\u7F6E\u4E3A 'on'\u3002</txt> </action> </actions>`,DDSDefault:"Default",DataCategoryColumnName:"Model Element Category",DataDefaultsSettings:"Data Defaults",DataMemorySectionNotApplicable:"\u65E0\u6CD5\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u4E3A '${0}' \u914D\u7F6E\u5185\u5B58\u6BB5\u3002\u8981\u4E3A '${0}' \u914D\u7F6E\u5185\u5B58\u6BB5\uFF0C\u8BF7\u5B9A\u4E49\u5B58\u50A8\u7C7B\u5E76\u5C06\u5185\u5B58\u6BB5\u5E94\u7528\u4E8E\u8BE5\u5B58\u50A8\u7C7B\u3002\u8981\u4F7F\u7528 const \u6216 volatile \u9650\u5B9A\u7B26\uFF0C\u8BF7\u914D\u7F6E\u8BE5\u5B58\u50A8\u7C7B\u7684\u5C5E\u6027\u3002",DataMemorySectionNotConfigurable:"Cannot get or set memory section for category '${0}' because category is mapped to storage class '${1}'. To get or set the memory section, set storage class to Default or the name of a storage class defined in a package where memory section property is instance specific.",DataReadModeColumnName:"Data Read Mode",DataReaderLabel:"Data Reader",DataStore:"Data store",DataTransferNotConfigurableMessage:`\u6570\u636E\u4F20\u8F93\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u6570\u636E\u4F20\u8F93\u670D\u52A1\u3002
\u8981\u4E3A\u8FDE\u63A5\u53EF\u8C03\u7528\u51FD\u6570\u7684\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u4FE1\u53F7\u914D\u7F6E\u6570\u636E\u4F20\u8F93\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,DataTransferSignalAddedToSignalMapping:"For model '${0}', data transfer signal '${1}' was added to model code mappings as a signal. Remove signal '${1}' from signal code mappings.",DataTransfers:"Data transfers",DataTransfersMode:"Data Transfer Service",DataTransfersToolTip:"\u4EFB\u52A1\u95F4\u7684\u6570\u636E\u4F20\u8F93",DataViewDataStores:"Data Stores",DataViewDataTransfers:"Data Transfers",DataViewInports:"Inports",DataViewInternalMembers:"Internal Members",DataViewOutports:"Outports",DataViewParameters:"Parameters",DataViewSignals:"Signals",DataViewSignalsStates:"Signals/States",DataViewStates:"States",DataWriteModeColumnName:"Data Write Mode",DataWriterLabel:"Data Writer",DefaultMapping:"Model default: ${0}",DefaultMappingForAPI:"Model default",DeleteLabel:"\u5220\u9664",DirectDataAccessTooltip:"Generate data elements as class members that are nonstatic structs.",DisabledMappingInspectorTooltip:"\u6CA1\u6709\u5176\u4ED6\u5C5E\u6027\u3002",DocBtnToolTip:"\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u7F16\u8F91\u5668\u5C06\u6A21\u578B\u6570\u636E\u5143\u7D20\u548C\u51FD\u6570\u4E0E\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u76F8\u5173\u8054\u3002",DplTypeDlgCancelButtonLabel:"\u53D6\u6D88",DplTypeDlgCppClassLabel:"C++ \u7C7B\u540D\u79F0:",DplTypeDlgCppClassLabelToolTip:"C++ \u7C7B\u540D\u79F0\u3002",DplTypeDlgCppClassNamespaceLabel:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4:",DplTypeDlgCppClassNamespaceLabelToolTip:"C++ \u7C7B\u547D\u540D\u7A7A\u95F4\u3002",DplTypeDlgCppClassNamespaceTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7A7A\u95F4\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u7A7A\u95F4\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgCppClassTextboxToolTip:"\u5C06\u9ED8\u8BA4\u7C7B\u540D\u79F0\u7559\u7A7A\uFF0C\u6216\u4E3A\u7C7B\u540D\u79F0\u8F93\u5165\u6709\u6548\u7684 C++ \u6807\u8BC6\u7B26\u3002",DplTypeDlgDescription:"\u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",DplTypeDlgHelpButtonLabel:"\u5E2E\u52A9",DplTypeDlgInvalidIdentifier:"\u65E0\u6548\u7684 C++ \u6807\u8BC6\u7B26",DplTypeDlgOKButtonLabel:"\u786E\u5B9A",DplTypeDlgTitle:"\u4E3A '${0}' \u914D\u7F6E C++ \u7C7B\u8BBE\u7F6E",DuplicateIDMWarn:`\u5728\u6A21\u578B '\${0}' \u4E2D\u53D1\u73B0 \${1} '\${2}' \u7684\u91CD\u590D\u4EE3\u7801\u6620\u5C04\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="DuplicateIDMWarnFix" retvalue="false"> <cmd>coder.mapping.internal.removeInvalidCodeMappings('\${0}')</cmd> <txt>\u4ECE\u6A21\u578B '\${0}' \u4E2D\u5220\u9664\u91CD\u590D\u4EE3\u7801\u6620\u5C04\u3002</txt> </action> </actions>`,ERTFunctionGroupMappingLabel:"\u6A21\u578B\u51FD\u6570\u7684\u5185\u5B58\u6BB5",EntryPointFunctions:"Functions",EntryPointMethods:"Methods",Error:"\u9519\u8BEF",Execution:"Execution",ExecutionCoreColumnName:"Execution Core",ExecutionToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982 step \u548C reset \u51FD\u6570",ExportedFuncPrefix:"Exported Function:",FilterExpressionLabel:"Filter Expression",FilterKindLabel:"Filter Kind",FilterKindSqlLabel:"SQL",FilterKindStringLabel:"String Match",FilterParameterListLabel:"Filter Parameter List",FunctionCallers:"Function Callers",FunctionCategoryColumnName:"Model Function Category",FunctionClass:"FunctionCustomizationTemplate",FunctionClassColumnName:"Function Customization Template",FunctionExecutionModeColumnName:"Execution Mode",FunctionMemorySectionNotConfigurable:"Cannot get or set memory section for function category '${0}' because category is mapped to function customization template '${1}'. To get or set memory section, set function customization template to Default.",FunctionNameColumnName:"Function Name",FunctionPreviewColumnName:"Function Preview",FunctionPriorityColumnName:"Priority",FunctionTriggeringTypeColumnName:"Triggering Type",FunctionsDefaultsSettings:"Function Defaults",FunctionsNotConfigurableMessage:`\u51FD\u6570\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\u3002
\u8981\u4E3A\u5404\u4E2A\u6A21\u578B\u51FD\u6570\u914D\u7F6E\u51FD\u6570\u81EA\u5B9A\u4E49\u6A21\u677F\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,GlobalDataStores:"Global data stores",GlobalDataStoresToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u7684\u6570\u636E\u5B58\u50A8",GlobalParameters:"External parameters",GlobalParametersToolTip:"\u57FA\u7840\u5DE5\u4F5C\u533A\u6216\u6570\u636E\u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u53C2\u6570",HelpBtnLabel:"\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E\u6570\u636E\u548C\u51FD\u6570\u7684\u5E2E\u52A9\u3002",InaccessibleCppPrivateIO:"\u5728 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u5982\u679C\u5728\u914D\u7F6E\u8F93\u5165\u7AEF\u53E3\u6216\u8F93\u51FA\u7AEF\u53E3\u65F6\u5C06 '\u6570\u636E\u53EF\u89C1\u6027' \u8BBE\u7F6E\u4E3A '\u79C1\u6709'\uFF0C\u5219\u5FC5\u987B\u5C06 '\u6210\u5458\u8BBF\u95EE\u65B9\u6CD5' \u8BBE\u7F6E\u4E3A '\u65E0' \u4EE5\u5916\u7684\u503C\u3002",IncompatiblePrototype:"Function caller prototype '${0}' is not compatible with function definition '${1}'.",InconsistentMemorySectionPackage:"For model '${1}', subsystem '${0}' uses memory section '${2}' from package '${3}'. Model configuration parameter 'Package' specifies that package, but Embedded Coder Dictionary for model loads package '${4}'. Specify same package in model configuration parameter and dictionary or set subsystem memory section to 'Inherit from model' or 'Default'.",InheritFromSignal:"From signal object: ${0}",InitializeTerminate:"Initialize/Terminate",InitializeTerminateToolTip:"\u6A21\u578B\u4E2D\u8868\u793A\u4E3A Initialize Function\u3001Reset Function \u548C Terminate Function \u6A21\u5757\u7684\u51FD\u6570\u3002",InlineInportAccessMethodTooltip:"Generate set access method defined in class declaration for each inport.",InlineOutportAccessMethodTooltip:"Generate get access method defined in class declaration for each outport.",InlineStructureBasedAccessMethodTooltip:"Generate get and one set access method for data category defined in class declaration.",InlinedParameters:"'Auto' will be inlined",Inport:"Inport",InportAccessMethodTooltip:"Generate set access method for each inport.",InportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u5165\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Inports:"Inports",InportsNotConfigurableMessage:`\u8F93\u5165\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\u3002
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u5165\u7AEF\u53E3\u914D\u7F6E\u63A5\u6536\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,InportsToolTip:"\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3",InstanceSpecificParameters:"Parameter arguments",InstanceSpecificParametersToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",InternalData:"Signals, states, and internal data",InternalDataMemorySectionColumnName:"Internal Data Memory Section",InternalDataSwAddrMethodColumnName:"Internal Data SwAddrMethod",InternalDataToolTip:"\u79BB\u6563\u6A21\u5757\u72B6\u6001\u3001\u6A21\u5757\u8F93\u51FA\u4FE1\u53F7\u3001\u8FC7\u96F6\u548C\u5148\u524D\u7684\u8FC7\u96F6\u4FE1\u53F7",InvalidBlockForInportMappings:"\u8F93\u5165\u7AEF\u53E3\u4EE3\u7801\u6620\u5C04\u4EC5\u7528\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002",InvalidBlockForOutportMappings:"Outport code mappings are for root-level outports only.",InvalidBusElementPortInFunctionComponent:"\u6A21\u578B\u5305\u62EC\u865A\u62DF In Bus Element \u6216 Out Bus Element \u6A21\u5757\uFF0C\u5E76\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u5171\u4EAB Embedded Coder \u5B57\u5178\u3002\u8981\u4E3A\u94FE\u63A5\u5230\u5B9A\u4E49\u670D\u52A1\u4EE3\u7801\u63A5\u53E3\u914D\u7F6E\u7684\u4EE3\u7801\u751F\u6210\u5668\u5B57\u5178\u7684\u6A21\u578B\u751F\u6210\u4EE3\u7801\uFF0CIn Bus Element \u548C Out Bus Element \u6A21\u5757\u5FC5\u987B\u4E3A\u975E\u865A\u62DF\u6A21\u5757\u3002",InvalidDataStoreObjectConfiguration:"For model '${0}', code mapping of data store memory block '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that data store memory block. Change one of the specifications to '${3}'.",InvalidDataStoreObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object that is associated with that inport. Change storage class setting for external data object to 'Auto'.",InvalidDataTransferDataObjectConfigurationFcnComponent:"For model '${0}', code mapping for data transfer signal '${1}' conflicts with storage class setting for external data object associated with that data transfer signal. Change external data object storage class to 'Auto'.",InvalidFunctionName:"For model '${0}', '${1}' is an invalid function name. Specify function name as a valid C identifier or an identifier format control macro.",InvalidIOPortDataObjectConfiguration:"For model '${0}', code mapping for ${1} block '${2}' to storage class '${3}' conflicts with storage class setting for external data object associated with that outport. Change one of the specifications to '${4}'.",InvalidIOportDataObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for ${1} block '${2}' conflicts with storage class setting for external data object associated with that inport block. Change external data object storage class to 'Auto' or remove external data object.",InvalidIdentifierForData:"For model '${0}', identifier '${1}' specified for ${2} '${3}' is not valid. Valid identifiers start with an alphabetic or '_' character, followed by alphanumeric or '_' characters. Identifiers starting with 'rt' are reserved unless you set model configuration parameter 'rt prefix for identifiers' to 'warning' or 'none'.",InvalidInportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidInputError:'\u4E3A "${0}" \u5C5E\u6027\u6307\u5B9A\u7684\u503C\u65E0\u6548\u3002',InvalidInternalDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u53D1\u9001\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u6216\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidMaxMsgNumValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u5BB9\u91CF\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570\u3002",InvalidOutportDataMappingDueToMessage:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u9ED8\u8BA4\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\uFF0C\u56E0\u4E3A\u6A21\u578B\u5305\u542B\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 '${6}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidPriorityValue:"\u6570\u636E\u7C7B\u578B\u65E0\u6548\u3002\u4F18\u5148\u7EA7\u503C\u5FC5\u987B\u4E3A\u65E0\u7B26\u53F7\u6574\u6570",InvalidPrototype:"\u51FD\u6570\u539F\u578B '${0}' \u4E0D\u662F\u6709\u6548\u7684\u539F\u578B\u3002\u8BF7\u8F93\u5165\u6709\u6548\u7684\u539F\u578B\u3002",InvalidSignalConfiguration4Merge:'Conflicting signal configurations. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} and for signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} are inconsistent but feed Merge block ${4} and share memory. Signals entering a Merge block must have the same configuration. Use a Signal Conversion block upstream of the Merge block to isolate signal configurations.',InvalidSignalConfigurationForSameActSrc:'Conflicting signal configuration. Storage class setting for signal on <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} conflicts with signal on <sldiag objui="outport" objparam="${2}" objname="${3}">output port ${2}</sldiag> of ${3} because outputs map to same signal.',InvalidSignalObjectConfiguration:"For model '${0}', code mapping of signal '${1}' to code specification '${2}' conflicts with storage class setting for external data object associated with that signal. Change one of the specifications to '${3}'.",InvalidSignalObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for signal '${1}' conflicts with storage class setting for external data object that is associated with that signal. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStateObjectConfiguration:"For model '${0}', code mapping of state '${1}' to storage class '${2}' conflicts with storage class setting for external data object associated with that state. Change storage class setting for code mapping or external data object to '${3}'.",InvalidStateObjectConfigurationFcnComponent:"Model '${0}' is linked to a shared Embedded Coder Dictionary that defines a service code interface configuration and code mapping for state '${1}' conflicts with storage class setting for external data object that is associated with that state. Change storage class setting for external data object to '${2}' or remove external data object.",InvalidStorageClassName:"For model '${0}', \"${1}\" is not a valid storage class for ${2}.",InvalidStorageClassTooltip:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. In code mappings, set '${6}' to a valid '${5}'.",InvalidStorageClassTooltipIndividual:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u8BF7\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A\u6709\u6548\u7684 '${5}'\u3002",InvalidStorageClassTooltipIndividualBusElementPort:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u5177\u6709\u865A\u62DF\u603B\u7EBF\u6570\u636E\u7C7B\u578B\u7684\u603B\u7EBF\u5143\u7D20\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",InvalidStorageClassTooltipIndividualMessageInport:"For model '${0}', code mapping of '${1}' to ${2} '${3}' resolves to definition in Embedded Coder Dictionary that is invalid for '${4}'. For root-level inports that send messages, set storage class to Auto. In code mappings, set ${6} '${7}' to '${5}'.",InvalidStorageClassTooltipIndividualMessageOutport:"\u5BF9\u4E8E\u6A21\u578B '${0}'\uFF0C\u4ECE '${1}' \u5230 ${2} '${3}' \u7684\u4EE3\u7801\u6620\u5C04\u89E3\u6790\u4E3A Embedded Coder \u5B57\u5178\u4E2D\u5BF9 '${4}' \u65E0\u6548\u7684\u5B9A\u4E49\u3002\u5BF9\u4E8E\u63A5\u6536\u6D88\u606F\u7684\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3\uFF0C\u8BF7\u5C06\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A \"\u81EA\u52A8\"\u3002\u5728\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8BF7\u5C06 ${6} '${7}' \u8BBE\u7F6E\u4E3A '${5}'\u3002",LegacyMemorySectionNotFound:"Unable to find memory section '${0}' in package '${1}'.",LocalParameters:"Model parameters",LocalParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",LookupTables:"Lookup Tables",MDSAperiodicPartition:"Aperiodic partition:${0}",MDSUnmappedAperiodicPartition:"Unmapped aperiodic partition",MappedToColumnName:"Mapped To",MappedUnsupportedBlock:"\u6A21\u578B '${0}' \u5177\u6709\u4E0D\u652F\u6301\u7684\u6A21\u5757\u7684 '${1}' \u6620\u5C04\u3002",MappingFunctionDefault:"Default",MappingInspectorError:"\u5DF2\u5FFD\u7565\u4E3A\u4E00\u4E2A\u6216\u591A\u4E2A\u4EE3\u7801\u6620\u5C04\u5C5E\u6027\u6307\u5B9A\u7684\u503C\u3002",MappingInspectorTooltip:"\u914D\u7F6E\u5176\u4ED6\u6620\u5C04\u5C5E\u6027\u3002",MappingNone:"None",MappingNotFound_AUTOSAR:"\u6A21\u578B '${0}' \u6CA1\u6709 AUTOSAR \u6620\u5C04\u3002",MappingNotFound_C:"\u6A21\u578B '${0}' \u6CA1\u6709 C \u6620\u5C04\u3002",MaxMsgNumLabel:"Capacity",MeasurementServiceColumnName:"Measurement Service",MemorySectionColumnName:"Memory Section",MemorySectionGlobalAndLocalParamsNotCompatible:"For model '${0}', default mapping of categories ${1} and ${2} are mapped to ${3} '${4}' with different memory sections. Map the categories to the same memory section.",MemorySectionInMultiplePackages:"For model '${0}', data or function default categories are configured with memory sections that are defined in at least two packages: ${1} and ${2}. Memory sections configured for data and function default categories must be defined in the same package.",MemorySectionNotCompatible:"For model '${2}', default mapping of category ${0} to memory section '${1}' is not compatible with mapping of category ${3} to memory section '${4}' for reference model '${5}'.",MessageQueueNameLabel:"Message Queue Name",MigrateCPPFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 C++ \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MigrateFromCSRef:"\u5F15\u7528\u914D\u7F6E\u96C6 '${0}' \u4E2D\u7684\u4FE1\u606F\u5BFC\u5165 Embedded Coder \u5B57\u5178\u548C C \u4EE3\u7801\u6620\u5C04\u4E2D\u3002",MigrateMemorySectionError:"\u65E0\u6CD5\u5C06\u65E0\u6CD5\u8BC6\u522B\u7684\u5185\u5B58\u6BB5 '${0}' \u8FC1\u79FB\u5230\u4EE3\u7801\u6620\u5C04\u3002",MissingDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule omits $C token, which is required for ${2} \"${3}\".",MissingResolvedObjectError:"\u627E\u4E0D\u5230\u89E3\u6790\u7684\u4FE1\u53F7\u5BF9\u8C61",ModelData:"Self data structure",ModelDataStoreNotFound:"For model '${1}', unable to find data store '${0}' in model workspace.",ModelDataToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",ModelDefaultMapping:"Dictionary default: ${0}",ModelDefaultMappingForAPI:"Dictionary default",ModelMappingAlreadyExist:"\u5148\u524D\u5DF2\u4E3A\u540C\u4E00\u76EE\u6807\u521B\u5EFA\u540D\u4E3A '${0}' \u7684\u6620\u5C04\u3002",ModelParameter:"Model parameter",ModelParameterArgument:"Model parameter argument",ModelParameterArguments:"Model parameter arguments",ModelParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ModelParameters:"Model parameters",ModelParametersToolTip:"\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u53EF\u8C03\u53C2\u6570(\u8DE8\u6A21\u578B\u5B9E\u4F8B\u5171\u4EAB\u503C)",NewStorageClassModelReference:"\u5BF9\u4E8E\u5F15\u7528\u6A21\u578B '${0}'\uFF0C${1} '${2}' \u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u5BF9\u4E8E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u4EE5\u53CA\u5177\u6709\u6839\u8F93\u5165\u7AEF\u53E3\u6E90\u7684\u4FE1\u53F7\uFF0C\u5F15\u7528\u6A21\u578B\u4EE3\u7801\u751F\u6210\u4E0D\u652F\u6301\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002\u8BF7\u5C06 ${1} \u6620\u5C04\u5230\u7531\u4EE3\u7801\u751F\u6210\u5668\u4EA7\u54C1\u63D0\u4F9B\u7684\u5B58\u50A8\u7C7B\u6216\u5728\u5305\u4E2D\u5B9A\u4E49\u7684\u5B58\u50A8\u7C7B\u3002",NoCoderDictionaryWarn:`\u6A21\u578B '\${0}' \u5177\u6709 C \u4EE3\u7801\u6620\u5C04\uFF0C\u4F46\u6CA1\u6709 Embedded Coder \u5B57\u5178\u3002<actions exclusiveFixIts="yes"> <action type="fixit" id="NoCoderDictionaryWarnFix" retvalue="false"> <cmd>coder.dictionary.create('\${0}')</cmd> <txt>\u5728\u6A21\u578B '\${0}' \u4E2D\u521B\u5EFA\u4E00\u4E2A Embedded Coder \u5B57\u5178\u3002</txt> </action> </actions>`,NoGroupInDictionary:"Storage class '${0}' is not defined in Embedded Coder Dictionary.",NoMapping:"Auto",NoMeasurementService:"Not measured",NoTuningService:"Not tunable",NoneAccessTooltip:"Do not generate access methods.",NoneVisibilityTooltip:"Generate data elements in application code as arguments passed into methods.",NullBlockMapping:"BlockMapping \u6709\u7A7A\u6A21\u5757\u3002",Outport:"Outport",OutportAccessMethodTooltip:"Generate get access method for each outport.",OutportSCPresent:"\u5728\u6A21\u578B\u4EE3\u7801\u6620\u5C04\u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3\u7684\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '${0}'\uFF0C\u4F7F\u5F97\u751F\u6210\u7684\u4EE3\u7801\u4E0D\u7B26\u5408\u51FD\u6570\u539F\u578B\u63A7\u5236\u529F\u80FD\u7684\u8981\u6C42\u3002\u8BF7\u5C06\u9ED8\u8BA4\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u4E3A '\u9ED8\u8BA4'\u3002",Outports:"Outports",OutportsNotConfigurableMessage:`\u8F93\u51FA\u7AEF\u53E3\u6620\u5C04\u5230\u5728 Embedded Coder \u5B57\u5178\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\u3002
\u8981\u4E3A\u9876\u5C42\u6A21\u578B\u7684\u5404\u4E2A\u8F93\u51FA\u7AEF\u53E3\u914D\u7F6E\u53D1\u9001\u65B9\u670D\u52A1\u63A5\u53E3\uFF0C\u8BF7\u5C06\u90E8\u7F72\u7C7B\u578B\u8BBE\u7F6E\u4E3A "\u7EC4\u4EF6"\u3002`,OutportsToolTip:"\u6839\u7EA7\u8F93\u51FA\u7AEF\u53E3",OutputArgReturnByVal:"\u7AEF\u53E3 '${0}' \u65E0\u6CD5\u8BBE\u7F6E\u4E3A\u8FD4\u56DE\u53C2\u6570\uFF0C\u56E0\u4E3A\u5B83\u5305\u542B\u975E\u6807\u91CF\u503C",PackageSelectionToolTip:`\u9009\u62E9\u4E00\u4E2A\u901A\u8FC7\u4F7F\u7528 sldataclassdesigner \u548C
cscdesigner \u521B\u5EFA\u7684\u5305\u542B\u5185\u5B58\u6BB5\u548C\u5B58\u50A8\u7C7B\u7684\u5305\u3002`,ParameterArguments:"Model parameter arguments",ParameterArgumentsToolTip:"\u5177\u6709\u7279\u5B9A\u4E8E\u5B9E\u4F8B\u503C(\u6B64\u6A21\u578B\u4E2D\u5B9A\u4E49\u7684\u9ED8\u8BA4\u503C)\u7684\u6A21\u578B\u53C2\u6570\u53C2\u91CF",ParameterServiceColumnName:"Parameter Tuning Service",PlatformDefault:"Dictionary default",PlatformDefaultDecorated:"Dictionary default: ${0}",PointerDataAccessTooltip:"Generate data elements as class members that are non-static pointers to structs.",PortNameNotPresent:"\u51FD\u6570\u539F\u578B\u4E2D\u6307\u5B9A\u7684\u7AEF\u53E3\u540D\u79F0 '${0}' \u4E0D\u5728\u6A21\u578B\u4E2D\u3002\u8BF7\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u53C2\u6570\u3002",PreviewColumnName:"Preview",PreviewLinkText:"Click to update",PriorityLabel:"Priority",PrivateVisibilityTooltip:"Generate data elements as class members with private C++ access specifier.",PropertyInspectorHyperlink:"\u5728\u5C5E\u6027\u68C0\u67E5\u5668\u4E2D\u6253\u5F00",ProtectedVisibilityTooltip:"Generate data elements as class members with protected C++ access specifier.",PublicVisibilityTooltip:"Generate data elements as class members with public C++ access specifier.",ReadOnly:"[\u53EA\u8BFB]",ReadServiceColumnName:"Receiver Service",ReaderQoSLabel:"Reader QoS",ReaderXMLTagLabel:"Reader XML Path",ResolvedStorageClassError:"${0} \u5230\u5B58\u50A8\u7C7B '${1}' \u7684\u4EE3\u7801\u6620\u5C04\u4E0E\u5173\u8054\u5230\u8BE5 ${0} \u7684\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u51B2\u7A81\u3002\u8BF7\u5C06\u4EE3\u7801\u6620\u5C04\u6216\u5916\u90E8\u6570\u636E\u5BF9\u8C61\u7684\u5B58\u50A8\u7C7B\u8BBE\u7F6E\u66F4\u6539\u4E3A \"\u81EA\u52A8\"\u3002",ResovledSignalContextMenu_Create:"\u521B\u5EFA\u4FE1\u53F7\u5BF9\u8C61...",ResovledSignalContextMenu_Explore:"\u6D4F\u89C8\u4FE1\u53F7\u5BF9\u8C61",ResovledSignalContextMenu_Open:"\u6253\u5F00\u4FE1\u53F7\u5BF9\u8C61",RunnableSwAddrMethodColumnName:"SwAddrMethod",SameNameMessageCustomizationExisted:"\u540D\u4E3A '${0}' \u7684 MessageCustomization \u5DF2\u5B58\u5728\u3002",SameStorageClassForLocalAndParameterArgument:"For model '${0}', \"${1}\" '${2}' and \"${3}\" '${4}' are configured with the same storage class '${5}'. Configure \"${6}\" and \"${7}\" with different storage classes.",SelectReaderXMLTagLabel:"Use Reader XML Path",SelectStr:"Select ...",SelectTopicLabel:"Use Topic and QoS",SelectWriterXMLTagLabel:"Use Writer XML Path",SelectXMLTagLabel:"Use XML Tag",SelfDataStructure:"Self data structure",SelfDataStructureToolTip:"\u81EA\u6570\u636E\u7ED3\u6784\u4F53",ServiceDirectAccess:"In model '${0}', root-level ${1} '${3}' is configured for use with a ${2} that uses direct-access communication. Change ${2} data communication method to during-execution or outside-execution.",SharedDictionaryIncompatibleWithCodeMappings:"Code interface defined in shared Embedded Coder Dictionary '${0}' is configured for a '${1}', which is not compatible with current code mappings for model ${2} that are configured for a '${3}'. Link model to the original shared coder dictionary or <a href=\"matlab:Simulink.CodeMapping.resetCoderInterface('${2}');\">replace the current code mappings with new '${1}' code mappings</a>.",SharedLocalDataStores:"Shared local data stores",SharedLocalDataStoresToolTip:"\u5F53\u6A21\u578B\u53EF\u91CD\u5165\u65F6\u5728\u6A21\u578B\u5B9E\u4F8B\u4E4B\u95F4\u5171\u4EAB\u7684\u6570\u636E\u5B58\u50A8",SharedUtility:"Shared utility",SharedUtilityToolTip:"\u51FD\u6570\uFF0C\u4F8B\u5982\u6A21\u578B\u4E2D\u7684\u5B9A\u70B9\u51FD\u6570\u3001\u67E5\u627E\u8868\u51FD\u6570\u548C\u4E8C\u5206\u641C\u7D22\u51FD\u6570",Signal:"Signal",SimulinkGlobal:"Default",StageCreateDefaultCompMsg:"\u521B\u5EFA\u9ED8\u8BA4\u7EC4\u4EF6",State:"State",StepFPCombinedIOOrdering:"\u5728\u51FD\u6570\u539F\u578B\u4E2D\uFF0C\u540C\u540D\u7684\u7AEF\u53E3\u5BF9\u7EC4\u5FC5\u987B\u76F8\u90BB\u3002",StorageClassColumnName:"Storage Class",StructureBasedAccessMethodTooltip:"Generate get and one set access method for data category.",StructuredNewStorageClassModelReference:"For referenced model '${0}', ${1} '${2}' is mapped to a structured storage class that was defined in Embedded Coder Dictionary. For root-level inports and outports and signals with a root-level inport source, mappings to structured storage classes that are defined in an Embedded Coder Dictionary are not supported for referenced model code generation. Change storage type to \"Unstructured\" or map ${1} to a built-in storage class or a storage class that is defined in a package.",SubsystemBuildFPCForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u51FD\u6570\u539F\u578B\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\u3002",SubsystemBuildFPCForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemConversionForFunctionPlatformError:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002\u8981\u7EE7\u7EED\u8F6C\u6362\uFF0C\u8BF7\u5728\u6A21\u578B\u5F15\u7528\u8F6C\u6362\u987E\u95EE\u4E2D\u6E05\u9664 '\u590D\u5236\u4EE3\u7801\u6620\u5C04' \u9009\u9879\u3002",SubsystemConversionForFunctionPlatformWarn:"\u6A21\u578B '${0}' \u662F\u4F7F\u7528\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u8FDB\u884C\u914D\u7F6E\u7684\u3002\u5B50\u7CFB\u7EDF\u5230\u5F15\u7528\u6A21\u578B\u7684\u8F6C\u6362\u4E0D\u4F1A\u590D\u5236\u670D\u52A1\u63A5\u53E3\u4EE3\u7801\u6620\u5C04\u3002",SubsystemConversionForServiceInterfaceNotification:"\u5411\u5B50\u7CFB\u7EDF '${0}' \u9988\u9001\u6570\u636E\u7684\u6A21\u578B\u5143\u7D20\u7684\u4EE3\u7801\u6620\u5C04\u672A\u590D\u5236\u5230\u521B\u5EFA\u7684\u5F15\u7528\u6A21\u578B '${1}'\u3002",SubsystemFpcNewConfigurationForC:"\u5728\u4EE5\u540E\u7684\u7248\u672C\u4E2D\u5C06\u5220\u9664\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C \u51FD\u6570\u539F\u578B\u914D\u7F6E\u3002\u5BF9\u4E8E\u65B0\u914D\u7F6E\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u51FD\u6570\u539F\u578B\u3002",SubsystemFpcNewConfigurationForCPP:"\u4E0D\u652F\u6301\u9488\u5BF9\u5B50\u7CFB\u7EDF\u7F16\u8BD1\u7684 C++ \u7C7B\u63A5\u53E3\u914D\u7F6E\u3002\u8981\u914D\u7F6E\u7C7B\u63A5\u53E3\uFF0C\u8BF7\u5C06\u5B50\u7CFB\u7EDF '${0}' \u8F6C\u6362\u4E3A\u5F15\u7528\u6A21\u578B\uFF0C\u5E76\u4F7F\u7528\u4EE3\u7801\u6620\u5C04\u4E3A\u6A21\u578B\u914D\u7F6E\u7C7B\u63A5\u53E3\u3002",SubsystemMemSecPkgMisMatch:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${2}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\uFF0C\u540C\u65F6\u4E5F\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u5728 '${3}' \u5305\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u4ECE\u540C\u4E00\u5305\u4E2D\u9009\u62E9\u5185\u5B58\u6BB5\u3002",SubsystemMemorySectionInMultiplePackages:"\u5BF9\u4E8E\u6A21\u578B '${0}' \u4E2D\u7684 '${1}' \u5B50\u7CFB\u7EDF\uFF0C\u4E3A\u6570\u636E\u6216\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u4E86\u81F3\u5C11\u5728\u4E24\u4E2A\u5305(${2} \u548C ${3})\u4E2D\u5B9A\u4E49\u7684\u5185\u5B58\u6BB5\u3002\u8BF7\u5728\u540C\u4E00\u4E2A\u5305\u4E2D\u5B9A\u4E49\u4E3A\u6570\u636E\u548C\u51FD\u6570\u9ED8\u8BA4\u7C7B\u522B\u914D\u7F6E\u7684\u5185\u5B58\u6BB5\u3002",SwAddrMethodForInternalDataTooltip:"\u9009\u62E9 SectionType \u4E3A 'Var' \u7684 SwAddrMethod\u3002",SwAddrMethodForRunnableTooltip:"\u9009\u62E9 SectionType \u4E3A 'Code' \u7684 SwAddrMethod\u3002",TimerServiceColumnName:"Timer Service",TopicLabel:"Topic",TunableParameters:"'Auto' will be tunable",UnnamedInport:"In model '${0}', root-level inport '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedInportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u63A5\u6536\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u5165\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u63A5\u6536\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedOutport:"In model '${0}', Outport block '${1}' has an empty Identifier and is configured with a storage class other than Auto. Set a non-empty Identifier for Outport block, or set storage class for Outport block to Auto.",UnnamedOutportServicePort:"\u5728\u6A21\u578B '${0}' \u4E2D\uFF0C\u8F93\u51FA\u7AEF\u53E3 '${1}' \u914D\u7F6E\u4E3A\u7528\u4E8E\u4F7F\u7528\u76F4\u63A5\u8BBF\u95EE\u901A\u4FE1\u7684\u53D1\u9001\u65B9\u670D\u52A1\uFF0C\u4F46\u672A\u6307\u5B9A\u6807\u8BC6\u7B26\u3002\u8BF7\u4E3A\u8F93\u51FA\u7AEF\u53E3\u6307\u5B9A\u6807\u8BC6\u7B26\u6216\u66F4\u6539\u53D1\u9001\u65B9\u670D\u52A1\u6570\u636E\u901A\u4FE1\u65B9\u6CD5\u8BBE\u7F6E\u3002",UnnamedSignal:"In model '${0}', signal '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedSignalServicePort:"In model '${0}', signal '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnnamedState:"In model '${0}', state '${1}' is configured with storage class other than Auto and 'Identifier' property not set. Specify a value for 'Identifier' property or set storage class to Auto.",UnnamedStateServicePort:"In model '${0}', state '${1}' is configured for use with a measurement service and with no identifier. Specify an identifier.",UnresolvedCell:"\u672A\u89E3\u51B3",UnresolvedDictionaryItemError:"For model '${0}', default code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set '${5}' to a valid '${4}'.",UnresolvedDictionaryItemErrorIndividual:"For model '${0}', code mapping of '${1}' to ${2} '${3}' refers to definition in Embedded Coder Dictionary that does not exist. In code mappings, set ${5} '${6}' to '${4}'.",UnresolvedDictionaryItemForIndividualFunction:"For model '${0}', '${1}' mapped to '${2}' for entry-point functions does not resolve to valid entry in Embedded Coder Dictionary. Set'${3}' to a valid value.",UnsupportedDollarCToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $C token, which is valid for ${2} \"${4}\" only.",UnsupportedDollarMToken:"For model '${0}', default mapping of ${2} '${3}' to ${1} specifies invalid naming rule for 'Function Name' property. Naming rule includes $M token, which is valid for ${2} \"${4}\" and \"${5}\" only.",ValidateMapping_Tooltip:"\u9A8C\u8BC1\u4EE3\u7801\u6620\u5C04",WriteServiceColumnName:"Sender Service",WriterQoSLabel:"Writer QoS",WriterXMLTagLabel:"Writer XML Path",duplicateMappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u5165\u53E3\u51FD\u6570 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u5165\u53E3\u51FD\u6570\u91CD\u65B0\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",duplicateMappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u4F7F\u7528\u76F8\u540C\u7684\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u914D\u7F6E\u6A21\u5757 '${0}' \u548C '${1}'\u3002\u8BF7\u4E3A\u5176\u4E2D\u4E00\u4E2A\u6A21\u5757\u91CD\u65B0\u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",duplicateMappingFound:"\u53D1\u73B0\u91CD\u590D\u7684 '${0}' \u6620\u5C04\u3002\u8BF7\u4F7F\u7528 mappingObj.removeInvalidInternalDataMappings \u5220\u9664\u91CD\u590D\u7684\u5143\u7D20\u3002",inactiveMappingsLost:"\u6A21\u578B '${0}' \u5305\u542B\u4E3A ${1} \u914D\u7F6E\u7684\u975E\u6D3B\u52A8\u4EE3\u7801\u6620\u5C04\u3002\u5C06\u6A21\u578B\u5BFC\u51FA\u4E3A\u4EE5\u524D\u7684\u7248\u672C\u65F6\uFF0C\u8FD9\u4E9B\u6620\u5C04\u5C06\u4E22\u5931\u3002",invalidBlockParameterName:"\u627E\u4E0D\u5230\u6A21\u5757 ${1} \u7684\u53EF\u8C03\u53C2\u6570 '${0}'\u3002",invalidSelectionForAddingBlockParameters:"\u627E\u4E0D\u5230\u6240\u9009\u6A21\u5757\u7684\u53EF\u8C03\u53C2\u6570\u3002",invalidSignalMappingSpecification1:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because cannot add unique mapping to valid signal in the model. Insert Signal Conversion block after output port and configure output signal of Signal Conversion block.',invalidSignalMappingSpecification2:"\u65E0\u6CD5\u4E3A\u4EE3\u7801\u751F\u6210\u914D\u7F6E Argument Inport \u6A21\u5757 ${0} \u7684\u8F93\u51FA\u4FE1\u53F7\u3002",invalidSignalMappingSpecification3:"Signal connected to root-level inport ${0}. Map signals that are sourced from root-level inports as inports instead of signals.",invalidSignalMappingSpecification4:'Unable to configure signal originating from <sldiag objui="outport" objparam="${0}" objname="${1}">output port ${0}</sldiag> of ${1} for code generation because it is a message signal.',unauthorizedAccessToLegacyClass:"Unauthorized access to a deprecated class in the following file: ${0}. Update the callsite to use the CodeAttributeBundle instead.",unexpectedCSCAttribute:"Coder dictionary cannot identify the data-type for CSC attribute '${0}'.",unmappedEntryPointFunction:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u5165\u53E3\u51FD\u6570 '${0}' \u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002\u8BF7\u914D\u7F6E\u51FD\u6570\u540D\u79F0\u3002",unmappedFcnCallInport:"\u4EE3\u7801\u6620\u5C04\u6CA1\u6709\u4E3A\u6A21\u5757 '${0}' \u914D\u7F6E\u4EE3\u7801\u51FD\u6570\u540D\u79F0\u3002",unmappedIOBlock:"\u4EE3\u7801\u6620\u5C04\u4E0D\u5305\u62EC\u6A21\u5757 '${0}' \u7684\u914D\u7F6E\u3002\u8BF7\u914D\u7F6E\u6839\u7EA7\u8F93\u5165\u7AEF\u53E3\u548C\u8F93\u51FA\u7AEF\u53E3\u3002"}},16823:(A,x,a)=>{Promise.resolve().then(function(){var T=[a(61239),a(81837),a(54105)];(function(){}).apply(null,T)}).catch(a.oe)},59314:(A,x,a)=>{var T,w;/**
* @preserve Copyright 2018-2022 The MathWorks, Inc.
*/T=[a(17279),a(84525),a(12226),a(58340),a(98836),a(77177)],w=a.dj.d(T,function(h,C,g,_,v){return{start:function(){const f=g(_.byId("contentArea"));C(_.byId("leftPanel"),f,window.reportPages),window.globalMessageDispatcher=v()}}},A,x),A.exports=w},84525:(A,x,a)=>{var T,w;T=[a(58340),a(96916),a(20963),a(12226),a(24644),a(17279),a(33070),a(80419),a(74460),a(96408)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n){let i=null,o=null,c=null,e=null,t=null;const s=[];let l=null;const p="pages/webview/webview.html",E="gainsboro";return d.start(),function($,W,V){i=$,o=V,c=W,e=window.dataJson.files,l=c.crObj,window.cr=l,C.create("div",{innerHTML:"<p>Content</p>",class:"title"},i);const K=S();if(C.place(K,i),window.AddCode){C.create("div",{innerHTML:"<p>Code</p>",class:"title"},i);const M=C.create("div",{id:"treeContainer",height:"100%"},i);t=I(),C.place(t.domNode,M),t.startup(),t.expandAll()}return y(),b(),U(),m(),O(),{postHistory:L}};function m(){const $=window.parent.location.search.substring(1),W=r.queryToObject($);W.sid===void 0&&s[0].click(),window.parent.postMessage({message:"currentModelChanged",model:window.modelInfo.model,protected:window.ProtectedModel},"*");try{if(W.sid){l.highlightor.bySids([W.sid]);let V=l.highlightor.getCurrent();if(V){const K=V.file,M=V.line;c.showCode("line",K,M)}else if(W.inputLocs){const M=JSON.parse(W.inputLocs).data,B={};B.title="Highlighting",B.data=[];for(let P=0;P<M.length;P++){const k=M[P],H=k.file,Y=k.line;for(let G=0;G<Y.length;G++){const Q=Y[G],J={};J.file=H,J.line=parseInt(Q),B.data.push(J)}}if(l.highlightor.byExternalInput(B),V=l.highlightor.getCurrent(),V){const P=V.file,k=V.line;c.showCode("line",P,k)}else{const P=l.data.currentFile;c.showCode("file",P)}}else{const K=l.data.currentFile;c.showCode("file",K)}}}catch(V){}}function y(){u.after(l,"show",function(){c.isShowingCode()&&W()}),u.after(l,"show",W),u.after(c,"showCode",$);function $(){const V=c.getCodeFileName();t.setSelection([{id:V}]),N()}function W(){const V=l.data.currentFile,K=l.code.grid.getScrollPosition();L(V,K,c.lineNum,c.funcName),$()}}function b(){f.subscribe("/jumpToCode",function(W){const V=W.location;if(/.+\.\w+$/.test(V))c.showCode("file",V);else if(/.+\.\w+:\d+/.test(V)){const K=V.match(/(.+\.\w+):(\d+)/),M=K[1],B=parseInt(K[2]);c.showCode("line",M,B)}else c.showCode("func",V)});function $(W,V){for(let K=W.length-1;K>=0;K--)if(W[K].file===V)return K}f.subscribe("/jumpToDeclaration",function(W){W.location.substring(0,4)==="Root"&&(W.location="<"+W.location.slice(0,4)+">/"+W.location.slice(4));const V=W.location.split(","),K=V[0],M=V[1];if(M.length===0)return;const B=l.data.types.data;for(let P=0;P<B.length;P++)if(B[P].text===K){let k=B[P];if(k.type==="blk"){const G=B[P].sid,Q=l.data.queryBySid(G),J=$(Q,M);k=Q[J]}let H=k.file,Y=k.line;if(H.charAt(H.length-1)==="c"){const G=k.token.usage,Q=G.length,J=$(G,M),q=G[J];H=q.file,Y=q.line}c.showCode("line",H,Y);break}}),f.subscribe("/showCodeView",function(){c.revealCodeView()}),f.subscribe("/legacyMCall",function(W){const V=W.expr;d.publish("/report",{action:"reportV2CallLegacyMFunc",mExpression:V,model:window.modelInfo.model})}),f.subscribe("/report",function(W){const V=W.line;c.revealCodeView(),l.code.scrollToLine(V),l.code.grid.select(V)}),f.subscribe("/traceToWebview",function(W){const V=W.modelName,K=W.sid;c.traceToWebviewReport(V,K)}),f.subscribe("/codeviewToWebview",function(W){const V=W.sids,K=W.action;K==="hover"||K==="clear"||V!=null&&(V.length<=1?c.traceToWebviewCodeviewSingle(V[0]):c.traceToWebviewCodeviewMultiple(V,K))}),f.subscribe("/jumpToReport",function(W){const V=W.url,K=W.modelName;window.parent.modelNavigator.updateReport(V,K),window.parent.modelNavigator.updateModelHierarchy()}),f.subscribe("/gotoReportPage",function(W){const V=W.pageName;document.getElementById(V).click()}),f.subscribe("/reportPageLoaded",function(W){const K=new URL(W.url).pathname.split("/").pop().split(".")[0],M=document.getElementById(K);R(M)})}function I(){let $=null;return V(),W();function W(){const K=new v($);return K.on("selectionChanged",function(M){const B=M.nodeIds[0];B.match(/.+\..+/)&&c.showCode("file",B)}),K.setSelection([]),K}function V(){const K={};for(let M=0;M<e.length;++M)K[e[M].group]=e[M].groupDisplay;$=[];for(const M in K)Object.prototype.hasOwnProperty.call(K,M)&&$.push({id:M,label:K[M],parent:null});for(let M=0;M<e.length;++M){const B=e[M];$.push({id:B.name,label:B.name,parent:B.group})}}}function S(){const $=C.create("div",{id:"contentLinks"});let W="";for(let K=0;K<o.length;++K){const M=o[K][0],B=o[K][1];if(o[K].length===3){const Q=o[K][2];let J;W!==Q&&(J=C.create("div",{innerHTML:Q,class:"headingForPages"}),C.place(J,$),W=Q)}const P="pages/"+B,H=B.split(".")[0],Y=C.create("div"),G=C.create("a",{href:"javascript: void(0)",innerHTML:M,id:H},Y);V(G,P,K),C.place(Y,$),s.push(G)}return $;function V(K,M,B){g(K,"click",function(){c.loadLocalPage(M,B)})}}function R($){N(),$.parentNode.style.backgroundColor=E,t.setSelection([])}function N(){for(let $=0;$<s.length;++$)s[$].parentNode.style.backgroundColor=""}function O(){window.hasWebview?window.fetch(p).then(function($){$.status===404?(c.hideWebviewFrame(),f.publish("/webviewStatus",!1)):(c.loadWebview(p),f.publish("/webviewStatus",!0))}).catch($=>{f.publish("/webviewStatus",!0),c.loadWebview(p),console.log($)}):(c.hideWebviewFrame(),f.publish("/webviewStatus",!1))}function L($,W,V,K){const M={message:"postHistory",model:window.modelInfo.model,pageLinkIndex:c.getLocalPageLinkIndex(),codeFileName:$,coord:W,ln:V,fname:K};$!==void 0&&(M.pageLinkIndex=void 0),window.parent.postMessage(M,"*")}function U(){f.subscribe("/loadHistoryState",function($){z($)})}function z($){window.globalMessageDispatcher.pause(),$.pageLinkIndex!==void 0?c.revealContentView():$.ln!==null?c.showCode("line",$.codeFileName,$.ln):$.fname!==null?c.showCode("func",$.fname):c.showCode("coord",$.codeFileName,$.coord),window.globalMessageDispatcher.resume()}},A,x),A.exports=w},62132:(A,x,a)=>{var T,w;/**
* @preserve Copyright 2018-2022 The MathWorks, Inc.
*/T=[a(17279),a(58340),a(96916),a(80419),a(38533),a(98836),a(96408),a(13664)],w=a.dj.d(T,function(h,C,g,_,v,f,u){return{start:function(){const r=g.create("iframe",{id:"reportIFrame",height:"100%",width:"100%"},C.byId("reportPageArea")),d=window.location.search.substr(1),n=_.queryToObject(d);let i="";if(n.snc&&(i="&snc="+n.snc),window.dojoConfig&&window.dojoConfig.isDebug?r.src="_internal-debug.html?currentDate="+Date.now()+i:r.src="_internal.html?currentDate="+Date.now()+i,window.globalMessageDispatcher=f(),C.byId("topBar")){v(C.byId("topBar"),r),window.modelNavigator=u(C.byId("rootContainer"),C.byId("topBar"),r);const o=window.modelNavigator.getProtectedTreeNodes();window.modelNavigator.addProtMdlClass(o)}}}},A,x),A.exports=w},54105:(A,x,a)=>{var T,w;T=[a(62132),a(59314),a(70401)],w=a.dj.d(T,function(h,C,g){g.parse(),document.getElementById("rootContainer")&&h.start(),document.getElementById("internalHTML")&&C.start()},A,x),A.exports=w},98836:(A,x,a)=>{var T,w;T=[a(17279),a(20963)],w=a.dj.d(T,function(h,C){return function(){return C.pausable(window,"message",function(_){_.data.message&&(_.data.message==="postHistory"?h.publish("/postHistory",_.data):_.data.message==="jumpToCode"?h.publish("/jumpToCode",_.data):_.data.message==="jumpToDeclaration"?h.publish("/jumpToDeclaration",_.data):_.data.message==="legacyMCall"?h.publish("/legacyMCall",_.data):_.data.message==="loadHistoryState"?h.publish("/loadHistoryState",_.data):_.data.message==="traceToWebview"?h.publish("/traceToWebview",_.data):_.data.message==="showCodeView"?h.publish("/showCodeView",_.data):_.data.message==="jumpToReport"?h.publish("/jumpToReport",_.data):_.data.message==="gotoReportPage"?h.publish("/gotoReportPage",_.data):(_.data.message==="currentModelChanged"||_.data.message==="reportPageLoaded")&&h.publish("/"+_.data.message,_.data))})}},A,x),A.exports=w},12226:(A,x,a)=>{var T,w;T=[a(96916),a(58340),a(33472)],w=a.dj.d(T,function(h,C,g,_){let v=null,f=null,u=null,r=null,d=null;const n=null,i=null;return function(O){return v=O,f=window.dataJson,u=g({model:window.modelInfo.model,loadFromMATLAB:!1,tokenLevelTrace:!1,lineLevelTrace:!window.hasWebview}),u.loadData(f),r=h.create("iframe",{id:"contentFrame",style:"visibility: visible"},v),r.addEventListener("load",function(L){E(),m()}),d=h.create("div",{id:"codeView",style:"visibility: hidden"},v),u.placeAt(d),{crObj:u,loadLocalPage:o,showCode:l,getLocalPageLinkIndex:t,getCodeFileName:s,isShowingCode:b,loadWebview:c,hideWebviewFrame:e,traceToWebviewReport:I,traceToWebviewCodeviewSingle:S,traceToWebviewCodeviewMultiple:R,revealCodeView:p,revealContentView:E,lineNum:n,funcName:i,updateCodeLocLinks:y}};function o(O,L){r.src=O+"?currentDate="+Date.now(),r["data-index"]=L,d.style.visibility="hidden",r.style.visibility="visible"}function c(O){const L=document.getElementById("rtw_webview");L.src=O+"?currentDate="+Date.now(),L.style.display="initial"}function e(){const O=document.getElementById("webviewArea"),L=document.getElementById("contentArea"),U=document.getElementById("contentArea_splitter");U.style.display="none",O.style.height="0%",O.style.display="none",L.style.height="100%",L.setAttribute("data-dojo-props","region: 'top', splitter: 'false'")}function t(){if(r.style.visibility==="visible")return r["data-index"]}function s(){if(d.style.visibility==="visible")return u.data.currentFile}function l(O,L,U){if(u.data===null&&u.loadData(f),p(),O==="file")u.show(L,1,!1);else if(O==="line")this.lineNum=U,u.show(L,U,!0);else if(O==="func"){this.funcName=L;const $=u.data.define.get(L);if($!==void 0){const W=$.file;}u.jumpToDef(L)}else O==="coord"&&u.showLocation(L,U)}function p(){r.style.visibility="hidden",d.style.visibility="visible"}function E(){d.style.visibility="hidden",r.style.visibility="visible",m()}function m(){window.frameElement.contentWindow.postMessage({message:"reportPageLoaded",url:r.contentWindow.location.href},"*")}function y(O){}function b(){return r.style.visibility==="hidden"}function I(O,L){const U=O+":"+L;N(U)}function S(O){N(O)}function R(O,L){window.rtwHiliteMultiple(O,L)}function N(O){window.rtwHilite(O)}},A,x),A.exports=w},38533:(A,x,a)=>{var T,w;T=[a(58340),a(96916),a(80419),a(20963),a(17279),a(40923)],w=a.dj.d(T,function(h,C,g,_,v,f){window.hn={modelHierarchy:null};let u=null;return function(d,n,i){return window.hn.modelHierarchy=i,u=n,r(),{}};function r(){let d=null;return function(){v.subscribe("/postHistory",function(e){o(e)}),window.addEventListener("popstate",function(e){n(e.state)})}();function n(e){if(e===null)i({message:"loadHistoryState",pageLinkIndex:-1});else{const t=f.clone(e);t.message="loadHistoryState",i(t)}}function i(e){u.contentWindow.postMessage(e,"*")}function o(e){d&&c(e,d)||(d=e,window.history.pushState(e,""),window.lastIndex=null)}function c(e,t){return e.message!==t.message||e.model!==t.model||e.pageLinkIndex!==t.pageLinkIndex||e.codeFileName!==t.codeFileName?!1:e.coord===void 0&&t.coord===void 0?!0:e.coord===void 0||t.coord===void 0?!1:e.coord.x===t.coord.x&&e.coord.y===t.coord.y?!0:e.ln===t.ln||e.fname===t.fname}}},A,x),A.exports=w},96408:(A,x,a)=>{var T,w;T=[a(58340),a(96916),a(80419),a(20963),a(17279),a(24644)],w=a.dj.d(T,function(h,C,g,_,v,f){let u=null,r=null,d=null,n=null,i=null,o=null,c=null,e=null;return function(S,R,N){return c=S,i=window.modelInfo.model,o=N,u=R,y(),n.startup(),n.expandAll(),v.subscribe("/currentModelChanged",function(O){O.protected?p(O.model+"(Protected)"):p(O.model)}),{getReportPathFromModel:s,updateReport:I}};function t(S){n.setSelection([{id:S}])}function s(S){for(let R=0;R<window.modelHierarchy.length;++R)if(window.modelHierarchy[R].model===S)return window.modelHierarchy[R].relativePath;return null}function l(S){const R=document.getElementById("dropDownDiv").getElementsByTagName("div");for(let N=0;N<R.length;N++){const O=R[N];if(O.innerText===S)return O}return null}function p(S){m(S),t(S)}function E(S){return"<span>Current model: <b>"+S+"</b> &#9660</span>"}function m(S){e.innerHTML=E(S)}function y(){let S=null;r=C.create("div",{id:"modelSelector",class:"dropDown"}),e=N();const R=O();C.place(e,r),c&&C.place(R,c),u&&C.place(r,u);function N(){const z=C.create("span",{id:"modelSelectorButton",innerHTML:E(i)});return _(z,"click",function(){d.classList.toggle("show");const $=z.innerHTML;$.includes("\u25BC")?z.innerHTML=$.replace("\u25BC","\u25B2"):z.innerHTML=$.replace("\u25B2","\u25BC");for(let W=0;W<S.length;W++){const V=S[W],K=s(V.label);K!==null&&window.fetch(K).then(function(M){if(M.status===404){const B=l(V.label);b(B)}})}}),z}function O(){return d=C.create("div",{id:"dropDownDiv",class:"dropDownContent"}),L(),C.place(n.domNode,d),_(d,"click",function(){const z=e.innerHTML;e.innerHTML=z.replace("\u25B2","\u25BC"),d.classList.toggle("show")}),d}function L(){U(),n=new f(S),n.on("selectionChanged",function(z){const $=s(z.nodeIds[0]);$!==null&&window.fetch($).then(function(W){if(W.status!==404){const V=z.nodeIds[0];I($,V)}},function(){const W=z.nodeIds[0];I($,W)})})}function U(){if(S=[],!window.modelHierarchy){const z={};z.id=window.modelInfo.model,z.label=window.modelInfo.model,S.push(z),window.treeData=S;return}for(let z=0;z<window.modelHierarchy.length;++z){const $=window.modelHierarchy[z],W={};W.id=$.model,W.label=$.model,W.parent=$.parent==="null"?null:$.parent,S.push(W)}window.treeData=S}}function b(S){S&&(S.style.color="gray",S.style.opacity=.6)}function I(S,R){m(R);const N=window.location.search.substr(1),O=g.queryToObject(N);let L="";O.snc&&(L="&snc="+O.snc),o.src=S+"?currentDate="+Date.now()+L}},A,x),A.exports=w},31609:(A,x,a)=>{"use strict";var T,w;T=[a(76109)],w=a.dj.d(T,function(h){return{capabilityFullList:[h.InteractiveCommandLine,h.Swing,h.ComplexSwing,h.LocalClient,h.WebWindow,h.ModalDialogs,h.Debugging],getFullCapabilitiesList:function(){return this.capabilityFullList.slice()},getCapabilitiesListDiff:function(g,_){var v=g.filter(function(f){return _.indexOf(f)<0});return v}}},A,x),A.exports=w},76109:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){var h={};return h.InteractiveCommandLine="InteractiveCommandLine",h.Swing="Swing",h.ComplexSwing="ComplexSwing",h.LocalClient="LocalClient",h.WebWindow="WebWindow",h.ModalDialogs="ModalDialogs",h.Debugging="Debugging",h},A,x),A.exports=w},94555:(A,x,a)=>{"use strict";var T,w;/*!
* The outcome of executing some M-code.
*/T=[],w=a.dj.d(T,function(){var h={};h.inEXECUTION_SUCCESS="inEXECUTION_SUCCESS";/*! < it worked */h.inCOMPILE_ERROR="inCOMPILE_ERROR";/*! < couldn't parse it */h.inRUNTIME_ERROR="inRUNTIME_ERROR";/*! < parsed it, but it bombed when I ran it */h.inEXECUTION_DBQUIT="inEXECUTION_DBQUIT";/*! < dbquit from code */h.inEXECUTION_CTRLC="inEXECUTION_CTRLC";/*! < user interrupted execution */h.inCOMM_ERROR="inCOMM_ERROR";/*! communication error (e.g., connection closed) -- can happen only when
* using MATLAB as a compute server through an IPC protocol like MIPC */return h.inEXECUTION_STATUS_MAX="inEXECUTION_STATUS_MAX",h},A,x),A.exports=w},69898:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(31609),a(57798)],w=a.dj.d(T,function(h,C,g){return h(null,{constructor:function(v){typeof v!="object"?this._timeout=v:(this._timeout=v.timeout,this.dequeueMode=v.dequeueMode,this.queueName=v.queueName,this.disableBreakPoints=v.disableBreakpoints,v.capabilitiesList!==void 0&&(this.capabilitiesList=v.capabilitiesList.slice()),v.groupNames!==void 0&&(this.groupNames=v.groupNames.slice()),v.outTextCallback!==void 0&&this.setOutTextCallback(v.outTextCallback),v.errTextCallback!==void 0&&this.setErrTextCallback(v.errTextCallback),v.suppressDebugControlOutput!==void 0&&(this.suppressDebugControlOutput=v.suppressDebugControlOutput),v.outSinkTraits&&(this.outSinkTraits=v.outSinkTraits),v.errSinkTraits&&(this.errSinkTraits=v.errSinkTraits),v.commandWindowColSize&&(this.commandWindowColSize=v.commandWindowColSize),v.commandWindowRowSize&&(this.commandWindowRowSize=v.commandWindowRowSize)),this.eventNames=[],this._eventCallbackMap={}},getTimeOut:function(){return this._timeout},setTimeOut:function(v){this.timeout=v},setDequeueMode:function(v){this.dequeueMode=v},getDequeueMode:function(){return this.dequeueMode},setQueueName:function(v){this.queueName=v},getQueueName:function(){return this.queueName},disableBreakpoints:function(v){this.disableBreakPoints=v},areBreakPointsDisabled:function(){return this.disableBreakPoints},setCallback:function(v,f){this.eventNames.push(v),this._eventCallbackMap[v]=f},getEventCallbacks:function(){return this._eventCallbackMap},getCapabilitiesList:function(){if(this.capabilitiesList!==void 0)return this.capabilitiesList.slice()},setCapabilities:function(v){v?this.capabilitiesList=v.slice():this.capabilitiesList=[]},getGroupNames:function(){if(this.groupNames!==void 0)return this.groupNames.slice()},setGroupNames:function(v){v?this.groupNames=v.slice():this.groupNames=void 0},getCommandWindowColSize:function(){return this.commandWindowColSize},setCommandWindowColSize:function(v){this.commandWindowColSize=v},getCommandWindowRowSize:function(){return this.commandWindowRowSize},setCommandWindowRowSize:function(v){this.commandWindowRowSize=v},setOutTextCallback:function(v,f){this.outSink=v,this.outSinkTraits=f,this.outSink===null?this.useNullOutSink=!0:this.useNullOutSink=!1},setErrTextCallback:function(v,f){this.errSink=v,this.errSinkTraits=f,this.errSink===null?this.useNullErrSink=!0:this.useNullErrSink=!1},getOutTextCallback:function(){if(this.outSink!==void 0)return this.outSink},getErrTextCallback:function(){if(this.errSink!==void 0)return this.errSink},setSuppressDebugControlOutput:function(v){this.suppressDebugControlOutput=v},getSuppressDebugControlOutput:function(){return this.suppressDebugControlOutput},getOutSinkTraits:function(){return this.outSinkTraits},getErrSinkTraits:function(){return this.errSinkTraits},_serializeAndVerifyRunOptions:function(){var v={},f={};if(this.dequeueMode){var u=Object.keys(g).some(function(o){return g[o]===this.dequeueMode}.bind(this));if(!u)return v.error="Unknown Dequeue Mode "+this.dequeueMode,v;f.dequeueMode=this.dequeueMode}if(this.queueName)if(typeof this.queueName=="string"||this.queueName instanceof String)f.queueName=this.queueName;else return v.error="Invalid QueueName",v;if(this.capabilitiesList!==void 0){if(Array.isArray(this.capabilitiesList)){var r=C.getFullCapabilitiesList(),d=this.capabilitiesList.some(function(o){return r.indexOf(o)===-1});if(d)return v.error="Undefined Capability",v}else return v.error="Invalid Capability",v;f.capabilitiesList=this.capabilitiesList.slice()}if(this.outSink!==void 0&&(this.outSink===null?f.useNullOutSink=!0:typeof this.outSink=="function"||this.outSink instanceof Function?f.useNullOutSink=!1:v.error="Invalid outTextCallback"),this.errSink!==void 0&&(this.errSink===null?f.useNullErrSink=!0:typeof this.errSink=="function"||this.errSink instanceof Function?f.useNullErrSink=!1:v.error="Invalid errTextCallback"),this.groupNames!==void 0)if(Array.isArray(this.groupNames)){var n=this.groupNames.every(function(o){return typeof o=="string"||o instanceof String});if(n===!1)return v.error="Invalid groupNames",v;f.groupNames=this.groupNames.slice()}else return v.error="Invalid groupNames",v;if(this._eventCallbackMap!==void 0){var i=Object.keys(this._eventCallbackMap).every(function(o){return typeof this._eventCallbackMap[o]=="function"||this._eventCallbackMap[o]instanceof Function}.bind(this));if(i===!1)return v.error="Invalid setCallback",v}if(this.suppressDebugControlOutput)if(typeof this.suppressDebugControlOutput=="boolean"||this.suppressDebugControlOutput instanceof Boolean)f.suppressDebugControlOutput=this.suppressDebugControlOutput;else return v.error="Invalid suppressDebugControlOutput",v;if(this.errSinkTraits!==void 0&&(f.errSinkTraits=this.errSinkTraits),this.outSinkTraits!==void 0&&(f.outSinkTraits=this.outSinkTraits),this.commandWindowColSize!==void 0)if((typeof this.commandWindowColSize=="number"||this.commandWindowColSize instanceof Number)&&this.commandWindowColSize>=0&&Number.isInteger(this.commandWindowColSize))f.commandWindowColSize=this.commandWindowColSize;else return v.error="Invalid commandWindowColSize",v;if(this.commandWindowRowSize!==void 0)if((typeof this.commandWindowRowSize=="number"||this.commandWindowRowSize instanceof Number)&&this.commandWindowRowSize>=0&&Number.isInteger(this.commandWindowRowSize))f.commandWindowRowSize=this.commandWindowRowSize;else return v.error="Invalid commandWindowRowSize",v;return v.runOptions=f,v}})},A,x),A.exports=w},59076:(A,x,a)=>{"use strict";var T,w;T=[a(39124)],w=a.dj.d(T,function(h){return{getMVM:function(){return h.get("user-mvm")}}},A,x),A.exports=w},57798:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){let h={};return h.DEQUEUE_AT_PPE="DEQUEUE_AT_PPE",h.DEQUEUE_AT_PAUSE="DEQUEUE_AT_PAUSE",h.DEQUEUE_AT_PROMPT="DEQUEUE_AT_PROMPT",h.DEQUEUE_AT_NON_DEBUG_PROMPT="DEQUEUE_AT_NON_DEBUG_PROMPT",h.DEQUEUE_AT_DEBUG_PROMPT="DEQUEUE_AT_DEBUG_PROMPT",h.DEQUEUE_AT_IDLE="DEQUEUE_AT_IDLE",h.DEQUEUE_AT_BOOTSTRAP="DEQUEUE_AT_BOOTSTRAP",h},A,x),A.exports=w},84582:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(48452),a(49604)],w=a.dj.d(T,function(h,C,g){return h(null,{constructor:function(_,v,f){const u={mvmID:v,supportedApiVersions:["r24a0"]},r=new C(_,Promise.resolve("/mvm"),f);this._attachConnection=new g(r,"attach"),this._detachConnection=new g(r,"detach"),this._attachPromise=this._attachConnection.makeRequest(u).then(function(n){this._apiVersion=n.apiVersion,this._channelPrefix=n.channelPrefix}.bind(this)),this._attachRequestID=u.requestID;const d=new C(_,this.getChannelPrefix(),f);this._stillAliveConnection=new g(d,"connection"),this._stillAliveConnection.subscribe("stillAlive","_stillAlive",this).catch(function(n){this.getChannelPrefix().then(function(){throw n},function(i){if(i!==n)throw n})}.bind(this))},destroy:function(){const _={requestIDtoDetach:this._attachRequestID};this._detachConnection.makeRequest(_).finally(function(){this._attachConnection.destroy(),this._detachConnection.destroy(),this._stillAliveConnection.destroy()}.bind(this))},getAPIVersion:function(){return this._attachPromise.then(function(){return this._apiVersion}.bind(this))},getChannelPrefix:function(){return this._attachPromise.then(function(){return this._channelPrefix}.bind(this))},_stillAlive:function(){}})},A,x),A.exports=w},35522:(A,x,a)=>{"use strict";var T,w;T=[a(69898)],w=a.dj.d(T,function(h){return class{constructor(g){this._mvm=g}process(g){return this._mvm.feval("matlab.internal.singlekeypress.bang.process",0,[g],new h({queueName:"SingleKeyPress"}))}}},A,x),A.exports=w},24284:(A,x,a)=>{"use strict";var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h(null,{constructor:function(C,g,_){this._subscriptionPromise=C,this._subscriptionPromise.catch(function(){}),this._uId=g,this._eventMgr=_},destroy:function(){this.disconnect()},isValid:function(){return this._eventMgr._isConnected(this._uId)?this._subscriptionPromise:Promise.reject("Disconnected")},disconnect:function(){return this._eventMgr._disconnect(this._uId)}})},A,x),A.exports=w},48452:(A,x,a)=>{"use strict";var T,w;T=[a(90290)],w=a.dj.d(T,function(h){return class{constructor(g,_,v){h.assert(g!==void 0,"messageService must be defined"),h.assert(_!==void 0,"channelPrefixPromise must be defined"),h.assert(_.then!==void 0,"channelPrefixPromise must be a promise"),h.assert(v!==void 0,"requestQueue must be defined"),this._messageService=g,this._channelPrefixPromise=_,this._requestQueue=v}onChannelPrefix(){return this._channelPrefixPromise}queueRequest(g,_,v){this._requestQueue.queueRequest(this._channelPrefixPromise,g,_,v)}getMessageService(){return this._messageService}}},A,x),A.exports=w},16935:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(49604)],w=a.dj.d(T,function(h,C){return h(null,{constructor:function(g){this._setGlobalBreakpointConnection=new C(g,"setGlobalBreakpoint"),this._clearGlobalBreakpointConnection=new C(g,"clearGlobalBreakpoint"),this._setLineBreakpointConnection=new C(g,"setLineBreakpoint"),this._clearLineBreakpointConnection=new C(g,"clearLineBreakpoint"),this._clearAllBreakpointsConnection=new C(g,"clearAllBreakpoints"),this._breakInDebuggerConnection=new C(g,"breakInDebugger")},setLineBreakpoint:function(g){const _={breakpoint:g};return this._setLineBreakpointConnection.makeRequest(_)},setGlobalBreakpoint:function(g){const _={breakpoint:g};return this._setGlobalBreakpointConnection.makeRequest(_)},clearLineBreakpoint:function(g){const _={breakpoint:g};return this._clearLineBreakpointConnection.makeRequest(_)},clearGlobalBreakpoint:function(g){const _={breakpoint:g};return this._clearGlobalBreakpointConnection.makeRequest(_)},clearAllBreakpoints:function(){const g={};return this._clearAllBreakpointsConnection.makeRequest(g)},breakInDebugger:function(){const g={};this._breakInDebuggerConnection.makeRequest(g)},destroy:function(){this._setGlobalBreakpointConnection.destroy(),this._clearGlobalBreakpointConnection.destroy(),this._setLineBreakpointConnection.destroy(),this._clearLineBreakpointConnection.destroy(),this._clearAllBreakpointsConnection.destroy(),this._breakInDebuggerConnection.destroy()}})},A,x),A.exports=w},37798:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(49604),a(92187),a(76709)],w=a.dj.d(T,function(h,C,g,_){return h(null,{constructor:function(v,f){this._fevalConnection=new C(v,"feval"),this._evalConnection=new C(v,"eval"),this._cancelConnection=new C(v,"cancel"),this._cancelGroupConnection=new C(v,"cancelGroup"),this._interruptConnection=new C(v,"interrupt"),this._textConnection=new C(v,"text"),this._textConnection.subscribe("output","_handleOutput",this).catch(function(u){}),this._textConnection.subscribe("error","_handleError",this).catch(function(u){}),this._eventMgr=f,this._outSinkMap={},this._errSinkMap={}},feval:function(v,f,u,r,d){if(!this._isStringValid(v))return this._makeRejectedPromise("Invalid function name.");if(f==null||!(typeof f=="number"||f instanceof Number)||f<0)return this._makeRejectedPromise("Invalid numberOfOutput.");let n=[];if(u!==void 0){if(!Array.isArray(u))return this._makeRejectedPromise("Invalid inputArgs");n=u.map(function(o){return JSON.stringify(o)})}if(d!==void 0&&(!this._isStringValid(d)||!(d==="preferMDAShort"||d==="alwaysMDALong")))return this._makeRejectedPromise("Invalid MDA Output Format.");const i={function:v,rhsArgs:n,numOutputsExpected:f};return d!==void 0&&(i.mdaOutputFormat=d),this._commonEvalFevalImpl(r,i,this._fevalConnection)},eval:function(v,f,u){if(!this._isStringValid(v))return this._makeRejectedPromise("Invalid string");const r={command:v,isUserEval:u};return this._commonEvalFevalImpl(f,r,this._evalConnection)},cancelGroup:function(v,f){const u={requestGroupNametoCancel:v};return f!==void 0&&(u.interrupt=f),this._cancelGroupConnection.makeRequest(u)},interrupt:function(){const v={};return this._interruptConnection.makeRequest(v)},_getOutSink:function(v){if(v in this._outSinkMap)return this._outSinkMap[v]},_getErrSink:function(v){if(v in this._errSinkMap)return this._errSinkMap[v]},_makeRejectedPromise:function(v){const f=g.makeControlObject(),u=new g(f);return f.reject(new _("inCOMPILE_ERROR",v,1)),u},destroy:function(){this._fevalConnection.destroy(),this._evalConnection.destroy(),this._textConnection.destroy();const v=!1;this._cancelConnection.destroy(v),this._cancelGroupConnection.destroy(v),this._interruptConnection.destroy(!1)},_commonEvalFevalImpl:function(v,f,u){const r=g.makeControlObject();let d;const n=new g(r,function(e){return d?this._makeCancelRequest(d,e):Promise.reject(new _("inCOMM_ERROR","missing requestID"))}.bind(this));let i,o;if(v){if(o=v._serializeAndVerifyRunOptions(),o.error)return r.reject(new _("inCOMPILE_ERROR",o.error,1)),n;o.runOptions.eventConnections=this._prepareRunOptionEvents(v,n),i=v.getTimeOut()}f.runOptions=o?o.runOptions:void 0;const c=u.makeRequest(f,i,this._makeCancelRequest.bind(this));return d=f.requestID,v&&(this._outSinkMap[d]=v.getOutTextCallback(),this._errSinkMap[d]=v.getErrTextCallback()),c.then(function(e){e&&e.result?r.resolve(e.result):r.resolve()},function(e){r.reject(e)}).finally(function(){d in this._outSinkMap&&delete this._outSinkMap[d],d in this._errSinkMap&&delete this._errSinkMap[d]}.bind(this)),n},_handleOutput:function(v){const f=v.data,u=this._getOutSink(f.requestID);u&&u(f.text)},_handleError:function(v){const f=v.data,u=this._getErrSink(f.requestID);u&&u(f.text)},_makeCancelRequest:function(v,f){if(v===void 0)return this._makeRejectedPromise("Empty requestIDtoCancel");const u={requestIDtoCancel:v};return f!==void 0&&(u.interrupt=f),this._cancelConnection.makeRequest(u)},_prepareRunOptionEvents:function(v,f){const u=v.getEventCallbacks(),r={};return u!==void 0&&Object.keys(u).forEach(function(d){const n=u[d],i=function(c){Promise.resolve().then(function(){}).then(function(){n(c)})},o=this._eventMgr._runOptionsSubscribe(d,i);r[o._uId]=d,f.catch(function(){}).finally(function(){o.destroy()})}.bind(this)),r},_isStringValid:function(v){return v!=null&&(typeof v=="string"||v instanceof String)}})},A,x),A.exports=w},81043:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(24284),a(49604),a(90290),a(56662)],w=a.dj.d(T,function(h,C,g,_,v){return h(null,{constructor:function(f){this._subscribeConnection=new g(f,"subscribeEvent"),this._disconnectConnection=new g(f,"disconnectEvent"),this._eventConnection=new g(f,"event"),this._eventConnection.subscribe("fireEvent","_handleEvent",this).catch(function(u){f.onChannelPrefix().then(function(){throw u},function(r){if(r!==u)throw u})}),this._callbackMap={}},subscribe:function(f,u){if(f===void 0)return new C(Promise.reject(new Error("eventName is not defined")),"invalid",this);const r={eventName:f},d=this._subscribeConnection.makeRequest(r);return this._subscribeHelper(r.requestID,u,d)},destroy:function(){for(const u in this._callbackMap)this._disconnect(u);this._eventConnection.destroy(),this._subscribeConnection.destroy(),this._disconnectConnection.destroy(!1)},_disconnect:function(f){if(!this._isConnected(f))return Promise.resolve();this._callbackMap[f]=function(){};const u={requestIDtoDisconnect:f};return this._disconnectConnection.makeRequest(u).then(function(){delete this._callbackMap[f]}.bind(this),function(d){throw delete this._callbackMap[f],d}.bind(this))},_runOptionsSubscribe:function(f,u){const r=v.generateUuid();return this._subscribeHelper(r,u,Promise.resolve())},_subscribeHelper:function(f,u,r){return this._callbackMap[f]=u,new C(r,f,this)},_handleEvent:function(f){const u=f.data;if(!this._isConnected(u.requestID))return;const r=this._callbackMap[u.requestID];r(u.eventData)},_isConnected:function(f){return f in this._callbackMap}})},A,x),A.exports=w},39124:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(90290),a(74460),a(56662),a(84582),a(48452),a(16935),a(37798),a(81043),a(53327),a(76709),a(66805),a(64085),a(91332),a(35522),a(69617),a(31068)],w=a.dj.d(T,function(h,C,g,_,v,f,u,r,d,n,i,o,c,e,t,s,l){const p=s.getGlobalMVMVariable,E=s.releaseGlobalMVMVariable,m=h(null,{constructor:function(b,I,S){C.assert(b==="user-mvm","Only user-mvm is supported at this time"),g.isStarted()||g.start(),this._MVMid=b,this._destroyCallback=I,this._refCount=0,this._attach=new v(g,this._MVMid,S.requestQueue);const R=new f(g,this._attach.getChannelPrefix(),S.requestQueue);this._mvmSink=new n(R),this._eventManager=new d(R),this._evalFevalCancel=new r(R,this._eventManager),this._outputCallback={},this._errorCallback={},this._debugger=new u(R),this._errSinkTraits={},this._outSinkTraits={},this._features=new o(this._MVMid)},feval:function(y,b,I,S,R){return this._evalFevalCancel.feval(y,b,I,S,R)},eval:function(y,b,I){return this._evalFevalCancel.eval(y,b,I)},cancelGroup:function(y,b){return this._evalFevalCancel.cancelGroup(y,b)},interrupt:function(){return this._evalFevalCancel.interrupt()},destroy:function(){--this._refCount,!(this._refCount>0)&&(this._features&&this._features.destroy(),this._evalFevalCancel&&this._evalFevalCancel.destroy(),this._eventManager&&this._eventManager.destroy(),this._debugger&&this._debugger.destroy(),this._mvmSink&&this._mvmSink.destroy(),this._attach&&this._attach.destroy(),E(),this._destroyCallback())},getFeatures:function(){return this._features},whenMVMReady:function(){return this._attach.getChannelPrefix().then(function(){},function(y){throw new Error("MVM rejected connection")})},setTextCallbacks:function(y){return this._mvmSink.setSinks(y.outputCallback,y.errorCallback,y.outSinkTraits,y.errSinkTraits)},getEventManager:function(){return this._eventManager},getDebugger:function(){return this._debugger},getMore:function(){return this._more===void 0&&(this._more=new c(this)),this._more},getPause:function(){return this._pause===void 0&&(this._pause=new e(this)),this._pause},getBang:function(){return this._bang===void 0&&(this._bang=new t(this)),this._bang}});return{get:function(y){let b=this._mvmMap[y];if(b===void 0){const I=p(y);b=new m(y,function(){delete this._mvmMap[y]}.bind(this),I),this._mvmMap[y]=b}return++b._refCount,b},_mvmMap:{}}},A,x),A.exports=w},49604:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(76709),a(90290),a(94555),a(56662)],w=a.dj.d(T,function(h,C,g,_,v){const f=function(){let u,r;return{promise:new Promise(function(n,i){u=n,r=i}),resolve:u,reject:r}};return h(null,{constructor:function(u,r){g.assert(u!==void 0,"connectionData must be defined"),g.assert(r!==void 0,"channelPostfix must be defined"),this._subscriptionPromises=[],this._subscribeArgs=[],this._requestPromiseMap={},this._connectionData=u,this._connectionData.onChannelPrefix().then(function(d){this._channelPrefix=d+"/"+r,this._requestChannel=this._channelPrefix+"/request"}.bind(this),function(d){}),this._subscribeImpl("response","_handleResponse",this).catch(function(d){}),this._cancelPendingSubscriptions=!1},subscribe:function(u,r,d){const n=function(i){Promise.resolve(i).then(function(o){d?d[r](o):r(o)})};return this._subscribeImpl(u,n)},makeRequest:function(u,r,d){const n=v.generateUuid(),i=function(){n in this._requestPromiseMap&&delete this._requestPromiseMap[n]}.bind(this),o=f();let c=o.promise.then(function(e){return i(),e},function(e){throw i(),e});if(this._requestPromiseMap[n]={resolve:o.resolve,reject:o.reject},u.requestID=n,this._connectionData.queueRequest(this._subscriptionPromises,function(){this._connectionData.getMessageService().publish(this._requestChannel,u).catch(function(e){o.reject(new C(_.inCOMM_ERROR,e))})}.bind(this),function(e){o.reject(new C(_.inCOMM_ERROR,e))}),r!==void 0){const e=setTimeout(this._handleTimeout.bind(this,n,d),r);c=c.finally(function(){clearTimeout(e)})}return c},destroy:function(u){if(u===void 0&&(u=!0),u)for(const r in this._requestPromiseMap)this._requestPromiseMap[r].reject(new C(_.inCOMM_ERROR,"mvm is being destroyed"));for(this._cancelPendingSubscriptions=!0;this._subscribeArgs.length>0;){const r=this._subscribeArgs.shift();this._connectionData.getMessageService().unsubscribe(...r).then(function(){},function(n){})}},_subscribeImpl:function(u,r,d){const n=f();return this._subscriptionPromises.push(n.promise),this._connectionData.onChannelPrefix().then(async function(){if(this._cancelPendingSubscriptions){n.resolve();return}let i;d?i=[this._channelPrefix+"/"+u,r,d]:i=[this._channelPrefix+"/"+u,r],this._subscribeArgs.push(i);try{await this._connectionData.getMessageService().subscribe(...i),n.resolve()}catch(o){n.reject(new C(_.inCOMM_ERROR,o))}}.bind(this),function(i){n.reject(i)}),n.promise},_handleTimeout:function(u,r){if(u in this._requestPromiseMap){const d=this._requestPromiseMap[u];delete this._requestPromiseMap[u],d.reject(new C(_.inCOMM_ERROR,"Canceled because of timeout"))}r!==void 0&&r(u,!0)},_handleResponse:function(u){const r=u.data;if(r.requestID in this._requestPromiseMap)if(r.error===void 0)this._requestPromiseMap[r.requestID].resolve(r);else{const d=new C(r.error.status,r.error.msg,r.error.id,r.error.functionName,r.error.frames,r.error.causes);this._requestPromiseMap[r.requestID].reject(d)}}})},A,x),A.exports=w},92187:(A,x,a)=>{"use strict";var T,w;T=[a(76709),a(94555)],w=a.dj.d(T,function(h,C){return class extends Promise{static makeControlObject(){return{resolve:void 0,reject:void 0}}constructor(_,v){super(function(f,u){_.resolve=f,_.reject=function(r){if(!r.isRuntimeException||!r.isRuntimeException())throw console.error(`Reject should be called with RuntimeException object. Stack Trace:
`),console.trace(),new h(C.inCOMM_ERROR,"Attemptted to reject non-RuntimeException error with message:"+r.msg,r.id,r.functionName,r.frames,r.causes);u(r)}}),this._cancel=v,this._cancel===void 0&&(this.cancel=void 0)}cancel(_){return _===void 0&&(_=!1),this._cancel(_)}static get[Symbol.species](){return Promise}}},A,x),A.exports=w},53327:(A,x,a)=>{"use strict";var T,w;T=[a(49604)],w=a.dj.d(T,function(h){return class{constructor(g){this._mvmSinkConnection=new h(g,"mvmSinks"),this._mvmSinkConnection.subscribe("output","_handleOutput",this).catch(function(_){g.onChannelPrefix().then(function(){throw _},function(v){if(v!==_)throw _})})}setSinks(g,_,v,f){this._outCallback=g,this._errCallback=_,g===null&&!(g instanceof Function)&&(v=null),_===null&&!(_ instanceof Function)&&(f=null);const u={outSinkTraits:v,errSinkTraits:f};return this._mvmSinkConnection.makeRequest(u)}destroy(){this._mvmSinkConnection.destroy()}_handleOutput(g){const _=g.data;switch(_.stream){case 0:typeof this._outCallback=="function"&&this._outCallback(_.text);break;case 1:typeof this._errCallback=="function"&&this._errCallback(_.text);break;default:}}}},A,x),A.exports=w},64085:(A,x,a)=>{"use strict";var T,w;T=[a(69898)],w=a.dj.d(T,function(h){return class{constructor(g){this._mvm=g}_fevalHelper(g,_){const v=new h({queueName:"SingleKeyPress"});return _&&v.setGroupNames(_),this._mvm.feval(g,0,[],v)}nextPage(g){return this._fevalHelper("matlab.internal.singlekeypress.more.nextpage",g)}nextLine(g){return this._fevalHelper("matlab.internal.singlekeypress.more.nextline",g)}quit(g){return this._fevalHelper("matlab.internal.singlekeypress.more.quit",g)}}},A,x),A.exports=w},91332:(A,x,a)=>{"use strict";var T,w;T=[a(69898)],w=a.dj.d(T,function(h){return class{constructor(g){this._mvm=g}resume(){return this._mvm.feval("matlab.internal.singlekeypress.pause.resume",0,[],new h({queueName:"SingleKeyPress"}))}}},A,x),A.exports=w},31068:(A,x,a)=>{"use strict";var T,w;T=[],w=a.dj.d(T,function(){return class{constructor(){this._requestPromise=Promise.resolve()}queueRequest(C,g,_,v){let f=[this._requestPromise,C];g&&Symbol.iterator in Object(g)&&f.push(...g),this._requestPromise=Promise.all(f).then(_,function(u){v&&v(u)})}}},A,x),A.exports=w},69617:(A,x,a)=>{"use strict";var T,w;T=[a(31068)],w=a.dj.d(T,function(h){let C;const g=()=>{if(C)return C;{let u=window;for(;u.opener&&u.opener!==u;)u=u.opener;return C=u,C}};return{_getRootWindow:g,getGlobalMVMVariable:u=>{const r=g();if(r._RootWindowContainer)r._RootWindowContainer.refCount++;else{const d=new h;r._RootWindowContainer={requestQueue:d,refCount:1}}return{requestQueue:r._RootWindowContainer.requestQueue}},releaseGlobalMVMVariable:()=>{const u=g();u._RootWindowContainer&&u._RootWindowContainer.refCount>0&&u._RootWindowContainer.refCount--,u._RootWindowContainer&&u._RootWindowContainer.refCount===0&&delete u._RootWindowContainer},cleanUpGlobalResources:()=>{const u=g();u._RootWindowContainer&&delete u._RootWindowContainer}}},A,x),A.exports=w},76709:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(46837)],w=a.dj.d(T,function(h,C){const g=h(null,{constructor:function(v,f,u,r,d,n){this._status=v,this._msg=f,this._id=u,this._functionName=r,this._frames=[],this._causes=[],d&&d.forEach(function(i){this._frames.push(new C(i.file,i.func,i.line))},this),n&&n.forEach(function(i){this._causes.push(new g(i.status,i.msg,i.id,i.functionName,i.frames,i.causes))},this)},getID:function(){return this._id},getMsg:function(){return this._msg},getExecutionStatus:function(){return this._status},getFunctionName:function(){return this._functionName},getStackFrames:function(){return this._frames},getCauses:function(){return this._causes},isRuntimeException:function(){return!0}});return g},A,x),A.exports=w},46837:(A,x,a)=>{"use strict";var T,w;T=[a(41745)],w=a.dj.d(T,function(h){return h(null,{constructor:function(g,_,v){this._file=g,this._func=_,this._line=v},getFileName:function(){return this._file},getFunctionName:function(){return this._func},getLineNumber:function(){return this._line}})},A,x),A.exports=w},66805:(A,x,a)=>{"use strict";var T,w;T=[a(41745),a(33553),a(90290),a(74460),a(56662)],w=a.dj.d(T,function(h,C,g,_,v){return h(null,{_channels:{ADDCB:"/fctrl/addcb",ADDCB_RESPONSE:"/fctrl/response/addcb",RMCB:"/fctrl/rmcb",RMCB_RESPONSE:"/fctrl/response/rmcb",SET:"/fctrl/set",SET_RESPONSE:"/fctrl/response/set"},constructor:function(f=""){_.isStarted()||_.start(),this._mvmID=f,this._uuid=v.generateUuid(),this._counter=0,this._cache={},this._responses={},_.subscribe(this._channels.ADDCB_RESPONSE,"_fctrlCbResponse",this),_.subscribe(this._channels.SET_RESPONSE,"_fctrlSetResponse",this)},destroy:function(){Object.values(this._cache).forEach(f=>{f.destroy()})},getFeature:function(f){const u=new C,r=this._getCache(f),d=this;return r.deferred.then(function(n){u.resolve(d._clone(r.current.value))},function(n){u.reject(d._clone(n.error))}),u},setFeature:function(f,u){const r=new C,d=this._getCache(f),n=this._nextid(),i={id:n,mvm:this._mvmID,name:f,value:u},o=this;return d.deferred.then(function(c){o._responses[n]=function(e){Object.prototype.hasOwnProperty.call(e.data,"error")?r.reject(e.data):r.resolve(e.data)},g.info("assigning feature: "+f+" = "+u),_.publish(o._channels.SET,i)},function(c){r.reject(o._clone(c.error))}),r},addCallback:function(f,u){const r=this._nextid(),d=new C,n=this,i=this._getCache(f);i.deferred.then(function(c){const e=function(){const t={name:n._clone(f),value:n._clone(i.current.value)};u(t)};i.callbacks[r]=e,e()},function(c){d.reject(n._clone(c.error))});const o=h(null,{constructor:function(c){this._func=c},destroy:function(){this._func()},disconnect:function(){const c=this._func;this._func=function(){},c()}});return new o(function(){delete i.callbacks[r]})},_nextid:function(){return++this._counter,JSON.stringify({uuid:this._uuid,counter:this._counter})},_getCache:function(f){if(!Object.prototype.hasOwnProperty.call(this._cache,f)){g.info("accessing feature: "+f);const u=this._nextid(),r=new C,d=this,n={id:u,name:f,mvm:this._mvmID},i={deferred:r,current:void 0,callbacks:{},destroy:function(){_.publish(d._channels.RMCB,n)}};this._cache[f]=i,this._responses[u]=function(o){i.current=o.data,g.info(o.data),g.assert(Object.prototype.hasOwnProperty.call(o.data,"value")||Object.prototype.hasOwnProperty.call(o.data,"error"),"msg.data: "+JSON.stringify(o.data)),r.isFulfilled()||(Object.prototype.hasOwnProperty.call(o.data,"error")?r.reject(o.data):r.resolve(i)),Object.prototype.hasOwnProperty.call(i.current,"value")&&Object.values(i.callbacks).forEach(e=>{e()})},_.publish(this._channels.ADDCB,n)}return this._cache[f]},_fctrlCbResponse:function(f){const u=f.data.id;if(Object.prototype.hasOwnProperty.call(this._responses,u)){const r=this._responses[u];r(f)}},_fctrlSetResponse:function(f){const u=f.data.id;if(Object.prototype.hasOwnProperty.call(this._responses,u)){const r=this._responses[u];delete this._responses[u],r(f)}},_clone:function(f){if(f==null||typeof f!="object")return f;{const u={};return Object.entries(f).forEach(r=>{const[d,n]=r;u[d]=this._clone(n)}),u}}})},A,x),A.exports=w},6365:(A,x,a)=>{A.exports=a.p+"images/ui-icons_222222_256x240-9de1b0948e757a140d7797bd7f3e9072.png"},38040:(A,x,a)=>{var T=a(2538),w=a(38955),h=a(11113),C=a(15346),g=a(17054),_=a(5667),v=a(683);v=v.__esModule?v.default:v;var f={};f.styleTagTransform=_,f.setAttributes=C,f.insert=h.bind(null,"head"),f.domAPI=w,f.insertStyleElement=g;var u=T(v,f);A.exports=v&&v.locals||{}},27834:(A,x,a)=>{var T=a(2538),w=a(38955),h=a(11113),C=a(15346),g=a(17054),_=a(5667),v=a(53285);v=v.__esModule?v.default:v;var f={};f.styleTagTransform=_,f.setAttributes=C,f.insert=h.bind(null,"head"),f.domAPI=w,f.insertStyleElement=g;var u=T(v,f);A.exports=v&&v.locals||{}},2538:A=>{"use strict";var x=[];function a(h){for(var C=-1,g=0;g<x.length;g++)if(x[g].identifier===h){C=g;break}return C}function T(h,C){for(var g={},_=[],v=0;v<h.length;v++){var f=h[v],u=C.base?f[0]+C.base:f[0],r=g[u]||0,d="".concat(u," ").concat(r);g[u]=r+1;var n=a(d),i={css:f[1],media:f[2],sourceMap:f[3],supports:f[4],layer:f[5]};if(n!==-1)x[n].references++,x[n].updater(i);else{var o=w(i,C);C.byIndex=v,x.splice(v,0,{identifier:d,updater:o,references:1})}_.push(d)}return _}function w(h,C){var g=C.domAPI(C);g.update(h);var _=function(f){if(f){if(f.css===h.css&&f.media===h.media&&f.sourceMap===h.sourceMap&&f.supports===h.supports&&f.layer===h.layer)return;g.update(h=f)}else g.remove()};return _}A.exports=function(h,C){C=C||{},h=h||[];var g=T(h,C);return function(v){v=v||[];for(var f=0;f<g.length;f++){var u=g[f],r=a(u);x[r].references--}for(var d=T(v,C),n=0;n<g.length;n++){var i=g[n],o=a(i);x[o].references===0&&(x[o].updater(),x.splice(o,1))}g=d}}},11113:A=>{"use strict";var x={};function a(w){if(typeof x[w]>"u"){var h=document.querySelector(w);if(window.HTMLIFrameElement&&h instanceof window.HTMLIFrameElement)try{h=h.contentDocument.head}catch(C){h=null}x[w]=h}return x[w]}function T(w,h){var C=a(w);if(!C)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");C.appendChild(h)}A.exports=T},17054:A=>{"use strict";function x(a){var T=document.createElement("style");return a.setAttributes(T,a.attributes),a.insert(T,a.options),T}A.exports=x},15346:(A,x,a)=>{"use strict";function T(w){var h=a.nc;h&&w.setAttribute("nonce",h)}A.exports=T},38955:A=>{"use strict";function x(w,h,C){var g="";C.supports&&(g+="@supports (".concat(C.supports,") {")),C.media&&(g+="@media ".concat(C.media," {"));var _=typeof C.layer<"u";_&&(g+="@layer".concat(C.layer.length>0?" ".concat(C.layer):""," {")),g+=C.css,_&&(g+="}"),C.media&&(g+="}"),C.supports&&(g+="}");var v=C.sourceMap;v&&typeof btoa<"u"&&(g+=`
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(v))))," */")),h.styleTagTransform(g,w,h.options)}function a(w){if(w.parentNode===null)return!1;w.parentNode.removeChild(w)}function T(w){if(typeof document>"u")return{update:function(){},remove:function(){}};var h=w.insertStyleElement(w);return{update:function(g){x(h,w,g)},remove:function(){a(h)}}}A.exports=T},5667:A=>{"use strict";function x(a,T){if(T.styleSheet)T.styleSheet.cssText=a;else{for(;T.firstChild;)T.removeChild(T.firstChild);T.appendChild(document.createTextNode(a))}}A.exports=x}},__webpack_module_cache__={};function __webpack_require__(A){var x=__webpack_module_cache__[A];if(x!==void 0)return x.exports;var a=__webpack_module_cache__[A]={id:A,loaded:!1,exports:{}};return __webpack_modules__[A](a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.m=__webpack_modules__,function(){function A(s,l){for(var p in l)s[p]=l[p];return s}function x(s,l,p){return g(s,l,p,0,x)}function a(s){if(!s)return x;var l=s.absMid;if(!l&&x.absMidsById[s.id]&&(l=x.absMidsById[s.id]),!l)return x;var p=function(m,y,b){return g(m,y,b,l,x)};for(var E in x)x.hasOwnProperty(E)&&(p[E]=x[E]);return p.toUrl=function(m){return e(m,l?{mid:l}:null)},p.toAbsMid=function(m){return c(m,l?{mid:l}:null)},x.undef&&(p.undef=function(m){x.undef(m,l)}),p}function T(s){for(var l in s)x.absMids[l]=s[l],x.absMidsById[s[l]]||(x.absMidsById[s[l]]=l)}function w(s){var l=h("dojo/has",null,!1),p=l.normalize(s,function(E){return E});return p&&__webpack_require__(p)||void 0}function h(s,l,p,E){s=s.split("!").map(function(b){var I=b.charAt(0)===".";return I&&!l?b:c(b,l?{mid:l}:null)}).join("!");var m;if(s in x.absMids&&__webpack_require__.m[x.absMids[s]])if(p){var y=__webpack_module_cache__[x.absMids[s]];m=y&&(E?y:y.exports)}else m=__webpack_require__(x.absMids[s]);if(!m)throw new Error("Module not found: "+s);return m}function C(s){if(s.absMid)return s;var l={i:s.id},p=x.absMidsById[s.id];return p&&(l.id=l.absMid=p),Object.defineProperty(l,"exports",{get:function(){return s.exports},set:function(E){s.exports=E},enumerable:!0,configurable:!0}),l}function g(s,l,p,E,m){var y={}.toString.call(s);if(y==="[object String]"){var b=p!==!1,I=h(s,E,b);if(typeof I=="object"&&I.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+s);return I}else if(y==="[object Object]")throw new Error("Require config is not supported by WebPack");if(y==="[object Array]"){var S=[],R=l,N=[];if(s.forEach(function(L){try{S.push(h(L,E))}catch(U){N.push({mid:L,error:U})}}),N.length===0)R&&(f(S)?Promise.all(_(S)).then(function(L){R.apply(this,v(L))}.bind(this)).catch(function(L){console.error(L)}):R.apply(this,S));else{var O=new Error("findModules");O.src="dojo-webpack-plugin",O.info=N,m.signal("error",O)}return m}else throw new Error("Unsupported require call")}x.toUrl=e,x.toAbsMid=c,x.absMids={},x.absMidsById=[],x.async=1;function _(s){var l=(Array.isArray(s)?s:[s]).map(function(p){return p&&typeof p.then=="function"&&!p.__DOJO_WEBPACK_DEFINE_PROMISE__?{__DOJO_WEBPACK_PROMISE_VALUE__:p}:p});return Array.isArray(s)?l:l[0]}function v(s){var l=(Array.isArray(s)?s:[s]).map(function(p){return p&&p.__DOJO_WEBPACK_PROMISE_VALUE__||p});return Array.isArray(s)?l:l[0]}function f(s){return(Array.isArray(s)?s:[s]).some(function(l){return typeof l=="object"&&l.__DOJO_WEBPACK_DEFINE_PROMISE__})}function u(s,l,p,E){function m(b){return b.__DOJO_WEBPACK_DEFINE_PROMISE__=!0,b}function y(b){p&&(p.exports=E);var I=l.apply(null,b);return typeof p=="function"?p(I):I!==void 0?p.exports=I:I=p.exports,I}return f(s)?m(Promise.all(s).then(function(b){return _(y(v(b)))})):y(s)}var r=this||window;if(T({"dijit/layout/BorderContainer":61239,"dojo/_base/array":37222,"dojo/_base/kernel":806,"dojo/global":79181,"dojo/has":2812,"dojo/_base/config":93577,"dojo/_base/lang":40923,"dojo/sniff":82896,"dojo/cookie":62720,"dojo/regexp":35291,"dojo/_base/declare":41745,"dojo/dom-class":48201,"dojo/dom":58340,"dojo/_base/window":2251,"dojo/dom-construct":96916,"dojo/dom-attr":38142,"dojo/dom-style":41032,"dojo/dom-prop":40484,"dojo/_base/connect":92785,"dojo/on":20963,"dojo/aspect":33070,"dojo/topic":17279,"dojo/Evented":43661,"dojo/_base/event":36151,"dojo/dom-geometry":24485,"dojo/mouse":70495,"dojo/_base/sniff":8703,"dojo/keys":99890,"dojo/touch":45115,"dojo/domReady":85849,"dijit/_WidgetBase":81663,"dojo/ready":70111,"dojo/Stateful":39414,"dojo/when":28054,"dojo/Deferred":33553,"dojo/errors/CancelError":49350,"dojo/errors/create":18788,"dojo/promise/Promise":22527,"dijit/Destroyable":78513,"dijit/registry":26268,"dijit/main":55166,"dijit/_BidiMixin":33727,"dijit/_Widget":68806,"dojo/query":39196,"dojo/selector/_loader":62386,"dojo/selector/lite":15594,"dijit/_OnDijitClickMixin":26624,"dijit/a11yclick":28435,"dijit/_FocusMixin":74959,"dijit/focus":20391,"dojo/window":61106,"dijit/a11y":90843,"dojo/uacss":38221,"dijit/hccss":91203,"dojo/hccss":516,"dijit/_TemplatedMixin":13053,"dojo/cache":88586,"dojo/text":61981,"dojo/request":66569,"dojo/request/default!":5464,"dojo/request/xhr":5464,"dojo/errors/RequestError":16937,"dojo/request/watch":22333,"dojo/request/util":95148,"dojo/io-query":80419,"dojo/errors/RequestTimeoutError":90688,"dojo/request/handlers":37093,"dojo/json":10316,"dojo/string":71275,"dijit/_AttachMixin":81638,"dijit/layout/LayoutContainer":77899,"dijit/layout/_LayoutWidget":69633,"dijit/_Container":37679,"dijit/_Contained":36733,"dijit/Viewport":70285,"dijit/layout/utils":9083,"dijit/layout/ContentPane":81837,"dijit/layout/_ContentPaneResizeMixin":39875,"dojo/html":81491,"dojo/parser":70401,"dojo/_base/url":60754,"dojo/promise/all":31209,"dojo/date/stamp":92006,"dojo/json5":2953,"dojo/json5/parse":62721,"dojo/json5/util":52780,"dojo/json5/unicode":42881,"dojo/_base/Deferred":27952,"dojo/_base/xhr":55801,"dojo/dom-form":28559,"dojo/_base/json":16613,"dojo/i18n":6990,"dojo/i18n!dijit/nls/loading":62355,"dijit/nls/bs/loading":4135,"dijit/nls/mk/loading":49916,"dijit/nls/sr/loading":6061,"dijit/nls/zh/loading":49878,"dijit/nls/zh-tw/loading":32652,"dijit/nls/uk/loading":47188,"dijit/nls/tr/loading":18046,"dijit/nls/th/loading":73188,"dijit/nls/sv/loading":97233,"dijit/nls/sl/loading":6727,"dijit/nls/sk/loading":61026,"dijit/nls/ru/loading":90005,"dijit/nls/ro/loading":37771,"dijit/nls/pt/loading":70532,"dijit/nls/pt-pt/loading":80543,"dijit/nls/pl/loading":27564,"dijit/nls/nl/loading":94326,"dijit/nls/nb/loading":18136,"dijit/nls/ko/loading":53742,"dijit/nls/kk/loading":52618,"dijit/nls/ja/loading":49313,"dijit/nls/it/loading":11713,"dijit/nls/id/loading":62033,"dijit/nls/hu/loading":7023,"dijit/nls/hr/loading":4042,"dijit/nls/he/loading":92703,"dijit/nls/fr/loading":46368,"dijit/nls/fi/loading":91677,"dijit/nls/eu/loading":76282,"dijit/nls/es/loading":93868,"dijit/nls/el/loading":88757,"dijit/nls/de/loading":53963,"dijit/nls/da/loading":39551,"dijit/nls/cs/loading":72346,"dijit/nls/ca/loading":89016,"dijit/nls/bg/loading":71203,"dijit/nls/az/loading":50011,"dijit/nls/ar/loading":88643,"dijit/nls/al/loading":99393,"dijit/nls/loading":95239,"slcoderRpt/main_application":54105,"slcoderRpt/main":62132,"slcoderRpt/top_bar/history_navigator":38533,"slcoderRpt/message_dispatcher":98836,"slcoderRpt/top_bar/model_navigator":96408,"mw-tree/Tree":24644,"mw-tree/utils/EventEmitter":99544,"mw-tree/view/TreeView":23645,"react/react.production.min":38634,"react/react-dom.production.min":89989,"mw-tree/utils/ViewEventHandlers":64986,"mw-tree/utils/KeyCodeEnum":31063,"mw-tree/utils/MouseCodeEnum":52671,"mw-data-model/rangeUtil":37999,"mw-tree/utils/ViewPortGeo":879,"mw-tree/utils/TreeUtils":75845,"mw-tree/enums/PlatformEnum":46481,"mw-utils/Utils":56662,"mw-deprecation-utils/deprecation":81466,"mw-log/Log":90290,"mw-log/impl/Modes":32247,"mw-log/impl/Levels":17796,"mw-log/impl/Type":90727,"mw-log/impl/Backlog":86240,"mw-log/util/LogUtils":69062,"mw-tree/view/EventsConfig":67287,"mw-tree/view/DesignTimeEventsConfig":73312,"mw-tree/view/TreePluginViewComponents":5346,"mw-tree/view/TriStateCheckBox":42963,"mw-tristate-checkbox/TristateCheckbox":21255,"mw-widget-api/defineWidget":48292,"mw-widget-api/WidgetBase":10710,"mw-widget-api/facade/LitElement":45711,"lit/lit-element/lit-element.bundled":61685,"lit/reactive-element/reactive-element":25437,"lit/reactive-element/css-tag":80121,"lit/reactive-element/custom-elements-es5-adapter":43660,"lit/lit-html/lit-html":89943,"mw-tristate-checkbox/enums/KeyCodeEnum":16620,"mw-tristate-checkbox/enums/TriStateEnum":51608,"mw-tristate-checkbox/template/TristateCheckboxTemplate":57540,"mw-widget-api/facade/svg":31260,"mw-tree/plugins/PluginEnum":663,"mw-tree/plugins/checkboxTree/CheckboxTree":21622,"mw-tree/adaptors/CheckboxTreeAdaptor":74575,"mw-tree/plugins/contextMenu/ContextMenu":14634,"mw-tree/adaptors/ContextMenuAdaptor":91696,"mw-tree/adaptors/utils/ContextMenuUtility":211,"mw-tree/plugins/dnd/DnD":28154,"mw-tree/plugins/dnd/impl/DnDArchService":34454,"mw-draganddrop/DragAndDrop":41662,"mw-draganddrop/Context":45943,"mw-draganddrop/DragSource":50149,"mw-draganddrop/DropTarget":1818,"mw-draganddrop/impl/RegionsAdaptor":37517,"mw-draganddrop/utils/On":14525,"mw-draganddrop/impl/HTML5DnDListener":23481,"mw-draganddrop/impl/HTML5DnDNativeTypes":86965,"mw-draganddrop/functional/FunctionalUtils":938,"mw-draganddrop/utils/HTML5DnDListenerUtils":75153,"mw-draganddrop/impl/Avatar":60158,"mw-draganddrop/utils/BrowserFeatureSupport":61231,"mw-browser-utils/BrowserUtils":96913,"mw-draganddrop/enum/EnumsConfig":54588,"mw-draganddrop/impl/ProcessHandleDragOver":14124,"mw-draganddrop/enum/DragEvents":31485,"mw-draganddrop/utils/AvatarUtils":76808,"mw-draganddrop/utils/PositionDetectorUtils":58124,"mw-draganddrop/DragItem":7903,"mw-draganddrop/utils/CanDropTracker":29965,"mw-draganddrop/FileContext":17857,"mw-draganddrop/impl/FileDnDListener":88391,"mw-tree/plugins/dnd/impl/AutoScroll":88657,"mw-tree/view/BrowserFeatureSupport":52027,"mw-tree/view/CSSClassesEnum":41028,"mw-tree/plugins/dnd/DnDEnum":68419,"mw-tree/adaptors/DnDAdaptor":57150,"mw-tree/plugins/dnd/ReorderUtility":60391,"mw-tree/plugins/dnd/ReorderEnum":41574,"mw-clipboard/DataTransfer":60757,"mw-clipboard/utils/DataTransferUtils":87730,"mw-clipboard/utils/NavigatorServiceUtils":32171,"mw-clipboard/utils/Base64StrToBlob":76138,"mw-clipboard/utils/MimeTypeToFileName":26020,"mw-clipboard/utils/EventUtils":84033,"mw-clipboard/enum/index":15884,"mw-clipboard/enum/StatusEnum":67373,"mw-clipboard/enum/TypeMetaDataEnum":2914,"mw-clipboard/enum/MimeTypes":38113,"mw-clipboard/enum/Actions":97047,"mw-clipboard/enum/EventsEnum":23206,"mw-clipboard/MWDataTransfer":25101,"mw-clipboard/utils/ValidationUtils":81358,"mw-clipboard/utils/ContentMapUtils":52200,"mw-tree/plugins/filter/Filter":30624,"mw-tree/adaptors/FilterAdaptor":93746,"mw-tree/plugins/focus/DesignTimeFocus":46991,"mw-tree/plugins/focus/Focus":15054,"mw-tree/adaptors/FocusAdaptor":48108,"mw-tree/plugins/search/Search":55612,"mw-tree/adaptors/SearchAdaptor":13504,"mw-tree/adaptors/SearchNavigationAdaptor":2326,"mw-tree/adaptors/utils/NavigationUtilEnum":12540,"mw-tree/utils/ViewStateEnums":56678,"mw-tree/plugins/selection/SingleNodeSelection":71262,"mw-tree/adaptors/SelectionAdaptor":54946,"mw-tree/adaptors/RangeSelection":8040,"mw-tree/plugins/selection/MultipleNodeSelection":95206,"mw-tree/plugins/scrollsync/ScrollSync":83576,"mw-tree/adaptors/ScrollSyncAdaptor":13170,"mw-tree/plugins/clipboard/Clipboard":23942,"mw-tree/adaptors/ClipboardAdaptor":20770,"mw-tree/functional/FunctionalUtils":60624,"mw-tree/enums/EventEnum":77330,"mw-tree/enums/StateEnum":37899,"mw-tree/adaptors/utils/ClipboardUtils":82976,"mw-clipboard/ClipboardService":16355,"mw-clipboard/server/ServerClipboardImpl":8987,"mw-clipboard/server/ServerClipboardService":52462,"mw-clipboard/server/ConnectorService":86686,"mw-messageservice/MessageService":74460,"mw-messageservice/messageserviceimpl/createMessageServiceDefaultInstance":2305,"mw-messageservice/messageserviceimpl/MessageServiceBase":36230,"mw-messageservice/messageserviceimpl/MessageServiceState":23246,"mw-statemachine/StateMachine":46008,"mw-statemachine/statemachineimpl/State":63416,"mw-statemachine/statemachineimpl/EventTrigger":35413,"mw-statemachine/statemachineimpl/Trigger":48393,"mw-statemachine/statemachineimpl/MessageTrigger":29072,"mw-statemachine/statemachineimpl/RemoteTrigger":47743,"mw-remote/Remote":13664,"mw-remote/iframeproxy/IframeProxyClient":94324,"mw-remote/iframeproxy/CheckUrlService":8831,"dojo/request/script":27891,"mw-remote/impl/FaultManager":94232,"mw-remote/impl/RequestManager":77175,"mw-remote/RemoteEndPointsManager":60409,"mw-remote/EndPointsManager":43707,"mw-remote/utils/SecurityUtils":93809,"mw-remote/defaultMessageMapping":92318,"mw-remote/impl/Transaction":37711,"mw-remote/impl/ResponseManager":39985,"mw-remote/impl/AutoDetectedTransaction":46932,"mw-remote/impl/JsonTransaction":60273,"mw-remote/utils/SendMessageUtil":44383,"mw-remote/UploadToWorker":63404,"mw-html-utils/HtmlUtils":18917,"mw-html-utils/_parseHtml/sanitize":60482,"mw-remote/ReplaceUploadIframe":93617,"mw-remote/utils/RemoteUrlUtils":65844,"mw-remote/serviceRegistryLookup!":70205,"mw-remote/serviceRegistryLookup":93382,"mw-statemachine/statemachineimpl/TimeoutTrigger":11020,"mw-statemachine/statemachineimpl/Transition":14046,"mw-messageservice/messageserviceimpl/isValidChannel":34264,"cometd/cometd":85967,"mw-messageservice/messageserviceimpl/transportEnums":9180,"mw-messageservice/messageserviceimpl/MessageServiceAsync":91779,"cometd/AckExtension":54993,"mw-messageservice/messageserviceimpl/instanceEnums":50570,"mw-messageservice/messageserviceimpl/messageServiceFactory":27393,"mw-clipboard/server/ServerClipboardChannels":74129,"mw-clipboard/utils/EventEmitter":80998,"mw-clipboard/ClipboardCache":6894,"mw-clipboard/client/ClientClipboardImpl":18275,"mw-clipboard/client/ClientClipboardService":51622,"mw-clipboard/client/NavigatorReadService":95724,"mw-clipboard/client/NavigatorWriteService":87053,"mw-clipboard/client/ReadClipboardDataFromEvent":52678,"mw-clipboard/utils/Trigger":48354,"mw-clipboard/client/WriteUsingTextBox":85653,"mw-tree/plugins/dnd/_HTMLDnD":64188,"mw-tree/view/TreeBuilder":39057,"mw-tree/view/TreeDisclosureNode":26821,"mw-tree/view/TreeNode":26036,"mw-tree/view/TreeNodeRolesEnum":93390,"mw-tree/view/Gutters":73098,"mw-tree/view/useClickHandler":4621,"mw-tree/view/DataTip":33035,"mw-tree/utils/Truncation":35861,"mw-tree/view/TreeContainer":42565,"mw-tree/view/DisabledOverlay":60162,"mw-tree/view/TreeRenderer":32367,"mw-tree/renderers/IconLabelRenderer":76755,"mw-tree/utils/Highlight":71136,"mw-tree/renderers/utils/RendererUtils":29611,"mw-icons/Icon":97203,"mw-widget-api/facade/html":59977,"mw-widget-api/facade/forPrototyping/css":66396,"mw-icons/IconsFactory":76654,"mw-icons/Icons":94934,"mw-icons/IconUtils":7282,"mw-icons/IconsFactoryEnum":74023,"mw-icons/defaultConfig":90283,"mw-tree/renderers/CheckboxRenderer":29131,"mw-tree/enums/RendererActionsEnum":57308,"mw-tree/view/DefaultsEnum":72863,"mw-tree/view/EditableTreeView":76301,"mw-tree/view/EditableTreeBuilder":14497,"mw-tree/view/TreeEditor":97309,"mw-tree/utils/TREE_NODE_STATES_ENUM":76836,"mw-tree/utils/ResponseEnums":72983,"mw-tree/controller/edit/EditController":95514,"mw-tree/controller/TreeNodeController":85491,"mw-tree/controller/navigation/KeyController":87241,"mw-tree/controller/navigation/TreeNodeKeyNavigation":25655,"mw-tree/controller/navigation/ActiveNodeHandler":24460,"mw-tree/controller/CustomKeyController":58861,"mw-tree/utils/KeyboardUtils":48134,"mw-tree/enums/DefaultsEnum":27068,"mw-tree/utils/KeyValidationUtils":56355,"mw-tree/controller/scrolling/ScrollController":65454,"mw-tree/controller/actions/ActionController":88369,"mw-tree/controller/actions/DeleteActionImpl":23452,"mw-tree/controller/actions/ActionEnum":11564,"mw-tree/controller/interactive/InteractiveController":42640,"mw-data-model/DataStore":82079,"mw-data-model/tree/_TreeDataStore":29557,"mw-data-model/On":40637,"mw-data-model/tree/impl/_expandCollapseToggle":84256,"mw-data-model/tree/impl/_proxyNode":50819,"mw-data-model/tree/impl/_treeParentNodeStore":63622,"mw-data-model/tree/impl/_parentNodeStore":54550,"mw-data-model/tree/utils/Cache":31951,"mw-data-model/tree/utils/cacheImpl/StringCache":99459,"mw-data-model/tree/utils/cacheImpl/MapCache":62932,"mw-data-model/utils/_arrayUtils":41239,"mw-data-model/enums/saveEnum":27807,"mw-data-model/tree/impl/_treeSearch":20779,"mw-data-model/tree/impl/_search":94523,"mw-data-model/table/impl/_criteriaUtils":72103,"mw-data-model/enums/compareEnum":63241,"mw-data-model/tree/impl/_sortTree":91499,"mw-data-model/impl/_sort":84580,"mw-data-model/enums/sortEnum":60330,"mw-data-model/treeTable/impl/_sortTreeTable":2613,"mw-data-model/utils/rangeListFrom":68053,"mw-data-model/tree/utils/IndexCache":51579,"mw-data-model/enums/dataStoreTypes":46465,"mw-data-model/tree/impl/_treeFilter":91397,"mw-data-model/tree/impl/_filter":33621,"mw-data-model/impl/_metaData/_MetaDataRules":68631,"mw-data-model/impl/_metaData/_MetaDataRule":53768,"mw-data-model/impl/_metaData/_OrderedRules":13499,"mw-data-model/impl/_metaData/_HierarchicalOrderedRules":40634,"mw-data-model/utils/_criteriaUtils":16887,"mw-data-model/enums/positionEnum":85589,"mw-data-model/table/_TableDataStore":2717,"mw-data-model/table/impl/_sortTable":65957,"mw-data-model/table/impl/_filter":42263,"mw-data-model/table/impl/_tableSearch":38629,"mw-data-model/table/impl/_Headers":14491,"mw-data-model/treeTable/_TreeTableDataStore":88781,"mw-data-model/treeTable/impl/_ArrayOfArraysStore":31334,"mw-data-model/treeTable/impl/_treeTableParentNodeStore":29596,"mw-data-model/treeTable/impl/_treeTableFilter":92563,"mw-data-model/treeTable/impl/_ArrayOfObjectsStore":48648,"mw-data-model/treeTable/impl/_Group":71230,"mw-data-model/rds/TreeRemoteDataStore":14897,"mw-data-model/rds/TreeTableRemoteDataStore":23319,"mw-data-model/rds/RemoteDataStore":62781,"mw-data-model/rds/impl/InfoHandler":98777,"mw-data-model/rds/impl/Cache":67091,"mw-data-model/rds/impl/LRUList":20720,"mw-data-model/rds/impl/ColumnMetaDataCache":92234,"mw-data-model/rds/impl/RowIdTwoWayMap":11223,"mw-data-model/rds/TableRemoteDataStore":49331,"mw-data-model/DataModel":31115,"mw-data-model/impl/_PagedDataModel":20438,"mw-tree/viewModel/ViewModel":9253,"mw-tree/viewModel/LinkedList":85026,"mw-tree/viewModel/DataMapper":21458,"mw-tree/viewModel/Row":60591,"mw-tree/viewModel/_RankMetaData":361,"mw-tree/editors/EditorEnum":11907,"mw-tree/editors/IconLabelEditor":62683,"mw-tree/editors/EditorDecorator":51693,"mw-tree/editors/DesignTimeEditor":3461,"mw-tree/viewModel/DataEnum":48970,"mw-tree/controller/events/DoubleClickController":76318,"slcoderRpt/internal_main":59314,"slcoderRpt/left_panel":84525,"slcoderRpt/right_panel":12226,"report/code_report/code_report":33472,"mw-overlay-utils/BusyOverlay":58233,"mw-progress-indicator/ProgressIndicator":98289,"mw-progress-indicator/view/ViewFactory":72718,"mw-progress-indicator/view/ViewStore":42425,"mw-progress-indicator/view/ViewInterface":48815,"mw-progress-indicator/view/SpinnerView":74643,"mw-progress-indicator/enums/SizeEnum":55530,"mw-progress-indicator/enums/TypeEnum":14231,"mw-progress-indicator/util/ProgressIndicatorUtils":36201,"dojo/text!mw-overlay-utils/templates/busyOverlayTemplate.html":19339,"report/code_report/code":98159,"dgrid/OnDemandList":61932,"dgrid/List":6273,"dgrid/util/misc":32356,"put-selector/put":4279,"dgrid/TouchScroll":64627,"dgrid/util/touch":91589,"dgrid/util/has-css3":94455,"xstyle/has-class":24831,"dgrid/_StoreMixin":73442,"dgrid/Selection":97467,"dgrid/util/has-pointer":53694,"dojo/store/Memory":1175,"dojo/store/util/QueryResults":13369,"dojo/store/util/SimpleQueryEngine":7319,"report/code_report/indicator":11805,"report/code_report/Resources":99833,"dojo/i18n!report/resources/RTW/nls/traceInfo":12536,"report/resources/RTW/nls/ja-jp/traceInfo":31981,"report/resources/RTW/nls/ko-kr/traceInfo":3423,"report/resources/RTW/nls/zh-cn/traceInfo":75047,"report/resources/RTW/nls/traceInfo":87268,"dojo/i18n!report/resources/SimulinkCoderApp/nls/report":67412,"report/resources/SimulinkCoderApp/nls/ja-jp/report":32079,"report/resources/SimulinkCoderApp/nls/zh-cn/report":88945,"report/resources/SimulinkCoderApp/nls/report":8,"dojo/i18n!report/resources/coderdictionary/nls/mapping":7109,"report/resources/coderdictionary/nls/ja-jp/mapping":8312,"report/resources/coderdictionary/nls/zh-cn/mapping":58298,"report/resources/coderdictionary/nls/mapping":15225,"report/code_report/actions":97103,"dijit/Tooltip":58944,"dojo/_base/fx":14433,"dojo/_base/Color":59060,"dijit/_base/manager":78923,"dijit/place":85296,"dijit/BackgroundIframe":13475,"dojo/text!dijit/templates/Tooltip.html":81084,"report/code_report/info":13210,"report/code_report/utils":1709,"mw-mvm/UserMvm":59076,"mw-mvm/impl/MVM":39124,"mw-mvm/impl/AttachDetach":84582,"mw-mvm/impl/ConnectionData":48452,"mw-mvm/impl/MVMConnection":49604,"mw-mvm/impl/RuntimeException":76709,"mw-mvm/impl/StackFrame":46837,"mw-mvm/ExecutionStatus":94555,"mw-mvm/impl/Debugger":16935,"mw-mvm/impl/EvalFevalCancel":37798,"mw-mvm/impl/MVMPromise":92187,"mw-mvm/impl/EventManager":81043,"mw-mvm/impl/Connection":24284,"mw-mvm/impl/MVMSink":53327,"mw-fctrl/Features":66805,"mw-mvm/impl/More":64085,"mw-mvm/RunOptions":69898,"mw-mvm/CapabilitiesList":31609,"mw-mvm/Capability":76109,"mw-mvm/WhenToDequeue":57798,"mw-mvm/impl/Pause":91332,"mw-mvm/impl/Bang":35522,"mw-mvm/impl/RootWindowContainer":69617,"mw-mvm/impl/RequestQueue":31068,"report/code_report/message":11567,"report/config/config":47890,"report/code_report/tooltip":95859,"mw-popout/Popout":73742,"mw-popout/impl/manager/PopoutsManager":1269,"mw-popout/impl/manager/EntityManager":42520,"mw-popout/utils/PopoutUtils":10035,"popper/popper":50883,"mw-popout/enum/TriggerEnum":96712,"mw-popout/enum/ScreenReaderEnum":70491,"mw-popout/enum/TypeEnum":41904,"mw-popout/enum/KeyCodeEnum":2366,"mw-popout/enum/ScrollEnum":28533,"mw-ui-themes/ThemeEnum":42625,"mw-ui-themes/UIThemeManager":52819,"mw-popout/impl/manager/FocusManager":32979,"mw-popout/utils/FocusUtils":74192,"mw-popout/enum/CustomAttributeEnum":48133,"mw-popout/Content":25378,"mw-widget-api/facade/render":57804,"report/code_report/Annotator":64804,"report/code_report/settings":87451,"dijit/TooltipDialog":83604,"dijit/_DialogMixin":72809,"dijit/form/_FormMixin":88088,"dojo/text!dijit/templates/TooltipDialog.html":40608,"dijit/popup":28205,"mw-form/PushButton":87942,"dijit/_CssStateMixin":62397,"mw-form/mixins/property/TagMixin":22856,"mw-form/mixins/property/DescriptionMixin":15846,"mw-event-utils/platformize":26333,"mw-form/mixins/property/DisabledMixin":71504,"mw-form/mixins/property/HorizontalAlignmentMixin":30231,"mw-form/mixins/property/IconAlignmentMixin":32666,"mw-form/mixins/property/TextMixin":74049,"mw-form/mixins/property/IconMixin":93419,"mw-form/mixins/property/SizeMixin":60943,"mw-form/mixins/property/VisualFamilyMixin":79536,"mw-form/mixins/property/VerticalAlignmentMixin":92205,"mw-form/mixins/IconAndTextSizingMixin":31455,"mw-form/mixins/PreventSelectionMixin":83670,"mw-form/mixins/mixinDependencyValidator":83001,"mw-form/mixins/AriaLabelledByMixin":80135,"dojo/text!mw-form/templates/PushButton.html":21418,"dojo/query!css2":36629,"dojo/loaderProxy?loader=dojo%2Fquery&name=css2!":36629,"report/code_report/Coverage":14820,"mw-table/Table":21190,"mw-table/controllers/data/IdController":69872,"mw-table/controllers/geometry/GeometryController":61437,"mw-table/enums/EventEnum":97154,"mw-table/enums/StateEnum":89019,"mw-table/controllers/scrolling/Scroll":49819,"mw-table/view/TableUtils":23513,"mw-table/enums/DefaultsEnum":70348,"mw-table/enums/TableSectionEnum":37881,"mw-table/utils/PropUtils":45330,"mw-table/utils/TableUtils":9747,"mw-table/treetable/utils/TreeTableUtils":85786,"mw-table/treetable/enums/StateEnum":51348,"mw-table/treetable/enums/EnumUtils":62158,"mw-table/treetable/enums/PlatformEnum":72240,"mw-table/calc/BufferMath":61748,"mw-table/enums/LogicalSizeEnum":29724,"mw-table/controllers/resize/tableResize":66745,"mw-table/controllers/events/EventsController":58563,"mw-table/utils/Emitter":60794,"mw-table/view/utils/PublicMouseEventUtils":13585,"mw-table/treetable/enums/EventEnum":48369,"mw-table/view/utils/EventUtils":29619,"mw-table/enums/MouseCodeEnum":99268,"mw-table/controllers/events/DoubleClickController":75759,"mw-table/utils/rangeInterface":11342,"mw-table/controllers/columns/ColConfigController":46860,"mw-table/functional/FunctionalUtils":79424,"mw-table/parsing/table/TableConfigUtils":94967,"mw-table/functional/Maybe":5946,"mw-table/enums/GridStyleEnum":44795,"mw-table/controllers/columns/ColConfigUtil":95860,"mw-table/controllers/edit/EditControllerProxy":49145,"mw-table/controllers/edit/EditController":37317,"mw-table/enums/KeyCodeEnum":66296,"mw-table/controllers/edit/TableEditController":73505,"mw-table/controllers/edit/TreetableEditController":22965,"mw-table/controllers/interactive/InteractiveController":88379,"mw-table/treetable/controllers/interactive/InteractiveController":60612,"mw-table/treetable/enums/RadiobuttonRendererEnum":24641,"mw-table/treetable/enums/RendererActionsEnum":80535,"mw-table/controllers/edit/EditControllerInterface":52466,"mw-table/controllers/edit/HeaderEditController":37756,"mw-table/controllers/attributes/AttributesController":51891,"mw-table/controllers/keyboard/CustomKeyController":34378,"mw-table/treetable/utils/KeyboardUtils":75209,"mw-table/treetable/enums/DefaultsEnum":98537,"mw-table/treetable/utils/KeyValidationUtils":90622,"mw-table/controllers/disable/DisableController":91179,"mw-table/enums/PluginEnum":62377,"mw-table/plugins/focus/CellFocus":98314,"mw-table/adaptors/FocusAdaptor":28092,"mw-table/adaptors/AdaptorUtils":58587,"mw-table/enums/NavigationUtilEnum":98339,"mw-table/plugins/selection/table/IDSingleRowSelection":36332,"mw-table/plugins/selection/IDSingleRowSelection":43517,"mw-table/adaptors/selection/IDSelectionAdaptor":15632,"mw-table/adaptors/selection/RowSelectionAdaptor":80263,"mw-table/adaptors/selection/SelectionAdaptorUtils":21428,"mw-table/enums/DragToSelectEnum":79541,"mw-table/plugins/selection/MultiRowSelection":93155,"mw-table/plugins/selection/SingleRowSelection":82084,"mw-table/adaptors/selection/table/IDSelectionAdaptor":78517,"mw-table/plugins/selection/table/IDMultiRowSelection":71611,"mw-table/plugins/selection/IDMultiRowSelection":18920,"mw-table/plugins/selection/RangeSingleRowSelection":1547,"mw-table/adaptors/selection/RangeSelectionAdaptor":42182,"mw-table/plugins/selection/RangeMultiRowSelection":20966,"mw-table/plugins/selection/CellSelection":5042,"mw-table/adaptors/selection/SelectionAdaptor":50269,"mw-table/controllers/navigation/CellNavigation":43409,"mw-table/controllers/navigation/UnbufferedCellNavigation":3409,"mw-table/controllers/navigation/BufferedCellNavigation":11914,"mw-table/functional/Monad":64833,"mw-table/functional/Lens":45640,"mw-table/enums/ScrollEnum":19295,"mw-table/utils/ResizeSelection":55646,"mw-table/enums/ResizeSelectionEnum":63520,"mw-table/plugins/colresize/ColResize":21990,"mw-table/adaptors/ResizeAdaptor":8044,"mw-table/plugins/sort/SingleColumnSort":83146,"mw-table/adaptors/SortAdaptor":83664,"mw-table/plugins/headers/RowHeaders":61640,"mw-table/adaptors/RowHeaderAdaptor":60763,"mw-table/plugins/dragAndDrop/DragAndDrop":28566,"mw-table/adaptors/DragAndDropAdaptor":78594,"mw-table/utils/ColumnUtils":27499,"mw-table/utils/ProxyUtils":71831,"mw-table/adaptors/TableRowDnDService":85944,"mw-table/adaptors/TreetableRowDnDService":69436,"mw-table/enums/DnDEnum":43952,"mw-table/view/utils/TableRowDndUtils":1241,"mw-table/view/utils/DndUtils":50049,"mw-table/view/utils/AutoScroll":8048,"mw-table/view/utils/TreetableRowDndUtils":93961,"mw-table/view/utils/ReorderUtils":322,"mw-table/view/utils/TreetableOutsideDndUtils":49330,"mw-table/plugins/menus/HeaderMenu":93754,"mw-table/adaptors/MenuAdaptor":37425,"mw-table/plugins/search/Search":34412,"mw-table/adaptors/SearchAdaptor":23760,"mw-table/plugins/clipboard/Clipboard":61110,"mw-table/adaptors/ClipboardAdaptor":3378,"mw-table/controllers/navigation/KeyController":80256,"mw-table/controllers/navigation/ActiveCell":36749,"mw-table/controllers/navigation/SimplifiedKeyController":8246,"mw-table/adaptors/CellSizingAdaptor":16938,"mw-table/plugins/scrollsync/ScrollSync":70728,"mw-table/adaptors/ScrollSyncAdaptor":15746,"mw-table/enums/RenderTypeEnum":54322,"mw-table/enums/ReorderEnum":66065,"mw-table/enums/TooltipEnum":88577,"mw-table/viewmodel/ViewModel":86517,"mw-table/viewmodel/_LinkedList":38163,"mw-table/viewmodel/_DataMapper":43739,"mw-table/viewmodel/_Row":37612,"mw-table/viewmodel/_RankMetaData":85177,"mw-table/parsing/table/HeaderConfigUtils":546,"mw-table/enums/Flags":59108,"mw-table/utils/FacadeUtils":78647,"mw-table/view/DataCell":40668,"mw-table/view/TableCell":57246,"mw-table/utils/CellUtils":96405,"mw-table/view/ResizeSelectionAffordance":3177,"mw-table/enums/DataTestEnum":49118,"mw-table/view/RendererComponentWithMemo":93126,"mw-table/view/RendererComponent":66584,"mw-table/view/hooks/useTooltip":79411,"mw-table/view/utils/TooltipUtils":5690,"mw-table/renderers/DefaultRenderer":59723,"mw-table/utils/HighlightUtils":171,"mw-table/view/utils/Highlight":86960,"mw-table/renderers/enums/EditIndicatorEnum":21836,"mw-table/renderers/CheckboxRenderer":93755,"mw-table/utils/RendererAndEditorUtils":11104,"mw-table/enums/FieldEnum":81022,"mw-table/renderers/enums/RendererAlignmentEnum":97089,"mw-table/renderers/IconLabelRenderer":41347,"mw-table/renderers/utils/RendererUtils":92667,"mw-table/renderers/MultiLineRenderer":36329,"mw-table/renderers/NumberRenderer":81835,"mw-table/renderers/enums/NumberRendererEnum":80445,"mw-table/treetable/renderers/IconLabelRenderer":53644,"mw-table/treetable/utils/CellUtils":2090,"mw-table/renderers/DefaultRendererComponent":64104,"mw-table/view/EditorComponent":86246,"mw-table/editors/DefaultEditor":19423,"mw-table/view/utilcomponent/LoadingComponent":11779,"mw-table/view/EditIndicator":43955,"mw-table/view/InteractiveTableCell":63688,"mw-table/view/hoc/withInteractiveCell":6939,"mw-table/view/EditableTableCell":51182,"mw-table/view/hoc/withEditor":44622,"mw-table/enums/EditEnum":49590,"mw-table/view/hooks/useFloatingContent":12615,"mw-table/view/TableRow":60936,"mw-table/view/context/DnDContext":66629,"mw-table/view/TbodyComponent":42495,"mw-table/view/utils/EventDelegator":48719,"mw-gesture/GestureRegistry":70885,"mw-gesture/recognizers/GestureRecognizer":32464,"mw-event-emitter/Evented":87388,"mw-gesture/events/RemovableGroup":24879,"mw-gesture/coordination/RecognizerCoordinator":63041,"mw-gesture/recognizers/RecognizerStates":37993,"mw-gesture/recognizers/RecognizerStateUtil":81494,"mw-gesture/util/PointerTypes":57894,"mw-gesture/util/InputDataUtil":76194,"mw-gesture/util/InputTypes":14029,"mw-gesture/util/PointerUtil":72591,"mw-gesture/util/PointerProperties":48914,"mw-gesture/util/GeomUtil":86744,"mw-gesture/util/Directions":48562,"mw-gesture/util/TimeUtils":34856,"mw-gesture/input/PointerInputUtil":63728,"mw-gesture/util/DomUtils":91465,"mw-gesture/input/impl/pointer":23688,"mw-gesture/input/impl/touch":37934,"mw-gesture/input/impl/mouse":38074,"mw-gesture/util/ButtonValues":45262,"mw-gesture/gestures/tapmove":55106,"mw-gesture/functional/FunctionalUtils":80641,"mw-gesture/util/ActionDataUtil":18610,"mw-gesture/util/RecognizerDataUtil":46142,"mw-gesture/gestures/_state/TapCount":18797,"mw-gesture/timer/Timer":62002,"mw-gesture/events/Observable":2430,"mw-gesture/gestures/_state/PositionTracker":57048,"mw-gesture/gestures/tap":97411,"mw-gesture/gestures/click":60670,"mw-gesture/gestures/flick":29185,"mw-gesture/gestures/pan":2109,"mw-gesture/gestures/rotate":67015,"mw-gesture/gestures/pinch":49130,"mw-gesture/gestures/wheel":5365,"mw-gesture/gestures/wheelmove":16844,"mw-gesture/gestures/hover":1712,"mw-gesture/GestureDetector":64376,"mw-gesture/input/PointerInput":99191,"mw-gesture/input/WheelInput":11394,"mw-table/view/Tooltip":59749,"mw-table/view/FloatingContent":81673,"mw-tooltip/Tooltip":94362,"mw-tooltip/impl/Content":9181,"mw-tooltip/impl/enum/TypeEnum":5135,"mw-tooltip/utils/ContentUtils":71689,"mw-tooltip/utils/TooltipUtils":99635,"mw-tooltip/impl/enum/ThemeEnum":34744,"mw-tooltip/impl/TooltipDepot":6245,"mw-tooltip/impl/TooltipStore":36170,"mw-table/view/TableView":26735,"mw-table/utils/Throttle":32746,"mw-table/utils/initialization":77022,"mw-table/enums/ErrorEnum":71408,"mw-table/utils/Registration":72435,"mw-table/lifecycle/LifeCycle":16165,"mw-table/lifecycle/BuildComponents":77581,"mw-table/utils/PropManager":65392,"mw-table/utils/TableHelper":99804,"mw-table/utils/TreeTableHelper":26412,"mw-table/view/ComponentFactory":44908,"mw-table/view/HeaderRow":62953,"mw-table/view/utils/DragTracking":19413,"mw-table/view/ColumnHeader":25731,"mw-table/view/ColResizeAffordance":47885,"mw-table/view/utils/ResizeUtils":79097,"mw-table/view/SortAffordance":22005,"mw-table/utils/Sort":58710,"mw-table/view/HeaderMenuAffordance":98763,"mw-table/view/ColumnHeaderIndex":44855,"mw-table/view/DragAffordance":56471,"mw-table/view/utils/DnDColumnUtils":3023,"mw-table/view/utils/DragAffordanceUtils":37632,"mw-table/view/hooks/useDrag":68124,"mw-table/view/DragAffordanceHeader":18566,"mw-table/view/headers/HierarchicalColumnHeaders":56744,"mw-table/view/GroupedColumnHeader":63304,"mw-table/view/EditableColumnHeader":41139,"mw-table/view/SpanningColumnHeader":31921,"mw-table/view/hoc/withContextMenu":60871,"mw-table/view/headers/TopLeftAffordance":81432,"mw-table/view/TableComponent":13199,"mw-table/view/utils/AriaUtils":82386,"mw-table/view/utilcomponent/InsertionLineComponent":69410,"mw-table/view/ScrollComponent":10634,"mw-table/view/context/HeaderContextProvider":16783,"mw-table/view/context/HeaderContext":58738,"mw-table/view/OuterWrapperComponent":3059,"mw-table/view/DisableWrapperComponent":78320,"mw-table/view/RowHeader":22563,"mw-table/view/RowHeaders":18598,"mw-table/view/EditableRowHeader":88723,"mw-table/view/RowHeaderCellWithInteraction":32063,"mw-table/view/RowHeaderCell":47015,"mw-table/view/hoc/withRowSelection":91753,"mw-table/view/IndexCellWithInteraction":19488,"mw-table/view/IndexCell":3474,"mw-table/view/hooks/ScrollNodeIntoView":53319,"mw-table/view/ScrollComponentWithDnDEnabled":7970,"mw-table/view/hoc/withDnDEnabled":33828,"mw-table/view/HeaderRowWithDnDEnabled":90978,"mw-table/view/context/DnDContextProvider":99596,"mw-table/lifecycle/IncomingDataUpdates":65875,"mw-table/lifecycle/Render":31045,"mw-table/lifecycle/InteractionEvents":91624,"mw-table/io/DataSize":54614,"mw-table/io/ViewPortGeom":95857,"mw-table/functional/IOMonad":76505,"report/code_report/Profiling":31734,"report/code_report/navigator":96941,"report/code_report/selector":70631,"report/code_report/search":12598,"report/code_report/highlightor":46381,"report/code_report/reactions":66548,"dijit/form/Button":31512,"dijit/form/_FormWidget":44841,"dijit/form/_FormWidgetMixin":32060,"dijit/form/_ButtonMixin":73314,"dojo/text!dijit/form/templates/Button.html":26628,"dijit/_mw/utils/deprecation":37629,"mw-notifications/Notifications":19614,"mw-notifications/IconAndMessageWidget":38697,"dojo/i18n!mw-notifications/l10n/nls/NotificationsResources":33513,"mw-notifications/l10n/nls/NotificationsResources":41949,"mw-notifications/SVGIconAndMessageWidget":53997,"mw-notifications/BannerWidget":54534,"dojo/fx":98844,"mw-notifications/ProgressBar":75154,"mw-notifications/_ProgressMixin":43627,"dojo/text!mw-notifications/templates/ProgressBar.html":19910,"mw-dialogs/Dialogs":40830,"mw-dialogs/view/Dialog":64697,"dojo/i18n!mw-dialogs/l10n/nls/dialog":23829,"mw-dialogs/l10n/nls/ja-jp/dialog":70134,"mw-dialogs/l10n/nls/ko-kr/dialog":86592,"mw-dialogs/l10n/nls/zh-cn/dialog":37176,"mw-dialogs/l10n/nls/de/dialog":75517,"mw-dialogs/l10n/nls/es/dialog":57276,"mw-dialogs/l10n/nls/fr/dialog":64260,"mw-dialogs/l10n/nls/it/dialog":47059,"mw-dialogs/l10n/nls/dialog":93849,"mw-dialogs/enums/RoleEnum":2993,"mw-dialogs/enums/DialogTypeEnum":58329,"mw-dialogs/controller/DialogController":30106,"mw-dialogs/controller/stopEvent":50760,"mw-dialogs/controller/Draggable":41671,"mw-dialogs/controller/Resizable":24097,"mw-dialogs/view/ButtonBar":32244,"mw-dialogs/ButtonEnum":20790,"mw-dialogs/view/ContentWidget":43732,"mw-dialogs/utils/mixinDijitLifecycleMethods":10630,"mw-dialogs/utils/preventShortCutKeys":37485,"mw-dialogs/utils/SVGIcons":19025,"mw-dialogs/controller/BrowserResizeHandler":91782,"mw-dialogs/controller/Focus":75316,"report/code_report/init":4156,"report/language/tokenizer":66043,"report/language/TK":33065,"report/language/cpp":93307,"CodeMirror/MW/StringStream":49537,"CodeMirror/MW/clike":43840,"report/language/lang":70412,"CodeMirror/MW/CodeMirror":8806,"report/language/cuda":47755,"report/language/xml":77587,"CodeMirror/MW/xml":82959,"report/language/a2l":20907,"report/language/vhdl":45338,"CodeMirror/MW/vhdl":40822,"report/language/hdl":96542,"report/language/verilog":51040,"CodeMirror/MW/verilog":26228,"report/language/systemverilog":84327,"report/language/text":66807,"report/language/parser":16671,"report/code_report/history":64579,"dojo/domReady!":77177}),r.require=x,(self.webpackChunk=self.webpackChunk||[]).registerAbsMids=T,__webpack_require__.dj&&__webpack_require__.dj.name!=="dojo-webpack-plugin")throw new Error("__webpack_require__.dj name collision.");__webpack_require__.dj={name:"dojo-webpack-plugin",r:x,c:a,m:C,h:w,d:u,w:_,u:v};var d=Object.create(r,{document:{value:r.document}});Object.defineProperties(d,{window:{value:d},global:{value:d}}),d.define=d.require=void 0,r.dojoConfig=r.dojoConfig||{};var n=A(r.dojoConfig,{baseUrl:".",packages:[{name:"dojo",location:"release/derived/3p/ui/dojo",lib:"."},{name:"mldo-embedded-client",location:"release/derived/ui/mldo-embedded-client",lib:"."},{name:"custom-elements",location:"release/derived/ui/custom-elements",lib:"."},{name:"lit",location:"release/derived/3p/ui/lit",lib:"."},{name:"mw-widget-api",location:"release/derived/ui/mw-widget-api",lib:"."},{name:"mw-progress-indicator",location:"release/derived/ui/mw-progress-indicator",lib:"."},{name:"mw-log",location:"release/derived/ui/mw-log",lib:"."},{name:"dijit",location:"release/derived/3p/ui/dijit",lib:"."},{name:"mw-utils",location:"release/derived/ui/mw-utils",lib:"."},{name:"cometd",location:"release/derived/3p/ui/cometd",lib:"."},{name:"mw-deprecation-utils",location:"release/derived/ui/mw-deprecation-utils",lib:"."},{name:"mw-html-utils",location:"release/derived/ui/mw-html-utils",lib:"."},{name:"dojox",location:"release/derived/3p/ui/dojox",lib:"."},{name:"mw-remote",location:"release/derived/ui/mw-remote",lib:"."},{name:"mw-statemachine",location:"release/derived/ui/mw-statemachine",lib:"."},{name:"mw-messageservice",location:"release/derived/ui/mw-messageservice",lib:"."},{name:"mw-ddux",location:"release/derived/ui/mw-ddux",lib:"."},{name:"mw-ui-themes",location:"release/derived/ui/mw-ui-themes",lib:"."},{name:"mw-dom-utils",location:"release/derived/ui/mw-dom-utils",lib:"."},{name:"mw-event-utils",location:"release/derived/ui/mw-event-utils",lib:"."},{name:"mw-icons",location:"release/derived/ui/mw-icons",lib:"."},{name:"mw-form",location:"release/derived/ui/mw-form",lib:"."},{name:"mw-alignment",location:"release/derived/ui/mw-alignment",lib:"."},{name:"mw-button",location:"release/derived/ui/mw-button",lib:"."},{name:"mw-dialogs",location:"release/derived/ui/mw-dialogs",lib:"."},{name:"mw-notifications",location:"release/derived/ui/mw-notifications",lib:"."},{name:"mw-browser-utils",location:"release/derived/ui/mw-browser-utils",lib:"."},{name:"mw-login",location:"release/derived/ui/mw-login",lib:"."},{name:"mw-postmessagechannel",location:"release/derived/ui/mw-postmessagechannel",lib:"."},{name:"STIXfonts",location:"release/derived/3p/ui/STIXfonts",lib:"."},{name:"antlrv4-runtime-js",location:"release/derived/3p/ui/antlrv4-runtime-js",lib:"."},{name:"kineticjs",location:"release/derived/3p/ui/kineticjs",lib:"."},{name:"mw-module-loader",location:"release/derived/ui/mw-module-loader",lib:"."},{name:"put-selector",location:"release/derived/3p/ui/put-selector",lib:"."},{name:"xstyle",location:"release/derived/3p/ui/xstyle",lib:"."},{name:"mw-clipboard",location:"release/derived/ui/mw-clipboard",lib:"."},{name:"mw-navigationbar",location:"release/derived/ui/mw-navigationbar",lib:"."},{name:"mw-scrollbar-slider",location:"release/derived/ui/mw-scrollbar-slider",lib:"."},{name:"mw-perf",location:"release/derived/ui/mw-perf",lib:"."},{name:"mw-lock",location:"release/derived/ui/mw-lock",lib:"."},{name:"filesystem-js-utils",location:"release/toolbox/matlab/filesystem/js_utils/js",lib:"."},{name:"filesystem-events",location:"release/toolbox/matlab/filesystem/events/js",lib:"."},{name:"mw-gesture",location:"release/derived/ui/mw-gesture",lib:"."},{name:"ui_core_utils",location:"release/ui/core/utils/js",lib:"."},{name:"element_core",location:"release/ui/core/element_core/js",lib:"."},{name:"searchfield",location:"release/ui/search/searchfield/js",lib:"."},{name:"prefdir",location:"release/toolbox/matlab/prefdir_service/src/js/prefdir",lib:"."},{name:"react",location:"release/derived/3p/ui/react",lib:"."},{name:"mw-filename-utils",location:"release/derived/ui/mw-filename-utils",lib:"."},{name:"popper",location:"release/derived/3p/ui/popper",lib:"."},{name:"Tippy",location:"release/derived/3p/ui/Tippy",lib:"."},{name:"mw-tooltip",location:"release/derived/ui/mw-tooltip",lib:"."},{name:"mw-deferred-utils",location:"release/derived/ui/mw-deferred-utils",lib:"."},{name:"mw-peermodel",location:"release/derived/ui/mw-peermodel",lib:"."},{name:"regenerator-runtime",location:"release/derived/3p/ui/regenerator-runtime",lib:"."},{name:"mw-promise",location:"release/derived/ui/mw-promise",lib:"."},{name:"uuid",location:"release/derived/3p/ui/uuid",lib:"."},{name:"lodash",location:"release/derived/3p/ui/lodash",lib:"."},{name:"object-hash",location:"release/derived/3p/ui/object-hash",lib:"."},{name:"performance",location:"release/derived/toolbox/performance/web",lib:"."},{name:"mf0",location:"release/derived/toolbox/modeling/mf0/web",lib:"."},{name:"mf0_sync",location:"release/derived/toolbox/modeling/mf0_sync/web",lib:"."},{name:"mw-binarystream",location:"release/derived/ui/mw-binarystream",lib:"."},{name:"viewmodel_zml",location:"release/toolbox/shared/viewmodel/zml/json",lib:"."},{name:"mw-popout",location:"release/derived/ui/mw-popout",lib:"."},{name:"maven_component_ui",location:"release/derived/ui/maven_component_ui",lib:"."},{name:"mw-slider",location:"release/derived/ui/mw-slider",lib:"."},{name:"mw-mda",location:"release/derived/toolbox/mw_mda",lib:"."},{name:"settings",location:"release/toolbox/matlab/settings_service/src/js/settings",lib:"."},{name:"sidebar",location:"release/ui/layout/sidebar/js",lib:"."},{name:"mw-actiondataservice",location:"release/derived/ui/mw-actiondataservice",lib:"."},{name:"mw-dnd",location:"release/derived/ui/mw-dnd",lib:"."},{name:"dgrid",location:"release/derived/3p/ui/dgrid",lib:"."},{name:"cajsservice",location:"release/toolbox/matlab/codeanalysis/jsapi/cajsservice",lib:"."},{name:"mw-store-utils",location:"release/derived/ui/mw-store-utils",lib:"."},{name:"filesystem-datamodel-base",location:"release/derived/toolbox/matlab/filesystem/datamodel/base",lib:"."},{name:"reflectionserviceAPI",location:"release/toolbox/matlab/reflectionserviceAPI",lib:"."},{name:"commandwindowservices",location:"release/toolbox/matlab/commandwindowservices",lib:"."},{name:"mw-fctrl",location:"release/ui/fctrl/fctrl_js-lib",lib:"."},{name:"mw-mvm",location:"release/toolbox/mvm_javascript/mw-mvm/mw-mvm-lib",lib:"."},{name:"userexecutionservice",location:"release/toolbox/matlab/userexecutionservice",lib:"."},{name:"registration_framework_js",location:"release/toolbox/matlab/registration_framework/reg_fw_js",lib:"."},{name:"mw-app-module-plugins",location:"release/ui/app-module-plugins/mw-app-module-plugins",lib:"."},{name:"filesystem-datamodel-sourcecontrol",location:"release/derived/toolbox/matlab/filesystem/datamodel/sourcecontrol",lib:"."},{name:"fsui-config",location:"release/toolbox/matlab/filesystem/fsui_config/js",lib:"."},{name:"mw-dialog-utils",location:"release/derived/ui/mw-dialog-utils",lib:"."},{name:"mw-keybindings",location:"release/derived/ui/mw-keybindings",lib:"."},{name:"mw-filebrowser",location:"release/derived/ui/mw-filebrowser",lib:"."},{name:"filesystem_services",location:"release/toolbox/matlab/filesystem/services/client",lib:"."},{name:"mw-event-emitter",location:"release/derived/ui/mw-event-emitter",lib:"."},{name:"viewmodel",location:"release/toolbox/shared/viewmodel/web/viewmodel",lib:"."},{name:"spinner",location:"release/derived/3p/ui/spinner",lib:"."},{name:"mw-datepicker",location:"release/derived/ui/mw-datepicker",lib:"."},{name:"mw-webwindow-dialogs",location:"release/derived/ui/mw-webwindow-dialogs",lib:"."},{name:"editor_application_interface",location:"release/toolbox/matlab/editor/application_interface/js",lib:"."},{name:"mw-overlay-utils",location:"release/derived/ui/mw-overlay-utils",lib:"."},{name:"mw-dom-snapshot-utils",location:"release/derived/ui/mw-dom-snapshot-utils",lib:"."},{name:"mw-colorpicker",location:"release/derived/ui/mw-colorpicker",lib:"."},{name:"mw-string-utils",location:"release/derived/ui/mw-string-utils",lib:"."},{name:"mw-icons-store",location:"release/ui/icons",lib:"."},{name:"webwidgets_css",location:"release/ui/webwidgets/src/css",lib:"."},{name:"images",location:"release/ui/webwidgets/src/images",lib:"."},{name:"MW",location:"release/ui/webwidgets/src/js/MW",lib:"."},{name:"l10n",location:"release/ui/webwidgets/src/l10n",lib:"."},{name:"mw-help-staticcontent",location:"release/toolbox/matlab/helptools_js/help_static_content/mw-help-staticcontent",lib:"."},{name:"htmltext",location:"release/ui/lightweightbrowser/htmltext/htmltext",lib:"."},{name:"InstallServiceHandler",location:"release/install/installservicehandler/web/installservicehandler",lib:"."},{name:"matlab_login",location:"release/toolbox/matlab/matlab_login/web/matlab_login",lib:"."},{name:"svg-intersections",location:"release/derived/3p/ui/svg-intersections",lib:"."},{name:"webfontloaderjs",location:"release/derived/3p/ui/webfontloaderjs",lib:"."},{name:"mw-data-model",location:"release/derived/ui/mw-data-model",lib:"."},{name:"equationrenderercore",location:"release/toolbox/matlab/equation_renderer_core/js",lib:"."},{name:"mw-draganddrop",location:"release/derived/ui/mw-draganddrop",lib:"."},{name:"mw-tabular-data-model",location:"release/derived/ui/mw-tabular-data-model",lib:"."},{name:"datatoolsservices",location:"release/toolbox/matlab/datatools/datatoolsservices/js/datatoolsservices/src",lib:"."},{name:"hmishared",location:"release/toolbox/shared/appdes/web/js/MW/hmishared",lib:"."},{name:"mw-tristate-checkbox",location:"release/derived/ui/mw-tristate-checkbox",lib:"."},{name:"prop-types",location:"release/derived/ui/prop-types",lib:"."},{name:"mw-tree-data-model",location:"release/derived/ui/mw-tree-data-model",lib:"."},{name:"mw-treetable-data-model",location:"release/derived/ui/mw-treetable-data-model",lib:"."},{name:"mw-table",location:"release/derived/ui/mw-table",lib:"."},{name:"mw-facade",location:"release/derived/ui/mw-facade",lib:"."},{name:"rendererseditors",location:"release/toolbox/matlab/datatools/rendererseditors/js/rendererseditors",lib:"."},{name:"variableeditor_client",location:"release/toolbox/matlab/datatools/variableeditor/js/client/variableeditor_client",lib:"."},{name:"mw-label",location:"release/derived/ui/mw-label",lib:"."},{name:"findandreplace-ui",location:"release/ui/find_and_replace/findandreplace-ui",lib:"."},{name:"graphics_webservices",location:"release/toolbox/matlab/graphics/core/webservices/webservices",lib:"."},{name:"componentframework",location:"release/toolbox/matlab/uitools/componentframeworkjs",lib:"."},{name:"gbtshared",location:"release/toolbox/matlab/uitools/sharedjs",lib:"."},{name:"webimage-lib",location:"release/toolbox/shared/webimage/webimage-lib",lib:"."},{name:"graphics_textutilities",location:"release/toolbox/matlab/graphics/core/textutilities/textutilities",lib:"."},{name:"mw-form-utils",location:"release/derived/ui/mw-form-utils",lib:"."},{name:"mw-checkbox",location:"release/derived/ui/mw-checkbox",lib:"."},{name:"configmanager",location:"release/toolbox/matlab/configmanager/js",lib:"."},{name:"executionstateservice",location:"release/toolbox/matlab/executionstateservice",lib:"."},{name:"systeminfoservice",location:"release/toolbox/matlab/systeminfoservice",lib:"."},{name:"busyidleservice",location:"release/toolbox/matlab/busyidleservice",lib:"."},{name:"fonts-lib",location:"release/ui/fonts/fonts-lib",lib:"."},{name:"mw-help-csh-base",location:"release/toolbox/matlab/helptools_js/csh_base/mw-help-csh-base",lib:"."},{name:"mw-help-csh",location:"release/toolbox/matlab/helptools_js/csh/mw-help-csh",lib:"."},{name:"keyboard_shortcuts",location:"release/toolbox/matlab/keyboard_shortcuts/client",lib:"."},{name:"matlab_shortcuts",location:"release/toolbox/matlab/matlab_shortcuts/js",lib:"."},{name:"mw-embedservice",location:"release/derived/ui/mw-embedservice",lib:"."},{name:"fileanalysis_service",location:"release/toolbox/matlab/file_analysis_service/js",lib:"."},{name:"code_analyzer_ui_utils",location:"release/toolbox/matlab/editor/code_analyzer_ui_utils",lib:"."},{name:"equations",location:"release/toolbox/matlab/rich_text_component/src/js/equations",lib:"."},{name:"rtc",location:"release/toolbox/matlab/rich_text_component/src/js/rtc",lib:"."},{name:"graphics",location:"release/toolbox/matlab/graphics/core/web/web/scene/js/MW/graphics",lib:"."},{name:"gbtcomponents",location:"release/toolbox/matlab/uitools/componentsjs",lib:"."},{name:"variableeditor_peer",location:"release/toolbox/matlab/datatools/variableeditor/js/peer/variableeditor_peer",lib:"."},{name:"importtool_client",location:"release/toolbox/matlab/datatools/importtool/js/client/importtool_client",lib:"."},{name:"importtool_peer",location:"release/toolbox/matlab/datatools/importtool/js/peer/importtool_peer",lib:"."},{name:"desktop_importtool",location:"release/toolbox/matlab/datatools/desktop_importtool/desktop_importtool",lib:"."},{name:"desktop_variableeditor",location:"release/toolbox/matlab/datatools/desktop_variableeditor/js",lib:"."},{name:"mw-staticcontent",location:"release/toolbox/matlab/connector2/staticcontent/web/mw-staticcontent",lib:"."},{name:"mw-serviceframework",location:"release/derived/ui/mw-serviceframework",lib:"."},{name:"mw-value-engine",location:"release/derived/ui/mw-value-engine",lib:"."},{name:"mw-storage-service",location:"release/derived/ui/mw-storage-service",lib:"."},{name:"pathdataservice-js",location:"release/toolbox/matlab/pathdataservice/pathdataservice-js",lib:"."},{name:"findfiles-ui",location:"release/toolbox/matlab/findfiles/js/findfiles-ui",lib:"."},{name:"mw-diff",location:"release/toolbox/shared/comparisons/web/mw-diff/mw-diff",lib:"."},{name:"addons_desktop_registration-ui",location:"release/toolbox/matlab/addons_desktop_registration/web/addons_desktop_registration/addons_desktop_registration-ui",lib:"."},{name:"htmlviewer-ui",location:"release/toolbox/matlab/htmlviewer/web/htmlviewer/htmlviewer-ui",lib:"."},{name:"Vuejs",location:"release/derived/ui/Vuejs",lib:"."},{name:"helpwin-ui",location:"release/ui/help/helpwin/helpwin-ui",lib:"."},{name:"markdown-it",location:"release/derived/ui/markdown-it",lib:"."},{name:"richtextdoc-ui",location:"release/ui/help/richtextdoc/richtextdoc-ui",lib:"."},{name:"examplemanager",location:"release/toolbox/matlab/helptools/examplemanager/examplemanager",lib:"."},{name:"THREE",location:"release/derived/3p/ui/threejs",lib:"."},{name:"webscopes",location:"release/toolbox/shared/spcuilib/jswebscopes/js",lib:"."},{name:"uitest",location:"release/toolbox/matlab/testframework/uiautomation_web/uitest",lib:"."},{name:"mw-tree",location:"release/derived/ui/mw-tree",lib:"."},{name:"visualcomponents",location:"release/toolbox/matlab/uicomponents/web/components",lib:"."},{name:"uicomponents_plugin_uifigure",location:"release/toolbox/matlab/uicomponents/web/plugin/uifigure",lib:"."},{name:"mw-style-utils",location:"release/derived/ui/mw-style-utils",lib:"."},{name:"variableeditor",location:"release/toolbox/matlab/codetools/uicomponents/web/datatools/variableeditor/js",lib:"."},{name:"desktop_workspacebrowser",location:"release/toolbox/matlab/datatools/desktop_workspacebrowser/js",lib:"."},{name:"inspector_server",location:"release/toolbox/matlab/datatools/inspector/matlab",lib:"."},{name:"inspector_client",location:"release/toolbox/matlab/datatools/inspector/js/client/inspector_client",lib:"."},{name:"rtcintegration",location:"release/toolbox/matlab/rtc_integration/js",lib:"."},{name:"inspector_peer",location:"release/toolbox/matlab/datatools/inspector/js/peer/inspector_peer",lib:"."},{name:"datatools_plugin_uifigure",location:"release/toolbox/matlab/datatools/uicomponents/js",lib:"."},{name:"aerocomponents",location:"release/toolbox/aero/aeroshared/web/aerocomponents",lib:"."},{name:"aerocomponents_plugin_uifigure",location:"release/toolbox/aero/aeroshared/web/plugin/uifigure",lib:"."},{name:"gbtcomponents_plugin_uifigure",location:"release/toolbox/matlab/uitools/componentspluginjs",lib:"."},{name:"dspwebscopes",location:"release/toolbox/shared/dsp/webscopes/dspwebscopesutils/js",lib:"."},{name:"timescope",location:"release/toolbox/shared/dsp/webscopes/mltimescope/web/timescope/timescope",lib:"."},{name:"uitimescope",location:"release/toolbox/matlab/uiscopes/uitimescope/web/uitimescope/js",lib:"."},{name:"uiscopes_plugin_uifigure",location:"release/toolbox/matlab/uiscopes/plugin/web/uifigure",lib:"."},{name:"rtc_plugin_uifigure",location:"release/toolbox/matlab/rich_text_component/rtc_figure_integration/web/plugin/uifigure",lib:"."},{name:"gbtfigure-lib",location:"release/toolbox/matlab/uitools/figurelibjs/js",lib:"."},{name:"gbtdivfigure",location:"release/toolbox/matlab/uitools/divfigurejs/js",lib:"."},{name:"D3js",location:"release/derived/ui/D3js",lib:"."},{name:"matlab_toolbox_indentcode",location:"release/toolbox/matlab/indentcode/web/matlab_toolbox_indentcode",lib:"."},{name:"datatools-cfb-preview",location:"release/toolbox/matlab/datatools/matlab_integration/cfb/js/datatools_cfb_preview/datatools_cfb_preview",lib:"."},{name:"filechooser-ui",location:"release/toolbox/matlab/filechooser/filechooser-ui",lib:"."},{name:"file_chooser_service_js",location:"release/toolbox/matlab/file_chooser/service/file_chooser_service_js",lib:"."},{name:"analyzerrpt-ui",location:"release/toolbox/matlab/codeanalysis/analyzerrpt/web/analyzerrpt/analyzerrpt-ui",lib:"."},{name:"datatools_cfbactions-ui",location:"release/toolbox/matlab/datatools/matlab_integration/cfbactions/datatools_cfbactions-ui",lib:"."},{name:"mldatx_file_label_filter_plugin",location:"release/toolbox/shared/mldatx/file_label_filter_plugin/js/mldatx_file_label_filter_plugin",lib:"."},{name:"mldatx_file_preview_plugin",location:"release/toolbox/shared/mldatx/file_preview_plugin/js/mldatx_file_preview_plugin",lib:"."},{name:"computils-ui",location:"release/toolbox/shared/computils/view_web/computils-ui",lib:"."},{name:"cmlink-util-ui",location:"release/toolbox/shared/cmlink/view/util_web/cmlink-util-ui",lib:"."},{name:"filebrowser_utils-ui",location:"release/toolbox/matlab/filebrowser_utils/filebrowser_utils-ui",lib:"."},{name:"mw-radio",location:"release/derived/ui/mw-radio",lib:"."},{name:"computils-shared",location:"release/toolbox/shared/computils/shared_web",lib:"."},{name:"clone",location:"release/toolbox/shared/cmlink/view/clone_web/clone-lib",lib:"."},{name:"cmlink-credentials-lib",location:"release/toolbox/shared/cmlink/view/credentials_web/cmlink-credentials-lib",lib:"."},{name:"cmlink-core-ui",location:"release/toolbox/shared/cmlink/view/core_web/cmlink-core-ui",lib:"."},{name:"richcontent_preview_plugin",location:"release/toolbox/matlab/richcontent_preview/js/richcontent_preview_plugin",lib:"."},{name:"mldriveecjsservices",location:"release/toolbox/matlab/storage/mldriveecservices/client",lib:"."},{name:"mldosharing-js",location:"release/toolbox/matlab/mldosharing/js/mldosharing-js",lib:"."},{name:"matlab_sourcecontrol_javascript-ui",location:"release/toolbox/matlab/matlab_sourcecontrol_javascript/matlab_sourcecontrol_javascript-ui",lib:"."},{name:"matlabdrive_js",location:"release/toolbox/matlab/storage/mldrivejsplugins/matlabdrive_js/matlabdrive_js",lib:"."},{name:"share_folder_preview",location:"release/toolbox/matlab/storage/mldrivejsplugins/share_folder_preview/js",lib:"."},{name:"sharing_actions",location:"release/toolbox/matlab/storage/mldrivejsplugins/sharing_actions/sharing_actions",lib:"."},{name:"tripwire_button",location:"release/toolbox/matlab/storage/mldrivejsplugins/tripwire_button/tripwire_button",lib:"."},{name:"packagedataservice-lib",location:"release/toolbox/matlab/packagedataservice/web/packagedataservice-lib",lib:"."},{name:"folder_icon_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_icon_plugin/impl",lib:"."},{name:"folder_label_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_label_plugin/impl",lib:"."},{name:"folder_preview_plugin",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/folder_preview_plugin/impl",lib:"."},{name:"filetype_plugin_utils",location:"release/toolbox/matlab/filesystem/default_filetype_plugins/utils",lib:"."},{name:"currentfolderbrowser-ui",location:"release/toolbox/matlab/currentfolderbrowser/currentfolderbrowser-ui",lib:"."},{name:"mlc",location:"release/toolbox/coder/coder/web/mlc",lib:"."},{name:"mlc-lib",location:"release/toolbox/coder/coder/web/mlc-lib",lib:"."},{name:"mlc-resources",location:"release/toolbox/coder/coder/web/mlc-resources",lib:"."},{name:"reportviewer",location:"release/toolbox/coder/coder/web/reportviewer/reportviewer",lib:"."},{name:"CodeMirror",location:"release/derived/ui/CodeMirror",lib:"."},{name:"rtcaddon_legacylanguagesupport",location:"release/toolbox/matlab/rtc_addons/shared/legacylanguagesupport/js",lib:"."},{name:"rtcaddon_modernlanguagesupport",location:"release/toolbox/matlab/rtc_addons/shared/modernlanguagesupport/js",lib:"."},{name:"rtc_c_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_clike_language_support/c/src",lib:"."},{name:"rtc_cpp_language_support",location:"release/toolbox/matlab/rtc_addons/rtclanguagesupport/rtc_clike_language_support/cpp/src",lib:"."},{name:"coderapp-form",location:"release/toolbox/coder/coderapp/form/web/coderapp-form",lib:"."},{name:"coderapp_jsbuild",location:"release/toolbox/coder/coderapp/buildtools/jsbuild",lib:"."},{name:"coderapp-common",location:"release/toolbox/coder/coderapp/common/web/coderapp-common",lib:"."},{name:"coderapp-resources",location:"release/toolbox/coder/coderapp/common/web/coderapp-resources",lib:"."},{name:"coderapp_screener_ui",location:"release/toolbox/coder/coderapp/screener/web/coderapp_screener_ui",lib:"."},{name:"mm_tree_node_ui",location:"release/src/mm_tree_node/web/mm_tree_node_ui",lib:"."},{name:"mdomMetamodel",location:"release/derived/toolbox/mdom/metamodels",lib:"."},{name:"slexec_mm_display-derived",location:"release/derived/toolbox/simulink/timinglegend",lib:"."},{name:"sidepanel-ui",location:"release/toolbox/matlab/graphics/figuredatatools/sidepanel/sidepanel-ui",lib:"."},{name:"widgets",location:"release/toolbox/matlab/datatools/widgets/js/widgets",lib:"."},{name:"mw-text-field",location:"release/derived/ui/mw-text-field",lib:"."},{name:"codingui",location:"release/toolbox/matlab/rtc_addons/shared/codingui/js",lib:"."},{name:"livecontrol",location:"release/toolbox/matlab/rtc_addons/livecontrol/js",lib:"."},{name:"livetask",location:"release/toolbox/matlab/rtc_addons/livetask/js",lib:"."},{name:"computils_mockfilechooser",location:"release/toolbox/shared/computils/mockfilechooser/js/computils_mockfilechooser",lib:"."},{name:"gbtclient",location:"release/toolbox/matlab/uitools/uifigureappjs/js",lib:"."},{name:"livecode_saveload",location:"release/toolbox/matlab/livecode/saveload",lib:"."},{name:"common_serialization",location:"release/toolbox/matlab/editor/common/serialization/js",lib:"."},{name:"navigation_services",location:"release/toolbox/matlab/editor/navigation/services/client",lib:"."},{name:"common_features",location:"release/toolbox/matlab/editor/common/features/js",lib:"."},{name:"livecode_features",location:"release/toolbox/matlab/editor/livecode/features/js",lib:"."},{name:"livecodewidget",location:"release/toolbox/matlab/editor/livecode/widget/js",lib:"."},{name:"plaincode_saveload",location:"release/toolbox/matlab/rtc_addons/rtcsaveload/plaincode",lib:"."},{name:"mw-diff3",location:"release/toolbox/comparisons/view/web3/mw-diff3/mw-diff3",lib:"."},{name:"analyzer",location:"release/toolbox/matlab/system/editor/analyzer/analyzer",lib:"."},{name:"codegenwidget-ui",location:"release/toolbox/matlab/graphics/figuredatatools/codegenwidget/codegenwidget-ui",lib:"."},{name:"gbtfigure_uicontainer",location:"release/toolbox/matlab/uitools/figureuicontainerjs/js",lib:"."},{name:"mw-webwindow",location:"release/toolbox/matlab/connector2/webwindow/web/mw-webwindow",lib:"."},{name:"toolstrip",location:"release/toolbox/matlab/toolstrip/web",lib:"."},{name:"appcontainer",location:"release/toolbox/matlab/appcontainer/web/appcontainer_ui",lib:"."},{name:"ActionHandlers",location:"release/derived/ui/mw-diagnostic-widgets/ActionHandlers",lib:"."},{name:"DV",location:"release/derived/ui/mw-diagnostic-widgets/DV",lib:"."},{name:"DiagnosticObj",location:"release/derived/ui/mw-diagnostic-widgets/DiagnosticObj",lib:"."},{name:"compositeDVWidget",location:"release/derived/ui/mw-diagnostic-widgets/compositeDVWidget",lib:"."},{name:"mdom",location:"release/toolbox/mdom/web/mdom",lib:"."},{name:"rtcaddon_simulink_requirements",location:"release/toolbox/matlab/rtc_addons/vnv/req/js",lib:"."},{name:"plaincode_features",location:"release/toolbox/matlab/editor/plaincode/features/js",lib:"."},{name:"maplibre-gl-js",location:"release/derived/3p/ui/maplibre-gl-js",lib:"."},{name:"gridstack",location:"release/derived/3p/ui/gridstack",lib:"."},{name:"mw-dynamic-grid",location:"release/derived/ui/mw-dynamic-grid",lib:"."},{name:"PMP",location:"release/ui/pmp/main",lib:"."},{name:"AxesView",location:"release/toolbox/shared/sdi/web/AxesView/js",lib:"."},{name:"SDI2",location:"release/toolbox/shared/sdi/web/MainView/SDI2",lib:"."},{name:"TableView",location:"release/toolbox/shared/sdi/web/TableView/js",lib:"."},{name:"diagnostic-viewer",location:"release/derived/ui/diagnostic-viewer",lib:"."},{name:"report",location:"release/toolbox/coder/simulinkcoder_app/report/web/report",lib:"."},{name:"installer_login",location:"release/install/components/installer_login/web/installer_login",lib:"."},{name:"supportsoftwareinstaller",location:"release/install/components/supportsoftwareinstaller/web",lib:"."},{name:"installjscommon",location:"release/install/components/installjscommon/web/installjscommon",lib:"."},{name:"supportsoftwareclient",location:"release/install/components/supportsoftwareclient/web/supportsoftwareclient",lib:"."},{name:"appdesigner_build",location:"release/toolbox/matlab/appdesigner/appdesigner/build",lib:"."},{name:"equation_renderer-ui",location:"release/toolbox/shared/mlreportgen/widgets/equation/js/equation_renderer-ui",lib:"."},{name:"mlapp_actions",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_actions/mlapp_actions",lib:"."},{name:"mlapp_preview",location:"release/toolbox/matlab/appdesigner/matlab_integration/cfb/mlapp_preview/mlapp_preview",lib:"."},{name:"project-util-ui",location:"release/toolbox/matlab/project/views/util_web/project-util-ui",lib:"."},{name:"dependency-refactoring",location:"release/toolbox/matlab/dependency/refactoring/web/dependency-refactoring",lib:"."},{name:"matlab_login_framework",location:"release/toolbox/matlab/matlab_login_framework/web/matlab_login_framework",lib:"."},{name:"addonsdetail-ui",location:"release/toolbox/matlab/addons_detail/addonsdetail-ui",lib:"."},{name:"addonssidepanel-ui",location:"release/toolbox/matlab/addons_sidepanel/addonssidepanel-ui",lib:"."},{name:"addons-ui",location:"release/toolbox/matlab/addons/addons-ui",lib:"."},{name:"dependency-widget-progress",location:"release/toolbox/matlab/dependency/widget/progress_web/dependency-widget-progress",lib:"."},{name:"mw-oauth-client",location:"release/derived/ui/mw-oauth-client",lib:"."},{name:"addressbar-ui",location:"release/toolbox/matlab/addressbar/addressbar-ui",lib:"."},{name:"project-fromfile-ui",location:"release/toolbox/matlab/project/views/fromfile_web/project-fromfile-ui",lib:"."},{name:"dagre",location:"release/derived/3p/ui/dagre",lib:"."},{name:"vor",location:"release/derived/toolbox/modeling/vor/web",lib:"."},{name:"wigl",location:"release/derived/toolbox/diagram/editor/web/transpiled",lib:"."},{name:"export-ui",location:"release/toolbox/diagram/editor/web/export/export-ui",lib:"."},{name:"dependency-app",location:"release/toolbox/matlab/dependency/app/web/dependency-app",lib:"."},{name:"project-open-ui",location:"release/toolbox/matlab/project/views/open_web/project-open-ui",lib:"."},{name:"project-creation",location:"release/toolbox/matlab/project/views/creation_web/project-creation",lib:"."},{name:"project-action-ui",location:"release/toolbox/matlab/project/views/action_web/project-action-ui/project-action-ui",lib:"."},{name:"project-file-ui",location:"release/toolbox/matlab/project/views/file_web/project-file-ui",lib:"."},{name:"project-issues-ui",location:"release/toolbox/matlab/project/views/issues_web/project-issues-ui",lib:"."},{name:"project-cfbaction-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-action/project-cfbaction-ui",lib:"."},{name:"project-cfbextension-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-extension/project-cfbextension-ui",lib:"."},{name:"project-cfbicon-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-icon/project-cfbicon-ui",lib:"."},{name:"project-cfbpreview-ui",location:"release/toolbox/matlab/project/cfbfileinfoplugin/web-preview/project-cfbpreview-ui",lib:"."},{name:"project-store-lib",location:"release/toolbox/matlab/project/views/store_web/project-store-lib",lib:"."},{name:"project-core-ui",location:"release/toolbox/matlab/project/views/core_web/project-core-ui",lib:"."},{name:"project-sharing-validation",location:"release/toolbox/matlab/project/sharing/validationview_web",lib:"."},{name:"project-sharing-widgets",location:"release/toolbox/matlab/project/sharing/widgets_web",lib:"."},{name:"project-checks-ui",location:"release/toolbox/matlab/project/views/checks_web/project-checks-ui",lib:"."},{name:"project-sharing-toarchive",location:"release/toolbox/matlab/project/sharing/toarchive_web",lib:"."},{name:"project-references-ui",location:"release/toolbox/matlab/project/views/references_web/project-references-ui",lib:"."},{name:"livecode_serialization",location:"release/toolbox/matlab/editor/livecode/serialization/js",lib:"."},{name:"mw-server-to-client",location:"release/ui/mw-server-to-client/mw-server-to-client",lib:"."},{name:"liveeditor",location:"release/toolbox/matlab/editor/application/js",lib:"."},{name:"project-sharing-togithub",location:"release/toolbox/matlab/project/sharing/github_web",lib:"."},{name:"project-sharing-profiles",location:"release/toolbox/matlab/project/sharing/profilesview_web/project-sharing-profiles",lib:"."},{name:"project-customtasks-ui",location:"release/toolbox/matlab/project/views/customtasks_web/project-customtasks-ui",lib:"."},{name:"codefileviewer_shared",location:"release/toolbox/matlab/codefileviewer/shared/shared",lib:"."},{name:"plaincodefileviewer",location:"release/toolbox/matlab/codefileviewer/plaincode/widget",lib:"."},{name:"livecodefileviewer",location:"release/toolbox/matlab/codefileviewer/livecode/widget",lib:"."},{name:"web",location:"release/toolbox/matlab/codefileviewer/standalone/web/js",lib:"."},{name:"sourcecontrol-ui",location:"release/toolbox/matlab/sourcecontrol/sourcecontrol-ui",lib:"."},{name:"graderui-adapter",location:"release/derived/toolbox/grader/views/graderui-adapter",lib:"."},{name:"graderpanel-lib",location:"release/toolbox/grader/views/panel/graderpanel-lib",lib:"."},{name:"classbrowser-ui",location:"release/toolbox/classdiagram/classbrowser/classbrowser-ui",lib:"."},{name:"editor-ui",location:"release/toolbox/classdiagram/editor/editor-ui",lib:"."},{name:"sf_file_action_plugin",location:"release/toolbox/stateflow/sf_file_preview_plugin/js-action/sf_file_action_plugin",lib:"."},{name:"sf_file_preview_plugin",location:"release/toolbox/stateflow/sf_file_preview_plugin/js-preview/sf_file_preview_plugin",lib:"."},{name:"mw-titlepane",location:"release/derived/ui/mw-titlepane",lib:"."},{name:"matlab_maps_vectortileviewer",location:"release/toolbox/matlab/maps/vectortileviewer/vectortileviewer",lib:"."},{name:"inspector_editors-lib",location:"release/toolbox/matlab/datatools/inspector/editors/js/inspector_editors/inspector_editors-lib",lib:"."},{name:"preprocessing",location:"release/toolbox/matlab/datatools/preprocessing/js",lib:"."},{name:"cmlink-jni-lib",location:"release/toolbox/shared/cmlink/view/jni_web/cmlink-jni-lib",lib:"."},{name:"cmlink-svn-lib",location:"release/toolbox/shared/cmlink/view/svn_web/cmlink-svn-lib",lib:"."},{name:"cmlink-git-lib",location:"release/toolbox/shared/cmlink/view/git_web/cmlink-git-lib",lib:"."},{name:"cmlink-action-ui",location:"release/toolbox/shared/cmlink/view/action_web/cmlink-action-ui/cmlink-action-ui",lib:"."},{name:"git_blame_addon",location:"release/toolbox/shared/cmlink/view/editor/addons/git_blame_addon/js",lib:"."},{name:"slcoderRpt",location:"release/toolbox/coder/simulinkcoder_app/slcoderRpt/src/slcoderRpt_js/slcoderRpt",lib:"."}],deps:["bootstrap"],async:!1,has:{"config-deferredInstrumentation":!1},supportedLocales:["ja-jp","ko-kr","zh-cn","en-us"]}),i={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1}},o=__webpack_require__(34964);o.call(d,n,i,d,d),Object.keys(d.require.packs).forEach(function(s){var l=d.require.packs[s];(/(^\/)|(\:)/.test(l.main)||l.main.split("/").reduce(function(p,E){return p<0||E==="."?p:E===".."?--p:++p},0)<=0)&&typeof l.realMain>"u"&&(l.realMain=l.main,l.main="")});function c(s,l){var p=d.require.originalToAbsMid(s,l);if(p.indexOf("/")===p.length-1){var E=p.substring(0,p.length-1),m=d.require.packs[E];m&&m.realMain&&(p=E)}return p}function e(s,l){var p=d.require.originalToUrl(s,l),E=d.require.packs[s];if(E&&E.realMain){var m=p.split("?");/(^\/)|(\:)/.test(E.realMain)?m[0]=E.realMain:m[0]=m[0]+"/"+E.realMain,p=m.join("?")}return p}d.require.originalToAbsMid=d.require.toAbsMid,d.require.originalToUrl=d.require.toUrl,d.require.toAbsMid=c,d.require.toUrl=e,["baseUrl","has","rawConfig","on","signal"].forEach(function(s){x[s]=d.require[s]});var t=r.webpackChunk.absMidsWaiting;t&&(t.forEach(T),delete r.webpackChunk.absMidsWaiting)}(),__webpack_require__.p="release/",__webpack_require__.nc=void 0;var __webpack_exports__=__webpack_require__(16823)})();