1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{6518:function(e,t,l){Promise.resolve().then(l.bind(l,6648))},6648:function(e,t,l){"use strict";l.d(t,{LineGatewayPage:function(){return d}});var n=l(2069),s=l(4078),c=l(293),o=l.n(c);function r(e){return o().randomBytes(e).toString("hex")}var a=l(4108);let i=e=>{let{ad_id:t}=e,l=(0,s.useRef)(null);return(0,s.useEffect)(()=>{l.current&&a.toCanvas(l.current,"".concat("line://app/2007034592-0yBGXGgx","?ad_id=").concat(t),{width:256,margin:2,color:{dark:"#00B900",light:"#ffffff"}},e=>{e&&console.error(e),console.log("QR code generated!")})},[]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("canvas",{ref:l,className:"rounded-lg"})})},d=()=>{let[e,t]=(0,s.useState)(null),[l,c]=(0,s.useState)(null);return((0,s.useEffect)(()=>{c(new URL(window.location.href).searchParams.get("ad_id")),t(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent))},[]),null===e)?(0,n.jsx)("div",{className:"flex flex-col justify-center items-center h-screen font-bold text-2xl",children:"Loading..."}):(0,n.jsx)("div",{className:"flex flex-col justify-center items-center h-screen",children:e?(0,n.jsxs)("div",{className:"flex flex-col max-w-lg mx-auto p-4 bg-white gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col bg-yellow-50 border-l-4 border-yellow-400 p-4 gap-2",children:[(0,n.jsx)("p",{className:"text-yellow-700 text-sm",children:"ãã¿ã³ãæ¼ãã¦ãLINEã¢ããªã«é·ç§»ããªãå ´åã¯ããã¿ã³ãé·æ¼ããã¦ãLINEã§éããã鏿ãã¦ãã ããã"}),(0,n.jsx)("p",{className:"text-yellow-700 text-sm",children:"â»ãLINEã§éããã表示ãããªãå ´åã¯ããã®URLãSafariã§éãã¦ãã ãã"})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2 ",children:[(0,n.jsx)("img",{src:"/line-icon.png",alt:"LINE logo",className:"w-20 h-20 my-1"}),(0,n.jsx)("p",{className:"text-xl font-bold",children:"LINEã¢ããªãéãã¦"}),(0,n.jsx)("p",{className:"text-xl font-bold",children:"ç¶è¡ãã¦ãã ãã"})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("button",{className:"w-full bg-green-500 text-white py-3 rounded-md font-bold",onClick:()=>{window.location.href="".concat("line://app/2007034592-0yBGXGgx","?ad_id=").concat(l)},children:"ã¢ããªã§éã"}),(0,n.jsx)("button",{className:"w-full bg-white border border-gray-300 text-gray-700 py-3 rounded-md font-bold",onClick:()=>{let e=r(16),t=r(16),n="https://access.line.me/oauth2/v2.1/authorize?response_type=code&client_id=2006189461&redirect_uri=REDIRECT_URL&state=STATE&nonce=NONCE&scope=profile%20openid".replace("STATE",e).replace("NONCE",t).replace("REDIRECT_URL","".concat(encodeURIComponent("https://liff.line.me/2007034592-0yBGXGgx"),"?ad_id=").concat(l));window.location.href=n},children:"ãã©ã¦ã¶ã§ãã°ã¤ã³ãã"}),(0,n.jsx)("button",{className:"w-full bg-white border border-gray-300 text-gray-700 py-3 rounded-md font-bold",onClick:()=>{window.open("https://line.me/R/ti/p/%40line_download","_blank")},children:"LINEã¢ããªããã¦ã³ãã¼ã"})]})]}):(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center max-w-[300px] gap-4",children:[(0,n.jsx)("p",{className:"text-lg text-muted-foreground",children:"ã¹ãã¼ããã©ã³ã§ã覧ãã ãã"}),(0,n.jsx)(i,{ad_id:l}),(0,n.jsxs)("p",{className:"text-lg text-center text-muted-foreground",children:["LINEã¢ããªãèµ·åãã¦ã",(0,n.jsx)("br",{})," QRã³ã¼ããèªã¿åã£ã¦ãã ããã"]})]})})}}},function(e){e.O(0,[98,915,21,948,744],function(){return e(e.s=6518)}),_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.