authhero 4.77.0 → 4.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/js/client.js +1 -1
- package/dist/authhero.cjs +340 -100
- package/dist/authhero.d.ts +4 -4
- package/dist/authhero.mjs +22760 -19236
- package/dist/client.js +1 -1
- package/dist/passkey-enrollment-D0dl7raT.mjs +42 -0
- package/dist/passkey-enrollment-dbZd6Zqw.js +1 -0
- package/dist/stats.html +1 -1
- package/package.json +6 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ze={Stringify:1},b=(e,t)=>{const n=new String(e);return n.isEscaped=!0,n.callbacks=t,n},Xe=/[&<>'"]/,ze=async(e,t)=>{let n="";t||=[];const r=await Promise.all(e);for(let i=r.length-1;n+=r[i],i--,!(i<0);i--){let a=r[i];typeof a=="object"&&t.push(...a.callbacks||[]);const s=a.isEscaped;if(a=await(typeof a=="object"?a.toString():a),typeof a=="object"&&t.push(...a.callbacks||[]),a.isEscaped??s)n+=a;else{const o=[n];I(a,o),n=o[0]}}return b(n,t)},I=(e,t)=>{const n=e.search(Xe);if(n===-1){t[0]+=e;return}let r,i,a=0;for(i=n;i<e.length;i++){switch(e.charCodeAt(i)){case 34:r=""";break;case 39:r="'";break;case 38:r="&";break;case 60:r="<";break;case 62:r=">";break;default:continue}t[0]+=e.substring(a,i)+r,a=i+1}t[0]+=e.substring(a,i)},Ge=e=>{const t=e.callbacks;if(!t?.length)return e;const n=[e],r={};return t.forEach(i=>i({phase:Ze.Stringify,buffer:n,context:r})),n[0]},ne=Symbol("RENDERER"),Q=Symbol("ERROR_HANDLER"),m=Symbol("STASH"),Le=Symbol("INTERNAL"),Je=Symbol("MEMO"),K=Symbol("PERMALINK"),de=e=>(e[Le]=!0,e),Pe=e=>({value:t,children:n})=>{if(!n)return;const r={children:[{tag:de(()=>{e.push(t)}),props:{}}]};Array.isArray(n)?r.children.push(...n.flat()):r.children.push(n),r.children.push({tag:de(()=>{e.pop()}),props:{}});const i={tag:"",props:r,type:""};return i[Q]=a=>{throw e.pop(),a},i},Ne=e=>{const t=[e],n=Pe(t);return n.values=t,n.Provider=n,T.push(n),n},T=[],De=e=>{const t=[e],n=(r=>{t.push(r.value);let i;try{i=r.children?(Array.isArray(r.children)?new _e("",{},r.children):r.children).toString():""}catch(a){throw t.pop(),a}return i instanceof Promise?i.finally(()=>t.pop()).then(a=>b(a,a.callbacks)):(t.pop(),b(i))});return n.values=t,n.Provider=n,n[ne]=Pe(t),T.push(n),n},N=e=>e.values.at(-1),W={title:[],script:["src"],style:["data-href"],link:["href"],meta:["name","httpEquiv","charset","itemProp"]},ee={},C="data-precedence",Me=e=>e.rel==="stylesheet"&&"precedence"in e,$e=(e,t)=>e==="link"?t:W[e].length>0,R=e=>Array.isArray(e)?e:[e],ve=new WeakMap,pe=(e,t,n,r)=>({buffer:i,context:a})=>{if(!i)return;const s=ve.get(a)||{};ve.set(a,s);const o=s[e]||=[];let u=!1;const l=W[e],f=$e(e,r!==void 0);if(f){e:for(const[,c]of o)if(!(e==="link"&&!(c.rel==="stylesheet"&&c[C]!==void 0))){for(const d of l)if((c?.[d]??null)===n?.[d]){u=!0;break e}}}if(u?i[0]=i[0].replaceAll(t,""):f||e==="link"?o.push([t,n,r]):o.unshift([t,n,r]),i[0].indexOf("</head>")!==-1){let c;if(e==="link"||r!==void 0){const d=[];c=o.map(([p,,E],B)=>{if(E===void 0)return[p,Number.MAX_SAFE_INTEGER,B];let w=d.indexOf(E);return w===-1&&(d.push(E),w=d.length-1),[p,w,B]}).sort((p,E)=>p[1]-E[1]||p[2]-E[2]).map(([p])=>p)}else c=o.map(([d])=>d);c.forEach(d=>{i[0]=i[0].replaceAll(d,"")}),i[0]=i[0].replace(/(?=<\/head>)/,c.join(""))}},x=(e,t,n)=>b(new S(e,n,R(t??[])).toString()),O=(e,t,n,r)=>{if("itemProp"in n)return x(e,t,n);let{precedence:i,blocking:a,...s}=n;i=r?i??"":void 0,r&&(s[C]=i);const o=new S(e,s,R(t||[])).toString();return o instanceof Promise?o.then(u=>b(o,[...u.callbacks||[],pe(e,u,s,i)])):b(o,[pe(e,o,s,i)])},Ye=({children:e,...t})=>{const n=re();if(n){const r=N(n);if(r==="svg"||r==="head")return new S("title",t,R(e??[]))}return O("title",e,t,!1)},Qe=({children:e,...t})=>{const n=re();return["src","async"].some(r=>!t[r])||n&&N(n)==="head"?x("script",e,t):O("script",e,t,!1)},et=({children:e,...t})=>["href","precedence"].every(n=>n in t)?(t["data-href"]=t.href,delete t.href,O("style",e,t,!0)):x("style",e,t),tt=({children:e,...t})=>["onLoad","onError"].some(n=>n in t)||t.rel==="stylesheet"&&(!("precedence"in t)||"disabled"in t)?x("link",e,t):O("link",e,t,Me(t)),nt=({children:e,...t})=>{const n=re();return n&&N(n)==="head"?x("meta",e,t):O("meta",e,t,!1)},Re=(e,{children:t,...n})=>new S(e,n,R(t??[])),rt=e=>(typeof e.action=="function"&&(e.action=K in e.action?e.action[K]:void 0),Re("form",e)),xe=(e,t)=>(typeof t.formAction=="function"&&(t.formAction=K in t.formAction?t.formAction[K]:void 0),Re(e,t)),it=e=>xe("input",e),at=e=>xe("button",e);const X=Object.freeze(Object.defineProperty({__proto__:null,button:at,form:rt,input:it,link:tt,meta:nt,script:Qe,style:et,title:Ye},Symbol.toStringTag,{value:"Module"}));var st=new Map([["className","class"],["htmlFor","for"],["crossOrigin","crossorigin"],["httpEquiv","http-equiv"],["itemProp","itemprop"],["fetchPriority","fetchpriority"],["noModule","nomodule"],["formAction","formaction"]]),U=e=>st.get(e)||e,Oe=(e,t)=>{for(const[n,r]of Object.entries(e)){const i=n[0]==="-"||!/[A-Z]/.test(n)?n:n.replace(/[A-Z]/g,a=>`-${a.toLowerCase()}`);t(i,r==null?null:typeof r=="number"?i.match(/^(?:a|border-im|column(?:-c|s)|flex(?:$|-[^b])|grid-(?:ar|[^a])|font-w|li|or|sca|st|ta|wido|z)|ty$/)?`${r}`:`${r}px`:r)}},M=void 0,re=()=>M,ot=e=>/[A-Z]/.test(e)&&e.match(/^(?:al|basel|clip(?:Path|Rule)$|co|do|fill|fl|fo|gl|let|lig|i|marker[EMS]|o|pai|pointe|sh|st[or]|text[^L]|tr|u|ve|w)/)?e.replace(/([A-Z])/g,"-$1").toLowerCase():e,lt=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ct=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],ie=(e,t)=>{for(let n=0,r=e.length;n<r;n++){const i=e[n];if(typeof i=="string")I(i,t);else{if(typeof i=="boolean"||i===null||i===void 0)continue;i instanceof S?i.toStringToBuffer(t):typeof i=="number"||i.isEscaped?t[0]+=i:i instanceof Promise?t.unshift("",i):ie(i,t)}}},S=class{tag;props;key;children;isEscaped=!0;localContexts;constructor(e,t,n){this.tag=e,this.props=t,this.children=n}get type(){return this.tag}get ref(){return this.props.ref||null}toString(){const e=[""];this.localContexts?.forEach(([t,n])=>{t.values.push(n)});try{this.toStringToBuffer(e)}finally{this.localContexts?.forEach(([t])=>{t.values.pop()})}return e.length===1?"callbacks"in e?Ge(b(e[0],e.callbacks)).toString():e[0]:ze(e,e.callbacks)}toStringToBuffer(e){const t=this.tag,n=this.props;let{children:r}=this;e[0]+=`<${t}`;const i=M&&N(M)==="svg"?a=>ot(U(a)):a=>U(a);for(let[a,s]of Object.entries(n))if(a=i(a),a!=="children"){if(a==="style"&&typeof s=="object"){let o="";Oe(s,(u,l)=>{l!=null&&(o+=`${o?";":""}${u}:${l}`)}),e[0]+=' style="',I(o,e),e[0]+='"'}else if(typeof s=="string")e[0]+=` ${a}="`,I(s,e),e[0]+='"';else if(s!=null)if(typeof s=="number"||s.isEscaped)e[0]+=` ${a}="${s}"`;else if(typeof s=="boolean"&&ct.includes(a))s&&(e[0]+=` ${a}=""`);else if(a==="dangerouslySetInnerHTML"){if(r.length>0)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");r=[b(s.__html)]}else if(s instanceof Promise)e[0]+=` ${a}="`,e.unshift('"',s);else if(typeof s=="function"){if(!a.startsWith("on")&&a!=="ref")throw new Error(`Invalid prop '${a}' of type 'function' supplied to '${t}'.`)}else e[0]+=` ${a}="`,I(s.toString(),e),e[0]+='"'}if(lt.includes(t)&&r.length===0){e[0]+="/>";return}e[0]+=">",ie(r,e),e[0]+=`</${t}>`}},z=class extends S{toStringToBuffer(e){const{children:t}=this,n={...this.props};t.length&&(n.children=t.length===1?t[0]:t);const r=this.tag.call(null,n);if(!(typeof r=="boolean"||r==null))if(r instanceof Promise)if(T.length===0)e.unshift("",r);else{const i=T.map(a=>[a,a.values.at(-1)]);e.unshift("",r.then(a=>(a instanceof S&&(a.localContexts=i),a)))}else r instanceof S?r.toStringToBuffer(e):typeof r=="number"||r.isEscaped?(e[0]+=r,r.callbacks&&(e.callbacks||=[],e.callbacks.push(...r.callbacks))):I(r,e)}},_e=class extends S{toStringToBuffer(e){ie(this.children,e)}},he=!1,G=(e,t,n)=>{if(!he){for(const r in ee)X[r][ne]=ee[r];he=!0}return typeof e=="function"?new z(e,t,n):X[e]?new z(X[e],t,n):e==="svg"||e==="head"?(M||=De(""),new S(e,t,[new z(M,{value:e},n)])):new S(e,t,n)},ft=({children:e})=>new _e("",{children:e},Array.isArray(e)?e:e?[e]:[]);function H(e,t,n){let r;if(!t||!("children"in t))r=G(e,t,[]);else{const i=t.children;r=Array.isArray(i)?G(e,t,i):G(e,t,[i])}return r.key=n,r}var $="_hp",ut={Change:"Input",DoubleClick:"DblClick"},dt={svg:"2000/svg",math:"1998/Math/MathML"},L=[],te=new WeakMap,P=void 0,vt=()=>P,A=e=>"t"in e,J={onClick:["click",!1]},me=e=>{if(!e.startsWith("on"))return;if(J[e])return J[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,n,r]=t;return J[e]=[(ut[n]||n).toLowerCase(),!!r]}},ge=(e,t)=>P&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,pt=(e,t,n)=>{t||={};for(let r in t){const i=t[r];if(r!=="children"&&(!n||n[r]!==i)){r=U(r);const a=me(r);if(a){if(n?.[r]!==i&&(n&&e.removeEventListener(a[0],n[r],a[1]),i!=null)){if(typeof i!="function")throw new Error(`Event handler for "${r}" is not a function`);e.addEventListener(a[0],i,a[1])}}else if(r==="dangerouslySetInnerHTML"&&i)e.innerHTML=i.__html;else if(r==="ref"){let s;typeof i=="function"?s=i(e)||(()=>i(null)):i&&"current"in i&&(i.current=e,s=()=>i.current=null),te.set(e,s)}else if(r==="style"){const s=e.style;typeof i=="string"?s.cssText=i:(s.cssText="",i!=null&&Oe(i,s.setProperty.bind(s)))}else{if(r==="value"){const o=e.nodeName;if(o==="INPUT"||o==="TEXTAREA"||o==="SELECT"){if(e.value=i==null||i===!1?null:i,o==="TEXTAREA"){e.textContent=i;continue}else if(o==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(r==="checked"&&e.nodeName==="INPUT"||r==="selected"&&e.nodeName==="OPTION")&&(e[r]=i);const s=ge(e,r);i==null||i===!1?e.removeAttribute(s):i===!0?e.setAttribute(s,""):typeof i=="string"||typeof i=="number"?e.setAttribute(s,i):e.setAttribute(s,i.toString())}}}if(n)for(let r in n){const i=n[r];if(r!=="children"&&!(r in t)){r=U(r);const a=me(r);a?e.removeEventListener(a[0],i,a[1]):r==="ref"?te.get(e)?.():e.removeAttribute(ge(e,r))}}},ht=(e,t)=>{t[m][0]=0,L.push([e,t]);const n=t.tag[ne]||t.tag,r=n.defaultProps?{...n.defaultProps,...t.props}:t.props;try{return[n.call(null,r)]}finally{L.pop()}},Be=(e,t,n,r,i)=>{e.vR?.length&&(r.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[m][1][se]?.forEach(a=>i.push(a)),e.vC.forEach(a=>{if(A(a))n.push(a);else if(typeof a.tag=="function"||a.tag===""){a.c=t;const s=n.length;if(Be(a,t,n,r,i),a.s){for(let o=s;o<n.length;o++)n[o].s=!0;a.s=!1}}else n.push(a),a.vR?.length&&(r.push(...a.vR),delete a.vR)})},mt=e=>{for(;e&&(e.tag===$||!e.e);)e=e.tag===$||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},He=e=>{A(e)||(e[m]?.[1][se]?.forEach(t=>t[2]?.()),te.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>t.p=2),e.vC?.forEach(He)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(D.delete(e),F.delete(e),delete e[m][3],e.a=!0)},ae=(e,t,n)=>{e.c=t,Fe(e,t,n)},ye=(e,t)=>{if(t){for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n}},Ee=Symbol(),Fe=(e,t,n)=>{const r=[],i=[],a=[];Be(e,t,r,i,a),i.forEach(He);const s=n?void 0:t.childNodes;let o,u=null;if(n)o=-1;else if(!s.length)o=0;else{const l=ye(s,mt(e.nN));l!==void 0?(u=s[l],o=l):o=ye(s,r.find(f=>f.tag!==$&&f.e)?.e)??-1,o===-1&&(n=!0)}for(let l=0,f=r.length;l<f;l++,o++){const c=r[l];let d;if(c.s&&c.e)d=c.e,c.s=!1;else{const p=n||!c.e;A(c)?(c.e&&c.d&&(c.e.textContent=c.t),c.d=!1,d=c.e||=document.createTextNode(c.t)):(d=c.e||=c.n?document.createElementNS(c.n,c.tag):document.createElement(c.tag),pt(d,c.props,c.pP),Fe(c,d,p))}c.tag===$?o--:n?d.parentNode||t.appendChild(d):s[o]!==d&&s[o-1]!==d&&(s[o+1]===d?t.appendChild(s[o]):t.insertBefore(d,u||s[o]||null))}if(e.pP&&(e.pP=void 0),a.length){const l=[],f=[];a.forEach(([,c,,d,p])=>{c&&l.push(c),d&&f.push(d),p?.()}),l.forEach(c=>c()),f.length&&requestAnimationFrame(()=>{f.forEach(c=>c())})}},gt=(e,t)=>!!(e&&e.length===t.length&&e.every((n,r)=>n[1]===t[r][1])),F=new WeakMap,V=(e,t,n)=>{const r=!n&&t.pC;n&&(t.pC||=t.vC);let i;try{n||=typeof t.tag=="function"?ht(e,t):R(t.props.children),n[0]?.tag===""&&n[0][Q]&&(i=n[0][Q],e[5].push([e,i,t]));const a=r?[...t.pC]:t.vC?[...t.vC]:void 0,s=[];let o;for(let u=0;u<n.length;u++){if(Array.isArray(n[u])){n.splice(u,1,...n[u].flat(1/0)),u--;continue}let l=je(n[u]);if(l){typeof l.tag=="function"&&!l.tag[Le]&&(T.length>0&&(l[m][2]=T.map(c=>[c,c.values.at(-1)])),e[5]?.length&&(l[m][3]=e[5].at(-1)));let f;if(a&&a.length){const c=a.findIndex(A(l)?d=>A(d):l.key!==void 0?d=>d.key===l.key&&d.tag===l.tag:d=>d.tag===l.tag);c!==-1&&(f=a[c],a.splice(c,1))}if(f)if(A(l))f.t!==l.t&&(f.t=l.t,f.d=!0),l=f;else{const c=f.pP=f.props;if(f.props=l.props,f.f||=l.f||t.f,typeof l.tag=="function"){const d=f[m][2];f[m][2]=l[m][2]||[],f[m][3]=l[m][3],!f.f&&((f.o||f)===l.o||f.tag[Je]?.(c,f.props))&>(d,f[m][2])&&(f.s=!0)}l=f}else if(!A(l)&&P){const c=N(P);c&&(l.n=c)}if(!A(l)&&!l.s&&(V(e,l),delete l.f),s.push(l),o&&!o.s&&!l.s)for(let c=o;c&&!A(c);c=c.vC?.at(-1))c.nN=l;o=l}}t.vR=r?[...t.vC,...a||[]]:a||[],t.vC=s,r&&delete t.pC}catch(a){if(t.f=!0,a===Ee){if(i)return;throw a}const[s,o,u]=t[m]?.[3]||[];if(o){const l=()=>j([0,!1,e[2]],u),f=F.get(u)||[];f.push(l),F.set(u,f);const c=o(a,()=>{const d=F.get(u);if(d){const p=d.indexOf(l);if(p!==-1)return d.splice(p,1),l()}});if(c){if(e[0]===1)e[1]=!0;else if(V(e,u,[c]),(o.length===1||e!==s)&&u.c){ae(u,u.c,!1);return}throw Ee}}throw a}finally{i&&e[5].pop()}},je=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[m]=[0,[]];else{const t=dt[e.tag];t&&(P||=Ne(""),e.props.children=[{tag:P,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},qe=(e,t,n)=>{e.c===t&&(e.c=n,e.vC.forEach(r=>qe(r,t,n)))},we=(e,t)=>{t[m][2]?.forEach(([n,r])=>{n.values.push(r)});try{V(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[m][2]?.forEach(([n])=>{n.values.pop()}),(e[0]!==1||!e[1])&&ae(t,t.c,!1)},D=new WeakMap,Se=[],j=async(e,t)=>{e[5]||=[];const n=D.get(t);n&&n[0](void 0);let r;const i=new Promise(a=>r=a);if(D.set(t,[r,()=>{e[2]?e[2](e,t,a=>{we(a,t)}).then(()=>r(t)):(we(e,t),r(t))}]),Se.length)Se.at(-1).add(t);else{await Promise.resolve();const a=D.get(t);a&&(D.delete(t),a[1]())}return i},yt=(e,t)=>{const n=[];n[5]=[],n[4]=!0,V(n,e,void 0),n[4]=!1;const r=document.createDocumentFragment();ae(e,r,!0),qe(e,r,t),t.replaceChildren(r)},Et=(e,t,n)=>({tag:$,props:{children:e},key:n,e:t,p:1}),wt=0,se=1,St=2,At=3,Y=new WeakMap,oe=(e,t)=>!e||!t||e.length!==t.length||t.some((n,r)=>n!==e[r]),bt=void 0,Ae=[],Ke=e=>{const t=()=>typeof e=="function"?e():e,n=L.at(-1);if(!n)return[t(),()=>{}];const[,r]=n,i=r[m][1][wt]||=[],a=r[m][0]++;return i[a]||=[t(),s=>{const o=bt,u=i[a];if(typeof s=="function"&&(s=s(u[0])),!Object.is(s,u[0]))if(u[0]=s,Ae.length){const[l,f]=Ae.at(-1);Promise.all([l===3?r:j([l,!1,o],r),f]).then(([c])=>{if(!c||!(l===2||l===3))return;const d=c.vC;requestAnimationFrame(()=>{setTimeout(()=>{d===c.vC&&j([l===3?1:0,!1,o],c)})})})}else j([0,!1,o],r)}]},kt=(e,t,n)=>{const r=L.at(-1);if(!r)return;const[,i]=r,a=i[m][1][se]||=[],s=i[m][0]++,[o,,u]=a[s]||=[];if(oe(o,n)){u&&u();const l=()=>{f[e]=void 0,f[2]=t()},f=[n,void 0,void 0,void 0,void 0];f[e]=l,a[s]=f}},We=(e,t)=>kt(3,e,t),le=(e,t)=>{const n=L.at(-1);if(!n)return e;const[,r]=n,i=r[m][1][St]||=[],a=r[m][0]++,s=i[a];return oe(s?.[1],t)?i[a]=[e,t]:e=i[a][0],e},Ct=e=>{const t=Y.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(n=>Y.set(e,[n]),n=>Y.set(e,[void 0,n])),e},It=(e,t)=>{const n=L.at(-1);if(!n)return e();const[,r]=n,i=r[m][1][At]||=[],a=r[m][0]++,s=i[a];return oe(s?.[1],t)&&(i[a]=[e(),t]),i[a][0]},Tt=Ne({pending:!1,data:null,method:null,action:null}),be=new Set,Lt=e=>{be.add(e),e.finally(()=>be.delete(e))},ce=(e,t)=>It(()=>n=>{let r;e&&(typeof e=="function"?r=e(n)||(()=>{e(null)}):e&&"current"in e&&(e.current=n,r=()=>{e.current=null}));const i=t(n);return()=>{i?.(),r?.()}},[e]),ke=Object.create(null),Ce=Object.create(null),_=(e,t,n,r,i)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const a=document.head;let{onLoad:s,onError:o,precedence:u,blocking:l,...f}=t,c=null,d=!1;const p=W[e],E=$e(e,r),B=h=>h.getAttribute("rel")==="stylesheet"&&h.getAttribute(C)!==null;let w;if(E){const h=a.querySelectorAll(e);e:for(const g of h)if(!(e==="link"&&!B(g))){for(const v of p)if(g.getAttribute(v)===t[v]){c=g;break e}}if(!c){const g=p.reduce((v,y)=>t[y]===void 0?v:`${v}-${y}-${t[y]}`,e);d=!Ce[g],c=Ce[g]||=(()=>{const v=document.createElement(e);for(const y of p)t[y]!==void 0&&v.setAttribute(y,t[y]);return t.rel&&v.setAttribute("rel",t.rel),v})()}}else w=a.querySelectorAll(e);u=r?u??"":void 0,r&&(f[C]=u);const fe=le(h=>{if(E){if(e==="link"&&u!==void 0){let v=!1;for(const y of a.querySelectorAll(e)){const k=y.getAttribute(C);if(k===null){a.insertBefore(h,y);return}if(v&&k!==u){a.insertBefore(h,y);return}k===u&&(v=!0)}a.appendChild(h);return}let g=!1;for(const v of a.querySelectorAll(e)){if(g&&v.getAttribute(C)!==u){a.insertBefore(h,v);return}v.getAttribute(C)===u&&(g=!0)}a.appendChild(h)}else if(e==="link")a.contains(h)||a.appendChild(h);else if(w){let g=!1;for(const v of w)if(v===h){g=!0;break}g||a.insertBefore(h,a.contains(w[0])?w[0]:a.querySelector(e)),w=void 0}},[E,u,e]),ue=ce(t.ref,h=>{const g=p[0];if(n===2&&(h.innerHTML=""),(d||w)&&fe(h),!o&&!s||!g)return;let v=ke[h.getAttribute(g)]||=new Promise((y,k)=>{h.addEventListener("load",y),h.addEventListener("error",k)});s&&(v=v.then(s)),o&&(v=v.catch(o)),v.catch(()=>{})});if(i&&l==="render"){const h=W[e][0];if(h&&t[h]){const g=t[h],v=ke[g]||=new Promise((y,k)=>{fe(c),c.addEventListener("load",y),c.addEventListener("error",k)});Ct(v)}}const Z={tag:e,type:e,props:{...f,ref:ue},ref:ue};return Z.p=n,c&&(Z.e=c),Et(Z,a)},Pt=e=>{const t=vt();return(t&&N(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:_("title",e,void 0,!1,!1)},Nt=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:_("script",e,1,!1,!0),Dt=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,_("style",e,2,!0,!0)),Mt=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:_("link",e,1,Me(e),!0),$t=e=>_("meta",e,void 0,!1,!1),Ue=Symbol(),Rt=e=>{const{action:t,...n}=e;typeof t!="function"&&(n.action=t);const[r,i]=Ke([null,!1]),a=le(async l=>{const f=l.isTrusted?t:l.detail[Ue];if(typeof f!="function")return;l.preventDefault();const c=new FormData(l.target);i([c,!0]);const d=f(c);d instanceof Promise&&(Lt(d),await d),i([null,!0])},[]),s=ce(e.ref,l=>(l.addEventListener("submit",a),()=>{l.removeEventListener("submit",a)})),[o,u]=r;return r[1]=!1,{tag:Tt,props:{value:{pending:o!==null,data:o,method:o?"post":null,action:o?t:null},children:{tag:"form",props:{...n,ref:s},type:"form",ref:s}},f:u}},Ve=(e,{formAction:t,...n})=>{if(typeof t=="function"){const r=le(i=>{i.preventDefault(),i.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Ue]:t}}))},[]);n.ref=ce(n.ref,i=>(i.addEventListener("click",r),()=>{i.removeEventListener("click",r)}))}return{tag:e,props:n,type:e,ref:n.ref}},xt=e=>Ve("input",e),Ot=e=>Ve("button",e);Object.assign(ee,{title:Pt,script:Nt,style:Dt,link:Mt,meta:$t,form:Rt,input:xt,button:Ot});De(null);new TextEncoder;var _t=(e,t={})=>{let n;return Object.keys(t).length>0&&console.warn("createRoot options are not supported yet"),{render(r){if(n===null)throw new Error("Cannot update an unmounted root");n?n(r):yt(je({tag:()=>{const[i,a]=Ke(r);return n=a,i},props:{}}),e)},unmount(){n?.(null),n=null}}},Bt=(e,t,n={})=>{const r=_t(e,n);return r.render(t),r};function Ht(){return We(()=>{const e=document.querySelectorAll("form"),t=[];return e.forEach(n=>{const r=a=>{if(a.defaultPrevented)return;const s=a.submitter;s&&s.type==="submit"&&(s.classList.add("is-loading"),s.disabled=!0)};n.addEventListener("submit",r);const i=a=>{a.persisted&&n.querySelectorAll("button[type=submit]").forEach(o=>{o.classList.remove("is-loading"),o.disabled=!1})};window.addEventListener("pageshow",i),t.push(()=>{n.removeEventListener("submit",r),window.removeEventListener("pageshow",i)})}),()=>{t.forEach(n=>n())}},[]),null}function Ft(){return We(()=>{const e=document.querySelectorAll("[data-password-toggle]"),t=[];return e.forEach(n=>{const r=n.querySelector("input[type='password'], input[data-password-input]"),i=n.querySelector("[data-password-toggle-btn]"),a=i?.querySelector("[data-show-icon]"),s=i?.querySelector("[data-hide-icon]");if(!r||!i||!a||!s)return;const o=l=>{l?(r.type="text",r.setAttribute("data-password-input","text"),a.classList.add("hidden"),s.classList.remove("hidden")):(r.type="password",r.setAttribute("data-password-input","password"),s.classList.add("hidden"),a.classList.remove("hidden"))},u=l=>{l.preventDefault();const f=r.type==="password";o(f)};i.addEventListener("click",u),t.push(()=>{i.removeEventListener("click",u)})}),()=>{t.forEach(n=>n())}},[]),null}function jt(){return document.querySelectorAll("[data-input-otp-container]").forEach(t=>{const n=Array.from(t.querySelectorAll("[data-input-otp-slot]"));if(!n.length)return;const r=t.closest("form");let i=null;if(r&&n.length>0){const o=n[0]?.getAttribute("name");o&&(i=r.querySelector(`input[name="${o}"][type="hidden"]`),i||(i=document.createElement("input"),i.type="hidden",i.name=o,r.appendChild(i)),n.forEach(u=>u.removeAttribute("name")))}const a=()=>{if(i){const s=n.map(o=>o.value).join("");i.value=s,s.length===n.length&&r&&setTimeout(()=>{r.requestSubmit()},100)}};n.forEach((s,o)=>{s.addEventListener("input",u=>{const l=u.target;let f=l.value;f=f.replace(/[^0-9]/g,""),f.length>1&&(f=f.charAt(0)),l.value=f,f&&o<n.length-1&&n[o+1]?.focus(),a()}),s.addEventListener("paste",u=>{u.preventDefault();const f=(u.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"");for(let d=0;d<Math.min(f.length,n.length-o);d++){const p=n[o+d],E=f.charAt(d);p&&E&&(p.value=E)}const c=n.findIndex((d,p)=>p>=o&&!d.value);c!==-1?n[c]?.focus():n[Math.min(o+f.length,n.length-1)]?.focus(),a()}),s.addEventListener("keydown",u=>{if(u.key==="Backspace"){const l=u.target;if(!l.value&&o>0){u.preventDefault();const f=n[o-1];f&&(f.value="",f.focus()),a()}else l.value&&setTimeout(()=>a(),0)}else u.key==="ArrowLeft"&&o>0?(u.preventDefault(),n[o-1]?.focus()):u.key==="ArrowRight"&&o<n.length-1&&(u.preventDefault(),n[o+1]?.focus())}),s.addEventListener("focus",()=>{s.select()})}),a()}),null}const q="authhero_incognito_mode",qt="https://unpkg.com/detectincognitojs@1.6.2";async function Kt(){return window.detectIncognito?window.detectIncognito:new Promise((e,t)=>{const n=document.createElement("script");n.src=qt,n.type="text/javascript",n.crossOrigin="anonymous",n.onload=()=>{let r=window.detectIncognito;!r&&window.__detectIncognito&&(r=window.__detectIncognito),!r&&window.module&&window.module.exports&&(r=window.module.exports),r&&typeof r=="function"?e(r):r&&r.detectIncognito?e(r.detectIncognito):typeof r=="object"&&r.default?e(r.default):t(new Error("detectIncognito not found after loading script"))},n.onerror=()=>{t(new Error("Failed to load detectincognitojs script"))},document.head.appendChild(n)})}function Wt(){try{const e=sessionStorage.getItem(q);return e===null?void 0:e==="true"}catch{return}}async function Ut(){try{const e=sessionStorage.getItem(q);if(e!==null)return e==="true";const t=await Kt(),{isPrivate:n}=await t();return sessionStorage.setItem(q,n.toString()),n}catch{try{sessionStorage.setItem(q,"false")}catch{}return!1}}const Vt=()=>{const e=Wt();if(e!==void 0){e&&Ie();return}Ut().then(t=>{t&&Ie()}).catch(()=>{})};function Ie(){const e=document.getElementById("incognito-warning-container");e&&e.classList.remove("hidden")}Vt();const Te=document.getElementById("client-root");Te&&Bt(Te,H(ft,{children:[H(Ht,{}),H(Ft,{}),H(jt,{})]}));
|
|
1
|
+
var Qe={Stringify:1},I=(e,t)=>{const r=new String(e);return r.isEscaped=!0,r.callbacks=t,r},Ye=/[&<>'"]/,et=async(e,t)=>{let r="";t||=[];const n=await Promise.all(e);for(let a=n.length-1;r+=n[a],a--,!(a<0);a--){let i=n[a];typeof i=="object"&&t.push(...i.callbacks||[]);const o=i.isEscaped;if(i=await(typeof i=="object"?i.toString():i),typeof i=="object"&&t.push(...i.callbacks||[]),i.isEscaped??o)r+=i;else{const l=[r];L(i,l),r=l[0]}}return I(r,t)},L=(e,t)=>{const r=e.search(Ye);if(r===-1){t[0]+=e;return}let n,a,i=0;for(a=r;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n=""";break;case 39:n="'";break;case 38:n="&";break;case 60:n="<";break;case 62:n=">";break;default:continue}t[0]+=e.substring(i,a)+n,i=a+1}t[0]+=e.substring(i,a)},tt=e=>{const t=e.callbacks;if(!t?.length)return e;const r=[e],n={};return t.forEach(a=>a({phase:Qe.Stringify,buffer:r,context:n})),r[0]},se=Symbol("RENDERER"),ne=Symbol("ERROR_HANDLER"),y=Symbol("STASH"),xe=Symbol("INTERNAL"),rt=Symbol("MEMO"),z=Symbol("PERMALINK"),ge=e=>(e[xe]=!0,e),$e=e=>({value:t,children:r})=>{if(!r)return;const n={children:[{tag:ge(()=>{e.push(t)}),props:{}}]};Array.isArray(r)?n.children.push(...r.flat()):n.children.push(r),n.children.push({tag:ge(()=>{e.pop()}),props:{}});const a={tag:"",props:n,type:""};return a[ne]=i=>{throw e.pop(),i},a},Oe=e=>{const t=[e],r=$e(t);return r.values=t,r.Provider=r,M.push(r),r},M=[],Be=e=>{const t=[e],r=(n=>{t.push(n.value);let a;try{a=n.children?(Array.isArray(n.children)?new je("",{},n.children):n.children).toString():""}catch(i){throw t.pop(),i}return a instanceof Promise?a.finally(()=>t.pop()).then(i=>I(i,i.callbacks)):(t.pop(),I(a))});return r.values=t,r.Provider=r,r[se]=$e(t),M.push(r),r},$=e=>e.values.at(-1),X={title:[],script:["src"],style:["data-href"],link:["href"],meta:["name","httpEquiv","charset","itemProp"]},ae={},D="data-precedence",Re=e=>e.rel==="stylesheet"&&"precedence"in e,_e=(e,t)=>e==="link"?t:X[e].length>0,H=e=>Array.isArray(e)?e:[e],ye=new WeakMap,Ee=(e,t,r,n)=>({buffer:a,context:i})=>{if(!a)return;const o=ye.get(i)||{};ye.set(i,o);const l=o[e]||=[];let d=!1;const c=X[e],s=_e(e,n!==void 0);if(s){e:for(const[,u]of l)if(!(e==="link"&&!(u.rel==="stylesheet"&&u[D]!==void 0))){for(const f of c)if((u?.[f]??null)===r?.[f]){d=!0;break e}}}if(d?a[0]=a[0].replaceAll(t,""):s||e==="link"?l.push([t,r,n]):l.unshift([t,r,n]),a[0].indexOf("</head>")!==-1){let u;if(e==="link"||n!==void 0){const f=[];u=l.map(([v,,h],E)=>{if(h===void 0)return[v,Number.MAX_SAFE_INTEGER,E];let p=f.indexOf(h);return p===-1&&(f.push(h),p=f.length-1),[v,p,E]}).sort((v,h)=>v[1]-h[1]||v[2]-h[2]).map(([v])=>v)}else u=l.map(([f])=>f);u.forEach(f=>{a[0]=a[0].replaceAll(f,"")}),a[0]=a[0].replace(/(?=<\/head>)/,u.join(""))}},F=(e,t,r)=>I(new k(e,r,H(t??[])).toString()),j=(e,t,r,n)=>{if("itemProp"in r)return F(e,t,r);let{precedence:a,blocking:i,...o}=r;a=n?a??"":void 0,n&&(o[D]=a);const l=new k(e,o,H(t||[])).toString();return l instanceof Promise?l.then(d=>I(l,[...d.callbacks||[],Ee(e,d,o,a)])):I(l,[Ee(e,l,o,a)])},nt=({children:e,...t})=>{const r=le();if(r){const n=$(r);if(n==="svg"||n==="head")return new k("title",t,H(e??[]))}return j("title",e,t,!1)},at=({children:e,...t})=>{const r=le();return["src","async"].some(n=>!t[n])||r&&$(r)==="head"?F("script",e,t):j("script",e,t,!1)},it=({children:e,...t})=>["href","precedence"].every(r=>r in t)?(t["data-href"]=t.href,delete t.href,j("style",e,t,!0)):F("style",e,t),ot=({children:e,...t})=>["onLoad","onError"].some(r=>r in t)||t.rel==="stylesheet"&&(!("precedence"in t)||"disabled"in t)?F("link",e,t):j("link",e,t,Re(t)),st=({children:e,...t})=>{const r=le();return r&&$(r)==="head"?F("meta",e,t):j("meta",e,t,!1)},qe=(e,{children:t,...r})=>new k(e,r,H(t??[])),lt=e=>(typeof e.action=="function"&&(e.action=z in e.action?e.action[z]:void 0),qe("form",e)),He=(e,t)=>(typeof t.formAction=="function"&&(t.formAction=z in t.formAction?t.formAction[z]:void 0),qe(e,t)),ct=e=>He("input",e),ut=e=>He("button",e);const Q=Object.freeze(Object.defineProperty({__proto__:null,button:ut,form:lt,input:ct,link:ot,meta:st,script:at,style:it,title:nt},Symbol.toStringTag,{value:"Module"}));var ft=new Map([["className","class"],["htmlFor","for"],["crossOrigin","crossorigin"],["httpEquiv","http-equiv"],["itemProp","itemprop"],["fetchPriority","fetchpriority"],["noModule","nomodule"],["formAction","formaction"]]),G=e=>ft.get(e)||e,Fe=(e,t)=>{for(const[r,n]of Object.entries(e)){const a=r[0]==="-"||!/[A-Z]/.test(r)?r:r.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`);t(a,n==null?null:typeof n=="number"?a.match(/^(?:a|border-im|column(?:-c|s)|flex(?:$|-[^b])|grid-(?:ar|[^a])|font-w|li|or|sca|st|ta|wido|z)|ty$/)?`${n}`:`${n}px`:n)}},_=void 0,le=()=>_,dt=e=>/[A-Z]/.test(e)&&e.match(/^(?:al|basel|clip(?:Path|Rule)$|co|do|fill|fl|fo|gl|let|lig|i|marker[EMS]|o|pai|pointe|sh|st[or]|text[^L]|tr|u|ve|w)/)?e.replace(/([A-Z])/g,"-$1").toLowerCase():e,vt=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ht=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],ce=(e,t)=>{for(let r=0,n=e.length;r<n;r++){const a=e[r];if(typeof a=="string")L(a,t);else{if(typeof a=="boolean"||a===null||a===void 0)continue;a instanceof k?a.toStringToBuffer(t):typeof a=="number"||a.isEscaped?t[0]+=a:a instanceof Promise?t.unshift("",a):ce(a,t)}}},k=class{tag;props;key;children;isEscaped=!0;localContexts;constructor(e,t,r){this.tag=e,this.props=t,this.children=r}get type(){return this.tag}get ref(){return this.props.ref||null}toString(){const e=[""];this.localContexts?.forEach(([t,r])=>{t.values.push(r)});try{this.toStringToBuffer(e)}finally{this.localContexts?.forEach(([t])=>{t.values.pop()})}return e.length===1?"callbacks"in e?tt(I(e[0],e.callbacks)).toString():e[0]:et(e,e.callbacks)}toStringToBuffer(e){const t=this.tag,r=this.props;let{children:n}=this;e[0]+=`<${t}`;const a=_&&$(_)==="svg"?i=>dt(G(i)):i=>G(i);for(let[i,o]of Object.entries(r))if(i=a(i),i!=="children"){if(i==="style"&&typeof o=="object"){let l="";Fe(o,(d,c)=>{c!=null&&(l+=`${l?";":""}${d}:${c}`)}),e[0]+=' style="',L(l,e),e[0]+='"'}else if(typeof o=="string")e[0]+=` ${i}="`,L(o,e),e[0]+='"';else if(o!=null)if(typeof o=="number"||o.isEscaped)e[0]+=` ${i}="${o}"`;else if(typeof o=="boolean"&&ht.includes(i))o&&(e[0]+=` ${i}=""`);else if(i==="dangerouslySetInnerHTML"){if(n.length>0)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");n=[I(o.__html)]}else if(o instanceof Promise)e[0]+=` ${i}="`,e.unshift('"',o);else if(typeof o=="function"){if(!i.startsWith("on")&&i!=="ref")throw new Error(`Invalid prop '${i}' of type 'function' supplied to '${t}'.`)}else e[0]+=` ${i}="`,L(o.toString(),e),e[0]+='"'}if(vt.includes(t)&&n.length===0){e[0]+="/>";return}e[0]+=">",ce(n,e),e[0]+=`</${t}>`}},Y=class extends k{toStringToBuffer(e){const{children:t}=this,r={...this.props};t.length&&(r.children=t.length===1?t[0]:t);const n=this.tag.call(null,r);if(!(typeof n=="boolean"||n==null))if(n instanceof Promise)if(M.length===0)e.unshift("",n);else{const a=M.map(i=>[i,i.values.at(-1)]);e.unshift("",n.then(i=>(i instanceof k&&(i.localContexts=a),i)))}else n instanceof k?n.toStringToBuffer(e):typeof n=="number"||n.isEscaped?(e[0]+=n,n.callbacks&&(e.callbacks||=[],e.callbacks.push(...n.callbacks))):L(n,e)}},je=class extends k{toStringToBuffer(e){ce(this.children,e)}},be=!1,ee=(e,t,r)=>{if(!be){for(const n in ae)Q[n][se]=ae[n];be=!0}return typeof e=="function"?new Y(e,t,r):Q[e]?new Y(Q[e],t,r):e==="svg"||e==="head"?(_||=Be(""),new k(e,t,[new Y(_,{value:e},r)])):new k(e,t,r)},pt=({children:e})=>new je("",{children:e},Array.isArray(e)?e:e?[e]:[]);function W(e,t,r){let n;if(!t||!("children"in t))n=ee(e,t,[]);else{const a=t.children;n=Array.isArray(a)?ee(e,t,a):ee(e,t,[a])}return n.key=r,n}var q="_hp",mt={Change:"Input",DoubleClick:"DblClick"},gt={svg:"2000/svg",math:"1998/Math/MathML"},N=[],ie=new WeakMap,x=void 0,yt=()=>x,P=e=>"t"in e,te={onClick:["click",!1]},we=e=>{if(!e.startsWith("on"))return;if(te[e])return te[e];const t=e.match(/^on([A-Z][a-zA-Z]+?(?:PointerCapture)?)(Capture)?$/);if(t){const[,r,n]=t;return te[e]=[(mt[r]||r).toLowerCase(),!!n]}},Se=(e,t)=>x&&e instanceof SVGElement&&/[A-Z]/.test(t)&&(t in e.style||t.match(/^(?:o|pai|str|u|ve)/))?t.replace(/([A-Z])/g,"-$1").toLowerCase():t,Et=(e,t,r)=>{t||={};for(let n in t){const a=t[n];if(n!=="children"&&(!r||r[n]!==a)){n=G(n);const i=we(n);if(i){if(r?.[n]!==a&&(r&&e.removeEventListener(i[0],r[n],i[1]),a!=null)){if(typeof a!="function")throw new Error(`Event handler for "${n}" is not a function`);e.addEventListener(i[0],a,i[1])}}else if(n==="dangerouslySetInnerHTML"&&a)e.innerHTML=a.__html;else if(n==="ref"){let o;typeof a=="function"?o=a(e)||(()=>a(null)):a&&"current"in a&&(a.current=e,o=()=>a.current=null),ie.set(e,o)}else if(n==="style"){const o=e.style;typeof a=="string"?o.cssText=a:(o.cssText="",a!=null&&Fe(a,o.setProperty.bind(o)))}else{if(n==="value"){const l=e.nodeName;if(l==="INPUT"||l==="TEXTAREA"||l==="SELECT"){if(e.value=a==null||a===!1?null:a,l==="TEXTAREA"){e.textContent=a;continue}else if(l==="SELECT"){e.selectedIndex===-1&&(e.selectedIndex=0);continue}}}else(n==="checked"&&e.nodeName==="INPUT"||n==="selected"&&e.nodeName==="OPTION")&&(e[n]=a);const o=Se(e,n);a==null||a===!1?e.removeAttribute(o):a===!0?e.setAttribute(o,""):typeof a=="string"||typeof a=="number"?e.setAttribute(o,a):e.setAttribute(o,a.toString())}}}if(r)for(let n in r){const a=r[n];if(n!=="children"&&!(n in t)){n=G(n);const i=we(n);i?e.removeEventListener(i[0],a,i[1]):n==="ref"?ie.get(e)?.():e.removeAttribute(Se(e,n))}}},bt=(e,t)=>{t[y][0]=0,N.push([e,t]);const r=t.tag[se]||t.tag,n=r.defaultProps?{...r.defaultProps,...t.props}:t.props;try{return[r.call(null,n)]}finally{N.pop()}},Ke=(e,t,r,n,a)=>{e.vR?.length&&(n.push(...e.vR),delete e.vR),typeof e.tag=="function"&&e[y][1][fe]?.forEach(i=>a.push(i)),e.vC.forEach(i=>{if(P(i))r.push(i);else if(typeof i.tag=="function"||i.tag===""){i.c=t;const o=r.length;if(Ke(i,t,r,n,a),i.s){for(let l=o;l<r.length;l++)r[l].s=!0;i.s=!1}}else r.push(i),i.vR?.length&&(n.push(...i.vR),delete i.vR)})},wt=e=>{for(;e&&(e.tag===q||!e.e);)e=e.tag===q||!e.vC?.[0]?e.nN:e.vC[0];return e?.e},We=e=>{P(e)||(e[y]?.[1][fe]?.forEach(t=>t[2]?.()),ie.get(e.e)?.(),e.p===2&&e.vC?.forEach(t=>t.p=2),e.vC?.forEach(We)),e.p||(e.e?.remove(),delete e.e),typeof e.tag=="function"&&(R.delete(e),U.delete(e),delete e[y][3],e.a=!0)},ue=(e,t,r)=>{e.c=t,Ue(e,t,r)},Ae=(e,t)=>{if(t){for(let r=0,n=e.length;r<n;r++)if(e[r]===t)return r}},ke=Symbol(),Ue=(e,t,r)=>{const n=[],a=[],i=[];Ke(e,t,n,a,i),a.forEach(We);const o=r?void 0:t.childNodes;let l,d=null;if(r)l=-1;else if(!o.length)l=0;else{const c=Ae(o,wt(e.nN));c!==void 0?(d=o[c],l=c):l=Ae(o,n.find(s=>s.tag!==q&&s.e)?.e)??-1,l===-1&&(r=!0)}for(let c=0,s=n.length;c<s;c++,l++){const u=n[c];let f;if(u.s&&u.e)f=u.e,u.s=!1;else{const v=r||!u.e;P(u)?(u.e&&u.d&&(u.e.textContent=u.t),u.d=!1,f=u.e||=document.createTextNode(u.t)):(f=u.e||=u.n?document.createElementNS(u.n,u.tag):document.createElement(u.tag),Et(f,u.props,u.pP),Ue(u,f,v))}u.tag===q?l--:r?f.parentNode||t.appendChild(f):o[l]!==f&&o[l-1]!==f&&(o[l+1]===f?t.appendChild(o[l]):t.insertBefore(f,d||o[l]||null))}if(e.pP&&(e.pP=void 0),i.length){const c=[],s=[];i.forEach(([,u,,f,v])=>{u&&c.push(u),f&&s.push(f),v?.()}),c.forEach(u=>u()),s.length&&requestAnimationFrame(()=>{s.forEach(u=>u())})}},St=(e,t)=>!!(e&&e.length===t.length&&e.every((r,n)=>r[1]===t[n][1])),U=new WeakMap,J=(e,t,r)=>{const n=!r&&t.pC;r&&(t.pC||=t.vC);let a;try{r||=typeof t.tag=="function"?bt(e,t):H(t.props.children),r[0]?.tag===""&&r[0][ne]&&(a=r[0][ne],e[5].push([e,a,t]));const i=n?[...t.pC]:t.vC?[...t.vC]:void 0,o=[];let l;for(let d=0;d<r.length;d++){if(Array.isArray(r[d])){r.splice(d,1,...r[d].flat(1/0)),d--;continue}let c=Ve(r[d]);if(c){typeof c.tag=="function"&&!c.tag[xe]&&(M.length>0&&(c[y][2]=M.map(u=>[u,u.values.at(-1)])),e[5]?.length&&(c[y][3]=e[5].at(-1)));let s;if(i&&i.length){const u=i.findIndex(P(c)?f=>P(f):c.key!==void 0?f=>f.key===c.key&&f.tag===c.tag:f=>f.tag===c.tag);u!==-1&&(s=i[u],i.splice(u,1))}if(s)if(P(c))s.t!==c.t&&(s.t=c.t,s.d=!0),c=s;else{const u=s.pP=s.props;if(s.props=c.props,s.f||=c.f||t.f,typeof c.tag=="function"){const f=s[y][2];s[y][2]=c[y][2]||[],s[y][3]=c[y][3],!s.f&&((s.o||s)===c.o||s.tag[rt]?.(u,s.props))&&St(f,s[y][2])&&(s.s=!0)}c=s}else if(!P(c)&&x){const u=$(x);u&&(c.n=u)}if(!P(c)&&!c.s&&(J(e,c),delete c.f),o.push(c),l&&!l.s&&!c.s)for(let u=l;u&&!P(u);u=u.vC?.at(-1))u.nN=c;l=c}}t.vR=n?[...t.vC,...i||[]]:i||[],t.vC=o,n&&delete t.pC}catch(i){if(t.f=!0,i===ke){if(a)return;throw i}const[o,l,d]=t[y]?.[3]||[];if(l){const c=()=>V([0,!1,e[2]],d),s=U.get(d)||[];s.push(c),U.set(d,s);const u=l(i,()=>{const f=U.get(d);if(f){const v=f.indexOf(c);if(v!==-1)return f.splice(v,1),c()}});if(u){if(e[0]===1)e[1]=!0;else if(J(e,d,[u]),(l.length===1||e!==o)&&d.c){ue(d,d.c,!1);return}throw ke}}throw i}finally{a&&e[5].pop()}},Ve=e=>{if(!(e==null||typeof e=="boolean")){if(typeof e=="string"||typeof e=="number")return{t:e.toString(),d:!0};if("vR"in e&&(e={tag:e.tag,props:e.props,key:e.key,f:e.f,type:e.tag,ref:e.props.ref,o:e.o||e}),typeof e.tag=="function")e[y]=[0,[]];else{const t=gt[e.tag];t&&(x||=Oe(""),e.props.children=[{tag:x,props:{value:e.n=`http://www.w3.org/${t}`,children:e.props.children}}])}return e}},Ze=(e,t,r)=>{e.c===t&&(e.c=r,e.vC.forEach(n=>Ze(n,t,r)))},Ce=(e,t)=>{t[y][2]?.forEach(([r,n])=>{r.values.push(n)});try{J(e,t,void 0)}catch{return}if(t.a){delete t.a;return}t[y][2]?.forEach(([r])=>{r.values.pop()}),(e[0]!==1||!e[1])&&ue(t,t.c,!1)},R=new WeakMap,Pe=[],V=async(e,t)=>{e[5]||=[];const r=R.get(t);r&&r[0](void 0);let n;const a=new Promise(i=>n=i);if(R.set(t,[n,()=>{e[2]?e[2](e,t,i=>{Ce(i,t)}).then(()=>n(t)):(Ce(e,t),n(t))}]),Pe.length)Pe.at(-1).add(t);else{await Promise.resolve();const i=R.get(t);i&&(R.delete(t),i[1]())}return a},At=(e,t)=>{const r=[];r[5]=[],r[4]=!0,J(r,e,void 0),r[4]=!1;const n=document.createDocumentFragment();ue(e,n,!0),Ze(e,n,t),t.replaceChildren(n)},kt=(e,t,r)=>({tag:q,props:{children:e},key:r,e:t,p:1}),Ct=0,fe=1,Pt=2,It=3,re=new WeakMap,de=(e,t)=>!e||!t||e.length!==t.length||t.some((r,n)=>r!==e[n]),Tt=void 0,Ie=[],ze=e=>{const t=()=>typeof e=="function"?e():e,r=N.at(-1);if(!r)return[t(),()=>{}];const[,n]=r,a=n[y][1][Ct]||=[],i=n[y][0]++;return a[i]||=[t(),o=>{const l=Tt,d=a[i];if(typeof o=="function"&&(o=o(d[0])),!Object.is(o,d[0]))if(d[0]=o,Ie.length){const[c,s]=Ie.at(-1);Promise.all([c===3?n:V([c,!1,l],n),s]).then(([u])=>{if(!u||!(c===2||c===3))return;const f=u.vC;requestAnimationFrame(()=>{setTimeout(()=>{f===u.vC&&V([c===3?1:0,!1,l],u)})})})}else V([0,!1,l],n)}]},Dt=(e,t,r)=>{const n=N.at(-1);if(!n)return;const[,a]=n,i=a[y][1][fe]||=[],o=a[y][0]++,[l,,d]=i[o]||=[];if(de(l,r)){d&&d();const c=()=>{s[e]=void 0,s[2]=t()},s=[r,void 0,void 0,void 0,void 0];s[e]=c,i[o]=s}},Xe=(e,t)=>Dt(3,e,t),ve=(e,t)=>{const r=N.at(-1);if(!r)return e;const[,n]=r,a=n[y][1][Pt]||=[],i=n[y][0]++,o=a[i];return de(o?.[1],t)?a[i]=[e,t]:e=a[i][0],e},Lt=e=>{const t=re.get(e);if(t){if(t.length===2)throw t[1];return t[0]}throw e.then(r=>re.set(e,[r]),r=>re.set(e,[void 0,r])),e},Mt=(e,t)=>{const r=N.at(-1);if(!r)return e();const[,n]=r,a=n[y][1][It]||=[],i=n[y][0]++,o=a[i];return de(o?.[1],t)&&(a[i]=[e(),t]),a[i][0]},Nt=Oe({pending:!1,data:null,method:null,action:null}),Te=new Set,xt=e=>{Te.add(e),e.finally(()=>Te.delete(e))},he=(e,t)=>Mt(()=>r=>{let n;e&&(typeof e=="function"?n=e(r)||(()=>{e(null)}):e&&"current"in e&&(e.current=r,n=()=>{e.current=null}));const a=t(r);return()=>{a?.(),n?.()}},[e]),De=Object.create(null),Le=Object.create(null),K=(e,t,r,n,a)=>{if(t?.itemProp)return{tag:e,props:t,type:e,ref:t.ref};const i=document.head;let{onLoad:o,onError:l,precedence:d,blocking:c,...s}=t,u=null,f=!1;const v=X[e],h=_e(e,n),E=g=>g.getAttribute("rel")==="stylesheet"&&g.getAttribute(D)!==null;let p;if(h){const g=i.querySelectorAll(e);e:for(const b of g)if(!(e==="link"&&!E(b))){for(const m of v)if(b.getAttribute(m)===t[m]){u=b;break e}}if(!u){const b=v.reduce((m,w)=>t[w]===void 0?m:`${m}-${w}-${t[w]}`,e);f=!Le[b],u=Le[b]||=(()=>{const m=document.createElement(e);for(const w of v)t[w]!==void 0&&m.setAttribute(w,t[w]);return t.rel&&m.setAttribute("rel",t.rel),m})()}}else p=i.querySelectorAll(e);d=n?d??"":void 0,n&&(s[D]=d);const A=ve(g=>{if(h){if(e==="link"&&d!==void 0){let m=!1;for(const w of i.querySelectorAll(e)){const T=w.getAttribute(D);if(T===null){i.insertBefore(g,w);return}if(m&&T!==d){i.insertBefore(g,w);return}T===d&&(m=!0)}i.appendChild(g);return}let b=!1;for(const m of i.querySelectorAll(e)){if(b&&m.getAttribute(D)!==d){i.insertBefore(g,m);return}m.getAttribute(D)===d&&(b=!0)}i.appendChild(g)}else if(e==="link")i.contains(g)||i.appendChild(g);else if(p){let b=!1;for(const m of p)if(m===g){b=!0;break}b||i.insertBefore(g,i.contains(p[0])?p[0]:i.querySelector(e)),p=void 0}},[h,d,e]),C=he(t.ref,g=>{const b=v[0];if(r===2&&(g.innerHTML=""),(f||p)&&A(g),!l&&!o||!b)return;let m=De[g.getAttribute(b)]||=new Promise((w,T)=>{g.addEventListener("load",w),g.addEventListener("error",T)});o&&(m=m.then(o)),l&&(m=m.catch(l)),m.catch(()=>{})});if(a&&c==="render"){const g=X[e][0];if(g&&t[g]){const b=t[g],m=De[b]||=new Promise((w,T)=>{A(u),u.addEventListener("load",w),u.addEventListener("error",T)});Lt(m)}}const S={tag:e,type:e,props:{...s,ref:C},ref:C};return S.p=r,u&&(S.e=u),kt(S,i)},$t=e=>{const t=yt();return(t&&$(t))?.endsWith("svg")?{tag:"title",props:e,type:"title",ref:e.ref}:K("title",e,void 0,!1,!1)},Ot=e=>!e||["src","async"].some(t=>!e[t])?{tag:"script",props:e,type:"script",ref:e.ref}:K("script",e,1,!1,!0),Bt=e=>!e||!["href","precedence"].every(t=>t in e)?{tag:"style",props:e,type:"style",ref:e.ref}:(e["data-href"]=e.href,delete e.href,K("style",e,2,!0,!0)),Rt=e=>!e||["onLoad","onError"].some(t=>t in e)||e.rel==="stylesheet"&&(!("precedence"in e)||"disabled"in e)?{tag:"link",props:e,type:"link",ref:e.ref}:K("link",e,1,Re(e),!0),_t=e=>K("meta",e,void 0,!1,!1),Ge=Symbol(),qt=e=>{const{action:t,...r}=e;typeof t!="function"&&(r.action=t);const[n,a]=ze([null,!1]),i=ve(async c=>{const s=c.isTrusted?t:c.detail[Ge];if(typeof s!="function")return;c.preventDefault();const u=new FormData(c.target);a([u,!0]);const f=s(u);f instanceof Promise&&(xt(f),await f),a([null,!0])},[]),o=he(e.ref,c=>(c.addEventListener("submit",i),()=>{c.removeEventListener("submit",i)})),[l,d]=n;return n[1]=!1,{tag:Nt,props:{value:{pending:l!==null,data:l,method:l?"post":null,action:l?t:null},children:{tag:"form",props:{...r,ref:o},type:"form",ref:o}},f:d}},Je=(e,{formAction:t,...r})=>{if(typeof t=="function"){const n=ve(a=>{a.preventDefault(),a.currentTarget.form.dispatchEvent(new CustomEvent("submit",{detail:{[Ge]:t}}))},[]);r.ref=he(r.ref,a=>(a.addEventListener("click",n),()=>{a.removeEventListener("click",n)}))}return{tag:e,props:r,type:e,ref:r.ref}},Ht=e=>Je("input",e),Ft=e=>Je("button",e);Object.assign(ae,{title:$t,script:Ot,style:Bt,link:Rt,meta:_t,form:qt,input:Ht,button:Ft});Be(null);new TextEncoder;var jt=(e,t={})=>{let r;return Object.keys(t).length>0&&console.warn("createRoot options are not supported yet"),{render(n){if(r===null)throw new Error("Cannot update an unmounted root");r?r(n):At(Ve({tag:()=>{const[a,i]=ze(n);return r=i,a},props:{}}),e)},unmount(){r?.(null),r=null}}},Kt=(e,t,r={})=>{const n=jt(e,r);return n.render(t),n};function Wt(){return Xe(()=>{const e=document.querySelectorAll("form"),t=[];return e.forEach(r=>{const n=i=>{if(i.defaultPrevented)return;const o=i.submitter;o&&o.type==="submit"&&(o.classList.add("is-loading"),o.disabled=!0)};r.addEventListener("submit",n);const a=i=>{i.persisted&&r.querySelectorAll("button[type=submit]").forEach(l=>{l.classList.remove("is-loading"),l.disabled=!1})};window.addEventListener("pageshow",a),t.push(()=>{r.removeEventListener("submit",n),window.removeEventListener("pageshow",a)})}),()=>{t.forEach(r=>r())}},[]),null}function Ut(){return Xe(()=>{const e=document.querySelectorAll("[data-password-toggle]"),t=[];return e.forEach(r=>{const n=r.querySelector("input[type='password'], input[data-password-input]"),a=r.querySelector("[data-password-toggle-btn]"),i=a?.querySelector("[data-show-icon]"),o=a?.querySelector("[data-hide-icon]");if(!n||!a||!i||!o)return;const l=c=>{c?(n.type="text",n.setAttribute("data-password-input","text"),i.classList.add("hidden"),o.classList.remove("hidden")):(n.type="password",n.setAttribute("data-password-input","password"),o.classList.add("hidden"),i.classList.remove("hidden"))},d=c=>{c.preventDefault();const s=n.type==="password";l(s)};a.addEventListener("click",d),t.push(()=>{a.removeEventListener("click",d)})}),()=>{t.forEach(r=>r())}},[]),null}function Vt(){return document.querySelectorAll("[data-input-otp-container]").forEach(t=>{const r=Array.from(t.querySelectorAll("[data-input-otp-slot]"));if(!r.length)return;const n=t.closest("form");let a=null;if(n&&r.length>0){const l=r[0]?.getAttribute("name");l&&(a=n.querySelector(`input[name="${l}"][type="hidden"]`),a||(a=document.createElement("input"),a.type="hidden",a.name=l,n.appendChild(a)),r.forEach(d=>d.removeAttribute("name")))}const i=()=>{if(a){const o=r.map(l=>l.value).join("");a.value=o,o.length===r.length&&n&&setTimeout(()=>{n.requestSubmit()},100)}};r.forEach((o,l)=>{o.addEventListener("input",d=>{const c=d.target;let s=c.value;s=s.replace(/[^0-9]/g,""),s.length>1&&(s=s.charAt(0)),c.value=s,s&&l<r.length-1&&r[l+1]?.focus(),i()}),o.addEventListener("paste",d=>{d.preventDefault();const s=(d.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"");for(let f=0;f<Math.min(s.length,r.length-l);f++){const v=r[l+f],h=s.charAt(f);v&&h&&(v.value=h)}const u=r.findIndex((f,v)=>v>=l&&!f.value);u!==-1?r[u]?.focus():r[Math.min(l+s.length,r.length-1)]?.focus(),i()}),o.addEventListener("keydown",d=>{if(d.key==="Backspace"){const c=d.target;if(!c.value&&l>0){d.preventDefault();const s=r[l-1];s&&(s.value="",s.focus()),i()}else c.value&&setTimeout(()=>i(),0)}else d.key==="ArrowLeft"&&l>0?(d.preventDefault(),r[l-1]?.focus()):d.key==="ArrowRight"&&l<r.length-1&&(d.preventDefault(),r[l+1]?.focus())}),o.addEventListener("focus",()=>{o.select()})}),i()}),null}var oe={d:(e,t)=>{for(var r in t)oe.o(t,r)&&!oe.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},pe={};oe.d(pe,{A:()=>Zt,k:()=>me});var O=function(e,t,r,n){return new(r||(r=Promise))(function(a,i){function o(c){try{d(n.next(c))}catch(s){i(s)}}function l(c){try{d(n.throw(c))}catch(s){i(s)}}function d(c){var s;c.done?a(c.value):(s=c.value,s instanceof r?s:new r(function(u){u(s)})).then(o,l)}d((n=n.apply(e,[])).next())})},B=function(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(d){return function(c){return(function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!((a=a.length>0&&a[a.length-1])||s[0]!==6&&s[0]!==2)){o=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(s[0]===6&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(u){s=[6,u],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}})([d,c])}}};function me(){return O(this,void 0,Promise,function(){return B(this,function(e){switch(e.label){case 0:return[4,new Promise(function(t,r){var n="Unknown",a=!1;function i(f){a||(a=!0,t({isPrivate:f,browserName:n}))}function o(){var f=0,v=parseInt("-1");try{v.toFixed(v)}catch(h){f=h.message.length}return f}function l(){return O(this,void 0,void 0,function(){var f,v;return B(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,navigator.storage.getDirectory()];case 1:return h.sent(),i(!1),[3,3];case 2:return f=h.sent(),v=f instanceof Error&&typeof f.message=="string"?f.message:String(f),i(v.includes("unknown transient reason")),[3,3];case 3:return[2]}})})}function d(){var f;return O(this,void 0,Promise,function(){return B(this,function(v){switch(v.label){case 0:return typeof((f=navigator.storage)===null||f===void 0?void 0:f.getDirectory)!="function"?[3,2]:[4,l()];case 1:return v.sent(),[3,3];case 2:navigator.maxTouchPoints!==void 0?(function(){var h=String(Math.random());try{var E=indexedDB.open(h,1);E.onupgradeneeded=function(p){var A=p.target.result,C=function(S){i(S)};try{A.createObjectStore("t",{autoIncrement:!0}).put(new Blob),C(!1)}catch(S){(S instanceof Error&&typeof S.message=="string"?S.message:String(S)).includes("are not yet supported")?C(!0):C(!1)}finally{A.close(),indexedDB.deleteDatabase(h)}},E.onerror=function(){return i(!1)}}catch{i(!1)}})():(function(){var h=window.openDatabase,E=window.localStorage;try{h(null,null,null,null)}catch{return void i(!0)}try{E.setItem("test","1"),E.removeItem("test")}catch{return void i(!0)}i(!1)})(),v.label=3;case 3:return[2]}})})}function c(){navigator.webkitTemporaryStorage.queryUsageAndQuota(function(f,v){var h=Math.round(v/1048576),E=2*Math.round((function(){var p,A,C,S=window;return(C=(A=(p=S?.performance)===null||p===void 0?void 0:p.memory)===null||A===void 0?void 0:A.jsHeapSizeLimit)!==null&&C!==void 0?C:1073741824})()/1048576);i(h<E)},function(f){r(new Error("detectIncognito somehow failed to query storage quota: "+f.message))})}function s(){self.Promise!==void 0&&self.Promise.allSettled!==void 0?c():(0,window.webkitRequestFileSystem)(0,1,function(){i(!1)},function(){i(!0)})}function u(){var f;return O(this,void 0,Promise,function(){var v,h,E;return B(this,function(p){switch(p.label){case 0:if(typeof((f=navigator.storage)===null||f===void 0?void 0:f.getDirectory)!="function")return[3,5];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,navigator.storage.getDirectory()];case 2:return p.sent(),i(!1),[3,4];case 3:return v=p.sent(),h=v instanceof Error&&typeof v.message=="string"?v.message:String(v),i(h.includes("Security error")),[2];case 4:return[3,6];case 5:(E=indexedDB.open("inPrivate")).onerror=function(A){E.error&&E.error.name==="InvalidStateError"&&A.preventDefault(),i(!0)},E.onsuccess=function(){indexedDB.deleteDatabase("inPrivate"),i(!1)},p.label=6;case 6:return[2]}})})}(function(){return O(this,void 0,Promise,function(){return B(this,function(f){switch(f.label){case 0:return o()!==44&&o()!==43?[3,2]:(n="Safari",[4,d()]);case 1:return f.sent(),[3,6];case 2:return o()!==51?[3,3]:(v=navigator.userAgent,n=v.match(/Chrome/)?navigator.brave!==void 0?"Brave":v.match(/Edg/)?"Edge":v.match(/OPR/)?"Opera":"Chrome":"Chromium",s(),[3,6]);case 3:return o()!==25?[3,5]:(n="Firefox",[4,u()]);case 4:return f.sent(),[3,6];case 5:navigator.msSaveBlob!==void 0?(n="Internet Explorer",i(window.indexedDB===void 0)):r(new Error("detectIncognito cannot determine the browser")),f.label=6;case 6:return[2]}var v})})})().catch(r)})];case 1:return[2,e.sent()]}})})}typeof window<"u"&&(window.detectIncognito=me);const Zt=me;pe.A;const zt=pe.k,Z="authhero_incognito_mode";function Xt(){try{const e=sessionStorage.getItem(Z);return e===null?void 0:e==="true"}catch{return}}async function Gt(){try{const e=sessionStorage.getItem(Z);if(e!==null)return e==="true";const{isPrivate:t}=await zt();return sessionStorage.setItem(Z,t.toString()),t}catch{try{sessionStorage.setItem(Z,"false")}catch{}return!1}}const Jt=()=>{const e=Xt();if(e!==void 0){e&&Me();return}Gt().then(t=>{t&&Me()}).catch(()=>{})};function Me(){const e=document.getElementById("incognito-warning-container");e&&e.classList.remove("hidden")}Jt();const Ne=document.getElementById("client-root");Ne&&Kt(Ne,W(pt,{children:[W(Wt,{}),W(Ut,{}),W(Vt,{})]}));
|