vars;returnt[(s=n,s.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())]=$t(r),t}),{})}(e.exports?e.exports.components:{});returnt(gt,P,w,(t=>t===e.name?Yt(e):n[t]||i.get(t)))}function$t(t){const{css:e,template:n,exports:r,name:s}=t,o=n?Rt(n,t):Lt;returnt=>{let{slots:i,attributes:a,props:u}=t;if(r&&r[x])returnfunction(t,e){let{slots:n,attributes:r,props:s,css:o,template:i}=e;i&&V("Pure components can not have html"),o&&V("Pure components do not have css");consta=Y(t({slots:n,attributes:r,props:s}),Dt);returnBt((t=>function(){for(vare=arguments.length,n=newArray(e),r=0;r<e;r++)n[r]=arguments[r];if(t===l){const[t]=n;I(t,x,!0),kt(t,a)}returna[t](...n),a}))}(r,{slots:i,attributes:a,props:u,css:e,template:n});constc=Nt(r)||{},p=zt({css:e,template:o,componentAPI:c,name:s})({slots:i,attributes:a,props:u});return{mount:(t,e,n)=>p.mount(t,n,e),update:(t,e)=>p.update(e,t),unmount:t=>p.unmount(t)}}}functionzt(t){let{css:e,template:n,componentAPI:r,name:s}=t;returne&&s&&wt.add(s,e),Pt(Ht)(L(Y(r,Object.assign({},It,{[E]:{},[N]:{}})),Object.assign({[y]:null,[T]:null},Ct,{name:s,css:e,template:n})))}functionFt(t,e){returnObject.assign({},t,Nt(e))}functionHt(t,e){let{slots:n,attributes:r,props:s}=e;returno=function(t){return[...u].reduce(((t,e)=>e(t)||t),t)}(L($(t)?Object.create(t):t,{mount(e,o,i){returnvoid0===o&&(o={}),I(e,x,!1),this[A]=i,this[M]=function(t,e){void0===e&&(e=[]);constn=e.map((e=>at(t,e))),r={};returnObject.assign(r,Object.assign({expressions:n},Bt((t=>e=>(n.forEach((n=>n[t](e))),r)))))}(e,r).mount(i),I(this,E,Object.freeze(Object.assign({},Kt(e,s),W(this[M].expressions)))),this.state=Ft(this.state,o),this[j]=this.template.createDOM(e).clone(),kt(e,this),t.name&&function(t,e){Ut(t)!==e&&_t(t,c,e)}(e,t.name),I(this,T,e),I(this,y,n),this.onBeforeMount(this.props,this.state),this[j].mount(e,this,i),this.onMounted(this.props,this.state),this},update(t,e){void0===t&&(t={}),e&&(this[A]=e,this[M].update(e));constn=W(this[M].expressions);if(!1!==this.shouldUpdate(n,this.props))returnI(this,E,Object.freeze(Object.assign({},this.props,n))),this.state=Ft(this.state,t),this.onBeforeUpdate(this.props,this.state),this[_]||(this[_]=!0,this[j].update(this,this[A])),this.onUpdated(this.props,this.state),this[_]=!1,this},unmount(t){returnthis.onBeforeUnmount(this.props,this.state),this[M].unmount(),this[j].unmount(this,this[A],null===t?null:!t),this.onUnmounted(this.props,this.state),this}})),Object.keys(t).filter((e=>R(t[e]))).forEach((t=>{o[t]=o[t].bind(o)})),o;varo}const{DOM_COMPONENT_INSTANCE_PROPERTY:Gt,COMPONENTS_IMPLEMENTATION_MAP:Vt,PLUGINS_SET:qt}=S;functionWt(t,e){let{css:n,template:r,exports:s}=e;returnVt.has(t)&&V(`The component "${t}" was already registered`),Vt.set(t,$t({name:t,css:n,template:r,exports:s})),Vt}functionXt(t,e,n){returnTt(t).map((t=>function(t,e,n){constr=n||Ut(t);returni.has(r)||V(`The component named "${r}" was never registered`),i.get(r)({props:e}).mount(t)}(t,e,n)))}constZt={css:null,exports:{state:{isActive:!1},handleSwitch(){!0===this.state.isActive?this.state.isActive=!1:this.state.isActive=!0,this.update()}},template:(t,e,n,r)=>t('<div class="example m-top-5"><label class="field-label"><input expr1="expr1" class="field-choice" type="checkbox" name="radio" value="true"/><span class="field-switch"></span></label><div expr2="expr2" class="panel"></div></div>',[{redundantAttribute:"expr1",selector:"[expr1]",expressions:[{type:e.EVENT,name:"onchange",evaluate:t=>()=>{t.handleSwitch()}}]},{type:n.IF,evaluate:t=>t.state.isActive,redundantAttribute:"expr2",selector:"[expr2]",template:t('<div class="panel__body"><tiny-loading expr3="expr3"></tiny-loading></div>',[{type:n.TAG,getComponent:r,evaluate:t=>"tiny-loading",slots:[],attributes:[{type:e.ATTRIBUTE,name:"active",evaluate:t=>t.state.isActive}],redundantAttribute:"expr3",selector:"[expr3]"}])}]),name:"example-loading"};Wt("tiny-loading",{css:null,exports:null,template:(t,e,n,r)=>t('<div expr0="expr0" class="loading-wrapper"></div>',[{type:n.IF,evaluate:t=>t.props.active,redundantAttribute:"expr0",selector:"[expr0]",templat