1/*! For license information please see 6f8f4647f401bfd7b0592f268d1f448b3b766951-a6fa227e77be3c070969.js.LICENSE.txt */ 2"use strict";(self.webpackChunkgatsby_starter_website_future=self.webpackChunkgatsby_starter_website_future||[]).push([[9426],{7875:function(e,t,n){n.d(t,{ks:function(){return w},Ay:function(){return v},R:function(){return M}});var r=n(16522),i=n(36459),o=n(96540),s=n(27228);const a="https://davidlloyd.page.link/app";var l=n(23394),c=n(88807),u=n(83223),h=n(7811),d=n(19483),m=n(82098),g=n(26973),f=n(79331);const p=e=>{const t=(0,r.c)(33),n=e.onClose,s=(0,o.use)(c.Z),p=s.buildType,E=s.styling;let C;t[0]!==p?(C=(0,u.j)(p),t[0]=p,t[1]=C):C=t[1];const w="1px solid "+C.highlight;let M;t[2]!==w?(M=[m.Uu.columnCentered,{justifyContent:"center",border:w,borderRadius:"50%",width:"18rem",height:"18rem"}],t[2]=w,t[3]=M):M=t[3];const v=M;let y,A,R,N,S,b,_,P,I,z,O,k,L,F,x;return t[4]===Symbol.for("react.memo_cache_sentinel")?(y=[m.Uu.columnCentered,{padding:"2rem 5rem 3.5rem",fontSize:"1rem"}],t[4]=y):y=t[4],t[5]!==p?(A=(0,h.I)(p),t[5]=p,t[6]=A):A=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(R={marginBottom:"1rem"},t[7]=R):R=t[7],t[8]!==A.header?(N=[A.header,R],t[8]=A.header,t[9]=N):N=t[9],t[10]===Symbol.for("react.memo_cache_sentinel")?(S=(0,f.Y)(g.AU,{lookupKey:"downloadTheMobileAppHere"}),t[10]=S):S=t[10],t[11]!==N?(b=(0,f.Y)("div",{css:N},S),t[11]=N,t[12]=b):b=t[12],t[13]===Symbol.for("react.memo_cache_sentinel")?(_={marginBottom:"2rem",textAlign:"center"},t[13]=_):_=t[13],t[14]!==E.fonts.light?(P=[E.fonts.light,_],t[14]=E.fonts.light,t[15]=P):P=t[15],t[16]!==p?(I=(0,d.x8)(p),t[16]=p,t[17]=I):I=t[17],t[18]!==I.displayName?(z=(0,f.Y)(g.AU,{lookupKey:"appQrCodeInstructions",params:{brandName:I.displayName}}),t[18]=I.displayName,t[19]=z):z=t[19],t[20]!==P||t[21]!==z?(O=(0,f.Y)("div",{css:P},z),t[20]=P,t[21]=z,t[22]=O):O=t[22],t[23]===Symbol.for("react.memo_cache_sentinel")?(k=(0,f.Y)("div",{css:[m.Uu.centerDisplay,"width:50%;height:50%;","","",""]},(0,f.Y)(i.h,{value:a})),t[23]=k):k=t[23],t[24]!==v?(L=(0,f.Y)("div",{css:v},k),t[24]=v,t[25]=L):L=t[25],t[26]!==O||t[27]!==L||t[28]!==b?(F=(0,f.Y)("div",{css:y},b,O,L),t[26]=O,t[27]=L,t[28]=b,t[29]=F):F=t[29],t[30]!==n||t[31]!==F?(x=(0,f.Y)(l.A,{onCloseButtonClicked:n},F),t[30]=n,t[31]=F,t[32]=x):x=t[32],x};var E=n(12273),C="cY_n8";const w={imagePath:"https://imagelibrary.davidlloyd.co.uk/transform/57994ae7-26ef-4514-ae78-390d7a2b8649/Badge-App-Store",alternateText:"App store",horizontalFocus:"center",leftHighlight:!1},M={imagePath:"https://imagelibrary.davidlloyd.co.uk/transform/c381a111-4de5-48e8-86d6-7545fa01ff51/Badge-Google-Play-download",alternateText:"Play store",horizontalFocus:"center",leftHighlight:!1};var v=e=>{const t=(0,r.c)(17),n=e.useQrPopup,l=e.useNewImages,c=(0,o.useState)(!1),u=c[0],h=c[1];let d,m;t[0]!==u?(d=u&&(0,f.Y)(p,{onClose:()=>h(!1)}),t[0]=u,t[1]=d):d=t[1],t[2]===Symbol.for("react.memo_cache_sentinel")?(m=()=>h(!0),t[2]=m):m=t[2];const g=l?w:s.k8;let v,y;t[3]!==g?(v=(0,f.Y)("div",{className:C,onClick:m},(0,f.Y)(E.Ay,{image:g,fixedImage:!0,isDownloadApp:!0})),t[3]=g,t[4]=v):v=t[4],t[5]===Symbol.for("react.memo_cache_sentinel")?(y=()=>h(!0),t[5]=y):y=t[5];const A=l?M:s.VB;let R,N,S,b;return t[6]!==A?(R=(0,f.Y)("div",{className:C,onClick:y},(0,f.Y)(E.Ay,{image:A,fixedImage:!0,isDownloadApp:!0})),t[6]=A,t[7]=R):R=t[7],t[8]!==d||t[9]!==v||t[10]!==R?(N=(0,f.Y)("div",{className:"cY_g"},d,v,R),t[8]=d,t[9]=v,t[10]=R,t[11]=N):N=t[11],t[12]!==n?(S=n&&(0,f.Y)("div",{className:"cY_n9"},(0,f.Y)(i.h,{value:a,size:80,onClick:()=>h(!0)})),t[12]=n,t[13]=S):S=t[13],t[14]!==N||t[15]!==S?(b=(0,f.Y)(o.Fragment,null,N,S),t[14]=N,t[15]=S,t[16]=b):b=t[16],b}},27228:function(e,t,n){n.d(t,{Nd:function(){return s},VB:function(){return i},k8:function(){return r},lX:function(){return a},wX:function(){return o}});const r={imagePath:"/fixed-images/app-store.png",alternateText:"Download the iOS app",horizontalFocus:"center",leftHighlight:!1},i={imagePath:"/fixed-images/play-store.png",alternateText:"Download the Android app",horizontalFocus:"center",leftHighlight:!1},o={imagePath:"/fixed-images/online-joining-mobile-app.png",alternateText:"The David Lloyd Clubs app",horizontalFocus:"center",leftHighlight:!1},s={imagePath:"/fixed-images/harbour-mobile-app.png",alternateText:"The Harbour Club app",horizontalFocus:"center",leftHighlight:!1},a={imagePath:"/fixed-images/meridian-mobile-app.png",alternateText:"The Meridian app",horizontalFocus:"center",leftHighlight:!1}},36459:function(e,t,n){n.d(t,{h:function(){return R}});var r,i=n(96540),o=Object.defineProperty,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>
vendor: 12,617 bytes, line 2
2{for(var n in t||(t={}))a.call(t,n)&&c(e,n,t[n]);if(s)for(var n of s(t))l.call(t,n)&&c(e,n,t[n]);return e},h=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class t{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let s=[];for(let t=0;t<this.size;t++)s.push(!1);for(let t=0;t<this.size;t++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();const a=this.addEccAndInterleave(r);if(this.drawCodewords(a),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const i=e.QrSegment.makeSegments(n);return t.encodeSegments(i,r)}static encodeBinary(n,r){const i=e.QrSegment.makeBytes(n);return t.encodeSegments([i],r)}static encodeSegments(e,r,o=1,a=40,l=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let u,h;for(u=o;;u++){const n=8*t.getNumDataCodewords(u,r),i=s.getTotalBits(e,u);if(i<=n){h=i;break}if(u>=a)throw new RangeError("Data too long")}for(const n of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&h<=8*t.getNumDataCodewords(u,n)&&(r=n);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(u),d);for(const e of t.getData())d.push(e)}i(d.length==h);const m=8*t.getNumDataCodewords(u,r);i(d.length<=m),n(0,Math.min(4,m-d.length),d),n(0,(8-d.length%8)%8,d),i(d.length%8==0);for(let t=236;d.length<m;t^=253)n(t,8,d);let g=[];for(;8*g.length<d.length;)g.push(0);return d.forEach((e,t)=>g[t>>>3]|=e<<7-(7&t)),new t(u,r,g,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let n=0;n<this.size;n++)this.setFunctionModule(6,n,n%2==0),this.setFunctionModule(n,6,n%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let r=0;r<10;r++)n=n<<1^1335*(n>>>9);const o=21522^(t<<10|n);i(o>>>15==0);for(let i=0;i<=5;i++)this.setFunctionModule(8,i,r(o,i));this.setFunctionModule(8,7,r(o,6)),this.setFunctionModule(8,8,r(o,7)),this.setFunctionModule(7,8,r(o,8));for(let i=9;i<15;i++)this.setFunctionModule(14-i,8,r(o,i));for(let i=0;i<8;i++)this.setFunctionModule(this.size-1-i,8,r(o,i));for(let i=8;i<15;i++)this.setFunctionModule(8,this.size-15+i,r(o,i));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let n=0;n<12;n++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let n=0;n<18;n++){const e=r(t,n),i=this.size-11+n%3,o=Math.floor(n/3);this.setFunctionModule(i,o,e),this.setFunctionModule(o,i,e)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const i=Math.max(Math.abs(r),Math.abs(n)),o=e+r,s=t+n;0<=o&&o<this.size&&0<=s&&s<this.size&&this.setFunctionModule(o,s,2!=i&&4!=i)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],s=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),l=o-a%o,c=Math.floor(a/o);let u=[];const h=t.reedSolomonComputeDivisor(s);for(let i=0,m=0;i<o;i++){let n=e.slice(m,m+c-s+(i<l?0:1));m+=n.length;const r=t.reedSolomonComputeRemainder(n,h);i<l&&n.push(0),u.push(n.concat(r))}let d=[];for(let t=0;t<u[0].length;t++)u.forEach((e,n)=>{(t!=c-s||n>=l)&&d.push(e[t])});return i(d.length==a),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let i=0;i<this.size;i++)for(let o=0;o<2;o++){const s=t-o,a=!(t+1&2)?this.size-1-i:i;!this.isFunction[a][s]&&n<8*e.length&&(this.modules[a][s]=r(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let i=0;i<this.size;i++){let n=!1,r=0,o=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[i][s]==n?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[i][s],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,o)*t.PENALTY_N3}for(let i=0;i<this.size;i++){let n=!1,r=0,o=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[s][i]==n?(r++,5==r?e+=t.PENALTY_N1:r>5&&e++):(this.finderPenaltyAddHistory(r,o),n||(e+=this.finderPenaltyCountPatterns(o)*t.PENALTY_N3),n=this.modules[s][i],r=1);e+=this.finderPenaltyTerminateAndCount(n,r,o)*t.PENALTY_N3}for(let i=0;i<this.size-1;i++)for(let n=0;n<this.size-1;n++){const r=this.modules[i][n];r==this.modules[i][n+1]&&r==this.modules[i+1][n]&&r==this.modules[i+1][n+1]&&(e+=t.PENALTY_N2)}let n=0;for(const t of this.modules)n=t.reduce((e,t)=>e+(t?1:0),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let i=0;i<e;i++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map(e=>0);for(const i of e){const e=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=t.reedSolomonMultiply(n,e))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function n(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function r(e,t){return!!(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}e.QrCode=t;const o=class e{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(t){let r=[];for(const e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw new RangeError("String contains non-numeric characters");let r=[];for(let e=0;e<t.length;){const i=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+i),10),3*i+1,r),e+=i}return new e(e.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");let r,i=[];for(r=0;r+2<=t.length;r+=2){let o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r));o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),n(o,11,i)}return r<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,i),new e(e.Mode.ALPHANUMERIC,t.length,i)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)n(t,8,r);else if(t<16384)n(2,2,r),n(t,14,r);else{if(!(t<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,r),n(t,21,r)}return new e(e.Mode.ECI,0,r)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2);return t}};o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let s=o;e.QrSegment=o})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2);e.Ecc=t})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]);e.Mode=t})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var d=r,m={L:d.QrCode.Ecc.LOW,M:d.QrCode.Ecc.MEDIUM,Q:d.QrCode.Ecc.QUARTILE,H:d.QrCode.Ecc.HIGH},g=128,f="L",p="#FFFFFF",E="#000000",C=!1,w=1;function M(e,t=0){const n=[];return e.forEach(function(e,r){let i=null;e.forEach(function(o,s){if(!o&&null!==i)return n.push(`M${i+t} ${r+t}h${s-i}v1H${i+t}z`),void(i=null);if(s!==e.length-1)o&&null===i&&(i=s);else{if(!o)return;null===i?n.push(`M${s+t},${r+t} h1v1H${s+t}z`):n.push(`M${i+t},${r+t} h${s+1-i}v1H${i+t}z`)}})}),n.join("")}function v(e,t){return e.slice().map((e,n)=>n<t.y||n>=t.y+t.h?e:e.map((e,n)=>(n<t.x||n>=t.x+t.w)&&e))}function y({value:e,level:t,minVersion:n,includeMargin:r,marginSize:o,imageSettings:s,size:a,boostLevel:l}){let c=i.useMemo(()=>{const r=(Array.isArray(e)?e:[e]).reduce((e,t)=>
2(e.push(...d.QrSegment.makeSegments(t)),e),[]);return d.QrCode.encodeSegments(r,m[t],n,void 0,void 0,l)},[e,t,n,l]);const{cells:u,margin:h,numCells:g,calculatedImageSettings:f}=i.useMemo(()=>{let e=c.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,o),n=e.length+2*t,i=function(e,t,n,r){if(null==r)return null;const i=e.length+2*n,o=Math.floor(.1*t),s=i/t,a=(r.width||o)*s,l=(r.height||o)*s,c=null==r.x?e.length/2-a/2:r.x*s,u=null==r.y?e.length/2-l/2:r.y*s,h=null==r.opacity?1:r.opacity;let d=null;if(r.excavate){let e=Math.floor(c),t=Math.floor(u);d={x:e,y:t,w:Math.ceil(a+c-e),h:Math.ceil(l+u-t)}}return{x:c,y:u,h:l,w:a,excavation:d,opacity:h,crossOrigin:r.crossOrigin}}(e,a,t,s);return{cells:e,margin:t,numCells:n,calculatedImageSettings:i}},[c,a,s,r,o]);return{qrcode:c,margin:h,cells:u,numCells:g,calculatedImageSettings:f}}var A=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();i.forwardRef(function(e,t){const n=e,{value:r,size:o=g,level:s=f,bgColor:a=p,fgColor:l=E,includeMargin:c=C,minVersion:d=w,boostLevel:m,marginSize:R,imageSettings:N}=n,S=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:b}=S,_=h(S,["style"]),P=null==N?void 0:N.src,I=i.useRef(null),z=i.useRef(null),O=i.useCallback(e=>{I.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[k,L]=i.useState(!1),{margin:F,cells:x,numCells:T,calculatedImageSettings:Y}=y({value:r,level:s,minVersion:d,boostLevel:m,includeMargin:c,marginSize:R,imageSettings:N,size:o});i.useEffect(()=>{if(null!=I.current){const e=I.current,t=e.getContext("2d");if(!t)return;let n=x;const r=z.current,i=null!=Y&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;i&&null!=Y.excavation&&(n=v(x,Y.excavation));const s=window.devicePixelRatio||1;e.height=e.width=o*s;const c=o/T*s;t.scale(c,c),t.fillStyle=a,t.fillRect(0,0,T,T),t.fillStyle=l,A?t.fill(new Path2D(M(n,F))):x.forEach(function(e,n){e.forEach(function(e,r){e&&t.fillRect(r+F,n+F,1,1)})}),Y&&(t.globalAlpha=Y.opacity),i&&t.drawImage(r,Y.x+F,Y.y+F,Y.w,Y.h)}}),i.useEffect(()=>{L(!1)},[P]);const D=u({height:o,width:o},b);let B=null;return null!=P&&(B=i.createElement("img",{src:P,key:P,style:{display:"none"},onLoad:()=>{L(!0)},ref:z,crossOrigin:null==Y?void 0:Y.crossOrigin})),i.createElement(i.Fragment,null,i.createElement("canvas",u({style:D,height:o,width:o,ref:O,role:"img"},_)),B)}).displayName="QRCodeCanvas";var R=i.forwardRef(function(e,t){const n=e,{value:r,size:o=g,level:s=f,bgColor:a=p,fgColor:l=E,includeMargin:c=C,minVersion:d=w,boostLevel:m,title:A,marginSize:R,imageSettings:N}=n,S=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:b,cells:_,numCells:P,calculatedImageSettings:I}=y({value:r,level:s,minVersion:d,boostLevel:m,includeMargin:c,marginSize:R,imageSettings:N,size:o});let z=_,O=null;null!=N&&null!=I&&(null!=I.excavation&&(z=v(_,I.excavation)),O=i.createElement("image",{href:N.src,height:I.h,width:I.w,x:I.x+b,y:I.y+b,preserveAspectRatio:"none",opacity:I.opacity,crossOrigin:I.crossOrigin}));const k=M(z,b);return i.createElement("svg",u({height:o,width:o,viewBox:`0 0 ${P} ${P}`,ref:t,role:"img"},S),!!A&&i.createElement("title",null,A),i.createElement("path",{fill:a,d:`M0,0 h${P}v${P}H0z`,shapeRendering:"crispEdges"}),i.createElement("path",{fill:l,d:k,shapeRendering:"crispEdges"}),O)});R.displayName="QRCodeSVG"},93132:function(e,t,n){n.d(t,{A:function(){return u}});var r=n(16522),i=n(7875),o=n(27228),s=n(20663),a="cV_nZ",l=n(12273),c=n(79331);var u=e=>{const t=(0,r.c)(18),n=e.cssOverride,u=e.appStoreLinkOverride,h=e.playStoreLinkOverride,d=e.useNewImages;let m;t[0]!==u?(m=u||(0,s.CJ)(),t[0]=u,t[1]=m):m=t[1];const g=d?i.ks:o.k8;let f,p,E;t[2]!==g?(f=(0,c.Y)(l.Ay,{image:g,fixedImage:!0,isDownloadApp:!0}),t[2]=g,t[3]=f):f=t[3],t[4]!==m||t[5]!==f?(p=(0,c.Y)("div",{className:a},(0,c.Y)("a",{href:m,target:"_blank",rel:"noopener noreferrer"},f)),t[4]=m,t[5]=f,t[6]=p):p=t[6],t[7]!==h?(E=h||(0,s.Dk)(),t[7]=h,t[8]=E):E=t[8];const C=d?i.R:o.VB;let w,M,v;return t[9]!==C?(w=(0,c.Y)(l.Ay,{image:C,fixedImage:!0,isDownloadApp:!0}),t[9]=C,t[10]=w):w=t[10],t[11]!==E||t[12]!==w?(M=(0,c.Y)("div",{className:a},(0,c.Y)("a",{href:E,target:"_blank",rel:"noopener noreferrer"},w)),t[11]=E,t[12]=w,t[13]=M):M=t[13],t[14]!==n||t[15]!==p||t[16]!==M?(v=(0,c.Y)("div",{className:"cV_g",style:n}
2,p,M),t[14]=n,t[15]=p,t[16]=M,t[17]=v):v=t[17],v}}}]); 3//# sourceMappingURL=6f8f4647f401bfd7b0592f268d1f448b3b766951-a6fa227e77be3c070969.js.map
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.