PageSourceSearch

https://img.estar.jp/_nuxt/CqKT6reI2.js

js estar.jp collected 2026-09-24 09:04:18 UTC 995 bytes, 1 lines download raw bytes

1import{gt as e}from"./DwS9HOyC.js";var t={name:{required:`tag.name.required`,maxLength:`tag.name.maxLength`,duplication:`tag.name.duplication`}},n=class{errors;tag;selectedGenre;selectedTags;constructor(t,n,r=new e({})){this.errors={name:[]},this.tag=t,this.selectedGenre=r,this.selectedTags=n}get isCompleteRequiredValid(){return this.isNameRequiredValid}get hasError(){let e=Object.values(this.errors);return!e||e.some(e=>e.length>0)}validateName(){this.errors.name=[],this.isNameRequiredValid||this.errors.name.push(t.name.required),this.isNameMaxLengthValid||this.errors.name.push(t.name.maxLength),this.isNameDuplicationValid||this.errors.name.push(t.name.duplication)}get isNameRequiredValid(){return!!this.tag.name}get nameMaxLength(){return 12}get isNameMaxLengthValid(){return this.tag.name.length<=this.nameMaxLength}get isNameDuplicationValid(){return this.selectedGenre.name!==this.tag.name&&!this.selectedTags.includes(this.tag.name)}validate(){this.validateName()}};export{n as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.