"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[282],{13831:function(e,t,a){var n=a(57437),s=a(83494),i=a(66474),l=a(33145),r=a(27648);t.Z=e=>{let{post:{title:t,date:a,thumb:c,category:o,slug:d}}=e;return(0,n.jsxs)("article",{className:"blog card p-4 md:p-5",children:[(0,n.jsxs)("div",{className:"blog-top relative mb-4",children:[(0,n.jsx)(r.default,{href:"/postdetails/".concat(d),className:"fiximage hover-scale block",title:t,children:(0,n.jsx)(l.default,{src:c,height:289,width:600,alt:"Blog Image",placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,".concat((0,i.s3)((0,i.f8)(400,240))),className:"object-cover object-center"})}),(0,n.jsxs)("div",{className:"blog-date absolute left-auto right-5 top-5 inline-block min-h-[60px] min-w-[60px] rounded bg-primary p-2 text-center text-grey",children:[(0,n.jsx)("span",{className:"month block text-sm uppercase leading-none",children:new Date(a).toLocaleDateString("en-us",{month:"short"})}),(0,n.jsx)("span",{className:"date block text-2xl leading-none",children:new Date(a).toLocaleDateString("en-us",{day:"2-digit"})}),(0,n.jsx)("span",{className:"year block text-sm leading-none",children:new Date(a).getFullYear({year:"numeric"})})]})]}),(0,n.jsx)("h5",{className:"mb-0",children:(0,n.jsx)(r.default,{href:"/postdetails/".concat(d),className:" block overflow-hidden overflow-ellipsis whitespace-nowrap transition-colors duration-500 hover:text-primary",title:t,children:t})})," ",(0,n.jsx)("div",{className:"flex list-none gap-1.5 text-sm",children:o.map((e,t)=>(0,n.jsx)("span",{className:"after:content-[','] last:after:hidden",children:(0,n.jsx)(r.default,{href:"/category/".concat((0,s.qi)(e),"/1"),className:" hover:text-primary",children:e})},t))})]})}},99869:function(e,t,a){var n=a(57437),s=a(71424),i=a(2265),l=a(87795),r=a(19764),c=a(13831);t.Z=e=>{let{posts:t}=e,[a,o]=(0,i.useState)(!1),d=(0,i.useRef)(null);(0,i.useEffect)(()=>{o(!0)},[]);let u=(0,i.useCallback)(()=>{d.current&&d.current.swiper.slidePrev()},[]),p=(0,i.useCallback)(()=>{d.current&&d.current.swiper.slideNext()},[]);return a?t&&0!==t.length?(0,n.jsxs)("div",{className:"swiper-holder",children:[(0,n.jsx)(r.tq,{modules:[l.pt],spaceBetween:28,slidesPerView:3,autoplay:{delay:5e3},centerInsufficientSlides:!0,ref:d,breakpoints:{320:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},children:t&&t.map((e,t)=>(0,n.jsx)(r.o5,{children:(0,n.jsx)("div",{className:"slider-item",children:(0,n.jsx)(c.Z,{post:e})})},t))}),(0,n.jsx)("button",{className:"swiper-button-prev",onClick:u}),(0,n.jsx)("button",{className:"swiper-button-next",onClick:p})]}):(0,n.jsx)("div",{className:"block py-20 text-center",children:(0,n.jsx)("p",{children:"No blog posts found."})}):(0,n.jsx)("div",{className:"block py-20 text-center",children:(0,n.jsx)(s.$j,{})})}},57751:function(e,t,a){a.d(t,{ez:function(){return p},U0:function(){return f},DH:function(){return N},LP:function(){return k},o2:function(){return P},m2:function(){return I},$y:function(){return V},Ui:function(){return z}});var n=a(57437),s=a(47765),i=a(79923),l=a(66474),r=a(60429),c=a(33145),o=a(86484),d=a(46550),u=a(2265),p=()=>{let{data:e}=(0,o.useQuery)("information",s.H9),[t,a]=(0,u.useState)(d.ZP.language);if((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),!e)return null;let p=e["fullName_".concat(t)]||e.fullName,m=e["firstName_".concat(t)]||e.firstName,h=e["lastName_".concat(t)]||e.lastName;e["bio_".concat(t)]||e.bio;let g=e["nationality_".concat(t)]||e.nationality,x=e["address_".concat(t)]||e.address,j=e["freelance_".concat(t)]||e.freelance,f=e.languages&&e.languages[t]||[];return(0,n.jsxs)("div",{className:"grid grid-cols-2 items-center gap-7",children:[(0,n.jsx)("div",{className:"col-span-2 lg:col-span-1",children:(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2},variants:i.d,className:"about-image overflow-hidden rounded-lg",children:(0,n.jsxs)("div",{className:"about-image-inner fiximage relative border-10 border-primary border-opacity-20",children:[(0,n.jsx)("span",{className:"absolute -top-2.5 left-0 z-10 h-2.5 w-10 animate-ledgerleftright rounded-full bg-gradient-to-r from-transparent to-primary"}),(0,n.jsx)("span",{className:"absolute top-auto -bottom-2.5 left-auto z-10 h-2.5 w-10 animate-ledgerrightleft rounded-full bg-gradient-to-r from-primary to-transparent"}),(0,n.jsx)("span",{className:"absolute -left-2.5 top-auto z-10 h-10 w-2.5 animate-ledgerbottomtop rounded-full bg-gradient-to-t from-transparent to-primary"}),(0,n.jsx)("span",{className:"absolute left-auto -right-2.5 z-10 h-10 w-2.5 animate-ledgertopbottom rounded-full bg-gradient-to-b from-transparent to-primary"}),(0,n.jsx)(c.default,{src:e.largeImage,height:422,width:660,alt:p,placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,".concat((0,l.s3)((0,l.f8)(660,422)))})]})})}),(0,n.jsx)("div",{className:"col-span-2 lg:col-span-1",children:(0,n.jsxs)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.4},variants:i.d,className:"about-content",children:[(0,n.jsxs)("h3",{children:["jp"===t?"こんにちは、私は":"Hi, I am"," ",(0,n.jsx)("span",{className:"text-primary",children:p})]}),(0,n.jsxs)("ul",{className:"styledlist",children:[m&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"名":"First Name"," "]}),": ",m]}),h&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"姓":"Last Name"," "]}),": ",h]}),e.age&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"年齢":"Age"," "]}),": ",e.age," ","jp"===t?"歳":"years"]}),g&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"国籍":"Nationality"," "]}),": ",g]}),f.length?(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"言語":"Languages"," "]}),": ",f.join(", ")]}):null,x&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsx)("strong",{className:"inline-block min-w-[120px] font-medium align-top",children:"jp"===t?"住所":"Address"}),(0,n.jsxs)("span",{className:"break-words whitespace-pre-line align-top",children:[": ",x]})]}),j&&(0,n.jsxs)("li",{className:"text-lg",children:[(0,n.jsxs)("strong",{className:"inline-block min-w-[120px] font-medium",children:["jp"===t?"フリーランス":"Freelance"," "]}),": ",j]})]}),(0,n.jsx)("button",{type:"button",className:"btn mt-3",onClick:()=>{["/ウェイリンアウン_履歴書.pdf","/ウェイリンアウン職務経歴書.pdf"].forEach(e=>{let t=document.createElement("a");t.href=e,t.download=e.split("/").pop(),document.body.appendChild(t),t.click(),document.body.removeChild(t)})},children:(0,n.jsx)("span",{children:"jp"===t?"履歴書をダウンロード":"Download Resume"})})]})})]})},m=a(27648),h=a(43326),g=a(65970),x=a(29501),j=()=>{let e=(0,u.useRef)(),[t,a]=(0,u.useState)(""),[s,i]=(0,u.useState)(""),[l,r]=(0,u.useState)(d.ZP.language);(0,u.useEffect)(()=>{let e=e=>r(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]);let{register:c,handleSubmit:o,formState:{errors:p}}=(0,x.cI)();return(0,n.jsxs)("form",{ref:e,className:"card -mt-1.5 space-y-4 p-4 md:p-5",onSubmit:o(t=>{g.ZP.sendForm("service_t5zv14m","template_uj1kl58",e.current,"0mwtSUAqfw8eNHAtj").then(e=>{200===e.status&&e.text&&(i(!1),a("jp"===l?"メールが正常に送信されました!":"Email successfully sent!"))},e=>{a(!1),i("jp"===l?"メッセージ送信中に問題が発生しました!":"Something is wrong while sending the message!")})}),children:[(0,n.jsxs)("div",{className:"inputbox",children:[(0,n.jsx)("label",{htmlFor:"name",children:"jp"===l?"お名前":"Name"}),(0,n.jsx)("input",{type:"text",placeholder:"jp"===l?"お名前を入力してください...":"Enter your name...",id:"name",...c("name",{required:!0})}),p.name&&(0,n.jsx)(n.Fragment,{children:"required"===p.name.type&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:"jp"===l?"お名前は必須です!":"Name is required!"})})]}),(0,n.jsxs)("div",{className:"inputbox",children:[(0,n.jsx)("label",{htmlFor:"email",children:"jp"===l?"メール":"Email"}),(0,n.jsx)("input",{type:"email",placeholder:"jp"===l?"メールアドレスを入力してください...":"Enter your email...",id:"email",...c("email",{required:!0,pattern:/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/})}),p.email&&(0,n.jsxs)(n.Fragment,{children:["required"===p.email.type&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:"jp"===l?"メールは必須です!":"Email is required!"}),"pattern"===p.email.type&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:"jp"===l?"無効なメールアドレスです!":"Invalid email address!"})]})]}),(0,n.jsxs)("div",{className:"inputbox",children:[(0,n.jsx)("label",{htmlFor:"subject",children:"jp"===l?"件名":"Subject"}),(0,n.jsx)("input",{type:"text",placeholder:"jp"===l?"件名を入力してください...":"Enter subject...",id:"subject",...c("subject",{required:!0})}),p.subject&&(0,n.jsx)(n.Fragment,{children:"required"===p.subject.type&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:"jp"===l?"件名は必須です!":"Subject is required!"})})]}),(0,n.jsxs)("div",{className:"inputbox",children:[(0,n.jsx)("label",{htmlFor:"message",children:"jp"===l?"メッセージ":"Message"}),(0,n.jsx)("textarea",{placeholder:"jp"===l?"メッセージを入力してください...":"Enter you message...",cols:"1",rows:"5",id:"message",...c("message",{required:!0})}),p.message&&(0,n.jsx)(n.Fragment,{children:"required"===p.message.type&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:"jp"===l?"メッセージは必須です!":"Message is required!"})})]}),!t&&s&&(0,n.jsx)("p",{className:"bg-red-500 bg-opacity-5 text-center text-sm text-red-500",children:s}),!s&&t&&(0,n.jsx)("p",{className:"bg-green-500 bg-opacity-5 text-center text-sm text-green-500",children:t}),(0,n.jsx)("button",{type:"submit",className:"btn",children:(0,n.jsx)("span",{children:"jp"===l?"送信":"Send Mail"})})]})},f=()=>{let{data:e}=(0,o.useQuery)("information",s.H9),[t,a]=(0,u.useState)(d.ZP.language);return((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),e)?(0,n.jsxs)("div",{className:"grid grid-cols-9 gap-7",children:[(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2},variants:i.d,className:"col-span-9 lg:col-span-4",children:(0,n.jsxs)("div",{className:"contact-information",children:[(0,n.jsx)("h4",{children:"jp"===t?"連絡先情報":"Contact Information"}),(0,n.jsx)("p",{children:"jp"===t?"ご連絡先を入力してください。折り返しご連絡いたします。":"Please enter your contact details below so I can get in touch with you:"}),(0,n.jsx)("span",{className:"inline-block h-1 w-20 rounded-full bg-primary bg-opacity-20"}),(0,n.jsxs)("div",{className:"contact-blocks mt-5 space-y-5",children:[(0,n.jsxs)("div",{className:"contact-block card flex p-4 md:p-5",children:[(0,n.jsx)("span",{className:"icon mr-4 inline-flex h-16 w-16 shrink-0 grow-0 basis-16 items-center justify-center rounded-full bg-primary bg-opacity-10 text-3xl text-primary",children:(0,n.jsx)(h.V90,{})}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("h5",{className:"mb-2",children:"jp"===t?"電話で連絡":"Contact on phone"}),e.phoneNumbers.map((e,t)=>(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)(m.default,{href:"tel:".concat(e.split("-").join("")),className:"no-underline",children:e})},t))]})]}),(0,n.jsxs)("div",{className:"contact-block card flex p-4 md:p-5",children:[(0,n.jsx)("span",{className:"icon mr-4 inline-flex h-16 w-16 shrink-0 grow-0 basis-16 items-center justify-center rounded-full bg-primary bg-opacity-10 text-3xl text-primary",children:(0,n.jsx)(h.Azx,{})}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("h5",{className:"mb-2",children:"jp"===t?"メールで連絡":"Contact on mail"}),e.emailAddress.map((e,t)=>(0,n.jsx)("p",{className:"mb-0",children:(0,n.jsx)(m.default,{href:"mailto:".concat(e),className:"no-underline",children:e})},t))]})]}),(0,n.jsxs)("div",{className:"contact-block card flex p-4 md:p-5",children:[(0,n.jsx)("span",{className:"icon mr-4 inline-flex h-16 w-16 shrink-0 grow-0 basis-16 items-center justify-center rounded-full bg-primary bg-opacity-10 text-3xl text-primary",children:(0,n.jsx)(h.F3s,{})}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("h5",{className:"mb-2",children:"jp"===t?"住所":"Contact address"}),(0,n.jsx)("p",{className:"mb-0 break-words whitespace-pre-line",children:"jp"===t?e.address_jp:e.address_en})]})]})]})]})}),(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.4},variants:i.d,className:"col-span-9 lg:col-span-5",children:(0,n.jsx)(j,{})})]}):null},b=a(34189),w=a(85411),v=a(4206),N=e=>{let{blurred:t,scroll:a=!0,typed:p=!0}=e,{data:m}=(0,o.useQuery)("information",s.H9),[g,x]=(0,u.useState)(d.ZP.language);if((0,u.useEffect)(()=>{let e=e=>x(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),!m)return null;let j=m["fullName_".concat(g)]||m.fullName,f=m["bio_".concat(g)]||m.bio;return(0,n.jsxs)("div",{className:"herosection relative overflow-hidden",children:[!t&&(0,n.jsx)("div",{className:"herosection-bg absolute left-0 top-0 h-full w-full"}),(0,n.jsx)("div",{className:"herosection-content relative z-20 bg-grey-darken ".concat(t?"bg-opacity-20":"bg-opacity-90"),children:(0,n.jsxs)("div",{className:"container relative mx-auto",children:[(0,n.jsx)("div",{className:"flex min-h-screen w-full items-center justify-center",children:(0,n.jsxs)("div",{className:"herosection-content w-full py-20 text-center md:w-3/4",children:[(0,n.jsxs)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2},variants:i.d,className:"herosection-imagewrapper relative mb-5 inline-block overflow-hidden rounded-full align-middle",children:[(0,n.jsx)("span",{className:"herosection-imageanimation absolute left-0 top-0 z-10 h-full w-full animate-spin rounded-full bg-gradient-to-tr from-primary to-transparent"}),(0,n.jsx)("div",{className:"herosection-image fiximage relative z-20 inline-block h-[150px] w-[150px] overflow-hidden rounded-full border-6 border-primary border-opacity-10 align-middle",children:(0,n.jsx)(c.default,{src:m.thumbImage,alt:j,height:150,width:150,placeholder:"blur",blurDataURL:"data:image/svg+xml;base64,".concat((0,l.s3)((0,l.f8)(150,150)))})})]}),(0,n.jsxs)(r.E.h1,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.4},variants:i.d,className:"mb-5 text-heading",children:[(0,n.jsx)("span",{className:"block sm:inline",children:"jp"===g?"こんにちは、私は":"Hi, I am"})," ",p?(0,n.jsx)(w.e,{sequence:[j,2e3,"jp"===g?"フルスタック開発者":"Full-stack Developer",2e3,"jp"===g?"ウェブ開発者":"Web Developer",2e3],speed:20,repeat:1/0,className:"text-primary"},g):(0,n.jsx)("span",{className:"text-primary",children:j})]}),(0,n.jsx)(r.E.p,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.6},variants:i.d,className:"lead mb-0",children:f}),(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.8},variants:i.d,className:"herosection-socialicons mt-7 text-center",children:(0,n.jsx)(v.HE,{data:m.socialAddress})})]})}),a?(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:1},variants:i.d,className:"herosection-bottom absolute left-0 top-auto bottom-10 w-full justify-between text-center",children:(0,n.jsxs)(b.rU,{activeClass:"active",to:"section-about",spy:!0,smooth:"easeInQuad",offset:-74,duration:1e3,className:"cursor-pointer text-xs font-medium uppercase tracking-widest transition-all hover:text-primary",children:[(0,n.jsx)(h.dtO,{className:"inline animate-bounce text-base"}),(0,n.jsx)("span",{className:"pl-2",children:d.ZP.t("scrolldown",{lng:g})})]})}):null]})})]})},y=a(71424),k=()=>{let[e,t]=(0,u.useState)([]),[a,i]=(0,u.useState)(""),[l,c]=(0,u.useState)(1),[p,m]=(0,u.useState)(d.ZP.language);(0,u.useEffect)(()=>{let e=e=>m(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]);let{data:h}=(0,o.useQuery)("portfolios",s.r3);(0,u.useEffect)(()=>{h&&t(h.slice(0,6))},[h]);let g=(0,u.useCallback)(e=>{i(e),""===e?t(h.slice(0,6*l)):t(h.slice(0,6*l).filter(t=>t.filters.includes(e)))},[h,l]),x=(0,u.useCallback)(()=>{c(e=>e+1),""===a?t(h.slice(0,(l+1)*6)):t(h.slice(0,(l+1)*6).filter(e=>e.filters.includes(a)))},[a,h,l]);return h?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.ej,{currentFilter:a,filterHandler:g}),(0,n.jsx)(r.E.div,{layout:!0,className:"mt-12 grid grid-cols-6 gap-7",children:null==e?void 0:e.map(e=>(0,n.jsx)(r.E.div,{layout:!0,exit:{scale:0},initial:{scale:0},animate:{scale:1},transition:{duration:.4},className:"col-span-6 sm:col-span-3 lg:col-span-2",children:(0,n.jsx)(v._Y,{portfolio:e})},e.id))}),ex(),children:(0,n.jsx)("span",{children:"jp"===p?"もっと見る":"Load More"})})}):null]}):null},Z=()=>{let{data:e}=(0,o.useQuery)("education-background",s.s0),[t,a]=(0,u.useState)(d.ZP.language);return((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),e)?(0,n.jsxs)("div",{className:"education-timeline",children:[(0,n.jsxs)("h4",{children:[(0,n.jsx)(h.jGU,{className:"mr-2 inline-block text-primary"}),"jp"===t?"学歴":"Educational Qualification"]}),null==e?void 0:e.map((e,a)=>(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2*a},variants:i.d,className:"timeline-wrap",children:(0,n.jsx)(v.jq,{timeline:{...e,title:"jp"===t?e.title_jp:e.title_en,meta:"jp"===t?e.meta_jp:e.meta_en,text:"jp"===t?e.text_jp:e.text_en}})},e.id))]}):null},C=()=>{let{data:e}=(0,o.useQuery)("job-experience",s.Ry),[t,a]=(0,u.useState)(d.ZP.language);return((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),e)?(0,n.jsxs)("div",{className:"job-experience",children:[(0,n.jsxs)("h4",{children:[(0,n.jsx)(h.Hgh,{className:"mr-2 inline-block text-primary"}),"jp"===t?"職務経歴":"Working Experience"]}),null==e?void 0:e.map((e,a)=>(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2*a},variants:i.d,className:"timeline-wrap",children:(0,n.jsx)(v.jq,{timeline:{...e,title:"jp"===t?e.title_jp:e.title_en,meta:"jp"===t?e.meta_jp:e.meta_en,text:"jp"===t?e.text_jp:e.text_en}})},e.id))]}):null},P=()=>(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-14 lg:gap-7",children:[(0,n.jsx)("div",{className:"col-span-2 lg:col-span-1",children:(0,n.jsx)(Z,{})}),(0,n.jsx)("div",{className:"col-span-2 lg:col-span-1",children:(0,n.jsx)(C,{})})]}),E=a(87795),_=a(19764),S=a(12505),I=()=>{let{data:e}=(0,o.useQuery)("certificates",s.GJ),t=(0,u.useRef)(null),a=(0,u.useCallback)(()=>{t.current&&t.current.swiper.slidePrev()},[]),i=(0,u.useCallback)(()=>{t.current&&t.current.swiper.slideNext()},[]),[l,r]=(0,u.useState)(S.Z.language||window.localStorage.getItem("i18nextLng"));return((0,u.useEffect)(()=>{let e=e=>r(e);S.Z.on("languageChanged",e);{let e=window.localStorage.getItem("i18nextLng");e&&e!==l&&r(e)}return()=>S.Z.off("languageChanged",e)},[]),e)?(0,n.jsxs)("div",{className:"swiper-holder",children:[(0,n.jsx)(_.tq,{modules:[E.pt],spaceBetween:28,slidesPerView:3,autoplay:{delay:4e3},centerInsufficientSlides:!0,ref:t,breakpoints:{320:{slidesPerView:1},640:{slidesPerView:2},1024:{slidesPerView:3}},children:null==e?void 0:e.map(e=>(0,n.jsx)(_.o5,{children:(0,n.jsx)("div",{className:"slider-item",children:(0,n.jsx)(v.Cq,{review:e})})},e.id))}),(0,n.jsx)("div",{style:{display:"flex",justifyContent:"flex-start",marginBottom:"1rem",marginTop:"1rem"},children:(0,n.jsx)("button",{className:"btn",onClick:()=>{let e=document.createElement("a");e.href="/certificates/all-certificates.pdf",e.download="all-certificates.pdf",document.body.appendChild(e),e.click(),document.body.removeChild(e)},children:(0,n.jsx)("span",{children:"jp"===l?"すべてダウンロード (".concat(e.length,")"):"Download All (".concat(e.length,")")})})}),(0,n.jsx)("button",{className:"swiper-button-prev ".concat(document.documentElement.classList.contains("dark")?"dark":"light"),onClick:a}),(0,n.jsx)("button",{className:"swiper-button-next ".concat(document.documentElement.classList.contains("dark")?"dark":"light"),onClick:i})]}):null},V=()=>{let{data:e}=(0,o.useQuery)("services",s.U2),[t,a]=(0,u.useState)(d.ZP.language);return((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),e)?(0,n.jsx)("div",{className:"services-wrapper grid grid-cols-3 gap-7",children:null==e?void 0:e.map((e,a)=>(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2*a},variants:i.d,className:"col-span-3 lg:col-span-1",children:(0,n.jsx)(v.t6,{service:{...e,title:"jp"===t?e.title_jp:e.title_en,text:"jp"===t?e.text_jp:e.text_en}})},e.id))}):null},q=()=>{let{data:e}=(0,o.useQuery)("language-skills",s.UU);return e?(0,n.jsx)("div",{className:"grid grid-cols-2 gap-7",children:null==e?void 0:e.map((e,t)=>(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2*t},variants:i.d,className:"col-span-2 md:col-span-1",children:(0,n.jsx)(v.ko,{skill:e})},e.id))}):null},L=()=>{let{data:e}=(0,o.useQuery)("tech-skills",s.QM),[t,a]=(0,u.useState)(d.ZP.language);return((0,u.useEffect)(()=>{let e=e=>a(e);return d.ZP.on("languageChanged",e),()=>d.ZP.off("languageChanged",e)},[]),e)?(0,n.jsx)("div",{className:"grid grid-cols-4 gap-7",children:null==e?void 0:e.map((e,a)=>(0,n.jsx)(r.E.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},transition:{duration:.4,delay:.2*a},variants:i.d,className:"col-span-4 sm:col-span-2 lg:col-span-1",children:(0,n.jsx)(v._3,{skill:{...e,title:"jp"===t?e.title_jp:e.title_en}})},e.id))}):null},z=()=>(0,n.jsxs)("div",{className:"skills-wrapper",children:[(0,n.jsx)(L,{}),(0,n.jsx)("div",{className:"py-7"}),(0,n.jsx)(q,{})]})},55838:function(e,t,a){var n=a(57437),s=a(9201),i=a(2265),l=a(99258);t.default=e=>{let{title:t,slug:a}=e,[r,c]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{c(!0)},[]),r)?(0,n.jsx)(s.qw,{shortname:"your discuss shortname",config:{url:"https://wailinnaung.com",identifier:a,title:t}}):(0,n.jsx)("div",{className:"block py-20 text-center",children:(0,n.jsx)(l.Z,{})})}},2472:function(e,t,a){var n=a(57437),s=a(27648),i=a(46550),l=a(2265);t.default=e=>{let t,{url:a="/",text:r=!1}=e,[c,o]=(0,l.useState)("jp"),[d,u]=(0,l.useState)(!1),[p,m]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{u(!0),(async()=>{try{i.ZP.isInitialized||await i.ZP.init();let e=window.localStorage.getItem("i18nextLng");e&&e&&("en"===e||"jp"===e)?(o(e),await i.ZP.changeLanguage(e)):(o("jp"),await i.ZP.changeLanguage("jp"),window.localStorage.setItem("i18nextLng","jp")),m(!0)}catch(e){console.error("Failed to initialize i18next in Logo:",e),o("jp"),m(!0)}})();let e=e=>o(e);return i.ZP.on("languageChanged",e),()=>i.ZP.off("languageChanged",e)},[]),d&&p)?(0,n.jsx)(s.default,{href:a,className:"sitelogo py-2",children:(0,n.jsx)("span",{className:"text-4xl font-bold uppercase leading-none text-primary",children:(t="portfolio",i.ZP.t(t,{lng:c,ns:"common"}))})}):(0,n.jsx)(s.default,{href:a,className:"sitelogo py-2",children:(0,n.jsx)("span",{className:"text-4xl font-bold uppercase leading-none text-primary",children:"ポートフォリオ"})})}},11221:function(e,t,a){var n=a(57437),s=a(86484),i=a(47765),l=a(2265),r=a(46550);t.default=e=>{let{currentFilter:t,filterHandler:a}=e,{data:c}=(0,s.useQuery)("portfolio-filters",i.ez),[o,d]=(0,l.useState)(r.ZP.language);return((0,l.useEffect)(()=>{let e=e=>d(e);return r.ZP.on("languageChanged",e),()=>r.ZP.off("languageChanged",e)},[]),c)?(0,n.jsxs)("div",{className:"portfolio-filters flex flex-wrap justify-center gap-4",children:[(0,n.jsx)("button",{className:"btn btn-small ".concat(""===t?"":"btn-transparent"),onClick:()=>a(""),children:(0,n.jsx)("span",{children:"jp"===o?"全て":"All"})}),null==c?void 0:c.map(e=>(0,n.jsx)("button",{className:"btn btn-small ".concat(t===e.value?"before:invisible":"btn-transparent"),onClick:()=>a(e.value),children:(0,n.jsx)("span",{children:"jp"===o?e.title_jp:e.title_en})},e.id))]}):null}},39289:function(e,t,a){var n=a(57437),s=a(12505),i=a(2265),l=a(93755);t.default=e=>{let{title:t,watermark:a,animated:r=!0}=e,[c,o]=(0,i.useState)(t),[d,u]=(0,i.useState)(a);(0,i.useEffect)(()=>{s.Z.language,o(s.Z.t(t)),u(s.Z.t(a));let e=()=>{o(s.Z.t(t)),u(s.Z.t(a))};return s.Z.on("languageChanged",e),()=>{s.Z.off("languageChanged",e)}},[t,a]);let p=(0,l.YT)({translateX:r?[-200,200]:null,easing:"easeInOut"});return(0,n.jsxs)("div",{className:"section-heading relative overflow-hidden pb-14 text-center",children:[(0,n.jsx)("h2",{className:"relative z-10 mb-2 uppercase",children:c}),(0,n.jsx)("span",{className:"relative z-10 inline-block h-1.5 w-32 overflow-hidden rounded-full bg-primary bg-opacity-20",children:(0,n.jsx)("span",{className:"absolute left-0 top-0 inline-block h-full w-1.5 animate-lefttoright rounded-full bg-primary"})}),(0,n.jsx)("span",{ref:p.ref,className:"pointer-events-none absolute left-1/2 -top-2 z-0 -translate-x-1/2 transform text-9xl font-bold uppercase text-heading opacity-5",children:d})]})}},5368:function(e,t,a){a.d(t,{default:function(){return i}});var n=a(57437),s=a(34189);function i(e){let{name:t,className:a="",children:i}=e;return(0,n.jsx)(s.W_,{name:t,className:a,children:i})}},99258:function(e,t,a){var n=a(57437);t.Z=()=>(0,n.jsxs)("div",{className:"spinner relative inline-flex h-24 w-24 items-center justify-center overflow-hidden rounded-full border border-white border-opacity-20",children:[(0,n.jsx)("span",{className:"relative z-20 text-sm uppercase tracking-wider",children:"Loading"}),(0,n.jsx)("span",{className:"absolute z-10 h-full w-full animate-spin rounded-full border-l-2 border-t-2 border-white border-opacity-50 bg-grey-lighten"})]})},71424:function(e,t,a){a.d(t,{TR:function(){return n.default},$8:function(){return d},ej:function(){return u.default},OT:function(){return p.default},$j:function(){return m.Z}}),a(55838);var n=a(2472),s=a(57437),i=a(28090),l=a(59512),r=a(92619),c=a(23795),o=a(85561);function d(e){let{children:t}=e;return(0,s.jsx)(i.UG,{remarkPlugins:[o.Z],rehypePlugins:[c.Z],components:{code(e){let{node:t,inline:a,className:n,children:i,...c}=e,o=/language-(\w+)/.exec(n||"");return!a&&o?(0,s.jsx)(l.Z,{style:r.cL,PreTag:"div",language:o[1],...c,children:String(i).replace(/\n$/,"")}):(0,s.jsx)("code",{className:n,...c,children:i})}},children:t})}var u=a(11221),p=a(39289);a(5368);var m=a(99258)},47765:function(e,t,a){a.d(t,{GJ:function(){return p},H9:function(){return s},QM:function(){return l},Ry:function(){return d},U2:function(){return i},UU:function(){return r},ez:function(){return c},r3:function(){return o},s0:function(){return u}});let n=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;"undefined"!=typeof gtag&>ag("event","api_call",{endpoint:e,success:t,error_message:(null==a?void 0:a.message)||null,custom_parameter_1:"portfolio_api"})},s=async()=>{try{let e=await fetch("/api/information.json"),t=await e.json();return n("/api/information.json",!0),t}catch(e){throw n("/api/information.json",!1,e),e}},i=async()=>{try{let e=await fetch("/api/services.json"),t=await e.json();return n("/api/services.json",!0),t}catch(e){throw n("/api/services.json",!1,e),e}},l=async()=>{try{let e=await fetch("/api/techskills.json"),t=await e.json();return n("/api/techskills.json",!0),t}catch(e){throw n("/api/techskills.json",!1,e),e}},r=async()=>{try{let e=await fetch("/api/languageskills.json"),t=await e.json();return n("/api/languageskills.json",!0),t}catch(e){throw n("/api/languageskills.json",!1,e),e}},c=async()=>{try{let e=await fetch("/api/portfoliofilters.json"),t=await e.json();return n("/api/portfoliofilters.json",!0),t}catch(e){throw n("/api/portfoliofilters.json",!1,e),e}},o=async()=>{try{let e=await fetch("/api/portfolios.json"),t=await e.json();return n("/api/portfolios.json",!0),t}catch(e){throw n("/api/portfolios.json",!1,e),e}},d=async()=>{try{let e=await fetch("/api/jobexperience.json"),t=await e.json();return n("/api/jobexperience.json",!0),t}catch(e){throw n("/api/jobexperience.json",!1,e),e}},u=async()=>{try{let e=await fetch("/api/educationbackground.json"),t=await e.json();return n("/api/educationbackground.json",!0),t}catch(e){throw n("/api/educationbackground.json",!1,e),e}},p=async()=>{try{let e=await fetch("/api/certificates.json"),t=await e.json();return n("/api/certificates.json",!0),t}catch(e){throw n("/api/certificates.json",!1,e),e}}},83494:function(e,t,a){a.d(t,{qi:function(){return n}});let n=e=>e.split(" ").join("-").toLowerCase()},79923:function(e,t,a){a.d(t,{d:function(){return n}});let n={visible:{y:0,opacity:1},hidden:{y:20,opacity:0}}}}]);