'use strict';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { accessByUserId } from '../../meta/decorators/access-by-user-id.js';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { OptionalUserIdBaseResource } from '../../../fd-toolbox/base-resource/optional-user-id-base-resource.js';
import { markdown } from '../../meta/decorators/markdown.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x11e525,_0x60a4c9)=>__defProp(_0x11e525,'name',{'value':_0x60a4c9,'configurable':!![]}),__decorateClass=(_0x582172,_0x15a8c9,_0x220ce9,_0x876740)=>{var _0x5ee658=_0x876740>0x493+-0x5*0x23d+0x69f?void(-0x298+-0x1499+0x1731):_0x876740?__getOwnPropDesc(_0x15a8c9,_0x220ce9):_0x15a8c9;for(var _0x1439a6=_0x582172['length']-(0x12f*0x11+0xbf9+-0x2017),_0x24f85b;_0x1439a6>=0xd57+-0x25aa+0x1853;_0x1439a6--)if(_0x24f85b=_0x582172[_0x1439a6])_0x5ee658=(_0x876740?_0x24f85b(_0x15a8c9,_0x220ce9,_0x5ee658):_0x24f85b(_0x5ee658))||_0x5ee658;if(_0x876740&&_0x5ee658)__defProp(_0x15a8c9,_0x220ce9,_0x5ee658);return _0x5ee658;};let Item=class extends OptionalUserIdBaseResource{['name'];['content'];};__name(Item,'Item'),__decorateClass([markdown()],Item['prototype'],'content',0xc25+0x110a+-0x1d2d),Item=__decorateClass([accessByUserId(),resourceMetaId(resourceIds['item'])],Item);

export { Item };
