import{d as e}from"./chunk-K34LZIA3.js";import{Kd as t}from"./chunk-X3RCWQ3R.js";var n={VALIDATORS:[e.required,e.minLength(1),e.maxLength(120)],MESSAGES:{required:"El nom de visualitzaci\xF3 \xE9s obligatori.",minlength:"Display name must be at least 1 character long.",maxlength:"El nom de visualitzaci\xF3 no pot tenir m\xE9s de 120 car\xE0cters."}},o={VALIDATORS:[e.required],MESSAGES:{required:"Privacy is required."}},s={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"La descripci\xF3 ha de tenir almenys 3 car\xE0cters de longitud.",maxlength:"Description cannot be more than 1000 characters long."}},A={VALIDATORS:[],MESSAGES:{required:"The channel is required when the playlist is public."}};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:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*///# sourceMappingURL=chunk-LIQJUD2L.js.map