1var e=((e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports))(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(globalThis,(function(){return(()=>{var e={180:function(e,t,n){var r,i,a;(function(o,s){i=[n(829)],(a=typeof(r=function(e){var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(e.stacktrace!==void 0||e[`opera#sourceloc`]!==void 0)return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw Error(`Cannot parse given Error object`)},extractLocation:function(e){if(e.indexOf(`:`)===-1)return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,``));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split(` 2`).filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf(`(eval `)>-1&&(t=t.replace(/eval code/g,`eval`).replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,``));var n=t.replace(/^\s+/,``).replace(/\(eval code/g,`(`).split(/\s+/).slice(1),r=this.extractLocation(n.pop());return new e({functionName:n.join(` `)||void 0,fileName:[`eval`,`<anonymous>`].indexOf(r[0])>-1?void 0:r[0],lineNumber:r[1],columnNumber:r[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split(` 3`).filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(` > eval`)>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,`:$1`)),t.indexOf(`@`)===-1&&t.indexOf(`:`)===-1)return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,a=this.extractLocation(t.replace(n,``));return new e({functionName:i,fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf(` 4`)>-1&&e.message.split(` 5`).length>e.stacktrace.split(` 6`).length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split(` 7`),i=[],a=2,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split(` 8`),i=[],a=0,o=r.length;a<o;a+=2){var s=n.exec(r[a]);s&&i.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[a]}))}return i},parseOpera11:function(n){return n.stack.split(` 9`).filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,r=t.split(`@`),i=this.extractLocation(r.pop()),a=r.shift()||``,o=a.replace(/<anonymous function(: (\w+))?>/,`$2`).replace(/\([^\)]*\)/g,``)||void 0;return a.match(/\(([^\)]*)\)/)&&(n=a.replace(/^[^\(]+\(([^\)]*)\)$/,`$1`)),new e({functionName:o,args:n===void 0||n===`[arguments not available]`?void 0:n.split(`,`),fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}})==`function`?r.apply(t,i):r)===void 0||(e.exports=a)})()},829:function(e,t){var n,r,i;(function(a,o){r=[],(i=typeof(n=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=[`isConstructor`,`isEval`,`isNative`,`isToplevel`],i=[`columnNumber`,`lineNumber`],a=[`fileName`,`functionName`,`source`],o=r.concat(i,a,[`args`]);function s(e){if(e instanceof Object)for(var n=0;n<o.length;n++)e.hasOwnProperty(o[n])&&e[o[n]]!==void 0&&this[`set`+t(o[n])](e[o[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if(Object.prototype.toString.call(e)!==`[object Array]`)throw TypeError(`Args must be an Array`);this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else{if(!(e instanceof Object))throw TypeError(`Eval Origin must be an Object or StackFrame`);this.evalOrigin=new s(e)}},toString:function(){return(this.getFunctionName()||`{anonymous}`)+`(`+(this.getArgs()||[]).join(`,`)+`)`+(this.getFileName()?`@`+this.getFileName():``)+(e(this.getLineNumber())?`:`+this.getLineNumber():``)+(e(this.getColumnNumber())?`:`+this.getColumnNumber():``)}};for(var c=0;c<r.length;c++)s.prototype[`get`+t(r[c])]=n(r[c]),s.prototype[`set`+t(r[c])]=function(e){return function(t){this[e]=!!t}}(r[c]);for(var l=0;l<i.length;l++)s.prototype[`get`+t(i[l])]=n(i[l]),s.prototype[`set`+t(i[l])]=function(t){return function(n){if(!e(n))throw TypeError(t+` must be a Number`);this[t]=Number(n)}}(i[l]);for(var u=0;u<a.length;u++)s.prototype[`get`+t(a[u])]=n(a[u]),s.prototype[`set`+t(a[u])]=function(e){return function(t){this[e]=String(t)}}(a[u]);return s})==`function`?n.apply(t,r):n)===void 0||(e.exports=i)})()}},t={};function n(r){var i=t[r];
9if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{flare:()=>w,readLinesFromFile:()=>h});let e={flareJsKey:typeof FLARE_JS_KEY>`u`?``:FLARE_JS_KEY,clientVersion:`3.0.5`,sourcemapVersion:typeof FLARE_SOURCEMAP_VERSION>`u`?``:FLARE_SOURCEMAP_VERSION};function t(e){return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}function i(t,n,r){return r&&!t&&console.error(`Flare JavaScript client v${e.clientVersion}: ${n}`),!!t}function a(){return Math.round(Date.now()/1e3)}function o(e){return e.reduce((function(e,t){return e.concat(t)}),[])}function s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?c(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return l(l(l(l({},document.cookie?{cookies:document.cookie.split(`; `).reduce((function(e,t){var n,r,i=(n=t.split(/=/),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||n.return==null||n.return()}finally{if(s)throw i}}return a}}(n,r)||function(e,t){if(e){if(typeof e==`string`)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(n,r)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 10In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()),a=i[0];return e[a]=i[1],e}),{})}:{}),{request:{url:document.location.href,useragent:navigator.userAgent,referrer:document.referrer,readyState:document.readyState}}),function(){if(!location.search)return{};var e={};return new URLSearchParams(location.search).forEach((function(t,n){e[n]=t})),{request_data:{queryString:e}}}()),e)}var f=n(180),p=n.n(f),m={};function h(e,t,n){for(var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e3,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:40,a={},o=null,s=e.split(` 11`),c=-i/2;c<=i/2;c++){var l=t+c;if(l>=0&&s[l]){var u=l+1;if(s[l].length>r){if(n&&n+r/2>r){a[u]=s[l].substr(n-Math.round(r/2),r),u===t&&(o=Math.round(r/2));continue}a[u]=s[l].substr(0,r)+`â¦`;continue}a[u]=s[l]}}return{codeSnippet:a,trimmedColumnNumber:o}}function g(e){return new Promise((function(t){if(!(n=e)||!(n.stack||n.stacktrace||n[`opera#sourceloc`])||typeof(n.stack||n.stacktrace||n[`opera#sourceloc`])!=`string`||n.stack===`${n.name}: ${n.message}`)return i(!1,`Couldn't generate stacktrace of below error:`,w.debug),w.debug&&console.error(e),t([{line_number:0,column_number:0,method:`unknown`,file:`unknown`,code_snippet:{0:`Could not read from file: stacktrace missing`},trimmed_column_number:null,class:`unknown`}]);var n;Promise.all(p().parse(e).map((function(e){return new Promise((function(t){var n,r,i;(n=e.fileName,r=e.lineNumber,i=e.columnNumber,new Promise((function(e){if(!n||!r)return e({codeSnippet:{0:`Could not read from file: missing file URL or line number. URL: ${n} lineNumber: ${r}`},trimmedColumnNumber:null});(function(e){return new Promise((function(t){var n=new XMLHttpRequest;if(m[e])return t(m[e]);n.open(`GET`,e,!1),n.onreadystatechange=function(){return n.readyState!==4||n.status!==200&&n.status!=0?t(null):(m[e]=n.responseText,t(n.responseText))};try{n.send(null)}catch{return t(null)}}))})(n).then((function(t){return e(t?h(t,r,i):{codeSnippet:{0:`Could not read from file: Error while opening file at URL ${n}`},trimmedColumnNumber:null})}))}
11))).then((function(n){t({line_number:e.lineNumber||1,column_number:e.columnNumber||1,method:e.functionName||`Anonymous or unknown function`,file:e.fileName||`Unknown file`,code_snippet:n.codeSnippet,trimmed_column_number:n.trimmedColumnNumber,class:``})}))}))}))).then(t)}))}function _(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new Promise((function(r){var i=e.reduce((function(e,r){return e.push(Promise.resolve(r.canSolve(t,n))),e}),[]);Promise.all(i).then((function(i){var a=[];i.forEach((function(r,i){r&&a.push(Promise.resolve(e[i].getSolutions(t,n)))})),Promise.all(a).then((function(e){r(o(e))}))}))}))}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||n.return==null||n.return()}finally{if(s)throw i}}return a}}(e,t)||function(e,t){if(e){if(typeof e==`string`)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 12In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function y(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?b(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=new(function(){function n(){(function(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)})(this,n),C(this,`config`,{key:``,reportingUrl:`https://flareapp.io/api/reports`,maxGlowsPerReport:30,maxReportsPerMinute:500}),C(this,`glows`,[]),C(this,`context`,{context:{}}),C(this,`beforeEvaluate`,(function(e){return e})),C(this,`beforeSubmit`,(function(e){return e})),C(this,`reportedErrorsTimestamps`,[]),C(this,`solutionProviders`,[]),C(this,`sourcemapVersion`,e.sourcemapVersion),C(this,`debug`,!1),C(this,`stage`,void 0)}var r=n,o=[{key:`light`,value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.flareJsKey,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.debug=n,i(t&&typeof t==`string`,`An empty or incorrect Flare key was passed, errors will not be reported.`,this.debug)&&i(Promise,`ES6 promises are not supported in this environment, errors will not be reported.`,this.debug)&&(this.config.key=t),this}},{key:`glow`,value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`info`,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=a();return this.glows.push({name:e,message_level:t,meta_data:n,time:r,microtime:r}),this.glows.length>this.config.maxGlowsPerReport&&(this.glows=this.glows.slice(this.glows.length-this.config.maxGlowsPerReport)),this}},{key:`addContext`,value:function(e,t){return this.context.context[e]=t,this}},{key:`addContextGroup`,value:function(e,t){return this.context[e]=t,this}},{key:`registerSolutionProvider`,value:function(e){return i(`canSolve`in e,`A solution provider without a [canSolve] property was added.`,this.debug)&&i(`getSolutions`in e,`A solution provider without a [getSolutions] property was added.`,this.debug)&&this.solutionProviders.push(e),this}},{key:`reportMessage`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`Log`,o=a();g(Error()).then((function(a){a.shift();var s={notifier:`Flare JavaScript client v${e.clientVersion}`,exception_class:i,seen_at:o,message:t,language:`javascript`,glows:n.glows,context:d(x(x({},r),n.context)),stacktrace:a,sourcemap_version_id:n.sourcemapVersion,solutions:[],stage:n.stage};n.sendReport(s)}))}},{key:`report`,value:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Promise.resolve(this.beforeEvaluate(e)).then((function(i){i&&t.createReport(e,n,r).then((function(e){return e?t.sendReport(e):{}}))}
12))}},{key:`createReport`,value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!i(t,`No error provided.`,this.debug))return Promise.resolve(!1);var s=a();return Promise.all([_(this.solutionProviders,t,o),g(t)]).then((function(a){var o=v(a,2),c=o[0],l=o[1];return i(l.length,`Couldn't generate stacktrace of this error: `+t,n.debug),{notifier:`Flare JavaScript client v${e.clientVersion}`,exception_class:t.constructor&&t.constructor.name?t.constructor.name:`undefined`,seen_at:s,message:t.message,language:`javascript`,glows:n.glows,context:d(x(x({},r),n.context)),stacktrace:l,sourcemap_version_id:n.sourcemapVersion,solutions:c,stage:n.stage}}))}},{key:`sendReport`,value:function(e){var n=this;i(this.config.key,`The client was not yet initialised with an API key. Run client.light('<flare-project-key>') when you initialise your app. If you are running in dev mode and didn't run the light command on purpose, you can ignore this error.`,this.debug)&&(this.maxReportsPerMinuteReached()||Promise.resolve(this.beforeSubmit(e)).then((function(e){if(e){var r,i,a,o=new XMLHttpRequest;o.open(`POST`,n.config.reportingUrl),o.setRequestHeader(`Content-Type`,`application/json`),o.setRequestHeader(`X-Requested-With`,`XMLHttpRequest`),o.setRequestHeader(`x-api-token`,n.config.key),o.send((r=x(x({},e),{},{key:n.config.key}),i=[],a=JSON.stringify(r,(function(e,n){if(t(n)===`object`&&n!==null){if(i.indexOf(n)!==-1)try{return JSON.parse(JSON.stringify(n))}catch{return}i.push(n)}return n})),i=null,a)),n.reportedErrorsTimestamps.push(Date.now())}})))}},{key:`maxReportsPerMinuteReached`,value:function(){return this.reportedErrorsTimestamps.length>=this.config.maxReportsPerMinute&&this.reportedErrorsTimestamps[this.reportedErrorsTimestamps.length-this.config.maxReportsPerMinute]>Date.now()-6e4}},{key:`test`,value:function(){return this.report(Error(`The Flare client is set up correctly!`)),this}}];return o&&S(r.prototype,o),n}());typeof window<`u`&&window&&(window.flare=w),function(){if(typeof window<`u`){var e=window.flare;if(window&&e){var t=window.onerror,n=window.onunhandledrejection;window.onerror=function(n,r,i,a,o){o&&e.report(o),typeof t==`function`&&t(n,r,i,a,o)},window.onunhandledrejection=function(t){t.reason instanceof Error&&e.report(t.reason),typeof n==`function`&&n(t)}}}}()})(),r})()}))}))();function t(e){let t=new Uint8Array(e),n=``;for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function n(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`),n=(4-t.length%4)%4,r=t.padEnd(t.length+n,`=`),i=atob(r),a=new ArrayBuffer(i.length),o=new Uint8Array(a);for(let e=0;e<i.length;e++)o[e]=i.charCodeAt(e);return a}function r(){return i.stubThis(globalThis?.PublicKeyCredential!==void 0&&typeof globalThis.PublicKeyCredential==`function`)}var i={stubThis:e=>e};function a(e){let{id:t}=e;return{...e,id:n(t),transports:e.transports}}function o(e){return e===`localhost`||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}var s=class extends Error{constructor({message:e,code:t,cause:n,name:r}){super(e,{cause:n}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=r??n.name,this.code=t}};function c({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new s({message:`Registration ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`ConstraintError`){if(n.authenticatorSelection?.requireResidentKey===!0)return new s({message:`Discoverable credentials were required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT`,cause:e});if(t.mediation===`conditional`&&n.authenticatorSelection?.userVerification===`required`)return new s({message:`User verification was required during automatic registration but it could not be performed`,code:`ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE`,cause:e});if(n.authenticatorSelection?.userVerification===`required`)return new s({message:`User verification was required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT`,cause:e})}else if(e.name===`InvalidStateError`)return new s({message:`The authenticator was previously registered`,code:`ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED`,cause:e});else if(e.name===`NotAllowedError`)return new s({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`NotSupportedError`)return n.pubKeyCredParams.filter(e=>e.type===`public-key`).length===0?new s({message:`No entry in pubKeyCredParams was of type "public-key"`,code:`ERROR_MALFORMED_PUBKEYCREDPARAMS`,cause:e}):new s({message:`No available authenticator supported any of the specified pubKeyCredParams algorithms`,code:`ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG`,cause:e});else if(e.name===`SecurityError`){let t=globalThis.location.hostname;if(!o(t))return new s({message:`${globalThis.location.hostname}
12 is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rp.id!==t)return new s({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`TypeError`){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new s({message:`User ID was not between 1 and 64 characters`,code:`ERROR_INVALID_USER_ID_LENGTH`,cause:e})}else if(e.name===`UnknownError`)return new s({message:`The authenticator was unable to process the specified options, or could not create a new credential`,code:`ERROR_AUTHENTICATOR_GENERAL_ERROR`,cause:e});return e}var l=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){let e=Error(`Cancelling existing WebAuthn API call for new one`);e.name=`AbortError`,this.controller.abort(e)}let e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){let e=Error(`Manually cancelling existing WebAuthn API call`);e.name=`AbortError`,this.controller.abort(e),this.controller=void 0}}},u=[`cross-platform`,`platform`];function d(e){if(e&&!(u.indexOf(e)<0))return e}async function f(e){!e.optionsJSON&&e.challenge&&(console.warn(`startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information.`),e={optionsJSON:e});let{optionsJSON:i,useAutoRegister:o=!1}=e;if(!r())throw Error(`WebAuthn is not supported in this browser`);let s={...i,challenge:n(i.challenge),user:{...i.user,id:n(i.user.id)},excludeCredentials:i.excludeCredentials?.map(a)},u={};o&&(u.mediation=`conditional`),u.publicKey=s,u.signal=l.createNewAbortSignal();let f;try{f=await navigator.credentials.create(u)}catch(e){throw c({error:e,options:u})}if(!f)throw Error(`Registration was not completed`);let{id:m,rawId:h,response:g,type:_}=f,v;typeof g.getTransports==`function`&&(v=g.getTransports());let y;if(typeof g.getPublicKeyAlgorithm==`function`)try{y=g.getPublicKeyAlgorithm()}catch(e){p(`getPublicKeyAlgorithm()`,e)}let b;if(typeof g.getPublicKey==`function`)try{let e=g.getPublicKey();e!==null&&(b=t(e))}catch(e){p(`getPublicKey()`,e)}let x;if(typeof g.getAuthenticatorData==`function`)try{x=t(g.getAuthenticatorData())}catch(e){p(`getAuthenticatorData()`,e)}return{id:m,rawId:t(h),response:{attestationObject:t(g.attestationObject),clientDataJSON:t(g.clientDataJSON),transports:v,publicKeyAlgorithm:y,publicKey:b,authenticatorData:x},type:_,clientExtensionResults:f.getClientExtensionResults(),authenticatorAttachment:d(f.authenticatorAttachment)}}function p(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.\n`,t)}function m(){if(!r())return h.stubThis(new Promise(e=>e(!1)));let e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?h.stubThis(new Promise(e=>e(!1))):h.stubThis(e.isConditionalMediationAvailable())}var h={stubThis:e=>e};function g({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new s({message:`Authentication ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`NotAllowedError`)return new s({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`SecurityError`){let t=globalThis.location.hostname;if(!o(t))return new s({message:`${globalThis.location.hostname} is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rpId!==t)return new s({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`UnknownError`)return new s({message:`The authenticator was unable to process the specified options, or could not create a new assertion signature`,code:`ERROR_AUTHENTICATOR_GENERAL_ER
12ROR`,cause:e});return e}async function _(e){!e.optionsJSON&&e.challenge&&(console.warn(`startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information.`),e={optionsJSON:e});let{optionsJSON:i,useBrowserAutofill:o=!1,verifyBrowserAutofillInput:s=!0}=e;if(!r())throw Error(`WebAuthn is not supported in this browser`);let c;i.allowCredentials?.length!==0&&(c=i.allowCredentials?.map(a));let u={...i,challenge:n(i.challenge),allowCredentials:c},f={};if(o){if(!await m())throw Error(`Browser does not support WebAuthn autofill`);if(document.querySelectorAll(`input[autocomplete$='webauthn']`).length<1&&s)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');f.mediation=`conditional`,u.allowCredentials=[]}f.publicKey=u,f.signal=l.createNewAbortSignal();let p;try{p=await navigator.credentials.get(f)}catch(e){throw g({error:e,options:f})}if(!p)throw Error(`Authentication was not completed`);let{id:h,rawId:_,response:v,type:y}=p,b;return v.userHandle&&(b=t(v.userHandle)),{id:h,rawId:t(_),response:{authenticatorData:t(v.authenticatorData),clientDataJSON:t(v.clientDataJSON),signature:t(v.signature),userHandle:b},type:y,clientExtensionResults:p.getClientExtensionResults(),authenticatorAttachment:d(p.authenticatorAttachment)}}var v=`redacted`,y=[[/\/reset-password\/[^/?#"]+/g,`/reset-password/${v}`],[/\/team-invitations\/[^/?#"]+/g,`/team-invitations/${v}`],[/\/email\/verify\/[^/?#"]+\/[^/?#"]+/g,`/email/verify/${v}/${v}`]],b=[`code`,`email`,`expires`,`hash`,`jwt`,`q`,`query`,`search`,`signature`,`state`,`tablesearch`,`token`];function x(e){try{return decodeURIComponent(e).toLowerCase()}catch{return e.toLowerCase()}}function S(e){return y.reduce((e,[t,n])=>e.replace(t,n),e)}function C(e){let[t,...n]=e.split(`#`),[r,...i]=t.split(`?`),a=S(r);if(i.length>0){let e=i.join(`?`).split(`&`).map(e=>{let[t]=e.split(`=`);return b.includes(x(t))?`${t}=${v}`:e}).join(`&`);a=`${a}?${e}`}return n.length>0&&(a=`${a}#${n.join(`#`)}`),a}function w(e){return e.endsWith(`url`)||e.endsWith(`pathname`)||e.endsWith(`referrer`)||e.startsWith(`attr__href`)}function T(e){if(e)for(let[t,n]of Object.entries(e)){if(typeof n==`string`&&w(t)){e[t]=C(n);continue}if(t===`$elements_chain`&&typeof n==`string`){e[t]=S(n);continue}t===`$elements`&&Array.isArray(n)&&n.forEach(e=>{e&&typeof e==`object`&&T(e)})}}function E(e){return e?(T(e.properties),T(e.properties?.$set),T(e.properties?.$set_once),T(e.$set),T(e.$set_once),e):null}var D=`modulepreload`,O=function(e){return`/build/`+e},k={},A=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=O(t,n),t=s(t),t in k)return;k[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:D,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},j=`app`,M=null,N=!1,P=null,F=!1,I=null,L=[],R=!1;function z(){let e=document.getElementById(`posthog-config`);if(!e)return null;try{return JSON.parse(e.textContent)}catch{return null}}function B(e){e.reset(),e.register({section:j})}function V(e,t){if(!t.user){e.get_property(`$user_state`)===`identified`&&B(e);return}let n=String(t.user.id);e.get_distinct_id()!==n&&e.identify(n,{email:t.user.email});let r=e.getGroups().team;if(t.teamId===null){r!==void 0&&e.resetGroups();return}r!==String(t.teamId)&&e.group(`team`,String(t.teamId))}function H(e,t){if(!M){I&&L.length<20&&L.push([e,t]);return}M.capture(e,t)}
12function U(e){L.forEach(([t,n])=>e.capture(t,n)),L=[]}function W(e){if(R)return;let t=e.target instanceof Element?e.target.closest(`[data-signup-method]`):null;if(!t)return;let n=t.getAttribute(`data-signup-method`);(n===`form`||e.type!==`keydown`)&&(R=!0,H(`signup_started`,{signup_method:n}))}function G(e){F&&=(e.capture(`$pageview`),!1)}function K(e){N=!0,A(async()=>{let{default:e}=await import(`./module-DlOTUtWm.js`);return{default:e}},[]).then(({default:t})=>{t.init(e.token,{advanced_disable_flags:!0,api_host:e.host,autocapture:!1,before_send:E,capture_exceptions:!1,capture_pageleave:!0,capture_pageview:!1,cross_subdomain_cookie:!0,defaults:`2026-05-30`,disable_external_dependency_loading:!0,disable_session_recording:!0,disable_surveys:!0,disable_web_experiments:!0,person_profiles:`identified_only`,ui_host:`https://eu.posthog.com`,loaded(e){e.register({section:j}),M=e,V(M,I),G(M),U(M)}})})}function q(){let e=z();if(!e)return;I=e;let t=window.location.pathname;if(F||=t!==P,P=t,M){V(M,e),G(M);return}N||K(e)}function J(){document.addEventListener(`DOMContentLoaded`,q),document.addEventListener(`livewire:navigated`,q),document.addEventListener(`pointerdown`,W,!0),document.addEventListener(`keydown`,W,!0)}window.browserSupportsWebAuthn=r,window.startAuthentication=_,window.startRegistration=f,e.flare.light(),J(),window.slugify=function(e){return e.toString().trim().toLowerCase().replace(/\s+/g,`-`).replace(/[^\w\-]+/g,``).replace(/\-\-+/g,`-`).replace(/^-+/,``).replace(/-+$/,``)},document.addEventListener(`alpine:init`,()=>{Alpine.store(`modals`,{openModals:[],onConfirm:null,init(){window.location.hash&&this.openModals.push(window.location.hash.replace(`#`,``))},isOpen(e){return this.openModals.includes(e)},open(e){this.openModals.push(e),window.location.hash=e,Alpine.nextTick(()=>{let t=document.querySelector(`#modal-${e} input:not([type=hidden])`);if(t){t.focus();return}let n=document.querySelector(`#modal-${e} [data-confirm]`);n&&n.focus()})},close(e){this.openModals=this.openModals.filter(t=>t!==e),history.pushState(``,document.title,window.location.pathname+window.location.search)}})});
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.