1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3460],{78853:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test_webview/qrcode_download",function(){return t(82141)}])},39013:function(e,n,t){"use strict";var s=t(85893),i=t(2567),r=t(9117),o=t(9008),d=t.n(o),l=t(11163),a=t(45697),c=t.n(a),u=t(21213);let w=e=>{let{title:n}=e,t=(0,l.useRouter)(),{getGroupSectionFromPathname:o}=(0,i.X)(),{section:a}=o(t.pathname),{i18n:c}=(0,u.$G)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(d(),{children:[n?(0,s.jsx)("title",{children:n}):a.title&&(0,s.jsx)("title",{children:a.title?(0,r.x)(a.title,c.language):""}),(0,s.jsx)("link",{rel:"shortcut icon",href:"/favicon-16x16.png",type:"image/png",sizes:"16x16"}),(0,s.jsx)("link",{rel:"shortcut icon",href:"/favicon-32x32.png",type:"image/png",sizes:"32x32"}),(0,s.jsx)("link",{rel:"shortcut icon",href:"/favicon-32x32.png",type:"image/png",sizes:"96x96"})]})})};w.propTypes={title:c().string},n.Z=w},23272:function(e,n,t){"use strict";var s=t(20567),i=t(14932),r=t(47702),o=t(85893),d=t(8827),l=t.n(d);n.Z=e=>{var{children:n}=e,t=(0,r._)(e,["children"]);return(0,o.jsx)("div",(0,i._)((0,s._)({},t),{className:l().page,children:n}))}},82141:function(e,n,t){"use strict";t.r(n);var s=t(85893),i=t(39013),r=t(23272),o=t(80028),d=t(87066),l=t(11163),a=t(67294);let c=()=>{let[e,n]=(0,a.useState)(""),[,t]=(0,a.useState)(null),i=e=>{window.Android?window.Android.qrcodeDownload(e):window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.qrcodeDownload&&window.webkit.messageHandlers.qrcodeDownload.postMessage(e)};return(0,a.useEffect)(()=>{(async()=>{try{let e=await d.Z.get("/api/poc/qrcode");n(e.data.qrcode)}catch(e){throw t(e),e}})()},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:(0,s.jsx)("img",{id:"imageToSave",src:e,width:"300",alt:"qr"})}),(0,s.jsxs)("p",{style:{"word-break":"break-word"},children:["qrcodeDownload(",e,")"]}),(0,s.jsx)("p",{children:(0,s.jsx)("input",{type:"button",value:"Download QR Code",onClick:()=>i(e)})}),(0,s.jsx)("p",{}),(0,s.jsxs)("p",{style:{"word-break":"break-word"},children:["URLEncode: qrcodeDownload(",encodeURIComponent(e),")"]}),(0,s.jsx)("p",{children:(0,s.jsx)("input",{type:"button",value:"Download QR Code with URL Encode",onClick:()=>i(encodeURIComponent(e))})})]})};n.default=()=>{let e=(0,l.useRouter)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{title:"Close WebView"}),(0,s.jsx)(o.Z,{small:!0,hideSidebar:!0,children:(0,s.jsxs)(r.Z,{children:[(0,s.jsx)("div",{className:"p-2",children:(0,s.jsx)("div",{className:"text-center",children:JSON.stringify(null==e?void 0:e.query)})}),(0,s.jsx)("div",{className:"p-2",children:(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)(c,{})})})]})})]})}},8827:function(e){e.exports={page:"ContentLayout_page__YmmST"}}},function(e){e.O(0,[4976,5006,1167,28,2888,9774,179],function(){return e(e.s=78853)}),_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.