@worldcoin/idkit 0.3.0-alpha.3 → 0.3.0-alpha.4
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/build/idkit-js.js
CHANGED
|
@@ -19,7 +19,7 @@ Error generating stack: `+i.message+`
|
|
|
19
19
|
`),JZ=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,VP=new Map;function Qo(e){var t=VP.get(e);if(t===void 0){if(!JZ.test(e))throw Error(rt(65,e));t=De("<"+e),VP.set(e,t)}return t}var QZ=De("<!DOCTYPE html>");function eG(e,t,r,n,o){switch(t){case"select":e.push(Qo("select"));var i=null,s=null;for(p in r)if(Tn.call(r,p)){var a=r[p];if(a!=null)switch(p){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"defaultValue":case"value":break;default:Kn(e,n,p,a)}}return e.push(Bs),Km(e,s,i),i;case"option":s=o.selectedValue,e.push(Qo("option"));var u=a=null,l=null,p=null;for(i in r)if(Tn.call(r,i)){var h=r[i];if(h!=null)switch(i){case"children":a=h;break;case"selected":l=h;break;case"dangerouslySetInnerHTML":p=h;break;case"value":u=h;default:Kn(e,n,i,h)}}if(s!=null)if(r=u!==null?""+u:XZ(a),cb(s)){for(n=0;n<s.length;n++)if(""+s[n]===r){e.push(ob);break}}else""+s===r&&e.push(ob);else l&&e.push(ob);return e.push(Bs),Km(e,p,a),a;case"textarea":e.push(Qo("textarea")),p=s=i=null;for(a in r)if(Tn.call(r,a)&&(u=r[a],u!=null))switch(a){case"children":p=u;break;case"value":i=u;break;case"defaultValue":s=u;break;case"dangerouslySetInnerHTML":throw Error(rt(91));default:Kn(e,n,a,u)}if(i===null&&s!==null&&(i=s),e.push(Bs),p!=null){if(i!=null)throw Error(rt(92));if(cb(p)&&1<p.length)throw Error(rt(93));i=""+p}return typeof i=="string"&&i[0]===`
|
|
20
20
|
`&&e.push(sb),i!==null&&e.push(ot(Ur(""+i))),null;case"input":e.push(Qo("input")),u=p=a=i=null;for(s in r)if(Tn.call(r,s)&&(l=r[s],l!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,"input"));case"defaultChecked":u=l;break;case"defaultValue":a=l;break;case"checked":p=l;break;case"value":i=l;break;default:Kn(e,n,s,l)}return p!==null?Kn(e,n,"checked",p):u!==null&&Kn(e,n,"checked",u),i!==null?Kn(e,n,"value",i):a!==null&&Kn(e,n,"value",a),e.push(BP),null;case"menuitem":e.push(Qo("menuitem"));for(var y in r)if(Tn.call(r,y)&&(i=r[y],i!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(rt(400));default:Kn(e,n,y,i)}return e.push(Bs),null;case"title":e.push(Qo("title")),i=null;for(h in r)if(Tn.call(r,h)&&(s=r[h],s!=null))switch(h){case"children":i=s;break;case"dangerouslySetInnerHTML":throw Error(rt(434));default:Kn(e,n,h,s)}return e.push(Bs),i;case"listing":case"pre":e.push(Qo(t)),s=i=null;for(u in r)if(Tn.call(r,u)&&(a=r[u],a!=null))switch(u){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;default:Kn(e,n,u,a)}if(e.push(Bs),s!=null){if(i!=null)throw Error(rt(60));if(typeof s!="object"||!("__html"in s))throw Error(rt(61));r=s.__html,r!=null&&(typeof r=="string"&&0<r.length&&r[0]===`
|
|
21
21
|
`?e.push(sb,ot(r)):e.push(ot(""+r)))}return typeof i=="string"&&i[0]===`
|
|
22
|
-
`&&e.push(sb),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Qo(t));for(var b in r)if(Tn.call(r,b)&&(i=r[b],i!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,t));default:Kn(e,n,b,i)}return e.push(BP),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ib(e,r,t,n);case"html":return o.insertionMode===0&&e.push(QZ),ib(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return ib(e,r,t,n);e.push(Qo(t)),s=i=null;for(l in r)if(Tn.call(r,l)&&(a=r[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":uO(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:aO(l)&&typeof a!="function"&&typeof a!="symbol"&&e.push($s,ot(l),Kl,ot(Ur(a)),Va)}return e.push(Bs),Km(e,s,i),i}}var tG=De("</"),rG=De(">"),nG=De('<template id="'),oG=De('"></template>'),iG=De("<!--$-->"),sG=De('<!--$?--><template id="'),aG=De('"></template>'),uG=De("<!--$!-->"),lG=De("<!--/$-->"),cG=De("<template"),fG=De('"'),dG=De(' data-dgst="');De(' data-msg="');De(' data-stck="');var hG=De("></template>");function jP(e,t,r){if(Fe(e,sG),r===null)throw Error(rt(395));return Fe(e,r),Vt(e,aG)}var pG=De('<div hidden id="'),mG=De('">'),gG=De("</div>"),yG=De('<svg aria-hidden="true" style="display:none" id="'),vG=De('">'),wG=De("</svg>"),bG=De('<math aria-hidden="true" style="display:none" id="'),_G=De('">'),xG=De("</math>"),EG=De('<table hidden id="'),SG=De('">'),CG=De("</table>"),MG=De('<table hidden><tbody id="'),TG=De('">'),PG=De("</tbody></table>"),OG=De('<table hidden><tr id="'),DG=De('">'),IG=De("</tr></table>"),AG=De('<table hidden><colgroup id="'),NG=De('">'),RG=De("</colgroup></table>");function kG(e,t,r,n){switch(r.insertionMode){case 0:case 1:return Fe(e,pG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,mG);case 2:return Fe(e,yG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,vG);case 3:return Fe(e,bG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,_G);case 4:return Fe(e,EG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,SG);case 5:return Fe(e,MG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,TG);case 6:return Fe(e,OG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,DG);case 7:return Fe(e,AG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,NG);default:throw Error(rt(397))}}function LG(e,t){switch(t.insertionMode){case 0:case 1:return Vt(e,gG);case 2:return Vt(e,wG);case 3:return Vt(e,xG);case 4:return Vt(e,CG);case 5:return Vt(e,PG);case 6:return Vt(e,IG);case 7:return Vt(e,RG);default:throw Error(rt(397))}}var FG=De('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),UG=De('$RS("'),$G=De('","'),BG=De('")<\/script>'),VG=De('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),jG=De('$RC("'),zG=De('","'),HG=De('")<\/script>'),qG=De('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),KG=De('$RX("'),ZG=De('"'),GG=De(")<\/script>"),ab=De(","),WG=/[<\u2028\u2029]/g;function ub(e){return JSON.stringify(e).replace(WG,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var yd=Object.assign,YG=Symbol.for("react.element"),lO=Symbol.for("react.portal"),cO=Symbol.for("react.fragment"),fO=Symbol.for("react.strict_mode"),dO=Symbol.for("react.profiler"),hO=Symbol.for("react.provider"),pO=Symbol.for("react.context"),mO=Symbol.for("react.forward_ref"),gO=Symbol.for("react.suspense"),yO=Symbol.for("react.suspense_list"),vO=Symbol.for("react.memo"),vb=Symbol.for("react.lazy"),XG=Symbol.for("react.scope"),JG=Symbol.for("react.debug_trace_mode"),QG=Symbol.for("react.legacy_hidden"),eW=Symbol.for("react.default_value"),zP=Symbol.iterator;function fb(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cO:return"Fragment";case lO:return"Portal";case dO:return"Profiler";case fO:return"StrictMode";case gO:return"Suspense";case yO:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pO:return(e.displayName||"Context")+".Consumer";case hO:return(e._context.displayName||"Context")+".Provider";case mO:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vO:return t=e.displayName||null,t!==null?t:fb(e.type)||"Memo";case vb:t=e._payload,e=e._init;try{return fb(e(t))}catch(r){}}return null}var wO={};function HP(e,t){if(e=e.contextTypes,!e)return wO;var r={},n;for(n in e)r[n]=t[n];return r}var za=null;function t1(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(rt(401))}else{if(r===null)throw Error(rt(401));t1(e,r)}t.context._currentValue=t.value}}function bO(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&bO(e)}function _O(e){var t=e.parent;t!==null&&_O(t),e.context._currentValue=e.value}function xO(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(rt(402));e.depth===t.depth?t1(e,t):xO(e,t)}function EO(e,t){var r=t.parent;if(r===null)throw Error(rt(402));e.depth===r.depth?t1(e,r):EO(e,r),t.context._currentValue=t.value}function Ym(e){var t=za;t!==e&&(t===null?_O(e):e===null?bO(t):t.depth===e.depth?t1(t,e):t.depth>e.depth?xO(t,e):EO(t,e),za=e)}var qP={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function KP(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=qP,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:yd({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&qP.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=yd({},i,a)):yd(i,a))}e.state=i}else i.queue=null}var tW={id:1,overflow:""};function db(e,t,r){var n=e.id;e=e.overflow;var o=32-Zm(n)-1;n&=~(1<<o),r+=1;var i=32-Zm(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-Zm(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var Zm=Math.clz32?Math.clz32:oW,rW=Math.log,nW=Math.LN2;function oW(e){return e>>>=0,e===0?32:31-(rW(e)/nW|0)|0}function iW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sW=typeof Object.is=="function"?Object.is:iW,ki=null,wb=null,Gm=null,Ft=null,md=!1,Xm=!1,vd=0,Vs=null,r1=0;function ja(){if(ki===null)throw Error(rt(321));return ki}function ZP(){if(0<r1)throw Error(rt(312));return{memoizedState:null,queue:null,next:null}}function bb(){return Ft===null?Gm===null?(md=!1,Gm=Ft=ZP()):(md=!0,Ft=Gm):Ft.next===null?(md=!1,Ft=Ft.next=ZP()):(md=!0,Ft=Ft.next),Ft}function _b(){wb=ki=null,Xm=!1,Gm=null,r1=0,Ft=Vs=null}function SO(e,t){return typeof t=="function"?t(e):t}function GP(e,t,r){if(ki=ja(),Ft=bb(),md){var n=Ft.queue;if(t=n.dispatch,Vs!==null&&(r=Vs.get(n),r!==void 0)){Vs.delete(n),n=Ft.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return Ft.memoizedState=n,[n,t]}return[Ft.memoizedState,t]}return e=e===SO?typeof t=="function"?t():t:r!==void 0?r(t):t,Ft.memoizedState=e,e=Ft.queue={last:null,dispatch:null},e=e.dispatch=aW.bind(null,ki,e),[Ft.memoizedState,e]}function WP(e,t){if(ki=ja(),Ft=bb(),t=t===void 0?null:t,Ft!==null){var r=Ft.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!sW(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),Ft.memoizedState=[e,t],e}function aW(e,t,r){if(25<=r1)throw Error(rt(301));if(e===ki)if(Xm=!0,e={action:r,next:null},Vs===null&&(Vs=new Map),r=Vs.get(t),r===void 0)Vs.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function uW(){throw Error(rt(394))}function zm(){}var YP={readContext:function(e){return e._currentValue},useContext:function(e){return ja(),e._currentValue},useMemo:WP,useReducer:GP,useRef:function(e){ki=ja(),Ft=bb();var t=Ft.memoizedState;return t===null?(e={current:e},Ft.memoizedState=e):t},useState:function(e){return GP(SO,e)},useInsertionEffect:zm,useLayoutEffect:function(){},useCallback:function(e,t){return WP(function(){return e},t)},useImperativeHandle:zm,useEffect:zm,useDebugValue:zm,useDeferredValue:function(e){return ja(),e},useTransition:function(){return ja(),[!1,uW]},useId:function(){var e=wb.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Zm(e)-1)).toString(32)+t;var r=Wm;if(r===null)throw Error(rt(404));return t=vd++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ja(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(rt(407));return r()}},Wm=null,lb=oO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function lW(e){return console.error(e),null}function gd(){}function cW(e,t,r,n,o,i,s,a,u){var l=[],p=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:p,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?lW:o,onAllReady:i===void 0?gd:i,onShellReady:s===void 0?gd:s,onShellError:a===void 0?gd:a,onFatalError:u===void 0?gd:u},r=Jm(t,0,null,r,!1,!1),r.parentFlushed=!0,e=xb(t,e,null,r,p,wO,null,tW),l.push(e),t}function xb(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var u={node:t,ping:function(){var l=e.pingedTasks;l.push(u),l.length===1&&TO(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(u),u}function Jm(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function wd(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Qm(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,sO(e.destination,t)):(e.status=1,e.fatalError=t)}function XP(e,t,r,n,o){for(ki={},wb=t,vd=0,e=r(n,o);Xm;)Xm=!1,vd=0,r1+=1,Ft=null,e=r(n,o);return _b(),e}function JP(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(rt(108,fb(n)||"Unknown",a));n=yd({},s,r)}t.legacyContext=n,Wn(e,t,o),t.legacyContext=s}else Wn(e,t,o)}function QP(e,t){if(e&&e.defaultProps){t=yd({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function hb(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=HP(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue:o),KP(i,r,n,o),JP(e,t,i,r)}else{i=HP(r,t.legacyContext),o=XP(e,t,r,n,i);var s=vd!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)KP(o,r,n,i),JP(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=db(n,1,0);try{Wn(e,t,o)}finally{t.treeContext=n}}else Wn(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=eG(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=GZ(s,r,n),pb(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(tG,ot(r),rG)}o.lastPushedText=!1}else{switch(r){case QG:case JG:case fO:case dO:case cO:Wn(e,t,n.children);return;case yO:Wn(e,t,n.children);return;case XG:throw Error(rt(343));case gO:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},u=Jm(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(u),o.lastPushedText=!1;var l=Jm(e,0,null,o.formatContext,!1,!1);l.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=l;try{if(pb(e,t,n),l.lastPushedText&&l.textEmbedded&&l.chunks.push(yb),l.status=1,e1(a,l),a.pendingTasks===0)break e}catch(p){l.status=4,a.forceClientRender=!0,a.errorDigest=wd(e,p)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=xb(e,i,r,u,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case mO:if(n=XP(e,t,r.render,n,o),vd!==0){r=t.treeContext,t.treeContext=db(r,1,0);try{Wn(e,t,n)}finally{t.treeContext=r}}else Wn(e,t,n);return;case vO:r=r.type,n=QP(r,n),hb(e,t,r,n,o);return;case hO:if(o=n.children,r=r._context,n=n.value,i=r._currentValue,r._currentValue=n,s=za,za=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,Wn(e,t,o),e=za,e===null)throw Error(rt(403));n=e.parentValue,e.context._currentValue=n===eW?e.context._defaultValue:n,e=za=e.parent,t.context=e;return;case pO:n=n.children,n=n(r._currentValue),Wn(e,t,n);return;case vb:o=r._init,r=o(r._payload),n=QP(r,n),hb(e,t,r,n,void 0);return}throw Error(rt(130,r==null?r:typeof r,""))}}function Wn(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case YG:hb(e,t,r.type,r.props,r.ref);return;case lO:throw Error(rt(257));case vb:var n=r._init;r=n(r._payload),Wn(e,t,r);return}if(cb(r)){eO(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=zP&&r[zP]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);eO(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(rt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=LP(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=LP(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function eO(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=db(i,n,o);try{pb(e,t,r[o])}finally{t.treeContext=i}}}function pb(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Wn(e,t,r)}catch(u){if(_b(),typeof u=="object"&&u!==null&&typeof u.then=="function"){r=u;var s=t.blockedSegment,a=Jm(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=xb(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Ym(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Ym(i),u}}function fW(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,MO(this,t,e)}function CO(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(rt(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return CO(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function e1(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&e1(e,r)}else e.completedSegments.push(t)}function MO(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(rt(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=gd,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&e1(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(fW,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(e1(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function TO(e){if(e.status!==2){var t=za,r=lb.current;lb.current=YP;var n=Wm;Wm=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,u=s.blockedSegment;if(u.status===0){Ym(s.context);try{Wn(a,s,s.node),u.lastPushedText&&u.textEmbedded&&u.chunks.push(yb),s.abortSet.delete(s),u.status=1,MO(a,s.blockedBoundary,u)}catch(v){if(_b(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var l=s.ping;v.then(l,l)}else{s.abortSet.delete(s),u.status=4;var p=s.blockedBoundary,h=v,y=wd(a,h);if(p===null?Qm(a,h):(p.pendingTasks--,p.forceClientRender||(p.forceClientRender=!0,p.errorDigest=y,p.parentFlushed&&a.clientRenderedBoundaries.push(p))),a.allPendingTasks--,a.allPendingTasks===0){var b=a.onAllReady;b()}}}finally{}}}o.splice(0,i),e.destination!==null&&Eb(e,e.destination)}catch(v){wd(e,v),Qm(e,v)}finally{Wm=n,lb.current=r,r===YP&&Ym(t)}}}function Hm(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,Fe(t,nG),Fe(t,e.placeholderPrefix),e=ot(n.toString(16)),Fe(t,e),Vt(t,oG);case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)Fe(t,n[i]);o=n1(e,t,o)}for(;i<n.length-1;i++)Fe(t,n[i]);return i<n.length&&(o=Vt(t,n[i])),o;default:throw Error(rt(390))}}function n1(e,t,r){var n=r.boundary;if(n===null)return Hm(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,Vt(t,uG),Fe(t,cG),n&&(Fe(t,dG),Fe(t,ot(Ur(n))),Fe(t,fG)),Vt(t,hG),Hm(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;o=De(o.boundaryPrefix+i.toString(16)),n=n.id=o,jP(t,e.responseState,n),Hm(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),jP(t,e.responseState,n.id),Hm(e,t,r);else{if(Vt(t,iG),r=n.completedSegments,r.length!==1)throw Error(rt(391));n1(e,t,r[0])}return Vt(t,lG)}function tO(e,t,r){return kG(t,e.responseState,r.formatContext,r.id),n1(e,t,r),LG(t,r.formatContext)}function rO(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)PO(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,Fe(t,e.startInlineScript),e.sentCompleteBoundaryFunction?Fe(t,jG):(e.sentCompleteBoundaryFunction=!0,Fe(t,VG)),n===null)throw Error(rt(395));return r=ot(r.toString(16)),Fe(t,n),Fe(t,zG),Fe(t,e.segmentPrefix),Fe(t,r),Vt(t,HG)}function PO(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(rt(392));return tO(e,t,n)}return tO(e,t,n),e=e.responseState,Fe(t,e.startInlineScript),e.sentCompleteSegmentFunction?Fe(t,UG):(e.sentCompleteSegmentFunction=!0,Fe(t,FG)),Fe(t,e.segmentPrefix),o=ot(o.toString(16)),Fe(t,o),Fe(t,$G),Fe(t,e.placeholderPrefix),Fe(t,o),Vt(t,BG)}function Eb(e,t){Zn=new Uint8Array(512),Gn=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){n1(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)Fe(t,n[r]);r<n.length&&Vt(t,n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,u=s.id,l=s.errorDigest,p=s.errorMessage,h=s.errorComponentStack;if(Fe(n,a.startInlineScript),a.sentClientRenderFunction?Fe(n,KG):(a.sentClientRenderFunction=!0,Fe(n,qG)),u===null)throw Error(rt(395));if(Fe(n,u),Fe(n,ZG),(l||p||h)&&(Fe(n,ab),Fe(n,ot(ub(l||"")))),(p||h)&&(Fe(n,ab),Fe(n,ot(ub(p||"")))),h&&(Fe(n,ab),Fe(n,ot(ub(h)))),!Vt(n,GG)){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)if(!rO(e,t,y[i])){e.destination=null,i++,y.splice(0,i);return}y.splice(0,i),AP(t),Zn=new Uint8Array(512),Gn=0;var b=e.partialBoundaries;for(i=0;i<b.length;i++){var v=b[i];e:{o=e,s=t;var C=v.completedSegments;for(a=0;a<C.length;a++)if(!PO(o,s,v,C[a])){a++,C.splice(0,a);var N=!1;break e}C.splice(0,a),N=!0}if(!N){e.destination=null,i++,b.splice(0,i);return}}b.splice(0,i);var M=e.completedBoundaries;for(i=0;i<M.length;i++)if(!rO(e,t,M[i])){e.destination=null,i++,M.splice(0,i);return}M.splice(0,i)}finally{AP(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function nO(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return CO(n,e,t)}),r.clear(),e.destination!==null&&Eb(e,e.destination)}catch(n){wd(e,n),Qm(e,n)}}Sb.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,i,s=new Promise(function(p,h){i=p,o=h}),a=cW(e,KZ(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),ZZ(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var p=new ReadableStream({type:"bytes",pull:function(h){if(a.status===1)a.status=2,sO(h,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=h;try{Eb(a,h)}catch(y){wd(a,y),Qm(a,y)}}},cancel:function(){nO(a)}},{highWaterMark:0});p.allReady=s,r(p)},function(p){s.catch(function(){}),n(p)},o);if(t&&t.signal){var u=t.signal,l=function(){nO(a,u.reason),u.removeEventListener("abort",l)};u.addEventListener("abort",l)}TO(a)})};Sb.version="18.2.0"});var IO=_e(Ha=>{"use strict";c();d();f();var Zl,DO;Zl=IP(),DO=OO();Ha.version=Zl.version;Ha.renderToString=Zl.renderToString;Ha.renderToStaticMarkup=Zl.renderToStaticMarkup;Ha.renderToNodeStream=Zl.renderToNodeStream;Ha.renderToStaticNodeStream=Zl.renderToStaticNodeStream;Ha.renderToReadableStream=DO.renderToReadableStream});var jO=_e((F2e,VO)=>{"use strict";c();d();f();function vW(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}VO.exports=wW;function wW(e,t,r){var n=r&&r.stringify||vW,o=1;if(typeof e=="object"&&e!==null){var i=t.length+o;if(i===1)return e;var s=new Array(i);s[0]=n(e);for(var a=1;a<i;a++)s[a]=n(t[a]);return s.join(" ")}if(typeof e!="string")return e;var u=t.length;if(u===0)return e;for(var l="",p=1-o,h=-1,y=e&&e.length||0,b=0;b<y;){if(e.charCodeAt(b)===37&&b+1<y){switch(h=h>-1?h:0,e.charCodeAt(b+1)){case 100:case 102:if(p>=u||t[p]==null)break;h<b&&(l+=e.slice(h,b)),l+=Number(t[p]),h=b+2,b++;break;case 105:if(p>=u||t[p]==null)break;h<b&&(l+=e.slice(h,b)),l+=Math.floor(Number(t[p])),h=b+2,b++;break;case 79:case 111:case 106:if(p>=u||t[p]===void 0)break;h<b&&(l+=e.slice(h,b));var v=typeof t[p];if(v==="string"){l+="'"+t[p]+"'",h=b+2,b++;break}if(v==="function"){l+=t[p].name||"<anonymous>",h=b+2,b++;break}l+=n(t[p]),h=b+2,b++;break;case 115:if(p>=u)break;h<b&&(l+=e.slice(h,b)),l+=String(t[p]),h=b+2,b++;break;case 37:h<b&&(l+=e.slice(h,b)),l+="%",h=b+2,b++,p--;break}++p}++b}return h===-1?e:(h<y&&(l+=e.slice(h)),l)}});var s1=_e((U2e,KO)=>{"use strict";c();d();f();var zO=jO();KO.exports=ei;var _d=OW().console||{},bW={mapHttpRequest:o1,mapHttpResponse:o1,wrapRequestSerializer:Tb,wrapResponseSerializer:Tb,wrapErrorSerializer:Tb,req:o1,res:o1,err:CW};function _W(e,t){return Array.isArray(e)?e.filter(function(n){return n!=="!stdSerializers.err"}):e===!0?Object.keys(t):!1}function ei(e){e=e||{},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");let r=e.browser.write||_d;e.browser.write&&(e.browser.asObject=!0);let n=e.serializers||{},o=_W(e.browser.serialize,n),i=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);let s=["error","fatal","warn","info","debug","trace"];typeof r=="function"&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),e.enabled===!1&&(e.level="silent");let a=e.level||"info",u=Object.create(r);u.log||(u.log=xd),Object.defineProperty(u,"levelVal",{get:p}),Object.defineProperty(u,"level",{get:h,set:y});let l={transmit:t,serialize:o,asObject:e.browser.asObject,levels:s,timestamp:MW(e)};u.levels=ei.levels,u.level=a,u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=xd,u.serializers=n,u._serialize=o,u._stdErrSerialize=i,u.child=b,t&&(u._logEvent=Pb());function p(){return this.level==="silent"?1/0:this.levels.values[this.level]}function h(){return this._level}function y(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,Gl(l,u,"error","log"),Gl(l,u,"fatal","error"),Gl(l,u,"warn","error"),Gl(l,u,"info","log"),Gl(l,u,"debug","log"),Gl(l,u,"trace","log")}function b(v,C){if(!v)throw new Error("missing bindings for child Pino");C=C||{},o&&v.serializers&&(C.serializers=v.serializers);let N=C.serializers;if(o&&N){var M=Object.assign({},n,N),T=e.browser.serialize===!0?Object.keys(M):o;delete v.serializers,i1([v],T,M,this._stdErrSerialize)}function I(U){this._childLevel=(U._childLevel|0)+1,this.error=Wl(U,v,"error"),this.fatal=Wl(U,v,"fatal"),this.warn=Wl(U,v,"warn"),this.info=Wl(U,v,"info"),this.debug=Wl(U,v,"debug"),this.trace=Wl(U,v,"trace"),M&&(this.serializers=M,this._serialize=T),t&&(this._logEvent=Pb([].concat(U._logEvent.bindings,v)))}return I.prototype=this,new I(this)}return u}ei.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};ei.stdSerializers=bW;ei.stdTimeFunctions=Object.assign({},{nullTime:HO,epochTime:qO,unixTime:TW,isoTime:PW});function Gl(e,t,r,n){let o=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?xd:o[r]?o[r]:_d[r]||_d[n]||xd,xW(e,t,r)}function xW(e,t,r){!e.transmit&&t[r]===xd||(t[r]=function(n){return function(){let i=e.timestamp(),s=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===_d?_d:this;for(var u=0;u<s.length;u++)s[u]=arguments[u];if(e.serialize&&!e.asObject&&i1(s,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(a,EW(this,r,s,i)):n.apply(a,s),e.transmit){let l=e.transmit.level||t.level,p=ei.levels.values[l],h=ei.levels.values[r];if(h<p)return;SW(this,{ts:i,methodLevel:r,methodValue:h,transmitLevel:l,transmitValue:ei.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},s)}}}(t[r]))}function EW(e,t,r,n){e._serialize&&i1(r,e._serialize,e.serializers,e._stdErrSerialize);let o=r.slice(),i=o[0],s={};n&&(s.time=n),s.level=ei.levels.values[t];let a=(e._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof o[0]=="object";)Object.assign(s,o.shift());i=o.length?zO(o.shift(),o):void 0}else typeof i=="string"&&(i=zO(o.shift(),o));return i!==void 0&&(s.msg=i),s}function i1(e,t,r,n){for(let o in e)if(n&&e[o]instanceof Error)e[o]=ei.stdSerializers.err(e[o]);else if(typeof e[o]=="object"&&!Array.isArray(e[o]))for(let i in e[o])t&&t.indexOf(i)>-1&&i in r&&(e[o][i]=r[i](e[o][i]))}function Wl(e,t,r){return function(){let n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function SW(e,t,r){let n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,u=e._logEvent.bindings;i1(r,e._serialize||Object.keys(e.serializers),e.serializers,e._stdErrSerialize===void 0?!0:e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter(function(l){return u.indexOf(l)===-1}),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=Pb(u)}function Pb(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function CW(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)t[r]===void 0&&(t[r]=e[r]);return t}function MW(e){return typeof e.timestamp=="function"?e.timestamp:e.timestamp===!1?HO:qO}function o1(){return{}}function Tb(e){return e}function xd(){}function HO(){return!1}function qO(){return Date.now()}function TW(){return Math.round(Date.now()/1e3)}function PW(){return new Date(Date.now()).toISOString()}function OW(){function e(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}});var js=_e(($2e,Ob)=>{"use strict";c();d();f();var Yl=typeof Reflect=="object"?Reflect:null,ZO=Yl&&typeof Yl.apply=="function"?Yl.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},a1;Yl&&typeof Yl.ownKeys=="function"?a1=Yl.ownKeys:Object.getOwnPropertySymbols?a1=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:a1=function(t){return Object.getOwnPropertyNames(t)};function DW(e){console&&console.warn&&console.warn(e)}var WO=Number.isNaN||function(t){return t!==t};function Pt(){Pt.init.call(this)}Ob.exports=Pt;Ob.exports.once=RW;Pt.EventEmitter=Pt;Pt.prototype._events=void 0;Pt.prototype._eventsCount=0;Pt.prototype._maxListeners=void 0;var GO=10;function u1(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Pt,"defaultMaxListeners",{enumerable:!0,get:function(){return GO},set:function(e){if(typeof e!="number"||e<0||WO(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");GO=e}});Pt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Pt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||WO(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function YO(e){return e._maxListeners===void 0?Pt.defaultMaxListeners:e._maxListeners}Pt.prototype.getMaxListeners=function(){return YO(this)};Pt.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t==="error",i=this._events;if(i!==void 0)o=o&&i.error===void 0;else if(!o)return!1;if(o){var s;if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[t];if(u===void 0)return!1;if(typeof u=="function")ZO(u,this,r);else for(var l=u.length,p=tD(u,l),n=0;n<l;++n)ZO(p[n],this,r);return!0};function XO(e,t,r,n){var o,i,s;if(u1(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),o=YO(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,DW(a)}return e}Pt.prototype.addListener=function(t,r){return XO(this,t,r,!1)};Pt.prototype.on=Pt.prototype.addListener;Pt.prototype.prependListener=function(t,r){return XO(this,t,r,!0)};function IW(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function JO(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=IW.bind(n);return o.listener=r,n.wrapFn=o,o}Pt.prototype.once=function(t,r){return u1(r),this.on(t,JO(this,t,r)),this};Pt.prototype.prependOnceListener=function(t,r){return u1(r),this.prependListener(t,JO(this,t,r)),this};Pt.prototype.removeListener=function(t,r){var n,o,i,s,a;if(u1(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():AW(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Pt.prototype.off=Pt.prototype.removeListener;Pt.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o<i.length;++o)s=i[o],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function QO(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?NW(o):tD(o,o.length)}Pt.prototype.listeners=function(t){return QO(this,t,!0)};Pt.prototype.rawListeners=function(t){return QO(this,t,!1)};Pt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):eD.call(e,t)};Pt.prototype.listenerCount=eD;function eD(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Pt.prototype.eventNames=function(){return this._eventsCount>0?a1(this._events):[]};function tD(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function AW(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function NW(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function RW(e,t){return new Promise(function(r,n){function o(s){e.removeListener(t,i),n(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}rD(e,t,i,{once:!0}),t!=="error"&&kW(e,o,{once:!0})})}function kW(e,t,r){typeof e.on=="function"&&rD(e,"error",t,r)}function rD(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var Ib=_e((B2e,c1)=>{c();d();f();var nD,oD,iD,sD,aD,uD,lD,cD,fD,l1,Db,dD,hD,Xl,pD,mD,gD,yD,vD,wD,bD,_D,xD;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof c1=="object"&&typeof c1.exports=="object"?e(r(t,r(c1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};nD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},oD=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},iD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},sD=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},aD=function(r,n){return function(o,i){n(o,i,r)}},uD=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},lD=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},cD=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},xD=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},fD=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},l1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Db=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},dD=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Db(arguments[n]));return r},hD=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Xl=function(r){return this instanceof Xl?(this.v=r,this):new Xl(r)},pD=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Xl?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},mD=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Xl(r[s](u)),done:s==="return"}:a?a(u):u}:a}},gD=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof l1=="function"?l1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},yD=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},vD=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},wD=function(r){return r&&r.__esModule?r:{default:r}},bD=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},_D=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",nD),e("__assign",oD),e("__rest",iD),e("__decorate",sD),e("__param",aD),e("__metadata",uD),e("__awaiter",lD),e("__generator",cD),e("__exportStar",fD),e("__createBinding",xD),e("__values",l1),e("__read",Db),e("__spread",dD),e("__spreadArrays",hD),e("__await",Xl),e("__asyncGenerator",pD),e("__asyncDelegator",mD),e("__asyncValues",gD),e("__makeTemplateObject",yD),e("__importStar",vD),e("__importDefault",wD),e("__classPrivateFieldGet",bD),e("__classPrivateFieldSet",_D)})});var Ab=_e(f1=>{"use strict";c();d();f();Object.defineProperty(f1,"__esModule",{value:!0});function LW(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}f1.safeJsonParse=LW;function FW(e){return typeof e=="string"?e:JSON.stringify(e,(t,r)=>typeof r>"u"?null:r)}f1.safeJsonStringify=FW});var ED=_e((j2e,d1)=>{"use strict";c();d();f();(function(){"use strict";let e;function t(){}e=t,e.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},e.prototype.setItem=function(r,n){this[r]=String(n)},e.prototype.removeItem=function(r){delete this[r]},e.prototype.clear=function(){let r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},e.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},e.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof globalThis<"u"&&globalThis.localStorage?d1.exports=globalThis.localStorage:typeof window<"u"&&window.localStorage?d1.exports=window.localStorage:d1.exports=new t})()});var SD=_e(h1=>{"use strict";c();d();f();Object.defineProperty(h1,"__esModule",{value:!0});h1.IKeyValueStorage=void 0;var Nb=class{};h1.IKeyValueStorage=Nb});var CD=_e(p1=>{"use strict";c();d();f();Object.defineProperty(p1,"__esModule",{value:!0});p1.parseEntry=void 0;var UW=Ab();function $W(e){var t;return[e[0],UW.safeJsonParse((t=e[1])!==null&&t!==void 0?t:"")]}p1.parseEntry=$W});var TD=_e(m1=>{"use strict";c();d();f();Object.defineProperty(m1,"__esModule",{value:!0});var MD=Ib();MD.__exportStar(SD(),m1);MD.__exportStar(CD(),m1)});var OD=_e(Ed=>{"use strict";c();d();f();Object.defineProperty(Ed,"__esModule",{value:!0});Ed.KeyValueStorage=void 0;var Jl=Ib(),PD=Ab(),BW=Jl.__importDefault(ED()),VW=TD(),g1=class{constructor(){this.localStorage=BW.default}getKeys(){return Jl.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return Jl.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(VW.parseEntry)})}getItem(t){return Jl.__awaiter(this,void 0,void 0,function*(){let r=this.localStorage.getItem(t);if(r!==null)return PD.safeJsonParse(r)})}setItem(t,r){return Jl.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(t,PD.safeJsonStringify(r))})}removeItem(t){return Jl.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(t)})}};Ed.KeyValueStorage=g1;Ed.default=g1});var Sd=_e((Z2e,v1)=>{c();d();f();var DD,ID,AD,ND,RD,kD,LD,FD,UD,y1,Rb,$D,BD,Ql,VD,jD,zD,HD,qD,KD,ZD,GD,WD;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof v1=="object"&&typeof v1.exports=="object"?e(r(t,r(v1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};DD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},ID=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},AD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},ND=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},RD=function(r,n){return function(o,i){n(o,i,r)}},kD=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},LD=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},FD=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},WD=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},UD=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},y1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Rb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},$D=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Rb(arguments[n]));return r},BD=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Ql=function(r){return this instanceof Ql?(this.v=r,this):new Ql(r)},VD=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Ql?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},jD=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Ql(r[s](u)),done:s==="return"}:a?a(u):u}:a}},zD=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof y1=="function"?y1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},HD=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},qD=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},KD=function(r){return r&&r.__esModule?r:{default:r}},ZD=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},GD=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",DD),e("__assign",ID),e("__rest",AD),e("__decorate",ND),e("__param",RD),e("__metadata",kD),e("__awaiter",LD),e("__generator",FD),e("__exportStar",UD),e("__createBinding",WD),e("__values",y1),e("__read",Rb),e("__spread",$D),e("__spreadArrays",BD),e("__await",Ql),e("__asyncGenerator",VD),e("__asyncDelegator",jD),e("__asyncValues",zD),e("__makeTemplateObject",HD),e("__importStar",qD),e("__importDefault",KD),e("__classPrivateFieldGet",ZD),e("__classPrivateFieldSet",GD)})});var Cd=_e((G2e,b1)=>{c();d();f();var YD,XD,JD,QD,eI,tI,rI,nI,oI,w1,kb,iI,sI,ec,aI,uI,lI,cI,fI,dI,hI,pI,mI;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof b1=="object"&&typeof b1.exports=="object"?e(r(t,r(b1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};YD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},XD=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},JD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},QD=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},eI=function(r,n){return function(o,i){n(o,i,r)}},tI=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},rI=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},nI=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},mI=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},oI=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},w1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},kb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},iI=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(kb(arguments[n]));return r},sI=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},ec=function(r){return this instanceof ec?(this.v=r,this):new ec(r)},aI=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof ec?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},uI=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:ec(r[s](u)),done:s==="return"}:a?a(u):u}:a}},lI=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof w1=="function"?w1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},cI=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},fI=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},dI=function(r){return r&&r.__esModule?r:{default:r}},hI=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},pI=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",YD),e("__assign",XD),e("__rest",JD),e("__decorate",QD),e("__param",eI),e("__metadata",tI),e("__awaiter",rI),e("__generator",nI),e("__exportStar",oI),e("__createBinding",mI),e("__values",w1),e("__read",kb),e("__spread",iI),e("__spreadArrays",sI),e("__await",ec),e("__asyncGenerator",aI),e("__asyncDelegator",uI),e("__asyncValues",lI),e("__makeTemplateObject",cI),e("__importStar",fI),e("__importDefault",dI),e("__classPrivateFieldGet",hI),e("__classPrivateFieldSet",pI)})});var gI=_e(_1=>{"use strict";c();d();f();Object.defineProperty(_1,"__esModule",{value:!0});_1.delay=void 0;function jW(e){return new Promise(t=>{setTimeout(()=>{t(!0)},e)})}_1.delay=jW});var yI=_e(tc=>{"use strict";c();d();f();Object.defineProperty(tc,"__esModule",{value:!0});tc.ONE_THOUSAND=tc.ONE_HUNDRED=void 0;tc.ONE_HUNDRED=100;tc.ONE_THOUSAND=1e3});var vI=_e(Ie=>{"use strict";c();d();f();Object.defineProperty(Ie,"__esModule",{value:!0});Ie.ONE_YEAR=Ie.FOUR_WEEKS=Ie.THREE_WEEKS=Ie.TWO_WEEKS=Ie.ONE_WEEK=Ie.THIRTY_DAYS=Ie.SEVEN_DAYS=Ie.FIVE_DAYS=Ie.THREE_DAYS=Ie.ONE_DAY=Ie.TWENTY_FOUR_HOURS=Ie.TWELVE_HOURS=Ie.SIX_HOURS=Ie.THREE_HOURS=Ie.ONE_HOUR=Ie.SIXTY_MINUTES=Ie.THIRTY_MINUTES=Ie.TEN_MINUTES=Ie.FIVE_MINUTES=Ie.ONE_MINUTE=Ie.SIXTY_SECONDS=Ie.THIRTY_SECONDS=Ie.TEN_SECONDS=Ie.FIVE_SECONDS=Ie.ONE_SECOND=void 0;Ie.ONE_SECOND=1;Ie.FIVE_SECONDS=5;Ie.TEN_SECONDS=10;Ie.THIRTY_SECONDS=30;Ie.SIXTY_SECONDS=60;Ie.ONE_MINUTE=Ie.SIXTY_SECONDS;Ie.FIVE_MINUTES=Ie.ONE_MINUTE*5;Ie.TEN_MINUTES=Ie.ONE_MINUTE*10;Ie.THIRTY_MINUTES=Ie.ONE_MINUTE*30;Ie.SIXTY_MINUTES=Ie.ONE_MINUTE*60;Ie.ONE_HOUR=Ie.SIXTY_MINUTES;Ie.THREE_HOURS=Ie.ONE_HOUR*3;Ie.SIX_HOURS=Ie.ONE_HOUR*6;Ie.TWELVE_HOURS=Ie.ONE_HOUR*12;Ie.TWENTY_FOUR_HOURS=Ie.ONE_HOUR*24;Ie.ONE_DAY=Ie.TWENTY_FOUR_HOURS;Ie.THREE_DAYS=Ie.ONE_DAY*3;Ie.FIVE_DAYS=Ie.ONE_DAY*5;Ie.SEVEN_DAYS=Ie.ONE_DAY*7;Ie.THIRTY_DAYS=Ie.ONE_DAY*30;Ie.ONE_WEEK=Ie.SEVEN_DAYS;Ie.TWO_WEEKS=Ie.ONE_WEEK*2;Ie.THREE_WEEKS=Ie.ONE_WEEK*3;Ie.FOUR_WEEKS=Ie.ONE_WEEK*4;Ie.ONE_YEAR=Ie.ONE_DAY*365});var Lb=_e(x1=>{"use strict";c();d();f();Object.defineProperty(x1,"__esModule",{value:!0});var wI=Cd();wI.__exportStar(yI(),x1);wI.__exportStar(vI(),x1)});var _I=_e(rc=>{"use strict";c();d();f();Object.defineProperty(rc,"__esModule",{value:!0});rc.fromMiliseconds=rc.toMiliseconds=void 0;var bI=Lb();function zW(e){return e*bI.ONE_THOUSAND}rc.toMiliseconds=zW;function HW(e){return Math.floor(e/bI.ONE_THOUSAND)}rc.fromMiliseconds=HW});var EI=_e(E1=>{"use strict";c();d();f();Object.defineProperty(E1,"__esModule",{value:!0});var xI=Cd();xI.__exportStar(gI(),E1);xI.__exportStar(_I(),E1)});var SI=_e(Md=>{"use strict";c();d();f();Object.defineProperty(Md,"__esModule",{value:!0});Md.Watch=void 0;var S1=class{constructor(){this.timestamps=new Map}start(t){if(this.timestamps.has(t))throw new Error(`Watch already started for label: ${t}`);this.timestamps.set(t,{started:Date.now()})}stop(t){let r=this.get(t);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${t}`);let n=Date.now()-r.started;this.timestamps.set(t,{started:r.started,elapsed:n})}get(t){let r=this.timestamps.get(t);if(typeof r>"u")throw new Error(`No timestamp found for label: ${t}`);return r}elapsed(t){let r=this.get(t);return r.elapsed||Date.now()-r.started}};Md.Watch=S1;Md.default=S1});var CI=_e(C1=>{"use strict";c();d();f();Object.defineProperty(C1,"__esModule",{value:!0});C1.IWatch=void 0;var Fb=class{};C1.IWatch=Fb});var MI=_e(Ub=>{"use strict";c();d();f();Object.defineProperty(Ub,"__esModule",{value:!0});var qW=Cd();qW.__exportStar(CI(),Ub)});var Li=_e(nc=>{"use strict";c();d();f();Object.defineProperty(nc,"__esModule",{value:!0});var M1=Cd();M1.__exportStar(EI(),nc);M1.__exportStar(SI(),nc);M1.__exportStar(MI(),nc);M1.__exportStar(Lb(),nc)});var No,TI=mu(()=>{c();d();f();No=class{}});var PI={};Vr(PI,{IEvents:()=>No});var T1=mu(()=>{c();d();f();TI()});var OI=_e(P1=>{"use strict";c();d();f();Object.defineProperty(P1,"__esModule",{value:!0});P1.IHeartBeat=void 0;var KW=(T1(),r3(PI)),$b=class extends KW.IEvents{constructor(t){super()}};P1.IHeartBeat=$b});var Vb=_e(Bb=>{"use strict";c();d();f();Object.defineProperty(Bb,"__esModule",{value:!0});var ZW=Sd();ZW.__exportStar(OI(),Bb)});var DI=_e(oc=>{"use strict";c();d();f();Object.defineProperty(oc,"__esModule",{value:!0});oc.HEARTBEAT_EVENTS=oc.HEARTBEAT_INTERVAL=void 0;var GW=Li();oc.HEARTBEAT_INTERVAL=GW.FIVE_SECONDS;oc.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var zb=_e(jb=>{"use strict";c();d();f();Object.defineProperty(jb,"__esModule",{value:!0});var WW=Sd();WW.__exportStar(DI(),jb)});var II=_e(O1=>{"use strict";c();d();f();Object.defineProperty(O1,"__esModule",{value:!0});O1.HeartBeat=void 0;var Hb=Sd(),YW=js(),XW=Li(),JW=Vb(),qb=zb(),Td=class extends JW.IHeartBeat{constructor(t){super(t),this.events=new YW.EventEmitter,this.interval=qb.HEARTBEAT_INTERVAL,this.interval=(t==null?void 0:t.interval)||qb.HEARTBEAT_INTERVAL}static init(t){return Hb.__awaiter(this,void 0,void 0,function*(){let r=new Td(t);return yield r.init(),r})}init(){return Hb.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}initialize(){return Hb.__awaiter(this,void 0,void 0,function*(){setInterval(()=>this.pulse(),XW.toMiliseconds(this.interval))})}pulse(){this.events.emit(qb.HEARTBEAT_EVENTS.pulse)}};O1.HeartBeat=Td});var AI=_e(Pd=>{"use strict";c();d();f();Object.defineProperty(Pd,"__esModule",{value:!0});var Kb=Sd();Kb.__exportStar(II(),Pd);Kb.__exportStar(Vb(),Pd);Kb.__exportStar(zb(),Pd)});var QI=_e((h6e,I1)=>{c();d();f();var NI,RI,kI,LI,FI,UI,$I,BI,VI,D1,Zb,jI,zI,ic,HI,qI,KI,ZI,GI,WI,YI,XI,JI;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof I1=="object"&&typeof I1.exports=="object"?e(r(t,r(I1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};NI=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},RI=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},kI=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},LI=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},FI=function(r,n){return function(o,i){n(o,i,r)}},UI=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},$I=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},BI=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},JI=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},VI=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},D1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Zb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},jI=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Zb(arguments[n]));return r},zI=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},ic=function(r){return this instanceof ic?(this.v=r,this):new ic(r)},HI=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof ic?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},qI=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:ic(r[s](u)),done:s==="return"}:a?a(u):u}:a}},KI=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof D1=="function"?D1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},ZI=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},GI=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},WI=function(r){return r&&r.__esModule?r:{default:r}},YI=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},XI=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",NI),e("__assign",RI),e("__rest",kI),e("__decorate",LI),e("__param",FI),e("__metadata",UI),e("__awaiter",$I),e("__generator",BI),e("__exportStar",VI),e("__createBinding",JI),e("__values",D1),e("__read",Zb),e("__spread",jI),e("__spreadArrays",zI),e("__await",ic),e("__asyncGenerator",HI),e("__asyncDelegator",qI),e("__asyncValues",KI),e("__makeTemplateObject",ZI),e("__importStar",GI),e("__importDefault",WI),e("__classPrivateFieldGet",YI),e("__classPrivateFieldSet",XI)})});var Gb=_e(sc=>{"use strict";c();d();f();Object.defineProperty(sc,"__esModule",{value:!0});sc.PINO_CUSTOM_CONTEXT_KEY=sc.PINO_LOGGER_DEFAULTS=void 0;sc.PINO_LOGGER_DEFAULTS={level:"info"};sc.PINO_CUSTOM_CONTEXT_KEY="custom_context"});var oA=_e(Pn=>{"use strict";c();d();f();Object.defineProperty(Pn,"__esModule",{value:!0});Pn.generateChildLogger=Pn.formatChildLoggerContext=Pn.getLoggerContext=Pn.setBrowserLoggerContext=Pn.getBrowserLoggerContext=Pn.getDefaultLoggerOptions=void 0;var ac=Gb();function QW(e){return Object.assign(Object.assign({},e),{level:(e==null?void 0:e.level)||ac.PINO_LOGGER_DEFAULTS.level})}Pn.getDefaultLoggerOptions=QW;function eA(e,t=ac.PINO_CUSTOM_CONTEXT_KEY){return e[t]||""}Pn.getBrowserLoggerContext=eA;function tA(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){return e[r]=t,e}Pn.setBrowserLoggerContext=tA;function rA(e,t=ac.PINO_CUSTOM_CONTEXT_KEY){let r="";return typeof e.bindings>"u"?r=eA(e,t):r=e.bindings().context||"",r}Pn.getLoggerContext=rA;function nA(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){let n=rA(e,r);return n.trim()?`${n}/${t}`:t}Pn.formatChildLoggerContext=nA;function eY(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){let n=nA(e,t,r),o=e.child({context:n});return tA(o,n,r)}Pn.generateChildLogger=eY});var Yb=_e(uc=>{"use strict";c();d();f();Object.defineProperty(uc,"__esModule",{value:!0});uc.pino=void 0;var Wb=QI(),tY=Wb.__importDefault(s1());Object.defineProperty(uc,"pino",{enumerable:!0,get:function(){return tY.default}});Wb.__exportStar(Gb(),uc);Wb.__exportStar(oA(),uc)});var aA=_e(B1=>{"use strict";c();d();f();Object.defineProperty(B1,"__esModule",{value:!0});B1.BrowserRandomSource=void 0;var sA=65536,Xb=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let r=new Uint8Array(t);for(let n=0;n<r.length;n+=sA)this._crypto.getRandomValues(r.subarray(n,n+Math.min(r.length-n,sA)));return r}};B1.BrowserRandomSource=Xb});var po=_e(Jb=>{"use strict";c();d();f();Object.defineProperty(Jb,"__esModule",{value:!0});function rY(e){for(var t=0;t<e.length;t++)e[t]=0;return e}Jb.wipe=rY});var uA=_e(()=>{c();d();f()});var lA=_e(V1=>{"use strict";c();d();f();Object.defineProperty(V1,"__esModule",{value:!0});V1.NodeRandomSource=void 0;var nY=po(),Qb=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof t3<"u"){let t=uA();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");let n=new Uint8Array(t);for(let o=0;o<n.length;o++)n[o]=r[o];return(0,nY.wipe)(r),n}};V1.NodeRandomSource=Qb});var cA=_e(j1=>{"use strict";c();d();f();Object.defineProperty(j1,"__esModule",{value:!0});j1.SystemRandomSource=void 0;var oY=aA(),iY=lA(),e_=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new oY.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new iY.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}};j1.SystemRandomSource=e_});var fA=_e(Yn=>{"use strict";c();d();f();Object.defineProperty(Yn,"__esModule",{value:!0});function sY(e,t){var r=e>>>16&65535,n=e&65535,o=t>>>16&65535,i=t&65535;return n*i+(r*i+n*o<<16>>>0)|0}Yn.mul=Math.imul||sY;function aY(e,t){return e+t|0}Yn.add=aY;function uY(e,t){return e-t|0}Yn.sub=uY;function lY(e,t){return e<<t|e>>>32-t}Yn.rotl=lY;function cY(e,t){return e<<32-t|e>>>t}Yn.rotr=cY;function fY(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}Yn.isInteger=Number.isInteger||fY;Yn.MAX_SAFE_INTEGER=9007199254740991;Yn.isSafeInteger=function(e){return Yn.isInteger(e)&&e>=-Yn.MAX_SAFE_INTEGER&&e<=Yn.MAX_SAFE_INTEGER}});var cc=_e(it=>{"use strict";c();d();f();Object.defineProperty(it,"__esModule",{value:!0});var dA=fA();function dY(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}it.readInt16BE=dY;function hY(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}it.readUint16BE=hY;function pY(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}it.readInt16LE=pY;function mY(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}it.readUint16LE=mY;function hA(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}it.writeUint16BE=hA;it.writeInt16BE=hA;function pA(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}it.writeUint16LE=pA;it.writeInt16LE=pA;function t_(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}it.readInt32BE=t_;function r_(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}it.readUint32BE=r_;function n_(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}it.readInt32LE=n_;function o_(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}it.readUint32LE=o_;function z1(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}it.writeUint32BE=z1;it.writeInt32BE=z1;function H1(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}it.writeUint32LE=H1;it.writeInt32LE=H1;function gY(e,t){t===void 0&&(t=0);var r=t_(e,t),n=t_(e,t+4);return r*4294967296+n-(n>>31)*4294967296}it.readInt64BE=gY;function yY(e,t){t===void 0&&(t=0);var r=r_(e,t),n=r_(e,t+4);return r*4294967296+n}it.readUint64BE=yY;function vY(e,t){t===void 0&&(t=0);var r=n_(e,t),n=n_(e,t+4);return n*4294967296+r-(r>>31)*4294967296}it.readInt64LE=vY;function wY(e,t){t===void 0&&(t=0);var r=o_(e,t),n=o_(e,t+4);return n*4294967296+r}it.readUint64LE=wY;function mA(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),z1(e/4294967296>>>0,t,r),z1(e>>>0,t,r+4),t}it.writeUint64BE=mA;it.writeInt64BE=mA;function gA(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),H1(e>>>0,t,r),H1(e/4294967296>>>0,t,r+4),t}it.writeUint64LE=gA;it.writeInt64LE=gA;function bY(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var n=0,o=1,i=e/8+r-1;i>=r;i--)n+=t[i]*o,o*=256;return n}it.readUintBE=bY;function _Y(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var n=0,o=1,i=r;i<r+e/8;i++)n+=t[i]*o,o*=256;return n}it.readUintLE=_Y;function xY(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!dA.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,i=e/8+n-1;i>=n;i--)r[i]=t/o&255,o*=256;return r}it.writeUintBE=xY;function EY(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!dA.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,i=n;i<n+e/8;i++)r[i]=t/o&255,o*=256;return r}it.writeUintLE=EY;function SY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}it.readFloat32BE=SY;function CY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}it.readFloat32LE=CY;function MY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}it.readFloat64BE=MY;function TY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}it.readFloat64LE=TY;function PY(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e),t}it.writeFloat32BE=PY;function OY(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e,!0),t}it.writeFloat32LE=OY;function DY(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e),t}it.writeFloat64BE=DY;function IY(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e,!0),t}it.writeFloat64LE=IY});var qa=_e(Xr=>{"use strict";c();d();f();Object.defineProperty(Xr,"__esModule",{value:!0});Xr.randomStringForEntropy=Xr.randomString=Xr.randomUint32=Xr.randomBytes=Xr.defaultRandomSource=void 0;var AY=cA(),NY=cc(),yA=po();Xr.defaultRandomSource=new AY.SystemRandomSource;function i_(e,t=Xr.defaultRandomSource){return t.randomBytes(e)}Xr.randomBytes=i_;function RY(e=Xr.defaultRandomSource){let t=i_(4,e),r=(0,NY.readUint32LE)(t);return(0,yA.wipe)(t),r}Xr.randomUint32=RY;var vA="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function wA(e,t=vA,r=Xr.defaultRandomSource){if(t.length<2)throw new Error("randomString charset is too short");if(t.length>256)throw new Error("randomString charset is too long");let n="",o=t.length,i=256-256%o;for(;e>0;){let s=i_(Math.ceil(e*256/i),r);for(let a=0;a<s.length&&e>0;a++){let u=s[a];u<i&&(n+=t.charAt(u%o),e--)}(0,yA.wipe)(s)}return n}Xr.randomString=wA;function kY(e,t=vA,r=Xr.defaultRandomSource){let n=Math.ceil(e/(Math.log(t.length)/Math.LN2));return wA(n,t,r)}Xr.randomStringForEntropy=kY});var xA=_e(Fi=>{"use strict";c();d();f();Object.defineProperty(Fi,"__esModule",{value:!0});var dc=cc(),fc=po();Fi.DIGEST_LENGTH=64;Fi.BLOCK_SIZE=128;var _A=function(){function e(){this.digestLength=Fi.DIGEST_LENGTH,this.blockSize=Fi.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){fc.wipe(this._buffer),fc.wipe(this._tempHi),fc.wipe(this._tempLo),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<Fi.BLOCK_SIZE&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%128<112?128:256;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;dc.writeUint32BE(o,this._buffer,s-8),dc.writeUint32BE(i,this._buffer,s-4),s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/8;a++)dc.writeUint32BE(this._stateHi[a],t,a*8),dc.writeUint32BE(this._stateLo[a],t,a*8+4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){fc.wipe(t.stateHi),fc.wipe(t.stateLo),t.buffer&&fc.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Fi.SHA512=_A;var bA=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function s_(e,t,r,n,o,i,s){for(var a=r[0],u=r[1],l=r[2],p=r[3],h=r[4],y=r[5],b=r[6],v=r[7],C=n[0],N=n[1],M=n[2],T=n[3],I=n[4],U=n[5],K=n[6],J=n[7],j,Z,le,me,fe,W,A,g;s>=128;){for(var w=0;w<16;w++){var E=8*w+i;e[w]=dc.readUint32BE(o,E),t[w]=dc.readUint32BE(o,E+4)}for(var w=0;w<80;w++){var D=a,k=u,B=l,q=p,$=h,_=y,V=b,ie=v,O=C,Y=N,ne=M,ae=T,he=I,X=U,Q=K,G=J;if(j=v,Z=J,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=(h>>>14|I<<32-14)^(h>>>18|I<<32-18)^(I>>>41-32|h<<32-(41-32)),Z=(I>>>14|h<<32-14)^(I>>>18|h<<32-18)^(h>>>41-32|I<<32-(41-32)),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=h&y^~h&b,Z=I&U^~I&K,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=bA[w*2],Z=bA[w*2+1],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=e[w%16],Z=t[w%16],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,le=A&65535|g<<16,me=fe&65535|W<<16,j=le,Z=me,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=(a>>>28|C<<32-28)^(C>>>34-32|a<<32-(34-32))^(C>>>39-32|a<<32-(39-32)),Z=(C>>>28|a<<32-28)^(a>>>34-32|C<<32-(34-32))^(a>>>39-32|C<<32-(39-32)),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=a&u^a&l^u&l,Z=C&N^C&M^N&M,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,ie=A&65535|g<<16,G=fe&65535|W<<16,j=q,Z=ae,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=le,Z=me,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,q=A&65535|g<<16,ae=fe&65535|W<<16,u=D,l=k,p=B,h=q,y=$,b=_,v=V,a=ie,N=O,M=Y,T=ne,I=ae,U=he,K=X,J=Q,C=G,w%16===15)for(var E=0;E<16;E++)j=e[E],Z=t[E],fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=e[(E+9)%16],Z=t[(E+9)%16],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,le=e[(E+1)%16],me=t[(E+1)%16],j=(le>>>1|me<<32-1)^(le>>>8|me<<32-8)^le>>>7,Z=(me>>>1|le<<32-1)^(me>>>8|le<<32-8)^(me>>>7|le<<32-7),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,le=e[(E+14)%16],me=t[(E+14)%16],j=(le>>>19|me<<32-19)^(me>>>61-32|le<<32-(61-32))^le>>>6,Z=(me>>>19|le<<32-19)^(le>>>61-32|me<<32-(61-32))^(me>>>6|le<<32-6),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,e[E]=A&65535|g<<16,t[E]=fe&65535|W<<16}j=a,Z=C,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[0],Z=n[0],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[0]=a=A&65535|g<<16,n[0]=C=fe&65535|W<<16,j=u,Z=N,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[1],Z=n[1],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[1]=u=A&65535|g<<16,n[1]=N=fe&65535|W<<16,j=l,Z=M,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[2],Z=n[2],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[2]=l=A&65535|g<<16,n[2]=M=fe&65535|W<<16,j=p,Z=T,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[3],Z=n[3],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[3]=p=A&65535|g<<16,n[3]=T=fe&65535|W<<16,j=h,Z=I,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[4],Z=n[4],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[4]=h=A&65535|g<<16,n[4]=I=fe&65535|W<<16,j=y,Z=U,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[5],Z=n[5],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[5]=y=A&65535|g<<16,n[5]=U=fe&65535|W<<16,j=b,Z=K,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[6],Z=n[6],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[6]=b=A&65535|g<<16,n[6]=K=fe&65535|W<<16,j=v,Z=J,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[7],Z=n[7],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[7]=v=A&65535|g<<16,n[7]=J=fe&65535|W<<16,i+=128,s-=128}return i}function LY(e){var t=new _A;t.update(e);var r=t.digest();return t.clean(),r}Fi.hash=LY});var LA=_e(Mt=>{"use strict";c();d();f();Object.defineProperty(Mt,"__esModule",{value:!0});Mt.convertSecretKeyToX25519=Mt.convertPublicKeyToX25519=Mt.verify=Mt.sign=Mt.extractPublicKeyFromSecretKey=Mt.generateKeyPair=Mt.generateKeyPairFromSeed=Mt.SEED_LENGTH=Mt.SECRET_KEY_LENGTH=Mt.PUBLIC_KEY_LENGTH=Mt.SIGNATURE_LENGTH=void 0;var FY=qa(),Dd=xA(),TA=po();Mt.SIGNATURE_LENGTH=64;Mt.PUBLIC_KEY_LENGTH=32;Mt.SECRET_KEY_LENGTH=64;Mt.SEED_LENGTH=32;function Ve(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var UY=new Uint8Array(32);UY[0]=9;var l_=Ve(),hc=Ve([1]),$Y=Ve([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),BY=Ve([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),EA=Ve([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),SA=Ve([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),VY=Ve([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function zs(e,t){for(let r=0;r<16;r++)e[r]=t[r]|0}function a_(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function PA(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function Id(e,t){let r=Ve(),n=Ve();for(let o=0;o<16;o++)n[o]=t[o];a_(n),a_(n),a_(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,PA(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function OA(e,t){let r=0;for(let n=0;n<32;n++)r|=e[n]^t[n];return(1&r-1>>>8)-1}function CA(e,t){let r=new Uint8Array(32),n=new Uint8Array(32);return Id(r,e),Id(n,t),OA(r,n)}function DA(e){let t=new Uint8Array(32);return Id(t,e),t[0]&1}function jY(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function Ka(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function Ga(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Ot(e,t,r){let n,o,i=0,s=0,a=0,u=0,l=0,p=0,h=0,y=0,b=0,v=0,C=0,N=0,M=0,T=0,I=0,U=0,K=0,J=0,j=0,Z=0,le=0,me=0,fe=0,W=0,A=0,g=0,w=0,E=0,D=0,k=0,B=0,q=r[0],$=r[1],_=r[2],V=r[3],ie=r[4],O=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],X=r[10],Q=r[11],G=r[12],ue=r[13],re=r[14],ge=r[15];n=t[0],i+=n*q,s+=n*$,a+=n*_,u+=n*V,l+=n*ie,p+=n*O,h+=n*Y,y+=n*ne,b+=n*ae,v+=n*he,C+=n*X,N+=n*Q,M+=n*G,T+=n*ue,I+=n*re,U+=n*ge,n=t[1],s+=n*q,a+=n*$,u+=n*_,l+=n*V,p+=n*ie,h+=n*O,y+=n*Y,b+=n*ne,v+=n*ae,C+=n*he,N+=n*X,M+=n*Q,T+=n*G,I+=n*ue,U+=n*re,K+=n*ge,n=t[2],a+=n*q,u+=n*$,l+=n*_,p+=n*V,h+=n*ie,y+=n*O,b+=n*Y,v+=n*ne,C+=n*ae,N+=n*he,M+=n*X,T+=n*Q,I+=n*G,U+=n*ue,K+=n*re,J+=n*ge,n=t[3],u+=n*q,l+=n*$,p+=n*_,h+=n*V,y+=n*ie,b+=n*O,v+=n*Y,C+=n*ne,N+=n*ae,M+=n*he,T+=n*X,I+=n*Q,U+=n*G,K+=n*ue,J+=n*re,j+=n*ge,n=t[4],l+=n*q,p+=n*$,h+=n*_,y+=n*V,b+=n*ie,v+=n*O,C+=n*Y,N+=n*ne,M+=n*ae,T+=n*he,I+=n*X,U+=n*Q,K+=n*G,J+=n*ue,j+=n*re,Z+=n*ge,n=t[5],p+=n*q,h+=n*$,y+=n*_,b+=n*V,v+=n*ie,C+=n*O,N+=n*Y,M+=n*ne,T+=n*ae,I+=n*he,U+=n*X,K+=n*Q,J+=n*G,j+=n*ue,Z+=n*re,le+=n*ge,n=t[6],h+=n*q,y+=n*$,b+=n*_,v+=n*V,C+=n*ie,N+=n*O,M+=n*Y,T+=n*ne,I+=n*ae,U+=n*he,K+=n*X,J+=n*Q,j+=n*G,Z+=n*ue,le+=n*re,me+=n*ge,n=t[7],y+=n*q,b+=n*$,v+=n*_,C+=n*V,N+=n*ie,M+=n*O,T+=n*Y,I+=n*ne,U+=n*ae,K+=n*he,J+=n*X,j+=n*Q,Z+=n*G,le+=n*ue,me+=n*re,fe+=n*ge,n=t[8],b+=n*q,v+=n*$,C+=n*_,N+=n*V,M+=n*ie,T+=n*O,I+=n*Y,U+=n*ne,K+=n*ae,J+=n*he,j+=n*X,Z+=n*Q,le+=n*G,me+=n*ue,fe+=n*re,W+=n*ge,n=t[9],v+=n*q,C+=n*$,N+=n*_,M+=n*V,T+=n*ie,I+=n*O,U+=n*Y,K+=n*ne,J+=n*ae,j+=n*he,Z+=n*X,le+=n*Q,me+=n*G,fe+=n*ue,W+=n*re,A+=n*ge,n=t[10],C+=n*q,N+=n*$,M+=n*_,T+=n*V,I+=n*ie,U+=n*O,K+=n*Y,J+=n*ne,j+=n*ae,Z+=n*he,le+=n*X,me+=n*Q,fe+=n*G,W+=n*ue,A+=n*re,g+=n*ge,n=t[11],N+=n*q,M+=n*$,T+=n*_,I+=n*V,U+=n*ie,K+=n*O,J+=n*Y,j+=n*ne,Z+=n*ae,le+=n*he,me+=n*X,fe+=n*Q,W+=n*G,A+=n*ue,g+=n*re,w+=n*ge,n=t[12],M+=n*q,T+=n*$,I+=n*_,U+=n*V,K+=n*ie,J+=n*O,j+=n*Y,Z+=n*ne,le+=n*ae,me+=n*he,fe+=n*X,W+=n*Q,A+=n*G,g+=n*ue,w+=n*re,E+=n*ge,n=t[13],T+=n*q,I+=n*$,U+=n*_,K+=n*V,J+=n*ie,j+=n*O,Z+=n*Y,le+=n*ne,me+=n*ae,fe+=n*he,W+=n*X,A+=n*Q,g+=n*G,w+=n*ue,E+=n*re,D+=n*ge,n=t[14],I+=n*q,U+=n*$,K+=n*_,J+=n*V,j+=n*ie,Z+=n*O,le+=n*Y,me+=n*ne,fe+=n*ae,W+=n*he,A+=n*X,g+=n*Q,w+=n*G,E+=n*ue,D+=n*re,k+=n*ge,n=t[15],U+=n*q,K+=n*$,J+=n*_,j+=n*V,Z+=n*ie,le+=n*O,me+=n*Y,fe+=n*ne,W+=n*ae,A+=n*he,g+=n*X,w+=n*Q,E+=n*G,D+=n*ue,k+=n*re,B+=n*ge,i+=38*K,s+=38*J,a+=38*j,u+=38*Z,l+=38*le,p+=38*me,h+=38*fe,y+=38*W,b+=38*A,v+=38*g,C+=38*w,N+=38*E,M+=38*D,T+=38*k,I+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=u,e[4]=l,e[5]=p,e[6]=h,e[7]=y,e[8]=b,e[9]=v,e[10]=C,e[11]=N,e[12]=M,e[13]=T,e[14]=I,e[15]=U}function Za(e,t){Ot(e,t,t)}function IA(e,t){let r=Ve(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=253;n>=0;n--)Za(r,r),n!==2&&n!==4&&Ot(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function zY(e,t){let r=Ve(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=250;n>=0;n--)Za(r,r),n!==1&&Ot(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function c_(e,t){let r=Ve(),n=Ve(),o=Ve(),i=Ve(),s=Ve(),a=Ve(),u=Ve(),l=Ve(),p=Ve();Ga(r,e[1],e[0]),Ga(p,t[1],t[0]),Ot(r,r,p),Ka(n,e[0],e[1]),Ka(p,t[0],t[1]),Ot(n,n,p),Ot(o,e[3],t[3]),Ot(o,o,BY),Ot(i,e[2],t[2]),Ka(i,i,i),Ga(s,n,r),Ga(a,i,o),Ka(u,i,o),Ka(l,n,r),Ot(e[0],s,a),Ot(e[1],l,u),Ot(e[2],u,a),Ot(e[3],s,l)}function MA(e,t,r){for(let n=0;n<4;n++)PA(e[n],t[n],r)}function d_(e,t){let r=Ve(),n=Ve(),o=Ve();IA(o,t[2]),Ot(r,t[0],o),Ot(n,t[1],o),Id(e,n),e[31]^=DA(r)<<7}function AA(e,t,r){zs(e[0],l_),zs(e[1],hc),zs(e[2],hc),zs(e[3],l_);for(let n=255;n>=0;--n){let o=r[n/8|0]>>(n&7)&1;MA(e,t,o),c_(t,e),c_(e,e),MA(e,t,o)}}function h_(e,t){let r=[Ve(),Ve(),Ve(),Ve()];zs(r[0],EA),zs(r[1],SA),zs(r[2],hc),Ot(r[3],EA,SA),AA(e,r,t)}function NA(e){if(e.length!==Mt.SEED_LENGTH)throw new Error(`ed25519: seed must be ${Mt.SEED_LENGTH} bytes`);let t=(0,Dd.hash)(e);t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(32),n=[Ve(),Ve(),Ve(),Ve()];h_(n,t),d_(r,n);let o=new Uint8Array(64);return o.set(e),o.set(r,32),{publicKey:r,secretKey:o}}Mt.generateKeyPairFromSeed=NA;function HY(e){let t=(0,FY.randomBytes)(32,e),r=NA(t);return(0,TA.wipe)(t),r}Mt.generateKeyPair=HY;function qY(e){if(e.length!==Mt.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${Mt.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(e.subarray(32))}Mt.extractPublicKeyFromSecretKey=qY;var u_=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function RA(e,t){let r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o<i;++o)t[o]+=r-16*t[n]*u_[o-(n-32)],r=Math.floor((t[o]+128)/256),t[o]-=r*256;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*u_[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*u_[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=t[n]&255}function f_(e){let t=new Float64Array(64);for(let r=0;r<64;r++)t[r]=e[r];for(let r=0;r<64;r++)e[r]=0;RA(e,t)}function KY(e,t){let r=new Float64Array(64),n=[Ve(),Ve(),Ve(),Ve()],o=(0,Dd.hash)(e.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;let i=new Uint8Array(64);i.set(o.subarray(32),32);let s=new Dd.SHA512;s.update(i.subarray(32)),s.update(t);let a=s.digest();s.clean(),f_(a),h_(n,a),d_(i,n),s.reset(),s.update(i.subarray(0,32)),s.update(e.subarray(32)),s.update(t);let u=s.digest();f_(u);for(let l=0;l<32;l++)r[l]=a[l];for(let l=0;l<32;l++)for(let p=0;p<32;p++)r[l+p]+=u[l]*o[p];return RA(i.subarray(32),r),i}Mt.sign=KY;function kA(e,t){let r=Ve(),n=Ve(),o=Ve(),i=Ve(),s=Ve(),a=Ve(),u=Ve();return zs(e[2],hc),jY(e[1],t),Za(o,e[1]),Ot(i,o,$Y),Ga(o,o,e[2]),Ka(i,e[2],i),Za(s,i),Za(a,s),Ot(u,a,s),Ot(r,u,o),Ot(r,r,i),zY(r,r),Ot(r,r,o),Ot(r,r,i),Ot(r,r,i),Ot(e[0],r,i),Za(n,e[0]),Ot(n,n,i),CA(n,o)&&Ot(e[0],e[0],VY),Za(n,e[0]),Ot(n,n,i),CA(n,o)?-1:(DA(e[0])===t[31]>>7&&Ga(e[0],l_,e[0]),Ot(e[3],e[0],e[1]),0)}function ZY(e,t,r){let n=new Uint8Array(32),o=[Ve(),Ve(),Ve(),Ve()],i=[Ve(),Ve(),Ve(),Ve()];if(r.length!==Mt.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${Mt.SIGNATURE_LENGTH} bytes`);if(kA(i,e))return!1;let s=new Dd.SHA512;s.update(r.subarray(0,32)),s.update(e),s.update(t);let a=s.digest();return f_(a),AA(o,i,a),h_(i,r.subarray(32)),c_(o,i),d_(n,o),!OA(r,n)}Mt.verify=ZY;function GY(e){let t=[Ve(),Ve(),Ve(),Ve()];if(kA(t,e))throw new Error("Ed25519: invalid public key");let r=Ve(),n=Ve(),o=t[1];Ka(r,hc,o),Ga(n,hc,o),IA(n,n),Ot(r,r,n);let i=new Uint8Array(32);return Id(i,r),i}Mt.convertPublicKeyToX25519=GY;function WY(e){let t=(0,Dd.hash)(e.subarray(0,32));t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(t.subarray(0,32));return(0,TA.wipe)(t),r}Mt.convertSecretKeyToX25519=WY});var wN=_e(eg=>{"use strict";c();d();f();Object.defineProperty(eg,"__esModule",{value:!0});var Jr=cc(),U_=po(),lJ=20;function cJ(e,t,r){for(var n=1634760805,o=857760878,i=2036477234,s=1797285236,a=r[3]<<24|r[2]<<16|r[1]<<8|r[0],u=r[7]<<24|r[6]<<16|r[5]<<8|r[4],l=r[11]<<24|r[10]<<16|r[9]<<8|r[8],p=r[15]<<24|r[14]<<16|r[13]<<8|r[12],h=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],b=r[27]<<24|r[26]<<16|r[25]<<8|r[24],v=r[31]<<24|r[30]<<16|r[29]<<8|r[28],C=t[3]<<24|t[2]<<16|t[1]<<8|t[0],N=t[7]<<24|t[6]<<16|t[5]<<8|t[4],M=t[11]<<24|t[10]<<16|t[9]<<8|t[8],T=t[15]<<24|t[14]<<16|t[13]<<8|t[12],I=n,U=o,K=i,J=s,j=a,Z=u,le=l,me=p,fe=h,W=y,A=b,g=v,w=C,E=N,D=M,k=T,B=0;B<lJ;B+=2)I=I+j|0,w^=I,w=w>>>32-16|w<<16,fe=fe+w|0,j^=fe,j=j>>>32-12|j<<12,U=U+Z|0,E^=U,E=E>>>32-16|E<<16,W=W+E|0,Z^=W,Z=Z>>>32-12|Z<<12,K=K+le|0,D^=K,D=D>>>32-16|D<<16,A=A+D|0,le^=A,le=le>>>32-12|le<<12,J=J+me|0,k^=J,k=k>>>32-16|k<<16,g=g+k|0,me^=g,me=me>>>32-12|me<<12,K=K+le|0,D^=K,D=D>>>32-8|D<<8,A=A+D|0,le^=A,le=le>>>32-7|le<<7,J=J+me|0,k^=J,k=k>>>32-8|k<<8,g=g+k|0,me^=g,me=me>>>32-7|me<<7,U=U+Z|0,E^=U,E=E>>>32-8|E<<8,W=W+E|0,Z^=W,Z=Z>>>32-7|Z<<7,I=I+j|0,w^=I,w=w>>>32-8|w<<8,fe=fe+w|0,j^=fe,j=j>>>32-7|j<<7,I=I+Z|0,k^=I,k=k>>>32-16|k<<16,A=A+k|0,Z^=A,Z=Z>>>32-12|Z<<12,U=U+le|0,w^=U,w=w>>>32-16|w<<16,g=g+w|0,le^=g,le=le>>>32-12|le<<12,K=K+me|0,E^=K,E=E>>>32-16|E<<16,fe=fe+E|0,me^=fe,me=me>>>32-12|me<<12,J=J+j|0,D^=J,D=D>>>32-16|D<<16,W=W+D|0,j^=W,j=j>>>32-12|j<<12,K=K+me|0,E^=K,E=E>>>32-8|E<<8,fe=fe+E|0,me^=fe,me=me>>>32-7|me<<7,J=J+j|0,D^=J,D=D>>>32-8|D<<8,W=W+D|0,j^=W,j=j>>>32-7|j<<7,U=U+le|0,w^=U,w=w>>>32-8|w<<8,g=g+w|0,le^=g,le=le>>>32-7|le<<7,I=I+Z|0,k^=I,k=k>>>32-8|k<<8,A=A+k|0,Z^=A,Z=Z>>>32-7|Z<<7;Jr.writeUint32LE(I+n|0,e,0),Jr.writeUint32LE(U+o|0,e,4),Jr.writeUint32LE(K+i|0,e,8),Jr.writeUint32LE(J+s|0,e,12),Jr.writeUint32LE(j+a|0,e,16),Jr.writeUint32LE(Z+u|0,e,20),Jr.writeUint32LE(le+l|0,e,24),Jr.writeUint32LE(me+p|0,e,28),Jr.writeUint32LE(fe+h|0,e,32),Jr.writeUint32LE(W+y|0,e,36),Jr.writeUint32LE(A+b|0,e,40),Jr.writeUint32LE(g+v|0,e,44),Jr.writeUint32LE(w+C|0,e,48),Jr.writeUint32LE(E+N|0,e,52),Jr.writeUint32LE(D+M|0,e,56),Jr.writeUint32LE(k+T|0,e,60)}function vN(e,t,r,n,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(n.length<r.length)throw new Error("ChaCha: destination is shorter than source");var i,s;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");i=new Uint8Array(16),s=i.length-t.length,i.set(t,s)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");i=t,s=o}for(var a=new Uint8Array(64),u=0;u<r.length;u+=64){cJ(a,i,e);for(var l=u;l<u+64&&l<r.length;l++)n[l]=r[l]^a[l-u];dJ(i,0,s)}return U_.wipe(a),o===0&&U_.wipe(i),n}eg.streamXOR=vN;function fJ(e,t,r,n){return n===void 0&&(n=0),U_.wipe(r),vN(e,t,r,r,n)}eg.stream=fJ;function dJ(e,t,r){for(var n=1;r--;)n=n+(e[t]&255)|0,e[t]=n&255,n>>>=8,t++;if(n>0)throw new Error("ChaCha: counter overflow")}});var tg=_e(_c=>{"use strict";c();d();f();Object.defineProperty(_c,"__esModule",{value:!0});function hJ(e,t,r){return~(e-1)&t|e-1&r}_c.select=hJ;function pJ(e,t){return(e|0)-(t|0)-1>>>31&1}_c.lessOrEqual=pJ;function bN(e,t){if(e.length!==t.length)return 0;for(var r=0,n=0;n<e.length;n++)r|=e[n]^t[n];return 1&r-1>>>8}_c.compare=bN;function mJ(e,t){return e.length===0||t.length===0?!1:bN(e,t)!==0}_c.equal=mJ});var xN=_e($i=>{"use strict";c();d();f();Object.defineProperty($i,"__esModule",{value:!0});var gJ=tg(),rg=po();$i.DIGEST_LENGTH=16;var _N=function(){function e(t){this.digestLength=$i.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var r=t[0]|t[1]<<8;this._r[0]=r&8191;var n=t[2]|t[3]<<8;this._r[1]=(r>>>13|n<<3)&8191;var o=t[4]|t[5]<<8;this._r[2]=(n>>>10|o<<6)&7939;var i=t[6]|t[7]<<8;this._r[3]=(o>>>7|i<<9)&8191;var s=t[8]|t[9]<<8;this._r[4]=(i>>>4|s<<12)&255,this._r[5]=s>>>1&8190;var a=t[10]|t[11]<<8;this._r[6]=(s>>>14|a<<2)&8191;var u=t[12]|t[13]<<8;this._r[7]=(a>>>11|u<<5)&8065;var l=t[14]|t[15]<<8;this._r[8]=(u>>>8|l<<8)&8191,this._r[9]=l>>>5&127,this._pad[0]=t[16]|t[17]<<8,this._pad[1]=t[18]|t[19]<<8,this._pad[2]=t[20]|t[21]<<8,this._pad[3]=t[22]|t[23]<<8,this._pad[4]=t[24]|t[25]<<8,this._pad[5]=t[26]|t[27]<<8,this._pad[6]=t[28]|t[29]<<8,this._pad[7]=t[30]|t[31]<<8}return e.prototype._blocks=function(t,r,n){for(var o=this._fin?0:2048,i=this._h[0],s=this._h[1],a=this._h[2],u=this._h[3],l=this._h[4],p=this._h[5],h=this._h[6],y=this._h[7],b=this._h[8],v=this._h[9],C=this._r[0],N=this._r[1],M=this._r[2],T=this._r[3],I=this._r[4],U=this._r[5],K=this._r[6],J=this._r[7],j=this._r[8],Z=this._r[9];n>=16;){var le=t[r+0]|t[r+1]<<8;i+=le&8191;var me=t[r+2]|t[r+3]<<8;s+=(le>>>13|me<<3)&8191;var fe=t[r+4]|t[r+5]<<8;a+=(me>>>10|fe<<6)&8191;var W=t[r+6]|t[r+7]<<8;u+=(fe>>>7|W<<9)&8191;var A=t[r+8]|t[r+9]<<8;l+=(W>>>4|A<<12)&8191,p+=A>>>1&8191;var g=t[r+10]|t[r+11]<<8;h+=(A>>>14|g<<2)&8191;var w=t[r+12]|t[r+13]<<8;y+=(g>>>11|w<<5)&8191;var E=t[r+14]|t[r+15]<<8;b+=(w>>>8|E<<8)&8191,v+=E>>>5|o;var D=0,k=D;k+=i*C,k+=s*(5*Z),k+=a*(5*j),k+=u*(5*J),k+=l*(5*K),D=k>>>13,k&=8191,k+=p*(5*U),k+=h*(5*I),k+=y*(5*T),k+=b*(5*M),k+=v*(5*N),D+=k>>>13,k&=8191;var B=D;B+=i*N,B+=s*C,B+=a*(5*Z),B+=u*(5*j),B+=l*(5*J),D=B>>>13,B&=8191,B+=p*(5*K),B+=h*(5*U),B+=y*(5*I),B+=b*(5*T),B+=v*(5*M),D+=B>>>13,B&=8191;var q=D;q+=i*M,q+=s*N,q+=a*C,q+=u*(5*Z),q+=l*(5*j),D=q>>>13,q&=8191,q+=p*(5*J),q+=h*(5*K),q+=y*(5*U),q+=b*(5*I),q+=v*(5*T),D+=q>>>13,q&=8191;var $=D;$+=i*T,$+=s*M,$+=a*N,$+=u*C,$+=l*(5*Z),D=$>>>13,$&=8191,$+=p*(5*j),$+=h*(5*J),$+=y*(5*K),$+=b*(5*U),$+=v*(5*I),D+=$>>>13,$&=8191;var _=D;_+=i*I,_+=s*T,_+=a*M,_+=u*N,_+=l*C,D=_>>>13,_&=8191,_+=p*(5*Z),_+=h*(5*j),_+=y*(5*J),_+=b*(5*K),_+=v*(5*U),D+=_>>>13,_&=8191;var V=D;V+=i*U,V+=s*I,V+=a*T,V+=u*M,V+=l*N,D=V>>>13,V&=8191,V+=p*C,V+=h*(5*Z),V+=y*(5*j),V+=b*(5*J),V+=v*(5*K),D+=V>>>13,V&=8191;var ie=D;ie+=i*K,ie+=s*U,ie+=a*I,ie+=u*T,ie+=l*M,D=ie>>>13,ie&=8191,ie+=p*N,ie+=h*C,ie+=y*(5*Z),ie+=b*(5*j),ie+=v*(5*J),D+=ie>>>13,ie&=8191;var O=D;O+=i*J,O+=s*K,O+=a*U,O+=u*I,O+=l*T,D=O>>>13,O&=8191,O+=p*M,O+=h*N,O+=y*C,O+=b*(5*Z),O+=v*(5*j),D+=O>>>13,O&=8191;var Y=D;Y+=i*j,Y+=s*J,Y+=a*K,Y+=u*U,Y+=l*I,D=Y>>>13,Y&=8191,Y+=p*T,Y+=h*M,Y+=y*N,Y+=b*C,Y+=v*(5*Z),D+=Y>>>13,Y&=8191;var ne=D;ne+=i*Z,ne+=s*j,ne+=a*J,ne+=u*K,ne+=l*U,D=ne>>>13,ne&=8191,ne+=p*I,ne+=h*T,ne+=y*M,ne+=b*N,ne+=v*C,D+=ne>>>13,ne&=8191,D=(D<<2)+D|0,D=D+k|0,k=D&8191,D=D>>>13,B+=D,i=k,s=B,a=q,u=$,l=_,p=V,h=ie,y=O,b=Y,v=ne,r+=16,n-=16}this._h[0]=i,this._h[1]=s,this._h[2]=a,this._h[3]=u,this._h[4]=l,this._h[5]=p,this._h[6]=h,this._h[7]=y,this._h[8]=b,this._h[9]=v},e.prototype.finish=function(t,r){r===void 0&&(r=0);var n=new Uint16Array(10),o,i,s,a;if(this._leftover){for(a=this._leftover,this._buffer[a++]=1;a<16;a++)this._buffer[a]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(o=this._h[1]>>>13,this._h[1]&=8191,a=2;a<10;a++)this._h[a]+=o,o=this._h[a]>>>13,this._h[a]&=8191;for(this._h[0]+=o*5,o=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=o,o=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=o,n[0]=this._h[0]+5,o=n[0]>>>13,n[0]&=8191,a=1;a<10;a++)n[a]=this._h[a]+o,o=n[a]>>>13,n[a]&=8191;for(n[9]-=1<<13,i=(o^1)-1,a=0;a<10;a++)n[a]&=i;for(i=~i,a=0;a<10;a++)this._h[a]=this._h[a]&i|n[a];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,s=this._h[0]+this._pad[0],this._h[0]=s&65535,a=1;a<8;a++)s=(this._h[a]+this._pad[a]|0)+(s>>>16)|0,this._h[a]=s&65535;return t[r+0]=this._h[0]>>>0,t[r+1]=this._h[0]>>>8,t[r+2]=this._h[1]>>>0,t[r+3]=this._h[1]>>>8,t[r+4]=this._h[2]>>>0,t[r+5]=this._h[2]>>>8,t[r+6]=this._h[3]>>>0,t[r+7]=this._h[3]>>>8,t[r+8]=this._h[4]>>>0,t[r+9]=this._h[4]>>>8,t[r+10]=this._h[5]>>>0,t[r+11]=this._h[5]>>>8,t[r+12]=this._h[6]>>>0,t[r+13]=this._h[6]>>>8,t[r+14]=this._h[7]>>>0,t[r+15]=this._h[7]>>>8,this._finished=!0,this},e.prototype.update=function(t){var r=0,n=t.length,o;if(this._leftover){o=16-this._leftover,o>n&&(o=n);for(var i=0;i<o;i++)this._buffer[this._leftover+i]=t[r+i];if(n-=o,r+=o,this._leftover+=o,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(n>=16&&(o=n-n%16,this._blocks(t,r,o),r+=o,n-=o),n){for(var i=0;i<n;i++)this._buffer[this._leftover+i]=t[r+i];this._leftover+=n}return this},e.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var t=new Uint8Array(16);return this.finish(t),t},e.prototype.clean=function(){return rg.wipe(this._buffer),rg.wipe(this._r),rg.wipe(this._h),rg.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},e}();$i.Poly1305=_N;function yJ(e,t){var r=new _N(e);r.update(t);var n=r.digest();return r.clean(),n}$i.oneTimeAuth=yJ;function vJ(e,t){return e.length!==$i.DIGEST_LENGTH||t.length!==$i.DIGEST_LENGTH?!1:gJ.equal(e,t)}$i.equal=vJ});var og=_e(Bi=>{"use strict";c();d();f();Object.defineProperty(Bi,"__esModule",{value:!0});var ng=wN(),wJ=xN(),Fd=po(),EN=cc(),bJ=tg();Bi.KEY_LENGTH=32;Bi.NONCE_LENGTH=12;Bi.TAG_LENGTH=16;var SN=new Uint8Array(16),_J=function(){function e(t){if(this.nonceLength=Bi.NONCE_LENGTH,this.tagLength=Bi.TAG_LENGTH,t.length!==Bi.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(t)}return e.prototype.seal=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);ng.stream(this._key,i,s,4);var a=r.length+this.tagLength,u;if(o){if(o.length!==a)throw new Error("ChaCha20Poly1305: incorrect destination length");u=o}else u=new Uint8Array(a);return ng.streamXOR(this._key,i,r,u,4),this._authenticate(u.subarray(u.length-this.tagLength,u.length),s,u.subarray(0,u.length-this.tagLength),n),Fd.wipe(i),u},e.prototype.open=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(r.length<this.tagLength)return null;var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);ng.stream(this._key,i,s,4);var a=new Uint8Array(this.tagLength);if(this._authenticate(a,s,r.subarray(0,r.length-this.tagLength),n),!bJ.equal(a,r.subarray(r.length-this.tagLength,r.length)))return null;var u=r.length-this.tagLength,l;if(o){if(o.length!==u)throw new Error("ChaCha20Poly1305: incorrect destination length");l=o}else l=new Uint8Array(u);return ng.streamXOR(this._key,i,r.subarray(0,r.length-this.tagLength),l,4),Fd.wipe(i),l},e.prototype.clean=function(){return Fd.wipe(this._key),this},e.prototype._authenticate=function(t,r,n,o){var i=new wJ.Poly1305(r);o&&(i.update(o),o.length%16>0&&i.update(SN.subarray(o.length%16))),i.update(n),n.length%16>0&&i.update(SN.subarray(n.length%16));var s=new Uint8Array(8);o&&EN.writeUint64LE(o.length,s),i.update(s),EN.writeUint64LE(n.length,s),i.update(s);for(var a=i.digest(),u=0;u<a.length;u++)t[u]=a[u];i.clean(),Fd.wipe(a),Fd.wipe(s)},e}();Bi.ChaCha20Poly1305=_J});var CN=_e($_=>{"use strict";c();d();f();Object.defineProperty($_,"__esModule",{value:!0});function xJ(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}$_.isSerializableHash=xJ});var TN=_e(Ud=>{"use strict";c();d();f();Object.defineProperty(Ud,"__esModule",{value:!0});var ri=CN(),EJ=tg(),SJ=po(),MN=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var n=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(n).clean():n.set(r);for(var o=0;o<n.length;o++)n[o]^=54;this._inner.update(n);for(var o=0;o<n.length;o++)n[o]^=106;this._outer.update(n),ri.isSerializableHash(this._inner)&&ri.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),SJ.wipe(n)}return e.prototype.reset=function(){if(!ri.isSerializableHash(this._inner)||!ri.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){ri.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),ri.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!ri.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!ri.isSerializableHash(this._inner)||!ri.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!ri.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();Ud.HMAC=MN;function CJ(e,t,r){var n=new MN(e,t);n.update(r);var o=n.digest();return n.clean(),o}Ud.hmac=CJ;Ud.equal=EJ.equal});var ig=_e(B_=>{"use strict";c();d();f();Object.defineProperty(B_,"__esModule",{value:!0});var PN=TN(),ON=po(),MJ=function(){function e(t,r,n,o){n===void 0&&(n=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var i=PN.hmac(this._hash,n,r);this._hmac=new PN.HMAC(t,i),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),n=0;n<r.length;n++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[n]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),ON.wipe(this._buffer),ON.wipe(this._counter),this._bufpos=0},e}();B_.HKDF=MJ});var ug=_e(qs=>{"use strict";c();d();f();Object.defineProperty(qs,"__esModule",{value:!0});var ag=cc(),sg=po();qs.DIGEST_LENGTH=32;qs.BLOCK_SIZE=64;var DN=function(){function e(){this.digestLength=qs.DIGEST_LENGTH,this.blockSize=qs.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){sg.wipe(this._buffer),sg.wipe(this._temp),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(V_(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=V_(this._temp,this._state,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%64<56?64:128;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;ag.writeUint32BE(o,this._buffer,s-8),ag.writeUint32BE(i,this._buffer,s-4),V_(this._temp,this._state,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/4;a++)ag.writeUint32BE(this._state[a],t,a*4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){sg.wipe(t.state),t.buffer&&sg.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();qs.SHA256=DN;var TJ=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function V_(e,t,r,n,o){for(;o>=64;){for(var i=t[0],s=t[1],a=t[2],u=t[3],l=t[4],p=t[5],h=t[6],y=t[7],b=0;b<16;b++){var v=n+b*4;e[b]=ag.readUint32BE(r,v)}for(var b=16;b<64;b++){var C=e[b-2],N=(C>>>17|C<<32-17)^(C>>>19|C<<32-19)^C>>>10;C=e[b-15];var M=(C>>>7|C<<32-7)^(C>>>18|C<<32-18)^C>>>3;e[b]=(N+e[b-7]|0)+(M+e[b-16]|0)}for(var b=0;b<64;b++){var N=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&p^~l&h)|0)+(y+(TJ[b]+e[b]|0)|0)|0,M=((i>>>2|i<<32-2)^(i>>>13|i<<32-13)^(i>>>22|i<<32-22))+(i&s^i&a^s&a)|0;y=h,h=p,p=l,l=u+N|0,u=a,a=s,s=i,i=N+M|0}t[0]+=i,t[1]+=s,t[2]+=a,t[3]+=u,t[4]+=l,t[5]+=p,t[6]+=h,t[7]+=y,n+=64,o-=64}return n}function PJ(e){var t=new DN;t.update(e);var r=t.digest();return t.clean(),r}qs.hash=PJ});var fg=_e(nr=>{"use strict";c();d();f();Object.defineProperty(nr,"__esModule",{value:!0});nr.sharedKey=nr.generateKeyPair=nr.generateKeyPairFromSeed=nr.scalarMultBase=nr.scalarMult=nr.SHARED_KEY_LENGTH=nr.SECRET_KEY_LENGTH=nr.PUBLIC_KEY_LENGTH=void 0;var OJ=qa(),DJ=po();nr.PUBLIC_KEY_LENGTH=32;nr.SECRET_KEY_LENGTH=32;nr.SHARED_KEY_LENGTH=32;function ni(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var IN=new Uint8Array(32);IN[0]=9;var IJ=ni([56129,1]);function j_(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function $d(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function AJ(e,t){let r=ni(),n=ni();for(let o=0;o<16;o++)n[o]=t[o];j_(n),j_(n),j_(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,$d(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function NJ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function lg(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function cg(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Vi(e,t,r){let n,o,i=0,s=0,a=0,u=0,l=0,p=0,h=0,y=0,b=0,v=0,C=0,N=0,M=0,T=0,I=0,U=0,K=0,J=0,j=0,Z=0,le=0,me=0,fe=0,W=0,A=0,g=0,w=0,E=0,D=0,k=0,B=0,q=r[0],$=r[1],_=r[2],V=r[3],ie=r[4],O=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],X=r[10],Q=r[11],G=r[12],ue=r[13],re=r[14],ge=r[15];n=t[0],i+=n*q,s+=n*$,a+=n*_,u+=n*V,l+=n*ie,p+=n*O,h+=n*Y,y+=n*ne,b+=n*ae,v+=n*he,C+=n*X,N+=n*Q,M+=n*G,T+=n*ue,I+=n*re,U+=n*ge,n=t[1],s+=n*q,a+=n*$,u+=n*_,l+=n*V,p+=n*ie,h+=n*O,y+=n*Y,b+=n*ne,v+=n*ae,C+=n*he,N+=n*X,M+=n*Q,T+=n*G,I+=n*ue,U+=n*re,K+=n*ge,n=t[2],a+=n*q,u+=n*$,l+=n*_,p+=n*V,h+=n*ie,y+=n*O,b+=n*Y,v+=n*ne,C+=n*ae,N+=n*he,M+=n*X,T+=n*Q,I+=n*G,U+=n*ue,K+=n*re,J+=n*ge,n=t[3],u+=n*q,l+=n*$,p+=n*_,h+=n*V,y+=n*ie,b+=n*O,v+=n*Y,C+=n*ne,N+=n*ae,M+=n*he,T+=n*X,I+=n*Q,U+=n*G,K+=n*ue,J+=n*re,j+=n*ge,n=t[4],l+=n*q,p+=n*$,h+=n*_,y+=n*V,b+=n*ie,v+=n*O,C+=n*Y,N+=n*ne,M+=n*ae,T+=n*he,I+=n*X,U+=n*Q,K+=n*G,J+=n*ue,j+=n*re,Z+=n*ge,n=t[5],p+=n*q,h+=n*$,y+=n*_,b+=n*V,v+=n*ie,C+=n*O,N+=n*Y,M+=n*ne,T+=n*ae,I+=n*he,U+=n*X,K+=n*Q,J+=n*G,j+=n*ue,Z+=n*re,le+=n*ge,n=t[6],h+=n*q,y+=n*$,b+=n*_,v+=n*V,C+=n*ie,N+=n*O,M+=n*Y,T+=n*ne,I+=n*ae,U+=n*he,K+=n*X,J+=n*Q,j+=n*G,Z+=n*ue,le+=n*re,me+=n*ge,n=t[7],y+=n*q,b+=n*$,v+=n*_,C+=n*V,N+=n*ie,M+=n*O,T+=n*Y,I+=n*ne,U+=n*ae,K+=n*he,J+=n*X,j+=n*Q,Z+=n*G,le+=n*ue,me+=n*re,fe+=n*ge,n=t[8],b+=n*q,v+=n*$,C+=n*_,N+=n*V,M+=n*ie,T+=n*O,I+=n*Y,U+=n*ne,K+=n*ae,J+=n*he,j+=n*X,Z+=n*Q,le+=n*G,me+=n*ue,fe+=n*re,W+=n*ge,n=t[9],v+=n*q,C+=n*$,N+=n*_,M+=n*V,T+=n*ie,I+=n*O,U+=n*Y,K+=n*ne,J+=n*ae,j+=n*he,Z+=n*X,le+=n*Q,me+=n*G,fe+=n*ue,W+=n*re,A+=n*ge,n=t[10],C+=n*q,N+=n*$,M+=n*_,T+=n*V,I+=n*ie,U+=n*O,K+=n*Y,J+=n*ne,j+=n*ae,Z+=n*he,le+=n*X,me+=n*Q,fe+=n*G,W+=n*ue,A+=n*re,g+=n*ge,n=t[11],N+=n*q,M+=n*$,T+=n*_,I+=n*V,U+=n*ie,K+=n*O,J+=n*Y,j+=n*ne,Z+=n*ae,le+=n*he,me+=n*X,fe+=n*Q,W+=n*G,A+=n*ue,g+=n*re,w+=n*ge,n=t[12],M+=n*q,T+=n*$,I+=n*_,U+=n*V,K+=n*ie,J+=n*O,j+=n*Y,Z+=n*ne,le+=n*ae,me+=n*he,fe+=n*X,W+=n*Q,A+=n*G,g+=n*ue,w+=n*re,E+=n*ge,n=t[13],T+=n*q,I+=n*$,U+=n*_,K+=n*V,J+=n*ie,j+=n*O,Z+=n*Y,le+=n*ne,me+=n*ae,fe+=n*he,W+=n*X,A+=n*Q,g+=n*G,w+=n*ue,E+=n*re,D+=n*ge,n=t[14],I+=n*q,U+=n*$,K+=n*_,J+=n*V,j+=n*ie,Z+=n*O,le+=n*Y,me+=n*ne,fe+=n*ae,W+=n*he,A+=n*X,g+=n*Q,w+=n*G,E+=n*ue,D+=n*re,k+=n*ge,n=t[15],U+=n*q,K+=n*$,J+=n*_,j+=n*V,Z+=n*ie,le+=n*O,me+=n*Y,fe+=n*ne,W+=n*ae,A+=n*he,g+=n*X,w+=n*Q,E+=n*G,D+=n*ue,k+=n*re,B+=n*ge,i+=38*K,s+=38*J,a+=38*j,u+=38*Z,l+=38*le,p+=38*me,h+=38*fe,y+=38*W,b+=38*A,v+=38*g,C+=38*w,N+=38*E,M+=38*D,T+=38*k,I+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=u,e[4]=l,e[5]=p,e[6]=h,e[7]=y,e[8]=b,e[9]=v,e[10]=C,e[11]=N,e[12]=M,e[13]=T,e[14]=I,e[15]=U}function Bd(e,t){Vi(e,t,t)}function RJ(e,t){let r=ni();for(let n=0;n<16;n++)r[n]=t[n];for(let n=253;n>=0;n--)Bd(r,r),n!==2&&n!==4&&Vi(r,r,t);for(let n=0;n<16;n++)e[n]=r[n]}function z_(e,t){let r=new Uint8Array(32),n=new Float64Array(80),o=ni(),i=ni(),s=ni(),a=ni(),u=ni(),l=ni();for(let b=0;b<31;b++)r[b]=e[b];r[31]=e[31]&127|64,r[0]&=248,NJ(n,t);for(let b=0;b<16;b++)i[b]=n[b];o[0]=a[0]=1;for(let b=254;b>=0;--b){let v=r[b>>>3]>>>(b&7)&1;$d(o,i,v),$d(s,a,v),lg(u,o,s),cg(o,o,s),lg(s,i,a),cg(i,i,a),Bd(a,u),Bd(l,o),Vi(o,s,o),Vi(s,i,u),lg(u,o,s),cg(o,o,s),Bd(i,o),cg(s,a,l),Vi(o,s,IJ),lg(o,o,a),Vi(s,s,o),Vi(o,a,l),Vi(a,i,n),Bd(i,u),$d(o,i,v),$d(s,a,v)}for(let b=0;b<16;b++)n[b+16]=o[b],n[b+32]=s[b],n[b+48]=i[b],n[b+64]=a[b];let p=n.subarray(32),h=n.subarray(16);RJ(p,p),Vi(h,h,p);let y=new Uint8Array(32);return AJ(y,h),y}nr.scalarMult=z_;function AN(e){return z_(e,IN)}nr.scalarMultBase=AN;function NN(e){if(e.length!==nr.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${nr.SECRET_KEY_LENGTH} bytes`);let t=new Uint8Array(e);return{publicKey:AN(t),secretKey:t}}nr.generateKeyPairFromSeed=NN;function kJ(e){let t=(0,OJ.randomBytes)(32,e),r=NN(t);return(0,DJ.wipe)(t),r}nr.generateKeyPair=kJ;function LJ(e,t,r=!1){if(e.length!==nr.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(t.length!==nr.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let n=z_(e,t);if(r){let o=0;for(let i=0;i<n.length;i++)o|=n[i];if(o===0)throw new Error("X25519: invalid shared key")}return n}nr.sharedKey=LJ});var jd=_e(Ut=>{"use strict";c();d();f();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.getLocalStorage=Ut.getLocalStorageOrThrow=Ut.getCrypto=Ut.getCryptoOrThrow=Ut.getLocation=Ut.getLocationOrThrow=Ut.getNavigator=Ut.getNavigatorOrThrow=Ut.getDocument=Ut.getDocumentOrThrow=Ut.getFromWindowOrThrow=Ut.getFromWindow=void 0;function Ya(e){let t;return typeof window<"u"&&typeof window[e]<"u"&&(t=window[e]),t}Ut.getFromWindow=Ya;function Ec(e){let t=Ya(e);if(!t)throw new Error(`${e} is not defined in Window`);return t}Ut.getFromWindowOrThrow=Ec;function YJ(){return Ec("document")}Ut.getDocumentOrThrow=YJ;function XJ(){return Ya("document")}Ut.getDocument=XJ;function JJ(){return Ec("navigator")}Ut.getNavigatorOrThrow=JJ;function QJ(){return Ya("navigator")}Ut.getNavigator=QJ;function eQ(){return Ec("location")}Ut.getLocationOrThrow=eQ;function tQ(){return Ya("location")}Ut.getLocation=tQ;function rQ(){return Ec("crypto")}Ut.getCryptoOrThrow=rQ;function nQ(){return Ya("crypto")}Ut.getCrypto=nQ;function oQ(){return Ec("localStorage")}Ut.getLocalStorageOrThrow=oQ;function iQ(){return Ya("localStorage")}Ut.getLocalStorage=iQ});var pg=_e(hg=>{"use strict";c();d();f();Object.defineProperty(hg,"__esModule",{value:!0});hg.getWindowMetadata=void 0;var VN=jd();function sQ(){let e,t;try{e=VN.getDocumentOrThrow(),t=VN.getLocationOrThrow()}catch(h){return null}function r(){let h=e.getElementsByTagName("link"),y=[];for(let b=0;b<h.length;b++){let v=h[b],C=v.getAttribute("rel");if(C&&C.toLowerCase().indexOf("icon")>-1){let N=v.getAttribute("href");if(N)if(N.toLowerCase().indexOf("https:")===-1&&N.toLowerCase().indexOf("http:")===-1&&N.indexOf("//")!==0){let M=t.protocol+"//"+t.host;if(N.indexOf("/")===0)M+=N;else{let T=t.pathname.split("/");T.pop(),M+=T.join("/")+"/"+N}y.push(M)}else if(N.indexOf("//")===0){let M=t.protocol+N;y.push(M)}else y.push(N)}}return y}function n(...h){let y=e.getElementsByTagName("meta");for(let b=0;b<y.length;b++){let v=y[b],C=["itemprop","property","name"].map(N=>v.getAttribute(N)).filter(N=>N?h.includes(N):!1);if(C.length&&C){let N=v.getAttribute("content");if(N)return N}}return""}function o(){let h=n("name","og:site_name","og:title","twitter:title");return h||(h=e.title),h}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),u=t.origin,l=r();return{description:a,url:u,icons:l,name:s}}hg.getWindowMetadata=sQ});var zN=_e((Ebe,jN)=>{"use strict";c();d();f();jN.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)});var GN=_e((Sbe,ZN)=>{"use strict";c();d();f();var KN="%[a-f0-9]{2}",HN=new RegExp("("+KN+")|([^%]+?)","gi"),qN=new RegExp("("+KN+")+","gi");function q_(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],q_(r),q_(n))}function aQ(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(HN)||[],r=1;r<t.length;r++)e=q_(t,r).join(""),t=e.match(HN)||[];return e}}function uQ(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=qN.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(a){var n=aQ(r[0]);n!==r[0]&&(t[r[0]]=n)}r=qN.exec(e)}t["%C2"]="\uFFFD";for(var o=Object.keys(t),i=0;i<o.length;i++){var s=o[i];e=e.replace(new RegExp(s,"g"),t[s])}return e}ZN.exports=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return uQ(e)}}});var YN=_e((Cbe,WN)=>{"use strict";c();d();f();WN.exports=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];let r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}});var JN=_e((Mbe,XN)=>{"use strict";c();d();f();XN.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var s=n[i],a=e[s];(o?t.indexOf(s)!==-1:t(s,a,e))&&(r[s]=a)}return r}});var mg=_e(On=>{"use strict";c();d();f();var lQ=zN(),cQ=GN(),eR=YN(),fQ=JN(),dQ=e=>e==null,K_=Symbol("encodeFragmentIdentifier");function hQ(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),"[",o,"]"].join("")]:[...r,[ar(t,e),"[",ar(o,e),"]=",ar(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),"[]"].join("")]:[...r,[ar(t,e),"[]=",ar(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),":list="].join("")]:[...r,[ar(t,e),":list=",ar(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[ar(r,e),t,ar(o,e)].join("")]:[[n,ar(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,ar(t,e)]:[...r,[ar(t,e),"=",ar(n,e)].join("")]}}function pQ(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&ji(n,e).includes(e.arrayFormatSeparator);n=s?ji(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(u=>ji(u,e)):n===null?n:ji(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&ji(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>ji(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function tR(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ar(e,t){return t.encode?t.strict?lQ(e):encodeURIComponent(e):e}function ji(e,t){return t.decode?cQ(e):e}function rR(e){return Array.isArray(e)?e.sort():typeof e=="object"?rR(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function nR(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function mQ(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function oR(e){e=nR(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function QN(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function iR(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),tR(t.arrayFormatSeparator);let r=pQ(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=eR(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:ji(s,t),r(ji(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=QN(i[s],t);else n[o]=QN(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=rR(s):o[i]=s,o},Object.create(null))}On.extract=oR;On.parse=iR;On.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),tR(t.arrayFormatSeparator);let r=s=>t.skipNull&&dQ(e[s])||t.skipEmptyString&&e[s]==="",n=hQ(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?ar(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?ar(s,t)+"[]":a.reduce(n(s),[]).join("&"):ar(s,t)+"="+ar(a,t)}).filter(s=>s.length>0).join("&")};On.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=eR(e,"#");return Object.assign({url:r.split("?")[0]||"",query:iR(oR(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:ji(n,t)}:{})};On.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[K_]:!0},t);let r=nR(e.url).split("?")[0]||"",n=On.extract(e.url),o=On.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=On.stringify(i,t);s&&(s=`?${s}`);let a=mQ(e.url);return e.fragmentIdentifier&&(a=`#${t[K_]?ar(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};On.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[K_]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=On.parseUrl(e,r);return On.stringifyUrl({url:n,query:fQ(o,t),fragmentIdentifier:i},r)};On.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return On.pick(e,n,r)}});var ok=_e((o_e,Ag)=>{c();d();f();var UR,$R,BR,VR,jR,zR,HR,qR,KR,Ig,ux,ZR,GR,Tc,WR,YR,XR,JR,QR,ek,tk,rk,nk;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Ag=="object"&&typeof Ag.exports=="object"?e(r(t,r(Ag.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};UR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},$R=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},BR=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},VR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},jR=function(r,n){return function(o,i){n(o,i,r)}},zR=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},HR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},qR=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},nk=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},KR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Ig=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ux=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},ZR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(ux(arguments[n]));return r},GR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Tc=function(r){return this instanceof Tc?(this.v=r,this):new Tc(r)},WR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Tc?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},YR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Tc(r[s](u)),done:s==="return"}:a?a(u):u}:a}},XR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Ig=="function"?Ig(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},JR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},QR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},ek=function(r){return r&&r.__esModule?r:{default:r}},tk=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},rk=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",UR),e("__assign",$R),e("__rest",BR),e("__decorate",VR),e("__param",jR),e("__metadata",zR),e("__awaiter",HR),e("__generator",qR),e("__exportStar",KR),e("__createBinding",nk),e("__values",Ig),e("__read",ux),e("__spread",ZR),e("__spreadArrays",GR),e("__await",Tc),e("__asyncGenerator",WR),e("__asyncDelegator",YR),e("__asyncValues",XR),e("__makeTemplateObject",JR),e("__importStar",QR),e("__importDefault",ek),e("__classPrivateFieldGet",tk),e("__classPrivateFieldSet",rk)})});var sk=_e(Zs=>{"use strict";c();d();f();Object.defineProperty(Zs,"__esModule",{value:!0});Zs.isBrowserCryptoAvailable=Zs.getSubtleCrypto=Zs.getBrowerCrypto=void 0;function lx(){return(globalThis==null?void 0:globalThis.crypto)||(globalThis==null?void 0:globalThis.msCrypto)||{}}Zs.getBrowerCrypto=lx;function ik(){let e=lx();return e.subtle||e.webkitSubtle}Zs.getSubtleCrypto=ik;function zQ(){return!!lx()&&!!ik()}Zs.isBrowserCryptoAvailable=zQ});var lk=_e(Gs=>{"use strict";c();d();f();Object.defineProperty(Gs,"__esModule",{value:!0});Gs.isBrowser=Gs.isNode=Gs.isReactNative=void 0;function ak(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}Gs.isReactNative=ak;function uk(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}Gs.isNode=uk;function HQ(){return!ak()&&!uk()}Gs.isBrowser=HQ});var cx=_e(Ng=>{"use strict";c();d();f();Object.defineProperty(Ng,"__esModule",{value:!0});var ck=ok();ck.__exportStar(sk(),Ng);ck.__exportStar(lk(),Ng)});var vk=_e(($_e,yk)=>{"use strict";c();d();f();yk.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var nL=_e((Wd,Ac)=>{c();d();f();var ree=200,Cx="__lodash_hash_undefined__",Kg=1,Rk=2,kk=9007199254740991,$g="[object Arguments]",vx="[object Array]",nee="[object AsyncFunction]",Lk="[object Boolean]",Fk="[object Date]",Uk="[object Error]",$k="[object Function]",oee="[object GeneratorFunction]",Bg="[object Map]",Bk="[object Number]",iee="[object Null]",Ic="[object Object]",Ek="[object Promise]",see="[object Proxy]",Vk="[object RegExp]",Vg="[object Set]",jk="[object String]",aee="[object Symbol]",uee="[object Undefined]",wx="[object WeakMap]",zk="[object ArrayBuffer]",jg="[object DataView]",lee="[object Float32Array]",cee="[object Float64Array]",fee="[object Int8Array]",dee="[object Int16Array]",hee="[object Int32Array]",pee="[object Uint8Array]",mee="[object Uint8ClampedArray]",gee="[object Uint16Array]",yee="[object Uint32Array]",vee=/[\\^$.*+?()[\]{}|]/g,wee=/^\[object .+?Constructor\]$/,bee=/^(?:0|[1-9]\d*)$/,jt={};jt[lee]=jt[cee]=jt[fee]=jt[dee]=jt[hee]=jt[pee]=jt[mee]=jt[gee]=jt[yee]=!0;jt[$g]=jt[vx]=jt[zk]=jt[Lk]=jt[jg]=jt[Fk]=jt[Uk]=jt[$k]=jt[Bg]=jt[Bk]=jt[Ic]=jt[Vk]=jt[Vg]=jt[jk]=jt[wx]=!1;var Hk=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,_ee=typeof self=="object"&&self&&self.Object===Object&&self,Hi=Hk||_ee||Function("return this")(),qk=typeof Wd=="object"&&Wd&&!Wd.nodeType&&Wd,Sk=qk&&typeof Ac=="object"&&Ac&&!Ac.nodeType&&Ac,Kk=Sk&&Sk.exports===qk,mx=Kk&&Hk.process,Ck=function(){try{return mx&&mx.binding&&mx.binding("util")}catch(e){}}(),Mk=Ck&&Ck.isTypedArray;function xee(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}function Eee(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function See(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Cee(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Mee(e){return function(t){return e(t)}}function Tee(e,t){return e.has(t)}function Pee(e,t){return e==null?void 0:e[t]}function Oee(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Dee(e,t){return function(r){return e(t(r))}}function Iee(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Aee=Array.prototype,Nee=Function.prototype,Zg=Object.prototype,gx=Hi["__core-js_shared__"],Zk=Nee.toString,oi=Zg.hasOwnProperty,Tk=function(){var e=/[^.]+$/.exec(gx&&gx.keys&&gx.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Gk=Zg.toString,Ree=RegExp("^"+Zk.call(oi).replace(vee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pk=Kk?Hi.Buffer:void 0,zg=Hi.Symbol,Ok=Hi.Uint8Array,Wk=Zg.propertyIsEnumerable,kee=Aee.splice,tu=zg?zg.toStringTag:void 0,Dk=Object.getOwnPropertySymbols,Lee=Pk?Pk.isBuffer:void 0,Fee=Dee(Object.keys,Object),bx=Nc(Hi,"DataView"),Yd=Nc(Hi,"Map"),_x=Nc(Hi,"Promise"),xx=Nc(Hi,"Set"),Ex=Nc(Hi,"WeakMap"),Xd=Nc(Object,"create"),Uee=ou(bx),$ee=ou(Yd),Bee=ou(_x),Vee=ou(xx),jee=ou(Ex),Ik=zg?zg.prototype:void 0,yx=Ik?Ik.valueOf:void 0;function ru(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function zee(){this.__data__=Xd?Xd(null):{},this.size=0}function Hee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function qee(e){var t=this.__data__;if(Xd){var r=t[e];return r===Cx?void 0:r}return oi.call(t,e)?t[e]:void 0}function Kee(e){var t=this.__data__;return Xd?t[e]!==void 0:oi.call(t,e)}function Zee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xd&&t===void 0?Cx:t,this}ru.prototype.clear=zee;ru.prototype.delete=Hee;ru.prototype.get=qee;ru.prototype.has=Kee;ru.prototype.set=Zee;function qi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gee(){this.__data__=[],this.size=0}function Wee(e){var t=this.__data__,r=Gg(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():kee.call(t,r,1),--this.size,!0}function Yee(e){var t=this.__data__,r=Gg(t,e);return r<0?void 0:t[r][1]}function Xee(e){return Gg(this.__data__,e)>-1}function Jee(e,t){var r=this.__data__,n=Gg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}qi.prototype.clear=Gee;qi.prototype.delete=Wee;qi.prototype.get=Yee;qi.prototype.has=Xee;qi.prototype.set=Jee;function nu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Qee(){this.size=0,this.__data__={hash:new ru,map:new(Yd||qi),string:new ru}}function ete(e){var t=Wg(this,e).delete(e);return this.size-=t?1:0,t}function tte(e){return Wg(this,e).get(e)}function rte(e){return Wg(this,e).has(e)}function nte(e,t){var r=Wg(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}nu.prototype.clear=Qee;nu.prototype.delete=ete;nu.prototype.get=tte;nu.prototype.has=rte;nu.prototype.set=nte;function Hg(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new nu;++t<r;)this.add(e[t])}function ote(e){return this.__data__.set(e,Cx),this}function ite(e){return this.__data__.has(e)}Hg.prototype.add=Hg.prototype.push=ote;Hg.prototype.has=ite;function Xs(e){var t=this.__data__=new qi(e);this.size=t.size}function ste(){this.__data__=new qi,this.size=0}function ate(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function ute(e){return this.__data__.get(e)}function lte(e){return this.__data__.has(e)}function cte(e,t){var r=this.__data__;if(r instanceof qi){var n=r.__data__;if(!Yd||n.length<ree-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new nu(n)}return r.set(e,t),this.size=r.size,this}Xs.prototype.clear=ste;Xs.prototype.delete=ate;Xs.prototype.get=ute;Xs.prototype.has=lte;Xs.prototype.set=cte;function fte(e,t){var r=qg(e),n=!r&&Mte(e),o=!r&&!n&&Sx(e),i=!r&&!n&&!o&&rL(e),s=r||n||o||i,a=s?Cee(e.length,String):[],u=a.length;for(var l in e)(t||oi.call(e,l))&&!(s&&(l=="length"||o&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||_te(l,u)))&&a.push(l);return a}function Gg(e,t){for(var r=e.length;r--;)if(Jk(e[r][0],t))return r;return-1}function dte(e,t,r){var n=t(e);return qg(e)?n:Eee(n,r(e))}function Qd(e){return e==null?e===void 0?uee:iee:tu&&tu in Object(e)?wte(e):Cte(e)}function Ak(e){return Jd(e)&&Qd(e)==$g}function Yk(e,t,r,n,o){return e===t?!0:e==null||t==null||!Jd(e)&&!Jd(t)?e!==e&&t!==t:hte(e,t,r,n,Yk,o)}function hte(e,t,r,n,o,i){var s=qg(e),a=qg(t),u=s?vx:Ys(e),l=a?vx:Ys(t);u=u==$g?Ic:u,l=l==$g?Ic:l;var p=u==Ic,h=l==Ic,y=u==l;if(y&&Sx(e)){if(!Sx(t))return!1;s=!0,p=!1}if(y&&!p)return i||(i=new Xs),s||rL(e)?Xk(e,t,r,n,o,i):yte(e,t,u,r,n,o,i);if(!(r&Kg)){var b=p&&oi.call(e,"__wrapped__"),v=h&&oi.call(t,"__wrapped__");if(b||v){var C=b?e.value():e,N=v?t.value():t;return i||(i=new Xs),o(C,N,r,n,i)}}return y?(i||(i=new Xs),vte(e,t,r,n,o,i)):!1}function pte(e){if(!tL(e)||Ete(e))return!1;var t=Qk(e)?Ree:wee;return t.test(ou(e))}function mte(e){return Jd(e)&&eL(e.length)&&!!jt[Qd(e)]}function gte(e){if(!Ste(e))return Fee(e);var t=[];for(var r in Object(e))oi.call(e,r)&&r!="constructor"&&t.push(r);return t}function Xk(e,t,r,n,o,i){var s=r&Kg,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var p=-1,h=!0,y=r&Rk?new Hg:void 0;for(i.set(e,t),i.set(t,e);++p<a;){var b=e[p],v=t[p];if(n)var C=s?n(v,b,p,t,e,i):n(b,v,p,e,t,i);if(C!==void 0){if(C)continue;h=!1;break}if(y){if(!See(t,function(N,M){if(!Tee(y,M)&&(b===N||o(b,N,r,n,i)))return y.push(M)})){h=!1;break}}else if(!(b===v||o(b,v,r,n,i))){h=!1;break}}return i.delete(e),i.delete(t),h}function yte(e,t,r,n,o,i,s){switch(r){case jg:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zk:return!(e.byteLength!=t.byteLength||!i(new Ok(e),new Ok(t)));case Lk:case Fk:case Bk:return Jk(+e,+t);case Uk:return e.name==t.name&&e.message==t.message;case Vk:case jk:return e==t+"";case Bg:var a=Oee;case Vg:var u=n&Kg;if(a||(a=Iee),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;n|=Rk,s.set(e,t);var p=Xk(a(e),a(t),n,o,i,s);return s.delete(e),p;case aee:if(yx)return yx.call(e)==yx.call(t)}return!1}function vte(e,t,r,n,o,i){var s=r&Kg,a=Nk(e),u=a.length,l=Nk(t),p=l.length;if(u!=p&&!s)return!1;for(var h=u;h--;){var y=a[h];if(!(s?y in t:oi.call(t,y)))return!1}var b=i.get(e);if(b&&i.get(t))return b==t;var v=!0;i.set(e,t),i.set(t,e);for(var C=s;++h<u;){y=a[h];var N=e[y],M=t[y];if(n)var T=s?n(M,N,y,t,e,i):n(N,M,y,e,t,i);if(!(T===void 0?N===M||o(N,M,r,n,i):T)){v=!1;break}C||(C=y=="constructor")}if(v&&!C){var I=e.constructor,U=t.constructor;I!=U&&"constructor"in e&&"constructor"in t&&!(typeof I=="function"&&I instanceof I&&typeof U=="function"&&U instanceof U)&&(v=!1)}return i.delete(e),i.delete(t),v}function Nk(e){return dte(e,Ote,bte)}function Wg(e,t){var r=e.__data__;return xte(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Nc(e,t){var r=Pee(e,t);return pte(r)?r:void 0}function wte(e){var t=oi.call(e,tu),r=e[tu];try{e[tu]=void 0;var n=!0}catch(i){}var o=Gk.call(e);return n&&(t?e[tu]=r:delete e[tu]),o}var bte=Dk?function(e){return e==null?[]:(e=Object(e),xee(Dk(e),function(t){return Wk.call(e,t)}))}:Dte,Ys=Qd;(bx&&Ys(new bx(new ArrayBuffer(1)))!=jg||Yd&&Ys(new Yd)!=Bg||_x&&Ys(_x.resolve())!=Ek||xx&&Ys(new xx)!=Vg||Ex&&Ys(new Ex)!=wx)&&(Ys=function(e){var t=Qd(e),r=t==Ic?e.constructor:void 0,n=r?ou(r):"";if(n)switch(n){case Uee:return jg;case $ee:return Bg;case Bee:return Ek;case Vee:return Vg;case jee:return wx}return t});function _te(e,t){return t=t==null?kk:t,!!t&&(typeof e=="number"||bee.test(e))&&e>-1&&e%1==0&&e<t}function xte(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ete(e){return!!Tk&&Tk in e}function Ste(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Zg;return e===r}function Cte(e){return Gk.call(e)}function ou(e){if(e!=null){try{return Zk.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Jk(e,t){return e===t||e!==e&&t!==t}var Mte=Ak(function(){return arguments}())?Ak:function(e){return Jd(e)&&oi.call(e,"callee")&&!Wk.call(e,"callee")},qg=Array.isArray;function Tte(e){return e!=null&&eL(e.length)&&!Qk(e)}var Sx=Lee||Ite;function Pte(e,t){return Yk(e,t)}function Qk(e){if(!tL(e))return!1;var t=Qd(e);return t==$k||t==oee||t==nee||t==see}function eL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=kk}function tL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Jd(e){return e!=null&&typeof e=="object"}var rL=Mk?Mee(Mk):mte;function Ote(e){return Tte(e)?fte(e):gte(e)}function Dte(){return[]}function Ite(){return!1}Ac.exports=Pte});var A4=_e(I4=>{"use strict";c();d();f();Object.defineProperty(I4,"__esModule",{value:!0});I4.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"\xC5land Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","289","306","343","365","367","403","416","418","431","437","438","450","506","514","519","548","579","581","587","600","604","613","639","647","672","705","709","778","780","807","819","825","867","873","902","905"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"C\xF4te D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Cura\xE7ao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"R\xE9union",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77"],phone_number_lengths:[9]}]});var fU=_e(Rn=>{"use strict";c();d();f();var aie=Rn&&Rn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Rn,"__esModule",{value:!0});Rn.validatePhoneISO3166=Rn.findCountryPhoneDataByPhoneNumber=Rn.findPossibleCountryPhoneData=Rn.findExactCountryPhoneData=Rn.findCountryPhoneDataByCountry=void 0;var fh=aie(A4());function uie(e){return e?e.length===2?fh.default.find(t=>e.toUpperCase()===t.alpha2)||null:e.length===3?fh.default.find(t=>e.toUpperCase()===t.alpha3)||null:fh.default.find(t=>e.toUpperCase()===t.country_name.toUpperCase())||null:fh.default.find(t=>t.alpha3==="USA")||null}Rn.findCountryPhoneDataByCountry=uie;function lU(e,t,r){return r.phone_number_lengths.some(o=>r.country_code.length+o===e.length)&&(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+o))))?r:null}Rn.findExactCountryPhoneData=lU;function cU(e,t,r){if(!r.phone_number_lengths.some(o=>r.country_code.length+o+1===e.length))return null;if(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+"\\d?"+o))))return r}Rn.findPossibleCountryPhoneData=cU;function lie(e,t){let r,n;for(let o of fh.default)!e.match(new RegExp("^"+o.country_code))||(r||(r=lU(e,t,o)),n||(n=cU(e,t,o)));return{exactCountryPhoneData:r,possibleCountryPhoneData:n}}Rn.findCountryPhoneDataByPhoneNumber=lie;function cie(e,t,r,n){if(!t.phone_number_lengths)return!1;let o=e.replace(new RegExp("^"+t.country_code),"");if(n&&t&&o.length===e.length)return!1;let i=t.phone_number_lengths,s=t.mobile_begin_with,a=i.some(l=>o.length===l),u=s.length?s.some(l=>o.match(new RegExp("^"+l))):!0;return a&&(!r||u)}Rn.validatePhoneISO3166=cie});var hU=_e(Yi=>{"use strict";c();d();f();var fie=Yi&&Yi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.countryPhoneData=Yi.phone=void 0;var die=fie(A4());Yi.countryPhoneData=die.default;var dh=fU();function dU(e,{country:t="",validateMobilePrefix:r=!0,strictDetection:n=!1}={}){let o={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null},i=typeof e!="string"?"":e.trim(),s=typeof t!="string"?"":t.trim(),a=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let u=(0,dh.findCountryPhoneDataByCountry)(s);if(!u)return o;let l=!1;if(s)["CIV","COG"].includes(u.alpha3)||(i=i.replace(/^0+/,"")),u.alpha3==="RUS"&&i.length===11&&i.match(/^89/)!==null&&(i=i.replace(/^8+/,"")),!a&&u.phone_number_lengths.includes(i.length)&&(i=`${u.country_code}${i}`);else if(a){let{exactCountryPhoneData:h,possibleCountryPhoneData:y}=(0,dh.findCountryPhoneDataByPhoneNumber)(i,r);h?u=h:y&&!n?(u=y,i=u.country_code+i.replace(new RegExp(`^${u.country_code}\\d`),"")):u=null}else u.phone_number_lengths.indexOf(i.length)!==-1&&(i=`1${i}`,l=!0);if(!u)return o;let p=(0,dh.validatePhoneISO3166)(i,u,r,a);return p?{isValid:!0,phoneNumber:`+${i}`,countryIso2:u.alpha2,countryIso3:u.alpha3,countryCode:`+${u.country_code}`}:l&&(u=(0,dh.findCountryPhoneDataByCountry)("CAN"),p=(0,dh.validatePhoneISO3166)(i,u,r,a),p)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:u.alpha2,countryIso3:u.alpha3,countryCode:`+${u.country_code}`}:o}Yi.default=dU;Yi.phone=dU});var vU=_e((d3e,yU)=>{"use strict";c();d();f();var hu=[["Afghanistan (\u202B\u0627\u0641\u063A\u0627\u0646\u0633\u062A\u0627\u0646\u202C\u200E)","af","93","+..-..-...-...."],["\xC5land Islands","ax","358",""],["Albania (Shqip\xEBri)","al","355","+...(...)...-..."],["Algeria (\u202B\u0627\u0644\u062C\u0632\u0627\u0626\u0631\u202C\u200E)","dz","213","+...-..-...-...."],["American Samoa","as","1684","+.(...)...-...."],["Andorra","ad","376","+...-...-..."],["Angola","ao","244","+...(...)...-..."],["Anguilla","ai","1264","+.(...)...-...."],["Antarctica","aq","672",""],["Antigua and Barbuda","ag","1268","+.(...)...-...."],["Argentina","ar","54","+..(...)...-...."],["Armenia (\u0540\u0561\u0575\u0561\u057D\u057F\u0561\u0576)","am","374","+...-..-...-..."],["Aruba","aw","297","+...-...-...."],["Australia","au","61","+.. ... ... ..."],["Austria (\xD6sterreich)","at","43","+..(...)...-...."],["Azerbaijan (Az\u0259rbaycan)","az","994","+...-..-...-..-.."],["Bahamas","bs","1242","+.(...)...-...."],["Bahrain (\u202B\u0627\u0644\u0628\u062D\u0631\u064A\u0646\u202C\u200E)","bh","973","+...-....-...."],["Bangladesh (\u09AC\u09BE\u0982\u09B2\u09BE\u09A6\u09C7\u09B6)","bd","880","+...-..-...-..."],["Barbados","bb","1246","+.(...)...-...."],["Belarus (\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u044C)","by","375","+...(..)...-..-.."],["Belgium (Belgi\xEB)","be","32","+.. ... .. .. .."],["Belize","bz","501","+...-...-...."],["Benin (B\xE9nin)","bj","229","+...-..-..-...."],["Bermuda","bm","1441","+.(...)...-...."],["Bhutan (\u0F60\u0F56\u0FB2\u0F74\u0F42)","bt","975","+...-.-...-..."],["Bolivia","bo","591","+...-.-...-...."],["Bosnia and Herzegovina (\u0411\u043E\u0441\u043D\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043E\u0432\u0438\u043D\u0430)","ba","387","+...-..-...."],["Botswana","bw","267","+...-..-...-..."],["Bouvet Island","bv","47",""],["Brazil (Brasil)","br","55","+..-..-....-...."],["British Indian Ocean Territory","io","246","+...-...-...."],["British Virgin Islands","vg","1284","+.(...)...-...."],["Brunei","bn","673","+...-...-...."],["Bulgaria (\u0411\u044A\u043B\u0433\u0430\u0440\u0438\u044F)","bg","359","+...(...)...-..."],["Burkina Faso","bf","226","+...-..-..-...."],["Burundi (Uburundi)","bi","257","+...-..-..-...."],["Cambodia (\u1780\u1798\u17D2\u1796\u17BB\u1787\u17B6)","kh","855","+...-..-...-..."],["Cameroon (Cameroun)","cm","237","+...-....-...."],["Canada","ca","1","+. (...) ...-....",1,["204","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238","+...(...)..-.."],["Caribbean Netherlands","bq","599","+...-...-....",1],["Cayman Islands","ky","1345","+.(...)...-...."],["Central African Republic (R\xE9publique centrafricaine)","cf","236","+...-..-..-...."],["Chad (Tchad)","td","235","+...-..-..-..-.."],["Chile","cl","56","+..-.-....-...."],["China (\u4E2D\u56FD)","cn","86","+.. ..-........"],["Christmas Island","cx","61",""],["Cocos (Keeling) Islands","cc","61",""],["Colombia","co","57","+..(...)...-...."],["Comoros (\u202B\u062C\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202C\u200E)","km","269","+...-..-....."],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243","+...(...)...-..."],["Congo (Republic) (Congo-Brazzaville)","cg","242","+...-..-...-...."],["Cook Islands","ck","682","+...-..-..."],["Costa Rica","cr","506","+... ....-...."],["C\xF4te d\u2019Ivoire","ci","225","+...-..-...-..."],["Croatia (Hrvatska)","hr","385","+...-..-...-..."],["Cuba","cu","53","+..-.-...-...."],["Cura\xE7ao","cw","599","+...-...-....",0],["Cyprus (\u039A\u03CD\u03C0\u03C1\u03BF\u03C2)","cy","357","+...-..-...-..."],["Czech Republic (\u010Cesk\xE1 republika)","cz","420","+...(...)...-..."],["Denmark (Danmark)","dk","45","+.. .. .. .. .."],["Djibouti","dj","253","+...-..-..-..-.."],["Dominica","dm","1767","+.(...)...-...."],["Dominican Republic (Rep\xFAblica Dominicana)","do","1","+.(...)...-....",2,["809","829","849"]],["Ecuador","ec","593","+...-.-...-...."],["Egypt (\u202B\u0645\u0635\u0631\u202C\u200E)","eg","20","+..(...)...-...."],["El Salvador","sv","503","+... ....-...."],["Equatorial Guinea (Guinea Ecuatorial)","gq","240","+...-..-...-...."],["Eritrea","er","291","+...-.-...-..."],["Estonia (Eesti)","ee","372","+...-...-...."],["Ethiopia","et","251","+...-..-...-...."],["Falkland Islands (Islas Malvinas)","fk","500","+...-....."],["Faroe Islands (F\xF8royar)","fo","298","+...-...-..."],["Fiji","fj","679","+...-..-....."],["Finland (Suomi)","fi","358","+... .. .... ...."],["France","fr","33","+.. . .. .. .. .."],["French Guiana (Guyane fran\xE7aise)","gf","594","+...-.....-...."],["French Polynesia (Polyn\xE9sie fran\xE7aise)","pf","689","+...-..-..-.."],["French Southern and Antarctic Lands","tf","262",""],["Gabon","ga","241","+...-.-..-..-.."],["Gambia","gm","220","+...(...)..-.."],["Georgia (\u10E1\u10D0\u10E5\u10D0\u10E0\u10D7\u10D5\u10D4\u10DA\u10DD)","ge","995","+...(...)...-..."],["Germany (Deutschland)","de","49","+.. ... ......."],["Ghana (Gaana)","gh","233","+...(...)...-..."],["Gibraltar","gi","350","+...-...-....."],["Greece (\u0395\u03BB\u03BB\u03AC\u03B4\u03B1)","gr","30","+..(...)...-...."],["Greenland (Kalaallit Nunaat)","gl","299","+...-..-..-.."],["Grenada","gd","1473","+.(...)...-...."],["Guadeloupe","gp","590","",0],["Guam","gu","1671","+.(...)...-...."],["Guatemala","gt","502","+... ....-...."],["Guernsey","gg","44",""],["Guinea (Guin\xE9e)","gn","224","+...-..-...-..."],["Guinea-Bissau (Guin\xE9 Bissau)","gw","245","+...-.-......"],["Guyana","gy","592","+...-...-...."],["Haiti","ht","509","+... ....-...."],["Heard Island and McDonald Islands","hm","672",""],["Honduras","hn","504","+...-....-...."],["Hong Kong (\u9999\u6E2F)","hk","852","+... .... ...."],["Hungary (Magyarorsz\xE1g)","hu","36","+..(...)...-..."],["Iceland (\xCDsland)","is","354","+... ... ...."],["India (\u092D\u093E\u0930\u0924)","in","91","+.. .....-....."],["Indonesia","id","62","+..-..-...-.."],["Iran (\u202B\u0627\u06CC\u0631\u0627\u0646\u202C\u200E)","ir","98","+..(...)...-...."],["Iraq (\u202B\u0627\u0644\u0639\u0631\u0627\u0642\u202C\u200E)","iq","964","+...(...)...-...."],["Ireland","ie","353","+... .. ......."],["Isle of Man","im","44",""],["Israel (\u202B\u05D9\u05E9\u05E8\u05D0\u05DC\u202C\u200E)","il","972","+...-.-...-...."],["Italy (Italia)","it","39","+.. ... ......",0],["Jamaica","jm","1876","+.(...)...-...."],["Japan (\u65E5\u672C)","jp","81","+.. ... .. ...."],["Jersey","je","44",""],["Jordan (\u202B\u0627\u0644\u0623\u0631\u062F\u0646\u202C\u200E)","jo","962","+...-.-....-...."],["Kazakhstan (\u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D)","kz","7","+. ... ...-..-..",1],["Kenya","ke","254","+...-...-......"],["Kiribati","ki","686","+...-..-..."],["Kosovo","xk","383",""],["Kuwait (\u202B\u0627\u0644\u0643\u0648\u064A\u062A\u202C\u200E)","kw","965","+...-....-...."],["Kyrgyzstan (\u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D)","kg","996","+...(...)...-..."],["Laos (\u0EA5\u0EB2\u0EA7)","la","856","+...-..-...-..."],["Latvia (Latvija)","lv","371","+...-..-...-..."],["Lebanon (\u202B\u0644\u0628\u0646\u0627\u0646\u202C\u200E)","lb","961","+...-.-...-..."],["Lesotho","ls","266","+...-.-...-...."],["Liberia","lr","231","+...-..-...-..."],["Libya (\u202B\u0644\u064A\u0628\u064A\u0627\u202C\u200E)","ly","218","+...-..-...-..."],["Liechtenstein","li","423","+...(...)...-...."],["Lithuania (Lietuva)","lt","370","+...(...)..-..."],["Luxembourg","lu","352","+...(...)...-..."],["Macau (\u6FB3\u9580)","mo","853","+...-....-...."],["Macedonia (FYROM) (\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0438\u0458\u0430)","mk","389","+...-..-...-..."],["Madagascar (Madagasikara)","mg","261","+...-..-..-....."],["Malawi","mw","265","+...-.-....-...."],["Malaysia","my","60","+.. ..-....-...."],["Maldives","mv","960","+...-...-...."],["Mali","ml","223","+...-..-..-...."],["Malta","mt","356","+...-....-...."],["Marshall Islands","mh","692","+...-...-...."],["Martinique","mq","596","+...(...)..-..-.."],["Mauritania (\u202B\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627\u202C\u200E)","mr","222","+...-..-..-...."],["Mauritius (Moris)","mu","230","+...-...-...."],["Mayotte","yt","262",""],["Mexico (M\xE9xico)","mx","52","+..-..-..-...."],["Micronesia","fm","691","+...-...-...."],["Moldova (Republica Moldova)","md","373","+...-....-...."],["Monaco","mc","377","+...-..-...-..."],["Mongolia (\u041C\u043E\u043D\u0433\u043E\u043B)","mn","976","+...-..-..-...."],["Montenegro (Crna Gora)","me","382","+...-..-...-..."],["Montserrat","ms","1664","+.(...)...-...."],["Morocco (\u202B\u0627\u0644\u0645\u063A\u0631\u0628\u202C\u200E)","ma","212","+...-..-....-..."],["Mozambique (Mo\xE7ambique)","mz","258","+...-..-...-..."],["Myanmar (Burma) (\u1019\u103C\u1014\u103A\u1019\u102C)","mm","95","+..-...-..."],["Namibia (Namibi\xEB)","na","264","+...-..-...-...."],["Nauru","nr","674","+...-...-...."],["Nepal (\u0928\u0947\u092A\u093E\u0932)","np","977","+...-..-...-..."],["Netherlands (Nederland)","nl","31","+.. .. ........"],["New Caledonia (Nouvelle-Cal\xE9donie)","nc","687","+...-..-...."],["New Zealand","nz","64","+.. ...-...-...."],["Nicaragua","ni","505","+...-....-...."],["Niger (Nijar)","ne","227","+...-..-..-...."],["Nigeria","ng","234","+...-..-...-.."],["Niue","nu","683","+...-...."],["Norfolk Island","nf","672","+...-...-..."],["North Korea (\uC870\uC120 \uBBFC\uC8FC\uC8FC\uC758 \uC778\uBBFC \uACF5\uD654\uAD6D)","kp","850","+...-...-..."],["Northern Mariana Islands","mp","1670","+.(...)...-...."],["Norway (Norge)","no","47","+.. ... .. ..."],["Oman (\u202B\u0639\u064F\u0645\u0627\u0646\u202C\u200E)","om","968","+...-..-...-..."],["Pakistan (\u202B\u067E\u0627\u06A9\u0633\u062A\u0627\u0646\u202C\u200E)","pk","92","+.. ...-......."],["Palau","pw","680","+...-...-...."],["Palestine (\u202B\u0641\u0644\u0633\u0637\u064A\u0646\u202C\u200E)","ps","970","+...-..-...-...."],["Panama (Panam\xE1)","pa","507","+...-...-...."],["Papua New Guinea","pg","675","+...(...)..-..."],["Paraguay","py","595","+...(...)...-..."],["Peru (Per\xFA)","pe","51","+..(...)...-..."],["Philippines","ph","63","+.. ... ...."],["Pitcairn Islands","pn","64",""],["Poland (Polska)","pl","48","+.. ...-...-..."],["Portugal","pt","351","+...-..-...-...."],["Puerto Rico","pr","1","+. (...) ...-....",3,["787","939"]],["Qatar (\u202B\u0642\u0637\u0631\u202C\u200E)","qa","974","+...-....-...."],["R\xE9union (La R\xE9union)","re","262","+...-.....-...."],["Romania (Rom\xE2nia)","ro","40","+..-..-...-...."],["Russia (\u0420\u043E\u0441\u0441\u0438\u044F)","ru","7","+. ... ...-..-..",0],["Rwanda","rw","250","+...(...)...-..."],["Saint Barth\xE9lemy (Saint-Barth\xE9lemy)","bl","590","",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869","+.(...)...-...."],["Saint Lucia","lc","1758","+.(...)...-...."],["Saint Martin (Saint-Martin (partie fran\xE7aise))","mf","590","",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784","+.(...)...-...."],["Samoa","ws","685","+...-..-...."],["San Marino","sm","378","+...-....-......"],["S\xE3o Tom\xE9 and Pr\xEDncipe (S\xE3o Tom\xE9 e Pr\xEDncipe)","st","239","+...-..-....."],["Saudi Arabia (\u202B\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629\u202C\u200E)","sa","966","+...-..-...-...."],["Senegal (S\xE9n\xE9gal)","sn","221","+...-..-...-...."],["Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","rs","381","+...-..-...-...."],["Seychelles","sc","248","+...-.-...-..."],["Sierra Leone","sl","232","+...-..-......"],["Singapore","sg","65","+.. ....-...."],["Sint Maarten","sx","1721","+.(...)...-...."],["Slovakia (Slovensko)","sk","421","+...(...)...-..."],["Slovenia (Slovenija)","si","386","+...-..-...-..."],["Solomon Islands","sb","677","+...-....."],["Somalia (Soomaaliya)","so","252","+...-.-...-..."],["South Africa","za","27","+..-..-...-...."],["South Georgia and the South Sandwich Islands","gs","500",""],["South Korea (\uB300\uD55C\uBBFC\uAD6D)","kr","82","+..-..-...-...."],["South Sudan (\u202B\u062C\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","ss","211","+...-..-...-...."],["Spain (Espa\xF1a)","es","34","+.. ... ... ..."],["Sri Lanka (\u0DC1\u0DCA\u200D\u0DBB\u0DD3 \u0DBD\u0D82\u0D9A\u0DCF\u0DC0)","lk","94","+..-..-...-...."],["Sudan (\u202B\u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","sd","249","+...-..-...-...."],["Suriname","sr","597","+...-...-..."],["Svalbard and Jan Mayen","sj","47",""],["Swaziland","sz","268","+...-..-..-...."],["Sweden (Sverige)","se","46","+.. .. ... .. .."],["Switzerland (Schweiz)","ch","41","+.. .. ... .. .."],["Syria (\u202B\u0633\u0648\u0631\u064A\u0627\u202C\u200E)","sy","963","+...-..-....-..."],["Taiwan (\u53F0\u7063)","tw","886","+...-....-...."],["Tajikistan","tj","992","+...-..-...-...."],["Tanzania","tz","255","+...-..-...-...."],["Thailand (\u0E44\u0E17\u0E22)","th","66","+..-..-...-..."],["Timor-Leste","tl","670","+...-...-...."],["Togo","tg","228","+...-..-...-..."],["Tokelau","tk","690","+...-...."],["Tonga","to","676","+...-....."],["Trinidad and Tobago","tt","1868","+.(...)...-...."],["Tunisia (\u202B\u062A\u0648\u0646\u0633\u202C\u200E)","tn","216","+...-..-...-..."],["Turkey (T\xFCrkiye)","tr","90","+.. ... ... .. .."],["Turkmenistan","tm","993","+...-.-...-...."],["Turks and Caicos Islands","tc","1649","+.(...)...-...."],["Tuvalu","tv","688","+...-....."],["U.S. Virgin Islands","vi","1340","+.(...)...-...."],["Uganda","ug","256","+...(...)...-..."],["Ukraine (\u0423\u043A\u0440\u0430\u0457\u043D\u0430)","ua","380","+...(..)...-..-.."],["United Arab Emirates (\u202B\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062A \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0645\u062A\u062D\u062F\u0629\u202C\u200E)","ae","971","+...-.-...-...."],["United Kingdom","gb","44","+.. .... ......"],["United States","us","1","+. (...) ...-....",0],["United States Minor Outlying Islands","um","1","",2],["Uruguay","uy","598","+...-.-...-..-.."],["Uzbekistan (O\u02BBzbekiston)","uz","998","+...-..-...-...."],["Vanuatu","vu","678","+...-....."],["Vatican City (Citt\xE0 del Vaticano)","va","39","+.. .. .... ....",1],["Venezuela","ve","58","+..(...)...-...."],["Vietnam (Vi\u1EC7t Nam)","vn","84","+..-..-....-..."],["Wallis and Futuna","wf","681","+...-..-...."],["Western Sahara","eh","212","+...-..-...."],["Yemen (\u202B\u0627\u0644\u064A\u0645\u0646\u202C\u200E)","ye","967","+...-.-...-..."],["Zambia","zm","260","+...-..-...-...."],["Zimbabwe","zw","263","+...-.-......"]],dy={},gU={},pU=function(e,t,r){t in dy||(dy[t]=[]);var n=r||0;dy[t][n]=e};for(Xi=0;Xi<hu.length;Xi++){if(gn=hu[Xi],hu[Xi]={name:gn[0],iso2:gn[1],dialCode:gn[2],priority:gn[4]||0},gn[3]&&(hu[Xi].format=gn[3]),gn[5])for(hu[Xi].hasAreaCodes=!0,fy=0;fy<gn[5].length;fy++)mU=gn[2]+gn[5][fy],pU(gn[1],mU);gU[hu[Xi].iso2]=Xi,pU(gn[1],gn[2],gn[4])}var gn,mU,fy,Xi;yU.exports={allCountries:hu,iso2Lookup:gU,allCountryCodes:dy}});var Lse={};Vr(Lse,{init:()=>Ase,open:()=>Rse,reset:()=>kse,update:()=>Nse});c();d();f();c();d();f();c();d();f();c();d();f();var N3=e=>{let t,r=new Set,n=(u,l)=>{let p=typeof u=="function"?u(t):u;if(!Object.is(p,t)){let h=t;t=(l!=null?l:typeof p!="object")?p:Object.assign({},t,p),r.forEach(y=>y(t,h))}},o=()=>t,a={setState:n,getState:o,subscribe:u=>(r.add(u),()=>r.delete(u)),destroy:()=>{(P&&P.MODE)!=="production"&&console.warn("[DEPRECATED] The destroy method will be unsupported in the future version. You should use unsubscribe function returned by subscribe. Everything will be garbage collected if store is garbage collected."),r.clear()}};return t=e(n,o,a),a},R3=e=>e?N3(e):N3;var H3=ce(ve(),1),q3=ce(j3(),1),{useSyncExternalStoreWithSelector:VB}=q3.default;function jB(e,t=e.getState,r){let n=VB(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,H3.useDebugValue)(n),n}var z3=e=>{(P&&P.MODE)!=="production"&&typeof e!="function"&&console.warn('[DEPRECATED] Passing a vanilla store will be unsupported in the future version. Please use `import { useStore } from "zustand"` to use the vanilla store in React.');let t=typeof e=="function"?R3(e):e,r=(n,o)=>jB(t,n,o);return Object.assign(r,t),r},Rh=e=>e?z3(e):z3;c();d();f();var gE=ce(K3(),1);c();d();f();c();d();f();c();d();f();var lE=ce(W3());c();d();f();c();d();f();c();d();f();var Y3="logger/5.7.0";var X3=!1,J3=!1,Lh={debug:1,default:2,info:2,warning:3,error:4,off:5},Q3=Lh.default,sv=null;function zB(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}var eE=zB(),av;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(av||(av={}));var bo;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(bo||(bo={}));var tE="0123456789abcdef",dt=class{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let n=t.toLowerCase();Lh[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(Q3>Lh[n])&&console.log.apply(console,r)}debug(...t){this._log(dt.levels.DEBUG,t)}info(...t){this._log(dt.levels.INFO,t)}warn(...t){this._log(dt.levels.WARNING,t)}makeError(t,r,n){if(J3)return this.makeError("censored error",r,{});r||(r=dt.errors.UNKNOWN_ERROR),n||(n={});let o=[];Object.keys(n).forEach(u=>{let l=n[u];try{if(l instanceof Uint8Array){let p="";for(let h=0;h<l.length;h++)p+=tE[l[h]>>4],p+=tE[l[h]&15];o.push(u+"=Uint8Array(0x"+p+")")}else o.push(u+"="+JSON.stringify(l))}catch(p){o.push(u+"="+JSON.stringify(n[u].toString()))}}),o.push(`code=${r}`),o.push(`version=${this.version}`);let i=t,s="";switch(r){case bo.NUMERIC_FAULT:{s="NUMERIC_FAULT";let u=t;switch(u){case"overflow":case"underflow":case"division-by-zero":s+="-"+u;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case bo.CALL_EXCEPTION:case bo.INSUFFICIENT_FUNDS:case bo.MISSING_NEW:case bo.NONCE_EXPIRED:case bo.REPLACEMENT_UNDERPRICED:case bo.TRANSACTION_REPLACED:case bo.UNPREDICTABLE_GAS_LIMIT:s=r;break}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),o.length&&(t+=" ("+o.join(", ")+")");let a=new Error(t);return a.reason=i,a.code=r,Object.keys(n).forEach(function(u){a[u]=n[u]}),a}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,dt.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,o){t||this.throwError(r,n,o)}assertArgument(t,r,n,o){t||this.throwArgumentError(r,n,o)}checkNormalize(t){t==null&&(t="platform missing String.prototype.normalize"),eE&&this.throwError("platform missing String.prototype.normalize",dt.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:eE})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,dt.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,dt.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",dt.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return sv||(sv=new dt(Y3)),sv}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),X3){if(!t)return;this.globalLogger().throwError("error censorship permanent",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}J3=!!t,X3=!!r}static setLogLevel(t){let r=Lh[t.toLowerCase()];if(r==null){dt.globalLogger().warn("invalid log level - "+t);return}Q3=r}static from(t){return new dt(t)}};dt.errors=bo;dt.levels=av;c();d();f();var rE="bytes/5.7.0";var ea=new dt(rE);function oE(e){return!!e.toHexString}function vu(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return vu(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function iE(e){return wu(e)&&!(e.length%2)||Zc(e)}function nE(e){return typeof e=="number"&&e==e&&e%1===0}function Zc(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!nE(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){let r=e[t];if(!nE(r)||r<0||r>=256)return!1}return!0}function kn(e,t){if(t||(t={}),typeof e=="number"){ea.checkSafeUint53(e,"invalid arrayify value");let r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),vu(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),oE(e)&&(e=e.toHexString()),wu(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":ea.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let o=0;o<r.length;o+=2)n.push(parseInt(r.substring(o,o+2),16));return vu(new Uint8Array(n))}return Zc(e)?vu(new Uint8Array(e)):ea.throwArgumentError("invalid arrayify value","value",e)}function Gc(e){let t=e.map(o=>kn(o)),r=t.reduce((o,i)=>o+i.length,0),n=new Uint8Array(r);return t.reduce((o,i)=>(n.set(i,o),o+i.length),0),vu(n)}function Fh(e,t){e=kn(e),e.length>t&&ea.throwArgumentError("value out of range","value",arguments[0]);let r=new Uint8Array(t);return r.set(e,t-e.length),vu(r)}function wu(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}var uv="0123456789abcdef";function bu(e,t){if(t||(t={}),typeof e=="number"){ea.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=uv[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),oE(e))return e.toHexString();if(wu(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":ea.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(Zc(e)){let r="0x";for(let n=0;n<e.length;n++){let o=e[n];r+=uv[(o&240)>>4]+uv[o&15]}return r}return ea.throwArgumentError("invalid hexlify value","value",e)}c();d();f();var sE="bignumber/5.7.0";var cv=lE.default.BN,fi=new dt(sE),lv={},aE=9007199254740991;var uE=!1,Mr=class{constructor(t,r){t!==lv&&fi.throwError("cannot call constructor directly; use BigNumber.from",dt.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return bn(ht(this).fromTwos(t))}toTwos(t){return bn(ht(this).toTwos(t))}abs(){return this._hex[0]==="-"?Mr.from(this._hex.substring(1)):this}add(t){return bn(ht(this).add(ht(t)))}sub(t){return bn(ht(this).sub(ht(t)))}div(t){return Mr.from(t).isZero()&&Qn("division-by-zero","div"),bn(ht(this).div(ht(t)))}mul(t){return bn(ht(this).mul(ht(t)))}mod(t){let r=ht(t);return r.isNeg()&&Qn("division-by-zero","mod"),bn(ht(this).umod(r))}pow(t){let r=ht(t);return r.isNeg()&&Qn("negative-power","pow"),bn(ht(this).pow(r))}and(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","and"),bn(ht(this).and(r))}or(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","or"),bn(ht(this).or(r))}xor(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","xor"),bn(ht(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&Qn("negative-width","mask"),bn(ht(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&Qn("negative-width","shl"),bn(ht(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&Qn("negative-width","shr"),bn(ht(this).shrn(t))}eq(t){return ht(this).eq(ht(t))}lt(t){return ht(this).lt(ht(t))}lte(t){return ht(this).lte(ht(t))}gt(t){return ht(this).gt(ht(t))}gte(t){return ht(this).gte(ht(t))}isNegative(){return this._hex[0]==="-"}isZero(){return ht(this).isZero()}toNumber(){try{return ht(this).toNumber()}catch(t){Qn("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return fi.throwError("this platform does not support BigInt",dt.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?uE||(uE=!0,fi.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?fi.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",dt.errors.UNEXPECTED_ARGUMENT,{}):fi.throwError("BigNumber.toString does not accept parameters",dt.errors.UNEXPECTED_ARGUMENT,{})),ht(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Mr)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Mr(lv,Wc(t)):t.match(/^-?[0-9]+$/)?new Mr(lv,Wc(new cv(t))):fi.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&Qn("underflow","BigNumber.from",t),(t>=aE||t<=-aE)&&Qn("overflow","BigNumber.from",t),Mr.from(String(t));let r=t;if(typeof r=="bigint")return Mr.from(r.toString());if(Zc(r))return Mr.from(bu(r));if(r)if(r.toHexString){let n=r.toHexString();if(typeof n=="string")return Mr.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(wu(n)||n[0]==="-"&&wu(n.substring(1))))return Mr.from(n)}return fi.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}};function Wc(e){if(typeof e!="string")return Wc(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&fi.throwArgumentError("invalid hex","value",e),e=Wc(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function bn(e){return Mr.from(Wc(e))}function ht(e){let t=Mr.from(e).toHexString();return t[0]==="-"?new cv("-"+t.substring(3),16):new cv(t.substring(2),16)}function Qn(e,t,r){let n={fault:e,operation:t};return r!=null&&(n.value=r),fi.throwError(e,dt.errors.NUMERIC_FAULT,n)}c();d();f();c();d();f();c();d();f();var cE="strings/5.7.0";var fE=new dt(cE),Yc;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(Yc||(Yc={}));var ta;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(ta||(ta={}));function HB(e,t,r,n,o){return fE.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function dE(e,t,r,n,o){if(e===ta.BAD_PREFIX||e===ta.UNEXPECTED_CONTINUE){let i=0;for(let s=t+1;s<r.length&&r[s]>>6===2;s++)i++;return i}return e===ta.OVERRUN?r.length-t-1:0}function qB(e,t,r,n,o){return e===ta.OVERLONG?(n.push(o),0):(n.push(65533),dE(e,t,r,n,o))}var KB=Object.freeze({error:HB,ignore:dE,replace:qB});function fv(e,t=Yc.current){t!=Yc.current&&(fE.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o<128)r.push(o);else if(o<2048)r.push(o>>6|192),r.push(o&63|128);else if((o&64512)==55296){n++;let i=e.charCodeAt(n);if(n>=e.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");let s=65536+((o&1023)<<10)+(i&1023);r.push(s>>18|240),r.push(s>>12&63|128),r.push(s>>6&63|128),r.push(s&63|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128)}return kn(r)}c();d();f();var hE="solidity/5.7.0";var ZB=new RegExp("^bytes([0-9]+)$"),GB=new RegExp("^(u?int)([0-9]*)$"),WB=new RegExp("^(.*)\\[([0-9]*)\\]$"),YB="0000000000000000000000000000000000000000000000000000000000000000",_u=new dt(hE);function pE(e,t,r){switch(e){case"address":return r?Fh(t,32):kn(t);case"string":return fv(t);case"bytes":return kn(t);case"bool":return t=t?"0x01":"0x00",r?Fh(t,32):kn(t)}let n=e.match(GB);if(n){let o=parseInt(n[2]||"256");return(n[2]&&String(o)!==n[2]||o%8!==0||o===0||o>256)&&_u.throwArgumentError("invalid number type","type",e),r&&(o=256),t=Mr.from(t).toTwos(o),Fh(t,o/8)}if(n=e.match(ZB),n){let o=parseInt(n[1]);return(String(o)!==n[1]||o===0||o>32)&&_u.throwArgumentError("invalid bytes type","type",e),kn(t).byteLength!==o&&_u.throwArgumentError(`invalid value for ${e}`,"value",t),r?kn((t+YB).substring(0,66)):t}if(n=e.match(WB),n&&Array.isArray(t)){let o=n[1];parseInt(n[2]||String(t.length))!=t.length&&_u.throwArgumentError(`invalid array length for ${e}`,"value",t);let s=[];return t.forEach(function(a){s.push(pE(o,a,!0))}),Gc(s)}return _u.throwArgumentError("invalid type","type",e)}function mE(e,t){e.length!=t.length&&_u.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);let r=[];return e.forEach(function(n,o){r.push(pE(n,t[o]))}),bu(Gc(r))}function Xc(e){return Array.isArray(e)?XB(e):iE(e)?dv(e):JB(e)}function XB(e){let[t,r]=e.reduce(([n,o],[i,s])=>(n.push(i),o.push(s),[n,o]),[[],[]]);return dv(mE(t,r))}function JB(e){let t=x.from(e);return dv(t)}function dv(e){let t=BigInt(QB(e))>>BigInt(8),r=t.toString(16);return{hash:t,digest:`0x${r.padStart(64,"0")}`}}function QB(e){let t=bu(Gc([kn(e)]));return"0x"+gE.default.keccak_256(kn(t))}var yE=e=>{let t=/^0x[\dabcdef]+$/;return!!e.toString().match(t)&&e.length>=66};c();d();f();var hv=(o=>(o.MAX_ATTEMPTS="max_attempts",o.TIMEOUT="timeout",o.UNSUPPORTED_COUNTRY="unsupported_country",o.SERVER_ERROR="server_error",o))(hv||{});c();d();f();c();d();f();var mv=function(e,t){return mv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},mv(e,t)};function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mv(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var yt=function(){return yt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},yt.apply(this,arguments)};function ra(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(p){try{l(n.next(p))}catch(h){s(h)}}function u(p){try{l(n.throw(p))}catch(h){s(h)}}function l(p){p.done?i(p.value):o(p.value).then(a,u)}l((n=n.apply(e,t||[])).next())})}function na(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return u([l,p])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function tV(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var tt;(function(e){e.AnonymousId="anonymous_id",e.DistinctId="distinct_id",e.Props="props",e.FeatureFlags="feature_flags",e.OverrideFeatureFlags="override_feature_flags",e.Queue="queue",e.OptedOut="opted_out",e.SessionId="session_id",e.SessionLastTimestamp="session_timestamp",e.PersonProperties="person_properties",e.GroupProperties="group_properties"})(tt||(tt={}));function rV(e,t){if(!e)throw new Error(t)}function nV(e){return e==null?void 0:e.replace(/\/+$/,"")}function oV(e,t){return t===void 0&&(t={}),ra(this,void 0,void 0,function(){var r,n,o,i,s,a,u,l,p,h;return na(this,function(y){switch(y.label){case 0:r=t.retryCount,n=r===void 0?3:r,o=t.retryDelay,i=o===void 0?5e3:o,s=t.retryCheck,a=s===void 0?function(){return!0}:s,u=null,l=0,y.label=1;case 1:if(!(l<n+1))return[3,8];y.label=2;case 2:return y.trys.push([2,4,,5]),[4,e()];case 3:return p=y.sent(),[2,p];case 4:if(h=y.sent(),u=h,!a(h))throw h;return[3,5];case 5:return[4,new Promise(function(b){return setTimeout(b,i)})];case 6:y.sent(),y.label=7;case 7:return l++,[3,1];case 8:throw u}})})}function vE(e){var t=new Date().getTime(),r=e&&e.performance&&e.performance.now&&e.performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var o=Math.random()*16;return t>0?(o=(t+o)%16|0,t=Math.floor(t/16)):(o=(r+o)%16|0,r=Math.floor(r/16)),(n==="x"?o:o&3|8).toString(16)})}function SE(){return new Date().getTime()}function wE(){return new Date().toISOString()}function bE(e,t){var r=setTimeout(e,t);return r!=null&&r.unref&&(r==null||r.unref()),r}var Jc=String.fromCharCode,_E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Uh={};function iV(e,t){if(!Uh[e]){Uh[e]={};for(var r=0;r<e.length;r++)Uh[e][e.charAt(r)]=r}return Uh[e][t]}var tf={compressToBase64:function(e){if(e==null)return"";var t=tf._compress(e,6,function(r){return _E.charAt(r)});switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(e){return e==null?"":e==""?null:tf._decompress(e.length,32,function(t){return iV(_E,e.charAt(t))})},compress:function(e){return tf._compress(e,16,function(t){return Jc(t)})},_compress:function(e,t,r){if(e==null)return"";var n={},o={},i=[],s,a,u="",l="",p="",h=2,y=3,b=2,v=0,C=0,N;for(N=0;N<e.length;N+=1)if(u=e.charAt(N),Object.prototype.hasOwnProperty.call(n,u)||(n[u]=y++,o[u]=!0),l=p+u,Object.prototype.hasOwnProperty.call(n,l))p=l;else{if(Object.prototype.hasOwnProperty.call(o,p)){if(p.charCodeAt(0)<256){for(s=0;s<b;s++)v=v<<1,C==t-1?(C=0,i.push(r(v)),v=0):C++;for(a=p.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}else{for(a=1,s=0;s<b;s++)v=v<<1|a,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=0;for(a=p.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}h--,h==0&&(h=Math.pow(2,b),b++),delete o[p]}else for(a=n[p],s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;h--,h==0&&(h=Math.pow(2,b),b++),n[l]=y++,p=String(u)}if(p!==""){if(Object.prototype.hasOwnProperty.call(o,p)){if(p.charCodeAt(0)<256){for(s=0;s<b;s++)v=v<<1,C==t-1?(C=0,i.push(r(v)),v=0):C++;for(a=p.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}else{for(a=1,s=0;s<b;s++)v=v<<1|a,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=0;for(a=p.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}h--,h==0&&(h=Math.pow(2,b),b++),delete o[p]}else for(a=n[p],s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;h--,h==0&&(h=Math.pow(2,b),b++)}for(a=2,s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;for(;;)if(v=v<<1,C==t-1){i.push(r(v));break}else C++;return i.join("")},decompress:function(e){return e==null?"":e==""?null:tf._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,t,r){var n=[],o=[],i={val:r(0),position:t,index:1},s=4,a=4,u=3,l="",p,h,y,b,v,C,N;for(p=0;p<3;p+=1)n[p]=p;for(y=0,v=Math.pow(2,2),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;switch(y){case 0:for(y=0,v=Math.pow(2,8),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;N=Jc(y);break;case 1:for(y=0,v=Math.pow(2,16),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;N=Jc(y);break;case 2:return""}for(n[3]=N,h=N,o.push(N);;){if(i.index>e)return"";for(y=0,v=Math.pow(2,u),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;switch(N=y){case 0:for(y=0,v=Math.pow(2,8),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;n[a++]=Jc(y),N=a-1,s--;break;case 1:for(y=0,v=Math.pow(2,16),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;n[a++]=Jc(y),N=a-1,s--;break;case 2:return o.join("")}if(s==0&&(s=Math.pow(2,u),u++),n[N])l=n[N];else if(N===a)l=h+h.charAt(0);else return null;o.push(l),n[a++]=h+l.charAt(0),s--,h=l,s==0&&(s=Math.pow(2,u),u++)}}},sV=function(){function e(){this.events={},this.events={}}return e.prototype.on=function(t,r){var n=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(r),function(){n.events[t]=n.events[t].filter(function(o){return o!==r})}},e.prototype.emit=function(t,r){for(var n=0,o=this.events[t]||[];n<o.length;n++){var i=o[n];i(r)}for(var s=0,a=this.events["*"]||[];s<a.length;s++){var i=a[s];i(t,r)}},e}(),aV=function(){function e(t,r){var n=this,o,i,s,a,u,l;this.flagCallReported={},this._events=new sV,rV(t,"You must pass your PostHog project's api key."),this.apiKey=t,this.host=nV((r==null?void 0:r.host)||"https://app.posthog.com"),this.flushAt=r!=null&&r.flushAt?Math.max(r==null?void 0:r.flushAt,1):20,this.flushInterval=(o=r==null?void 0:r.flushInterval)!==null&&o!==void 0?o:1e4,this.captureMode=(r==null?void 0:r.captureMode)||"form",this.sendFeatureFlagEvent=(i=r==null?void 0:r.sendFeatureFlagEvent)!==null&&i!==void 0?i:!0,this._optoutOverride=(r==null?void 0:r.enable)===!1,this._retryOptions={retryCount:(s=r==null?void 0:r.fetchRetryCount)!==null&&s!==void 0?s:3,retryDelay:(a=r==null?void 0:r.fetchRetryDelay)!==null&&a!==void 0?a:3e3},this.requestTimeout=(u=r==null?void 0:r.requestTimeout)!==null&&u!==void 0?u:1e4,this._sessionExpirationTimeSeconds=(l=r==null?void 0:r.sessionExpirationTimeSeconds)!==null&&l!==void 0?l:1800,(r==null?void 0:r.preloadFeatureFlags)!==!1&&bE(function(){n.reloadFeatureFlagsAsync()},1)}return e.prototype.getCommonEventProperties=function(){var t=this.getFeatureFlags(),r={};if(t)for(var n=0,o=Object.entries(t);n<o.length;n++){var i=o[n],s=i[0],a=i[1];r["$feature/".concat(s)]=a}return yt({$lib:this.getLibraryId(),$lib_version:this.getLibraryVersion(),$active_feature_flags:t?Object.keys(t):void 0},r)},e.prototype.setupBootstrap=function(t){var r,n,o,i;if(!((r=t==null?void 0:t.bootstrap)===null||r===void 0)&&r.distinctId&&(!((n=t==null?void 0:t.bootstrap)===null||n===void 0)&&n.isIdentifiedId?this.setPersistedProperty(tt.DistinctId,t.bootstrap.distinctId):this.setPersistedProperty(tt.AnonymousId,t.bootstrap.distinctId)),!((o=t==null?void 0:t.bootstrap)===null||o===void 0)&&o.featureFlags){var s=Object.keys(((i=t.bootstrap)===null||i===void 0?void 0:i.featureFlags)||{}).filter(function(a){var u,l;return!!(!((l=(u=t.bootstrap)===null||u===void 0?void 0:u.featureFlags)===null||l===void 0)&&l[a])}).reduce(function(a,u){var l,p;return a[u]=((p=(l=t.bootstrap)===null||l===void 0?void 0:l.featureFlags)===null||p===void 0?void 0:p[u])||!1,a},{});this.setKnownFeatureFlags(s)}},Object.defineProperty(e.prototype,"props",{get:function(){return this._props||(this._props=this.getPersistedProperty(tt.Props)),this._props||{}},set:function(t){this._props=t},enumerable:!1,configurable:!0}),e.prototype.clearProps=function(){this.props=void 0},Object.defineProperty(e.prototype,"optedOut",{get:function(){var t,r;return(r=(t=this.getPersistedProperty(tt.OptedOut))!==null&&t!==void 0?t:this._optoutOverride)!==null&&r!==void 0?r:!1},enumerable:!1,configurable:!0}),e.prototype.optIn=function(){this.setPersistedProperty(tt.OptedOut,!1)},e.prototype.optOut=function(){this.setPersistedProperty(tt.OptedOut,!0)},e.prototype.on=function(t,r){return this._events.on(t,r)},e.prototype.reset=function(t){var r=tV([tt.Queue],t||[],!0);this.clearProps();for(var n=0,o=Object.keys(tt);n<o.length;n++){var i=o[n];r.includes(tt[i])||this.setPersistedProperty(tt[i],null)}},e.prototype.debug=function(t){var r;t===void 0&&(t=!0),(r=this.removeDebugCallback)===null||r===void 0||r.call(this),t&&(this.removeDebugCallback=this.on("*",function(n,o){return console.log("PostHog Debug",n,o)}))},e.prototype.buildPayload=function(t){return{distinct_id:t.distinct_id||this.getDistinctId(),event:t.event,properties:yt(yt(yt(yt({},this.props),t.properties||{}),this.getCommonEventProperties()),{$session_id:this.getSessionId()})}},e.prototype.getSessionId=function(){var t=this.getPersistedProperty(tt.SessionId),r=this.getPersistedProperty(tt.SessionLastTimestamp)||0;return(!t||Date.now()-r>this._sessionExpirationTimeSeconds*1e3)&&(t=vE(globalThis),this.setPersistedProperty(tt.SessionId,t)),this.setPersistedProperty(tt.SessionLastTimestamp,Date.now()),t},e.prototype.resetSessionId=function(){this.setPersistedProperty(tt.SessionId,null)},e.prototype.getAnonymousId=function(){var t=this.getPersistedProperty(tt.AnonymousId);return t||(t=vE(globalThis),this.setPersistedProperty(tt.AnonymousId,t)),t},e.prototype.getDistinctId=function(){return this.getPersistedProperty(tt.DistinctId)||this.getAnonymousId()},e.prototype.register=function(t){this.props=yt(yt({},this.props),t),this.setPersistedProperty(tt.Props,this.props)},e.prototype.unregister=function(t){delete this.props[t],this.setPersistedProperty(tt.Props,this.props)},e.prototype.identify=function(t,r){var n=this.getDistinctId();t=t||n,r!=null&&r.$groups&&this.groups(r.$groups);var o=yt(yt({},this.buildPayload({distinct_id:t,event:"$identify",properties:yt(yt({},r||{}),{$anon_distinct_id:this.getAnonymousId()})})),{$set:r});return t!==n&&(this.setPersistedProperty(tt.AnonymousId,n),this.setPersistedProperty(tt.DistinctId,t),this.getFeatureFlags()&&this.reloadFeatureFlagsAsync()),this.enqueue("identify",o),this},e.prototype.capture=function(t,r,n){if(n===void 0&&(n=!1),r!=null&&r.$groups&&this.groups(r.$groups),n)this._sendFeatureFlags(t,r);else{var o=this.buildPayload({event:t,properties:r});this.enqueue("capture",o)}return this},e.prototype.alias=function(t){var r=this.getDistinctId(),n=this.buildPayload({event:"$create_alias",properties:{distinct_id:r,alias:t}});return this.enqueue("alias",n),this},e.prototype.autocapture=function(t,r,n){n===void 0&&(n={});var o=this.buildPayload({event:"$autocapture",properties:yt(yt({},n),{$event_type:t,$elements:r})});return this.enqueue("autocapture",o),this},e.prototype.groups=function(t){var r=this.props.$groups||{};return this.register({$groups:yt(yt({},r),t)}),Object.keys(t).find(function(n){return r[n]!==t[n]})&&this.getFeatureFlags()&&this.reloadFeatureFlagsAsync(),this},e.prototype.group=function(t,r,n){var o;return this.groups((o={},o[t]=r,o)),n&&this.groupIdentify(t,r,n),this},e.prototype.groupIdentify=function(t,r,n){var o={event:"$groupidentify",distinctId:"$".concat(t,"_").concat(r),properties:yt({$group_type:t,$group_key:r,$group_set:n||{}},this.getCommonEventProperties())};return this.enqueue("capture",o),this},e.prototype.personProperties=function(t){var r=this.getPersistedProperty(tt.PersonProperties)||{};return this.setPersistedProperty(tt.PersonProperties,yt(yt({},r),t)),this},e.prototype.groupProperties=function(t){var r=this.getPersistedProperty(tt.GroupProperties)||{};return Object.keys(r).length!==0&&Object.keys(r).forEach(function(n){r[n]=yt(yt({},r[n]),t[n]),delete t[n]}),this.setPersistedProperty(tt.GroupProperties,yt(yt({},r),t)),this},e.prototype.decideAsync=function(t){return t===void 0&&(t=!0),this._decideResponsePromise?this._decideResponsePromise:this._decideAsync(t)},e.prototype._decideAsync=function(t){return t===void 0&&(t=!0),ra(this,void 0,void 0,function(){var r,n,o,i,s,a,u=this;return na(this,function(l){return r="".concat(this.host,"/decide/?v=2"),n=this.getDistinctId(),o=this.props.$groups||{},i=this.getPersistedProperty(tt.PersonProperties)||{},s=this.getPersistedProperty(tt.GroupProperties)||{},a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:this.apiKey,distinct_id:n,$anon_distinct_id:t?this.getAnonymousId():void 0,groups:o,person_properties:i,group_properties:s})},this._decideResponsePromise=this.fetchWithRetry(r,a).then(function(p){return p.json()}).then(function(p){return p.featureFlags&&u.setKnownFeatureFlags(p.featureFlags),p}).finally(function(){u._decideResponsePromise=void 0}),[2,this._decideResponsePromise]})})},e.prototype.setKnownFeatureFlags=function(t){this.setPersistedProperty(tt.FeatureFlags,t),this._events.emit("featureflags",t)},e.prototype.getFeatureFlag=function(t){var r=this.getFeatureFlags();if(!!r){var n=r[t];return n===void 0&&(n=!1),this.sendFeatureFlagEvent&&!this.flagCallReported[t]&&(this.flagCallReported[t]=!0,this.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:n})),n}},e.prototype.getFeatureFlags=function(){var t=this.getPersistedProperty(tt.FeatureFlags),r=this.getPersistedProperty(tt.OverrideFeatureFlags);if(!r)return t;t=t||{};for(var n in r)r[n]?t[n]=r[n]:delete t[n];return t},e.prototype.isFeatureEnabled=function(t){var r=this.getFeatureFlag(t);if(r!==void 0)return!!r},e.prototype.reloadFeatureFlagsAsync=function(t){return t===void 0&&(t=!0),ra(this,void 0,void 0,function(){return na(this,function(r){switch(r.label){case 0:return[4,this.decideAsync(t)];case 1:return[2,r.sent().featureFlags]}})})},e.prototype.onFeatureFlags=function(t){var r=this;return this.on("featureflags",function(){return ra(r,void 0,void 0,function(){var n;return na(this,function(o){return n=this.getFeatureFlags(),n&&t(n),[2]})})})},e.prototype.onFeatureFlag=function(t,r){var n=this;return this.on("featureflags",function(){return ra(n,void 0,void 0,function(){var o;return na(this,function(i){return o=this.getFeatureFlag(t),o!==void 0&&r(o),[2]})})})},e.prototype.overrideFeatureFlag=function(t){return t===null?this.setPersistedProperty(tt.OverrideFeatureFlags,null):this.setPersistedProperty(tt.OverrideFeatureFlags,t)},e.prototype._sendFeatureFlags=function(t,r){var n=this;this.reloadFeatureFlagsAsync(!1).finally(function(){var o=n.buildPayload({event:t,properties:r});n.enqueue("capture",o)})},e.prototype.enqueue=function(t,r){var n=this;if(!this.optedOut){var o=yt(yt({},r),{type:t,library:this.getLibraryId(),library_version:this.getLibraryVersion(),timestamp:r.timestamp?r.timestamp:wE()});o.distinctId&&(o.distinct_id=o.distinctId,delete o.distinctId);var i=this.getPersistedProperty(tt.Queue)||[];i.push({message:o}),this.setPersistedProperty(tt.Queue,i),this._events.emit(t,o),i.length>=this.flushAt&&this.flush(),this.flushInterval&&!this._flushTimer&&(this._flushTimer=bE(function(){return n.flush()},this.flushInterval))}},e.prototype.flushAsync=function(){var t=this;return new Promise(function(r,n){t.flush(function(o,i){return o?n(o):r(i)})})},e.prototype.flush=function(t){var r=this;if(this.optedOut)return t==null?void 0:t();this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=null);var n=this.getPersistedProperty(tt.Queue)||[];if(!n.length)return t==null?void 0:t();var o=n.splice(0,this.flushAt);this.setPersistedProperty(tt.Queue,n);var i=o.map(function(h){return h.message}),s={api_key:this.apiKey,batch:i,sent_at:wE()},a=function(h){t==null||t(h,i),r._events.emit("flush",i)};this.getCustomUserAgent();var u=JSON.stringify(s),l=this.captureMode==="form"?"".concat(this.host,"/e/?ip=1&_=").concat(SE(),"&v=").concat(this.getLibraryVersion()):"".concat(this.host,"/batch/"),p=this.captureMode==="form"?{method:"POST",mode:"no-cors",credentials:"omit",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"data=".concat(encodeURIComponent(tf.compressToBase64(u)),"&compression=lz64")}:{method:"POST",headers:{"Content-Type":"application/json"},body:u};this.fetchWithRetry(l,p).then(function(){return a()}).catch(function(h){if(h.response){var y=new Error(h.response.statusText);return a(y)}a(h)})},e.prototype.fetchWithRetry=function(t,r,n){var o,i;return ra(this,void 0,void 0,function(){var s=this;return na(this,function(a){return(o=(i=AbortSignal).timeout)!==null&&o!==void 0||(i.timeout=function(l){var p=new AbortController;return setTimeout(function(){return p.abort()},l),p.signal}),[2,oV(function(){return s.fetch(t,yt({signal:AbortSignal.timeout(s.requestTimeout)},r))},n||this._retryOptions)]})})},e.prototype.shutdownAsync=function(){return ra(this,void 0,void 0,function(){return na(this,function(t){switch(t.label){case 0:return clearTimeout(this._flushTimer),[4,this.flushAsync()];case 1:return t.sent(),[2]}})})},e.prototype.shutdown=function(){this.shutdownAsync()},e}(),CE="2.0.0";function uV(e){var t={};if(e.navigator){var r=e.navigator.userAgent;t=yt(yt({},t),{$os:cV(e),$browser:ME(r,e.navigator.vendor,!!e.opera),$referrer:e.document.referrer,$referring_domain:dV(e.document.referrer),$device:fV(r),$current_url:e.location.href,$host:e.location.host,$pathname:e.location.pathname,$browser_version:lV(r,e.navigator.vendor,!!e.opera),$screen_height:e.screen.height,$screen_width:e.screen.width,$screen_dpr:e.devicePixelRatio})}return t=yt(yt({},t),{$lib:"js",$lib_version:CE,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:SE()/1e3}),t}function or(e,t){return e.indexOf(t)>=0}function ME(e,t,r){return t=t||"",r||or(e," OPR/")?or(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":or(e,"IEMobile")||or(e,"WPDesktop")?"Internet Explorer Mobile":or(e,"SamsungBrowser/")?"Samsung Internet":or(e,"Edge")||or(e,"Edg/")?"Microsoft Edge":or(e,"FBIOS")?"Facebook Mobile":or(e,"Chrome")?"Chrome":or(e,"CriOS")?"Chrome iOS":or(e,"UCWEB")||or(e,"UCBrowser")?"UC Browser":or(e,"FxiOS")?"Firefox iOS":or(t,"Apple")?or(e,"Mobile")?"Mobile Safari":"Safari":or(e,"Android")?"Android Mobile":or(e,"Konqueror")?"Konqueror":or(e,"Firefox")?"Firefox":or(e,"MSIE")||or(e,"Trident/")?"Internet Explorer":or(e,"Gecko")?"Mozilla":""}function lV(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/},o=ME(e,t,r),i=n[o]||void 0;if(i===void 0)return null;var s=e.match(i);return s?parseFloat(s[s.length-2]):null}function cV(e){var t=e.navigator.userAgent;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""}function fV(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""}function dV(e){var t=e.split("/");return t.length>=3?t[2]:""}var TE={getItem:function(e){try{for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];o.charAt(0)==" ";)o=o.substring(1,o.length);if(o.indexOf(t)===0)return decodeURIComponent(o.substring(t.length,o.length))}}catch(i){}return null},setItem:function(e,t){try{var r="",n="",o="",i=e+"="+encodeURIComponent(t)+n+"; path=/"+r+o;document.cookie=i}catch(s){return}},removeItem:function(e){try{TE.setItem(e,"")}catch(t){return}},clear:function(){document.cookie=""},getAllKeys:function(){for(var e=document.cookie.split(";"),t=[],r=0;r<e.length;r++){for(var n=e[r];n.charAt(0)==" ";)n=n.substring(1,n.length);t.push(n.split("=")[0])}return t}},xE=function(e){return{getItem:function(t){return e.getItem(t)},setItem:function(t,r){e.setItem(t,r)},removeItem:function(t){e.removeItem(t)},clear:function(){e.clear()},getAllKeys:function(){var t=[];for(var r in localStorage)t.push(r);return t}}},EE=function(e,t){if(t===void 0&&(t="__mplssupport__"),!window)return!1;try{var r="xyz";return e.setItem(t,r),e.getItem(t)!==r?!1:(e.removeItem(t),!0)}catch(n){return!1}},pv=void 0,Qc=void 0,ef=function(){var e={},t={getItem:function(r){return e[r]},setItem:function(r,n){e[r]=n!==null?n:void 0},removeItem:function(r){delete e[r]},clear:function(){for(var r in e)delete e[r]},getAllKeys:function(){var r=[];for(var n in e)r.push(n);return r}};return t},hV=function(e,t){if(t){if(!localStorage){var r=xE(t.localStorage);pv=EE(r)?r:void 0}if(!Qc){var n=xE(t.sessionStorage);Qc=EE(n)?n:void 0}}switch(e){case"cookie":return TE||pv||Qc||ef();case"localStorage":return pv||Qc||ef();case"sessionStorage":return Qc||ef();case"memory":return ef();default:return ef()}},PE=function(e){eV(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o._storageKey=n!=null&&n.persistence_name?"ph_".concat(n.persistence_name):"ph_".concat(r,"_posthog"),o._storage=hV((n==null?void 0:n.persistence)||"localStorage",window),o.setupBootstrap(n),o}return t.prototype.getPersistedProperty=function(r){return this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),this._storageCache[r]},t.prototype.setPersistedProperty=function(r,n){this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),n===null?delete this._storageCache[r]:this._storageCache[r]=n,this._storage.setItem(this._storageKey,JSON.stringify(this._storageCache))},t.prototype.fetch=function(r,n){return window.fetch(r,n)},t.prototype.getLibraryId=function(){return"posthog-js-lite"},t.prototype.getLibraryVersion=function(){return CE},t.prototype.getCustomUserAgent=function(){},t.prototype.getCommonEventProperties=function(){return yt(yt({},e.prototype.getCommonEventProperties.call(this)),uV(window))},t}(aV);function pV(e){return{name:"telemetry-error",error:e}}typeof globalThis.window<"u"&&(window.onunhandledrejection=function(e){return e.reason.name!=="telemetry-error"});async function mV(e,t){try{return await fetch(e,t)}catch(r){throw pV(r)}}var cr=null;typeof globalThis.window<"u"&&(cr=new PE("phc_QttqgDbMQDYHX1EMH7FnT6ECBVzdp0kGUq92aQaVQ6I",{persistence:"memory"}),cr.fetch=mV);var $h={version:"0.3.0-alpha.2",package:"idkit-js"},xu=()=>{var e;return(e=cr==null?void 0:cr.getDistinctId())!=null?e:""},OE=e=>{e?cr==null||cr.capture("idkit loaded",$h):cr==null||cr.optOut()},DE=()=>{cr==null||cr.capture("idkit opened",$h)},IE=()=>{cr==null||cr.capture("idkit phone typed",$h)},AE=e=>{cr==null||cr.capture("idkit phone code retried",Se(te({},$h),{channel:e}))};var gV=Rh()((e,t)=>({open:!1,code:"",signal:"",result:null,actionId:"",walletconnectId:"",theme:"light",phoneNumber:"",autoClose:!1,errorState:null,processing:!1,verifyCallbacks:{},successCallbacks:{},stringifiedActionId:"",stage:"ENTER_PHONE",copy:{},setCode:r=>e({code:r}),setStage:r=>e({stage:r}),setErrorState:r=>e({errorState:r}),setPhoneNumber:r=>e({phoneNumber:r}),setProcessing:r=>e({processing:r}),retryFlow:()=>e({stage:"ENTER_PHONE",phoneNumber:"",errorState:null}),addSuccessCallback:(r,n)=>{e(o=>(o.successCallbacks[n]=r,o))},addVerificationCallback:(r,n)=>{e(o=>(o.verifyCallbacks[n]=r,o))},setOptions:({handleVerify:r,onSuccess:n,signal:o,actionId:i,walletconnectId:s,autoClose:a,copy:u,theme:l},p)=>{let h=typeof i=="string"?i:Xc(i).digest;e(y=>({theme:l,signal:o,walletconnectId:s,actionId:i,autoClose:a,stringifiedActionId:h,copy:te(te({},y.copy),u)})),n&&t().addSuccessCallback(n,p),r&&t().addVerificationCallback(r,p)},handleVerify:r=>{e({stage:"HOST_APP_VERIFICATION",processing:!1}),Promise.all(Object.values(t().verifyCallbacks).map(n=>n==null?void 0:n(r))).then(()=>{e({stage:"SUCCESS",result:r}),t().autoClose&&setTimeout(()=>t().onOpenChange(!1),1e3)},n=>{let o;n&&typeof n=="object"&&n.message&&(o=n.message),e({stage:"ERROR",errorState:{code:"REJECTED_BY_HOST_APP",message:o}})})},onOpenChange:r=>{if(r)return DE(),e({open:r});if(t().stage=="SUCCESS"){let n=t().result;n&&requestAnimationFrame(()=>Object.values(t().successCallbacks).map(o=>()=>o==null?void 0:o(n)))}e({open:r,phoneNumber:"",code:"",processing:!1,stage:"ENTER_PHONE",result:null,errorState:null})}})),Gt=gV;c();d();f();var oa={title:"World ID",heading:"Verify your phone number",subheading:"We'll take care of the rest!",success:"Your phone number has been verified"};var M$=ce(e9(),1);c();d();f();var S$=ce(ve(),1);c();d();f();c();d();f();var wr=ce(ve()),l9=ce(ba()),xi=ce(D6()),bz=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function c9(e,t){return e(t={exports:{}},t.exports),t.exports}var _z=c9(function(e){(function(t){var r=function(N,M,T){if(!u(M)||p(M)||h(M)||y(M)||a(M))return M;var I,U=0,K=0;if(l(M))for(I=[],K=M.length;U<K;U++)I.push(r(N,M[U],T));else for(var J in I={},M)Object.prototype.hasOwnProperty.call(M,J)&&(I[N(J,T)]=r(N,M[J],T));return I},n=function(N){return b(N)?N:(N=N.replace(/[\-_\s]+(.)?/g,function(M,T){return T?T.toUpperCase():""})).substr(0,1).toLowerCase()+N.substr(1)},o=function(N){var M=n(N);return M.substr(0,1).toUpperCase()+M.substr(1)},i=function(N,M){return function(T,I){var U=(I=I||{}).separator||"_",K=I.split||/(?=[A-Z])/;return T.split(K).join(U)}(N,M).toLowerCase()},s=Object.prototype.toString,a=function(N){return typeof N=="function"},u=function(N){return N===Object(N)},l=function(N){return s.call(N)=="[object Array]"},p=function(N){return s.call(N)=="[object Date]"},h=function(N){return s.call(N)=="[object RegExp]"},y=function(N){return s.call(N)=="[object Boolean]"},b=function(N){return(N-=0)==N},v=function(N,M){var T=M&&"process"in M?M.process:M;return typeof T!="function"?N:function(I,U){return T(I,N,U)}},C={camelize:n,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(N,M){return r(v(n,M),N)},decamelizeKeys:function(N,M){return r(v(i,M),N,M)},pascalizeKeys:function(N,M){return r(v(o,M),N)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=C:t.humps=C})(bz)}).decamelize,xz=c9(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},t.apply(this,arguments)}e.exports=t}),Ez=function(e){if(Array.isArray(e))return e},Sz=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||a.return==null||a.return()}finally{if(o)throw i}}return r}},u9=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},Cz=function(e,t){if(e){if(typeof e=="string")return u9(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u9(e,t):void 0}},Mz=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
22
|
+
`&&e.push(sb),i;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(Qo(t));for(var b in r)if(Tn.call(r,b)&&(i=r[b],i!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(rt(399,t));default:Kn(e,n,b,i)}return e.push(BP),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ib(e,r,t,n);case"html":return o.insertionMode===0&&e.push(QZ),ib(e,r,t,n);default:if(t.indexOf("-")===-1&&typeof r.is!="string")return ib(e,r,t,n);e.push(Qo(t)),s=i=null;for(l in r)if(Tn.call(r,l)&&(a=r[l],a!=null))switch(l){case"children":i=a;break;case"dangerouslySetInnerHTML":s=a;break;case"style":uO(e,n,a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:aO(l)&&typeof a!="function"&&typeof a!="symbol"&&e.push($s,ot(l),Kl,ot(Ur(a)),Va)}return e.push(Bs),Km(e,s,i),i}}var tG=De("</"),rG=De(">"),nG=De('<template id="'),oG=De('"></template>'),iG=De("<!--$-->"),sG=De('<!--$?--><template id="'),aG=De('"></template>'),uG=De("<!--$!-->"),lG=De("<!--/$-->"),cG=De("<template"),fG=De('"'),dG=De(' data-dgst="');De(' data-msg="');De(' data-stck="');var hG=De("></template>");function jP(e,t,r){if(Fe(e,sG),r===null)throw Error(rt(395));return Fe(e,r),Vt(e,aG)}var pG=De('<div hidden id="'),mG=De('">'),gG=De("</div>"),yG=De('<svg aria-hidden="true" style="display:none" id="'),vG=De('">'),wG=De("</svg>"),bG=De('<math aria-hidden="true" style="display:none" id="'),_G=De('">'),xG=De("</math>"),EG=De('<table hidden id="'),SG=De('">'),CG=De("</table>"),MG=De('<table hidden><tbody id="'),TG=De('">'),PG=De("</tbody></table>"),OG=De('<table hidden><tr id="'),DG=De('">'),IG=De("</tr></table>"),AG=De('<table hidden><colgroup id="'),NG=De('">'),RG=De("</colgroup></table>");function kG(e,t,r,n){switch(r.insertionMode){case 0:case 1:return Fe(e,pG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,mG);case 2:return Fe(e,yG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,vG);case 3:return Fe(e,bG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,_G);case 4:return Fe(e,EG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,SG);case 5:return Fe(e,MG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,TG);case 6:return Fe(e,OG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,DG);case 7:return Fe(e,AG),Fe(e,t.segmentPrefix),Fe(e,ot(n.toString(16))),Vt(e,NG);default:throw Error(rt(397))}}function LG(e,t){switch(t.insertionMode){case 0:case 1:return Vt(e,gG);case 2:return Vt(e,wG);case 3:return Vt(e,xG);case 4:return Vt(e,CG);case 5:return Vt(e,PG);case 6:return Vt(e,IG);case 7:return Vt(e,RG);default:throw Error(rt(397))}}var FG=De('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),UG=De('$RS("'),$G=De('","'),BG=De('")<\/script>'),VG=De('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),jG=De('$RC("'),zG=De('","'),HG=De('")<\/script>'),qG=De('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),KG=De('$RX("'),ZG=De('"'),GG=De(")<\/script>"),ab=De(","),WG=/[<\u2028\u2029]/g;function ub(e){return JSON.stringify(e).replace(WG,function(t){switch(t){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var yd=Object.assign,YG=Symbol.for("react.element"),lO=Symbol.for("react.portal"),cO=Symbol.for("react.fragment"),fO=Symbol.for("react.strict_mode"),dO=Symbol.for("react.profiler"),hO=Symbol.for("react.provider"),pO=Symbol.for("react.context"),mO=Symbol.for("react.forward_ref"),gO=Symbol.for("react.suspense"),yO=Symbol.for("react.suspense_list"),vO=Symbol.for("react.memo"),vb=Symbol.for("react.lazy"),XG=Symbol.for("react.scope"),JG=Symbol.for("react.debug_trace_mode"),QG=Symbol.for("react.legacy_hidden"),eW=Symbol.for("react.default_value"),zP=Symbol.iterator;function fb(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cO:return"Fragment";case lO:return"Portal";case dO:return"Profiler";case fO:return"StrictMode";case gO:return"Suspense";case yO:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pO:return(e.displayName||"Context")+".Consumer";case hO:return(e._context.displayName||"Context")+".Provider";case mO:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vO:return t=e.displayName||null,t!==null?t:fb(e.type)||"Memo";case vb:t=e._payload,e=e._init;try{return fb(e(t))}catch(r){}}return null}var wO={};function HP(e,t){if(e=e.contextTypes,!e)return wO;var r={},n;for(n in e)r[n]=t[n];return r}var za=null;function t1(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(e===null){if(r!==null)throw Error(rt(401))}else{if(r===null)throw Error(rt(401));t1(e,r)}t.context._currentValue=t.value}}function bO(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&bO(e)}function _O(e){var t=e.parent;t!==null&&_O(t),e.context._currentValue=e.value}function xO(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(rt(402));e.depth===t.depth?t1(e,t):xO(e,t)}function EO(e,t){var r=t.parent;if(r===null)throw Error(rt(402));e.depth===r.depth?t1(e,r):EO(e,r),t.context._currentValue=t.value}function Ym(e){var t=za;t!==e&&(t===null?_O(e):e===null?bO(t):t.depth===e.depth?t1(t,e):t.depth>e.depth?xO(t,e):EO(t,e),za=e)}var qP={isMounted:function(){return!1},enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function KP(e,t,r,n){var o=e.state!==void 0?e.state:null;e.updater=qP,e.props=r,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var s=t.contextType;if(e.context=typeof s=="object"&&s!==null?s._currentValue:n,s=t.getDerivedStateFromProps,typeof s=="function"&&(s=s(r,o),o=s==null?o:yd({},o,s),e.state=o),typeof t.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(t=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),t!==e.state&&qP.enqueueReplaceState(e,e.state,null),i.queue!==null&&0<i.queue.length)if(t=i.queue,s=i.replace,i.queue=null,i.replace=!1,s&&t.length===1)e.state=t[0];else{for(i=s?t[0]:e.state,o=!0,s=s?1:0;s<t.length;s++){var a=t[s];a=typeof a=="function"?a.call(e,i,r,n):a,a!=null&&(o?(o=!1,i=yd({},i,a)):yd(i,a))}e.state=i}else i.queue=null}var tW={id:1,overflow:""};function db(e,t,r){var n=e.id;e=e.overflow;var o=32-Zm(n)-1;n&=~(1<<o),r+=1;var i=32-Zm(t)+o;if(30<i){var s=o-o%5;return i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,{id:1<<32-Zm(t)+o|r<<o|n,overflow:i+e}}return{id:1<<i|r<<o|n,overflow:e}}var Zm=Math.clz32?Math.clz32:oW,rW=Math.log,nW=Math.LN2;function oW(e){return e>>>=0,e===0?32:31-(rW(e)/nW|0)|0}function iW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sW=typeof Object.is=="function"?Object.is:iW,ki=null,wb=null,Gm=null,Ft=null,md=!1,Xm=!1,vd=0,Vs=null,r1=0;function ja(){if(ki===null)throw Error(rt(321));return ki}function ZP(){if(0<r1)throw Error(rt(312));return{memoizedState:null,queue:null,next:null}}function bb(){return Ft===null?Gm===null?(md=!1,Gm=Ft=ZP()):(md=!0,Ft=Gm):Ft.next===null?(md=!1,Ft=Ft.next=ZP()):(md=!0,Ft=Ft.next),Ft}function _b(){wb=ki=null,Xm=!1,Gm=null,r1=0,Ft=Vs=null}function SO(e,t){return typeof t=="function"?t(e):t}function GP(e,t,r){if(ki=ja(),Ft=bb(),md){var n=Ft.queue;if(t=n.dispatch,Vs!==null&&(r=Vs.get(n),r!==void 0)){Vs.delete(n),n=Ft.memoizedState;do n=e(n,r.action),r=r.next;while(r!==null);return Ft.memoizedState=n,[n,t]}return[Ft.memoizedState,t]}return e=e===SO?typeof t=="function"?t():t:r!==void 0?r(t):t,Ft.memoizedState=e,e=Ft.queue={last:null,dispatch:null},e=e.dispatch=aW.bind(null,ki,e),[Ft.memoizedState,e]}function WP(e,t){if(ki=ja(),Ft=bb(),t=t===void 0?null:t,Ft!==null){var r=Ft.memoizedState;if(r!==null&&t!==null){var n=r[1];e:if(n===null)n=!1;else{for(var o=0;o<n.length&&o<t.length;o++)if(!sW(t[o],n[o])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),Ft.memoizedState=[e,t],e}function aW(e,t,r){if(25<=r1)throw Error(rt(301));if(e===ki)if(Xm=!0,e={action:r,next:null},Vs===null&&(Vs=new Map),r=Vs.get(t),r===void 0)Vs.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function uW(){throw Error(rt(394))}function zm(){}var YP={readContext:function(e){return e._currentValue},useContext:function(e){return ja(),e._currentValue},useMemo:WP,useReducer:GP,useRef:function(e){ki=ja(),Ft=bb();var t=Ft.memoizedState;return t===null?(e={current:e},Ft.memoizedState=e):t},useState:function(e){return GP(SO,e)},useInsertionEffect:zm,useLayoutEffect:function(){},useCallback:function(e,t){return WP(function(){return e},t)},useImperativeHandle:zm,useEffect:zm,useDebugValue:zm,useDeferredValue:function(e){return ja(),e},useTransition:function(){return ja(),[!1,uW]},useId:function(){var e=wb.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Zm(e)-1)).toString(32)+t;var r=Wm;if(r===null)throw Error(rt(404));return t=vd++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return ja(),t(e._source)},useSyncExternalStore:function(e,t,r){if(r===void 0)throw Error(rt(407));return r()}},Wm=null,lb=oO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function lW(e){return console.error(e),null}function gd(){}function cW(e,t,r,n,o,i,s,a,u){var l=[],p=new Set;return t={destination:null,responseState:t,progressiveChunkSize:n===void 0?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:p,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:o===void 0?lW:o,onAllReady:i===void 0?gd:i,onShellReady:s===void 0?gd:s,onShellError:a===void 0?gd:a,onFatalError:u===void 0?gd:u},r=Jm(t,0,null,r,!1,!1),r.parentFlushed=!0,e=xb(t,e,null,r,p,wO,null,tW),l.push(e),t}function xb(e,t,r,n,o,i,s,a){e.allPendingTasks++,r===null?e.pendingRootTasks++:r.pendingTasks++;var u={node:t,ping:function(){var l=e.pingedTasks;l.push(u),l.length===1&&TO(e)},blockedBoundary:r,blockedSegment:n,abortSet:o,legacyContext:i,context:s,treeContext:a};return o.add(u),u}function Jm(e,t,r,n,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:o,textEmbedded:i}}function wd(e,t){if(e=e.onError(t),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Qm(e,t){var r=e.onShellError;r(t),r=e.onFatalError,r(t),e.destination!==null?(e.status=2,sO(e.destination,t)):(e.status=1,e.fatalError=t)}function XP(e,t,r,n,o){for(ki={},wb=t,vd=0,e=r(n,o);Xm;)Xm=!1,vd=0,r1+=1,Ft=null,e=r(n,o);return _b(),e}function JP(e,t,r,n){var o=r.render(),i=n.childContextTypes;if(i!=null){var s=t.legacyContext;if(typeof r.getChildContext!="function")n=s;else{r=r.getChildContext();for(var a in r)if(!(a in i))throw Error(rt(108,fb(n)||"Unknown",a));n=yd({},s,r)}t.legacyContext=n,Wn(e,t,o),t.legacyContext=s}else Wn(e,t,o)}function QP(e,t){if(e&&e.defaultProps){t=yd({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function hb(e,t,r,n,o){if(typeof r=="function")if(r.prototype&&r.prototype.isReactComponent){o=HP(r,t.legacyContext);var i=r.contextType;i=new r(n,typeof i=="object"&&i!==null?i._currentValue:o),KP(i,r,n,o),JP(e,t,i,r)}else{i=HP(r,t.legacyContext),o=XP(e,t,r,n,i);var s=vd!==0;if(typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0)KP(o,r,n,i),JP(e,t,o,r);else if(s){n=t.treeContext,t.treeContext=db(n,1,0);try{Wn(e,t,o)}finally{t.treeContext=n}}else Wn(e,t,o)}else if(typeof r=="string"){switch(o=t.blockedSegment,i=eG(o.chunks,r,n,e.responseState,o.formatContext),o.lastPushedText=!1,s=o.formatContext,o.formatContext=GZ(s,r,n),pb(e,t,i),o.formatContext=s,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push(tG,ot(r),rG)}o.lastPushedText=!1}else{switch(r){case QG:case JG:case fO:case dO:case cO:Wn(e,t,n.children);return;case yO:Wn(e,t,n.children);return;case XG:throw Error(rt(343));case gO:e:{r=t.blockedBoundary,o=t.blockedSegment,i=n.fallback,n=n.children,s=new Set;var a={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:s,errorDigest:null},u=Jm(e,o.chunks.length,a,o.formatContext,!1,!1);o.children.push(u),o.lastPushedText=!1;var l=Jm(e,0,null,o.formatContext,!1,!1);l.parentFlushed=!0,t.blockedBoundary=a,t.blockedSegment=l;try{if(pb(e,t,n),l.lastPushedText&&l.textEmbedded&&l.chunks.push(yb),l.status=1,e1(a,l),a.pendingTasks===0)break e}catch(p){l.status=4,a.forceClientRender=!0,a.errorDigest=wd(e,p)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=xb(e,i,r,u,s,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if(typeof r=="object"&&r!==null)switch(r.$$typeof){case mO:if(n=XP(e,t,r.render,n,o),vd!==0){r=t.treeContext,t.treeContext=db(r,1,0);try{Wn(e,t,n)}finally{t.treeContext=r}}else Wn(e,t,n);return;case vO:r=r.type,n=QP(r,n),hb(e,t,r,n,o);return;case hO:if(o=n.children,r=r._context,n=n.value,i=r._currentValue,r._currentValue=n,s=za,za=n={parent:s,depth:s===null?0:s.depth+1,context:r,parentValue:i,value:n},t.context=n,Wn(e,t,o),e=za,e===null)throw Error(rt(403));n=e.parentValue,e.context._currentValue=n===eW?e.context._defaultValue:n,e=za=e.parent,t.context=e;return;case pO:n=n.children,n=n(r._currentValue),Wn(e,t,n);return;case vb:o=r._init,r=o(r._payload),n=QP(r,n),hb(e,t,r,n,void 0);return}throw Error(rt(130,r==null?r:typeof r,""))}}function Wn(e,t,r){if(t.node=r,typeof r=="object"&&r!==null){switch(r.$$typeof){case YG:hb(e,t,r.type,r.props,r.ref);return;case lO:throw Error(rt(257));case vb:var n=r._init;r=n(r._payload),Wn(e,t,r);return}if(cb(r)){eO(e,t,r);return}if(r===null||typeof r!="object"?n=null:(n=zP&&r[zP]||r["@@iterator"],n=typeof n=="function"?n:null),n&&(n=n.call(r))){if(r=n.next(),!r.done){var o=[];do o.push(r.value),r=n.next();while(!r.done);eO(e,t,o)}return}throw e=Object.prototype.toString.call(r),Error(rt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}typeof r=="string"?(n=t.blockedSegment,n.lastPushedText=LP(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText)):typeof r=="number"&&(n=t.blockedSegment,n.lastPushedText=LP(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function eO(e,t,r){for(var n=r.length,o=0;o<n;o++){var i=t.treeContext;t.treeContext=db(i,n,o);try{pb(e,t,r[o])}finally{t.treeContext=i}}}function pb(e,t,r){var n=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Wn(e,t,r)}catch(u){if(_b(),typeof u=="object"&&u!==null&&typeof u.then=="function"){r=u;var s=t.blockedSegment,a=Jm(e,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(a),s.lastPushedText=!1,e=xb(e,t.node,t.blockedBoundary,a,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Ym(i)}else throw t.blockedSegment.formatContext=n,t.legacyContext=o,t.context=i,Ym(i),u}}function fW(e){var t=e.blockedBoundary;e=e.blockedSegment,e.status=3,MO(this,t,e)}function CO(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,n===null?(t.allPendingTasks--,t.status!==2&&(t.status=2,t.destination!==null&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=r===void 0?Error(rt(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach(function(o){return CO(o,t,r)}),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0&&(n=t.onAllReady,n()))}function e1(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,r.status===1&&e1(e,r)}else e.completedSegments.push(t)}function MO(e,t,r){if(t===null){if(r.parentFlushed){if(e.completedRootSegment!==null)throw Error(rt(389));e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=gd,t=e.onShellReady,t())}else t.pendingTasks--,t.forceClientRender||(t.pendingTasks===0?(r.parentFlushed&&r.status===1&&e1(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(fW,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&r.status===1&&(e1(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function TO(e){if(e.status!==2){var t=za,r=lb.current;lb.current=YP;var n=Wm;Wm=e.responseState;try{var o=e.pingedTasks,i;for(i=0;i<o.length;i++){var s=o[i],a=e,u=s.blockedSegment;if(u.status===0){Ym(s.context);try{Wn(a,s,s.node),u.lastPushedText&&u.textEmbedded&&u.chunks.push(yb),s.abortSet.delete(s),u.status=1,MO(a,s.blockedBoundary,u)}catch(v){if(_b(),typeof v=="object"&&v!==null&&typeof v.then=="function"){var l=s.ping;v.then(l,l)}else{s.abortSet.delete(s),u.status=4;var p=s.blockedBoundary,h=v,y=wd(a,h);if(p===null?Qm(a,h):(p.pendingTasks--,p.forceClientRender||(p.forceClientRender=!0,p.errorDigest=y,p.parentFlushed&&a.clientRenderedBoundaries.push(p))),a.allPendingTasks--,a.allPendingTasks===0){var b=a.onAllReady;b()}}}finally{}}}o.splice(0,i),e.destination!==null&&Eb(e,e.destination)}catch(v){wd(e,v),Qm(e,v)}finally{Wm=n,lb.current=r,r===YP&&Ym(t)}}}function Hm(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,Fe(t,nG),Fe(t,e.placeholderPrefix),e=ot(n.toString(16)),Fe(t,e),Vt(t,oG);case 1:r.status=2;var o=!0;n=r.chunks;var i=0;r=r.children;for(var s=0;s<r.length;s++){for(o=r[s];i<o.index;i++)Fe(t,n[i]);o=n1(e,t,o)}for(;i<n.length-1;i++)Fe(t,n[i]);return i<n.length&&(o=Vt(t,n[i])),o;default:throw Error(rt(390))}}function n1(e,t,r){var n=r.boundary;if(n===null)return Hm(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,Vt(t,uG),Fe(t,cG),n&&(Fe(t,dG),Fe(t,ot(Ur(n))),Fe(t,fG)),Vt(t,hG),Hm(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var o=e.responseState,i=o.nextSuspenseID++;o=De(o.boundaryPrefix+i.toString(16)),n=n.id=o,jP(t,e.responseState,n),Hm(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),jP(t,e.responseState,n.id),Hm(e,t,r);else{if(Vt(t,iG),r=n.completedSegments,r.length!==1)throw Error(rt(391));n1(e,t,r[0])}return Vt(t,lG)}function tO(e,t,r){return kG(t,e.responseState,r.formatContext,r.id),n1(e,t,r),LG(t,r.formatContext)}function rO(e,t,r){for(var n=r.completedSegments,o=0;o<n.length;o++)PO(e,t,r,n[o]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,Fe(t,e.startInlineScript),e.sentCompleteBoundaryFunction?Fe(t,jG):(e.sentCompleteBoundaryFunction=!0,Fe(t,VG)),n===null)throw Error(rt(395));return r=ot(r.toString(16)),Fe(t,n),Fe(t,zG),Fe(t,e.segmentPrefix),Fe(t,r),Vt(t,HG)}function PO(e,t,r,n){if(n.status===2)return!0;var o=n.id;if(o===-1){if((n.id=r.rootSegmentID)===-1)throw Error(rt(392));return tO(e,t,n)}return tO(e,t,n),e=e.responseState,Fe(t,e.startInlineScript),e.sentCompleteSegmentFunction?Fe(t,UG):(e.sentCompleteSegmentFunction=!0,Fe(t,FG)),Fe(t,e.segmentPrefix),o=ot(o.toString(16)),Fe(t,o),Fe(t,$G),Fe(t,e.placeholderPrefix),Fe(t,o),Vt(t,BG)}function Eb(e,t){Zn=new Uint8Array(512),Gn=0;try{var r=e.completedRootSegment;if(r!==null&&e.pendingRootTasks===0){n1(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)Fe(t,n[r]);r<n.length&&Vt(t,n[r])}var o=e.clientRenderedBoundaries,i;for(i=0;i<o.length;i++){var s=o[i];n=t;var a=e.responseState,u=s.id,l=s.errorDigest,p=s.errorMessage,h=s.errorComponentStack;if(Fe(n,a.startInlineScript),a.sentClientRenderFunction?Fe(n,KG):(a.sentClientRenderFunction=!0,Fe(n,qG)),u===null)throw Error(rt(395));if(Fe(n,u),Fe(n,ZG),(l||p||h)&&(Fe(n,ab),Fe(n,ot(ub(l||"")))),(p||h)&&(Fe(n,ab),Fe(n,ot(ub(p||"")))),h&&(Fe(n,ab),Fe(n,ot(ub(h)))),!Vt(n,GG)){e.destination=null,i++,o.splice(0,i);return}}o.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)if(!rO(e,t,y[i])){e.destination=null,i++,y.splice(0,i);return}y.splice(0,i),AP(t),Zn=new Uint8Array(512),Gn=0;var b=e.partialBoundaries;for(i=0;i<b.length;i++){var v=b[i];e:{o=e,s=t;var C=v.completedSegments;for(a=0;a<C.length;a++)if(!PO(o,s,v,C[a])){a++,C.splice(0,a);var N=!1;break e}C.splice(0,a),N=!0}if(!N){e.destination=null,i++,b.splice(0,i);return}}b.splice(0,i);var M=e.completedBoundaries;for(i=0;i<M.length;i++)if(!rO(e,t,M[i])){e.destination=null,i++,M.splice(0,i);return}M.splice(0,i)}finally{AP(t),e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&t.close()}}function nO(e,t){try{var r=e.abortableTasks;r.forEach(function(n){return CO(n,e,t)}),r.clear(),e.destination!==null&&Eb(e,e.destination)}catch(n){wd(e,n),Qm(e,n)}}Sb.renderToReadableStream=function(e,t){return new Promise(function(r,n){var o,i,s=new Promise(function(p,h){i=p,o=h}),a=cW(e,KZ(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),ZZ(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,function(){var p=new ReadableStream({type:"bytes",pull:function(h){if(a.status===1)a.status=2,sO(h,a.fatalError);else if(a.status!==2&&a.destination===null){a.destination=h;try{Eb(a,h)}catch(y){wd(a,y),Qm(a,y)}}},cancel:function(){nO(a)}},{highWaterMark:0});p.allReady=s,r(p)},function(p){s.catch(function(){}),n(p)},o);if(t&&t.signal){var u=t.signal,l=function(){nO(a,u.reason),u.removeEventListener("abort",l)};u.addEventListener("abort",l)}TO(a)})};Sb.version="18.2.0"});var IO=_e(Ha=>{"use strict";c();d();f();var Zl,DO;Zl=IP(),DO=OO();Ha.version=Zl.version;Ha.renderToString=Zl.renderToString;Ha.renderToStaticMarkup=Zl.renderToStaticMarkup;Ha.renderToNodeStream=Zl.renderToNodeStream;Ha.renderToStaticNodeStream=Zl.renderToStaticNodeStream;Ha.renderToReadableStream=DO.renderToReadableStream});var jO=_e((F2e,VO)=>{"use strict";c();d();f();function vW(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}VO.exports=wW;function wW(e,t,r){var n=r&&r.stringify||vW,o=1;if(typeof e=="object"&&e!==null){var i=t.length+o;if(i===1)return e;var s=new Array(i);s[0]=n(e);for(var a=1;a<i;a++)s[a]=n(t[a]);return s.join(" ")}if(typeof e!="string")return e;var u=t.length;if(u===0)return e;for(var l="",p=1-o,h=-1,y=e&&e.length||0,b=0;b<y;){if(e.charCodeAt(b)===37&&b+1<y){switch(h=h>-1?h:0,e.charCodeAt(b+1)){case 100:case 102:if(p>=u||t[p]==null)break;h<b&&(l+=e.slice(h,b)),l+=Number(t[p]),h=b+2,b++;break;case 105:if(p>=u||t[p]==null)break;h<b&&(l+=e.slice(h,b)),l+=Math.floor(Number(t[p])),h=b+2,b++;break;case 79:case 111:case 106:if(p>=u||t[p]===void 0)break;h<b&&(l+=e.slice(h,b));var v=typeof t[p];if(v==="string"){l+="'"+t[p]+"'",h=b+2,b++;break}if(v==="function"){l+=t[p].name||"<anonymous>",h=b+2,b++;break}l+=n(t[p]),h=b+2,b++;break;case 115:if(p>=u)break;h<b&&(l+=e.slice(h,b)),l+=String(t[p]),h=b+2,b++;break;case 37:h<b&&(l+=e.slice(h,b)),l+="%",h=b+2,b++,p--;break}++p}++b}return h===-1?e:(h<y&&(l+=e.slice(h)),l)}});var s1=_e((U2e,KO)=>{"use strict";c();d();f();var zO=jO();KO.exports=ei;var _d=OW().console||{},bW={mapHttpRequest:o1,mapHttpResponse:o1,wrapRequestSerializer:Tb,wrapResponseSerializer:Tb,wrapErrorSerializer:Tb,req:o1,res:o1,err:CW};function _W(e,t){return Array.isArray(e)?e.filter(function(n){return n!=="!stdSerializers.err"}):e===!0?Object.keys(t):!1}function ei(e){e=e||{},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");let r=e.browser.write||_d;e.browser.write&&(e.browser.asObject=!0);let n=e.serializers||{},o=_W(e.browser.serialize,n),i=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);let s=["error","fatal","warn","info","debug","trace"];typeof r=="function"&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),e.enabled===!1&&(e.level="silent");let a=e.level||"info",u=Object.create(r);u.log||(u.log=xd),Object.defineProperty(u,"levelVal",{get:p}),Object.defineProperty(u,"level",{get:h,set:y});let l={transmit:t,serialize:o,asObject:e.browser.asObject,levels:s,timestamp:MW(e)};u.levels=ei.levels,u.level=a,u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=xd,u.serializers=n,u._serialize=o,u._stdErrSerialize=i,u.child=b,t&&(u._logEvent=Pb());function p(){return this.level==="silent"?1/0:this.levels.values[this.level]}function h(){return this._level}function y(v){if(v!=="silent"&&!this.levels.values[v])throw Error("unknown level "+v);this._level=v,Gl(l,u,"error","log"),Gl(l,u,"fatal","error"),Gl(l,u,"warn","error"),Gl(l,u,"info","log"),Gl(l,u,"debug","log"),Gl(l,u,"trace","log")}function b(v,C){if(!v)throw new Error("missing bindings for child Pino");C=C||{},o&&v.serializers&&(C.serializers=v.serializers);let N=C.serializers;if(o&&N){var M=Object.assign({},n,N),T=e.browser.serialize===!0?Object.keys(M):o;delete v.serializers,i1([v],T,M,this._stdErrSerialize)}function I(U){this._childLevel=(U._childLevel|0)+1,this.error=Wl(U,v,"error"),this.fatal=Wl(U,v,"fatal"),this.warn=Wl(U,v,"warn"),this.info=Wl(U,v,"info"),this.debug=Wl(U,v,"debug"),this.trace=Wl(U,v,"trace"),M&&(this.serializers=M,this._serialize=T),t&&(this._logEvent=Pb([].concat(U._logEvent.bindings,v)))}return I.prototype=this,new I(this)}return u}ei.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};ei.stdSerializers=bW;ei.stdTimeFunctions=Object.assign({},{nullTime:HO,epochTime:qO,unixTime:TW,isoTime:PW});function Gl(e,t,r,n){let o=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?xd:o[r]?o[r]:_d[r]||_d[n]||xd,xW(e,t,r)}function xW(e,t,r){!e.transmit&&t[r]===xd||(t[r]=function(n){return function(){let i=e.timestamp(),s=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===_d?_d:this;for(var u=0;u<s.length;u++)s[u]=arguments[u];if(e.serialize&&!e.asObject&&i1(s,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(a,EW(this,r,s,i)):n.apply(a,s),e.transmit){let l=e.transmit.level||t.level,p=ei.levels.values[l],h=ei.levels.values[r];if(h<p)return;SW(this,{ts:i,methodLevel:r,methodValue:h,transmitLevel:l,transmitValue:ei.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},s)}}}(t[r]))}function EW(e,t,r,n){e._serialize&&i1(r,e._serialize,e.serializers,e._stdErrSerialize);let o=r.slice(),i=o[0],s={};n&&(s.time=n),s.level=ei.levels.values[t];let a=(e._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof o[0]=="object";)Object.assign(s,o.shift());i=o.length?zO(o.shift(),o):void 0}else typeof i=="string"&&(i=zO(o.shift(),o));return i!==void 0&&(s.msg=i),s}function i1(e,t,r,n){for(let o in e)if(n&&e[o]instanceof Error)e[o]=ei.stdSerializers.err(e[o]);else if(typeof e[o]=="object"&&!Array.isArray(e[o]))for(let i in e[o])t&&t.indexOf(i)>-1&&i in r&&(e[o][i]=r[i](e[o][i]))}function Wl(e,t,r){return function(){let n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function SW(e,t,r){let n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,u=e._logEvent.bindings;i1(r,e._serialize||Object.keys(e.serializers),e.serializers,e._stdErrSerialize===void 0?!0:e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter(function(l){return u.indexOf(l)===-1}),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=Pb(u)}function Pb(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function CW(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let r in e)t[r]===void 0&&(t[r]=e[r]);return t}function MW(e){return typeof e.timestamp=="function"?e.timestamp:e.timestamp===!1?HO:qO}function o1(){return{}}function Tb(e){return e}function xd(){}function HO(){return!1}function qO(){return Date.now()}function TW(){return Math.round(Date.now()/1e3)}function PW(){return new Date(Date.now()).toISOString()}function OW(){function e(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}});var js=_e(($2e,Ob)=>{"use strict";c();d();f();var Yl=typeof Reflect=="object"?Reflect:null,ZO=Yl&&typeof Yl.apply=="function"?Yl.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},a1;Yl&&typeof Yl.ownKeys=="function"?a1=Yl.ownKeys:Object.getOwnPropertySymbols?a1=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:a1=function(t){return Object.getOwnPropertyNames(t)};function DW(e){console&&console.warn&&console.warn(e)}var WO=Number.isNaN||function(t){return t!==t};function Pt(){Pt.init.call(this)}Ob.exports=Pt;Ob.exports.once=RW;Pt.EventEmitter=Pt;Pt.prototype._events=void 0;Pt.prototype._eventsCount=0;Pt.prototype._maxListeners=void 0;var GO=10;function u1(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Pt,"defaultMaxListeners",{enumerable:!0,get:function(){return GO},set:function(e){if(typeof e!="number"||e<0||WO(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");GO=e}});Pt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Pt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||WO(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function YO(e){return e._maxListeners===void 0?Pt.defaultMaxListeners:e._maxListeners}Pt.prototype.getMaxListeners=function(){return YO(this)};Pt.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t==="error",i=this._events;if(i!==void 0)o=o&&i.error===void 0;else if(!o)return!1;if(o){var s;if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[t];if(u===void 0)return!1;if(typeof u=="function")ZO(u,this,r);else for(var l=u.length,p=tD(u,l),n=0;n<l;++n)ZO(p[n],this,r);return!0};function XO(e,t,r,n){var o,i,s;if(u1(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),s===void 0)s=i[t]=r,++e._eventsCount;else if(typeof s=="function"?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),o=YO(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,DW(a)}return e}Pt.prototype.addListener=function(t,r){return XO(this,t,r,!1)};Pt.prototype.on=Pt.prototype.addListener;Pt.prototype.prependListener=function(t,r){return XO(this,t,r,!0)};function IW(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function JO(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=IW.bind(n);return o.listener=r,n.wrapFn=o,o}Pt.prototype.once=function(t,r){return u1(r),this.on(t,JO(this,t,r)),this};Pt.prototype.prependOnceListener=function(t,r){return u1(r),this.prependListener(t,JO(this,t,r)),this};Pt.prototype.removeListener=function(t,r){var n,o,i,s,a;if(u1(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit("removeListener",t,n.listener||r));else if(typeof n!="function"){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,i=s;break}if(i<0)return this;i===0?n.shift():AW(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit("removeListener",t,a||r)}return this};Pt.prototype.off=Pt.prototype.removeListener;Pt.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),s;for(o=0;o<i.length;++o)s=i[o],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r=="function")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function QO(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?NW(o):tD(o,o.length)}Pt.prototype.listeners=function(t){return QO(this,t,!0)};Pt.prototype.rawListeners=function(t){return QO(this,t,!1)};Pt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):eD.call(e,t)};Pt.prototype.listenerCount=eD;function eD(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r=="function")return 1;if(r!==void 0)return r.length}return 0}Pt.prototype.eventNames=function(){return this._eventsCount>0?a1(this._events):[]};function tD(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function AW(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function NW(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function RW(e,t){return new Promise(function(r,n){function o(s){e.removeListener(t,i),n(s)}function i(){typeof e.removeListener=="function"&&e.removeListener("error",o),r([].slice.call(arguments))}rD(e,t,i,{once:!0}),t!=="error"&&kW(e,o,{once:!0})})}function kW(e,t,r){typeof e.on=="function"&&rD(e,"error",t,r)}function rD(e,t,r,n){if(typeof e.on=="function")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener=="function")e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}});var Ib=_e((B2e,c1)=>{c();d();f();var nD,oD,iD,sD,aD,uD,lD,cD,fD,l1,Db,dD,hD,Xl,pD,mD,gD,yD,vD,wD,bD,_D,xD;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof c1=="object"&&typeof c1.exports=="object"?e(r(t,r(c1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};nD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},oD=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},iD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},sD=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},aD=function(r,n){return function(o,i){n(o,i,r)}},uD=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},lD=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},cD=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},xD=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},fD=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},l1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Db=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},dD=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Db(arguments[n]));return r},hD=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Xl=function(r){return this instanceof Xl?(this.v=r,this):new Xl(r)},pD=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Xl?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},mD=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Xl(r[s](u)),done:s==="return"}:a?a(u):u}:a}},gD=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof l1=="function"?l1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},yD=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},vD=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},wD=function(r){return r&&r.__esModule?r:{default:r}},bD=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},_D=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",nD),e("__assign",oD),e("__rest",iD),e("__decorate",sD),e("__param",aD),e("__metadata",uD),e("__awaiter",lD),e("__generator",cD),e("__exportStar",fD),e("__createBinding",xD),e("__values",l1),e("__read",Db),e("__spread",dD),e("__spreadArrays",hD),e("__await",Xl),e("__asyncGenerator",pD),e("__asyncDelegator",mD),e("__asyncValues",gD),e("__makeTemplateObject",yD),e("__importStar",vD),e("__importDefault",wD),e("__classPrivateFieldGet",bD),e("__classPrivateFieldSet",_D)})});var Ab=_e(f1=>{"use strict";c();d();f();Object.defineProperty(f1,"__esModule",{value:!0});function LW(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}f1.safeJsonParse=LW;function FW(e){return typeof e=="string"?e:JSON.stringify(e,(t,r)=>typeof r>"u"?null:r)}f1.safeJsonStringify=FW});var ED=_e((j2e,d1)=>{"use strict";c();d();f();(function(){"use strict";let e;function t(){}e=t,e.prototype.getItem=function(r){return this.hasOwnProperty(r)?String(this[r]):null},e.prototype.setItem=function(r,n){this[r]=String(n)},e.prototype.removeItem=function(r){delete this[r]},e.prototype.clear=function(){let r=this;Object.keys(r).forEach(function(n){r[n]=void 0,delete r[n]})},e.prototype.key=function(r){return r=r||0,Object.keys(this)[r]},e.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof globalThis<"u"&&globalThis.localStorage?d1.exports=globalThis.localStorage:typeof window<"u"&&window.localStorage?d1.exports=window.localStorage:d1.exports=new t})()});var SD=_e(h1=>{"use strict";c();d();f();Object.defineProperty(h1,"__esModule",{value:!0});h1.IKeyValueStorage=void 0;var Nb=class{};h1.IKeyValueStorage=Nb});var CD=_e(p1=>{"use strict";c();d();f();Object.defineProperty(p1,"__esModule",{value:!0});p1.parseEntry=void 0;var UW=Ab();function $W(e){var t;return[e[0],UW.safeJsonParse((t=e[1])!==null&&t!==void 0?t:"")]}p1.parseEntry=$W});var TD=_e(m1=>{"use strict";c();d();f();Object.defineProperty(m1,"__esModule",{value:!0});var MD=Ib();MD.__exportStar(SD(),m1);MD.__exportStar(CD(),m1)});var OD=_e(Ed=>{"use strict";c();d();f();Object.defineProperty(Ed,"__esModule",{value:!0});Ed.KeyValueStorage=void 0;var Jl=Ib(),PD=Ab(),BW=Jl.__importDefault(ED()),VW=TD(),g1=class{constructor(){this.localStorage=BW.default}getKeys(){return Jl.__awaiter(this,void 0,void 0,function*(){return Object.keys(this.localStorage)})}getEntries(){return Jl.__awaiter(this,void 0,void 0,function*(){return Object.entries(this.localStorage).map(VW.parseEntry)})}getItem(t){return Jl.__awaiter(this,void 0,void 0,function*(){let r=this.localStorage.getItem(t);if(r!==null)return PD.safeJsonParse(r)})}setItem(t,r){return Jl.__awaiter(this,void 0,void 0,function*(){this.localStorage.setItem(t,PD.safeJsonStringify(r))})}removeItem(t){return Jl.__awaiter(this,void 0,void 0,function*(){this.localStorage.removeItem(t)})}};Ed.KeyValueStorage=g1;Ed.default=g1});var Sd=_e((Z2e,v1)=>{c();d();f();var DD,ID,AD,ND,RD,kD,LD,FD,UD,y1,Rb,$D,BD,Ql,VD,jD,zD,HD,qD,KD,ZD,GD,WD;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof v1=="object"&&typeof v1.exports=="object"?e(r(t,r(v1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};DD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},ID=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},AD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},ND=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},RD=function(r,n){return function(o,i){n(o,i,r)}},kD=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},LD=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},FD=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},WD=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},UD=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},y1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Rb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},$D=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Rb(arguments[n]));return r},BD=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Ql=function(r){return this instanceof Ql?(this.v=r,this):new Ql(r)},VD=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Ql?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},jD=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Ql(r[s](u)),done:s==="return"}:a?a(u):u}:a}},zD=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof y1=="function"?y1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},HD=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},qD=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},KD=function(r){return r&&r.__esModule?r:{default:r}},ZD=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},GD=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",DD),e("__assign",ID),e("__rest",AD),e("__decorate",ND),e("__param",RD),e("__metadata",kD),e("__awaiter",LD),e("__generator",FD),e("__exportStar",UD),e("__createBinding",WD),e("__values",y1),e("__read",Rb),e("__spread",$D),e("__spreadArrays",BD),e("__await",Ql),e("__asyncGenerator",VD),e("__asyncDelegator",jD),e("__asyncValues",zD),e("__makeTemplateObject",HD),e("__importStar",qD),e("__importDefault",KD),e("__classPrivateFieldGet",ZD),e("__classPrivateFieldSet",GD)})});var Cd=_e((G2e,b1)=>{c();d();f();var YD,XD,JD,QD,eI,tI,rI,nI,oI,w1,kb,iI,sI,ec,aI,uI,lI,cI,fI,dI,hI,pI,mI;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof b1=="object"&&typeof b1.exports=="object"?e(r(t,r(b1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};YD=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},XD=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},JD=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},QD=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},eI=function(r,n){return function(o,i){n(o,i,r)}},tI=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},rI=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},nI=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},mI=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},oI=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},w1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},kb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},iI=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(kb(arguments[n]));return r},sI=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},ec=function(r){return this instanceof ec?(this.v=r,this):new ec(r)},aI=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof ec?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},uI=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:ec(r[s](u)),done:s==="return"}:a?a(u):u}:a}},lI=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof w1=="function"?w1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},cI=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},fI=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},dI=function(r){return r&&r.__esModule?r:{default:r}},hI=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},pI=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",YD),e("__assign",XD),e("__rest",JD),e("__decorate",QD),e("__param",eI),e("__metadata",tI),e("__awaiter",rI),e("__generator",nI),e("__exportStar",oI),e("__createBinding",mI),e("__values",w1),e("__read",kb),e("__spread",iI),e("__spreadArrays",sI),e("__await",ec),e("__asyncGenerator",aI),e("__asyncDelegator",uI),e("__asyncValues",lI),e("__makeTemplateObject",cI),e("__importStar",fI),e("__importDefault",dI),e("__classPrivateFieldGet",hI),e("__classPrivateFieldSet",pI)})});var gI=_e(_1=>{"use strict";c();d();f();Object.defineProperty(_1,"__esModule",{value:!0});_1.delay=void 0;function jW(e){return new Promise(t=>{setTimeout(()=>{t(!0)},e)})}_1.delay=jW});var yI=_e(tc=>{"use strict";c();d();f();Object.defineProperty(tc,"__esModule",{value:!0});tc.ONE_THOUSAND=tc.ONE_HUNDRED=void 0;tc.ONE_HUNDRED=100;tc.ONE_THOUSAND=1e3});var vI=_e(Ie=>{"use strict";c();d();f();Object.defineProperty(Ie,"__esModule",{value:!0});Ie.ONE_YEAR=Ie.FOUR_WEEKS=Ie.THREE_WEEKS=Ie.TWO_WEEKS=Ie.ONE_WEEK=Ie.THIRTY_DAYS=Ie.SEVEN_DAYS=Ie.FIVE_DAYS=Ie.THREE_DAYS=Ie.ONE_DAY=Ie.TWENTY_FOUR_HOURS=Ie.TWELVE_HOURS=Ie.SIX_HOURS=Ie.THREE_HOURS=Ie.ONE_HOUR=Ie.SIXTY_MINUTES=Ie.THIRTY_MINUTES=Ie.TEN_MINUTES=Ie.FIVE_MINUTES=Ie.ONE_MINUTE=Ie.SIXTY_SECONDS=Ie.THIRTY_SECONDS=Ie.TEN_SECONDS=Ie.FIVE_SECONDS=Ie.ONE_SECOND=void 0;Ie.ONE_SECOND=1;Ie.FIVE_SECONDS=5;Ie.TEN_SECONDS=10;Ie.THIRTY_SECONDS=30;Ie.SIXTY_SECONDS=60;Ie.ONE_MINUTE=Ie.SIXTY_SECONDS;Ie.FIVE_MINUTES=Ie.ONE_MINUTE*5;Ie.TEN_MINUTES=Ie.ONE_MINUTE*10;Ie.THIRTY_MINUTES=Ie.ONE_MINUTE*30;Ie.SIXTY_MINUTES=Ie.ONE_MINUTE*60;Ie.ONE_HOUR=Ie.SIXTY_MINUTES;Ie.THREE_HOURS=Ie.ONE_HOUR*3;Ie.SIX_HOURS=Ie.ONE_HOUR*6;Ie.TWELVE_HOURS=Ie.ONE_HOUR*12;Ie.TWENTY_FOUR_HOURS=Ie.ONE_HOUR*24;Ie.ONE_DAY=Ie.TWENTY_FOUR_HOURS;Ie.THREE_DAYS=Ie.ONE_DAY*3;Ie.FIVE_DAYS=Ie.ONE_DAY*5;Ie.SEVEN_DAYS=Ie.ONE_DAY*7;Ie.THIRTY_DAYS=Ie.ONE_DAY*30;Ie.ONE_WEEK=Ie.SEVEN_DAYS;Ie.TWO_WEEKS=Ie.ONE_WEEK*2;Ie.THREE_WEEKS=Ie.ONE_WEEK*3;Ie.FOUR_WEEKS=Ie.ONE_WEEK*4;Ie.ONE_YEAR=Ie.ONE_DAY*365});var Lb=_e(x1=>{"use strict";c();d();f();Object.defineProperty(x1,"__esModule",{value:!0});var wI=Cd();wI.__exportStar(yI(),x1);wI.__exportStar(vI(),x1)});var _I=_e(rc=>{"use strict";c();d();f();Object.defineProperty(rc,"__esModule",{value:!0});rc.fromMiliseconds=rc.toMiliseconds=void 0;var bI=Lb();function zW(e){return e*bI.ONE_THOUSAND}rc.toMiliseconds=zW;function HW(e){return Math.floor(e/bI.ONE_THOUSAND)}rc.fromMiliseconds=HW});var EI=_e(E1=>{"use strict";c();d();f();Object.defineProperty(E1,"__esModule",{value:!0});var xI=Cd();xI.__exportStar(gI(),E1);xI.__exportStar(_I(),E1)});var SI=_e(Md=>{"use strict";c();d();f();Object.defineProperty(Md,"__esModule",{value:!0});Md.Watch=void 0;var S1=class{constructor(){this.timestamps=new Map}start(t){if(this.timestamps.has(t))throw new Error(`Watch already started for label: ${t}`);this.timestamps.set(t,{started:Date.now()})}stop(t){let r=this.get(t);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${t}`);let n=Date.now()-r.started;this.timestamps.set(t,{started:r.started,elapsed:n})}get(t){let r=this.timestamps.get(t);if(typeof r>"u")throw new Error(`No timestamp found for label: ${t}`);return r}elapsed(t){let r=this.get(t);return r.elapsed||Date.now()-r.started}};Md.Watch=S1;Md.default=S1});var CI=_e(C1=>{"use strict";c();d();f();Object.defineProperty(C1,"__esModule",{value:!0});C1.IWatch=void 0;var Fb=class{};C1.IWatch=Fb});var MI=_e(Ub=>{"use strict";c();d();f();Object.defineProperty(Ub,"__esModule",{value:!0});var qW=Cd();qW.__exportStar(CI(),Ub)});var Li=_e(nc=>{"use strict";c();d();f();Object.defineProperty(nc,"__esModule",{value:!0});var M1=Cd();M1.__exportStar(EI(),nc);M1.__exportStar(SI(),nc);M1.__exportStar(MI(),nc);M1.__exportStar(Lb(),nc)});var No,TI=mu(()=>{c();d();f();No=class{}});var PI={};Vr(PI,{IEvents:()=>No});var T1=mu(()=>{c();d();f();TI()});var OI=_e(P1=>{"use strict";c();d();f();Object.defineProperty(P1,"__esModule",{value:!0});P1.IHeartBeat=void 0;var KW=(T1(),r3(PI)),$b=class extends KW.IEvents{constructor(t){super()}};P1.IHeartBeat=$b});var Vb=_e(Bb=>{"use strict";c();d();f();Object.defineProperty(Bb,"__esModule",{value:!0});var ZW=Sd();ZW.__exportStar(OI(),Bb)});var DI=_e(oc=>{"use strict";c();d();f();Object.defineProperty(oc,"__esModule",{value:!0});oc.HEARTBEAT_EVENTS=oc.HEARTBEAT_INTERVAL=void 0;var GW=Li();oc.HEARTBEAT_INTERVAL=GW.FIVE_SECONDS;oc.HEARTBEAT_EVENTS={pulse:"heartbeat_pulse"}});var zb=_e(jb=>{"use strict";c();d();f();Object.defineProperty(jb,"__esModule",{value:!0});var WW=Sd();WW.__exportStar(DI(),jb)});var II=_e(O1=>{"use strict";c();d();f();Object.defineProperty(O1,"__esModule",{value:!0});O1.HeartBeat=void 0;var Hb=Sd(),YW=js(),XW=Li(),JW=Vb(),qb=zb(),Td=class extends JW.IHeartBeat{constructor(t){super(t),this.events=new YW.EventEmitter,this.interval=qb.HEARTBEAT_INTERVAL,this.interval=(t==null?void 0:t.interval)||qb.HEARTBEAT_INTERVAL}static init(t){return Hb.__awaiter(this,void 0,void 0,function*(){let r=new Td(t);return yield r.init(),r})}init(){return Hb.__awaiter(this,void 0,void 0,function*(){yield this.initialize()})}stop(){clearInterval(this.intervalRef)}on(t,r){this.events.on(t,r)}once(t,r){this.events.once(t,r)}off(t,r){this.events.off(t,r)}removeListener(t,r){this.events.removeListener(t,r)}initialize(){return Hb.__awaiter(this,void 0,void 0,function*(){this.intervalRef=setInterval(()=>this.pulse(),XW.toMiliseconds(this.interval))})}pulse(){this.events.emit(qb.HEARTBEAT_EVENTS.pulse)}};O1.HeartBeat=Td});var AI=_e(Pd=>{"use strict";c();d();f();Object.defineProperty(Pd,"__esModule",{value:!0});var Kb=Sd();Kb.__exportStar(II(),Pd);Kb.__exportStar(Vb(),Pd);Kb.__exportStar(zb(),Pd)});var QI=_e((h6e,I1)=>{c();d();f();var NI,RI,kI,LI,FI,UI,$I,BI,VI,D1,Zb,jI,zI,ic,HI,qI,KI,ZI,GI,WI,YI,XI,JI;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof I1=="object"&&typeof I1.exports=="object"?e(r(t,r(I1.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};NI=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},RI=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},kI=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},LI=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},FI=function(r,n){return function(o,i){n(o,i,r)}},UI=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},$I=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},BI=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},JI=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},VI=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},D1=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Zb=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},jI=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(Zb(arguments[n]));return r},zI=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},ic=function(r){return this instanceof ic?(this.v=r,this):new ic(r)},HI=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof ic?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},qI=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:ic(r[s](u)),done:s==="return"}:a?a(u):u}:a}},KI=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof D1=="function"?D1(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},ZI=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},GI=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},WI=function(r){return r&&r.__esModule?r:{default:r}},YI=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},XI=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",NI),e("__assign",RI),e("__rest",kI),e("__decorate",LI),e("__param",FI),e("__metadata",UI),e("__awaiter",$I),e("__generator",BI),e("__exportStar",VI),e("__createBinding",JI),e("__values",D1),e("__read",Zb),e("__spread",jI),e("__spreadArrays",zI),e("__await",ic),e("__asyncGenerator",HI),e("__asyncDelegator",qI),e("__asyncValues",KI),e("__makeTemplateObject",ZI),e("__importStar",GI),e("__importDefault",WI),e("__classPrivateFieldGet",YI),e("__classPrivateFieldSet",XI)})});var Gb=_e(sc=>{"use strict";c();d();f();Object.defineProperty(sc,"__esModule",{value:!0});sc.PINO_CUSTOM_CONTEXT_KEY=sc.PINO_LOGGER_DEFAULTS=void 0;sc.PINO_LOGGER_DEFAULTS={level:"info"};sc.PINO_CUSTOM_CONTEXT_KEY="custom_context"});var oA=_e(Pn=>{"use strict";c();d();f();Object.defineProperty(Pn,"__esModule",{value:!0});Pn.generateChildLogger=Pn.formatChildLoggerContext=Pn.getLoggerContext=Pn.setBrowserLoggerContext=Pn.getBrowserLoggerContext=Pn.getDefaultLoggerOptions=void 0;var ac=Gb();function QW(e){return Object.assign(Object.assign({},e),{level:(e==null?void 0:e.level)||ac.PINO_LOGGER_DEFAULTS.level})}Pn.getDefaultLoggerOptions=QW;function eA(e,t=ac.PINO_CUSTOM_CONTEXT_KEY){return e[t]||""}Pn.getBrowserLoggerContext=eA;function tA(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){return e[r]=t,e}Pn.setBrowserLoggerContext=tA;function rA(e,t=ac.PINO_CUSTOM_CONTEXT_KEY){let r="";return typeof e.bindings>"u"?r=eA(e,t):r=e.bindings().context||"",r}Pn.getLoggerContext=rA;function nA(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){let n=rA(e,r);return n.trim()?`${n}/${t}`:t}Pn.formatChildLoggerContext=nA;function eY(e,t,r=ac.PINO_CUSTOM_CONTEXT_KEY){let n=nA(e,t,r),o=e.child({context:n});return tA(o,n,r)}Pn.generateChildLogger=eY});var Yb=_e(uc=>{"use strict";c();d();f();Object.defineProperty(uc,"__esModule",{value:!0});uc.pino=void 0;var Wb=QI(),tY=Wb.__importDefault(s1());Object.defineProperty(uc,"pino",{enumerable:!0,get:function(){return tY.default}});Wb.__exportStar(Gb(),uc);Wb.__exportStar(oA(),uc)});var aA=_e(B1=>{"use strict";c();d();f();Object.defineProperty(B1,"__esModule",{value:!0});B1.BrowserRandomSource=void 0;var sA=65536,Xb=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let t=typeof self<"u"?self.crypto||self.msCrypto:null;t&&t.getRandomValues!==void 0&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let r=new Uint8Array(t);for(let n=0;n<r.length;n+=sA)this._crypto.getRandomValues(r.subarray(n,n+Math.min(r.length-n,sA)));return r}};B1.BrowserRandomSource=Xb});var po=_e(Jb=>{"use strict";c();d();f();Object.defineProperty(Jb,"__esModule",{value:!0});function rY(e){for(var t=0;t<e.length;t++)e[t]=0;return e}Jb.wipe=rY});var uA=_e(()=>{c();d();f()});var lA=_e(V1=>{"use strict";c();d();f();Object.defineProperty(V1,"__esModule",{value:!0});V1.NodeRandomSource=void 0;var nY=po(),Qb=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof t3<"u"){let t=uA();t&&t.randomBytes&&(this._crypto=t,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(t){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(t);if(r.length!==t)throw new Error("NodeRandomSource: got fewer bytes than requested");let n=new Uint8Array(t);for(let o=0;o<n.length;o++)n[o]=r[o];return(0,nY.wipe)(r),n}};V1.NodeRandomSource=Qb});var cA=_e(j1=>{"use strict";c();d();f();Object.defineProperty(j1,"__esModule",{value:!0});j1.SystemRandomSource=void 0;var oY=aA(),iY=lA(),e_=class{constructor(){if(this.isAvailable=!1,this.name="",this._source=new oY.BrowserRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Browser";return}if(this._source=new iY.NodeRandomSource,this._source.isAvailable){this.isAvailable=!0,this.name="Node";return}}randomBytes(t){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(t)}};j1.SystemRandomSource=e_});var fA=_e(Yn=>{"use strict";c();d();f();Object.defineProperty(Yn,"__esModule",{value:!0});function sY(e,t){var r=e>>>16&65535,n=e&65535,o=t>>>16&65535,i=t&65535;return n*i+(r*i+n*o<<16>>>0)|0}Yn.mul=Math.imul||sY;function aY(e,t){return e+t|0}Yn.add=aY;function uY(e,t){return e-t|0}Yn.sub=uY;function lY(e,t){return e<<t|e>>>32-t}Yn.rotl=lY;function cY(e,t){return e<<32-t|e>>>t}Yn.rotr=cY;function fY(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}Yn.isInteger=Number.isInteger||fY;Yn.MAX_SAFE_INTEGER=9007199254740991;Yn.isSafeInteger=function(e){return Yn.isInteger(e)&&e>=-Yn.MAX_SAFE_INTEGER&&e<=Yn.MAX_SAFE_INTEGER}});var cc=_e(it=>{"use strict";c();d();f();Object.defineProperty(it,"__esModule",{value:!0});var dA=fA();function dY(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16}it.readInt16BE=dY;function hY(e,t){return t===void 0&&(t=0),(e[t+0]<<8|e[t+1])>>>0}it.readUint16BE=hY;function pY(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])<<16>>16}it.readInt16LE=pY;function mY(e,t){return t===void 0&&(t=0),(e[t+1]<<8|e[t])>>>0}it.readUint16LE=mY;function hA(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}it.writeUint16BE=hA;it.writeInt16BE=hA;function pA(e,t,r){return t===void 0&&(t=new Uint8Array(2)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}it.writeUint16LE=pA;it.writeInt16LE=pA;function t_(e,t){return t===void 0&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}it.readInt32BE=t_;function r_(e,t){return t===void 0&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}it.readUint32BE=r_;function n_(e,t){return t===void 0&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}it.readInt32LE=n_;function o_(e,t){return t===void 0&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}it.readUint32LE=o_;function z1(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}it.writeUint32BE=z1;it.writeInt32BE=z1;function H1(e,t,r){return t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}it.writeUint32LE=H1;it.writeInt32LE=H1;function gY(e,t){t===void 0&&(t=0);var r=t_(e,t),n=t_(e,t+4);return r*4294967296+n-(n>>31)*4294967296}it.readInt64BE=gY;function yY(e,t){t===void 0&&(t=0);var r=r_(e,t),n=r_(e,t+4);return r*4294967296+n}it.readUint64BE=yY;function vY(e,t){t===void 0&&(t=0);var r=n_(e,t),n=n_(e,t+4);return n*4294967296+r-(r>>31)*4294967296}it.readInt64LE=vY;function wY(e,t){t===void 0&&(t=0);var r=o_(e,t),n=o_(e,t+4);return n*4294967296+r}it.readUint64LE=wY;function mA(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),z1(e/4294967296>>>0,t,r),z1(e>>>0,t,r+4),t}it.writeUint64BE=mA;it.writeInt64BE=mA;function gA(e,t,r){return t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0),H1(e>>>0,t,r),H1(e/4294967296>>>0,t,r+4),t}it.writeUint64LE=gA;it.writeInt64LE=gA;function bY(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var n=0,o=1,i=e/8+r-1;i>=r;i--)n+=t[i]*o,o*=256;return n}it.readUintBE=bY;function _Y(e,t,r){if(r===void 0&&(r=0),e%8!==0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var n=0,o=1,i=r;i<r+e/8;i++)n+=t[i]*o,o*=256;return n}it.readUintLE=_Y;function xY(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!dA.isSafeInteger(t))throw new Error("writeUintBE value must be an integer");for(var o=1,i=e/8+n-1;i>=n;i--)r[i]=t/o&255,o*=256;return r}it.writeUintBE=xY;function EY(e,t,r,n){if(r===void 0&&(r=new Uint8Array(e/8)),n===void 0&&(n=0),e%8!==0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!dA.isSafeInteger(t))throw new Error("writeUintLE value must be an integer");for(var o=1,i=n;i<n+e/8;i++)r[i]=t/o&255,o*=256;return r}it.writeUintLE=EY;function SY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t)}it.readFloat32BE=SY;function CY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat32(t,!0)}it.readFloat32LE=CY;function MY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t)}it.readFloat64BE=MY;function TY(e,t){t===void 0&&(t=0);var r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getFloat64(t,!0)}it.readFloat64LE=TY;function PY(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e),t}it.writeFloat32BE=PY;function OY(e,t,r){t===void 0&&(t=new Uint8Array(4)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat32(r,e,!0),t}it.writeFloat32LE=OY;function DY(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e),t}it.writeFloat64BE=DY;function IY(e,t,r){t===void 0&&(t=new Uint8Array(8)),r===void 0&&(r=0);var n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.setFloat64(r,e,!0),t}it.writeFloat64LE=IY});var qa=_e(Xr=>{"use strict";c();d();f();Object.defineProperty(Xr,"__esModule",{value:!0});Xr.randomStringForEntropy=Xr.randomString=Xr.randomUint32=Xr.randomBytes=Xr.defaultRandomSource=void 0;var AY=cA(),NY=cc(),yA=po();Xr.defaultRandomSource=new AY.SystemRandomSource;function i_(e,t=Xr.defaultRandomSource){return t.randomBytes(e)}Xr.randomBytes=i_;function RY(e=Xr.defaultRandomSource){let t=i_(4,e),r=(0,NY.readUint32LE)(t);return(0,yA.wipe)(t),r}Xr.randomUint32=RY;var vA="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function wA(e,t=vA,r=Xr.defaultRandomSource){if(t.length<2)throw new Error("randomString charset is too short");if(t.length>256)throw new Error("randomString charset is too long");let n="",o=t.length,i=256-256%o;for(;e>0;){let s=i_(Math.ceil(e*256/i),r);for(let a=0;a<s.length&&e>0;a++){let u=s[a];u<i&&(n+=t.charAt(u%o),e--)}(0,yA.wipe)(s)}return n}Xr.randomString=wA;function kY(e,t=vA,r=Xr.defaultRandomSource){let n=Math.ceil(e/(Math.log(t.length)/Math.LN2));return wA(n,t,r)}Xr.randomStringForEntropy=kY});var xA=_e(Fi=>{"use strict";c();d();f();Object.defineProperty(Fi,"__esModule",{value:!0});var dc=cc(),fc=po();Fi.DIGEST_LENGTH=64;Fi.BLOCK_SIZE=128;var _A=function(){function e(){this.digestLength=Fi.DIGEST_LENGTH,this.blockSize=Fi.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){fc.wipe(this._buffer),fc.wipe(this._tempHi),fc.wipe(this._tempLo),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<Fi.BLOCK_SIZE&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%128<112?128:256;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;dc.writeUint32BE(o,this._buffer,s-8),dc.writeUint32BE(i,this._buffer,s-4),s_(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/8;a++)dc.writeUint32BE(this._stateHi[a],t,a*8),dc.writeUint32BE(this._stateLo[a],t,a*8+4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._stateHi.set(t.stateHi),this._stateLo.set(t.stateLo),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){fc.wipe(t.stateHi),fc.wipe(t.stateLo),t.buffer&&fc.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();Fi.SHA512=_A;var bA=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function s_(e,t,r,n,o,i,s){for(var a=r[0],u=r[1],l=r[2],p=r[3],h=r[4],y=r[5],b=r[6],v=r[7],C=n[0],N=n[1],M=n[2],T=n[3],I=n[4],U=n[5],K=n[6],J=n[7],j,Z,le,me,fe,W,A,g;s>=128;){for(var w=0;w<16;w++){var E=8*w+i;e[w]=dc.readUint32BE(o,E),t[w]=dc.readUint32BE(o,E+4)}for(var w=0;w<80;w++){var D=a,k=u,B=l,q=p,$=h,_=y,V=b,ie=v,O=C,Y=N,ne=M,ae=T,he=I,X=U,Q=K,G=J;if(j=v,Z=J,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=(h>>>14|I<<32-14)^(h>>>18|I<<32-18)^(I>>>41-32|h<<32-(41-32)),Z=(I>>>14|h<<32-14)^(I>>>18|h<<32-18)^(h>>>41-32|I<<32-(41-32)),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=h&y^~h&b,Z=I&U^~I&K,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=bA[w*2],Z=bA[w*2+1],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=e[w%16],Z=t[w%16],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,le=A&65535|g<<16,me=fe&65535|W<<16,j=le,Z=me,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=(a>>>28|C<<32-28)^(C>>>34-32|a<<32-(34-32))^(C>>>39-32|a<<32-(39-32)),Z=(C>>>28|a<<32-28)^(a>>>34-32|C<<32-(34-32))^(a>>>39-32|C<<32-(39-32)),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,j=a&u^a&l^u&l,Z=C&N^C&M^N&M,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,ie=A&65535|g<<16,G=fe&65535|W<<16,j=q,Z=ae,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=le,Z=me,fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,q=A&65535|g<<16,ae=fe&65535|W<<16,u=D,l=k,p=B,h=q,y=$,b=_,v=V,a=ie,N=O,M=Y,T=ne,I=ae,U=he,K=X,J=Q,C=G,w%16===15)for(var E=0;E<16;E++)j=e[E],Z=t[E],fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=e[(E+9)%16],Z=t[(E+9)%16],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,le=e[(E+1)%16],me=t[(E+1)%16],j=(le>>>1|me<<32-1)^(le>>>8|me<<32-8)^le>>>7,Z=(me>>>1|le<<32-1)^(me>>>8|le<<32-8)^(me>>>7|le<<32-7),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,le=e[(E+14)%16],me=t[(E+14)%16],j=(le>>>19|me<<32-19)^(me>>>61-32|le<<32-(61-32))^le>>>6,Z=(me>>>19|le<<32-19)^(le>>>61-32|me<<32-(61-32))^(me>>>6|le<<32-6),fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,e[E]=A&65535|g<<16,t[E]=fe&65535|W<<16}j=a,Z=C,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[0],Z=n[0],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[0]=a=A&65535|g<<16,n[0]=C=fe&65535|W<<16,j=u,Z=N,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[1],Z=n[1],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[1]=u=A&65535|g<<16,n[1]=N=fe&65535|W<<16,j=l,Z=M,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[2],Z=n[2],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[2]=l=A&65535|g<<16,n[2]=M=fe&65535|W<<16,j=p,Z=T,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[3],Z=n[3],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[3]=p=A&65535|g<<16,n[3]=T=fe&65535|W<<16,j=h,Z=I,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[4],Z=n[4],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[4]=h=A&65535|g<<16,n[4]=I=fe&65535|W<<16,j=y,Z=U,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[5],Z=n[5],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[5]=y=A&65535|g<<16,n[5]=U=fe&65535|W<<16,j=b,Z=K,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[6],Z=n[6],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[6]=b=A&65535|g<<16,n[6]=K=fe&65535|W<<16,j=v,Z=J,fe=Z&65535,W=Z>>>16,A=j&65535,g=j>>>16,j=r[7],Z=n[7],fe+=Z&65535,W+=Z>>>16,A+=j&65535,g+=j>>>16,W+=fe>>>16,A+=W>>>16,g+=A>>>16,r[7]=v=A&65535|g<<16,n[7]=J=fe&65535|W<<16,i+=128,s-=128}return i}function LY(e){var t=new _A;t.update(e);var r=t.digest();return t.clean(),r}Fi.hash=LY});var LA=_e(Mt=>{"use strict";c();d();f();Object.defineProperty(Mt,"__esModule",{value:!0});Mt.convertSecretKeyToX25519=Mt.convertPublicKeyToX25519=Mt.verify=Mt.sign=Mt.extractPublicKeyFromSecretKey=Mt.generateKeyPair=Mt.generateKeyPairFromSeed=Mt.SEED_LENGTH=Mt.SECRET_KEY_LENGTH=Mt.PUBLIC_KEY_LENGTH=Mt.SIGNATURE_LENGTH=void 0;var FY=qa(),Dd=xA(),TA=po();Mt.SIGNATURE_LENGTH=64;Mt.PUBLIC_KEY_LENGTH=32;Mt.SECRET_KEY_LENGTH=64;Mt.SEED_LENGTH=32;function Ve(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var UY=new Uint8Array(32);UY[0]=9;var l_=Ve(),hc=Ve([1]),$Y=Ve([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),BY=Ve([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),EA=Ve([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),SA=Ve([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),VY=Ve([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function zs(e,t){for(let r=0;r<16;r++)e[r]=t[r]|0}function a_(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function PA(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function Id(e,t){let r=Ve(),n=Ve();for(let o=0;o<16;o++)n[o]=t[o];a_(n),a_(n),a_(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,PA(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function OA(e,t){let r=0;for(let n=0;n<32;n++)r|=e[n]^t[n];return(1&r-1>>>8)-1}function CA(e,t){let r=new Uint8Array(32),n=new Uint8Array(32);return Id(r,e),Id(n,t),OA(r,n)}function DA(e){let t=new Uint8Array(32);return Id(t,e),t[0]&1}function jY(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function Ka(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function Ga(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Ot(e,t,r){let n,o,i=0,s=0,a=0,u=0,l=0,p=0,h=0,y=0,b=0,v=0,C=0,N=0,M=0,T=0,I=0,U=0,K=0,J=0,j=0,Z=0,le=0,me=0,fe=0,W=0,A=0,g=0,w=0,E=0,D=0,k=0,B=0,q=r[0],$=r[1],_=r[2],V=r[3],ie=r[4],O=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],X=r[10],Q=r[11],G=r[12],ue=r[13],re=r[14],ge=r[15];n=t[0],i+=n*q,s+=n*$,a+=n*_,u+=n*V,l+=n*ie,p+=n*O,h+=n*Y,y+=n*ne,b+=n*ae,v+=n*he,C+=n*X,N+=n*Q,M+=n*G,T+=n*ue,I+=n*re,U+=n*ge,n=t[1],s+=n*q,a+=n*$,u+=n*_,l+=n*V,p+=n*ie,h+=n*O,y+=n*Y,b+=n*ne,v+=n*ae,C+=n*he,N+=n*X,M+=n*Q,T+=n*G,I+=n*ue,U+=n*re,K+=n*ge,n=t[2],a+=n*q,u+=n*$,l+=n*_,p+=n*V,h+=n*ie,y+=n*O,b+=n*Y,v+=n*ne,C+=n*ae,N+=n*he,M+=n*X,T+=n*Q,I+=n*G,U+=n*ue,K+=n*re,J+=n*ge,n=t[3],u+=n*q,l+=n*$,p+=n*_,h+=n*V,y+=n*ie,b+=n*O,v+=n*Y,C+=n*ne,N+=n*ae,M+=n*he,T+=n*X,I+=n*Q,U+=n*G,K+=n*ue,J+=n*re,j+=n*ge,n=t[4],l+=n*q,p+=n*$,h+=n*_,y+=n*V,b+=n*ie,v+=n*O,C+=n*Y,N+=n*ne,M+=n*ae,T+=n*he,I+=n*X,U+=n*Q,K+=n*G,J+=n*ue,j+=n*re,Z+=n*ge,n=t[5],p+=n*q,h+=n*$,y+=n*_,b+=n*V,v+=n*ie,C+=n*O,N+=n*Y,M+=n*ne,T+=n*ae,I+=n*he,U+=n*X,K+=n*Q,J+=n*G,j+=n*ue,Z+=n*re,le+=n*ge,n=t[6],h+=n*q,y+=n*$,b+=n*_,v+=n*V,C+=n*ie,N+=n*O,M+=n*Y,T+=n*ne,I+=n*ae,U+=n*he,K+=n*X,J+=n*Q,j+=n*G,Z+=n*ue,le+=n*re,me+=n*ge,n=t[7],y+=n*q,b+=n*$,v+=n*_,C+=n*V,N+=n*ie,M+=n*O,T+=n*Y,I+=n*ne,U+=n*ae,K+=n*he,J+=n*X,j+=n*Q,Z+=n*G,le+=n*ue,me+=n*re,fe+=n*ge,n=t[8],b+=n*q,v+=n*$,C+=n*_,N+=n*V,M+=n*ie,T+=n*O,I+=n*Y,U+=n*ne,K+=n*ae,J+=n*he,j+=n*X,Z+=n*Q,le+=n*G,me+=n*ue,fe+=n*re,W+=n*ge,n=t[9],v+=n*q,C+=n*$,N+=n*_,M+=n*V,T+=n*ie,I+=n*O,U+=n*Y,K+=n*ne,J+=n*ae,j+=n*he,Z+=n*X,le+=n*Q,me+=n*G,fe+=n*ue,W+=n*re,A+=n*ge,n=t[10],C+=n*q,N+=n*$,M+=n*_,T+=n*V,I+=n*ie,U+=n*O,K+=n*Y,J+=n*ne,j+=n*ae,Z+=n*he,le+=n*X,me+=n*Q,fe+=n*G,W+=n*ue,A+=n*re,g+=n*ge,n=t[11],N+=n*q,M+=n*$,T+=n*_,I+=n*V,U+=n*ie,K+=n*O,J+=n*Y,j+=n*ne,Z+=n*ae,le+=n*he,me+=n*X,fe+=n*Q,W+=n*G,A+=n*ue,g+=n*re,w+=n*ge,n=t[12],M+=n*q,T+=n*$,I+=n*_,U+=n*V,K+=n*ie,J+=n*O,j+=n*Y,Z+=n*ne,le+=n*ae,me+=n*he,fe+=n*X,W+=n*Q,A+=n*G,g+=n*ue,w+=n*re,E+=n*ge,n=t[13],T+=n*q,I+=n*$,U+=n*_,K+=n*V,J+=n*ie,j+=n*O,Z+=n*Y,le+=n*ne,me+=n*ae,fe+=n*he,W+=n*X,A+=n*Q,g+=n*G,w+=n*ue,E+=n*re,D+=n*ge,n=t[14],I+=n*q,U+=n*$,K+=n*_,J+=n*V,j+=n*ie,Z+=n*O,le+=n*Y,me+=n*ne,fe+=n*ae,W+=n*he,A+=n*X,g+=n*Q,w+=n*G,E+=n*ue,D+=n*re,k+=n*ge,n=t[15],U+=n*q,K+=n*$,J+=n*_,j+=n*V,Z+=n*ie,le+=n*O,me+=n*Y,fe+=n*ne,W+=n*ae,A+=n*he,g+=n*X,w+=n*Q,E+=n*G,D+=n*ue,k+=n*re,B+=n*ge,i+=38*K,s+=38*J,a+=38*j,u+=38*Z,l+=38*le,p+=38*me,h+=38*fe,y+=38*W,b+=38*A,v+=38*g,C+=38*w,N+=38*E,M+=38*D,T+=38*k,I+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=u,e[4]=l,e[5]=p,e[6]=h,e[7]=y,e[8]=b,e[9]=v,e[10]=C,e[11]=N,e[12]=M,e[13]=T,e[14]=I,e[15]=U}function Za(e,t){Ot(e,t,t)}function IA(e,t){let r=Ve(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=253;n>=0;n--)Za(r,r),n!==2&&n!==4&&Ot(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function zY(e,t){let r=Ve(),n;for(n=0;n<16;n++)r[n]=t[n];for(n=250;n>=0;n--)Za(r,r),n!==1&&Ot(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function c_(e,t){let r=Ve(),n=Ve(),o=Ve(),i=Ve(),s=Ve(),a=Ve(),u=Ve(),l=Ve(),p=Ve();Ga(r,e[1],e[0]),Ga(p,t[1],t[0]),Ot(r,r,p),Ka(n,e[0],e[1]),Ka(p,t[0],t[1]),Ot(n,n,p),Ot(o,e[3],t[3]),Ot(o,o,BY),Ot(i,e[2],t[2]),Ka(i,i,i),Ga(s,n,r),Ga(a,i,o),Ka(u,i,o),Ka(l,n,r),Ot(e[0],s,a),Ot(e[1],l,u),Ot(e[2],u,a),Ot(e[3],s,l)}function MA(e,t,r){for(let n=0;n<4;n++)PA(e[n],t[n],r)}function d_(e,t){let r=Ve(),n=Ve(),o=Ve();IA(o,t[2]),Ot(r,t[0],o),Ot(n,t[1],o),Id(e,n),e[31]^=DA(r)<<7}function AA(e,t,r){zs(e[0],l_),zs(e[1],hc),zs(e[2],hc),zs(e[3],l_);for(let n=255;n>=0;--n){let o=r[n/8|0]>>(n&7)&1;MA(e,t,o),c_(t,e),c_(e,e),MA(e,t,o)}}function h_(e,t){let r=[Ve(),Ve(),Ve(),Ve()];zs(r[0],EA),zs(r[1],SA),zs(r[2],hc),Ot(r[3],EA,SA),AA(e,r,t)}function NA(e){if(e.length!==Mt.SEED_LENGTH)throw new Error(`ed25519: seed must be ${Mt.SEED_LENGTH} bytes`);let t=(0,Dd.hash)(e);t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(32),n=[Ve(),Ve(),Ve(),Ve()];h_(n,t),d_(r,n);let o=new Uint8Array(64);return o.set(e),o.set(r,32),{publicKey:r,secretKey:o}}Mt.generateKeyPairFromSeed=NA;function HY(e){let t=(0,FY.randomBytes)(32,e),r=NA(t);return(0,TA.wipe)(t),r}Mt.generateKeyPair=HY;function qY(e){if(e.length!==Mt.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${Mt.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(e.subarray(32))}Mt.extractPublicKeyFromSecretKey=qY;var u_=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function RA(e,t){let r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o<i;++o)t[o]+=r-16*t[n]*u_[o-(n-32)],r=Math.floor((t[o]+128)/256),t[o]-=r*256;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*u_[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*u_[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=t[n]&255}function f_(e){let t=new Float64Array(64);for(let r=0;r<64;r++)t[r]=e[r];for(let r=0;r<64;r++)e[r]=0;RA(e,t)}function KY(e,t){let r=new Float64Array(64),n=[Ve(),Ve(),Ve(),Ve()],o=(0,Dd.hash)(e.subarray(0,32));o[0]&=248,o[31]&=127,o[31]|=64;let i=new Uint8Array(64);i.set(o.subarray(32),32);let s=new Dd.SHA512;s.update(i.subarray(32)),s.update(t);let a=s.digest();s.clean(),f_(a),h_(n,a),d_(i,n),s.reset(),s.update(i.subarray(0,32)),s.update(e.subarray(32)),s.update(t);let u=s.digest();f_(u);for(let l=0;l<32;l++)r[l]=a[l];for(let l=0;l<32;l++)for(let p=0;p<32;p++)r[l+p]+=u[l]*o[p];return RA(i.subarray(32),r),i}Mt.sign=KY;function kA(e,t){let r=Ve(),n=Ve(),o=Ve(),i=Ve(),s=Ve(),a=Ve(),u=Ve();return zs(e[2],hc),jY(e[1],t),Za(o,e[1]),Ot(i,o,$Y),Ga(o,o,e[2]),Ka(i,e[2],i),Za(s,i),Za(a,s),Ot(u,a,s),Ot(r,u,o),Ot(r,r,i),zY(r,r),Ot(r,r,o),Ot(r,r,i),Ot(r,r,i),Ot(e[0],r,i),Za(n,e[0]),Ot(n,n,i),CA(n,o)&&Ot(e[0],e[0],VY),Za(n,e[0]),Ot(n,n,i),CA(n,o)?-1:(DA(e[0])===t[31]>>7&&Ga(e[0],l_,e[0]),Ot(e[3],e[0],e[1]),0)}function ZY(e,t,r){let n=new Uint8Array(32),o=[Ve(),Ve(),Ve(),Ve()],i=[Ve(),Ve(),Ve(),Ve()];if(r.length!==Mt.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${Mt.SIGNATURE_LENGTH} bytes`);if(kA(i,e))return!1;let s=new Dd.SHA512;s.update(r.subarray(0,32)),s.update(e),s.update(t);let a=s.digest();return f_(a),AA(o,i,a),h_(i,r.subarray(32)),c_(o,i),d_(n,o),!OA(r,n)}Mt.verify=ZY;function GY(e){let t=[Ve(),Ve(),Ve(),Ve()];if(kA(t,e))throw new Error("Ed25519: invalid public key");let r=Ve(),n=Ve(),o=t[1];Ka(r,hc,o),Ga(n,hc,o),IA(n,n),Ot(r,r,n);let i=new Uint8Array(32);return Id(i,r),i}Mt.convertPublicKeyToX25519=GY;function WY(e){let t=(0,Dd.hash)(e.subarray(0,32));t[0]&=248,t[31]&=127,t[31]|=64;let r=new Uint8Array(t.subarray(0,32));return(0,TA.wipe)(t),r}Mt.convertSecretKeyToX25519=WY});var wN=_e(eg=>{"use strict";c();d();f();Object.defineProperty(eg,"__esModule",{value:!0});var Jr=cc(),U_=po(),lJ=20;function cJ(e,t,r){for(var n=1634760805,o=857760878,i=2036477234,s=1797285236,a=r[3]<<24|r[2]<<16|r[1]<<8|r[0],u=r[7]<<24|r[6]<<16|r[5]<<8|r[4],l=r[11]<<24|r[10]<<16|r[9]<<8|r[8],p=r[15]<<24|r[14]<<16|r[13]<<8|r[12],h=r[19]<<24|r[18]<<16|r[17]<<8|r[16],y=r[23]<<24|r[22]<<16|r[21]<<8|r[20],b=r[27]<<24|r[26]<<16|r[25]<<8|r[24],v=r[31]<<24|r[30]<<16|r[29]<<8|r[28],C=t[3]<<24|t[2]<<16|t[1]<<8|t[0],N=t[7]<<24|t[6]<<16|t[5]<<8|t[4],M=t[11]<<24|t[10]<<16|t[9]<<8|t[8],T=t[15]<<24|t[14]<<16|t[13]<<8|t[12],I=n,U=o,K=i,J=s,j=a,Z=u,le=l,me=p,fe=h,W=y,A=b,g=v,w=C,E=N,D=M,k=T,B=0;B<lJ;B+=2)I=I+j|0,w^=I,w=w>>>32-16|w<<16,fe=fe+w|0,j^=fe,j=j>>>32-12|j<<12,U=U+Z|0,E^=U,E=E>>>32-16|E<<16,W=W+E|0,Z^=W,Z=Z>>>32-12|Z<<12,K=K+le|0,D^=K,D=D>>>32-16|D<<16,A=A+D|0,le^=A,le=le>>>32-12|le<<12,J=J+me|0,k^=J,k=k>>>32-16|k<<16,g=g+k|0,me^=g,me=me>>>32-12|me<<12,K=K+le|0,D^=K,D=D>>>32-8|D<<8,A=A+D|0,le^=A,le=le>>>32-7|le<<7,J=J+me|0,k^=J,k=k>>>32-8|k<<8,g=g+k|0,me^=g,me=me>>>32-7|me<<7,U=U+Z|0,E^=U,E=E>>>32-8|E<<8,W=W+E|0,Z^=W,Z=Z>>>32-7|Z<<7,I=I+j|0,w^=I,w=w>>>32-8|w<<8,fe=fe+w|0,j^=fe,j=j>>>32-7|j<<7,I=I+Z|0,k^=I,k=k>>>32-16|k<<16,A=A+k|0,Z^=A,Z=Z>>>32-12|Z<<12,U=U+le|0,w^=U,w=w>>>32-16|w<<16,g=g+w|0,le^=g,le=le>>>32-12|le<<12,K=K+me|0,E^=K,E=E>>>32-16|E<<16,fe=fe+E|0,me^=fe,me=me>>>32-12|me<<12,J=J+j|0,D^=J,D=D>>>32-16|D<<16,W=W+D|0,j^=W,j=j>>>32-12|j<<12,K=K+me|0,E^=K,E=E>>>32-8|E<<8,fe=fe+E|0,me^=fe,me=me>>>32-7|me<<7,J=J+j|0,D^=J,D=D>>>32-8|D<<8,W=W+D|0,j^=W,j=j>>>32-7|j<<7,U=U+le|0,w^=U,w=w>>>32-8|w<<8,g=g+w|0,le^=g,le=le>>>32-7|le<<7,I=I+Z|0,k^=I,k=k>>>32-8|k<<8,A=A+k|0,Z^=A,Z=Z>>>32-7|Z<<7;Jr.writeUint32LE(I+n|0,e,0),Jr.writeUint32LE(U+o|0,e,4),Jr.writeUint32LE(K+i|0,e,8),Jr.writeUint32LE(J+s|0,e,12),Jr.writeUint32LE(j+a|0,e,16),Jr.writeUint32LE(Z+u|0,e,20),Jr.writeUint32LE(le+l|0,e,24),Jr.writeUint32LE(me+p|0,e,28),Jr.writeUint32LE(fe+h|0,e,32),Jr.writeUint32LE(W+y|0,e,36),Jr.writeUint32LE(A+b|0,e,40),Jr.writeUint32LE(g+v|0,e,44),Jr.writeUint32LE(w+C|0,e,48),Jr.writeUint32LE(E+N|0,e,52),Jr.writeUint32LE(D+M|0,e,56),Jr.writeUint32LE(k+T|0,e,60)}function vN(e,t,r,n,o){if(o===void 0&&(o=0),e.length!==32)throw new Error("ChaCha: key size must be 32 bytes");if(n.length<r.length)throw new Error("ChaCha: destination is shorter than source");var i,s;if(o===0){if(t.length!==8&&t.length!==12)throw new Error("ChaCha nonce must be 8 or 12 bytes");i=new Uint8Array(16),s=i.length-t.length,i.set(t,s)}else{if(t.length!==16)throw new Error("ChaCha nonce with counter must be 16 bytes");i=t,s=o}for(var a=new Uint8Array(64),u=0;u<r.length;u+=64){cJ(a,i,e);for(var l=u;l<u+64&&l<r.length;l++)n[l]=r[l]^a[l-u];dJ(i,0,s)}return U_.wipe(a),o===0&&U_.wipe(i),n}eg.streamXOR=vN;function fJ(e,t,r,n){return n===void 0&&(n=0),U_.wipe(r),vN(e,t,r,r,n)}eg.stream=fJ;function dJ(e,t,r){for(var n=1;r--;)n=n+(e[t]&255)|0,e[t]=n&255,n>>>=8,t++;if(n>0)throw new Error("ChaCha: counter overflow")}});var tg=_e(_c=>{"use strict";c();d();f();Object.defineProperty(_c,"__esModule",{value:!0});function hJ(e,t,r){return~(e-1)&t|e-1&r}_c.select=hJ;function pJ(e,t){return(e|0)-(t|0)-1>>>31&1}_c.lessOrEqual=pJ;function bN(e,t){if(e.length!==t.length)return 0;for(var r=0,n=0;n<e.length;n++)r|=e[n]^t[n];return 1&r-1>>>8}_c.compare=bN;function mJ(e,t){return e.length===0||t.length===0?!1:bN(e,t)!==0}_c.equal=mJ});var xN=_e($i=>{"use strict";c();d();f();Object.defineProperty($i,"__esModule",{value:!0});var gJ=tg(),rg=po();$i.DIGEST_LENGTH=16;var _N=function(){function e(t){this.digestLength=$i.DIGEST_LENGTH,this._buffer=new Uint8Array(16),this._r=new Uint16Array(10),this._h=new Uint16Array(10),this._pad=new Uint16Array(8),this._leftover=0,this._fin=0,this._finished=!1;var r=t[0]|t[1]<<8;this._r[0]=r&8191;var n=t[2]|t[3]<<8;this._r[1]=(r>>>13|n<<3)&8191;var o=t[4]|t[5]<<8;this._r[2]=(n>>>10|o<<6)&7939;var i=t[6]|t[7]<<8;this._r[3]=(o>>>7|i<<9)&8191;var s=t[8]|t[9]<<8;this._r[4]=(i>>>4|s<<12)&255,this._r[5]=s>>>1&8190;var a=t[10]|t[11]<<8;this._r[6]=(s>>>14|a<<2)&8191;var u=t[12]|t[13]<<8;this._r[7]=(a>>>11|u<<5)&8065;var l=t[14]|t[15]<<8;this._r[8]=(u>>>8|l<<8)&8191,this._r[9]=l>>>5&127,this._pad[0]=t[16]|t[17]<<8,this._pad[1]=t[18]|t[19]<<8,this._pad[2]=t[20]|t[21]<<8,this._pad[3]=t[22]|t[23]<<8,this._pad[4]=t[24]|t[25]<<8,this._pad[5]=t[26]|t[27]<<8,this._pad[6]=t[28]|t[29]<<8,this._pad[7]=t[30]|t[31]<<8}return e.prototype._blocks=function(t,r,n){for(var o=this._fin?0:2048,i=this._h[0],s=this._h[1],a=this._h[2],u=this._h[3],l=this._h[4],p=this._h[5],h=this._h[6],y=this._h[7],b=this._h[8],v=this._h[9],C=this._r[0],N=this._r[1],M=this._r[2],T=this._r[3],I=this._r[4],U=this._r[5],K=this._r[6],J=this._r[7],j=this._r[8],Z=this._r[9];n>=16;){var le=t[r+0]|t[r+1]<<8;i+=le&8191;var me=t[r+2]|t[r+3]<<8;s+=(le>>>13|me<<3)&8191;var fe=t[r+4]|t[r+5]<<8;a+=(me>>>10|fe<<6)&8191;var W=t[r+6]|t[r+7]<<8;u+=(fe>>>7|W<<9)&8191;var A=t[r+8]|t[r+9]<<8;l+=(W>>>4|A<<12)&8191,p+=A>>>1&8191;var g=t[r+10]|t[r+11]<<8;h+=(A>>>14|g<<2)&8191;var w=t[r+12]|t[r+13]<<8;y+=(g>>>11|w<<5)&8191;var E=t[r+14]|t[r+15]<<8;b+=(w>>>8|E<<8)&8191,v+=E>>>5|o;var D=0,k=D;k+=i*C,k+=s*(5*Z),k+=a*(5*j),k+=u*(5*J),k+=l*(5*K),D=k>>>13,k&=8191,k+=p*(5*U),k+=h*(5*I),k+=y*(5*T),k+=b*(5*M),k+=v*(5*N),D+=k>>>13,k&=8191;var B=D;B+=i*N,B+=s*C,B+=a*(5*Z),B+=u*(5*j),B+=l*(5*J),D=B>>>13,B&=8191,B+=p*(5*K),B+=h*(5*U),B+=y*(5*I),B+=b*(5*T),B+=v*(5*M),D+=B>>>13,B&=8191;var q=D;q+=i*M,q+=s*N,q+=a*C,q+=u*(5*Z),q+=l*(5*j),D=q>>>13,q&=8191,q+=p*(5*J),q+=h*(5*K),q+=y*(5*U),q+=b*(5*I),q+=v*(5*T),D+=q>>>13,q&=8191;var $=D;$+=i*T,$+=s*M,$+=a*N,$+=u*C,$+=l*(5*Z),D=$>>>13,$&=8191,$+=p*(5*j),$+=h*(5*J),$+=y*(5*K),$+=b*(5*U),$+=v*(5*I),D+=$>>>13,$&=8191;var _=D;_+=i*I,_+=s*T,_+=a*M,_+=u*N,_+=l*C,D=_>>>13,_&=8191,_+=p*(5*Z),_+=h*(5*j),_+=y*(5*J),_+=b*(5*K),_+=v*(5*U),D+=_>>>13,_&=8191;var V=D;V+=i*U,V+=s*I,V+=a*T,V+=u*M,V+=l*N,D=V>>>13,V&=8191,V+=p*C,V+=h*(5*Z),V+=y*(5*j),V+=b*(5*J),V+=v*(5*K),D+=V>>>13,V&=8191;var ie=D;ie+=i*K,ie+=s*U,ie+=a*I,ie+=u*T,ie+=l*M,D=ie>>>13,ie&=8191,ie+=p*N,ie+=h*C,ie+=y*(5*Z),ie+=b*(5*j),ie+=v*(5*J),D+=ie>>>13,ie&=8191;var O=D;O+=i*J,O+=s*K,O+=a*U,O+=u*I,O+=l*T,D=O>>>13,O&=8191,O+=p*M,O+=h*N,O+=y*C,O+=b*(5*Z),O+=v*(5*j),D+=O>>>13,O&=8191;var Y=D;Y+=i*j,Y+=s*J,Y+=a*K,Y+=u*U,Y+=l*I,D=Y>>>13,Y&=8191,Y+=p*T,Y+=h*M,Y+=y*N,Y+=b*C,Y+=v*(5*Z),D+=Y>>>13,Y&=8191;var ne=D;ne+=i*Z,ne+=s*j,ne+=a*J,ne+=u*K,ne+=l*U,D=ne>>>13,ne&=8191,ne+=p*I,ne+=h*T,ne+=y*M,ne+=b*N,ne+=v*C,D+=ne>>>13,ne&=8191,D=(D<<2)+D|0,D=D+k|0,k=D&8191,D=D>>>13,B+=D,i=k,s=B,a=q,u=$,l=_,p=V,h=ie,y=O,b=Y,v=ne,r+=16,n-=16}this._h[0]=i,this._h[1]=s,this._h[2]=a,this._h[3]=u,this._h[4]=l,this._h[5]=p,this._h[6]=h,this._h[7]=y,this._h[8]=b,this._h[9]=v},e.prototype.finish=function(t,r){r===void 0&&(r=0);var n=new Uint16Array(10),o,i,s,a;if(this._leftover){for(a=this._leftover,this._buffer[a++]=1;a<16;a++)this._buffer[a]=0;this._fin=1,this._blocks(this._buffer,0,16)}for(o=this._h[1]>>>13,this._h[1]&=8191,a=2;a<10;a++)this._h[a]+=o,o=this._h[a]>>>13,this._h[a]&=8191;for(this._h[0]+=o*5,o=this._h[0]>>>13,this._h[0]&=8191,this._h[1]+=o,o=this._h[1]>>>13,this._h[1]&=8191,this._h[2]+=o,n[0]=this._h[0]+5,o=n[0]>>>13,n[0]&=8191,a=1;a<10;a++)n[a]=this._h[a]+o,o=n[a]>>>13,n[a]&=8191;for(n[9]-=1<<13,i=(o^1)-1,a=0;a<10;a++)n[a]&=i;for(i=~i,a=0;a<10;a++)this._h[a]=this._h[a]&i|n[a];for(this._h[0]=(this._h[0]|this._h[1]<<13)&65535,this._h[1]=(this._h[1]>>>3|this._h[2]<<10)&65535,this._h[2]=(this._h[2]>>>6|this._h[3]<<7)&65535,this._h[3]=(this._h[3]>>>9|this._h[4]<<4)&65535,this._h[4]=(this._h[4]>>>12|this._h[5]<<1|this._h[6]<<14)&65535,this._h[5]=(this._h[6]>>>2|this._h[7]<<11)&65535,this._h[6]=(this._h[7]>>>5|this._h[8]<<8)&65535,this._h[7]=(this._h[8]>>>8|this._h[9]<<5)&65535,s=this._h[0]+this._pad[0],this._h[0]=s&65535,a=1;a<8;a++)s=(this._h[a]+this._pad[a]|0)+(s>>>16)|0,this._h[a]=s&65535;return t[r+0]=this._h[0]>>>0,t[r+1]=this._h[0]>>>8,t[r+2]=this._h[1]>>>0,t[r+3]=this._h[1]>>>8,t[r+4]=this._h[2]>>>0,t[r+5]=this._h[2]>>>8,t[r+6]=this._h[3]>>>0,t[r+7]=this._h[3]>>>8,t[r+8]=this._h[4]>>>0,t[r+9]=this._h[4]>>>8,t[r+10]=this._h[5]>>>0,t[r+11]=this._h[5]>>>8,t[r+12]=this._h[6]>>>0,t[r+13]=this._h[6]>>>8,t[r+14]=this._h[7]>>>0,t[r+15]=this._h[7]>>>8,this._finished=!0,this},e.prototype.update=function(t){var r=0,n=t.length,o;if(this._leftover){o=16-this._leftover,o>n&&(o=n);for(var i=0;i<o;i++)this._buffer[this._leftover+i]=t[r+i];if(n-=o,r+=o,this._leftover+=o,this._leftover<16)return this;this._blocks(this._buffer,0,16),this._leftover=0}if(n>=16&&(o=n-n%16,this._blocks(t,r,o),r+=o,n-=o),n){for(var i=0;i<n;i++)this._buffer[this._leftover+i]=t[r+i];this._leftover+=n}return this},e.prototype.digest=function(){if(this._finished)throw new Error("Poly1305 was finished");var t=new Uint8Array(16);return this.finish(t),t},e.prototype.clean=function(){return rg.wipe(this._buffer),rg.wipe(this._r),rg.wipe(this._h),rg.wipe(this._pad),this._leftover=0,this._fin=0,this._finished=!0,this},e}();$i.Poly1305=_N;function yJ(e,t){var r=new _N(e);r.update(t);var n=r.digest();return r.clean(),n}$i.oneTimeAuth=yJ;function vJ(e,t){return e.length!==$i.DIGEST_LENGTH||t.length!==$i.DIGEST_LENGTH?!1:gJ.equal(e,t)}$i.equal=vJ});var og=_e(Bi=>{"use strict";c();d();f();Object.defineProperty(Bi,"__esModule",{value:!0});var ng=wN(),wJ=xN(),Fd=po(),EN=cc(),bJ=tg();Bi.KEY_LENGTH=32;Bi.NONCE_LENGTH=12;Bi.TAG_LENGTH=16;var SN=new Uint8Array(16),_J=function(){function e(t){if(this.nonceLength=Bi.NONCE_LENGTH,this.tagLength=Bi.TAG_LENGTH,t.length!==Bi.KEY_LENGTH)throw new Error("ChaCha20Poly1305 needs 32-byte key");this._key=new Uint8Array(t)}return e.prototype.seal=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);ng.stream(this._key,i,s,4);var a=r.length+this.tagLength,u;if(o){if(o.length!==a)throw new Error("ChaCha20Poly1305: incorrect destination length");u=o}else u=new Uint8Array(a);return ng.streamXOR(this._key,i,r,u,4),this._authenticate(u.subarray(u.length-this.tagLength,u.length),s,u.subarray(0,u.length-this.tagLength),n),Fd.wipe(i),u},e.prototype.open=function(t,r,n,o){if(t.length>16)throw new Error("ChaCha20Poly1305: incorrect nonce length");if(r.length<this.tagLength)return null;var i=new Uint8Array(16);i.set(t,i.length-t.length);var s=new Uint8Array(32);ng.stream(this._key,i,s,4);var a=new Uint8Array(this.tagLength);if(this._authenticate(a,s,r.subarray(0,r.length-this.tagLength),n),!bJ.equal(a,r.subarray(r.length-this.tagLength,r.length)))return null;var u=r.length-this.tagLength,l;if(o){if(o.length!==u)throw new Error("ChaCha20Poly1305: incorrect destination length");l=o}else l=new Uint8Array(u);return ng.streamXOR(this._key,i,r.subarray(0,r.length-this.tagLength),l,4),Fd.wipe(i),l},e.prototype.clean=function(){return Fd.wipe(this._key),this},e.prototype._authenticate=function(t,r,n,o){var i=new wJ.Poly1305(r);o&&(i.update(o),o.length%16>0&&i.update(SN.subarray(o.length%16))),i.update(n),n.length%16>0&&i.update(SN.subarray(n.length%16));var s=new Uint8Array(8);o&&EN.writeUint64LE(o.length,s),i.update(s),EN.writeUint64LE(n.length,s),i.update(s);for(var a=i.digest(),u=0;u<a.length;u++)t[u]=a[u];i.clean(),Fd.wipe(a),Fd.wipe(s)},e}();Bi.ChaCha20Poly1305=_J});var CN=_e($_=>{"use strict";c();d();f();Object.defineProperty($_,"__esModule",{value:!0});function xJ(e){return typeof e.saveState<"u"&&typeof e.restoreState<"u"&&typeof e.cleanSavedState<"u"}$_.isSerializableHash=xJ});var TN=_e(Ud=>{"use strict";c();d();f();Object.defineProperty(Ud,"__esModule",{value:!0});var ri=CN(),EJ=tg(),SJ=po(),MN=function(){function e(t,r){this._finished=!1,this._inner=new t,this._outer=new t,this.blockSize=this._outer.blockSize,this.digestLength=this._outer.digestLength;var n=new Uint8Array(this.blockSize);r.length>this.blockSize?this._inner.update(r).finish(n).clean():n.set(r);for(var o=0;o<n.length;o++)n[o]^=54;this._inner.update(n);for(var o=0;o<n.length;o++)n[o]^=106;this._outer.update(n),ri.isSerializableHash(this._inner)&&ri.isSerializableHash(this._outer)&&(this._innerKeyedState=this._inner.saveState(),this._outerKeyedState=this._outer.saveState()),SJ.wipe(n)}return e.prototype.reset=function(){if(!ri.isSerializableHash(this._inner)||!ri.isSerializableHash(this._outer))throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");return this._inner.restoreState(this._innerKeyedState),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.clean=function(){ri.isSerializableHash(this._inner)&&this._inner.cleanSavedState(this._innerKeyedState),ri.isSerializableHash(this._outer)&&this._outer.cleanSavedState(this._outerKeyedState),this._inner.clean(),this._outer.clean()},e.prototype.update=function(t){return this._inner.update(t),this},e.prototype.finish=function(t){return this._finished?(this._outer.finish(t),this):(this._inner.finish(t),this._outer.update(t.subarray(0,this.digestLength)).finish(t),this._finished=!0,this)},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(!ri.isSerializableHash(this._inner))throw new Error("hmac: can't saveState() because hash doesn't implement it");return this._inner.saveState()},e.prototype.restoreState=function(t){if(!ri.isSerializableHash(this._inner)||!ri.isSerializableHash(this._outer))throw new Error("hmac: can't restoreState() because hash doesn't implement it");return this._inner.restoreState(t),this._outer.restoreState(this._outerKeyedState),this._finished=!1,this},e.prototype.cleanSavedState=function(t){if(!ri.isSerializableHash(this._inner))throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");this._inner.cleanSavedState(t)},e}();Ud.HMAC=MN;function CJ(e,t,r){var n=new MN(e,t);n.update(r);var o=n.digest();return n.clean(),o}Ud.hmac=CJ;Ud.equal=EJ.equal});var ig=_e(B_=>{"use strict";c();d();f();Object.defineProperty(B_,"__esModule",{value:!0});var PN=TN(),ON=po(),MJ=function(){function e(t,r,n,o){n===void 0&&(n=new Uint8Array(0)),this._counter=new Uint8Array(1),this._hash=t,this._info=o;var i=PN.hmac(this._hash,n,r);this._hmac=new PN.HMAC(t,i),this._buffer=new Uint8Array(this._hmac.digestLength),this._bufpos=this._buffer.length}return e.prototype._fillBuffer=function(){this._counter[0]++;var t=this._counter[0];if(t===0)throw new Error("hkdf: cannot expand more");this._hmac.reset(),t>1&&this._hmac.update(this._buffer),this._info&&this._hmac.update(this._info),this._hmac.update(this._counter),this._hmac.finish(this._buffer),this._bufpos=0},e.prototype.expand=function(t){for(var r=new Uint8Array(t),n=0;n<r.length;n++)this._bufpos===this._buffer.length&&this._fillBuffer(),r[n]=this._buffer[this._bufpos++];return r},e.prototype.clean=function(){this._hmac.clean(),ON.wipe(this._buffer),ON.wipe(this._counter),this._bufpos=0},e}();B_.HKDF=MJ});var ug=_e(qs=>{"use strict";c();d();f();Object.defineProperty(qs,"__esModule",{value:!0});var ag=cc(),sg=po();qs.DIGEST_LENGTH=32;qs.BLOCK_SIZE=64;var DN=function(){function e(){this.digestLength=qs.DIGEST_LENGTH,this.blockSize=qs.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return e.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},e.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},e.prototype.clean=function(){sg.wipe(this._buffer),sg.wipe(this._temp),this.reset()},e.prototype.update=function(t,r){if(r===void 0&&(r=t.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(V_(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=V_(this._temp,this._state,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},e.prototype.finish=function(t){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,o=r/536870912|0,i=r<<3,s=r%64<56?64:128;this._buffer[n]=128;for(var a=n+1;a<s-8;a++)this._buffer[a]=0;ag.writeUint32BE(o,this._buffer,s-8),ag.writeUint32BE(i,this._buffer,s-4),V_(this._temp,this._state,this._buffer,0,s),this._finished=!0}for(var a=0;a<this.digestLength/4;a++)ag.writeUint32BE(this._state[a],t,a*4);return this},e.prototype.digest=function(){var t=new Uint8Array(this.digestLength);return this.finish(t),t},e.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},e.prototype.restoreState=function(t){return this._state.set(t.state),this._bufferLength=t.bufferLength,t.buffer&&this._buffer.set(t.buffer),this._bytesHashed=t.bytesHashed,this._finished=!1,this},e.prototype.cleanSavedState=function(t){sg.wipe(t.state),t.buffer&&sg.wipe(t.buffer),t.bufferLength=0,t.bytesHashed=0},e}();qs.SHA256=DN;var TJ=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function V_(e,t,r,n,o){for(;o>=64;){for(var i=t[0],s=t[1],a=t[2],u=t[3],l=t[4],p=t[5],h=t[6],y=t[7],b=0;b<16;b++){var v=n+b*4;e[b]=ag.readUint32BE(r,v)}for(var b=16;b<64;b++){var C=e[b-2],N=(C>>>17|C<<32-17)^(C>>>19|C<<32-19)^C>>>10;C=e[b-15];var M=(C>>>7|C<<32-7)^(C>>>18|C<<32-18)^C>>>3;e[b]=(N+e[b-7]|0)+(M+e[b-16]|0)}for(var b=0;b<64;b++){var N=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&p^~l&h)|0)+(y+(TJ[b]+e[b]|0)|0)|0,M=((i>>>2|i<<32-2)^(i>>>13|i<<32-13)^(i>>>22|i<<32-22))+(i&s^i&a^s&a)|0;y=h,h=p,p=l,l=u+N|0,u=a,a=s,s=i,i=N+M|0}t[0]+=i,t[1]+=s,t[2]+=a,t[3]+=u,t[4]+=l,t[5]+=p,t[6]+=h,t[7]+=y,n+=64,o-=64}return n}function PJ(e){var t=new DN;t.update(e);var r=t.digest();return t.clean(),r}qs.hash=PJ});var fg=_e(nr=>{"use strict";c();d();f();Object.defineProperty(nr,"__esModule",{value:!0});nr.sharedKey=nr.generateKeyPair=nr.generateKeyPairFromSeed=nr.scalarMultBase=nr.scalarMult=nr.SHARED_KEY_LENGTH=nr.SECRET_KEY_LENGTH=nr.PUBLIC_KEY_LENGTH=void 0;var OJ=qa(),DJ=po();nr.PUBLIC_KEY_LENGTH=32;nr.SECRET_KEY_LENGTH=32;nr.SHARED_KEY_LENGTH=32;function ni(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}var IN=new Uint8Array(32);IN[0]=9;var IJ=ni([56129,1]);function j_(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-t*65536}e[0]+=t-1+37*(t-1)}function $d(e,t,r){let n=~(r-1);for(let o=0;o<16;o++){let i=n&(e[o]^t[o]);e[o]^=i,t[o]^=i}}function AJ(e,t){let r=ni(),n=ni();for(let o=0;o<16;o++)n[o]=t[o];j_(n),j_(n),j_(n);for(let o=0;o<2;o++){r[0]=n[0]-65517;for(let s=1;s<15;s++)r[s]=n[s]-65535-(r[s-1]>>16&1),r[s-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let i=r[15]>>16&1;r[14]&=65535,$d(n,r,1-i)}for(let o=0;o<16;o++)e[2*o]=n[o]&255,e[2*o+1]=n[o]>>8}function NJ(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function lg(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function cg(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function Vi(e,t,r){let n,o,i=0,s=0,a=0,u=0,l=0,p=0,h=0,y=0,b=0,v=0,C=0,N=0,M=0,T=0,I=0,U=0,K=0,J=0,j=0,Z=0,le=0,me=0,fe=0,W=0,A=0,g=0,w=0,E=0,D=0,k=0,B=0,q=r[0],$=r[1],_=r[2],V=r[3],ie=r[4],O=r[5],Y=r[6],ne=r[7],ae=r[8],he=r[9],X=r[10],Q=r[11],G=r[12],ue=r[13],re=r[14],ge=r[15];n=t[0],i+=n*q,s+=n*$,a+=n*_,u+=n*V,l+=n*ie,p+=n*O,h+=n*Y,y+=n*ne,b+=n*ae,v+=n*he,C+=n*X,N+=n*Q,M+=n*G,T+=n*ue,I+=n*re,U+=n*ge,n=t[1],s+=n*q,a+=n*$,u+=n*_,l+=n*V,p+=n*ie,h+=n*O,y+=n*Y,b+=n*ne,v+=n*ae,C+=n*he,N+=n*X,M+=n*Q,T+=n*G,I+=n*ue,U+=n*re,K+=n*ge,n=t[2],a+=n*q,u+=n*$,l+=n*_,p+=n*V,h+=n*ie,y+=n*O,b+=n*Y,v+=n*ne,C+=n*ae,N+=n*he,M+=n*X,T+=n*Q,I+=n*G,U+=n*ue,K+=n*re,J+=n*ge,n=t[3],u+=n*q,l+=n*$,p+=n*_,h+=n*V,y+=n*ie,b+=n*O,v+=n*Y,C+=n*ne,N+=n*ae,M+=n*he,T+=n*X,I+=n*Q,U+=n*G,K+=n*ue,J+=n*re,j+=n*ge,n=t[4],l+=n*q,p+=n*$,h+=n*_,y+=n*V,b+=n*ie,v+=n*O,C+=n*Y,N+=n*ne,M+=n*ae,T+=n*he,I+=n*X,U+=n*Q,K+=n*G,J+=n*ue,j+=n*re,Z+=n*ge,n=t[5],p+=n*q,h+=n*$,y+=n*_,b+=n*V,v+=n*ie,C+=n*O,N+=n*Y,M+=n*ne,T+=n*ae,I+=n*he,U+=n*X,K+=n*Q,J+=n*G,j+=n*ue,Z+=n*re,le+=n*ge,n=t[6],h+=n*q,y+=n*$,b+=n*_,v+=n*V,C+=n*ie,N+=n*O,M+=n*Y,T+=n*ne,I+=n*ae,U+=n*he,K+=n*X,J+=n*Q,j+=n*G,Z+=n*ue,le+=n*re,me+=n*ge,n=t[7],y+=n*q,b+=n*$,v+=n*_,C+=n*V,N+=n*ie,M+=n*O,T+=n*Y,I+=n*ne,U+=n*ae,K+=n*he,J+=n*X,j+=n*Q,Z+=n*G,le+=n*ue,me+=n*re,fe+=n*ge,n=t[8],b+=n*q,v+=n*$,C+=n*_,N+=n*V,M+=n*ie,T+=n*O,I+=n*Y,U+=n*ne,K+=n*ae,J+=n*he,j+=n*X,Z+=n*Q,le+=n*G,me+=n*ue,fe+=n*re,W+=n*ge,n=t[9],v+=n*q,C+=n*$,N+=n*_,M+=n*V,T+=n*ie,I+=n*O,U+=n*Y,K+=n*ne,J+=n*ae,j+=n*he,Z+=n*X,le+=n*Q,me+=n*G,fe+=n*ue,W+=n*re,A+=n*ge,n=t[10],C+=n*q,N+=n*$,M+=n*_,T+=n*V,I+=n*ie,U+=n*O,K+=n*Y,J+=n*ne,j+=n*ae,Z+=n*he,le+=n*X,me+=n*Q,fe+=n*G,W+=n*ue,A+=n*re,g+=n*ge,n=t[11],N+=n*q,M+=n*$,T+=n*_,I+=n*V,U+=n*ie,K+=n*O,J+=n*Y,j+=n*ne,Z+=n*ae,le+=n*he,me+=n*X,fe+=n*Q,W+=n*G,A+=n*ue,g+=n*re,w+=n*ge,n=t[12],M+=n*q,T+=n*$,I+=n*_,U+=n*V,K+=n*ie,J+=n*O,j+=n*Y,Z+=n*ne,le+=n*ae,me+=n*he,fe+=n*X,W+=n*Q,A+=n*G,g+=n*ue,w+=n*re,E+=n*ge,n=t[13],T+=n*q,I+=n*$,U+=n*_,K+=n*V,J+=n*ie,j+=n*O,Z+=n*Y,le+=n*ne,me+=n*ae,fe+=n*he,W+=n*X,A+=n*Q,g+=n*G,w+=n*ue,E+=n*re,D+=n*ge,n=t[14],I+=n*q,U+=n*$,K+=n*_,J+=n*V,j+=n*ie,Z+=n*O,le+=n*Y,me+=n*ne,fe+=n*ae,W+=n*he,A+=n*X,g+=n*Q,w+=n*G,E+=n*ue,D+=n*re,k+=n*ge,n=t[15],U+=n*q,K+=n*$,J+=n*_,j+=n*V,Z+=n*ie,le+=n*O,me+=n*Y,fe+=n*ne,W+=n*ae,A+=n*he,g+=n*X,w+=n*Q,E+=n*G,D+=n*ue,k+=n*re,B+=n*ge,i+=38*K,s+=38*J,a+=38*j,u+=38*Z,l+=38*le,p+=38*me,h+=38*fe,y+=38*W,b+=38*A,v+=38*g,C+=38*w,N+=38*E,M+=38*D,T+=38*k,I+=38*B,o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),o=1,n=i+o+65535,o=Math.floor(n/65536),i=n-o*65536,n=s+o+65535,o=Math.floor(n/65536),s=n-o*65536,n=a+o+65535,o=Math.floor(n/65536),a=n-o*65536,n=u+o+65535,o=Math.floor(n/65536),u=n-o*65536,n=l+o+65535,o=Math.floor(n/65536),l=n-o*65536,n=p+o+65535,o=Math.floor(n/65536),p=n-o*65536,n=h+o+65535,o=Math.floor(n/65536),h=n-o*65536,n=y+o+65535,o=Math.floor(n/65536),y=n-o*65536,n=b+o+65535,o=Math.floor(n/65536),b=n-o*65536,n=v+o+65535,o=Math.floor(n/65536),v=n-o*65536,n=C+o+65535,o=Math.floor(n/65536),C=n-o*65536,n=N+o+65535,o=Math.floor(n/65536),N=n-o*65536,n=M+o+65535,o=Math.floor(n/65536),M=n-o*65536,n=T+o+65535,o=Math.floor(n/65536),T=n-o*65536,n=I+o+65535,o=Math.floor(n/65536),I=n-o*65536,n=U+o+65535,o=Math.floor(n/65536),U=n-o*65536,i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=u,e[4]=l,e[5]=p,e[6]=h,e[7]=y,e[8]=b,e[9]=v,e[10]=C,e[11]=N,e[12]=M,e[13]=T,e[14]=I,e[15]=U}function Bd(e,t){Vi(e,t,t)}function RJ(e,t){let r=ni();for(let n=0;n<16;n++)r[n]=t[n];for(let n=253;n>=0;n--)Bd(r,r),n!==2&&n!==4&&Vi(r,r,t);for(let n=0;n<16;n++)e[n]=r[n]}function z_(e,t){let r=new Uint8Array(32),n=new Float64Array(80),o=ni(),i=ni(),s=ni(),a=ni(),u=ni(),l=ni();for(let b=0;b<31;b++)r[b]=e[b];r[31]=e[31]&127|64,r[0]&=248,NJ(n,t);for(let b=0;b<16;b++)i[b]=n[b];o[0]=a[0]=1;for(let b=254;b>=0;--b){let v=r[b>>>3]>>>(b&7)&1;$d(o,i,v),$d(s,a,v),lg(u,o,s),cg(o,o,s),lg(s,i,a),cg(i,i,a),Bd(a,u),Bd(l,o),Vi(o,s,o),Vi(s,i,u),lg(u,o,s),cg(o,o,s),Bd(i,o),cg(s,a,l),Vi(o,s,IJ),lg(o,o,a),Vi(s,s,o),Vi(o,a,l),Vi(a,i,n),Bd(i,u),$d(o,i,v),$d(s,a,v)}for(let b=0;b<16;b++)n[b+16]=o[b],n[b+32]=s[b],n[b+48]=i[b],n[b+64]=a[b];let p=n.subarray(32),h=n.subarray(16);RJ(p,p),Vi(h,h,p);let y=new Uint8Array(32);return AJ(y,h),y}nr.scalarMult=z_;function AN(e){return z_(e,IN)}nr.scalarMultBase=AN;function NN(e){if(e.length!==nr.SECRET_KEY_LENGTH)throw new Error(`x25519: seed must be ${nr.SECRET_KEY_LENGTH} bytes`);let t=new Uint8Array(e);return{publicKey:AN(t),secretKey:t}}nr.generateKeyPairFromSeed=NN;function kJ(e){let t=(0,OJ.randomBytes)(32,e),r=NN(t);return(0,DJ.wipe)(t),r}nr.generateKeyPair=kJ;function LJ(e,t,r=!1){if(e.length!==nr.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect secret key length");if(t.length!==nr.PUBLIC_KEY_LENGTH)throw new Error("X25519: incorrect public key length");let n=z_(e,t);if(r){let o=0;for(let i=0;i<n.length;i++)o|=n[i];if(o===0)throw new Error("X25519: invalid shared key")}return n}nr.sharedKey=LJ});var jd=_e(Ut=>{"use strict";c();d();f();Object.defineProperty(Ut,"__esModule",{value:!0});Ut.getLocalStorage=Ut.getLocalStorageOrThrow=Ut.getCrypto=Ut.getCryptoOrThrow=Ut.getLocation=Ut.getLocationOrThrow=Ut.getNavigator=Ut.getNavigatorOrThrow=Ut.getDocument=Ut.getDocumentOrThrow=Ut.getFromWindowOrThrow=Ut.getFromWindow=void 0;function Ya(e){let t;return typeof window<"u"&&typeof window[e]<"u"&&(t=window[e]),t}Ut.getFromWindow=Ya;function Ec(e){let t=Ya(e);if(!t)throw new Error(`${e} is not defined in Window`);return t}Ut.getFromWindowOrThrow=Ec;function YJ(){return Ec("document")}Ut.getDocumentOrThrow=YJ;function XJ(){return Ya("document")}Ut.getDocument=XJ;function JJ(){return Ec("navigator")}Ut.getNavigatorOrThrow=JJ;function QJ(){return Ya("navigator")}Ut.getNavigator=QJ;function eQ(){return Ec("location")}Ut.getLocationOrThrow=eQ;function tQ(){return Ya("location")}Ut.getLocation=tQ;function rQ(){return Ec("crypto")}Ut.getCryptoOrThrow=rQ;function nQ(){return Ya("crypto")}Ut.getCrypto=nQ;function oQ(){return Ec("localStorage")}Ut.getLocalStorageOrThrow=oQ;function iQ(){return Ya("localStorage")}Ut.getLocalStorage=iQ});var pg=_e(hg=>{"use strict";c();d();f();Object.defineProperty(hg,"__esModule",{value:!0});hg.getWindowMetadata=void 0;var VN=jd();function sQ(){let e,t;try{e=VN.getDocumentOrThrow(),t=VN.getLocationOrThrow()}catch(h){return null}function r(){let h=e.getElementsByTagName("link"),y=[];for(let b=0;b<h.length;b++){let v=h[b],C=v.getAttribute("rel");if(C&&C.toLowerCase().indexOf("icon")>-1){let N=v.getAttribute("href");if(N)if(N.toLowerCase().indexOf("https:")===-1&&N.toLowerCase().indexOf("http:")===-1&&N.indexOf("//")!==0){let M=t.protocol+"//"+t.host;if(N.indexOf("/")===0)M+=N;else{let T=t.pathname.split("/");T.pop(),M+=T.join("/")+"/"+N}y.push(M)}else if(N.indexOf("//")===0){let M=t.protocol+N;y.push(M)}else y.push(N)}}return y}function n(...h){let y=e.getElementsByTagName("meta");for(let b=0;b<y.length;b++){let v=y[b],C=["itemprop","property","name"].map(N=>v.getAttribute(N)).filter(N=>N?h.includes(N):!1);if(C.length&&C){let N=v.getAttribute("content");if(N)return N}}return""}function o(){let h=n("name","og:site_name","og:title","twitter:title");return h||(h=e.title),h}function i(){return n("description","og:description","twitter:description","keywords")}let s=o(),a=i(),u=t.origin,l=r();return{description:a,url:u,icons:l,name:s}}hg.getWindowMetadata=sQ});var zN=_e((Ebe,jN)=>{"use strict";c();d();f();jN.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)});var GN=_e((Sbe,ZN)=>{"use strict";c();d();f();var KN="%[a-f0-9]{2}",HN=new RegExp("("+KN+")|([^%]+?)","gi"),qN=new RegExp("("+KN+")+","gi");function q_(e,t){try{return[decodeURIComponent(e.join(""))]}catch(o){}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],q_(r),q_(n))}function aQ(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(HN)||[],r=1;r<t.length;r++)e=q_(t,r).join(""),t=e.match(HN)||[];return e}}function uQ(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=qN.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(a){var n=aQ(r[0]);n!==r[0]&&(t[r[0]]=n)}r=qN.exec(e)}t["%C2"]="\uFFFD";for(var o=Object.keys(t),i=0;i<o.length;i++){var s=o[i];e=e.replace(new RegExp(s,"g"),t[s])}return e}ZN.exports=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return uQ(e)}}});var YN=_e((Cbe,WN)=>{"use strict";c();d();f();WN.exports=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];let r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}});var JN=_e((Mbe,XN)=>{"use strict";c();d();f();XN.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var s=n[i],a=e[s];(o?t.indexOf(s)!==-1:t(s,a,e))&&(r[s]=a)}return r}});var mg=_e(On=>{"use strict";c();d();f();var lQ=zN(),cQ=GN(),eR=YN(),fQ=JN(),dQ=e=>e==null,K_=Symbol("encodeFragmentIdentifier");function hQ(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let o=r.length;return n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),"[",o,"]"].join("")]:[...r,[ar(t,e),"[",ar(o,e),"]=",ar(n,e)].join("")]};case"bracket":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),"[]"].join("")]:[...r,[ar(t,e),"[]=",ar(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,[ar(t,e),":list="].join("")]:[...r,[ar(t,e),":list=",ar(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(n,o)=>o===void 0||e.skipNull&&o===null||e.skipEmptyString&&o===""?n:(o=o===null?"":o,n.length===0?[[ar(r,e),t,ar(o,e)].join("")]:[[n,ar(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>n===void 0||e.skipNull&&n===null||e.skipEmptyString&&n===""?r:n===null?[...r,ar(t,e)]:[...r,[ar(t,e),"=",ar(n,e)].join("")]}}function pQ(e){let t;switch(e.arrayFormat){case"index":return(r,n,o)=>{if(t=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),!t){o[r]=n;return}o[r]===void 0&&(o[r]={}),o[r][t[1]]=n};case"bracket":return(r,n,o)=>{if(t=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"colon-list-separator":return(r,n,o)=>{if(t=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!t){o[r]=n;return}if(o[r]===void 0){o[r]=[n];return}o[r]=[].concat(o[r],n)};case"comma":case"separator":return(r,n,o)=>{let i=typeof n=="string"&&n.includes(e.arrayFormatSeparator),s=typeof n=="string"&&!i&&ji(n,e).includes(e.arrayFormatSeparator);n=s?ji(n,e):n;let a=i||s?n.split(e.arrayFormatSeparator).map(u=>ji(u,e)):n===null?n:ji(n,e);o[r]=a};case"bracket-separator":return(r,n,o)=>{let i=/(\[\])$/.test(r);if(r=r.replace(/\[\]$/,""),!i){o[r]=n&&ji(n,e);return}let s=n===null?[]:n.split(e.arrayFormatSeparator).map(a=>ji(a,e));if(o[r]===void 0){o[r]=s;return}o[r]=[].concat(o[r],s)};default:return(r,n,o)=>{if(o[r]===void 0){o[r]=n;return}o[r]=[].concat(o[r],n)}}}function tR(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ar(e,t){return t.encode?t.strict?lQ(e):encodeURIComponent(e):e}function ji(e,t){return t.decode?cQ(e):e}function rR(e){return Array.isArray(e)?e.sort():typeof e=="object"?rR(Object.keys(e)).sort((t,r)=>Number(t)-Number(r)).map(t=>e[t]):e}function nR(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function mQ(e){let t="",r=e.indexOf("#");return r!==-1&&(t=e.slice(r)),t}function oR(e){e=nR(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function QN(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function iR(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t),tR(t.arrayFormatSeparator);let r=pQ(t),n=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return n;for(let o of e.split("&")){if(o==="")continue;let[i,s]=eR(t.decode?o.replace(/\+/g," "):o,"=");s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:ji(s,t),r(ji(i,t),s,n)}for(let o of Object.keys(n)){let i=n[o];if(typeof i=="object"&&i!==null)for(let s of Object.keys(i))i[s]=QN(i[s],t);else n[o]=QN(i,t)}return t.sort===!1?n:(t.sort===!0?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((o,i)=>{let s=n[i];return Boolean(s)&&typeof s=="object"&&!Array.isArray(s)?o[i]=rR(s):o[i]=s,o},Object.create(null))}On.extract=oR;On.parse=iR;On.stringify=(e,t)=>{if(!e)return"";t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t),tR(t.arrayFormatSeparator);let r=s=>t.skipNull&&dQ(e[s])||t.skipEmptyString&&e[s]==="",n=hQ(t),o={};for(let s of Object.keys(e))r(s)||(o[s]=e[s]);let i=Object.keys(o);return t.sort!==!1&&i.sort(t.sort),i.map(s=>{let a=e[s];return a===void 0?"":a===null?ar(s,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?ar(s,t)+"[]":a.reduce(n(s),[]).join("&"):ar(s,t)+"="+ar(a,t)}).filter(s=>s.length>0).join("&")};On.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=eR(e,"#");return Object.assign({url:r.split("?")[0]||"",query:iR(oR(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:ji(n,t)}:{})};On.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0,[K_]:!0},t);let r=nR(e.url).split("?")[0]||"",n=On.extract(e.url),o=On.parse(n,{sort:!1}),i=Object.assign(o,e.query),s=On.stringify(i,t);s&&(s=`?${s}`);let a=mQ(e.url);return e.fragmentIdentifier&&(a=`#${t[K_]?ar(e.fragmentIdentifier,t):e.fragmentIdentifier}`),`${r}${s}${a}`};On.pick=(e,t,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[K_]:!1},r);let{url:n,query:o,fragmentIdentifier:i}=On.parseUrl(e,r);return On.stringifyUrl({url:n,query:fQ(o,t),fragmentIdentifier:i},r)};On.exclude=(e,t,r)=>{let n=Array.isArray(t)?o=>!t.includes(o):(o,i)=>!t(o,i);return On.pick(e,n,r)}});var ok=_e((o_e,Ag)=>{c();d();f();var UR,$R,BR,VR,jR,zR,HR,qR,KR,Ig,ux,ZR,GR,Tc,WR,YR,XR,JR,QR,ek,tk,rk,nk;(function(e){var t=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof Ag=="object"&&typeof Ag.exports=="object"?e(r(t,r(Ag.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,s){return n[i]=o?o(i,s):s}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)n.hasOwnProperty(o)&&(r[o]=n[o])};UR=function(r,n){t(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)},$R=Object.assign||function(r){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r},BR=function(r,n){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&n.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)n.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(o[i[s]]=r[i[s]]);return o},VR=function(r,n,o,i){var s=arguments.length,a=s<3?n:i===null?i=Object.getOwnPropertyDescriptor(n,o):i,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,n,o,i);else for(var l=r.length-1;l>=0;l--)(u=r[l])&&(a=(s<3?u(a):s>3?u(n,o,a):u(n,o))||a);return s>3&&a&&Object.defineProperty(n,o,a),a},jR=function(r,n){return function(o,i){n(o,i,r)}},zR=function(r,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,n)},HR=function(r,n,o,i){function s(a){return a instanceof o?a:new o(function(u){u(a)})}return new(o||(o=Promise))(function(a,u){function l(y){try{h(i.next(y))}catch(b){u(b)}}function p(y){try{h(i.throw(y))}catch(b){u(b)}}function h(y){y.done?a(y.value):s(y.value).then(l,p)}h((i=i.apply(r,n||[])).next())})},qR=function(r,n){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,s,a,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(h){return function(y){return p([h,y])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,s&&(a=h[0]&2?s.return:h[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,h[1])).done)return a;switch(s=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,s=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){o=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){o.label=h[1];break}if(h[0]===6&&o.label<a[1]){o.label=a[1],a=h;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(h);break}a[2]&&o.ops.pop(),o.trys.pop();continue}h=n.call(r,o)}catch(y){h=[6,y],s=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},nk=function(r,n,o,i){i===void 0&&(i=o),r[i]=n[o]},KR=function(r,n){for(var o in r)o!=="default"&&!n.hasOwnProperty(o)&&(n[o]=r[o])},Ig=function(r){var n=typeof Symbol=="function"&&Symbol.iterator,o=n&&r[n],i=0;if(o)return o.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},ux=function(r,n){var o=typeof Symbol=="function"&&r[Symbol.iterator];if(!o)return r;var i=o.call(r),s,a=[],u;try{for(;(n===void 0||n-- >0)&&!(s=i.next()).done;)a.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(u)throw u.error}}return a},ZR=function(){for(var r=[],n=0;n<arguments.length;n++)r=r.concat(ux(arguments[n]));return r},GR=function(){for(var r=0,n=0,o=arguments.length;n<o;n++)r+=arguments[n].length;for(var i=Array(r),s=0,n=0;n<o;n++)for(var a=arguments[n],u=0,l=a.length;u<l;u++,s++)i[s]=a[u];return i},Tc=function(r){return this instanceof Tc?(this.v=r,this):new Tc(r)},WR=function(r,n,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=o.apply(r,n||[]),s,a=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){i[v]&&(s[v]=function(C){return new Promise(function(N,M){a.push([v,C,N,M])>1||l(v,C)})})}function l(v,C){try{p(i[v](C))}catch(N){b(a[0][3],N)}}function p(v){v.value instanceof Tc?Promise.resolve(v.value.v).then(h,y):b(a[0][2],v)}function h(v){l("next",v)}function y(v){l("throw",v)}function b(v,C){v(C),a.shift(),a.length&&l(a[0][0],a[0][1])}},YR=function(r){var n,o;return n={},i("next"),i("throw",function(s){throw s}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(s,a){n[s]=r[s]?function(u){return(o=!o)?{value:Tc(r[s](u)),done:s==="return"}:a?a(u):u}:a}},XR=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r[Symbol.asyncIterator],o;return n?n.call(r):(r=typeof Ig=="function"?Ig(r):r[Symbol.iterator](),o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o);function i(a){o[a]=r[a]&&function(u){return new Promise(function(l,p){u=r[a](u),s(l,p,u.done,u.value)})}}function s(a,u,l,p){Promise.resolve(p).then(function(h){a({value:h,done:l})},u)}},JR=function(r,n){return Object.defineProperty?Object.defineProperty(r,"raw",{value:n}):r.raw=n,r},QR=function(r){if(r&&r.__esModule)return r;var n={};if(r!=null)for(var o in r)Object.hasOwnProperty.call(r,o)&&(n[o]=r[o]);return n.default=r,n},ek=function(r){return r&&r.__esModule?r:{default:r}},tk=function(r,n){if(!n.has(r))throw new TypeError("attempted to get private field on non-instance");return n.get(r)},rk=function(r,n,o){if(!n.has(r))throw new TypeError("attempted to set private field on non-instance");return n.set(r,o),o},e("__extends",UR),e("__assign",$R),e("__rest",BR),e("__decorate",VR),e("__param",jR),e("__metadata",zR),e("__awaiter",HR),e("__generator",qR),e("__exportStar",KR),e("__createBinding",nk),e("__values",Ig),e("__read",ux),e("__spread",ZR),e("__spreadArrays",GR),e("__await",Tc),e("__asyncGenerator",WR),e("__asyncDelegator",YR),e("__asyncValues",XR),e("__makeTemplateObject",JR),e("__importStar",QR),e("__importDefault",ek),e("__classPrivateFieldGet",tk),e("__classPrivateFieldSet",rk)})});var sk=_e(Zs=>{"use strict";c();d();f();Object.defineProperty(Zs,"__esModule",{value:!0});Zs.isBrowserCryptoAvailable=Zs.getSubtleCrypto=Zs.getBrowerCrypto=void 0;function lx(){return(globalThis==null?void 0:globalThis.crypto)||(globalThis==null?void 0:globalThis.msCrypto)||{}}Zs.getBrowerCrypto=lx;function ik(){let e=lx();return e.subtle||e.webkitSubtle}Zs.getSubtleCrypto=ik;function zQ(){return!!lx()&&!!ik()}Zs.isBrowserCryptoAvailable=zQ});var lk=_e(Gs=>{"use strict";c();d();f();Object.defineProperty(Gs,"__esModule",{value:!0});Gs.isBrowser=Gs.isNode=Gs.isReactNative=void 0;function ak(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}Gs.isReactNative=ak;function uk(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}Gs.isNode=uk;function HQ(){return!ak()&&!uk()}Gs.isBrowser=HQ});var cx=_e(Ng=>{"use strict";c();d();f();Object.defineProperty(Ng,"__esModule",{value:!0});var ck=ok();ck.__exportStar(sk(),Ng);ck.__exportStar(lk(),Ng)});var vk=_e(($_e,yk)=>{"use strict";c();d();f();yk.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}});var nL=_e((Wd,Ac)=>{c();d();f();var ree=200,Cx="__lodash_hash_undefined__",Kg=1,Rk=2,kk=9007199254740991,$g="[object Arguments]",vx="[object Array]",nee="[object AsyncFunction]",Lk="[object Boolean]",Fk="[object Date]",Uk="[object Error]",$k="[object Function]",oee="[object GeneratorFunction]",Bg="[object Map]",Bk="[object Number]",iee="[object Null]",Ic="[object Object]",Ek="[object Promise]",see="[object Proxy]",Vk="[object RegExp]",Vg="[object Set]",jk="[object String]",aee="[object Symbol]",uee="[object Undefined]",wx="[object WeakMap]",zk="[object ArrayBuffer]",jg="[object DataView]",lee="[object Float32Array]",cee="[object Float64Array]",fee="[object Int8Array]",dee="[object Int16Array]",hee="[object Int32Array]",pee="[object Uint8Array]",mee="[object Uint8ClampedArray]",gee="[object Uint16Array]",yee="[object Uint32Array]",vee=/[\\^$.*+?()[\]{}|]/g,wee=/^\[object .+?Constructor\]$/,bee=/^(?:0|[1-9]\d*)$/,jt={};jt[lee]=jt[cee]=jt[fee]=jt[dee]=jt[hee]=jt[pee]=jt[mee]=jt[gee]=jt[yee]=!0;jt[$g]=jt[vx]=jt[zk]=jt[Lk]=jt[jg]=jt[Fk]=jt[Uk]=jt[$k]=jt[Bg]=jt[Bk]=jt[Ic]=jt[Vk]=jt[Vg]=jt[jk]=jt[wx]=!1;var Hk=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,_ee=typeof self=="object"&&self&&self.Object===Object&&self,Hi=Hk||_ee||Function("return this")(),qk=typeof Wd=="object"&&Wd&&!Wd.nodeType&&Wd,Sk=qk&&typeof Ac=="object"&&Ac&&!Ac.nodeType&&Ac,Kk=Sk&&Sk.exports===qk,mx=Kk&&Hk.process,Ck=function(){try{return mx&&mx.binding&&mx.binding("util")}catch(e){}}(),Mk=Ck&&Ck.isTypedArray;function xee(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}function Eee(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function See(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Cee(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Mee(e){return function(t){return e(t)}}function Tee(e,t){return e.has(t)}function Pee(e,t){return e==null?void 0:e[t]}function Oee(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function Dee(e,t){return function(r){return e(t(r))}}function Iee(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Aee=Array.prototype,Nee=Function.prototype,Zg=Object.prototype,gx=Hi["__core-js_shared__"],Zk=Nee.toString,oi=Zg.hasOwnProperty,Tk=function(){var e=/[^.]+$/.exec(gx&&gx.keys&&gx.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Gk=Zg.toString,Ree=RegExp("^"+Zk.call(oi).replace(vee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pk=Kk?Hi.Buffer:void 0,zg=Hi.Symbol,Ok=Hi.Uint8Array,Wk=Zg.propertyIsEnumerable,kee=Aee.splice,tu=zg?zg.toStringTag:void 0,Dk=Object.getOwnPropertySymbols,Lee=Pk?Pk.isBuffer:void 0,Fee=Dee(Object.keys,Object),bx=Nc(Hi,"DataView"),Yd=Nc(Hi,"Map"),_x=Nc(Hi,"Promise"),xx=Nc(Hi,"Set"),Ex=Nc(Hi,"WeakMap"),Xd=Nc(Object,"create"),Uee=ou(bx),$ee=ou(Yd),Bee=ou(_x),Vee=ou(xx),jee=ou(Ex),Ik=zg?zg.prototype:void 0,yx=Ik?Ik.valueOf:void 0;function ru(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function zee(){this.__data__=Xd?Xd(null):{},this.size=0}function Hee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function qee(e){var t=this.__data__;if(Xd){var r=t[e];return r===Cx?void 0:r}return oi.call(t,e)?t[e]:void 0}function Kee(e){var t=this.__data__;return Xd?t[e]!==void 0:oi.call(t,e)}function Zee(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Xd&&t===void 0?Cx:t,this}ru.prototype.clear=zee;ru.prototype.delete=Hee;ru.prototype.get=qee;ru.prototype.has=Kee;ru.prototype.set=Zee;function qi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gee(){this.__data__=[],this.size=0}function Wee(e){var t=this.__data__,r=Gg(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():kee.call(t,r,1),--this.size,!0}function Yee(e){var t=this.__data__,r=Gg(t,e);return r<0?void 0:t[r][1]}function Xee(e){return Gg(this.__data__,e)>-1}function Jee(e,t){var r=this.__data__,n=Gg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}qi.prototype.clear=Gee;qi.prototype.delete=Wee;qi.prototype.get=Yee;qi.prototype.has=Xee;qi.prototype.set=Jee;function nu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Qee(){this.size=0,this.__data__={hash:new ru,map:new(Yd||qi),string:new ru}}function ete(e){var t=Wg(this,e).delete(e);return this.size-=t?1:0,t}function tte(e){return Wg(this,e).get(e)}function rte(e){return Wg(this,e).has(e)}function nte(e,t){var r=Wg(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}nu.prototype.clear=Qee;nu.prototype.delete=ete;nu.prototype.get=tte;nu.prototype.has=rte;nu.prototype.set=nte;function Hg(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new nu;++t<r;)this.add(e[t])}function ote(e){return this.__data__.set(e,Cx),this}function ite(e){return this.__data__.has(e)}Hg.prototype.add=Hg.prototype.push=ote;Hg.prototype.has=ite;function Xs(e){var t=this.__data__=new qi(e);this.size=t.size}function ste(){this.__data__=new qi,this.size=0}function ate(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function ute(e){return this.__data__.get(e)}function lte(e){return this.__data__.has(e)}function cte(e,t){var r=this.__data__;if(r instanceof qi){var n=r.__data__;if(!Yd||n.length<ree-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new nu(n)}return r.set(e,t),this.size=r.size,this}Xs.prototype.clear=ste;Xs.prototype.delete=ate;Xs.prototype.get=ute;Xs.prototype.has=lte;Xs.prototype.set=cte;function fte(e,t){var r=qg(e),n=!r&&Mte(e),o=!r&&!n&&Sx(e),i=!r&&!n&&!o&&rL(e),s=r||n||o||i,a=s?Cee(e.length,String):[],u=a.length;for(var l in e)(t||oi.call(e,l))&&!(s&&(l=="length"||o&&(l=="offset"||l=="parent")||i&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||_te(l,u)))&&a.push(l);return a}function Gg(e,t){for(var r=e.length;r--;)if(Jk(e[r][0],t))return r;return-1}function dte(e,t,r){var n=t(e);return qg(e)?n:Eee(n,r(e))}function Qd(e){return e==null?e===void 0?uee:iee:tu&&tu in Object(e)?wte(e):Cte(e)}function Ak(e){return Jd(e)&&Qd(e)==$g}function Yk(e,t,r,n,o){return e===t?!0:e==null||t==null||!Jd(e)&&!Jd(t)?e!==e&&t!==t:hte(e,t,r,n,Yk,o)}function hte(e,t,r,n,o,i){var s=qg(e),a=qg(t),u=s?vx:Ys(e),l=a?vx:Ys(t);u=u==$g?Ic:u,l=l==$g?Ic:l;var p=u==Ic,h=l==Ic,y=u==l;if(y&&Sx(e)){if(!Sx(t))return!1;s=!0,p=!1}if(y&&!p)return i||(i=new Xs),s||rL(e)?Xk(e,t,r,n,o,i):yte(e,t,u,r,n,o,i);if(!(r&Kg)){var b=p&&oi.call(e,"__wrapped__"),v=h&&oi.call(t,"__wrapped__");if(b||v){var C=b?e.value():e,N=v?t.value():t;return i||(i=new Xs),o(C,N,r,n,i)}}return y?(i||(i=new Xs),vte(e,t,r,n,o,i)):!1}function pte(e){if(!tL(e)||Ete(e))return!1;var t=Qk(e)?Ree:wee;return t.test(ou(e))}function mte(e){return Jd(e)&&eL(e.length)&&!!jt[Qd(e)]}function gte(e){if(!Ste(e))return Fee(e);var t=[];for(var r in Object(e))oi.call(e,r)&&r!="constructor"&&t.push(r);return t}function Xk(e,t,r,n,o,i){var s=r&Kg,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var p=-1,h=!0,y=r&Rk?new Hg:void 0;for(i.set(e,t),i.set(t,e);++p<a;){var b=e[p],v=t[p];if(n)var C=s?n(v,b,p,t,e,i):n(b,v,p,e,t,i);if(C!==void 0){if(C)continue;h=!1;break}if(y){if(!See(t,function(N,M){if(!Tee(y,M)&&(b===N||o(b,N,r,n,i)))return y.push(M)})){h=!1;break}}else if(!(b===v||o(b,v,r,n,i))){h=!1;break}}return i.delete(e),i.delete(t),h}function yte(e,t,r,n,o,i,s){switch(r){case jg:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zk:return!(e.byteLength!=t.byteLength||!i(new Ok(e),new Ok(t)));case Lk:case Fk:case Bk:return Jk(+e,+t);case Uk:return e.name==t.name&&e.message==t.message;case Vk:case jk:return e==t+"";case Bg:var a=Oee;case Vg:var u=n&Kg;if(a||(a=Iee),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;n|=Rk,s.set(e,t);var p=Xk(a(e),a(t),n,o,i,s);return s.delete(e),p;case aee:if(yx)return yx.call(e)==yx.call(t)}return!1}function vte(e,t,r,n,o,i){var s=r&Kg,a=Nk(e),u=a.length,l=Nk(t),p=l.length;if(u!=p&&!s)return!1;for(var h=u;h--;){var y=a[h];if(!(s?y in t:oi.call(t,y)))return!1}var b=i.get(e);if(b&&i.get(t))return b==t;var v=!0;i.set(e,t),i.set(t,e);for(var C=s;++h<u;){y=a[h];var N=e[y],M=t[y];if(n)var T=s?n(M,N,y,t,e,i):n(N,M,y,e,t,i);if(!(T===void 0?N===M||o(N,M,r,n,i):T)){v=!1;break}C||(C=y=="constructor")}if(v&&!C){var I=e.constructor,U=t.constructor;I!=U&&"constructor"in e&&"constructor"in t&&!(typeof I=="function"&&I instanceof I&&typeof U=="function"&&U instanceof U)&&(v=!1)}return i.delete(e),i.delete(t),v}function Nk(e){return dte(e,Ote,bte)}function Wg(e,t){var r=e.__data__;return xte(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Nc(e,t){var r=Pee(e,t);return pte(r)?r:void 0}function wte(e){var t=oi.call(e,tu),r=e[tu];try{e[tu]=void 0;var n=!0}catch(i){}var o=Gk.call(e);return n&&(t?e[tu]=r:delete e[tu]),o}var bte=Dk?function(e){return e==null?[]:(e=Object(e),xee(Dk(e),function(t){return Wk.call(e,t)}))}:Dte,Ys=Qd;(bx&&Ys(new bx(new ArrayBuffer(1)))!=jg||Yd&&Ys(new Yd)!=Bg||_x&&Ys(_x.resolve())!=Ek||xx&&Ys(new xx)!=Vg||Ex&&Ys(new Ex)!=wx)&&(Ys=function(e){var t=Qd(e),r=t==Ic?e.constructor:void 0,n=r?ou(r):"";if(n)switch(n){case Uee:return jg;case $ee:return Bg;case Bee:return Ek;case Vee:return Vg;case jee:return wx}return t});function _te(e,t){return t=t==null?kk:t,!!t&&(typeof e=="number"||bee.test(e))&&e>-1&&e%1==0&&e<t}function xte(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ete(e){return!!Tk&&Tk in e}function Ste(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Zg;return e===r}function Cte(e){return Gk.call(e)}function ou(e){if(e!=null){try{return Zk.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Jk(e,t){return e===t||e!==e&&t!==t}var Mte=Ak(function(){return arguments}())?Ak:function(e){return Jd(e)&&oi.call(e,"callee")&&!Wk.call(e,"callee")},qg=Array.isArray;function Tte(e){return e!=null&&eL(e.length)&&!Qk(e)}var Sx=Lee||Ite;function Pte(e,t){return Yk(e,t)}function Qk(e){if(!tL(e))return!1;var t=Qd(e);return t==$k||t==oee||t==nee||t==see}function eL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=kk}function tL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Jd(e){return e!=null&&typeof e=="object"}var rL=Mk?Mee(Mk):mte;function Ote(e){return Tte(e)?fte(e):gte(e)}function Dte(){return[]}function Ite(){return!1}Ac.exports=Pte});var A4=_e(I4=>{"use strict";c();d();f();Object.defineProperty(I4,"__esModule",{value:!0});I4.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"\xC5land Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","289","306","343","365","367","403","416","418","431","437","438","450","506","514","519","548","579","581","587","600","604","613","639","647","672","705","709","778","780","807","819","825","867","873","902","905"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"C\xF4te D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Cura\xE7ao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"R\xE9union",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77"],phone_number_lengths:[9]}]});var fU=_e(Rn=>{"use strict";c();d();f();var aie=Rn&&Rn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Rn,"__esModule",{value:!0});Rn.validatePhoneISO3166=Rn.findCountryPhoneDataByPhoneNumber=Rn.findPossibleCountryPhoneData=Rn.findExactCountryPhoneData=Rn.findCountryPhoneDataByCountry=void 0;var fh=aie(A4());function uie(e){return e?e.length===2?fh.default.find(t=>e.toUpperCase()===t.alpha2)||null:e.length===3?fh.default.find(t=>e.toUpperCase()===t.alpha3)||null:fh.default.find(t=>e.toUpperCase()===t.country_name.toUpperCase())||null:fh.default.find(t=>t.alpha3==="USA")||null}Rn.findCountryPhoneDataByCountry=uie;function lU(e,t,r){return r.phone_number_lengths.some(o=>r.country_code.length+o===e.length)&&(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+o))))?r:null}Rn.findExactCountryPhoneData=lU;function cU(e,t,r){if(!r.phone_number_lengths.some(o=>r.country_code.length+o+1===e.length))return null;if(!r.mobile_begin_with.length||!t||r.mobile_begin_with.some(o=>e.match(new RegExp("^"+r.country_code+"\\d?"+o))))return r}Rn.findPossibleCountryPhoneData=cU;function lie(e,t){let r,n;for(let o of fh.default)!e.match(new RegExp("^"+o.country_code))||(r||(r=lU(e,t,o)),n||(n=cU(e,t,o)));return{exactCountryPhoneData:r,possibleCountryPhoneData:n}}Rn.findCountryPhoneDataByPhoneNumber=lie;function cie(e,t,r,n){if(!t.phone_number_lengths)return!1;let o=e.replace(new RegExp("^"+t.country_code),"");if(n&&t&&o.length===e.length)return!1;let i=t.phone_number_lengths,s=t.mobile_begin_with,a=i.some(l=>o.length===l),u=s.length?s.some(l=>o.match(new RegExp("^"+l))):!0;return a&&(!r||u)}Rn.validatePhoneISO3166=cie});var hU=_e(Yi=>{"use strict";c();d();f();var fie=Yi&&Yi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Yi,"__esModule",{value:!0});Yi.countryPhoneData=Yi.phone=void 0;var die=fie(A4());Yi.countryPhoneData=die.default;var dh=fU();function dU(e,{country:t="",validateMobilePrefix:r=!0,strictDetection:n=!1}={}){let o={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null},i=typeof e!="string"?"":e.trim(),s=typeof t!="string"?"":t.trim(),a=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let u=(0,dh.findCountryPhoneDataByCountry)(s);if(!u)return o;let l=!1;if(s)["CIV","COG"].includes(u.alpha3)||(i=i.replace(/^0+/,"")),u.alpha3==="RUS"&&i.length===11&&i.match(/^89/)!==null&&(i=i.replace(/^8+/,"")),!a&&u.phone_number_lengths.includes(i.length)&&(i=`${u.country_code}${i}`);else if(a){let{exactCountryPhoneData:h,possibleCountryPhoneData:y}=(0,dh.findCountryPhoneDataByPhoneNumber)(i,r);h?u=h:y&&!n?(u=y,i=u.country_code+i.replace(new RegExp(`^${u.country_code}\\d`),"")):u=null}else u.phone_number_lengths.indexOf(i.length)!==-1&&(i=`1${i}`,l=!0);if(!u)return o;let p=(0,dh.validatePhoneISO3166)(i,u,r,a);return p?{isValid:!0,phoneNumber:`+${i}`,countryIso2:u.alpha2,countryIso3:u.alpha3,countryCode:`+${u.country_code}`}:l&&(u=(0,dh.findCountryPhoneDataByCountry)("CAN"),p=(0,dh.validatePhoneISO3166)(i,u,r,a),p)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:u.alpha2,countryIso3:u.alpha3,countryCode:`+${u.country_code}`}:o}Yi.default=dU;Yi.phone=dU});var vU=_e((d3e,yU)=>{"use strict";c();d();f();var hu=[["Afghanistan (\u202B\u0627\u0641\u063A\u0627\u0646\u0633\u062A\u0627\u0646\u202C\u200E)","af","93","+..-..-...-...."],["\xC5land Islands","ax","358",""],["Albania (Shqip\xEBri)","al","355","+...(...)...-..."],["Algeria (\u202B\u0627\u0644\u062C\u0632\u0627\u0626\u0631\u202C\u200E)","dz","213","+...-..-...-...."],["American Samoa","as","1684","+.(...)...-...."],["Andorra","ad","376","+...-...-..."],["Angola","ao","244","+...(...)...-..."],["Anguilla","ai","1264","+.(...)...-...."],["Antarctica","aq","672",""],["Antigua and Barbuda","ag","1268","+.(...)...-...."],["Argentina","ar","54","+..(...)...-...."],["Armenia (\u0540\u0561\u0575\u0561\u057D\u057F\u0561\u0576)","am","374","+...-..-...-..."],["Aruba","aw","297","+...-...-...."],["Australia","au","61","+.. ... ... ..."],["Austria (\xD6sterreich)","at","43","+..(...)...-...."],["Azerbaijan (Az\u0259rbaycan)","az","994","+...-..-...-..-.."],["Bahamas","bs","1242","+.(...)...-...."],["Bahrain (\u202B\u0627\u0644\u0628\u062D\u0631\u064A\u0646\u202C\u200E)","bh","973","+...-....-...."],["Bangladesh (\u09AC\u09BE\u0982\u09B2\u09BE\u09A6\u09C7\u09B6)","bd","880","+...-..-...-..."],["Barbados","bb","1246","+.(...)...-...."],["Belarus (\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u044C)","by","375","+...(..)...-..-.."],["Belgium (Belgi\xEB)","be","32","+.. ... .. .. .."],["Belize","bz","501","+...-...-...."],["Benin (B\xE9nin)","bj","229","+...-..-..-...."],["Bermuda","bm","1441","+.(...)...-...."],["Bhutan (\u0F60\u0F56\u0FB2\u0F74\u0F42)","bt","975","+...-.-...-..."],["Bolivia","bo","591","+...-.-...-...."],["Bosnia and Herzegovina (\u0411\u043E\u0441\u043D\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043E\u0432\u0438\u043D\u0430)","ba","387","+...-..-...."],["Botswana","bw","267","+...-..-...-..."],["Bouvet Island","bv","47",""],["Brazil (Brasil)","br","55","+..-..-....-...."],["British Indian Ocean Territory","io","246","+...-...-...."],["British Virgin Islands","vg","1284","+.(...)...-...."],["Brunei","bn","673","+...-...-...."],["Bulgaria (\u0411\u044A\u043B\u0433\u0430\u0440\u0438\u044F)","bg","359","+...(...)...-..."],["Burkina Faso","bf","226","+...-..-..-...."],["Burundi (Uburundi)","bi","257","+...-..-..-...."],["Cambodia (\u1780\u1798\u17D2\u1796\u17BB\u1787\u17B6)","kh","855","+...-..-...-..."],["Cameroon (Cameroun)","cm","237","+...-....-...."],["Canada","ca","1","+. (...) ...-....",1,["204","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238","+...(...)..-.."],["Caribbean Netherlands","bq","599","+...-...-....",1],["Cayman Islands","ky","1345","+.(...)...-...."],["Central African Republic (R\xE9publique centrafricaine)","cf","236","+...-..-..-...."],["Chad (Tchad)","td","235","+...-..-..-..-.."],["Chile","cl","56","+..-.-....-...."],["China (\u4E2D\u56FD)","cn","86","+.. ..-........"],["Christmas Island","cx","61",""],["Cocos (Keeling) Islands","cc","61",""],["Colombia","co","57","+..(...)...-...."],["Comoros (\u202B\u062C\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202C\u200E)","km","269","+...-..-....."],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243","+...(...)...-..."],["Congo (Republic) (Congo-Brazzaville)","cg","242","+...-..-...-...."],["Cook Islands","ck","682","+...-..-..."],["Costa Rica","cr","506","+... ....-...."],["C\xF4te d\u2019Ivoire","ci","225","+...-..-...-..."],["Croatia (Hrvatska)","hr","385","+...-..-...-..."],["Cuba","cu","53","+..-.-...-...."],["Cura\xE7ao","cw","599","+...-...-....",0],["Cyprus (\u039A\u03CD\u03C0\u03C1\u03BF\u03C2)","cy","357","+...-..-...-..."],["Czech Republic (\u010Cesk\xE1 republika)","cz","420","+...(...)...-..."],["Denmark (Danmark)","dk","45","+.. .. .. .. .."],["Djibouti","dj","253","+...-..-..-..-.."],["Dominica","dm","1767","+.(...)...-...."],["Dominican Republic (Rep\xFAblica Dominicana)","do","1","+.(...)...-....",2,["809","829","849"]],["Ecuador","ec","593","+...-.-...-...."],["Egypt (\u202B\u0645\u0635\u0631\u202C\u200E)","eg","20","+..(...)...-...."],["El Salvador","sv","503","+... ....-...."],["Equatorial Guinea (Guinea Ecuatorial)","gq","240","+...-..-...-...."],["Eritrea","er","291","+...-.-...-..."],["Estonia (Eesti)","ee","372","+...-...-...."],["Ethiopia","et","251","+...-..-...-...."],["Falkland Islands (Islas Malvinas)","fk","500","+...-....."],["Faroe Islands (F\xF8royar)","fo","298","+...-...-..."],["Fiji","fj","679","+...-..-....."],["Finland (Suomi)","fi","358","+... .. .... ...."],["France","fr","33","+.. . .. .. .. .."],["French Guiana (Guyane fran\xE7aise)","gf","594","+...-.....-...."],["French Polynesia (Polyn\xE9sie fran\xE7aise)","pf","689","+...-..-..-.."],["French Southern and Antarctic Lands","tf","262",""],["Gabon","ga","241","+...-.-..-..-.."],["Gambia","gm","220","+...(...)..-.."],["Georgia (\u10E1\u10D0\u10E5\u10D0\u10E0\u10D7\u10D5\u10D4\u10DA\u10DD)","ge","995","+...(...)...-..."],["Germany (Deutschland)","de","49","+.. ... ......."],["Ghana (Gaana)","gh","233","+...(...)...-..."],["Gibraltar","gi","350","+...-...-....."],["Greece (\u0395\u03BB\u03BB\u03AC\u03B4\u03B1)","gr","30","+..(...)...-...."],["Greenland (Kalaallit Nunaat)","gl","299","+...-..-..-.."],["Grenada","gd","1473","+.(...)...-...."],["Guadeloupe","gp","590","",0],["Guam","gu","1671","+.(...)...-...."],["Guatemala","gt","502","+... ....-...."],["Guernsey","gg","44",""],["Guinea (Guin\xE9e)","gn","224","+...-..-...-..."],["Guinea-Bissau (Guin\xE9 Bissau)","gw","245","+...-.-......"],["Guyana","gy","592","+...-...-...."],["Haiti","ht","509","+... ....-...."],["Heard Island and McDonald Islands","hm","672",""],["Honduras","hn","504","+...-....-...."],["Hong Kong (\u9999\u6E2F)","hk","852","+... .... ...."],["Hungary (Magyarorsz\xE1g)","hu","36","+..(...)...-..."],["Iceland (\xCDsland)","is","354","+... ... ...."],["India (\u092D\u093E\u0930\u0924)","in","91","+.. .....-....."],["Indonesia","id","62","+..-..-...-.."],["Iran (\u202B\u0627\u06CC\u0631\u0627\u0646\u202C\u200E)","ir","98","+..(...)...-...."],["Iraq (\u202B\u0627\u0644\u0639\u0631\u0627\u0642\u202C\u200E)","iq","964","+...(...)...-...."],["Ireland","ie","353","+... .. ......."],["Isle of Man","im","44",""],["Israel (\u202B\u05D9\u05E9\u05E8\u05D0\u05DC\u202C\u200E)","il","972","+...-.-...-...."],["Italy (Italia)","it","39","+.. ... ......",0],["Jamaica","jm","1876","+.(...)...-...."],["Japan (\u65E5\u672C)","jp","81","+.. ... .. ...."],["Jersey","je","44",""],["Jordan (\u202B\u0627\u0644\u0623\u0631\u062F\u0646\u202C\u200E)","jo","962","+...-.-....-...."],["Kazakhstan (\u041A\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043D)","kz","7","+. ... ...-..-..",1],["Kenya","ke","254","+...-...-......"],["Kiribati","ki","686","+...-..-..."],["Kosovo","xk","383",""],["Kuwait (\u202B\u0627\u0644\u0643\u0648\u064A\u062A\u202C\u200E)","kw","965","+...-....-...."],["Kyrgyzstan (\u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D)","kg","996","+...(...)...-..."],["Laos (\u0EA5\u0EB2\u0EA7)","la","856","+...-..-...-..."],["Latvia (Latvija)","lv","371","+...-..-...-..."],["Lebanon (\u202B\u0644\u0628\u0646\u0627\u0646\u202C\u200E)","lb","961","+...-.-...-..."],["Lesotho","ls","266","+...-.-...-...."],["Liberia","lr","231","+...-..-...-..."],["Libya (\u202B\u0644\u064A\u0628\u064A\u0627\u202C\u200E)","ly","218","+...-..-...-..."],["Liechtenstein","li","423","+...(...)...-...."],["Lithuania (Lietuva)","lt","370","+...(...)..-..."],["Luxembourg","lu","352","+...(...)...-..."],["Macau (\u6FB3\u9580)","mo","853","+...-....-...."],["Macedonia (FYROM) (\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0438\u0458\u0430)","mk","389","+...-..-...-..."],["Madagascar (Madagasikara)","mg","261","+...-..-..-....."],["Malawi","mw","265","+...-.-....-...."],["Malaysia","my","60","+.. ..-....-...."],["Maldives","mv","960","+...-...-...."],["Mali","ml","223","+...-..-..-...."],["Malta","mt","356","+...-....-...."],["Marshall Islands","mh","692","+...-...-...."],["Martinique","mq","596","+...(...)..-..-.."],["Mauritania (\u202B\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627\u202C\u200E)","mr","222","+...-..-..-...."],["Mauritius (Moris)","mu","230","+...-...-...."],["Mayotte","yt","262",""],["Mexico (M\xE9xico)","mx","52","+..-..-..-...."],["Micronesia","fm","691","+...-...-...."],["Moldova (Republica Moldova)","md","373","+...-....-...."],["Monaco","mc","377","+...-..-...-..."],["Mongolia (\u041C\u043E\u043D\u0433\u043E\u043B)","mn","976","+...-..-..-...."],["Montenegro (Crna Gora)","me","382","+...-..-...-..."],["Montserrat","ms","1664","+.(...)...-...."],["Morocco (\u202B\u0627\u0644\u0645\u063A\u0631\u0628\u202C\u200E)","ma","212","+...-..-....-..."],["Mozambique (Mo\xE7ambique)","mz","258","+...-..-...-..."],["Myanmar (Burma) (\u1019\u103C\u1014\u103A\u1019\u102C)","mm","95","+..-...-..."],["Namibia (Namibi\xEB)","na","264","+...-..-...-...."],["Nauru","nr","674","+...-...-...."],["Nepal (\u0928\u0947\u092A\u093E\u0932)","np","977","+...-..-...-..."],["Netherlands (Nederland)","nl","31","+.. .. ........"],["New Caledonia (Nouvelle-Cal\xE9donie)","nc","687","+...-..-...."],["New Zealand","nz","64","+.. ...-...-...."],["Nicaragua","ni","505","+...-....-...."],["Niger (Nijar)","ne","227","+...-..-..-...."],["Nigeria","ng","234","+...-..-...-.."],["Niue","nu","683","+...-...."],["Norfolk Island","nf","672","+...-...-..."],["North Korea (\uC870\uC120 \uBBFC\uC8FC\uC8FC\uC758 \uC778\uBBFC \uACF5\uD654\uAD6D)","kp","850","+...-...-..."],["Northern Mariana Islands","mp","1670","+.(...)...-...."],["Norway (Norge)","no","47","+.. ... .. ..."],["Oman (\u202B\u0639\u064F\u0645\u0627\u0646\u202C\u200E)","om","968","+...-..-...-..."],["Pakistan (\u202B\u067E\u0627\u06A9\u0633\u062A\u0627\u0646\u202C\u200E)","pk","92","+.. ...-......."],["Palau","pw","680","+...-...-...."],["Palestine (\u202B\u0641\u0644\u0633\u0637\u064A\u0646\u202C\u200E)","ps","970","+...-..-...-...."],["Panama (Panam\xE1)","pa","507","+...-...-...."],["Papua New Guinea","pg","675","+...(...)..-..."],["Paraguay","py","595","+...(...)...-..."],["Peru (Per\xFA)","pe","51","+..(...)...-..."],["Philippines","ph","63","+.. ... ...."],["Pitcairn Islands","pn","64",""],["Poland (Polska)","pl","48","+.. ...-...-..."],["Portugal","pt","351","+...-..-...-...."],["Puerto Rico","pr","1","+. (...) ...-....",3,["787","939"]],["Qatar (\u202B\u0642\u0637\u0631\u202C\u200E)","qa","974","+...-....-...."],["R\xE9union (La R\xE9union)","re","262","+...-.....-...."],["Romania (Rom\xE2nia)","ro","40","+..-..-...-...."],["Russia (\u0420\u043E\u0441\u0441\u0438\u044F)","ru","7","+. ... ...-..-..",0],["Rwanda","rw","250","+...(...)...-..."],["Saint Barth\xE9lemy (Saint-Barth\xE9lemy)","bl","590","",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869","+.(...)...-...."],["Saint Lucia","lc","1758","+.(...)...-...."],["Saint Martin (Saint-Martin (partie fran\xE7aise))","mf","590","",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784","+.(...)...-...."],["Samoa","ws","685","+...-..-...."],["San Marino","sm","378","+...-....-......"],["S\xE3o Tom\xE9 and Pr\xEDncipe (S\xE3o Tom\xE9 e Pr\xEDncipe)","st","239","+...-..-....."],["Saudi Arabia (\u202B\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629\u202C\u200E)","sa","966","+...-..-...-...."],["Senegal (S\xE9n\xE9gal)","sn","221","+...-..-...-...."],["Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","rs","381","+...-..-...-...."],["Seychelles","sc","248","+...-.-...-..."],["Sierra Leone","sl","232","+...-..-......"],["Singapore","sg","65","+.. ....-...."],["Sint Maarten","sx","1721","+.(...)...-...."],["Slovakia (Slovensko)","sk","421","+...(...)...-..."],["Slovenia (Slovenija)","si","386","+...-..-...-..."],["Solomon Islands","sb","677","+...-....."],["Somalia (Soomaaliya)","so","252","+...-.-...-..."],["South Africa","za","27","+..-..-...-...."],["South Georgia and the South Sandwich Islands","gs","500",""],["South Korea (\uB300\uD55C\uBBFC\uAD6D)","kr","82","+..-..-...-...."],["South Sudan (\u202B\u062C\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","ss","211","+...-..-...-...."],["Spain (Espa\xF1a)","es","34","+.. ... ... ..."],["Sri Lanka (\u0DC1\u0DCA\u200D\u0DBB\u0DD3 \u0DBD\u0D82\u0D9A\u0DCF\u0DC0)","lk","94","+..-..-...-...."],["Sudan (\u202B\u0627\u0644\u0633\u0648\u062F\u0627\u0646\u202C\u200E)","sd","249","+...-..-...-...."],["Suriname","sr","597","+...-...-..."],["Svalbard and Jan Mayen","sj","47",""],["Swaziland","sz","268","+...-..-..-...."],["Sweden (Sverige)","se","46","+.. .. ... .. .."],["Switzerland (Schweiz)","ch","41","+.. .. ... .. .."],["Syria (\u202B\u0633\u0648\u0631\u064A\u0627\u202C\u200E)","sy","963","+...-..-....-..."],["Taiwan (\u53F0\u7063)","tw","886","+...-....-...."],["Tajikistan","tj","992","+...-..-...-...."],["Tanzania","tz","255","+...-..-...-...."],["Thailand (\u0E44\u0E17\u0E22)","th","66","+..-..-...-..."],["Timor-Leste","tl","670","+...-...-...."],["Togo","tg","228","+...-..-...-..."],["Tokelau","tk","690","+...-...."],["Tonga","to","676","+...-....."],["Trinidad and Tobago","tt","1868","+.(...)...-...."],["Tunisia (\u202B\u062A\u0648\u0646\u0633\u202C\u200E)","tn","216","+...-..-...-..."],["Turkey (T\xFCrkiye)","tr","90","+.. ... ... .. .."],["Turkmenistan","tm","993","+...-.-...-...."],["Turks and Caicos Islands","tc","1649","+.(...)...-...."],["Tuvalu","tv","688","+...-....."],["U.S. Virgin Islands","vi","1340","+.(...)...-...."],["Uganda","ug","256","+...(...)...-..."],["Ukraine (\u0423\u043A\u0440\u0430\u0457\u043D\u0430)","ua","380","+...(..)...-..-.."],["United Arab Emirates (\u202B\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062A \u0627\u0644\u0639\u0631\u0628\u064A\u0629 \u0627\u0644\u0645\u062A\u062D\u062F\u0629\u202C\u200E)","ae","971","+...-.-...-...."],["United Kingdom","gb","44","+.. .... ......"],["United States","us","1","+. (...) ...-....",0],["United States Minor Outlying Islands","um","1","",2],["Uruguay","uy","598","+...-.-...-..-.."],["Uzbekistan (O\u02BBzbekiston)","uz","998","+...-..-...-...."],["Vanuatu","vu","678","+...-....."],["Vatican City (Citt\xE0 del Vaticano)","va","39","+.. .. .... ....",1],["Venezuela","ve","58","+..(...)...-...."],["Vietnam (Vi\u1EC7t Nam)","vn","84","+..-..-....-..."],["Wallis and Futuna","wf","681","+...-..-...."],["Western Sahara","eh","212","+...-..-...."],["Yemen (\u202B\u0627\u0644\u064A\u0645\u0646\u202C\u200E)","ye","967","+...-.-...-..."],["Zambia","zm","260","+...-..-...-...."],["Zimbabwe","zw","263","+...-.-......"]],dy={},gU={},pU=function(e,t,r){t in dy||(dy[t]=[]);var n=r||0;dy[t][n]=e};for(Xi=0;Xi<hu.length;Xi++){if(gn=hu[Xi],hu[Xi]={name:gn[0],iso2:gn[1],dialCode:gn[2],priority:gn[4]||0},gn[3]&&(hu[Xi].format=gn[3]),gn[5])for(hu[Xi].hasAreaCodes=!0,fy=0;fy<gn[5].length;fy++)mU=gn[2]+gn[5][fy],pU(gn[1],mU);gU[hu[Xi].iso2]=Xi,pU(gn[1],gn[2],gn[4])}var gn,mU,fy,Xi;yU.exports={allCountries:hu,iso2Lookup:gU,allCountryCodes:dy}});var Lse={};Vr(Lse,{init:()=>Ase,open:()=>Rse,reset:()=>kse,update:()=>Nse});c();d();f();c();d();f();c();d();f();c();d();f();var N3=e=>{let t,r=new Set,n=(u,l)=>{let p=typeof u=="function"?u(t):u;if(!Object.is(p,t)){let h=t;t=(l!=null?l:typeof p!="object")?p:Object.assign({},t,p),r.forEach(y=>y(t,h))}},o=()=>t,a={setState:n,getState:o,subscribe:u=>(r.add(u),()=>r.delete(u)),destroy:()=>{(P&&P.MODE)!=="production"&&console.warn("[DEPRECATED] The destroy method will be unsupported in the future version. You should use unsubscribe function returned by subscribe. Everything will be garbage collected if store is garbage collected."),r.clear()}};return t=e(n,o,a),a},R3=e=>e?N3(e):N3;var H3=ce(ve(),1),q3=ce(j3(),1),{useSyncExternalStoreWithSelector:VB}=q3.default;function jB(e,t=e.getState,r){let n=VB(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,H3.useDebugValue)(n),n}var z3=e=>{(P&&P.MODE)!=="production"&&typeof e!="function"&&console.warn('[DEPRECATED] Passing a vanilla store will be unsupported in the future version. Please use `import { useStore } from "zustand"` to use the vanilla store in React.');let t=typeof e=="function"?R3(e):e,r=(n,o)=>jB(t,n,o);return Object.assign(r,t),r},Rh=e=>e?z3(e):z3;c();d();f();var gE=ce(K3(),1);c();d();f();c();d();f();c();d();f();var lE=ce(W3());c();d();f();c();d();f();c();d();f();var Y3="logger/5.7.0";var X3=!1,J3=!1,Lh={debug:1,default:2,info:2,warning:3,error:4,off:5},Q3=Lh.default,sv=null;function zB(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test".normalize(t)!=="test")throw new Error("bad normalize")}catch(r){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}var eE=zB(),av;(function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"})(av||(av={}));var bo;(function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"})(bo||(bo={}));var tE="0123456789abcdef",dt=class{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let n=t.toLowerCase();Lh[n]==null&&this.throwArgumentError("invalid log level name","logLevel",t),!(Q3>Lh[n])&&console.log.apply(console,r)}debug(...t){this._log(dt.levels.DEBUG,t)}info(...t){this._log(dt.levels.INFO,t)}warn(...t){this._log(dt.levels.WARNING,t)}makeError(t,r,n){if(J3)return this.makeError("censored error",r,{});r||(r=dt.errors.UNKNOWN_ERROR),n||(n={});let o=[];Object.keys(n).forEach(u=>{let l=n[u];try{if(l instanceof Uint8Array){let p="";for(let h=0;h<l.length;h++)p+=tE[l[h]>>4],p+=tE[l[h]&15];o.push(u+"=Uint8Array(0x"+p+")")}else o.push(u+"="+JSON.stringify(l))}catch(p){o.push(u+"="+JSON.stringify(n[u].toString()))}}),o.push(`code=${r}`),o.push(`version=${this.version}`);let i=t,s="";switch(r){case bo.NUMERIC_FAULT:{s="NUMERIC_FAULT";let u=t;switch(u){case"overflow":case"underflow":case"division-by-zero":s+="-"+u;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result";break}break}case bo.CALL_EXCEPTION:case bo.INSUFFICIENT_FUNDS:case bo.MISSING_NEW:case bo.NONCE_EXPIRED:case bo.REPLACEMENT_UNDERPRICED:case bo.TRANSACTION_REPLACED:case bo.UNPREDICTABLE_GAS_LIMIT:s=r;break}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),o.length&&(t+=" ("+o.join(", ")+")");let a=new Error(t);return a.reason=i,a.code=r,Object.keys(n).forEach(function(u){a[u]=n[u]}),a}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,dt.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,o){t||this.throwError(r,n,o)}assertArgument(t,r,n,o){t||this.throwArgumentError(r,n,o)}checkNormalize(t){t==null&&(t="platform missing String.prototype.normalize"),eE&&this.throwError("platform missing String.prototype.normalize",dt.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:eE})}checkSafeUint53(t,r){typeof t=="number"&&(r==null&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n?n=": "+n:n="",t<r&&this.throwError("missing argument"+n,dt.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,dt.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",dt.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||t==null)&&this.throwError("missing new",dt.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return sv||(sv=new dt(Y3)),sv}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),X3){if(!t)return;this.globalLogger().throwError("error censorship permanent",dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}J3=!!t,X3=!!r}static setLogLevel(t){let r=Lh[t.toLowerCase()];if(r==null){dt.globalLogger().warn("invalid log level - "+t);return}Q3=r}static from(t){return new dt(t)}};dt.errors=bo;dt.levels=av;c();d();f();var rE="bytes/5.7.0";var ea=new dt(rE);function oE(e){return!!e.toHexString}function vu(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return vu(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function iE(e){return wu(e)&&!(e.length%2)||Zc(e)}function nE(e){return typeof e=="number"&&e==e&&e%1===0}function Zc(e){if(e==null)return!1;if(e.constructor===Uint8Array)return!0;if(typeof e=="string"||!nE(e.length)||e.length<0)return!1;for(let t=0;t<e.length;t++){let r=e[t];if(!nE(r)||r<0||r>=256)return!1}return!0}function kn(e,t){if(t||(t={}),typeof e=="number"){ea.checkSafeUint53(e,"invalid arrayify value");let r=[];for(;e;)r.unshift(e&255),e=parseInt(String(e/256));return r.length===0&&r.push(0),vu(new Uint8Array(r))}if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),oE(e)&&(e=e.toHexString()),wu(e)){let r=e.substring(2);r.length%2&&(t.hexPad==="left"?r="0"+r:t.hexPad==="right"?r+="0":ea.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let o=0;o<r.length;o+=2)n.push(parseInt(r.substring(o,o+2),16));return vu(new Uint8Array(n))}return Zc(e)?vu(new Uint8Array(e)):ea.throwArgumentError("invalid arrayify value","value",e)}function Gc(e){let t=e.map(o=>kn(o)),r=t.reduce((o,i)=>o+i.length,0),n=new Uint8Array(r);return t.reduce((o,i)=>(n.set(i,o),o+i.length),0),vu(n)}function Fh(e,t){e=kn(e),e.length>t&&ea.throwArgumentError("value out of range","value",arguments[0]);let r=new Uint8Array(t);return r.set(e,t-e.length),vu(r)}function wu(e,t){return!(typeof e!="string"||!e.match(/^0x[0-9A-Fa-f]*$/)||t&&e.length!==2+2*t)}var uv="0123456789abcdef";function bu(e,t){if(t||(t={}),typeof e=="number"){ea.checkSafeUint53(e,"invalid hexlify value");let r="";for(;e;)r=uv[e&15]+r,e=Math.floor(e/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof e=="bigint")return e=e.toString(16),e.length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&typeof e=="string"&&e.substring(0,2)!=="0x"&&(e="0x"+e),oE(e))return e.toHexString();if(wu(e))return e.length%2&&(t.hexPad==="left"?e="0x0"+e.substring(2):t.hexPad==="right"?e+="0":ea.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(Zc(e)){let r="0x";for(let n=0;n<e.length;n++){let o=e[n];r+=uv[(o&240)>>4]+uv[o&15]}return r}return ea.throwArgumentError("invalid hexlify value","value",e)}c();d();f();var sE="bignumber/5.7.0";var cv=lE.default.BN,fi=new dt(sE),lv={},aE=9007199254740991;var uE=!1,Mr=class{constructor(t,r){t!==lv&&fi.throwError("cannot call constructor directly; use BigNumber.from",dt.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return bn(ht(this).fromTwos(t))}toTwos(t){return bn(ht(this).toTwos(t))}abs(){return this._hex[0]==="-"?Mr.from(this._hex.substring(1)):this}add(t){return bn(ht(this).add(ht(t)))}sub(t){return bn(ht(this).sub(ht(t)))}div(t){return Mr.from(t).isZero()&&Qn("division-by-zero","div"),bn(ht(this).div(ht(t)))}mul(t){return bn(ht(this).mul(ht(t)))}mod(t){let r=ht(t);return r.isNeg()&&Qn("division-by-zero","mod"),bn(ht(this).umod(r))}pow(t){let r=ht(t);return r.isNeg()&&Qn("negative-power","pow"),bn(ht(this).pow(r))}and(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","and"),bn(ht(this).and(r))}or(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","or"),bn(ht(this).or(r))}xor(t){let r=ht(t);return(this.isNegative()||r.isNeg())&&Qn("unbound-bitwise-result","xor"),bn(ht(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&Qn("negative-width","mask"),bn(ht(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&Qn("negative-width","shl"),bn(ht(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&Qn("negative-width","shr"),bn(ht(this).shrn(t))}eq(t){return ht(this).eq(ht(t))}lt(t){return ht(this).lt(ht(t))}lte(t){return ht(this).lte(ht(t))}gt(t){return ht(this).gt(ht(t))}gte(t){return ht(this).gte(ht(t))}isNegative(){return this._hex[0]==="-"}isZero(){return ht(this).isZero()}toNumber(){try{return ht(this).toNumber()}catch(t){Qn("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return fi.throwError("this platform does not support BigInt",dt.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?uE||(uE=!0,fi.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?fi.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",dt.errors.UNEXPECTED_ARGUMENT,{}):fi.throwError("BigNumber.toString does not accept parameters",dt.errors.UNEXPECTED_ARGUMENT,{})),ht(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof Mr)return t;if(typeof t=="string")return t.match(/^-?0x[0-9a-f]+$/i)?new Mr(lv,Wc(t)):t.match(/^-?[0-9]+$/)?new Mr(lv,Wc(new cv(t))):fi.throwArgumentError("invalid BigNumber string","value",t);if(typeof t=="number")return t%1&&Qn("underflow","BigNumber.from",t),(t>=aE||t<=-aE)&&Qn("overflow","BigNumber.from",t),Mr.from(String(t));let r=t;if(typeof r=="bigint")return Mr.from(r.toString());if(Zc(r))return Mr.from(bu(r));if(r)if(r.toHexString){let n=r.toHexString();if(typeof n=="string")return Mr.from(n)}else{let n=r._hex;if(n==null&&r.type==="BigNumber"&&(n=r.hex),typeof n=="string"&&(wu(n)||n[0]==="-"&&wu(n.substring(1))))return Mr.from(n)}return fi.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}};function Wc(e){if(typeof e!="string")return Wc(e.toString(16));if(e[0]==="-")return e=e.substring(1),e[0]==="-"&&fi.throwArgumentError("invalid hex","value",e),e=Wc(e),e==="0x00"?e:"-"+e;if(e.substring(0,2)!=="0x"&&(e="0x"+e),e==="0x")return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&e.substring(0,4)==="0x00";)e="0x"+e.substring(4);return e}function bn(e){return Mr.from(Wc(e))}function ht(e){let t=Mr.from(e).toHexString();return t[0]==="-"?new cv("-"+t.substring(3),16):new cv(t.substring(2),16)}function Qn(e,t,r){let n={fault:e,operation:t};return r!=null&&(n.value=r),fi.throwError(e,dt.errors.NUMERIC_FAULT,n)}c();d();f();c();d();f();c();d();f();var cE="strings/5.7.0";var fE=new dt(cE),Yc;(function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"})(Yc||(Yc={}));var ta;(function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"})(ta||(ta={}));function HB(e,t,r,n,o){return fE.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function dE(e,t,r,n,o){if(e===ta.BAD_PREFIX||e===ta.UNEXPECTED_CONTINUE){let i=0;for(let s=t+1;s<r.length&&r[s]>>6===2;s++)i++;return i}return e===ta.OVERRUN?r.length-t-1:0}function qB(e,t,r,n,o){return e===ta.OVERLONG?(n.push(o),0):(n.push(65533),dE(e,t,r,n,o))}var KB=Object.freeze({error:HB,ignore:dE,replace:qB});function fv(e,t=Yc.current){t!=Yc.current&&(fE.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o<128)r.push(o);else if(o<2048)r.push(o>>6|192),r.push(o&63|128);else if((o&64512)==55296){n++;let i=e.charCodeAt(n);if(n>=e.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");let s=65536+((o&1023)<<10)+(i&1023);r.push(s>>18|240),r.push(s>>12&63|128),r.push(s>>6&63|128),r.push(s&63|128)}else r.push(o>>12|224),r.push(o>>6&63|128),r.push(o&63|128)}return kn(r)}c();d();f();var hE="solidity/5.7.0";var ZB=new RegExp("^bytes([0-9]+)$"),GB=new RegExp("^(u?int)([0-9]*)$"),WB=new RegExp("^(.*)\\[([0-9]*)\\]$"),YB="0000000000000000000000000000000000000000000000000000000000000000",_u=new dt(hE);function pE(e,t,r){switch(e){case"address":return r?Fh(t,32):kn(t);case"string":return fv(t);case"bytes":return kn(t);case"bool":return t=t?"0x01":"0x00",r?Fh(t,32):kn(t)}let n=e.match(GB);if(n){let o=parseInt(n[2]||"256");return(n[2]&&String(o)!==n[2]||o%8!==0||o===0||o>256)&&_u.throwArgumentError("invalid number type","type",e),r&&(o=256),t=Mr.from(t).toTwos(o),Fh(t,o/8)}if(n=e.match(ZB),n){let o=parseInt(n[1]);return(String(o)!==n[1]||o===0||o>32)&&_u.throwArgumentError("invalid bytes type","type",e),kn(t).byteLength!==o&&_u.throwArgumentError(`invalid value for ${e}`,"value",t),r?kn((t+YB).substring(0,66)):t}if(n=e.match(WB),n&&Array.isArray(t)){let o=n[1];parseInt(n[2]||String(t.length))!=t.length&&_u.throwArgumentError(`invalid array length for ${e}`,"value",t);let s=[];return t.forEach(function(a){s.push(pE(o,a,!0))}),Gc(s)}return _u.throwArgumentError("invalid type","type",e)}function mE(e,t){e.length!=t.length&&_u.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);let r=[];return e.forEach(function(n,o){r.push(pE(n,t[o]))}),bu(Gc(r))}function Xc(e){return Array.isArray(e)?XB(e):iE(e)?dv(e):JB(e)}function XB(e){let[t,r]=e.reduce(([n,o],[i,s])=>(n.push(i),o.push(s),[n,o]),[[],[]]);return dv(mE(t,r))}function JB(e){let t=x.from(e);return dv(t)}function dv(e){let t=BigInt(QB(e))>>BigInt(8),r=t.toString(16);return{hash:t,digest:`0x${r.padStart(64,"0")}`}}function QB(e){let t=bu(Gc([kn(e)]));return"0x"+gE.default.keccak_256(kn(t))}var yE=e=>{let t=/^0x[\dabcdef]+$/;return!!e.toString().match(t)&&e.length>=66};c();d();f();var hv=(o=>(o.MAX_ATTEMPTS="max_attempts",o.TIMEOUT="timeout",o.UNSUPPORTED_COUNTRY="unsupported_country",o.SERVER_ERROR="server_error",o))(hv||{});c();d();f();c();d();f();var mv=function(e,t){return mv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},mv(e,t)};function eV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mv(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var yt=function(){return yt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},yt.apply(this,arguments)};function ra(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(p){try{l(n.next(p))}catch(h){s(h)}}function u(p){try{l(n.throw(p))}catch(h){s(h)}}function l(p){p.done?i(p.value):o(p.value).then(a,u)}l((n=n.apply(e,t||[])).next())})}function na(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return u([l,p])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function tV(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var tt;(function(e){e.AnonymousId="anonymous_id",e.DistinctId="distinct_id",e.Props="props",e.FeatureFlags="feature_flags",e.OverrideFeatureFlags="override_feature_flags",e.Queue="queue",e.OptedOut="opted_out",e.SessionId="session_id",e.SessionLastTimestamp="session_timestamp",e.PersonProperties="person_properties",e.GroupProperties="group_properties"})(tt||(tt={}));function rV(e,t){if(!e)throw new Error(t)}function nV(e){return e==null?void 0:e.replace(/\/+$/,"")}function oV(e,t){return t===void 0&&(t={}),ra(this,void 0,void 0,function(){var r,n,o,i,s,a,u,l,p,h;return na(this,function(y){switch(y.label){case 0:r=t.retryCount,n=r===void 0?3:r,o=t.retryDelay,i=o===void 0?5e3:o,s=t.retryCheck,a=s===void 0?function(){return!0}:s,u=null,l=0,y.label=1;case 1:if(!(l<n+1))return[3,8];y.label=2;case 2:return y.trys.push([2,4,,5]),[4,e()];case 3:return p=y.sent(),[2,p];case 4:if(h=y.sent(),u=h,!a(h))throw h;return[3,5];case 5:return[4,new Promise(function(b){return setTimeout(b,i)})];case 6:y.sent(),y.label=7;case 7:return l++,[3,1];case 8:throw u}})})}function vE(e){var t=new Date().getTime(),r=e&&e.performance&&e.performance.now&&e.performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var o=Math.random()*16;return t>0?(o=(t+o)%16|0,t=Math.floor(t/16)):(o=(r+o)%16|0,r=Math.floor(r/16)),(n==="x"?o:o&3|8).toString(16)})}function SE(){return new Date().getTime()}function wE(){return new Date().toISOString()}function bE(e,t){var r=setTimeout(e,t);return r!=null&&r.unref&&(r==null||r.unref()),r}var Jc=String.fromCharCode,_E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Uh={};function iV(e,t){if(!Uh[e]){Uh[e]={};for(var r=0;r<e.length;r++)Uh[e][e.charAt(r)]=r}return Uh[e][t]}var tf={compressToBase64:function(e){if(e==null)return"";var t=tf._compress(e,6,function(r){return _E.charAt(r)});switch(t.length%4){default:case 0:return t;case 1:return t+"===";case 2:return t+"==";case 3:return t+"="}},decompressFromBase64:function(e){return e==null?"":e==""?null:tf._decompress(e.length,32,function(t){return iV(_E,e.charAt(t))})},compress:function(e){return tf._compress(e,16,function(t){return Jc(t)})},_compress:function(e,t,r){if(e==null)return"";var n={},o={},i=[],s,a,u="",l="",p="",h=2,y=3,b=2,v=0,C=0,N;for(N=0;N<e.length;N+=1)if(u=e.charAt(N),Object.prototype.hasOwnProperty.call(n,u)||(n[u]=y++,o[u]=!0),l=p+u,Object.prototype.hasOwnProperty.call(n,l))p=l;else{if(Object.prototype.hasOwnProperty.call(o,p)){if(p.charCodeAt(0)<256){for(s=0;s<b;s++)v=v<<1,C==t-1?(C=0,i.push(r(v)),v=0):C++;for(a=p.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}else{for(a=1,s=0;s<b;s++)v=v<<1|a,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=0;for(a=p.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}h--,h==0&&(h=Math.pow(2,b),b++),delete o[p]}else for(a=n[p],s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;h--,h==0&&(h=Math.pow(2,b),b++),n[l]=y++,p=String(u)}if(p!==""){if(Object.prototype.hasOwnProperty.call(o,p)){if(p.charCodeAt(0)<256){for(s=0;s<b;s++)v=v<<1,C==t-1?(C=0,i.push(r(v)),v=0):C++;for(a=p.charCodeAt(0),s=0;s<8;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}else{for(a=1,s=0;s<b;s++)v=v<<1|a,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=0;for(a=p.charCodeAt(0),s=0;s<16;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1}h--,h==0&&(h=Math.pow(2,b),b++),delete o[p]}else for(a=n[p],s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;h--,h==0&&(h=Math.pow(2,b),b++)}for(a=2,s=0;s<b;s++)v=v<<1|a&1,C==t-1?(C=0,i.push(r(v)),v=0):C++,a=a>>1;for(;;)if(v=v<<1,C==t-1){i.push(r(v));break}else C++;return i.join("")},decompress:function(e){return e==null?"":e==""?null:tf._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,t,r){var n=[],o=[],i={val:r(0),position:t,index:1},s=4,a=4,u=3,l="",p,h,y,b,v,C,N;for(p=0;p<3;p+=1)n[p]=p;for(y=0,v=Math.pow(2,2),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;switch(y){case 0:for(y=0,v=Math.pow(2,8),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;N=Jc(y);break;case 1:for(y=0,v=Math.pow(2,16),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;N=Jc(y);break;case 2:return""}for(n[3]=N,h=N,o.push(N);;){if(i.index>e)return"";for(y=0,v=Math.pow(2,u),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;switch(N=y){case 0:for(y=0,v=Math.pow(2,8),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;n[a++]=Jc(y),N=a-1,s--;break;case 1:for(y=0,v=Math.pow(2,16),C=1;C!=v;)b=i.val&i.position,i.position>>=1,i.position==0&&(i.position=t,i.val=r(i.index++)),y|=(b>0?1:0)*C,C<<=1;n[a++]=Jc(y),N=a-1,s--;break;case 2:return o.join("")}if(s==0&&(s=Math.pow(2,u),u++),n[N])l=n[N];else if(N===a)l=h+h.charAt(0);else return null;o.push(l),n[a++]=h+l.charAt(0),s--,h=l,s==0&&(s=Math.pow(2,u),u++)}}},sV=function(){function e(){this.events={},this.events={}}return e.prototype.on=function(t,r){var n=this;return this.events[t]||(this.events[t]=[]),this.events[t].push(r),function(){n.events[t]=n.events[t].filter(function(o){return o!==r})}},e.prototype.emit=function(t,r){for(var n=0,o=this.events[t]||[];n<o.length;n++){var i=o[n];i(r)}for(var s=0,a=this.events["*"]||[];s<a.length;s++){var i=a[s];i(t,r)}},e}(),aV=function(){function e(t,r){var n=this,o,i,s,a,u,l;this.flagCallReported={},this._events=new sV,rV(t,"You must pass your PostHog project's api key."),this.apiKey=t,this.host=nV((r==null?void 0:r.host)||"https://app.posthog.com"),this.flushAt=r!=null&&r.flushAt?Math.max(r==null?void 0:r.flushAt,1):20,this.flushInterval=(o=r==null?void 0:r.flushInterval)!==null&&o!==void 0?o:1e4,this.captureMode=(r==null?void 0:r.captureMode)||"form",this.sendFeatureFlagEvent=(i=r==null?void 0:r.sendFeatureFlagEvent)!==null&&i!==void 0?i:!0,this._optoutOverride=(r==null?void 0:r.enable)===!1,this._retryOptions={retryCount:(s=r==null?void 0:r.fetchRetryCount)!==null&&s!==void 0?s:3,retryDelay:(a=r==null?void 0:r.fetchRetryDelay)!==null&&a!==void 0?a:3e3},this.requestTimeout=(u=r==null?void 0:r.requestTimeout)!==null&&u!==void 0?u:1e4,this._sessionExpirationTimeSeconds=(l=r==null?void 0:r.sessionExpirationTimeSeconds)!==null&&l!==void 0?l:1800,(r==null?void 0:r.preloadFeatureFlags)!==!1&&bE(function(){n.reloadFeatureFlagsAsync()},1)}return e.prototype.getCommonEventProperties=function(){var t=this.getFeatureFlags(),r={};if(t)for(var n=0,o=Object.entries(t);n<o.length;n++){var i=o[n],s=i[0],a=i[1];r["$feature/".concat(s)]=a}return yt({$lib:this.getLibraryId(),$lib_version:this.getLibraryVersion(),$active_feature_flags:t?Object.keys(t):void 0},r)},e.prototype.setupBootstrap=function(t){var r,n,o,i;if(!((r=t==null?void 0:t.bootstrap)===null||r===void 0)&&r.distinctId&&(!((n=t==null?void 0:t.bootstrap)===null||n===void 0)&&n.isIdentifiedId?this.setPersistedProperty(tt.DistinctId,t.bootstrap.distinctId):this.setPersistedProperty(tt.AnonymousId,t.bootstrap.distinctId)),!((o=t==null?void 0:t.bootstrap)===null||o===void 0)&&o.featureFlags){var s=Object.keys(((i=t.bootstrap)===null||i===void 0?void 0:i.featureFlags)||{}).filter(function(a){var u,l;return!!(!((l=(u=t.bootstrap)===null||u===void 0?void 0:u.featureFlags)===null||l===void 0)&&l[a])}).reduce(function(a,u){var l,p;return a[u]=((p=(l=t.bootstrap)===null||l===void 0?void 0:l.featureFlags)===null||p===void 0?void 0:p[u])||!1,a},{});this.setKnownFeatureFlags(s)}},Object.defineProperty(e.prototype,"props",{get:function(){return this._props||(this._props=this.getPersistedProperty(tt.Props)),this._props||{}},set:function(t){this._props=t},enumerable:!1,configurable:!0}),e.prototype.clearProps=function(){this.props=void 0},Object.defineProperty(e.prototype,"optedOut",{get:function(){var t,r;return(r=(t=this.getPersistedProperty(tt.OptedOut))!==null&&t!==void 0?t:this._optoutOverride)!==null&&r!==void 0?r:!1},enumerable:!1,configurable:!0}),e.prototype.optIn=function(){this.setPersistedProperty(tt.OptedOut,!1)},e.prototype.optOut=function(){this.setPersistedProperty(tt.OptedOut,!0)},e.prototype.on=function(t,r){return this._events.on(t,r)},e.prototype.reset=function(t){var r=tV([tt.Queue],t||[],!0);this.clearProps();for(var n=0,o=Object.keys(tt);n<o.length;n++){var i=o[n];r.includes(tt[i])||this.setPersistedProperty(tt[i],null)}},e.prototype.debug=function(t){var r;t===void 0&&(t=!0),(r=this.removeDebugCallback)===null||r===void 0||r.call(this),t&&(this.removeDebugCallback=this.on("*",function(n,o){return console.log("PostHog Debug",n,o)}))},e.prototype.buildPayload=function(t){return{distinct_id:t.distinct_id||this.getDistinctId(),event:t.event,properties:yt(yt(yt(yt({},this.props),t.properties||{}),this.getCommonEventProperties()),{$session_id:this.getSessionId()})}},e.prototype.getSessionId=function(){var t=this.getPersistedProperty(tt.SessionId),r=this.getPersistedProperty(tt.SessionLastTimestamp)||0;return(!t||Date.now()-r>this._sessionExpirationTimeSeconds*1e3)&&(t=vE(globalThis),this.setPersistedProperty(tt.SessionId,t)),this.setPersistedProperty(tt.SessionLastTimestamp,Date.now()),t},e.prototype.resetSessionId=function(){this.setPersistedProperty(tt.SessionId,null)},e.prototype.getAnonymousId=function(){var t=this.getPersistedProperty(tt.AnonymousId);return t||(t=vE(globalThis),this.setPersistedProperty(tt.AnonymousId,t)),t},e.prototype.getDistinctId=function(){return this.getPersistedProperty(tt.DistinctId)||this.getAnonymousId()},e.prototype.register=function(t){this.props=yt(yt({},this.props),t),this.setPersistedProperty(tt.Props,this.props)},e.prototype.unregister=function(t){delete this.props[t],this.setPersistedProperty(tt.Props,this.props)},e.prototype.identify=function(t,r){var n=this.getDistinctId();t=t||n,r!=null&&r.$groups&&this.groups(r.$groups);var o=yt(yt({},this.buildPayload({distinct_id:t,event:"$identify",properties:yt(yt({},r||{}),{$anon_distinct_id:this.getAnonymousId()})})),{$set:r});return t!==n&&(this.setPersistedProperty(tt.AnonymousId,n),this.setPersistedProperty(tt.DistinctId,t),this.getFeatureFlags()&&this.reloadFeatureFlagsAsync()),this.enqueue("identify",o),this},e.prototype.capture=function(t,r,n){if(n===void 0&&(n=!1),r!=null&&r.$groups&&this.groups(r.$groups),n)this._sendFeatureFlags(t,r);else{var o=this.buildPayload({event:t,properties:r});this.enqueue("capture",o)}return this},e.prototype.alias=function(t){var r=this.getDistinctId(),n=this.buildPayload({event:"$create_alias",properties:{distinct_id:r,alias:t}});return this.enqueue("alias",n),this},e.prototype.autocapture=function(t,r,n){n===void 0&&(n={});var o=this.buildPayload({event:"$autocapture",properties:yt(yt({},n),{$event_type:t,$elements:r})});return this.enqueue("autocapture",o),this},e.prototype.groups=function(t){var r=this.props.$groups||{};return this.register({$groups:yt(yt({},r),t)}),Object.keys(t).find(function(n){return r[n]!==t[n]})&&this.getFeatureFlags()&&this.reloadFeatureFlagsAsync(),this},e.prototype.group=function(t,r,n){var o;return this.groups((o={},o[t]=r,o)),n&&this.groupIdentify(t,r,n),this},e.prototype.groupIdentify=function(t,r,n){var o={event:"$groupidentify",distinctId:"$".concat(t,"_").concat(r),properties:yt({$group_type:t,$group_key:r,$group_set:n||{}},this.getCommonEventProperties())};return this.enqueue("capture",o),this},e.prototype.personProperties=function(t){var r=this.getPersistedProperty(tt.PersonProperties)||{};return this.setPersistedProperty(tt.PersonProperties,yt(yt({},r),t)),this},e.prototype.groupProperties=function(t){var r=this.getPersistedProperty(tt.GroupProperties)||{};return Object.keys(r).length!==0&&Object.keys(r).forEach(function(n){r[n]=yt(yt({},r[n]),t[n]),delete t[n]}),this.setPersistedProperty(tt.GroupProperties,yt(yt({},r),t)),this},e.prototype.decideAsync=function(t){return t===void 0&&(t=!0),this._decideResponsePromise?this._decideResponsePromise:this._decideAsync(t)},e.prototype._decideAsync=function(t){return t===void 0&&(t=!0),ra(this,void 0,void 0,function(){var r,n,o,i,s,a,u=this;return na(this,function(l){return r="".concat(this.host,"/decide/?v=2"),n=this.getDistinctId(),o=this.props.$groups||{},i=this.getPersistedProperty(tt.PersonProperties)||{},s=this.getPersistedProperty(tt.GroupProperties)||{},a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:this.apiKey,distinct_id:n,$anon_distinct_id:t?this.getAnonymousId():void 0,groups:o,person_properties:i,group_properties:s})},this._decideResponsePromise=this.fetchWithRetry(r,a).then(function(p){return p.json()}).then(function(p){return p.featureFlags&&u.setKnownFeatureFlags(p.featureFlags),p}).finally(function(){u._decideResponsePromise=void 0}),[2,this._decideResponsePromise]})})},e.prototype.setKnownFeatureFlags=function(t){this.setPersistedProperty(tt.FeatureFlags,t),this._events.emit("featureflags",t)},e.prototype.getFeatureFlag=function(t){var r=this.getFeatureFlags();if(!!r){var n=r[t];return n===void 0&&(n=!1),this.sendFeatureFlagEvent&&!this.flagCallReported[t]&&(this.flagCallReported[t]=!0,this.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:n})),n}},e.prototype.getFeatureFlags=function(){var t=this.getPersistedProperty(tt.FeatureFlags),r=this.getPersistedProperty(tt.OverrideFeatureFlags);if(!r)return t;t=t||{};for(var n in r)r[n]?t[n]=r[n]:delete t[n];return t},e.prototype.isFeatureEnabled=function(t){var r=this.getFeatureFlag(t);if(r!==void 0)return!!r},e.prototype.reloadFeatureFlagsAsync=function(t){return t===void 0&&(t=!0),ra(this,void 0,void 0,function(){return na(this,function(r){switch(r.label){case 0:return[4,this.decideAsync(t)];case 1:return[2,r.sent().featureFlags]}})})},e.prototype.onFeatureFlags=function(t){var r=this;return this.on("featureflags",function(){return ra(r,void 0,void 0,function(){var n;return na(this,function(o){return n=this.getFeatureFlags(),n&&t(n),[2]})})})},e.prototype.onFeatureFlag=function(t,r){var n=this;return this.on("featureflags",function(){return ra(n,void 0,void 0,function(){var o;return na(this,function(i){return o=this.getFeatureFlag(t),o!==void 0&&r(o),[2]})})})},e.prototype.overrideFeatureFlag=function(t){return t===null?this.setPersistedProperty(tt.OverrideFeatureFlags,null):this.setPersistedProperty(tt.OverrideFeatureFlags,t)},e.prototype._sendFeatureFlags=function(t,r){var n=this;this.reloadFeatureFlagsAsync(!1).finally(function(){var o=n.buildPayload({event:t,properties:r});n.enqueue("capture",o)})},e.prototype.enqueue=function(t,r){var n=this;if(!this.optedOut){var o=yt(yt({},r),{type:t,library:this.getLibraryId(),library_version:this.getLibraryVersion(),timestamp:r.timestamp?r.timestamp:wE()});o.distinctId&&(o.distinct_id=o.distinctId,delete o.distinctId);var i=this.getPersistedProperty(tt.Queue)||[];i.push({message:o}),this.setPersistedProperty(tt.Queue,i),this._events.emit(t,o),i.length>=this.flushAt&&this.flush(),this.flushInterval&&!this._flushTimer&&(this._flushTimer=bE(function(){return n.flush()},this.flushInterval))}},e.prototype.flushAsync=function(){var t=this;return new Promise(function(r,n){t.flush(function(o,i){return o?n(o):r(i)})})},e.prototype.flush=function(t){var r=this;if(this.optedOut)return t==null?void 0:t();this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=null);var n=this.getPersistedProperty(tt.Queue)||[];if(!n.length)return t==null?void 0:t();var o=n.splice(0,this.flushAt);this.setPersistedProperty(tt.Queue,n);var i=o.map(function(h){return h.message}),s={api_key:this.apiKey,batch:i,sent_at:wE()},a=function(h){t==null||t(h,i),r._events.emit("flush",i)};this.getCustomUserAgent();var u=JSON.stringify(s),l=this.captureMode==="form"?"".concat(this.host,"/e/?ip=1&_=").concat(SE(),"&v=").concat(this.getLibraryVersion()):"".concat(this.host,"/batch/"),p=this.captureMode==="form"?{method:"POST",mode:"no-cors",credentials:"omit",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"data=".concat(encodeURIComponent(tf.compressToBase64(u)),"&compression=lz64")}:{method:"POST",headers:{"Content-Type":"application/json"},body:u};this.fetchWithRetry(l,p).then(function(){return a()}).catch(function(h){if(h.response){var y=new Error(h.response.statusText);return a(y)}a(h)})},e.prototype.fetchWithRetry=function(t,r,n){var o,i;return ra(this,void 0,void 0,function(){var s=this;return na(this,function(a){return(o=(i=AbortSignal).timeout)!==null&&o!==void 0||(i.timeout=function(l){var p=new AbortController;return setTimeout(function(){return p.abort()},l),p.signal}),[2,oV(function(){return s.fetch(t,yt({signal:AbortSignal.timeout(s.requestTimeout)},r))},n||this._retryOptions)]})})},e.prototype.shutdownAsync=function(){return ra(this,void 0,void 0,function(){return na(this,function(t){switch(t.label){case 0:return clearTimeout(this._flushTimer),[4,this.flushAsync()];case 1:return t.sent(),[2]}})})},e.prototype.shutdown=function(){this.shutdownAsync()},e}(),CE="2.0.0";function uV(e){var t={};if(e.navigator){var r=e.navigator.userAgent;t=yt(yt({},t),{$os:cV(e),$browser:ME(r,e.navigator.vendor,!!e.opera),$referrer:e.document.referrer,$referring_domain:dV(e.document.referrer),$device:fV(r),$current_url:e.location.href,$host:e.location.host,$pathname:e.location.pathname,$browser_version:lV(r,e.navigator.vendor,!!e.opera),$screen_height:e.screen.height,$screen_width:e.screen.width,$screen_dpr:e.devicePixelRatio})}return t=yt(yt({},t),{$lib:"js",$lib_version:CE,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:SE()/1e3}),t}function or(e,t){return e.indexOf(t)>=0}function ME(e,t,r){return t=t||"",r||or(e," OPR/")?or(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":or(e,"IEMobile")||or(e,"WPDesktop")?"Internet Explorer Mobile":or(e,"SamsungBrowser/")?"Samsung Internet":or(e,"Edge")||or(e,"Edg/")?"Microsoft Edge":or(e,"FBIOS")?"Facebook Mobile":or(e,"Chrome")?"Chrome":or(e,"CriOS")?"Chrome iOS":or(e,"UCWEB")||or(e,"UCBrowser")?"UC Browser":or(e,"FxiOS")?"Firefox iOS":or(t,"Apple")?or(e,"Mobile")?"Mobile Safari":"Safari":or(e,"Android")?"Android Mobile":or(e,"Konqueror")?"Konqueror":or(e,"Firefox")?"Firefox":or(e,"MSIE")||or(e,"Trident/")?"Internet Explorer":or(e,"Gecko")?"Mozilla":""}function lV(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/},o=ME(e,t,r),i=n[o]||void 0;if(i===void 0)return null;var s=e.match(i);return s?parseFloat(s[s.length-2]):null}function cV(e){var t=e.navigator.userAgent;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""}function fV(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""}function dV(e){var t=e.split("/");return t.length>=3?t[2]:""}var TE={getItem:function(e){try{for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];o.charAt(0)==" ";)o=o.substring(1,o.length);if(o.indexOf(t)===0)return decodeURIComponent(o.substring(t.length,o.length))}}catch(i){}return null},setItem:function(e,t){try{var r="",n="",o="",i=e+"="+encodeURIComponent(t)+n+"; path=/"+r+o;document.cookie=i}catch(s){return}},removeItem:function(e){try{TE.setItem(e,"")}catch(t){return}},clear:function(){document.cookie=""},getAllKeys:function(){for(var e=document.cookie.split(";"),t=[],r=0;r<e.length;r++){for(var n=e[r];n.charAt(0)==" ";)n=n.substring(1,n.length);t.push(n.split("=")[0])}return t}},xE=function(e){return{getItem:function(t){return e.getItem(t)},setItem:function(t,r){e.setItem(t,r)},removeItem:function(t){e.removeItem(t)},clear:function(){e.clear()},getAllKeys:function(){var t=[];for(var r in localStorage)t.push(r);return t}}},EE=function(e,t){if(t===void 0&&(t="__mplssupport__"),!window)return!1;try{var r="xyz";return e.setItem(t,r),e.getItem(t)!==r?!1:(e.removeItem(t),!0)}catch(n){return!1}},pv=void 0,Qc=void 0,ef=function(){var e={},t={getItem:function(r){return e[r]},setItem:function(r,n){e[r]=n!==null?n:void 0},removeItem:function(r){delete e[r]},clear:function(){for(var r in e)delete e[r]},getAllKeys:function(){var r=[];for(var n in e)r.push(n);return r}};return t},hV=function(e,t){if(t){if(!localStorage){var r=xE(t.localStorage);pv=EE(r)?r:void 0}if(!Qc){var n=xE(t.sessionStorage);Qc=EE(n)?n:void 0}}switch(e){case"cookie":return TE||pv||Qc||ef();case"localStorage":return pv||Qc||ef();case"sessionStorage":return Qc||ef();case"memory":return ef();default:return ef()}},PE=function(e){eV(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o._storageKey=n!=null&&n.persistence_name?"ph_".concat(n.persistence_name):"ph_".concat(r,"_posthog"),o._storage=hV((n==null?void 0:n.persistence)||"localStorage",window),o.setupBootstrap(n),o}return t.prototype.getPersistedProperty=function(r){return this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),this._storageCache[r]},t.prototype.setPersistedProperty=function(r,n){this._storageCache||(this._storageCache=JSON.parse(this._storage.getItem(this._storageKey)||"{}")||{}),n===null?delete this._storageCache[r]:this._storageCache[r]=n,this._storage.setItem(this._storageKey,JSON.stringify(this._storageCache))},t.prototype.fetch=function(r,n){return window.fetch(r,n)},t.prototype.getLibraryId=function(){return"posthog-js-lite"},t.prototype.getLibraryVersion=function(){return CE},t.prototype.getCustomUserAgent=function(){},t.prototype.getCommonEventProperties=function(){return yt(yt({},e.prototype.getCommonEventProperties.call(this)),uV(window))},t}(aV);function pV(e){return{name:"telemetry-error",error:e}}typeof globalThis.window<"u"&&(window.onunhandledrejection=function(e){return e.reason.name!=="telemetry-error"});async function mV(e,t){try{return await fetch(e,t)}catch(r){throw pV(r)}}var cr=null;typeof globalThis.window<"u"&&(cr=new PE("phc_QttqgDbMQDYHX1EMH7FnT6ECBVzdp0kGUq92aQaVQ6I",{persistence:"memory"}),cr.fetch=mV);var $h={version:"0.3.0-alpha.4",package:"idkit-js"},xu=()=>{var e;return(e=cr==null?void 0:cr.getDistinctId())!=null?e:""},OE=e=>{e?cr==null||cr.capture("idkit loaded",$h):cr==null||cr.optOut()},DE=()=>{cr==null||cr.capture("idkit opened",$h)},IE=()=>{cr==null||cr.capture("idkit phone typed",$h)},AE=e=>{cr==null||cr.capture("idkit phone code retried",Se(te({},$h),{channel:e}))};var gV=Rh()((e,t)=>({open:!1,code:"",signal:"",result:null,actionId:"",walletconnectId:"",theme:"light",phoneNumber:"",autoClose:!1,errorState:null,processing:!1,verifyCallbacks:{},successCallbacks:{},stringifiedActionId:"",stage:"ENTER_PHONE",copy:{},setCode:r=>e({code:r}),setStage:r=>e({stage:r}),setErrorState:r=>e({errorState:r}),setPhoneNumber:r=>e({phoneNumber:r}),setProcessing:r=>e({processing:r}),retryFlow:()=>e({stage:"ENTER_PHONE",phoneNumber:"",errorState:null}),addSuccessCallback:(r,n)=>{e(o=>(o.successCallbacks[n]=r,o))},addVerificationCallback:(r,n)=>{e(o=>(o.verifyCallbacks[n]=r,o))},setOptions:({handleVerify:r,onSuccess:n,signal:o,actionId:i,walletconnectId:s,autoClose:a,copy:u,theme:l},p)=>{let h=typeof i=="string"?i:Xc(i).digest;e(y=>({theme:l,signal:o,walletconnectId:s,actionId:i,autoClose:a,stringifiedActionId:h,copy:te(te({},y.copy),u)})),n&&t().addSuccessCallback(n,p),r&&t().addVerificationCallback(r,p)},handleVerify:r=>{e({stage:"HOST_APP_VERIFICATION",processing:!1}),Promise.all(Object.values(t().verifyCallbacks).map(n=>n==null?void 0:n(r))).then(()=>{e({stage:"SUCCESS",result:r}),t().autoClose&&setTimeout(()=>t().onOpenChange(!1),1e3)},n=>{let o;n&&typeof n=="object"&&n.message&&(o=n.message),e({stage:"ERROR",errorState:{code:"REJECTED_BY_HOST_APP",message:o}})})},onOpenChange:r=>{if(r)return DE(),e({open:r});if(t().stage=="SUCCESS"){let n=t().result;n&&requestAnimationFrame(()=>Object.values(t().successCallbacks).map(o=>()=>o==null?void 0:o(n)))}e({open:r,phoneNumber:"",code:"",processing:!1,stage:"ENTER_PHONE",result:null,errorState:null})}})),Gt=gV;c();d();f();var oa={title:"World ID",heading:"Verify your phone number",subheading:"We'll take care of the rest!",success:"Your phone number has been verified"};var M$=ce(e9(),1);c();d();f();var S$=ce(ve(),1);c();d();f();c();d();f();var wr=ce(ve()),l9=ce(ba()),xi=ce(D6()),bz=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function c9(e,t){return e(t={exports:{}},t.exports),t.exports}var _z=c9(function(e){(function(t){var r=function(N,M,T){if(!u(M)||p(M)||h(M)||y(M)||a(M))return M;var I,U=0,K=0;if(l(M))for(I=[],K=M.length;U<K;U++)I.push(r(N,M[U],T));else for(var J in I={},M)Object.prototype.hasOwnProperty.call(M,J)&&(I[N(J,T)]=r(N,M[J],T));return I},n=function(N){return b(N)?N:(N=N.replace(/[\-_\s]+(.)?/g,function(M,T){return T?T.toUpperCase():""})).substr(0,1).toLowerCase()+N.substr(1)},o=function(N){var M=n(N);return M.substr(0,1).toUpperCase()+M.substr(1)},i=function(N,M){return function(T,I){var U=(I=I||{}).separator||"_",K=I.split||/(?=[A-Z])/;return T.split(K).join(U)}(N,M).toLowerCase()},s=Object.prototype.toString,a=function(N){return typeof N=="function"},u=function(N){return N===Object(N)},l=function(N){return s.call(N)=="[object Array]"},p=function(N){return s.call(N)=="[object Date]"},h=function(N){return s.call(N)=="[object RegExp]"},y=function(N){return s.call(N)=="[object Boolean]"},b=function(N){return(N-=0)==N},v=function(N,M){var T=M&&"process"in M?M.process:M;return typeof T!="function"?N:function(I,U){return T(I,N,U)}},C={camelize:n,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(N,M){return r(v(n,M),N)},decamelizeKeys:function(N,M){return r(v(i,M),N,M)},pascalizeKeys:function(N,M){return r(v(o,M),N)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=C:t.humps=C})(bz)}).decamelize,xz=c9(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},t.apply(this,arguments)}e.exports=t}),Ez=function(e){if(Array.isArray(e))return e},Sz=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(u){o=!0,i=u}finally{try{n||a.return==null||a.return()}finally{if(o)throw i}}return r}},u9=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},Cz=function(e,t){if(e){if(typeof e=="string")return u9(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u9(e,t):void 0}},Mz=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
23
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Tz=function(e,t){return Ez(e)||Sz(e,t)||Cz(e,t)||Mz()},Pz=function(e,t){if(e==null)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},Oz=function(e,t){if(e==null)return{};var r,n,o=Pz(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},Dz=(0,wr.createContext)(null);function A6(e){var t=e.root,r=e.children;return(0,l9.createPortal)(r,t)}function Iz(e){var t=(0,wr.forwardRef)(function(r,n){var o,i,s=r.mode,a=r.delegatesFocus,u=r.styleSheets,l=r.ssr,p=r.children,h=Oz(r,["mode","delegatesFocus","styleSheets","ssr","children"]),y=(i=(0,wr.useRef)((o=n)&&o.current),(0,wr.useEffect)(function(){o&&(o.current=i.current)},[o]),i),b=(0,wr.useState)(null),v=Tz(b,2),C=v[0],N=v[1],M="node_".concat(s).concat(a);return(0,wr.useEffect)(function(){if(y.current)try{if(typeof n=="function"&&n(y.current),l){var T=y.current.shadowRoot;return void N(T)}var I=y.current.attachShadow({mode:s,delegatesFocus:a});u.length>0&&(I.adoptedStyleSheets=u),N(I)}catch(U){(function(K){var J=K.error,j=K.styleSheets,Z=K.root;switch(J.name){case"NotSupportedError":j.length>0&&(Z.adoptedStyleSheets=j);break;default:throw J}})({error:U,styleSheets:u,root:C})}},[n,y,u]),wr.default.createElement(wr.default.Fragment,null,wr.default.createElement(e.tag,xz({key:M,ref:y},h),(C||l)&&wr.default.createElement(Dz.Provider,{value:C},l?wr.default.createElement("template",{shadowroot:"open"},e.render({root:C,ssr:l,children:p})):wr.default.createElement(A6,{root:C},e.render({root:C,ssr:l,children:p})))))});return t.propTypes={mode:xi.default.oneOf(["open","closed"]),delegatesFocus:xi.default.bool,styleSheets:xi.default.arrayOf(xi.default.instanceOf(globalThis.CSSStyleSheet)),ssr:xi.default.bool,children:xi.default.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}A6.propTypes={root:xi.default.object.isRequired,children:xi.default.node},A6.defaultProps={children:null};var I6=new Map;function Az(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n.children};return new Proxy(e,{get:function(n,o){var i=_z(o,{separator:"-"}),s="".concat(t,"-").concat(i);return I6.has(s)||I6.set(s,Iz({tag:i,render:r})),I6.get(s)}})}var Nz=Az(),f9=Nz;c();d();f();var Rz=`@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300..700&display=swap");
|
|
24
24
|
/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-family:Rubik,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:414px){.container{max-width:414px}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;top:0}.inset-0,.inset-x-0{left:0;right:0}.top-full{top:100%}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.bottom-0{bottom:0}.z-10{z-index:10}.z-0{z-index:0}.z-50{z-index:50}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.ml-2\\.5{margin-left:.625rem}.mr-1{margin-right:.25rem}.ml-2{margin-left:.5rem}.mt-1\\.5{margin-top:.375rem}.mt-1{margin-top:.25rem}.-mt-\\[2px\\]{margin-top:-2px}.mb-12{margin-bottom:3rem}.mb-6{margin-bottom:1.5rem}.-mt-6{margin-top:-1.5rem}.mt-4{margin-top:1rem}.mt-3{margin-top:.75rem}.-mt-1{margin-top:-.25rem}.mt-2{margin-top:.5rem}.-mt-5{margin-top:-1.25rem}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-\\[6\\/7\\]{aspect-ratio:6/7}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-24{height:6rem}.h-20{height:5rem}.h-80{height:20rem}.max-h-\\[var\\(--max-h\\2c _0px\\)\\]{max-height:var(--max-h,0)}.min-h-full{min-height:100%}.w-4{width:1rem}.w-full{width:100%}.w-5{width:1.25rem}.w-10{width:2.5rem}.w-\\[34px\\]{width:34px}.w-8{width:2rem}.w-1\\.5{width:.375rem}.w-1{width:.25rem}.w-24{width:6rem}.w-20{width:5rem}.w-80{width:20rem}.min-w-\\[calc\\(100vw_-_48px\\)\\]{min-width:calc(100vw - 48px)}.max-w-\\[15rem\\]{max-width:15rem}.max-w-xs{max-width:20rem}.flex-none{flex:none}.shrink-0{flex-shrink:0}.basis-4{flex-basis:1rem}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.translate-y-1\\/2{--tw-translate-y:50%}.transform,.translate-y-1\\/2{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}.animate-pulse{-webkit-animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.select-none{-webkit-user-select:none;user-select:none}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-4{gap:1rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.25rem*var(--tw-space-x-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.space-y-12>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(3rem*var(--tw-space-y-reverse));margin-top:calc(3rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.whitespace-pre-wrap{white-space:pre-wrap}.rounded-md{border-radius:.375rem}.rounded-2xl{border-radius:1rem}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}.rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}.border{border-width:1px}.border-0{border-width:0}.border-transparent{border-color:transparent}.border-white\\/10{border-color:hsla(0,0%,100%,.1)}.border-f1f5f8{--tw-border-opacity:1;border-color:rgb(241 245 248/var(--tw-border-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(99 102 241/var(--tw-bg-opacity))}.bg-indigo-50\\/50{background-color:rgba(238,242,255,.5)}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-\\[\\#fecaca\\]{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-ff6848\\/10{background-color:rgba(255,104,72,.1)}.bg-ff6848{--tw-bg-opacity:1;background-color:rgb(255 104 72/var(--tw-bg-opacity))}.bg-6445dd\\/10{background-color:rgba(100,69,221,.1)}.bg-6445dd{--tw-bg-opacity:1;background-color:rgb(100 69 221/var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[\\#FF6848\\]{--tw-gradient-from:#ff6848;--tw-gradient-to:rgba(255,104,72,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-\\[\\#4940E0\\]{--tw-gradient-to:#4940e0}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-3{padding:.75rem}.p-5{padding:1.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-4{padding-bottom:1rem;padding-top:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pl-6{padding-left:1.5rem}.pt-6{padding-top:1.5rem}.pb-10{padding-bottom:2.5rem}.text-center{text-align:center}.text-justify{text-align:justify}.font-sans{font-family:Rubik,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-9eafc0{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-6445dd{--tw-text-opacity:1;color:rgb(100 69 221/var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity))}.text-29343f{--tw-text-opacity:1;color:rgb(41 52 63/var(--tw-text-opacity))}.text-70868f{--tw-text-opacity:1;color:rgb(112 134 143/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-transparent{color:transparent}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-d3dfea{--tw-text-opacity:1;color:rgb(211 223 234/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.caret-transparent{caret-color:transparent}.opacity-100{opacity:1}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-lg,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-0{outline-width:0}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-1{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-black\\/5{--tw-ring-color:rgba(0,0,0,.05)}.ring-transparent{--tw-ring-color:transparent}.blur{--tw-blur:blur(8px)}.blur,.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur:blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}.focus-within\\:border-\\[\\#5b52f3\\]:focus-within{--tw-border-opacity:1;border-color:rgb(91 82 243/var(--tw-border-opacity))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.hover\\:bg-gray-300\\/50:hover{background-color:rgba(209,213,219,.5)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:border-transparent:focus{border-color:transparent}.focus\\:bg-gray-100:focus{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.focus\\:bg-transparent:focus{background-color:transparent}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\\:ring-transparent:focus{--tw-ring-color:transparent}.focus\\:ring-5b52f3:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(91 82 243/var(--tw-ring-opacity))}.focus\\:ring-gray-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(209 213 219/var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-purple-500\\/75:focus-visible{--tw-ring-color:rgba(168,85,247,.75)}.disabled\\:cursor-wait:disabled{cursor:wait}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-d3dfea:disabled{--tw-bg-opacity:1;background-color:rgb(211 223 234/var(--tw-bg-opacity))}.disabled\\:text-gray-900:disabled{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.disabled\\:text-9eafc0:disabled{--tw-text-opacity:1;color:rgb(158 175 192/var(--tw-text-opacity))}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:hover\\:bg-indigo-600:hover:disabled{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.dark .dark\\:border-black\\/10{border-color:rgba(0,0,0,.1)}.dark .dark\\:border-f1f5f8\\/10{border-color:rgba(241,245,248,.1)}.dark .dark\\:bg-29343f{--tw-bg-opacity:1;background-color:rgb(41 52 63/var(--tw-bg-opacity))}.dark .dark\\:bg-ece8fb\\/10{background-color:rgba(236,232,251,.1)}.dark .dark\\:bg-0d151d{--tw-bg-opacity:1;background-color:rgb(13 21 29/var(--tw-bg-opacity))}.dark .dark\\:bg-d3dfea\\/15{background-color:rgba(211,223,234,.15)}.dark .dark\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.dark .dark\\:text-d3dfea{--tw-text-opacity:1;color:rgb(211 223 234/var(--tw-text-opacity))}.dark .dark\\:text-70868f{--tw-text-opacity:1;color:rgb(112 134 143/var(--tw-text-opacity))}.dark .dark\\:text-596673{--tw-text-opacity:1;color:rgb(89 102 115/var(--tw-text-opacity))}.dark .dark\\:text-white\\/80{color:hsla(0,0%,100%,.8)}.dark .dark\\:text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.dark .dark\\:hover\\:bg-29343f\\/50:hover{background-color:rgba(41,52,63,.5)}.dark .dark\\:focus\\:bg-ece8fb\\/25:focus{background-color:rgba(236,232,251,.25)}.dark .dark\\:disabled\\:bg-29343f\\/50:disabled{background-color:rgba(41,52,63,.5)}.dark .dark\\:disabled\\:text-white:disabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}@media (min-width:414px){.xs\\:w-12{width:3rem}}@media (min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\\:mt-2{margin-top:.5rem}.md\\:max-h-96{max-height:24rem}.md\\:min-w-\\[20rem\\]{min-width:20rem}.md\\:max-w-md{max-width:28rem}.md\\:items-center{align-items:center}.md\\:overflow-y-auto{overflow-y:auto}.md\\:rounded-b-3xl{border-bottom-left-radius:1.5rem;border-bottom-right-radius:1.5rem}.md\\:p-4{padding:1rem}}.\\[\\&_\\*\\]\\:text-black *{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.dark .dark\\:\\[\\&_\\*\\]\\:text-white *{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}`,d9=()=>m.createElement("style",null,Rz);c();d();f();var Nr=(...e)=>e.filter(Boolean).join(" "),h9=(e,t)=>Math.floor(Math.random()*(t-e+1)+e);c();d();f();var kz=e=>m.createElement("svg",Se(te({},e),{fill:"none",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})),Ju=kz;c();d();f();c();d();f();c();d();f();c();d();f();var N6=ce(ve(),1),Sa=ce(ve(),1);c();d();f();var p9=ce(ve(),1),Qu=(0,p9.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});c();d();f();var a0=ce(ve(),1),_a=(0,a0.createContext)({});function m9(){return(0,a0.useContext)(_a).visualElement}c();d();f();var Ps=ce(ve(),1);c();d();f();var g9=ce(ve(),1),Zo=(0,g9.createContext)(null);c();d();f();var u0=ce(ve(),1);c();d();f();var ao=typeof document<"u";var xa=ao?u0.useLayoutEffect:u0.useEffect;c();d();f();var y9=ce(ve(),1),l0=(0,y9.createContext)({strict:!1});function v9(e,t,r,n){let o=m9(),i=(0,Ps.useContext)(l0),s=(0,Ps.useContext)(Zo),a=(0,Ps.useContext)(Qu).reducedMotion,u=(0,Ps.useRef)();n=n||i.renderer,!u.current&&n&&(u.current=n(e,{visualState:t,parent:o,props:r,presenceId:s?s.id:void 0,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));let l=u.current;return xa(()=>{l&&l.render()}),(0,Ps.useEffect)(()=>{l&&l.animationState&&l.animationState.animateChanges()}),xa(()=>()=>l&&l.notify("Unmount"),[]),l}c();d();f();var w9=ce(ve(),1);c();d();f();function Ei(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function b9(e,t,r){return(0,w9.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Ei(r)&&(r.current=n))},[t])}c();d();f();var f0=ce(ve(),1);c();d();f();c();d();f();function Si(e){return typeof e=="string"||Array.isArray(e)}c();d();f();c();d();f();function Os(e){return typeof e=="object"&&typeof e.start=="function"}var Lz=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function Ea(e){return Os(e.animate)||Lz.some(t=>Si(e[t]))}function c0(e){return Boolean(Ea(e)||e.variants)}function _9(e,t){if(Ea(e)){let{initial:r,animate:n}=e;return{initial:r===!1||Si(r)?r:void 0,animate:Si(n)?n:void 0}}return e.inherit!==!1?t:{}}function E9(e){let{initial:t,animate:r}=_9(e,(0,f0.useContext)(_a));return(0,f0.useMemo)(()=>({initial:t,animate:r}),[x9(t),x9(r)])}function x9(e){return Array.isArray(e)?e.join(" "):e}c();d();f();var Ci=e=>({isEnabled:t=>e.some(r=>!!t[r])}),Ds={measureLayout:Ci(["layout","layoutId","drag"]),animation:Ci(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Ci(["exit"]),drag:Ci(["drag","dragControls"]),focus:Ci(["whileFocus"]),hover:Ci(["whileHover","onHoverStart","onHoverEnd"]),tap:Ci(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Ci(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Ci(["whileInView","onViewportEnter","onViewportLeave"])};c();d();f();function S9(e){for(let t in e)t==="projectionNodeConstructor"?Ds.projectionNodeConstructor=e[t]:Ds[t].Component=e[t]}c();d();f();c();d();f();var C9=ce(ve(),1);function Is(e){let t=(0,C9.useRef)(null);return t.current===null&&(t.current=e()),t.current}c();d();f();var As={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var Fz=1;function M9(){return Is(()=>{if(As.hasEverUpdated)return Fz++})}c();d();f();var T9=ce(ve(),1),el=(0,T9.createContext)({});c();d();f();var P9=ce(ve(),1),d0=class extends P9.default.Component{getSnapshotBeforeUpdate(){let{visualElement:t,props:r}=this.props;return t&&t.setProps(r),null}componentDidUpdate(){}render(){return this.props.children}};c();d();f();var O9=ce(ve(),1),h0=(0,O9.createContext)({});c();d();f();var D9=Symbol.for("motionComponentSymbol");function I9({preloadedFeatures:e,createVisualElement:t,projectionNodeConstructor:r,useRender:n,useVisualState:o,Component:i}){e&&S9(e);function s(u,l){let p=Se(te(te({},(0,Sa.useContext)(Qu)),u),{layoutId:Uz(u)}),{isStatic:h}=p,y=null,b=E9(u),v=h?void 0:M9(),C=o(u,h);if(!h&&ao){b.visualElement=v9(i,C,p,t);let N=(0,Sa.useContext)(l0).strict,M=(0,Sa.useContext)(h0);b.visualElement&&(y=b.visualElement.loadFeatures(p,N,e,v,r||Ds.projectionNodeConstructor,M))}return N6.createElement(d0,{visualElement:b.visualElement,props:p},y,N6.createElement(_a.Provider,{value:b},n(i,u,v,b9(C,b.visualElement,l),C,h,b.visualElement)))}let a=(0,Sa.forwardRef)(s);return a[D9]=i,a}function Uz({layoutId:e}){let t=(0,Sa.useContext)(el).id;return t&&e!==void 0?t+"-"+e:e}c();d();f();function A9(e){function t(n,o={}){return I9(e(n,o))}if(typeof Proxy>"u")return t;let r=new Map;return new Proxy(t,{get:(n,o)=>(r.has(o)||r.set(o,t(o)),r.get(o))})}c();d();f();c();d();f();c();d();f();var N9=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function tl(e){return typeof e!="string"||e.includes("-")?!1:!!(N9.indexOf(e)>-1||/[A-Z]/.test(e))}c();d();f();var e7=ce(ve(),1);c();d();f();var z9=ce(ve(),1);c();d();f();c();d();f();var rl={};function R9(e){Object.assign(rl,e)}c();d();f();var nl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],uo=new Set(nl);function p0(e,{layout:t,layoutId:r}){return uo.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!rl[e]||e==="opacity")}c();d();f();var Or=e=>!!(e!=null&&e.getVelocity);c();d();f();c();d();f();var $z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Bz=(e,t)=>nl.indexOf(e)-nl.indexOf(t);function k9({transform:e,transformKeys:t},{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},o,i){let s="";t.sort(Bz);for(let a of t)s+=`${$z[a]||a}(${e[a]}) `;return r&&!e.z&&(s+="translateZ(0)"),s=s.trim(),i?s=i(e,o?"":s):n&&o&&(s="none"),s}c();d();f();function m0(e){return e.startsWith("--")}c();d();f();var L9=(e,t)=>t&&typeof e=="number"?t.transform(e):e;c();d();f();c();d();f();c();d();f();c();d();f();var g0=(e,t)=>r=>Math.max(Math.min(r,t),e),Ns=e=>e%1?Number(e.toFixed(5)):e,Rs=/(-)?([\d]*\.?[\d])+/g,y0=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,F9=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Mi(e){return typeof e=="string"}var jn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ti=Object.assign(Object.assign({},jn),{transform:g0(0,1)}),ol=Object.assign(Object.assign({},jn),{default:1});c();d();f();var Gf=e=>({test:t=>Mi(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Oo=Gf("deg"),Zr=Gf("%"),$e=Gf("px"),R6=Gf("vh"),k6=Gf("vw"),v0=Object.assign(Object.assign({},Zr),{parse:e=>Zr.parse(e)/100,transform:e=>Zr.transform(e*100)});c();d();f();c();d();f();var il=(e,t)=>r=>Boolean(Mi(r)&&F9.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),w0=(e,t,r)=>n=>{if(!Mi(n))return n;let[o,i,s,a]=n.match(Rs);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var Pi={test:il("hsl","hue"),parse:w0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Zr.transform(Ns(t))+", "+Zr.transform(Ns(r))+", "+Ns(Ti.transform(n))+")"};c();d();f();var Vz=g0(0,255),b0=Object.assign(Object.assign({},jn),{transform:e=>Math.round(Vz(e))}),Do={test:il("rgb","red"),parse:w0("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+b0.transform(e)+", "+b0.transform(t)+", "+b0.transform(r)+", "+Ns(Ti.transform(n))+")"};c();d();f();function jz(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}var sl={test:il("#"),parse:jz,transform:Do.transform};c();d();f();var sr={test:e=>Do.test(e)||sl.test(e)||Pi.test(e),parse:e=>Do.test(e)?Do.parse(e):Pi.test(e)?Pi.parse(e):sl.parse(e),transform:e=>Mi(e)?e:e.hasOwnProperty("red")?Do.transform(e):Pi.transform(e)};c();d();f();var U9="${c}",$9="${n}";function zz(e){var t,r,n,o;return isNaN(e)&&Mi(e)&&((r=(t=e.match(Rs))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((o=(n=e.match(y0))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function B9(e){typeof e=="number"&&(e=`${e}`);let t=[],r=0,n=e.match(y0);n&&(r=n.length,e=e.replace(y0,U9),t.push(...n.map(sr.parse)));let o=e.match(Rs);return o&&(e=e.replace(Rs,$9),t.push(...o.map(jn.parse))),{values:t,numColors:r,tokenised:e}}function V9(e){return B9(e).values}function j9(e){let{values:t,numColors:r,tokenised:n}=B9(e),o=t.length;return i=>{let s=n;for(let a=0;a<o;a++)s=s.replace(a<r?U9:$9,a<r?sr.transform(i[a]):Ns(i[a]));return s}}var Hz=e=>typeof e=="number"?0:e;function qz(e){let t=V9(e);return j9(e)(t.map(Hz))}var Rr={test:zz,parse:V9,createTransformer:j9,getAnimatableNone:qz};c();d();f();var Kz=new Set(["brightness","contrast","saturate","opacity"]);function Zz(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(Rs)||[];if(!n)return e;let o=r.replace(n,""),i=Kz.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var Gz=/([a-z-]*)\(.*?\)/g,al=Object.assign(Object.assign({},Rr),{getAnimatableNone:e=>{let t=e.match(Gz);return t?t.map(Zz).join(" "):e}});c();d();f();var L6=Se(te({},jn),{transform:Math.round});var _0={borderWidth:$e,borderTopWidth:$e,borderRightWidth:$e,borderBottomWidth:$e,borderLeftWidth:$e,borderRadius:$e,radius:$e,borderTopLeftRadius:$e,borderTopRightRadius:$e,borderBottomRightRadius:$e,borderBottomLeftRadius:$e,width:$e,maxWidth:$e,height:$e,maxHeight:$e,size:$e,top:$e,right:$e,bottom:$e,left:$e,padding:$e,paddingTop:$e,paddingRight:$e,paddingBottom:$e,paddingLeft:$e,margin:$e,marginTop:$e,marginRight:$e,marginBottom:$e,marginLeft:$e,rotate:Oo,rotateX:Oo,rotateY:Oo,rotateZ:Oo,scale:ol,scaleX:ol,scaleY:ol,scaleZ:ol,skew:Oo,skewX:Oo,skewY:Oo,distance:$e,translateX:$e,translateY:$e,translateZ:$e,x:$e,y:$e,z:$e,perspective:$e,transformPerspective:$e,opacity:Ti,originX:v0,originY:v0,originZ:$e,zIndex:L6,fillOpacity:Ti,strokeOpacity:Ti,numOctaves:L6};function ul(e,t,r,n){let{style:o,vars:i,transform:s,transformKeys:a,transformOrigin:u}=e;a.length=0;let l=!1,p=!1,h=!0;for(let y in t){let b=t[y];if(m0(y)){i[y]=b;continue}let v=_0[y],C=L9(b,v);if(uo.has(y)){if(l=!0,s[y]=C,a.push(y),!h)continue;b!==(v.default||0)&&(h=!1)}else y.startsWith("origin")?(p=!0,u[y]=C):o[y]=C}if(t.transform||(l||n?o.transform=k9(e,r,h,n):o.transform&&(o.transform="none")),p){let{originX:y="50%",originY:b="50%",originZ:v=0}=u;o.transformOrigin=`${y} ${b} ${v}`}}c();d();f();var ll=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function F6(e,t,r){for(let n in t)!Or(t[n])&&!p0(n,r)&&(e[n]=t[n])}function Wz({transformTemplate:e},t,r){return(0,z9.useMemo)(()=>{let n=ll();return ul(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function Yz(e,t,r){let n=e.style||{},o={};return F6(o,n,e),Object.assign(o,Wz(e,t,r)),e.transformValues?e.transformValues(o):o}function H9(e,t,r){let n={},o=Yz(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),n.style=o,n}c();d();f();c();d();f();var Xz=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],Jz=["whileTap","onTap","onTapStart","onTapCancel"],Qz=["onPan","onPanStart","onPanSessionStart","onPanEnd"],eH=["whileInView","onViewportEnter","onViewportLeave","viewport"],tH=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll",...eH,...Jz,...Xz,...Qz]);function Wf(e){return tH.has(e)}var Z9=e=>!Wf(e);function aH(e){!e||(Z9=t=>t.startsWith("on")?!Wf(t):e(t))}try{aH(K9().default)}catch(e){}function G9(e,t,r){let n={};for(let o in e)(Z9(o)||r===!0&&Wf(o)||!t&&!Wf(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}c();d();f();var J9=ce(ve(),1);c();d();f();c();d();f();function W9(e,t,r){return typeof e=="string"?e:$e.transform(t+r*e)}function Y9(e,t,r){let n=W9(t,e.x,e.width),o=W9(r,e.y,e.height);return`${n} ${o}`}c();d();f();var uH={offset:"stroke-dashoffset",array:"stroke-dasharray"},lH={offset:"strokeDashoffset",array:"strokeDasharray"};function X9(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?uH:lH;e[i.offset]=$e.transform(-n);let s=$e.transform(t),a=$e.transform(r);e[i.array]=`${s} ${a}`}function cl(e,y,l,p,h){var b=y,{attrX:t,attrY:r,originX:n,originY:o,pathLength:i,pathSpacing:s=1,pathOffset:a=0}=b,u=Te(b,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);if(ul(e,u,l,h),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:v,style:C,dimensions:N}=e;v.transform&&(N&&(C.transform=v.transform),delete v.transform),N&&(n!==void 0||o!==void 0||C.transform)&&(C.transformOrigin=Y9(N,n!==void 0?n:.5,o!==void 0?o:.5)),t!==void 0&&(v.x=t),r!==void 0&&(v.y=r),i!==void 0&&X9(v,i,s,a,!1)}c();d();f();var x0=()=>Se(te({},ll()),{attrs:{}});c();d();f();var fl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Q9(e,t,r,n){let o=(0,J9.useMemo)(()=>{let i=x0();return cl(i,t,{enableHardwareAcceleration:!1},fl(n),e.transformTemplate),Se(te({},i.attrs),{style:te({},i.style)})},[t]);if(e.style){let i={};F6(i,e.style,e),o.style=te(te({},i),o.style)}return o}function t7(e=!1){return(r,n,o,i,{latestValues:s},a)=>{let l=(tl(r)?Q9:H9)(n,s,a,r),p=G9(n,typeof r=="string",e),h=Se(te(te({},p),l),{ref:i});return o&&(h["data-projection-id"]=o),(0,e7.createElement)(r,h)}}c();d();f();c();d();f();c();d();f();var E0=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();c();d();f();function S0(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let i in r)e.style.setProperty(i,r[i])}c();d();f();var C0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function M0(e,t,r,n){S0(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(C0.has(o)?o:E0(o),t.attrs[o])}c();d();f();c();d();f();function dl(e){let{style:t}=e,r={};for(let n in t)(Or(t[n])||p0(n,e))&&(r[n]=t[n]);return r}function T0(e){let t=dl(e);for(let r in e)if(Or(e[r])){let n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}c();d();f();var B6=ce(ve(),1);c();d();f();function hl(e,t,r,n={},o={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,o)),t}c();d();f();c();d();f();c();d();f();var Oi=e=>Array.isArray(e);var r7=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),P0=e=>Oi(e)?e[e.length-1]||0:e;function pl(e){let t=Or(e)?e.get():e;return r7(t)?t.toValue():t}function cH({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){let s={latestValues:fH(n,o,i,e),renderState:t()};return r&&(s.mount=a=>r(n,a,s)),s}var O0=e=>(t,r)=>{let n=(0,B6.useContext)(_a),o=(0,B6.useContext)(Zo),i=()=>cH(e,t,n,o);return r?i():Is(i)};function fH(e,t,r,n){let o={},i=n(e);for(let y in i)o[y]=pl(i[y]);let{initial:s,animate:a}=e,u=Ea(e),l=c0(e);t&&l&&!u&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let p=r?r.initial===!1:!1;p=p||s===!1;let h=p?a:s;return h&&typeof h!="boolean"&&!Os(h)&&(Array.isArray(h)?h:[h]).forEach(b=>{let v=hl(e,b);if(!v)return;let T=v,{transitionEnd:C,transition:N}=T,M=Te(T,["transitionEnd","transition"]);for(let I in M){let U=M[I];if(Array.isArray(U)){let K=p?U.length-1:0;U=U[K]}U!==null&&(o[I]=U)}for(let I in C)o[I]=C[I]}),o}var n7={useVisualState:O0({scrapeMotionValuesFromProps:T0,createRenderState:x0,onMount:(e,t,{renderState:r,latestValues:n})=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}cl(r,n,{enableHardwareAcceleration:!1},fl(t.tagName),e.transformTemplate),M0(t,r)}})};c();d();f();var o7={useVisualState:O0({scrapeMotionValuesFromProps:dl,createRenderState:ll})};function i7(e,{forwardMotionProps:t=!1},r,n,o){let i=tl(e)?n7:o7;return Se(te({},i),{preloadedFeatures:r,useRender:t7(t),createVisualElement:n,projectionNodeConstructor:o,Component:e})}c();d();f();c();d();f();c();d();f();var wt;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(wt||(wt={}));c();d();f();var s7=ce(ve(),1);function Ca(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function Yf(e,t,r,n){(0,s7.useEffect)(()=>{let o=e.current;if(r&&o)return Ca(o,t,r,n)},[e,t,r,n])}function a7({whileFocus:e,visualElement:t}){let{animationState:r}=t,n=()=>{r&&r.setActive(wt.Focus,!0)},o=()=>{r&&r.setActive(wt.Focus,!1)};Yf(t,"focus",e?n:void 0),Yf(t,"blur",e?o:void 0)}c();d();f();c();d();f();function D0(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function I0(e){return!!e.touches}c();d();f();c();d();f();function dH(e){return t=>{let r=t instanceof MouseEvent;(!r||r&&t.button===0)&&e(t)}}var hH={pageX:0,pageY:0};function pH(e,t="page"){let n=e.touches[0]||e.changedTouches[0]||hH;return{x:n[t+"X"],y:n[t+"Y"]}}function mH(e,t="page"){return{x:e[t+"X"],y:e[t+"Y"]}}function Xf(e,t="page"){return{point:I0(e)?pH(e,t):mH(e,t)}}var V6=(e,t=!1)=>{let r=n=>e(n,Xf(n));return t?dH(r):r};c();d();f();var u7=()=>ao&&window.onpointerdown===null,l7=()=>ao&&window.ontouchstart===null,c7=()=>ao&&window.onmousedown===null;var gH={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yH={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function f7(e){return u7()?e:l7()?yH[e]:c7()?gH[e]:e}function Di(e,t,r,n){return Ca(e,f7(t),V6(r,t==="pointerdown"),n)}function Ma(e,t,r,n){return Yf(e,f7(t),r&&V6(r,t==="pointerdown"),n)}c();d();f();function p7(e){let t=null;return()=>{let r=()=>{t=null};return t===null?(t=e,r):!1}}var d7=p7("dragHorizontal"),h7=p7("dragVertical");function j6(e){let t=!1;if(e==="y")t=h7();else if(e==="x")t=d7();else{let r=d7(),n=h7();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function A0(){let e=j6(!0);return e?(e(),!1):!0}function m7(e,t,r){return(n,o)=>{!D0(n)||A0()||(e.animationState&&e.animationState.setActive(wt.Hover,t),r&&r(n,o))}}function g7({onHoverStart:e,onHoverEnd:t,whileHover:r,visualElement:n}){Ma(n,"pointerenter",e||r?m7(n,!0,e):void 0,{passive:!e}),Ma(n,"pointerleave",t||r?m7(n,!1,t):void 0,{passive:!t})}c();d();f();var H6=ce(ve(),1);c();d();f();var z6=(e,t)=>t?e===t?!0:z6(e,t.parentElement):!1;c();d();f();var y7=ce(ve(),1);function ml(e){return(0,y7.useEffect)(()=>()=>e(),[])}c();d();f();var vH=(e,t)=>r=>t(e(r)),ks=(...e)=>e.reduce(vH);function v7({onTap:e,onTapStart:t,onTapCancel:r,whileTap:n,visualElement:o}){let i=e||t||r||n,s=(0,H6.useRef)(!1),a=(0,H6.useRef)(null),u={passive:!(t||e||r||b)};function l(){a.current&&a.current(),a.current=null}function p(){return l(),s.current=!1,o.animationState&&o.animationState.setActive(wt.Tap,!1),!A0()}function h(v,C){!p()||(z6(o.current,v.target)?e&&e(v,C):r&&r(v,C))}function y(v,C){!p()||r&&r(v,C)}function b(v,C){l(),!s.current&&(s.current=!0,a.current=ks(Di(window,"pointerup",h,u),Di(window,"pointercancel",y,u)),o.animationState&&o.animationState.setActive(wt.Tap,!0),t&&t(v,C))}Ma(o,"pointerdown",i?b:void 0,u),ml(l)}c();d();f();c();d();f();var wH="production",gl=typeof process>"u"||process.env===void 0?wH:"production";var Jf=ce(ve(),1);c();d();f();var w7=new Set;function N0(e,t,r){e||w7.has(t)||(console.warn(t),r&&console.warn(r),w7.add(t))}c();d();f();var K6=new WeakMap,q6=new WeakMap,bH=e=>{let t=K6.get(e.target);t&&t(e)},_H=e=>{e.forEach(bH)};function xH(r){var n=r,{root:e}=n,t=Te(n,["root"]);let o=e||document;q6.has(o)||q6.set(o,{});let i=q6.get(o),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(_H,te({root:e},t))),i[s]}function b7(e,t,r){let n=xH(t);return K6.set(e,r),n.observe(e),()=>{K6.delete(e),n.unobserve(e)}}function _7({visualElement:e,whileInView:t,onViewportEnter:r,onViewportLeave:n,viewport:o={}}){let i=(0,Jf.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(t||r||n);o.once&&i.current.hasEnteredView&&(s=!1),(typeof IntersectionObserver>"u"?CH:SH)(s,i.current,e,o)}var EH={some:0,all:1};function SH(e,t,r,{root:n,margin:o,amount:i="some",once:s}){(0,Jf.useEffect)(()=>{if(!e||!r.current)return;let a={root:n==null?void 0:n.current,rootMargin:o,threshold:typeof i=="number"?i:EH[i]},u=l=>{let{isIntersecting:p}=l;if(t.isInView===p||(t.isInView=p,s&&!p&&t.hasEnteredView))return;p&&(t.hasEnteredView=!0),r.animationState&&r.animationState.setActive(wt.InView,p);let h=r.getProps(),y=p?h.onViewportEnter:h.onViewportLeave;y&&y(l)};return b7(r.current,a,u)},[e,n,o,i])}function CH(e,t,r,{fallback:n=!0}){(0,Jf.useEffect)(()=>{!e||!n||(gl!=="production"&&N0(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(()=>{t.hasEnteredView=!0;let{onViewportEnter:o}=r.getProps();o&&o(null),r.animationState&&r.animationState.setActive(wt.InView,!0)}))},[e])}c();d();f();var Io=e=>t=>(e(t),null);var x7={inView:Io(_7),tap:Io(v7),focus:Io(a7),hover:Io(g7)};c();d();f();var nd=ce(ve(),1);c();d();f();var yl=ce(ve(),1);function R0(){let e=(0,yl.useContext)(Zo);if(e===null)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,o=(0,yl.useId)();return(0,yl.useEffect)(()=>n(o),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}c();d();f();c();d();f();function Z6(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}c();d();f();c();d();f();c();d();f();var vl=e=>e*1e3;c();d();f();c();d();f();var Ta=function(){},kr=function(){};c();d();f();c();d();f();var wl=e=>e;var E7=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,MH=1e-7,TH=12;function PH(e,t,r,n,o){let i,s,a=0;do s=t+(r-t)/2,i=E7(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>MH&&++a<TH);return s}function S7(e,t,r,n){if(e===t&&r===n)return wl;let o=i=>PH(i,0,1,e,r);return i=>i===0||i===1?i:E7(o(i),t,n)}c();d();f();c();d();f();var bl=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;c();d();f();var _l=e=>t=>1-e(1-t);var k0=e=>e*e,C7=_l(k0),L0=bl(k0);c();d();f();var G6=e=>1-Math.sin(Math.acos(e)),Qf=_l(G6),M7=bl(Qf);c();d();f();var W6=(e=1.525)=>t=>t*t*((e+1)*t-e),F0=W6(),T7=_l(F0),P7=bl(F0);c();d();f();var OH=e=>{let t=W6(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},O7=OH();var D7={linear:wl,easeIn:k0,easeInOut:L0,easeOut:C7,circIn:G6,circInOut:M7,circOut:Qf,backIn:F0,backInOut:P7,backOut:T7,anticipate:O7},Y6=e=>{if(Array.isArray(e)){kr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return S7(t,r,n,o)}else if(typeof e=="string")return kr(D7[e]!==void 0,`Invalid easing type '${e}'`),D7[e];return e},I7=e=>Array.isArray(e)&&typeof e[0]!="number";c();d();f();var X6=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Rr.test(t)&&!t.startsWith("url("));c();d();f();var Pa=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),U0=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),J6=()=>({type:"keyframes",ease:"linear",duration:.3}),DH=e=>({type:"keyframes",duration:.8,values:e}),A7={x:Pa,y:Pa,z:Pa,rotate:Pa,rotateX:Pa,rotateY:Pa,rotateZ:Pa,scaleX:U0,scaleY:U0,scale:U0,opacity:J6,backgroundColor:J6,color:J6,default:U0},N7=(e,t)=>{let r;return Oi(t)?r=DH:r=A7[e]||A7.default,te({to:t},r(t))};c();d();f();c();d();f();var IH=Se(te({},_0),{color:sr,backgroundColor:sr,outlineColor:sr,fill:sr,stroke:sr,borderColor:sr,borderTopColor:sr,borderRightColor:sr,borderBottomColor:sr,borderLeftColor:sr,filter:al,WebkitFilter:al}),xl=e=>IH[e];function ed(e,t){var r;let n=xl(e);return n!==al&&(n=Rr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}c();d();f();var R7={current:!1};c();d();f();c();d();f();c();d();f();var Q6=16.666666666666668,AH=typeof performance<"u"?()=>performance.now():()=>Date.now(),ew=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(AH()),Q6);c();d();f();function k7(e){let t=[],r=[],n=0,o=!1,i=!1,s=new WeakSet,a={schedule:(u,l=!1,p=!1)=>{let h=p&&o,y=h?t:r;return l&&s.add(u),y.indexOf(u)===-1&&(y.push(u),h&&o&&(n=t.length)),u},cancel:u=>{let l=r.indexOf(u);l!==-1&&r.splice(l,1),s.delete(u)},process:u=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let l=0;l<n;l++){let p=t[l];p(u),s.has(p)&&(a.schedule(p),e())}o=!1,i&&(i=!1,a.process(u))}};return a}var NH=40,tw=!0,td=!1,rw=!1,El={delta:0,timestamp:0},rd=["read","update","preRender","render","postRender"],$0=rd.reduce((e,t)=>(e[t]=k7(()=>td=!0),e),{}),RH=rd.reduce((e,t)=>{let r=$0[t];return e[t]=(n,o=!1,i=!1)=>(td||LH(),r.schedule(n,o,i)),e},{}),zn=rd.reduce((e,t)=>(e[t]=$0[t].cancel,e),{}),B0=rd.reduce((e,t)=>(e[t]=()=>$0[t].process(El),e),{}),kH=e=>$0[e].process(El),L7=e=>{td=!1,El.delta=tw?Q6:Math.max(Math.min(e-El.timestamp,NH),1),El.timestamp=e,rw=!0,rd.forEach(kH),rw=!1,td&&(tw=!1,ew(L7))},LH=()=>{td=!0,tw=!0,rw||ew(L7)},Oa=()=>El,dr=RH;function V0(e,t){let r=performance.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(zn.read(n),e(i-t))};return dr.read(n,!0),()=>zn.read(n)}c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();var Da=(e,t,r)=>Math.min(Math.max(r,e),t);c();d();f();var bt=(e,t,r)=>-r*e+r*t+e;c();d();f();c();d();f();function nw(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function F7({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{let a=r<.5?r*(1+t):r+t-r*t,u=2*r-a;o=nw(u,a,e+1/3),i=nw(u,a,e),s=nw(u,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}var ow=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},FH=[sl,Do,Pi],UH=e=>FH.find(t=>t.test(e));function U7(e){let t=UH(e);kr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Pi&&(r=F7(r)),r}var j0=(e,t)=>{let r=U7(e),n=U7(t),o=te({},r);return i=>(o.red=ow(r.red,n.red,i),o.green=ow(r.green,n.green,i),o.blue=ow(r.blue,n.blue,i),o.alpha=bt(r.alpha,n.alpha,i),Do.transform(o))};c();d();f();function B7(e,t){return typeof e=="number"?r=>bt(e,t,r):sr.test(e)?j0(e,t):sw(e,t)}var iw=(e,t)=>{let r=[...e],n=r.length,o=e.map((i,s)=>B7(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}},V7=(e,t)=>{let r=te(te({},e),t),n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=B7(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}};function $7(e){let t=Rr.parse(e),r=t.length,n=0,o=0;for(let i=0;i<r;i++)n||typeof t[i]=="number"?n++:o++;return{parsed:t,numNumbers:n,numColors:o}}var sw=(e,t)=>{let r=Rr.createTransformer(t),n=$7(e),o=$7(t);return n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?ks(iw(n.parsed,o.parsed),r):(Ta(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),s=>`${s>0?t:e}`)};c();d();f();var Ia=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};var j7=(e,t)=>r=>bt(e,t,r);function $H(e){return typeof e=="number"?j7:typeof e=="string"?sr.test(e)?j0:sw:Array.isArray(e)?iw:typeof e=="object"?V7:j7}function BH(e,t,r){let n=[],o=r||$H(e[0]),i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){let u=Array.isArray(t)?t[s]:t;a=ks(u,a)}n.push(a)}return n}function z0(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;kr(i===t.length,"Both input and output ranges must be the same length"),kr(!n||!Array.isArray(n)||n.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=BH(t,n,o),a=s.length,u=l=>{let p=0;if(a>1)for(;p<e.length-2&&!(l<e[p+1]);p++);let h=Ia(e[p],e[p+1],l);return s[p](h)};return r?l=>u(Da(e[0],e[i-1],l)):u}function VH(e,t){return e.map(()=>t||L0).splice(0,e.length-1)}function jH(e){let t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function zH(e,t){return e.map(r=>r*t)}function z7({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){let i={done:!1,value:e},s=Array.isArray(t)?t:[e,t],a=zH(n&&n.length===s.length?n:jH(s),o);function u(){return z0(a,s,{ease:Array.isArray(r)?r:VH(s,r)})}let l=u();return{next:p=>(i.value=l(p),i.done=p>=o,i),flipTarget:()=>{s.reverse(),l=u()}}}c();d();f();c();d();f();var aw=.001,HH=.01,H7=10,qH=.05,KH=1;function q7({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;Ta(e<=H7*1e3,"Spring duration must be 10 seconds or less");let s=1-t;s=Da(qH,KH,s),e=Da(HH,H7,e/1e3),s<1?(o=l=>{let p=l*s,h=p*e,y=p-r,b=H0(l,s),v=Math.exp(-h);return aw-y/b*v},i=l=>{let h=l*s*e,y=h*r+r,b=Math.pow(s,2)*Math.pow(l,2)*e,v=Math.exp(-h),C=H0(Math.pow(l,2),s);return(-o(l)+aw>0?-1:1)*((y-b)*v)/C}):(o=l=>{let p=Math.exp(-l*e),h=(l-r)*e+1;return-aw+p*h},i=l=>{let p=Math.exp(-l*e),h=(r-l)*(e*e);return p*h});let a=5/e,u=GH(o,i,a);if(e=e*1e3,isNaN(u))return{stiffness:100,damping:10,duration:e};{let l=Math.pow(u,2)*n;return{stiffness:l,damping:s*2*Math.sqrt(n*l),duration:e}}}var ZH=12;function GH(e,t,r){let n=r;for(let o=1;o<ZH;o++)n=n-e(n)/t(n);return n}function H0(e,t){return e*Math.sqrt(1-t*t)}var WH=["duration","bounce"],YH=["stiffness","damping","mass"];function K7(e,t){return t.some(r=>e[r]!==void 0)}function XH(e){let t=te({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!K7(e,YH)&&K7(e,WH)){let r=q7(e);t=Se(te(te({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function uw(i){var s=i,{from:e=0,to:t=1,restSpeed:r=2,restDelta:n=.01}=s,o=Te(s,["from","to","restSpeed","restDelta"]);let a={done:!1,value:e},{stiffness:u,damping:l,mass:p,velocity:h,duration:y,isResolvedFromDuration:b}=XH(o),v=Z7,C=Z7;function N(){let M=h?-(h/1e3):0,T=t-e,I=l/(2*Math.sqrt(u*p)),U=Math.sqrt(u/p)/1e3;if(n===void 0&&(n=Math.min(Math.abs(t-e)/100,.4)),I<1){let K=H0(U,I);v=J=>{let j=Math.exp(-I*U*J);return t-j*((M+I*U*T)/K*Math.sin(K*J)+T*Math.cos(K*J))},C=J=>{let j=Math.exp(-I*U*J);return I*U*j*(Math.sin(K*J)*(M+I*U*T)/K+T*Math.cos(K*J))-j*(Math.cos(K*J)*(M+I*U*T)-K*T*Math.sin(K*J))}}else if(I===1)v=K=>t-Math.exp(-U*K)*(T+(M+U*T)*K);else{let K=U*Math.sqrt(I*I-1);v=J=>{let j=Math.exp(-I*U*J),Z=Math.min(K*J,300);return t-j*((M+I*U*T)*Math.sinh(Z)+K*T*Math.cosh(Z))/K}}}return N(),{next:M=>{let T=v(M);if(b)a.done=M>=y;else{let I=C(M)*1e3,U=Math.abs(I)<=r,K=Math.abs(t-T)<=n;a.done=U&&K}return a.value=a.done?t:T,a},flipTarget:()=>{h=-h,[e,t]=[t,e],N()}}}uw.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";var Z7=e=>0;c();d();f();function G7({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:i}){let s={done:!1,value:t},a=r*e,u=t+a,l=i===void 0?u:i(u);return l!==u&&(a=l-t),{next:p=>{let h=-a*Math.exp(-p/n);return s.done=!(h>o||h<-o),s.value=s.done?l:l+h,s},flipTarget:()=>{}}}var JH={decay:G7,keyframes:z7,spring:uw};function W7(e,t,r=0){return e-t-r}function QH(e,t=0,r=0,n=!0){return n?W7(t+-e,t,r):t-(e-t)+r}function eq(e,t,r,n){return n?e>=t+r:e<=-r}var tq=e=>{let t=({delta:r})=>e(r);return{start:()=>dr.update(t,!0),stop:()=>zn.update(t)}};function q0(v){var C=v,{from:e,autoplay:t=!0,driver:r=tq,elapsed:n=0,repeat:o=0,repeatType:i="loop",repeatDelay:s=0,onPlay:a,onStop:u,onComplete:l,onRepeat:p,onUpdate:h,type:y="keyframes"}=C,b=Te(C,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate","type"]);var N,M;let{to:T}=b,I,U=0,K=b.duration,J,j=!1,Z=!0,le,me=JH[Array.isArray(T)?"keyframes":y];!((M=(N=me).needsInterpolation)===null||M===void 0)&&M.call(N,e,T)&&(le=z0([0,100],[e,T],{clamp:!1}),e=0,T=100);let fe=me(Se(te({},b),{from:e,to:T}));function W(){U++,i==="reverse"?(Z=U%2===0,n=QH(n,K,s,Z)):(n=W7(n,K,s),i==="mirror"&&fe.flipTarget()),j=!1,p&&p()}function A(){I.stop(),l&&l()}function g(E){if(Z||(E=-E),n+=E,!j){let D=fe.next(Math.max(0,n));J=D.value,le&&(J=le(J)),j=Z?D.done:n<=0}h==null||h(J),j&&(U===0&&(K!=null||(K=n)),U<o?eq(n,K,s,Z)&&W():A())}function w(){a==null||a(),I=r(g),I.start()}return t&&w(),{stop:()=>{u==null||u(),I.stop()}}}c();d();f();function K0(e,t){return t?e*(1e3/t):0}function Y7({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:i=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:u=1,modifyTarget:l,driver:p,onUpdate:h,onComplete:y,onStop:b}){let v;function C(I){return r!==void 0&&I<r||n!==void 0&&I>n}function N(I){return r===void 0?n:n===void 0||Math.abs(r-I)<Math.abs(n-I)?r:n}function M(I){v==null||v.stop(),v=q0(Se(te({},I),{driver:p,onUpdate:U=>{var K;h==null||h(U),(K=I.onUpdate)===null||K===void 0||K.call(I,U)},onComplete:y,onStop:b}))}function T(I){M(te({type:"spring",stiffness:s,damping:a,restDelta:u},I))}if(C(e))T({from:e,velocity:t,to:N(e)});else{let I=o*t+e;typeof l<"u"&&(I=l(I));let U=N(I),K=U===r?-1:1,J,j,Z=le=>{J=j,j=le,t=K0(le-J,Oa().delta),(K===1&&le>U||K===-1&&le<U)&&T({from:le,to:U,velocity:t})};M({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:u,modifyTarget:l,onUpdate:C(I)?Z:void 0})}return{stop:()=>v==null?void 0:v.stop()}}function rq(p){var h=p,{when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:u}=h,l=Te(h,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(l).length}var X7=!1;function nq(s){var a=s,{ease:e,times:t,yoyo:r,flip:n,loop:o}=a,i=Te(a,["ease","times","yoyo","flip","loop"]);let u=te({},i);return t&&(u.offset=t),i.duration&&(u.duration=vl(i.duration)),i.repeatDelay&&(u.repeatDelay=vl(i.repeatDelay)),e&&(u.ease=I7(e)?e.map(Y6):Y6(e)),i.type==="tween"&&(u.type="keyframes"),(r||o||n)&&(Ta(!X7,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),X7=!0,r?u.repeatType="reverse":o?u.repeatType="loop":n&&(u.repeatType="mirror"),u.repeat=o||r||n||i.repeat),i.type!=="spring"&&(u.type="keyframes"),u}function oq(e,t){var r,n;return(n=(r=(Z0(e,t)||{}).delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function iq(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function sq(e,t,r){return Array.isArray(t.to)&&e.duration===void 0&&(e.duration=.8),iq(t),rq(e)||(e=te(te({},e),N7(r,t.to))),te(te({},t),nq(e))}function aq(e,t,r,n,o){let i=Z0(n,e)||{},s=i.from!==void 0?i.from:t.get(),a=X6(e,r);s==="none"&&a&&typeof r=="string"?s=ed(e,r):J7(s)&&typeof r=="string"?s=Q7(r):!Array.isArray(r)&&J7(r)&&typeof s=="string"&&(r=Q7(s));let u=X6(e,s);Ta(u===a,`You are trying to animate ${e} from "${s}" to "${r}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${r} via the \`style\` property.`);function l(){let h={from:s,to:r,velocity:t.getVelocity(),onComplete:o,onUpdate:y=>t.set(y)};return i.type==="inertia"||i.type==="decay"?Y7(te(te({},h),i)):q0(Se(te({},sq(i,h,e)),{onUpdate:y=>{h.onUpdate(y),i.onUpdate&&i.onUpdate(y)},onComplete:()=>{h.onComplete(),i.onComplete&&i.onComplete()}}))}function p(){let h=P0(r);return t.set(h),o(),i.onUpdate&&i.onUpdate(h),i.onComplete&&i.onComplete(),{stop:()=>{}}}return!u||!a||i.type===!1?p:l}function J7(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Q7(e){return typeof e=="number"?0:ed("",e)}function Z0(e,t){return e[t]||e.default||e}function Sl(e,t,r,n={}){return R7.current&&(n={type:!1}),t.start(o=>{let i,s=aq(e,t,r,n,o),a=oq(n,e),u=()=>i=s(),l;return a?l=V0(u,vl(a)):u(),()=>{l&&l(),i&&i.stop()}})}c();d();f();c();d();f();var eC=e=>/^\-?\d*\.?\d+$/.test(e);c();d();f();var tC=e=>/^0[^.\s]+$/.test(e);c();d();f();c();d();f();c();d();f();function Cl(e,t){e.indexOf(t)===-1&&e.push(t)}function Ml(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Go=class{constructor(){this.subscriptions=[]}add(t){return Cl(this.subscriptions,t),()=>Ml(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var uq=e=>!isNaN(parseFloat(e)),lw=class{constructor(t){this.version="7.6.19",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Go,this.velocityUpdateSubscribers=new Go,this.renderSubscribers=new Go,this.canTrackVelocity=!1,this.updateAndNotify=(r,n=!0)=>{this.prev=this.current,this.current=r;let{delta:o,timestamp:i}=Oa();this.lastUpdated!==i&&(this.timeDelta=o,this.lastUpdated=i,dr.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),n&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>dr.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=uq(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?K0(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.stopAnimation=t(r)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}};function Wo(e){return new lw(e)}c();d();f();c();d();f();c();d();f();var G0=e=>t=>t.test(e);c();d();f();var rC={test:e=>e==="auto",parse:e=>e};var cw=[jn,$e,Zr,Oo,k6,R6,rC],Tl=e=>cw.find(G0(e));var lq=[...cw,sr,Rr],nC=e=>lq.find(G0(e));c();d();f();function cq(e){let t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function fq(e){let t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Aa(e,t,r){let n=e.getProps();return hl(n,t,r!==void 0?r:n.custom,cq(e),fq(e))}function dq(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Wo(r))}function oC(e,t){let r=Aa(e,t),s=r?e.makeTargetAnimatable(r,!1):{},{transitionEnd:n={},transition:o={}}=s,i=Te(s,["transitionEnd","transition"]);i=te(te({},i),n);for(let a in i){let u=P0(i[a]);dq(e,a,u)}}function iC(e,t,r){var n,o;let i=Object.keys(t).filter(a=>!e.hasValue(a)),s=i.length;if(!!s)for(let a=0;a<s;a++){let u=i[a],l=t[u],p=null;Array.isArray(l)&&(p=l[0]),p===null&&(p=(o=(n=r[u])!==null&&n!==void 0?n:e.readValue(u))!==null&&o!==void 0?o:t[u]),p!=null&&(typeof p=="string"&&(eC(p)||tC(p))?p=parseFloat(p):!nC(p)&&Rr.test(l)&&(p=ed(u,l)),e.addValue(u,Wo(p)),r[u]===void 0&&(r[u]=p),p!==null&&e.setBaseTarget(u,p))}}function hq(e,t){return t?(t[e]||t.default||t).from:void 0}function sC(e,t,r){var n;let o={};for(let i in e){let s=hq(i,t);o[i]=s!==void 0?s:(n=r.getValue(i))===null||n===void 0?void 0:n.get()}return o}c();d();f();function Na(e){return Boolean(Or(e)&&e.add)}function aC(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>fw(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=fw(e,t,r);else{let o=typeof t=="function"?Aa(e,t,r.custom):t;n=uC(e,o,r)}return n.then(()=>e.notify("AnimationComplete",t))}function fw(e,t,r={}){var n;let o=Aa(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let s=o?()=>uC(e,o,r):()=>Promise.resolve(),a=!((n=e.variantChildren)===null||n===void 0)&&n.size?(l=0)=>{let{delayChildren:p=0,staggerChildren:h,staggerDirection:y}=i;return pq(e,t,p+l,h,y,r)}:()=>Promise.resolve(),{when:u}=i;if(u){let[l,p]=u==="beforeChildren"?[s,a]:[a,s];return l().then(p)}else return Promise.all([s(),a(r.delay)])}function uC(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let y=e.makeTargetAnimatable(t),{transition:s=e.getDefaultTransition(),transitionEnd:a}=y,u=Te(y,["transition","transitionEnd"]),l=e.getValue("willChange");n&&(s=n);let p=[],h=o&&((i=e.animationState)===null||i===void 0?void 0:i.getState()[o]);for(let b in u){let v=e.getValue(b),C=u[b];if(!v||C===void 0||h&&gq(h,b))continue;let N=te({delay:r},s);e.shouldReduceMotion&&uo.has(b)&&(N=Se(te({},N),{type:!1,delay:0}));let M=Sl(b,v,C,N);Na(l)&&(l.add(b),M=M.then(()=>l.remove(b))),p.push(M)}return Promise.all(p).then(()=>{a&&oC(e,a)})}function pq(e,t,r=0,n=0,o=1,i){let s=[],a=(e.variantChildren.size-1)*n,u=o===1?(l=0)=>l*n:(l=0)=>a-l*n;return Array.from(e.variantChildren).sort(mq).forEach((l,p)=>{s.push(fw(l,t,Se(te({},i),{delay:r+u(p)})).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(s)}function mq(e,t){return e.sortNodePosition(t)}function gq({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}var W0=[wt.Animate,wt.InView,wt.Focus,wt.Hover,wt.Tap,wt.Drag,wt.Exit],yq=[...W0].reverse(),vq=W0.length;function wq(e){return t=>Promise.all(t.map(({animation:r,options:n})=>aC(e,r,n)))}function lC(e){let t=wq(e),r=_q(),n=!0,o=(u,l)=>{let p=Aa(e,l);if(p){let h=p,{transition:y,transitionEnd:b}=h,v=Te(h,["transition","transitionEnd"]);u=te(te(te({},u),v),b)}return u};function i(u){t=u(e)}function s(u,l){var p;let h=e.getProps(),y=e.getVariantContext(!0)||{},b=[],v=new Set,C={},N=1/0;for(let T=0;T<vq;T++){let I=yq[T],U=r[I],K=(p=h[I])!==null&&p!==void 0?p:y[I],J=Si(K),j=I===l?U.isActive:null;j===!1&&(N=T);let Z=K===y[I]&&K!==h[I]&&J;if(Z&&n&&e.manuallyAnimateOnMount&&(Z=!1),U.protectedKeys=te({},C),!U.isActive&&j===null||!K&&!U.prevProp||Os(K)||typeof K=="boolean")continue;let le=bq(U.prevProp,K),me=le||I===l&&U.isActive&&!Z&&J||T>N&&J,fe=Array.isArray(K)?K:[K],W=fe.reduce(o,{});j===!1&&(W={});let{prevResolvedValues:A={}}=U,g=te(te({},A),W),w=E=>{me=!0,v.delete(E),U.needsAnimating[E]=!0};for(let E in g){let D=W[E],k=A[E];C.hasOwnProperty(E)||(D!==k?Oi(D)&&Oi(k)?!Z6(D,k)||le?w(E):U.protectedKeys[E]=!0:D!==void 0?w(E):v.add(E):D!==void 0&&v.has(E)?w(E):U.protectedKeys[E]=!0)}U.prevProp=K,U.prevResolvedValues=W,U.isActive&&(C=te(te({},C),W)),n&&e.blockInitialAnimation&&(me=!1),me&&!Z&&b.push(...fe.map(E=>({animation:E,options:te({type:I},u)})))}if(v.size){let T={};v.forEach(I=>{let U=e.getBaseTarget(I);U!==void 0&&(T[I]=U)}),b.push({animation:T})}let M=Boolean(b.length);return n&&h.initial===!1&&!e.manuallyAnimateOnMount&&(M=!1),n=!1,M?t(b):Promise.resolve()}function a(u,l,p){var h;if(r[u].isActive===l)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(b=>{var v;return(v=b.animationState)===null||v===void 0?void 0:v.setActive(u,l)}),r[u].isActive=l;let y=s(p,u);for(let b in r)r[b].protectedKeys={};return y}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>r}}function bq(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Z6(t,e):!1}function Ra(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function _q(){return{[wt.Animate]:Ra(!0),[wt.InView]:Ra(),[wt.Hover]:Ra(),[wt.Tap]:Ra(),[wt.Drag]:Ra(),[wt.Focus]:Ra(),[wt.Exit]:Ra()}}var cC={animation:Io(({visualElement:e,animate:t})=>{e.animationState||(e.animationState=lC(e)),Os(t)&&(0,nd.useEffect)(()=>t.subscribe(e),[t])}),exit:Io(e=>{let{custom:t,visualElement:r}=e,[n,o]=R0(),i=(0,nd.useContext)(Zo);(0,nd.useEffect)(()=>{r.isPresent=n;let s=r.animationState&&r.animationState.setActive(wt.Exit,!n,{custom:i&&i.custom||t});s&&!n&&s.then(o)},[n])})};c();d();f();c();d();f();var ww=ce(ve(),1);c();d();f();c();d();f();c();d();f();var fC=(e,t)=>Math.abs(e-t);function dC(e,t){let r=fC(e.x,t.x),n=fC(e.y,t.y);return Math.sqrt(r**2+n**2)}var Pl=class{constructor(t,r,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let l=hw(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,h=dC(l.offset,{x:0,y:0})>=3;if(!p&&!h)return;let{point:y}=l,{timestamp:b}=Oa();this.history.push(Se(te({},y),{timestamp:b}));let{onStart:v,onMove:C}=this.handlers;p||(v&&v(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,l)},this.handlePointerMove=(l,p)=>{if(this.lastMoveEvent=l,this.lastMoveEventInfo=dw(p,this.transformPagePoint),D0(l)&&l.buttons===0){this.handlePointerUp(l,p);return}dr.update(this.updatePoint,!0)},this.handlePointerUp=(l,p)=>{this.end();let{onEnd:h,onSessionEnd:y}=this.handlers,b=hw(dw(p,this.transformPagePoint),this.history);this.startEvent&&h&&h(l,b),y&&y(l,b)},I0(t)&&t.touches.length>1)return;this.handlers=r,this.transformPagePoint=n;let o=Xf(t),i=dw(o,this.transformPagePoint),{point:s}=i,{timestamp:a}=Oa();this.history=[Se(te({},s),{timestamp:a})];let{onSessionStart:u}=r;u&&u(t,hw(i,this.history)),this.removeListeners=ks(Di(window,"pointermove",this.handlePointerMove),Di(window,"pointerup",this.handlePointerUp),Di(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),zn.update(this.updatePoint)}};function dw(e,t){return t?{point:t(e.point)}:e}function hC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hw({point:e},t){return{point:e,delta:hC(e,pC(t)),offset:hC(e,xq(t)),velocity:Eq(t,.1)}}function xq(e){return e[0]}function pC(e){return e[e.length-1]}function Eq(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=pC(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>vl(t)));)r--;if(!n)return{x:0,y:0};let i=(o.timestamp-n.timestamp)/1e3;if(i===0)return{x:0,y:0};let s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}c();d();f();c();d();f();function Lr(e){return e.max-e.min}function Y0(e,t=0,r=.01){return Math.abs(e-t)<=r}function mC(e,t,r,n=.5){e.origin=n,e.originPoint=bt(t.min,t.max,e.origin),e.scale=Lr(r)/Lr(t),(Y0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=bt(r.min,r.max,e.origin)-e.originPoint,(Y0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ol(e,t,r,n){mC(e.x,t.x,r.x,n==null?void 0:n.originX),mC(e.y,t.y,r.y,n==null?void 0:n.originY)}function gC(e,t,r){e.min=r.min+t.min,e.max=e.min+Lr(t)}function vC(e,t,r){gC(e.x,t.x,r.x),gC(e.y,t.y,r.y)}function yC(e,t,r){e.min=t.min-r.min,e.max=e.min+Lr(t)}function Dl(e,t,r){yC(e.x,t.x,r.x),yC(e.y,t.y,r.y)}function EC(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?bt(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?bt(r,e,n.max):Math.min(e,r)),e}function wC(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function SC(e,{top:t,left:r,bottom:n,right:o}){return{x:wC(e.x,r,o),y:wC(e.y,t,n)}}function bC(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function CC(e,t){return{x:bC(e.x,t.x),y:bC(e.y,t.y)}}function MC(e,t){let r=.5,n=Lr(e),o=Lr(t);return o>n?r=Ia(t.min,t.max-n,e.min):n>o&&(r=Ia(e.min,e.max-o,t.min)),Da(0,1,r)}function TC(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var X0=.35;function PC(e=X0){return e===!1?e=0:e===!0&&(e=X0),{x:_C(e,"left","right"),y:_C(e,"top","bottom")}}function _C(e,t,r){return{min:xC(e,t),max:xC(e,r)}}function xC(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}c();d();f();var OC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Il=()=>({x:OC(),y:OC()}),DC=()=>({min:0,max:0}),Jt=()=>({x:DC(),y:DC()});c();d();f();function lo(e){return[e("x"),e("y")]}c();d();f();c();d();f();function J0({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function IC({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function AC(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}c();d();f();c();d();f();function pw(e){return e===void 0||e===1}function Q0({scale:e,scaleX:t,scaleY:r}){return!pw(e)||!pw(t)||!pw(r)}function Ii(e){return Q0(e)||mw(e)||e.z||e.rotate||e.rotateX||e.rotateY}function mw(e){return NC(e.x)||NC(e.y)}function NC(e){return e&&e!=="0%"}function od(e,t,r){let n=e-r,o=t*n;return r+o}function RC(e,t,r,n,o){return o!==void 0&&(e=od(e,o,n)),od(e,r,n)+t}function gw(e,t=0,r=1,n,o){e.min=RC(e.min,t,r,n,o),e.max=RC(e.max,t,r,n,o)}function yw(e,{x:t,y:r}){gw(e.x,t.translate,t.scale,t.originPoint),gw(e.y,r.translate,r.scale,r.originPoint)}function FC(e,t,r,n=!1){var o,i;let s=r.length;if(!s)return;t.x=t.y=1;let a,u;for(let l=0;l<s;l++)a=r[l],u=a.projectionDelta,((i=(o=a.instance)===null||o===void 0?void 0:o.style)===null||i===void 0?void 0:i.display)!=="contents"&&(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&ka(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),u&&(t.x*=u.x.scale,t.y*=u.y.scale,yw(e,u)),n&&Ii(a.latestValues)&&ka(e,a.latestValues));t.x=kC(t.x),t.y=kC(t.y)}function kC(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Yo(e,t){e.min=e.min+t,e.max=e.max+t}function LC(e,t,[r,n,o]){let i=t[o]!==void 0?t[o]:.5,s=bt(e.min,e.max,i);gw(e,t[r],t[n],s,t.scale)}var Sq=["x","scaleX","originX"],Cq=["y","scaleY","originY"];function ka(e,t){LC(e.x,t,Sq),LC(e.y,t,Cq)}function vw(e,t){return J0(AC(e.getBoundingClientRect(),t))}function UC(e,t,r){let n=vw(e,r),{scroll:o}=t;return o&&(Yo(n.x,o.offset.x),Yo(n.y,o.offset.y)),n}var Mq=new WeakMap,tm=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Jt(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){if(this.visualElement.isPresent===!1)return;let n=a=>{this.stopAnimation(),r&&this.snapToCursor(Xf(a,"page").point)},o=(a,u)=>{var l;let{drag:p,dragPropagation:h,onDragStart:y}=this.getProps();p&&!h&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=j6(p),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),lo(b=>{var v,C;let N=this.getAxisMotionValue(b).get()||0;if(Zr.test(N)){let M=(C=(v=this.visualElement.projection)===null||v===void 0?void 0:v.layout)===null||C===void 0?void 0:C.layoutBox[b];M&&(N=Lr(M)*(parseFloat(N)/100))}this.originPoint[b]=N}),y==null||y(a,u),(l=this.visualElement.animationState)===null||l===void 0||l.setActive(wt.Drag,!0))},i=(a,u)=>{let{dragPropagation:l,dragDirectionLock:p,onDirectionLock:h,onDrag:y}=this.getProps();if(!l&&!this.openGlobalLock)return;let{offset:b}=u;if(p&&this.currentDirection===null){this.currentDirection=Tq(b),this.currentDirection!==null&&(h==null||h(this.currentDirection));return}this.updateAxis("x",u.point,b),this.updateAxis("y",u.point,b),this.visualElement.render(),y==null||y(a,u)},s=(a,u)=>this.stop(a,u);this.panSession=new Pl(t,{onSessionStart:n,onStart:o,onMove:i,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i==null||i(t,r)}cancel(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(wt.Drag,!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!em(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=EC(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&Ei(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=SC(n.layoutBox,t):this.constraints=!1,this.elastic=PC(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&lo(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=TC(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Ei(t))return!1;let n=t.current;kr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=UC(n,o.root,this.visualElement.getTransformPagePoint()),s=CC(o.layout.layoutBox,i);if(r){let a=r(IC(s));this.hasMutatedConstraints=!!a,a&&(s=J0(a))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),u=this.constraints||{},l=lo(p=>{var h;if(!em(p,r,this.currentDirection))return;let y=(h=u==null?void 0:u[p])!==null&&h!==void 0?h:{};s&&(y={min:0,max:0});let b=o?200:1e6,v=o?40:1e7,C=te(te({type:"inertia",velocity:n?t[p]:0,bounceStiffness:b,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},i),y);return this.startAxisValueAnimation(p,C)});return Promise.all(l).then(a)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return Sl(t,n,0,r)}stopAnimation(){lo(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var r,n;let o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)}snapToCursor(t){lo(r=>{let{drag:n}=this.getProps();if(!em(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:a}=o.layout.layoutBox[r];i.set(t[r]-bt(s,a,.5))}})}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;let{drag:r,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Ei(n)||!o||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};lo(a=>{let u=this.getAxisMotionValue(a);if(u){let l=u.get();i[a]=MC({min:l,max:l},this.constraints[a])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",(t=o.root)===null||t===void 0||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),lo(a=>{if(!em(a,r,null))return;let u=this.getAxisMotionValue(a),{min:l,max:p}=this.constraints[a];u.set(bt(l,p,i[a]))})}addListeners(){var t;if(!this.visualElement.current)return;Mq.set(this.visualElement,this);let r=this.visualElement.current,n=Di(r,"pointerdown",l=>{let{drag:p,dragListener:h=!0}=this.getProps();p&&h&&this.start(l)}),o=()=>{let{dragConstraints:l}=this.getProps();Ei(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",o);i&&!i.layout&&((t=i.root)===null||t===void 0||t.updateScroll(),i.updateLayout()),o();let a=Ca(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:p})=>{this.isDragging&&p&&(lo(h=>{let y=this.getAxisMotionValue(h);!y||(this.originPoint[h]+=l[h].translate,y.set(y.get()+l[h].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),u==null||u()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=X0,dragMomentum:a=!0}=t;return Se(te({},t),{drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a})}};function em(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function Tq(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function $C(e){let{dragControls:t,visualElement:r}=e,n=Is(()=>new tm(r));(0,ww.useEffect)(()=>t&&t.subscribe(n),[n,t]),(0,ww.useEffect)(()=>n.addListeners(),[n])}c();d();f();var Al=ce(ve(),1);function BC({onPan:e,onPanStart:t,onPanEnd:r,onPanSessionStart:n,visualElement:o}){let i=e||t||r||n,s=(0,Al.useRef)(null),{transformPagePoint:a}=(0,Al.useContext)(Qu),u={onSessionStart:n,onStart:t,onMove:e,onEnd:(p,h)=>{s.current=null,r&&r(p,h)}};(0,Al.useEffect)(()=>{s.current!==null&&s.current.updateHandlers(u)});function l(p){s.current=new Pl(p,u,{transformPagePoint:a})}Ma(o,"pointerdown",i&&l),ml(()=>s.current&&s.current.end())}var VC={pan:Io(BC),drag:Io($C)};c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();function bw(e){return typeof e=="string"&&e.startsWith("var(--")}var xw=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Pq(e){let t=xw.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}var Oq=4;function _w(e,t,r=1){kr(r<=Oq,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=Pq(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);return i?i.trim():bw(o)?_w(o,t,r+1):o}function jC(e,n,r){var t=Te(n,[]);let o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:r};r&&(r=te({},r)),e.values.forEach(i=>{let s=i.get();if(!bw(s))return;let a=_w(s,o);a&&i.set(a)});for(let i in t){let s=t[i];if(!bw(s))continue;let a=_w(s,o);!a||(t[i]=a,r&&r[i]===void 0&&(r[i]=s))}return{target:t,transitionEnd:r}}c();d();f();var Dq=new Set(["width","height","top","left","right","bottom","x","y"]),ZC=e=>Dq.has(e),Iq=e=>Object.keys(e).some(ZC),GC=(e,t)=>{e.set(t,!1),e.set(t)},rm=e=>e===jn||e===$e,zC;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(zC||(zC={}));var HC=(e,t)=>parseFloat(e.split(", ")[t]),qC=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/);if(o)return HC(o[1],t);{let i=n.match(/^matrix\((.+)\)$/);return i?HC(i[1],e):0}},Aq=new Set(["x","y","z"]),Nq=nl.filter(e=>!Aq.has(e));function Rq(e){let t=[];return Nq.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}var KC={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:qC(4,13),y:qC(5,14)},kq=(e,t,r)=>{let n=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(l=>{a[l]=KC[l](n,i)}),t.render();let u=t.measureViewportBox();return r.forEach(l=>{let p=t.getValue(l);GC(p,a[l]),e[l]=KC[l](u,i)}),e},Lq=(e,t,r={},n={})=>{t=te({},t),n=te({},n);let o=Object.keys(t).filter(ZC),i=[],s=!1,a=[];if(o.forEach(u=>{let l=e.getValue(u);if(!e.hasValue(u))return;let p=r[u],h=Tl(p),y=t[u],b;if(Oi(y)){let v=y.length,C=y[0]===null?1:0;p=y[C],h=Tl(p);for(let N=C;N<v;N++)b?kr(Tl(y[N])===b,"All keyframes must be of the same type"):(b=Tl(y[N]),kr(b===h||rm(h)&&rm(b),"Keyframes must be of the same dimension as the current value"))}else b=Tl(y);if(h!==b)if(rm(h)&&rm(b)){let v=l.get();typeof v=="string"&&l.set(parseFloat(v)),typeof y=="string"?t[u]=parseFloat(y):Array.isArray(y)&&b===$e&&(t[u]=y.map(parseFloat))}else(h==null?void 0:h.transform)&&(b==null?void 0:b.transform)&&(p===0||y===0)?p===0?l.set(b.transform(p)):t[u]=h.transform(y):(s||(i=Rq(e),s=!0),a.push(u),n[u]=n[u]!==void 0?n[u]:t[u],GC(l,y))}),a.length){let u=a.indexOf("height")>=0?window.pageYOffset:null,l=kq(t,e,a);return i.length&&i.forEach(([p,h])=>{e.getValue(p).set(h)}),e.render(),ao&&u!==null&&window.scrollTo({top:u}),{target:l,transitionEnd:n}}else return{target:t,transitionEnd:n}};function WC(e,t,r,n){return Iq(t)?Lq(e,t,r,n):{target:t,transitionEnd:n}}var YC=(e,t,r,n)=>{let o=jC(e,t,n);return t=o.target,n=o.transitionEnd,WC(e,t,r,n)};c();d();f();var eM=ce(ve(),1);c();d();f();c();d();f();var id={current:null},nm={current:!1};function XC(){if(nm.current=!0,!!ao)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>id.current=e.matches;e.addListener(t),t()}else id.current=!1}c();d();f();function JC(e,t,r){let{willChange:n}=t;for(let o in t){let i=t[o],s=r[o];if(Or(i))e.addValue(o,i),Na(n)&&n.add(o);else if(Or(s))e.addValue(o,Wo(i)),Na(n)&&n.remove(o);else if(s!==i)if(e.hasValue(o)){let a=e.getValue(o);!a.hasAnimated&&a.set(i)}else{let a=e.getStaticValue(o);e.addValue(o,Wo(a!==void 0?a:i))}}for(let o in r)t[o]===void 0&&e.removeValue(o);return t}var tM=Object.keys(Ds),Fq=tM.length,QC=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],om=class{constructor({parent:t,props:r,reducedMotionConfig:n,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>dr.render(this.render,!1,!0);let{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget=te({},s),this.initialValues=r.initial?te({},s):{},this.renderState=a,this.parent=t,this.props=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=Ea(r),this.isVariantNode=c0(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let p=this.scrapeMotionValuesFromProps(r),{willChange:u}=p,l=Te(p,["willChange"]);for(let h in l){let y=l[h];s[h]!==void 0&&Or(y)&&(y.set(s[h],!1),Na(u)&&u.add(h))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var r;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(r=this.parent)===null||r===void 0?void 0:r.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),nm.current||XC(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:id.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,r,n;(t=this.projection)===null||t===void 0||t.unmount(),zn.update(this.notifyUpdate),zn.render(this.render),this.valueSubscriptions.forEach(o=>o()),(r=this.removeFromVariantTree)===null||r===void 0||r.call(this),(n=this.parent)===null||n===void 0||n.children.delete(this);for(let o in this.events)this.events[o].clear();this.current=null}bindToMotionValue(t,r){let n=uo.has(t),o=r.onChange(s=>{this.latestValues[t]=s,this.props.onUpdate&&dr.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures(t,r,n,o,i,s){let a=[];gl!=="production"&&n&&r&&kr(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let u=0;u<Fq;u++){let l=tM[u],{isEnabled:p,Component:h}=Ds[l];p(t)&&h&&a.push((0,eM.createElement)(h,Se(te({key:l},t),{visualElement:this})))}if(!this.projection&&i){this.projection=new i(o,this.latestValues,this.parent&&this.parent.projection);let{layoutId:u,layout:l,drag:p,dragConstraints:h,layoutScroll:y}=t;this.projection.setOptions({layoutId:u,layout:l,alwaysMeasureLayout:Boolean(p)||h&&Ei(h),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:s,layoutScroll:y})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Jt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let r=0;r<QC.length;r++){let n=QC[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let o=t["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=JC(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var r;return(r=this.props.variants)===null||r===void 0?void 0:r[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:(t=this.parent)===null||t===void 0?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var r,n;if(t)return(r=this.parent)===null||r===void 0?void 0:r.getVariantContext();if(!this.isControllingVariants){let i=((n=this.parent)===null||n===void 0?void 0:n.getVariantContext())||{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}let o={};for(let i=0;i<Uq;i++){let s=rM[i],a=this.props[s];(Si(a)||a===!1)&&(o[s]=a)}return o}addVariantChild(t){var r;let n=this.getClosestVariantNode();if(n)return(r=n.variantChildren)===null||r===void 0||r.add(t),()=>n.variantChildren.delete(t)}addValue(t,r){this.hasValue(t)&&this.removeValue(t),this.values.set(t,r),this.latestValues[t]=r.get(),this.bindToMotionValue(t,r)}removeValue(t){var r;this.values.delete(t),(r=this.valueSubscriptions.get(t))===null||r===void 0||r(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=Wo(r),this.addValue(t,n)),n}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(r=hl(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&o!==void 0)return o;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Or(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Go),this.events[t].add(r)}notify(t,...r){var n;(n=this.events[t])===null||n===void 0||n.notify(...r)}},rM=["initial",...W0],Uq=rM.length;var Nl=class extends om{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){var n;return(n=t.style)===null||n===void 0?void 0:n[r]}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance(s,{transformValues:o},i){var a=s,{transition:t,transitionEnd:r}=a,n=Te(a,["transition","transitionEnd"]);let u=sC(n,t||{},this);if(o&&(r&&(r=o(r)),n&&(n=o(n)),u&&(u=o(u))),i){iC(this,n,u);let l=YC(this,n,u,r);r=l.transitionEnd,n=l.target}return te({transition:t,transitionEnd:r},n)}};function $q(e){return window.getComputedStyle(e)}var im=class extends Nl{readValueFromInstance(t,r){if(uo.has(r)){let n=xl(r);return n&&n.default||0}else{let n=$q(t),o=(m0(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return vw(t,r)}build(t,r,n,o){ul(t,r,n,o.transformTemplate)}scrapeMotionValuesFromProps(t){return dl(t)}renderInstance(t,r,n,o){S0(t,r,n,o)}};c();d();f();var sm=class extends Nl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){var n;return uo.has(r)?((n=xl(r))===null||n===void 0?void 0:n.default)||0:(r=C0.has(r)?r:E0(r),t.getAttribute(r))}measureInstanceViewportBox(){return Jt()}scrapeMotionValuesFromProps(t){return T0(t)}build(t,r,n,o){cl(t,r,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,r,n,o){M0(t,r,n,o)}mount(t){this.isSVGTag=fl(t.tagName),super.mount(t)}};var nM=(e,t)=>tl(e)?new sm(t,{enableHardwareAcceleration:!1}):new im(t,{enableHardwareAcceleration:!0});c();d();f();c();d();f();var kl=ce(ve(),1);c();d();f();function oM(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Rl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($e.test(e))e=parseFloat(e);else return e;let r=oM(e,t.target.x),n=oM(e,t.target.y);return`${r}% ${n}%`}};c();d();f();var iM="_$css",sM={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=e.includes("var("),i=[];o&&(e=e.replace(xw,b=>(i.push(b),iM)));let s=Rr.parse(e);if(s.length>5)return n;let a=Rr.createTransformer(e),u=typeof s[0]!="number"?1:0,l=r.x.scale*t.x,p=r.y.scale*t.y;s[0+u]/=l,s[1+u]/=p;let h=bt(l,p,.5);typeof s[2+u]=="number"&&(s[2+u]/=h),typeof s[3+u]=="number"&&(s[3+u]/=h);let y=a(s);if(o){let b=0;y=y.replace(iM,()=>{let v=i[b];return b++,v})}return y}};var Ew=class extends kl.default.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;R9(Bq),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions(Se(te({},i.options),{onExitComplete:()=>this.safeToRemove()}))),As.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==r||r===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||dr.postRender(()=>{var a;!((a=s.getStack())===null||a===void 0)&&a.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r!=null&&r.group&&r.group.remove(o),n!=null&&n.deregister&&n.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t==null||t()}render(){return null}};function aM(e){let[t,r]=R0(),n=(0,kl.useContext)(el);return kl.default.createElement(Ew,Se(te({},e),{layoutGroup:n,switchLayoutGroup:(0,kl.useContext)(h0),isPresent:t,safeToRemove:r}))}var Bq={borderRadius:Se(te({},Rl),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Rl,borderTopRightRadius:Rl,borderBottomLeftRadius:Rl,borderBottomRightRadius:Rl,boxShadow:sM};var uM={measureLayout:aM};c();d();f();c();d();f();c();d();f();function lM(e,t,r={}){let n=Or(e)?e:Wo(e);return Sl("",n,t,r),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}c();d();f();var hM=["TopLeft","TopRight","BottomLeft","BottomRight"],Vq=hM.length,cM=e=>typeof e=="string"?parseFloat(e):e,fM=e=>typeof e=="number"||$e.test(e);function pM(e,t,r,n,o,i){var s,a,u,l;o?(e.opacity=bt(0,(s=r.opacity)!==null&&s!==void 0?s:1,jq(n)),e.opacityExit=bt((a=t.opacity)!==null&&a!==void 0?a:1,0,zq(n))):i&&(e.opacity=bt((u=t.opacity)!==null&&u!==void 0?u:1,(l=r.opacity)!==null&&l!==void 0?l:1,n));for(let p=0;p<Vq;p++){let h=`border${hM[p]}Radius`,y=dM(t,h),b=dM(r,h);if(y===void 0&&b===void 0)continue;y||(y=0),b||(b=0),y===0||b===0||fM(y)===fM(b)?(e[h]=Math.max(bt(cM(y),cM(b),n),0),(Zr.test(b)||Zr.test(y))&&(e[h]+="%")):e[h]=b}(t.rotate||r.rotate)&&(e.rotate=bt(t.rotate||0,r.rotate||0,n))}function dM(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var jq=mM(0,.5,Qf),zq=mM(.5,.95,wl);function mM(e,t,r){return n=>n<e?0:n>t?1:r(Ia(e,t,n))}c();d();f();function gM(e,t){e.min=t.min,e.max=t.max}function co(e,t){gM(e.x,t.x),gM(e.y,t.y)}c();d();f();function yM(e,t,r,n,o){return e-=t,e=od(e,1/r,n),o!==void 0&&(e=od(e,1/o,n)),e}function Hq(e,t=0,r=1,n=.5,o,i=e,s=e){if(Zr.test(t)&&(t=parseFloat(t),t=bt(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=bt(i.min,i.max,n);e===i&&(a-=t),e.min=yM(e.min,t,r,a,o),e.max=yM(e.max,t,r,a,o)}function vM(e,t,[r,n,o],i,s){Hq(e,t[r],t[n],t[o],t.scale,i,s)}var qq=["x","scaleX","originX"],Kq=["y","scaleY","originY"];function Sw(e,t,r,n){vM(e.x,t,qq,r==null?void 0:r.x,n==null?void 0:n.x),vM(e.y,t,Kq,r==null?void 0:r.y,n==null?void 0:n.y)}c();d();f();function wM(e){return e.translate===0&&e.scale===1}function Cw(e){return wM(e.x)&&wM(e.y)}function Mw(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Tw(e){return Lr(e.x)/Lr(e.y)}c();d();f();var am=class{constructor(){this.members=[]}add(t){Cl(this.members,t),t.scheduleRender()}remove(t){if(Ml(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){var n;let o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var r,n,o,i,s;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(s=(o=t.resumingFrom)===null||o===void 0?void 0:(i=o.options).onExitComplete)===null||s===void 0||s.call(i)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};c();d();f();function Pw(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:u,rotateX:l,rotateY:p}=r;u&&(n+=`rotate(${u}deg) `),l&&(n+=`rotateX(${l}deg) `),p&&(n+=`rotateY(${p}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(n+=`scale(${s}, ${a})`),n||"none"}c();d();f();c();d();f();var bM=(e,t)=>e.depth-t.depth;var um=class{constructor(){this.children=[],this.isDirty=!1}add(t){Cl(this.children,t),this.isDirty=!0}remove(t){Ml(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(bM),this.isDirty=!1,this.children.forEach(t)}};var _M=["","X","Y","Z"],xM=1e3,Zq=0;function lm({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s,a={},u=t==null?void 0:t()){this.id=Zq++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(Yq),this.nodes.forEach(Qq),this.nodes.forEach(eK)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=s,this.latestValues=a,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new um)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Go),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){let u=this.eventHandlers.get(s);u==null||u.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}registerPotentialNode(s,a){this.potentialNodes.set(s,a)}mount(s,a=!1){var u;if(this.instance)return;this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;let{layoutId:l,layout:p,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),a&&(p||l)&&(this.isLayoutDirty=!0),e){let y,b=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=V0(b,250),As.hasAnimatedSinceResize&&(As.hasAnimatedSinceResize=!1,this.nodes.forEach(SM))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&h&&(l||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:b,hasRelativeTargetChanged:v,layout:C})=>{var N,M,T,I,U;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let K=(M=(N=this.options.transition)!==null&&N!==void 0?N:h.getDefaultTransition())!==null&&M!==void 0?M:iK,{onLayoutAnimationStart:J,onLayoutAnimationComplete:j}=h.getProps(),Z=!this.targetLayout||!Mw(this.targetLayout,C)||v,le=!b&&v;if(((T=this.resumeFrom)===null||T===void 0?void 0:T.instance)||le||b&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,le);let me=Se(te({},Z0(K,"layout")),{onPlay:J,onComplete:j});h.shouldReduceMotion&&(me.delay=0,me.type=!1),this.startAnimation(me)}else!b&&this.animationProgress===0&&SM(this),this.isLead()&&((U=(I=this.options).onExitComplete)===null||U===void 0||U.call(I));this.targetLayout=C})}unmount(){var s,a;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(s=this.getStack())===null||s===void 0||s.remove(this),(a=this.parent)===null||a===void 0||a.children.delete(this),this.instance=void 0,zn.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var s;return this.isAnimationBlocked||((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimationBlocked())||!1}startUpdate(){var s;this.isUpdateBlocked()||(this.isUpdating=!0,(s=this.nodes)===null||s===void 0||s.forEach(tK),this.animationId++)}willUpdate(s=!0){var a,u,l;if(this.root.isUpdateBlocked()){(u=(a=this.options).onExitComplete)===null||u===void 0||u.call(a);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let b=0;b<this.path.length;b++){let v=this.path[b];v.shouldResetTransform=!0,v.updateScroll("snapshot")}let{layoutId:p,layout:h}=this.options;if(p===void 0&&!h)return;let y=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(EM);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(sK),this.potentialNodes.clear()),this.nodes.forEach(Jq),this.nodes.forEach(Gq),this.nodes.forEach(Wq),this.clearAllSnapshots(),B0.update(),B0.preRender(),B0.render())}clearAllSnapshots(){this.nodes.forEach(Xq),this.sharedNodes.forEach(rK)}scheduleUpdateProjection(){dr.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){dr.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var s;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();let a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Jt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),(s=this.options.visualElement)===null||s===void 0||s.notify("LayoutMeasure",this.layout.layoutBox,a==null?void 0:a.layoutBox)}updateScroll(s="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){var s;if(!o)return;let a=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!Cw(this.projectionDelta),l=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,p=l==null?void 0:l(this.latestValues,""),h=p!==this.prevTransformTemplateValue;a&&(u||Ii(this.latestValues)||h)&&(o(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let a=this.measurePageBox(),u=this.removeElementScroll(a);return s&&(u=this.removeTransform(u)),aK(u),{animationId:this.root.animationId,measuredBox:a,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:s}=this.options;if(!s)return Jt();let a=s.measureViewportBox(),{scroll:u}=this.root;return u&&(Yo(a.x,u.offset.x),Yo(a.y,u.offset.y)),a}removeElementScroll(s){let a=Jt();co(a,s);for(let u=0;u<this.path.length;u++){let l=this.path[u],{scroll:p,options:h}=l;if(l!==this.root&&p&&h.layoutScroll){if(p.isRoot){co(a,s);let{scroll:y}=this.root;y&&(Yo(a.x,-y.offset.x),Yo(a.y,-y.offset.y))}Yo(a.x,p.offset.x),Yo(a.y,p.offset.y)}}return a}applyTransform(s,a=!1){let u=Jt();co(u,s);for(let l=0;l<this.path.length;l++){let p=this.path[l];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&ka(u,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Ii(p.latestValues)&&ka(u,p.latestValues)}return Ii(this.latestValues)&&ka(u,this.latestValues),u}removeTransform(s){var a;let u=Jt();co(u,s);for(let l=0;l<this.path.length;l++){let p=this.path[l];if(!p.instance||!Ii(p.latestValues))continue;Q0(p.latestValues)&&p.updateSnapshot();let h=Jt(),y=p.measurePageBox();co(h,y),Sw(u,p.latestValues,(a=p.snapshot)===null||a===void 0?void 0:a.layoutBox,h)}return Ii(this.latestValues)&&Sw(u,this.latestValues),u}setTargetDelta(s){this.targetDelta=s,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(s){this.options=Se(te(te({},this.options),s),{crossfade:s.crossfade!==void 0?s.crossfade:!0})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var s;let a=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;let{layout:u,layoutId:l}=this.options;if(!(!this.layout||!(u||l))){if(!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout?(this.relativeParent=p,this.relativeTarget=Jt(),this.relativeTargetOrigin=Jt(),Dl(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),co(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Jt(),this.targetWithTransforms=Jt()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?vC(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):co(this.target,this.layout.layoutBox),yw(this.target,this.targetDelta)):co(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&Boolean(p.resumingFrom)===Boolean(this.resumingFrom)&&!p.options.layoutScroll&&p.target?(this.relativeParent=p,this.relativeTarget=Jt(),this.relativeTargetOrigin=Jt(),Dl(this.relativeTargetOrigin,this.target,p.target),co(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Q0(this.parent.latestValues)||mw(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var s;let{isProjectionDirty:a,isTransformDirty:u}=this;this.isProjectionDirty=this.isTransformDirty=!1;let l=this.getLead(),p=Boolean(this.resumingFrom)||this!==l,h=!0;if(a&&(h=!1),p&&u&&(h=!1),h)return;let{layout:y,layoutId:b}=this.options;if(this.isTreeAnimating=Boolean(((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||b))return;co(this.layoutCorrected,this.layout.layoutBox),FC(this.layoutCorrected,this.treeScale,this.path,p);let{target:v}=l;if(!v)return;this.projectionDelta||(this.projectionDelta=Il(),this.projectionDeltaWithTransform=Il());let C=this.treeScale.x,N=this.treeScale.y,M=this.projectionTransform;Ol(this.projectionDelta,this.layoutCorrected,v,this.latestValues),this.projectionTransform=Pw(this.projectionDelta,this.treeScale),(this.projectionTransform!==M||this.treeScale.x!==C||this.treeScale.y!==N)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a,u,l;(u=(a=this.options).scheduleRender)===null||u===void 0||u.call(a),s&&((l=this.getStack())===null||l===void 0||l.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,a=!1){var u,l;let p=this.snapshot,h=(p==null?void 0:p.latestValues)||{},y=te({},this.latestValues),b=Il();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!a;let v=Jt(),C=(p==null?void 0:p.source)!==((u=this.layout)===null||u===void 0?void 0:u.source),N=(((l=this.getStack())===null||l===void 0?void 0:l.members.length)||0)<=1,M=Boolean(C&&!N&&this.options.crossfade===!0&&!this.path.some(oK));this.animationProgress=0,this.mixTargetDelta=T=>{var I;let U=T/1e3;CM(b.x,s.x,U),CM(b.y,s.y,U),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&((I=this.relativeParent)===null||I===void 0?void 0:I.layout)&&(Dl(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nK(this.relativeTarget,this.relativeTargetOrigin,v,U)),C&&(this.animationValues=y,pM(y,h,this.latestValues,U,M,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(0)}startAnimation(s){var a,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)===null||a===void 0||a.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(zn.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dr.update(()=>{As.hasAnimatedSinceResize=!0,this.currentAnimation=lM(0,xM,Se(te({},s),{onUpdate:l=>{var p;this.mixTargetDelta(l),(p=s.onUpdate)===null||p===void 0||p.call(s,l)},onComplete:()=>{var l;(l=s.onComplete)===null||l===void 0||l.call(s),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,xM),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:u,layout:l,latestValues:p}=s;if(!(!a||!u||!l)){if(this!==s&&this.layout&&l&&PM(this.options.animationType,this.layout.layoutBox,l.layoutBox)){u=this.target||Jt();let h=Lr(this.layout.layoutBox.x);u.x.min=s.target.x.min,u.x.max=u.x.min+h;let y=Lr(this.layout.layoutBox.y);u.y.min=s.target.y.min,u.y.max=u.y.min+y}co(a,u),ka(a,p),Ol(this.projectionDeltaWithTransform,this.layoutCorrected,a,p)}}registerSharedNode(s,a){var u,l,p;this.sharedNodes.has(s)||this.sharedNodes.set(s,new am),this.sharedNodes.get(s).add(a),a.promote({transition:(u=a.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(p=(l=a.options.initialPromotionConfig)===null||l===void 0?void 0:l.shouldPreserveFollowOpacity)===null||p===void 0?void 0:p.call(l,a)})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:u}={}){let l=this.getStack();l&&l.promote(this,u),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:u}=s;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(a=!0),!a)return;let l={};for(let p=0;p<_M.length;p++){let h="rotate"+_M[p];u[h]&&(l[h]=u[h],s.setStaticValue(h,0))}s==null||s.render();for(let p in l)s.setStaticValue(p,l[p]);s.scheduleRender()}getProjectionStyles(s={}){var a,u,l;let p={};if(!this.instance||this.isSVG)return p;if(this.isVisible)p.visibility="";else return{visibility:"hidden"};let h=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=pl(s.pointerEvents)||"",p.transform=h?h(this.latestValues,""):"none",p;let y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){let N={};return this.options.layoutId&&(N.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,N.pointerEvents=pl(s.pointerEvents)||""),this.hasProjected&&!Ii(this.latestValues)&&(N.transform=h?h({},""):"none",this.hasProjected=!1),N}let b=y.animationValues||y.latestValues;this.applyTransformsToTarget(),p.transform=Pw(this.projectionDeltaWithTransform,this.treeScale,b),h&&(p.transform=h(b,p.transform));let{x:v,y:C}=this.projectionDelta;p.transformOrigin=`${v.origin*100}% ${C.origin*100}% 0`,y.animationValues?p.opacity=y===this?(l=(u=b.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:p.opacity=y===this?b.opacity!==void 0?b.opacity:"":b.opacityExit!==void 0?b.opacityExit:0;for(let N in rl){if(b[N]===void 0)continue;let{correct:M,applyTo:T}=rl[N],I=M(b[N],y);if(T){let U=T.length;for(let K=0;K<U;K++)p[T[K]]=I}else p[N]=I}return this.options.layoutId&&(p.pointerEvents=y===this?pl(s.pointerEvents)||"":"none"),p}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(EM),this.root.sharedNodes.clear()}}}function Gq(e){e.updateLayout()}function Wq(e){var t,r,n;let o=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=e.layout,{animationType:a}=e.options,u=o.source!==e.layout.source;a==="size"?lo(b=>{let v=u?o.measuredBox[b]:o.layoutBox[b],C=Lr(v);v.min=i[b].min,v.max=v.min+C}):PM(a,o.layoutBox,i)&&lo(b=>{let v=u?o.measuredBox[b]:o.layoutBox[b],C=Lr(i[b]);v.max=v.min+C});let l=Il();Ol(l,i,o.layoutBox);let p=Il();u?Ol(p,e.applyTransform(s,!0),o.measuredBox):Ol(p,i,o.layoutBox);let h=!Cw(l),y=!1;if(!e.resumeFrom){let b=e.getClosestProjectingParent();if(b&&!b.resumeFrom){let{snapshot:v,layout:C}=b;if(v&&C){let N=Jt();Dl(N,o.layoutBox,v.layoutBox);let M=Jt();Dl(M,i,C.layoutBox),Mw(N,M)||(y=!0)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:o,delta:p,layoutDelta:l,hasLayoutChanged:h,hasRelativeTargetChanged:y})}else e.isLead()&&((n=(r=e.options).onExitComplete)===null||n===void 0||n.call(r));e.options.transition=void 0}function Yq(e){e.isProjectionDirty||(e.isProjectionDirty=Boolean(e.parent&&e.parent.isProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=Boolean(e.parent&&e.parent.isTransformDirty))}function Xq(e){e.clearSnapshot()}function EM(e){e.clearMeasurements()}function Jq(e){let{visualElement:t}=e.options;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function SM(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Qq(e){e.resolveTargetDelta()}function eK(e){e.calcProjection()}function tK(e){e.resetRotation()}function rK(e){e.removeLeadSnapshot()}function CM(e,t,r){e.translate=bt(t.translate,0,r),e.scale=bt(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function MM(e,t,r,n){e.min=bt(t.min,r.min,n),e.max=bt(t.max,r.max,n)}function nK(e,t,r,n){MM(e.x,t.x,r.x,n),MM(e.y,t.y,r.y,n)}function oK(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var iK={duration:.45,ease:[.4,0,.1,1]};function sK(e,t){let r=e.root;for(let i=e.path.length-1;i>=0;i--)if(Boolean(e.path[i].instance)){r=e.path[i];break}let o=(r&&r!==e.root?r.instance:document).querySelector(`[data-projection-id="${t}"]`);o&&e.mount(o,!0)}function TM(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function aK(e){TM(e.x),TM(e.y)}function PM(e,t,r){return e==="position"||e==="preserve-aspect"&&!Y0(Tw(t),Tw(r),.2)}c();d();f();var OM=lm({attachResizeListener:(e,t)=>Ca(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Ow={current:void 0},DM=lm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ow.current){let e=new OM(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Ow.current=e}return Ow.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")});var uK=te(te(te(te({},cC),x7),VC),uM),Dt=A9((e,t)=>i7(e,t,uK,nM,DM));c();d();f();var Ai=ce(ve(),1),fo=ce(ve(),1);c();d();f();var sd=ce(ve(),1);c();d();f();var IM=ce(ve(),1);function cm(){let e=(0,IM.useRef)(!1);return xa(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function AM(){let e=cm(),[t,r]=(0,sd.useState)(0),n=(0,sd.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,sd.useCallback)(()=>dr.postRender(n),[n]),t]}c();d();f();var ad=ce(ve(),1),ud=ce(ve(),1);c();d();f();var Ll=ce(ve(),1),La=ce(ve(),1),Dw=class extends Ll.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function NM({children:e,isPresent:t}){let r=(0,La.useId)(),n=(0,La.useRef)(null),o=(0,La.useRef)({width:0,height:0,top:0,left:0});return(0,La.useInsertionEffect)(()=>{let{width:i,height:s,top:a,left:u}=o.current;if(t||!n.current||!i||!s)return;n.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
|
|
25
25
|
[data-motion-pop-id="${r}"] {
|
|
@@ -29,7 +29,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29
29
|
top: ${a}px !important;
|
|
30
30
|
left: ${u}px !important;
|
|
31
31
|
}
|
|
32
|
-
`),()=>{document.head.removeChild(l)}},[t]),Ll.createElement(Dw,{isPresent:t,childRef:n,sizeRef:o},Ll.cloneElement(e,{ref:n}))}var fm=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:s})=>{let a=Is(lK),u=(0,ud.useId)(),l=(0,ud.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:p=>{a.set(p,!0);for(let h of a.values())if(!h)return;n&&n()},register:p=>(a.set(p,!1),()=>a.delete(p))}),i?void 0:[r]);return(0,ud.useMemo)(()=>{a.forEach((p,h)=>a.set(h,!1))},[r]),ad.useEffect(()=>{!r&&!a.size&&n&&n()},[r]),s==="popLayout"&&(e=ad.createElement(NM,{isPresent:r},e)),ad.createElement(Zo.Provider,{value:l},e)};function lK(){return new Map}var Fl=e=>e.key||"";function cK(e,t){e.forEach(r=>{let n=Fl(r);t.set(n,r)})}function fK(e){let t=[];return fo.Children.forEach(e,r=>{(0,fo.isValidElement)(r)&&t.push(r)}),t}var dm=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{o&&(s="wait",N0(!1,"Replace exitBeforeEnter with mode='wait'"));let[a]=AM(),u=(0,fo.useContext)(el).forceRender;u&&(a=u);let l=cm(),p=fK(e),h=p,y=new Set,b=(0,fo.useRef)(h),v=(0,fo.useRef)(new Map).current,C=(0,fo.useRef)(!0);if(xa(()=>{C.current=!1,cK(p,v),b.current=h}),ml(()=>{C.current=!0,v.clear(),y.clear()}),C.current)return Ai.createElement(Ai.Fragment,null,h.map(I=>Ai.createElement(fm,{key:Fl(I),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:s},I)));h=[...h];let N=b.current.map(Fl),M=p.map(Fl),T=N.length;for(let I=0;I<T;I++){let U=N[I];M.indexOf(U)===-1&&y.add(U)}return s==="wait"&&y.size&&(h=[]),y.forEach(I=>{if(M.indexOf(I)!==-1)return;let U=v.get(I);if(!U)return;let K=N.indexOf(I),J=()=>{v.delete(I),y.delete(I);let j=b.current.findIndex(Z=>Z.key===I);if(b.current.splice(j,1),!y.size){if(b.current=p,l.current===!1)return;a(),n&&n()}};h.splice(K,0,Ai.createElement(fm,{key:Fl(U),isPresent:!1,onExitComplete:J,custom:t,presenceAffectsLayout:i,mode:s},U))}),h=h.map(I=>{let U=I.key;return y.has(U)?I:Ai.createElement(fm,{key:Fl(I),isPresent:!0,presenceAffectsLayout:i,mode:s},I)}),gl!=="production"&&s==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),Ai.createElement(Ai.Fragment,null,y.size?h:h.map(I=>(0,fo.cloneElement)(I)))};c();d();f();var rT=ce(tT(),1),{__extends:Aye,__assign:ho,__rest:gm,__decorate:Nye,__param:Rye,__metadata:kye,__awaiter:Lye,__generator:Fye,__exportStar:Uye,__createBinding:$ye,__values:Bye,__read:Vye,__spread:jye,__spreadArrays:zye,__spreadArray:nT,__await:Hye,__asyncGenerator:qye,__asyncDelegator:Kye,__asyncValues:Zye,__makeTemplateObject:Gye,__importStar:Wye,__importDefault:Yye,__classPrivateFieldGet:Xye,__classPrivateFieldSet:Jye,__classPrivateFieldIn:Qye}=rT.default;var dK=()=>m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-6"},m.createElement("p",{className:"text-center text-xl font-semibold text-gray-900 dark:text-white"},"Proving unique-humanness without compromising privacy."),m.createElement("p",{className:"text-70868f mt-4 text-center"},"World ID is an identity protocol centered around persons. It can be used to prove someone is doing something once without revealing personal information."),m.createElement("p",{className:"text-70868f mt-3 text-center"},"It currently supports verification through biometrics (using a device called an Orb), and through phone numbers. Zero-Knowledge Proofs and other cryptographic mechanisms are used to preserve privacy."),m.createElement("p",{className:"text-70868f mt-3 text-center"},"Apps will never see your phone number or biometrics.")),m.createElement("div",null,m.createElement(Dt.a,{layoutId:"submit-button",href:"https://id.worldcoin.org/",target:"_blank",transition:{layout:{duration:.15}},className:Nr("inline-flex w-full justify-center space-x-2 items-center px-8 py-4 border border-transparent font-medium rounded-2xl shadow-sm","text-gray-500 dark:text-70868f bg-gray-200 dark:bg-29343f hover:bg-gray-300/50 dark:hover:bg-29343f/50","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 disabled:cursor-not-allowed transition")},m.createElement(Dt.span,{transition:{layout:{duration:.15}},layoutId:"button-text"},"Learn more")))),oT=dK;c();d();f();var hK=({retryFlow:e,errorState:t})=>({retryFlow:e,errorState:t}),pK={["GENERIC_ERROR"]:"Something went wrong",["INVALID_CODE"]:"Invalid code",["PHONE_OTP_REQUEST_ERROR"]:"We could not send you a code",["REJECTED_BY_HOST_APP"]:"Verification declined by app"},mK=()=>{var r;let{retryFlow:e,errorState:t}=Gt(hK);return m.createElement("div",{className:"space-y-8"},m.createElement("div",{className:"-mt-5 flex items-center justify-center"},m.createElement("div",{className:"bg-ff6848/10 inline-flex items-center justify-center rounded-full p-5"},m.createElement("div",{className:"bg-ff6848 flex items-center justify-center rounded-full p-5"},m.createElement(Ju,{className:"w-8 text-white"})))),m.createElement("div",null,m.createElement("p",{className:"text-center text-2xl font-semibold text-gray-900 dark:text-white"},pK[(r=t==null?void 0:t.code)!=null?r:"GENERIC_ERROR"]),m.createElement("p",{className:"mt-2 text-center text-lg text-gray-400"},(t==null?void 0:t.message)||"Please try again in a moment.")),m.createElement("div",{className:"flex justify-center"},m.createElement("button",{type:"button",onClick:e,className:"inline-flex items-center rounded-full border border-transparent bg-indigo-600 px-8 py-3 font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:bg-indigo-600"},"Try Again")),m.createElement("div",null,m.createElement("p",{className:"mt-4 text-xs text-gray-400"},"If you are the app owner, check the console for further details.")))},iT=mK;c();d();f();var $l={opacity:[1,.1,.2,.4,.6,.8]},Bl={repeat:1/0,duration:1,type:"spring"},gK=({className:e=""})=>m.createElement("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",fill:"#6345DB",viewBox:"0 0 48 48"},m.createElement(Dt.path,{animate:$l,transition:Bl,d:"M21.985 17.835a.742.742 0 0 0 .492-.211.768.768 0 0 0 .227-.492c.106-1.73.337-4.651.692-7.72 4.857-.214 8.217 2.033 8.217 2.033-.98-3.45-3.206-12.771-9.196-11.286-5.069 1.339-3.38 14.296-1.047 17.393a.75.75 0 0 0 .615.284Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.15}),d:"M27.946 18.265c.892-3.791 9.724-13.28 13.938-10.113 4.905 3.8-.816 11.432-2.832 14.383 0 0-.403-4.084-3.619-7.788a162.5 162.5 0 0 0-6.326 4.31.748.748 0 0 1-.839-.004.784.784 0 0 1-.323-.788Zm3.6 5.727a.714.714 0 0 0-.404.547.764.764 0 0 0 .097.532.74.74 0 0 0 .422.328c1.632.489 4.387 1.349 7.247 2.365-.844 4.866-3.724 7.73-3.724 7.73 3.523-.235 12.94-.421 12.815-6.704-.183-5.325-12.978-6.45-16.453-4.798Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.35}),d:"M29.386 30.421a.727.727 0 0 0-.834.128.756.756 0 0 0-.174.84c.633 1.602 1.699 4.329 2.697 7.25-4.272 2.355-8.265 1.837-8.265 1.837 2.371 2.658 8.38 10.045 13.122 6.039 3.984-3.46-3.11-14.354-6.546-16.094Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.55}),d:"M23.098 32.706a.739.739 0 0 0-.432-.527.718.718 0 0 0-.533-.027.733.733 0 0 0-.408.35 160.789 160.789 0 0 1-3.897 6.654c-4.464-1.935-6.556-5.443-6.556-5.443-.567 3.547-2.506 12.937 3.532 14.227 5.136 1.016 9.1-11.423 8.294-15.233Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.7}),d:"M17.434 29.113a.778.778 0 0 0-.177-1.108.729.729 0 0 0-.523-.114c-1.68.274-4.531.714-7.546 1.046-1.295-4.769.096-8.609.096-8.609-3.08 1.75-11.5 6.058-8.735 11.657 2.42 4.73 14.447.137 16.885-2.872Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.85}),d:"M16.657 22.361a.709.709 0 0 0 .605-.303.772.772 0 0 0-.096-1.016 145.357 145.357 0 0 1-5.5-5.355c2.86-3.996 6.68-5.276 6.68-5.276-3.264-1.368-11.817-5.404-14.399.303-2.13 4.866 8.88 11.588 12.71 11.647Z"})),Vl=gK;c();d();f();c();d();f();function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pt.apply(this,arguments)}var Ae=ce(ve()),ET=ce(ba());c();d();f();function hr(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}c();d();f();var sT=ce(ve());function yK(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Aw(...e){return t=>e.forEach(r=>yK(r,t))}function Gr(...e){return(0,sT.useCallback)(Aw(...e),e)}c();d();f();var Ao=ce(ve());c();d();f();var un=ce(ve());function aT(e,t){let r=(0,un.createContext)(t);function n(i){let l=i,{children:s}=l,a=Te(l,["children"]),u=(0,un.useMemo)(()=>a,Object.values(a));return(0,un.createElement)(r.Provider,{value:u},s)}function o(i){let s=(0,un.useContext)(r);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function jl(e,t=[]){let r=[];function n(i,s){let a=(0,un.createContext)(s),u=r.length;r=[...r,s];function l(h){let M=h,{scope:y,children:b}=M,v=Te(M,["scope","children"]),C=(y==null?void 0:y[e][u])||a,N=(0,un.useMemo)(()=>v,Object.values(v));return(0,un.createElement)(C.Provider,{value:N},b)}function p(h,y){let b=(y==null?void 0:y[e][u])||a,v=(0,un.useContext)(b);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,p]}let o=()=>{let i=r.map(s=>(0,un.createContext)(s));return function(a){let u=(a==null?void 0:a[e])||i;return(0,un.useMemo)(()=>({[`__scope${e}`]:Se(te({},a),{[e]:u})}),[a,u])}};return o.scopeName=e,[n,vK(o,...t)]}function vK(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){let s=n.reduce((a,{useScope:u,scopeName:l})=>{let h=u(i)[`__scope${l}`];return te(te({},a),h)},{});return(0,un.useMemo)(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}c();d();f();var Qt=ce(ve());var Ls=(0,Qt.forwardRef)((e,t)=>{let s=e,{children:r}=s,n=Te(s,["children"]),o=Qt.Children.toArray(r),i=o.find(bK);if(i){let a=i.props.children,u=o.map(l=>l===i?Qt.Children.count(a)>1?Qt.Children.only(null):(0,Qt.isValidElement)(a)?a.props.children:null:l);return(0,Qt.createElement)(Nw,pt({},n,{ref:t}),(0,Qt.isValidElement)(a)?(0,Qt.cloneElement)(a,void 0,u):null)}return(0,Qt.createElement)(Nw,pt({},n,{ref:t}),r)});Ls.displayName="Slot";var Nw=(0,Qt.forwardRef)((e,t)=>{let o=e,{children:r}=o,n=Te(o,["children"]);return(0,Qt.isValidElement)(r)?(0,Qt.cloneElement)(r,Se(te({},_K(n,r.props)),{ref:Aw(t,r.ref)})):Qt.Children.count(r)>1?Qt.Children.only(null):null});Nw.displayName="SlotClone";var wK=({children:e})=>(0,Qt.createElement)(Qt.Fragment,null,e);function bK(e){return(0,Qt.isValidElement)(e)&&e.type===wK}function _K(e,t){let r=te({},t);for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...a)=>{i(...a),o(...a)}:o&&(r[n]=o):n==="style"?r[n]=te(te({},o),i):n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return te(te({},e),r)}function uT(e){let t=e+"CollectionProvider",[r,n]=jl(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=b=>{let{scope:v,children:C}=b,N=Ao.default.useRef(null),M=Ao.default.useRef(new Map).current;return Ao.default.createElement(o,{scope:v,itemMap:M,collectionRef:N},C)},a=e+"CollectionSlot",u=Ao.default.forwardRef((b,v)=>{let{scope:C,children:N}=b,M=i(a,C),T=Gr(v,M.collectionRef);return Ao.default.createElement(Ls,{ref:T},N)}),l=e+"CollectionItemSlot",p="data-radix-collection-item",h=Ao.default.forwardRef((b,v)=>{let K=b,{scope:C,children:N}=K,M=Te(K,["scope","children"]),T=Ao.default.useRef(null),I=Gr(v,T),U=i(l,C);return Ao.default.useEffect(()=>(U.itemMap.set(T,te({ref:T},M)),()=>void U.itemMap.delete(T))),Ao.default.createElement(Ls,{[p]:"",ref:I},N)});function y(b){let v=i(e+"CollectionConsumer",b);return Ao.default.useCallback(()=>{let N=v.collectionRef.current;if(!N)return[];let M=Array.from(N.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((U,K)=>M.indexOf(U.ref.current)-M.indexOf(K.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},y,n]}c();d();f();var kt=ce(ve());c();d();f();var zl=ce(ve()),lT=ce(ba());var xK=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],br=xK.reduce((e,t)=>{let r=(0,zl.forwardRef)((n,o)=>{let u=n,{asChild:i}=u,s=Te(u,["asChild"]),a=i?Ls:t;return(0,zl.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,zl.createElement)(a,pt({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,Se(te({},e),{[t]:r})},{});function ym(e,t){e&&(0,lT.flushSync)(()=>e.dispatchEvent(t))}c();d();f();var Hl=ce(ve());function Wr(e){let t=(0,Hl.useRef)(e);return(0,Hl.useEffect)(()=>{t.current=e}),(0,Hl.useMemo)(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c();d();f();var cT=ce(ve());function fT(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e);(0,cT.useEffect)(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}var Rw="dismissableLayer.update",EK="dismissableLayer.pointerDownOutside",SK="dismissableLayer.focusOutside",dT,pT=(0,kt.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kw=(0,kt.forwardRef)((e,t)=>{var r;let Z=e,{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:u}=Z,l=Te(Z,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),p=(0,kt.useContext)(pT),[h,y]=(0,kt.useState)(null),b=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=(0,kt.useState)({}),C=Gr(t,le=>y(le)),N=Array.from(p.layers),[M]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),T=N.indexOf(M),I=h?N.indexOf(h):-1,U=p.layersWithOutsidePointerEventsDisabled.size>0,K=I>=T,J=MK(le=>{let me=le.target,fe=[...p.branches].some(W=>W.contains(me));!K||fe||(i==null||i(le),a==null||a(le),le.defaultPrevented||u==null||u())},b),j=TK(le=>{let me=le.target;[...p.branches].some(W=>W.contains(me))||(s==null||s(le),a==null||a(le),le.defaultPrevented||u==null||u())},b);return fT(le=>{I===p.layers.size-1&&(o==null||o(le),!le.defaultPrevented&&u&&(le.preventDefault(),u()))},b),(0,kt.useEffect)(()=>{if(!!h)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(dT=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),hT(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=dT)}},[h,b,n,p]),(0,kt.useEffect)(()=>()=>{!h||(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),hT())},[h,p]),(0,kt.useEffect)(()=>{let le=()=>v({});return document.addEventListener(Rw,le),()=>document.removeEventListener(Rw,le)},[]),(0,kt.createElement)(br.div,pt({},l,{ref:C,style:te({pointerEvents:U?K?"auto":"none":void 0},e.style),onFocusCapture:hr(e.onFocusCapture,j.onFocusCapture),onBlurCapture:hr(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:hr(e.onPointerDownCapture,J.onPointerDownCapture)}))});var CK=(0,kt.forwardRef)((e,t)=>{let r=(0,kt.useContext)(pT),n=(0,kt.useRef)(null),o=Gr(t,n);return(0,kt.useEffect)(()=>{let i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),(0,kt.createElement)(br.div,pt({},e,{ref:o}))});function MK(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e),n=(0,kt.useRef)(!1),o=(0,kt.useRef)(()=>{});return(0,kt.useEffect)(()=>{let i=a=>{if(a.target&&!n.current){let l=function(){mT(EK,r,u,{discrete:!0})},u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function TK(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e),n=(0,kt.useRef)(!1);return(0,kt.useEffect)(()=>{let o=i=>{i.target&&!n.current&&mT(SK,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function hT(){let e=new CustomEvent(Rw);document.dispatchEvent(e)}function mT(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ym(o,i):o.dispatchEvent(i)}var gT=kw,yT=CK;c();d();f();var vm=ce(ve()),vT=ce(ba());var wm=(0,vm.forwardRef)((e,t)=>{var r;let i=e,{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body}=i,o=Te(i,["container"]);return n?vT.default.createPortal((0,vm.createElement)(br.div,pt({},o,{ref:t})),n):null});c();d();f();var Yr=ce(ve()),bT=ce(ba());c();d();f();var wT=ce(ve()),Fa=Boolean(globalThis==null?void 0:globalThis.document)?wT.useLayoutEffect:()=>{};function PK(e,t){return(0,Yr.useReducer)((r,n)=>{let o=t[r][n];return o!=null?o:r},e)}var Ua=e=>{let{present:t,children:r}=e,n=OK(t),o=typeof r=="function"?r({present:n.isPresent}):Yr.Children.only(r),i=Gr(n.ref,o.ref);return typeof r=="function"||n.isPresent?(0,Yr.cloneElement)(o,{ref:i}):null};Ua.displayName="Presence";function OK(e){let[t,r]=(0,Yr.useState)(),n=(0,Yr.useRef)({}),o=(0,Yr.useRef)(e),i=(0,Yr.useRef)("none"),s=e?"mounted":"unmounted",[a,u]=PK(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,Yr.useEffect)(()=>{let l=bm(n.current);i.current=a==="mounted"?l:"none"},[a]),Fa(()=>{let l=n.current,p=o.current;if(p!==e){let y=i.current,b=bm(l);e?u("MOUNT"):b==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(p&&y!==b?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Fa(()=>{if(t){let l=h=>{let b=bm(n.current).includes(h.animationName);h.target===t&&b&&(0,bT.flushSync)(()=>u("ANIMATION_END"))},p=h=>{h.target===t&&(i.current=bm(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:(0,Yr.useCallback)(l=>{l&&(n.current=getComputedStyle(l)),r(l)},[])}}function bm(e){return(e==null?void 0:e.animationName)||"none"}c();d();f();var Fs=ce(ve());function _m({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=DK({defaultProp:t,onChange:r}),i=e!==void 0,s=i?e:n,a=Wr(r),u=(0,Fs.useCallback)(l=>{if(i){let h=typeof l=="function"?l(e):l;h!==e&&a(h)}else o(l)},[i,e,o,a]);return[s,u]}function DK({defaultProp:e,onChange:t}){let r=(0,Fs.useState)(e),[n]=r,o=(0,Fs.useRef)(n),i=Wr(t);return(0,Fs.useEffect)(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}c();d();f();var xm=ce(ve());var Lw=(0,xm.forwardRef)((e,t)=>(0,xm.createElement)(br.span,pt({},e,{ref:t,style:te({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)})));var ST="ToastProvider",[Bw,IK,AK]=uT("Toast"),[CT,l2e]=jl("Toast",[AK]),[NK,Sm]=CT(ST),MT=e=>{let{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,u]=(0,Ae.useState)(null),[l,p]=(0,Ae.useState)(0),h=(0,Ae.useRef)(!1),y=(0,Ae.useRef)(!1);return(0,Ae.createElement)(Bw.Provider,{scope:t},(0,Ae.createElement)(NK,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:l,viewport:a,onViewportChange:u,onToastAdd:(0,Ae.useCallback)(()=>p(b=>b+1),[]),onToastRemove:(0,Ae.useCallback)(()=>p(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:y},s))};MT.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){let t=`Invalid prop \`label\` supplied to \`${ST}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};var RK="ToastViewport",kK=["F8"],Uw="toast.viewportPause",$w="toast.viewportResume",LK=(0,Ae.forwardRef)((e,t)=>{let N=e,{__scopeToast:r,hotkey:n=kK,label:o="Notifications ({hotkey})"}=N,i=Te(N,["__scopeToast","hotkey","label"]),s=Sm(RK,r),a=IK(r),u=(0,Ae.useRef)(null),l=(0,Ae.useRef)(null),p=(0,Ae.useRef)(null),h=(0,Ae.useRef)(null),y=Gr(t,h,s.onViewportChange),b=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;(0,Ae.useEffect)(()=>{let M=T=>{var I;n.every(K=>T[K]||T.code===K)&&((I=h.current)===null||I===void 0||I.focus())};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[n]),(0,Ae.useEffect)(()=>{let M=u.current,T=h.current;if(v&&M&&T){let I=()=>{if(!s.isClosePausedRef.current){let j=new CustomEvent(Uw);T.dispatchEvent(j),s.isClosePausedRef.current=!0}},U=()=>{if(s.isClosePausedRef.current){let j=new CustomEvent($w);T.dispatchEvent(j),s.isClosePausedRef.current=!1}},K=j=>{!M.contains(j.relatedTarget)&&U()},J=()=>{M.contains(document.activeElement)||U()};return M.addEventListener("focusin",I),M.addEventListener("focusout",K),M.addEventListener("pointermove",I),M.addEventListener("pointerleave",J),window.addEventListener("blur",I),window.addEventListener("focus",U),()=>{M.removeEventListener("focusin",I),M.removeEventListener("focusout",K),M.removeEventListener("pointermove",I),M.removeEventListener("pointerleave",J),window.removeEventListener("blur",I),window.removeEventListener("focus",U)}}},[v,s.isClosePausedRef]);let C=(0,Ae.useCallback)(({tabbingDirection:M})=>{let I=a().map(U=>{let K=U.ref.current,J=[K,...JK(K)];return M==="forwards"?J:J.reverse()});return(M==="forwards"?I.reverse():I).flat()},[a]);return(0,Ae.useEffect)(()=>{let M=h.current;if(M){let T=I=>{let U=I.altKey||I.ctrlKey||I.metaKey;if(I.key==="Tab"&&!U){let le=document.activeElement,me=I.shiftKey;if(I.target===M&&me){var J;(J=l.current)===null||J===void 0||J.focus();return}let A=C({tabbingDirection:me?"backwards":"forwards"}),g=A.findIndex(w=>w===le);if(Fw(A.slice(g+1)))I.preventDefault();else{var j,Z;me?(j=l.current)===null||j===void 0||j.focus():(Z=p.current)===null||Z===void 0||Z.focus()}}};return M.addEventListener("keydown",T),()=>M.removeEventListener("keydown",T)}},[a,C]),(0,Ae.createElement)(yT,{ref:u,role:"region","aria-label":o.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:v?void 0:"none"}},v&&(0,Ae.createElement)(_T,{ref:l,onFocusFromOutsideViewport:()=>{let M=C({tabbingDirection:"forwards"});Fw(M)}}),(0,Ae.createElement)(Bw.Slot,{scope:r},(0,Ae.createElement)(br.ol,pt({tabIndex:-1},i,{ref:y}))),v&&(0,Ae.createElement)(_T,{ref:p,onFocusFromOutsideViewport:()=>{let M=C({tabbingDirection:"backwards"});Fw(M)}}))}),FK="ToastFocusProxy",_T=(0,Ae.forwardRef)((e,t)=>{let s=e,{__scopeToast:r,onFocusFromOutsideViewport:n}=s,o=Te(s,["__scopeToast","onFocusFromOutsideViewport"]),i=Sm(FK,r);return(0,Ae.createElement)(Lw,pt({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var u;let l=a.relatedTarget;!((u=i.viewport)!==null&&u!==void 0&&u.contains(l))&&n()}}))}),Cm="Toast",UK="toast.swipeStart",$K="toast.swipeMove",BK="toast.swipeCancel",VK="toast.swipeEnd",jK=(0,Ae.forwardRef)((e,t)=>{let l=e,{forceMount:r,open:n,defaultOpen:o,onOpenChange:i}=l,s=Te(l,["forceMount","open","defaultOpen","onOpenChange"]),[a=!0,u]=_m({prop:n,defaultProp:o,onChange:i});return(0,Ae.createElement)(Ua,{present:r||a},(0,Ae.createElement)(TT,pt({open:a},s,{ref:t,onClose:()=>u(!1),onPause:Wr(e.onPause),onResume:Wr(e.onResume),onSwipeStart:hr(e.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:hr(e.onSwipeMove,p=>{let{x:h,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:hr(e.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:hr(e.onSwipeEnd,p=>{let{x:h,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),u(!1)})})))}),[zK,HK]=CT(Cm,{onClose(){}}),TT=(0,Ae.forwardRef)((e,t)=>{let g=e,{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:u,onResume:l,onSwipeStart:p,onSwipeMove:h,onSwipeCancel:y,onSwipeEnd:b}=g,v=Te(g,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),C=Sm(Cm,r),[N,M]=(0,Ae.useState)(null),T=Gr(t,w=>M(w)),I=(0,Ae.useRef)(null),U=(0,Ae.useRef)(null),K=o||C.duration,J=(0,Ae.useRef)(0),j=(0,Ae.useRef)(K),Z=(0,Ae.useRef)(0),{onToastAdd:le,onToastRemove:me}=C,fe=Wr(()=>{var w;(N==null?void 0:N.contains(document.activeElement))&&((w=C.viewport)===null||w===void 0||w.focus()),s()}),W=(0,Ae.useCallback)(w=>{!w||w===1/0||(window.clearTimeout(Z.current),J.current=new Date().getTime(),Z.current=window.setTimeout(fe,w))},[fe]);(0,Ae.useEffect)(()=>{let w=C.viewport;if(w){let E=()=>{W(j.current),l==null||l()},D=()=>{let k=new Date().getTime()-J.current;j.current=j.current-k,window.clearTimeout(Z.current),u==null||u()};return w.addEventListener(Uw,D),w.addEventListener($w,E),()=>{w.removeEventListener(Uw,D),w.removeEventListener($w,E)}}},[C.viewport,K,u,l,W]),(0,Ae.useEffect)(()=>{i&&!C.isClosePausedRef.current&&W(K)},[i,K,C.isClosePausedRef,W]),(0,Ae.useEffect)(()=>(le(),()=>me()),[le,me]);let A=(0,Ae.useMemo)(()=>N?DT(N):null,[N]);return C.viewport?(0,Ae.createElement)(Ae.Fragment,null,A&&(0,Ae.createElement)(qK,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},A),(0,Ae.createElement)(zK,{scope:r,onClose:fe},(0,ET.createPortal)((0,Ae.createElement)(Bw.ItemSlot,{scope:r},(0,Ae.createElement)(gT,{asChild:!0,onEscapeKeyDown:hr(a,()=>{C.isFocusedToastEscapeKeyDownRef.current||fe(),C.isFocusedToastEscapeKeyDownRef.current=!1})},(0,Ae.createElement)(br.li,pt({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":C.swipeDirection},v,{ref:T,style:te({userSelect:"none",touchAction:"none"},e.style),onKeyDown:hr(e.onKeyDown,w=>{w.key==="Escape"&&(a==null||a(w.nativeEvent),w.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,fe()))}),onPointerDown:hr(e.onPointerDown,w=>{w.button===0&&(I.current={x:w.clientX,y:w.clientY})}),onPointerMove:hr(e.onPointerMove,w=>{if(!I.current)return;let E=w.clientX-I.current.x,D=w.clientY-I.current.y,k=Boolean(U.current),B=["left","right"].includes(C.swipeDirection),q=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,$=B?q(0,E):0,_=B?0:q(0,D),V=w.pointerType==="touch"?10:2,ie={x:$,y:_},O={originalEvent:w,delta:ie};k?(U.current=ie,Em($K,h,O,{discrete:!1})):xT(ie,C.swipeDirection,V)?(U.current=ie,Em(UK,p,O,{discrete:!1}),w.target.setPointerCapture(w.pointerId)):(Math.abs(E)>V||Math.abs(D)>V)&&(I.current=null)}),onPointerUp:hr(e.onPointerUp,w=>{let E=U.current,D=w.target;if(D.hasPointerCapture(w.pointerId)&&D.releasePointerCapture(w.pointerId),U.current=null,I.current=null,E){let k=w.currentTarget,B={originalEvent:w,delta:E};xT(E,C.swipeDirection,C.swipeThreshold)?Em(VK,b,B,{discrete:!0}):Em(BK,y,B,{discrete:!0}),k.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),C.viewport))):null});TT.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){let t=`Invalid prop \`type\` supplied to \`${Cm}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};var qK=e=>{let l=e,{__scopeToast:t,children:r}=l,n=Te(l,["__scopeToast","children"]),o=Sm(Cm,t),[i,s]=(0,Ae.useState)(!1),[a,u]=(0,Ae.useState)(!1);return YK(()=>s(!0)),(0,Ae.useEffect)(()=>{let p=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(p)},[]),a?null:(0,Ae.createElement)(wm,{asChild:!0},(0,Ae.createElement)(Lw,n,i&&(0,Ae.createElement)(Ae.Fragment,null,o.label," ",r)))};var KK=(0,Ae.forwardRef)((e,t)=>{let o=e,{__scopeToast:r}=o,n=Te(o,["__scopeToast"]);return(0,Ae.createElement)(br.div,pt({},n,{ref:t}))});var ZK="ToastAction",PT=(0,Ae.forwardRef)((e,t)=>{let o=e,{altText:r}=o,n=Te(o,["altText"]);return r?(0,Ae.createElement)(OT,{altText:r,asChild:!0},(0,Ae.createElement)(WK,pt({},n,{ref:t}))):null});PT.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${ZK}\``)}};var GK="ToastClose",WK=(0,Ae.forwardRef)((e,t)=>{let i=e,{__scopeToast:r}=i,n=Te(i,["__scopeToast"]),o=HK(GK,r);return(0,Ae.createElement)(OT,{asChild:!0},(0,Ae.createElement)(br.button,pt({type:"button"},n,{ref:t,onClick:hr(e.onClick,o.onClose)})))}),OT=(0,Ae.forwardRef)((e,t)=>{let i=e,{__scopeToast:r,altText:n}=i,o=Te(i,["__scopeToast","altText"]);return(0,Ae.createElement)(br.div,pt({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function DT(e){let t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),XK(n)){let o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){let s=n.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...DT(n))}}),t}function Em(e,t,r,{discrete:n}){let o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ym(o,i):o.dispatchEvent(i)}var xT=(e,t,r=0)=>{let n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function YK(e=()=>{}){let t=Wr(e);Fa(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function XK(e){return e.nodeType===e.ELEMENT_NODE}function JK(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Fw(e){let t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var IT=MT,AT=LK,NT=jK,RT=KK;var kT=PT;c();d();f();var QK=()=>m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-6"},m.createElement("p",{className:"text-70868f mt-4 text-justify"},"Proof of Personhood Verification Service (\u201CPOP Service\u201D) allows other developers to leverage the World ID protocol to verify that their users are unique humans."),m.createElement("p",{className:"text-70868f mt-4 text-justify"},"The POP Service may allow developers to use other signals such as phone number verifications instead of, or in addition to the IrisCode. In the case of phone number verification, we use Twilio to collect, mask, and verify the phone number pursuant to"," ",m.createElement("a",{href:"https://www.twilio.com/legal/privacy",target:"_blank",rel:"noreferrer",className:"underline"},"its privacy notice"),"."),m.createElement("p",{className:"text-70868f mt-4 text-justify"},"Upon receipt of the confirmation of uniqueness from Twilio, we then inform the developers that the phone number has been verified. We only transmit your phone number until receipt of verification code,"," ",m.createElement("b",{className:"font-medium text-gray-900 dark:text-white/80"},"we do not store phone numbers or hashes of the phone numbers.")," ","We only provide developers with an irreversible hash of your phone number that lets them validate that the phone number is real and unique."),m.createElement("p",{className:"text-70868f mt-3 text-justify"},"Please note that this section only covers data that we collect, use, and share. It does not explain what developers do with any data we provide to them (or any other information they may collect about you separately)."),m.createElement("p",{className:"text-70868f mt-3 text-justify"},"More details in our"," ",m.createElement("a",{href:"https://worldcoin.org/privacy-statement",className:"underline",target:"_blank",rel:"noreferrer noopener"},"Privacy Statement"),"."))),FT=QK;c();d();f();c();d();f();var eZ=e=>m.createElement("svg",Se(te({},e),{fill:"none",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})),Mm=eZ;var tZ=e=>e.copy,rZ=()=>{let e=Gt(tZ);return m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-5 flex items-center justify-center"},m.createElement("div",{className:"bg-6445dd/10 inline-flex items-center justify-center rounded-full p-5"},m.createElement("div",{className:"bg-6445dd flex items-center justify-center rounded-full p-5"},m.createElement(Mm,{className:"w-8 text-white"})))),m.createElement("div",null,m.createElement("p",{className:"text-center text-2xl font-semibold text-gray-900 dark:text-white"},"Success! \u{1F389}"),m.createElement("p",{className:"text-70868f mt-2 text-center text-lg"},(e==null?void 0:e.success)||oa.success)))},UT=rZ;c();d();f();var c4=ce(ve(),1);c();d();f();c();d();f();var Tm=ce(ve(),1),nZ=()=>{let[e,t]=(0,Tm.useState)("desktop");return(0,Tm.useEffect)(()=>{let r=window.matchMedia("(max-width: 768px)"),n=o=>t(o.matches?"mobile":"desktop");return n(r),r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[]),e},$T=nZ;c();d();f();var bd=ce(ve(),1),RO=ce(BT(),1),kO=ce(IO(),1);c();d();f();var dW=({style:e})=>m.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 46 46",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:e},m.createElement("path",{d:"M26.979 17.9748C27.0917 18.106 27.2493 18.1906 27.4209 18.212C27.5926 18.2335 27.7661 18.1903 27.9076 18.0909C29.2231 17.1623 31.4672 15.6147 33.9047 14.0864C35.7135 16.1216 36.9017 18.6323 37.3288 21.3215C39.244 18.5745 44.6607 11.4941 39.9985 7.95389C36.0133 4.99405 27.6561 13.8349 26.8243 17.3557C26.7972 17.4637 26.7972 17.5767 26.8241 17.6846C26.8511 17.7926 26.9043 17.8923 26.979 17.9748Z"}),m.createElement("path",{d:"M30.229 22.6759C30.1037 22.74 30 22.8396 29.931 22.9623C29.8619 23.085 29.8306 23.2253 29.841 23.3657C29.8513 23.5061 29.9028 23.6404 29.989 23.7516C30.0752 23.8629 30.1924 23.9463 30.3257 23.9914C31.8734 24.4556 34.485 25.2488 37.1933 26.1967C36.7314 28.8866 35.5021 31.3857 33.6532 33.3932C36.9999 33.1611 45.9181 32.9869 45.802 27.1446C45.6279 22.1922 33.5177 21.1476 30.229 22.6759Z"}),m.createElement("path",{d:"M28.1784 28.6729C28.0788 28.6249 27.9697 28.6 27.8592 28.6C27.7487 28.6 27.6395 28.6249 27.54 28.6729C27.386 28.7555 27.2675 28.8916 27.2069 29.0555C27.1464 29.2194 27.1478 29.3998 27.2111 29.5627C27.8302 31.0523 28.8361 33.6059 29.7647 36.3143C25.7215 38.5003 21.9492 38.0167 21.9492 38.0167C24.1932 40.4929 29.8808 47.3605 34.3882 43.6462C38.1412 40.4155 31.4284 30.2785 28.1784 28.6729Z"}),m.createElement("path",{d:"M22.2201 30.7816C22.1968 30.674 22.1476 30.5737 22.0768 30.4895C22.006 30.4052 21.9158 30.3395 21.8138 30.2979C21.6537 30.2287 21.4734 30.2221 21.3086 30.2794C21.1438 30.3367 21.0065 30.4538 20.924 30.6075C20.1308 32.0003 18.7766 34.3605 17.229 36.798C14.7141 35.7418 12.5577 33.9818 11.0191 31.7295C10.4775 35.0375 8.65899 43.7623 14.3659 44.9617C19.2409 45.9096 22.9746 34.3411 22.2201 30.7816Z"}),m.createElement("path",{d:"M16.8614 27.454C16.9266 27.3665 16.971 27.2652 16.9912 27.1579C17.0113 27.0506 17.0066 26.9402 16.9774 26.835C16.9359 26.6637 16.8309 26.5146 16.6837 26.4176C16.5365 26.3207 16.358 26.2832 16.1843 26.3126C14.598 26.5641 11.909 26.9704 9.04584 27.2799C8.31322 24.6557 8.34678 21.8767 9.14257 19.2709C6.22142 20.8959 -1.74887 24.9004 0.882103 30.1237C3.16486 34.5151 14.5593 30.2591 16.8614 27.454Z"}),m.createElement("path",{d:"M16.1262 21.1668C16.2366 21.1694 16.3458 21.1442 16.4438 21.0935C16.5419 21.0427 16.6256 20.9682 16.6872 20.8766C16.7957 20.7414 16.8481 20.5697 16.8337 20.3969C16.8193 20.2241 16.7392 20.0635 16.6099 19.948C15.4104 18.8647 13.4179 17.0075 11.406 14.9569C12.9978 12.7444 15.1943 11.0382 17.7319 10.0432C14.6366 8.78577 6.53092 5.03277 4.07406 10.3334C2.06214 14.8602 12.5086 21.1088 16.1262 21.1668Z"}),m.createElement("path",{d:"M21.156 16.9495C21.3329 16.9453 21.5019 16.8757 21.6305 16.7543C21.7591 16.6328 21.8382 16.468 21.8525 16.2917C21.9492 14.7054 22.162 11.9777 22.5102 9.13394C25.2291 8.99787 27.9294 9.64945 30.287 11.0104C29.3585 7.79911 27.2498 -0.867611 21.5816 0.525254C16.784 1.76336 18.3703 13.8155 20.595 16.698C20.6598 16.7837 20.7452 16.8517 20.8433 16.8957C20.9413 16.9397 21.0489 16.9582 21.156 16.9495Z"})),AO=dW;var hW=window.btoa((0,kO.renderToString)(m.createElement(AO,{style:{color:"#6445DD"}}))),NO=new RO.default({width:320,height:320,type:"svg",image:`data:image/svg+xml;base64,${hW}`,cornersSquareOptions:{type:"extra-rounded"},cornersDotOptions:{type:"dot"},dotsOptions:{color:"currentColor",type:"extra-rounded"},backgroundOptions:{color:"transparent"},imageOptions:{margin:16,hideBackgroundDots:!0}}),LO=({data:e,className:t=""})=>{let r=(0,bd.useRef)(null);return(0,bd.useEffect)(()=>{!r.current||NO.append(r.current)},[]),(0,bd.useEffect)(()=>{NO.update({data:e})},[e]),m.createElement("div",{ref:r,className:Nr(t,"relative z-0 flex items-center justify-center rounded border box-border border-white/10 dark:border-black/10 [&_*]:text-black dark:[&_*]:text-white")})};c();d();f();var pW=({className:e=""})=>m.createElement("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 304 304"},m.createElement("path",{d:"M87.515 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 0a4.606 4.606 0 1 1 0 9.212A4.606 4.606 0 0 1 152 0Z"}),m.createElement("path",{d:"M161.212 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M170.424 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M142.788 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 9.212a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M198.061 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M207.273 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 18.424a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM179.636 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 27.636a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM124.364 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM161.212 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M142.788 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 46.06a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M198.061 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 55.273a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214ZM133.576 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 55.273a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214ZM207.273 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 64.485a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM115.151 64.485a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM179.636 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM59.879 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M69.09 73.697a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 73.697a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM124.364 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM69.09 82.91a4.606 4.606 0 1 1 .001 9.211 4.606 4.606 0 0 1 0-9.212ZM124.364 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M133.576 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM161.212 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM188.848 82.91a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.214ZM216.485 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM234.909 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM253.333 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 82.91a4.607 4.607 0 1 1-.001 9.212 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M271.758 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM4.606 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M32.242 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M69.09 92.121a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 92.121a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 92.121a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M198.061 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM290.182 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M32.242 101.333a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM50.667 101.333a4.607 4.607 0 1 1-.002 9.213 4.607 4.607 0 0 1 .002-9.213ZM69.09 101.333a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M87.515 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM207.273 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M216.485 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM253.333 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M262.546 101.333a4.607 4.607 0 1 1-.003 9.215 4.607 4.607 0 0 1 .003-9.215ZM280.97 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M290.182 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M299.394 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM32.242 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M41.454 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M50.667 110.545a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M59.879 110.545a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M69.09 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM216.485 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M225.697 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM244.121 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M253.333 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM271.758 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM23.03 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 119.758a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM234.909 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM290.182 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 128.97a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM280.97 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 138.182a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 138.182a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM59.879 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 147.394a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM216.485 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 147.394a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 156.606a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM207.273 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 156.606a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M23.03 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM59.879 165.818a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M69.09 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM207.273 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M216.485 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM244.121 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M253.333 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM271.758 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M280.97 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM4.606 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 175.03a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M244.121 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 193.455a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 193.455a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 202.667a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 202.667a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM124.364 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M161.212 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 202.667a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM207.273 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 202.667a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 211.879a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 211.879a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM115.151 211.879a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 211.879a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM280.97 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M23.03 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 221.091a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 221.091a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM225.697 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M244.121 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 221.091a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM78.303 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 230.303a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 230.303a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 239.515a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211Z"}),m.createElement("path",{d:"M105.939 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM124.364 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M207.273 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 239.515a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 248.727a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM133.576 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM161.212 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M170.424 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 248.727a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM207.273 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 248.727a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M87.515 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM115.151 257.939a4.607 4.607 0 0 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM142.788 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM161.212 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM198.061 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM216.485 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M225.697 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M234.909 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M244.121 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M253.333 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M262.546 257.939a4.607 4.607 0 1 1-.003 9.215 4.607 4.607 0 0 1 .003-9.215ZM290.182 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM78.303 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M96.727 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM133.576 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M142.788 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM161.212 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM188.848 267.151a4.607 4.607 0 1 1 0 9.21 4.607 4.607 0 0 1 0-9.21ZM207.273 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM234.909 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM253.333 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM115.151 276.364a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M133.576 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM179.636 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 276.364a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM262.546 276.364a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM290.182 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 294.788a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211Z"}),m.createElement("path",{d:"M105.939 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 294.788a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM42.47.005H22.015C12.048.005 3.603 6.591.903 15.593A21.361 21.361 0 0 0 0 21.769v20.939c0 12.006 9.88 21.77 22.016 21.77l10.226.002 10.227-.003c12.136 0 22.016-9.763 22.016-21.77V21.77c0-12-9.88-21.764-22.016-21.764Zm12.342 42.703c0 6.67-5.536 12.097-12.345 12.097l-10.225.002-10.224-.002c-6.809 0-12.345-5.428-12.345-12.097V21.769c0-2.083.54-4.045 1.491-5.76a12.267 12.267 0 0 1 3.771-4.14 12.45 12.45 0 0 1 7.08-2.19H42.47c6.806 0 12.343 5.423 12.343 12.09v20.939ZM281.984.005h-20.453c-9.968 0-18.413 6.586-21.113 15.588a21.467 21.467 0 0 0-.903 6.176v20.939c0 12.006 9.879 21.77 22.016 21.77l10.227.002 10.226-.003c12.136 0 22.016-9.763 22.016-21.77V21.77c0-12-9.879-21.764-22.016-21.764Zm12.343 42.703c0 6.67-5.536 12.097-12.345 12.097l-10.224.002-10.225-.002c-6.808 0-12.345-5.428-12.345-12.097V21.769c0-2.083.54-4.045 1.491-5.76a12.28 12.28 0 0 1 3.771-4.14 12.452 12.452 0 0 1 7.08-2.19h20.454c6.807 0 12.343 5.423 12.343 12.09v20.939ZM42.47 239.521H22.015c-9.968 0-18.413 6.585-21.113 15.587A21.36 21.36 0 0 0 0 261.284v20.939c0 12.006 9.88 21.77 22.016 21.77l10.226.002 10.227-.003c12.136 0 22.016-9.763 22.016-21.77v-20.938c0-12-9.88-21.763-22.016-21.763Zm12.342 42.702c0 6.67-5.536 12.097-12.345 12.097l-10.225.002-10.224-.002c-6.809 0-12.345-5.427-12.345-12.097v-20.939c0-2.083.54-4.045 1.491-5.759a12.27 12.27 0 0 1 3.771-4.141 12.454 12.454 0 0 1 7.08-2.191H42.47c6.806 0 12.343 5.424 12.343 12.091v20.939Z"}),m.createElement("path",{d:"M31.972 45.519c7.481 0 13.547-6.066 13.547-13.547 0-7.482-6.066-13.548-13.547-13.548-7.482 0-13.548 6.066-13.548 13.548 0 7.481 6.066 13.547 13.548 13.547ZM271.487 45.519c7.482 0 13.547-6.066 13.547-13.547 0-7.482-6.065-13.548-13.547-13.548s-13.548 6.066-13.548 13.548c0 7.481 6.066 13.547 13.548 13.547ZM31.972 285.034c7.481 0 13.547-6.065 13.547-13.547s-6.066-13.548-13.547-13.548c-7.482 0-13.548 6.066-13.548 13.548s6.066 13.547 13.548 13.547Z"}),m.createElement("path",{fill:"url(#b)",d:"M158.863 143.54a1.213 1.213 0 0 0 1.635.208 240.578 240.578 0 0 1 10.557-7.177 25.755 25.755 0 0 1 6.027 12.966c3.372-4.923 12.907-17.611 4.7-23.955-7.015-5.304-21.727 10.539-23.191 16.848a1.236 1.236 0 0 0 .272 1.11Z"}),m.createElement("path",{fill:"url(#c)",d:"M164.584 151.964c-.22.115-.403.294-.524.513a1.3 1.3 0 0 0 .102 1.415c.151.199.358.349.592.43 2.725.832 7.322 2.253 12.09 3.952a25.552 25.552 0 0 1-6.232 12.896c5.891-.416 21.59-.728 21.386-11.198-.306-8.875-21.625-10.747-27.414-8.008Z"}),m.createElement("path",{fill:"url(#d)",d:"M160.974 162.711a1.274 1.274 0 0 0-1.123 0c-.272.148-.48.392-.587.686-.106.294-.104.617.008.909a219.174 219.174 0 0 1 4.495 12.099c-7.118 3.917-13.758 3.051-13.758 3.051 3.95 4.437 13.962 16.744 21.897 10.088 6.606-5.79-5.21-23.956-10.932-26.833Z"}),m.createElement("path",{fill:"url(#e)",d:"M150.486 166.49a1.225 1.225 0 0 0-.252-.523 1.197 1.197 0 0 0-.463-.344 1.207 1.207 0 0 0-.89-.033c-.29.103-.531.313-.677.588-1.396 2.496-3.78 6.725-6.504 11.094a25.035 25.035 0 0 1-10.932-9.083c-.953 5.928-4.154 21.563 5.892 23.712 8.581 1.699 15.154-19.032 13.826-25.411Z"}),m.createElement("path",{fill:"url(#f)",d:"M141.053 160.527a1.299 1.299 0 0 0 .204-1.11 1.246 1.246 0 0 0-.517-.747 1.21 1.21 0 0 0-.879-.189c-2.793.451-7.526 1.179-12.566 1.734a26.024 26.024 0 0 1 .17-14.353c-5.142 2.912-19.173 10.089-14.541 19.449 4.018 7.87 24.076.243 28.129-4.784Z"}),m.createElement("path",{fill:"url(#g)",d:"M139.758 149.26a1.15 1.15 0 0 0 .988-.52 1.23 1.23 0 0 0-.136-1.664 222.986 222.986 0 0 1-9.161-8.945 24.994 24.994 0 0 1 11.136-8.805c-5.449-2.254-19.718-8.979-24.042.52-3.542 8.112 14.847 19.31 21.215 19.414Z"}),m.createElement("path",{fill:"url(#h)",d:"M148.613 141.702c.311-.007.609-.132.835-.35.226-.217.365-.513.391-.829.17-2.842.544-7.73 1.157-12.827 4.787-.243 9.54.924 13.69 3.363-1.634-5.755-5.346-21.286-15.324-18.79-8.446 2.219-5.653 23.817-1.737 28.983.114.153.264.275.437.354a1.1 1.1 0 0 0 .551.096Z"}),m.createElement("defs",null,m.createElement("linearGradient",{id:"b",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"c",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"d",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"e",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"f",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"g",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"h",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})))),FO=pW;c();d();f();var mW=e=>m.createElement("svg",Se(te({},e),{fill:"none",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"})),UO=mW;var gW=({qrData:e})=>{let t=$T();return m.createElement(m.Fragment,null,m.createElement("div",{className:"border-f1f5f8 dark:border-f1f5f8/10 relative -mt-6 flex items-center justify-center rounded-2xl border py-8"},m.createElement("div",{className:"text-29343f dark:text-white"},e?m.createElement(LO,{data:t=="desktop"?e.default:e.mobile,className:"h-80 w-80"}):m.createElement(FO,{className:"h-80 w-80 animate-pulse opacity-20"})),m.createElement("div",{className:"absolute inset-x-0 bottom-0 flex translate-y-1/2 items-center justify-center"},m.createElement("p",{className:"text-d3dfea dark:bg-0d151d dark:text-596673 bg-white px-4"},"or"))),m.createElement("div",null,m.createElement(Dt.a,{layoutId:"submit-button",href:"https://worldcoin.org/download",target:"_blank",transition:{layout:{duration:.15}},className:Nr("inline-flex w-full justify-center space-x-2 items-center px-8 py-4 border border-transparent font-medium rounded-2xl shadow-sm","text-gray-500 dark:text-70868f bg-gray-200 dark:bg-29343f hover:bg-gray-300/50 dark:hover:bg-29343f/50","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 disabled:cursor-not-allowed transition")},m.createElement(UO,{className:"h-5 w-5 text-gray-400"}),m.createElement(Dt.span,{transition:{layout:{duration:.15}},layoutId:"button-text"},"Download the Worldcoin app"))))},$O=gW;c();d();f();var Cb=(a=>(a.ConnectionFailed="connection_failed",a.VerificationRejected="verification_rejected",a.AlreadySigned="already_signed",a.InvalidActionID="invalid_action_id",a.InvalidSignal="invalid_signal",a.UnexpectedResponse="unexpected_response",a.GenericError="generic_error",a))(Cb||{});c();d();f();var yW=()=>m.createElement("div",{className:"flex flex-col items-center justify-center space-y-12 pb-10"},m.createElement(Vl,{className:"h-20 w-20"}),m.createElement("div",{className:"space-y-4"},m.createElement("p",{className:"mx-auto max-w-[15rem] text-center text-3xl font-semibold text-black dark:text-white"},"Confirm on the Worldcoin app"),m.createElement("p",{className:"mx-auto max-w-xs text-lg text-gray-400 dark:text-gray-600"},"Please confirm the request inside the Worldcoin app to continue."))),BO=yW;c();d();f();var vF=ce(ve(),1);c();d();f();function Mb(e,t){let r=new window.URL("https://worldcoin.org/verify"),n=new RegExp("(?<=wc:)(.*?)(?=@)"),o=new RegExp("(?<=@)(.*?)(?=(\\?|$))"),i=new RegExp("(?<=relay-protocol=)(.*?)(?=(&|$))"),s=new RegExp("(?<=symKey=)(.*?)(?=(&|$))"),a=e.match(n),u=e.match(o),l=e.match(i),p=e.match(s);return a&&r.searchParams.append("t",a[0]),u&&r.searchParams.append("v",u[0]),l&&r.searchParams.append("p",l[0]),p&&r.searchParams.append("k",p[0]),t&&r.searchParams.append("r",t),r.toString()}c();d();f();var cF=ce(s1());c();d();f();var Ki=ce(js()),Kx=ce(s1()),xL=ce(OD()),Rc=ce(AI()),At=ce(Yb());c();d();f();T1();var iA=ce(js()),A1=class extends No{constructor(t){super(),this.opts=t,this.protocol="wc",this.version=2}};var N1=class extends No{constructor(t,r){super(),this.core=t,this.logger=r,this.records=new Map}},R1=class{constructor(t,r){this.logger=t,this.core=r}},k1=class extends No{constructor(t,r){super(),this.relayer=t,this.logger=r}},L1=class extends No{constructor(t){super()}},F1=class{constructor(t,r,n,o){this.core=t,this.logger=r,this.name=n}};var U1=class extends No{constructor(t,r){super(),this.relayer=t,this.logger=r}};var $1=class extends No{constructor(t,r){super(),this.core=t,this.logger=r}};c();d();f();function Od(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}function lc(e){return typeof e=="string"?e:JSON.stringify(e)}c();d();f();c();d();f();var Ld=ce(LA()),mN=ce(qa()),gN=ce(Li());c();d();f();var FA="EdDSA",UA="JWT",p_=".",m_="base64url",$A="utf8",BA="utf8",VA=":",jA="did",zA="key",g_="base58btc",HA="z",qA="K36";c();d();f();c();d();f();c();d();f();c();d();f();function pc(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function q1(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?pc(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function KA(e,t){t||(t=e.reduce((o,i)=>o+i.length,0));let r=q1(t),n=0;for(let o of e)r.set(o,n),n+=o.length;return pc(r)}c();d();f();c();d();f();c();d();f();var __={};Vr(__,{identity:()=>tX});c();d();f();c();d();f();c();d();f();function YY(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),s=i.charCodeAt(0);if(r[s]!==255)throw new TypeError(i+" is ambiguous");r[s]=o}var a=e.length,u=e.charAt(0),l=Math.log(a)/Math.log(256),p=Math.log(256)/Math.log(a);function h(v){if(v instanceof Uint8Array||(ArrayBuffer.isView(v)?v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength):Array.isArray(v)&&(v=Uint8Array.from(v))),!(v instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(v.length===0)return"";for(var C=0,N=0,M=0,T=v.length;M!==T&&v[M]===0;)M++,C++;for(var I=(T-M)*p+1>>>0,U=new Uint8Array(I);M!==T;){for(var K=v[M],J=0,j=I-1;(K!==0||J<N)&&j!==-1;j--,J++)K+=256*U[j]>>>0,U[j]=K%a>>>0,K=K/a>>>0;if(K!==0)throw new Error("Non-zero carry");N=J,M++}for(var Z=I-N;Z!==I&&U[Z]===0;)Z++;for(var le=u.repeat(C);Z<I;++Z)le+=e.charAt(U[Z]);return le}function y(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return new Uint8Array;var C=0;if(v[C]!==" "){for(var N=0,M=0;v[C]===u;)N++,C++;for(var T=(v.length-C)*l+1>>>0,I=new Uint8Array(T);v[C];){var U=r[v.charCodeAt(C)];if(U===255)return;for(var K=0,J=T-1;(U!==0||K<M)&&J!==-1;J--,K++)U+=a*I[J]>>>0,I[J]=U%256>>>0,U=U/256>>>0;if(U!==0)throw new Error("Non-zero carry");M=K,C++}if(v[C]!==" "){for(var j=T-M;j!==T&&I[j]===0;)j++;for(var Z=new Uint8Array(N+(T-j)),le=N;j!==T;)Z[le++]=I[j++];return Z}}}function b(v){var C=y(v);if(C)return C;throw new Error(`Non-${t} character`)}return{encode:h,decodeUnsafe:y,decode:b}}var XY=YY,JY=XY,ZA=JY;c();d();f();var $6e=new Uint8Array(0);var GA=(e,t)=>{if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},Ui=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")};var WA=e=>new TextEncoder().encode(e),YA=e=>new TextDecoder().decode(e);var y_=class{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}},v_=class{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return JA(this,t)}},w_=class{constructor(t){this.decoders=t}or(t){return JA(this,t)}decode(t){let r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},JA=(e,t)=>new w_(te(te({},e.decoders||{[e.prefix]:e}),t.decoders||{[t.prefix]:t})),b_=class{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new y_(t,r,n),this.decoder=new v_(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}},mc=({name:e,prefix:t,encode:r,decode:n})=>new b_(e,t,r,n),Hs=({prefix:e,name:t,alphabet:r})=>{let{encode:n,decode:o}=ZA(r,t);return mc({prefix:e,name:t,encode:n,decode:i=>Ui(o(i))})},QY=(e,t,r,n)=>{let o={};for(let p=0;p<t.length;++p)o[t[p]]=p;let i=e.length;for(;e[i-1]==="=";)--i;let s=new Uint8Array(i*r/8|0),a=0,u=0,l=0;for(let p=0;p<i;++p){let h=o[e[p]];if(h===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|h,a+=r,a>=8&&(a-=8,s[l++]=255&u>>a)}if(a>=r||255&u<<8-a)throw new SyntaxError("Unexpected end of data");return s},eX=(e,t,r)=>{let n=t[t.length-1]==="=",o=(1<<r)-1,i="",s=0,a=0;for(let u=0;u<e.length;++u)for(a=a<<8|e[u],s+=8;s>r;)s-=r,i+=t[o&a>>s];if(s&&(i+=t[o&a<<r-s]),n)for(;i.length*r&7;)i+="=";return i},rr=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>mc({prefix:t,name:e,encode(o){return eX(o,n,r)},decode(o){return QY(o,n,r,e)}});var tX=mc({prefix:"\0",name:"identity",encode:e=>YA(e),decode:e=>WA(e)});var x_={};Vr(x_,{base2:()=>rX});c();d();f();var rX=rr({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var E_={};Vr(E_,{base8:()=>nX});c();d();f();var nX=rr({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var S_={};Vr(S_,{base10:()=>oX});c();d();f();var oX=Hs({prefix:"9",name:"base10",alphabet:"0123456789"});var C_={};Vr(C_,{base16:()=>iX,base16upper:()=>sX});c();d();f();var iX=rr({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),sX=rr({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var M_={};Vr(M_,{base32:()=>gc,base32hex:()=>cX,base32hexpad:()=>dX,base32hexpadupper:()=>hX,base32hexupper:()=>fX,base32pad:()=>uX,base32padupper:()=>lX,base32upper:()=>aX,base32z:()=>pX});c();d();f();var gc=rr({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),aX=rr({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),uX=rr({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),lX=rr({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),cX=rr({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),fX=rr({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),dX=rr({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),hX=rr({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),pX=rr({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var T_={};Vr(T_,{base36:()=>mX,base36upper:()=>gX});c();d();f();var mX=Hs({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),gX=Hs({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var P_={};Vr(P_,{base58btc:()=>ti,base58flickr:()=>yX});c();d();f();var ti=Hs({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),yX=Hs({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var O_={};Vr(O_,{base64:()=>vX,base64pad:()=>wX,base64url:()=>bX,base64urlpad:()=>_X});c();d();f();var vX=rr({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),wX=rr({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),bX=rr({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),_X=rr({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var D_={};Vr(D_,{base256emoji:()=>MX});c();d();f();var QA=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),xX=QA.reduce((e,t,r)=>(e[r]=t,e),[]),EX=QA.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function SX(e){return e.reduce((t,r)=>(t+=xX[r],t),"")}function CX(e){let t=[];for(let r of e){let n=EX[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}var MX=mc({prefix:"\u{1F680}",name:"base256emoji",encode:SX,decode:CX});var R_={};Vr(R_,{sha256:()=>qX,sha512:()=>KX});c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();var TX=rN,eN=128,PX=127,OX=~PX,DX=Math.pow(2,31);function rN(e,t,r){t=t||[],r=r||0;for(var n=r;e>=DX;)t[r++]=e&255|eN,e/=128;for(;e&OX;)t[r++]=e&255|eN,e>>>=7;return t[r]=e|0,rN.bytes=r-n+1,t}var IX=I_,AX=128,tN=127;function I_(e,n){var r=0,n=n||0,o=0,i=n,s,a=e.length;do{if(i>=a)throw I_.bytes=0,new RangeError("Could not decode varint");s=e[i++],r+=o<28?(s&tN)<<o:(s&tN)*Math.pow(2,o),o+=7}while(s>=AX);return I_.bytes=i-n,r}var NX=Math.pow(2,7),RX=Math.pow(2,14),kX=Math.pow(2,21),LX=Math.pow(2,28),FX=Math.pow(2,35),UX=Math.pow(2,42),$X=Math.pow(2,49),BX=Math.pow(2,56),VX=Math.pow(2,63),jX=function(e){return e<NX?1:e<RX?2:e<kX?3:e<LX?4:e<FX?5:e<UX?6:e<$X?7:e<BX?8:e<VX?9:10},zX={encode:TX,decode:IX,encodingLength:jX},HX=zX,Ad=HX;var Nd=(e,t=0)=>[Ad.decode(e,t),Ad.decode.bytes],yc=(e,t,r=0)=>(Ad.encode(e,t,r),t),vc=e=>Ad.encodingLength(e);var Wa=(e,t)=>{let r=t.byteLength,n=vc(e),o=n+vc(r),i=new Uint8Array(o+r);return yc(e,i,0),yc(r,i,n),i.set(t,o),new wc(e,r,t,i)},nN=e=>{let t=Ui(e),[r,n]=Nd(t),[o,i]=Nd(t.subarray(n)),s=t.subarray(n+i);if(s.byteLength!==o)throw new Error("Incorrect length");return new wc(r,o,s,t)},oN=(e,t)=>e===t?!0:e.code===t.code&&e.size===t.size&&GA(e.bytes,t.bytes),wc=class{constructor(t,r,n,o){this.code=t,this.size=r,this.digest=n,this.bytes=o}};var N_=({name:e,code:t,encode:r})=>new A_(e,t,r),A_=class{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){let r=this.encode(t);return r instanceof Uint8Array?Wa(this.code,r):r.then(n=>Wa(this.code,n))}else throw Error("Unknown type, must be binary type")}};var sN=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),qX=N_({name:"sha2-256",code:18,encode:sN("SHA-256")}),KX=N_({name:"sha2-512",code:19,encode:sN("SHA-512")});var k_={};Vr(k_,{identity:()=>WX});c();d();f();var aN=0,ZX="identity",uN=Ui,GX=e=>Wa(aN,uN(e)),WX={code:aN,name:ZX,encode:uN,digest:GX};c();d();f();c();d();f();var swe=new TextEncoder,awe=new TextDecoder;c();d();f();c();d();f();var _r=class{constructor(t,r,n,o){this.code=r,this.version=t,this.multihash=n,this.bytes=o,this.byteOffset=o.byteOffset,this.byteLength=o.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:G1,byteLength:G1,code:Z1,version:Z1,multihash:Z1,bytes:Z1,_baseCache:G1,asCID:G1})}toV0(){switch(this.version){case 0:return this;default:{let{code:t,multihash:r}=this;if(t!==kd)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==tJ)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return _r.createV0(r)}}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,n=Wa(t,r);return _r.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&oN(this.multihash,t.multihash)}toString(t){let{bytes:r,version:n,_baseCache:o}=this;switch(n){case 0:return QX(r,o,t||ti.encoder);default:return eJ(r,o,t||gc.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(t){return nJ(/^0\.0/,oJ),!!(t&&(t[cN]||t.asCID===t))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof _r)return t;if(t!=null&&t.asCID===t){let{version:r,code:n,multihash:o,bytes:i}=t;return new _r(r,n,o,i||lN(r,n,o.bytes))}else if(t!=null&&t[cN]===!0){let{version:r,multihash:n,code:o}=t,i=nN(n);return _r.create(r,o,i)}else return null}static create(t,r,n){if(typeof r!="number")throw new Error("String codecs are no longer supported");switch(t){case 0:{if(r!==kd)throw new Error(`Version 0 CID must use dag-pb (code: ${kd}) block encoding`);return new _r(t,r,n,n.bytes)}case 1:{let o=lN(t,r,n.bytes);return new _r(t,r,n,o)}default:throw new Error("Invalid version")}}static createV0(t){return _r.create(0,kd,t)}static createV1(t,r){return _r.create(1,t,r)}static decode(t){let[r,n]=_r.decodeFirst(t);if(n.length)throw new Error("Incorrect length");return r}static decodeFirst(t){let r=_r.inspectBytes(t),n=r.size-r.multihashSize,o=Ui(t.subarray(n,n+r.multihashSize));if(o.byteLength!==r.multihashSize)throw new Error("Incorrect length");let i=o.subarray(r.multihashSize-r.digestSize),s=new wc(r.multihashCode,r.digestSize,i,o);return[r.version===0?_r.createV0(s):_r.createV1(r.codec,s),t.subarray(r.size)]}static inspectBytes(t){let r=0,n=()=>{let[h,y]=Nd(t.subarray(r));return r+=y,h},o=n(),i=kd;if(o===18?(o=0,r=0):o===1&&(i=n()),o!==0&&o!==1)throw new RangeError(`Invalid CID version ${o}`);let s=r,a=n(),u=n(),l=r+u,p=l-s;return{version:o,codec:i,multihashCode:a,digestSize:u,multihashSize:p,size:l}}static parse(t,r){let[n,o]=JX(t,r),i=_r.decode(o);return i._baseCache.set(n,t),i}},JX=(e,t)=>{switch(e[0]){case"Q":{let r=t||ti;return[ti.prefix,r.decode(`${ti.prefix}${e}`)]}case ti.prefix:{let r=t||ti;return[ti.prefix,r.decode(e)]}case gc.prefix:{let r=t||gc;return[gc.prefix,r.decode(e)]}default:{if(t==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}}},QX=(e,t,r)=>{let{prefix:n}=r;if(n!==ti.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);let o=t.get(n);if(o==null){let i=r.encode(e).slice(1);return t.set(n,i),i}else return o},eJ=(e,t,r)=>{let{prefix:n}=r,o=t.get(n);if(o==null){let i=r.encode(e);return t.set(n,i),i}else return o},kd=112,tJ=18,lN=(e,t,r)=>{let n=vc(e),o=n+vc(t),i=new Uint8Array(o+r.byteLength);return yc(e,i,0),yc(t,i,n),i.set(r,o),i},cN=Symbol.for("@ipld/js-cid/CID"),Z1={writable:!1,configurable:!1,enumerable:!0},G1={writable:!1,enumerable:!1,configurable:!1},rJ="0.0.0-dev",nJ=(e,t)=>{if(e.test(rJ))console.warn(t);else throw new Error(t)},oJ=`CID.isCID(v) is deprecated and will be removed in the next major release.
|
|
32
|
+
`),()=>{document.head.removeChild(l)}},[t]),Ll.createElement(Dw,{isPresent:t,childRef:n,sizeRef:o},Ll.cloneElement(e,{ref:n}))}var fm=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:s})=>{let a=Is(lK),u=(0,ud.useId)(),l=(0,ud.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:p=>{a.set(p,!0);for(let h of a.values())if(!h)return;n&&n()},register:p=>(a.set(p,!1),()=>a.delete(p))}),i?void 0:[r]);return(0,ud.useMemo)(()=>{a.forEach((p,h)=>a.set(h,!1))},[r]),ad.useEffect(()=>{!r&&!a.size&&n&&n()},[r]),s==="popLayout"&&(e=ad.createElement(NM,{isPresent:r},e)),ad.createElement(Zo.Provider,{value:l},e)};function lK(){return new Map}var Fl=e=>e.key||"";function cK(e,t){e.forEach(r=>{let n=Fl(r);t.set(n,r)})}function fK(e){let t=[];return fo.Children.forEach(e,r=>{(0,fo.isValidElement)(r)&&t.push(r)}),t}var dm=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:s="sync"})=>{o&&(s="wait",N0(!1,"Replace exitBeforeEnter with mode='wait'"));let[a]=AM(),u=(0,fo.useContext)(el).forceRender;u&&(a=u);let l=cm(),p=fK(e),h=p,y=new Set,b=(0,fo.useRef)(h),v=(0,fo.useRef)(new Map).current,C=(0,fo.useRef)(!0);if(xa(()=>{C.current=!1,cK(p,v),b.current=h}),ml(()=>{C.current=!0,v.clear(),y.clear()}),C.current)return Ai.createElement(Ai.Fragment,null,h.map(I=>Ai.createElement(fm,{key:Fl(I),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:s},I)));h=[...h];let N=b.current.map(Fl),M=p.map(Fl),T=N.length;for(let I=0;I<T;I++){let U=N[I];M.indexOf(U)===-1&&y.add(U)}return s==="wait"&&y.size&&(h=[]),y.forEach(I=>{if(M.indexOf(I)!==-1)return;let U=v.get(I);if(!U)return;let K=N.indexOf(I),J=()=>{v.delete(I),y.delete(I);let j=b.current.findIndex(Z=>Z.key===I);if(b.current.splice(j,1),!y.size){if(b.current=p,l.current===!1)return;a(),n&&n()}};h.splice(K,0,Ai.createElement(fm,{key:Fl(U),isPresent:!1,onExitComplete:J,custom:t,presenceAffectsLayout:i,mode:s},U))}),h=h.map(I=>{let U=I.key;return y.has(U)?I:Ai.createElement(fm,{key:Fl(I),isPresent:!0,presenceAffectsLayout:i,mode:s},I)}),gl!=="production"&&s==="wait"&&h.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),Ai.createElement(Ai.Fragment,null,y.size?h:h.map(I=>(0,fo.cloneElement)(I)))};c();d();f();var rT=ce(tT(),1),{__extends:Aye,__assign:ho,__rest:gm,__decorate:Nye,__param:Rye,__metadata:kye,__awaiter:Lye,__generator:Fye,__exportStar:Uye,__createBinding:$ye,__values:Bye,__read:Vye,__spread:jye,__spreadArrays:zye,__spreadArray:nT,__await:Hye,__asyncGenerator:qye,__asyncDelegator:Kye,__asyncValues:Zye,__makeTemplateObject:Gye,__importStar:Wye,__importDefault:Yye,__classPrivateFieldGet:Xye,__classPrivateFieldSet:Jye,__classPrivateFieldIn:Qye}=rT.default;var dK=()=>m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-6"},m.createElement("p",{className:"text-center text-xl font-semibold text-gray-900 dark:text-white"},"Proving unique-humanness without compromising privacy."),m.createElement("p",{className:"text-70868f mt-4 text-center"},"World ID is an identity protocol centered around persons. It can be used to prove someone is doing something once without revealing personal information."),m.createElement("p",{className:"text-70868f mt-3 text-center"},"It currently supports verification through biometrics (using a device called an Orb), and through phone numbers. Zero-Knowledge Proofs and other cryptographic mechanisms are used to preserve privacy."),m.createElement("p",{className:"text-70868f mt-3 text-center"},"Apps will never see your phone number or biometrics.")),m.createElement("div",null,m.createElement(Dt.a,{layoutId:"submit-button",href:"https://id.worldcoin.org/",target:"_blank",transition:{layout:{duration:.15}},className:Nr("inline-flex w-full justify-center space-x-2 items-center px-8 py-4 border border-transparent font-medium rounded-2xl shadow-sm","text-gray-500 dark:text-70868f bg-gray-200 dark:bg-29343f hover:bg-gray-300/50 dark:hover:bg-29343f/50","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 disabled:cursor-not-allowed transition")},m.createElement(Dt.span,{transition:{layout:{duration:.15}},layoutId:"button-text"},"Learn more")))),oT=dK;c();d();f();var hK=({retryFlow:e,errorState:t})=>({retryFlow:e,errorState:t}),pK={["GENERIC_ERROR"]:"Something went wrong",["INVALID_CODE"]:"Invalid code",["PHONE_OTP_REQUEST_ERROR"]:"We could not send you a code",["REJECTED_BY_HOST_APP"]:"Verification declined by app"},mK=()=>{var r;let{retryFlow:e,errorState:t}=Gt(hK);return m.createElement("div",{className:"space-y-8"},m.createElement("div",{className:"-mt-5 flex items-center justify-center"},m.createElement("div",{className:"bg-ff6848/10 inline-flex items-center justify-center rounded-full p-5"},m.createElement("div",{className:"bg-ff6848 flex items-center justify-center rounded-full p-5"},m.createElement(Ju,{className:"w-8 text-white"})))),m.createElement("div",null,m.createElement("p",{className:"text-center text-2xl font-semibold text-gray-900 dark:text-white"},pK[(r=t==null?void 0:t.code)!=null?r:"GENERIC_ERROR"]),m.createElement("p",{className:"mt-2 text-center text-lg text-gray-400"},(t==null?void 0:t.message)||"Please try again in a moment.")),m.createElement("div",{className:"flex justify-center"},m.createElement("button",{type:"button",onClick:e,className:"inline-flex items-center rounded-full border border-transparent bg-indigo-600 px-8 py-3 font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:bg-indigo-600"},"Try Again")),m.createElement("div",null,m.createElement("p",{className:"mt-4 text-xs text-gray-400"},"If you are the app owner, check the console for further details.")))},iT=mK;c();d();f();var $l={opacity:[1,.1,.2,.4,.6,.8]},Bl={repeat:1/0,duration:1,type:"spring"},gK=({className:e=""})=>m.createElement("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",fill:"#6345DB",viewBox:"0 0 48 48"},m.createElement(Dt.path,{animate:$l,transition:Bl,d:"M21.985 17.835a.742.742 0 0 0 .492-.211.768.768 0 0 0 .227-.492c.106-1.73.337-4.651.692-7.72 4.857-.214 8.217 2.033 8.217 2.033-.98-3.45-3.206-12.771-9.196-11.286-5.069 1.339-3.38 14.296-1.047 17.393a.75.75 0 0 0 .615.284Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.15}),d:"M27.946 18.265c.892-3.791 9.724-13.28 13.938-10.113 4.905 3.8-.816 11.432-2.832 14.383 0 0-.403-4.084-3.619-7.788a162.5 162.5 0 0 0-6.326 4.31.748.748 0 0 1-.839-.004.784.784 0 0 1-.323-.788Zm3.6 5.727a.714.714 0 0 0-.404.547.764.764 0 0 0 .097.532.74.74 0 0 0 .422.328c1.632.489 4.387 1.349 7.247 2.365-.844 4.866-3.724 7.73-3.724 7.73 3.523-.235 12.94-.421 12.815-6.704-.183-5.325-12.978-6.45-16.453-4.798Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.35}),d:"M29.386 30.421a.727.727 0 0 0-.834.128.756.756 0 0 0-.174.84c.633 1.602 1.699 4.329 2.697 7.25-4.272 2.355-8.265 1.837-8.265 1.837 2.371 2.658 8.38 10.045 13.122 6.039 3.984-3.46-3.11-14.354-6.546-16.094Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.55}),d:"M23.098 32.706a.739.739 0 0 0-.432-.527.718.718 0 0 0-.533-.027.733.733 0 0 0-.408.35 160.789 160.789 0 0 1-3.897 6.654c-4.464-1.935-6.556-5.443-6.556-5.443-.567 3.547-2.506 12.937 3.532 14.227 5.136 1.016 9.1-11.423 8.294-15.233Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.7}),d:"M17.434 29.113a.778.778 0 0 0-.177-1.108.729.729 0 0 0-.523-.114c-1.68.274-4.531.714-7.546 1.046-1.295-4.769.096-8.609.096-8.609-3.08 1.75-11.5 6.058-8.735 11.657 2.42 4.73 14.447.137 16.885-2.872Z"}),m.createElement(Dt.path,{animate:$l,transition:Se(te({},Bl),{delay:.85}),d:"M16.657 22.361a.709.709 0 0 0 .605-.303.772.772 0 0 0-.096-1.016 145.357 145.357 0 0 1-5.5-5.355c2.86-3.996 6.68-5.276 6.68-5.276-3.264-1.368-11.817-5.404-14.399.303-2.13 4.866 8.88 11.588 12.71 11.647Z"})),Vl=gK;c();d();f();c();d();f();function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pt.apply(this,arguments)}var Ae=ce(ve()),ET=ce(ba());c();d();f();function hr(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e==null||e(o),r===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}c();d();f();var sT=ce(ve());function yK(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Aw(...e){return t=>e.forEach(r=>yK(r,t))}function Gr(...e){return(0,sT.useCallback)(Aw(...e),e)}c();d();f();var Ao=ce(ve());c();d();f();var un=ce(ve());function aT(e,t){let r=(0,un.createContext)(t);function n(i){let l=i,{children:s}=l,a=Te(l,["children"]),u=(0,un.useMemo)(()=>a,Object.values(a));return(0,un.createElement)(r.Provider,{value:u},s)}function o(i){let s=(0,un.useContext)(r);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function jl(e,t=[]){let r=[];function n(i,s){let a=(0,un.createContext)(s),u=r.length;r=[...r,s];function l(h){let M=h,{scope:y,children:b}=M,v=Te(M,["scope","children"]),C=(y==null?void 0:y[e][u])||a,N=(0,un.useMemo)(()=>v,Object.values(v));return(0,un.createElement)(C.Provider,{value:N},b)}function p(h,y){let b=(y==null?void 0:y[e][u])||a,v=(0,un.useContext)(b);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,p]}let o=()=>{let i=r.map(s=>(0,un.createContext)(s));return function(a){let u=(a==null?void 0:a[e])||i;return(0,un.useMemo)(()=>({[`__scope${e}`]:Se(te({},a),{[e]:u})}),[a,u])}};return o.scopeName=e,[n,vK(o,...t)]}function vK(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){let s=n.reduce((a,{useScope:u,scopeName:l})=>{let h=u(i)[`__scope${l}`];return te(te({},a),h)},{});return(0,un.useMemo)(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}c();d();f();var Qt=ce(ve());var Ls=(0,Qt.forwardRef)((e,t)=>{let s=e,{children:r}=s,n=Te(s,["children"]),o=Qt.Children.toArray(r),i=o.find(bK);if(i){let a=i.props.children,u=o.map(l=>l===i?Qt.Children.count(a)>1?Qt.Children.only(null):(0,Qt.isValidElement)(a)?a.props.children:null:l);return(0,Qt.createElement)(Nw,pt({},n,{ref:t}),(0,Qt.isValidElement)(a)?(0,Qt.cloneElement)(a,void 0,u):null)}return(0,Qt.createElement)(Nw,pt({},n,{ref:t}),r)});Ls.displayName="Slot";var Nw=(0,Qt.forwardRef)((e,t)=>{let o=e,{children:r}=o,n=Te(o,["children"]);return(0,Qt.isValidElement)(r)?(0,Qt.cloneElement)(r,Se(te({},_K(n,r.props)),{ref:Aw(t,r.ref)})):Qt.Children.count(r)>1?Qt.Children.only(null):null});Nw.displayName="SlotClone";var wK=({children:e})=>(0,Qt.createElement)(Qt.Fragment,null,e);function bK(e){return(0,Qt.isValidElement)(e)&&e.type===wK}function _K(e,t){let r=te({},t);for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...a)=>{i(...a),o(...a)}:o&&(r[n]=o):n==="style"?r[n]=te(te({},o),i):n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return te(te({},e),r)}function uT(e){let t=e+"CollectionProvider",[r,n]=jl(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=b=>{let{scope:v,children:C}=b,N=Ao.default.useRef(null),M=Ao.default.useRef(new Map).current;return Ao.default.createElement(o,{scope:v,itemMap:M,collectionRef:N},C)},a=e+"CollectionSlot",u=Ao.default.forwardRef((b,v)=>{let{scope:C,children:N}=b,M=i(a,C),T=Gr(v,M.collectionRef);return Ao.default.createElement(Ls,{ref:T},N)}),l=e+"CollectionItemSlot",p="data-radix-collection-item",h=Ao.default.forwardRef((b,v)=>{let K=b,{scope:C,children:N}=K,M=Te(K,["scope","children"]),T=Ao.default.useRef(null),I=Gr(v,T),U=i(l,C);return Ao.default.useEffect(()=>(U.itemMap.set(T,te({ref:T},M)),()=>void U.itemMap.delete(T))),Ao.default.createElement(Ls,{[p]:"",ref:I},N)});function y(b){let v=i(e+"CollectionConsumer",b);return Ao.default.useCallback(()=>{let N=v.collectionRef.current;if(!N)return[];let M=Array.from(N.querySelectorAll(`[${p}]`));return Array.from(v.itemMap.values()).sort((U,K)=>M.indexOf(U.ref.current)-M.indexOf(K.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},y,n]}c();d();f();var kt=ce(ve());c();d();f();var zl=ce(ve()),lT=ce(ba());var xK=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"],br=xK.reduce((e,t)=>{let r=(0,zl.forwardRef)((n,o)=>{let u=n,{asChild:i}=u,s=Te(u,["asChild"]),a=i?Ls:t;return(0,zl.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,zl.createElement)(a,pt({},s,{ref:o}))});return r.displayName=`Primitive.${t}`,Se(te({},e),{[t]:r})},{});function ym(e,t){e&&(0,lT.flushSync)(()=>e.dispatchEvent(t))}c();d();f();var Hl=ce(ve());function Wr(e){let t=(0,Hl.useRef)(e);return(0,Hl.useEffect)(()=>{t.current=e}),(0,Hl.useMemo)(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c();d();f();var cT=ce(ve());function fT(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e);(0,cT.useEffect)(()=>{let n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}var Rw="dismissableLayer.update",EK="dismissableLayer.pointerDownOutside",SK="dismissableLayer.focusOutside",dT,pT=(0,kt.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kw=(0,kt.forwardRef)((e,t)=>{var r;let Z=e,{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:u}=Z,l=Te(Z,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),p=(0,kt.useContext)(pT),[h,y]=(0,kt.useState)(null),b=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=(0,kt.useState)({}),C=Gr(t,le=>y(le)),N=Array.from(p.layers),[M]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),T=N.indexOf(M),I=h?N.indexOf(h):-1,U=p.layersWithOutsidePointerEventsDisabled.size>0,K=I>=T,J=MK(le=>{let me=le.target,fe=[...p.branches].some(W=>W.contains(me));!K||fe||(i==null||i(le),a==null||a(le),le.defaultPrevented||u==null||u())},b),j=TK(le=>{let me=le.target;[...p.branches].some(W=>W.contains(me))||(s==null||s(le),a==null||a(le),le.defaultPrevented||u==null||u())},b);return fT(le=>{I===p.layers.size-1&&(o==null||o(le),!le.defaultPrevented&&u&&(le.preventDefault(),u()))},b),(0,kt.useEffect)(()=>{if(!!h)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(dT=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),hT(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=dT)}},[h,b,n,p]),(0,kt.useEffect)(()=>()=>{!h||(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),hT())},[h,p]),(0,kt.useEffect)(()=>{let le=()=>v({});return document.addEventListener(Rw,le),()=>document.removeEventListener(Rw,le)},[]),(0,kt.createElement)(br.div,pt({},l,{ref:C,style:te({pointerEvents:U?K?"auto":"none":void 0},e.style),onFocusCapture:hr(e.onFocusCapture,j.onFocusCapture),onBlurCapture:hr(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:hr(e.onPointerDownCapture,J.onPointerDownCapture)}))});var CK=(0,kt.forwardRef)((e,t)=>{let r=(0,kt.useContext)(pT),n=(0,kt.useRef)(null),o=Gr(t,n);return(0,kt.useEffect)(()=>{let i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),(0,kt.createElement)(br.div,pt({},e,{ref:o}))});function MK(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e),n=(0,kt.useRef)(!1),o=(0,kt.useRef)(()=>{});return(0,kt.useEffect)(()=>{let i=a=>{if(a.target&&!n.current){let l=function(){mT(EK,r,u,{discrete:!0})},u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}n.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function TK(e,t=globalThis==null?void 0:globalThis.document){let r=Wr(e),n=(0,kt.useRef)(!1);return(0,kt.useEffect)(()=>{let o=i=>{i.target&&!n.current&&mT(SK,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function hT(){let e=new CustomEvent(Rw);document.dispatchEvent(e)}function mT(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ym(o,i):o.dispatchEvent(i)}var gT=kw,yT=CK;c();d();f();var vm=ce(ve()),vT=ce(ba());var wm=(0,vm.forwardRef)((e,t)=>{var r;let i=e,{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body}=i,o=Te(i,["container"]);return n?vT.default.createPortal((0,vm.createElement)(br.div,pt({},o,{ref:t})),n):null});c();d();f();var Yr=ce(ve()),bT=ce(ba());c();d();f();var wT=ce(ve()),Fa=Boolean(globalThis==null?void 0:globalThis.document)?wT.useLayoutEffect:()=>{};function PK(e,t){return(0,Yr.useReducer)((r,n)=>{let o=t[r][n];return o!=null?o:r},e)}var Ua=e=>{let{present:t,children:r}=e,n=OK(t),o=typeof r=="function"?r({present:n.isPresent}):Yr.Children.only(r),i=Gr(n.ref,o.ref);return typeof r=="function"||n.isPresent?(0,Yr.cloneElement)(o,{ref:i}):null};Ua.displayName="Presence";function OK(e){let[t,r]=(0,Yr.useState)(),n=(0,Yr.useRef)({}),o=(0,Yr.useRef)(e),i=(0,Yr.useRef)("none"),s=e?"mounted":"unmounted",[a,u]=PK(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,Yr.useEffect)(()=>{let l=bm(n.current);i.current=a==="mounted"?l:"none"},[a]),Fa(()=>{let l=n.current,p=o.current;if(p!==e){let y=i.current,b=bm(l);e?u("MOUNT"):b==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(p&&y!==b?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Fa(()=>{if(t){let l=h=>{let b=bm(n.current).includes(h.animationName);h.target===t&&b&&(0,bT.flushSync)(()=>u("ANIMATION_END"))},p=h=>{h.target===t&&(i.current=bm(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:(0,Yr.useCallback)(l=>{l&&(n.current=getComputedStyle(l)),r(l)},[])}}function bm(e){return(e==null?void 0:e.animationName)||"none"}c();d();f();var Fs=ce(ve());function _m({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=DK({defaultProp:t,onChange:r}),i=e!==void 0,s=i?e:n,a=Wr(r),u=(0,Fs.useCallback)(l=>{if(i){let h=typeof l=="function"?l(e):l;h!==e&&a(h)}else o(l)},[i,e,o,a]);return[s,u]}function DK({defaultProp:e,onChange:t}){let r=(0,Fs.useState)(e),[n]=r,o=(0,Fs.useRef)(n),i=Wr(t);return(0,Fs.useEffect)(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}c();d();f();var xm=ce(ve());var Lw=(0,xm.forwardRef)((e,t)=>(0,xm.createElement)(br.span,pt({},e,{ref:t,style:te({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"},e.style)})));var ST="ToastProvider",[Bw,IK,AK]=uT("Toast"),[CT,l2e]=jl("Toast",[AK]),[NK,Sm]=CT(ST),MT=e=>{let{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,u]=(0,Ae.useState)(null),[l,p]=(0,Ae.useState)(0),h=(0,Ae.useRef)(!1),y=(0,Ae.useRef)(!1);return(0,Ae.createElement)(Bw.Provider,{scope:t},(0,Ae.createElement)(NK,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:i,toastCount:l,viewport:a,onViewportChange:u,onToastAdd:(0,Ae.useCallback)(()=>p(b=>b+1),[]),onToastRemove:(0,Ae.useCallback)(()=>p(b=>b-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:y},s))};MT.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){let t=`Invalid prop \`label\` supplied to \`${ST}\`. Expected non-empty \`string\`.`;return new Error(t)}return null}};var RK="ToastViewport",kK=["F8"],Uw="toast.viewportPause",$w="toast.viewportResume",LK=(0,Ae.forwardRef)((e,t)=>{let N=e,{__scopeToast:r,hotkey:n=kK,label:o="Notifications ({hotkey})"}=N,i=Te(N,["__scopeToast","hotkey","label"]),s=Sm(RK,r),a=IK(r),u=(0,Ae.useRef)(null),l=(0,Ae.useRef)(null),p=(0,Ae.useRef)(null),h=(0,Ae.useRef)(null),y=Gr(t,h,s.onViewportChange),b=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;(0,Ae.useEffect)(()=>{let M=T=>{var I;n.every(K=>T[K]||T.code===K)&&((I=h.current)===null||I===void 0||I.focus())};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[n]),(0,Ae.useEffect)(()=>{let M=u.current,T=h.current;if(v&&M&&T){let I=()=>{if(!s.isClosePausedRef.current){let j=new CustomEvent(Uw);T.dispatchEvent(j),s.isClosePausedRef.current=!0}},U=()=>{if(s.isClosePausedRef.current){let j=new CustomEvent($w);T.dispatchEvent(j),s.isClosePausedRef.current=!1}},K=j=>{!M.contains(j.relatedTarget)&&U()},J=()=>{M.contains(document.activeElement)||U()};return M.addEventListener("focusin",I),M.addEventListener("focusout",K),M.addEventListener("pointermove",I),M.addEventListener("pointerleave",J),window.addEventListener("blur",I),window.addEventListener("focus",U),()=>{M.removeEventListener("focusin",I),M.removeEventListener("focusout",K),M.removeEventListener("pointermove",I),M.removeEventListener("pointerleave",J),window.removeEventListener("blur",I),window.removeEventListener("focus",U)}}},[v,s.isClosePausedRef]);let C=(0,Ae.useCallback)(({tabbingDirection:M})=>{let I=a().map(U=>{let K=U.ref.current,J=[K,...JK(K)];return M==="forwards"?J:J.reverse()});return(M==="forwards"?I.reverse():I).flat()},[a]);return(0,Ae.useEffect)(()=>{let M=h.current;if(M){let T=I=>{let U=I.altKey||I.ctrlKey||I.metaKey;if(I.key==="Tab"&&!U){let le=document.activeElement,me=I.shiftKey;if(I.target===M&&me){var J;(J=l.current)===null||J===void 0||J.focus();return}let A=C({tabbingDirection:me?"backwards":"forwards"}),g=A.findIndex(w=>w===le);if(Fw(A.slice(g+1)))I.preventDefault();else{var j,Z;me?(j=l.current)===null||j===void 0||j.focus():(Z=p.current)===null||Z===void 0||Z.focus()}}};return M.addEventListener("keydown",T),()=>M.removeEventListener("keydown",T)}},[a,C]),(0,Ae.createElement)(yT,{ref:u,role:"region","aria-label":o.replace("{hotkey}",b),tabIndex:-1,style:{pointerEvents:v?void 0:"none"}},v&&(0,Ae.createElement)(_T,{ref:l,onFocusFromOutsideViewport:()=>{let M=C({tabbingDirection:"forwards"});Fw(M)}}),(0,Ae.createElement)(Bw.Slot,{scope:r},(0,Ae.createElement)(br.ol,pt({tabIndex:-1},i,{ref:y}))),v&&(0,Ae.createElement)(_T,{ref:p,onFocusFromOutsideViewport:()=>{let M=C({tabbingDirection:"backwards"});Fw(M)}}))}),FK="ToastFocusProxy",_T=(0,Ae.forwardRef)((e,t)=>{let s=e,{__scopeToast:r,onFocusFromOutsideViewport:n}=s,o=Te(s,["__scopeToast","onFocusFromOutsideViewport"]),i=Sm(FK,r);return(0,Ae.createElement)(Lw,pt({"aria-hidden":!0,tabIndex:0},o,{ref:t,style:{position:"fixed"},onFocus:a=>{var u;let l=a.relatedTarget;!((u=i.viewport)!==null&&u!==void 0&&u.contains(l))&&n()}}))}),Cm="Toast",UK="toast.swipeStart",$K="toast.swipeMove",BK="toast.swipeCancel",VK="toast.swipeEnd",jK=(0,Ae.forwardRef)((e,t)=>{let l=e,{forceMount:r,open:n,defaultOpen:o,onOpenChange:i}=l,s=Te(l,["forceMount","open","defaultOpen","onOpenChange"]),[a=!0,u]=_m({prop:n,defaultProp:o,onChange:i});return(0,Ae.createElement)(Ua,{present:r||a},(0,Ae.createElement)(TT,pt({open:a},s,{ref:t,onClose:()=>u(!1),onPause:Wr(e.onPause),onResume:Wr(e.onResume),onSwipeStart:hr(e.onSwipeStart,p=>{p.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:hr(e.onSwipeMove,p=>{let{x:h,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","move"),p.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:hr(e.onSwipeCancel,p=>{p.currentTarget.setAttribute("data-swipe","cancel"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:hr(e.onSwipeEnd,p=>{let{x:h,y}=p.detail.delta;p.currentTarget.setAttribute("data-swipe","end"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),p.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),p.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),p.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),u(!1)})})))}),[zK,HK]=CT(Cm,{onClose(){}}),TT=(0,Ae.forwardRef)((e,t)=>{let g=e,{__scopeToast:r,type:n="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:u,onResume:l,onSwipeStart:p,onSwipeMove:h,onSwipeCancel:y,onSwipeEnd:b}=g,v=Te(g,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),C=Sm(Cm,r),[N,M]=(0,Ae.useState)(null),T=Gr(t,w=>M(w)),I=(0,Ae.useRef)(null),U=(0,Ae.useRef)(null),K=o||C.duration,J=(0,Ae.useRef)(0),j=(0,Ae.useRef)(K),Z=(0,Ae.useRef)(0),{onToastAdd:le,onToastRemove:me}=C,fe=Wr(()=>{var w;(N==null?void 0:N.contains(document.activeElement))&&((w=C.viewport)===null||w===void 0||w.focus()),s()}),W=(0,Ae.useCallback)(w=>{!w||w===1/0||(window.clearTimeout(Z.current),J.current=new Date().getTime(),Z.current=window.setTimeout(fe,w))},[fe]);(0,Ae.useEffect)(()=>{let w=C.viewport;if(w){let E=()=>{W(j.current),l==null||l()},D=()=>{let k=new Date().getTime()-J.current;j.current=j.current-k,window.clearTimeout(Z.current),u==null||u()};return w.addEventListener(Uw,D),w.addEventListener($w,E),()=>{w.removeEventListener(Uw,D),w.removeEventListener($w,E)}}},[C.viewport,K,u,l,W]),(0,Ae.useEffect)(()=>{i&&!C.isClosePausedRef.current&&W(K)},[i,K,C.isClosePausedRef,W]),(0,Ae.useEffect)(()=>(le(),()=>me()),[le,me]);let A=(0,Ae.useMemo)(()=>N?DT(N):null,[N]);return C.viewport?(0,Ae.createElement)(Ae.Fragment,null,A&&(0,Ae.createElement)(qK,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},A),(0,Ae.createElement)(zK,{scope:r,onClose:fe},(0,ET.createPortal)((0,Ae.createElement)(Bw.ItemSlot,{scope:r},(0,Ae.createElement)(gT,{asChild:!0,onEscapeKeyDown:hr(a,()=>{C.isFocusedToastEscapeKeyDownRef.current||fe(),C.isFocusedToastEscapeKeyDownRef.current=!1})},(0,Ae.createElement)(br.li,pt({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":C.swipeDirection},v,{ref:T,style:te({userSelect:"none",touchAction:"none"},e.style),onKeyDown:hr(e.onKeyDown,w=>{w.key==="Escape"&&(a==null||a(w.nativeEvent),w.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,fe()))}),onPointerDown:hr(e.onPointerDown,w=>{w.button===0&&(I.current={x:w.clientX,y:w.clientY})}),onPointerMove:hr(e.onPointerMove,w=>{if(!I.current)return;let E=w.clientX-I.current.x,D=w.clientY-I.current.y,k=Boolean(U.current),B=["left","right"].includes(C.swipeDirection),q=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,$=B?q(0,E):0,_=B?0:q(0,D),V=w.pointerType==="touch"?10:2,ie={x:$,y:_},O={originalEvent:w,delta:ie};k?(U.current=ie,Em($K,h,O,{discrete:!1})):xT(ie,C.swipeDirection,V)?(U.current=ie,Em(UK,p,O,{discrete:!1}),w.target.setPointerCapture(w.pointerId)):(Math.abs(E)>V||Math.abs(D)>V)&&(I.current=null)}),onPointerUp:hr(e.onPointerUp,w=>{let E=U.current,D=w.target;if(D.hasPointerCapture(w.pointerId)&&D.releasePointerCapture(w.pointerId),U.current=null,I.current=null,E){let k=w.currentTarget,B={originalEvent:w,delta:E};xT(E,C.swipeDirection,C.swipeThreshold)?Em(VK,b,B,{discrete:!0}):Em(BK,y,B,{discrete:!0}),k.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})))),C.viewport))):null});TT.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){let t=`Invalid prop \`type\` supplied to \`${Cm}\`. Expected \`foreground | background\`.`;return new Error(t)}return null}};var qK=e=>{let l=e,{__scopeToast:t,children:r}=l,n=Te(l,["__scopeToast","children"]),o=Sm(Cm,t),[i,s]=(0,Ae.useState)(!1),[a,u]=(0,Ae.useState)(!1);return YK(()=>s(!0)),(0,Ae.useEffect)(()=>{let p=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(p)},[]),a?null:(0,Ae.createElement)(wm,{asChild:!0},(0,Ae.createElement)(Lw,n,i&&(0,Ae.createElement)(Ae.Fragment,null,o.label," ",r)))};var KK=(0,Ae.forwardRef)((e,t)=>{let o=e,{__scopeToast:r}=o,n=Te(o,["__scopeToast"]);return(0,Ae.createElement)(br.div,pt({},n,{ref:t}))});var ZK="ToastAction",PT=(0,Ae.forwardRef)((e,t)=>{let o=e,{altText:r}=o,n=Te(o,["altText"]);return r?(0,Ae.createElement)(OT,{altText:r,asChild:!0},(0,Ae.createElement)(WK,pt({},n,{ref:t}))):null});PT.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${ZK}\``)}};var GK="ToastClose",WK=(0,Ae.forwardRef)((e,t)=>{let i=e,{__scopeToast:r}=i,n=Te(i,["__scopeToast"]),o=HK(GK,r);return(0,Ae.createElement)(OT,{asChild:!0},(0,Ae.createElement)(br.button,pt({type:"button"},n,{ref:t,onClick:hr(e.onClick,o.onClose)})))}),OT=(0,Ae.forwardRef)((e,t)=>{let i=e,{__scopeToast:r,altText:n}=i,o=Te(i,["__scopeToast","altText"]);return(0,Ae.createElement)(br.div,pt({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},o,{ref:t}))});function DT(e){let t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),XK(n)){let o=n.ariaHidden||n.hidden||n.style.display==="none",i=n.dataset.radixToastAnnounceExclude==="";if(!o)if(i){let s=n.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...DT(n))}}),t}function Em(e,t,r,{discrete:n}){let o=r.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?ym(o,i):o.dispatchEvent(i)}var xT=(e,t,r=0)=>{let n=Math.abs(e.x),o=Math.abs(e.y),i=n>o;return t==="left"||t==="right"?i&&n>r:!i&&o>r};function YK(e=()=>{}){let t=Wr(e);Fa(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function XK(e){return e.nodeType===e.ELEMENT_NODE}function JK(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{let o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Fw(e){let t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var IT=MT,AT=LK,NT=jK,RT=KK;var kT=PT;c();d();f();var QK=()=>m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-6"},m.createElement("p",{className:"text-70868f mt-4 text-justify"},"Proof of Personhood Verification Service (\u201CPOP Service\u201D) allows other developers to leverage the World ID protocol to verify that their users are unique humans."),m.createElement("p",{className:"text-70868f mt-4 text-justify"},"The POP Service may allow developers to use other signals such as phone number verifications instead of, or in addition to the IrisCode. In the case of phone number verification, we use Twilio to collect, mask, and verify the phone number pursuant to"," ",m.createElement("a",{href:"https://www.twilio.com/legal/privacy",target:"_blank",rel:"noreferrer",className:"underline"},"its privacy notice"),"."),m.createElement("p",{className:"text-70868f mt-4 text-justify"},"Upon receipt of the confirmation of uniqueness from Twilio, we then inform the developers that the phone number has been verified. We only transmit your phone number until receipt of verification code,"," ",m.createElement("b",{className:"font-medium text-gray-900 dark:text-white/80"},"we do not store phone numbers or hashes of the phone numbers.")," ","We only provide developers with an irreversible hash of your phone number that lets them validate that the phone number is real and unique."),m.createElement("p",{className:"text-70868f mt-3 text-justify"},"Please note that this section only covers data that we collect, use, and share. It does not explain what developers do with any data we provide to them (or any other information they may collect about you separately)."),m.createElement("p",{className:"text-70868f mt-3 text-justify"},"More details in our"," ",m.createElement("a",{href:"https://worldcoin.org/privacy-statement",className:"underline",target:"_blank",rel:"noreferrer noopener"},"Privacy Statement"),"."))),FT=QK;c();d();f();c();d();f();var eZ=e=>m.createElement("svg",Se(te({},e),{fill:"none",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})),Mm=eZ;var tZ=e=>e.copy,rZ=()=>{let e=Gt(tZ);return m.createElement("div",{className:"space-y-6"},m.createElement("div",{className:"-mt-5 flex items-center justify-center"},m.createElement("div",{className:"bg-6445dd/10 inline-flex items-center justify-center rounded-full p-5"},m.createElement("div",{className:"bg-6445dd flex items-center justify-center rounded-full p-5"},m.createElement(Mm,{className:"w-8 text-white"})))),m.createElement("div",null,m.createElement("p",{className:"text-center text-2xl font-semibold text-gray-900 dark:text-white"},"Success! \u{1F389}"),m.createElement("p",{className:"text-70868f mt-2 text-center text-lg"},(e==null?void 0:e.success)||oa.success)))},UT=rZ;c();d();f();var c4=ce(ve(),1);c();d();f();c();d();f();var Tm=ce(ve(),1),nZ=()=>{let[e,t]=(0,Tm.useState)("desktop");return(0,Tm.useEffect)(()=>{let r=window.matchMedia("(max-width: 768px)"),n=o=>t(o.matches?"mobile":"desktop");return n(r),r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[]),e},$T=nZ;c();d();f();var bd=ce(ve(),1),RO=ce(BT(),1),kO=ce(IO(),1);c();d();f();var dW=({style:e})=>m.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 46 46",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:e},m.createElement("path",{d:"M26.979 17.9748C27.0917 18.106 27.2493 18.1906 27.4209 18.212C27.5926 18.2335 27.7661 18.1903 27.9076 18.0909C29.2231 17.1623 31.4672 15.6147 33.9047 14.0864C35.7135 16.1216 36.9017 18.6323 37.3288 21.3215C39.244 18.5745 44.6607 11.4941 39.9985 7.95389C36.0133 4.99405 27.6561 13.8349 26.8243 17.3557C26.7972 17.4637 26.7972 17.5767 26.8241 17.6846C26.8511 17.7926 26.9043 17.8923 26.979 17.9748Z"}),m.createElement("path",{d:"M30.229 22.6759C30.1037 22.74 30 22.8396 29.931 22.9623C29.8619 23.085 29.8306 23.2253 29.841 23.3657C29.8513 23.5061 29.9028 23.6404 29.989 23.7516C30.0752 23.8629 30.1924 23.9463 30.3257 23.9914C31.8734 24.4556 34.485 25.2488 37.1933 26.1967C36.7314 28.8866 35.5021 31.3857 33.6532 33.3932C36.9999 33.1611 45.9181 32.9869 45.802 27.1446C45.6279 22.1922 33.5177 21.1476 30.229 22.6759Z"}),m.createElement("path",{d:"M28.1784 28.6729C28.0788 28.6249 27.9697 28.6 27.8592 28.6C27.7487 28.6 27.6395 28.6249 27.54 28.6729C27.386 28.7555 27.2675 28.8916 27.2069 29.0555C27.1464 29.2194 27.1478 29.3998 27.2111 29.5627C27.8302 31.0523 28.8361 33.6059 29.7647 36.3143C25.7215 38.5003 21.9492 38.0167 21.9492 38.0167C24.1932 40.4929 29.8808 47.3605 34.3882 43.6462C38.1412 40.4155 31.4284 30.2785 28.1784 28.6729Z"}),m.createElement("path",{d:"M22.2201 30.7816C22.1968 30.674 22.1476 30.5737 22.0768 30.4895C22.006 30.4052 21.9158 30.3395 21.8138 30.2979C21.6537 30.2287 21.4734 30.2221 21.3086 30.2794C21.1438 30.3367 21.0065 30.4538 20.924 30.6075C20.1308 32.0003 18.7766 34.3605 17.229 36.798C14.7141 35.7418 12.5577 33.9818 11.0191 31.7295C10.4775 35.0375 8.65899 43.7623 14.3659 44.9617C19.2409 45.9096 22.9746 34.3411 22.2201 30.7816Z"}),m.createElement("path",{d:"M16.8614 27.454C16.9266 27.3665 16.971 27.2652 16.9912 27.1579C17.0113 27.0506 17.0066 26.9402 16.9774 26.835C16.9359 26.6637 16.8309 26.5146 16.6837 26.4176C16.5365 26.3207 16.358 26.2832 16.1843 26.3126C14.598 26.5641 11.909 26.9704 9.04584 27.2799C8.31322 24.6557 8.34678 21.8767 9.14257 19.2709C6.22142 20.8959 -1.74887 24.9004 0.882103 30.1237C3.16486 34.5151 14.5593 30.2591 16.8614 27.454Z"}),m.createElement("path",{d:"M16.1262 21.1668C16.2366 21.1694 16.3458 21.1442 16.4438 21.0935C16.5419 21.0427 16.6256 20.9682 16.6872 20.8766C16.7957 20.7414 16.8481 20.5697 16.8337 20.3969C16.8193 20.2241 16.7392 20.0635 16.6099 19.948C15.4104 18.8647 13.4179 17.0075 11.406 14.9569C12.9978 12.7444 15.1943 11.0382 17.7319 10.0432C14.6366 8.78577 6.53092 5.03277 4.07406 10.3334C2.06214 14.8602 12.5086 21.1088 16.1262 21.1668Z"}),m.createElement("path",{d:"M21.156 16.9495C21.3329 16.9453 21.5019 16.8757 21.6305 16.7543C21.7591 16.6328 21.8382 16.468 21.8525 16.2917C21.9492 14.7054 22.162 11.9777 22.5102 9.13394C25.2291 8.99787 27.9294 9.64945 30.287 11.0104C29.3585 7.79911 27.2498 -0.867611 21.5816 0.525254C16.784 1.76336 18.3703 13.8155 20.595 16.698C20.6598 16.7837 20.7452 16.8517 20.8433 16.8957C20.9413 16.9397 21.0489 16.9582 21.156 16.9495Z"})),AO=dW;var hW=window.btoa((0,kO.renderToString)(m.createElement(AO,{style:{color:"#6445DD"}}))),NO=new RO.default({width:320,height:320,type:"svg",image:`data:image/svg+xml;base64,${hW}`,cornersSquareOptions:{type:"extra-rounded"},cornersDotOptions:{type:"dot"},dotsOptions:{color:"currentColor",type:"extra-rounded"},backgroundOptions:{color:"transparent"},imageOptions:{margin:16,hideBackgroundDots:!0}}),LO=({data:e,className:t=""})=>{let r=(0,bd.useRef)(null);return(0,bd.useEffect)(()=>{!r.current||NO.append(r.current)},[]),(0,bd.useEffect)(()=>{NO.update({data:e})},[e]),m.createElement("div",{ref:r,className:Nr(t,"relative z-0 flex items-center justify-center rounded border box-border border-white/10 dark:border-black/10 [&_*]:text-black dark:[&_*]:text-white")})};c();d();f();var pW=({className:e=""})=>m.createElement("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 304 304"},m.createElement("path",{d:"M87.515 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 0a4.606 4.606 0 1 1 0 9.212A4.606 4.606 0 0 1 152 0Z"}),m.createElement("path",{d:"M161.212 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M170.424 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 0a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M142.788 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 9.212a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M198.061 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M207.273 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 9.212a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 18.424a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM179.636 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 18.424a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 27.636a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 27.636a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM124.364 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM161.212 36.849a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M105.939 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M142.788 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 46.06a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M198.061 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 46.06a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 55.273a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214ZM133.576 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 55.273a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214ZM207.273 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 55.273a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 64.485a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM115.151 64.485a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM179.636 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 64.485a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM59.879 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M69.09 73.697a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 73.697a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM124.364 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 73.697a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM69.09 82.91a4.606 4.606 0 1 1 .001 9.211 4.606 4.606 0 0 1 0-9.212ZM124.364 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M133.576 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM161.212 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM188.848 82.91a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.214ZM216.485 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM234.909 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM253.333 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 82.91a4.607 4.607 0 1 1-.001 9.212 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M271.758 82.91a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.212ZM4.606 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M32.242 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M69.09 92.121a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 92.121a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M124.364 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 92.121a4.607 4.607 0 1 1 0 9.214 4.607 4.607 0 0 1 0-9.214Z"}),m.createElement("path",{d:"M198.061 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM290.182 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 92.121a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M32.242 101.333a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM50.667 101.333a4.607 4.607 0 1 1-.002 9.213 4.607 4.607 0 0 1 .002-9.213ZM69.09 101.333a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M87.515 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM207.273 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M216.485 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM253.333 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M262.546 101.333a4.607 4.607 0 1 1-.003 9.215 4.607 4.607 0 0 1 .003-9.215ZM280.97 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M290.182 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M299.394 101.333a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM32.242 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M41.454 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M50.667 110.545a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M59.879 110.545a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M69.09 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM216.485 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M225.697 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM244.121 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M253.333 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM271.758 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 110.545a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM23.03 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 119.758a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM234.909 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM290.182 119.758a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 128.97a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM280.97 128.97a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 138.182a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 138.182a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 138.182a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM59.879 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 147.394a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM216.485 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 147.394a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 147.394a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 156.606a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM207.273 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 156.606a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 156.606a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM13.818 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M23.03 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM59.879 165.818a4.606 4.606 0 1 1-.001 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M69.09 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M78.303 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM207.273 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M216.485 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM244.121 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M253.333 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM271.758 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M280.97 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 165.818a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM4.606 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 175.03a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M41.454 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M244.121 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 175.03a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 184.243a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 193.455a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM207.273 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM253.333 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 193.455a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 193.455a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM32.242 202.667a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212ZM50.667 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 202.667a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM124.364 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M161.212 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 202.667a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM207.273 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 202.667a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 202.667a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM23.03 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM69.09 211.879a4.606 4.606 0 1 1 .001 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M78.303 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 211.879a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211ZM115.151 211.879a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 211.879a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM280.97 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM299.394 211.879a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM4.606 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M13.818 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M23.03 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM41.454 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M50.667 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M59.879 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 221.091a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 221.091a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM225.697 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M244.121 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M253.333 221.091a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M262.546 221.091a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM78.303 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM115.151 230.303a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM142.788 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M152 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM225.697 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 230.303a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 230.303a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M87.515 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M96.727 239.515a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211Z"}),m.createElement("path",{d:"M105.939 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM124.364 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM198.061 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M207.273 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 239.515a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 239.515a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M115.151 248.727a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM133.576 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM161.212 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M170.424 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM188.848 248.727a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM207.273 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M216.485 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 248.727a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M271.758 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 248.727a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM78.303 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M87.515 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM115.151 257.939a4.607 4.607 0 0 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM142.788 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM161.212 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM198.061 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM216.485 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M225.697 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M234.909 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M244.121 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M253.333 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213Z"}),m.createElement("path",{d:"M262.546 257.939a4.607 4.607 0 1 1-.003 9.215 4.607 4.607 0 0 1 .003-9.215ZM290.182 257.939a4.607 4.607 0 1 1-.001 9.213 4.607 4.607 0 0 1 .001-9.213ZM78.303 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M87.515 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M96.727 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM133.576 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M142.788 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM161.212 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM188.848 267.151a4.607 4.607 0 1 1 0 9.21 4.607 4.607 0 0 1 0-9.21ZM207.273 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM234.909 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM253.333 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM299.394 267.151a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM115.151 276.364a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213Z"}),m.createElement("path",{d:"M124.364 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M133.576 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM179.636 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M188.848 276.364a4.607 4.607 0 1 1 0 9.213 4.607 4.607 0 0 1 0-9.213ZM262.546 276.364a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM290.182 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 276.364a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM87.515 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM105.939 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM244.121 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM271.758 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M280.97 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M290.182 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M299.394 285.576a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM96.727 294.788a4.606 4.606 0 1 1 0 9.211 4.606 4.606 0 0 1 0-9.211Z"}),m.createElement("path",{d:"M105.939 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM133.576 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM152 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM170.424 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M179.636 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM216.485 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M225.697 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212Z"}),m.createElement("path",{d:"M234.909 294.788a4.606 4.606 0 1 1 0 9.212 4.606 4.606 0 0 1 0-9.212ZM262.546 294.788a4.606 4.606 0 1 1 0 9.213 4.606 4.606 0 0 1 0-9.213ZM42.47.005H22.015C12.048.005 3.603 6.591.903 15.593A21.361 21.361 0 0 0 0 21.769v20.939c0 12.006 9.88 21.77 22.016 21.77l10.226.002 10.227-.003c12.136 0 22.016-9.763 22.016-21.77V21.77c0-12-9.88-21.764-22.016-21.764Zm12.342 42.703c0 6.67-5.536 12.097-12.345 12.097l-10.225.002-10.224-.002c-6.809 0-12.345-5.428-12.345-12.097V21.769c0-2.083.54-4.045 1.491-5.76a12.267 12.267 0 0 1 3.771-4.14 12.45 12.45 0 0 1 7.08-2.19H42.47c6.806 0 12.343 5.423 12.343 12.09v20.939ZM281.984.005h-20.453c-9.968 0-18.413 6.586-21.113 15.588a21.467 21.467 0 0 0-.903 6.176v20.939c0 12.006 9.879 21.77 22.016 21.77l10.227.002 10.226-.003c12.136 0 22.016-9.763 22.016-21.77V21.77c0-12-9.879-21.764-22.016-21.764Zm12.343 42.703c0 6.67-5.536 12.097-12.345 12.097l-10.224.002-10.225-.002c-6.808 0-12.345-5.428-12.345-12.097V21.769c0-2.083.54-4.045 1.491-5.76a12.28 12.28 0 0 1 3.771-4.14 12.452 12.452 0 0 1 7.08-2.19h20.454c6.807 0 12.343 5.423 12.343 12.09v20.939ZM42.47 239.521H22.015c-9.968 0-18.413 6.585-21.113 15.587A21.36 21.36 0 0 0 0 261.284v20.939c0 12.006 9.88 21.77 22.016 21.77l10.226.002 10.227-.003c12.136 0 22.016-9.763 22.016-21.77v-20.938c0-12-9.88-21.763-22.016-21.763Zm12.342 42.702c0 6.67-5.536 12.097-12.345 12.097l-10.225.002-10.224-.002c-6.809 0-12.345-5.427-12.345-12.097v-20.939c0-2.083.54-4.045 1.491-5.759a12.27 12.27 0 0 1 3.771-4.141 12.454 12.454 0 0 1 7.08-2.191H42.47c6.806 0 12.343 5.424 12.343 12.091v20.939Z"}),m.createElement("path",{d:"M31.972 45.519c7.481 0 13.547-6.066 13.547-13.547 0-7.482-6.066-13.548-13.547-13.548-7.482 0-13.548 6.066-13.548 13.548 0 7.481 6.066 13.547 13.548 13.547ZM271.487 45.519c7.482 0 13.547-6.066 13.547-13.547 0-7.482-6.065-13.548-13.547-13.548s-13.548 6.066-13.548 13.548c0 7.481 6.066 13.547 13.548 13.547ZM31.972 285.034c7.481 0 13.547-6.065 13.547-13.547s-6.066-13.548-13.547-13.548c-7.482 0-13.548 6.066-13.548 13.548s6.066 13.547 13.548 13.547Z"}),m.createElement("path",{fill:"url(#b)",d:"M158.863 143.54a1.213 1.213 0 0 0 1.635.208 240.578 240.578 0 0 1 10.557-7.177 25.755 25.755 0 0 1 6.027 12.966c3.372-4.923 12.907-17.611 4.7-23.955-7.015-5.304-21.727 10.539-23.191 16.848a1.236 1.236 0 0 0 .272 1.11Z"}),m.createElement("path",{fill:"url(#c)",d:"M164.584 151.964c-.22.115-.403.294-.524.513a1.3 1.3 0 0 0 .102 1.415c.151.199.358.349.592.43 2.725.832 7.322 2.253 12.09 3.952a25.552 25.552 0 0 1-6.232 12.896c5.891-.416 21.59-.728 21.386-11.198-.306-8.875-21.625-10.747-27.414-8.008Z"}),m.createElement("path",{fill:"url(#d)",d:"M160.974 162.711a1.274 1.274 0 0 0-1.123 0c-.272.148-.48.392-.587.686-.106.294-.104.617.008.909a219.174 219.174 0 0 1 4.495 12.099c-7.118 3.917-13.758 3.051-13.758 3.051 3.95 4.437 13.962 16.744 21.897 10.088 6.606-5.79-5.21-23.956-10.932-26.833Z"}),m.createElement("path",{fill:"url(#e)",d:"M150.486 166.49a1.225 1.225 0 0 0-.252-.523 1.197 1.197 0 0 0-.463-.344 1.207 1.207 0 0 0-.89-.033c-.29.103-.531.313-.677.588-1.396 2.496-3.78 6.725-6.504 11.094a25.035 25.035 0 0 1-10.932-9.083c-.953 5.928-4.154 21.563 5.892 23.712 8.581 1.699 15.154-19.032 13.826-25.411Z"}),m.createElement("path",{fill:"url(#f)",d:"M141.053 160.527a1.299 1.299 0 0 0 .204-1.11 1.246 1.246 0 0 0-.517-.747 1.21 1.21 0 0 0-.879-.189c-2.793.451-7.526 1.179-12.566 1.734a26.024 26.024 0 0 1 .17-14.353c-5.142 2.912-19.173 10.089-14.541 19.449 4.018 7.87 24.076.243 28.129-4.784Z"}),m.createElement("path",{fill:"url(#g)",d:"M139.758 149.26a1.15 1.15 0 0 0 .988-.52 1.23 1.23 0 0 0-.136-1.664 222.986 222.986 0 0 1-9.161-8.945 24.994 24.994 0 0 1 11.136-8.805c-5.449-2.254-19.718-8.979-24.042.52-3.542 8.112 14.847 19.31 21.215 19.414Z"}),m.createElement("path",{fill:"url(#h)",d:"M148.613 141.702c.311-.007.609-.132.835-.35.226-.217.365-.513.391-.829.17-2.842.544-7.73 1.157-12.827 4.787-.243 9.54.924 13.69 3.363-1.634-5.755-5.346-21.286-15.324-18.79-8.446 2.219-5.653 23.817-1.737 28.983.114.153.264.275.437.354a1.1 1.1 0 0 0 .551.096Z"}),m.createElement("defs",null,m.createElement("linearGradient",{id:"b",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"c",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"d",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"e",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"f",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"g",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})),m.createElement("linearGradient",{id:"h",x1:"188.378",x2:"100.564",y1:"93.493",y2:"106.103",gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#FF6848"}),m.createElement("stop",{offset:"1",stopColor:"#5645F5"})))),FO=pW;c();d();f();var mW=e=>m.createElement("svg",Se(te({},e),{fill:"none",strokeWidth:1.5,viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"})),UO=mW;var gW=({qrData:e})=>{let t=$T();return m.createElement(m.Fragment,null,m.createElement("div",{className:"border-f1f5f8 dark:border-f1f5f8/10 relative -mt-6 flex items-center justify-center rounded-2xl border py-8"},m.createElement("div",{className:"text-29343f dark:text-white"},e?m.createElement(LO,{data:t=="desktop"?e.default:e.mobile,className:"h-80 w-80"}):m.createElement(FO,{className:"h-80 w-80 animate-pulse opacity-20"})),m.createElement("div",{className:"absolute inset-x-0 bottom-0 flex translate-y-1/2 items-center justify-center"},m.createElement("p",{className:"text-d3dfea dark:bg-0d151d dark:text-596673 bg-white px-4"},"or"))),m.createElement("div",null,m.createElement(Dt.a,{layoutId:"submit-button",href:"https://worldcoin.org/download",target:"_blank",transition:{layout:{duration:.15}},className:Nr("inline-flex w-full justify-center space-x-2 items-center px-8 py-4 border border-transparent font-medium rounded-2xl shadow-sm","text-gray-500 dark:text-70868f bg-gray-200 dark:bg-29343f hover:bg-gray-300/50 dark:hover:bg-29343f/50","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-300 disabled:cursor-not-allowed transition")},m.createElement(UO,{className:"h-5 w-5 text-gray-400"}),m.createElement(Dt.span,{transition:{layout:{duration:.15}},layoutId:"button-text"},"Download the Worldcoin app"))))},$O=gW;c();d();f();var Cb=(a=>(a.ConnectionFailed="connection_failed",a.VerificationRejected="verification_rejected",a.AlreadySigned="already_signed",a.InvalidActionID="invalid_action_id",a.InvalidSignal="invalid_signal",a.UnexpectedResponse="unexpected_response",a.GenericError="generic_error",a))(Cb||{});c();d();f();var yW=()=>m.createElement("div",{className:"flex flex-col items-center justify-center space-y-12 pb-10"},m.createElement(Vl,{className:"h-20 w-20"}),m.createElement("div",{className:"space-y-4"},m.createElement("p",{className:"mx-auto max-w-[15rem] text-center text-3xl font-semibold text-black dark:text-white"},"Confirm on the Worldcoin app"),m.createElement("p",{className:"mx-auto max-w-xs text-lg text-gray-400 dark:text-gray-600"},"Please confirm the request inside the Worldcoin app to continue."))),BO=yW;c();d();f();var vF=ce(ve(),1);c();d();f();function Mb(e,t){let r=new window.URL("https://worldcoin.org/verify"),n=new RegExp("(?<=wc:)(.*?)(?=@)"),o=new RegExp("(?<=@)(.*?)(?=(\\?|$))"),i=new RegExp("(?<=relay-protocol=)(.*?)(?=(&|$))"),s=new RegExp("(?<=symKey=)(.*?)(?=(&|$))"),a=e.match(n),u=e.match(o),l=e.match(i),p=e.match(s);return a&&r.searchParams.append("t",a[0]),u&&r.searchParams.append("v",u[0]),l&&r.searchParams.append("p",l[0]),p&&r.searchParams.append("k",p[0]),t&&r.searchParams.append("r",t),console.log(`WC URI: ${e}`),console.log(`WLD URL: ${r.toString()}`),r.toString()}c();d();f();var cF=ce(s1());c();d();f();var Ki=ce(js()),Kx=ce(s1()),xL=ce(OD()),Rc=ce(AI()),At=ce(Yb());c();d();f();T1();var iA=ce(js()),A1=class extends No{constructor(t){super(),this.opts=t,this.protocol="wc",this.version=2}};var N1=class extends No{constructor(t,r){super(),this.core=t,this.logger=r,this.records=new Map}},R1=class{constructor(t,r){this.logger=t,this.core=r}},k1=class extends No{constructor(t,r){super(),this.relayer=t,this.logger=r}},L1=class extends No{constructor(t){super()}},F1=class{constructor(t,r,n,o){this.core=t,this.logger=r,this.name=n}};var U1=class extends No{constructor(t,r){super(),this.relayer=t,this.logger=r}};var $1=class extends No{constructor(t,r){super(),this.core=t,this.logger=r}};c();d();f();function Od(e){if(typeof e!="string")throw new Error(`Cannot safe json parse value of type ${typeof e}`);try{return JSON.parse(e)}catch(t){return e}}function lc(e){return typeof e=="string"?e:JSON.stringify(e)}c();d();f();c();d();f();var Ld=ce(LA()),mN=ce(qa()),gN=ce(Li());c();d();f();var FA="EdDSA",UA="JWT",p_=".",m_="base64url",$A="utf8",BA="utf8",VA=":",jA="did",zA="key",g_="base58btc",HA="z",qA="K36";c();d();f();c();d();f();c();d();f();c();d();f();function pc(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function q1(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?pc(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function KA(e,t){t||(t=e.reduce((o,i)=>o+i.length,0));let r=q1(t),n=0;for(let o of e)r.set(o,n),n+=o.length;return pc(r)}c();d();f();c();d();f();c();d();f();var __={};Vr(__,{identity:()=>tX});c();d();f();c();d();f();c();d();f();function YY(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var o=0;o<e.length;o++){var i=e.charAt(o),s=i.charCodeAt(0);if(r[s]!==255)throw new TypeError(i+" is ambiguous");r[s]=o}var a=e.length,u=e.charAt(0),l=Math.log(a)/Math.log(256),p=Math.log(256)/Math.log(a);function h(v){if(v instanceof Uint8Array||(ArrayBuffer.isView(v)?v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength):Array.isArray(v)&&(v=Uint8Array.from(v))),!(v instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(v.length===0)return"";for(var C=0,N=0,M=0,T=v.length;M!==T&&v[M]===0;)M++,C++;for(var I=(T-M)*p+1>>>0,U=new Uint8Array(I);M!==T;){for(var K=v[M],J=0,j=I-1;(K!==0||J<N)&&j!==-1;j--,J++)K+=256*U[j]>>>0,U[j]=K%a>>>0,K=K/a>>>0;if(K!==0)throw new Error("Non-zero carry");N=J,M++}for(var Z=I-N;Z!==I&&U[Z]===0;)Z++;for(var le=u.repeat(C);Z<I;++Z)le+=e.charAt(U[Z]);return le}function y(v){if(typeof v!="string")throw new TypeError("Expected String");if(v.length===0)return new Uint8Array;var C=0;if(v[C]!==" "){for(var N=0,M=0;v[C]===u;)N++,C++;for(var T=(v.length-C)*l+1>>>0,I=new Uint8Array(T);v[C];){var U=r[v.charCodeAt(C)];if(U===255)return;for(var K=0,J=T-1;(U!==0||K<M)&&J!==-1;J--,K++)U+=a*I[J]>>>0,I[J]=U%256>>>0,U=U/256>>>0;if(U!==0)throw new Error("Non-zero carry");M=K,C++}if(v[C]!==" "){for(var j=T-M;j!==T&&I[j]===0;)j++;for(var Z=new Uint8Array(N+(T-j)),le=N;j!==T;)Z[le++]=I[j++];return Z}}}function b(v){var C=y(v);if(C)return C;throw new Error(`Non-${t} character`)}return{encode:h,decodeUnsafe:y,decode:b}}var XY=YY,JY=XY,ZA=JY;c();d();f();var $6e=new Uint8Array(0);var GA=(e,t)=>{if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},Ui=e=>{if(e instanceof Uint8Array&&e.constructor.name==="Uint8Array")return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")};var WA=e=>new TextEncoder().encode(e),YA=e=>new TextDecoder().decode(e);var y_=class{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}},v_=class{constructor(t,r,n){if(this.name=t,this.prefix=r,r.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if(typeof t=="string"){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(t){return JA(this,t)}},w_=class{constructor(t){this.decoders=t}or(t){return JA(this,t)}decode(t){let r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},JA=(e,t)=>new w_(te(te({},e.decoders||{[e.prefix]:e}),t.decoders||{[t.prefix]:t})),b_=class{constructor(t,r,n,o){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=o,this.encoder=new y_(t,r,n),this.decoder=new v_(t,r,o)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}},mc=({name:e,prefix:t,encode:r,decode:n})=>new b_(e,t,r,n),Hs=({prefix:e,name:t,alphabet:r})=>{let{encode:n,decode:o}=ZA(r,t);return mc({prefix:e,name:t,encode:n,decode:i=>Ui(o(i))})},QY=(e,t,r,n)=>{let o={};for(let p=0;p<t.length;++p)o[t[p]]=p;let i=e.length;for(;e[i-1]==="=";)--i;let s=new Uint8Array(i*r/8|0),a=0,u=0,l=0;for(let p=0;p<i;++p){let h=o[e[p]];if(h===void 0)throw new SyntaxError(`Non-${n} character`);u=u<<r|h,a+=r,a>=8&&(a-=8,s[l++]=255&u>>a)}if(a>=r||255&u<<8-a)throw new SyntaxError("Unexpected end of data");return s},eX=(e,t,r)=>{let n=t[t.length-1]==="=",o=(1<<r)-1,i="",s=0,a=0;for(let u=0;u<e.length;++u)for(a=a<<8|e[u],s+=8;s>r;)s-=r,i+=t[o&a>>s];if(s&&(i+=t[o&a<<r-s]),n)for(;i.length*r&7;)i+="=";return i},rr=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>mc({prefix:t,name:e,encode(o){return eX(o,n,r)},decode(o){return QY(o,n,r,e)}});var tX=mc({prefix:"\0",name:"identity",encode:e=>YA(e),decode:e=>WA(e)});var x_={};Vr(x_,{base2:()=>rX});c();d();f();var rX=rr({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var E_={};Vr(E_,{base8:()=>nX});c();d();f();var nX=rr({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var S_={};Vr(S_,{base10:()=>oX});c();d();f();var oX=Hs({prefix:"9",name:"base10",alphabet:"0123456789"});var C_={};Vr(C_,{base16:()=>iX,base16upper:()=>sX});c();d();f();var iX=rr({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),sX=rr({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var M_={};Vr(M_,{base32:()=>gc,base32hex:()=>cX,base32hexpad:()=>dX,base32hexpadupper:()=>hX,base32hexupper:()=>fX,base32pad:()=>uX,base32padupper:()=>lX,base32upper:()=>aX,base32z:()=>pX});c();d();f();var gc=rr({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),aX=rr({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),uX=rr({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),lX=rr({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),cX=rr({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),fX=rr({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),dX=rr({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),hX=rr({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),pX=rr({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var T_={};Vr(T_,{base36:()=>mX,base36upper:()=>gX});c();d();f();var mX=Hs({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),gX=Hs({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var P_={};Vr(P_,{base58btc:()=>ti,base58flickr:()=>yX});c();d();f();var ti=Hs({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),yX=Hs({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var O_={};Vr(O_,{base64:()=>vX,base64pad:()=>wX,base64url:()=>bX,base64urlpad:()=>_X});c();d();f();var vX=rr({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),wX=rr({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),bX=rr({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),_X=rr({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var D_={};Vr(D_,{base256emoji:()=>MX});c();d();f();var QA=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),xX=QA.reduce((e,t,r)=>(e[r]=t,e),[]),EX=QA.reduce((e,t,r)=>(e[t.codePointAt(0)]=r,e),[]);function SX(e){return e.reduce((t,r)=>(t+=xX[r],t),"")}function CX(e){let t=[];for(let r of e){let n=EX[r.codePointAt(0)];if(n===void 0)throw new Error(`Non-base256emoji character: ${r}`);t.push(n)}return new Uint8Array(t)}var MX=mc({prefix:"\u{1F680}",name:"base256emoji",encode:SX,decode:CX});var R_={};Vr(R_,{sha256:()=>qX,sha512:()=>KX});c();d();f();c();d();f();c();d();f();c();d();f();c();d();f();var TX=rN,eN=128,PX=127,OX=~PX,DX=Math.pow(2,31);function rN(e,t,r){t=t||[],r=r||0;for(var n=r;e>=DX;)t[r++]=e&255|eN,e/=128;for(;e&OX;)t[r++]=e&255|eN,e>>>=7;return t[r]=e|0,rN.bytes=r-n+1,t}var IX=I_,AX=128,tN=127;function I_(e,n){var r=0,n=n||0,o=0,i=n,s,a=e.length;do{if(i>=a)throw I_.bytes=0,new RangeError("Could not decode varint");s=e[i++],r+=o<28?(s&tN)<<o:(s&tN)*Math.pow(2,o),o+=7}while(s>=AX);return I_.bytes=i-n,r}var NX=Math.pow(2,7),RX=Math.pow(2,14),kX=Math.pow(2,21),LX=Math.pow(2,28),FX=Math.pow(2,35),UX=Math.pow(2,42),$X=Math.pow(2,49),BX=Math.pow(2,56),VX=Math.pow(2,63),jX=function(e){return e<NX?1:e<RX?2:e<kX?3:e<LX?4:e<FX?5:e<UX?6:e<$X?7:e<BX?8:e<VX?9:10},zX={encode:TX,decode:IX,encodingLength:jX},HX=zX,Ad=HX;var Nd=(e,t=0)=>[Ad.decode(e,t),Ad.decode.bytes],yc=(e,t,r=0)=>(Ad.encode(e,t,r),t),vc=e=>Ad.encodingLength(e);var Wa=(e,t)=>{let r=t.byteLength,n=vc(e),o=n+vc(r),i=new Uint8Array(o+r);return yc(e,i,0),yc(r,i,n),i.set(t,o),new wc(e,r,t,i)},nN=e=>{let t=Ui(e),[r,n]=Nd(t),[o,i]=Nd(t.subarray(n)),s=t.subarray(n+i);if(s.byteLength!==o)throw new Error("Incorrect length");return new wc(r,o,s,t)},oN=(e,t)=>e===t?!0:e.code===t.code&&e.size===t.size&&GA(e.bytes,t.bytes),wc=class{constructor(t,r,n,o){this.code=t,this.size=r,this.digest=n,this.bytes=o}};var N_=({name:e,code:t,encode:r})=>new A_(e,t,r),A_=class{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){let r=this.encode(t);return r instanceof Uint8Array?Wa(this.code,r):r.then(n=>Wa(this.code,n))}else throw Error("Unknown type, must be binary type")}};var sN=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)),qX=N_({name:"sha2-256",code:18,encode:sN("SHA-256")}),KX=N_({name:"sha2-512",code:19,encode:sN("SHA-512")});var k_={};Vr(k_,{identity:()=>WX});c();d();f();var aN=0,ZX="identity",uN=Ui,GX=e=>Wa(aN,uN(e)),WX={code:aN,name:ZX,encode:uN,digest:GX};c();d();f();c();d();f();var swe=new TextEncoder,awe=new TextDecoder;c();d();f();c();d();f();var _r=class{constructor(t,r,n,o){this.code=r,this.version=t,this.multihash=n,this.bytes=o,this.byteOffset=o.byteOffset,this.byteLength=o.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:G1,byteLength:G1,code:Z1,version:Z1,multihash:Z1,bytes:Z1,_baseCache:G1,asCID:G1})}toV0(){switch(this.version){case 0:return this;default:{let{code:t,multihash:r}=this;if(t!==kd)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==tJ)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return _r.createV0(r)}}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,n=Wa(t,r);return _r.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&oN(this.multihash,t.multihash)}toString(t){let{bytes:r,version:n,_baseCache:o}=this;switch(n){case 0:return QX(r,o,t||ti.encoder);default:return eJ(r,o,t||gc.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(t){return nJ(/^0\.0/,oJ),!!(t&&(t[cN]||t.asCID===t))}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof _r)return t;if(t!=null&&t.asCID===t){let{version:r,code:n,multihash:o,bytes:i}=t;return new _r(r,n,o,i||lN(r,n,o.bytes))}else if(t!=null&&t[cN]===!0){let{version:r,multihash:n,code:o}=t,i=nN(n);return _r.create(r,o,i)}else return null}static create(t,r,n){if(typeof r!="number")throw new Error("String codecs are no longer supported");switch(t){case 0:{if(r!==kd)throw new Error(`Version 0 CID must use dag-pb (code: ${kd}) block encoding`);return new _r(t,r,n,n.bytes)}case 1:{let o=lN(t,r,n.bytes);return new _r(t,r,n,o)}default:throw new Error("Invalid version")}}static createV0(t){return _r.create(0,kd,t)}static createV1(t,r){return _r.create(1,t,r)}static decode(t){let[r,n]=_r.decodeFirst(t);if(n.length)throw new Error("Incorrect length");return r}static decodeFirst(t){let r=_r.inspectBytes(t),n=r.size-r.multihashSize,o=Ui(t.subarray(n,n+r.multihashSize));if(o.byteLength!==r.multihashSize)throw new Error("Incorrect length");let i=o.subarray(r.multihashSize-r.digestSize),s=new wc(r.multihashCode,r.digestSize,i,o);return[r.version===0?_r.createV0(s):_r.createV1(r.codec,s),t.subarray(r.size)]}static inspectBytes(t){let r=0,n=()=>{let[h,y]=Nd(t.subarray(r));return r+=y,h},o=n(),i=kd;if(o===18?(o=0,r=0):o===1&&(i=n()),o!==0&&o!==1)throw new RangeError(`Invalid CID version ${o}`);let s=r,a=n(),u=n(),l=r+u,p=l-s;return{version:o,codec:i,multihashCode:a,digestSize:u,multihashSize:p,size:l}}static parse(t,r){let[n,o]=JX(t,r),i=_r.decode(o);return i._baseCache.set(n,t),i}},JX=(e,t)=>{switch(e[0]){case"Q":{let r=t||ti;return[ti.prefix,r.decode(`${ti.prefix}${e}`)]}case ti.prefix:{let r=t||ti;return[ti.prefix,r.decode(e)]}case gc.prefix:{let r=t||gc;return[gc.prefix,r.decode(e)]}default:{if(t==null)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}}},QX=(e,t,r)=>{let{prefix:n}=r;if(n!==ti.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);let o=t.get(n);if(o==null){let i=r.encode(e).slice(1);return t.set(n,i),i}else return o},eJ=(e,t,r)=>{let{prefix:n}=r,o=t.get(n);if(o==null){let i=r.encode(e);return t.set(n,i),i}else return o},kd=112,tJ=18,lN=(e,t,r)=>{let n=vc(e),o=n+vc(t),i=new Uint8Array(o+r.byteLength);return yc(e,i,0),yc(t,i,n),i.set(r,o),i},cN=Symbol.for("@ipld/js-cid/CID"),Z1={writable:!1,configurable:!1,enumerable:!0},G1={writable:!1,enumerable:!1,configurable:!1},rJ="0.0.0-dev",nJ=(e,t)=>{if(e.test(rJ))console.warn(t);else throw new Error(t)},oJ=`CID.isCID(v) is deprecated and will be removed in the next major release.
|
|
33
33
|
Following code pattern:
|
|
34
34
|
|
|
35
35
|
if (CID.isCID(value)) {
|