PageSourceSearch

https://www.tchibo.hu/service/productdetailpagefrontend/assets/DFmqqrPR.js

js tchibo.hu collected 2026-10-03 23:20:13 UTC 25,833 bytes, 8 lines download raw bytes

vendor: 18,766 bytes, lines 1-4
1function re(r,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const o=Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}function oe(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var F={},ct,ft;function ie(){return ft||(ft=1,ct=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ct}var Q={},k={},lt;function _(){if(lt)return k;lt=1;let r;const i=[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];return k.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17},k.getSymbolTotalCodewords=function(t){return i[t]},k.getBCHDigit=function(t){let e=0;for(;t!==0;)e++,t>>>=1;return e},k.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');r=t},k.isKanjiModeEnabled=function(){return typeof r<"u"},k.toSJIS=function(t){return r(t)},k}var ht={},dt;function it(){return dt||(dt=1,(function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function i(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+t)}}r.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},r.from=function(t,e){if(r.isValid(t))return t;try{return i(t)}catch{return e}}})(ht)),ht}var $,gt;function ue(){if(gt)return $;gt=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(i){const t=Math.floor(i/8);return(this.buffer[t]>>>7-i%8&1)===1},put:function(i,t){for(let e=0;e<t;e++)this.putBit((i>>>t-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(i){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),i&&(this.buffer[t]|=128>>>this.length%8),this.length++}},$=r,$}var Z,pt;function se(){if(pt)return Z;pt=1;function r(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}return r.prototype.set=function(i,t,e,n){const o=i*this.size+t;this.data[o]=e,n&&(this.reservedBit[o]=!0)},r.prototype.get=function(i,t){return this.data[i*this.size+t]},r.prototype.xor=function(i,t,e){this.data[i*this.size+t]^=e},r.prototype.isReserved=function(i,t){return this.reservedBit[i*this.size+t]},Z=r,Z}var wt={},mt;function ae(){return mt||(mt=1,(function(r){const i=_().getSymbolSize;r.getRowColCoords=function(t){if(t===1)return[];const e=Math.floor(t/7)+2,n=i(t),o=n===145?26:Math.ceil((n-13)/(2*e-2))*2,s=[n-7];for(let u=1;u<e-1;u++)s[u]=s[u-1]-o;return s.push(6),s.reverse()},r.getPositions=function(t){const e=[],n=r.getRowColCoords(t),o=n.length;for(let s=0;s<o;s++)for(let u=0;u<o;u++)s===0&&u===0||s===0&&u===o-1||s===o-1&&u===0||e.push([n[s],n[u]]);return e}})(wt)),wt}var X={},yt;function ce(){if(yt)return X;yt=1;const r=_().getSymbolSize,i=7;return X.getPositions=function(t){const e=r(t);return[[0,0],[e-i,0],[0,e-i]]},X}var Et={},At;function fe(){return At||(At=1,(function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const i={N1:3,N2:3,N3:40,N4:10};r.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},r.from=function(e){return r.isValid(e)?parseInt(e,10):void 0},r.getPenaltyN1=function(e){const n=e.size;let o=0,s=0,u=0,f=null,l=null;for(let E=0;E<n;E++){s=u=0,f=l=null;for(let A=0;A<n;A++){let a=e.get(E,A);a===f?s++:(s>=5&&(o+=i.N1+(s-5)),f=a,s=1),a=e.get(A,E),a===l?u++:(u>=5&&(o+=i.N1+(u-5)),l=a,u=1)}s>=5&&(o+=i.N1+(s-5)),u>=5&&(o+=i.N1+(u-5))}return o},r.getPenaltyN2=function(e){const n=e.size;let o=0;for(let s=0;s<n-1;s++)for(let u=0;u<n-1;u++){const f=e.get(s,u)+e.get(s,u+1)+e.get(s+1,u)+e.get(s+1,u+1);(f===4||f===0)&&o++}return o*i.N2},r.getPenaltyN3=function(e){const n=e.size;let o=0,s=0,u=0;for(let f=0;f<n;f++){s=u=0;for(let l=0;l<n;l++)s=s<<1&2047|e.get(f,l),l>=10&&(s===1488||s===93)&&o++,u=u<<1&2047|e.get(l,f),l>=10&&(u===1488||u===93)&&o++}return o*i.N3},r.getPenaltyN4=function(e){let n=0;const o=e.data.length;for(let s=0;s<o;s++)n+=e.data[s];return Math.abs(Math.ceil(n*100/o/5)-10)*i.N4};function t(e,n,o){switch(e){case r.Patterns.PATTERN000:return(n+o)%2===0;case r.Patterns.PATTERN001:return n%2===0;case r.Patterns.PATTERN010:return o%3===0;case r.Patterns.PATTERN011:return(n+o)%3===0;case r.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(o/3))%2===0;case r.Patterns.PATTERN101:return n*o%2+n*o%3===0;case r.Patterns.PATTERN110:return(n*o%2+n*o%3)%2===0;case r.Patterns.PATTERN111:return(n*o%3+(n+o)%2)%2===0;default:throw new Error("bad maskPattern:"+e)}}r.applyMask=function(e,n){const o=n.size;for(let s=0;s<o;s++)for(let u=0;u<o;u++)n.isReserved(u,s)||n.xor(u,s,t(e,u,s))},r.getBestMask=function(e,n){const o=Object.keys(r.Patterns).length;let s=0,u=1/0;for(let f=0;f<o;f++){n(f),r.applyMask(f,e);const l=r.getPenaltyN1(e)+r.getPenaltyN2(e)+r.getPenaltyN3(e)+r.getPenaltyN4(e);r.applyMask(f,e),l<u&&(u=l,s=f)}return s}})(Et)),Et}var Y={},vt;function $t(){if(vt)return Y;vt=1;const r=it(),i=[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],t=[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];return Y.getBlocksCount=function(e,n){switch(n){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}},Y.getTotalCodewordsCount=function(e,n){switch(n){case r.L:return t[(e-1)*4+0];case r.M:return t[(e-1)*4+1];case r.Q:return t[(e-1)*4+2];case r.H:return t[(e-1)*4+3];default:return}},Y}var Bt={},J={},Nt;function le(){if(Nt)return J;Nt=1;const r=new Uint8Array(512),i=new Uint8Array(256);return(function(){let t=1;for(let e=0;e<255;e++)r[e]=t,i[t]=e,t<<=1,t&256&&(t^=285);for(let e=255;e<512;e++)r[e]=r[e-255]})(),J.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},J.exp=function(t){return r[t]},J.mul=function(t,e){return t===0||e===0?0:r[i[t]+i[e]]},J}var It;function he(){return It||(It=1,(function(r){const i=le();r.mul=function(t,e){const n=new Uint8Array(t.length+e.length-1);for(let o=0;o<t.length;o++)for(let s=0;s<e.length;s++)n[o+s]^=i.mul(t[o],e[s]);return n},r.mod=function(t,e){let n=new Uint8Array(t);for(;n.length-e.length>=0;){const o=n[0];for(let u=0;u<e.length;u++)n[u]^=i.mul(e[u],o);let s=0;for(;s<n.length&&n[s]===0;)s++;n=n.slice(s)}return n},r.generateECPolynomial=function(t){let e=new Uint8Array([1]);for(let n=0;n<t;n++)e=r.mul(e,new Uint8Array([1,i.exp(n)]));return e}})(Bt)),Bt}var W,Pt;function de(){if(Pt)return W;Pt=1;const r=he();function i(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}return i.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const n=r.mod(e,this.genPoly),o=this.degree-n.length;if(o>0){const s=new Uint8Array(this.degree);return s.set(n,o),s}return n},W=i,W}var Tt={},bt={},Mt={},Ct;function Zt(){return Ct||(Ct=1,Mt.isValid=function(r){return!isNaN(r)&&r>=1&&r<=40}),Mt}var R={},Lt;function Xt(){if(Lt)return R;Lt=1;const r="[0-9]+",i="[A-Z $%*+\\-./:]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2]))+`;R.KANJI=new RegExp(t,"g"),R.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),R.BYTE=new RegExp(e,"g"),R.NUMERIC=new RegExp(r,"g"),R.ALPHANUMERIC=new RegExp(i,"g");const n=new RegExp("^"+t+"$"),o=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return R.testKanji=function(u){return n.test(u)},R.testNumeric=function(u){return o.test(u)},R.testAlphanumeric=function(u){return s.test(u)},R}var Rt;function z(){return Rt||(Rt=1,(function(r){const i=Zt(),t=Xt();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(n,o){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!i.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?n.ccBits[0]:o<27?n.ccBits[1]:n.ccBits[2]},r.getBestModeForData=function(n){return t.testNumeric(n)?r.NUMERIC:t.testAlphanumeric(n)?r.ALPHANUMERIC:t.testKanji(n)?r.KANJI:r.BYTE},r.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},r.isValid=function(n){return n&&n.bit&&n.ccBits};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+n)}}r.from=function(n,o){if(r.isValid(n))return n;try{return e(n)}catch{return o}}})(bt)),bt}var St;function ge(){return St||(St=1,(function(r){const i=_(),t=$t(),e=it(),n=z(),o=Zt(),s=7973,u=i.getBCHDigit(s);function f(a,N,B){for(let M=1;M<=40;M++)if(N<=r.getCapacity(M,B,a))return M}function l(a,N){return n.getCharCountIndicator(a,N)+4}function E(a,N){let B=0;return a.forEach(function(M){const L=l(M.mode,N);B+=L+M.getBitsLength()}),B}function A(a,N){for(let B=1;B<=40;B++)if(E(a,B)<=r.getCapacity(B,N,n.MIXED))return B}r.from=function(a,N){return o.isValid(a)?parseInt(a,10):N},r.getCapacity=function(a,N,B){if(!o.isValid(a))throw new Error("Invalid QR Code version");typeof B>"u"&&(B=n.BYTE);const M=i.getSymbolTotalCodewords(a),L=t.getTotalCodewordsCount(a,N),m=(M-L)*8;if(B===n.MIXED)return m;const b=m-l(B,a);switch(B){case n.NUMERIC:return Math.floor(b/10*3);case n.ALPHANUMERIC:return Math.floor(b/11*2);case n.KANJI:return Math.floor(b/13);case n.BYTE:default:return Math.floor(b/8)}},r.getBestVersionForData=function(a,N){let B;const M=e.from(N,e.M);if(Array.isArray(a)){if(a.length>1)return A(a,M);if(a.length===0)return 1;B=a[0]}else B=a;return f(B.mode,B.getLength(),M)},r.getEncodedBits=function(a){if(!o.isValid(a)||a<7)throw new Error("Invalid QR Code version");let N=a<<12;for(;i.getBCHDigit(N)-u>=0;)N^=s<<i.getBCHDigit(N)-u;return a<<12|N}})(Tt)),Tt}var G={},Ut;function pe(){if(Ut)return G;Ut=1;const r=_(),i=1335,t=21522,e=r.getBCHDigit(i);return G.getEncodedBits=function(n,o){const s=n.bit<<3|o;let u=s<<10;for(;r.getBCHDigit(u)-e>=0;)u^=i<<r.getBCHDigit(u)-e;return(s<<10|u)^t},G}var xt={},tt,kt;function we(){if(kt)return tt;kt=1;const r=z();function i(t){this.mode=r.NUMERIC,this.data=t.toString()}return i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){let e,n,o;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),o=parseInt(n,10),t.put(o,10);const s=this.data.length-e;s>0&&(n=this.data.substr(e),o=parseInt(n,10),t.put(o,s*3+1))},tt=i,tt}var et,_t;function me(){if(_t)return et;_t=1;const r=z(),i=["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 t(e){this.mode=r.ALPHANUMERIC,this.data=e}return t.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let o=i.indexOf(this.data[n])*45;o+=i.indexOf(this.data[n+1]),e.put(o,11)}this.data.length%2&&e.put(i.indexOf(this.data[n]),6)},et=t,et}var nt,zt;function ye(){if(zt)return nt;zt=1;const r=z();function i(t){this.mode=r.BYTE,typeof t=="string"?this.data=new TextEncoder().encode(t):this.data=new Uint8Array(t)}return i.getBitsLength=function(t){return t*8},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},nt=i,nt}var rt,Dt;function Ee(){if(Dt)return rt;Dt=1;const r=z(),i=_();function t(e){this.mode=r.KANJI,this.data=e}return t.getBitsLength=function(e){return e*13},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(e){let n;for(n=0;n<this.data.length;n++){let o=i.toSJIS(this.data[n]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[n]+`
3Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),e.put(o,13)}},rt=t,rt}var Ft={exports:{}},Ht;function Ae(){return Ht||(Ht=1,(function(r){var i={single_source_shortest_paths:function(t,e,n){var o={},s={};s[e]=0;var u=i.PriorityQueue.make();u.push(e,0);for(var f,l,E,A,a,N,B,M,L;!u.empty();){f=u.pop(),l=f.value,A=f.cost,a=t[l]||{};for(E in a)a.hasOwnProperty(E)&&(N=a[E],B=A+N,M=s[E],L=typeof s[E]>"u",(L||M>B)&&(s[E]=B,u.push(E,B),o[E]=l))}if(typeof n<"u"&&typeof s[n]>"u"){var m=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],o=e;o;)n.push(o),t[o],o=t[o];return n.reverse(),n},find_path:function(t,e,n){var o=i.single_source_shortest_paths(t,e,n);return i.extract_shortest_path_from_predecessor_list(o,n)},PriorityQueue:{make:function(t){var e=i.PriorityQueue,n={},o;t=t||{};for(o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);return n.queue=[],n.sorter=t.sorter||e.default_sorter,n},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=i})(Ft)),Ft.exports}var Jt;function ve(){return Jt||(Jt=1,(function(r){const i=z(),t=we(),e=me(),n=ye(),o=Ee(),s=Xt(),u=_(),f=Ae();function l(m){return unescape(encodeURIComponent(m)).length}function E(m,b,P){const T=[];let C;for(;(C=m.exec(P))!==null;)T.push({data:C[0],index:C.index,mode:b,length:C[0].length});return T}function A(m){const b=E(s.NUMERIC,i.NUMERIC,m),P=E(s.ALPHANUMERIC,i.ALPHANUMERIC,m);let T,C;return u.isKanjiModeEnabled()?(T=E(s.BYTE,i.BYTE,m),C=E(s.KANJI,i.KANJI,m)):(T=E(s.BYTE_KANJI,i.BYTE,m),C=[]),b.concat(P,T,C).sort(function(c,p){return c.index-p.index}).map(function(c){return{data:c.data,mode:c.mode,length:c.length}})}function a(m,b){switch(b){case i.NUMERIC:return t.getBitsLength(m);case i.ALPHANUMERIC:return e.getBitsLength(m);case i.KANJI:return o.getBitsLength(m);case i.BYTE:return n.getBitsLength(m)}}function N(m){return m.reduce(function(b,P){const T=b.length-1>=0?b[b.length-1]:null;return T&&T.mode===P.mode?(b[b.length-1].data+=P.data,b):(b.push(P),b)},[])}function B(m){const b=[];for(let P=0;P<m.length;P++){const T=m[P];switch(T.mode){case i.NUMERIC:b.push([T,{data:T.data,mode:i.ALPHANUMERIC,length:T.length},{data:T.data,mode:i.BYTE,length:T.length}]);break;case i.ALPHANUMERIC:b.push([T,{data:T.data,mode:i.BYTE,length:T.length}]);break;case i.KANJI:b.push([T,{data:T.data,mode:i.BYTE,length:l(T.data)}]);break;case i.BYTE:b.push([{data:T.data,mode:i.BYTE,length:l(T.data)}])}}return b}function M(m,b){const P={},T={start:{}};let C=["start"];for(let c=0;c<m.length;c++){const p=m[c],v=[];for(let h=0;h<p.length;h++){const y=p[h],w=""+c+h;v.push(w),P[w]={node:y,lastCount:0},T[w]={};for(let g=0;g<C.length;g++){const d=C[g];P[d]&&P[d].node.mode===y.mode?(T[d][w]=a(P[d].lastCount+y.length,y.mode)-a(P[d].lastCount,y.mode),P[d].lastCount+=y.length):(P[d]&&(P[d].lastCount=y.length),T[d][w]=a(y.length,y.mode)+4+i.getCharCountIndicator(y.mode,b))}}C=v}for(let c=0;c<C.length;c++)T[C[c]].end=0;return{map:T,table:P}}function L(m,b){let P;const T=i.getBestModeForData(m);if(P=i.from(b,T),P!==i.BYTE&&P.bit<T.bit)throw new Error('"'+m+'" cannot be encoded with mode '+i.toString(P)+`.
4 Suggested mode is: `+i.toString(T));switch(P===i.KANJI&&!u.isKanjiModeEnabled()&&(P=i.BYTE),P){case i.NUMERIC:return new t(m);case i.ALPHANUMERIC:return new e(m);case i.KANJI:return new o(m);case i.BYTE:return new n(m)}}r.fromArray=function(m){return m.reduce(function(b,P){return typeof P=="string"?b.push(L(P,null)):P.data&&b.push(L(P.data,P.mode)),b},[])},r.fromString=function(m,b){const P=A(m,u.isKanjiModeEnabled()),T=B(P),C=M(T,b),c=f.find_path(C.map,"start","end"),p=[];for(let v=1;v<c.length-1;v++)p.push(C.table[c[v]].node);return r.fromArray(N(p))},r.rawSplit=function(m){return r.fromArray(A(m,u.isKanjiModeEnabled()))}})(xt)),xt}var Kt;function Be(){if(Kt)return Q;Kt=1;const r=_(),i=it(),t=ue(),e=se(),n=ae(),o=ce(),s=fe(),u=$t(),f=de(),l=ge(),E=pe(),A=z(),a=ve();function N(c,p){const v=c.size,h=o.getPositions(p);for(let y=0;y<h.length;y++){const w=h[y][0],g=h[y][1];for(let d=-1;d<=7;d++)if(!(w+d<=-1||v<=w+d))for(let I=-1;I<=7;I++)g+I<=-1||v<=g+I||(d>=0&&d<=6&&(I===0||I===6)||I>=0&&I<=6&&(d===0||d===6)||d>=2&&d<=4&&I>=2&&I<=4?c.set(w+d,g+I,!0,!0):c.set(w+d,g+I,!1,!0))}}function B(c){const p=c.size;
vendor: 2,120 bytes, line 4
4for(let v=8;v<p-8;v++){const h=v%2===0;c.set(v,6,h,!0),c.set(6,v,h,!0)}}function M(c,p){const v=n.getPositions(p);for(let h=0;h<v.length;h++){const y=v[h][0],w=v[h][1];for(let g=-2;g<=2;g++)for(let d=-2;d<=2;d++)g===-2||g===2||d===-2||d===2||g===0&&d===0?c.set(y+g,w+d,!0,!0):c.set(y+g,w+d,!1,!0)}}function L(c,p){const v=c.size,h=l.getEncodedBits(p);let y,w,g;for(let d=0;d<18;d++)y=Math.floor(d/3),w=d%3+v-8-3,g=(h>>d&1)===1,c.set(y,w,g,!0),c.set(w,y,g,!0)}function m(c,p,v){const h=c.size,y=E.getEncodedBits(p,v);let w,g;for(w=0;w<15;w++)g=(y>>w&1)===1,w<6?c.set(w,8,g,!0):w<8?c.set(w+1,8,g,!0):c.set(h-15+w,8,g,!0),w<8?c.set(8,h-w-1,g,!0):w<9?c.set(8,15-w-1+1,g,!0):c.set(8,15-w-1,g,!0);c.set(h-8,8,1,!0)}function b(c,p){const v=c.size;let h=-1,y=v-1,w=7,g=0;for(let d=v-1;d>0;d-=2)for(d===6&&d--;;){for(let I=0;I<2;I++)if(!c.isReserved(y,d-I)){let x=!1;g<p.length&&(x=(p[g]>>>w&1)===1),c.set(y,d-I,x),w--,w===-1&&(g++,w=7)}if(y+=h,y<0||v<=y){y-=h,h=-h;break}}}function P(c,p,v){const h=new t;v.forEach(function(I){h.put(I.mode.bit,4),h.put(I.getLength(),A.getCharCountIndicator(I.mode,c)),I.write(h)});const y=r.getSymbolTotalCodewords(c),w=u.getTotalCodewordsCount(c,p),g=(y-w)*8;for(h.getLengthInBits()+4<=g&&h.put(0,4);h.getLengthInBits()%8!==0;)h.putBit(0);const d=(g-h.getLengthInBits())/8;for(let I=0;I<d;I++)h.put(I%2?17:236,8);return T(h,c,p)}function T(c,p,v){const h=r.getSymbolTotalCodewords(p),y=u.getTotalCodewordsCount(p,v),w=h-y,g=u.getBlocksCount(p,v),d=h%g,I=g-d,x=Math.floor(h/g),H=Math.floor(w/g),te=H+1,ut=x-H,ee=new f(ut);let O=0;const K=new Array(g),st=new Array(g);let j=0;const ne=new Uint8Array(c.buffer);for(let D=0;D<g;D++){const q=D<I?H:te;K[D]=ne.slice(O,O+q),st[D]=ee.encode(K[D]),O+=q,j=Math.max(j,q)}const V=new Uint8Array(h);let at=0,S,U;for(S=0;S<j;S++)for(U=0;U<g;U++)S<K[U].length&&(V[at++]=K[U][S]);for(S=0;S<ut;S++)for(U=0;U<g;U++)V[at++]=st[U][S];return V}function C(c,p,v,h){let y;if(Array.isArray(c))y=a.fromArray(c);else if(typeof c=="string"){let x=p;if(!x){const H=a.rawSplit(c);x=l.getBestVersionForData(H,v)}y=a.fromString(c,x||40)}else throw new Error("Invalid data");
vendor: 4,947 bytes, lines 4-8
4const w=l.getBestVersionForData(y,v);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(!p)p=w;else if(p<w)throw new Error(`
5The chosen QR Code version cannot contain this amount of data.
6Minimum version required to store current data is: `+w+`.
7`);const g=P(p,v,y),d=r.getSymbolSize(p),I=new e(d);return N(I,p),B(I),M(I,p),m(I,v,0),p>=7&&L(I,p),b(I,g),isNaN(h)&&(h=s.getBestMask(I,m.bind(null,I,v))),s.applyMask(h,I),m(I,v,h),{modules:I,version:p,errorCorrectionLevel:v,maskPattern:h,segments:y}}return Q.create=function(c,p){if(typeof c>"u"||c==="")throw new Error("No input text");let v=i.M,h,y;return typeof p<"u"&&(v=i.from(p.errorCorrectionLevel,i.M),h=l.from(p.version),y=s.from(p.maskPattern),p.toSJISFunc&&r.setToSJISFunction(p.toSJISFunc)),C(c,h,v,y)},Q}var Yt={},Ot={},jt;function Wt(){return jt||(jt=1,(function(r){function i(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+t);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(o){return[o,o]}))),e.length===6&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+e.slice(0,6).join("")}}r.getOptions=function(t){t||(t={}),t.color||(t.color={});const e=typeof t.margin>"u"||t.margin===null||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,color:{dark:i(t.color.dark||"#000000ff"),light:i(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},r.getScale=function(t,e){return e.width&&e.width>=t+e.margin*2?e.width/(t+e.margin*2):e.scale},r.getImageWidth=function(t,e){const n=r.getScale(t,e);return Math.floor((t+e.margin*2)*n)},r.qrToImageData=function(t,e,n){const o=e.modules.size,s=e.modules.data,u=r.getScale(o,n),f=Math.floor((o+n.margin*2)*u),l=n.margin*u,E=[n.color.light,n.color.dark];for(let A=0;A<f;A++)for(let a=0;a<f;a++){let N=(A*f+a)*4,B=n.color.light;if(A>=l&&a>=l&&A<f-l&&a<f-l){const M=Math.floor((A-l)/u),L=Math.floor((a-l)/u);B=E[s[M*o+L]?1:0]}t[N++]=B.r,t[N++]=B.g,t[N++]=B.b,t[N]=B.a}}})(Ot)),Ot}var Vt;function Ne(){return Vt||(Vt=1,(function(r){const i=Wt();function t(n,o,s){n.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px"}function e(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(n,o,s){let u=s,f=o;typeof u>"u"&&(!o||!o.getContext)&&(u=o,o=void 0),o||(f=e()),u=i.getOptions(u);const l=i.getImageWidth(n.modules.size,u),E=f.getContext("2d"),A=E.createImageData(l,l);return i.qrToImageData(A.data,n,u),t(E,f,l),E.putImageData(A,0,0),f},r.renderToDataURL=function(n,o,s){let u=s;typeof u>"u"&&(!o||!o.getContext)&&(u=o,o=void 0),u||(u={});const f=r.render(n,o,u),l=u.type||"image/png",E=u.rendererOpts||{};return f.toDataURL(l,E.quality)}})(Yt)),Yt}var ot={},qt;function Ie(){if(qt)return ot;qt=1;const r=Wt();function i(n,o){const s=n.a/255,u=o+'="'+n.hex+'"';return s<1?u+" "+o+'-opacity="'+s.toFixed(2).slice(1)+'"':u}function t(n,o,s){let u=n+o;return typeof s<"u"&&(u+=" "+s),u}function e(n,o,s){let u="",f=0,l=!1,E=0;for(let A=0;A<n.length;A++){const a=Math.floor(A%o),N=Math.floor(A/o);!a&&!l&&(l=!0),n[A]?(E++,A>0&&a>0&&n[A-1]||(u+=l?t("M",a+s,.5+N+s):t("m",f,0),f=0,l=!1),a+1<o&&n[A+1]||(u+=t("h",E),E=0)):f++}return u}return ot.render=function(n,o,s){const u=r.getOptions(o),f=n.modules.size,l=n.modules.data,E=f+u.margin*2,A=u.color.light.a?"<path "+i(u.color.light,"fill")+' d="M0 0h'+E+"v"+E+'H0z"/>':"",a="<path "+i(u.color.dark,"stroke")+' d="'+e(l,f,u.margin)+'"/>',N='viewBox="0 0 '+E+" "+E+'"',B='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+N+' shape-rendering="crispEdges">'+A+a+`</svg>
8`;return typeof s=="function"&&s(null,B),B},ot}var Qt;function Pe(){if(Qt)return F;Qt=1;const r=ie(),i=Be(),t=Ne(),e=Ie();function n(o,s,u,f,l){const E=[].slice.call(arguments,1),A=E.length,a=typeof E[A-1]=="function";if(!a&&!r())throw new Error("Callback required as last argument");if(a){if(A<2)throw new Error("Too few arguments provided");A===2?(l=u,u=s,s=f=void 0):A===3&&(s.getContext&&typeof l>"u"?(l=f,f=void 0):(l=f,f=u,u=s,s=void 0))}else{if(A<1)throw new Error("Too few arguments provided");return A===1?(u=s,s=f=void 0):A===2&&!s.getContext&&(f=u,u=s,s=void 0),new Promise(function(N,B){try{const M=i.create(u,f);N(o(M,s,f))}catch(M){B(M)}})}try{const N=i.create(u,f);l(null,o(N,s,f))}catch(N){l(N)}}return F.create=i.create,F.toCanvas=n.bind(null,t.render),F.toDataURL=n.bind(null,t.renderToDataURL),F.toString=n.bind(null,function(o,s,u){return e.render(o,u)}),F}var Gt=Pe();const Te=oe(Gt),be=re({__proto__:null,default:Te},[Gt]);export{be as b};

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.