PageSourceSearch

https://shade-woad.vercel.app/_next/static/chunks/9736.e96e978307616518.js

js shade-woad.vercel.app collected 2026-10-03 07:43:26 UTC 64,759 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9736],{9736:(t,e,i)=>{i.r(e),i.d(e,{mm_install_modal:()=>g,mm_otp_modal:()=>p});var n=i(86459),r=i(81029).hp;let o={fontFamily:'"Euclid Circular B", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'},s=({className:t},e)=>(0,n.h)("div",{style:o,class:t},e),a=()=>(0,n.h)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.h)("path",{d:"M10.4249 12.6668C10.0613 12.6668 9.81883 12.4002 9.81883 12.0002C9.81883 11.6002 10.0613 11.3335 10.4249 11.3335C12.1219 11.3335 13.4552 9.86683 13.4552 8.00016C13.4552 6.1335 12.1219 4.66683 10.4249 4.66683C8.72792 4.66683 7.39459 6.1335 7.39459 8.00016C7.39459 8.40016 7.15217 8.66683 6.78853 8.66683C6.42489 8.66683 6.18247 8.40016 6.18247 8.00016C6.18247 5.40016 8.06126 3.3335 10.4249 3.3335C12.7885 3.3335 14.6673 5.40016 14.6673 8.00016C14.6673 10.6002 12.7885 12.6668 10.4249 12.6668ZM5.4552 12.5335C3.15217 12.5335 1.33398 10.4668 1.33398 8.00016C1.33398 5.5335 3.15217 3.46683 5.4552 3.46683C5.81883 3.46683 6.06126 3.7335 6.06126 4.1335C6.06126 4.5335 5.81883 4.80016 5.4552 4.80016C3.81883 4.80016 2.54611 6.26683 2.54611 8.00016C2.54611 9.7335 3.81883 11.2002 5.4552 11.2002C7.09156 11.2002 8.36429 9.80016 8.36429 8.00016C8.36429 7.60016 8.60671 7.3335 8.97035 7.3335C9.33398 7.3335 9.57641 7.60016 9.57641 8.00016C9.5158 10.4668 7.69762 12.5335 5.4552 12.5335Z",fill:"white"})),h=()=>(0,n.h)("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.h)("path",{d:"M1.25861 10.9543C1.08083 10.9543 0.962312 10.895 0.843793 10.7765C0.606756 10.5394 0.606756 10.1839 0.843793 9.94686L10.3253 0.465375C10.5623 0.228338 10.9179 0.228338 11.1549 0.465375C11.3919 0.702412 11.3919 1.05797 11.1549 1.295L1.67342 10.7765C1.5549 10.895 1.43639 10.9543 1.25861 10.9543Z",fill:"#141618"}),(0,n.h)("path",{d:"M10.7401 10.9543C10.5623 10.9543 10.4438 10.895 10.3253 10.7765L0.843793 1.295C0.606756 1.05797 0.606756 0.702412 0.843793 0.465375C1.08083 0.228338 1.43639 0.228338 1.67342 0.465375L11.1549 9.94686C11.3919 10.1839 11.3919 10.5394 11.1549 10.7765C11.0364 10.895 10.9179 10.9543 10.7401 10.9543Z",fill:"#141618"}));"undefined"!=typeof globalThis||("undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self&&self);var l={exports:{}};!function(t,e){t.exports=(()=>{var t={873:(t,e)=>{var i,n,r=function(){var t,e,i=function(t,e){var i=t,n=s[e],r=null,o=0,h=null,w=[],m={},v=function(t,e){r=function(t){for(var e=Array(t),i=0;i<t;i+=1){e[i]=Array(t);for(var n=0;n<t;n+=1)e[i][n]=null}return e}(o=4*i+17),y(0,0),y(o-7,0),y(0,o-7),M(),b(),C(t,e),i>=7&&x(t),null==h&&(h=S(i,n,w)),N(h,e)},y=function(t,e){for(var i=-1;i<=7;i+=1)if(!(t+i<=-1||o<=t+i))for(var n=-1;n<=7;n+=1)e+n<=-1||o<=e+n||(r[t+i][e+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},b=function(){for(var t=8;t<o-8;t+=1)null==r[t][6]&&(r[t][6]=t%2==0);for(var e=8;e<o-8;e+=1)null==r[6][e]&&(r[6][e]=e%2==0)},M=function(){for(var t=a.getPatternPosition(i),e=0;e<t.length;e+=1)for(var n=0;n<t.length;n+=1){var o=t[e],s=t[n];if(null==r[o][s])for(var h=-2;h<=2;h+=1)for(var l=-2;l<=2;l+=1)r[o+h][s+l]=-2==h||2==h||-2==l||2==l||0==h&&0==l}},x=function(t){for(var e=a.getBCHTypeNumber(i),n=0;n<18;n+=1){var s=!t&&1==(e>>n&1);r[Math.floor(n/3)][n%3+o-8-3]=s}for(n=0;n<18;n+=1)s=!t&&1==(e>>n&1),r[n%3+o-8-3][Math.floor(n/3)]=s},C=function(t,e){for(var i=n<<3|e,s=a.getBCHTypeInfo(i),h=0;h<15;h+=1){var l=!t&&1==(s>>h&1);
vendor: 10,016 bytes, line 1
1h<6?r[h][8]=l:h<8?r[h+1][8]=l:r[o-15+h][8]=l}for(h=0;h<15;h+=1)l=!t&&1==(s>>h&1),h<8?r[8][o-h-1]=l:h<9?r[8][15-h-1+1]=l:r[8][15-h-1]=l;r[o-8][8]=!t},N=function(t,e){for(var i=-1,n=o-1,s=7,h=0,l=a.getMaskFunction(e),d=o-1;d>0;d-=2)for(6==d&&(d-=1);;){for(var u=0;u<2;u+=1)if(null==r[n][d-u]){var c=!1;h<t.length&&(c=1==(t[h]>>>s&1)),l(n,d-u)&&(c=!c),r[n][d-u]=c,-1==(s-=1)&&(h+=1,s=7)}if((n+=i)<0||o<=n){n-=i,i=-i;break}}},S=function(t,e,i){for(var n=d.getRSBlocks(t,e),r=u(),o=0;o<i.length;o+=1){var s=i[o];r.put(s.getMode(),4),r.put(s.getLength(),a.getLengthInBits(s.getMode(),t)),s.write(r)}var h=0;for(o=0;o<n.length;o+=1)h+=n[o].dataCount;if(r.getLengthInBits()>8*h)throw"code length overflow. ("+r.getLengthInBits()+">"+8*h+")";for(r.getLengthInBits()+4<=8*h&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(!1);for(;!(r.getLengthInBits()>=8*h||(r.put(236,8),r.getLengthInBits()>=8*h));)r.put(17,8);return function(t,e){for(var i=0,n=0,r=0,o=Array(e.length),s=Array(e.length),h=0;h<e.length;h+=1){var d=e[h].dataCount,u=e[h].totalCount-d;n=Math.max(n,d),r=Math.max(r,u),o[h]=Array(d);for(var c=0;c<o[h].length;c+=1)o[h][c]=255&t.getBuffer()[c+i];i+=d;var g=a.getErrorCorrectPolynomial(u),p=l(o[h],g.getLength()-1).mod(g);for(s[h]=Array(g.getLength()-1),c=0;c<s[h].length;c+=1){var f=c+p.getLength()-s[h].length;s[h][c]=f>=0?p.getAt(f):0}}var w=0;for(c=0;c<e.length;c+=1)w+=e[c].totalCount;var m=Array(w),_=0;for(c=0;c<n;c+=1)for(h=0;h<e.length;h+=1)c<o[h].length&&(m[_]=o[h][c],_+=1);for(c=0;c<r;c+=1)for(h=0;h<e.length;h+=1)c<s[h].length&&(m[_]=s[h][c],_+=1);return m}(r,n)};m.addData=function(t,e){var i=null;switch(e=e||"Byte"){case"Numeric":i=c(t);break;case"Alphanumeric":i=g(t);break;case"Byte":i=p(t);break;case"Kanji":i=f(t);break;default:throw"mode:"+e}w.push(i),h=null},m.isDark=function(t,e){if(t<0||o<=t||e<0||o<=e)throw t+","+e;return r[t][e]},m.getModuleCount=function(){return o},m.make=function(){if(i<1){for(var t=1;t<40;t++){for(var e=d.getRSBlocks(t,n),r=u(),o=0;o<w.length;o++){var s=w[o];r.put(s.getMode(),4),r.put(s.getLength(),a.getLengthInBits(s.getMode(),t)),s.write(r)}var h=0;for(o=0;o<e.length;o++)h+=e[o].dataCount;if(r.getLengthInBits()<=8*h)break}i=t}v(!1,function(){for(var t=0,e=0,i=0;i<8;i+=1){v(!0,i);var n=a.getLostPoint(m);(0==i||t>n)&&(t=n,e=i)}return e}())},m.createTableTag=function(t,e){t=t||2;var i="";i+='<table style=" border-width: 0px; border-style: none; border-collapse: collapse; padding: 0px; margin: '+(e=void 0===e?4*t:e)+'px;"><tbody>';for(var n=0;n<m.getModuleCount();n+=1){i+="<tr>";for(var r=0;r<m.getModuleCount();r+=1)i+='<td style=" border-width: 0px; border-style: none; border-collapse: collapse; padding: 0px; margin: 0px; width: '+t+"px; height: "+t+"px; background-color: "+(m.isDark(n,r)?"#000000":"#ffffff")+';"/>';i+="</tr>"}return(i+="</tbody>")+"</table>"},m.createSvgTag=function(t,e,i,n){var r={};"object"==typeof arguments[0]&&(t=(r=arguments[0]).cellSize,e=r.margin,i=r.alt,n=r.title),t=t||2,e=void 0===e?4*t:e,(i="string"==typeof i?{text:i}:i||{}).text=i.text||null,i.id=i.text?i.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var o,s,a,h,l=m.getModuleCount()*t+2*e,d="";for(h="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",d+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',d+=r.scalable?"":' width="'+l+'px" height="'+l+'px"',d+=' viewBox="0 0 '+l+" "+l+'" ',d+=' preserveAspectRatio="xMinYMin meet"',d+=n.text||i.text?' role="img" aria-labelledby="'+O([n.id,i.id].join(" ").trim())+'"':"",d+=">",d+=n.text?'<title id="'+O(n.id)+'">'+O(n.text)+"</title>":"",d+=i.text?'<description id="'+O(i.id)+'">'+O(i.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',s=0;s<m.getModuleCount();s+=1)for(a=s*t+e,o=0;o<m.getModuleCount();o+=1)m.isDark(s,o)&&(d+="M"+(o*t+e)+","+a+h);return(d+='" stroke="transparent" fill="black"/>')+"</svg>"},m.createDataURL=function(t,e){t=t||2,e=void 0===e?4*t:e;var i=m.getModuleCount()*t+2*e,n=e,r=i-e;return _(i,i,function(e,i){if(n<=e&&e<r&&n<=i&&i<r){var o=Math.floor((e-n)/t),s=Math.floor((i-n)/t);return+!m.isDark(s,o)}return 1})},m.createImgTag=function(t,e,i){t=t||2,e=void 0===e?4*t:e;var n=m.getModuleCount()*t+2*e,r="";return r+="<img",r+=' src="',r+=m.createDataURL(t,e),r+='"',r+=' width="',r+=n,r+='"',r+=' height="',r+=n,r+='"',i&&(r+=' alt="',r+=O(i),r+='"'),r+"/>"};var O=function(t){for(var e="",i=0;i<t.length;i+=1){var n=t.charAt(i);switch(n){case"<":e+="&lt;";break;case">":e+="&gt;";break;case"&":e+="&amp;";break;case'"':e+="&quot;";break;default:e+=n}}return e};return m.createASCII=function(t,e){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var e,i,n,r,o,s=+m.getModuleCount()+2*t,a=t,h=s-t,l={"██":"█","█ ":"▀"," █":"▄","  ":" "},d={"██":"▀","█ ":"▀"," █":" ","  ":" "},u="";for(e=0;e<s;e+=2){for(n=Math.floor((e-a)/1),r=Math.floor((e+1-a)/1),i=0;i<s;i+=1)o="█",a<=i&&i<h&&a<=e&&e<h&&m.isDark(n,Math.floor((i-a)/1))&&(o=" "),a<=i&&i<h&&a<=e+1&&e+1<h&&m.isDark(r,Math.floor((i-a)/1))?o+=" ":o+="█",u+=t<1&&e+1>=h?d[o]:l[o];u+="\n"}return s%2&&t>0?u.substring(0,u.length-s-1)+Array(s+1).join("▀"):u.substring(0,u.length-1)}(e);t-=1,e=void 0===e?2*t:e;var i,n,r,o,s=m.getModuleCount()*t+2*e,a=e,h=s-e,l=Array(t+1).join("██"),d=Array(t+1).join("  "),u="",c="";for(i=0;i<s;i+=1){for(r=Math.floor((i-a)/t),c="",n=0;n<s;n+=1)o=1,a<=n&&n<h&&a<=i&&i<h&&m.isDark(r,Math.floor((n-a)/t))&&(o=0),c+=o?l:d;for(r=0;r<t;r+=1)u+=c+"\n"}return u.substring(0,u.length-1)},m.renderTo2dContext=function(t,e){e=e||2;for(var i=m.getModuleCount(),n=0;n<i;n++)for(var r=0;r<i;r++)t.fillStyle=m.isDark(n,r)?"black":"white",t.fillRect(n*e,r*e,e,e)},m};i.stringToBytes=(i.stringToBytesFuncs={default:function(t){for(var e=[],i=0;i<t.length;i+=1){var n=t.charCodeAt(i);e.push(255&n)}return e}}).default,i.createStringToBytes=function(t,e){var i=function(){for(var i=m(t),n=function(){var t=i.read();if(-1==t)throw"eof";return t},r=0,o={};;){var s=i.read();if(-1==s)break;var a=n(),h=n()<<8|n();o[String.fromCharCode(s<<8|a)]=h,r+=1}if(r!=e)throw r+" != "+e;return o}();return function(t){for(var e=[],n=0;n<t.length;n+=1){var r=t.charCodeAt(n);if(r<128)e.push(r);else{var o=i[t.charAt(n)];"number"==typeof o?(255&o)==o?e.push(o):(e.push(o>>>8),e.push(255&o)):e.push(63)}}return e}};var n,r,o,s={L:1,M:0,Q:3,H:2},a=(n=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],o=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e},(r={}).getBCHTypeInfo=function(t){for(var e=t<<10;o(e)-o(1335)>=0;)e^=1335<<o(e)-o(1335);return 21522^(t<<10|e)},r.getBCHTypeNumber=function(t){for(var e=t<<12;o(e)-o(7973)>=0;)e^=7973<<o(e)-o(7973);return t<<12|e},r.getPatternPosition=function(t){return n[t-1]},r.getMaskFunction=function(t){switch(t){case 0:return function(t,e){return(t+e)%2==0};case 1:return function(t,e){return t%2==0};case 2:return function(t,e){return e%3==0};case 3:return function(t,e){return(t+e)%3==0};case 4:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case 5:return function(t,e){return t*e%2+t*e%3==0};case 6:return function(t,e){return(t*e%2+t*e%3)%2==0};case 7:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},r.getErrorCorrectPolynomial=function(t){for(var e=l([1],0),i=0;i<t;i+=1)e=e.multiply(l([1,h.gexp(i)],0));return e},r.getLengthInBits=function(t,e){if(1<=e&&e<10)switch(t){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+t}if(e<27)switch(t){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+t}if(!(e<41))throw"type:"+e;switch(t){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+t}},r.getLostPoint=function(t){for(var e=t.getModuleCount(),i=0,n=0;n<e;n+=1)for(var r=0;r<e;r+=1){for(var o=0,s=t.isDark(n,r),a=-1;a<=1;a+=1)if(!(n+a<0||e<=n+a))for(var h=-1;h<=1;h+=1)r+h<0||e<=r+h||0==a&&0==h||s==t.isDark(n+a,r+h)&&(o+=1);o>5&&(i+=3+o-5)}for(n=0;n<e-1;n+=1)for(r=0;r<e-1;r+=1){var l=0;t.isDark(n,r)&&(l+=1),t.isDark(n+1,r)&&(l+=1),t.isDark(n,r+1)&&(l+=1),t.isDark(n+1,r+1)&&(l+=1),0!=l&&4!=l||(i+=3)}for(n=0;n<e;n+=1)for(r=0;r<e-6;r+=1)t.isDark(n,r)&&!t.isDark(n,r+1)&&t.isDark(n,r+2)&&t.isDark(n,r+3)&&t.isDark(n,r+4)&&!t.isDark(n,r+5)&&t.isDark(n,r+6)&&(i+=40);for(r=0;r<e;r+=1)for(n=0;n<e-6;n+=1)t.isDark(n,r)&&!t.isDark(n+1,r)&&t.isDark(n+2,r)&&t.isDark(n+3,r)&&t.isDark(n+4,r)&&!t.isDark(n+5,r)&&t.isDark(n+6,r)&&(i+=40);var d=0;for(r=0;r<e;r+=1)for(n=0;n<e;n+=1)t.isDark(n,r)&&(d+=1);return i+Math.abs(100*d/e/e-50)/5*10},r),h=function(){for(var t=Array(256),e=Array(256),i=0;i<8;i+=1)t[i]=1<<i;for(i=8;i<256;i+=1)t[i]=t[i-4]^t[i-5]^t[i-6]^t[i-8];for(i=0;i<255;i+=1)e[t[i]]=i;return{glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t[e]}}}();function l(t,e){if(void 0===t.length)throw t.length+"/"+e;var i=function(){for(var i=0;i<t.length&&0==t[i];)i+=1;for(var n=Array(t.length-i+e),r=0;r<t.length-i;r+=1)n[r]=t[r+i];return n}(),n={getAt:function(t){return i[t]},getLength:function(){return i.length},multiply:function(t){for(var e=Array(n.getLength()+t.getLength()-1),i=0;i<n.getLength();i+=1)for(var r=0;r<t.getLength();r+=1)e[i+r]^=h.gexp(h.glog(n.getAt(i))+h.glog(t.getAt(r)));return l(e,0)},mod:function(t){if(n.getLength()-t.getLength()<0)return n;for(var e=h.glog(n.getAt(0))-h.glog(t.getAt(0)),i=Array(n.getLength()),r
1=0;r<n.getLength();r+=1)i[r]=n.getAt(r);for(r=0;r<t.getLength();r+=1)i[r]^=h.gexp(h.glog(t.getAt(r))+e);return l(i,0).mod(t)}};return n}var d=(t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){var i={};return i.totalCount=t,i.dataCount=e,i},{getRSBlocks:function(i,n){var r=function(e,i){switch(i){case s.L:return t[4*(e-1)+0];case s.M:return t[4*(e-1)+1];case s.Q:return t[4*(e-1)+2];case s.H:return t[4*(e-1)+3];default:return}}(i,n);if(void 0===r)throw"bad rs block @ typeNumber:"+i+"/errorCorrectionLevel:"+n;for(var o=r.length/3,a=[],h=0;h<o;h+=1)for(var l=r[3*h+0],d=r[3*h+1],u=r[3*h+2],c=0;c<l;c+=1)a.push(e(d,u));return a}}),u=function(){var t=[],e=0,i={getBuffer:function(){return t},getAt:function(e){return 1==(t[Math.floor(e/8)]>>>7-e%8&1)},put:function(t,e){for(var n=0;n<e;n+=1)i.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return e},putBit:function(i){var n=Math.floor(e/8);t.length<=n&&t.push(0),i&&(t[n]|=128>>>e%8),e+=1}};return i},c=function(t){var e=function(t){for(var e=0,n=0;n<t.length;n+=1)e=10*e+i(t.charAt(n));return e},i=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-48;throw"illegal char :"+t};return{getMode:function(){return 1},getLength:function(e){return t.length},write:function(i){for(var n=0;n+2<t.length;)i.put(e(t.substring(n,n+3)),10),n+=3;n<t.length&&(t.length-n==1?i.put(e(t.substring(n,n+1)),4):t.length-n==2&&i.put(e(t.substring(n,n+2)),7))}}},g=function(t){var e=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-48;if("A"<=t&&t<="Z")return t.charCodeAt(0)-65+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return{getMode:function(){return 2},getLength:function(e){return t.length},write:function(i){for(var n=0;n+1<t.length;)i.put(45*e(t.charAt(n))+e(t.charAt(n+1)),11),n+=2;n<t.length&&i.put(e(t.charAt(n)),6)}}},p=function(t){var e=i.stringToBytes(t);return{getMode:function(){return 4},getLength:function(t){return e.length},write:function(t){for(var i=0;i<e.length;i+=1)t.put(e[i],8)}}},f=function(t){var e=i.stringToBytesFuncs.SJIS;if(!e)throw"sjis not supported.";var n=e("友");
vendor: 14,393 bytes, line 1
1if(2!=n.length||38726!=(n[0]<<8|n[1]))throw"sjis not supported.";var r=e(t);return{getMode:function(){return 8},getLength:function(t){return~~(r.length/2)},write:function(t){for(var e=0;e+1<r.length;){var i=(255&r[e])<<8|255&r[e+1];if(33088<=i&&i<=40956)i-=33088;else{if(!(57408<=i&&i<=60351))throw"illegal char at "+(e+1)+"/"+i;i-=49472}i=192*(i>>>8&255)+(255&i),t.put(i,13),e+=2}if(e<r.length)throw"illegal char at "+(e+1)}}},w=function(){var t=[],e={writeByte:function(e){t.push(255&e)},writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,i,n){i=i||0,n=n||t.length;for(var r=0;r<n;r+=1)e.writeByte(t[r+i])},writeString:function(t){for(var i=0;i<t.length;i+=1)e.writeByte(t.charCodeAt(i))},toByteArray:function(){return t},toString:function(){var e="";e+="[";for(var i=0;i<t.length;i+=1)i>0&&(e+=","),e+=t[i];return e+"]"}};return e},m=function(t){var e=0,i=0,n=0,r=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return{read:function(){for(;n<8;){if(e>=t.length){if(0==n)return -1;throw"unexpected end of file./"+n}var o=t.charAt(e);if(e+=1,"="==o)return n=0,-1;o.match(/^\s$/)||(i=i<<6|r(o.charCodeAt(0)),n+=6)}var s=i>>>n-8&255;return n-=8,s}}},_=function(t,e,i){for(var n,r,o,s,a,h,l,d,u,c,g=(n=Array(t*e),r=function(t){for(var e=1<<t,i=1+(1<<t),r=t+1,s=o(),a=0;a<e;a+=1)s.add(String.fromCharCode(a));s.add(String.fromCharCode(e)),s.add(String.fromCharCode(i));var h,l,d=w(),u=(h=0,l=0,{write:function(t,e){if(t>>>e!=0)throw"length over";for(;h+e>=8;)d.writeByte(255&(t<<h|l)),e-=8-h,t>>>=8-h,l=0,h=0;l|=t<<h,h+=e},flush:function(){h>0&&d.writeByte(l)}});u.write(e,r);var c=0,g=String.fromCharCode(n[0]);for(c+=1;c<n.length;){var p=String.fromCharCode(n[c]);c+=1,s.contains(g+p)?g+=p:(u.write(s.indexOf(g),r),4095>s.size()&&(s.size()==1<<r&&(r+=1),s.add(g+p)),g=p)}return u.write(s.indexOf(g),r),u.write(i,r),u.flush(),d.toByteArray()},o=function(){var t={},e=0,i={add:function(n){if(i.contains(n))throw"dup key:"+n;t[n]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return void 0!==t[e]}};return i},{setPixel:function(e,i,r){n[i*t+e]=r},write:function(i){i.writeString("GIF87a"),i.writeShort(t),i.writeShort(e),i.writeByte(128),i.writeByte(0),i.writeByte(0),i.writeByte(0),i.writeByte(0),i.writeByte(0),i.writeByte(255),i.writeByte(255),i.writeByte(255),i.writeString(","),i.writeShort(0),i.writeShort(0),i.writeShort(t),i.writeShort(e),i.writeByte(0);var n=r(2);i.writeByte(2);for(var o=0;n.length-o>255;)i.writeByte(255),i.writeBytes(n,o,255),o+=255;i.writeByte(n.length-o),i.writeBytes(n,o,n.length-o),i.writeByte(0),i.writeString(";")}}),p=0;p<e;p+=1)for(var f=0;f<t;f+=1)g.setPixel(f,p,i(f,p));var m=w();g.write(m);for(var _=(s=0,a=0,h=0,l="",d={},u=function(t){l+=String.fromCharCode(c(63&t))},c=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t},d.writeByte=function(t){for(s=s<<8|255&t,a+=8,h+=1;a>=6;)u(s>>>a-6),a-=6},d.flush=function(){if(a>0&&(u(s<<6-a),s=0,a=0),h%3!=0)for(var t=3-h%3,e=0;e<t;e+=1)l+="="},d.toString=function(){return l},d),v=m.toByteArray(),y=0;y<v.length;y+=1)_.writeByte(v[y]);return _.flush(),"data:image/gif;base64,"+_};return i}();r.stringToBytesFuncs["UTF-8"]=function(t){for(var e=[],i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e.push(n):n<2048?e.push(192|n>>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(i++,n=65536+((1023&n)<<10|1023&t.charCodeAt(i)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e},void 0===(n="function"==typeof(i=function(){return r})?i.apply(e,[]):i)||(t.exports=n)}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};return(()=>{i.d(n,{default:()=>O});let t=t=>!!t&&"object"==typeof t&&!Array.isArray(t);function e(i,...n){if(!n.length)return i;let r=n.shift();return void 0!==r&&t(i)&&t(r)?(i=Object.assign({},i),Object.keys(r).forEach(n=>{let o=i[n],s=r[n];Array.isArray(o)&&Array.isArray(s)?i[n]=s:t(o)&&t(s)?i[n]=e(Object.assign({},o),s):i[n]=s}),e(i,...n)):i}function o(t,e){let i=document.createElement("a");i.download=e,i.href=t,document.body.appendChild(i),i.click(),document.body.removeChild(i)}let s={L:.07,M:.15,Q:.25,H:.3};class a{constructor({svg:t,type:e,window:i}){this._svg=t,this._type=e,this._window=i}draw(t,e,i,n){let r;switch(this._type){case"dots":r=this._drawDot;break;case"classy":r=this._drawClassy;break;case"classy-rounded":r=this._drawClassyRounded;break;case"rounded":r=this._drawRounded;break;case"extra-rounded":r=this._drawExtraRounded;break;default:r=this._drawSquare}r.call(this,{x:t,y:e,size:i,getNeighbor:n})}_rotateFigure({x:t,y:e,size:i,rotation:n=0,draw:r}){var o;r(),null==(o=this._element)||o.setAttribute("transform",`rotate(${180*n/Math.PI},${t+i/2},${e+i/2})`)}_basicDot(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(i+e/2)),this._element.setAttribute("cy",String(n+e/2)),this._element.setAttribute("r",String(e/2))}}))}_basicSquare(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(i)),this._element.setAttribute("y",String(n)),this._element.setAttribute("width",String(e)),this._element.setAttribute("height",String(e))}}))}_basicSideRounded(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${i} ${n}v ${e}h `+e/2+`a ${e/2} ${e/2}, 0, 0, 0, 0 ${-e}`)}}))}_basicCornerRounded(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${i} ${n}v ${e}h ${e}v `+-e/2+`a ${e/2} ${e/2}, 0, 0, 0, ${-e/2} ${-e/2}`)}}))}_basicCornerExtraRounded(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${i} ${n}v ${e}h ${e}a ${e} ${e}, 0, 0, 0, ${-e} ${-e}`)}}))}_basicCornersRounded(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("d",`M ${i} ${n}v `+e/2+`a ${e/2} ${e/2}, 0, 0, 0, ${e/2} ${e/2}h `+e/2+"v "+-e/2+`a ${e/2} ${e/2}, 0, 0, 0, ${-e/2} ${-e/2}`)}}))}_drawDot({x:t,y:e,size:i}){this._basicDot({x:t,y:e,size:i,rotation:0})}_drawSquare({x:t,y:e,size:i}){this._basicSquare({x:t,y:e,size:i,rotation:0})}_drawRounded({x:t,y:e,size:i,getNeighbor:n}){let r=n?+n(-1,0):0,o=n?+n(1,0):0,s=n?+n(0,-1):0,a=n?+n(0,1):0,h=r+o+s+a;if(0!==h)if(h>2||r&&o||s&&a)this._basicSquare({x:t,y:e,size:i,rotation:0});else{if(2===h){let n=0;return r&&s?n=Math.PI/2:s&&o?n=Math.PI:o&&a&&(n=-Math.PI/2),void this._basicCornerRounded({x:t,y:e,size:i,rotation:n})}if(1===h){let n=0;return s?n=Math.PI/2:o?n=Math.PI:a&&(n=-Math.PI/2),void this._basicSideRounded({x:t,y:e,size:i,rotation:n})}}else this._basicDot({x:t,y:e,size:i,rotation:0})}_drawExtraRounded({x:t,y:e,size:i,getNeighbor:n}){let r=n?+n(-1,0):0,o=n?+n(1,0):0,s=n?+n(0,-1):0,a=n?+n(0,1):0,h=r+o+s+a;if(0!==h)if(h>2||r&&o||s&&a)this._basicSquare({x:t,y:e,size:i,rotation:0});else{if(2===h){let n=0;return r&&s?n=Math.PI/2:s&&o?n=Math.PI:o&&a&&(n=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:e,size:i,rotation:n})}if(1===h){let n=0;return s?n=Math.PI/2:o?n=Math.PI:a&&(n=-Math.PI/2),void this._basicSideRounded({x:t,y:e,size:i,rotation:n})}}else this._basicDot({x:t,y:e,size:i,rotation:0})}_drawClassy({x:t,y:e,size:i,getNeighbor:n}){let r=n?+n(-1,0):0,o=n?+n(1,0):0,s=n?+n(0,-1):0,a=n?+n(0,1):0;0!==r+o+s+a?r||s?o||a?this._basicSquare({x:t,y:e,size:i,rotation:0}):this._basicCornerRounded({x:t,y:e,size:i,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:e,size:i,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:e,size:i,rotation:Math.PI/2})}_drawClassyRounded({x:t,y:e,size:i,getNeighbor:n}){let r=n?+n(-1,0):0,o=n?+n(1,0):0,s=n?+n(0,-1):0,a=n?+n(0,1):0;0!==r+o+s+a?r||s?o||a?this._basicSquare({x:t,y:e,size:i,rotation:0}):this._basicCornerExtraRounded({x:t,y:e,size:i,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:e,size:i,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:e,size:i,rotation:Math.PI/2})}}let h={dot:"dot",square:"square",extraRounded:"extra-rounded"},l=Object.values(h);class d{constructor({svg:t,type:e,window:i}){this._svg=t,this._type=e,this._window=i}draw(t,e,i,n){let r;switch(this._type){case h.square:r=this._drawSquare;break;case h.extraRounded:r=this._drawExtraRounded;break;default:r=this._drawDot}r.call(this,{x:t,y:e,size:i,rotation:n})}_rotateFigure({x:t,y:e,size:i,rotation:n=0,draw:r}){var o;r(),null==(o=this._element)||o.setAttribute("transform",`rotate(${180*n/Math.PI},${t+i/2},${e+i/2})`)}_basicDot(t){let{size:e,x:i,y:n}=t,r=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${i+e/2} ${n}a ${e/2} ${e/2} 0 1 0 0.1 0zm 0 ${r}a ${e/2-r} ${e/2-r} 0 1 1 -0.1 0Z`)}}))}_basicSquare(t){let{size:e,x:i,y:n}=t,r=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${i} ${n}v ${e}h ${e}v `+-e+"z"+`M ${i+r} ${n+r}h `+(e-2*r)+"v "+(e-2*r)+"h "+(2*r-e)+"z")}}))}_basicExtraRounded(t){let{size:e,x:i,y:n}=t,r=e/7;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","path"),this._element.setAttribute("clip-rule","evenodd"),this._element.setAttribute("d",`M ${i} ${n+2.5*r}v `+2*r+`a ${2.5*r} ${2.5*r}, 0, 0, 0, ${2.5*r} ${2.5*r}h `+2*r+`a ${2.5*r} ${2.5*r}, 0, 0, 0, ${2.5*r} ${-(2.5*r)}v `+-2*r+`a ${2.5*r} ${2.5*r}, 0, 0, 0, ${-(2.5*r)} ${-(2.5*r)}h `+-2*r+`a ${2.5*r} ${2.5*r}, 0, 0, 0, ${-(2.5*r)} ${2.5*r}`+`M ${i+2.5*r} ${n+r}h `+2*r+`a ${1.5*r} ${1.5*r}, 0, 0, 1, ${1.5*r} ${1.5*r}v `+2*r+`a ${1.5*r} ${1.5*r}, 0, 0, 1, ${-(1.5*r)} ${1.5*r}h `+-2*r+`a ${1.5*r} ${1.5*r}, 0, 0, 1, ${-(1.5*r)} ${-(1.5*r)}v `+-2*r+`a ${1.5*r} ${1.5*r}, 0, 0, 1, ${1.5*r} ${-(1.5*r)}`)}}))}_drawDot({x:t,y:e,size:i,rotation:n}){this._basicDot({x:t,y:e,size:i,rotation:n})}_drawSquare({x:t,y:e,size:i,rotation:n}){this._basicSquare({x:t,y:e,size:i,rotation:n})}_drawExtraRounded({x:t,y:e,size:i,rotation:n}){this._basicExtraRounded({x:t,y:e,size:i,rotation:n})}}let u={dot:"dot",square:"square"},c=Object.values(u);class g{constructor({svg:t,type:e,window:i}){this._svg=t,this._type=e,this._window=i}draw(t,e,i,n){(this._type===u.square?this._drawSquare:this._drawDot).call(this,{x:t,y:e,size:i,rotation:n})}_rotateFigure({x:t,y:e,size:i,rotation:n=0,draw:r}){var o;r(),null==(o=this._element)||o.setAttribute("transform",`rotate(${180*n/Math.PI},${t+i/2},${e+i/2})`)}_basicDot(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","circle"),this._element.setAttribute("cx",String(i+e/2)),this._element.setAttribute("cy",String(n+e/2)),this._element.setAttribute("r",String(e/2))}}))}_basicSquare(t){let{size:e,x:i,y:n}=t;this._rotateFigure(Object.assign(Object.assign({},t),{draw:()=>{this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect"),this._element.setAttribute("x",String(i)),this._element.setAttribute("y",String(n)),this._element.setAttribute("width",String(e)),this._element.setAttribute("height",String(e))}}))}_drawDot({x:t,y:e,size:i,rotation:n}){this._basicDot({x:t,y:e,size:i,rotation:n})}_drawSquare({x:t,y:e,size:i,rotation:n}){this._basicSquare({x:t,y:e,size:i,rotation:n})}}let p="circle",f=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],w=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];class m{constructor(t,e){this._roundSize=t=>this._options.dotsOptions.roundSize?Math.floor(t):t,this._window=e,this._element=this._window.document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(t.width)),this._element.setAttribute("height",String(t.height)),this._element.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),t.dotsOptions.roundSize||this._element.setAttribute("shape-rendering","crispEdges"),this._element.setAttribute("viewBox",`0 0 ${t.width} ${t.height}`),this._defs=this._window.document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._imageUri=t.image,this._instanceId=m.instanceCount++,this._options=t}get width(){return this._options.width}get height(){return this._options.height}getElement(){return this._element}async drawQR(t){let e=t.getModuleCount(),i=Math.min(this._options.width,this._options.height)-2*this._options.margin,n=this._options.shape===p?i/Math.sqrt(2):i,r=this._roundSize(n/e),o={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=t,this._options.image){if(await this.loadImage(),!this._image)return;let{imageOptions:t,qrOptions:i}=this._options,n=Math.floor(t.imageSize*s[i.errorCorrectionLevel]*e*e);o=function({originalHeight:t,originalWidth:e,maxHiddenDots:i,maxHiddenAxisDots:n,dotSize:r}){let o={x:0,y:0},s={x:0,y:0};if(t<=0||e<=0||i<=0||r<=0)return{height:0,width:0,hideYDots:0,hideXDots:0}
1;let a=t/e;return o.x=Math.floor(Math.sqrt(i/a)),o.x<=0&&(o.x=1),n&&n<o.x&&(o.x=n),o.x%2==0&&o.x--,s.x=o.x*r,o.y=1+2*Math.ceil((o.x*a-1)/2),s.y=Math.round(s.x*a),(o.y*o.x>i||n&&n<o.y)&&(n&&n<o.y?(o.y=n,o.y%2==0&&o.x--):o.y-=2,s.y=o.y*r,o.x=1+2*Math.ceil((o.y/a-1)/2),s.x=Math.round(s.y/a)),{height:s.y,width:s.x,hideYDots:o.y,hideXDots:o.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:n,maxHiddenAxisDots:e-14,dotSize:r})}this.drawBackground(),this.drawDots((t,i)=>{var n,r,s,a,h,l;return!(this._options.imageOptions.hideBackgroundDots&&t>=(e-o.hideYDots)/2&&t<(e+o.hideYDots)/2&&i>=(e-o.hideXDots)/2&&i<(e+o.hideXDots)/2||(null==(n=f[t])?void 0:n[i])||(null==(r=f[t-e+7])?void 0:r[i])||(null==(s=f[t])?void 0:s[i-e+7])||(null==(a=w[t])?void 0:a[i])||(null==(h=w[t-e+7])?void 0:h[i])||(null==(l=w[t])?void 0:l[i-e+7]))}),this.drawCorners(),this._options.image&&await this.drawImage({width:o.width,height:o.height,count:e,dotSize:r})}drawBackground(){var t,e,i;let n=this._element,r=this._options;if(n){let n=null==(t=r.backgroundOptions)?void 0:t.gradient,o=null==(e=r.backgroundOptions)?void 0:e.color,s=r.height,a=r.width;if(n||o){let t=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id",`clip-path-background-color-${this._instanceId}`),this._defs.appendChild(this._backgroundClipPath),(null==(i=r.backgroundOptions)?void 0:i.round)&&(s=a=Math.min(r.width,r.height),t.setAttribute("rx",String(s/2*r.backgroundOptions.round))),t.setAttribute("x",String(this._roundSize((r.width-a)/2))),t.setAttribute("y",String(this._roundSize((r.height-s)/2))),t.setAttribute("width",String(a)),t.setAttribute("height",String(s)),this._backgroundClipPath.appendChild(t),this._createColor({options:n,color:o,additionalRotation:0,x:0,y:0,height:r.height,width:r.width,name:`background-color-${this._instanceId}`})}}}drawDots(t){var e,i;if(!this._qr)throw"QR code is not defined";let n=this._options,r=this._qr.getModuleCount();if(r>n.width||r>n.height)throw"The canvas is too small.";let o=Math.min(n.width,n.height)-2*n.margin,s=n.shape===p?o/Math.sqrt(2):o,h=this._roundSize(s/r),l=this._roundSize((n.width-r*h)/2),d=this._roundSize((n.height-r*h)/2),u=new a({svg:this._element,type:n.dotsOptions.type,window:this._window});this._dotsClipPath=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id",`clip-path-dot-color-${this._instanceId}`),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null==(e=n.dotsOptions)?void 0:e.gradient,color:n.dotsOptions.color,additionalRotation:0,x:0,y:0,height:n.height,width:n.width,name:`dot-color-${this._instanceId}`});for(let e=0;e<r;e++)for(let n=0;n<r;n++)t&&!t(e,n)||(null==(i=this._qr)?void 0:i.isDark(e,n))&&(u.draw(l+n*h,d+e*h,h,(i,o)=>!(n+i<0||e+o<0||n+i>=r||e+o>=r)&&!(t&&!t(e+o,n+i))&&!!this._qr&&this._qr.isDark(e+o,n+i)),u._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(u._element));if(n.shape===p){let t=this._roundSize((o/h-r)/2),e=r+2*t,i=l-t*h,n=d-t*h,s=[],a=this._roundSize(e/2);for(let i=0;i<e;i++){s[i]=[];for(let n=0;n<e;n++)i>=t-1&&i<=e-t&&n>
1=t-1&&n<=e-t||Math.sqrt((i-a)*(i-a)+(n-a)*(n-a))>a?s[i][n]=0:s[i][n]=+!!this._qr.isDark(n-2*t<0?n:n>=r?n-2*t:n-t,i-2*t<0?i:i>=r?i-2*t:i-t)}for(let t=0;t<e;t++)for(let r=0;r<e;r++)s[t][r]&&(u.draw(i+r*h,n+t*h,h,(e,i)=>{var n;return!!(null==(n=s[t+i])?void 0:n[r+e])}),u._element&&this._dotsClipPath&&this._dotsClipPath.appendChild(u._element))}}drawCorners(){if(!this._qr)throw"QR code is not defined";let t=this._element,e=this._options;if(!t)throw"Element code is not defined";let i=this._qr.getModuleCount(),n=Math.min(e.width,e.height)-2*e.margin,r=e.shape===p?n/Math.sqrt(2):n,o=this._roundSize(r/i),s=7*o,h=3*o,u=this._roundSize((e.width-i*o)/2),m=this._roundSize((e.height-i*o)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(([t,n,r])=>{var p,_,v,y,b,M,x,C,N,S,O,A,D,I;let T=u+t*o*(i-7),j=m+n*o*(i-7),L=this._dotsClipPath,k=this._dotsClipPath;if(((null==(p=e.cornersSquareOptions)?void 0:p.gradient)||(null==(_=e.cornersSquareOptions)?void 0:_.color))&&((L=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id",`clip-path-corners-square-color-${t}-${n}-${this._instanceId}`),this._defs.appendChild(L),this._cornersSquareClipPath=this._cornersDotClipPath=k=L,this._createColor({options:null==(v=e.cornersSquareOptions)?void 0:v.gradient,color:null==(y=e.cornersSquareOptions)?void 0:y.color,additionalRotation:r,x:T,y:j,height:s,width:s,name:`corners-square-color-${t}-${n}-${this._instanceId}`})),(null==(b=e.cornersSquareOptions)?void 0:b.type)&&l.includes(e.cornersSquareOptions.type)){let t=new d({svg:this._element,type:e.cornersSquareOptions.type,window:this._window});t.draw(T,j,s,r),t._element&&L&&L.appendChild(t._element)}else{let t=new a({svg:this._element,type:(null==(M=e.cornersSquareOptions)?void 0:M.type)||e.dotsOptions.type,window:this._window});for(let e=0;e<f.length;e++)for(let i=0;i<f[e].length;i++)(null==(x=f[e])?void 0:x[i])&&(t.draw(T+i*o,j+e*o,o,(t,n)=>{var r;return!!(null==(r=f[e+n])?void 0:r[i+t])}),t._element&&L&&L.appendChild(t._element))}if(((null==(C=e.cornersDotOptions)?void 0:C.gradient)||(null==(N=e.cornersDotOptions)?void 0:N.color))&&((k=this._window.document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id",`clip-path-corners-dot-color-${t}-${n}-${this._instanceId}`),this._defs.appendChild(k),this._cornersDotClipPath=k,this._createColor({options:null==(S=e.cornersDotOptions)?void 0:S.gradient,color:null==(O=e.cornersDotOptions)?void 0:O.color,additionalRotation:r,x:T+2*o,y:j+2*o,height:h,width:h,name:`corners-dot-color-${t}-${n}-${this._instanceId}`})),(null==(A=e.cornersDotOptions)?void 0:A.type)&&c.includes(e.cornersDotOptions.type)){let t=new g({svg:this._element,type:e.cornersDotOptions.type,window:this._window});t.draw(T+2*o,j+2*o,h,r),t._element&&k&&k.appendChild(t._element)}else{let t=new a({svg:this._element,type:(null==(D=e.cornersDotOptions)?void 0:D.type)||e.dotsOptions.type,window:this._window});for(let e=0;e<w.length;e++)for(let i=0;i<w[e].length;i++)(null==(I=w[e])?void 0:I[i])&&(t.draw(T+i*o,j+e*o,o,(t,n)=>{var r;return!!(null==(r=w[e+n])?void 0:r[i+t])}),t._element&&k&&k.appendChild(t._element))}})}loadImage(){return new Promise((t,e)=>{var i;let n=this._options;if(!n.image)return e("Image is not defined");if(null==(i=n.nodeCanvas)?void 0:i.loadImage)n.nodeCanvas.loadImage(n.image).then(e=>{var i,r;if(this._image=e,this._options.imageOptions.saveAsBlob){let t=null==(i=n.nodeCanvas)?void 0:i.createCanvas(this._image.width,this._image.height);null==(r=null==t?void 0:t.getContext("2d"))||r.drawImage(e,0,0),this._imageUri=null==t?void 0:t.toDataURL()}t()}).catch(e);else{let e=new this._window.Image;"string"==typeof n.imageOptions.crossOrigin&&(e.crossOrigin=n.imageOptions.crossOrigin),this._image=e,e.onload=async()=>{this._options.imageOptions.saveAsBlob&&(this._imageUri=await async function(t,e){return new Promise(i=>{let n=new e.XMLHttpRequest;n.onload=function(){let t=new e.FileReader;t.onloadend=function(){i(t.result)},t.readAsDataURL(n.response)},n.open("GET",t),n.responseType="blob",n.send()})}(n.image||"",this._window)),t()},e.src=n.image}})}async drawImage({width:t,height:e,count:i,dotSize:n}){let r=this._options,o=this._roundSize((r.width-i*n)/2),s=this._roundSize((r.height-i*n)/2),a=o+this._roundSize(r.imageOptions.margin+(i*n-t)/2),h=s+this._roundSize(r.imageOptions.margin+(i*n-e)/2),l=t-2*r.imageOptions.margin,d=e-2*r.imageOptions.margin,u=this._window.document.createElementNS("http://www.w3.org/2000/svg","image");u.setAttribute("href",this._imageUri||""),u.setAttribute("xlink:href",this._imageUri||""),u.setAttribute("x",String(a)),u.setAttribute("y",String(h)),u.setAttribute("width",`${l}px`),u.setAttribute("height",`${d}px`),this._element.appendChild(u)}_createColor({options:t,color:e,additionalRotation:i,x:n,y:r,height:o,width:s,name:a}){let h=this._window.document.createElementNS("http://www.w3.org/2000/svg","rect");if(h.setAttribute("x",String(n)),h.setAttribute("y",String(r)),h.setAttribute("height",String(o)),h.setAttribute("width",String(s)),h.setAttribute("clip-path",`url('#clip-path-${a}')`),t){let e;if("radial"===t.type)(e=this._window.document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",a),e.setAttribute("gradientUnits","userSpaceOnUse"),e.setAttribute("fx",String(n+s/2)),e.setAttribute("fy",String(r+o/2)),e.setAttribute("cx",String(n+s/2)),e.setAttribute("cy",String(r+o/2)),e.setAttribute("r",String((s>
1o?s:o)/2));else{let h=((t.rotation||0)+i)%(2*Math.PI),l=(h+2*Math.PI)%(2*Math.PI),d=n+s/2,u=r+o/2,c=n+s/2,g=r+o/2;l>=0&&l<=.25*Math.PI||l>1.75*Math.PI&&l<=2*Math.PI?(d-=s/2,u-=o/2*Math.tan(h),c+=s/2,g+=o/2*Math.tan(h)):l>.25*Math.PI&&l<=.75*Math.PI?(u-=o/2,d-=s/2/Math.tan(h),g+=o/2,c+=s/2/Math.tan(h)):l>.75*Math.PI&&l<=1.25*Math.PI?(d+=s/2,u+=o/2*Math.tan(h),c-=s/2,g-=o/2*Math.tan(h)):l>1.25*Math.PI&&l<=1.75*Math.PI&&(u+=o/2,d+=s/2/Math.tan(h),g-=o/2,c-=s/2/Math.tan(h)),(e=this._window.document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",a),e.setAttribute("gradientUnits","userSpaceOnUse"),e.setAttribute("x1",String(Math.round(d))),e.setAttribute("y1",String(Math.round(u))),e.setAttribute("x2",String(Math.round(c))),e.setAttribute("y2",String(Math.round(g)))}t.colorStops.forEach(({offset:t,color:i})=>{let n=this._window.document.createElementNS("http://www.w3.org/2000/svg","stop");n.setAttribute("offset",100*t+"%"),n.setAttribute("stop-color",i),e.appendChild(n)}),h.setAttribute("fill",`url('#${a}')`),this._defs.appendChild(e)}else e&&h.setAttribute("fill",e);this._element.appendChild(h)}}m.instanceCount=0;let _="canvas",v={};for(let t=0;t<=40;t++)v[t]=t;let y={type:_,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:v[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{saveAsBlob:!0,hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000",roundSize:!0},backgroundOptions:{round:0,color:"#fff"}};function b(t){let e=Object.assign({},t);if(!e.colorStops||!e.colorStops.length)throw"Field 'colorStops' is required in gradient";return e.rotation?e.rotation=Number(e.rotation):e.rotation=0,e.colorStops=e.colorStops.map(t=>Object.assign(Object.assign({},t),{offset:Number(t.offset)})),e}function M(t){let e=Object.assign({},t);return e.width=Number(e.width),e.height=Number(e.height),e.margin=Number(e.margin),e.imageOptions=Object.assign(Object.assign({},e.imageOptions),{hideBackgroundDots:!!e.imageOptions.hideBackgroundDots,imageSize:Number(e.imageOptions.imageSize),margin:Number(e.imageOptions.margin)}),e.margin>Math.min(e.width,e.height)&&(e.margin=Math.min(e.width,e.height)),e.dotsOptions=Object.assign({},e.dotsOptions),e.dotsOptions.gradient&&(e.dotsOptions.gradient=b(e.dotsOptions.gradient)),e.cornersSquareOptions&&(e.cornersSquareOptions=Object.assign({},e.cornersSquareOptions),e.cornersSquareOptions.gradient&&(e.cornersSquareOptions.gradient=b(e.cornersSquareOptions.gradient))),e.cornersDotOptions&&(e.cornersDotOptions=Object.assign({},e.cornersDotOptions),e.cornersDotOptions.gradient&&(e.cornersDotOptions.gradient=b(e.cornersDotOptions.gradient))),e.backgroundOptions&&(e.backgroundOptions=Object.assign({},e.backgroundOptions),e.backgroundOptions.gradient&&(e.backgroundOptions.gradient=b(e.backgroundOptions.gradient))),e}var x=i(873),C=i.n(x);function N(t){if(!t)throw Error("Extension must be defined");"."===t[0]&&(t=t.substring(1));let e={bmp:"image/bmp",gif:"image/gif",ico:"image/vnd.microsoft.icon",jpeg:"image/jpeg",jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp",pdf:"application/pdf"}[t.toLowerCase()];if(!e)throw Error(`Extension "${t}" is not supported`);return e}class S{constructor(t){(null==t?void 0:t.jsdom)?this._window=new t.jsdom("",{resources:"usable"}).window:this._window=window,this._options=t?M(e(y,t)):y,this.update()}static _clearContainer(t){t&&(t.innerHTML="")}_setupSvg(){if(!this._qr)return;let t=new m(this._options,this._window);this._svg=t.getElement(),this._svgDrawingPromise=t.drawQR(this._qr).then(()=>{var e;this._svg&&(null==(e=this._extension)||e.call(this,t.getElement(),this._options))})}_setupCanvas(){var t,e;this._qr&&((null==(t=this._options.nodeCanvas)?void 0:t.createCanvas)?(this._nodeCanvas=this._options.nodeCanvas.createCanvas(this._options.width,this._options.height),this._nodeCanvas.width=this._options.width,this._nodeCanvas.height=this._options.height):(this._domCanvas=document.createElement("canvas"),this._domCanvas.width=this._options.width,this._domCanvas.height=this._options.height),this._setupSvg(),this._canvasDrawingPromise=null==(e=this._svgDrawingPromise)?void 0:e.then(()=>{var t;if(!this._svg)return;let e=this._svg,i=btoa((new this._window.XMLSerializer).serializeToString(e)),n=`data:${N("svg")};base64,${i}`;if(null==(t=this._options.nodeCanvas)?void 0:t.loadImage)return this._options.nodeCanvas.loadImage(n).then(t=>{var e,i;t.width=this._options.width,t.height=this._options.height,null==(i=null==(e=this._nodeCanvas)?void 0:e.getContext("2d"))||i.drawImage(t,0,0)});{let t=new this._window.Image;return new Promise(e=>{t.onload=()=>{var i,n;null==(n=null==(i=this._domCanvas)?void 0:i.getContext("2d"))||n.drawImage(t,0,0),e()},t.src=n})}}))}async _getElement(t="png"){if(!this._qr)throw"QR code is empty";return"svg"===t.toLowerCase()?(this._svg&&this._svgDrawingPromise||this._setupSvg(),await this._svgDrawingPromise,this._svg):((this._domCanvas||this._nodeCanvas)&&this._canvasDrawingPromise||this._setupCanvas(),await this._canvasDrawingPromise,this._domCanvas||this._nodeCanvas)}update(t){S._clearContainer(this._container),this._options=t?M(e(this._options,t)):this._options,this._options.data&&(this._qr=C()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(t){switch(!0){case/^[0-9]*$/.test(t):return"Numeric";case/^[0-9A-Z $%*+\-./:]*$/.test(t):return"Alphanumeric";default:return"Byte"}}(this._options.data)),this._qr.make(),this._options.type===_?this._setupCanvas():this._setupSvg(),this.append(this._container))}append(t){if(t){if("function"!=typeof t.appendChild)throw"Container should be a single DOM node";this._options.type===_?this._domCanvas&&t.appendChild(this._domCanvas):this._svg&&t.appendChild(this._svg),this._container=t}}applyExtension(t){if(!t)throw"Extension function should be defined.";this._extension=t,this.update()}deleteExtension(){this._extension=void 0,this.update()}async getRawData(t="png"){if(!this._qr)throw"QR code is empty";let e=await this._getElement(t),i=N(t);if(!e)return null;if("svg"===t.toLowerCase()){let t=`<?xml version="1.0" standalone="no"?>\r
2${(new this._window.XMLSerializer).serializeToString(e)}`;return"undefined"==typeof Blob||this._options.jsdom?r.from(t):new Blob([t],{type:i})}return new Promise(t=>{if("toBuffer"in e)if("image/png"===i)t(e.toBuffer(i));else if("image/jpeg"===i)t(e.toBuffer(i));else{if("application/pdf"!==i)throw Error("Unsupported extension");t(e.toBuffer(i))}else"toBlob"in e&&e.toBlob(t,i,1)})}async download(t){if(!this._qr)throw"QR code is empty";if("undefined"==typeof Blob)throw"Cannot download in Node.js, call getRawData instead.";let e="png",i="qr";"string"==typeof t?(e=t,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof t&&null!==t&&(t.name&&(i=t.name),t.extension&&(e=t.extension));let n=await this._getElement(e);
2if(n)if("svg"===e.toLowerCase()){let t=(new XMLSerializer).serializeToString(n);t='<?xml version="1.0" standalone="no"?>\r\n'+t,o(`data:${N(e)};charset=utf-8,${encodeURIComponent(t)}`,`${i}.svg`)}else o(n.toDataURL(N(e)),`${i}.${e}`)}}let O=S})(),n.default})()}(l);let d=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(l.exports),u={CONNECT_WITH_METAMASK:"Connect with Metamask",USE_EXTENSION:"Use extension",USE_MOBILE:"Use mobile",ONE_CLICK_CONNECT:"Connect in one click to the MetaMask extension.",CONNECT_WITH_EXTENSION:"Connect With Extension",SCAN_TO_CONNECT:"Scan to connect with the MetaMask mobile app.",DESKTOP:"Desktop",MOBILE:"Mobile",META_MASK_MOBILE_APP:"MetaMask mobile app",INSTALL_MODAL:{TRUSTED_BY_USERS:"Trusted by over 30 million users to buy, store, send and swap crypto securely",LEADING_CRYPTO_WALLET:"The leading crypto wallet & gateway to blockchain apps built on Ethereum Mainnet, Polygon, Optimism, and many other networks",CONTROL_DIGITAL_INTERACTIONS:"Puts you in control of your digital interactions by making power of cryptography more accessible",INSTALL_META_MASK_EXTENSION_BUTTON:"Install MetaMask Extension",INSTALL_META_MASK_EXTENSION_TEXT:"Install and try the MetaMask browser extension."},PENDING_MODAL:{OPEN_META_MASK_SELECT_CODE:"Please open the MetaMask wallet app and select the code on the screen OR disconnect",OPEN_META_MASK_CONTINUE:"Open the MetaMask app to continue with your session.",NUMBER_AFTER_OPEN_NOTICE:"If a number doesn't appear after opening MetaMask, please click disconnect and re-scan the QRCode.",DISCONNECT:"Disconnect"},SELECT_MODAL:{CRYPTO_TAKE_CONTROL_TEXT:"Take control of your crypto and explore the blockchain with the wallet trusted by over 30 million people worldwide"},META_MASK_MODAL:{ADDRESS_COPIED:"Address copied to clipboard!",DISCONNECT:"Disconnect",ACTIVE_NETWORK:"Active Network"}};class c{constructor(t){var e;this.translations=u,this.supportedLocales=["es","fr","he","it","pt","tr"],this.baseUrl=null!=(e=null==t?void 0:t.baseUrl)?e:"https://raw.githubusercontent.com/MetaMask/metamask-sdk/refs/heads/gh-pages/locales"}getBrowserLanguage(){if((navigator.languages||[navigator.language]).some(t=>t.toLowerCase().startsWith("en")))return"en";let t=navigator.language.toLowerCase().split("-")[0];return this.supportedLocales.includes(t)?t:"en"}async init(t){let e=this.getBrowserLanguage()||t.fallbackLng;await this.loadTranslations(e)}async loadTranslations(t){let e=t.split("-")[0];if("en"===e||!this.supportedLocales.includes(e)){this.translations=u;return}try{let t=`${this.baseUrl}/${e}.json`,i=await fetch(t);if(!i.ok)throw Error(`HTTP error! status: ${i.status}`);this.translations=await i.json()}catch(t){console.warn(`❌ Failed to load ${e} translations, falling back to English:`,t),this.translations=u}}t(t){return this.getNestedTranslation(t,this.translations)||t}getNestedTranslation(t,e){let i=t.split("."),n=e;for(let t of i){if("object"!=typeof n)return"";n=n[t]}return"string"==typeof n?n:""}}let g=class{constructor(t){(0,n.r)(this,t),this.close=(0,n.c)(this,"close",7),this.startDesktopOnboarding=(0,n.c)(this,"startDesktopOnboarding",7),this.updateLink=(0,n.c)(this,"updateLink",7),this.updateExpiresIn=(0,n.c)(this,"updateExpiresIn",7),this.link=void 0,this.expiresIn=void 0,this.showInstallModal=void 0,this.translationsLoaded=!1,this.onClose=this.onClose.bind(this),this.onStartDesktopOnboardingHandler=this.onStartDesktopOnboardingHandler.bind(this),this.render=this.render.bind(this),this.i18nInstance=new c}componentDidLoad(){this.generateQRCode(this.link)}async connectedCallback(){await this.i18nInstance.init({fallbackLng:"en"}),this.translationsLoaded=!0}generateQRCode(t){if(!this.qrCodeContainer)return;let e=new d({data:t,type:"svg",image:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNDIgMTM3Ij4KICA8cGF0aCBmaWxsPSIjRkY1QzE2IiBkPSJtMTMyLjI0IDEzMS43NTEtMzAuNDgxLTkuMDc2LTIyLjk4NiAxMy43NDEtMTYuMDM4LS4wMDctMjMtMTMuNzM0LTMwLjQ2NyA5LjA3NkwwIDEwMC40NjVsOS4yNjgtMzQuNzIzTDAgMzYuMzg1IDkuMjY4IDBsNDcuNjA3IDI4LjQ0M2gyNy43NTdMMTMyLjI0IDBsOS4yNjggMzYuMzg1LTkuMjY4IDI5LjM1NyA5LjI2OCAzNC43MjMtOS4yNjggMzEuMjg2WiIvPgogIDxwYXRoIGZpbGw9IiNGRjVDMTYiIGQ9Im05LjI3NCAwIDQ3LjYwOCAyOC40NjMtMS44OTMgMTkuNTM0TDkuMjc0IDBabTMwLjQ2OCAxMDAuNDc4IDIwLjk0NyAxNS45NTctMjAuOTQ3IDYuMjR2LTIyLjE5N1ptMTkuMjczLTI2LjM4MUw1NC45ODkgNDguMDFsLTI1Ljc3IDE3Ljc0LS4wMTQtLjAwN3YuMDEzbC4wOCAxOC4yNiAxMC40NS05LjkxOGgxOS4yOFpNMTMyLjI0IDAgODQuNjMyIDI4LjQ2M2wxLjg4NyAxOS41MzRMMTMyLjI0IDBabS0zMC40NjcgMTAwLjQ3OC0yMC45NDggMTUuOTU3IDIwLjk0OCA2LjI0di0yMi4xOTdabTEwLjUyOS0zNC43MjNoLjA
2wNy0uMDA3di0uMDEzbC0uMDA2LjAwNy0yNS43Ny0xNy43MzlMODIuNSA3NC4wOTdoMTkuMjcybDEwLjQ1NyA5LjkxNy4wNzMtMTguMjU5WiIvPgogIDxwYXRoIGZpbGw9IiNFMzQ4MDciIGQ9Im0zOS43MzUgMTIyLjY3NS0zMC40NjcgOS4wNzZMMCAxMDAuNDc4aDM5LjczNXYyMi4xOTdaTTU5LjAwOCA3NC4wOWw1LjgyIDM3LjcxNC04LjA2Ni0yMC45Ny0yNy40OS02LjgyIDEwLjQ1Ni05LjkyM2gxOS4yOFptNDIuNzY0IDQ4LjU4NSAzMC40NjggOS4wNzYgOS4yNjgtMzEuMjczaC0zOS43MzZ2MjIuMTk3Wk04Mi41IDc0LjA5bC01LjgyIDM3LjcxNCA4LjA2NS0yMC45NyAyNy40OTEtNi44Mi0xMC40NjMtOS45MjNIODIuNVoiLz4KICA8cGF0aCBmaWxsPSIjRkY4RDVEIiBkPSJtMCAxMDAuNDY1IDkuMjY4LTM0LjcyM2gxOS45M2wuMDczIDE4LjI2NiAyNy40OTIgNi44MiA4LjA2NSAyMC45NjktNC4xNDYgNC42MTgtMjAuOTQ3LTE1Ljk1N0gwdi4wMDdabTE0MS41MDggMC05LjI2OC0zNC43MjNoLTE5LjkzMWwtLjA3MyAxOC4yNjYtMjcuNDkgNi44Mi04LjA2NiAyMC45NjkgNC4xNDUgNC42MTggMjAuOTQ4LTE1Ljk1N2gzOS43MzV2LjAwN1pNODQuNjMyIDI4LjQ0M0g1Ni44NzVMNTQuOTkgNDcuOTc3bDkuODM5IDYzLjhINzYuNjhsOS44NDUtNjMuOC0xLjg5My0xOS41MzRaIi8+CiAgPHBhdGggZmlsbD0iIzY2MTgwMCIgZD0iTTkuMjY4IDAgMCAzNi4zODVsOS4yNjggMjkuMzU3aDE5LjkzbDI1Ljc4NC0xNy43NDVMOS4yNjggMFptNDMuOTggODEuNjY1aC05LjAyOWwtNC45MTYgNC44MTkgMTcuNDY2IDQuMzMtMy41MjEtOS4xNTV2LjAwNlpNMTMyLjI0IDBsOS4yNjggMzYuMzg1LTkuMjY4IDI5LjM1N2gtMTkuOTMxTDg2LjUyNiA0Ny45OTcgMTMyLjI0IDBaTTg4LjI3MyA4MS42NjVoOS4wNDJsNC45MTYgNC44MjUtMTcuNDg2IDQuMzM4IDMuNTI4LTkuMTd2LjAwN1ptLTkuNTA3IDQyLjMwNSAyLjA2LTcuNTQyLTQuMTQ2LTQuNjE4SDY0LjgybC00LjE0NSA0LjYxOCAyLjA1OSA3LjU0MiIvPgogIDxwYXRoIGZpbGw9IiNDMEM0Q0QiIGQ9Ik03OC43NjYgMTIzLjk2OXYxMi40NTNINjIuNzM1di0xMi40NTNoMTYuMDNaIi8+CiAgPHBhdGggZmlsbD0iI0U3RUJGNiIgZD0ibTM5Ljc0MiAxMjIuNjYyIDIzLjAwNiAxMy43NTR2LTEyLjQ1M2wtMi4wNi03LjU0MS0yMC45NDYgNi4yNFptNjIuMDMxIDAtMjMuMDA3IDEzLjc1NHYtMTIuNDUzbDIuMDYtNy41NDEgMjAuOTQ3IDYuMjRaIi8+Cjwvc3ZnPgo=",imageOptions:{hideBackgroundDots:!0,crossOrigin:void 0,imageSize:.3,saveAsBlob:!1},dotsOptions:{color:"#222222",type:"square",gradient:void 0,roundSize:!1},cornersSquareOptions:{color:"#222222",type:"square",gradient:void 0},cornersDotOptions:{color:"#ff5c16"},backgroundOptions:{color:"transparent"},qrOptions:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}});this.qrCodeContainer.innerHTML="",e.append(this.qrCodeContainer)}onClose(t=!1){this.close.emit({shouldTerminate:t})}onStartDesktopOnboardingHandler(){this.startDesktopOnboarding.emit()}updateLinkHandler(t){this.generateQRCode(t)}updateExpiresInHandler(t){console.debug("QRCode expires in:",t)}render(){if(!this.translationsLoaded)return null;let t=t=>this.i18nInstance.t(t),e=this.showInstallModal;return(0,n.h)(s,{className:"install-model"},(0,n.h)("div",{class:"backdrop",onClick:()=>this.onClose(!0)}),(0,n.h)("div",{class:"modal"},(0,n.h)("div",{class:"closeButtonContainer"},(0,n.h)("div",{class:"right"},(0,n.h)("span",{class:"closeButton",onClick:()=>this.onClose(!0)},(0,n.h)(h,null)))),(0,n.h)("div",{class:"modalHeader"},(0,n.h)("h2",{class:"modalTitle"},t("CONNECT_WITH_METAMASK"))),(0,n.h)("div",{class:"modalContent"},e?(0,n.h)("div",null,(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_EXTENSION")),(0,n.h)("p",{class:"sectionDescription"},t("ONE_CLICK_CONNECT")),(0,n.h)("button",{class:"button extensionButton",onClick:()=>this.onStartDesktopOnboardingHandler()},(0,n.h)(a,null),(0,n.h)("span",{class:"buttonText"},t("CONNECT_WITH_EXTENSION")))),(0,n.h)("div",{class:"sectionDivider"}),(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_MOBILE")),(0,n.h)("p",{class:"sectionDescription"},t("SCAN_TO_CONNECT")),(0,n.h)("div",{class:"qrContainer"},(0,n.h)("div",{id:"sdk-mm-qrcode",class:"qrCode",ref:t=>{t&&(this.qrCodeContainer=t)}})))):(0,n.h)("div",null,(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_MOBILE")),(0,n.h)("p",{class:"sectionDescription"},t("SCAN_TO_CONNECT")),(0,n.h)("div",{class:"qrContainer"},(0,n.h)("div",{id:"sdk-mm-qrcode",class:"qrCode",ref:t=>{t&&(this.qrCodeContainer=t)}}))),(0,n.h)("div",{class:"sectionDivider"}),(0,n.h)("div",{class:"connectionSection"},(0,n.h)("h3",{class:"sectionTitle"},t("USE_EXTENSION")),(0,n.h)("p",{class:"sectionDescription"},t("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION_TEXT")),(0,n.h)("button",{class:"button extensionButton",onClick:()=>this.onStartDesktopOnboardingHandler()},(0,n.h)(a,null),(0,n.h)("span",{class:"buttonText"},t("INSTALL_MODAL.INSTALL_META_MASK_EXTENSION_BUTTON"))))))))}get el(){return(0,n.g)(this)}static get watchers(){return{link:["updateLinkHandler"],expiresIn:["updateExpiresInHandler"]}}};g.style="@font-face{font-family:'Euclid Circular B';src:url('../assets/fonts/Euclid Circular B Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}.flexContainer{display:flex;justify-content:center;align-items:center;flex-direction:row}.flexItem11{flex:11;justify-content:center;align-items:center}.flexItem1{flex:1;justify-content:center;align-items:center}.button{margin-top:41.5px;margin-bottom:20px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:12px 20px;background:#0376C9;border-radius:32px;color:white;border:0;font-size:14px;cursor:pointer}.backdrop{visibility:visible;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;z-index:99998;background:rgba(0, 0, 0, 0.87);opacity:0.3}.modal{visibility:visible;position:fixed;left:50%;transform:translate(-50%, -50%);z-index:99999;background:white;padding:20px;border-radius:8px;top:50%;max-width:360px;width:460px;min-width:300px;box-shadow:rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;-webkit-font-smoothing:antialiased}.sectionDivider{height:1px;background-color:#B7BBC866;margin-top:17px;margin-bottom:10px}.closeButtonContainer{position:absolute;right:15px;top:15px;padding:10px;user-select:none}.buttonText{margin-left:10px}.closeButton{color:#BBC0C5;cursor:pointer;user-select:none}.right{display:flex;align-items:center;justify-content:right}#sdk-mm-qrcode{margin-top:10px;margin-bottom:10px;display:flex;justify-content:center;align-items:center;border:none !important;
2outline:none !important;box-shadow:none !important}#sdk-mm-qrcode svg{width:100% !important;height:auto !important;border:none !important;outline:none !important;box-shadow:none !important;stroke:none !important;stroke-width:0 !important;background:transparent !important}*{font-family:'Euclid Circular B', sans-serif}.modalTitle{font-size:16px;font-weight:700;letter-spacing:0px;line-height:24px;color:#141618;margin-top:4px;text-align:center;user-select:none}.sectionTitle{text-align:center;font-size:14px;font-weight:500;margin-bottom:0px;margin-top:20px;font-weight:bold}.sectionDescription{text-align:center;font-size:14px;font-weight:400;margin-top:5px;color:#6A737D}.extensionButton{padding:15px 20px;margin-top:15px;margin-bottom:0px}.qrContainer{display:flex;justify-content:center;align-items:center;width:100%}.qrCode{margin:0 auto;display:flex;justify-content:center;align-items:center}";let p=class{constructor(t){(0,n.r)(this,t),this.close=(0,n.c)(this,"close",7),this.disconnect=(0,n.c)(this,"disconnect",7),this.updateOTPCode=(0,n.c)(this,"updateOTPCode",7),this.displayOTP=void 0,this.otpCode=void 0,this.translationsLoaded=!1,this.i18nInstance=new c}async connectedCallback(){await this.i18nInstance.init({fallbackLng:"en"}),this.translationsLoaded=!0}onClose(){this.close.emit()}onDisconnect(){this.disconnect.emit()}onUpdateOTPValueHandler(t){this.updateOTPCode.emit({otpCode:t})}disconnectedCallback(){this.onClose()}render(){var t;if(!this.translationsLoaded)return null;let e=null==(t=this.displayOTP)||t,i=t=>this.i18nInstance.t(t);return(0,n.h)(s,{className:"pending-modal"},(0,n.h)("div",{class:"backdrop",onClick:()=>this.onClose()}),(0,n.h)("div",{class:"modal"},(0,n.h)("div",{class:"closeButtonContainer"},(0,n.h)("div",{class:"right"},(0,n.h)("span",{class:"closeButton",onClick:()=>this.onClose()},(0,n.h)(h,null)))),(0,n.h)("div",{class:"logoContainer"},(0,n.h)(a,null)),(0,n.h)("div",null,(0,n.h)("div",{class:"flexContainer",style:{flexDirection:"column",color:"black"}},(0,n.h)("div",{class:"flexItem",style:{textAlign:"center",marginTop:"30px",marginBottom:"30px",fontSize:"16px"}},i(e?"PENDING_MODAL.OPEN_META_MASK_SELECT_CODE":"PENDING_MODAL.OPEN_META_MASK_CONTINUE")),(0,n.h)("div",{id:"sdk-mm-otp-value",style:{padding:"10px",fontSize:"32px",display:this.otpCode?"block":"none"}},this.otpCode),e&&(0,n.h)("div",{class:"notice"},"* ",i("PENDING_MODAL.NUMBER_AFTER_OPEN_NOTICE"))),(0,n.h)("div",{style:{marginTop:"20px"}},(0,n.h)("button",{class:"button blue",style:{marginTop:"5px",color:"#0376C9",borderColor:"#0376C9",borderWidth:"1px",borderStyle:"solid",backgroundColor:"white"},onClick:()=>this.onDisconnect()},i("PENDING_MODAL.DISCONNECT"))))))}get el(){return(0,n.g)(this)}};p.style="@font-face{font-family:'Euclid Circular B';src:url('../assets/fonts/Euclid Circular B Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}.flexContainer{display:flex;justify-content:center;align-items:center;flex-direction:row}.flexItem11{flex:11;justify-content:center;align-items:center}.flexItem1{flex:1;justify-content:center;align-items:center}.button{margin-top:41.5px;margin-bottom:20px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:12px 20px;background:#0376C9;border-radius:32px;color:white;border:0;font-size:14px;cursor:pointer}.backdrop{visibility:visible;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;z-index:99998;background:rgba(0, 0, 0, 0.87);opacity:0.3}.modal{visibility:visible;position:fixed;left:50%;transform:translate(-50%, -50%);z-index:99999;background:white;padding:20px;border-radius:8px;top:50%;max-width:360px;width:460px;min-width:300px;box-shadow:rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;-webkit-font-smoothing:antialiased}.sectionDivider{height:1px;background-color:#B7BBC866;margin-top:17px;margin-bottom:10px}.closeButtonContainer{position:absolute;right:15px;top:15px;padding:10px;user-select:none}.buttonText{margin-left:10px}.closeButton{color:#BBC0C5;cursor:pointer;user-select:none}.right{display:flex;align-items:center;justify-content:right}#sdk-mm-qrcode{margin-top:10px;margin-bottom:10px;display:flex;justify-content:center;align-items:center;border:none !important;
2outline:none !important;box-shadow:none !important}#sdk-mm-qrcode svg{width:100% !important;height:auto !important;border:none !important;outline:none !important;box-shadow:none !important;stroke:none !important;stroke-width:0 !important;background:transparent !important}*{font-family:'Euclid Circular B', sans-serif}.modalTitle{font-size:16px;font-weight:700;letter-spacing:0px;line-height:24px;color:#141618;margin-top:4px;text-align:center;user-select:none}.sectionTitle{text-align:center;font-size:14px;font-weight:500;margin-bottom:0px;margin-top:20px;font-weight:bold}.sectionDescription{text-align:center;font-size:14px;font-weight:400;margin-top:5px;color:#6A737D}.extensionButton{padding:15px 20px;margin-top:15px;margin-bottom:0px}.qrContainer{display:flex;justify-content:center;align-items:center;width:100%}.qrCode{margin:0 auto;display:flex;justify-content:center;align-items:center}"}}]);

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.