import{d as e}from"./chunk-ZPYT6WL3.js";import{me as t}from"./chunk-6YFOH76E.js";var n={VALIDATORS:[e.required,e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Visningsnavn er p\xE5krevd.",minlength:"Display name must be at least 1 character long.",maxlength:"Display name cannot be more than 120 characters long."}},o={VALIDATORS:[e.required],MESSAGES:{required:"Privacy is required."}},s={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Description must be at least 3 characters long.",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:5a85df092a135682c90bae008e37ec28160e04e5f445e29af2927333ba91ffa1*///# sourceMappingURL=chunk-JE6S2G4T.js.map