PageSourceSearch

https://zomni.app/_next/static/immutable/chunks/2xj5lxoo-o44-.js

js zomni.app collected 2026-10-02 16:00:05 UTC 28,901 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44331,e=>{"use strict";var t=e.i(62815),r=e.i(64899),n=e.i(73269),i=e.i(79909),o=e.i(87575),a=e.i(4136);function l(){return null}var u=(0,i.default)(function(){return e.A(43480).then(function(e){return e.ContentWebVitalsReporter}).catch(function(){return l})},{loadableGenerated:{modules:[30993]},ssr:!1}),s=["consentGiven","cookie-consent-changed"];function c(){return(0,a.trackFirstHiddenTime)()}e.s(["ContentWebVitals",0,function(){var e,i,a,l,d=(0,n.c)(6),h=(0,t._)((0,o.useState)(!1),2),f=h[0],v=h[1];return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],d[0]=e):e=d[0],(0,o.useEffect)(c,e),d[1]!==f?(i=function(){if(!f){var e=function(){"hidden"!==document.visibilityState&&function(){try{return"accepted"===localStorage.getItem("cookie-consent")}catch(e){return!1}}()&&v(!0)},t=function(t){"cookie-consent"===t.key&&e()};e();var r=!0,n=!1,i=void 0;try{for(var o,a=s[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var l=o.value;window.addEventListener(l,e)}}catch(e){n=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw i}}return window.addEventListener("storage",t),document.addEventListener("visibilitychange",e),function(){var r=!0,n=!1,i=void 0;try{for(var o,a=s[Symbol.iterator]();!(r=(o=a.next()).done);r=!0){var l=o.value;window.removeEventListener(l,e)}}catch(e){n=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw i}}window.removeEventListener("storage",t),document.removeEventListener("visibilitychange",e)}}},a=[f],d[1]=f,d[2]=i,d[3]=a):(i=d[2],a=d[3]),(0,o.useEffect)(i,a),d[4]!==f?(l=f?(0,r.jsx)(u,{}):null,d[4]=f,d[5]=l):l=d[5],l}])},36373,e=>{"use strict";var t=e.i(64899),r=e.i(73269),n=e.i(76432),i=e.i(45541),o=e.i(10430);e.s(["ComparisonDesktopQr",0,function(e){var a,l,u,s,c=(0,r.c)(9),d=e.caption,h=(0,n.usePathname)();c[0]!==h?(a=(0,o.contentQrDownloadUrlForPath)(h),c[0]=h,c[1]=a):a=c[1];var f=a;return c[2]!==f?(l=(0,t.jsx)("div",{className:"rounded-2xl border border-white/10 bg-white p-3 shadow-[0_8px_24px_rgba(0,0,0,0.25)]",children:(0,t.jsx)(i.QRCodeSVG,{value:f,size:112,marginSize:1,level:"M"})}),c[2]=f,c[3]=l):l=c[3],c[4]!==d?(u=(0,t.jsx)("span",{className:"max-w-[8.5rem] text-center text-xs leading-tight text-white/60",children:d}),c[4]=d,c[5]=u):u=c[5],c[6]!==l||c[7]!==u?(s=(0,t.jsxs)("div",{className:"hidden lg:flex flex-col items-center gap-2","aria-hidden":"true",children:[l,u]}),c[6]=l,c[7]=u,c[8]=s):s=c[8],s}])},21441,e=>{"use strict";var t=e.i(64899),r=e.i(73269),n=e.i(76432),i=e.i(18927);e.s(["TrackedAppStoreLink",0,function(e){var o,a,l=(0,r.c)(9),u=e.href,s=e.children,c=e.className,d=e.surface,h=void 0===d?"compare_app_card":d,f=(0,n.usePathname)();return l[0]!==u||l[1]!==f||l[2]!==h?(o=function(){(0,i.trackAppStoreCtaClicked)("compare_page",{href:u,page_path:f,surface:h})},l[0]=u,l[1]=f,l[2]=h,l[3]=o):o=l[3],l[4]!==s||l[5]!==c||l[6]!==u||l[7]!==o?(a=(0,t.jsx)("a",{href:u,target:"_blank",rel:"noopener noreferrer",onClick:o,className:c,children:s}),l[4]=s,l[5]=c,l[6]=u,l[7]=o,l[8]=a):a=l[8],a}])},69884,e=>{"use strict";var t=e.i(73269),r=e.i(87575),n=e.i(37986);e.s(["MetaViewContent",0,function(e){var i,o,a=(0,t.c)(5),l=e.contentId,u=e.category,s=e.locale,c=(0,r.useRef)(null);return a[0]!==u||a[1]!==l||a[2]!==s?(i=function(){var e,t,r="".concat(u,":").concat(l,":").concat(s);if(c.current!==r&&"function"==typeof window.fbq){c.current=r;var i={content_ids:[l],content_type:"product",content_category:u,content_language:s},o=(0,n.trackMetaEvent)("ViewContent",i);o&&(null==(e=(t=window).zomniMetaServerEvent)||e.call(t,"ViewContent",o,i))}},o=[l,u,s],a[0]=u,a[1]=l,a[2]=s,a[3]=i,a[4]=o):(i=a[3],o=a[4]),(0,r.useEffect)(i,o),null}])},4136,e=>{"use strict";var t;e.s(["getFirstHiddenTime",0,function(){return null!=t?t:1/0},"trackFirstHiddenTime",0,function(){if(void 0===t&&!("u"<typeof document)){var e=!0===document.prerendering;if(0!=(t="hidden"!==document.visibilityState||e?1/0:0)){var r=function(){"hidden"===document.visibilityState&&(t=performance.now(),document.removeEventListener("visibilitychange",r,!0))};document.addEventListener("visibilitychange",r,!0)}}}])},38652,e=>{"use strict";var t=e.i(20778),r=e.i(47990),n=e.i(62815),i=e.i(40552),o=e.i(10264),a=e.i(87575),l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e,t,r){return!!e&&""!==e.trim()&&r.indexOf(e)===t}).join(" ").trim()},u=e.i(84622),s=e.i(6334),c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},d=function(e){for(var t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},h=(0,a.createContext)({}),f=(0,a.forwardRef)(function(e,f){var v,m,g,y=(0,i._)([e,f]),w=y[0],p=y.slice(1),E=w.
1color,C=w.size,_=w.width,M=w.height,k=w.strokeWidth,S=w.absoluteStrokeWidth,b=w.nonScalingStroke,R=w.className,N=w.children,A=w.iconNode,P=w.icon,x=(0,r._)(w,["color","size","width","height","strokeWidth","absoluteStrokeWidth","nonScalingStroke","className","children","iconNode","icon"]),z=(0,n._)(p,1)[0],I=null!=(v=(0,a.useContext)(h))?v:{},L=I.size,O=void 0===L?24:L,F=I.strokeWidth,T=I.absoluteStrokeWidth,B=I.nonScalingStroke,D=I.color,H=I.className,j=!!N||d(x),U=(0,n._)(function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){var r,i,a,d,h,f,v,m,g,y,w,p,E,C,_,M,k=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},S=null!=(r=k.attributeNames)?r:{},b=function(e){var t;return null!=(t=S[e])?t:e},R=null!=(i=null!=(a=e.size)?a:e.width)?i:c.width,N=null!=(d=null!=(h=e.size)?h:e.height)?d:c.height,A=null!=(f=null==(C=e.aliases)?void 0:C.filter(function(e){return"string"==typeof e&&""!==e.trim()}).map(function(e){return"lucide-".concat(e)}))?f:[],P=(0,o._)(e.name?["lucide-".concat(e.name)]:[]).concat((0,o._)(A)),x=null!=(v=null==(_=k.className)?void 0:_.split(" ").filter(Boolean))?v:[],z=!1===k.includeDefaultClasses?l.apply(void 0,(0,o._)(x)):l.apply(void 0,["lucide"].concat((0,o._)(P),(0,o._)(x))),I=k.absoluteStrokeWidth?Number(null!=(m=k.strokeWidth)?m:c["stroke-width"])*Number(null!=(g=null!=(y=e.size)?y:e.width)?g:c.width)/Number(null!=(w=null!=(p=k.size)?p:k.width)?w:c.width):null!=(E=k.strokeWidth)?E:c["stroke-width"];return["svg",(0,t._)((0,u._)((0,t._)((0,u._)((0,t._)({},Object.entries(c).reduce(function(e,t){var r=(0,n._)(t,2),i=r[0],o=r[1];return e[b(i)]=o,e},{}),"color"in k&&k.color&&(0,s._)({},b("stroke"),k.color),"size"in k&&null!=k.size&&(M={},(0,s._)(M,b("width"),k.size),(0,s._)(M,b("height"),k.size),M),"width"in k&&null!=k.width&&(0,s._)({},b("width"),k.width),"height"in k&&null!=k.height&&(0,s._)({},b("height"),k.height)),(0,s._)({},b("stroke-width"),I)),z&&(0,s._)({},b("class"),z)),(0,s._)({},b("viewBox"),"0 0 ".concat(R," ").concat(N))),!1===k.hasA11yProp?(0,s._)({},b("aria-hidden"),"true"):{},"attributes"in k&&k.attributes),e.node.map(function(e){var r=(0,n._)(e,3),i=r[0],o=r[1],a=r[2],l=k.nonScalingStroke?(0,t._)((0,s._)({},b("vector-effect"),"non-scaling-stroke"),o):o;return a?[i,l,a]:[i,l]})]}(e,(0,u._)((0,t._)({},r),{attributeNames:(0,u._)((0,t._)({},r.attributeNames),{class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"})}))}(void 0===P?{node:void 0===A?[]:A,aliases:[],size:24}:P,{color:null!=E?E:void 0===D?"currentColor":D,width:null!=(m=null!=_?_:C)?m:O,height:null!=(g=null!=M?M:C)?g:O,strokeWidth:null!=k?k:void 0===F?2:F,absoluteStrokeWidth:null!=S?S:void 0!==T&&T,nonScalingStroke:null!=b?b:void 0!==B&&B,className:l(void 0===H?"":H,void 0===R?"":R),hasA11yProp:j,attributes:x}),3),V=U[0],Q=U[1],W=U[2];return(0,a.createElement)(V,(0,t._)({ref:z},Q),(0,o._)((void 0===W?[]:W).map(function(e){var t=(0,n._)(e,2),r=t[0],i=t[1];return(0,a.createElement)(r,i)})).concat((0,o._)(Array.isArray(N)?N:[N])))});e.s(["default",0,f],38652)},49501,(e,t,r)=>{"use strict";var n=e.r(76978),i=e.r(56605);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});var o=e.r(64899),a=e.r(87575),l=e.r(86579),u=e.r(31820);function s(e){return{default:e&&"default"in e?e.default:e}}var c={loader:function(){return Promise.resolve(s(function(){return null}))},loading:null,ssr:!0},d=function(e){var t=n._({},c,e),r=(0,a.lazy)(function(){return t.loader().then(s)}),d=t.loading;function h(e){var s=d?(0,o.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,c=!t.ssr||!!t.loading,h=c?a.Suspense:a.Fragment,f=t.ssr?(0,o.jsxs)(o.Fragment,{children:["u"<typeof window?(0,o.jsx)(u.PreloadChunks,{moduleIds:t.modules}):null,(0,o.jsx)(r,n._({},e))]}):(0,o.jsx)(l.BailoutToCSR,{reason:"next/dynamic",children:(0,o.jsx)(r,n._({},e))});return(0,o.jsx)(h,i._(n._({},c?{fallback:s}:{}),{children:f}))}return h.displayName="LoadableComponent",h}},79909,(e,t,r)=>{"use strict";var n=e.r(76978),i=e.r(56605),o=e.r(68453);
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});var a=e.r(36437)._(e.r(49501));function l(e,t){var r,o={};"function"==typeof e&&(o.loader=e);var l=n._({},o,t);return(0,a.default)(i._(n._({},l),{modules:null==(r=l.loadableGenerated)?void 0:r.modules}))}("function"==typeof r.default||"object"===o._(r.default)&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},45541,e=>{"use strict";var t,r,n,i,o,a,l,u,s,c,d,h,f,v,m=e.i(86264),g=e.i(28385),y=e.i(62815),w=e.i(10264),p=e.i(87575),E=Object.defineProperty,C=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,k=function(e,t,r){return t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},S=function(e,t){for(var r in t||(t={}))_.call(t,r)&&k(e,r,t[r]);var n=!0,i=!1,o=void 0;if(C)try{for(var a,l=C(t)[Symbol.iterator]();!(n=(a=l.next()).done);n=!0){var r=a.value;M.call(t,r)&&k(e,r,t[r])}}catch(e){i=!0,o=e}finally{try{n||null==l.return||l.return()}finally{if(i)throw o}}return e},b=function(e,t){var r={};for(var n in e)_.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);var i=!0,o=!1,a=void 0;if(null!=e&&C)try{for(var l,u=C(e)[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var n=l.value;0>t.indexOf(n)&&M.call(e,n)&&(r[n]=e[n])}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return r};t=v||(v={}),r=function(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var n=t-1;n>=0;n--)r.push(e>>>n&1)},n=function(e,t){return(e>>>t&1)!=0},i=function(e){if(!e)throw Error("Assertion error")},(o=function(){function e(t,r,n,o){if((0,m._)(this,e),this.version=t,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version value out of range");if(o<-1||o>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var a=[],l=0;l<this.size;l++)a.push(!1);for(var u=0;u<this.size;u++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();var s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==o)for(var c=1e9,d=0;d<8;d++){this.applyMask(d),this.drawFormatBits(d);var h=this.getPenaltyScore();h<c&&(o=d,c=h),this.applyMask(d)}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}return(0,g._)(e,[{key:"getModule",value:function(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}},{key:"getModules",value:function(){return this.modules}},{key:"drawFunctionPatterns",value:function(){for(var e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var t=this.getAlignmentPatternPositions(),r=t.length,n=0;n<r;n++)for(var i=0;i<r;i++)(0!=n||0!=i)&&(0!=n||i!=r-1)&&(n!=r-1||0!=i)&&this.drawAlignmentPattern(t[n],t[i]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,r=t,o=0;o<10;o++)r=r<<1^(r>>>9)*1335;var a=(t<<10|r)^21522;i(a>>>15==0);for(var l=0;l<=5;l++)this.setFunctionModule(8,l,n(a,l));this.setFunctionModule(8,7,n(a,6)),this.setFunctionModule(8,8,n(a,7)),this.setFunctionModule(7,8,n(a,8));for(var u=9;u<15;u++)this.setFunctionModule(14-u,8,n(a,u));for(var s=0;s<8;s++)this.setFunctionModule(this.size-1-s,8,n(a,s));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,n(a,c));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;i(r>>>18==0);for(var o=0;o<18;o++){var a=n(r,o),l=this.size-11+o%3,u=Math.floor(o/3);this.setFunctionModule(l,u,a),this.setFunctionModule(u,l,a)}}}},{key:"drawFinderPattern",value:function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var i=Math.max(Math.abs(n),Math.abs(r)),o=e+n,a=t+r;0<=o&&o<this.size&&0<=a&&a<this.size&&this.setFunctionModule(o,a,2!=i&&4!=i)}}},{key:"drawAlignmentPattern",value:function(e,t){for(var r=-2;r<=2;r++)for(var n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}},{key:"setFunctionModule",value:function(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}},{key:"addEccAndInterleave",value:function(t){var r=function(e){d.forEach(function(t,r){(e!=c-l||r>=s)&&y.push(t[e])})},n=this.version,o=this.errorCorrectionLevel;if(t.length!=e.getNumDataCodewords(n,o))throw RangeError("Invalid argument");for(var a=e.NUM_ERROR_CORRECTION_BLOCKS[o.ordinal][n],l=e.ECC_CODEWORDS_PER_BLOCK[o.ordinal][n],u=Math.floor(e.getNumRawDataModules(n)/8),s=a-u%a,c=Math.floor(u/a),d=[],h=e.reedSolomonComputeDivisor(l),f=0,v=0;f<a;f++){var m=t.slice(v,v+c-l+(f<s?0:1));v+=m.length;var g=e.reedSolomonComputeRemainder(m,h);f<s&&m.push(0),d.push(m.concat(g))}for(var y=[],w=0;w<d[0].length;w++)r(w);return i(y.length==u),y}},{key:"drawCodewords",value:function(t){if(t.length!=Math.floor(e.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");for(var r=0,o=this.size-1;o>=1;o-=2){6==o&&(o=5);for(var a=0;a<this.size;a++)for(var l=0;l<2;l++){var u=o-l,s=(o+1&2)==0?this.size-1-a:a;!this.isFunction[s][u]&&r<8*t.length&&(this.modules[s][u]=n(t[r>>>3],7-(7&r)),r++)}}i(r==8*t.length)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=0;t<this.size;t++)for(var r=0;r<this.size;r++){var n=void 0;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}},{key:"getPenaltyScore",value:function(){for(var t=0,r=0;r<this.size;r++){for(var n=!1,o=0,a=[0,0,0,0,0,0,0],l=0;l<this.size;l++)this.modules[r][l]==n?5==++o?t+=e.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,a),n||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),n=this.modules[r][l],o=1);t+=this.finderPenaltyTerminateAndCount(n,o,a)*e.PENALTY_N3}for(var u=0;u<this.size;u++){for(var s=!1,c=0,d=[0,0,0,0,0,0,0],h=0;h<this.size;h++)this.modules[h][u]==s?5==++c?t+=e.PENALTY_N1:c>5&&t++:(this.finderPenaltyAddHistory(c,d),s||(t+=this.finderPenaltyCountPatterns(d)*e.PENALTY_N3),s=this.modules[h][u],c=1);t+=this.finderPenaltyTerminateAndCount(s,c,d)*e.PENALTY_N3}for(var f=0;f<this.size-1;f++)for(var v=0;v<this.size-1;v++){var m=this.modules[f][v];m==this.modules[f][v+1]&&m==this.modules[f+1][v]&&m==this.modules[f+1][v+1]&&
1(t+=e.PENALTY_N2)}var g=0,y=!0,w=!1,p=void 0;try{for(var E,C=this.modules[Symbol.iterator]();!(y=(E=C.next()).done);y=!0)g=E.value.reduce(function(e,t){return e+ +!!t},g)}catch(e){w=!0,p=e}finally{try{y||null==C.return||C.return()}finally{if(w)throw p}}var _=this.size*this.size,M=Math.ceil(Math.abs(20*g-10*_)/_)-1;return i(0<=M&&M<=9),i(0<=(t+=M*e.PENALTY_N4)&&t<=2568888),t}},{key:"getAlignmentPatternPositions",value:function(){if(1==this.version)return[];for(var e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),r=[6],n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}},{key:"finderPenaltyCountPatterns",value:function(e){var t=e[1];i(t<=3*this.size);var r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}},{key:"finderPenaltyAddHistory",value:function(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}}],[{key:"encodeText",value:function(r,n){var i=t.QrSegment.makeSegments(r);return e.encodeSegments(i,n)}},{key:"encodeBinary",value:function(r,n){var i=t.QrSegment.makeBytes(r);return e.encodeSegments([i],n)}},{key:"encodeSegments",value:function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,s=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(e.MIN_VERSION<=o&&o<=a&&a<=e.MAX_VERSION)||u<-1||u>7)throw RangeError("Invalid value");for(p=o;;p++){var c=8*e.getNumDataCodewords(p,n),d=l.getTotalBits(t,p);if(d<=c){E=d;break}if(p>=a)throw RangeError("Data too long")}for(var h=0,f=[e.Ecc.MEDIUM,e.Ecc.QUARTILE,e.Ecc.HIGH];h<f.length;h++){var v=f[h];s&&E<=8*e.getNumDataCodewords(p,v)&&(n=v)}var m=[],g=!0,y=!1,w=void 0;try{for(var p,E,C,_=t[Symbol.iterator]();!(g=(C=_.next()).done);g=!0){var M=C.value;r(M.mode.modeBits,4,m),r(M.numChars,M.mode.numCharCountBits(p),m);var k=!0,S=!1,b=void 0;try{for(var R,N=M.getData()[Symbol.iterator]();!(k=(R=N.next()).done);k=!0){var A=R.value;m.push(A)}}catch(e){S=!0,b=e}finally{try{k||null==N.return||N.return()}finally{if(S)throw b}}}}catch(e){y=!0,w=e}finally{try{g||null==_.return||_.return()}finally{if(y)throw w}}i(m.length==E);var P=8*e.getNumDataCodewords(p,n);i(m.length<=P),r(0,Math.min(4,P-m.length),m),r(0,(8-m.length%8)%8,m),i(m.length%8==0);for(var x=236;m.length<P;x^=253)r(x,8,m);for(var z=[];8*z.length<m.length;)z.push(0);return m.forEach(function(e,t){return z[t>>>3]|=e<<7-(7&t)}),new e(p,n,z,u)}},{key:"getNumRawDataModules",value:function(t){if(t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError("Version number out of range");var r=(16*t+128)*t+64;if(t>=2){var n=Math.floor(t/7)+2;
1r-=(25*n-10)*n-55,t>=7&&(r-=36)}return i(208<=r&&r<=29648),r}},{key:"getNumDataCodewords",value:function(t,r){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][t]}},{key:"reedSolomonComputeDivisor",value:function(t){if(t<1||t>255)throw RangeError("Degree out of range");for(var r=[],n=0;n<t-1;n++)r.push(0);r.push(1);for(var i=1,o=0;o<t;o++){for(var a=0;a<r.length;a++)r[a]=e.reedSolomonMultiply(r[a],i),a+1<r.length&&(r[a]^=r[a+1]);i=e.reedSolomonMultiply(i,2)}return r}},{key:"reedSolomonComputeRemainder",value:function(t,r){var n=r.map(function(e){return 0}),i=!0,o=!1,a=void 0;try{for(var l,u=t[Symbol.iterator]();!(i=(l=u.next()).done);i=!0)!function(){var t=l.value^n.shift();n.push(0),r.forEach(function(r,i){return n[i]^=e.reedSolomonMultiply(r,t)})}()}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return n}},{key:"reedSolomonMultiply",value:function(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285^(t>>>n&1)*e;return i(r>>>8==0),r}}]),e}()).MIN_VERSION=1,o.MAX_VERSION=40,o.PENALTY_N1=3,o.PENALTY_N2=3,o.PENALTY_N3=40,o.PENALTY_N4=10,o.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]],o.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]],t.QrCode=o,(a=function(){function e(t,r,n){if((0,m._)(this,e),this.mode=t,this.numChars=r,this.bitData=n,r<0)throw RangeError("Invalid argument");this.bitData=n.slice()}return(0,g._)(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(t){var n=[],i=!0,o=!1,a=void 0;try{for(var l,u=t[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value;r(s,8,n)}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return new e(e.Mode.BYTE,t.length,n)}},{key:"makeNumeric",value:function(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");for(var n=[],i=0;i<t.length;){var o=Math.min(t.length-i,3);r(parseInt(t.substring(i,i+o),10),3*o+1,n),i+=o}return new e(e.Mode.NUMERIC,t.length,n)}},{key:"makeAlphanumeric",value:function(t){if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");var n,i=[];for(n=0;n+2<=t.length;n+=2){var o=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n));r(o+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n+1)),11,i)}return n<t.length&&r(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n)),6,i),new e(e.Mode.ALPHANUMERIC,t.length,i)}},{key:"makeSegments",value:function(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}},{key:"makeEci",value:function(t){var n=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)r(t,8,n);else if(t<16384)r(2,2,n),r(t,14,n);else if(t<1e6)r(6,3,n),r(t,21,n);else throw RangeError("ECI assignment value out of range");return new e(e.Mode.ECI,0,n)}},{key:"isNumeric",value:function(t){return e.NUMERIC_REGEX.test(t)}},{key:"isAlphanumeric",value:function(t){return e.ALPHANUMERIC_REGEX.test(t)}},{key:"getTotalBits",value:function(e,t){var r=0,n=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(n=(a=l.next()).done);
1n=!0){var u=a.value,s=u.mode.numCharCountBits(t);if(u.numChars>=1<<s)return 1/0;r+=4+s+u.bitData.length}}catch(e){i=!0,o=e}finally{try{n||null==l.return||l.return()}finally{if(i)throw o}}return r}},{key:"toUtf8ByteArray",value:function(e){e=encodeURI(e);for(var t=[],r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substring(r+1,r+3),16)),r+=2);return t}}]),e}()).NUMERIC_REGEX=/^[0-9]*$/,a.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,a.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",l=a,t.QrSegment=a,s=(u=v||(v={})).QrCode||(u.QrCode={}),(c=function e(t,r){(0,m._)(this,e),this.ordinal=t,this.formatBits=r}).LOW=new c(0,1),c.MEDIUM=new c(1,0),c.QUARTILE=new c(2,3),c.HIGH=new c(3,2),s.Ecc=c,h=(d=v||(v={})).QrSegment||(d.QrSegment={}),(f=function(){function e(t,r){(0,m._)(this,e),this.modeBits=t,this.numBitsCharCount=r}return(0,g._)(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}]),e}()).NUMERIC=new f(1,[10,12,14]),f.ALPHANUMERIC=new f(2,[9,11,13]),f.BYTE=new f(4,[8,16,16]),f.KANJI=new f(8,[8,10,12]),f.ECI=new f(7,[0,0,0]),h.Mode=f;var R=v,N={L:R.QrCode.Ecc.LOW,M:R.QrCode.Ecc.MEDIUM,Q:R.QrCode.Ecc.QUARTILE,H:R.QrCode.Ecc.HIGH},A="#FFFFFF",P="#000000";function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[];return e.forEach(function(e,n){var i=null;e.forEach(function(o,a){if(!o&&null!==i){r.push("M".concat(i+t," ").concat(n+t,"h").concat(a-i,"v1H").concat(i+t,"z")),i=null;return}if(a===e.length-1){if(!o)return;null===i?r.push("M".concat(a+t,",").concat(n+t," h1v1H").concat(a+t,"z")):r.push("M".concat(i+t,",").concat(n+t," h").concat(a+1-i,"v1H").concat(i+t,"z"));return}o&&null===i&&(i=a)})}),r.join("")}function z(e,t){return e.slice().map(function(e,r){return r<t.y||r>=t.y+t.h?e:e.map(function(e,r){return(r<t.x||r>=t.x+t.w)&&e})})}function I(e){var t=e.value,r=e.level,n=e.minVersion,i=e.includeMargin,o=e.marginSize,a=e.imageSettings,l=e.size,u=e.boostLevel,s=p.default.useMemo(function(){var e=(Array.isArray(t)?t:[t]).reduce(function(e,t){return e.push.apply(e,(0,w._)(R.QrSegment.makeSegments(t))),e},[]);return R.QrCode.encodeSegments(e,N[r],n,void 0,void 0,u)},[t,r,n,u]),c=p.default.useMemo(function(){var e=s.getModules(),t=null!=o?Math.max(Math.floor(o),0):4*!!i,r=e.length+2*t,n=function(e,t,r,n){if(null==n)return null;var i=e.length+2*r,o=Math.floor(.1*t),a=i/t,l=(n.width||o)*a,u=(n.height||o)*a,s=null==n.x?e.length/2-l/2:n.x*a,c=null==n.y?e.length/2-u/2:n.y*a,d=null==n.opacity?1:n.opacity,h=null;if(n.excavate){var f=Math.floor(s),v=Math.floor(c),m=Math.ceil(l+s-f),g=Math.ceil(u+c-v);h={x:f,y:v,w:m,h:g}}return{x:s,y:c,h:u,w:l,excavation:h,opacity:d,crossOrigin:n.crossOrigin}}(e,l,t,a);return{cells:e,margin:t,numCells:r,calculatedImageSettings:n}},[s,l,a,i,o]),d=c.cells;return{qrcode:s,margin:c.margin,cells:d,numCells:c.numCells,calculatedImageSettings:c.calculatedImageSettings}}var L=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();p.default.forwardRef(function(e,t){var r=e.value,n=e.size,i=void 0===n?128:n,o=e.level,a=e.bgColor,l=void 0===a?A:a,u=e.fgColor,s=void 0===u?P:u,c=e.includeMargin,d=e.minVersion,h=e.boostLevel,f=e.marginSize,v=e.imageSettings,m=b(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),g=m.style,w=b(m,["style"]),E=null==v?void 0:v.src,C=p.default.useRef(null),_=p.default.useRef(null),M=p.default.useCallback(function(e){C.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),k=(0,y._)(p.default.useState(!1),2),R=(k[0],k[1]),N=I({value:r,level:void 0===o?"L":o,minVersion:void 0===d?1:d,boostLevel:h,includeMargin:void 0!==c&&c,marginSize:f,imageSettings:v,size:i}),O=N.margin,F=N.cells,T=N.numCells,B=N.calculatedImageSettings;p.default.useEffect(function(){if(null!=C.current){var e=C.current,t=e.getContext("2d");if(t){var r=F,n=_.current,o=null!=B&&null!==n&&n.complete&&0!==n.naturalHeight&&0!==n.naturalWidth;o&&null!=B.excavation&&(r=z(F,B.excavation));var a=window.devicePixelRatio||1;e.height=e.width=i*a;var u=i/T*a;t.scale(u,u),t.fillStyle=l,t.fillRect(0,0,T,T),t.fillStyle=s,L?t.fill(new Path2D(x(r,O))):F.forEac
1h(function(e,r){e.forEach(function(e,n){e&&t.fillRect(n+O,r+O,1,1)})}),B&&(t.globalAlpha=B.opacity),o&&t.drawImage(n,B.x+O,B.y+O,B.w,B.h)}}}),p.default.useEffect(function(){R(!1)},[E]);var D=S({height:i,width:i},g),H=null;return null!=E&&(H=p.default.createElement("img",{src:E,key:E,style:{display:"none"},onLoad:function(){R(!0)},ref:_,crossOrigin:null==B?void 0:B.crossOrigin})),p.default.createElement(p.default.Fragment,null,p.default.createElement("canvas",S({style:D,height:i,width:i,ref:M,role:"img"},w)),H)}).displayName="QRCodeCanvas";var O=p.default.forwardRef(function(e,t){var r=e.value,n=e.size,i=void 0===n?128:n,o=e.level,a=e.bgColor,l=e.fgColor,u=e.includeMargin,s=e.minVersion,c=e.boostLevel,d=e.title,h=e.marginSize,f=e.imageSettings,v=b(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),m=I({value:r,level:void 0===o?"L":o,minVersion:void 0===s?1:s,boostLevel:c,includeMargin:void 0!==u&&u,marginSize:h,imageSettings:f,size:i}),g=m.margin,y=m.cells,w=m.numCells,E=m.calculatedImageSettings,C=y,_=null;null!=f&&null!=E&&(null!=E.excavation&&(C=z(y,E.excavation)),_=p.default.createElement("image",{href:f.src,height:E.h,width:E.w,x:E.x+g,y:E.y+g,preserveAspectRatio:"none",opacity:E.opacity,crossOrigin:E.crossOrigin}));var M=x(C,g);return p.default.createElement("svg",S({height:i,width:i,viewBox:"0 0 ".concat(w," ").concat(w),ref:t,role:"img"},v),!!d&&p.default.createElement("title",null,d),p.default.createElement("path",{fill:void 0===a?A:a,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),p.default.createElement("path",{fill:void 0===l?P:l,d:M,shapeRendering:"crispEdges"}),_)});O.displayName="QRCodeSVG",e.s(["QRCodeSVG",0,O])}]);

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.