PageSourceSearch

https://endgame.ai/assets/QrGenerator-DM8em4B4.js

js endgame.ai collected 2026-09-25 06:28:39 UTC 74,649 bytes, 3 lines download raw bytes

1import{_ as Ir,u as Br,H as Pr,f as Rr,p as zr,j as Ar,U as Tr,n as qr,Y as ct,a9 as Lr}from"./index-BLcZr0w8.js";var Fr=Object.defineProperty,fe=(e,t,n)=>(((r,o,i)=>{o in r?Fr(r,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[o]=i})(e,typeof t!="symbol"?t+"":t,n),n);function Er(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ln={},jr=[],Ee=()=>{},Nr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),He=Object.assign,Hr=Object.prototype.hasOwnProperty,Zt=(e,t)=>Hr.call(e,t),V=Array.isArray,et=e=>jt(e)==="[object Map]",Qn=e=>jt(e)==="[object Set]",Y=e=>typeof e=="function",Oe=e=>typeof e=="string",Ge=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",$n=e=>(le(e)||Y(e))&&Y(e.then)&&Y(e.catch),Wn=Object.prototype.toString,jt=e=>Wn.call(e),Vn=e=>jt(e)==="[object Object]",un=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ve=(e,t)=>!Object.is(e,t);let kn;function dn(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Oe(r)?Wr(r):dn(r);if(o)for(const i in o)t[i]=o[i]}return t}if(Oe(e)||le(e))return e}const Ur=/;(?![^(]*\))/g,Qr=/:([^]+)/,$r=/\/\*[^]*?\*\//g;function Wr(e){const t={};return e.replace($r,"").split(Ur).forEach((n=>{if(n){const r=n.split(Qr);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}function tt(e){let t="";if(Oe(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const r=tt(e[n]);r&&(t+=r+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Gn=e=>!(!e||e.__v_isRef!==!0),Yn=e=>Oe(e)?e:e==null?"":V(e)||le(e)&&(e.toString===Wn||!Y(e.toString))?Gn(e)?Yn(e.value):JSON.stringify(e,Kn,2):String(e),Kn=(e,t)=>Gn(t)?Kn(e,t.value):et(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((n,[r,o],i)=>(n[$t(r,i)+" =>"]=o,n)),{})}:Qn(t)?{[`Set(${t.size})`]:[...t.values()].map((n=>$t(n)))}:Ge(t)?$t(t):!le(t)||V(t)||Vn(t)?t:String(t),$t=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let J;const Wt=new WeakSet;class Vr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Wt.has(this)&&(Wt.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||(this.flags|=8,this.nextEffect=dt,dt=this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Mn(this),Jn(this);const t=J,n=Me;J=this,Me=!0;try{return this.fn()}finally{Zn(this),J=t,Me=n,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)pn(t);this.deps=this.depsTail=void 0,Mn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Wt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){en(this)&&this.run()}get dirty(){return en(this)}}let dt,Xn=0;function fn(){Xn++}function hn(){if(--Xn>0)return;let e;for(;dt;){let t=dt;for(dt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Jn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zn(e){let t,n=e.depsTail;for(let r=n;r;r=r.prevDep)r.version===-1?(r===n&&(n=r.prevDep),pn(r),Gr(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function en(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&er(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function er(e){if(2&e.flags)return!1;if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===gt))return;e.globalVersion=gt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!en(e))return void(e.flags&=-3);const n=J,r=Me;J=e,Me=!0;try{Jn(e);const o=e.fn(e._value);(t.version===0||Ve(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{J=n,Me=r,Zn(e),e.flags&=-3}}function pn(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)pn(o)}}function Gr(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Me=!0;const tr=[];function yt(){tr.push(Me),Me=!1}function _t(){const e=tr.pop();Me=e===void 0||e}function Mn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=J;J=void 0;try{t()}finally{J=n}}}let gt=0;class nr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!J||!Me||J===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==J)n=this.activeLink={dep:this,sub:J,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},J.deps?(n.prevDep=J.depsTail,J.depsTail.nextDep=n,J.depsTail=n):J.deps=J.depsTail=n,4&J.flags&&rr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=J.depsTail,n.nextDep=void 0,J.depsTail.nextDep=n,J.depsTail=n,J.deps===n&&(J.deps=r)}return n}trigger(t){this.version++,gt++,this.notify(t)}notify(t){fn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{hn()}}}function rr(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)rr(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const tn=new WeakMap,We=Symbol(""),nn=Symbol(""),vt=Symbol("");function pe(e,t,n){if(Me&&J){let r=tn.get(e);r||tn.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=new nr),o.track()}}function je(e,t,n,r,o,i){const s=tn.get(e);if(!s)return void gt++;let a=[];if(t==="clear")a=[...s.values()];else{const u=V(e),x=u&&un(n);if(u&&n==="length"){const g=Number(r);
1s.forEach(((_,O)=>{(O==="length"||O===vt||!Ge(O)&&O>=g)&&a.push(_)}))}else{const g=_=>_&&a.push(_);switch(n!==void 0&&g(s.get(n)),x&&g(s.get(vt)),t){case"add":u?x&&g(s.get("length")):(g(s.get(We)),et(e)&&g(s.get(nn)));break;case"delete":u||(g(s.get(We)),et(e)&&g(s.get(nn)));break;case"set":et(e)&&g(s.get(We))}}}fn();for(const u of a)u.trigger();hn()}function Ke(e){const t=te(e);return t===e?t:(pe(t,0,vt),Be(e)?t:t.map(ye))}function gn(e){return pe(e=te(e),0,vt),e}const Yr={__proto__:null,[Symbol.iterator](){return Vt(this,Symbol.iterator,ye)},concat(...e){return Ke(this).concat(...e.map((t=>V(t)?Ke(t):t)))},entries(){return Vt(this,"entries",(e=>(e[1]=ye(e[1]),e)))},every(e,t){return Re(this,"every",e,t,void 0,arguments)},filter(e,t){return Re(this,"filter",e,t,(n=>n.map(ye)),arguments)},find(e,t){return Re(this,"find",e,t,ye,arguments)},findIndex(e,t){return Re(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Re(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return Re(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Re(this,"forEach",e,t,void 0,arguments)},includes(...e){return Gt(this,"includes",e)},indexOf(...e){return Gt(this,"indexOf",e)},join(e){return Ke(this).join(e)},lastIndexOf(...e){return Gt(this,"lastIndexOf",e)},map(e,t){return Re(this,"map",e,t,void 0,arguments)},pop(){return lt(this,"pop")},push(...e){return lt(this,"push",e)},reduce(e,...t){return On(this,"reduce",e,t)},reduceRight(e,...t){return On(this,"reduceRight",e,t)},shift(){return lt(this,"shift")},some(e,t){return Re(this,"some",e,t,void 0,arguments)},splice(...e){return lt(this,"splice",e)},toReversed(){return Ke(this).toReversed()},toSorted(e){return Ke(this).toSorted(e)},toSpliced(...e){return Ke(this).toSpliced(...e)},unshift(...e){return lt(this,"unshift",e)},values(){return Vt(this,"values",ye)}};function Vt(e,t,n){const r=gn(e),o=r[t]();return r!==e&&!Be(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Kr=Array.prototype;function Re(e,t,n,r,o,i){const s=gn(e),a=s!==e&&!Be(e),u=s[t];if(u!==Kr[t]){const _=u.apply(e,i);return a?ye(_):_}let x=n;s!==e&&(a?x=function(_,O){return n.call(this,ye(_),O,e)}:n.length>2&&(x=function(_,O){return n.call(this,_,O,e)}));const g=u.call(s,x,r);return a&&o?o(g):g}function On(e,t,n,r){const o=gn(e);let i=n;return o!==e&&(Be(e)?n.length>3&&(i=function(s,a,u){return n.call(this,s,a,u,e)}):i=function(s,a,u){return n.call(this,s,ye(a),u,e)}),o[t](i,...r)}function Gt(e,t,n){const r=te(e);pe(r,0,vt);const o=r[t](...n);return o!==-1&&o!==!1||!rn(n[0])?o:(n[0]=te(n[0]),r[t](...n))}function lt(e,t,n=[]){yt(),fn();const r=te(e)[t].apply(e,n);return hn(),_t(),r}const Xr=Er("__proto__,__v_isRef,__isVue"),or=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>e!=="arguments"&&e!=="caller")).map((e=>Symbol[e])).filter(Ge));function Jr(e){Ge(e)||(e=String(e));const t=te(this);return pe(t,0,e),t.hasOwnProperty(e)}class ir{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?fo:cr:i?uo:ar).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=V(t);if(!o){let u;if(s&&(u=Yr[n]))return u;if(n==="hasOwnProperty")return Jr}const a=Reflect.get(t,n,_e(t)?t:r);return(Ge(n)?or.has(n):Xr(n))||(o||pe(t,0,n),i)?a:_e(a)?s&&un(n)?a:a.value:le(a)?o?lr(a):yn(a):a}}class Zr extends ir{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const u=rt(i);if(!Be(r)&&!rt(r)&&(i=te(i),r=te(r)),!V(t)&&_e(i)&&!_e(r))return!u&&(i.value=r,!0)}const s=V(t)&&un(n)?Number(n)<t.length:Zt(t,n),a=Reflect.set(t,n,r,_e(t)?t:o);return t===te(o)&&(s?Ve(r,i)&&je(t,"set",n,r):je(t,"add",n,r)),a}deleteProperty(t,n){const r=Zt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&je(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Ge(n)||!or.has(n))&&pe(t,0,n),r}ownKeys(t){return pe(t,0,V(t)?"length":We),Reflect.ownKeys(t)}}class eo extends ir{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const to=new Zr,no=new eo,vn=e=>e,Nt=e=>Reflect.getPrototypeOf(e);function wt(e,t,n=!1,r=!1){const o=te(e=e.__v_raw),i=te(t);
1n||(Ve(t,i)&&pe(o,0,t),pe(o,0,i));const{has:s}=Nt(o),a=r?vn:n?_n:ye;return s.call(o,t)?a(e.get(t)):s.call(o,i)?a(e.get(i)):void(e!==o&&e.get(t))}function bt(e,t=!1){const n=this.__v_raw,r=te(n),o=te(e);return t||(Ve(e,o)&&pe(r,0,e),pe(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function xt(e,t=!1){return e=e.__v_raw,!t&&pe(te(e),0,We),Reflect.get(e,"size",e)}function Cn(e,t=!1){!t&&!Be(e)&&!rt(e)&&(e=te(e));const n=te(this);return Nt(n).has.call(n,e)||(n.add(e),je(n,"add",e,e)),this}function Dn(e,t,n=!1){!n&&!Be(t)&&!rt(t)&&(t=te(t));const r=te(this),{has:o,get:i}=Nt(r);let s=o.call(r,e);!s&&(e=te(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,t),s?Ve(t,a)&&je(r,"set",e,t):je(r,"add",e,t),this}function In(e){const t=te(this),{has:n,get:r}=Nt(t);let o=n.call(t,e);!o&&(e=te(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&je(t,"delete",e,void 0),i}function Bn(){const e=te(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function St(e,t){return function(n,r){const o=this,i=o.__v_raw,s=te(i),a=t?vn:e?_n:ye;return!e&&pe(s,0,We),i.forEach(((u,x)=>n.call(r,a(u),a(x),o)))}}function kt(e,t,n){return function(...r){const o=this.__v_raw,i=te(o),s=et(i),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,x=o[e](...r),g=n?vn:t?_n:ye;return!t&&pe(i,0,u?nn:We),{next(){const{value:_,done:O}=x.next();return O?{value:_,done:O}:{value:a?[g(_[0]),g(_[1])]:g(_),done:O}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e!=="delete"&&(e==="clear"?void 0:this)}}function ro(){const e={get(o){return wt(this,o)},get size(){return xt(this)},has:bt,add:Cn,set:Dn,delete:In,clear:Bn,forEach:St(!1,!1)},t={get(o){return wt(this,o,!1,!0)},get size(){return xt(this)},has:bt,add(o){return Cn.call(this,o,!0)},set(o,i){return Dn.call(this,o,i,!0)},delete:In,clear:Bn,forEach:St(!1,!0)},n={get(o){return wt(this,o,!0)},get size(){return xt(this,!0)},has(o){return bt.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:St(!0,!1)},r={get(o){return wt(this,o,!0,!0)},get size(){return xt(this,!0)},has(o){return bt.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>
1{e[o]=kt(o,!1,!1),n[o]=kt(o,!0,!1),t[o]=kt(o,!1,!0),r[o]=kt(o,!0,!0)})),[e,n,t,r]}const[oo,io,so,ao]=ro();function sr(e,t){const n=t?e?ao:so:e?io:oo;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Zt(n,o)&&o in r?n:r,o,i)}const co={get:sr(!1,!1)},lo={get:sr(!0,!1)},ar=new WeakMap,uo=new WeakMap,cr=new WeakMap,fo=new WeakMap;function ho(e){return e.__v_skip||!Object.isExtensible(e)?0:(function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}})((t=>jt(t).slice(8,-1))(e))}function yn(e){return rt(e)?e:ur(e,!1,to,co,ar)}function lr(e){return ur(e,!0,no,lo,cr)}function ur(e,t,n,r,o){if(!le(e)||e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=ho(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function ft(e){return rt(e)?ft(e.__v_raw):!(!e||!e.__v_isReactive)}function rt(e){return!(!e||!e.__v_isReadonly)}function Be(e){return!(!e||!e.__v_isShallow)}function rn(e){return!!e&&!!e.__v_raw}function te(e){const t=e&&e.__v_raw;return t?te(t):e}const ye=e=>le(e)?yn(e):e,_n=e=>le(e)?lr(e):e;function _e(e){return!!e&&e.__v_isRef===!0}function It(e){return _e(e)?e.value:e}const po={get:(e,t,n)=>t==="__v_raw"?e:It(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return _e(o)&&!_e(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};class go{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new nr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=gt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){J===this||(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return er(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const Mt={},Ot=new WeakMap;let Ue;function vo(e,t,n=ln){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:u}=n,x=P=>o?P:Be(P)||o===!1||o===0?Fe(P,1):Fe(P);let g,_,O,B,A=!1,C=!1;if(_e(e)?(_=()=>e.value,A=Be(e)):ft(e)?(_=()=>x(e),A=!0):V(e)?(C=!0,A=e.some((P=>ft(P)||Be(P))),_=()=>e.map((P=>_e(P)?P.value:ft(P)?x(P):Y(P)?u?u(P,2):P():void 0))):Y(e)?_=t?u?()=>u(e,2):e:()=>{if(O){yt();try{O()}finally{_t()}}const P=Ue;Ue=g;try{return u?u(e,3,[B]):e(B)}finally{Ue=P}}:_=Ee,t&&o){const P=_,U=o===!0?1/0:o;_=()=>Fe(P(),U)}const z=()=>{g.stop()};if(i)if(t){const P=t;t=(...U)=>{P(...U),z()}}else{const P=_;_=()=>{P(),z()}}let T=C?new Array(e.length).fill(Mt):Mt;const K=P=>{if(1&g.flags&&(g.dirty||P))if(t){const U=g.run();if(o||A||(C?U.some(((S,D)=>Ve(S,T[D]))):Ve(U,T))){O&&O();const S=Ue;Ue=g;try{const D=[U,T===Mt?void 0:C&&T[0]===Mt?[]:T,B];u?u(t,3,D):t(...D),T=U}finally{Ue=S}}}else g.run()};return a&&a(K),g=new Vr(_),g.scheduler=s?()=>s(K,!1):K,B=P=>(function(U,S=!1,D=Ue){if(D){let L=Ot.get(D);L||Ot.set(D,L=[]),L.push(U)}})(P,!1,g),O=g.onStop=()=>{const P=Ot.get(g);if(P){if(u)u(P,4);else for(const U of P)U();Ot.delete(g)}},t?r?K(!0):T=g.run():s?s(K.bind(null,!0),!0):g.run(),z.pause=g.pause.bind(g),z.resume=g.resume.bind(g),z.stop=z,z}function Fe(e,t=1/0,n){if(t<=0||!le(e)||e.__v_skip||(n=n||new Set).has(e))return e;if(n.add(e),t--,_e(e))Fe(e.value,t,n);else if(V(e))for(let r=0;r<e.length;r++)Fe(e[r],t,n);else if(Qn(e)||et(e))e.forEach((r=>{Fe(r,t,n)}));else if(Vn(e)){for(const r in e)Fe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Fe(e[r],t,n)}return e}function mn(e,t,n,r){try{return r?e(...r):e()}catch(o){wn(o,t,n)}}function Ht(e,t,n,r){if(Y(e)){const o=mn(e,t,n,r);return o&&$n(o)&&o.catch((i=>{wn(i,t,n)})),o}if(V(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ht(e[i],t,n,r));return o}}function wn(e,t,n,r=!0){t&&t.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ln;if(t){let s=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const x=s.ec;if(x){for(let g=0;g<x.length;g++)if(x[g](e,a,u)===!1)return}s=s.parent}if(o)return yt(),mn(o,null,10,[e,a,u]),void _t()}(function(s,a,u,x=!0,g=!1){if(g)throw s})(e,0,0,r,i)}let zt=!1,on=!1;const be=[];let ze=0;const Je=[];let Le=null,Xe=0;const yo=Promise.resolve();function _o(e){if(!(1&e.flags)){const t=ht(e),n=be[be.length-1];!n||!(2&e.flags)&&t>=ht(n)?be.push(e):be.splice((function(r){let o=zt?ze+1:0,i=be.length;for(;o<i;){const s=o+i>>>1,a=be[s],u=ht(a);u<r||u===r&&2&a.flags?o=s+1:i=s}return o}
1)(t),0,e),e.flags|=1,dr()}}function dr(){!zt&&!on&&(on=!0,yo.then(fr))}function sn(e){V(e)?Je.push(...e):Le&&e.id===-1?Le.splice(Xe+1,0,e):1&e.flags||(Je.push(e),e.flags|=1),dr()}const ht=e=>e.id==null?2&e.flags?-1:1/0:e.id;function fr(e){on=!1,zt=!0;try{for(ze=0;ze<be.length;ze++){const t=be[ze];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),mn(t,t.i,t.i?15:14),t.flags&=-2)}}finally{for(;ze<be.length;ze++){const t=be[ze];t&&(t.flags&=-2)}ze=0,be.length=0,(function(){if(Je.length){const t=[...new Set(Je)].sort(((n,r)=>ht(n)-ht(r)));if(Je.length=0,Le)return void Le.push(...t);for(Le=t,Xe=0;Xe<Le.length;Xe++){const n=Le[Xe];4&n.flags&&(n.flags&=-2),8&n.flags||n(),n.flags&=-2}Le=null,Xe=0}})(),zt=!1,(be.length||Je.length)&&fr()}}let ke=null,hr=null;function Pn(e){const t=ke;return ke=e,hr=e&&e.type.__scopeId||null,t}function mo(e,t=ke,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fn(-1);const i=Pn(t);let s;try{s=e(...o)}finally{Pn(i),r._d&&Fn(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function pr(e,t){6&e.shapeFlag&&e.component?(e.transition=t,pr(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function gr(e,t){return Y(e)?He({name:e.name},t,{setup:e}):e}const wo=e=>e.type.__isKeepAlive;function bo(e,t){vr(e,"a",t)}function xo(e,t){vr(e,"da",t)}function vr(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ut(t,r,n),n){let o=n.parent;for(;o&&o.parent;)wo(o.parent.vnode)&&So(r,t,n,o),o=o.parent}}function So(e,t,n,r){const o=Ut(t,e,r,!0);yr((()=>{((i,s)=>{const a=i.indexOf(s);a>-1&&i.splice(a,1)})(r[t],o)}),n)}function Ut(e,t,n=ue,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{yt();const a=Ft(n),u=Ht(t,n,e,s);return a(),_t(),u});return r?o.unshift(i):o.push(i),i}}const Ae=e=>(t,n=ue)=>{(!Qt||e==="sp")&&Ut(e,((...r)=>t(...r)),n)},ko=Ae("bm"),Mo=Ae("m"),Oo=Ae("bu"),Co=Ae("u"),Do=Ae("bum"),yr=Ae("um"),Io=Ae("sp"),Bo=Ae("rtg"),Po=Ae("rtc");function Ro(e,t=ue){Ut("ec",e,t)}const zo=Symbol.for("v-ndc");function Rn(e){return V(e)?e.reduce(((t,n)=>(t[n]=null,t)),{}):e}function Ao(e){const t=(function(l){const d=l.type,{mixins:v,extends:c}=d,{mixins:y,optionsCache:I,config:{optionMergeStrategies:M}}=l.appContext,k=I.get(d);let Z;return k?Z=k:y.length||v||c?(Z={}
1,y.length&&y.forEach((se=>At(Z,se,M,!0))),At(Z,d,M)):Z=d,le(d)&&I.set(d,Z),Z})(e),n=e.proxy,r=e.ctx;t.beforeCreate&&zn(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:u,inject:x,created:g,beforeMount:_,mounted:O,beforeUpdate:B,updated:A,activated:C,deactivated:z,beforeDestroy:T,beforeUnmount:K,destroyed:P,unmounted:U,render:S,renderTracked:D,renderTriggered:L,errorCaptured:G,serverPrefetch:Q,expose:q,inheritAttrs:F,components:E,directives:oe,filters:ae}=t;if(x&&(function(l,d){V(l)&&(l=an(l));for(const v in l){const c=l[v];let y;y=le(c)?"default"in c?Bt(c.from||v,c.default,!0):Bt(c.from||v):Bt(c),_e(y)?Object.defineProperty(d,v,{enumerable:!0,configurable:!0,get:()=>y.value,set:I=>y.value=I}):d[v]=y}})(x,r,null),s)for(const l in s){const d=s[l];Y(d)&&(r[l]=d.bind(n))}if(o){const l=o.call(n,n);le(l)&&(e.data=yn(l))}if(i)for(const l in i){const d=i[l],v=Y(d)?d.bind(n,n):Y(d.get)?d.get.bind(n,n):Ee,c=!Y(d)&&Y(d.set)?d.set.bind(n):Ee,y=Wo({get:v,set:c});Object.defineProperty(r,l,{enumerable:!0,configurable:!0,get:()=>y.value,set:I=>y.value=I})}if(a)for(const l in a)_r(a[l],r,n,l);if(u){const l=Y(u)?u.call(n):u;Reflect.ownKeys(l).forEach((d=>{(function(v,c){if(ue){let y=ue.provides;const I=ue.parent&&ue.parent.provides;I===y&&(y=ue.provides=Object.create(I)),y[v]=c}})(d,l[d])}))}function h(l,d){V(d)?d.forEach((v=>l(v.bind(n)))):d&&l(d.bind(n))}if(g&&zn(g,e,"c"),h(ko,_),h(Mo,O),h(Oo,B),h(Co,A),h(bo,C),h(xo,z),h(Ro,G),h(Po,D),h(Bo,L),h(Do,K),h(yr,U),h(Io,Q),V(q))if(q.length){const l=e.exposed||(e.exposed={});q.forEach((d=>{Object.defineProperty(l,d,{get:()=>n[d],set:v=>n[d]=v})}))}else e.exposed||(e.exposed={});S&&e.render===Ee&&(e.render=S),F!=null&&(e.inheritAttrs=F),E&&(e.components=E),oe&&(e.directives=oe),Q&&(function(l){l.ids=[l.ids[0]+l.ids[2]+++"-",0,0]})(e)}function zn(e,t,n){Ht(V(e)?e.map((r=>r.bind(t.proxy))):e.bind(t.proxy),t,n)}function _r(e,t,n,r){let o=r.includes(".")?(function(i,s){const a=s.split(".");return()=>{let u=i;for(let x=0;x<a.length&&u;x++)u=u[a[x]];return u}})(n,r):()=>n[r];if(Oe(e)){const i=t[e];Y(i)&&Yt(o,i)}else if(Y(e))Yt(o,e.bind(n));else if(le(e))if(V(e))e.forEach((i=>_r(i,t,n,r)));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Yt(o,i,e)}}function At(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&At(e,i,n,!0),o&&o.forEach((s=>At(e,s,n,!0)));for(const s in t)if(!(r&&s==="expose")){const a=To[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const To={data:An,props:Tn,emits:Tn,methods:ut,computed:ut,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:ut,directives:ut,watch:function(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const r in t)n[r]=de(e[r],t[r]);return n},provide:An,inject:function(e,t){return ut(an(e),an(t))}};function An(e,t){return t?e?function(){return He(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function an(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function de(e,t){return e?[...new Set([].concat(e,t))]:t}function ut(e,t){return e?He(Object.create(null),e,t):t}function Tn(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:He(Object.create(null),Rn(e),Rn(t??{})):t}let qo=null;function Bt(e,t,n=!1){const r=ue||ke;if(r||qo){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Y(t)?t.call(r&&r.proxy):t}}const Lo={},mr=e=>Object.getPrototypeOf(e)===Lo,Fo=function(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):sn(e)},Eo=Symbol.for("v-scx"),jo=()=>Bt(Eo);function Yt(e,t,n){return(function(r,o,i=ln){const{immediate:s,deep:a,flush:u,once:x}=i,g=He({},i);let _;if(Qt)if(u==="sync"){const C=jo();_=C.__watcherHandles||(C.__watcherHandles=[])}else{if(o&&!s)return{stop:Ee,resume:Ee,pause:Ee};g.once=!0}const O=ue;g.call=(C,z,T)=>Ht(C,O,z,T);let B=!1;u==="post"?g.scheduler=C=>{Fo(C,O&&O.suspense)}
1:u!=="sync"&&(B=!0,g.scheduler=(C,z)=>{z?C():_o(C)}),g.augmentJob=C=>{o&&(C.flags|=4),B&&(C.flags|=2,O&&(C.id=O.uid,C.i=O))};const A=vo(r,o,g);return _&&_.push(A),A})(e,t,n)}function wr({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}let cn=0;const No={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,u,x){if(e==null)(function(g,_,O,B,A,C,z,T,K){const{p:P,o:{createElement:U}}=K,S=U("div"),D=g.suspense=qn(g,A,B,_,S,O,C,z,T,K);P(null,D.pendingBranch=g.ssContent,S,null,B,D,C,z),D.deps>0?(pt(g,"onPending"),pt(g,"onFallback"),P(null,g.ssFallback,_,O,B,null,C,z),Ze(D,g.ssFallback)):D.resolve(!1,!0)})(t,n,r,o,i,s,a,u,x);else{if(i&&i.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);(function(g,_,O,B,A,C,z,T,{p:K,um:P,o:{createElement:U}}){const S=_.suspense=g.suspense;S.vnode=_,_.el=g.el;const D=_.ssContent,L=_.ssFallback,{activeBranch:G,pendingBranch:Q,isInFallback:q,isHydrating:F}=S;if(Q)S.pendingBranch=D,Xt(D,Q)?(K(Q,D,S.hiddenContainer,null,A,S,C,z,T),S.deps<=0?S.resolve():q&&(F||(K(G,L,O,B,A,null,C,z,T),Ze(S,L)))):(S.pendingId=cn++,F?(S.isHydrating=!1,S.activeBranch=Q):P(Q,A,S),S.deps=0,S.effects.length=0,S.hiddenContainer=U("div"),q?(K(null,D,S.hiddenContainer,null,A,S,C,z,T),S.deps<=0?S.resolve():(K(G,L,O,B,A,null,C,z,T),Ze(S,L))):G&&Xt(D,G)?(K(G,D,O,B,A,S,C,z,T),S.resolve(!0)):(K(null,D,S.hiddenContainer,null,A,S,C,z,T),S.deps<=0&&S.resolve()));else if(G&&Xt(D,G))K(G,D,O,B,A,S,C,z,T),Ze(S,D);else if(pt(_,"onPending"),S.pendingBranch=D,512&D.shapeFlag?S.pendingId=D.component.suspenseId:S.pendingId=cn++,K(null,D,S.hiddenContainer,null,A,S,C,z,T),S.deps<=0)S.resolve();else{const{timeout:E,pendingId:oe}=S;E>0?setTimeout((()=>{S.pendingId===oe&&S.fallback(L)}),E):E===0&&S.fallback(L)}})(e,t,n,r,o,s,a,u,x)}},hydrate:function(e,t,n,r,o,i,s,a,u){const x=t.suspense=qn(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),g=u(e,x.pendingBranch=t.ssContent,n,x,i,s);return x.deps===0&&x.resolve(!1,!0),g},normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=Ln(r?n.default:n),e.ssFallback=r?Ln(n.fallback):Ne(ot)}},Ho=No;function pt(e,t){const n=e.props&&e.props[t];Y(n)&&n()}function qn(e,t,n,r,o,i,s,a,u,x,g=!1){const{p:_,m:O,um:B,n:A,o:{parentNode:C,remove:z}}=x;let T;const K=(function(D){const L=D.props&&D.props.suspensible;return L!=null&&L!==!1})(e);
1K&&t&&t.pendingBranch&&(T=t.pendingId,t.deps++);const P=e.props?(D=>{const L=Oe(D)?Number(D):NaN;return isNaN(L)?D:L})(e.props.timeout):void 0,U=i,S={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:cn++,timeout:typeof P=="number"?P:-1,activeBranch:null,pendingBranch:null,isInFallback:!g,isHydrating:g,isUnmounted:!1,effects:[],resolve(D=!1,L=!1){const{vnode:G,activeBranch:Q,pendingBranch:q,pendingId:F,effects:E,parentComponent:oe,container:ae}=S;let h=!1;S.isHydrating?S.isHydrating=!1:D||(h=Q&&q.transition&&q.transition.mode==="out-in",h&&(Q.transition.afterLeave=()=>{F===S.pendingId&&(O(q,ae,i===U?A(Q):i,0),sn(E))}),Q&&(C(Q.el)===ae&&(i=A(Q)),B(Q,oe,S,!0)),h||O(q,ae,i,0)),Ze(S,q),S.pendingBranch=null,S.isInFallback=!1;let l=S.parent,d=!1;for(;l;){if(l.pendingBranch){l.effects.push(...E),d=!0;break}l=l.parent}!d&&!h&&sn(E),S.effects=[],K&&t&&t.pendingBranch&&T===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),pt(G,"onResolve")},fallback(D){if(!S.pendingBranch)return;const{vnode:L,activeBranch:G,parentComponent:Q,container:q,namespace:F}=S;pt(L,"onFallback");const E=A(G),oe=()=>{S.isInFallback&&(_(null,D,q,E,Q,null,F,a,u),Ze(S,D))},ae=D.transition&&D.transition.mode==="out-in";ae&&(G.transition.afterLeave=oe),S.isInFallback=!0,B(G,Q,null,!0),ae||oe()},move(D,L,G){S.activeBranch&&O(S.activeBranch,D,L,G),S.container=D},next:()=>S.activeBranch&&A(S.activeBranch),registerDep(D,L,G){const Q=!!S.pendingBranch;Q&&S.deps++;const q=D.vnode.el;D.asyncDep.catch((F=>{wn(F,D,0)})).then((F=>{if(D.isUnmounted||S.isUnmounted||S.pendingId!==D.suspenseId)return;D.asyncResolved=!0;const{vnode:E}=D;(function(ae,h){Y(h)?ae.type.__ssrInlineRender?ae.ssrRender=h:ae.render=h:le(h)&&(ae.setupState=(function(l){return ft(l)?l:new Proxy(l,po)})(h)),(function(l){const d=l.type;l.render||(l.render=d.render||Ee);{const v=Ft(l);yt();try{Ao(l)}finally{_t(),v()}}})(ae)})(D,F),q&&(E.el=q);const oe=!q&&D.subTree.el;L(D,E,C(q||D.subTree.el),q?null:A(D.subTree),S,s,G),oe&&z(oe),wr(D,E.el),Q&&--S.deps==0&&S.resolve()}))},unmount(D,L){S.isUnmounted=!0,S.activeBranch&&B(S.activeBranch,n,D,L),S.pendingBranch&&B(S.pendingBranch,n,D,L)}};return S}function Ln(e){let t;if(Y(e)){const n=it&&e._c;n&&(e._d=!1,nt()),e=e(),n&&(e._d=!0,t=he,xr())}return V(e)&&(e=(function(r){let o;for(let i=0;i<r.length;i++){const s=r[i];if(!Mr(s))return;if(s.type!==ot||s.children==="v-if"){if(o)return;o=s}}return o})(e)),e=(function(n){return n==null||typeof n=="boolean"?Ne(ot):V(n)?Ne(bn,null,n.slice()):typeof n=="object"?(function(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:qt(r)})(n):Ne(br,null,String(n))})(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((n=>n!==e))),e}function Ze(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,wr(r,o))}const bn=Symbol.for("v-fgt"),br=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),Pt=[];let he=null;function nt(e=!1){Pt.push(he=e?null:[])}function xr(){Pt.pop(),he=Pt[Pt.length-1]||null}let it=1;function Fn(e){it+=e,e<0&&he&&(he.hasOnce=!0)}function Sr(e){return e.dynamicChildren=it>0?he||jr:null,xr(),it>0&&he&&he.push(e),e}function Kt(e,t,n,r,o,i){return Sr(Tt(e,t,n,r,o,i,!0))}function kr(e,t,n,r,o){return Sr(Ne(e,t,n,r,o,!0))}function Mr(e){return!!e&&e.__v_isVNode===!0}function Xt(e,t){return e.type===t.type&&e.key===t.key}const Or=({key:e})=>e??null,Rt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||_e(e)||Y(e)?{i:ke,r:e,k:t,f:!!n}:e:null);function Tt(e,t=null,n=null,r=0,o=null,i=e===bn?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Or(t),ref:t&&Rt(t),scopeId:hr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ke};return a?(xn(u,n),128&i&&e.normalize(u)):n&&(u.shapeFlag|=Oe(n)?8:16),it>0&&!s&&he&&(u.patchFlag>0||6&i)&&u.patchFlag!==32&&he.push(u),u}const Ne=function(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===zo)&&(e=ot),Mr(e)){const a=qt(e,t,!0);return n&&xn(a,n),it>0&&!i&&he&&(6&a.shapeFlag?he[he.indexOf(e)]=a:he.push(a)),a.patchFlag=-2,a}if((function(a){return Y(a)&&"__vccOpts"in a})(e)&&(e=e.__vccOpts),t){t=(function(x){return x?rn(x)||mr(x)?He({},x):x:null})(t);let{class:a,style:u}=t;a&&!Oe(a)&&(t.class=tt(a)),le(u)&&(rn(u)&&!V(u)&&(u=He({},u)),t.style=dn(u))}const s=Oe(e)?1:(a=>a.__isSuspense)(e)?128:(a=>a.__isTeleport)(e)?64:le(e)?4:Y(e)?2:0;return Tt(e,t,n,r,o,s,i,!0)};function qt(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:u}=e,x=t?(function(..._){const O={};for(let B=0;B<_.length;B++){const A=_[B];for(const C in A)if(C==="class")O.class!==A.class&&(O.class=tt([O.class,A.class]));else if(C==="style")O.style=dn([O.style,A.style]);else if(Nr(C)){const z=O[C],T=A[C];T&&z!==T&&(!V(z)||!z.includes(T))&&(O[C]=z?[].concat(z,T):T)}else C!==""&&(O[C]=A[C])}return O})(o||{}
1,t):o,g={__v_isVNode:!0,__v_skip:!0,type:e.type,props:x,key:x&&Or(x),ref:t&&t.ref?n&&i?V(i)?i.concat(Rt(t)):[i,Rt(t)]:Rt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==bn?s===-1?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&pr(g,u.clone(g)),g}function Uo(e=" ",t=0){return Ne(br,null,e,t)}function En(e="",t=!1){return t?(nt(),kr(ot,null,e)):Ne(ot,null,e)}function xn(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object"){if(65&r){const o=t.default;return void(o&&(o._c&&(o._d=!1),xn(e,o()),o._c&&(o._d=!0)))}{n=32;const o=t._;o||mr(t)?o===3&&ke&&(ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ke}}else Y(t)?(t={default:t,_ctx:ke},n=32):(t=String(t),64&r?(n=16,t=[Uo(t)]):n=8);e.children=t,e.shapeFlag|=n}let ue=null;const Qo=()=>ue||ke;let Lt;{const e=kn||(kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach((s=>s(i))):o[0](i)}};Lt=t("__VUE_INSTANCE_SETTERS__",(n=>ue=n)),t("__VUE_SSR_SETTERS__",(n=>Qt=n))}const Ft=e=>{const t=ue;return Lt(e),e.scope.on(),()=>{e.scope.off(),Lt(t)}},$o=()=>{ue&&ue.scope.off(),Lt(null)};let Qt=!1;const Wo=(e,t)=>(function(r,o,i=!1){let s,a;return Y(r)?s=r:(s=r.get,a=r.set),new go(s,a,i)})(e,0,Qt),Vo="Numeric",Go="Alphanumeric",Yo="Byte",Ct=e=>!!e&&typeof e=="object"&&!Array.isArray(e);function Et(e,...t){if(!t.length)return e;const n=t.shift();return n!==void 0&&Ct(e)&&Ct(n)?(e={...e},Object.keys(n).forEach((r=>{const o=e[r],i=n[r];Array.isArray(o)&&Array.isArray(i)?e[r]=i:Ct(o)&&Ct(i)?e[r]=Et(Object.assign({},o),i):e[r]=i})),Et(e,...t)):e}const Ko={L:.07,M:.15,Q:.25,H:.3},Xo="dots",Jo="rounded",Zo="classy",ei="classy-rounded",ti="extra-rounded";class Jt{constructor({context:t,type:n}){fe(this,"_context"),fe(this,"_type"),this._context=t,this._type=n}draw(t,n,r,o){const i=this._context;let s;switch(this._type){case Xo:s=this._drawDot;break;case Zo:s=this._drawClassy;break;case ei:s=this._drawClassyRounded;break;case Jo:s=this._drawRounded;break;case ti:s=this._drawExtraRounded;break;default:s=this._drawSquare}s.call(this,{x:t,y:n,size:r,context:i,getNeighbor:o})}_rotateFigure({x:t,y:n,size:r,context:o,rotation:i,draw:s}){const a=t+r/2,u=n+r/2;o.translate(a,u),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-a,-u)}_basicDot(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,0,2*Math.PI)}})}_basicSquare(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.rect(-n/2,-n/2,n,n)}})}_basicSideRounded(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,Math.PI/2),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornerRounded(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,0),r.lineTo(n/2,n/2),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornerExtraRounded(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(-n/2,n/2,n,-Math.PI/2,0),r.lineTo(-n/2,n/2),r.lineTo(-n/2,-n/2)}})}_basicCornersRounded(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,-Math.PI/2,0),r.lineTo(n/2,n/2),r.lineTo(0,n/2),r.arc(0,0,n/2,Math.PI/2,Math.PI),r.lineTo(-n/2,-n/2),r.lineTo(0,-n/2)}})}_basicCornersExtraRounded(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(-n/2,n/2,n,-Math.PI/2,0),r.arc(n/2,-n/2,n,Math.PI/2,Math.PI)}})}_drawDot({x:t,y:n,size:r,context:o}){this._basicDot({x:t,y:n,size:r,context:o,rotation:0})}_drawSquare({x:t,y:n,size:r,context:o}){this._basicSquare({x:t,y:n,size:r,context:o,rotation:0})}_drawRounded({x:t,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),a=+i(1,0),u=+i(0,-1),x=+i(0,1),g=s+a+u+x;if(g!==0)if(g>2||s&&a||u&&x)this._basicSquare({x:t,y:n,size:r,context:o,rotation:0});else{if(g===2){let _=0;return s&&u?_=Math.PI/2:u&&a?_=Math.PI:a&&x&&(_=-Math.PI/2),void this._basicCornerRounded({x:t,y:n,size:r,context:o,rotation:_})}if(g===1){let _=0;u?_=Math.PI/2:a?_=Math.PI:x&&(_=-Math.PI/2),this._basicSideRounded({x:t,y:n,size:r,context:o,rotation:_})}}else this._basicDot({x:t,y:n,size:r,context:o,rotation:0})}_drawExtraRounded({x:t,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),a=+i(1,0),u=+i(0,-1),x=+i(0,1),g=s+a+u+x;if(g!==0)if(g>2||s&&a||u&&x)this._basicSquare({x:t,y:n,size:r,context:o,rotation:0});else{if(g===2){let _=0;return s&&u?_=Math.PI/2:u&&a?_=Math.PI:a&&x&&(_=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:n,size:r,context:o,rotation:_})}if(g===1){let _=0;u?_=Math.PI/2:a?_=Math.PI:x&&(_=-Math.PI/2),this._basicSideRounded({x:t,y:n,size:r,context:o,rotation:_})}}else this._basicDot({x:t,y:n,size:r,context:o,rotation:0})}_drawClassy({x:t,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),a=+i(1,0),u=+i(0,-1),x=+i(0,1);s+a+u+x!==0?s||u?a||x?this._basicSquare({x:t,y:n,size:r,context:o,rotation:0}):this._basicCornerRounded({x:t,y:n,size:r,context:o,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:n,size:r,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:n,size:r,context:o,rotation:Math.PI/2})}_drawClassyRounded({x:t,y:n,size:r,context:o,getNeighbor:i}){const s=+i(-1,0),a=+i(1,0),u=+i(0,-1),x=+i(0,1);s+a+u+x!==0?s||u?a||x?this._basicSquare({x:t,y:n,size:r,context:o,rotation:0}):this._basicCornerExtraRounded({x:t,y:n,size:r,context:o,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:n,size:r,context:o,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:n,size:r,context:o,rotation:Math.PI/2})}}const ni="square",ri="extra-rounded";class oi{constructor({context:t,type:n}){fe(this,"_context"),fe(this,"_type"),this._context=t,this._type=n}draw(t,n,r,o){const i=this._context;let s;switch(this._type){case ni:s=this._drawSquare;break;case ri:s=this._drawExtraRounded;break;default:s=this._drawDot}s.call(this,{x:t,y:n,size:r,context:i,rotation:o})}_rotateFigure({x:t,y:n,size:r,context:o,rotation:i,draw:s}){const a=t+r/2,u=n+r/2;o.translate(a,u),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-a,-u)}_basicDot(t){const{size:n,context:r}=t,o=n/7;this._rotateFigure({...t,draw:()=>{r.arc(0,0,n/2,0,2*Math.PI),r.arc(0,0,n/2-o,0,2*Math.PI)}})}_basicSquare(t){const{size:n,context:r}=t,o=n/7;this._rotateFigure({...t,draw:()=>{r.rect(-n/2,-n/2,n,n),r.rect(-n/2+o,-n/2+o,n-2*o,n-2*o)}})}_basicExtraRounded(t){const{size:n,context:r}=t,o=n/7;this._rotateFigure({...t,draw:()=>{r.arc(-o,-o,2.5*o,Math.PI,-Math.PI/2),r.lineTo(o,-3.5*o),r.arc(o,-o,2.5*o,-Math.PI/2,0),r.lineTo(3.5*o,-o),r.arc(o,o,2.5*o,0,Math.PI/2),r.lineTo(-o,3.5*o),r.arc(-o,o,2.5*o,Math.PI/2,Math.PI),r.lineTo(-3.5*o,-o),r.arc(-o,-o,1.5*o,Math.PI,-Math.PI/2),r.lineTo(o,-2.5*o),r.arc(o,-o,1.5*o,-Math.PI/2,0),r.lineTo(2.5*o,-o),r.arc(o,o,1.5*o,0,Math.PI/2),r.lineTo(-o,2.5*o),r.arc(-o,o,1.5*o,Math.PI/2,Math.PI),r.lineTo(-2.5*o,-o)}})}_drawDot({x:t,y:n,size:r,context:o,rotation:i}){this._basicDot({x:t,y:n,size:r,context:o,rotation:i})}_drawSquare({x:t,y:n,size:r,context:o,rotation:i}){this._basicSquare({x:t,y:n,size:r,context:o,rotation:i})}_drawExtraRounded({x:t,y:n,size:r,context:o,rotation:i}){this._basicExtraRounded({x:t,y:n,size:r,context:o,rotation:i})}}const ii="square";class si{constructor({context:t,type:n}){fe(this,"_context"),fe(this,"_type"),this._context=t,this._type=n}draw(t,n,r,o){const i=this._context;this._type===ii?this._drawSquare({x:t,y:n,size:r,context:i,rotation:o}):this._drawDot({x:t,y:n,size:r,context:i,rotation:o})}_rotateFigure({x:t,y:n,size:r,context:o,rotation:i,draw:s}){const a=t+r/2,u=n+r/2;o.moveTo(0,0),o.translate(a,u),i&&o.rotate(i),s(),o.closePath(),i&&o.rotate(-i),o.translate(-a,-u)}_drawDot(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.arc(0,0,n/2,0,2*Math.PI)}})}_drawSquare(t){const{size:n,context:r}=t;this._rotateFigure({...t,draw:()=>{r.moveTo(0,0),r.rect(-n/2,-n/2,n,n)}})}}const ai="radial",Qe=[[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]],$e=[[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 ci{constructor(t){fe(this,"_canvas"),fe(this,"_options"),fe(this,"_qr"),fe(this,"_image"),this._canvas=document.createElement("canvas"),this._canvas.width=t.width,this._canvas.height=t.height,this._options=t}get context(){return this._canvas.getContext("2d")}get width(){return this._canvas.width}get height(){return this._canvas.height}getCanvas(){return this._canvas}clear(){const t=this.context;t&&t.clearRect(0,0,this._canvas.width,this._canvas.height)}async drawQR(t){const n=t.getModuleCount(),r=Math.min(this._options.width,this._options.height)-2*this._options.margin,o=Math.floor(r/n);let i={hideXDots:0,hideYDots:0,width:0,height:0};if(this._qr=t,this._options.image){if(await this.loadImage(),!this._image)return;const{imageOptions:s,qrOptions:a}=this._options,u=s.imageSize*Ko[a.errorCorrectionLevel],x=Math.floor(u*n*n);i=(function({originalHeight:g,originalWidth:_,maxHiddenDots:O,maxHiddenAxisDots:B,dotSize:A}){const C={x:0,y:0},z={x:0,y:0};if(g<=0||_<=0||O<=0||A<=0)return{height:0,width:0,hideYDots:0,hideXDots:0}
1;const T=g/_;return C.x=Math.floor(Math.sqrt(O/T)),C.x<=0&&(C.x=1),B&&B<C.x&&(C.x=B),C.x%2==0&&C.x--,z.x=C.x*A,C.y=1+2*Math.ceil((C.x*T-1)/2),z.y=Math.round(z.x*T),(C.y*C.x>O||B&&B<C.y)&&(B&&B<C.y?(C.y=B,C.y%2==0&&C.x--):C.y-=2,z.y=C.y*A,C.x=1+2*Math.ceil((C.y/T-1)/2),z.x=Math.round(z.y/T)),{height:z.y,width:z.x,hideYDots:C.y,hideXDots:C.x}})({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:x,maxHiddenAxisDots:n-14,dotSize:o})}this.clear(),this.drawBackground(),this.drawDots(((s,a)=>{var u,x,g,_,O,B;return!(this._options.imageOptions.hideBackgroundDots&&s>=(n-i.hideXDots)/2&&s<(n+i.hideXDots)/2&&a>=(n-i.hideYDots)/2&&a<(n+i.hideYDots)/2||(u=Qe[s])!=null&&u[a]||(x=Qe[s-n+7])!=null&&x[a]||(g=Qe[s])!=null&&g[a-n+7]||(_=$e[s])!=null&&_[a]||(O=$e[s-n+7])!=null&&O[a]||(B=$e[s])!=null&&B[a-n+7])})),this.drawCorners(),this._options.image&&this.drawImage({width:i.width,height:i.height,count:n,dotSize:o})}drawBackground(){const t=this.context,n=this._options;if(t){if(n.backgroundOptions.gradient){const r=n.backgroundOptions.gradient,o=this._createGradient({context:t,options:r,additionalRotation:0,x:0,y:0,size:this._canvas.width>this._canvas.height?this._canvas.width:this._canvas.height});r.colorStops.forEach((({offset:i,color:s})=>{o.addColorStop(i,s)})),t.fillStyle=o}else n.backgroundOptions.color&&(t.fillStyle=n.backgroundOptions.color);t.fillRect(0,0,this._canvas.width,this._canvas.height)}}drawDots(t){if(!this._qr)throw"QR code is not defined";const n=this.context;if(!n)throw"QR code is not defined";const r=this._options,o=this._qr.getModuleCount();if(o>r.width||o>r.height)throw"The canvas is too small.";const i=Math.min(r.width,r.height)-2*r.margin,s=Math.floor(i/o),a=Math.floor((r.width-o*s)/2),u=Math.floor((r.height-o*s)/2),x=new Jt({context:n,type:r.dotsOptions.type});n.beginPath();for(let g=0;g<o;g++)for(let _=0;_<o;_++)t&&!t(g,_)||this._qr.isDark(g,_)&&x.draw(a+g*s,u+_*s,s,((O,B)=>!(g+O<0||_+B<0||g+O>=o||_+B>=o||t&&!t(g+O,_+B))&&!!this._qr&&this._qr.isDark(g+O,_+B)));if(r.dotsOptions.gradient){const g=r.dotsOptions.gradient,_=this._createGradient({context:n,options:g,additionalRotation:0,x:a,y:u,size:o*s});g.colorStops.forEach((({offset:O,color:B})=>{_.addColorStop(O,B)})),n.fillStyle=n.strokeStyle=_}else r.dotsOptions.color&&(n.fillStyle=n.strokeStyle=r.dotsOptions.color);n.fill("evenodd")}drawCorners(t){if(!this._qr)throw"QR code is not defined";const n=this.context;if(!n)throw"QR code is not defined";const r=this._options,o=this._qr.getModuleCount(),i=Math.min(r.width,r.height)-2*r.margin,s=Math.floor(i/o),a=7*s,u=3*s,x=Math.floor((r.width-o*s)/2),g=Math.floor((r.height-o*s)/2);[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach((([_,O,B])=>{var A,C,z,T,K,P,U,S,D,L;if(t&&!t(_,O))return;const G=x+_*s*(o-7),Q=g+O*s*(o-7);if((A=r.cornersSquareOptions)!=null&&A.type){const q=new oi({context:n,type:(C=r.cornersSquareOptions)==null?void 0:C.type});n.beginPath(),q.draw(G,Q,a,B)}else{const q=new Jt({context:n,type:r.dotsOptions.type});n.beginPath();for(let F=0;F<Qe.length;F++)for(let E=0;E<Qe[F].length;E++)(z=Qe[F])!=null&&z[E]&&q.draw(G+F*s,Q+E*s,s,((oe,ae)=>{var h;return!((h=Qe[F+oe])==null||!h[E+ae])}))}if((T=r.cornersSquareOptions)!=null&&T.gradient){const q=r.cornersSquareOptions.gradient,F=this._createGradient({context:n,options:q,additionalRotation:B,x:G,y:Q,size:a});q.colorStops.forEach((({offset:E,color:oe})=>{F.addColorStop(E,oe)})),n.fillStyle=n.strokeStyle=F}else(K=r.cornersSquareOptions)!=null&&K.color&&(n.fillStyle=n.strokeStyle=r.cornersSquareOptions.color);if(n.fill("evenodd"),(P=r.cornersDotOptions)!=null&&P.type){const q=new si({context:n,type:(U=r.cornersDotOptions)==null?void 0:U.type});n.beginPath(),q.draw(G+2*s,Q+2*s,u,B)}else{const q=new Jt({context:n,type:r.dotsOptions.type});n.beginPath();for(let F=0;F<$e.length;F++)for(let E=0;E<$e[F].length;E++)(S=$e[F])!=null&&S[E]&&q.draw(G+F*s,Q+E*s,s,((oe,ae)=>{var h;return!((h=$e[F+oe])==null||!h[E+ae])}))}if((D=r.cornersDotOptions)!=null&&D.gradient){const q=r.cornersDotOptions.gradient,F=this._createGradient({context:n,options:q,additionalRotation:B,x:G+2*s,y:Q+2*s,size:u});q.colorStops.forEach((({offset:E,color:oe})=>{F.addColorStop(E,oe)})),n.fillStyle=n.strokeStyle=F}else(L=r.cornersDotOptions)!=null&&L.color&&(n.fillStyle=n.strokeStyle=r.cornersDotOptions.color);n.fill("evenodd")}))}loadImage(){return new Promise(((t,n)=>{const r=this._options,o=new Image;if(!r.image)return n("Image is not defined");
1typeof r.imageOptions.crossOrigin=="string"&&(o.crossOrigin=r.imageOptions.crossOrigin),this._image=o,o.onload=()=>{t()},o.src=r.image}))}drawImage({width:t,height:n,count:r,dotSize:o}){const i=this.context;if(!i)throw"canvasContext is not defined";if(!this._image)throw"image is not defined";const s=this._options,a=Math.floor((s.width-r*o)/2),u=Math.floor((s.height-r*o)/2),x=a+s.imageOptions.margin+(r*o-t)/2,g=u+s.imageOptions.margin+(r*o-n)/2,_=t-2*s.imageOptions.margin,O=n-2*s.imageOptions.margin;i.drawImage(this._image,x,g,_<0?0:_,O<0?0:O)}_createGradient({context:t,options:n,additionalRotation:r,x:o,y:i,size:s}){let a;if(n.type===ai)a=t.createRadialGradient(o+s/2,i+s/2,0,o+s/2,i+s/2,s/2);else{const u=((n.rotation||0)+r)%(2*Math.PI),x=(u+2*Math.PI)%(2*Math.PI);let g=o+s/2,_=i+s/2,O=o+s/2,B=i+s/2;x>=0&&x<=.25*Math.PI||x>1.75*Math.PI&&x<=2*Math.PI?(g-=s/2,_-=s/2*Math.tan(u),O+=s/2,B+=s/2*Math.tan(u)):x>.25*Math.PI&&x<=.75*Math.PI?(_-=s/2,g-=s/2/Math.tan(u),B+=s/2,O+=s/2/Math.tan(u)):x>.75*Math.PI&&x<=1.25*Math.PI?(g+=s/2,_+=s/2*Math.tan(u),O-=s/2,B-=s/2*Math.tan(u)):x>1.25*Math.PI&&x<=1.75*Math.PI&&(_+=s/2,g+=s/2/Math.tan(u),B-=s/2,O-=s/2/Math.tan(u)),a=t.createLinearGradient(Math.round(g),Math.round(_),Math.round(O),Math.round(B))}return a}}const Cr={};for(let e=0;e<=40;e++)Cr[e]=e;const jn={width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:Cr[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{color:"#fff"}};function Dt(e){const t={...e};if(!t.colorStops||!t.colorStops.length)throw"Field 'colorStops' is required in gradient";return t.rotation?t.rotation=Number(t.rotation):t.rotation=0,t.colorStops=t.colorStops.map((n=>({...n,offset:Number(n.offset)}))),t}function Nn(e){const t={...e};return t.width=Number(t.width),t.height=Number(t.height),t.margin=Number(t.margin),t.imageOptions={...t.imageOptions,hideBackgroundDots:!!t.imageOptions.hideBackgroundDots,imageSize:Number(t.imageOptions.imageSize),margin:Number(t.imageOptions.margin)},t.margin>Math.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions={...t.dotsOptions},t.dotsOptions.gradient&&(t.dotsOptions.gradient=Dt(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions={...t.cornersSquareOptions},t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=Dt(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions={...t.cornersDotOptions},t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=Dt(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions={...t.backgroundOptions},t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=Dt(t.backgroundOptions.gradient))),t}function li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hn,Un,Dr={exports:{}};Hn=Dr,(Un=(function(){var e=function(h,l){var d=h,v=g[l],c=null,y=0,I=null,M=[],k={},Z=function(f,w){c=(function(p){for(var m=new Array(p),b=0;b<p;b+=1){m[b]=new Array(p);for(var R=0;R<p;R+=1)m[b][R]=null}return m})(y=4*d+17),se(0,0),se(y-7,0),se(0,y-7),me(),ce(),ve(f,w),d>=7&&ge(f),I==null&&(I=st(d,v,M)),Ye(I,w)},se=function(f,w){for(var p=-1;p<=7;p+=1)if(!(f+p<=-1||y<=f+p))for(var m=-1;m<=7;m+=1)w+m<=-1||y<=w+m||(c[f+p][w+m]=0<=p&&p<=6&&(m==0||m==6)||0<=m&&m<=6&&(p==0||p==6)||2<=p&&p<=4&&2<=m&&m<=4)},ce=function(){for(var f=8;f<y-8;f+=1)c[f][6]==null&&(c[f][6]=f%2==0);for(var w=8;w<y-8;w+=1)c[6][w]==null&&(c[6][w]=w%2==0)},me=function(){for(var f=P.getPatternPosition(d),w=0;w<f.length;w+=1)for(var p=0;p<f.length;p+=1){var m=f[w],b=f[p];if(c[m][b]==null)for(var R=-2;R<=2;R+=1)for(var N=-2;N<=2;N+=1)c[m+R][b+N]=R==-2||R==2||N==-2||N==2||R==0&&N==0}},ge=function(f){for(var w=P.getBCHTypeNumber(d),p=0;p<18;p+=1){var m=!f&&(w>>p&1)==1;c[Math.floor(p/3)][p%3+y-8-3]=m}for(p=0;p<18;p+=1)m=!f&&(w>>p&1)==1,c[p%3+y-8-3][Math.floor(p/3)]=m},ve=function(f,w){for(var p=v<<3|w,m=P.getBCHTypeInfo(p),b=0;b<15;b+=1){var R=!f&&(m>>b&1)==1;b<6?c[b][8]=R:b<8?c[b+1][8]=R:c[y-15+b][8]=R}for(b=0;b<15;b+=1)R=!f&&(m>>
vendor: 4,151 bytes, line 1
1b&1)==1,b<8?c[8][y-b-1]=R:b<9?c[8][15-b-1+1]=R:c[8][15-b-1]=R;c[y-8][8]=!f},Ye=function(f,w){for(var p=-1,m=y-1,b=7,R=0,N=P.getMaskFunction(w),H=y-1;H>0;H-=2)for(H==6&&(H-=1);;){for(var X=0;X<2;X+=1)if(c[m][H-X]==null){var $=!1;R<f.length&&($=(f[R]>>>b&1)==1),N(m,H-X)&&($=!$),c[m][H-X]=$,(b-=1)==-1&&(R+=1,b=7)}if((m+=p)<0||y<=m){m-=p,p=-p;break}}},st=function(f,w,p){for(var m=D.getRSBlocks(f,w),b=L(),R=0;R<p.length;R+=1){var N=p[R];b.put(N.getMode(),4),b.put(N.getLength(),P.getLengthInBits(N.getMode(),f)),N.write(b)}var H=0;for(R=0;R<m.length;R+=1)H+=m[R].dataCount;if(b.getLengthInBits()>8*H)throw"code length overflow. ("+b.getLengthInBits()+">"+8*H+")";for(b.getLengthInBits()+4<=8*H&&b.put(0,4);b.getLengthInBits()%8!=0;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*H||(b.put(236,8),b.getLengthInBits()>=8*H));)b.put(17,8);return(function(X,$){for(var re=0,Pe=0,Ce=0,ne=new Array($.length),ie=new Array($.length),j=0;j<$.length;j+=1){var we=$[j].dataCount,De=$[j].totalCount-we;Pe=Math.max(Pe,we),Ce=Math.max(Ce,De),ne[j]=new Array(we);for(var W=0;W<ne[j].length;W+=1)ne[j][W]=255&X.getBuffer()[W+re];re+=we;var Ie=P.getErrorCorrectPolynomial(De),xe=S(ne[j],Ie.getLength()-1).mod(Ie);for(ie[j]=new Array(Ie.getLength()-1),W=0;W<ie[j].length;W+=1){var Te=W+xe.getLength()-ie[j].length;ie[j][W]=Te>=0?xe.getAt(Te):0}}var mt=0;for(W=0;W<$.length;W+=1)mt+=$[W].totalCount;var at=new Array(mt),Se=0;for(W=0;W<Pe;W+=1)for(j=0;j<$.length;j+=1)W<ne[j].length&&(at[Se]=ne[j][W],Se+=1);for(W=0;W<Ce;W+=1)for(j=0;j<$.length;j+=1)W<ie[j].length&&(at[Se]=ie[j][W],Se+=1);return at})(b,m)};k.addData=function(f,w){var p=null;switch(w=w||"Byte"){case"Numeric":p=G(f);break;case"Alphanumeric":p=Q(f);break;case"Byte":p=q(f);break;case"Kanji":p=F(f);break;default:throw"mode:"+w}M.push(p),I=null},k.isDark=function(f,w){if(f<0||y<=f||w<0||y<=w)throw f+","+w;return c[f][w]},k.getModuleCount=function(){return y},k.make=function(){if(d<1){for(var f=1;f<40;f++){for(var w=D.getRSBlocks(f,v),p=L(),m=0;m<M.length;m++){var b=M[m];p.put(b.getMode(),4),p.put(b.getLength(),P.getLengthInBits(b.getMode(),f)),b.write(p)}var R=0;for(m=0;m<w.length;m++)R+=w[m].dataCount;if(p.getLengthInBits()<=8*R)break}d=f}Z(!1,(function(){for(var N=0,H=0,X=0;X<8;X+=1){Z(!0,X);var $=P.getLostPoint(k);(X==0||N>$)&&(N=$,H=X)}return H})())},k.createTableTag=function(f,w){f=f||2;var p="";p+='<table style="',p+=" border-width: 0px; border-style: none;",p+=" border-collapse: collapse;",p+=" padding: 0px; margin: "+(w=typeof w>"u"?4*f:w)+"px;",p+='">',p+="<tbody>";for(var m=0;m<k.getModuleCount();m+=1){p+="<tr>";for(var b=0;b<k.getModuleCount();b+=1)p+='<td style="',p+=" border-width: 0px; border-style: none;",p+=" border-collapse: collapse;",p+=" padding: 0px; margin: 0px;",p+=" width: "+f+"px;",p+=" height: "+f+"px;",p+=" background-color: ",p+=k.isDark(m,b)?"#000000":"#ffffff",p+=";",p+='"/>';p+="</tr>"}return p+="</tbody>",p+="</table>"},k.createSvgTag=function(f,w,p,m){var b={};typeof arguments[0]=="object"&&(f=(b=arguments[0]).cellSize,w=b.margin,p=b.alt,m=b.title),f=f||2,w=typeof w>"u"?4*f:w,(p=typeof p=="string"?{text:p}:p||{}).text=p.text||null,p.id=p.text?p.id||"qrcode-description":null,(m=typeof m=="string"?{text:m}:m||{}).text=m.text||null,m.id=m.text?m.id||"qrcode-title":null;var R,N,H,X,$=k.getModuleCount()*f+2*w,re="";for(X="l"+f+",0 0,"+f+" -"+f+",0 0,-"+f+"z ",re+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',re+=b.scalable?"":' width="'+$+'px" height="'+$+'px"',re+=' viewBox="0 0 '+$+" "+$+'" ',re+=' preserveAspectRatio="xMinYMin meet"',re+=m.text||p.text?' role="img" aria-labelledby="'+ee([m.id,p.id].join(" ").trim())+'"':"",re+=">",re+=m.text?'<title id="'+ee(m.id)+'">'+ee(m.text)+"</title>":"",re+=p.text?'<description id="'+ee(p.id)+'">'+ee(p.text)+"</description>":"",re+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',re+='<path d="',N=0;N<k.getModuleCount();N+=1)for(H=N*f+w,R=0;R<k.getModuleCount();R+=1)k.isDark(N,R)&&(re+="M"+(R*f+w)+","+H+X);return re+='" stroke="transparent" fill="black"/>',re+="</svg>"},k.createDataURL=function(f,w){f=f||2,w=typeof w>"u"?4*f:w;var p=k.getModuleCount()*f+2*w,m=w,b=p-w;
1return ae(p,p,(function(R,N){if(m<=R&&R<b&&m<=N&&N<b){var H=Math.floor((R-m)/f),X=Math.floor((N-m)/f);return k.isDark(X,H)?0:1}return 1}))},k.createImgTag=function(f,w,p){f=f||2,w=typeof w>"u"?4*f:w;var m=k.getModuleCount()*f+2*w,b="";return b+="<img",b+=' src="',b+=k.createDataURL(f,w),b+='"',b+=' width="',b+=m,b+='"',b+=' height="',b+=m,b+='"',p&&(b+=' alt="',b+=ee(p),b+='"'),b+="/>"};var ee=function(f){for(var w="",p=0;p<f.length;p+=1){var m=f.charAt(p);switch(m){case"<":w+="&lt;";break;case">":w+="&gt;";break;case"&":w+="&amp;";break;case'"':w+="&quot;";break;default:w+=m}}return w};return k.createASCII=function(f,w){if((f=f||1)<2)return(function(ne){ne=typeof ne>"u"?2:ne;var ie,j,we,De,W,Ie=1*k.getModuleCount()+2*ne,xe=ne,Te=Ie-ne,mt={"██":"█","█ ":"▀"," █":"▄","  ":" "},at={"██":"▀","█ ":"▀"," █":" ","  ":" "},Se="";for(ie=0;ie<Ie;ie+=2){for(we=Math.floor((ie-xe)/1),De=Math.floor((ie+1-xe)/1),j=0;j<Ie;j+=1)W="█",xe<=j&&j<Te&&xe<=ie&&ie<Te&&k.isDark(we,Math.floor((j-xe)/1))&&(W=" "),xe<=j&&j<Te&&xe<=ie+1&&ie+1<Te&&k.isDark(De,Math.floor((j-xe)/1))?W+=" ":W+="█",Se+=ne<1&&ie+1>=Te?at[W]:mt[W];Se+=`
2`}return Ie%2&&ne>0?Se.substring(0,Se.length-Ie-1)+Array(Ie+1).join("▀"):Se.substring(0,Se.length-1)})(w);f-=1,w=typeof w>"u"?2*f:w;var p,m,b,R,N=k.getModuleCount()*f+2*w,H=w,X=N-w,$=Array(f+1).join("██"),re=Array(f+1).join("  "),Pe="",Ce="";for(p=0;p<N;p+=1){for(b=Math.floor((p-H)/f),Ce="",m=0;m<N;m+=1)R=1,H<=m&&m<X&&H<=p&&p<X&&k.isDark(b,Math.floor((m-H)/f))&&(R=0),Ce+=R?$:re;for(b=0;b<f;b+=1)Pe+=Ce+`
3`}return Pe.substring(0,Pe.length-1)},k.renderTo2dContext=function(f,w){w=w||2;for(var p=k.getModuleCount(),m=0;m<p;m++)for(var b=0;b<p;b++)f.fillStyle=k.isDark(m,b)?"black":"white",f.fillRect(m*w,b*w,w,w)},k};e.stringToBytesFuncs={default:function(h){for(var l=[],d=0;d<h.length;d+=1){var v=h.charCodeAt(d);l.push(255&v)}return l}},e.stringToBytes=e.stringToBytesFuncs.default,e.createStringToBytes=function(h,l){var d=(function(){for(var c=oe(h),y=function(){var ce=c.read();if(ce==-1)throw"eof";return ce},I=0,M={};;){var k=c.read();if(k==-1)break;var Z=y(),se=y()<<8|y();M[String.fromCharCode(k<<8|Z)]=se,I+=1}if(I!=l)throw I+" != "+l;return M})(),v=63;return function(c){for(var y=[],I=0;I<c.length;I+=1){var M=c.charCodeAt(I);if(M<128)y.push(M);else{var k=d[c.charAt(I)];typeof k=="number"?(255&k)==k?y.push(k):(y.push(k>>>8),y.push(255&k)):y.push(v)}}return y}};var t,n,r,o,i,s=1,a=2,u=4,x=8,g={L:1,M:0,Q:3,H:2},_=0,O=1,B=2,A=3,C=4,z=5,T=6,K=7,P=(t=[[],[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]],n=1335,r=7973,i=function(h){for(var l=0;h!=0;)l+=1,h>>>=1;return l},(o={}).getBCHTypeInfo=function(h){for(var l=h<<10;i(l)-i(n)>=0;)l^=n<<i(l)-i(n);return 21522^(h<<10|l)},o.getBCHTypeNumber=function(h){for(var l=h<<12;i(l)-i(r)>=0;)l^=r<<i(l)-i(r);return h<<12|l},o.getPatternPosition=function(h){return t[h-1]},o.getMaskFunction=function(h){switch(h){case _:return function(l,d){return(l+d)%2==0};case O:return function(l,d){return l%2==0};case B:return function(l,d){return d%3==0};case A:return function(l,d){return(l+d)%3==0};case C:return function(l,d){return(Math.floor(l/2)+Math.floor(d/3))%2==0};case z:return function(l,d){return l*d%2+l*d%3==0};case T:return function(l,d){return(l*d%2+l*d%3)%2==0};case K:return function(l,d){return(l*d%3+(l+d)%2)%2==0};default:throw"bad maskPattern:"+h}},o.getErrorCorrectPolynomial=function(h){for(var l=S([1],0),d=0;d<h;d+=1)l=l.multiply(S([1,U.gexp(d)],0));return l},o.getLengthInBits=function(h,l){if(1<=l&&l<10)switch(h){case s:return 10;case a:return 9;
3case u:case x:return 8;default:throw"mode:"+h}else if(l<27)switch(h){case s:return 12;case a:return 11;case u:return 16;case x:return 10;default:throw"mode:"+h}else{if(!(l<41))throw"type:"+l;switch(h){case s:return 14;case a:return 13;case u:return 16;case x:return 12;default:throw"mode:"+h}}},o.getLostPoint=function(h){for(var l=h.getModuleCount(),d=0,v=0;v<l;v+=1)for(var c=0;c<l;c+=1){for(var y=0,I=h.isDark(v,c),M=-1;M<=1;M+=1)if(!(v+M<0||l<=v+M))for(var k=-1;k<=1;k+=1)c+k<0||l<=c+k||M==0&&k==0||I==h.isDark(v+M,c+k)&&(y+=1);y>5&&(d+=3+y-5)}for(v=0;v<l-1;v+=1)for(c=0;c<l-1;c+=1){var Z=0;h.isDark(v,c)&&(Z+=1),h.isDark(v+1,c)&&(Z+=1),h.isDark(v,c+1)&&(Z+=1),h.isDark(v+1,c+1)&&(Z+=1),(Z==0||Z==4)&&(d+=3)}for(v=0;v<l;v+=1)for(c=0;c<l-6;c+=1)h.isDark(v,c)&&!h.isDark(v,c+1)&&h.isDark(v,c+2)&&h.isDark(v,c+3)&&h.isDark(v,c+4)&&!h.isDark(v,c+5)&&h.isDark(v,c+6)&&(d+=40);for(c=0;c<l;c+=1)for(v=0;v<l-6;v+=1)h.isDark(v,c)&&!h.isDark(v+1,c)&&h.isDark(v+2,c)&&h.isDark(v+3,c)&&h.isDark(v+4,c)&&!h.isDark(v+5,c)&&h.isDark(v+6,c)&&(d+=40);var se=0;for(c=0;c<l;c+=1)for(v=0;v<l;v+=1)h.isDark(v,c)&&(se+=1);return d+=Math.abs(100*se/l/l-50)/5*10},o),U=(function(){for(var h=new Array(256),l=new Array(256),d=0;d<8;d+=1)h[d]=1<<d;for(d=8;d<256;d+=1)h[d]=h[d-4]^h[d-5]^h[d-6]^h[d-8];for(d=0;d<255;d+=1)l[h[d]]=d;var v={glog:function(c){if(c<1)throw"glog("+c+")";return l[c]},gexp:function(c){for(;c<0;)c+=255;for(;c>=256;)c-=255;return h[c]}};return v})();function S(h,l){if(typeof h.length>"u")throw h.length+"/"+l;var d=(function(){for(var c=0;c<h.length&&h[c]==0;)c+=1;for(var y=new Array(h.length-c+l),I=0;I<h.length-c;I+=1)y[I]=h[I+c];return y})(),v={getAt:function(c){return d[c]},getLength:function(){return d.length},multiply:function(c){for(var y=new Array(v.getLength()+c.getLength()-1),I=0;I<v.getLength();I+=1)for(var M=0;M<c.getLength();M+=1)y[I+M]^=U.gexp(U.glog(v.getAt(I))+U.glog(c.getAt(M)));return S(y,0)},mod:function(c){if(v.getLength()-c.getLength()<0)return v;for(var y=U.glog(v.getAt(0))-U.glog(c.getAt(0)),I=new Array(v.getLength()),M=0;M<v.getLength();M+=1)I[M]=v.getAt(M);for(M=0;M<c.getLength();M+=1)I[M]^=U.gexp(U.glog(c.getAt(M))+y);return S(I,0).mod(c)}};return v}var D=(function(){var h=[[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]],l=function(v,c){var y={};return y.totalCount=v,y.dataCount=c,y},d={getRSBlocks:function(v,c){var y=(function(ge,ve){switch(ve){case g.L:return h[4*(ge-1)+0];case g.M:return h[4*(ge-1)+1];case g.Q:return h[4*(ge-1)+2];case g.H:return h[4*(ge-1)+3];default:return}})(v,c);if(typeof y>"u")throw"bad rs block @ typeNumber:"+v+"/errorCorrectionLevel:"+c;for(var I=y.length/3,M=[],k=0;k<I;k+=1)for(var Z=y[3*k+0],se=y[3*k+1],ce=y[3*k+2],me=0;me<Z;me+=1)M.push(l(se,ce));return M}};return d})(),L=function(){var h=[],l=0,d={getBuffer:function(){return h},getAt:function(v){var c=Math.floor(v/8);
vendor: 2,241 bytes, line 3
3return(h[c]>>>7-v%8&1)==1},put:function(v,c){for(var y=0;y<c;y+=1)d.putBit((v>>>c-y-1&1)==1)},getLengthInBits:function(){return l},putBit:function(v){var c=Math.floor(l/8);h.length<=c&&h.push(0),v&&(h[c]|=128>>>l%8),l+=1}};return d},G=function(h){var l=s,d=h,v={getMode:function(){return l},getLength:function(I){return d.length},write:function(I){for(var M=d,k=0;k+2<M.length;)I.put(c(M.substring(k,k+3)),10),k+=3;k<M.length&&(M.length-k==1?I.put(c(M.substring(k,k+1)),4):M.length-k==2&&I.put(c(M.substring(k,k+2)),7))}},c=function(I){for(var M=0,k=0;k<I.length;k+=1)M=10*M+y(I.charAt(k));return M},y=function(I){if("0"<=I&&I<="9")return I.charCodeAt(0)-48;throw"illegal char :"+I};return v},Q=function(h){var l=a,d=h,v={getMode:function(){return l},getLength:function(y){return d.length},write:function(y){for(var I=d,M=0;M+1<I.length;)y.put(45*c(I.charAt(M))+c(I.charAt(M+1)),11),M+=2;M<I.length&&y.put(c(I.charAt(M)),6)}},c=function(y){if("0"<=y&&y<="9")return y.charCodeAt(0)-48;if("A"<=y&&y<="Z")return y.charCodeAt(0)-65+10;switch(y){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 :"+y}};return v},q=function(h){var l=u,d=e.stringToBytes(h),v={getMode:function(){return l},getLength:function(c){return d.length},write:function(c){for(var y=0;y<d.length;y+=1)c.put(d[y],8)}};return v},F=function(h){var l=x,d=e.stringToBytesFuncs.SJIS;if(!d)throw"sjis not supported.";(function(){var y=d("友");if(y.length!=2||(y[0]<<8|y[1])!=38726)throw"sjis not supported."})();var v=d(h),c={getMode:function(){return l},getLength:function(y){return~~(v.length/2)},write:function(y){for(var I=v,M=0;M+1<I.length;){var k=(255&I[M])<<8|255&I[M+1];if(33088<=k&&k<=40956)k-=33088;else{if(!(57408<=k&&k<=60351))throw"illegal char at "+(M+1)+"/"+k;k-=49472}k=192*(k>>>8&255)+(255&k),y.put(k,13),M+=2}if(M<I.length)throw"illegal char at "+(M+1)}};return c},E=function(){var h=[],l={writeByte:function(d){h.push(255&d)},writeShort:function(d){l.writeByte(d),l.writeByte(d>>>8)},writeBytes:function(d,v,c){v=v||0,c=c||d.length;for(var y=0;y<c;y+=1)l.writeByte(d[y+v])},writeString:function(d){for(var v=0;v<d.length;
3v+=1)l.writeByte(d.charCodeAt(v))},toByteArray:function(){return h},toString:function(){var d="";d+="[";for(var v=0;v<h.length;v+=1)v>0&&(d+=","),d+=h[v];return d+="]"}};return l},oe=function(h){var l=h,d=0,v=0,c=0,y={read:function(){for(;c<8;){if(d>=l.length){if(c==0)return-1;throw"unexpected end of file./"+c}var M=l.charAt(d);if(d+=1,M=="=")return c=0,-1;M.match(/^\s$/)||(v=v<<6|I(M.charCodeAt(0)),c+=6)}var k=v>>>c-8&255;return c-=8,k}},I=function(M){if(65<=M&&M<=90)return M-65;if(97<=M&&M<=122)return M-97+26;if(48<=M&&M<=57)return M-48+52;if(M==43)return 62;if(M==47)return 63;throw"c:"+M};return y},ae=function(h,l,d){for(var v=(function(se,ce){var me=se,ge=ce,ve=new Array(se*ce),Ye={setPixel:function(f,w,p){ve[w*me+f]=p},write:function(f){f.writeString("GIF87a"),f.writeShort(me),f.writeShort(ge),f.writeByte(128),f.writeByte(0),f.writeByte(0),f.writeByte(0),f.writeByte(0),f.writeByte(0),f.writeByte(255),f.writeByte(255),f.writeByte(255),f.writeString(","),f.writeShort(0),f.writeShort(0),f.writeShort(me),f.writeShort(ge),f.writeByte(0);var w=st(2);f.writeByte(2);for(var p=0;w.length-p>255;)f.writeByte(255),f.writeBytes(w,p,255),p+=255;f.writeByte(w.length-p),f.writeBytes(w,p,w.length-p),f.writeByte(0),f.writeString(";")}},st=function(f){for(var w=1<<f,p=1+(1<<f),m=f+1,b=ee(),R=0;R<w;R+=1)b.add(String.fromCharCode(R));b.add(String.fromCharCode(w)),b.add(String.fromCharCode(p));var N=E(),H=(function(Pe){var Ce=Pe,ne=0,ie=0,j={write:function(we,De){if(we>>>De)throw"length over";for(;ne+De>=8;)Ce.writeByte(255&(we<<ne|ie)),De-=8-ne,we>>>=8-ne,ie=0,ne=0;ie|=we<<ne,ne+=De},flush:function(){ne>0&&Ce.writeByte(ie)}};return j})(N);H.write(w,m);var X=0,$=String.fromCharCode(ve[X]);for(X+=1;X<ve.length;){var re=String.fromCharCode(ve[X]);X+=1,b.contains($+re)?$+=re:(H.write(b.indexOf($),m),b.size()<4095&&(b.size()==1<<m&&(m+=1),b.add($+re)),$=re)}return H.write(b.indexOf($),m),H.write(p,m),H.flush(),N.toByteArray()},ee=function(){var f={},w=0,p={add:function(m){if(p.contains(m))throw"dup key:"+m;f[m]=w,w+=1},size:function(){return w},indexOf:function(m){return f[m]},contains:function(m){return typeof f[m]<"u"}};return p};return Ye})(h,l),c=0;c<l;c+=1)for(var y=0;y<h;y+=1)v.setPixel(y,c,d(y,c));var I=E();v.write(I);for(var M=(function(){var se=0,ce=0,me=0,ge="",ve={},Ye=function(ee){ge+=String.fromCharCode(st(63&ee))},st=function(ee){if(!(ee<0)){if(ee<26)return 65+ee;if(ee<52)return ee-26+97;if(ee<62)return ee-52+48;if(ee==62)return 43;if(ee==63)return 47}throw"n:"+ee};return ve.writeByte=function(ee){for(se=se<<8|255&ee,ce+=8,me+=1;ce>=6;)Ye(se>>>ce-6),ce-=6},ve.flush=function(){if(ce>0&&(Ye(se<<6-ce),se=0,ce=0),me%3!=0)for(var ee=3-me%3,f=0;f<ee;f+=1)ge+="="},ve.toString=function(){return ge},ve})(),k=I.toByteArray(),Z=0;Z<k.length;Z+=1)M.writeByte(k[Z]);return M.flush(),"data:image/gif;base64,"+M};return e})()).stringToBytesFuncs["UTF-8"]=function(e){return(function(t){for(var n=[],r=0;r<t.length;r++){var o=t.charCodeAt(r);o<128?n.push(o):o<2048?n.push(192|o>>6,128|63&o):o<55296||o>=57344?n.push(224|o>>12,128|o>>6&63,128|63&o):(r++,o=65536+((1023&o)<<10|1023&t.charCodeAt(r)),n.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return n})(e)},Hn.exports=Un;const ui=li(Dr.exports);class Sn{constructor(t){fe(this,"_options"),fe(this,"_container"),fe(this,"_canvas"),fe(this,"_qr"),fe(this,"_drawingPromise"),this._options=t?Nn(Et(jn,t)):jn,this.update()}static _clearContainer(t){t&&(t.innerHTML="")}update(t){Sn._clearContainer(this._container),this._options=t?Nn(Et(this._options,t)):this._options,this._options.data&&(this._qr=ui(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||(function(n){switch(!0){case/^[0-9]*$/.test(n):return Vo;case/^[0-9A-Z $%*+\-./:]*$/.test(n):return Go;default:return Yo}})(this._options.data)),this._qr.make(),this._canvas=new ci(this._options),this._drawingPromise=this._canvas.drawQR(this._qr),this.append(this._container))}append(t){if(t){if(typeof t.appendChild!="function")throw"Container should be a single DOM node";this._canvas&&t.appendChild(this._canvas.getCanvas()),this._container=t}}async getImageUrl(t){return this._drawingPromise&&await this._drawingPromise===void 0&&this._canvas?this._canvas.getCanvas().toDataURL(`image/${t}`):""}download(t){this._drawingPromise&&this._drawingPromise.then((()=>
3{if(!this._canvas)return;const n=t,r=n.extension||"png",o=n.name||"qr";(function(i,s){const a=document.createElement("a");a.download=s,a.href=i,document.body.appendChild(a),a.click(),document.body.removeChild(a)})(this._canvas.getCanvas().toDataURL(`image/${r}`),`${o}.${r}`)}))}}const di=["src"],fi={key:1},hi=gr({__name:"QRCodeVue3Async",props:{value:{default:""},width:{default:300},height:{default:300},margin:{default:0},imgclass:{default:""},myclass:{default:""},downloadButton:{default:""},buttonName:{default:"Download"},qrOptions:{default:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}},imageOptions:{default:{hideBackgroundDots:!0,imageSize:.4,margin:0}},dotsOptions:{default:{type:"dots",color:"#6a1a4c",gradient:{type:"linear",rotation:0,colorStops:[{offset:0,color:"#6a1a4c"},{offset:1,color:"#6a1a4c"}]}}},backgroundOptions:{default:{color:"#ffffff"}},cornersSquareOptions:{default:{type:"dot",color:"#000000"}},cornersDotOptions:{default:{type:void 0,color:"#000000"}},fileExt:{default:"png"},image:{default:""},download:{type:Boolean,default:!1},downloadOptions:{default:{name:"vqr",extension:"png"}}},async setup(e){let t,n;const r=e,o=new Sn({data:r.value,width:r.width,height:r.height,margin:r.margin,qrOptions:r.qrOptions,imageOptions:r.imageOptions,dotsOptions:r.dotsOptions,backgroundOptions:r.backgroundOptions,image:r.image,cornersSquareOptions:r.cornersSquareOptions,cornersDotOptions:r.cornersDotOptions});let i=([t,n]=(function(a){const u=Qo();let x=a();return $o(),$n(x)&&(x=x.catch((g=>{throw Ft(u),g}))),[x,()=>Ft(u)]})((()=>o.getImageUrl(r.fileExt))),t=await t,n(),t);function s(){o.download(r.downloadOptions)}return(a,u)=>(nt(),Kt("div",null,[It(i)?(nt(),Kt("div",{key:0,class:tt(a.myclass)},[Tt("img",{src:It(i),class:tt(a.imgclass),crossorigin:"anonymous"},null,10,di)],2)):En("",!0),It(i)&&a.download?(nt(),Kt("div",fi,[Tt("button",{onClick:s,class:tt(a.downloadButton)},Yn(a.buttonName),3)])):En("",!0)]))}}),pi=gr({__name:"QRCodeVue3",props:{value:{default:""},width:{default:300},height:{default:300},margin:{default:0},imgclass:{default:""},myclass:{default:""},downloadButton:{default:""},buttonName:{default:"Download"},qrOptions:{default:{typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q"}},imageOptions:{default:{hideBackgroundDots:!0,imageSize:.4,margin:0}},dotsOptions:{default:{type:"dots",color:"#6a1a4c",gradient:{type:"linear",rotation:0,colorStops:[{offset:0,color:"#6a1a4c"},{offset:1,color:"#6a1a4c"}]}}},backgroundOptions:{default:{color:"#ffffff"}},cornersSquareOptions:{default:{type:"dot",color:"#000000"}},cornersDotOptions:{default:{type:void 0,color:"#000000"}},fileExt:{default:"png"},image:{default:""},download:{type:Boolean,default:!1},downloadOptions:{default:{name:"vqr",extension:"png"}}},setup(e){const t=e;return(n,r)=>(nt(),kr(Ho,null,{default:mo((()=>[Ne(hi,{"background-options":t.backgroundOptions,"button-name":t.buttonName,"corners-dot-options":t.cornersDotOptions,"corners-square-options":t.cornersSquareOptions,"dots-options":t.dotsOptions,download:t.download,"download-button":t.downloadButton,"download-options":t.downloadOptions,"file-ext":t.fileExt,height:t.height,image:t.image,"image-options":t.imageOptions,imgclass:t.imgclass,margin:t.margin,value:t.value,myclass:t.myclass,"qr-options":t.qrOptions,width:t.width},null,8,["background-options","button-name","corners-dot-options","corners-square-options","dots-options","download","download-button","download-options","file-ext","height","image","image-options","imgclass","margin","value","myclass","qr-options","width"])])),_:1}))}}),vi=Ir({__name:"QrGenerator",props:{url:String,size:String,pixelSize:{type:Number,default:null}
3,lightBackground:{type:Boolean,default:!1},qrOptions:{type:Object,default:null},copyable:{type:Boolean,default:!0}},setup(e){const{t}=Br(),n=e,r=ct((()=>n.pixelSize!=null&&n.pixelSize>0?n.pixelSize:n.size==="small"?170:200)),o=ct((()=>n.lightBackground?"#111827":"#fff")),i=ct((()=>n.lightBackground?"#ffffff":"#000")),s=ct((()=>n.lightBackground?"#111827":"#fff")),a=ct((()=>({typeNumber:0,mode:"Byte",errorCorrectionLevel:"Q",...n.qrOptions??{}})));function u(){n.copyable&&(navigator.clipboard.writeText(n.url),Lr.success(t("tournamentLinkWasCopiedText")))}return(x,g)=>(Pr(),Rr("div",{class:qr(["qr-container inline-flex items-center justify-center",{"cursor-pointer":e.copyable,"cursor-default":!e.copyable}]),style:Tr({width:`${r.value}px`,height:`${r.value}px`}),onClick:u},[zr(Ar(pi),{width:r.value,height:r.value,value:e.url,"qr-options":a.value,"image-options":{margin:5},"dots-options":{type:"dots",color:o.value},"background-options":{color:i.value},"corners-square-options":{type:"extra-rounded",color:s.value},"corners-dot-options":{type:"square",color:s.value}},null,8,["width","height","value","qr-options","dots-options","background-options","corners-square-options","corners-dot-options"])],6))}},[["__scopeId","data-v-c213623a"]]);export{vi as Q};

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.