PageSourceSearch

https://yokimoji.com/_nuxt/BEH5JyzW.js

js yokimoji.com collected 2026-10-02 21:22:13 UTC 9,868 bytes, 1 lines download raw bytes

1import{d as $,u as T,p as N,h as b,j as V,w as c,q as D,o as r,a as t,e as a,b as e,f as p,t as l,c as i,l as f,y as z,z as I,A as K,_ as L,F as M,r as S,m as q}from"./BOnofyQH.js";import{m as u}from"./D_VVN_2-.js";import{u as A}from"./Dgy4XgJz.js";const H={class:"relative py-8 md:py-16 bg-gradient-to-b from-[#FFE2B2]/30 to-white min-h-screen overflow-hidden"},O={class:"px-6 mx-auto relative z-10 max-w-7xl"},P={class:"text-center mb-16"},R={class:"text-xl md:text-2xl text-[#8E735B]/80 font-medium mb-3 leading-relaxed"},U={class:"text-lg text-[#8E735B]/70 font-light max-w-2xl mx-auto"},G={class:"bg-white rounded-3xl p-8 md:p-10 border-2 border-[#FFE2B2] shadow-xl"},J={class:"text-center mb-8"},Q={class:"text-2xl md:text-3xl font-bold text-[#8E735B] mb-2 flex items-center justify-center gap-3"},W={class:"text-[#8E735B]/70 font-light"},X={class:"grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8"},Y={class:"space-y-4"},Z={class:"block text-lg font-semibold text-[#8E735B]"},tt={class:"relative"},et=["placeholder"],st={class:"absolute bottom-4 right-4"},ot=["title"],lt={class:"space-y-4"},nt={class:"block text-lg font-semibold text-[#8E735B]"},rt={class:"relative"},at={class:"w-full h-36 p-6 rounded-xl border-2 border-[#FFB5B5] bg-[#FFB5B5]/20 text-[#8E735B] text-lg font-medium overflow-y-auto"},it={key:0,class:"break-words"},dt={key:1,class:"flex items-center justify-center h-full"},ct={class:"flex items-center space-x-2 text-[#8E735B]/60"},xt={key:2,class:"text-[#8E735B]/50 italic h-full flex items-center"},ut={key:0,class:"absolute bottom-4 right-4"},_t=["title"],vt={class:"text-center mb-8"},mt={key:0,class:"flex items-center space-x-3"},pt={key:1,class:"flex items-center space-x-3"},ht={key:0,class:"text-center mb-8"},bt={class:"inline-flex items-center px-6 py-3 rounded-xl bg-red-100 text-red-700 border-2 border-red-200"},gt={class:"bg-white rounded-3xl p-8 md:p-10 border-2 border-[#FFE2B2] shadow-xl"},ft={class:"text-center mb-8"},yt={class:"text-2xl md:text-3xl font-bold text-[#8E735B] mb-2 flex items-center justify-center gap-3"},Bt={class:"text-[#8E735B]/70 font-light"},wt={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"},Et=["onClick"],Ft={class:"text-center space-y-3 flex-1"},kt={class:"text-[#8E735B] font-medium text-lg"},Ct={class:"text-[#8E735B] font-bold text-md"},jt={class:"text-[#8E735B]/60 text-sm mt-2 italic"},$t={class:"bg-white rounded-3xl p-8 md:p-10 border-2 border-[#FFE2B2] shadow-xl"},Tt={class:"text-center mb-8"},Nt={class:"text-2xl md:text-3xl font-bold text-[#8E735B] mb-2 flex items-center justify-center gap-3"},Vt={class:"grid grid-cols-1 md:grid-cols-3 gap-8"},Dt={class:"text-center space-y-4"},zt={class:"text-xl font-semibold text-[#8E735B]"},It={class:"text-[#8E735B]/70"},Kt={class:"text-center space-y-4"},Lt={class:"text-xl font-semibold text-[#8E735B]"},Mt={class:"text-[#8E735B]/70"},St={class:"text-center space-y-4"},qt={class:"text-xl font-semibold text-[#8E735B]"},At={class:"text-[#8E735B]/70"},Gt=$({__name:"gal-converter",setup(Ht){const{t:s}=T();N({title:s("gal_converter.meta.title"),meta:[{name:"description",content:s("gal_converter.meta.description")},{name:"keywords",content:s("gal_converter.meta.keywords")}]});const d=b(""),_=b(""),v=b(!1),m=b(""),{copy:y}=A(),{success:B}=q(),w=n=>{y(n),B(s("gal_converter.converter.copied"))},E=()=>{d.value="",_.value="",m.value=""},g=async()=>{if(!d.value.trim()){m.value=s("gal_converter.error.empty_input");return}v.value=!0,m.value="";try{const{data:n}=await $fetch("/api/gal-converter",{method:"POST",body:{text:d.value}});_.value=n.converted}catch(n){console.error("変換エラー:",n),m.value=s("gal_converter.error.conversion_failed")}finally{v.value=!1}},F=n=>{n.key==="Enter"&&!n.shiftKey&&!v.value&&(n.preventDefault(),g())},k=n=>{d.value=n,g()};return(n,o)=>{const h=L,C=D;return r(),V(C,null,{default:c(()=>[t("section",H,[o[12]||(o[12]=t("div",{class:"absolute top-0 right-0 w-[40rem] h-[40rem] bg-[#FFE2B2]/40 rounded-full filter blur-3xl op
1acity-30 -translate-y-1/2 translate-x-1/3 animate-pulse",style:{"animation-duration":"15s"}},null,-1)),o[13]||(o[13]=t("div",{class:"absolute bottom-0 left-0 w-[40rem] h-[40rem] bg-[#FFB5B5]/40 rounded-full filter blur-3xl opacity-30 translate-y-1/2 -translate-x-1/3 animate-pulse",style:{"animation-duration":"18s"}},null,-1)),t("div",O,[t("div",P,[a(e(u).h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},class:"text-4xl md:text-5xl lg:text-6xl font-bold text-[#8E735B] leading-tight tracking-tight mb-4"},{default:c(()=>[o[2]||(o[2]=t("span",{class:"inline-block mr-4 text-5xl"},"💕",-1)),p(" "+l(e(s)("gal_converter.title")),1)]),_:1}),a(e(u).div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},class:"mb-6 max-w-4xl mx-auto"},{default:c(()=>[t("p",R,l(e(s)("gal_converter.description")),1),t("p",U,l(e(s)("gal_converter.subtitle")),1)]),_:1})]),a(e(u).div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},class:"mb-16"},{default:c(()=>[t("div",G,[t("div",J,[t("h2",Q,[o[3]||(o[3]=t("span",{class:"text-2xl"},"✨",-1)),p(" "+l(e(s)("gal_converter.converter.title")),1)]),t("p",W,l(e(s)("gal_converter.converter.subtitle")),1)]),t("div",X,[t("div",Y,[t("label",Z,l(e(s)("gal_converter.converter.input_label")),1),t("div",tt,[z(t("textarea",{"onUpdate:modelValue":o[0]||(o[0]=x=>I(d)?d.value=x:null),placeholder:e(s)("gal_converter.converter.input_placeholder"),class:"w-full h-36 p-6 rounded-xl border-2 border-[#FFE2B2] bg-[#FFE2B2]/20 focus:bg-white focus:border-[#FFB5B5] focus:outline-none transition-all duration-300 resize-none text-[#8E735B] text-lg font-light placeholder-[#8E735B]/50",onKeydown:F},null,40,et),[[K,e(d)]]),t("div",st,[e(d)?(r(),i("button",{key:0,class:"p-3 rounded-full text-[#8E735B]/60 hover:text-[#8E735B] hover:bg-[#FFE2B2]/50 transition-all duration-200 hover:scale-110",title:e(s)("gal_converter.converter.button_clear"),onClick:E},[a(h,{name:"heroicons:x-mark",class:"w-5 h-5"})],8,ot)):f("",!0)])])]),t("div",lt,[t("label",nt,l(e(s)("gal_converter.converter.output_label")),1),t("div",rt,[t("div",at,[e(_)?(r(),i("div",it,l(e(_)),1)):e(v)?(r(),i("div",dt,[t("div",ct,[o[4]||(o[4]=t("div",{class:"w-5 h-5 border-2 border-[#8E735B] border-t-transparent rounded-full animate-spin"},null,-1)),t("span",null,l(e(s)("gal_converter.converter.button_converting")),1)])])):(r(),i("div",xt,l(e(s)("gal_converter.converter.result_placeholder")),1))]),e(_)?(r(),i("div",ut,[t("button",{class:"p-3 rounded-full text-[#8E735B]/60 hover:text-[#8E735B] hover:bg-[#FFB5B5]/50 transition-all duration-200 hover:scale-110",title:e(s)("gal_converter.converter.button_copy"),onClick:o[1]||(o[1]=x=>w(e(_)))},[a(h,{name:"heroicons:clipboard",class:"w-5 h-5"})],8,_t)])):f("",!0)])])]),t("div",vt,[a(e(u).button,{disabled:e(v)||!e(d).trim(),"while-hover":{scale:1.05},"while-tap":{scale:.95},class:"inline-flex items-center justify-center rounded-2xl px-12 py-4 text-xl font-bold text-[#8E735B] shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed bg-[#FFB5B5] hover:bg-[#FF9999] hover:shadow-xl",onClick:g},{default:c(()=>[e(v)?(r(),i("div",mt,[o[5]||(o[5]=t("div",{class:"w-6 h-6 border-3 border-[#8E735B] border-t-transparent rounded-full animate-spin"},null,-1)),t("span",null,l(e(s)("gal_converter.converter.button_converting")),1)])):(r(),i("div",pt,[a(h,{name:"heroicons:sparkles",class:"w-6 h-6"}),t("span",null,l(e(s)("gal_converter.converter.button_convert")),1)]))]),_:1},8,["disabled"])]),e(m)?(r(),i("div",ht,[t("div",bt,[a(h,{name:"heroicons:exclamation-triangle",class:"w-5 h-5 mr-2"}),p(" "+l(e(m)),1)])])):f("",!0)])]),_:1}),a(e(u).div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},class:"mb-16"},{default:c(()=>[t("div",gt,[t("div",ft,[t("h3",yt,[o[6]||(o[6]=t("span",{class:"text-2xl"},"📝",-1)),p(" "+l(e(s)("gal_converter.examples.title")),1)]),t("p",Bt,l(e(s)("gal_converter.examples.subtitle")),1)]),t("div",wt,[(r(!0),i(M,null,S(n.$tm("gal_converter.examples.items"),(x,j)=>(r(),i("div",{key:j,class:"group cursor-pointer",onClick:Ot=>k(n.$rt(x.normal))},[a(e(u).div,{"while-hover":{scale:1.02,y:-2},"while-tap":{scale:.98},class:"bg-gradient-to-b from-[#FFE2B2]/30 to-[#FFB5B5]/30 rounded-2xl p-6 border-2 border-[#FFE2B2] hover:border-[#FFB5B5] transition-all duration-300 hover:shadow-lg h-full flex flex-col"},{default:c(()=>[t("div",Ft,[t("div",kt,l(n.$rt(x.normal)),1),o[7]||(o[7]=t("div",{class:"text-3xl"},"↓",-1)),t("div",Ct,l(n.$rt(x.gal)),1),t("div",jt,l(n.$rt(x.description)),1)])]),_:2},1024)],8,Et))),128))])])]),_:1}),a(e(u).div,{initial:{opacity:0,y:40}
1,animate:{opacity:1,y:0},transition:{duration:.8,delay:.9},class:"mb-16"},{default:c(()=>[t("div",$t,[t("div",Tt,[t("h3",Nt,[o[8]||(o[8]=t("span",{class:"text-2xl"},"📖",-1)),p(" "+l(e(s)("gal_converter.how_to_use.title")),1)])]),t("div",Vt,[t("div",Dt,[o[9]||(o[9]=t("div",{class:"w-16 h-16 mx-auto rounded-2xl bg-[#FFE2B2] flex items-center justify-center text-[#8E735B] text-2xl font-bold"}," 1 ",-1)),t("h4",zt,l(e(s)("gal_converter.how_to_use.steps.0.title")),1),t("p",It,l(e(s)("gal_converter.how_to_use.steps.0.description")),1)]),t("div",Kt,[o[10]||(o[10]=t("div",{class:"w-16 h-16 mx-auto rounded-2xl bg-[#FFB5B5] flex items-center justify-center text-[#8E735B] text-2xl font-bold"}," 2 ",-1)),t("h4",Lt,l(e(s)("gal_converter.how_to_use.steps.1.title")),1),t("p",Mt,l(e(s)("gal_converter.how_to_use.steps.1.description")),1)]),t("div",St,[o[11]||(o[11]=t("div",{class:"w-16 h-16 mx-auto rounded-2xl bg-[#FFE2B2]/70 flex items-center justify-center text-[#8E735B] text-2xl font-bold"}," 3 ",-1)),t("h4",qt,l(e(s)("gal_converter.how_to_use.steps.2.title")),1),t("p",At,l(e(s)("gal_converter.how_to_use.steps.2.description")),1)])])])]),_:1})])])]),_:1})}}});
1export{Gt as default};

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.