-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5987.f2ce11ecb1c1dcf4.js
1 lines (1 loc) · 37.2 KB
/
5987.f2ce11ecb1c1dcf4.js
1
(self.webpackChunkcheapflightclient=self.webpackChunkcheapflightclient||[]).push([[5987],{8440:(w,o,s)=>{"use strict";s.d(o,{d:()=>r});const r=[{id:17,name:"Ng\xe2n h\xe0ng TMCP C\xf4ng th\u01b0\u01a1ng Vi\u1ec7t Nam",code:"ICB",bin:"970415",shortName:"VietinBank",logo:"https://api.vietqr.io/img/ICB.png"},{id:43,name:"Ng\xe2n ha\u0300ng TMCP Ngoa\u0323i Th\u01b0\u01a1ng Vi\xea\u0323t Nam",code:"VCB",bin:"970436",shortName:"Vietcombank",logo:"https://api.vietqr.io/img/VCB.png"},{id:4,name:"Ng\xe2n h\xe0ng TMCP \u0110\u1ea7u t\u01b0 v\xe0 Ph\xe1t tri\u1ec3n Vi\u1ec7t Nam",code:"BIDV",bin:"970418",shortName:"BIDV",logo:"https://api.vietqr.io/img/BIDV.png"},{id:42,name:"Ng\xe2n h\xe0ng N\xf4ng nghi\u1ec7p v\xe0 Ph\xe1t tri\u1ec3n N\xf4ng th\xf4n Vi\u1ec7t Nam",code:"VBA",bin:"970405",shortName:"Agribank",logo:"https://api.vietqr.io/img/VBA.png"},{id:26,name:"Ng\xe2n h\xe0ng TMCP Ph\u01b0\u01a1ng \u0110\xf4ng",code:"OCB",bin:"970448",shortName:"OCB",logo:"https://api.vietqr.io/img/OCB.png"},{id:21,name:"Ng\xe2n h\xe0ng TMCP Qu\xe2n \u0111\u1ed9i",code:"MB",bin:"970422",shortName:"MBBank",logo:"https://api.vietqr.io/img/MB.png"},{id:38,name:"Ng\xe2n h\xe0ng TMCP K\u1ef9 th\u01b0\u01a1ng Vi\u1ec7t Nam",code:"TCB",bin:"970407",shortName:"Techcombank",logo:"assets/bank-logo/TCB.svg"},{id:2,name:"Ng\xe2n h\xe0ng TMCP \xc1 Ch\xe2u",code:"ACB",bin:"970416",shortName:"ACB",logo:"assets/bank-logo/ACB.svg"},{id:47,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng",code:"VPB",bin:"970432",shortName:"VPBank",logo:"https://api.vietqr.io/img/VPB.png"},{id:39,name:"Ng\xe2n h\xe0ng TMCP Ti\xean Phong",code:"TPB",bin:"970423",shortName:"TPBank",logo:"https://api.vietqr.io/img/TPB.png"},{id:36,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n Th\u01b0\u01a1ng T\xedn",code:"STB",bin:"970403",shortName:"Sacombank",logo:"https://api.vietqr.io/img/STB.png"},{id:12,name:"Ng\xe2n h\xe0ng TMCP Ph\xe1t tri\u1ec3n Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"HDB",bin:"970437",shortName:"HDBank",logo:"https://api.vietqr.io/img/HDB.png"},{id:44,name:"Ng\xe2n ha\u0300ng TMCP Ba\u0309n Vi\xea\u0323t",code:"VCCB",bin:"970454",shortName:"VietCapitalBank",logo:"https://api.vietqr.io/img/VCCB.png"},{id:31,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n",code:"SCB",bin:"970429",shortName:"SCB",logo:"https://api.vietqr.io/img/SCB.png"},{id:45,name:"Ng\xe2n ha\u0300ng TMCP Qu\u1ed1c t\u1ebf Vi\u1ec7t Nam",code:"VIB",bin:"970441",shortName:"VIB",logo:"https://api.vietqr.io/img/VIB.png"},{id:35,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n - H\xe0 N\u1ed9i",code:"SHB",bin:"970443",shortName:"SHB",logo:"https://api.vietqr.io/img/SHB.png"},{id:10,name:"Ng\xe2n h\xe0ng TMCP Xu\u1ea5t Nh\u1eadp kh\u1ea9u Vi\u1ec7t Nam",code:"EIB",bin:"970431",shortName:"Eximbank",logo:"https://api.vietqr.io/img/EIB.png"},{id:22,name:"Ng\xe2n ha\u0300ng TMCP Ha\u0300ng Ha\u0309i",code:"MSB",bin:"970426",shortName:"MSB",logo:"https://api.vietqr.io/img/MSB.png"},{id:53,name:"TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng - Ng\xe2n h\xe0ng s\u1ed1 CAKE by VPBank",code:"CAKE",bin:"546034",shortName:"CAKE",logo:"https://api.vietqr.io/img/CAKE.png"},{id:54,name:"TMCP Vi\u1ec7t Nam Th\u1ecbnh V\u01b0\u1ee3ng - Ng\xe2n h\xe0ng s\u1ed1 Ubank by VPBank",code:"Ubank",bin:"546035",shortName:"Ubank",logo:"https://api.vietqr.io/img/UBANK.png"},{id:58,name:"Ng\xe2n h\xe0ng s\u1ed1 Timo by Ban Viet Bank (Timo by Ban Viet Bank)",code:"TIMO",bin:"963388",shortName:"Timo",logo:"https://vietqr.net/portal-service/resources/icons/TIMO.png"},{id:57,name:"T\u1ed5ng C\xf4ng ty D\u1ecbch v\u1ee5 s\u1ed1 Viettel - Chi nh\xe1nh t\u1eadp \u0111o\xe0n c\xf4ng nghi\u1ec7p vi\u1ec5n th\xf4ng Qu\xe2n \u0110\u1ed9i",code:"VTLMONEY",bin:"971005",shortName:"ViettelMoney",logo:"https://api.vietqr.io/img/VIETTELMONEY.png"},{id:56,name:"VNPT Money",code:"VNPTMONEY",bin:"971011",shortName:"VNPTMoney",logo:"https://api.vietqr.io/img/VNPTMONEY.png"},{id:34,name:"Ng\xe2n h\xe0ng TMCP S\xe0i G\xf2n C\xf4ng Th\u01b0\u01a1ng",code:"SGICB",bin:"970400",shortName:"SaigonBank",logo:"https://api.vietqr.io/img/SGICB.png"},{id:3,name:"Ng\xe2n h\xe0ng TMCP B\u1eafc \xc1",code:"BAB",bin:"970409",shortName:"BacABank",logo:"https://api.vietqr.io/img/BAB.png"},{id:30,name:"Ng\xe2n ha\u0300ng TMCP \u0110a\u0323i Chu\u0301ng Vi\xea\u0323t Nam",code:"PVCB",bin:"970412",shortName:"PVcomBank",logo:"https://api.vietqr.io/img/PVCB.png"},{id:27,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV \u0110\u1ea1i D\u01b0\u01a1ng",code:"Oceanbank",bin:"970414",shortName:"Oceanbank",logo:"https://api.vietqr.io/img/OCEANBANK.png"},{id:24,name:"Ng\xe2n h\xe0ng TMCP Qu\u1ed1c D\xe2n",code:"NCB",bin:"970419",shortName:"NCB",logo:"https://api.vietqr.io/img/NCB.png"},{id:37,name:"Ng\xe2n h\xe0ng TNHH MTV Shinhan Vi\u1ec7t Nam",code:"SHBVN",bin:"970424",shortName:"ShinhanBank",logo:"https://api.vietqr.io/img/SHBVN.png"},{id:1,name:"Ng\xe2n h\xe0ng TMCP An B\xecnh",code:"ABB",bin:"970425",shortName:"ABBANK",logo:"https://api.vietqr.io/img/ABB.png"},{id:41,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t \xc1",code:"VAB",bin:"970427",shortName:"VietABank",logo:"https://api.vietqr.io/img/VAB.png"},{id:23,name:"Ng\xe2n h\xe0ng TMCP Nam \xc1",code:"NAB",bin:"970428",shortName:"NamABank",logo:"https://api.vietqr.io/img/NAB.png"},{id:29,name:"Ng\xe2n h\xe0ng TMCP X\u0103ng d\u1ea7u Petrolimex",code:"PGB",bin:"970430",shortName:"PGBank",logo:"https://api.vietqr.io/img/PGB.png"},{id:46,name:"Ng\xe2n h\xe0ng TMCP Vi\u1ec7t Nam Th\u01b0\u01a1ng T\xedn",code:"VIETBANK",bin:"970433",shortName:"VietBank",logo:"https://api.vietqr.io/img/VIETBANK.png"},{id:5,name:"Ng\xe2n h\xe0ng TMCP B\u1ea3o Vi\u1ec7t",code:"BVB",bin:"970438",shortName:"BaoVietBank",logo:"https://api.vietqr.io/img/BVB.png"},{id:33,name:"Ng\xe2n ha\u0300ng TMCP \u0110\xf4ng Nam A\u0301",code:"SEAB",bin:"970440",shortName:"SeABank",logo:"https://api.vietqr.io/img/SEAB.png"},{id:52,name:"Ng\xe2n h\xe0ng H\u1ee3p t\xe1c x\xe3 Vi\u1ec7t Nam",code:"COOPBANK",bin:"970446",shortName:"COOPBANK",logo:"https://api.vietqr.io/img/COOPBANK.png"},{id:20,name:"Ng\xe2n h\xe0ng TMCP B\u01b0u \u0110i\u1ec7n Li\xean Vi\u1ec7t",code:"LPB",bin:"970449",shortName:"LienVietPostBank",logo:"https://api.vietqr.io/img/LPB.png"},{id:19,name:"Ng\xe2n h\xe0ng TMCP Ki\xean Long",code:"KLB",bin:"970452",shortName:"KienLongBank",logo:"https://api.vietqr.io/img/KLB.png"},{id:55,name:"Ng\xe2n h\xe0ng \u0110\u1ea1i ch\xfang TNHH Kasikornbank",code:"KBank",bin:"668888",shortName:"KBank",logo:"https://api.vietqr.io/img/KBANK.png"},{id:50,name:"Ng\xe2n h\xe0ng Kookmin - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"KBHN",bin:"970462",shortName:"KookminHN",logo:"https://api.vietqr.io/img/KBHN.png"},{id:60,name:"Ng\xe2n h\xe0ng KEB Hana \u2013 Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"KEBHANAHCM",bin:"970466",shortName:"KEBHanaHCM",logo:"https://api.vietqr.io/img/KEBHANAHCM.png"},{id:61,name:"Ng\xe2n h\xe0ng KEB Hana \u2013 Chi nh\xe1nh H\xe0 N\u1ed9i",code:"KEBHANAHN",bin:"970467",shortName:"KEBHANAHN",logo:"https://api.vietqr.io/img/KEBHANAHN.png"},{id:62,name:"C\xf4ng ty T\xe0i ch\xednh TNHH MTV Mirae Asset (Vi\u1ec7t Nam) ",code:"MAFC",bin:"977777",shortName:"MAFC",logo:"https://api.vietqr.io/img/MAFC.png"},{id:59,name:"Ng\xe2n h\xe0ng Citibank, N.A. - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"CITIBANK",bin:"533948",shortName:"Citibank",logo:"https://api.vietqr.io/img/CITIBANK.png"},{id:51,name:"Ng\xe2n h\xe0ng Kookmin - Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"KBHCM",bin:"970463",shortName:"KookminHCM",logo:"https://api.vietqr.io/img/KBHCM.png"},{id:63,name:"Ng\xe2n h\xe0ng Ch\xednh s\xe1ch X\xe3 h\u1ed9i",code:"VBSP",bin:"999888",shortName:"VBSP",logo:"https://api.vietqr.io/img/VBSP.png"},{id:49,name:"Ng\xe2n h\xe0ng TNHH MTV Woori Vi\u1ec7t Nam",code:"WVN",bin:"970457",shortName:"Woori",logo:"https://api.vietqr.io/img/WVN.png"},{id:48,name:"Ng\xe2n h\xe0ng Li\xean doanh Vi\u1ec7t - Nga",code:"VRB",bin:"970421",shortName:"VRB",logo:"https://api.vietqr.io/img/VRB.png"},{id:40,name:"Ng\xe2n h\xe0ng United Overseas - Chi nh\xe1nh TP. H\u1ed3 Ch\xed Minh",code:"UOB",bin:"970458",shortName:"UnitedOverseas",logo:"https://api.vietqr.io/img/UOB.png"},{id:32,name:"Ng\xe2n h\xe0ng TNHH MTV Standard Chartered Bank Vi\u1ec7t Nam",code:"SCVN",bin:"970410",shortName:"StandardChartered",logo:"https://api.vietqr.io/img/SCVN.png"},{id:28,name:"Ng\xe2n h\xe0ng TNHH MTV Public Vi\u1ec7t Nam",code:"PBVN",bin:"970439",shortName:"PublicBank",logo:"https://api.vietqr.io/img/PBVN.png"},{id:25,name:"Ng\xe2n h\xe0ng Nonghyup - Chi nh\xe1nh H\xe0 N\u1ed9i",code:"NHB HN",bin:"801011",shortName:"Nonghyup",logo:"https://api.vietqr.io/img/NHB.png"},{id:18,name:"Ng\xe2n h\xe0ng TNHH Indovina",code:"IVB",bin:"970434",shortName:"IndovinaBank",logo:"https://api.vietqr.io/img/IVB.png"},{id:16,name:"Ng\xe2n ha\u0300ng C\xf4ng nghi\xea\u0323p Ha\u0300n Qu\xf4\u0301c - Chi nha\u0301nh TP. H\xf4\u0300 Chi\u0301 Minh",code:"IBK - HCM",bin:"970456",shortName:"IBKHCM",logo:"https://api.vietqr.io/img/IBK.png"},{id:15,name:"Ng\xe2n ha\u0300ng C\xf4ng nghi\xea\u0323p Ha\u0300n Qu\xf4\u0301c - Chi nha\u0301nh Ha\u0300 N\xf4\u0323i",code:"IBK - HN",bin:"970455",shortName:"IBKHN",logo:"https://api.vietqr.io/img/IBK.png"},{id:14,name:"Ng\xe2n h\xe0ng TNHH MTV HSBC (Vi\u1ec7t Nam)",code:"HSBC",bin:"458761",shortName:"HSBC",logo:"https://api.vietqr.io/img/HSBC.png"},{id:13,name:"Ng\xe2n h\xe0ng TNHH MTV Hong Leong Vi\u1ec7t Nam",code:"HLBVN",bin:"970442",shortName:"HongLeong",logo:"https://api.vietqr.io/img/HLBVN.png"},{id:11,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV D\u1ea7u Kh\xed To\xe0n C\u1ea7u",code:"GPB",bin:"970408",shortName:"GPBank",logo:"https://api.vietqr.io/img/GPB.png"},{id:9,name:"Ng\xe2n h\xe0ng TMCP \u0110\xf4ng \xc1",code:"DOB",bin:"970406",shortName:"DongABank",logo:"https://api.vietqr.io/img/DOB.png"},{id:8,name:"DBS Bank Ltd - Chi nh\xe1nh Th\xe0nh ph\u1ed1 H\u1ed3 Ch\xed Minh",code:"DBS",bin:"796500",shortName:"DBSBank",logo:"https://api.vietqr.io/img/DBS.png"},{id:7,name:"Ng\xe2n h\xe0ng TNHH MTV CIMB Vi\u1ec7t Nam",code:"CIMB",bin:"422589",shortName:"CIMB",logo:"https://api.vietqr.io/img/CIMB.png"},{id:6,name:"Ng\xe2n h\xe0ng Th\u01b0\u01a1ng m\u1ea1i TNHH MTV X\xe2y d\u1ef1ng Vi\u1ec7t Nam",code:"CBB",bin:"970444",shortName:"CBBank",logo:"https://api.vietqr.io/img/CBB.png"}]},34541:(w,o,s)=>{"use strict";s.d(o,{C:()=>t});var r=s(36895),n=s(94650);let t=(()=>{class e{constructor(a,c,g){this.elementRef=a,this.renderer=c,this.document=g}set CfRequired(a){if(a){const c=this.document.createElement("span");c.innerHTML=" (*)",c.className="text-primary-1-4 text-espressive-sm",this.renderer.appendChild(this.elementRef.nativeElement,c)}}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(r.K0))},e.\u0275dir=n.lG2({type:e,selectors:[["","CfRequired",""]],inputs:{CfRequired:"CfRequired"},standalone:!0}),e})()},23674:(w,o,s)=>{"use strict";s.d(o,{Q:()=>n});var r=s(94650);let n=(()=>{class t{transform(i){const c=i%60;return`${Math.floor(i/60).toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}`}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275pipe=r.Yjl({name:"formatTime",type:t,pure:!0,standalone:!0}),t})()},29604:(w,o,s)=>{"use strict";s.d(o,{b:()=>r});class r{constructor(){this.payloadFormatIndicator="000201",this.pointOfInitiationMethod="010212",this.consumerAccountInformation="",this.guid="0010A000000727",this.serviceCode="0208QRIBFTTA",this.transactionCurrency="5303704",this.transactionAmount="",this.countryCode="5802VN",this.additionalDataFieldTemplate="",this.crc=""}build(){const t=`${this.payloadFormatIndicator}${this.pointOfInitiationMethod}${this.consumerAccountInformation}${this.transactionCurrency}${this.transactionAmount}${this.countryCode}${this.additionalDataFieldTemplate}6304`;return`${t}${this.calcCRC(t).toString(16).toUpperCase()}`}convertLength(t){const e=parseInt(t);return e<10?`0${e}`:e+""}setTransactionAmount(t){const e=this.convertLength(t.length);return this.transactionAmount=`54${e}${t}`,this}setBeneficiaryOrganization(t,e){const a=`00${this.convertLength(t.length)}${t}`,g=`01${this.convertLength(e.length)}${e}`,h=`${a}${g}`,N=h.length,u=this.convertLength(h.length+30);return this.consumerAccountInformation=`38${u}${this.guid}01${N}${a}${g}0208QRIBFTTA`,this}setAdditionalDataFieldTemplate(t){const e=this.convertLength(t.length),i=this.convertLength(t.length+4);return this.additionalDataFieldTemplate=`62${i}08${e}${t}`,this}calcCRC(t){const e=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];let a,c,i=65535;for(c=0;c<t.length;c++){const g=t.charCodeAt(c);if(g>255)throw new RangeError;a=255&(g^i>>8),i=e[a]^i<<8}return 65535&(0^i)}}},74901:w=>{"use strict";var o={single_source_shortest_paths:function(s,r,n){var t={},e={};e[r]=0;var a,c,g,h,N,u,i=o.PriorityQueue.make();for(i.push(r,0);!i.empty();)for(g in h=(a=i.pop()).cost,N=s[c=a.value]||{})N.hasOwnProperty(g)&&(u=h+N[g],(typeof e[g]>"u"||e[g]>u)&&(e[g]=u,i.push(g,u),t[g]=c));if(typeof n<"u"&&typeof e[n]>"u"){var S=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(S)}return t},extract_shortest_path_from_predecessor_list:function(s,r){for(var n=[],t=r;t;)n.push(t),t=s[t];return n.reverse(),n},find_path:function(s,r,n){var t=o.single_source_shortest_paths(s,r,n);return o.extract_shortest_path_from_predecessor_list(t,n)},PriorityQueue:{make:function(s){var t,r=o.PriorityQueue,n={};for(t in s=s||{},r)r.hasOwnProperty(t)&&(n[t]=r[t]);return n.queue=[],n.sorter=s.sorter||r.default_sorter,n},default_sorter:function(s,r){return s.cost-r.cost},push:function(s,r){this.queue.push({value:s,cost:r}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};w.exports=o},3259:(w,o,s)=>{const r=s(88695),n=s(71465),t=s(23210),e=s(22334);function i(a,c,g,h,N){const P=[].slice.call(arguments,1),u=P.length,m="function"==typeof P[u-1];if(!m&&!r())throw new Error("Callback required as last argument");if(!m){if(u<1)throw new Error("Too few arguments provided");return 1===u?(g=c,c=h=void 0):2===u&&!c.getContext&&(h=g,g=c,c=void 0),new Promise(function(C,S){try{const V=n.create(g,h);C(a(V,c,h))}catch(V){S(V)}})}if(u<2)throw new Error("Too few arguments provided");2===u?(N=g,g=c,c=h=void 0):3===u&&(c.getContext&&typeof N>"u"?(N=h,h=void 0):(N=h,h=g,g=c,c=void 0));try{const C=n.create(g,h);N(null,a(C,c,h))}catch(C){N(C)}}o.create=n.create,o.toCanvas=i.bind(null,t.render),o.toDataURL=i.bind(null,t.renderToDataURL),o.toString=i.bind(null,function(a,c,g){return e.render(a,g)})},88695:w=>{w.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},46221:(w,o,s)=>{const r=s(34792).getSymbolSize;o.getRowColCoords=function(t){if(1===t)return[];const e=Math.floor(t/7)+2,i=r(t),a=145===i?26:2*Math.ceil((i-13)/(2*e-2)),c=[i-7];for(let g=1;g<e-1;g++)c[g]=c[g-1]-a;return c.push(6),c.reverse()},o.getPositions=function(t){const e=[],i=o.getRowColCoords(t),a=i.length;for(let c=0;c<a;c++)for(let g=0;g<a;g++)0===c&&0===g||0===c&&g===a-1||c===a-1&&0===g||e.push([i[c],i[g]]);return e}},32424:(w,o,s)=>{const r=s(64016),n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function t(e){this.mode=r.ALPHANUMERIC,this.data=e}t.getBitsLength=function(i){return 11*Math.floor(i/2)+i%2*6},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(i){let a;for(a=0;a+2<=this.data.length;a+=2){let c=45*n.indexOf(this.data[a]);c+=n.indexOf(this.data[a+1]),i.put(c,11)}this.data.length%2&&i.put(n.indexOf(this.data[a]),6)},w.exports=t},52118:w=>{function o(){this.buffer=[],this.length=0}o.prototype={get:function(s){const r=Math.floor(s/8);return 1==(this.buffer[r]>>>7-s%8&1)},put:function(s,r){for(let n=0;n<r;n++)this.putBit(1==(s>>>r-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(s){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),s&&(this.buffer[r]|=128>>>this.length%8),this.length++}},w.exports=o},34425:w=>{function o(s){if(!s||s<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=s,this.data=new Uint8Array(s*s),this.reservedBit=new Uint8Array(s*s)}o.prototype.set=function(s,r,n,t){const e=s*this.size+r;this.data[e]=n,t&&(this.reservedBit[e]=!0)},o.prototype.get=function(s,r){return this.data[s*this.size+r]},o.prototype.xor=function(s,r,n){this.data[s*this.size+r]^=n},o.prototype.isReserved=function(s,r){return this.reservedBit[s*this.size+r]},w.exports=o},85663:(w,o,s)=>{const r=s(64016);function n(t){this.mode=r.BYTE,this.data="string"==typeof t?(new TextEncoder).encode(t):new Uint8Array(t)}n.getBitsLength=function(e){return 8*e},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){for(let e=0,i=this.data.length;e<i;e++)t.put(this.data[e],8)},w.exports=n},14655:(w,o,s)=>{const r=s(82259),n=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],t=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];o.getBlocksCount=function(i,a){switch(a){case r.L:return n[4*(i-1)+0];case r.M:return n[4*(i-1)+1];case r.Q:return n[4*(i-1)+2];case r.H:return n[4*(i-1)+3];default:return}},o.getTotalCodewordsCount=function(i,a){switch(a){case r.L:return t[4*(i-1)+0];case r.M:return t[4*(i-1)+1];case r.Q:return t[4*(i-1)+2];case r.H:return t[4*(i-1)+3];default:return}}},82259:(w,o)=>{o.L={bit:1},o.M={bit:0},o.Q={bit:3},o.H={bit:2},o.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},o.from=function(n,t){if(o.isValid(n))return n;try{return function s(r){if("string"!=typeof r)throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return o.L;case"m":case"medium":return o.M;case"q":case"quartile":return o.Q;case"h":case"high":return o.H;default:throw new Error("Unknown EC Level: "+r)}}(n)}catch{return t}}},43114:(w,o,s)=>{const r=s(34792).getSymbolSize;o.getPositions=function(e){const i=r(e);return[[0,0],[i-7,0],[0,i-7]]}},17078:(w,o,s)=>{const r=s(34792),e=r.getBCHDigit(1335);o.getEncodedBits=function(a,c){const g=a.bit<<3|c;let h=g<<10;for(;r.getBCHDigit(h)-e>=0;)h^=1335<<r.getBCHDigit(h)-e;return 21522^(g<<10|h)}},45339:(w,o)=>{const s=new Uint8Array(512),r=new Uint8Array(256);(function(){let t=1;for(let e=0;e<255;e++)s[e]=t,r[t]=e,t<<=1,256&t&&(t^=285);for(let e=255;e<512;e++)s[e]=s[e-255]})(),o.log=function(t){if(t<1)throw new Error("log("+t+")");return r[t]},o.exp=function(t){return s[t]},o.mul=function(t,e){return 0===t||0===e?0:s[r[t]+r[e]]}},80449:(w,o,s)=>{const r=s(64016),n=s(34792);function t(e){this.mode=r.KANJI,this.data=e}t.getBitsLength=function(i){return 13*i},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(e){let i;for(i=0;i<this.data.length;i++){let a=n.toSJIS(this.data[i]);if(a>=33088&&a<=40956)a-=33088;else{if(!(a>=57408&&a<=60351))throw new Error("Invalid SJIS character: "+this.data[i]+"\nMake sure your charset is UTF-8");a-=49472}a=192*(a>>>8&255)+(255&a),e.put(a,13)}},w.exports=t},33667:(w,o)=>{o.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function r(n,t,e){switch(n){case o.Patterns.PATTERN000:return(t+e)%2==0;case o.Patterns.PATTERN001:return t%2==0;case o.Patterns.PATTERN010:return e%3==0;case o.Patterns.PATTERN011:return(t+e)%3==0;case o.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(e/3))%2==0;case o.Patterns.PATTERN101:return t*e%2+t*e%3==0;case o.Patterns.PATTERN110:return(t*e%2+t*e%3)%2==0;case o.Patterns.PATTERN111:return(t*e%3+(t+e)%2)%2==0;default:throw new Error("bad maskPattern:"+n)}}o.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},o.from=function(t){return o.isValid(t)?parseInt(t,10):void 0},o.getPenaltyN1=function(t){const e=t.size;let i=0,a=0,c=0,g=null,h=null;for(let N=0;N<e;N++){a=c=0,g=h=null;for(let P=0;P<e;P++){let u=t.get(N,P);u===g?a++:(a>=5&&(i+=a-5+3),g=u,a=1),u=t.get(P,N),u===h?c++:(c>=5&&(i+=c-5+3),h=u,c=1)}a>=5&&(i+=a-5+3),c>=5&&(i+=c-5+3)}return i},o.getPenaltyN2=function(t){const e=t.size;let i=0;for(let a=0;a<e-1;a++)for(let c=0;c<e-1;c++){const g=t.get(a,c)+t.get(a,c+1)+t.get(a+1,c)+t.get(a+1,c+1);(4===g||0===g)&&i++}return 3*i},o.getPenaltyN3=function(t){const e=t.size;let i=0,a=0,c=0;for(let g=0;g<e;g++){a=c=0;for(let h=0;h<e;h++)a=a<<1&2047|t.get(g,h),h>=10&&(1488===a||93===a)&&i++,c=c<<1&2047|t.get(h,g),h>=10&&(1488===c||93===c)&&i++}return 40*i},o.getPenaltyN4=function(t){let e=0;const i=t.data.length;for(let c=0;c<i;c++)e+=t.data[c];return 10*Math.abs(Math.ceil(100*e/i/5)-10)},o.applyMask=function(t,e){const i=e.size;for(let a=0;a<i;a++)for(let c=0;c<i;c++)e.isReserved(c,a)||e.xor(c,a,r(t,c,a))},o.getBestMask=function(t,e){const i=Object.keys(o.Patterns).length;let a=0,c=1/0;for(let g=0;g<i;g++){e(g),o.applyMask(g,t);const h=o.getPenaltyN1(t)+o.getPenaltyN2(t)+o.getPenaltyN3(t)+o.getPenaltyN4(t);o.applyMask(g,t),h<c&&(c=h,a=g)}return a}},64016:(w,o,s)=>{const r=s(94406),n=s(2699);o.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},o.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},o.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},o.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},o.MIXED={bit:-1},o.getCharCountIndicator=function(i,a){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!r.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?i.ccBits[0]:a<27?i.ccBits[1]:i.ccBits[2]},o.getBestModeForData=function(i){return n.testNumeric(i)?o.NUMERIC:n.testAlphanumeric(i)?o.ALPHANUMERIC:n.testKanji(i)?o.KANJI:o.BYTE},o.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},o.isValid=function(i){return i&&i.bit&&i.ccBits},o.from=function(i,a){if(o.isValid(i))return i;try{return function t(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return o.NUMERIC;case"alphanumeric":return o.ALPHANUMERIC;case"kanji":return o.KANJI;case"byte":return o.BYTE;default:throw new Error("Unknown mode: "+e)}}(i)}catch{return a}}},97783:(w,o,s)=>{const r=s(64016);function n(t){this.mode=r.NUMERIC,this.data=t.toString()}n.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(e){let i,a,c;for(i=0;i+3<=this.data.length;i+=3)a=this.data.substr(i,3),c=parseInt(a,10),e.put(c,10);const g=this.data.length-i;g>0&&(a=this.data.substr(i),c=parseInt(a,10),e.put(c,3*g+1))},w.exports=n},61106:(w,o,s)=>{const r=s(45339);o.mul=function(t,e){const i=new Uint8Array(t.length+e.length-1);for(let a=0;a<t.length;a++)for(let c=0;c<e.length;c++)i[a+c]^=r.mul(t[a],e[c]);return i},o.mod=function(t,e){let i=new Uint8Array(t);for(;i.length-e.length>=0;){const a=i[0];for(let g=0;g<e.length;g++)i[g]^=r.mul(e[g],a);let c=0;for(;c<i.length&&0===i[c];)c++;i=i.slice(c)}return i},o.generateECPolynomial=function(t){let e=new Uint8Array([1]);for(let i=0;i<t;i++)e=o.mul(e,new Uint8Array([1,r.exp(i)]));return e}},71465:(w,o,s)=>{const r=s(34792),n=s(82259),t=s(52118),e=s(34425),i=s(46221),a=s(43114),c=s(33667),g=s(14655),h=s(12636),N=s(42088),P=s(17078),u=s(64016),m=s(62033);function I(l,x,p){const d=l.size,A=P.getEncodedBits(x,p);let B,f;for(B=0;B<15;B++)f=1==(A>>B&1),l.set(B<6?B:B<8?B+1:d-15+B,8,f,!0),l.set(8,B<8?d-B-1:B<9?15-B-1+1:15-B-1,f,!0);l.set(d-8,8,1,!0)}function L(l,x,p,d){let A;if(Array.isArray(l))A=m.fromArray(l);else{if("string"!=typeof l)throw new Error("Invalid data");{let v=x;if(!v){const K=m.rawSplit(l);v=N.getBestVersionForData(K,p)}A=m.fromString(l,v||40)}}const B=N.getBestVersionForData(A,p);if(!B)throw new Error("The amount of data is too big to be stored in a QR Code");if(x){if(x<B)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+B+".\n")}else x=B;const f=function b(l,x,p){const d=new t;p.forEach(function(E){d.put(E.mode.bit,4),d.put(E.getLength(),u.getCharCountIndicator(E.mode,l)),E.write(d)});const f=8*(r.getSymbolTotalCodewords(l)-g.getTotalCodewordsCount(l,x));for(d.getLengthInBits()+4<=f&&d.put(0,4);d.getLengthInBits()%8!=0;)d.putBit(0);const y=(f-d.getLengthInBits())/8;for(let E=0;E<y;E++)d.put(E%2?17:236,8);return function H(l,x,p){const d=r.getSymbolTotalCodewords(x),B=d-g.getTotalCodewordsCount(x,p),f=g.getBlocksCount(x,p),E=f-d%f,v=Math.floor(d/f),K=Math.floor(B/f),G=K+1,z=v-K,J=new h(z);let F=0;const U=new Array(f),$=new Array(f);let O=0;const Q=new Uint8Array(l.buffer);for(let D=0;D<f;D++){const _=D<E?K:G;U[D]=Q.slice(F,F+_),$[D]=J.encode(U[D]),F+=_,O=Math.max(O,_)}const q=new Uint8Array(d);let R,k,Y=0;for(R=0;R<O;R++)for(k=0;k<f;k++)R<U[k].length&&(q[Y++]=U[k][R]);for(R=0;R<z;R++)for(k=0;k<f;k++)q[Y++]=$[k][R];return q}(d,l,x)}(x,p,A),y=r.getSymbolSize(x),E=new e(y);return function C(l,x){const p=l.size,d=a.getPositions(x);for(let A=0;A<d.length;A++){const B=d[A][0],f=d[A][1];for(let y=-1;y<=7;y++)if(!(B+y<=-1||p<=B+y))for(let E=-1;E<=7;E++)f+E<=-1||p<=f+E||l.set(B+y,f+E,y>=0&&y<=6&&(0===E||6===E)||E>=0&&E<=6&&(0===y||6===y)||y>=2&&y<=4&&E>=2&&E<=4,!0)}}(E,x),function S(l){const x=l.size;for(let p=8;p<x-8;p++){const d=p%2==0;l.set(p,6,d,!0),l.set(6,p,d,!0)}}(E),function V(l,x){const p=i.getPositions(x);for(let d=0;d<p.length;d++){const A=p[d][0],B=p[d][1];for(let f=-2;f<=2;f++)for(let y=-2;y<=2;y++)l.set(A+f,B+y,-2===f||2===f||-2===y||2===y||0===f&&0===y,!0)}}(E,x),I(E,p,0),x>=7&&function M(l,x){const p=l.size,d=N.getEncodedBits(x);let A,B,f;for(let y=0;y<18;y++)A=Math.floor(y/3),B=y%3+p-8-3,f=1==(d>>y&1),l.set(A,B,f,!0),l.set(B,A,f,!0)}(E,x),function T(l,x){const p=l.size;let d=-1,A=p-1,B=7,f=0;for(let y=p-1;y>0;y-=2)for(6===y&&y--;;){for(let E=0;E<2;E++)if(!l.isReserved(A,y-E)){let v=!1;f<x.length&&(v=1==(x[f]>>>B&1)),l.set(A,y-E,v),B--,-1===B&&(f++,B=7)}if(A+=d,A<0||p<=A){A-=d,d=-d;break}}}(E,f),isNaN(d)&&(d=c.getBestMask(E,I.bind(null,E,p))),c.applyMask(d,E),I(E,p,d),{modules:E,version:x,errorCorrectionLevel:p,maskPattern:d,segments:A}}o.create=function(x,p){if(typeof x>"u"||""===x)throw new Error("No input text");let A,B,d=n.M;return typeof p<"u"&&(d=n.from(p.errorCorrectionLevel,n.M),A=N.from(p.version),B=c.from(p.maskPattern),p.toSJISFunc&&r.setToSJISFunction(p.toSJISFunc)),L(x,A,d,B)}},12636:(w,o,s)=>{const r=s(61106);function n(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}n.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},n.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(e.length+this.degree);i.set(e);const a=r.mod(i,this.genPoly),c=this.degree-a.length;if(c>0){const g=new Uint8Array(this.degree);return g.set(a,c),g}return a},w.exports=n},2699:(w,o)=>{const s="[0-9]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const t="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+")(?:.|[\r\n]))+";o.KANJI=new RegExp(n,"g"),o.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),o.BYTE=new RegExp(t,"g"),o.NUMERIC=new RegExp(s,"g"),o.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const e=new RegExp("^"+n+"$"),i=new RegExp("^"+s+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");o.testKanji=function(g){return e.test(g)},o.testNumeric=function(g){return i.test(g)},o.testAlphanumeric=function(g){return a.test(g)}},62033:(w,o,s)=>{const r=s(64016),n=s(97783),t=s(32424),e=s(85663),i=s(80449),a=s(2699),c=s(34792),g=s(74901);function h(M){return unescape(encodeURIComponent(M)).length}function N(M,I,T){const b=[];let H;for(;null!==(H=M.exec(T));)b.push({data:H[0],index:H.index,mode:I,length:H[0].length});return b}function P(M){const I=N(a.NUMERIC,r.NUMERIC,M),T=N(a.ALPHANUMERIC,r.ALPHANUMERIC,M);let b,H;return c.isKanjiModeEnabled()?(b=N(a.BYTE,r.BYTE,M),H=N(a.KANJI,r.KANJI,M)):(b=N(a.BYTE_KANJI,r.BYTE,M),H=[]),I.concat(T,b,H).sort(function(l,x){return l.index-x.index}).map(function(l){return{data:l.data,mode:l.mode,length:l.length}})}function u(M,I){switch(I){case r.NUMERIC:return n.getBitsLength(M);case r.ALPHANUMERIC:return t.getBitsLength(M);case r.KANJI:return i.getBitsLength(M);case r.BYTE:return e.getBitsLength(M)}}function V(M,I){let T;const b=r.getBestModeForData(M);if(T=r.from(I,b),T!==r.BYTE&&T.bit<b.bit)throw new Error('"'+M+'" cannot be encoded with mode '+r.toString(T)+".\n Suggested mode is: "+r.toString(b));switch(T===r.KANJI&&!c.isKanjiModeEnabled()&&(T=r.BYTE),T){case r.NUMERIC:return new n(M);case r.ALPHANUMERIC:return new t(M);case r.KANJI:return new i(M);case r.BYTE:return new e(M)}}o.fromArray=function(I){return I.reduce(function(T,b){return"string"==typeof b?T.push(V(b,null)):b.data&&T.push(V(b.data,b.mode)),T},[])},o.fromString=function(I,T){const H=function C(M){const I=[];for(let T=0;T<M.length;T++){const b=M[T];switch(b.mode){case r.NUMERIC:I.push([b,{data:b.data,mode:r.ALPHANUMERIC,length:b.length},{data:b.data,mode:r.BYTE,length:b.length}]);break;case r.ALPHANUMERIC:I.push([b,{data:b.data,mode:r.BYTE,length:b.length}]);break;case r.KANJI:I.push([b,{data:b.data,mode:r.BYTE,length:h(b.data)}]);break;case r.BYTE:I.push([{data:b.data,mode:r.BYTE,length:h(b.data)}])}}return I}(P(I,c.isKanjiModeEnabled())),L=function S(M,I){const T={},b={start:{}};let H=["start"];for(let L=0;L<M.length;L++){const l=M[L],x=[];for(let p=0;p<l.length;p++){const d=l[p],A=""+L+p;x.push(A),T[A]={node:d,lastCount:0},b[A]={};for(let B=0;B<H.length;B++){const f=H[B];T[f]&&T[f].node.mode===d.mode?(b[f][A]=u(T[f].lastCount+d.length,d.mode)-u(T[f].lastCount,d.mode),T[f].lastCount+=d.length):(T[f]&&(T[f].lastCount=d.length),b[f][A]=u(d.length,d.mode)+4+r.getCharCountIndicator(d.mode,I))}}H=x}for(let L=0;L<H.length;L++)b[H[L]].end=0;return{map:b,table:T}}(H,T),l=g.find_path(L.map,"start","end"),x=[];for(let p=1;p<l.length-1;p++)x.push(L.table[l[p]].node);return o.fromArray(function m(M){return M.reduce(function(I,T){const b=I.length-1>=0?I[I.length-1]:null;return b&&b.mode===T.mode?(I[I.length-1].data+=T.data,I):(I.push(T),I)},[])}(x))},o.rawSplit=function(I){return o.fromArray(P(I,c.isKanjiModeEnabled()))}},34792:(w,o)=>{let s;const r=[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];o.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 4*t+17},o.getSymbolTotalCodewords=function(t){return r[t]},o.getBCHDigit=function(n){let t=0;for(;0!==n;)t++,n>>>=1;return t},o.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');s=t},o.isKanjiModeEnabled=function(){return typeof s<"u"},o.toSJIS=function(t){return s(t)}},94406:(w,o)=>{o.isValid=function(r){return!isNaN(r)&&r>=1&&r<=40}},42088:(w,o,s)=>{const r=s(34792),n=s(14655),t=s(82259),e=s(64016),i=s(94406),c=r.getBCHDigit(7973);function h(u,m){return e.getCharCountIndicator(u,m)+4}function N(u,m){let C=0;return u.forEach(function(S){const V=h(S.mode,m);C+=V+S.getBitsLength()}),C}o.from=function(m,C){return i.isValid(m)?parseInt(m,10):C},o.getCapacity=function(m,C,S){if(!i.isValid(m))throw new Error("Invalid QR Code version");typeof S>"u"&&(S=e.BYTE);const I=8*(r.getSymbolTotalCodewords(m)-n.getTotalCodewordsCount(m,C));if(S===e.MIXED)return I;const T=I-h(S,m);switch(S){case e.NUMERIC:return Math.floor(T/10*3);case e.ALPHANUMERIC:return Math.floor(T/11*2);case e.KANJI:return Math.floor(T/13);default:return Math.floor(T/8)}},o.getBestVersionForData=function(m,C){let S;const V=t.from(C,t.M);if(Array.isArray(m)){if(m.length>1)return function P(u,m){for(let C=1;C<=40;C++)if(N(u,C)<=o.getCapacity(C,m,e.MIXED))return C}(m,V);if(0===m.length)return 1;S=m[0]}else S=m;return function g(u,m,C){for(let S=1;S<=40;S++)if(m<=o.getCapacity(S,C,u))return S}(S.mode,S.getLength(),V)},o.getEncodedBits=function(m){if(!i.isValid(m)||m<7)throw new Error("Invalid QR Code version");let C=m<<12;for(;r.getBCHDigit(C)-c>=0;)C^=7973<<r.getBCHDigit(C)-c;return m<<12|C}},23210:(w,o,s)=>{const r=s(36355);o.render=function(i,a,c){let g=c,h=a;typeof g>"u"&&(!a||!a.getContext)&&(g=a,a=void 0),a||(h=function t(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),g=r.getOptions(g);const N=r.getImageWidth(i.modules.size,g),P=h.getContext("2d"),u=P.createImageData(N,N);return r.qrToImageData(u.data,i,g),function n(e,i,a){e.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=a,i.width=a,i.style.height=a+"px",i.style.width=a+"px"}(P,h,N),P.putImageData(u,0,0),h},o.renderToDataURL=function(i,a,c){let g=c;return typeof g>"u"&&(!a||!a.getContext)&&(g=a,a=void 0),g||(g={}),o.render(i,a,g).toDataURL(g.type||"image/png",(g.rendererOpts||{}).quality)}},22334:(w,o,s)=>{const r=s(36355);function n(i,a){const c=i.a/255,g=a+'="'+i.hex+'"';return c<1?g+" "+a+'-opacity="'+c.toFixed(2).slice(1)+'"':g}function t(i,a,c){let g=i+a;return typeof c<"u"&&(g+=" "+c),g}o.render=function(a,c,g){const h=r.getOptions(c),N=a.modules.size,P=a.modules.data,u=N+2*h.margin,m=h.color.light.a?"<path "+n(h.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",C="<path "+n(h.color.dark,"stroke")+' d="'+function e(i,a,c){let g="",h=0,N=!1,P=0;for(let u=0;u<i.length;u++){const m=Math.floor(u%a),C=Math.floor(u/a);!m&&!N&&(N=!0),i[u]?(P++,u>0&&m>0&&i[u-1]||(g+=N?t("M",m+c,.5+C+c):t("m",h,0),h=0,N=!1),m+1<a&&i[u+1]||(g+=t("h",P),P=0)):h++}return g}(P,N,h.margin)+'"/>',M='<svg xmlns="http://www.w3.org/2000/svg" '+(h.width?'width="'+h.width+'" height="'+h.width+'" ':"")+'viewBox="0 0 '+u+" "+u+'" shape-rendering="crispEdges">'+m+C+"</svg>\n";return"function"==typeof g&&g(null,M),M}},36355:(w,o)=>{function s(r){if("number"==typeof r&&(r=r.toString()),"string"!=typeof r)throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+r);(3===n.length||4===n.length)&&(n=Array.prototype.concat.apply([],n.map(function(e){return[e,e]}))),6===n.length&&n.push("F","F");const t=parseInt(n.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:255&t,hex:"#"+n.slice(0,6).join("")}}o.getOptions=function(n){n||(n={}),n.color||(n.color={});const e=n.width&&n.width>=21?n.width:void 0;return{width:e,scale:e?4:n.scale||4,margin:typeof n.margin>"u"||null===n.margin||n.margin<0?4:n.margin,color:{dark:s(n.color.dark||"#000000ff"),light:s(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},o.getScale=function(n,t){return t.width&&t.width>=n+2*t.margin?t.width/(n+2*t.margin):t.scale},o.getImageWidth=function(n,t){const e=o.getScale(n,t);return Math.floor((n+2*t.margin)*e)},o.qrToImageData=function(n,t,e){const i=t.modules.size,a=t.modules.data,c=o.getScale(i,e),g=Math.floor((i+2*e.margin)*c),h=e.margin*c,N=[e.color.light,e.color.dark];for(let P=0;P<g;P++)for(let u=0;u<g;u++){let m=4*(P*g+u),C=e.color.light;P>=h&&u>=h&&P<g-h&&u<g-h&&(C=N[a[Math.floor((P-h)/c)*i+Math.floor((u-h)/c)]?1:0]),n[m++]=C.r,n[m++]=C.g,n[m++]=C.b,n[m]=C.a}}}}]);