PageSourceSearch

https://fetedupicodon.com/_app/immutable/chunks/DLlTEaBB.js

js fetedupicodon.com collected 2026-09-24 10:03:25 UTC 20,473 bytes, 7 lines download raw bytes

1import{p as vt,ak as pt,a5 as wt,x as Et,A as mt,C as yt,e as At}from"./PqQgIEx6.js";import{g as Bt}from"./BosuxZz1.js";var rt={},nt;Object.defineProperty(rt,"__esModule",{value:!0});var Nt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706],at=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},Z=function(e){return Nt[e]},Y=function(e){for(var t=0;e!==0;)t++,e>>>=1;return t},Mt=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');nt=e},it=function(){return nt!==void 0},Pt=function(e){return nt(e)};function U(e,t){return e(t={exports:{}},t.exports),t.exports}var A=U(function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(r){return r&&r.bit!==void 0&&r.bit>=0&&r.bit<4},t.from=function(r,a){if(t.isValid(r))return r;try{return function(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+o)}}(r)}catch{return a}}});A.L,A.M,A.Q,A.H,A.isValid;function lt(){this.buffer=[],this.length=0}lt.prototype={get:function(e){var t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(var r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Ct=lt;function z(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}z.prototype.set=function(e,t,r,a){var o=e*this.size+t;this.data[o]=r,a&&(this.reservedBit[o]=!0)},z.prototype.get=function(e,t){return this.data[e*this.size+t]},z.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},z.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var It=z,G=U(function(e,t){var r=at;t.getRowColCoords=function(a){if(a===1)return[];for(var o=Math.floor(a/7)+2,i=r(a),h=i===145?26:2*Math.ceil((i-13)/(2*o-2)),n=[i-7],u=1;u<o-1;u++)n[u]=n[u-1]-h;return n.push(6),n.reverse()},t.getPositions=function(a){for(var o=[],i=t.getRowColCoords(a),h=i.length,n=0;n<h;n++)for(var u=0;u<h;u++)n===0&&u===0||n===0&&u===h-1||n===h-1&&u===0||o.push([i[n],i[u]]);return o}}),Rt=(G.getRowColCoords,G.getPositions,at),Tt=function(e){var t=Rt(e);return[[0,0],[t-7,0],[0,t-7]]},M=U(function(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var r=3,a=3,o=40,i=10;function h(n,u,s){switch(n){case t.Patterns.PATTERN000:return(u+s)%2==0;case t.Patterns.PATTERN001:return u%2==0;case t.Patterns.PATTERN010:return s%3==0;case t.Patterns.PATTERN011:return(u+s)%3==0;case t.Patterns.PATTERN100:return(Math.floor(u/2)+Math.floor(s/3))%2==0;case t.Patterns.PATTERN101:return u*s%2+u*s%3==0;case t.Patterns.PATTERN110:return(u*s%2+u*s%3)%2==0;case t.Patterns.PATTERN111:return(u*s%3+(u+s)%2)%2==0;default:throw new Error("bad maskPattern:"+n)}}t.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},t.from=function(n){return t.isValid(n)?parseInt(n,10):void 0},t.getPenaltyN1=function(n){for(var u=n.size,s=0,f=0,c=0,l=null,g=null,v=0;v<u;v++){f=c=0,l=g=null;for(var w=0;w<u;w++){var p=n.get(v,w);p===l?f++:(f>=5&&(s+=r+(f-5)),l=p,f=1),(p=n.get(w,v))===g?c++:(c>=5&&(s+=r+(c-5)),g=p,c=1)}f>=5&&(s+=r+(f-5)),c>=5&&(s+=r+(c-5))}return s},t.getPenaltyN2=function(n){for(var u=n.size,s=0,f=0;f<u-1;f++)for(var c=0;c<u-1;c++){var l=n.get(f,c)+n.get(f,c+1)+n.get(f+1,c)+n.get(f+1,c+1);l!==4&&l!==0||s++}return s*a},t.getPenaltyN3=function(n){for(var u=n.size,s=0,f=0,c=0,l=0;l<u;l++){f=c=0;for(var g=0;g<u;g++)f=f<<1&2047|n.get(l,g),g>=10&&(f===1488||f===93)&&s++,c=c<<1&2047|n.get(g,l),g>=10&&(c===1488||c===93)&&s++}return s*o},t.getPenaltyN4=function(n){for(var u=0,s=n.data.length,f=0;f<s;f++)u+=n.data[f];return Math.abs(Math.ceil(100*u/s/5)-10)*i}
1,t.applyMask=function(n,u){for(var s=u.size,f=0;f<s;f++)for(var c=0;c<s;c++)u.isReserved(c,f)||u.xor(c,f,h(n,c,f))},t.getBestMask=function(n,u){for(var s=Object.keys(t.Patterns).length,f=0,c=1/0,l=0;l<s;l++){u(l),t.applyMask(l,n);var g=t.getPenaltyN1(n)+t.getPenaltyN2(n)+t.getPenaltyN3(n)+t.getPenaltyN4(n);t.applyMask(l,n),g<c&&(c=g,f=l)}return f}}),K=(M.Patterns,M.isValid,M.getPenaltyN1,M.getPenaltyN2,M.getPenaltyN3,M.getPenaltyN4,M.applyMask,M.getBestMask,[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81]),D=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430],Lt=function(e,t){switch(t){case A.L:return K[4*(e-1)+0];case A.M:return K[4*(e-1)+1];case A.Q:return K[4*(e-1)+2];case A.H:return K[4*(e-1)+3];default:return}},W=function(e,t){switch(t){case A.L:return D[4*(e-1)+0];case A.M:return D[4*(e-1)+1];case A.Q:return D[4*(e-1)+2];case A.H:return D[4*(e-1)+3];default:return}},H=new Uint8Array(512),tt=new Uint8Array(256);(function(){for(var e=1,t=0;t<255;t++)H[t]=e,tt[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)H[t]=H[t-255]})();var bt=function(e){return H[e]},ut=function(e,t){return e===0||t===0?0:H[tt[e]+tt[t]]},J=U(function(e,t){t.mul=function(r,a){for(var o=new Uint8Array(r.length+a.length-1),i=0;i<r.length;i++)for(var h=0;h<a.length;h++)o[i+h]^=ut(r[i],a[h]);return o},t.mod=function(r,a){for(var o=new Uint8Array(r);o.length-a.length>=0;){for(var i=o[0],h=0;h<a.length;h++)o[h]^=ut(a[h],i);for(var n=0;n<o.length&&o[n]===0;)n++;o=o.slice(n)}return o},t.generateECPolynomial=function(r){for(var a=new Uint8Array([1]),o=0;o<r;o++)a=t.mul(a,new Uint8Array([1,bt(o)]));return a}});J.mul,J.mod,J.generateECPolynomial;function et(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}et.prototype.initialize=function(e){this.degree=e,this.genPoly=J.generateECPolynomial(this.degree)},et.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=new Uint8Array(e.length+this.degree);t.set(e);var r=J.mod(t,this.genPoly),a=this.degree-r.length;if(a>0){var o=new Uint8Array(this.degree);return o.set(r,a),o}return r};var Ut=et,Q=function(e){return!isNaN(e)&&e>=1&&e<=40},V="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",xt="(?:(?![A-Z0-9 $%*+\\-./:]|"+(V=V.replace(/u/g,"\\u"))+`)(?:.|[\r
2]))+`,kt=new RegExp(V,"g"),Ft=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),_t=new RegExp(xt,"g"),St=new RegExp("[0-9]+","g"),Yt=new RegExp("[A-Z $%*+\\-./:]+","g"),$t=new RegExp("^"+V+"$"),zt=new RegExp("^[0-9]+$"),Ht=new RegExp("^[A-Z0-9 $%*+\\-./:]+$"),b={KANJI:kt,BYTE_KANJI:Ft,BYTE:_t,NUMERIC:St,ALPHANUMERIC:Yt,testKanji:function(e){return $t.test(e)},testNumeric:function(e){return zt.test(e)},testAlphanumeric:function(e){return Ht.test(e)}},d=U(function(e,t){t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1}
2,t.getCharCountIndicator=function(r,a){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!Q(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?r.ccBits[0]:a<27?r.ccBits[1]:r.ccBits[2]},t.getBestModeForData=function(r){return b.testNumeric(r)?t.NUMERIC:b.testAlphanumeric(r)?t.ALPHANUMERIC:b.testKanji(r)?t.KANJI:t.BYTE},t.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},t.isValid=function(r){return r&&r.bit&&r.ccBits},t.from=function(r,a){if(t.isValid(r))return r;try{return function(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+o)}}(r)}catch{return a}}}),Jt=(d.NUMERIC,d.ALPHANUMERIC,d.BYTE,d.KANJI,d.MIXED,d.getCharCountIndicator,d.getBestModeForData,d.isValid,{}.toString),dt=Array.isArray||function(e){return Jt.call(e)=="[object Array]"},x=U(function(e,t){var r=Y(7973);function a(i,h){return d.getCharCountIndicator(i,h)+4}function o(i,h){var n=0;return i.forEach(function(u){var s=a(u.mode,h);n+=s+u.getBitsLength()}),n}t.from=function(i,h){return Q(i)?parseInt(i,10):h},t.getCapacity=function(i,h,n){if(!Q(i))throw new Error("Invalid QR Code version");n===void 0&&(n=d.BYTE);var u=8*(Z(i)-W(i,h));if(n===d.MIXED)return u;var s=u-a(n,i);switch(n){case d.NUMERIC:return Math.floor(s/10*3);case d.ALPHANUMERIC:return Math.floor(s/11*2);case d.KANJI:return Math.floor(s/13);case d.BYTE:default:return Math.floor(s/8)}},t.getBestVersionForData=function(i,h){var n,u=A.from(h,A.M);if(dt(i)){if(i.length>1)return function(s,f){for(var c=1;c<=40;c++)if(o(s,c)<=t.getCapacity(c,f,d.MIXED))return c}(i,u);if(i.length===0)return 1;n=i[0]}else n=i;return function(s,f,c){for(var l=1;l<=40;l++)if(f<=t.getCapacity(l,c,s))return l}(n.mode,n.getLength(),u)},t.getEncodedBits=function(i){if(!Q(i)||i<7)throw new Error("Invalid QR Code version");for(var h=i<<12;Y(h)-r>=0;)h^=7973<<Y(h)-r;return i<<12|h}}),st=(x.getCapacity,x.getBestVersionForData,x.getEncodedBits,Y(1335)),Kt=function(e,t){for(var r=e.bit<<3|t,a=r<<10;Y(a)-st>=0;)a^=1335<<Y(a)-st;return 21522^(r<<10|a)};function k(e){this.mode=d.NUMERIC,this.data=e.toString()}k.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},k.prototype.getLength=function(){return this.data.length},k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)},k.prototype.write=function(e){var t,r,a;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),a=parseInt(r,10),e.put(a,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),a=parseInt(r,10),e.put(a,3*o+1))};var ft=k,O=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function F(e){this.mode=d.ALPHANUMERIC,this.data=e}F.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},F.prototype.getLength=function(){return this.data.length},F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)},F.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*O.indexOf(this.data[t]);r+=O.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(O.indexOf(this.data[t]),6)};var ct=F;function _(e){this.mode=d.BYTE,this.data=new Uint8Array(function(t){for(var r=[],a=t.length,o=0;o<a;o++){var i=t.charCodeAt(o);if(i>=55296&&i<=56319&&a>o+1){var h=t.charCodeAt(o+1);h>=56320&&h<=57343&&(i=1024*(i-55296)+h-56320+65536,o+=1)}i<128?r.push(i):i<2048?(r.push(i>>6|192),r.push(63&i|128)):i<55296||i>=57344&&i<65536?(r.push(i>>12|224),r.push(i>>6&63|128),r.push(63&i|128)):i>=65536&&i<=1114111?(r.push(i>>18|240),r.push(i>>12&63|128),r.push(i>>6&63|128),r.push(63&i|128)):r.push(239,191,189)}return new Uint8Array(r).buffer}(e))}_.getBitsLength=function(e){return 8*e},_.prototype.getLength=function(){return this.data.length},_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)},_.prototype.write=function(e){for(var t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var ht=_;function S(e){this.mode=d.KANJI,this.data=e}S.getBitsLength=function(e){return 13*e},S.prototype.getLength=function(){return this.data.length},S.prototype.getBitsLength=function(){return S.getBitsLength(this.data.length)},S.prototype.write=function(e){var t;for(t=0;t<this.data.length;t++){var r=Pt(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+`
3Make sure your charset is UTF-8`);r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}};var gt=S,Dt=U(function(e){var t={single_source_shortest_paths:function(r,a,o){var i={},h={};h[a]=0;var n,u,s,f,c,l,g,v=t.PriorityQueue.make();for(v.push(a,0);!v.empty();)for(s in u=(n=v.pop()).value,f=n.cost,c=r[u]||{})c.hasOwnProperty(s)&&(l=f+c[s],g=h[s],(h[s]===void 0||g>l)&&(h[s]=l,v.push(s,l),i[s]=u));if(o!==void 0&&h[o]===void 0){var w=["Could not find a path from ",a," to ",o,"."].join("");throw new Error(w)}return i},extract_shortest_path_from_predecessor_list:function(r,a){for(var o=[],i=a;i;)o.push(i),r[i],i=r[i];return o.reverse(),o},find_path:function(r,a,o){var i=t.single_source_shortest_paths(r,a,o);return t.extract_shortest_path_from_predecessor_list(i,o)},PriorityQueue:{make:function(r){var a,o=t.PriorityQueue,i={};for(a in r=r||{},o)o.hasOwnProperty(a)&&(i[a]=o[a]);return i.queue=[],i.sorter=r.sorter||o.default_sorter,i},default_sorter:function(r,a){return r.cost-a.cost},push:function(r,a){var o={value:r,cost:a};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}),$=U(function(e,t){function r(n){return unescape(encodeURIComponent(n)).length}function a(n,u,s){for(var f,c=[];(f=n.exec(s))!==null;)c.push({data:f[0],index:f.index,mode:u,length:f[0].length});return c}function o(n){var u,s,f=a(b.NUMERIC,d.NUMERIC,n),c=a(b.ALPHANUMERIC,d.ALPHANUMERIC,n);return it()?(u=a(b.BYTE,d.BYTE,n),s=a(b.KANJI,d.KANJI,n)):(u=a(b.BYTE_KANJI,d.BYTE,n),s=[]),f.concat(c,u,s).sort(function(l,g){return l.index-g.index}).map(function(l){return{data:l.data,mode:l.mode,length:l.length}})}function i(n,u){switch(u){case d.NUMERIC:return ft.getBitsLength(n);case d.ALPHANUMERIC:return ct.getBitsLength(n);case d.KANJI:return gt.getBitsLength(n);case d.BYTE:return ht.getBitsLength(n)}}function h(n,u){var s,f=d.getBestModeForData(n);if((s=d.from(u,f))!==d.BYTE&&s.bit<f.bit)throw new Error('"'+n+'" cannot be encoded with mode '+d.toString(s)+`.
4 Suggested mode is: `+d.toString(f));switch(s!==d.KANJI||it()||(s=d.BYTE),s){case d.NUMERIC:return new ft(n);case d.ALPHANUMERIC:return new ct(n);case d.KANJI:return new gt(n);case d.BYTE:return new ht(n)}}t.fromArray=function(n){return n.reduce(function(u,s){return typeof s=="string"?u.push(h(s,null)):s.data&&u.push(h(s.data,s.mode)),u},[])},t.fromString=function(n,u){for(var s=function(g,v){for(var w={},p={start:{}},m=["start"],E=0;E<g.length;E++){for(var y=g[E],P=[],C=0;C<y.length;C++){var N=y[C],I=""+E+C;P.push(I),w[I]={node:N,lastCount:0},p[I]={};for(var R=0;R<m.length;R++){var B=m[R];w[B]&&w[B].node.mode===N.mode?(p[B][I]=i(w[B].lastCount+N.length,N.mode)-i(w[B].lastCount,N.mode),w[B].lastCount+=N.length):(w[B]&&(w[B].lastCount=N.length),p[B][I]=i(N.length,N.mode)+4+d.getCharCountIndicator(N.mode,v))}}m=P}
4for(R=0;R<m.length;R++)p[m[R]].end=0;return{map:p,table:w}}(function(g){for(var v=[],w=0;w<g.length;w++){var p=g[w];switch(p.mode){case d.NUMERIC:v.push([p,{data:p.data,mode:d.ALPHANUMERIC,length:p.length},{data:p.data,mode:d.BYTE,length:p.length}]);break;case d.ALPHANUMERIC:v.push([p,{data:p.data,mode:d.BYTE,length:p.length}]);break;case d.KANJI:v.push([p,{data:p.data,mode:d.BYTE,length:r(p.data)}]);break;case d.BYTE:v.push([{data:p.data,mode:d.BYTE,length:r(p.data)}])}}return v}(o(n)),u),f=Dt.find_path(s.map,"start","end"),c=[],l=1;l<f.length-1;l++)c.push(s.table[f[l]].node);return t.fromArray(function(g){return g.reduce(function(v,w){var p=v.length-1>=0?v[v.length-1]:null;return p&&p.mode===w.mode?(v[v.length-1].data+=w.data,v):(v.push(w),v)},[])}(c))},t.rawSplit=function(n){return t.fromArray(o(n))}});$.fromArray,$.fromString,$.rawSplit;function X(e,t,r){var a,o,i=e.size,h=Kt(t,r);for(a=0;a<15;a++)o=(h>>a&1)==1,a<6?e.set(a,8,o,!0):a<8?e.set(a+1,8,o,!0):e.set(i-15+a,8,o,!0),a<8?e.set(8,i-a-1,o,!0):a<9?e.set(8,15-a-1+1,o,!0):e.set(8,15-a-1,o,!0);e.set(i-8,8,1,!0)}function Qt(e,t,r){var a=new Ct;r.forEach(function(n){a.put(n.mode.bit,4),a.put(n.getLength(),d.getCharCountIndicator(n.mode,e)),n.write(a)});var o=8*(Z(e)-W(e,t));for(a.getLengthInBits()+4<=o&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);for(var i=(o-a.getLengthInBits())/8,h=0;h<i;h++)a.put(h%2?17:236,8);return function(n,u,s){for(var f=Z(u),c=W(u,s),l=f-c,g=Lt(u,s),v=g-f%g,w=Math.floor(f/g),p=Math.floor(l/g),m=p+1,E=w-p,y=new Ut(E),P=0,C=new Array(g),N=new Array(g),I=0,R=new Uint8Array(n.buffer),B=0;B<g;B++){var q=B<v?p:m;C[B]=R.slice(P,P+q),N[B]=y.encode(C[B]),P+=q,I=Math.max(I,q)}
4var T,L,j=new Uint8Array(f),ot=0;for(T=0;T<I;T++)for(L=0;L<g;L++)T<C[L].length&&(j[ot++]=C[L][T]);for(T=0;T<E;T++)for(L=0;L<g;L++)j[ot++]=N[L][T];return j}(a,e,t)}function Vt(e,t,r,a){var o;if(dt(e))o=$.fromArray(e);else{if(typeof e!="string")throw new Error("Invalid data");var i=t;if(!i){var h=$.rawSplit(e);i=x.getBestVersionForData(h,r)}o=$.fromString(e,i||40)}var n=x.getBestVersionForData(o,r);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<n)throw new Error(`
5The chosen QR Code version cannot contain this amount of data.
6Minimum version required to store current data is: `+n+`.
7`)}else t=n;var u=Qt(t,r,o),s=at(t),f=new It(s);return function(c,l){for(var g=c.size,v=Tt(l),w=0;w<v.length;w++)for(var p=v[w][0],m=v[w][1],E=-1;E<=7;E++)if(!(p+E<=-1||g<=p+E))for(var y=-1;y<=7;y++)m+y<=-1||g<=m+y||(E>=0&&E<=6&&(y===0||y===6)||y>=0&&y<=6&&(E===0||E===6)||E>=2&&E<=4&&y>=2&&y<=4?c.set(p+E,m+y,!0,!0):c.set(p+E,m+y,!1,!0))}(f,t),function(c){for(var l=c.size,g=8;g<l-8;g++){var v=g%2==0;c.set(g,6,v,!0),c.set(6,g,v,!0)}}(f),function(c,l){for(var g=G.getPositions(l),v=0;v<g.length;v++)for(var w=g[v][0],p=g[v][1],m=-2;m<=2;m++)for(var E=-2;E<=2;E++)m===-2||m===2||E===-2||E===2||m===0&&E===0?c.set(w+m,p+E,!0,!0):c.set(w+m,p+E,!1,!0)}(f,t),X(f,r,0),t>=7&&function(c,l){for(var g,v,w,p=c.size,m=x.getEncodedBits(l),E=0;E<18;E++)g=Math.floor(E/3),v=E%3+p-8-3,w=(m>>E&1)==1,c.set(g,v,w,!0),c.set(v,g,w,!0)}(f,t),function(c,l){for(var g=c.size,v=-1,w=g-1,p=7,m=0,E=g-1;E>0;E-=2)for(E===6&&E--;;){for(var y=0;y<2;y++)if(!c.isReserved(w,E-y)){var P=!1;m<l.length&&(P=(l[m]>>>p&1)==1),c.set(w,E-y,P),--p===-1&&(m++,p=7)}if((w+=v)<0||g<=w){w-=v,v=-v;break}}}(f,u),isNaN(a)&&(a=M.getBestMask(f,X.bind(null,f,r))),M.applyMask(a,f),X(f,r,a),{modules:f,version:t,errorCorrectionLevel:r,maskPattern:a,segments:o}}rt.create=function(e,t){if(e===void 0||e==="")throw new Error("No input text");var r,a,o=A.M;return t!==void 0&&(o=A.from(t.errorCorrectionLevel,A.M),r=x.from(t.version),a=M.from(t.maskPattern),t.toSJISFunc&&Mt(t.toSJISFunc)),Vt(e,r,o,a)};const qt=rt;function jt(e,t,r){let a="",o=0,i=!1,h=0;for(let n=0;n<e.length;n++){const u=Math.floor(n%t),s=Math.floor(n/t);if(u===0&&(i=!0),!e[n]){o++;continue}h++,n>0&&u>0&&e[n-1]||(a+=i?`M${r+u},${r+.5+s}`:`m${o},0`,o=0,i=!1),u+1<t&&e[n+1]||(a+=`h${h}`,h=0)}return a}var Ot=function(t,r={}){const{size:a,data:o}=qt.create(t).modules,i=r.margin||0,h=a+i*2,n=`viewBox="0 0 ${h} ${h}"`,u=r.size?` width="${r.size}" height="${r.size}"`:"",s=r.backgroundColor==="transparent"?"":`<path fill="${r.backgroundColor||"white"}" d="M0,0h${h}v${h}H0z"/>`,f=`<path stroke="${r.color||"black"}" d="${jt(o,a,i)}"/>`;return`<svg xmlns="http://www.w3.org/2000/svg" ${n}${u} shape-rendering="crispEdges">${s}${f}</svg>`};const Xt=Bt(Ot);function Wt(e,t){vt(t,!0);let r=pt(t,"value",3,"");var a=wt(),o=Et(a);mt(o,()=>Xt(r(),{backgroundColor:"#fff",margin:2})),yt(e,a),At()}export{Wt as default};

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.