1"use strict";(self.webpackChunke_jfoodchannel=self.webpackChunke_jfoodchannel||[]).push([[9362],{2646:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});l(6540);var n=l(9785),s=l(8778),i=l(4164),o=l(4848);function a(){const{register:e,handleSubmit:t,formState:{errors:l},watch:a}=(0,n.mN)(),c=a();return console.log(l),(0,o.jsxs)(s.A,{children:[(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("form",{onSubmit:t((e=>console.log(`\n {\n "date": "${e.date}",\n "ep": ${e.ep},\n "title": "Ep${e.ep}. ${e.title}",\n "subtitle": "${e.subtitle}",\n "enTitle": "${e.enTitle.replace(/\s/g,"-")}",\n "youtubeVideoId": "${e.youtubeVideoId}",\n "ingredients": [${e.ingredients.split(",").map((e=>`"${e}"`)).join(", ")}],\n "seasoning": [${e.seasoning.split(",").map((e=>`"${e}"`)).join(", ")}],\n "tags": [${e.tags.split(",").map((e=>`"${e}"`)).join(", ")}]\n }`))),children:[(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"date",...e("date",{required:!0})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"number",placeholder:"ep",...e("ep",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"title",...e("title",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"subtitle",...e("subtitle",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"enTitle",...e("enTitle",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"youtubeVideoId",...e("youtubeVideoId",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"ingredients",...e("ingredients",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"seasoning",...e("seasoning",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--6"),children:(0,o.jsx)("input",{type:"text",placeholder:"tags",...e("tags",{})})}),(0,o.jsx)("div",{className:(0,i.A)("col col--12"),children:(0,o.jsx)("input",{type:"submit"})})]})})}),(0,o.jsx)("pre",{children:`\n{\n "date": "${c.date}",\n "ep": ${c.ep},\n "title": "Ep${c.ep}. ${c.title}",\n "subtitle": "${c.subtitle}",\n "enTitle": "${(c.enTitle||"").replace(/\s/g,"-")}",\n "youtubeVideoId": "${c.youtubeVideoId}",\n "ingredients": [${(c.ingredients||"").split(",").map((e=>`"${e}"`)).join(", ")}],\n "seasoning": [${(c.seasoning||"").split(",").map((e=>`"${e}"`)).join(", ")}],\n "tags": [${(c.tags||"").split(",").map((e=>`"${e}"`)).join(", ")}]\n}`})]})}}}]);
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.