import{n as i,o as l,p as C}from"./chunk-WMRP6X7F.js";import{da as g}from"./chunk-A4WWLITB.js";import{b as r,i as y}from"./chunk-QOJKCMZT.js";import{a as c}from"./chunk-K4ALXBGI.js";var n=(()=>{class s{static{this.type="[Category] Set Categories"}constructor(e){this.category=e}}return s})(),p=(()=>{class s{static{this.type="[Category] Clear Categories"}}return s})();y();var a=class o{static categories(t){return t.categories}setCategories(t,e){t.setState(c({},e.category))}clearCategories(t){t.setState({categories:[]})}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275prov=g({token:o,factory:o.\u0275fac})}};r([i(n)],a.prototype,"setCategories",null);r([i(p)],a.prototype,"clearCategories",null);r([C()],a,"categories",null);a=r([l({name:"category",defaults:{categories:[]}})],a);export{n as a,a as b};
