UNPKG

@lifeart/gxt

Version:

<img align="right" width="95" height="95" alt="Philosopher’s stone, logo of PostCSS" src="./public/logo.png">

2 lines (1 loc) • 22.1 kB
function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e){return"number"==typeof e&&2===arguments.length?this:r(e,0)}function r(e,t,i){let o=!1;switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(A(e)){o=!0;break}if(e.toString===C||void 0===e.toString)break;return e.toString();case"function":return e.toString===R?e.name?`[Function:${e.name}]`:"[Function]":e.toString();case"string":return k(e);default:return e.toString()}if(void 0===i)i=/* @__PURE__ */new WeakSet;else if(i.has(e))return"[Circular]";return i.add(e),o?function(e,t,n){if(t>4)return"[Array]";let i="[";for(let o=0;o<e.length;o++){if(i+=0===o?" ":", ",o>=x){i+=`... ${e.length-x} more items`;break}i+=r(e[o],t,n)}return i+=" ]",i}(e,t+1,i):function(e,t,i){if(t>4)return"[Object]";let o="{",s=S(e);for(let u=0;u<s.length;u++){if(o+=0===u?" ":", ",u>=x){o+=`... ${s.length-x} more keys`;break}let a=s[u];o+=`${n(a+"")}: ${r(e[a],t,i)}`}return o+=" }",o}(e,t+1,i)}function n(e){return O.test(e)?e:k(e)}function i(e){if(D.has(e))return D.get(e);const t=++M+"";return D.set(e,t),t}function o(e){return new Proxy({},{get:(t,r)=>(console.log(e,r),o(`${e}.${r}`))})}import{P as s,T as u,u as a,C as l,v as c,R as h,w as p,x as f,$ as d,y as m,z as g,A as _,M as v}from"./vm-CFZXVoe9.js";import{a3 as y,a4 as b,a5 as E,a6 as T}from"./dom-BiflCx2O.js";var w,N={};const I=/*@__PURE__*/e(function(){function e(e){if("function"==typeof Promise){var t=Promise.resolve();return function(){return t.then(e)}}if("function"==typeof MutationObserver){var r=0,n=new MutationObserver(e),i=document.createTextNode("");return n.observe(i,{characterData:!0}),function(){return r=++r%2,i.data=""+r,r}}return function(){return p(e,0)}}function t(t){var r=f;return{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)},now:function(){return Date.now()},next:e(t),clearNext:r}}function r(e){var t=typeof e;return"number"===t&&e==e||"string"===t&&d.test(e)}function n(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function i(e,t,r){for(var n=-1,i=0,o=r.length;i<o;i+=4)if(r[i]===e&&r[i+1]===t){n=i;break}return n}function o(e,t,r){for(var n=-1,i=2,o=r.length;i<o;i+=6)if(r[i]===e&&r[i+1]===t){n=i-2;break}return n}function s(e,t,r){void 0===r&&(r=0);for(var n=[],i=0;i<e.length;i+=t){var o=e[i+3+r],s={target:e[i+0+r],method:e[i+1+r],args:e[i+2+r],stack:void 0!==o&&"stack"in o?o.stack:""};n.push(s)}return n}function u(e,t){for(var r,n,i=0,o=t.length-6;i<o;)e>=t[r=i+(n=(o-i)/6)-n%6]?i=r+6:o=r;return e>=t[i]?i+6:i}function a(e){for(var t=e(),r=t.next();!1===r.done;)r.value(),r=t.next()}function l(){var e,t,r,n=arguments,i=arguments.length;if(0===i);else if(1===i)r=null,t=arguments[0];else{var o=2,s=arguments[0],u=arguments[1],a=typeof u;if("function"===a?(r=s,t=u):null!==s&&"string"===a&&u in s?t=(r=s)[u]:"function"==typeof s&&(o=1,r=null,t=s),i>o){var l=i-o;e=Array(l);for(var c=0;c<l;c++)e[c]=n[c+o]}}return[r,t,e]}function c(){var e=l.apply(void 0,arguments),t=e[0],n=e[1],i=e[2],o=0,s=void 0!==i?i.length:0;return s>0&&r(i[s-1])&&(o=parseInt(i.pop(),10)),[t,n,i,o]}function h(){var e,t,n,i,o,s;return 2===arguments.length?(n=arguments[0],s=arguments[1],t=null):(t=(e=l.apply(void 0,arguments))[0],n=e[1],void 0===(o=e[2])?s=0:r(s=o.pop())||(i=!0===s,s=o.pop())),[t,n,o,s=parseInt(s,10),i]}if(w)return N;w=1,Object.defineProperty(N,"__esModule",{value:!0});var p=setTimeout,f=function(){},d=/\d+/,m=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r={}),this._queueBeingFlushed=[],this.targetQueues=new Map,this.index=0,this._queue=[],this.name=e,this.options=t,this.globalOptions=r};m.prototype.stackFor=function(e){if(e<this._queue.length){var t=this._queue[3*e+4];return t?t.stack:null}},m.prototype.flush=function(e){var t,r,i=this.options,o=i.before,s=i.after;this.targetQueues.clear(),0===this._queueBeingFlushed.length&&(this._queueBeingFlushed=this._queue,this._queue=[]),void 0!==o&&o();var u=this._queueBeingFlushed;if(u.length>0){var a=n(this.globalOptions);r=a?this.invokeWithOnError:this.invoke;for(var l=this.index;l<u.length;l+=4)if(this.index+=4,null!==(t=u[l+1])&&r(u[l],t,u[l+2],a,u[l+3]),this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield())return 1}void 0!==s&&s(),this._queueBeingFlushed.length=0,this.index=0,!1!==e&&this._queue.length>0&&this.flush(!0)},m.prototype.hasWork=function(){return this._queueBeingFlushed.length>0||this._queue.length>0},m.prototype.cancel=function(e){var t=e.target,r=e.method,n=this._queue,o=this.targetQueues.get(t);void 0!==o&&o.delete(r);var s=i(t,r,n);return(s>-1||(s=i(t,r,n=this._queueBeingFlushed))>-1)&&(n[s+1]=null,!0)},m.prototype.push=function(e,t,r,n){return this._queue.push(e,t,r,n),{queue:this,target:e,method:t}},m.prototype.pushUnique=function(e,t,r,n){var i=this.targetQueues.get(e);void 0===i&&(i=new Map,this.targetQueues.set(e,i));var o=i.get(t);if(void 0===o){var s=this._queue.push(e,t,r,n)-4;i.set(t,s)}else{var u=this._queue;u[o+2]=r,u[o+3]=n}return{queue:this,target:e,method:t}},m.prototype._getDebugInfo=function(e){if(e)return s(this._queue,4)},m.prototype.invoke=function(e,t,r){void 0===r?t.call(e):t.apply(e,r)},m.prototype.invokeWithOnError=function(e,t,r,n,i){try{void 0===r?t.call(e):t.apply(e,r)}catch(o){n(o,i)}};var g=function(e,t){void 0===e&&(e=[]),this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce(function(e,r){return e[r]=new m(r,t[r],t),e},this.queues)};g.prototype.schedule=function(e,t,r,n,i,o){var s=this.queues[e];if(void 0===s)throw Error("You attempted to schedule an action in a queue ("+e+") that doesn't exist");if(null==r)throw Error("You attempted to schedule an action in a queue ("+e+") for a method that doesn't exist");return this.queueNameIndex=0,i?s.pushUnique(t,r,n,o):s.push(t,r,n,o)},g.prototype.flush=function(e){var t,r;void 0===e&&(e=!1);for(var n=this.queueNames.length;this.queueNameIndex<n;)if(r=this.queueNames[this.queueNameIndex],!1===(t=this.queues[r]).hasWork()){if(this.queueNameIndex++,e&&this.queueNameIndex<n)return 1}else if(1===t.flush(!1))return 1},g.prototype._getDebugInfo=function(e){if(e){for(var t,r,n={},i=this.queueNames.length,o=0;o<i;)r=this.queueNames[o],t=this.queues[r],n[r]=t._getDebugInfo(e),o++;return n}};var _=function(){},v=Object.freeze([]),y=0,b=0,E=0,T=0,I=0,C=0,R=0,A=0,S=0,k=0,x=0,O=0,P=0,q=0,M=0,D=0,F=0,B=0,j=0,V=0,L=0,U=function(e,r){var n=this;this.DEBUG=!1,this.currentInstance=null,this.instanceStack=[],this._eventCallbacks={end:[],begin:[]},this._timerTimeoutId=null,this._timers=[],this._autorun=!1,this._autorunStack=null,this.queueNames=e,this.options=r||{},"string"==typeof this.options.defaultQueue?this._defaultQueue=this.options.defaultQueue:this._defaultQueue=this.queueNames[0],this._onBegin=this.options.onBegin||_,this._onEnd=this.options.onEnd||_,this._boundRunExpiredTimers=this._runExpiredTimers.bind(this),this._boundAutorunEnd=function(){j++,!1!==n._autorun&&(n._autorun=!1,n._autorunStack=null,n._end(!0))};var i=this.options._buildPlatform||t;this._platform=i(this._boundAutorunEnd)},G={counters:{configurable:!0},defaultQueue:{configurable:!0}};return G.counters.get=function(){return{begin:b,end:E,events:{begin:T,end:0},autoruns:{created:B,completed:j},run:I,join:C,defer:R,schedule:A,scheduleIterable:S,deferOnce:k,scheduleOnce:x,setTimeout:O,later:P,throttle:q,debounce:M,cancelTimers:D,cancel:F,loops:{total:V,nested:L}}},G.defaultQueue.get=function(){return this._defaultQueue},U.prototype.begin=function(){b++;var e,t=this.options,r=this.currentInstance;return!1!==this._autorun?(e=r,this._cancelAutorun()):(null!==r&&(L++,this.instanceStack.push(r)),V++,e=this.currentInstance=new g(this.queueNames,t),T++,this._trigger("begin",e,r)),this._onBegin(e,r),e},U.prototype.end=function(){E++,this._end(!1)},U.prototype.on=function(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function");var r=this._eventCallbacks[e];if(void 0===r)throw new TypeError("Cannot on() event "+e+" because it does not exist");r.push(t)},U.prototype.off=function(e,t){var r=this._eventCallbacks[e];if(!e||void 0===r)throw new TypeError("Cannot off() event "+e+" because it does not exist");var n=!1;if(t)for(var i=0;i<r.length;i++)r[i]===t&&(n=!0,r.splice(i,1),i--);if(!n)throw new TypeError("Cannot off() callback that does not exist")},U.prototype.run=function(){I++;var e=l.apply(void 0,arguments),t=e[0],r=e[1],n=e[2];return this._run(t,r,n)},U.prototype.join=function(){C++;var e=l.apply(void 0,arguments),t=e[0],r=e[1],n=e[2];return this._join(t,r,n)},U.prototype.defer=function(e,t,r){for(var n,i=[],o=arguments.length-3;o-- >0;)i[o]=arguments[o+3];return R++,(n=this).schedule.apply(n,[e,t,r].concat(i))},U.prototype.schedule=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];A++;var n=l.apply(void 0,t),i=n[0],o=n[1],s=n[2],u=this.DEBUG?Error():void 0;return this._ensureInstance().schedule(e,i,o,s,!1,u)},U.prototype.scheduleIterable=function(e,t){S++;var r=this.DEBUG?Error():void 0;return this._ensureInstance().schedule(e,null,a,[t],!1,r)},U.prototype.deferOnce=function(e,t,r){for(var n,i=[],o=arguments.length-3;o-- >0;)i[o]=arguments[o+3];return k++,(n=this).scheduleOnce.apply(n,[e,t,r].concat(i))},U.prototype.scheduleOnce=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];x++;var n=l.apply(void 0,t),i=n[0],o=n[1],s=n[2],u=this.DEBUG?Error():void 0;return this._ensureInstance().schedule(e,i,o,s,!0,u)},U.prototype.setTimeout=function(){var e;return O++,(e=this).later.apply(e,arguments)},U.prototype.later=function(){P++;var e=c.apply(void 0,arguments),t=e[0],r=e[1],n=e[2],i=e[3];return this._later(t,r,n,i)},U.prototype.throttle=function(){q++;var e=h.apply(void 0,arguments),t=e[0],r=e[1],n=e[2],i=e[3],s=e[4];void 0===s&&(s=!0);var u,a=o(t,r,this._timers);if(-1===a)u=this._later(t,r,s?v:n,i),s&&this._join(t,r,n);else{u=this._timers[a+1];var l=a+4;this._timers[l]!==v&&(this._timers[l]=n)}return u},U.prototype.debounce=function(){M++;var e=h.apply(void 0,arguments),t=e[0],r=e[1],n=e[2],i=e[3],s=e[4];void 0===s&&(s=!1);var a,l=this._timers,c=o(t,r,l);if(-1===c)a=this._later(t,r,s?v:n,i),s&&this._join(t,r,n);else{var p=this._platform.now()+i,f=c+4;l[f]===v&&(n=v),a=l[c+1];var d=u(p,l);if(c+6===d)l[c]=p,l[f]=n;else{var m=this._timers[c+5];this._timers.splice(d,0,p,a,t,r,n,m),this._timers.splice(c,6)}0===c&&this._reinstallTimerTimeout()}return a},U.prototype.cancelTimers=function(){D++,this._clearTimerTimeout(),this._timers=[],this._cancelAutorun()},U.prototype.hasTimers=function(){return this._timers.length>0||this._autorun},U.prototype.cancel=function(e){if(F++,null==e)return!1;var t=typeof e;return"number"===t?this._cancelLaterTimer(e):!("object"!==t||!e.queue||!e.method)&&e.queue.cancel(e)},U.prototype.ensureInstance=function(){this._ensureInstance()},U.prototype.getDebugInfo=function(){var e=this;if(this.DEBUG)return{autorun:this._autorunStack,counters:this.counters,timers:s(this._timers,6,2),instanceStack:[this.currentInstance].concat(this.instanceStack).map(function(t){return t&&t._getDebugInfo(e.DEBUG)})}},U.prototype._end=function(e){var t=this.currentInstance,r=null;if(null===t)throw Error("end called without begin");var n,i=!1;try{n=t.flush(e)}finally{if(!i)if(i=!0,1===n){var o=this.queueNames[t.queueNameIndex];this._scheduleAutorun(o)}else this.currentInstance=null,this.instanceStack.length>0&&(r=this.instanceStack.pop(),this.currentInstance=r),this._trigger("end",t,r),this._onEnd(t,r)}},U.prototype._join=function(e,t,r){return null===this.currentInstance?this._run(e,t,r):void 0===e&&void 0===r?t():t.apply(e,r)},U.prototype._run=function(e,t,r){var i=n(this.options);if(this.begin(),i)try{return t.apply(e,r)}catch(o){i(o)}finally{this.end()}else try{return t.apply(e,r)}finally{this.end()}},U.prototype._cancelAutorun=function(){this._autorun&&(this._platform.clearNext(),this._autorun=!1,this._autorunStack=null)},U.prototype._later=function(e,t,r,n){var i=this.DEBUG?Error():void 0,o=this._platform.now()+n,s=y++;if(0===this._timers.length)this._timers.push(o,s,e,t,r,i),this._installTimerTimeout();else{var a=u(o,this._timers);this._timers.splice(a,0,o,s,e,t,r,i),this._reinstallTimerTimeout()}return s},U.prototype._cancelLaterTimer=function(e){for(var t=1;t<this._timers.length;t+=6)if(this._timers[t]===e)return this._timers.splice(t-1,6),1===t&&this._reinstallTimerTimeout(),!0;return!1},U.prototype._trigger=function(e,t,r){var n=this._eventCallbacks[e];if(void 0!==n)for(var i=0;i<n.length;i++)n[i](t,r)},U.prototype._runExpiredTimers=function(){this._timerTimeoutId=null,this._timers.length>0&&(this.begin(),this._scheduleExpiredTimers(),this.end())},U.prototype._scheduleExpiredTimers=function(){for(var e=this._timers,t=0,r=e.length,n=this._defaultQueue,i=this._platform.now();t<r&&!(e[t]>i);t+=6){var o=e[t+4];if(o!==v){var s=e[t+2],u=e[t+3],a=e[t+5];this.currentInstance.schedule(n,s,u,o,!1,a)}}e.splice(0,t),this._installTimerTimeout()},U.prototype._reinstallTimerTimeout=function(){this._clearTimerTimeout(),this._installTimerTimeout()},U.prototype._clearTimerTimeout=function(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)},U.prototype._installTimerTimeout=function(){if(0!==this._timers.length){var e=this._timers[0],t=this._platform.now(),r=Math.max(0,e-t);this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,r)}},U.prototype._ensureInstance=function(){var e=this.currentInstance;return null===e&&(this._autorunStack=this.DEBUG?Error():void 0,e=this.begin(),this._scheduleAutorun(this.queueNames[0])),e},U.prototype._scheduleAutorun=function(e){B++;var t=this._platform.next,r=this.options.flush;r?r(e,t):t(),this._autorun=!0},Object.defineProperties(U.prototype,G),U.Queue=m,U.buildPlatform=t,U.buildNext=e,N.buildPlatform=t,N.default=U,N}()),{toString:C}=Object.prototype,{toString:R}=Function.prototype,{isArray:A}=Array,{keys:S}=Object,{stringify:k}=JSON,x=100,O=/^[\w$]+$/,P=new Proxy({},{get:(e,t)=>(console.log("genericProxy",t),new Proxy({},{get(e,r){console.log("genericProxy",t,r)}}))}),q={watchModelTypes(e,t){e([{columns:this.columnsForType("cell"),count:1,name:"Cell",object:_},{columns:this.columnsForType("merged-cell"),count:1,name:"MergedCell",object:v}]),console.log("watchModelTypes",arguments,t)},columnsForType:e=>"cell"===e?[{name:"id",desc:"Id"},{name:"value",desc:"Value"},{name:"name",desc:"Name"}]:[{name:"id",desc:"Id"},{name:"isConst",desc:"Is Const"},{name:"isRemoved",desc:"Is Destroyed"},{name:"name",desc:"Name"},{name:"value",desc:"Value"}],acceptsModelName:!0,getRecordFilterValues:e=>({isNew:!0,isModified:!0,isClean:!0}),getRecordColor:e=>e instanceof _?"red":e.isConst?"yellow":e.isDestroyed?"gray":"green",getRecordColumnValues:e=>e instanceof _?{id:i(e),value:e.value,name:e._debugName??""}:{id:i(e),isConst:e.isConst,isRemoved:e.isDestroyed,name:e._debugName??"",value:e.value},getRecordSearchKeywords:e=>e instanceof _?[e.value,e._debugName??"","cell"]:[e.value,e._debugName??"","merged-cell"],toRecord(e){return{object:e,columnValues:this.getRecordColumnValues(e),searchKeywords:this.getRecordSearchKeywords(e),filterValues:this.getRecordFilterValues(e),color:this.getRecordColor(e)}},watchRecords(e,t,r,n){"Cell"===e?t(m().map(e=>this.toRecord(e))):"MergedCell"===e&&t(g().filter(e=>!e.isDestroyed).map(e=>this.toRecord(e))),console.log("watchRecords",r,n)},getFilters:()=>[{name:"isNew",desc:"New"},{name:"isModified",desc:"Modified"},{name:"isClean",desc:"Clean"}]};let M=0,D=/* @__PURE__ */new WeakMap;const F={location:{formatURL:e=>e},router:{getRoute:e=>({controllerName:e}),recognizer:{names:{application:{segments:[{type:4,value:""},{type:4,value:""}],handlers:[{handler:"application",names:[],shouldDecodes:[]},{handler:"index",names:[],shouldDecodes:[]}]}}}},get currentUrl(){return window.location.href},get currentPath(){return window.location.pathname}};class B{__registry__;application;constructor(){B.apps.push(this),this.application=this,this.__registry__={resolver:{lookupDescription:e=>(console.log("lookupDescription",e),!0),describe(e){console.log("describe",e)}}}}name="GlimmerNext";static apps=[];_super(){console.log("_super")}static initializer(e){setTimeout(()=>{e.initialize(this.apps[0])},100)}instanceInitializer(e){setTimeout(()=>{e.initialize({_lookupFactory:e=>o(e),resolveRegistration:e=>o(e),application:this,router:F,lookup:e=>"router:main"===e?F:"data-adapter:main"===e?q:(console.log("lookup",e),o(e)),reopen(e){Object.keys(e).forEach(t=>{this[t]=e[t]})}})},10)}reopen(e){Object.keys(e).forEach(t=>{this[t]=e[t]})}didBecomeReady(){console.log("didBecomeReady")}}class j{}class V{}class L{}class U{}class G{}class Q{}class W{}const $=/* @__PURE__ */new WeakMap,Y=new Proxy({},{get(e,r){if("get"===r)return function(){};if("set"===r)return function(){};if("computed"===r)return o("Ember.computed");if("cacheFor"===r)return function(e,t){return e[t]};if("Debug"===r)return{registerDeprecationHandler(e){},isComputed:!1};if("inspect"===r)return t;if("meta"===r)return function(e){return $.has(e)||$.set(e,{_debugReferences:0,peekDescriptors:()=>!1,forEachMixins(){},forEachDescriptors(){}}),$.get(e)};if("ComputedProperty"===r)return W;if("Component"===r)return Q;if("Service"===r)return G;if("ObjectProxy"===r)return L;if("Object"===r)return V;if("ArrayProxy"===r)return U;if("PromiseProxyMixin"===r)return o("Ember.PromiseProxyMixin");if("Evented"===r)return o("Ember.Evented");if("Observable"===r)return o("Ember.Observable");if("Component"===r)return o("Ember.Component");if("NativeArray"===r)return o("Ember.NativeArray");if("MutableEnumerable"===r)return o("Ember.MutableEnumerable");if("MutableArray"===r)return o("Ember.MutableArray");if("CoreObject"===r)return j;if("ControllerMixin"===r)return o("Ember.ControllerMixin");if("ActionHandler"===r)return o("Ember.ActionHandler");if("ENV"===r)return{ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!1,Function:!1,String:!1},LOG_STACKTRACE_ON_DEPRECATION:!0,LOG_VERSION:!0,RAISE_ON_DEPRECATION:!1,STRUCTURED_PROFILE:!1,_APPLICATION_TEMPLATE_WRAPPER:!1,_TEMPLATE_ONLY_GLIMMER_COMPONENTS:!0,_DEBUG_RENDER_TREE:!0,_JQUERY_INTEGRATION:!1,_DEFAULT_ASYNC_OBSERVERS:!0,_RERENDER_LOOP_LIMIT:1e3,_DISABLE_PROPERTY_FALLBACK_DEPRECATION:!1,EMBER_LOAD_HOOKS:{},FEATURES:{}};if("_captureRenderTree"===r){let e=function(t){let r=Array.from(a.get(t[l])??/* @__PURE__ */new Set,e=>u.get(e));0===r.length&&t instanceof y&&(c(t.prevComponent)?t.prevComponent.forEach(e=>{e&&h in e&&r.push(e)}):t.prevComponent&&h in t.prevComponent&&r.push(t.prevComponent));let n=t.debugName||t.constructor.name||"(unknown)";const i=t&&d in t||t&&f in t,o=[],s=[],m=t?p(t):[];let g=null;1===m.length?g={firstNode:m[0],lastNode:m[0],parentElement:m[0].parentNode}:m.length>1&&(g={firstNode:m[0],lastNode:m[m.length-1],parentElement:m[0].parentNode});const _=(r?.map(t=>e(t))??[]).filter(e=>null!==e);if(t[h].forEach((e,t)=>{"attributes"in e&&e.namespaceURI}),n.startsWith("UnstableChildWrapper")&&1===_.length)return _[0];let v=function(){return f in t?t[f]??{}:t[d]??{}};const b=[];return n.startsWith("IfCondition")?(n="if",o.push("if"),b.push(v().if)):n.startsWith("AsyncListComponent")?(n="each",s.push(["async",!0]),o.push("list"),b.push(v().list.value),t instanceof E&&Array.from(t.keyMap.values()).forEach(t=>{Array.isArray(t)?t.forEach(t=>{"nodeType"in t||_.push(e(t))}):"nodeType"in t||_.push(e(t))})):n.startsWith("ListComponent")&&(n="each",o.push("list"),b.push(v().list.value),t instanceof T)&&Array.from(t.keyMap.values()).forEach(t=>{Array.isArray(t)?t.forEach(t=>{"nodeType"in t||_.push(e(t))}):"nodeType"in t||_.push(e(t))}),n.startsWith("slot:")&&(b.push(...t.debugInfo.params()),b.length?(n="yield",s.push(["to",t.debugInfo.name])):n=":"+t.debugInfo.name),n.startsWith("SVGProvider")&&(n="svg",_.length=0),{id:t[l]+"",args:{named:t&&i?{get __ARGS__(){const e=v();return o.forEach(t=>{delete e[t]}),s.forEach(([t,r])=>{e[t]=r}),e}}:{},positional:b},instance:t,name:n,type:"component",isInRemote:!1,children:_,bounds:g,template:"string"}};return function(){const t=[];return s.forEach((e,r)=>{null===e&&t.push(r)}),t.map(e=>u.get(e)).map(t=>e(t))}}return"guidFor"===r?i:"Application"===r?B:"A"===r?function(){return[new B]}:"Namespace"===r?{NAMESPACES:{}}:"libraries"===r?{_registry:[{name:"glimmer-next",version:"latest"},{name:"Ember",version:"3.16.0"}]}:"VERSION"===r?"3.16.0":"default"===r?Y:"RSVP"===r?{on(){},Promise:Promise,configure(e,t){},default:{default:{Promise:Promise,configure(e,t){console.log("RSVP.configure",e,t)}},Promise:Promise,configure(e,t){console.log("RSVP.configure",e,t)}}}:new Proxy({},{get(e,t){}})}});let z,K;!function(){const e={ember:Y},t={};z=function(t,r,n){return arguments.length<3&&(n=r,r=[]),e[t]={deps:r,callback:n},window.define},K=function(r){if("@ember/object/computed"===r)return P;if("@ember/runloop"===r)return{_backburner:new I};if("@ember/-internals/metal"===r)return{tagForProperty(e,t){if(e instanceof _||e instanceof v)return e}};if("@ember/instrumentation"===r)return{subscribe(e,{before:t,after:r}){}};if("@ember/-internals/views"===r)return{ViewStateSupport:o("ViewStateSupport"),ViewMixin:o("ViewMixin"),ActionSupport:o("ActionSupport"),ClassNamesSupport:o("ClassNamesSupport"),ChildViewsSupport:o("ChildViewsSupport"),CoreView:o("CoreView")};if("@glimmer/runtime"===r);else{if("@glimmer/reference"===r)return P;if("@glimmer/validator"===r)return{valueForTag(e){if(e instanceof _||e instanceof v)return e.value},validateTag(){},track(e){e()},tagFor(){},trackedData(){}};if("ember"===r)return{default:Y}}if(t[r])return t[r];const n=e[r];if(!n)throw Error(`Module: '${r}' not found.`);t[r]={};const i=n.deps,s=n.callback,u=[];let a;for(let e=0,t=i.length;e<t;e++)"exports"===i[e]?u.push(a={}):u.push(K(i[e]));const l=s.apply(this,u);return t[r]=a||l,t[r]},K.has=function(e){return"ember"!==e&&"@glimmer/runtime"!==e&&console.log("requireModule.has",e),!0},z.registry=e,z.seen=t}(),K.entries=z.registry,window.define=z,window.requireModule=K;