import{d as e}from"./chunk-XBJAP6TJ.js";import{Wd as t}from"./chunk-3MFSOWAK.js";var n={VALIDATORS:[e.required,e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Prikazno ime se mora navesti.",minlength:"Prikazno ime mora sadr\u017Eati barem jedan znak.",maxlength:"Prikazno ime ne smije sadr\u017Eati vi\u0161e od 120 znakova."}},o={VALIDATORS:[e.required],MESSAGES:{required:"Privatnost se mora navesti."}},s={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Opis mora sadr\u017Eati barem 3 znaka.",maxlength:"Opis ne smije sadr\u017Eati vi\u0161e od 1000 znakova."}},A={VALIDATORS:[],MESSAGES:{required:"Kanal se mora navesti kad je playlista javna."}};function c(i,a){a.toString()===t.PUBLIC.toString()?i.setValidators([e.required]):i.setValidators(null),i.markAsDirty(),i.updateValueAndValidity();}export{n as a,o as b,s as c,A as d,c as e};/**i18n:a80de7963c3a1ee38e5afb7317b8dafa5dd6a0c8b3d465be96b90b317d6167e1*///# sourceMappingURL=chunk-CS64I6HR.js.map