1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7858],{568:e=>{e.exports={banner:"previewModeBanner_banner__p8RzU",banner_Button:"previewModeBanner_banner_Button__NfFWl",loading:"previewModeBanner_loading__CNUVo"}},740:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>eR,default:()=>eV});var a=l(7876),r=l(4723),i=l(2035),n=l(8463),c=l(4232),s=l(6175),o=l.n(s),d=l(225),_=l(504),m=l(970),p=l(4274);let u=e=>{var t,l,r;let{item:i}=e,n=(0,m.P2)(null==i?void 0:i.collections),c=(0,m.Om)(null==i?void 0:i.collections);return(0,a.jsx)("article",{className:o().pRecommend_Card,...(null==n?void 0:n.length)>0&&{"data-google-interstitial":"false"},children:(0,a.jsxs)("a",{className:o().pRecommend_CardLink,href:i.url,children:[(0,a.jsx)("figure",{className:o().pRecommend_CardImage,children:(0,a.jsx)("img",{src:(0,p.p6)(null==(t=i.thumbnail_image)?void 0:t.uri,(0,p.G6)("sm","lg")),alt:i.title,width:(null==(l=i.thumbnail_image)?void 0:l.width)||228,height:(null==(r=i.thumbnail_image)?void 0:r.height)||152,loading:"lazy",draggable:!1})}),(0,a.jsx)("p",{className:o().pRecommend_CardTitle,children:i.title}),(0,a.jsx)("div",{className:o().pRecommend_CardMeta,children:n.length>0&&(0,a.jsxs)(a.Fragment,{children:[c&&c.length>0&&(0,a.jsx)("span",{className:o().pRecommend_CardMedia,children:null==c?void 0:c.map(e=>"".concat(null==e?void 0:e.title," "))}),(0,a.jsx)("span",{className:o().pRecommend_CardSponsored,children:null==n?void 0:n.map(e=>"".concat(null==e?void 0:e.title," "))})]})})]})})};var h=l(5289);let g=e=>{let{isSponsored:t}=e,[l,r]=(0,c.useState)([]),i=(0,h.nc)((0,h.uX)()),n=(0,h.z)((0,h.To)(),6),s=e=>{let[...t]=e;for(let e=t.length-1;e>=0;e--){let l=Math.floor(Math.random()*(e+1));[t[e],t[l]]=[t[l],t[e]]}return t};return(0,c.useEffect)(()=>{if(i.length)if(t)r(s(i).slice(0,12));else{let e=i.filter(e=>n.some(t=>t.url!==e.url));e=(e=s(e).slice(0,12-n.length)).concat(n),r(e=s(e))}},[i,n,t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.A,{screen:"lg",children:(0,a.jsx)("div",{className:o().pRecommend,children:(0,a.jsx)("div",{className:"".concat(o().pRecommend_Container," ").concat(o().col4),id:"cxMorePc",children:l.map((e,t)=>(0,a.jsx)(u,{item:e},t))})})}),(0,a.jsx)(d.A,{screen:"sm",children:(0,a.jsx)("div",{className:o().pRecommend,children:(0,a.jsx)("div",{id:"cxMoreSp",children:(0,a.jsx)(_.A,{articles:l.slice(1),screen:"sm"})})})})]})};var x=l(7328),A=l.n(x),v=l(3567),j=l(871),f=l.n(j),w=l(5195),y=l(93),N=l(3677),b=l(5816),k=l.n(b);let S=e=>{let{id:t,minHeight:l=0,slots:r,type:i}=e,n=(0,c.useRef)(null),[s,o]=(0,c.useState)(!1),[d,_]=(0,c.useState)(!1),m=()=>{var e;let t=null==(e=n.current)?void 0:e.getBoundingClientRect().height;if(!t)return;let l=document.getElementById("pArticle_Thumbnail");l?l.getBoundingClientRect().bottom<t-20?o(!0):o(!1):_(!0)};return(0,c.useEffect)(()=>{if("fadeOut"===i)return document.addEventListener("scroll",m),()=>{document.removeEventListener("scroll",m)}},[i]),(0,a.jsx)("div",{ref:n,className:"".concat(k().BillboardAd," ").concat(d?k().BillboardAd_Default:""," ").concat(s?k().BillboardAd_Remove:""),children:(0,a.jsxs)(N.A,{nonMargin:!0,children:[!d&&(0,a.jsx)("div",{className:k().BillboardAd_Button,onClick:()=>{d||_(!0)}}),(0,a.jsx)(w.A,{id:t,minHeight:l,slots:r})]})})};var C=l(2463),H=l(4174),M=l(3211),I=l.n(M);let L=(0,a.jsxs)(a.Fragment,{children:["ã©ã¤ãããã«ã¼ãGoogleã§",(0,a.jsx)("br",{}),"ãæ°ã«å
¥ãã®æ
å ±æºã«"]}),B=()=>(0,a.jsx)("div",{className:I().wrapper,children:(0,a.jsxs)("a",{href:"https://www.google.com/preferences/source?q=lifehacker.jp",className:"".concat(I().link," gtm-google-preferred-source-link"),target:"_blank",rel:"noopener noreferrer","data-google-interstitial":"false",children:[(0,a.jsx)("svg",{className:I().icon,"aria-hidden":"true",children:(0,a.jsx)("use",{xlinkHref:"#iconGoogle"})}),(0,a.jsx)("span",{className:I().text,children:L})]})});var P=l(1437),F=l(2187),T=l.n(F);let R=e=>{let{title:t,pr:l}=e;return(0,a.jsxs)("div",{className:T().pArticle_TitleWrapper,children:[(0,a.jsx)("h1",{className:T().pArticle_Title,children:t}),l&&(0,a.jsx)("span",{className:T().pArticle_LabelPR,children:"PR"})]})},V=e=>{var t,l,r,i,n,c,s,o,d,_,m,u,h,g,x,A,v,j;let{thumbnail:f,title:w}=e,y=(null==f?void 0:f.source_is_external)?{target:"_blank",rel:"noreferrer"}:void 0,N=!!((null==f?void 0:f.caption)||(null==f?void 0:f.source)||(null==f||null==(l=f.image)||null==(t=l.meta)?void 0:t.caption)||(null==f||null==(i=f.image)||null==(r=i.meta)?void 0:r.source));return(0,a.jsxs)("figure",{className:T().pArticle_Thumbnail,id:"pArticle_Thumbnail",children:[(0,a.jsxs)("picture",{className:T().pArticle_ThumbnailImage,children:[(0,a.jsx)("source",{media:"(max-width: 767px)",srcSet:(0,p.p6)(null==f||null==(n=f.image)?void 0:n.url,(0,p.G6)("cover","sm"))}),(0,a.jsx)("source",{media:"(min-width: 768px)",srcSet:(0,p.p6)(null==f||null==(c=f.image)?void 0:c.url,(0,p.G6)("cover","lg"))}),(0,a.jsx)("img",{src:(0,p.p6)(null==f||null==(s=f.image)?void 0:s.url,(0,p.G6)("cover","lg")),alt:(null==f?void 0:f.alt)||w,width:null==f||null==(d=f.image)||null==(o=d.meta)?void 0:o.width,height:null==f||null==(m
1=f.image)||null==(_=m.meta)?void 0:_.height})]}),N&&(0,a.jsx)("figcaption",{className:T().pArticle_ThumbnailCaption,children:(null==f?void 0:f.caption)||(null==f?void 0:f.source)?(0,a.jsx)("span",{className:T().pArticle_ThumbnailCaptionLink,children:(null==f||null==(u=f.source)?void 0:u.match("^http"))?(0,a.jsx)("a",{href:null==f?void 0:f.source,...y,children:(null==f?void 0:f.caption)||(null==f?void 0:f.source)}):(0,a.jsx)(a.Fragment,{children:(null==f?void 0:f.caption)||(null==f?void 0:f.source)})}):(0,a.jsxs)("span",{className:T().pArticle_ThumbnailCaptionLink,children:[null==f||null==(g=f.image)||null==(h=g.meta)?void 0:h.caption,(null==f||null==(A=f.image)||null==(x=A.meta)?void 0:x.caption)&&(0,a.jsx)("br",{}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==f||null==(j=f.image)||null==(v=j.meta)?void 0:v.source)||""}})]})})]})},E=e=>{let{title:t,canonical:l,type:r}=e,[i,n]=(0,c.useState)(!1),s=e=>{n(e)},[o,d]=(0,c.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:["lg"===r&&(0,a.jsxs)("ul",{className:"".concat(T().pArticle_Sns," ").concat(T()._lg),children:[(0,a.jsx)("li",{className:T().pArticle_SnsItem,children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._facebook),href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20px",height:"20px",viewBox:"0 0 28 28",children:(0,a.jsx)("path",{d:"M15.69,25V15h3.37l.51-3.88H15.69V8.57c0-1.13.35-1.9,2-1.9h2V3.15a27.3,27.3,0,0,0-3-.15c-3,0-5.06,1.86-5.06,5.21v2.86H8.28V15h3.37V25Z"})})})}),(0,a.jsx)("li",{className:T().pArticle_SnsItem,children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._twitter),href:"https://twitter.com/intent/tweet?text=".concat(t&&encodeURIComponent(t),"&url=").concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",children:(0,a.jsx)("path",{d:"M6.64,8.025h0l-.554-.792L1.68.93h1.9L7.133,6.016l.554.792,4.622,6.612h-1.9ZM12.309,0,7.783,5.26,4.169,0H0L5.466,7.955,0,14.308H1.235L6.014,8.753l3.817,5.555H14L8.332,6.058h0L13.544,0Z",transform:"translate(7 6.846)"})})})}),(0,a.jsx)("li",{className:T().pArticle_SnsItem,children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._line),href:"http://line.me/R/msg/text/?".concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20px",height:"20px",viewBox:"0 0 28 28",children:(0,a.jsx)("path",{d:"M22.64,18h0A35.53,35.53,0,0,1,14,24.35c-1.17.5-1-.31-.95-.59s.15-1,.15-1a2.21,2.21,0,0,0,0-1c-.12-.31-.61-.47-1-.55-5.29-.7-9.2-4.4-9.2-8.83C3,7.51,7.94,3.49,14,3.49s11,4,11,9A7.94,7.94,0,0,1,22.64,18M9.69,14.22H8.08v-3.8a.57.57,0,0,0-.57-.58.58.58,0,0,0-.58.58V14.8a.58.58,0,0,0,.58.58H9.69a.58.58,0,1,0,0-1.16M12,10.42a.57.57,0,0,0-.57-.58.58.58,0,0,0-.58.58V14.8a.58.58,0,0,0,.58.58A.57.57,0,0,0,12,14.8Zm5.27,0a.58.58,0,0,0-1.16,0v2.71l-2.24-3.06a.56.56,0,0,0-.46-.23l-.18,0a.58.58,0,0,0-.4.55V14.8a.58.58,0,0,0,1.16,0V12.09l2.24,3.06a.59.59,0,0,0,.46.23l.18,0a.58.58,0,0,0,.4-.55Zm3.53,2.77a.58.58,0,0,0,0-1.16H19.14V11h1.61a.58.58,0,1,0,0-1.15H18.57a.58.58,0,0,0-.58.58h0v2.19h0V14.8a.58.58,0,0,0,.58.58h2.18a.58.58,0,0,0,0-1.16H19.14v-1Z"})})})}),(0,a.jsx)("li",{className:T().pArticle_SnsItem,children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._hatena),href:"http://b.hatena.ne.jp/add?url=".concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20px",height:"20px",viewBox:"0 0 28 28",children:(0,a.jsx)("path",{d:"M19.77,5.55h3.95V16.82H19.77ZM16.12,14.6a4.29,4.29,0,0,1,1,3,4.74,4.74,0,0,1-.57,2.36A3.83,3.83,0,0,1,15,21.52a6.47,6.47,0,0,1-2.11.66,30.43,30.43,0,0,1-4.11.19H4V5.63H8.59a29.15,29.15,0,0,1,4,.18,5.84,5.84,0,0,1,1.93.63,3.51,3.51,0,0,1,1.41,1.37,4,4,0,0,1,.49,2,3.33,3.33,0,0,1-.73,2.27,4.54,4.54,0,0,1-2.31,1.27,3.93,3.93,0,0,1,2.78,1.26M8.24,12.7h.91a5,5,0,0,0,2.32-.37,1.38,1.38,0,0,0,.62-1.28,1.5,1.5,0,0,0-.58-1.33,4.75,4.75,0,0,0-2.29-.38h-1Zm3.89,6.24a1.45,1.45,0,0,0,.67-1.35,1.64,1.64,0,0,0-.62-1.48,4.32,4.32,0,0,0-2.28-.42H8.24v3.66h1.6a4.61,4.61,0,0,0,2.29-.41m9.62-1A2.26,2.26,0,1,0,24,20.2a2.26,2.26,0,0,0-2.25-2.26"})})})})]}),"sm"===r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("ul",{className:"".concat(T().pArticle_Sns," ").concat(T()._sm),children:[(0,a.jsx)("li",{className:T().pArticle_SnsItem,children:(0,a.jsx)("span",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._clip),onClick:()=>{var e;return e=l||"",void navigator.clipboard.writeText(e).then(()=>{o||(d(!0),setTimeout(()=>d(!1),3e3))}).catch(e=>{console.log(e)})},children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.299 13.299",children:(0,a.jsx)("path",{d:"M9.4,0a2.979,2.979,0,0,1,2.2.926,3.052,3.052,0,0,1,.911,2.219A3.052,3.052,0,0,1,11.6,5.364a2.979,2.979,0,0,1-2.2.926H6.878V5.085H9.4a1.866,1.866,0,0,0,1.367-.573,1.866,1.866,0,0,0,.573-1.367,1.866,1.866,0,0,0-.573-1.367A1.866,1.866,0,0,0,9.405,1.2H6.878V0ZM3.762,3.762V2.528h5V3.762ZM1.176,3.145a1.866,1.866,0,0,0,.573,1.367,1.866,1.866,0,0,0,1.367.573H5.643v1.2H3.115a2.979,2.979,0,0,1-2.2-.926A3.052,3.052,0,0,1,0,3.145,3.052,3.052,0,0,1,.911.926,2.979,2.979,0,0,1,3.115,0H5.643V1.205H3.115a1.866,1.866,0,0,0-1.367.573,1.866,1.866,0,0,0-.572,1.367Z",transform:"translate(0 8.851) rotate(-45)"})})})}),(0,a.jsx)("li",{className:"".concat(T().pArticle_SnsItem," ").concat(i?"":T()._hidden),children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._twitter),href:"https://twitter.com/intent/tweet?text=".concat(t&&encodeURIComponent(t),"&url=").concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13.2925",viewBox:"0 0 1200 1227",children:(0,a.jsx)("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"})})})}),(0,a.jsx)("li",{className:"".concat(T().pArticle_SnsItem," ").concat(i?"":T()._hidden),children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._facebook),href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.714 13.63",children:(0,a.jsx)("path",{d:"M13.714,6.857a6.857,6.857,0,1,0-7.929,6.774V8.839H4.045V6.857H5.786V5.346a2.42,2.42,0,0,1,2.59-2.668,10.545,10.545,0,0,1,1.535.134V4.5H9.046A.991.991,0,0,0,7.929,5.571V6.857h1.9l-.3,1.982h-1.6v4.792a6.859,6.859,0,0,0,5.785-6.774Z",transform:"translate(0 -0.001)"})})})}),(0,a.jsx)("li",{className:"".concat(T().pArticle_SnsItem," ").concat(i?"":T()._hidden),children:(0,a.jsx)("a",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._hatena),href:"http://b.hatena.ne.jp/add?url=".concat(l&&encodeURI(l)),target:"_blank",rel:"noreferrer",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:(0,a.jsxs)("g",{transform:"translate(0.42 0.42)",children:[(0,a.jsx)("path",{d:"M11.945,15H3.056A3.056,3.056,0,0,1,0,11.945V3.056A3.056,3.056,0,0,1,3.056,0h8.889A3.056,3.056,0,0,1,15,3.056v8.889A3.056,3.056,0,0,1,11.945,15",transform:"translate(0.08 0.08)"}),(0,a.jsx)("path",{d:"M118.572,140.016a1.618,1.618,0,0,0-1.134-.511,1.851,1.851,0,0,0,.942-.519,1.356,1.356,0,0,0,.3-.921,1.65,1.65,0,0,0-.2-.812,1.465,1.465,0,0,0-.576-.559,2.449,2.449,0,0,0-.786-.257,11.872,11.872,0,0,0-1.611-.073h-1.87v6.818h1.926a12.5,12.5,0,0,0,1.673-.079,2.718,2.718,0,0,0,.858-.267,1.573,1.573,0,0,0,.657-.642,1.95,1.95,0,0,0,.23-.962,1.75,1.75,0,0,0-.409-1.215m-3.21-2.141h.4a1.89,1.89,0,0,1,.931.156.6.6,0,0,1,.238.54.56.56,0,0,1-.255.522,2.047,2.047,0,0,1-.942.15h-.371Zm1.583,3.91a1.9,1.9,0,0,1-.933.166h-.649v-1.49h.678a1.779,1.779,0,0,1,.928.17.67.67,0,0,1,.251.6.6.6,0,0,1-.274.553",transform:"translate(-110.147 -132.193)",fill:"#fff"}),(0,a.jsx)("path",{d:"M329.652,306.061a.863.863,0,1,0,.611.252.864.864,0,0,0-.611-.252",transform:"translate(-318.844 -296.799)",fill:"#fff"}),(0,a.jsx)("rect",{width:"1.5",height:"4.546",transform:"translate(10.057 4.171)",fill:"#fff"})]})})})}),(0,a.jsx)("li",{className:"".concat(T().pArticle_SnsItem," ").concat(i?"":T()._hidden),children:(0,a.jsx)("span",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._close),onClick:()=>s(!1),children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9.144 9.144",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("rect",{width:"1.186",height:"11.745",transform:"translate(0 0.839) rotate(-45)"}),(0,a.jsx)("rect",{width:"11.745",height:"1.186",transform:"translate(0 8.305) rotate(-45)"})]})})})}),(0,a.jsx)("li",{className:"".concat(T().pArticle_SnsItem," ").concat(i?T()._hidden:""),children:(0,a.jsx)("span",{className:"".concat(T().pArticle_SnsItemLink," ").concat(T()._more),onClick:()=>s(!0),children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 11.429 2.286",children:[(0,a.jsx)("circle",{cx:"1.143",cy:"1.143",r:"1.143",transform:"translate(11.429) rotate(90)"}),(0,a.jsx)("circle",{cx:"1.143",cy:"1.143",r:"1.143",transform:"translate(6.858) rotate(90)"}),(0,a.jsx)("circle",{cx:"1.143",cy:"1.143",r:"1.143",transform:"translate(2.286) rotate(90)"})]})})})]}),o&&(0,a.jsx)("div",{className:T().pArticle_Clipped,children:(0,a.jsx)("p",{className:T().pArticle_ClippedText,children:"ãªã³ã¯ãã³ãã¼ãã¾ãã"})})]})]})},X=e=>{var t;let{collection:l,type:r}=e;return(0,a.jsx)(a.Fragment,{children:l&&(0,a.jsxs)("a",{className:"".concat(T().pArticle_Collection," -").concat(r),href:"/".concat(r,"/").concat(null==l?void 0:l.slug,"/"),children:["category"===r&&(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 28 28",children:(0,a.jsx)("path",{"data-name":"icon category",d:"M21.5,10.48a1.12,1.12,0,0,0-.92-.48H5.14A1.15,1.15,0,0,0,4,11.14v5.72A1.15,1.15,0,0,0,5.14,18H20.58a1.15,1.15,0,0,0,.93-.48L24,14Z"})}),(null==l||null==(t=l.meta)?void 0:t.seo_title)||(null==l?void 0:l.title)]})})};var D=l(4588);let G=e=>{let{sponsored:t,sponsoredNames:l,buy:r,commerceAd:i,media:n}=e;return(0,a.jsxs)("div",{className:T().pArticle_Meta,children:[t&&t.length>0&&(0,a.jsxs)("span",{className:T().pArticle_MetaSponsored,children:["Sponsored\xa0",l&&l.length>0&&(0,a.jsxs)(a.Fragment,{children:["by\xa0",l.map((e,t)=>{var l;return(0,a.jsxs)("span",{children:[(null==e||null==(l=e.meta)?void 0:l.seo_title)||(null==e?void 0:e.title),"\xa0"]},t)}),n&&n.length>0&&(0,a.jsx)(a.Fragment,{children:"-\xa0"})]})]}),null==n?void 0:n.map((e,t)=>{var l;return(0,a.jsxs)("span",{className:T().pArticle_MetaMedia,children:[(null==e||null==(l=e.meta)?void 0:l.seo_title)||(null==e?void 0:e.title),"\xa0"]},t)}),r&&(0,a.jsx)("span",{className:T().pArticle_MetaBuy,children:"Buy PR"}),i&&(0,a.jsx)("span",{className:T().pArticle_MetaBuy,children:"commerce AD"})]})},Z=e=>{let{collaborators:t,credit:l,source_author:r,source_link:i}=e,n=e=>(null==e?void 0:e.slug)?(0,a.jsx)("a",{href:"/author/".concat(e.slug,"/"),children:e.name}):null==e?void 0:e.name;return(0,a.jsx)(a.Fragment,{children:l?(0,a.jsxs)("p",{className:T().pArticle_Credit,"data-google-interstitial":"false",children:[(0,a.jsx)("span",{className:T().pArticle_CreditIcon,children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.1 16.1",children:[(0,a.jsx)("path",{d:"M8.1 1.9c1.2 0 2.1.9 2.1 2.1s-1 2.1-2.1 2.1S5.9 5.2 5.9 4c0-1.1 1-2.1 2.2-2.1m0 9.1c3 0 6.2 1.5 6.2 2.1v1.1H1.9v-1.1c0-.7 3.2-2.1 6.2-2.1m0-11C5.8 0 4 1.8 4 4s1.8 4 4 4 4-1.8 4-4c.1-2.2-1.7-4-3.9-4zm0 9.1c-2.7 0-8.1 1.4-8.1 4v3h16.1v-3c0-2.7-5.4-4-8-4z",fill:"#8c9093"}),(0,a.jsx)("path",{d:"M0 0h16.1v16.1H0V0z",fill:"none"})]})}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})]}):(0,a.jsx)("p",{className:T().pArticle_Credit,"data-google-interstitial":"false",children:r?(0,a.jsxs)("span",{className:T().pArticle_CreditName,children:[r,i&&(0,a.jsxs)(a.Fragment,{children:["ï¼»",(0,a.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:"åæ"}),"ï¼½"]}),t&&t.length>0&&(0,a.jsxs)(a.Fragment,{children:["ï¼"," ",t.map((e,t)=>{var l;return(0,a.jsxs)(c.Fragment,{children:[t>0&&"ã»",n(e),(null==e?void 0:e.job_title)&&" / ".concat(e.job_title)]},null!=(l=null==e?void 0:e.slug)?l:t)})," ","ï¼"]})]}):t&&t.length>0&&(0,a.jsx)("span",{className:T().pArticle_CreditName,children:t.map((e,t)=>{var l;return(0,a.jsxs)(c.Fragment,{children:[t>0&&"ã»",n(e),(null==e?void 0:e.job_title)&&" ( ".concat(e.job_title," )")]},null!=(l=null==e?void 0:e.slug)?l:t)})})})})},z=e=>{let{keywords:t}=e;
1return(0,a.jsx)("div",{className:T().pArticle_Keyword,children:(0,a.jsx)("p",{className:T().pArticle_KeywordList,children:null==t?void 0:t.map((e,t)=>(0,a.jsxs)("a",{className:T().pArticle_KeywordItem,href:"/keyword/".concat(e.slug,"/"),children:["#",e.name]},t))})})};var O=l(6394),W=l.n(O);let U=e=>{let{article:t}=e,l=(0,m.P2)(t.collections);return(0,a.jsx)(a.Fragment,{children:(null==t?void 0:t.loading)?(0,a.jsx)(()=>(0,a.jsx)("div",{className:"".concat(W().CxenseAd," bws-avoid"),children:(0,a.jsxs)("div",{className:W().CxenseAd_Link,children:[(0,a.jsx)("div",{className:W().CxenseAd_Image_Skeleton}),(0,a.jsxs)("div",{className:W().CxenseAd_Info,children:[(0,a.jsx)("div",{className:W().CxenseAd_Title_Skeleton}),(0,a.jsx)("div",{className:W().CxenseAd_Title_Skeleton}),(0,a.jsx)("div",{className:W().CxenseAd_Title_Skeleton})]})]})}),{}):(0,a.jsx)(()=>{var e,r,i;return(0,a.jsx)("div",{className:"".concat(W().CxenseAd," bws-avoid"),"data-google-interstitial":"false",children:(0,a.jsxs)("a",{className:W().CxenseAd_Link,href:null==t?void 0:t.url,target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("img",{className:W().CxenseAd_Image,src:null==t||null==(e=t.thumbnail_image)?void 0:e.uri,alt:null==t?void 0:t.title,width:null==t||null==(r=t.thumbnail_image)?void 0:r.width,height:null==t||null==(i=t.thumbnail_image)?void 0:i.height,loading:"lazy",draggable:!1}),(0,a.jsxs)("div",{className:W().CxenseAd_Info,children:[(0,a.jsx)("p",{className:W().CxenseAd_Title,children:t.title}),l[0]&&(0,a.jsx)("span",{className:W().CxenseAd_SponsoredLabel,children:l[0].title})]})]})})},{})})};var q=l(3963),K=l(2840),J=l(6649),Y=l(7960),Q=l(8878),$=l(6557),ee=l.n($),et=l(4301),el=l.n(et),ea=l(1576),er=l.n(ea),ei=l(6647);let en=e=>{let{released:t="",updated:l=""}=e,r=new Date(l),i=new Date(t),n=r>i||t===ei.vH?l:t;return(0,a.jsx)(a.Fragment,{children:t&&(0,a.jsxs)("time",{className:T().pArticle_MetaDate,dateTime:(0,p.OW)(n),children:[(0,a.jsx)("i",{className:T().pArticle_MetaDateIcon,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 12 12",children:(0,a.jsx)("path",{d:"M6.68,1.88A4.12,4.12,0,0,0,2.55,6H1.18L3,7.78l0,.07L4.85,6H3.47A3.22,3.22,0,1,1,6.71,9.21a3.29,3.29,0,0,1-2.3-.94l-.65.65a4.14,4.14,0,0,0,6.51-.87,4,4,0,0,0,.39-3.16A4.14,4.14,0,0,0,6.68,1.88ZM6.22,4V6l2,1.16.33-.55-1.29-1V4Z"})})}),(0,p.pr)(n),r>i&&" lastupdate"]})})};var ec=l(1943);l(1187);let es=e=>"number"!=typeof e||isNaN(e)?"string"==typeof e?e:"":e.toLocaleString("ja-JP",{style:"currency",currency:"JPY"}),eo=e=>{let{product:t}=e;return(0,a.jsx)("li",{className:"amazon-product-pd",children:(0,a.jsxs)("a",{className:"amazon-product-pd-link",href:t.link,target:"_blank",rel:"noopener noreferrer sponsored",children:[(0,a.jsx)("div",{className:"amazon-product-pd-imgbox",children:(0,a.jsx)("img",{height:"56",className:"amazon-product-pd-img",src:(0,p.ei)(t.image_url),alt:t.name,draggable:!1})}),(0,a.jsx)("div",{className:"amazon-product-pd-name",children:t.name}),(0,a.jsxs)("div",{className:"amazon-product-pd-price",children:[t.original_price&&(0,a.jsx)("span",{className:"amazon-product-linethrough",children:es(t.original_price)})," ",es(t.price)]})]})})},ed=e=>{let{maxProducts:t=3,widgetData:l}=e;if(!l)return null;let{cmt:r,caption:i,products:n}=l,c=n.slice(0,t);return(0,a.jsxs)("div",{className:"amazon-product-widget",children:[(0,a.jsxs)("div",{className:"amazon-product-head",children:[(0,a.jsx)("p",{className:"amazon-product-head-cmt",children:r}),(0,a.jsx)("p",{className:"amazon-product-head-caption",children:i})]}),(0,a.jsx)("ol",{className:"amazon-product-main",children:c.map((e,t)=>(0,a.jsx)(eo,{product:e},t))})]})},e_=e=>{let{label:t,href:l,textColor:r,bgColor:i}=e,n={...r&&{"--article-cta-color":r},...i&&{"--article-cta-background":i}};return(0,a.jsx)("a",{href:l,className:"".concat(T().pArticle_CtaButton," gtm-articleCta"),style:n,target:"_blank",rel:"noopener noreferrer sponsored",children:t})};var em=l(1454);let ep=function(e,t,l,r){var i,n;let c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!e||!(null==(i=e.collections)?void 0:i.length))return[];let s=(0,m.P2)(null==e?void 0:e.collections),o=(0,m.c$)(null==e?void 0:e.collections),d=(0,m.Im)(null==e?void 0:e.collections);if(0!=s.length)return[];let _=[],p=o.some(e=>"home"===e.slug),u=d.some(e=>"number_place"===e.slug);p&&!u&&_.push({page:1,targetType:"header-two",targetNumber:0,targetOrder:"before",targetString:"",code:(0,em.F0)((0,a.jsx)(ed,{maxProducts:3,widgetData:r}))}),p||_.push({page:"all",targetType:"header-two",targetNumber:0,targetOrder:"before",targetString:"",code:'<div id="mbskinpmp"></div>'}
1),l&&(null==(n=l.data_group)||n.forEach(t=>{var l,a,r;let i={collection_id:"",target:"",widgetId:"",comment:""};t.fields&&t.fields.forEach(e=>{"collection"===e.key&&e.collection_id&&(i.collection_id=e.collection_id),"target"===e.key&&e.string_value&&(i.target=e.string_value),"widgetId"===e.key&&e.string_value&&(i.widgetId=e.string_value),"comment"===e.key&&e.string_value&&(i.comment=e.string_value)}),(0,m.vS)(null==e?void 0:e.collections).some(e=>e.id===i.collection_id)&&(l=i.target,a=i.widgetId,r=i.comment,_.push({page:"all",targetNumber:"",targetOrder:"",targetString:l,code:"\x3c!-- Cxense Module: ".concat(r,' --\x3e<div id="cx_').concat(a,"\"></div><script type=\"text/javascript\">window.addEventListener('load', function() { var cX = window.cX = window.cX || {}; cX.callQueue = cX.callQueue || []; cX.CCE = cX.CCE || {}; cX.CCE.callQueue = cX.CCE.callQueue || []; cX.CCE.callQueue.push(['run',{ widgetId: '").concat(a,"', targetElementId: 'cx_").concat(a,"'}]);})<\/script>\x3c!-- Cxense Module End --\x3e")}))}));let h={body_top:"head",body_bottom:"beforeSplit",after_pager:"afterSplit"},g=[];return c.forEach(e=>{let t=(0,em.F0)((0,a.jsx)(e_,{label:e.text,href:e.url,textColor:e.textColor,bgColor:e.bgColor}));"before_first_heading"===e.target?g.push({page:1,targetType:"header-two",targetNumber:0,targetOrder:"before",targetString:"",code:t}):_.push({page:"all",targetNumber:"",targetOrder:"",targetString:h[e.target],code:t})}),_.unshift(...g),_};var eu=l(5697),eh=l(2983),eg=l(3942),ex=l.n(eg);let eA=e=>{let{sponsored:t,sponsoredNames:l,buy:r,commerceAd:i,media:n,released:c="",updated:s=""}=e,o=new Date(s),d=new Date(c);return(0,a.jsxs)("div",{className:ex().pArticle_Meta,children:[c&&(0,a.jsxs)("span",{className:ex().pArticle_MetaSponsored,children:[(0,p.pr)(o>d||c===ei.vH?s:c),o>d&&" lastupdate","ã"]}),t&&t.length>0&&(0,a.jsxs)("span",{className:ex().pArticle_MetaSponsored,children:["Sponsored\xa0",l&&l.length>0&&(0,a.jsxs)(a.Fragment,{children:["by\xa0",l.map((e,t)=>{var l;return(0,a.jsxs)("span",{children:[(null==e||null==(l=e.meta)?void 0:l.seo_title)||(null==e?void 0:e.title),"\xa0"]},t)}),n&&n.length>0&&(0,a.jsx)(a.Fragment,{children:"-\xa0"})]})]}),null==n?void 0:n.map((e,t)=>{var l;return(0,a.jsxs)("span",{className:ex().pArticle_MetaMedia,children:[(null==e||null==(l=e.meta)?void 0:l.seo_title)||(null==e?void 0:e.title),"\xa0"]},t)}),r&&(0,a.jsx)("span",{className:ex().pArticle_MetaBuy,children:"Buy PR"}),i&&(0,a.jsx)("span",{className:ex().pArticle_MetaBuy,children:"commerce AD"})]})};var ev=l(1491),ej=l(4212),ef=l(3754),ew=l(727),ey=l(1717),eN=l(3099),eb=l(568),ek=l.n(eb);let eS=e=>{let{className:t=""}=e;return(0,a.jsxs)("div",{className:"".concat(t," ").concat(ek().banner),children:[(0,a.jsx)("p",{children:"ãã¬ãã¥ã¼ä¸ã§ã"}),(0,a.jsx)("button",{className:ek().banner_Button,onClick:()=>void fetch("/api/clear_preview").then(()=>{location.href="/api/clear_preview"}).catch(e=>console.log(e)),children:"ãã¬ãã¥ã¼ãè§£é¤ãã"})]})};var eC=l(765),eH=l(9804),eM=l(6276),eI=l(9251),eL=l(7022),eB=l(6487),eP=l.n(eB);let eF=e=>{var t,l,r;return(0,a.jsxs)(a.Fragment,{children:[e.displayAd&&(null==(t=e.pcAdSlots)?void 0:t.some(e=>"lifehacker_normal-2"==e.div_id))&&(0,a.jsx)("div",{className:eP().sBanner,children:(0,a.jsx)(w.A,{id:"lifehacker_normal-2",minHeight:250,slots:e.pcAdSlots})}),(0,a.jsx)(eH.A,{}),(0,a.jsx)(C.A,{type:"s",data:e.data}),e.displayAd&&(null==(l=e.pcAdSlots)?void 0:l.some(e=>"lifehacker_normal-4"==e.div_id))&&(0,a.jsx)("div",{className:eP().sBanner,style:{height:2e3,marginTop:30},children:(0,a.jsx)(eI.A,{children:(0,a.jsx)(w.A,{id:"lifehacker_normal-4",slots:e.pcAdSlots})})}),(0,a.jsx)(eM.A,{}),e.displayAd&&(0,a.jsx)("div",{className:eP().ownedAd,children:(0,a.jsx)(eL.A,{screen:"lg"})}),e.displayAd&&(null==(r=e.pcAdSlots)?void 0:r.some(e=>"lifehacker_normal-7"==e.div_id))&&(0,a.jsx)(eI.A,{children:(0,a.jsx)("div",{className:eP().sBanner,children:(0,a.jsx)(w.A,{id:"lifehacker_normal-7",slots:e.pcAdSlots})})})]})};var eT=l(4970);ee().extend(er()),ee().extend(el()),ee().tz.setDefault("Asia/Tokyo");var eR=!0;let eV=e=>{var t,l,s,o,u,x,j,b,k,M,I,L,F,O,W,$,et,el,ea,er,es,eo,ed,e_,em,eg,ex,eb,ek,eH,eM,eI,eB,eP,eR,eV,eE,eX,eD,eG,eZ,ez,eO,eW,eU,eq,eK,eJ,eY,eQ,e$,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,te,tt,tl,ta,tr,ti,tn,tc,ts,to,td,t_,tm,tp,tu,th,tg,tx,tA,tv,tj,tf,tw,ty,tN,tb,tk,tS,tC,tH,tM,tI;let[tL,tB,tP]=(0,eu.A)(["preview_last_visited"]);(0,c.useEffect)(()=>{e.isPreview&&tB("preview_last_visited",Date.now())},[tB,e.isPreview]);let tF="https://www.lifehacker.jp",tT=(0,p.V1)(e.data),tR=(0,p.Oz)(e.data),tV=String((null==(t=e.data)?void 0:t.slug)||""),tE=(null==(l=e.data)?void 0:l.body)&&JSON.parse(null==(s=e.data)?void 0:s.body),tX=(0,m.c$)(null==(o=e.data)?void 0:o.collections),tD=(0,m.Im)(null==(u=e.data)?void 0:u.collections),tG=(0,m.mf)(null==(x=e.data)?void 0:x.collections),tZ=(0,m.JY)(null==(j=e.data)?void 0:j.collections),tz=(0,m.P2)(null==(b=e.data)?void 0:b.collections),tO=(0,m.pK)(null==(k=e.data)?void 0:k.collections),tW=(0,m.Om)(null==(M=e.data)?void 0:M.collections),tU=(0,m.Ad)(null==(I=e.data)?void 0:I.collections),tq=(0,m.sg)(null==(L=e.data)?void 0:L.collections),tK=(0,m.gu)(null==(F=e.data)?void 0:F.collections),tJ=(0,m.ik)(null==(O=e.data)?void 0:O.collections),tY=(0,m.Od)(null==(W=e.data)?void 0:W.collections,null==($=e.data)?void 0:$.released_at),tQ=(0,m.wz)(null==(et=e.data)?void 0:et.collections),t$=(0,m.be)(null==(el=e.data)?void 0:el.collections),t0=!!(0,m.SF)(null==(ea=e.data)?void 0:ea.collections,"totonoete_kurasu_auger"),t1=(0,m.AQ)(null==(er=e.data)?void 0:er.collections),t2=tG&&tG[0]||tZ&&tZ[0]||tD&&tD[0]||tX&&tX[0],t5=tG.length&&"feature"||tZ.length&&"regular"||tD.length&&"category"||tX.length&&"category"||void 0,t3=(0,J.Ay)((null==(eo=e.data)||null==(es=eo.meta)?void 0:es.header_script)||""),t4=(0,J.Ay)((null==(e_=e.data)||null==(ed=e_.meta)?void 0:ed.footer_script)||""),t6=(0,p.gb)((null==(eg=e.data)||null==(em=eg.meta)?void 0:em.canonical)||"".concat(tF,"/article/").concat(null==(ex=e.data)?void 0:ex.slug,"/")),t8=[];t8.push({title:"TOP",url:"/"}),"category"===t5&&(tX&&tX.length>0&&t8.push({title:(0,p.OM)(tX[0]),url:"/category/".concat(tX[0].slug,"/")}),tD&&tD.length>0&&t8.push({title:(0,p.OM)(tD[0]),url:"/category/".concat(tD[0].slug,"/")})),"feature"===t5&&(t8.push({title:"ç¹é",url:"/feature/"}),t8.push({title:(0,p.OM)(tG[0]),url:"/feature/".concat(tG[0].slug,"/")})),"regular"===t5&&(t8.push({title:"é£è¼",url:"/regular/"}),t8.push({title:(0,p.OM)(tZ[0]),url:"/regular/".concat(tZ[0].slug,"/")})),t8.push({title:tT,url:"/article/".concat(tV,"/")});let t7=(0,h.z)((0,h.BC)(),6),t9=[];t7.length>0&&t7.forEach((e,t)=>{t9.push((0,a.jsx)("div",{children:(0,a.jsx)(U,{article:e},"cxInnerAd_".concat(t))},"cxInnerAd_container_".concat(t)))});let le=null==(ek=e.adSpaceData)||null==(eb=ek.settings)?void 0:eb.find(e=>"pc"===e.name),lt=null==le?void 0:le.slots,ll=null==(eM=e.adSpaceData)||null==(eH=eM.settings)?void 0:eH.find(e=>"sp"===e.name),la=null==ll?void 0:ll.slots,lr=[];tY&&((null==la?void 0:la.some(e=>"lifehacker_normal-3"==e.div_id))&&lr.push((0,a.jsx)(y.A,{id:"lifehacker_normal-3",type:"innerAd",slots:la},"lifehacker_normal-3")),(null==la?void 0:la.some(e=>"lifehacker_normal-4"==e.div_id))&&lr.push((0,a.jsx)(y.A,{id:"lifehacker_normal-4",type:"innerAd",slots:la},"lifehacker_normal-4")),(null==la?void 0:la.some(e=>"div-gpt-ad-1643336921022-0"==e.div_id))&&lr.push((0,a.jsx)(y.A,{id:"div-gpt-ad-1643336921022-0",type:"innerAd",slots:la},"div-gpt-ad-1643336921022-0")));let li=[];tY&&((null==lt?void 0:lt.some(e=>"lifehacker_normal-5"==e.div_id))&&li.push((0,a.jsx)(w.A,{id:"lifehacker_normal-5",type:"innerAd",slots:lt},"lifehacker_normal-5")),(null==lt?void 0:lt.some(e=>"lifehacker_normal-6"==e.div_id))&&li.push((0,a.jsx)(w.A,{id:"lifehacker_normal-6",type:"innerAd",slots:lt},"lifehacker_normal-6")));let ln={siteName:ei.Cn,usage:"",slug:tV,origin:tF,page:e.page,query:e.query,isRelSponsored:tz.length>0},lc=[];0==tz.length&&(null==(eI=e.data)?void 0:eI.slug)!="newsletter_campaign"&&(lc=ep(e.data,ln,e.cceDataAsset,e.amazonProductData,e.articleCtas));let ls=!1;return tY&&!(0,m.vS)(null==(eB=e.data)?void 0:eB.collections).some(e=>
1"psychology_test"===e.slug)&&(ls=(0,P.isValidBrowsi)(tE,ln)),(0,c.useEffect)(()=>{let e=document.querySelectorAll(".p-post-contentAccordion h5, .p-post-contentAccordion-2 h4"),t=[];return e.forEach(e=>{let l=()=>e.classList.toggle("active");e.addEventListener("click",l),t.push({el:e,handler:l})}),()=>{t.forEach(e=>{let{el:t,handler:l}=e;return t.removeEventListener("click",l)})}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Y.A,{title:tT,seoTitle:tR,description:(null==(eR=e.data)||null==(eP=eR.meta)?void 0:eP.description)||(0,P.extractText)(tE).substring(0,120),canonical:t6,path:"article/".concat(null==(eV=e.data)?void 0:eV.slug,"/"),og_type:"article",og_image:(0,p.cB)(null==(eX=e.data)||null==(eE=eX.ogp_image)?void 0:eE.url,null==(eZ=e.data)||null==(eG=eZ.thumbnail)||null==(eD=eG.image)?void 0:eD.url),thumbnail:(0,p.cB)(null==(eO=e.data)||null==(ez=eO.ogp_image)?void 0:ez.url,null==(eq=e.data)||null==(eU=eq.thumbnail)||null==(eW=eU.image)?void 0:eW.url),isArticle:!0}),(0,a.jsx)(Q.A,{title:tT,slug:null==(eK=e.data)?void 0:eK.slug,released_at:null==(eJ=e.data)?void 0:eJ.released_at,updated_at:(0,p.Sr)(null!=(tM=null==(eY=e.data)?void 0:eY.released_at)?tM:void 0,null!=(tI=null==(eQ=e.data)?void 0:eQ.updated_at)?tI:void 0),collaborators:null==(e$=e.data)?void 0:e$.collaborators,categories:tD,parentCategories:tX,articleTypes:t$,features:tG,regulars:tZ,media:tW,sponsoredNames:tO,tags:null==(e0=e.data)?void 0:e0.tags,notLogly:t1}),(0,a.jsx)(eT.A,{json:(0,D.ry)()}),(0,a.jsx)(eT.A,{json:(0,D.LH)()}),(0,a.jsx)(eT.A,{json:(0,D.Lz)(t8)}),(0,a.jsx)(eT.A,{json:(0,D.ev)(e.data)}),tY&&(0,a.jsx)(ew.A,{isBrowsi:ls,loadAdLib:!0}),(0,a.jsxs)(A(),{children:[(e=>{let t=new Date("2017-04-28 09:00:00");return new Date(e)<=t})((null==(e1=e.data)?void 0:e1.created_at)||"")&&(0,a.jsx)("script",{src:"https://code.jquery.com/jquery-3.6.0.min.js",integrity:"sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=",crossOrigin:"anonymous"}),t3,(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n dataLayer.push(\n ".concat(JSON.stringify({page_type:"article",article_type:t$.map(e=>e.title),title:tT,date:e.data.released_at?ee()(e.data.released_at.toString()).tz().format("YYYY-MM-DD"):"",publish_hour:e.data.released_at?ee()(e.data.released_at.toString()).tz().format("HH"):"",author:null==(e2=e.data.collaborators)?void 0:e2.map(e=>(0,p.Xp)(null==e?void 0:e.name,null==e?void 0:e.job_title)),category:tD.map(e=>e.title),feature:tG.map(e=>e.title),regular:tZ.map(e=>e.title),reprinted_media:tW.map(e=>e.title),tag:null==(e5=e.data.tags)?void 0:e5.map(e=>e.name),article_id:e.data.id}),"\n )\n ")}}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat("GTM-N6LJTZX","');")}},"gtm"),0==tz.length&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:'(function(o,n,e,p,l,u,s){o[l]=o[l]||function(){(o[l].q=o[l].q||[]).push(arguments);};\n u=n.createElement(e);u.async=1;u.src=p;s=n.getElementsByTagName(e)[0];s.parentNode.insertBefore(u,s);\n }(window,document,"script","https://cdn.opecloud.com/ope-mediaconsortium.js","ope"));\n ope("mediaconsortium", "init", "implied");'}}),(0,a.jsx)("noscript",{children:(0,a.jsx)("img",{referrerPolicy:"unsafe-url",src:"https://tagger.opecloud.com/mediaconsortium/v2/noscript-image.gif",alt:""})})]})]}),tY&&(null==lt?void 0:lt.some(e=>"div-gpt-ad-1721095642726-0"==e.div_id))&&(0,a.jsx)(w.A,{id:"div-gpt-ad-1721095642726-0",type:"stickyAd",slots:lt},"div-gpt-ad-1721095642726-0"),tY&&(null==la?void 0:la.some(e=>"div-gpt-ad-1643363043495-0"==e.div_id))&&(0,a.jsx)(y.A,{id:"div-gpt-ad-1643363043495-0",type:"stickyAd",slots:la},"div-gpt-ad-1643363043495-0"),"specialFeature"==e.layout&&(0,a.jsx)(ej.A,{...e.specialFeatureData}),tY&&ll&&le&&(0,a.jsx)(v.A,{title:null==(e3=e.adSpaceData)?void 0:e3.title,spAdSetting:ll,pcAdSetting:le,pageType:"article",articleId:e.data.id,articleSlug:e.data.slug,articlePage:e.page,collections:null==(e4=e.data)?void 0:e4.collections,collaborators:null==(e6=e.data)?void 0:e6.collaborators,tags:null==(e8=e.data)?void 0:e8.tags,releasedAt:null==(e7=e.data)?void 0:e7.released_at,query:e.query}),(0,a.jsx)(ey.A,{}),tY&&(0,a.jsxs)(a.Fragment,{children:[(null==lt?void 0:lt.some(e=>"lifehacker_normal-0"==e.div_id))&&(0,a.jsx)(S,{id:"lifehacker_normal-0",minHeight:90,slots:lt,type:"fadeOut"}),(null==lt?void 0:lt.some(e=>"div-gpt-ad-1721112965660-0"==e.div_id))&&(0,a.jsx)(S,{id:"div-gpt-ad-1721112965660-0",minHeight:90,slots:lt}),(0,a.jsx)(d.A,{screen:"lg",children:(null==lt?void 0:lt.some(e=>"lifehacker_normal-1"==e.div_id))&&(0,a.jsx)(N.A,{style:{margin:"18px 0"},children:(0,a.jsx)(w.A,{id:"lifehacker_normal-1",slots:lt})})}),(0,a.jsxs)(d.A,{screen:"sm",children:[(null==la?void 0:la.some(e=>"lifehacker_normal-2"==e.div_id))&&(0,a.jsx)(N.A,{children:(0,a.jsx)(y.A,{id:"lifehacker_normal-2",slots:la,type:"positionTopAd",minHeight:250})}),(null==la?void 0:la.some(e=>"lifehacker_normal-1"==e.div_id))&&(0,a.jsx)(N.A,{nonMargin:!0,children:(0,a.jsx)(y.A,{id:"lifehacker_normal-1",slots:la,type:"bgAd"})})]})]}),(0,a.jsxs)(r.A,{children:[(0,a.jsxs)(i.A,{type:"post",id:"mainContent",children:[(0,a.jsxs)("div",{className:"".concat(T().pArticle_Head," ").concat("specialFeature"==e.layout&&f().pArticle_Head),children:[(0,a.jsx)(eN.A,{breadcrumb:t8,type:"article"}),(0,a.jsx)(d.A,{screen:"lg",children:(0,a.jsxs)("div",{className:T().pArticle_CollectionWrapper,"data-google-interstitial":"false",children:[(0,a.jsx)(X,{collection:t2,type:t5}),(null==(te=e.data)||null==(e9=te.tags)?void 0:e9.length)>0&&(0,a.jsx)(z,{keywords:null==(tt=e.data)?void 0:tt.tags})]})}),(0,a.jsx)(d.A,{screen:"sm",children:(0,a.jsxs)("div",{className:T().pArticle_CollectionWrapper,"data-google-interstitial":"false",children:[(0,a.jsxs)("div",{className:T().pArticle_CollectionWrapperInner,children:[(0,a.jsx)(X,{collection:t2,type:t5}),(null==(ta=e.data)||null==(tl=ta.tags)?void 0:tl.length)>0&&(0,a.jsx)(z,{keywords:null==(tr=e.data)?void 0:tr.tags})]}),"specialFeature"!==e.layout&&(0,a.jsx)(E,{type:"sm",title:tT,canonical:"".concat("https://www.lifehacker.jp","/article/").concat(null==(ti=e.data)?void 0:ti.slug,"/")})]})}),(0,a.jsx)(R,{title:tT,pr:tK}),"specialFeature"==e.layout?(0,a.jsx)(eA,{sponsored:tz,sponsoredNames:tO,media:tW,buy:tU,commerceAd:tq,released:null==(tn=e.data)?void 0:tn.released_at,updated:null==(tc=e.data)?void 0:tc.updated_at}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.A,{screen:"lg",children:(0,a.jsxs)("div",{className:T().pArticle_MetaRow,children:[(0,a.jsx)(G,{sponsored:tz,sponsoredNames:tO,media:tW,buy:tU,commerceAd:tq}),tY&&(0,a.jsx)(B,{})]})}),(0,a.jsx)(d.A,{screen:"sm",children:(0,a.jsx)(G,{sponsored:tz,sponsoredNames:tO,media:tW,buy:tU,commerceAd:tq})}),(0,a.jsxs)("div",{className:T().pArticle_MetaWrapper,children:[(0,a.jsx)(d.A,{screen:"lg",children:(0,a.jsx)(Z,{credit:null==(to=e.data)||null==(ts=to.meta)?void 0:ts.credit,source_author:null==(t_=e.data)||null==(td=t_.meta)?void 0:td.source_author,source_link:null==(tp=e.data)||null==(tm=tp.meta)?void 0:tm.source_link,collaborators:null==(tu=e.data)?void 0:tu.collaborators})}),(0,a.jsx)(d.A,{screen:"sm",children:(0,a.jsxs)("div",{className:T().pArticle_CreditRow,children:[(0,a.jsx)(Z,{credit:null==(tg=e.data)||null==(th=tg.meta)?void 0:th.credit,source_author:null==(tA=e.data)||null==(tx=tA.meta)?void 0:tx.source_author,source_link:null==(tj=e.data)||null==(tv=tj.meta)?void 0:tv.source_link,collaborators:null==(tf=e.data)?void 0:tf.collaborators}),tY&&(0,a.jsx)(B,{})]})}),(0,a.jsx)(en,{released:null==(tw=e.data)?void 0:tw.released_at,updated:null==(ty=e.data)?void 0:ty.updated_at})]})]})]}),"specialFeature"==e.layout&&(0,a.jsx)(eh.A,{isArticle:!0,title:tT,path:"".concat("https://www.lifehacker.jp","/article/").concat(null==(tN=e.data)?void 0:tN.slug,"/")}),(null==(tk=e.data)||null==(tb=tk.thumbnail)?void 0:tb.image)&&(0,a.jsx)(V,{thumbnail:null==(tS=e.data)?void 0:tS.thumbnail,title:tT}),tY&&(null==lt?void 0:lt.some(e=>
1"lifehacker_normal-3"==e.div_id))&&(0,a.jsx)(w.A,{id:"lifehacker_normal-3",minHeight:100,slots:lt}),tY&&(null==la?void 0:la.some(e=>"lifehacker_normal-0"==e.div_id))&&(0,a.jsx)("div",{className:T().pArticle_Body_TopBanner_SP,children:(0,a.jsx)(y.A,{id:"lifehacker_normal-0",minHeight:250,type:"innerAd",slots:la})}),(0,a.jsxs)("div",{className:"articleBodyWrapper ".concat(T().pArticle_BodyWrapper),children:["specialFeature"!==e.layout&&(0,a.jsx)(E,{type:"lg",title:tT,canonical:"".concat("https://www.lifehacker.jp","/article/").concat(null==(tC=e.data)?void 0:tC.slug,"/")}),(0,a.jsx)("div",{className:"".concat(T().pArticle_Body," article_pArticle_Body postContent ").concat(tz.length>0&&"is_sponsored"),children:(0,a.jsx)(H.ArticleBody,{data:tE,config:ln,styles:T(),googleAdsPC:li,googleAdsSP:lr,cxAds:tY&&tQ?t9:void 0,freeCode:lc})})]}),tY&&(null==la?void 0:la.some(e=>"lifehacker_normal-5"==e.div_id))&&(0,a.jsx)("div",{className:T().pArticle_Body_BottomBanner_SP,children:(0,a.jsx)(y.A,{id:"lifehacker_normal-5",slots:la})}),(0,a.jsx)("div",{className:"pArticle_BodyEnd"}),"specialFeature"!==e.layout&&(0,a.jsxs)(a.Fragment,{children:[0==tz.length&&!tJ&&(0,a.jsx)(eC.A,{variant:"article"}),(0,a.jsx)(q.A,{titleMain:"ãããã¦èªã¿ãã",isArticle:!0}),(0,a.jsx)(g,{isSponsored:!!tz.length}),tY&&(null==la?void 0:la.some(e=>"lifehacker_normal-6"==e.div_id))&&(0,a.jsx)("div",{className:T().pArticle_BottomBanner_SP,children:(0,a.jsx)(y.A,{id:"lifehacker_normal-6",slots:la})}),(0,a.jsx)(d.A,{screen:"lg",children:e.newArticlesData&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(q.A,{titleMain:"æ°çè¨äº",isArticle:!0}),(0,a.jsx)(_.A,{articles:e.newArticlesData,screen:"lg",isNew:!0}),(0,a.jsx)(K.A,{more:"/articles/"})]})}),(0,a.jsxs)(d.A,{screen:"sm",children:[(0,a.jsx)(ec.A,{}),tY&&(0,a.jsx)("div",{className:T().ownedAd,children:(0,a.jsx)(eL.A,{screen:"sm"})}),(0,a.jsx)(C.A,{type:"p",data:e.data}),e.newArticlesData&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(q.A,{titleMain:"æ°çè¨äº",isArticle:!0}),(0,a.jsx)(_.A,{articles:e.newArticlesData,screen:"sm",isNew:!0}),(0,a.jsx)(K.A,{more:"/articles/"})]})]})]}),"specialFeature"==e.layout&&(0,a.jsx)(eh.A,{isArticle:!0,title:tT,path:"".concat("https://www.lifehacker.jp","/article/").concat(null==(tH=e.data)?void 0:tH.slug,"/")})]}),(0,a.jsx)(n.A,{children:(0,a.jsx)(d.A,{screen:"lg",heightFull:!0,children:"specialFeature"==e.layout?(0,a.jsx)(a.Fragment,{children:t0&&(0,a.jsx)(ev.A,{widgetId:"35aa7b7e9d56d90949f0b66764d57b6af765dc15",targetElementId:"cx_35aa7b7e9d56d90949f0b66764d57b6af765dc15"})}):(0,a.jsx)(eF,{displayAd:tY,pcAdSlots:lt,data:e.data})})})]}),tY&&(0,a.jsx)(eC.A,{variant:"modal"}),"specialFeature"==e.layout&&(0,a.jsx)(r.A,{children:t0&&(0,a.jsx)(ev.A,{widgetId:"8e15ca5e3478717cdcf3462a6a2a32ca4b47544f",targetElementId:"cx_8e15ca5e3478717cdcf3462a6a2a32ca4b47544f"})}),(0,a.jsx)("div",{className:"pSpLifehackerStickyTrigger"}),tY&&(0,a.jsxs)(N.A,{children:[(null==lt?void 0:lt.some(e=>"lifehacker_normal-8"==e.div_id))&&(0,a.jsx)(w.A,{id:"lifehacker_normal-8",slots:lt}),(null==la?void 0:la.some(e=>"lifehacker_normal-7"==e.div_id))&&(0,a.jsx)(y.A,{id:"lifehacker_normal-7",slots:la})]}),"specialFeature"==e.layout&&(0,a.jsx)(ef.A,{}),e.isPreview&&(0,a.jsx)(eS,{}),t4]})}},871:e=>{e.exports={pArticle_Head:"specialFeature_pArticle_Head__T7cW3",loading:"specialFeature_loading__RoK2o"}},2187:e=>{e.exports={pArticle_Head:"article_pArticle_Head__OEsyB",pArticle_CollectionWrapper:"article_pArticle_CollectionWrapper__D0or_",pArticle_Collection:"article_pArticle_Collection__JDFP4",pArticle_TitleWrapper:"article_pArticle_TitleWrapper__R5Es2",pArticle_Title:"article_pArticle_Title__XxTCi",pArticle_LabelPR:"article_pArticle_LabelPR__o_FGT",pArticle_Meta:"article_pArticle_Meta__4MaWF",pArticle_MetaRow:"article_pArticle_MetaRow__X8SZf",pArticle_MetaWrapper:"article_pArticle_MetaWrapper__DBfac",pArticle_MetaMedia:"article_pArticle_MetaMedia__j7xWS",pArticle_MetaBuy:"article_pArticle_MetaBuy__HryxY",pArticle_MetaSponsored:"article_pArticle_MetaSponsored__EP6_q",pArticle_MetaDate:"article_pArticle_MetaDate__5m7kK",pArticle_Banner:"article_pArticle_Banner__G62ce",pArticle_Thumbnail:"article_pArticle_Thumbnail__EBapg",pArticle_ThumbnailCaption:"article_pArticle_ThumbnailCaption__UdfbI",pArticle_ThumbnailCaptionLink:"article_pArticle_ThumbnailCaptionLink__cRA89",pArticle_BodyWrapper:"article_pArticle_BodyWrapper__xq7lr",pArticle_Sns:"article_pArticle_Sns__rS3dI",_sm:"article__sm__bhnA_",pArticle_SnsItem:"article_pArticle_SnsItem__0aMKu",pArticle_SnsItemLink:"article_pArticle_SnsItemLink__qXB_j",_facebook:"article__facebook__AO8eI",_twitter:"article__twitter__J7Uve",_line:"article__line___e_1_",_hatena:"article__hatena___H_cx",pArticle_Contents:"article_pArticle_Contents__f2I5t",pArticle_Credit:"article_pArticle_Credit__LTq2g",pArticle_CreditIcon:"article_pArticle_CreditIcon__pHNyZ",pArticle_CreditName:"article_pArticle_CreditName__eOxM_",pArticle_Keyword:"article_pArticle_Keyword__yFDrh",pArticle_KeywordList:"article_pArticle_KeywordList__aMTYl",pArticle_KeywordItem:"article_pArticle_KeywordItem__GIRmQ",pArticle_Body:"article_pArticle_Body__KWzIr",pArticle_Table:"article_pArticle_Table__9bXPg",pArticle_Video:"article_pArticle_Video__k_I9M",pArticle_VideoContainer:"article_pArticle_VideoContainer__hYquQ",pArticle_Premium:"article_pArticle_Premium__wAbK_",pArticle_PremiumLink:"article_pArticle_PremiumLink__s8y2V",pArticle_PremiumImage:"article_pArticle_PremiumImage__fTW1u",pArticle_PremiumInfo:"article_pArticle_PremiumInfo__E0nzc",pArticle_PremiumTitle:"article_pArticle_PremiumTitle__bHRoj",pArticle_Partition:"article_pArticle_Partition__9ABKS",pArticle_Gallery:"article_pArticle_Gallery__XicOm",pArticle_GalleryNav:"article_pArticle_GalleryNav__sy3mi",pArticle_GalleryButton:"article_pArticle_GalleryButton__ni4wF",active:"article_active__c7a3G",pArticle_GalleryButtonIcon:"article_pArticle_GalleryButtonIcon__nKzWr",pArticle_GalleryContainer:"article_pArticle_GalleryContainer__GZx4c",pArticle_GalleryItem:"article_pArticle_GalleryItem___sGPU",pArticle_GallerySliderNav:"article_pArticle_GallerySliderNav__2fn6L",pArticle_GallerySliderPagination:"article_pArticle_GallerySliderPagination__IbSxJ",pArticle_GallerySliderNavButton:"article_pArticle_GallerySliderNavButton___lq_q",prev:"article_prev__meo3M",next:"article_next__pCXYj",pArticle_GalleryItemCaption:"article_pArticle_GalleryItemCaption__tp_GA",pArticle_GalleryTitle:"article_pArticle_GalleryTitle__Uytda",pArticle_Profile:"article_pArticle_Profile__qBu3k",pArticle_ProfileFigure:"article_pArticle_ProfileFigure__26Qtc",pArticle_ProfileJobTitle:"article_pArticle_ProfileJobTitle__iuwjQ",pArticle_ProfileName:"article_pArticle_ProfileName__ShC_I",pArticle_ProfileEnglishName:"article_pArticle_ProfileEnglishName__9IWP_",pArticle_ProfileDescription:"article_pArticle_ProfileDescription__rcp8O",pArticle_Embed:"article_pArticle_Embed__T5UsK","pArticle_Figure--left":"article_pArticle_Figure--left__CvMOO","pArticle_Figure--right":"article_pArticle_Figure--right__EqsL6","pArticle_Figure--default":"article_pArticle_Figure--default__S9Dg7",pArticle_Pager:"article_pArticle_Pager__ZKA_8",pArticle_PagerTitle:"article_pArticle_PagerTitle__mEyKw",pArticle_PagerTitleText:"article_pArticle_PagerTitleText__kKL05",pArticle_PagerList:"article_pArticle_PagerList__oBOM_",pArticle_PagerItem:"article_pArticle_PagerItem__TcL8C",pArticle_PagerPrev:"article_pArticle_PagerPrev__KYmfp",pArticle_PagerNext:"article_pArticle_PagerNext__dzHYc","pArticle_PagerItem--current":"article_pArticle_PagerItem--current__KUzZv",pArticle_Button:"article_pArticle_Button__g84Zl",pArticle_CtaButton:"article_pArticle_CtaButton__2TAwc",pArticle_CollectionWrapperInner:"article_pArticle_CollectionWrapperInner__HoAPg",_lg:"article__lg__1zFy9",_hidden:"article__hidden__g0L7Q",_clip:"article__clip__i9LAf",_close:"article__close__FBn5Z",_more:"article__more___Rg3d",pArticle_Clipped:"article_pArticle_Clipped__7ohRL","fade-in":"article_fade-in__dVXHN",pArticle_ClippedText:"article_pArticle_ClippedText__k1Brw",pArticle_CreditRow:"article_pArticle_CreditRow__u3ocq",pArticle_PremiumMeta:"article_pArticle_PremiumMeta__mkOJW",pArticle_Body_BottomBanner_SP:"article_pArticle_Body_BottomBanner_SP__NKYWJ",pArticle_BottomBanner_SP:"article_pArticle_BottomBanner_SP__O2zQv",ownedAd:"article_ownedAd__1po3E",loading:"article_loading__Bd08B"}},2983:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(7876),r=l(8213),i=l.n(r);let n=e=>{let t="".concat(e.path),l="".concat(e.title);return(0,a.jsxs)("div",{className:"".concat(i().sfShare," ").concat(e.isArticle?i().isArticle:""),children:[(0,a.jsxs)("a",{className:i()._twitter,href:"https://twitter.com/intent/tweet?text=".concat(l&&encodeURIComponent(l),"&url=").concat(t&&encodeURI(t)),target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",transform:"translate(0 -1)",children:(0,a.jsx)("path",{d:"M5.692,6.879h0L5.217,6.2,1.44.8H3.066l3.048,4.36.475.679L10.551,11.5H8.925ZM10.55,0,6.671,4.509,3.573,0H0L4.685,6.818,0,12.264H1.059L5.155,7.5l3.272,4.762H12L7.141,5.193h0L11.609,0Z",fill:"#fff"})}),"ãã¹ã"]}),(0,a.jsxs)("a",{className:i()._fb,href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t&&encodeURI(t)),target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",transform:"translate(0 -1)",children:(0,a.jsx)("path",{d:"M14,.772V13.225a.772.772,0,0,1-.772.772H9.659V8.578h1.819l.272-2.112H9.656V5.116c0-.613.169-1.028,1.047-1.028h1.119V2.2a15.041,15.041,0,0,0-1.631-.084A2.547,2.547,0,0,0,7.472,4.906V6.466H5.647V8.578H7.472V14H.772A.774.774,0,0,1,0,13.228V.772A.774.774,0,0,1,.772,0H13.225A.774.774,0,0,1,14,.772Z",fill:"#fff"})}),"ã·ã§ã¢"]}),e.isArticle&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("a",{className:i()._line,href:"http://line.me/R/msg/text/?".concat(t&&encodeURI(t)),target:"_blank",rel:"noreferrer",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",transform:"translate(0 -1)",children:(0,a.jsx)("path",{d:"M14,5.678a5.01,5.01,0,0,1-1.5,3.49h0a22.616,22.616,0,0,1-5.49,4.081c-.752.309-.631-.2-.6-.376.013-.107.094-.6.094-.6a1.259,1.259,0,0,0-.027-.631c-.081-.2-.389-.3-.61
17-.349C2.5,10.846,0,8.5,0,5.678,0,2.55,3.141,0,7.007,0S14,2.55,14,5.678m-8.416-1.5h-.5a.135.135,0,0,0-.134.134V7.356a.135.135,0,0,0,.134.134h.5a.135.135,0,0,0,.134-.134V4.309a.135.135,0,0,0-.134-.134m3.383,0h-.5a.135.135,0,0,0-.134.134V6.121L6.94,4.228l-.013-.013h0L6.913,4.2h-.6a.135.135,0,0,0-.134.134V7.383a.135.135,0,0,0,.134.134h.5a.135.135,0,0,0,.134-.134V5.544l1.4,1.893.04.04H8.94a.135.135,0,0,0,.134-.134V4.309a.1.1,0,0,0-.107-.134M4.389,6.725H3.06V4.309a.135.135,0,0,0-.134-.134h-.5a.135.135,0,0,0-.134.134V7.356h0a.122.122,0,0,0,.04.094h0a.122.122,0,0,0,.094.04h1.96a.135.135,0,0,0,.134-.134v-.5a.126.126,0,0,0-.134-.134m7.289-1.8a.135.135,0,0,0,.134-.134V4.3a.135.135,0,0,0-.134-.134H9.7a.122.122,0,0,0-.094.04h0a.122.122,0,0,0-.04.094h0V7.342h0a.122.122,0,0,0,.04.094h0a.122.122,0,0,0,.094.04h1.973a.135.135,0,0,0,.134-.134v-.5a.135.135,0,0,0-.134-.134H10.336V6.2h1.342a.135.135,0,0,0,.134-.134v-.5a.135.135,0,0,0-.134-.134H10.336v-.51Z",fill:"#fff"})}),"LINE"]}),(0,a.jsxs)("a",{className:i()._hatena,href:"http://b.hatena.ne.jp/add?url=".concat(t&&encodeURI(t)),target:"_blank",rel:"noreferrer",children:[(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",transform:"translate(0 -1)",children:[(0,a.jsx)("path",{d:"M11.147,0H2.853A2.852,2.852,0,0,0,0,2.853v8.294A2.852,2.852,0,0,0,2.853,14h8.294A2.852,2.852,0,0,0,14,11.147V2.853A2.852,2.852,0,0,0,11.147,0ZM9.313,3.819h1.4V8.061h-1.4ZM7.955,9.26a1.455,1.455,0,0,1-.613.6,2.545,2.545,0,0,1-.8.249,11.857,11.857,0,0,1-1.562.073h-1.8V3.819H4.925a10.8,10.8,0,0,1,1.5.067,2.306,2.306,0,0,1,.734.241,1.355,1.355,0,0,1,.538.521,1.522,1.522,0,0,1,.185.759,1.268,1.268,0,0,1-.274.86,1.711,1.711,0,0,1-.879.484,1.514,1.514,0,0,1,1.058.476A1.63,1.63,0,0,1,8.17,8.361,1.824,1.824,0,0,1,7.955,9.26Zm2.058.924a.806.806,0,1,1,.806-.806A.807.807,0,0,1,10.013,10.184Z",fill:"#fff"}),(0,a.jsx)("path",{d:"M172.7,273.16a1.647,1.647,0,0,0-.865-.16H171.2v1.386h.608a1.785,1.785,0,0,0,.871-.154l0,0a.522.522,0,0,0,.258-.515A.632.632,0,0,0,172.7,273.16Z",transform:"translate(-166.406 -265.356)",fill:"#fff"}),(0,a.jsx)("path",{d:"M172.424,187.837a.517.517,0,0,0,.238-.487.558.558,0,0,0-.221-.5,1.74,1.74,0,0,0-.868-.146H171.2v1.277h.344A1.872,1.872,0,0,0,172.424,187.837Z",transform:"translate(-166.406 -181.472)",fill:"#fff"})]}),"ããã¯ãã¼ã¯"]})]})]})}},3099:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(7876),r=l(5827),i=l.n(r);let n=e=>{let{breadcrumb:t,type:l}=e;return(0,a.jsx)("ol",{className:"".concat(i().stBreadcrumbs_List," ").concat(l?i()["".concat(l)]:""),"data-google-interstitial":"false",children:t.map((e,l)=>(0,a.jsx)("li",{className:i().stBreadcrumbs_Item,children:t.length-1!==l?(0,a.jsx)("a",{href:null==e?void 0:e.url,children:null==e?void 0:e.title}):(0,a.jsx)("span",{children:null==e?void 0:e.title})},l))})}},3211:e=>{e.exports={wrapper:"googlePreferredSource_wrapper__xp4B8",link:"googlePreferredSource_link__d6vjq",icon:"googlePreferredSource_icon__BI_bn",text:"googlePreferredSource_text__h_APG",loading:"googlePreferredSource_loading__ZEMMZ"}},3754:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(7876),r=l(7838),i=l.n(r);let n=()=>(0,a.jsx)("footer",{className:i().sfFooter,children:(0,a.jsx)("small",{className:i().sfFooter_copyright,children:"\xa9 mediagene Inc."})})},3942:e=>{e.exports={pArticle_Meta:"specialFeatureArticleMeta_pArticle_Meta__pWqAm",pArticle_MetaWrapper:"specialFeatureArticleMeta_pArticle_MetaWrapper__0BKJi",pArticle_MetaMedia:"specialFeatureArticleMeta_pArticle_MetaMedia___erZX",pArticle_MetaBuy:"specialFeatureArticleMeta_pArticle_MetaBuy__iBTdu",pArticle_MetaSponsored:"specialFeatureArticleMeta_pArticle_MetaSponsored__EfzpW",pArticle_MetaDate:"specialFeatureArticleMeta_pArticle_MetaDate__m_00i",loading:"specialFeatureArticleMeta_loading__8953D"}},4212:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var a=l(7876);l(4232);var r=l(7344),i=l.n(r);let n=e=>{let{slug:t,title:l,logo:r}=e;return(0,a.jsxs)("header",{className:i().sfHeader,children:[(0,a.jsx)("div",{className:i().sfHeader_logoWrap,children:(0,a.jsx)("h1",{className:i().sfHeader_Logo,children:(0,a.jsx)("a",{href:"/",children:(0,a.jsx)("span",{className:"".concat(i().sfHeader_LogoIcon," ").concat(i()["sfHeader_LogoIcon_".concat(t)]),children:(0,a.jsx)("svg",{children:(0,a.jsx)("use",{xlinkHref:"#logo"})})})})})}),(0,a.jsxs)("div",{className:"".concat(i().sfHeader_info," ").concat(i()["sfHeader_info_".concat(t)]),children:[(0,a.jsx)("p",{className:"".concat(i().sfHeader_title," ").concat(i()["sfHeader_title_".concat(t)]),children:(0,a.jsx)("a",{href:"/specialfeature/".concat(t,"/"),children:l})}),(0,a.jsxs)("div",{className:i().sfHeader_meta,children:[(0,a.jsx)("p",{className:i().sfHeader_metaSponsored,children:"Sponsored by "}),(0,a.jsx)("a",{href:null==r?void 0:r.linkUrl,target:"_blank",rel:"noreferrer",children:(0,a.jsx)("img",{className:i().sfHeader_metaSponsoredLogo,src:null==r?void 0:r.url,alt:null==r?void 0:r.alt,draggable:!1})})]})]})]})}},4304:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/article/[slug]",function(){return l(740)}])},5827:e=>{e.exports={stBreadcrumbs_List:"breadcrumbs_stBreadcrumbs_List__rc6Cn",article:"breadcrumbs_article__Fi_iO",author:"breadcrumbs_author__XWsbO",collection:"breadcrumbs_collection__cLduh",stBreadcrumbs_Item:"breadcrumbs_stBreadcrumbs_Item__oMlUj",loading:"breadcrumbs_loading__pH_78"}},6175:e=>{e.exports={pRecommend_Title:"recommendArticles_pRecommend_Title__iGfF0",pRecommend_Container:"recommendArticles_pRecommend_Container__QSTzd",col3:"recommendArticles_col3__NdHlR",pRecommend_Card:"recommendArticles_pRecommend_Card__aB7Bd",pRecommend_CardImage:"recommendArticles_pRecommend_CardImage___XHlR",col4:"recommendArticles_col4__Iauvp",pRecommend_CardLink:"recommendArticles_pRecommend_CardLink__G9EGu",pRecommend_CardTitle:"recommendArticles_pRecommend_CardTitle___CFom",pRecommend_CardMeta:"recommendArticles_pRecommend_CardMeta__vEUlk",pRecommend_CardDate:"recommendArticles_pRecommend_CardDate__wPZY0",pRecommend_CardMedia:"recommendArticles_pRecommend_CardMedia__0djx4",loading:"recommendArticles_loading__b_jlY"}},6394:e=>{e.exports={CxenseAd:"cxenseAd_CxenseAd__HUpqm",CxenseAd_Link:"cxenseAd_CxenseAd_Link__5tneF",CxenseAd_Image:"cxenseAd_CxenseAd_Image__uhIxW",CxenseAd_Image_Skeleton:"cxenseAd_CxenseAd_Image_Skeleton__N5xOp",loading:"cxenseAd_loading__3ZlyA",CxenseAd_Info:"cxenseAd_CxenseAd_Info__Qs9cR",CxenseAd_Title:"cxenseAd_CxenseAd_Title__BHSxu",CxenseAd_Title_Skeleton:"cxenseAd_CxenseAd_Title_Skeleton__SmP
1LT",CxenseAd_SponsoredLabel:"cxenseAd_CxenseAd_SponsoredLabel__GUzI3"}},7344:e=>{e.exports={sfHeader:"specialFeatureHeader_sfHeader__FCJJg",sfHeader_logoWrap:"specialFeatureHeader_sfHeader_logoWrap__BZ6FH",sfHeader_Logo:"specialFeatureHeader_sfHeader_Logo__mcRUU",sfHeader_LogoIcon:"specialFeatureHeader_sfHeader_LogoIcon__3RDhi",sfHeader_info:"specialFeatureHeader_sfHeader_info__GJf1j",sfHeader_title:"specialFeatureHeader_sfHeader_title__RQ1Rn",sfHeader_meta:"specialFeatureHeader_sfHeader_meta__wQYLU",sfHeader_metaSponsored:"specialFeatureHeader_sfHeader_metaSponsored__9zYhM",sfHeader_metaSponsoredLogo:"specialFeatureHeader_sfHeader_metaSponsoredLogo__IjgUp",sfHeader_LogoIcon_cocokuri:"specialFeatureHeader_sfHeader_LogoIcon_cocokuri__oZJq1",sfHeader_title_cocokuri:"specialFeatureHeader_sfHeader_title_cocokuri__Uhgl3",sfHeader_info_cocokuri:"specialFeatureHeader_sfHeader_info_cocokuri__webzH",loading:"specialFeatureHeader_loading__10ZZR"}},7838:e=>{e.exports={sfFooter:"specialFeatureFooter_sfFooter__Cq5QF",sfFooter_copyright:"specialFeatureFooter_sfFooter_copyright__U9Bhg",loading:"specialFeatureFooter_loading__r_8n2"}},8213:e=>{e.exports={sfShare:"specialFeatureShare_sfShare__os7ga",_twitter:"specialFeatureShare__twitter__6LkeY",_fb:"specialFeatureShare__fb__XcDbn",_line:"specialFeatureShare__line__rTF8j",_hatena:"specialFeatureShare__hatena__Bj8RJ",isArticle:"specialFeatureShare_isArticle__5DnJQ",loading:"specialFeatureShare_loading__iOGAD"}},8878:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(7876),r=l(7328),i=l.n(r),n=l(6557),c=l.n(n),s=l(4301),o=l.n(s),d=l(1576),_=l.n(d);c().extend(_()),c().extend(o()),c().tz.setDefault("Asia/Tokyo");let m=e=>{var t,l,r,n,s,o,d,_,m,p,u,h,g,x,A,v,j;return(0,a.jsxs)(i(),{children:[(0,a.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/lifehackerjapan/"}),(0,a.jsx)("meta",{property:"article:published_time",content:e.released_at?c()(e.released_at.toString()).format():""}),(0,a.jsx)("meta",{property:"article:modified_time",content:e.updated_at?c()(e.updated_at.toString()).format():""}),null==(t=e.collaborators)?void 0:t.map((e,t)=>(0,a.jsx)("meta",{name:"author",content:null==e?void 0:e.name},"author".concat(t))),(0,a.jsx)("meta",{name:"cXenseParse:title",content:e.title}),(0,a.jsx)("meta",{name:"cXenseParse:url",content:"".concat("https://www.lifehacker.jp","/article/").concat(e.slug,"/")}),(0,a.jsx)("meta",{name:"cXenseParse:recs:articleid",content:e.slug}),(0,a.jsx)("meta",{name:"cXenseParse:recs:publishtime",content:e.released_at?c()(e.released_at.toString()).utc().format():""}),null==(l=e.collaborators)?void 0:l.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:author",content:null==e?void 0:e.name},"cXenseAuthor".concat(t))),null==(r=e.categories)?void 0:r.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-category",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"category".concat(t))}),null==(n=e.categories)?void 0:n.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-categoryslug",content:e.slug},"categorySlug".concat(t))),null==(s=e.parentCategories)?void 0:s.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-category",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"parentCategory".concat(t))}),null==(o=e.parentCategories)?void 0:o.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-categoryslug",content:e.slug},"parentCategorySlug".concat(t))),null==(d=e.articleTypes)?void 0:d.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-articletype",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"articleType".concat(t))}),null==(_=e.articleTypes)?void 0:_.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-articletypeslug",content:e.slug},"articleTypeSlug".concat(t))),null==(m=e.features)?void 0:m.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-feature",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"feature".concat(t))}),null==(p=e.features)?void 0:p.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-featureslug",content:e.slug},"featureSlug".concat(t))),null==(u=e.regulars)?void 0:u.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-regular",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"regular".concat(t))}),null==(h=e.regulars)?void 0:h.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-regularslug",content:e.slug},"regularSlug".concat(t))),null==(g=e.media)?void 0:g.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-reprint",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"reprint".concat(t))}),null==(x=e.media)?void 0:x.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-reprintslug",content:e.slug},"reprintSlug".concat(t))),null==(A=e.sponsoredNames)?void 0:A.map((e,t)=>{var l;return(0,a.jsx)("meta",{name:"cXenseParse:sponsored_name",content:(null==(l=e.meta)?void 0:l.seo_title)||e.title},"sponsoredNames".concat(t))}),null==(v=e.tags)?void 0:v.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-tag",content:e.name},"tag".concat(t))),null==(j=e.tags)?void 0:j.map((e,t)=>(0,a.jsx)("meta",{name:"cXenseParse:mdg-marker-tagslug",content:e.slug},"tagSlug".concat(t))),e.notLogly&&(0,a.jsx)("meta",{name:"logly",content:"noindex"})]})}}},e=>{e.O(0,[6593,6801,1437,86,9386,6101,2593,8560,8123,5967,6486,636,8792],()=>e(e.s=4304)),_N_E=e.O()}]);
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.