<<<<<<<< HEAD:dist/assets/index.a0fac207.js import{d as Rt,R as Dt,Z as Ut,$ as zt,_ as vt,c as W}from"./index.ffe80dbe.js";var Le="./assets/orchestra-top_bg.5f030910.png",Ft="data:image/png;base64,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",_={},Vt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},wt={},N={};let ut;const kt=[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];N.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};N.getSymbolTotalCodewords=function(t){return kt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ut=t};N.isKanjiModeEnabled=function(){return typeof ut!="undefined"};N.toSJIS=function(t){return ut(t)};var K={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(K);function mt(){this.buffer=[],this.length=0}mt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const 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 _t=mt;function H(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)}H.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};H.prototype.get=function(e,t){return this.data[e*this.size+t]};H.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};H.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Ht=H,Ct={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,a=[n-7];for(let u=1;u=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,a=0,u=0,c=null,l=null;for(let B=0;B=5&&(s+=t.N1+(a-5)),c=f,a=1),f=o.get(w,B),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|o.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var Jt=at,pt={},R={},ct={};ct.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var P={};const Mt="[0-9]+",Yt="[A-Z $%*+\\-./:]+";let k="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";k=k.replace(/u/g,"\\u");const qt="(?:(?![A-Z0-9 $%*+\\-./:]|"+k+`)(?:.|[\r ]))+`;P.KANJI=new RegExp(k,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(qt,"g");P.NUMERIC=new RegExp(Mt,"g");P.ALPHANUMERIC=new RegExp(Yt,"g");const Gt=new RegExp("^"+k+"$"),Kt=new RegExp("^"+Mt+"$"),jt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(t){return Gt.test(t)};P.testNumeric=function(t){return Kt.test(t)};P.testAlphanumeric=function(t){return jt.test(t)};(function(e){const t=ct,i=P;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(n,s){if(e.isValid(n))return n;try{return r(n)}catch{return s}}})(R);(function(e){const t=N,i=j,r=K,o=R,n=ct,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return o.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){m+=c(C.mode,f)+C.getBitsLength()}),m}function B(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,o.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C=="undefined"&&(C=o.BYTE);const M=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),A=(M-h)*8;if(C===o.MIXED)return A;const d=A-c(C,f);switch(C){case o.NUMERIC:return Math.floor(d/10*3);case o.ALPHANUMERIC:return Math.floor(d/11*2);case o.KANJI:return Math.floor(d/13);case o.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(f,m){let C;const M=r.from(m,r.M);if(Array.isArray(f)){if(f.length>1)return B(f,M);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),M)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<=0;)o^=St<0&&(r=this.data.substr(i),o=parseInt(r,10),t.put(o,n*3+1))};var Zt=D;const Wt=R,$=["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 U(e){this.mode=Wt.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=$.indexOf(this.data[i])*45;r+=$.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put($.indexOf(this.data[i]),6)};var $t=U,xt=function(t){for(var i=[],r=t.length,o=0;o=55296&&n<=56319&&r>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const te=xt,ee=R;function z(e){this.mode=ee.BYTE,typeof e=="string"&&(e=te(e)),this.data=new Uint8Array(e)}z.getBitsLength=function(t){return t*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ie=v,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var u,c,l,B,w,f,m,C,M;!a.empty();){u=a.pop(),c=u.value,B=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=B+f,C=s[l],M=typeof s[l]=="undefined",(M||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var h=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=t.single_source_shortest_paths(i,r,o);return t.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};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})(Pt);(function(e){const t=R,i=Zt,r=$t,o=ne,n=ie,s=P,a=N,u=Pt.exports;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,A,d){const g=[];let E;for(;(E=h.exec(d))!==null;)g.push({data:E[0],index:E.index,mode:A,length:E[0].length});return g}function B(h){const A=l(s.NUMERIC,t.NUMERIC,h),d=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let g,E;return a.isKanjiModeEnabled()?(g=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(g=l(s.BYTE_KANJI,t.BYTE,h),E=[]),A.concat(d,g,E).sort(function(p,S){return p.index-S.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function w(h,A){switch(A){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return r.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return o.getBitsLength(h)}}function f(h){return h.reduce(function(A,d){const g=A.length-1>=0?A[A.length-1]:null;return g&&g.mode===d.mode?(A[A.length-1].data+=d.data,A):(A.push(d),A)},[])}function m(h){const A=[];for(let d=0;d=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function he(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(o,n,s,!0),e.set(n,o,s,!0)}function et(e,t,i){const r=e.size,o=fe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(r-15+n,8,s,!0),n<8?e.set(8,r-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(r-8,8,1,!0)}function Ce(e,t){const i=e.size;let r=-1,o=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(o,a-u)){let c=!1;s>>n&1)===1),e.set(o,a-u,c),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ae(e,t,i){const r=new se;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),ge.getCharCountIndicator(u.mode,e)),u.write(r)});const o=X.getSymbolTotalCodewords(e),n=it.getTotalCodewordsCount(e,t),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return kt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');ut=t};N.isKanjiModeEnabled=function(){return typeof ut!="undefined"};N.toSJIS=function(t){return ut(t)};var K={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(K);function mt(){this.buffer=[],this.length=0}mt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const 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 _t=mt;function H(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)}H.prototype.set=function(e,t,i,r){const o=e*this.size+t;this.data[o]=i,r&&(this.reservedBit[o]=!0)};H.prototype.get=function(e,t){return this.data[e*this.size+t]};H.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};H.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Ht=H,Ct={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,n=t(r),s=n===145?26:Math.ceil((n-13)/(2*o-2))*2,a=[n-7];for(let u=1;u=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const n=o.size;let s=0,a=0,u=0,c=null,l=null;for(let y=0;y=5&&(s+=t.N1+(a-5)),c=f,a=1),f=o.get(w,y),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(o){const n=o.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|o.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let n=0;const s=o.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(r,o),n}return r};var Jt=at,pt={},R={},ct={};ct.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var P={};const Mt="[0-9]+",Yt="[A-Z $%*+\\-./:]+";let k="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";k=k.replace(/u/g,"\\u");const qt="(?:(?![A-Z0-9 $%*+\\-./:]|"+k+`)(?:.|[\r ]))+`;P.KANJI=new RegExp(k,"g");P.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");P.BYTE=new RegExp(qt,"g");P.NUMERIC=new RegExp(Mt,"g");P.ALPHANUMERIC=new RegExp(Yt,"g");const Gt=new RegExp("^"+k+"$"),Kt=new RegExp("^"+Mt+"$"),jt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");P.testKanji=function(t){return Gt.test(t)};P.testNumeric=function(t){return Kt.test(t)};P.testAlphanumeric=function(t){return jt.test(t)};(function(e){const t=ct,i=P;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(n,s){if(e.isValid(n))return n;try{return r(n)}catch{return s}}})(R);(function(e){const t=N,i=j,r=K,o=R,n=ct,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return o.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){m+=c(C.mode,f)+C.getBitsLength()}),m}function y(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,o.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C=="undefined"&&(C=o.BYTE);const M=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),A=(M-h)*8;if(C===o.MIXED)return A;const d=A-c(C,f);switch(C){case o.NUMERIC:return Math.floor(d/10*3);case o.ALPHANUMERIC:return Math.floor(d/11*2);case o.KANJI:return Math.floor(d/13);case o.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(f,m){let C;const M=r.from(m,r.M);if(Array.isArray(f)){if(f.length>1)return y(f,M);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),M)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<=0;)o^=St<0&&(r=this.data.substr(i),o=parseInt(r,10),t.put(o,n*3+1))};var Zt=D;const Wt=R,$=["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 U(e){this.mode=Wt.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=$.indexOf(this.data[i])*45;r+=$.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put($.indexOf(this.data[i]),6)};var $t=U,xt=function(t){for(var i=[],r=t.length,o=0;o=55296&&n<=56319&&r>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,o+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const te=xt,ee=R;function z(e){this.mode=ee.BYTE,typeof e=="string"&&(e=te(e)),this.data=new Uint8Array(e)}z.getBitsLength=function(t){return t*8};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ie=v,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,r,o){var n={},s={};s[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var u,c,l,y,w,f,m,C,M;!a.empty();){u=a.pop(),c=u.value,y=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=y+f,C=s[l],M=typeof s[l]=="undefined",(M||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof o!="undefined"&&typeof s[o]=="undefined"){var h=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,r){for(var o=[],n=r;n;)o.push(n),i[n],n=i[n];return o.reverse(),o},find_path:function(i,r,o){var n=t.single_source_shortest_paths(i,r,o);return t.extract_shortest_path_from_predecessor_list(n,o)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,o={},n;i=i||{};for(n in r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=i.sorter||r.default_sorter,o},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var o={value:i,cost:r};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})(Pt);(function(e){const t=R,i=Zt,r=$t,o=ne,n=ie,s=P,a=N,u=Pt.exports;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,A,d){const g=[];let E;for(;(E=h.exec(d))!==null;)g.push({data:E[0],index:E.index,mode:A,length:E[0].length});return g}function y(h){const A=l(s.NUMERIC,t.NUMERIC,h),d=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let g,E;return a.isKanjiModeEnabled()?(g=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(g=l(s.BYTE_KANJI,t.BYTE,h),E=[]),A.concat(d,g,E).sort(function(p,S){return p.index-S.index}).map(function(p){return{data:p.data,mode:p.mode,length:p.length}})}function w(h,A){switch(A){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return r.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return o.getBitsLength(h)}}function f(h){return h.reduce(function(A,d){const g=A.length-1>=0?A[A.length-1]:null;return g&&g.mode===d.mode?(A[A.length-1].data+=d.data,A):(A.push(d),A)},[])}function m(h){const A=[];for(let d=0;d=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function he(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(o,n,s,!0),e.set(n,o,s,!0)}function et(e,t,i){const r=e.size,o=fe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(o>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(r-15+n,8,s,!0),n<8?e.set(8,r-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(r-8,8,1,!0)}function Ce(e,t){const i=e.size;let r=-1,o=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(o,a-u)){let c=!1;s>>n&1)===1),e.set(o,a-u,c),n--,n===-1&&(s++,n=7)}if(o+=r,o<0||i<=o){o-=r,r=-r;break}}}function Ae(e,t,i){const r=new se;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),ge.getCharCountIndicator(u.mode,e)),u.write(r)});const o=X.getSymbolTotalCodewords(e),n=it.getTotalCodewordsCount(e,t),s=(o-n)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u>>>>>>> online:dist/assets/index.c41121f0.js The chosen QR Code version cannot contain this amount of data. Minimum version required to store current data is: `+n+`. `);const s=Ae(t,i,o),a=X.getSymbolSize(t),u=new ue(a);return de(u,t),he(u),we(u,t),et(u,i,0),t>=7&&me(u,t),Ce(u,s),isNaN(r)&&(r=rt.getBestMask(u,et.bind(null,u,i))),rt.applyMask(r,u),et(u,i,r),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:r,segments:o}}wt.create=function(t,i){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=x.M,o,n;return typeof i!="undefined"&&(r=x.from(i.errorCorrectionLevel,x.M),o=G.from(i.version),n=rt.from(i.maskPattern),i.toSJISFunc&&X.setToSJISFunction(i.toSJISFunc)),ye(t,o,r,n)};var bt={},lt={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let r=i.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+i);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(n){return[n,n]}))),r.length===6&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,n=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:n,scale:n?4:s,margin:o,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},e.getImageWidth=function(r,o){const n=e.getScale(r,o);return Math.floor((r+o.margin*2)*n)},e.qrToImageData=function(r,o,n){const s=o.modules.size,a=o.modules.data,u=e.getScale(s,n),c=Math.floor((s+n.margin*2)*u),l=n.margin*u,y=[n.color.light,n.color.dark];for(let w=0;w=l&&f>=l&&w0&&u>0&&e[a-1]||(r+=n?nt("M",u+i,.5+c+i):nt("m",o,0),o=0,n=!1),u+1':"",c="',l='viewBox="0 0 '+a+" "+a+'"',y=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",w=''+u+c+` `;return typeof r=="function"&&r(null,w),w};const Me=Vt,st=wt,Lt=bt,Ne=Tt;function ft(e,t,i,r,o){const n=[].slice.call(arguments,1),s=n.length,a=typeof n[s-1]=="function";if(!a&&!Me())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(o=i,i=t,t=r=void 0):s===3&&(t.getContext&&typeof o=="undefined"?(o=r,r=void 0):(o=r,r=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=r=void 0):s===2&&!t.getContext&&(r=i,i=t,t=void 0),new Promise(function(u,c){try{const l=st.create(i,r);u(e(l,t,r))}catch(l){c(l)}})}try{const u=st.create(i,r);o(null,e(u,t,r))}catch(u){o(u)}}_.create=st.create;_.toCanvas=ft.bind(null,Lt.render);_.toDataURL=ft.bind(null,Lt.renderToDataURL);_.toString=ft.bind(null,function(e,t,i){return Ne.render(e,i)});const Se="_qrcode_izshm_1",Ie="_qrcodeCanvas_izshm_4",Pe="_qrcodeLogo_izshm_8",be="_small_izshm_18";var Y={qrcode:Se,qrcodeCanvas:Ie,qrcodeLogo:Pe,small:be},Le=Rt({props:{text:{type:String,default:""},size:{type:String,default:"200px"},logoSize:{type:String,default:"default"}},setup(e){const t=Dt(),i=()=>{_.toCanvas(t.value,e.text,{margin:1},r=>{r&&console.log(r),console.log("success")})};return Ut(()=>e.text,()=>{i()}),zt(()=>{vt(()=>{i()})}),()=>W("div",{class:Y.qrcode,style:{width:e.size,height:e.size}},[W("canvas",{ref:t,class:Y.qrcodeCanvas},null),W("img",{src:Ft,class:[Y.qrcodeLogo,e.logoSize==="small"&&Y.small]},null)])}});export{Le as O};