1let e,t,r,n,o,a;function i(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var s,l,u,c,d,f,p,h,m,g,v,y,b,w,S,x,E,C,A,k,_,I,T,P,N,O,M,j,F,R,U,L,D,V,H,Z,B,z,W,G,q,Y,$,K,J,Q,X,ee,et,er,en,eo,ea,ei,es,el,eu,ec,ed,ef,ep,eh,em,eg,ev,ey,eb,ew,eS,ex,eE,eC,eA,ek,e_,eI,eT,eP,eN,eO,eM,ej,eF,eR,eU,eL,eD,eV,eH,eZ,eB,ez,eW,eG,eq,eY,e$,eK,eJ,eQ,eX,e0,e1,e2,e8,e6,e4,e3,e5,e7,e9,te,tt,tr,tn,to,ta,ti,ts,tl,tu,tc,td,tf,tp,th,tm,tg,tv,ty,tb,tw,tS,tx,tE,tC,tA,tk,t_,tI,tT,tP,tN,tO,tM,tj,tF,tR,tU,tL,tD="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function tV(e){return e&&e.__esModule?e.default:e}var tH={},tZ={},tB=tD.parcelRequire4d21;null==tB&&((tB=function(e){if(e in tH)return tH[e].exports;if(e in tZ){var t=tZ[e];delete tZ[e];var r={id:e,exports:{}};return tH[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(e,t){tZ[e]=t},tD.parcelRequire4d21=tB),tB.register("1b2ls",function(e,t){i(e.exports,"Fragment",()=>r,e=>r=e),i(e.exports,"jsx",()=>n,e=>n=e),i(e.exports,"jsxs",()=>o,e=>o=e);var r,n,o,a=tB("acw62"),s=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,c=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function f(e,t,r){var n,o={},a=null,i=null;for(n in void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)u.call(t,n)&&!d.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:s,type:e,key:a,ref:i,props:o,_owner:c.current}}r=l,n=f,o=f}),tB.register("acw62",function(e,t){e.exports=tB("2pUnB")}),tB.register("2pUnB",function(e,t){i(e.exports,"Children",()=>r,e=>r=e),i(e.exports,"Component",()=>n,e=>n=e),i(e.exports,"Fragment",()=>o,e=>o=e),i(e.exports,"Profiler",()=>a,e=>a=e),i(e.exports,"PureComponent",()=>s,e=>s=e),i(e.exports,"StrictMode",()=>l,e=>l=e),i(e.exports,"Suspense",()=>u,e=>u=e),i(e.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",()=>c,e=>c=e),i(e.exports,"cloneElement",()=>d,e=>d=e),i(e.exports,"createContext",()=>f,e=>f=e),i(e.exports,"createElement",()=>p,e=>p=e),i(e.exports,"createFactory",()=>h,e=>h=e),i(e.exports,"createRef",()=>m,e=>m=e),i(e.exports,"forwardRef",()=>g,e=>g=e),i(e.exports,"isValidElement",()=>v,e=>v=e),i(e.exports,"lazy",()=>y,e=>y=e),i(e.exports,"memo",()=>b,e=>b=e),i(e.exports,"startTransition",()=>w,e=>w=e),i(e.exports,"unstable_act",()=>S,e=>S=e),i(e.exports,"useCallback",()=>x,e=>x=e),i(e.exports,"useContext",()=>E,e=>E=e),i(e.exports,"useDebugValue",()=>C,e=>C=e),i(e.exports,"useDeferredValue",()=>A,e=>A=e),i(e.exports,"useEffect",()=>k,e=>k=e),i(e.exports,"useId",()=>_,e=>_=e),i(e.exports,"useImperativeHandle",()=>I,e=>I=e),i(e.exports,"useInsertionEffect",()=>T,e=>T=e),i(e.exports,"useLayoutEffect",()=>P,e=>P=e),i(e.exports,"useMemo",()=>N,e=>N=e),i(e.exports,"useReducer",()=>O,e=>O=e),i(e.exports,"useRef",()=>M,e=>M=e),i(e.exports,"useState",()=>j,e=>j=e),i(e.exports,"useSyncExternalStore",()=>F,e=>F=e),i(e.exports,"useTransition",()=>R,e=>R=e),i(e.exports,"version",()=>U,e=>U=e);var r,n,o,a,s,l,u,c,d,f,p,h,m,g,v,y,b,w,S,x,E,C,A,k,_,I,T,P,N,O,M,j,F,R,U,L=Symbol.for("react.element"),D=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),z=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),q=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),$=Symbol.iterator,K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},J=Object.assign,Q={};function X(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||K}function ee(){}function et(e,t,r){this.props=e,this.context=t,this.refs=Q,this.updater=r||K}X.prototype.isReactComponent={},X.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},X.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},ee.prototype=X.prototype;var er=et.prototype=new ee;er.constructor=et,J(er,X.prototype),er.isPureReactComponent=!0;var en=Array.isArray,eo=Object.prototype.hasOwnProperty,ea={current:null},ei={key:!0,ref:!0,__self:!0,__source:!0};function es(e,t,r){var n,o={},a=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)eo.call(t,n)&&!ei.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:L,type:e,key:a,ref:i,props:o,_owner:ea.current}}function el(e){return"object"==typeof e&&null!==e&&e.$$typeof===L}var eu=/\/+/g;function ec(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function ed(e,t,r){if(null==e)return e;var n=[],o=0;return function e(t,r,n,o,a){var i,s,l,u=typeof t;("undefined"===u||"boolean"===u)&&(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case L:case D:c=!0}}if(c)return a=a(c=t),t=""===o?"."+ec(c,0):o,en(a)?(n="",null!=t&&(n=t.replace(eu,"$&/")+"/"),e(
1a,r,n,"",function(e){return e})):null!=a&&(el(a)&&(i=a,s=n+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(eu,"$&/")+"/")+t,a={$$typeof:L,type:i.type,key:s,ref:i.ref,props:i.props,_owner:i._owner}),r.push(a)),1;if(c=0,o=""===o?".":o+":",en(t))for(var d=0;d<t.length;d++){var f=o+ec(u=t[d],d);c+=e(u,r,n,f,a)}else if("function"==typeof(f=null===(l=t)||"object"!=typeof l?null:"function"==typeof(l=$&&l[$]||l["@@iterator"])?l:null))for(t=f.call(t),d=0;!(u=t.next()).done;)f=o+ec(u=u.value,d++),c+=e(u,r,n,f,a);else if("object"===u)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return c}(e,n,"","",function(e){return t.call(r,e,o++)}),n}function ef(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var ep={current:null},eh={transition:null};r={map:ed,forEach:function(e,t,r){ed(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ed(e,function(){t++}),t},toArray:function(e){return ed(e,function(e){return e})||[]},only:function(e){if(!el(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n=X,o=V,a=Z,s=et,l=H,u=G,c={ReactCurrentDispatcher:ep,ReactCurrentBatchConfig:eh,ReactCurrentOwner:ea},d=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=J({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=ea.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)eo.call(t,l)&&!ei.hasOwnProperty(l)&&(n[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)n.children=r;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];n.children=s}return{$$typeof:L,type:e.type,key:o,ref:a,props:n,_owner:i}},f=function(e){return(e={$$typeof:z,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:B,_context:e},e.Consumer=e},p=es,h=function(e){var t=es.bind(null,e);return t.type=e,t},m=function(){return{current:null}},g=function(e){return{$$typeof:W,render:e}},v=el,y=function(e){return{$$typeof:Y,_payload:{_status:-1,_result:e},_init:ef}},b=function(e,t){return{$$typeof:q,type:e,compare:void 0===t?null:t}},w=function(e){var t=eh.transition;eh.transition={};try{e()}finally{eh.transition=t}},S=function(){throw Error("act(...) is not supported in production builds of React.")},x=function(e,t){return ep.current.useCallback(e,t)},E=function(e){return ep.current.useContext(e)},C=function(){},A=function(e){return ep.current.useDeferredValue(e)},k=function(e,t){return ep.current.useEffect(e,t)},_=function(){return ep.current.useId()},I=function(e,t,r){return ep.current.useImperativeHandle(e,t,r)},T=function(e,t){return ep.current.useInsertionEffect(e,t)},P=function(e,t){return ep.current.useLayoutEffect(e,t)},N=function(e,t){return ep.current.useMemo(e,t)},O=function(e,t,r){return ep.current.useReducer(e,t,r)},M=function(e){return ep.current.useRef(e)},j=function(e){return ep.current.useState(e)},F=function(e,t,r){return ep.current.useSyncExternalStore(e,t,r)},R=function(){return ep.current.useTransition()},U="18.2.0"}),tB.register("Xw6Mv",function(e,t){i(e.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",()=>Z,e=>Z=e),i(e.exports,"createPortal",()=>B,e=>B=e),i(e.exports,"createRoot",()=>z,e=>z=e),i(e.exports,"findDOMNode",()=>W,e=>W=e),i(e.exports,"flushSync",()=>G,e=>G=e),i(e.exports,"hydrate",()=>q,e=>q=e),i(e.exports,"hydrateRoot",()=>Y,e=>Y=e),i(e.exports,"render",()=>$,e=>$=e),i(e.exports,"unmountComponentAtNode",()=>K,e=>K=e),i(e.exports,"unstable_batchedUpdates",()=>J,e=>J=e),i(e.exports,"unstable_renderSubtreeIntoContainer",()=>Q,e=>Q=e),i(e.exports,"version",()=>X,e=>X=e);var r,n,o,a,s,l,u=tB("acw62"),c=tB("fO90s");function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function h(e,t){m(e,t),m(e+"Capture",t)}function m(e,t){for(p[e]=t,e=0;e<t.length;e++)f.add(t[e])}var g=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),v=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},w={};function S(e,t,r,n,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){x[e]=new S(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 43,491 bytes, line 1
1h(function(e){var t=e[0];x[t]=new S(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){x[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){x[e]=new S(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){x[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){x[e]=new S(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){x[e]=new S(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){x[e]=new S(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){x[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function C(e){return e[1].toUpperCase()}function A(e,t,r,n){var o,a=x.hasOwnProperty(t)?x[t]:null;(null!==a?0!==a.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,a,n)&&(r=null),n||null===a?(o=t,(!!v.call(w,o)||!v.call(b,o)&&(y.test(o)?w[o]=!0:(b[o]=!0,!1)))&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r))):a.mustUseProperty?e[a.propertyName]=null===r?3!==a.type&&"":r:(t=a.attributeName,n=a.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(a=a.type)||4===a&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(E,C);x[t]=new S(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,C);x[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,C);x[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){x[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)}),x.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){x[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)});var k=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),I=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),M=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var V=Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=V&&e[V]||e["@@iterator"])?e:null}var Z,B,z,W,G,q,Y,$,K,J,Q,X,ee,et=Object.assign;function er(e){if(void 0===ee)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ee=t&&t[1]||""}return"\n"+ee+e}var en=!1;function eo(e,t){if(!e||en)return"";en=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=n.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s)break}}}finally{en=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?er(e):""}function ea(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ei(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function es(e){e._valueTracker||(e._valueTracker=function(e){var t=ei(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function el(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=ei(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function eu(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ec(e,t){var r=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function ed(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=ea(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ef(e,t){null!=(t=t.checked)&&A(e,"checked",t,!1)}function ep(e,t){ef(e,t);var r=ea(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n){e.removeAttribute("value");return}t.hasOwnProperty("value")?em(e,t.type,r):t.hasOwnProperty("defaultValue")&&em(e,t.type,ea(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function eh(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function em(e,t,r){("number"!==t||eu(e.ownerDocument)!==e)&&(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var eg=Array.isArray;function ev(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(o=0,r=""+ea(r),t=null;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ey(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return et({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function eb(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(d(92));if(eg(r)){if(1<r.length)throw Error(d(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:ea(r)}}function ew(e,t){var r=ea(t.value),n=ea(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function eS(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ex(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function eE(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ex(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var eC,eA,ek=(eC=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((eA=eA||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eA.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return eC(e,t,r,n)})}:eC);function e_(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var eI={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eT=["Webkit","ms","Moz","O"];function eP(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||eI.hasOwnProperty(e)&&eI[e]?(""+t).trim():t+"px"}function eN(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=eP(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(eI).forEach(function(e){eT.forEach(function(t){eI[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eI[e]})});var eO=et({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function eM(e,t){if(t){if(eO[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ej(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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!1;default:return!0}}var eF=null;function eR(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eU=null,eL=null,eD=null;function eV(e){if(e=nK(e)){if("function"!=typeof eU)throw Error(d(280));var t=e.stateNode;t&&(t=nQ(t),eU(e.stateNode,e.type,t))}}function eH(e){eL?eD?eD.push(e):eD=[e]:eL=e}function eZ(){if(eL){var e=eL,t=eD;if(eD=eL=null,eV(e),t)for(e=0;e<t.length;e++)eV(t[e])}}function eB(e,t){return e(t)}function ez(){}var eW=!1;function eG(e,t,r){if(eW)return e(t,r);eW=!0;try{return eB(e,t,r)}finally{eW=!1,(null!==eL||null!==eD)&&(ez(),eZ())}}function eq(e,t){var r=e.stateNode;if(null===r)return null;var n=nQ(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(d(231,t,typeof r));return r}var eY=!1;if(g)try{var e$={};Object.defineProperty(e$,"passive",{get:function(){eY=!0}}),window.addEventListener("test",e$,e$),window.removeEventListener("test",e$,e$)}catch(e){eY=!1}function eK(e,t,r,n,o,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var eJ=!1,eQ=null,eX=!1,e0=null,e1={onError:function(e){eJ=!0,eQ=e}};function e2(e,t,r,n,o,a,i,s,l){eJ=!1,eQ=null,eK.apply(e1,arguments)}function e8(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function e6(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function e4(e){if(e8(e)!==e)throw Error(d(188))}function e3(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=e8(e)))throw Error(d(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return e4(o),e;if(a===n)return e4(o),t;a=a.sibling}throw Error(d(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,n=a;break}if(s===n){i=!0,n=o,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,n=o;break}if(s===n){i=!0,n=a,r=o;break}s=s.sibling}if(!i)throw Error(d(189))}}if(r.alternate!==n)throw Error(d(190))}if(3!==r.tag)throw Error(d(188));return r.stateNode.current===r?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var r=e(t);if(null!==r)return r;t=t.sibling}return null}(e):null}var e5=c.unstable_scheduleCallback,e7=c.unstable_cancelCallback,e9=c.unstable_shouldYield,te=c.unstable_requestPaint,tt=c.unstable_now,tr=c.unstable_getCurrentPriorityLevel,tn=c.unstable_ImmediatePriority,to=c.unstable_UserBlockingPriority,ta=c.unstable_NormalPriority,ti=c.unstable_LowPriority,ts=c.unstable_IdlePriority,tl=null,tu=null,tc=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(td(e)/tf|0)|0},td=Math.log,tf=Math.LN2,tp=64,th=4194304;function tm(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function tg(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&r;if(0!==i){var s=i&~o;0!==s?n=tm(s):0!=(a&=i)&&(n=tm(a))}else 0!=(i=r&~o)?n=tm(i):0!==a&&(n=tm(a));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&o)&&((o=n&-n)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-tc(t)),n|=e[r],t&=~o;return n}function tv(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ty(){var e=tp;return 0==(4194240&(tp<<=1))&&(tp=64),e}function tb(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function tw(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tc(t)]=r}function tS(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-tc(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var tx=0;function tE(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tC,tA,tk,t_,tI,tT=!1,tP=[],tN=null,tO=null,tM=null,tj=new Map,tF=new Map,tR=[],tU="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tL(e,t){switch(e){case"focusin":case"focusout":tN=null;break;case"dragenter":case"dragleave":tO=null;break;case"mouseover":case"mouseout":tM=null;break;case"pointerover":case"pointerout":tj.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tF.delete(t.pointerId)}}function tD(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=nK(t))&&tA(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o)),e}function tV(e){var t=n$(e.target);if(null!==t){var r=e8(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=e6(r))){e.blockedOn=t,tI(e.priority,function(){tk(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function tH(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=tX(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=nK(r))&&tA(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);eF=n,r.target.dispatchEvent(n),eF=null,t.shift()}return!0}function tZ(e,t,r){tH(e)&&r.delete(t)}function tz(){tT=!1,null!==tN&&tH(tN)&&(tN=null),null!==tO&&tH(tO)&&(tO=null),null!==tM&&tH(tM)&&(tM=null),tj.forEach(tZ),tF.forEach(tZ)}function tW(e,t){e.blockedOn===t&&(e.blockedOn=null,tT||(tT=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tz)))}function tG(e){function t(t){return tW(t,e)}if(0<tP.length){tW(tP[0],e);for(var r=1;r<tP.length;r++){var n=tP[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==tN&&tW(tN,e),null!==tO&&tW(tO,e),null!==tM&&tW(tM,e),tj.forEach(t),tF.forEach(t),r=0;r<tR.length;r++)(n=tR[r]).blockedOn===e&&(n.blockedOn=null);for(;0<tR.length&&null===(r=tR[0]).blockedOn;)tV(r),null===r.blockedOn&&tR.shift()}var tq=k.ReactCurrentBatchConfig,tY=!0;function t$(e,t,r,n){var o=tx,a=tq.transition;tq.transition=null;try{tx=1,tJ(e,t,r,n)}finally{tx=o,tq.transition=a}}function tK(e,t,r,n){var o=tx,a=tq.transition;tq.transition=null;try{tx=4,tJ(e,t,r,n)}finally{tx=o,tq.transition=a}}function tJ(e,t,r,n){if(tY){var o=tX(e,t,r,n);if(null===o)nS(e,t,n,tQ,r),tL(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return tN=tD(tN,e,t,r,n,o),!0;case"dragenter":return tO=tD(tO,e,t,r,n,o),!0;case"mouseover":return tM=tD(tM,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return tj.set(a,tD(tj.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,tF.set(a,tD(tF.get(a)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(tL(e,n),4&t&&-1<tU.indexOf(e)){for(;null!==o;){var a=nK(o);if(null!==a&&tC(a),null===(a=tX(e,t,r,n))&&nS(e,t,n,tQ,r),a===o)break;o=a}null!==o&&n.stopPropagation()}else nS(e,t,n,null,r)}}var tQ=null;function tX(e,t,r,n){if(tQ=null,null!==(e=n$(e=eR(n)))){if(null===(t=e8(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=e6(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tQ=e,null}function t0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(tr()){case tn:return 1;case to:return 4;case ta:case ti:return 16;case ts:return 536870912;default:return 16}default:return 16}}var t1=null,t2=null,t8=null;function t6(){if(t8)return t8;var e,t,r=t2,n=r.length,o="value"in t1?t1.value:t1.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return t8=o.slice(e,1<t?1-t:void 0)}function t4(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function t3(){return!0}function t5(){return!1}function t7(e){function t(t,r,n,o,a){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?t3:t5,this.isPropagationStopped=t5,this}return et(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=t3)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=t3)},persist:function(){},isPersistent:t3}),t}var t9,re,rt,rr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rn=t7(rr),ro=et({},rr,{view:0,detail:0}),ra=t7(ro),ri=et({},ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rv,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==rt&&(rt&&"mousemove"===e.type?(t9=e.screenX-rt.screenX,re=e.screenY-rt.screenY):re=t9=0,rt=e),t9)},movementY:function(e){return"movementY"in e?e.movementY:re}}),rs=t7(ri),rl=t7(et({},ri,{dataTransfer:0})),ru=t7(et({},ro,{relatedTarget:0})),rc=t7(et({},rr,{animationName:0,elapsedTime:0,pseudoElement:0})),rd=t7(et({},rr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),rf=t7(et({},rr,{data:0})),rp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rm[e])&&!!t[e]}function rv(){return rg}var ry=t7(et({},ro,{key:function(e){if(e.key){var t=rp[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t4(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rv,charCode:function(e){return"keypress"===e.type?t4(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t4(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),rb=t7(et({},ri,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rw=t7(et({},ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rv})),rS=t7(et({},rr,{propertyName:0,elapsedTime:0,pseudoElement:0})),rx=t7(et({},ri,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rE=[9,13,27,32],rC=g&&"CompositionEvent"in window,rA=null;g&&"documentMode"in document&&(rA=document.documentMode);var rk=g&&"TextEvent"in window&&!rA,r_=g&&(!rC||rA&&8<rA&&11>=rA),rI=!1;function rT(e,t){switch(e){case"keyup":return -1!==rE.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rP(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rN=!1,rO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rM(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rO[e.type]:"textarea"===t}function rj(e,t,r,n){eH(n),0<(t=nE(t,"onChange")).length&&(r=new rn("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rF=null,rR=null;function rU(e){nh(e,0)}function rL(e){if(el(nJ(e)))return e}function rD(e,t){if("change"===e)return t}var rV=!1;if(g){if(g){var rH="oninput"in document;if(!rH){var rZ=document.createElement("div");rZ.setAttribute("oninput","return;"),rH="function"==typeof rZ.oninput}r=rH}else r=!1;rV=r&&(!document.documentMode||9<document.documentMode)}function rB(){rF&&(rF.detachEvent("onpropertychange",rz),rR=rF=null)}function rz(e){if("value"===e.propertyName&&rL(rR)){var t=[];rj(t,rR,e,eR(e)),eG(rU,t)}}function rW(e,t,r){"focusin"===e?(rB(),rF=t,rR=r,rF.attachEvent("onpropertychange",rz)):"focusout"===e&&rB()}function rG(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rL(rR)}function rq(e,t){if("click"===e)return rL(t)}function rY(e,t){if("input"===e||"change"===e)return rL(t)}var r$="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function rK(e,t){if(r$(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!v.call(t,o)||!r$(e[o],t[o]))return!1}return!0}function rJ(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rQ(e,t){var r,n=rJ(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rJ(n)}}function rX(){for(var e=window,t=eu();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=eu(e.document)}return t}function r0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var r1=g&&"documentMode"in document&&11>=document.documentMode,r2=null,r8=null,r6=null,r4=!1;function r3(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;r4||null==r2||r2!==eu(n)||(n="selectionStart"in(n=r2)&&r0(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},r6&&rK(r6,n)||(r6=n,0<(n=nE(r8,"onSelect")).length&&(t=new rn("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=r2)))}function r5(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var r7={animationend:r5("Animation","AnimationEnd"),animationiteration:r5("Animation","AnimationIteration"),animationstart:r5("Animation","AnimationStart"),transitionend:r5("Transition","TransitionEnd")},r9={},ne={};function nt(e){if(r9[e])return r9[e];if(!r7[e])return e;var t,r=r7[e];for(t in r)if(r.hasOwnProperty(t)&&t in ne)return r9[e]=r[t];return e}g&&(ne=document.createElement("div").style,"AnimationEvent"in window||(delete r7.animationend.animation,delete r7.animationiteration.animation,delete r7.animationstart.animation),"TransitionEvent"in window||delete r7.transitionend.transition);var nr=nt("animationend"),nn=nt("animationiteration"),no=nt("animationstart"),na=nt("transitionend"),ni=new Map,ns="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nl(e,t){ni.set(e,t),h(t,[e])}for(var nu=0;nu<ns.length;nu++){var nc=ns[nu];nl(nc.toLowerCase(),"on"+(nc[0].toUpperCase()+nc.slice(1)))}nl(nr,"onAnimationEnd"),nl(nn,"onAnimationIteration"),nl(no,"onAnimationStart"),nl("dblclick","onDoubleClick"),nl("focusin","onFocus"),nl("focusout","onBlur"),nl(na,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nd="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nf=new Set("cancel close invalid load scroll toggle".split(" ").concat(nd));function np(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,a,i,s,l){if(e2.apply(this,arguments),eJ){if(eJ){var u=eQ;eJ=!1,eQ=null}else throw Error(d(198));eX||(eX=!0,e0=u)}}(n,t,void 0,e),e.currentTarget=null}function nh(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;np(o,s,u),a=l}else for(i=0;i<n.length;i++){if(l=(s=n[i]).instance,u=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;np(o,s,u),a=l}}}if(eX)throw e=e0,eX=!1,e0=null,e}function nm(e,t){var r=t[nG];void 0===r&&(r=t[nG]=new Set);var n=e+"__bubble";r.has(n)||(nb(t,e,2,!1),r.add(n))}function ng(e,t,r){var n=0;t&&(n|=4),nb(r,e,n,t)}var nv="_reactListening"+Math.random().toString(36).slice(2);function ny(e){if(!e[nv]){e[nv]=!0,f.forEach(function(t){"selectionchange"!==t&&(nf.has(t)||ng(t,!1,e),ng(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[nv]||(t[nv]=!0,ng("selectionchange",!1,t))}}function nb(e,t,r,n){switch(t0(t)){case 1:var o=t$;break;case 4:o=tK;break;default:o=tJ}r=o.bind(null,t,r,e),o=void 0,eY&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function nS(e,t,r,n,o){var a=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=n.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=n$(s)))return;if(5===(l=i.tag)||6===l){n=a=i;continue e}s=s.parentNode}}n=n.return}eG(function(){var n=a,o=eR(r),i=[];e:{var s=ni.get(e);if(void 0!==s){var l=rn,u=e;switch(e){case"keypress":if(0===t4(r))break e;case"keydown":case"keyup":l=ry;break;case"focusin":u="focus",l=ru;break;case"focusout":u="blur",l=ru;break;case"beforeblur":case"afterblur":l=ru;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=rs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=rl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=rw;break;case nr:case nn:case no:l=rc;break;case na:l=rS;break;case"scroll":l=ra;break;case"wheel":l=rx;break;case"copy":case"cut":case"paste":l=rd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=rb}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=n;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=eq(h,f))&&c.push(nx(h,m,p))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,r,o),i.push({event:s,listeners:c}))}}if(0==(7&t)){if(s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&r!==eF&&(u=r.relatedTarget||r.fromElement)&&(n$(u)||u[nW]))&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(u=r.relatedTarget||r.toElement,l=n,null!==(u=u?n$(u):null)&&(d=e8(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=n),l!==u)){if(c=rs,m="onMouseLeave",f="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(c=rb,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:nJ(l),p=null==u?s:nJ(u),(s=new c(m,h+"leave",l,r,o)).target=d,s.relatedTarget=p,m=null,n$(o)===n&&((c=new c(f,h+"enter",u,r,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)t:{for(c=l,f=u,h=0,p=c;p;p=nC(p))h++;for(p=0,m=f;m;m=nC(m))p++;for(;0<h-p;)c=nC(c),h--;for(;0<p-h;)f=nC(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break t;c=nC(c),f=nC(f)}c=null}else c=null;null!==l&&nA(i,s,l,c,!1),null!==u&&null!==d&&nA(i,d,u,c,!0)}e:{if("select"===(l=(s=n?nJ(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g,v=rD;else if(rM(s)){if(rV)v=rY;else{v=rG;var y=rW}}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=rq);if(v&&(v=v(e,n))){rj(i,v,r,o);break e}y&&y(e,s,n),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&em(s,"number",s.value)}switch(y=n?nJ(n):window,e){case"focusin":(rM(y)||"true"===y.contentEditable)&&(r2=y,r8=n,r6=null);break;case"focusout":r6=r8=r2=null;break;case"mousedown":r4=!0;break;case"contextmenu":case"mouseup":case"dragend":r4=!1,r3(i,r,o);break;case"selectionchange":if(r1)break;case"keydown":case"keyup":r3(i,r,o)}if(rC)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else rN?rT(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(r_&&"ko"!==r.locale&&(rN||"onCompositionStart"!==b?"onCompositionEnd"===b&&rN&&(g=t6()):(t2="value"in(t1=o)?t1.value:t1.textContent,rN=!0)),0<(y=nE(n,b)).length&&(b=new rf(b,e,null,r,o),i.push({event:b,listeners:y}),g?b.data=g:null!==(g=rP(r))&&(b.data=g))),(g=rk?function(e,t){switch(e){case"compositionend":return rP(t);case"keypress":if(32!==t.which)return null;return rI=!0," ";case"textInput":return" "===(e=t.data)&&rI?null:e;default:return null}}(e,r):function(e,t){if(rN)return"compositionend"===e||!rC&&rT(e,t)?(e=t6(),t8=t2=t1=null,rN=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return r_&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=nE(n,"onBeforeInput")).length&&(o=new rf("onBeforeInput","beforeinput",null,r,o),i.push({event:o,listeners:n}),o.data=g)}nh(i,t)})}function nx(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nE(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=eq(e,r))&&n.unshift(nx(e,a,o)),null!=(a=eq(e,t))&&n.push(nx(e,a,o))),e=e.return}return n}function nC(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function nA(e,t,r,n,o){for(var a=t._reactName,i=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=eq(r,a))&&i.unshift(nx(r,l,s)):o||null!=(l=eq(r,a))&&i.push(nx(r,l,s))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var nk=/\r\n?/g,n_=/\u0000|\uFFFD/g;function nI(e){return("string"==typeof e?e:""+e).replace(nk,"\n").replace(n_,"")}function nT(e,t,r){if(t=nI(t),nI(e)!==t&&r)throw Error(d(425))}function nP(){}var nN=null,nO=null;function nM(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var nj="function"==typeof setTimeout?setTimeout:void 0,nF="function"==typeof clearTimeout?clearTimeout:void 0,nR="function"==typeof Promise?Promise:void 0,nU="function"==typeof queueMicrotask?queueMicrotask:void 0!==nR?function(e){return nR.resolve(null).then(e).catch(nL)}:nj;function nL(e){setTimeout(function(){throw e})}function nD(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType){if("/$"===(r=o.data)){if(0===n){e.removeChild(o),tG(t);return}n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}r=o}while(r)tG(t)}function nV(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function nH(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var nZ=Math.random().toString(36).slice(2),nB="__reactFiber$"+nZ,nz="__reactProps$"+nZ,nW="__reactContainer$"+nZ,nG="__reactEvents$"+nZ,nq="__reactListeners$"+nZ,nY="__reactHandles$"+nZ;function n$(e){var t=e[nB];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nW]||r[nB]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=nH(e);null!==e;){if(r=e[nB])return r;e=nH(e)}return t}r=(e=r).parentNode}return null}function nK(e){return(e=e[nB]||e[nW])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function nJ(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function nQ(e){return e[nz]||null}var nX=[],n0=-1;function n1(e){return{current:e}}function n2(e){0>n0||(e.current=nX[n0],nX[n0]=null,n0--)}function n8(e,t){nX[++n0]=e.current,e.current=t}var n6={},n4=n1(n6),n3=n1(!1),n5=n6;function n7(e,t){var r=e.type.contextTypes;if(!r)return n6;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function n9(e){return null!=(e=e.childContextTypes)}function oe(){n2(n3),n2(n4)}function ot(e,t,r){if(n4.current!==n6)throw Error(d(168));n8(n4,t),n8(n3,r)}function or(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(d(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case T:return"Fragment";case I:return"Portal";case N:return"Profiler";case P:return"StrictMode";case F:return"Suspense";case R:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case M:return(t.displayName||"Context")+".Consumer";case O:return(t._context.displayName||"Context")+".Provider";case j:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case U:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case L:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}(t);case 8:return t===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",o));return et({},r,n)}function on(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||n6,n5=n4.current,n8(n4,e),n8(n3,n3.current),!0}function oo(e,t,r){var n=e.stateNode;if(!n)throw Error(d(169));r?(e=or(e,t,n5),n.__reactInternalMemoizedMergedChildContext=e,n2(n3),n2(n4),n8(n4,e)):n2(n3),n8(n3,r)}var oa=null,oi=!1,os=!1;function ol(e){null===oa?oa=[e]:oa.push(e)}function ou(){if(!os&&null!==oa){os=!0;var e=0,t=tx;try{var r=oa;for(tx=1;e<r.length;e++){var n=r[e];do n=n(!0);while(null!==n)}oa=null,oi=!1}catch(t){throw null!==oa&&(oa=oa.slice(e+1)),e5(tn,ou),t}finally{tx=t,os=!1}
vendor: 4,281 bytes, line 1
1}return null}var oc=[],od=0,of=null,op=0,oh=[],om=0,og=null,ov=1,oy="";function ob(e,t){oc[od++]=op,oc[od++]=of,of=e,op=t}function ow(e,t,r){oh[om++]=ov,oh[om++]=oy,oh[om++]=og,og=e;var n=ov;e=oy;var o=32-tc(n)-1;n&=~(1<<o),r+=1;var a=32-tc(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,ov=1<<32-tc(t)+o|r<<o|n,oy=a+e}else ov=1<<a|r<<o|n,oy=e}function oS(e){null!==e.return&&(ob(e,1),ow(e,1,0))}function ox(e){for(;e===of;)of=oc[--od],oc[od]=null,op=oc[--od],oc[od]=null;for(;e===og;)og=oh[--om],oh[om]=null,oy=oh[--om],oh[om]=null,ov=oh[--om],oh[om]=null}var oE=null,oC=null,oA=!1,ok=null;function o_(e,t){var r=s9(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function oI(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oE=e,oC=nV(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oE=e,oC=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==og?{id:ov,overflow:oy}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=s9(18,null,null,0)).stateNode=t,r.return=e,e.child=r,oE=e,oC=null,!0);default:return!1}}function oT(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function oP(e){if(oA){var t=oC;if(t){var r=t;if(!oI(e,t)){if(oT(e))throw Error(d(418));t=nV(r.nextSibling);var n=oE;t&&oI(e,t)?o_(n,r):(e.flags=-4097&e.flags|2,oA=!1,oE=e)}}else{if(oT(e))throw Error(d(418));e.flags=-4097&e.flags|2,oA=!1,oE=e}}}function oN(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oE=e}function oO(e){if(e!==oE)return!1;if(!oA)return oN(e),oA=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!nM(e.type,e.memoizedProps)),t&&(t=oC)){if(oT(e))throw oM(),Error(d(418));for(;t;)o_(e,t),t=nV(t.nextSibling)}if(oN(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,r=e.data;if("/$"===r){if(0===t){oC=nV(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oC=null}}else oC=oE?nV(e.stateNode.nextSibling):null;return!0}function oM(){for(var e=oC;e;)e=nV(e.nextSibling)}function oj(){oC=oE=null,oA=!1}function oF(e){null===ok?ok=[e]:ok.push(e)}var oR=k.ReactCurrentBatchConfig;function oU(e,t){if(e&&e.defaultProps)for(var r in t=et({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var oL=n1(null),oD=null,oV=null,oH=null;function oZ(){oH=oV=oD=null}function oB(e){var t=oL.current;n2(oL),e._currentValue=t}function oz(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function oW(e,t){oD=e,oH=oV=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ix=!0),e.firstContext=null)}function oG(e){var t=e._currentValue;if(oH!==e){if(e={context:e,memoizedValue:t,next:null},null===oV){if(null===oD)throw Error(d(308));oV=e,oD.dependencies={lanes:0,firstContext:e}}else oV=oV.next=e}return t}var oq=null;function oY(e){null===oq?oq=[e]:oq.push(e)}function o$(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,oY(t)):(r.next=o.next,o.next=r),t.interleaved=r,oK(e,n)}function oK(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var oJ=!1;function oQ(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oX(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function o0(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function o1(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&su)){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,oK(e,r)}return null===(o=n.interleaved)?(t.next=t,oY(n)):(t.next=o.next,o.next=t),n.interleaved=t,oK(e,r)}
vendor: 76,383 bytes, line 1
1function o2(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tS(e,r)}}function o8(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?o=a=i:a=a.next=i,r=r.next}while(null!==r)null===a?o=a=t:a=a.next=t}else o=a=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function o6(e,t,r,n){var o=e.updateQueue;oJ=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?a=u:i.next=u,i=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==a){var d=o.baseState;for(i=0,c=u=l=null,s=a;;){var f=s.lane,p=s.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=r,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=et({},d,f);break e;case 2:oJ=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,i|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do i|=o.lane,o=o.next;while(o!==t)}else null===a&&(o.shared.lanes=0);sv|=i,e.lanes=i,e.memoizedState=d}}function o4(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(d(191,o));o.call(n)}}}var o3=(new u.Component).refs;function o5(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:et({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var o7={isMounted:function(e){return!!(e=e._reactInternals)&&e8(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=sF(),o=sR(e),a=o0(n,o);a.payload=t,null!=r&&(a.callback=r),null!==(t=o1(e,a,o))&&(sU(t,e,o,n),o2(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=sF(),o=sR(e),a=o0(n,o);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=o1(e,a,o))&&(sU(t,e,o,n),o2(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=sF(),n=sR(e),o=o0(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=o1(e,o,n))&&(sU(t,e,n,r),o2(t,e,n))}};function o9(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!t.prototype||!t.prototype.isPureReactComponent||!rK(r,n)||!rK(o,a)}function ae(e,t,r){var n=!1,o=n6,a=t.contextType;return"object"==typeof a&&null!==a?a=oG(a):(o=n9(t)?n5:n4.current,a=(n=null!=(n=t.contextTypes))?n7(e,o):n6),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=o7,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function at(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&o7.enqueueReplaceState(t,t.state,null)}function ar(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=o3,oQ(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=oG(a):(a=n9(t)?n5:n4.current,o.context=n7(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(o5(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&o7.enqueueReplaceState(o,o.state,null),o6(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function an(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(d(309));var n=r.stateNode}if(!n)throw Error(d(147,e));var o=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=o.refs;t===o3&&(t=o.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(d(284));if(!r._owner)throw Error(d(290,e))}return e}function ao(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aa(e){return(0,e._init)(e._payload)}function ai(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=lt(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,r,n){return null===t||6!==t.tag?(t=la(r,e.mode,n)).return=e:(t=o(t,r)).return=e,t}function l(e,t,r,n){var a=r.type;return a===T?c(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===L&&aa(a)===t.type)?(n=o(t,r.props)).ref=an(e,t,r):(n=lr(r.type,r.key,r.props,null,e.mode,n)).ref=an(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=li(r,e.mode,n)).return=e:(t=o(t,r.children||[])).return=e,t}function c(e,t,r,n,a){return null===t||7!==t.tag?(t=ln(r,e.mode,n,a)).return=e:(t=o(t,r)).return=e,t}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=la(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(r=lr(t.type,t.key,t.props,null,e.mode,r)).ref=an(e,null,t),r.return=e,r;case I:return(t=li(t,e.mode,r)).return=e,t;case L:return f(e,(0,t._init)(t._payload),r)}if(eg(t)||H(t))return(t=ln(t,e.mode,r,null)).return=e,t;ao(e,t)}return null}function p(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return r.key===o?l(e,t,r,n):null;case I:return r.key===o?u(e,t,r,n):null;case L:return p(e,t,(o=r._init)(r._payload),n)}if(eg(r)||H(r))return null!==o?null:c(e,t,r,n,null);ao(e,r)}return null}function h(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return l(t,e=e.get(null===n.key?r:n.key)||null,n,o);case I:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o);case L:return h(e,t,r,(0,n._init)(n._payload),o)}if(eg(n)||H(n))return c(t,e=e.get(r)||null,n,o,null);ao(t,n)}return null}return function s(l,u,c,m){if("object"==typeof c&&null!==c&&c.type===T&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case _:e:{for(var g=c.key,v=u;null!==v;){if(v.key===g){if((g=c.type)===T){if(7===v.tag){r(l,v.sibling),(u=o(v,c.props.children)).return=l,l=u;break e}}else if(v.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===L&&aa(g)===v.type){r(l,v.sibling),(u=o(v,c.props)).ref=an(l,v,c),u.return=l,l=u;break e}r(l,v);break}t(l,v),v=v.sibling}c.type===T?((u=ln(c.props.children,l.mode,m,c.key)).return=l,l=u):((m=lr(c.type,c.key,c.props,null,l.mode,m)).ref=an(l,u,c),m.return=l,l=m)}return i(l);case I:e:{for(v=c.key;null!==u;){if(u.key===v){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){r(l,u.sibling),(u=o(u,c.children||[])).return=l,l=u;break e}r(l,u);break}t(l,u),u=u.sibling}(u=li(c,l.mode,m)).return=l,l=u}return i(l);case L:return s(l,u,(v=c._init)(c._payload),m)}if(eg(c))return function(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return r(o,d),oA&&ob(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return oA&&ob(o,m),u}for(d=n(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),oA&&ob(o,m),u}(l,u,c,m);if(H(c))return function(o,i,s,l){var u=H(s);if("function"!=typeof u)throw Error(d(150));if(null==(s=u.call(s)))throw Error(d(151));for(var c=u=null,m=i,g=i=0,v=null,y=s.next();null!==m&&!y.done;g++,y=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,l);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,g),null===c?u=b:c.sibling=b,c=b,m=v}if(y.done)return r(o,m),oA&&ob(o,g),u;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(o,y.value,l))&&(i=a(y,i,g),null===c?u=y:c.sibling=y,c=y);return oA&&ob(o,g),u}for(m=n(o,m);!y.done;g++,y=s.next())null!==(y=h(m,o,g,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),i=a(y,i,g),null===c?u=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(o,e)}),oA&&ob(o,g),u}(l,u,c,m);ao(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(r(l,u.sibling),(u=o(u,c)).return=l):(r(l,u),(u=la(c,l.mode,m)).return=l),i(l=u)):r(l,u)}}var as=ai(!0),al=ai(!1),au={},ac=n1(au),ad=n1(au),af=n1(au);function ap(e){if(e===au)throw Error(d(174));return e}function ah(e,t){switch(n8(af,t),n8(ad,e),n8(ac,au),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:eE(null,"");break;default:t=eE(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}n2(ac),n8(ac,t)}function am(){n2(ac),n2(ad),n2(af)}function ag(e){ap(af.current);var t=ap(ac.current),r=eE(t,e.type);t!==r&&(n8(ad,e),n8(ac,r))}function av(e){ad.current===e&&(n2(ac),n2(ad))}var ay=n1(0);function ab(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aw=[];function aS(){for(var e=0;e<aw.length;e++)aw[e]._workInProgressVersionPrimary=null;aw.length=0}var ax=k.ReactCurrentDispatcher,aE=k.ReactCurrentBatchConfig,aC=0,aA=null,ak=null,a_=null,aI=!1,aT=!1,aP=0,aN=0;function aO(){throw Error(d(321))}function aM(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!r$(e[r],t[r]))return!1;return!0}function aj(e,t,r,n,o,a){if(aC=a,aA=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ax.current=null===e||null===e.memoizedState?il:iu,e=r(n,o),aT){a=0;do{if(aT=!1,aP=0,25<=a)throw Error(d(301));a+=1,a_=ak=null,t.updateQueue=null,ax.current=ic,e=r(n,o)}while(aT)}if(ax.current=is,t=null!==ak&&null!==ak.next,aC=0,a_=ak=aA=null,aI=!1,t)throw Error(d(300));return e}function aF(){var e=0!==aP;return aP=0,e}function aR(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===a_?aA.memoizedState=a_=e:a_=a_.next=e,a_}function aU(){if(null===ak){var e=aA.alternate;e=null!==e?e.memoizedState:null}else e=ak.next;var t=null===a_?aA.memoizedState:a_.next;if(null!==t)a_=t,ak=e;else{if(null===e)throw Error(d(310));e={memoizedState:(ak=e).memoizedState,baseState:ak.baseState,baseQueue:ak.baseQueue,queue:ak.queue,next:null},null===a_?aA.memoizedState=a_=e:a_=a_.next=e}return a_}function aL(e,t){return"function"==typeof t?t(e):t}function aD(e){var t=aU(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=ak,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,n=n.baseState;var s=i=null,l=null,u=a;do{var c=u.lane;if((aC&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(s=l=f,i=n):l=l.next=f,aA.lanes|=c,sv|=c}u=u.next}while(null!==u&&u!==a)null===l?i=n:l.next=s,r$(n,t.memoizedState)||(ix=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do a=o.lane,aA.lanes|=a,sv|=a,o=o.next;while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function aV(e){var t=aU(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o)r$(a,t.memoizedState)||(ix=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function aH(){}function aZ(e,t){var r=aA,n=aU(),o=t(),a=!r$(n.memoizedState,o);if(a&&(n.memoizedState=o,ix=!0),n=n.queue,a0(aW.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==a_&&1&a_.memoizedState.tag){if(r.flags|=2048,a$(9,az.bind(null,r,n,o,t),void 0,null),null===sc)throw Error(d(349));0!=(30&aC)||aB(r,t,o)}return o}function aB(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=aA.updateQueue)?(t={lastEffect:null,stores:null},aA.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function az(e,t,r,n){t.value=r,t.getSnapshot=n,aG(t)&&aq(e)}function aW(e,t,r){return r(function(){aG(t)&&aq(e)})}function aG(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!r$(e,r)}catch(e){return!0}}function aq(e){var t=oK(e,1);null!==t&&sU(t,e,1,-1)}function aY(e){var t=aR();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:aL,lastRenderedState:e},t.queue=e,e=e.dispatch=ir.bind(null,aA,e),[t.memoizedState,e]}function a$(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=aA.updateQueue)?(t={lastEffect:null,stores:null},aA.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function aK(){return aU().memoizedState}function aJ(e,t,r,n){var o=aR();aA.flags|=e,o.memoizedState=a$(1|t,r,void 0,void 0===n?null:n)}function aQ(e,t,r,n){var o=aU();n=void 0===n?null:n;var a=void 0;if(null!==ak){var i=ak.memoizedState;if(a=i.destroy,null!==n&&aM(n,i.deps)){o.memoizedState=a$(t,r,a,n);return}}aA.flags|=e,o.memoizedState=a$(1|t,r,a,n)}function aX(e,t){return aJ(8390656,8,e,t)}function a0(e,t){return aQ(2048,8,e,t)}function a1(e,t){return aQ(4,2,e,t)}function a2(e,t){return aQ(4,4,e,t)}function a8(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function a6(e,t,r){return r=null!=r?r.concat([e]):null,aQ(4,4,a8.bind(null,t,e),r)}function a4(){}function a3(e,t){var r=aU();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&aM(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function a5(e,t){var r=aU();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&aM(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function a7(e,t,r){return 0==(21&aC)?(e.baseState&&(e.baseState=!1,ix=!0),e.memoizedState=r):(r$(r,t)||(r=ty(),aA.lanes|=r,sv|=r,e.baseState=!0),t)}function a9(e,t){var r=tx;tx=0!==r&&4>r?r:4,e(!0);var n=aE.transition;aE.transition={};try{e(!1),t()}finally{tx=r,aE.transition=n}}function ie(){return aU().memoizedState}function it(e,t,r){var n=sR(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},io(e)?ia(t,r):null!==(r=o$(e,t,r,n))&&(sU(r,e,n,sF()),ii(r,t,n))}function ir(e,t,r){var n=sR(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(io(e))ia(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,r);if(o.hasEagerState=!0,o.eagerState=s,r$(s,i)){var l=t.interleaved;null===l?(o.next=o,oY(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch(e){}finally{}null!==(r=o$(e,t,o,n))&&(sU(r,e,n,o=sF()),ii(r,t,n))}}function io(e){var t=e.alternate;return e===aA||null!==t&&t===aA}function ia(e,t){aT=aI=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ii(e,t,r){if(0!=(4194240&r)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tS(e,r)}}var is={readContext:oG,useCallback:aO,useContext:aO,useEffect:aO,useImperativeHandle:aO,useInsertionEffect:aO,useLayoutEffect:aO,useMemo:aO,useReducer:aO,useRef:aO,useState:aO,useDebugValue:aO,useDeferredValue:aO,useTransition:aO,useMutableSource:aO,useSyncExternalStore:aO,useId:aO,unstable_isNewReconciler:!1},il={readContext:oG,useCallback:function(e,t){return aR().memoizedState=[e,void 0===t?null:t],e},useContext:oG,useEffect:aX,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,aJ(4194308,4,a8.bind(null,t,e),r)},useLayoutEffect:function(e,t){return aJ(4194308,4,e,t)},useInsertionEffect:function(e,t){return aJ(4,2,e,t)},useMemo:function(e,t){var r=aR();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=aR();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=it.bind(null,aA,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},aR().memoizedState=e},useState:aY,useDebugValue:a4,useDeferredValue:function(e){return aR().memoizedState=e},useTransition:function(){var e=aY(!1),t=e[0];return e=a9.bind(null,e[1]),aR().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=aA,o=aR();if(oA){if(void 0===r)throw Error(d(407));r=r()}else{if(r=t(),null===sc)throw Error(d(349));0!=(30&aC)||aB(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,aX(aW.bind(null,n,a,e),[e]),n.flags|=2048,a$(9,az.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=aR(),t=sc.identifierPrefix;if(oA){var r=oy,n=ov;t=":"+t+"R"+(r=(n&~(1<<32-tc(n)-1)).toString(32)+r),0<(r=aP++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=aN++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},iu={readContext:oG,useCallback:a3,useContext:oG,useEffect:a0,useImperativeHandle:a6,useInsertionEffect:a1,useLayoutEffect:a2,useMemo:a5,useReducer:aD,useRef:aK,useState:function(){return aD(aL)},useDebugValue:a4,useDeferredValue:function(e){return a7(aU(),ak.memoizedState,e)},useTransition:function(){return[aD(aL)[0],aU().memoizedState]},useMutableSource:aH,useSyncExternalStore:aZ,useId:ie,unstable_isNewReconciler:!1},ic={readContext:oG,useCallback:a3,useContext:oG,useEffect:a0,useImperativeHandle:a6,useInsertionEffect:a1,useLayoutEffect:a2,useMemo:a5,useReducer:aV,useRef:aK,useState:function(){return aV(aL)},useDebugValue:a4,useDeferredValue:function(e){var t=aU();return null===ak?t.memoizedState=e:a7(t,ak.memoizedState,e)},useTransition:function(){return[aV(aL)[0],aU().memoizedState]},useMutableSource:aH,useSyncExternalStore:aZ,useId:ie,unstable_isNewReconciler:!1};function id(e,t){try{var r="",n=t;do r+=function(e){switch(e.tag){case 5:return er(e.type);case 16:return er("Lazy");case 13:return er("Suspense");case 19:return er("SuspenseList");case 0:case 2:case 15:return e=eo(e.type,!1);case 11:return e=eo(e.type.render,!1);case 1:return e=eo(e.type,!0);default:return""}}(n),n=n.return;while(n)var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ip(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ih(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var im="function"==typeof WeakMap?WeakMap:Map;function ig(e,t,r){(r=o0(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){sA||(sA=!0,sk=n),ih(e,t)},r}function iv(e,t,r){(r=o0(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ih(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){ih(e,t),"function"!=typeof n&&(null===s_?s_=new Set([this]):s_.add(this));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}function iy(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new im;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=s6.bind(null,e,t,r),t.then(e,e))}function ib(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e)return null}function iw(e,t,r,n,o){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=o0(-1,1)).tag=2,o1(r,t,1))),r.lanes|=1):(e.flags|=65536,e.lanes=o),e}var iS=k.ReactCurrentOwner,ix=!1;function iE(e,t,r,n){t.child=null===e?al(t,null,r,n):as(t,e.child,r,n)}function iC(e,t,r,n,o){r=r.render;var a=t.ref;return(oW(t,o),n=aj(e,t,r,n,a,o),r=aF(),null===e||ix)?(oA&&r&&oS(t),t.flags|=1,iE(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iB(e,t,o))}function iA(e,t,r,n,o){if(null===e){var a=r.type;return"function"!=typeof a||le(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=lr(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ik(e,t,a,n,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((r=null!==(r=r.compare)?r:rK)(i,n)&&e.ref===t.ref)return iB(e,t,o)}return t.flags|=1,(e=lt(a,n)).ref=t.ref,e.return=t,t.child=e}function ik(e,t,r,n,o){if(null!==e){var a=e.memoizedProps;if(rK(a,n)&&e.ref===t.ref){if(ix=!1,t.pendingProps=n=a,0==(e.lanes&o))return t.lanes=e.lanes,iB(e,t,o);0!=(131072&e.flags)&&(ix=!0)}}return iT(e,t,r,n,o)}function i_(e,t,r){var n=t.pendingProps,o=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n8(sh,sp),sp|=r;else{if(0==(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,n8(sh,sp),sp|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,n8(sh,sp),sp|=n}}else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,n8(sh,sp),sp|=n;return iE(e,t,o,r),t.child}function iI(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function iT(e,t,r,n,o){var a=n9(r)?n5:n4.current;return(a=n7(t,a),oW(t,o),r=aj(e,t,r,n,a,o),n=aF(),null===e||ix)?(oA&&n&&oS(t),t.flags|=1,iE(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iB(e,t,o))}function iP(e,t,r,n,o){if(n9(r)){var a=!0;on(t)}else a=!1;if(oW(t,o),null===t.stateNode)iZ(e,t),ae(t,r,n),ar(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;u="object"==typeof u&&null!==u?oG(u):n7(t,u=n9(r)?n5:n4.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||l!==u)&&at(t,i,n,u),oJ=!1;var f=t.memoizedState;i.state=f,o6(t,n,i,o),l=t.memoizedState,s!==n||f!==l||n3.current||oJ?("function"==typeof c&&(o5(t,r,c,n),l=t.memoizedState),(s=oJ||o9(t,r,s,n,f,l,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=u,n=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,oX(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:oU(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l="object"==typeof(l=r.contextType)&&null!==l?oG(l):n7(t,l=n9(r)?n5:n4.current);var p=r.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&at(t,i,n,l),oJ=!1,f=t.memoizedState,i.state=f,o6(t,n,i,o);var h=t.memoizedState;s!==d||f!==h||n3.current||oJ?("function"==typeof p&&(o5(t,r,p,n),h=t.memoizedState),(u=oJ||o9(t,r,u,n,f,h,l)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=l,n=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return iN(e,t,r,n,a,o)}function iN(e,t,r,n,o,a){iI(e,t);var i=0!=(128&t.flags);if(!n&&!i)return o&&oo(t,r,!1),iB(e,t,a);n=t.stateNode,iS.current=t;var s=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=as(t,e.child,null,a),t.child=as(t,null,s,a)):iE(e,t,s,a),t.memoizedState=n.state,o&&oo(t,r,!0),t.child}function iO(e){var t=e.stateNode;t.pendingContext?ot(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ot(e,t.context,!1),ah(e,t.containerInfo)}function iM(e,t,r,n,o){return oj(),oF(o),t.flags|=256,iE(e,t,r,n),t.child}var ij={dehydrated:null,treeContext:null,retryLane:0};function iF(e){return{baseLanes:e,cachePool:null,transitions:null}}function iR(e,t,r){var n,o=t.pendingProps,a=ay.current,i=!1,s=0!=(128&t.flags);if((n=s)||(n=(null===e||null!==e.memoizedState)&&0!=(2&a)),n?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),n8(ay,1&a),null===e)return(oP(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,i?(o=t.mode,i=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=s):i=lo(s,o,0,null),e=ln(e,o,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iF(r),t.memoizedState=ij,e):iU(t,s));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,o,a,i){if(r)return 256&t.flags?(t.flags&=-257,iL(e,t,i,n=ip(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=lo({mode:"visible",children:n.children},o,0,null),a=ln(a,o,i,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,0!=(1&t.mode)&&as(t,e.child,null,i),t.child.memoizedState=iF(i),t.memoizedState=ij,a);if(0==(1&t.mode))return iL(e,t,i,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var s=n.dgst;return n=s,iL(e,t,i,n=ip(a=Error(d(419)),n,void 0))}if(s=0!=(i&e.childLanes),ix||s){if(null!==(n=sc)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(n.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,oK(e,o),sU(n,e,o,-1))}return sK(),iL(e,t,i,n=ip(Error(d(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=s3.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oC=nV(o.nextSibling),oE=t,oA=!0,ok=null,null!==e&&(oh[om++]=ov,oh[om++]=oy,oh[om++]=og,ov=e.id,oy=e.overflow,og=t),t=iU(t,n.children),t.flags|=4096,t)}(e,t,s,o,n,a,r);if(i){i=o.fallback,s=t.mode,n=(a=e.child).sibling;var l={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=l,t.deletions=null):(o=lt(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==n?i=lt(n,i):(i=ln(i,s,r,null),i.flags|=2),i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,s=null===(s=e.child.memoizedState)?iF(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~r,t.memoizedState=ij,o}return e=(i=e.child).sibling,o=lt(i,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function iU(e,t){return(t=lo({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iL(e,t,r,n){return null!==n&&oF(n),as(t,e.child,null,r),e=iU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iD(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oz(e.return,t,r)}function iV(e,t,r,n,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function iH(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(iE(e,t,n.children,r),0!=(2&(n=ay.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iD(e,r,t);else if(19===e.tag)iD(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(n8(ay,n),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(o=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===ab(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),iV(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ab(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}iV(t,!0,r,null,a);break;case"together":iV(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iZ(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iB(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),sv|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(r=lt(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=lt(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function iz(e,t){if(!oA)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function iW(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}n=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},o=function(){},a=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,ap(ac.current);var a,i=null;switch(r){case"input":o=ec(e,o),n=ec(e,n),i=[];break;case"select":o=et({},o,{value:void 0}),n=et({},n,{value:void 0}),i=[];break;case"textarea":o=ey(e,o),n=ey(e,n),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=nP)}for(u in eM(r,n),r=null,o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u]){if("style"===u){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null))}for(u in n){var l=n[u];if(s=null!=o?o[u]:void 0,n.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s)){if("style"===u){if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(i||(i=[]),i.push(u,r)),r=l}else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(i=i||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&nm("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},s=function(e,t,r,n){r!==n&&(t.flags|=4)};var iG=!1,iq=!1,iY="function"==typeof WeakSet?WeakSet:Set,i$=null;function iK(e,t){var r=e.ref;if(null!==r){if("function"==typeof r)try{r(null)}catch(r){s8(e,t,r)}else r.current=null}}function iJ(e,t,r){try{r()}catch(r){s8(e,t,r)}}var iQ=!1;function iX(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&iJ(t,r,a)}o=o.next}while(o!==n)}}function i0(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function i1(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function i2(e){return 5===e.tag||3===e.tag||4===e.tag}function i8(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||i2(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var i6=null,i4=!1;function i3(e,t,r){for(r=r.child;null!==r;)i5(e,t,r),r=r.sibling}function i5(e,t,r){if(tu&&"function"==typeof tu.onCommitFiberUnmount)try{tu.onCommitFiberUnmount(tl,r)}catch(e){}switch(r.tag){case 5:iq||iK(r,t);case 6:var n=i6,o=i4;i6=null,i3(e,t,r),i6=n,i4=o,null!==i6&&(i4?(e=i6,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):i6.removeChild(r.stateNode));break;case 18:null!==i6&&(i4?(e=i6,r=r.stateNode,8===e.nodeType?nD(e.parentNode,r):1===e.nodeType&&nD(e,r),tG(e)):nD(i6,r.stateNode));break;case 4:n=i6,o=i4,i6=r.stateNode.containerInfo,i4=!0,i3(e,t,r),i6=n,i4=o;break;case 0:case 11:case 14:case 15:if(!iq&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)?iJ(r,t,i):0!=(4&a)&&iJ(r,t,i)),o=o.next}while(o!==n)}i3(e,t,r);break;case 1:if(!iq&&(iK(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){s8(r,t,e)}i3(e,t,r);break;case 21:default:i3(e,t,r);break;case 22:1&r.mode?(iq=(n=iq)||null!==r.memoizedState,i3(e,t,r),iq=n):i3(e,t,r)}}function i7(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new iY),t.forEach(function(t){var n=s5.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function i9(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var a=t,i=a;e:for(;null!==i;){switch(i.tag){case 5:i6=i.stateNode,i4=!1;break e;case 3:case 4:i6=i.stateNode.containerInfo,i4=!0;break e}i=i.return}if(null===i6)throw Error(d(160));i5(e,a,o),i6=null,i4=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){s8(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)se(t,e),t=t.sibling}function se(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i9(t,e),st(e),4&n){try{iX(3,e,e.return),i0(3,e)}catch(t){s8(e,e.return,t)}try{iX(5,e,e.return)}catch(t){s8(e,e.return,t)}}break;case 1:i9(t,e),st(e),512&n&&null!==r&&iK(r,r.return);break;case 5:if(i9(t,e),st(e),512&n&&null!==r&&iK(r,r.return),32&e.flags){var o=e.stateNode;try{e_(o,"")}catch(t){s8(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==r?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===a.type&&null!=a.name&&ef(o,a),ej(s,i);var u=ej(s,a);for(i=0;i<l.length;i+=2){var c=l[i],f=l[i+1];"style"===c?eN(o,f):"dangerouslySetInnerHTML"===c?ek(o,f):"children"===c?e_(o,f):A(o,c,f,u)}switch(s){case"input":ep(o,a);break;case"textarea":ew(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ev(o,!!a.multiple,h,!1):!!a.multiple!==p&&(null!=a.defaultValue?ev(o,!!a.multiple,a.defaultValue,!0):ev(o,!!a.multiple,a.multiple?[]:"",!1))}o[nz]=a}catch(t){s8(e,e.return,t)}}break;case 6:if(i9(t,e),st(e),4&n){if(null===e.stateNode)throw Error(d(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){s8(e,e.return,t)}}break;case 3:if(i9(t,e),st(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{tG(t.containerInfo)}catch(t){s8(e,e.return,t)}break;case 4:default:i9(t,e),st(e);break;case 13:i9(t,e),st(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,a&&(null===o.alternate||null===o.alternate.memoizedState)&&(sx=tt())),4&n&&i7(e);break;case 22:if(c=null!==r&&null!==r.memoizedState,1&e.mode?(iq=(u=iq)||c,i9(t,e),iq=u):i9(t,e),st(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(i$=e,c=e.child;null!==c;){for(f=i$=c;null!==i$;){switch(h=(p=i$).child,p.tag){case 0:case 11:case 14:case 15:iX(4,p,p.return);break;case 1:iK(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){n=p,r=p.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){s8(n,r,e)}}break;case 5:iK(p,p.return);break;case 22:if(null!==p.memoizedState){sn(f);continue}}null!==h?(h.return=p,i$=h):sn(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{o=f.stateNode,u?(a=o.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(s=f.stateNode,i=null!=(l=f.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=eP("display",i))}catch(t){s8(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){s8(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:i9(t,e),st(e),4&n&&i7(e);case 21:}}function st(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(i2(r)){var n=r;break e}r=r.return}throw Error(d(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(e_(o,""),n.flags&=-33);var a=i8(e);!function e(t,r,n){var o=t.tag;if(5===o||6===o)t=t.stateNode,r?n.insertBefore(t,r):n.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,a,o);break;case 3:case 4:var i=n.stateNode.containerInfo,s=i8(e);!function e(t,r,n){var o=t.tag;if(5===o||6===o)t=t.stateNode,r?8===n.nodeType?n.parentNode.insertBefore(t,r):n.insertBefore(t,r):(8===n.nodeType?(r=n.parentNode).insertBefore(t,n):(r=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==r.onclick||(r.onclick=nP));else if(4!==o&&null!==(t=t.child))for(e(t,r,n),t=t.sibling;null!==t;)e(t,r,n),t=t.sibling}(e,s,i);break;default:throw Error(d(161))}}catch(t){s8(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sr(e){for(;null!==i$;){var t=i$;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:iq||i0(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!iq){if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:oU(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}}var a=t.updateQueue;null!==a&&o4(t,a,n);break;case 3:var i=t.updateQueue;if(null!==i){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}o4(t,i,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tG(f)}}}break;default:throw Error(d(163))}iq||512&t.flags&&i1(t)}catch(e){s8(t,t.return,e)}}if(t===e){i$=null;break}if(null!==(r=t.sibling)){r.return=t.return,i$=r;break}i$=t.return}}function sn(e){for(;null!==i$;){var t=i$;if(t===e){i$=null;break}var r=t.sibling;if(null!==r){r.return=t.return,i$=r;break}i$=t.return}}function so(e){for(;null!==i$;){var t=i$;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{i0(4,t)}catch(e){s8(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){s8(t,o,e)}}var a=t.return;try{i1(t)}catch(e){s8(t,a,e)}break;case 5:var i=t.return;try{i1(t)}catch(e){s8(t,i,e)}}}catch(e){s8(t,t.return,e)}if(t===e){i$=null;break}var s=t.sibling;if(null!==s){s.return=t.return,i$=s;break}i$=t.return}}var sa=Math.ceil,si=k.ReactCurrentDispatcher,ss=k.ReactCurrentOwner,sl=k.ReactCurrentBatchConfig,su=0,sc=null,sd=null,sf=0,sp=0,sh=n1(0),sm=0,sg=null,sv=0,sy=0,sb=0,sw=null,sS=null,sx=0,sE=1/0,sC=null,sA=!1,sk=null,s_=null,sI=!1,sT=null,sP=0,sN=0,sO=null,sM=-1,sj=0;function sF(){return 0!=(6&su)?tt():-1!==sM?sM:sM=tt()}function sR(e){return 0==(1&e.mode)?1:0!=(2&su)&&0!==sf?sf&-sf:null!==oR.transition?(0===sj&&(sj=ty()),sj):0!==(e=tx)?e:e=void 0===(e=window.event)?16:t0(e.type)}function sU(e,t,r,n){if(50<sN)throw sN=0,sO=null,Error(d(185));tw(e,r,n),(0==(2&su)||e!==sc)&&(e===sc&&(0==(2&su)&&(sy|=r),4===sm&&sZ(e,sf)),sL(e,n),1===r&&0===su&&0==(1&t.mode)&&(sE=tt()+500,oi&&ou()))}function sL(e,t){var r,n,o,a=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-tc(a),s=1<<i,l=o[i];-1===l?(0==(s&r)||0!=(s&n))&&(o[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var i=tg(e,e===sc?sf:0);if(0===i)null!==a&&e7(a),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=a&&e7(a),1===t)0===e.tag?(o=sB.bind(null,e),oi=!0,ol(o)):ol(sB.bind(null,e)),nU(function(){0==(6&su)&&ou()}),a=null;else{switch(tE(i)){case 1:a=tn;break;case 4:a=to;break;case 16:default:a=ta;break;case 536870912:a=ts}a=e5(a,sD.bind(null,e))}e.callbackPriority=t,e.callbackNode=a}}function sD(e,t){if(sM=-1,sj=0,0!=(6&su))throw Error(d(327));var r=e.callbackNode;if(s1()&&e.callbackNode!==r)return null;var n=tg(e,e===sc?sf:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=sJ(e,n);else{t=n;var o=su;su|=2;var a=s$();for((sc!==e||sf!==t)&&(sC=null,sE=tt()+500,sq(e,t));;)try{(function(){for(;null!==sd&&!e9();)sQ(sd)})();break}catch(t){sY(e,t)}oZ(),si.current=a,su=o,null!==sd?t=0:(sc=null,sf=0,t=sm)}if(0!==t){if(2===t&&0!==(o=tv(e))&&(n=o,t=sV(e,o)),1===t)throw r=sg,sq(e,0),sZ(e,n),sL(e,tt()),r;if(6===t)sZ(e,n);else{if(o=e.current.alternate,0==(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!r$(a(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=sJ(e,n))&&0!==(a=tv(e))&&(n=a,t=sV(e,a)),1===t))throw r=sg,sq(e,0),sZ(e,n),sL(e,tt()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(d(345));case 2:case 5:s0(e,sS,sC);break;case 3:if(sZ(e,n),(130023424&n)===n&&10<(t=sx+500-tt())){if(0!==tg(e,0))break;if(((o=e.suspendedLanes)&n)!==n){sF(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=nj(s0.bind(null,e,sS,sC),t);break}s0(e,sS,sC);break;case 4:if(sZ(e,n),(4194240&n)===n)break;for(o=-1,t=e.eventTimes;0<n;){var i=31-tc(n);a=1<<i,(i=t[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=tt()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*sa(n/1960))-n)){e.timeoutHandle=nj(s0.bind(null,e,sS,sC),n);break}s0(e,sS,sC);break;default:throw Error(d(329))}}}return sL(e,tt()),e.callbackNode===r?sD.bind(null,e):null}function sV(e,t){var r=sw;return e.current.memoizedState.isDehydrated&&(sq(e,t).flags|=256),2!==(e=sJ(e,t))&&(t=sS,sS=r,null!==t&&sH(t)),e}function sH(e){null===sS?sS=e:sS.push.apply(sS,e)}function sZ(e,t){for(t&=~sb,t&=~sy,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-tc(t),n=1<<r;e[r]=-1,t&=~n}}function sB(e){if(0!=(6&su))throw Error(d(327));s1();var t=tg(e,0);if(0==(1&t))return sL(e,tt()),null;var r=sJ(e,t);if(0!==e.tag&&2===r){var n=tv(e);0!==n&&(t=n,r=sV(e,n))}if(1===r)throw r=sg,sq(e,0),sZ(e,t),sL(e,tt()),r;if(6===r)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,s0(e,sS,sC),sL(e,tt()),null}function sz(e,t){var r=su;su|=1;try{return e(t)}finally{0===(su=r)&&(sE=tt()+500,oi&&ou())}}function sW(e){null!==sT&&0===sT.tag&&0==(6&su)&&s1();var t=su;su|=1;var r=sl.transition,n=tx;try{if(sl.transition=null,tx=1,e)return e()}finally{tx=n,sl.transition=r,0==(6&(su=t))&&ou()}}function sG(){sp=sh.current,n2(sh)}function sq(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nF(r)),null!==sd)for(r=sd.return;null!==r;){var n=r;switch(ox(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&oe();break;case 3:am(),n2(n3),n2(n4),aS();break;case 5:av(n);break;case 4:am();break;case 13:case 19:n2(ay);break;case 10:oB(n.type._context);break;case 22:case 23:sG()}r=r.return}if(sc=e,sd=e=lt(e.current,null),sf=sp=t,sm=0,sg=null,sb=sy=sv=0,sS=sw=null,null!==oq){for(t=0;t<oq.length;t++)if(null!==(n=(r=oq[t]).interleaved)){r.interleaved=null;var o=n.next,a=r.pending;if(null!==a){var i=a.next;a.next=o,n.next=i}r.pending=n}oq=null}return e}function sY(e,t){for(;;){var r=sd;try{if(oZ(),ax.current=is,aI){for(var n=aA.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}aI=!1}if(aC=0,a_=ak=aA=null,aT=!1,aP=0,ss.current=null,null===r||null===r.return){sm=1,sg=t,sd=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=sf,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,c=s,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ib(i);if(null!==h){h.flags&=-257,iw(h,i,s,a,t),1&h.mode&&iy(a,u,t),t=h,l=u;var m=t.updateQueue;if(null===m){var g=new Set;g.add(l),t.updateQueue=g}else m.add(l);break e}if(0==(1&t)){iy(a,u,t),sK();break e}l=Error(d(426))}else if(oA&&1&s.mode){var v=ib(i);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),iw(v,i,s,a,t),oF(id(l,s));break e}}a=l=id(l,s),4!==sm&&(sm=2),null===sw?sw=[a]:sw.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var y=ig(a,l,t);o8(a,y);break e;case 1:s=l;var b=a.type,w=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===s_||!s_.has(w)))){a.flags|=65536,t&=-t,a.lanes|=t;var S=iv(a,s,t);o8(a,S);break e}}a=a.return}while(null!==a)}sX(r)}catch(e){t=e,sd===r&&null!==r&&(sd=r=r.return);continue}break}}function s$(){var e=si.current;return si.current=is,null===e?is:e}function sK(){(0===sm||3===sm||2===sm)&&(sm=4),null===sc||0==(268435455&sv)&&0==(268435455&sy)||sZ(sc,sf)}function sJ(e,t){var r=su;su|=2;var n=s$();for((sc!==e||sf!==t)&&(sC=null,sq(e,t));;)try{(function(){for(;null!==sd;)sQ(sd)})();break}catch(t){sY(e,t)}if(oZ(),su=r,si.current=n,null!==sd)throw Error(d(261));return sc=null,sf=0,sm}function sQ(e){var t=l(e.alternate,e,sp);e.memoizedProps=e.pendingProps,null===t?sX(e):sd=t,ss.current=null}function sX(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=function(e,t,r){var i=t.pendingProps;switch(ox(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iW(t),null;case 1:case 17:return n9(t.type)&&oe(),iW(t),null;case 3:return i=t.stateNode,am(),n2(n3),n2(n4),aS(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===e||null===e.child)&&(oO(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ok&&(sH(ok),ok=null))),o(e,t),iW(t),null;case 5:av(t);var l=ap(af.current);if(r=t.type,null!==e&&null!=t.stateNode)a(e,t,r,i,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(d(166));return iW(t),null}if(e=ap(ac.current),oO(t)){i=t.stateNode,r=t.type;var u=t.memoizedProps;switch(i[nB]=t,i[nz]=u,e=0!=(1&t.mode),r){case"dialog":nm("cancel",i),nm("close",i);break;case"iframe":case"object":case"embed":nm("load",i);break;case"video":case"audio":for(l=0;l<nd.length;l++)nm(nd[l],i);break;case"source":nm("error",i);break;case"img":case"image":case"link":nm("error",i),nm("load",i);break;case"details":nm("toggle",i);break;case"input":ed(i,u),nm("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!u.multiple},nm("invalid",i);break;case"textarea":eb(i,u),nm("invalid",i)}for(var c in eM(r,u),l=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?i.textContent!==f&&(!0!==u.suppressHydrationWarning&&nT(i.textContent,f,e),l=["children",f]):"number"==typeof f&&i.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&nT(i.textContent,f,e),l=["children",""+f]):p.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&nm("scroll",i)}switch(r){case"input":es(i),eh(i,u,!0);break;case"textarea":es(i),eS(i);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(i.onclick=nP)}i=l,t.updateQueue=i,null!==i&&(t.flags|=4)}else{c=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ex(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=c.createElement(r,{is:i.is}):(e=c.createElement(r),"select"===r&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,r),e[nB]=t,e[nz]=i,n(e,t,!1,!1),t.stateNode=e;e:{switch(c=ej(r,i),r){case"dialog":nm("cancel",e),nm("close",e),l=i;break;case"iframe":case"object":case"embed":nm("load",e),l=i;break;case"video":case"audio":for(l=0;l<nd.length;l++)nm(nd[l],e);l=i;break;case"source":nm("error",e),l=i;break;case"img":case"image":case"link":nm("error",e),nm("load",e),l=i;break;case"details":nm("toggle",e),l=i;break;case"input":ed(e,i),l=ec(e,i),nm("invalid",e);break;case"option":default:l=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},l=et({},i,{value:void 0}),nm("invalid",e);break;case"textarea":eb(e,i),l=ey(e,i),nm("invalid",e)}for(u in eM(r,l),f=l)if(f.hasOwnProperty(u)){var h=f[u];"style"===u?eN(e,h):"dangerouslySetInnerHTML"===u?null!=(h=h?h.__html:void 0)&&ek(e,h):"children"===u?"string"==typeof h?("textarea"!==r||""!==h)&&e_(e,h):"number"==typeof h&&e_(e,""+h):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?null!=h&&"onScroll"===u&&nm("scroll",e):null!=h&&A(e,u,h,c))}switch(r){case"input":es(e),eh(e,i,!1);break;case"textarea":es(e),eS(e);break;case"option":null!=i.value&&e.setAttribute("value",""+ea(i.value));break;case"select":e.multiple=!!i.multiple,null!=(u=i.value)?ev(e,!!i.multiple,u,!1):null!=i.defaultValue&&ev(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=nP)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iW(t),null;case 6:if(e&&null!=t.stateNode)s(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(d(166));if(r=ap(af.current),ap(ac.current),oO(t)){if(i=t.stateNode,r=t.memoizedProps,i[nB]=t,(u=i.nodeValue!==r)&&null!==(e=oE))switch(e.tag){case 3:nT(i.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&nT(i.nodeValue,r,0!=(1&e.mode))}u&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[nB]=t,t.stateNode=i}return iW(t),null;case 13:if(n2(ay),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oA&&null!==oC&&0!=(1&t.mode)&&0==(128&t.flags))oM(),oj(),t.flags|=98560,u=!1;else if(u=oO(t),null!==i&&null!==i.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[nB]=t}else oj(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iW(t),u=!1}else null!==ok&&(sH(ok),ok=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=r,t;return(i=null!==i)!=(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ay.current)?0===sm&&(sm=3):sK())),null!==t.updateQueue&&(t.flags|=4),iW(t),null;case 4:return am(),o(e,t),null===e&&ny(t.stateNode.containerInfo),iW(t),null;case 10:return oB(t.type._context),iW(t),null;case 19:if(n2(ay),null===(u=t.memoizedState))return iW(t),null;if(i=0!=(128&t.flags),null===(c=u.rendering)){if(i)iz(u,!1);else{if(0!==sm||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=ab(e))){for(t.flags|=128,iz(u,!1),null!==(i=c.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)u=r,e=i,u.flags&=14680066,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return n8(ay,1&ay.current|2),t.child}e=e.sibling}null!==u.tail&&tt()>sE&&(t.flags|=128,i=!0,iz(u,!1),t.lanes=4194304)}}else{if(!i){if(null!==(e=ab(c))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),iz(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!oA)return iW(t),null}else 2*tt()-u.renderingStartTime>sE&&1073741824!==r&&(t.flags|=128,i=!0,iz(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=u.last)?r.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=tt(),t.sibling=null,r=ay.current,n8(ay,i?1&r|2:1&r),t;return iW(t),null;case 22:case 23:return sG(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&0!=(1&t.mode)?0!=(1073741824&sp)&&(iW(t),6&t.subtreeFlags&&(t.flags|=8192)):iW(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}(r,t,sp))){sd=r;return}}else{if(null!==(r=function(e,t){switch(ox(t),t.tag){case 1:return n9(t.type)&&oe(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return am(),n2(n3),n2(n4),aS(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return av(t),null;case 13:if(n2(ay),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));oj()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return n2(ay),null;case 4:return am(),null;case 10:return oB(t.type._context),null;case 22:case 23:return sG(),null;default:return null}}(r,t))){r.flags&=32767,sd=r;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{sm=6,sd=null;return}}if(null!==(t=t.sibling)){sd=t;return}sd=t=e}while(null!==t)0===sm&&(sm=5)}function s0(e,t,r){var n=tx,o=sl.transition;try{sl.transition=null,tx=1,function(e,t,r,n){do s1();while(null!==sT)if(0!=(6&su))throw Error(d(327));r=e.finishedWork;var o=e.finishedLanes;if(null!==r){if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-tc(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}(e,a),e===sc&&(sd=sc=null,sf=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||sI||(sI=!0,i=ta,s=function(){return s1(),null},e5(i,s)),a=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||a){a=sl.transition,sl.transition=null;var i,s,l,u,c,f=tx;tx=1;var p=su;su|=4,ss.current=null,function(e,t){if(nN=tY,r0(e=rX())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o,a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,f=0,p=e,h=null;t:for(;;){for(;p!==r||0!==a&&3!==p.nodeType||(l=s+a),p!==i||0!==n&&3!==p.nodeType||(u=s+n),3===p.nodeType&&(s+=p.nodeValue.length),null!==(o=p.firstChild);)h=p,p=o;for(;;){if(p===e)break t;if(h===r&&++c===a&&(l=s),h===i&&++f===n&&(u=s),null!==(o=p.nextSibling))break;h=(p=h).parentNode}p=o}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(nO={focusedElem:e,selectionRange:r},tY=!1,i$=t;null!==i$;)if(e=(t=i$).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,i$=e;else for(;null!==i$;){t=i$;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:oU(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(d(163))}}catch(e){s8(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,i$=e;break}i$=t.return}m=iQ,iQ=!1}(e,r),se(r,e),function(e){var t=rX(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&function e(t,r){return!!t&&!!r&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(r.ownerDocument.documentElement,r)){if(null!==n&&r0(r)){if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=void 0===n.end?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=rQ(r,a);var i=rQ(r,n);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(nO),tY=!!nN,nO=nN=null,e.current=r,l=r,u=e,c=o,i$=l,function e(t,r,n){for(var o=0!=(1&t.mode);null!==i$;){var a=i$,i=a.child;if(22===a.tag&&o){var s=null!==a.memoizedState||iG;if(!s){var l=a.alternate,u=null!==l&&null!==l.memoizedState||iq;l=iG;var c=iq;if(iG=s,(iq=u)&&!c)for(i$=a;null!==i$;)u=(s=i$).child,22===s.tag&&null!==s.memoizedState?so(a):null!==u?(u.return=s,i$=u):so(a);for(;null!==i;)i$=i,e(i,r,n),i=i.sibling;i$=a,iG=l,iq=c}sr(t,r,n)}else 0!=(8772&a.subtreeFlags)&&null!==i?(i.return=a,i$=i):sr(t,r,n)}}(l,u,c),te(),su=p,tx=f,sl.transition=a}else e.current=r;if(sI&&(sI=!1,sT=e,sP=o),0===(a=e.pendingLanes)&&(s_=null),function(e){if(tu&&"function"==typeof tu.onCommitFiberRoot)try{tu.onCommitFiberRoot(tl,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode,n),sL(e,tt()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(sA)throw sA=!1,e=sk,sk=null,e;0!=(1&sP)&&0!==e.tag&&s1(),0!=(1&(a=e.pendingLanes))?e===sO?sN++:(sN=0,sO=e):sN=0,ou()}}(e,t,r,n)}finally{sl.transition=o,tx=n}return null}function s1(){if(null!==sT){var e=tE(sP),t=sl.transition,r=tx;try{if(sl.transition=null,tx=16>e?16:e,null===sT)var n=!1;else{if(e=sT,sT=null,sP=0,0!=(6&su))throw Error(d(331));var o=su;for(su|=4,i$=e.current;null!==i$;){var a=i$,i=a.child;if(0!=(16&i$.flags)){var s=a.deletions;if(null!==s){for(var l=0;l<s.length;l++){var u=s[l];for(i$=u;null!==i$;){var c=i$;switch(c.tag){case 0:case 11:case 15:iX(8,c,a)}var f=c.child;if(null!==f)f.return=c,i$=f;else for(;null!==i$;){var p=(c=i$).sibling,h=c.return;if(function e(t){var r=t.alternate;null!==r&&(t.alternate=null,e(r)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(r=t.stateNode)&&(delete r[nB],delete r[nz],delete r[nG],delete r[nq],delete r[nY]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===u){i$=null;break}if(null!==p){p.return=h,i$=p;break}i$=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}i$=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,i$=i;else for(;null!==i$;){if(a=i$,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:iX(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,i$=y;break}i$=a.return}}var b=e.current;for(i$=b;null!==i$;){var w=(i=i$).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,i$=w;else for(i=b;null!==i$;){if(s=i$,0!=(2048&s.flags))try{switch(s.tag){case 0:case 11:case 15:i0(9,s)}}catch(e){s8(s,s.return,e)}if(s===i){i$=null;break}var S=s.sibling;if(null!==S){S.return=s.return,i$=S;break}i$=s.return}}if(su=o,ou(),tu&&"function"==typeof tu.onPostCommitFiberRoot)try{tu.onPostCommitFiberRoot(tl,e)}catch(e){}n=!0}return n}finally{tx=r,sl.transition=t}}return!1}function s2(e,t,r){t=ig(e,t=id(r,t),1),e=o1(e,t,1),t=sF(),null!==e&&(tw(e,1,t),sL(e,t))}function s8(e,t,r){if(3===e.tag)s2(e,e,r);else for(;null!==t;){if(3===t.tag){s2(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===s_||!s_.has(n))){e=iv(t,e=id(r,e),1),t=o1(t,e,1),e=sF(),null!==t&&(tw(t,1,e),sL(t,e));break}}t=t.return}}function s6(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=sF(),e.pingedLanes|=e.suspendedLanes&r,sc===e&&(sf&r)===r&&(4===sm||3===sm&&(130023424&sf)===sf&&500>tt()-sx?sq(e,0):sb|=r),sL(e,t)}function s4(e,t){0===t&&(0==(1&e.mode)?t=1:(t=th,0==(130023424&(th<<=1))&&(th=4194304)));var r=sF();null!==(e=oK(e,t))&&(tw(e,t,r),sL(e,r))}function s3(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),s4(e,r)}function s5(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(d(314))}null!==n&&n.delete(t),s4(e,r)}function s7(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function s9(e,t,r,n){return new s7(e,t,r,n)}function le(e){return!(!(e=e.prototype)||!e.isReactComponent)}function lt(e,t){var r=e.alternate;return null===r?((r=s9(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lr(e,t,r,n,o,a){var i=2;if(n=e,"function"==typeof e)le(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case T:return ln(r.children,o,a,t);case P:i=8,o|=8;break;case N:return(e=s9(12,r,t,2|o)).elementType=N,e.lanes=a,e;case F:return(e=s9(13,r,t,o)).elementType=F,e.lanes=a,e;case R:return(e=s9(19,r,t,o)).elementType=R,e.lanes=a,e;case D:return lo(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case O:i=10;break e;case M:i=9;break e;case j:i=11;break e;case U:i=14;break e;case L:i=16,n=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=s9(i,r,t,o)).elementType=e,t.type=n,t.lanes=a,t}function ln(e,t,r,n){return(e=s9(7,e,n,t)).lanes=r,e}function lo(e,t,r,n){return(e=s9(22,e,n,t)).elementType=D,e.lanes=r,e.stateNode={isHidden:!1},e}function la(e,t,r){return(e=s9(6,e,null,t)).lanes=r,e}function li(e,t,r){return(t=s9(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ls(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tb(0),this.expirationTimes=tb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tb(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ll(e,t,r,n,o,a,i,s,l){return e=new ls(e,t,r,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=s9(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},oQ(a),e}function lu(e){if(!e)return n6;e=e._reactInternals;e:{if(e8(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(n9(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t)throw Error(d(171))}if(1===e.tag){var r=e.type;if(n9(r))return or(e,r,t)}return t}function lc(e,t,r,n,o,a,i,s,l){return(e=ll(r,n,!0,e,o,a,i,s,l)).context=lu(null),r=e.current,(a=o0(n=sF(),o=sR(r))).callback=null!=t?t:null,o1(r,a,o),e.current.lanes=o,tw(e,o,n),sL(e,n),e}function ld(e,t,r,n){var o=t.current,a=sF(),i=sR(o);return r=lu(r),null===t.context?t.context=r:t.pendingContext=r,(t=o0(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=o1(o,t,i))&&(sU(e,o,i,a),o2(e,o,i)),i}function lf(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function lh(e,t){lp(e,t),(e=e.alternate)&&lp(e,t)}l=function(e,t,r){if(null!==e){if(e.memoizedProps!==t.pendingProps||n3.current)ix=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return ix=!1,function(e,t,r){switch(t.tag){case 3:iO(t),oj();break;case 5:ag(t);break;case 1:n9(t.type)&&on(t);break;case 4:ah(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;n8(oL,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState)){if(null!==n.dehydrated)return n8(ay,1&ay.current),t.flags|=128,null;if(0!=(r&t.child.childLanes))return iR(e,t,r);return n8(ay,1&ay.current),null!==(e=iB(e,t,r))?e.sibling:null}n8(ay,1&ay.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return iH(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),n8(ay,ay.current),!n)return null;break;case 22:case 23:return t.lanes=0,i_(e,t,r)}return iB(e,t,r)}(e,t,r);ix=0!=(131072&e.flags)}}else ix=!1,oA&&0!=(1048576&t.flags)&&ow(t,op,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;iZ(e,t),e=t.pendingProps;var o=n7(t,n4.current);oW(t,r),o=aj(null,t,n,e,o,r);var a=aF();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,n9(n)?(a=!0,on(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,oQ(t),o.updater=o7,t.stateNode=o,o._reactInternals=t,ar(t,n,e,r),t=iN(null,t,n,!0,a,r)):(t.tag=0,oA&&a&&oS(t),iE(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(iZ(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return le(e)?1:0;if(null!=e){if((e=e.$$typeof)===j)return 11;if(e===U)return 14}return 2}(n),e=oU(n,e),o){case 0:t=iT(null,t,n,e,r);break e;case 1:t=iP(null,t,n,e,r);break e;case 11:t=iC(null,t,n,e,r);break e;case 14:t=iA(null,t,n,oU(n.type,e),r);break e}throw Error(d(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:oU(n,o),iT(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:oU(n,o),iP(e,t,n,o,r);case 3:e:{if(iO(t),null===e)throw Error(d(387));n=t.pendingProps,o=(a=t.memoizedState).element,oX(e,t),o6(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){o=id(Error(d(423)),t),t=iM(e,t,n,r,o);break e}if(n!==o){o=id(Error(d(424)),t),t=iM(e,t,n,r,o);break e}for(oC=nV(t.stateNode.containerInfo.firstChild),oE=t,oA=!0,ok=null,r=al(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(oj(),n===o){t=iB(e,t,r);break e}iE(e,t,n,r)}t=t.child}return t;case 5:return ag(t),null===e&&oP(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,nM(n,o)?i=null:null!==a&&nM(n,a)&&(t.flags|=32),iI(e,t),iE(e,t,i,r),t.child;case 6:return null===e&&oP(t),null;case 13:return iR(e,t,r);case 4:return ah(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=as(t,null,n,r):iE(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:oU(n,o),iC(e,t,n,o,r);case 7:return iE(e,t,t.pendingProps,r),t.child;case 8:case 12:return iE(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,n8(oL,n._currentValue),n._currentValue=i,null!==a){if(r$(a.value,i)){if(a.children===o.children&&!n3.current){t=iB(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){i=a.child;for(var l=s.firstContext;null!==l;){if(l.context===n){if(1===a.tag){(l=o0(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=r,null!==(l=a.alternate)&&(l.lanes|=r),oz(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(d(341));i.lanes|=r,null!==(s=i.alternate)&&(s.lanes|=r),oz(i,r,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}iE(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,oW(t,r),n=n(o=oG(o)),t.flags|=1,iE(e,t,n,r),t.child;case 14:return o=oU(n=t.type,t.pendingProps),o=oU(n.type,o),iA(e,t,n,o,r);case 15:return ik(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:oU(n,o),iZ(e,t),t.tag=1,n9(n)?(e=!0,on(t)):e=!1,oW(t,r),ae(t,n,o),ar(t,n,o,r),iN(null,t,n,!0,e,r);case 19:return iH(e,t,r);case 22:return i_(e,t,r)}throw Error(d(156,t.tag))};var lm="function"==typeof reportError?reportError:function(e){console.error(e)};function lg(e){this._internalRoot=e}function lv(e){this._internalRoot=e}function ly(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function lb(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function lw(){}function lS(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=lf(i);s.call(e)}}ld(t,i,e,o)}else i=function(e,t,r,n,o){if(o){if("function"==typeof n){var a=n;n=function(){var e=lf(i);a.call(e)}}var i=lc(t,n,e,0,null,!1,!1,"",lw);return e._reactRootContainer=i,e[nW]=i.current,ny(8===e.nodeType?e.parentNode:e),sW(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof n){var s=n;n=function(){var e=lf(l);s.call(e)}}var l=ll(e,0,!1,null,null,!1,!1,"",lw);return e._reactRootContainer=l,e[nW]=l.current,ny(8===e.nodeType?e.parentNode:e),sW(function(){ld(t,l,r,n)}),l}(r,t,e,o,n);return lf(i)}lv.prototype.render=lg.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));ld(e,t,null,null)},lv.prototype.unmount=lg.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sW(function(){ld(null,e,null,null)}),t[nW]=null}},lv.prototype.unstable_scheduleHydration=function(e){if(e){var t=t_();e={blockedOn:null,target:e,priority:t};for(var r=0;r<tR.length&&0!==t&&t<tR[r].priority;r++);tR.splice(r,0,e),0===r&&tV(e)}},tC=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=tm(t.pendingLanes);0!==r&&(tS(t,1|r),sL(t,tt()),0==(6&su)&&(sE=tt()+500,ou()))}break;case 13:sW(function(){var t=oK(e,1);null!==t&&sU(t,e,1,sF())}),lh(e,1)}},tA=function(e){if(13===e.tag){var t=oK(e,134217728);null!==t&&sU(t,e,134217728,sF()),lh(e,134217728)}},tk=function(e){if(13===e.tag){var t=sR(e),r=oK(e,t);null!==r&&sU(r,e,t,sF()),lh(e,t)}},t_=function(){return tx},tI=function(e,t){var r=tx;try{return tx=e,t()}finally{tx=r}},eU=function(e,t,r){switch(t){case"input":if(ep(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=nQ(n);if(!o)throw Error(d(90));el(n),ep(n,o)}}}break;case"textarea":ew(e,r);break;case"select":null!=(t=r.value)&&ev(e,!!r.multiple,t,!1)}},eB=sz,ez=sW;
1var lx={findFiberByHostInstance:n$,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},lE={bundleType:lx.bundleType,version:lx.version,rendererPackageName:lx.rendererPackageName,rendererConfig:lx.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=e3(e))?null:e.stateNode},findFiberByHostInstance:lx.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lC=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lC.isDisabled&&lC.supportsFiber)try{tl=lC.inject(lE),tu=lC}catch(e){}}Z={usingClientEntryPoint:!1,Events:[nK,nJ,nQ,eH,eZ,sz]},B=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ly(t))throw Error(d(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:I,key:null==n?null:""+n,children:e,containerInfo:t,implementation:null}}(e,t,null,r)},z=function(e,t){if(!ly(e))throw Error(d(299));var r=!1,n="",o=lm;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=ll(e,1,!1,null,null,r,!1,n,o),e[nW]=t.current,ny(8===e.nodeType?e.parentNode:e),new lg(t)},W=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=e3(t))?null:e.stateNode},G=function(e){return sW(e)},q=function(e,t,r){if(!lb(t))throw Error(d(200));return lS(null,e,t,!0,r)},Y=function(e,t,r){if(!ly(e))throw Error(d(405));var n=null!=r&&r.hydratedSources||null,o=!1,a="",i=lm;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(i=r.onRecoverableError)),t=lc(t,null,e,1,null!=r?r:null,o,!1,a,i),e[nW]=t.current,ny(e),n)for(e=0;e<n.length;e++)o=(o=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new lv(t)},$=function(e,t,r){if(!lb(t))throw Error(d(200));return lS(null,e,t,!1,r)},K=function(e){if(!lb(e))throw Error(d(40));return!!e._reactRootContainer&&(sW(function(){lS(null,null,e,!1,function(){e._reactRootContainer=null,e[nW]=null})}),!0)},J=sz,Q=function(e,t,r,n){if(!lb(r))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return lS(e,t,r,!1,n)},X="18.2.0-next-9e3b772b8-20220608"}),tB.register("fO90s",function(e,t){e.exports=tB("gcnCG")}),tB.register("gcnCG",function(e,t){function r(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,o=e[n];if(0<a(o,t))e[n]=t,e[r]=o,r=n;else break}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,o=e.length,i=o>>>1;n<i;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,r))u<o&&0>a(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else if(u<o&&0>a(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(i(e.exports,"unstable_now",()=>s,e=>s=e),i(e.exports,"unstable_IdlePriority",()=>l,e=>l=e),i(e.exports,"unstable_ImmediatePriority",()=>u,e=>u=e),i(e.exports,"unstable_LowPriority",()=>c,e=>c=e),i(e.exports,"unstable_NormalPriority",()=>d,e=>d=e),i(e.exports,"unstable_Profiling",()=>f,e=>f=e),i(e.exports,"unstable_UserBlockingPriority",()=>p,e=>p=e),i(e.exports,"unstable_cancelCallback",()=>h,e=>h=e),i(e.exports,"unstable_continueExecution",()=>m,e=>m=e),i(e.exports,"unstable_forceFrameRate",()=>g,e=>g=e),i(e.exports,"unstable_getCurrentPriorityLevel",()=>v,e=>v=e),i(e.exports,"unstable_getFirstCallbackNode",()=>y,e=>y=e),i(e.exports,"unstable_next",()=>b,e=>b=e),i(e.exports,"unstable_pauseExecution",()=>w,e=>w=e),i(e.exports,"unstable_requestPaint",()=>S,e=>S=e),i(e.exports,"unstable_runWithPriority",()=>x,e=>x=e),i(e.exports,"unstable_scheduleCallback",()=>E,e=>E=e),i(e.exports,"unstable_shouldYield",()=>C,e=>C=e),i(e.exports,"unstable_wrapCallback",()=>A,e=>A=e),"object"==typeof performance&&"function"==typeof performance.now){var s,l,u,c,d,f,p,h,m,g,v,y,b,w,S,x,E,C,A,k,_=performance;s=function(){return _.now()}}else{var I=Date,T=I.now();s=function(){return I.now()-T}}var P=[],N=[],O=1,M=null,j=3,F=!1,R=!1,U=!1,L="function"==typeof setTimeout?setTimeout:null,D="function"==typeof clearTimeout?clearTimeout:null,V="undefined"!=typeof setImmediate?setImmediate:null;function H(e){for(var t=n(N);null!==t;){if(null===t.callback)o(N);else if(t.startTime<=e)o(N),t.sortIndex=t.expirationTime,r(P,t);else break;t=n(N)}}
1function Z(e){if(U=!1,H(e),!R){if(null!==n(P))R=!0,X(B);else{var t=n(N);null!==t&&ee(Z,t.startTime-e)}}}function B(e,t){R=!1,U&&(U=!1,D(G),G=-1),F=!0;var r=j;try{for(H(t),M=n(P);null!==M&&(!(M.expirationTime>t)||e&&!$());){var a=M.callback;if("function"==typeof a){M.callback=null,j=M.priorityLevel;var i=a(M.expirationTime<=t);t=s(),"function"==typeof i?M.callback=i:M===n(P)&&o(P),H(t)}else o(P);M=n(P)}if(null!==M)var l=!0;else{var u=n(N);null!==u&&ee(Z,u.startTime-t),l=!1}return l}finally{M=null,j=r,F=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var z=!1,W=null,G=-1,q=5,Y=-1;function $(){return!(s()-Y<q)}function K(){if(null!==W){var e=s();Y=e;var t=!0;try{t=W(!0,e)}finally{t?k():(z=!1,W=null)}}else z=!1}if("function"==typeof V)k=function(){V(K)};else if("undefined"!=typeof MessageChannel){var J=new MessageChannel,Q=J.port2;J.port1.onmessage=K,k=function(){Q.postMessage(null)}}else k=function(){L(K,0)};function X(e){W=e,z||(z=!0,k())}function ee(e,t){G=L(function(){e(s())},t)}l=5,u=1,c=4,d=3,f=null,p=2,h=function(e){e.callback=null},m=function(){R||F||(R=!0,X(B))},g=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<e?Math.floor(1e3/e):5},v=function(){return j},y=function(){return n(P)},b=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var r=j;j=t;try{return e()}finally{j=r}},w=function(){},S=function(){},x=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=j;j=e;try{return t()}finally{j=r}},E=function(e,t,o){var a=s();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=o+i,e={id:O++,callback:t,priorityLevel:e,startTime:o,expirationTime:i,sortIndex:-1},o>a?(e.sortIndex=o,r(N,e),null===n(P)&&e===n(N)&&(U?(D(G),G=-1):U=!0,ee(Z,o-a))):(e.sortIndex=i,r(P,e),R||F||(R=!0,X(B))),e},C=$,A=function(e){var t=j;return function(){var r=j;j=t;try{return e.apply(this,arguments)}finally{j=r}}}}),tB.register("6VZtt",function(e,t){i(e.exports,"useSyncExternalStoreWithSelector",()=>r,e=>r=e);var r,n=tB("acw62"),o=tB("hfliI"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,l=n.useRef,u=n.useEffect,c=n.useMemo,d=n.useDebugValue;r=function(e,t,r,n,o){var i=l(null);if(null===i.current){var f={hasValue:!1,value:null};i.current=f}else f=i.current;var p=s(e,(i=c(function(){function e(e){if(!l){if(l=!0,i=e,e=n(e),void 0!==o&&f.hasValue){var t=f.value;if(o(t,e))return s=t}return s=e}if(t=s,a(i,e))return t;var r=n(e);return void 0!==o&&o(t,r)?t:(i=e,s=r)}var i,s,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,o]))[0],i[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}}),tB.register("hfliI",function(e,t){e.exports=tB("30Ie1")}),tB.register("30Ie1",function(e,t){i(e.exports,"useSyncExternalStore",()=>r,e=>r=e);var r,n=tB("acw62"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,s=n.useEffect,l=n.useLayoutEffect,u=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,i=n[1];return l(function(){o.value=r,o.getSnapshot=t,c(o)&&i({inst:o})},[e,r,t]),s(function(){return c(o)&&i({inst:o}),e(function(){c(o)&&i({inst:o})})},[e]),u(r),r};r=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:d}),tB.register("laOt8",function(e,t){function r(e,t){return t=t||{},new Promise(function(r,n){var o=new XMLHttpRequest,a=[],i=[],s={},l=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:l,headers:{keys:function(){return a},entries:function(){return i},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase() in s}}}};for(var u in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,r){a.push(t=t.toLowerCase()),i.push([t,r]),s[t]=s[t]?s[t]+","+r:r}),r(l())},o.onerror=n,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(u,t.headers[u]);o.send(t.body||null)})}Object.defineProperty(e.exports,"__esModule",{value:!0,configurable:!0}),i(e.exports,"default",()=>r)}),tB.register("kjyEk",function(e,t){}
1),tB.register("5PPry",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.Sha256=void 0;var r=tB("hOJwo"),n=tB("1c8c5"),o=tB("kr8mE"),a=tB("9QMEG"),i=/** @class */function(){function e(e){if(this.hash=new o.RawSha256,e){this.outer=new o.RawSha256;var t=function(e){var t=(0,a.convertToBuffer)(e);if(t.byteLength>n.BLOCK_SIZE){var r=new o.RawSha256;r.update(t),t=r.digest()}var i=new Uint8Array(n.BLOCK_SIZE);return i.set(t),i}(e),r=new Uint8Array(n.BLOCK_SIZE);r.set(t);for(var i=0;i<n.BLOCK_SIZE;i++)t[i]^=54,r[i]^=92;this.hash.update(t),this.outer.update(r);// overwrite the copied key in memory 2for(var i=0;i<t.byteLength;i++)t[i]=0}}return e.prototype.update=function(e){if(!(0,a.isEmptyData)(e)&&!this.error)try{this.hash.update((0,a.convertToBuffer)(e))}catch(e){this.error=e}},/* This synchronous method keeps compatibility 3 * with the v2 aws-sdk. 4 */e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},/* The underlying digest method here is synchronous. 5 * To keep the same interface with the other hash functions 6 * the default is to expose this as an async method. 7 * However, it can sometimes be useful to have a sync method. 8 */e.prototype.digest=function(){return(0,r.__awaiter)(this,void 0,void 0,function(){return(0,r.__generator)(this,function(e){return[2/*return*/,this.digestSync()]})})},e}();e.exports.Sha256=i}),tB.register("hOJwo",function(e,t){function r(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})}function n(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function o(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}i(e.exports,"__awaiter",()=>r),i(e.exports,"__generator",()=>n),i(e.exports,"__exportStar",()=>o)}),tB.register("1c8c5",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.MAX_HASHABLE_LENGTH=e.exports.INIT=e.exports.KEY=e.exports.DIGEST_LENGTH=e.exports.BLOCK_SIZE=void 0,/** 9 * @internal 10 */e.exports.BLOCK_SIZE=64,/** 11 * @internal 12 */e.exports.DIGEST_LENGTH=32,/** 13 * @internal 14 */e.exports.KEY=new Uint32Array([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]),/** 15 * @internal
16 */e.exports.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],/** 17 * @internal 18 */e.exports.MAX_HASHABLE_LENGTH=9007199254740991}),tB.register("kr8mE",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RawSha256=void 0;var r=tB("1c8c5"),n=/** @class */function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,/** 19 * @internal 20 */this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;// Ensure the final block has enough room for the hashed length 21if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var o=this.bufferLength;o<r.BLOCK_SIZE;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<r.BLOCK_SIZE-8;o++)t.setUint8(o,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var a=new Uint8Array(r.DIGEST_LENGTH),o=0;o<8;o++)a[4*o]=this.state[o]>>>24&255,a[4*o+1]=this.state[o]>>>16&255,a[4*o+2]=this.state[o]>>>8&255,a[4*o+3]=this.state[o]>>>0&255;return a},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],o=t[1],a=t[2],i=t[3],s=t[4],l=t[5],u=t[6],c=t[7],d=0;d<r.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var f=this.temp[d-2],p=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,h=((f=this.temp[d-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[d]=(p+this.temp[d-7]|0)+(h+this.temp[d-16]|0)}var m=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&l^~s&u)|0)+(c+(r.KEY[d]+this.temp[d]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&o^n&a^o&a)|0;c=u,u=l,l=s,s=i+m|0,i=a,a=o,o=n,n=m+g|0}t[0]+=n,t[1]+=o,t[2]+=a,t[3]+=i,t[4]+=s,t[5]+=l,t[6]+=u,t[7]+=c},e}();e.exports.RawSha256=n}),tB.register("9QMEG",function(e,t){// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. 22// SPDX-License-Identifier: Apache-2.0 23Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.uint32ArrayFrom=e.exports.numToUint8=e.exports.isEmptyData=e.exports.convertToBuffer=void 0;var r=tB("6Pbqi");Object.defineProperty(e.exports,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var n=tB("gQGCm");Object.defineProperty(e.exports,"isEmptyData",{enumerable:!0,get:function(){return n.isEmptyData}});var o=tB("j6YPJ");Object.defineProperty(e.exports,"numToUint8",{enumerable:!0,get:function(){return o.numToUint8}});var a=tB("2Mubd");Object.defineProperty(e.exports,"uint32ArrayFrom",{enumerable:!0,get:function(){return a.uint32ArrayFrom}})}),tB.register("6Pbqi",function(e,t){var r=tB("6ZWSX").Buffer;// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. 24// SPDX-License-Identifier: Apache-2.0 25Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.convertToBuffer=void 0;var n=tB("dg00z"),o=void 0!==r&&r.from?function(e){return r.from(e,"utf8")}:n.fromUtf8;e.exports.convertToBuffer=function(e){return(// Already a Uint8, do nothing 26e instanceof Uint8Array?e:"string"==typeof e?o(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e))}}),tB.register("6ZWSX",function(e,t){i(e.exports,"Buffer",()=>r,e=>r=e),i(e.exports,"INSPECT_MAX_BYTES",()=>n,e=>n=e);var r,n,o=tB("kuxul"),a=tB("9NvM5");let s="function"==typeof Symbol&&"function"// eslint-disable-line dot-notation 27==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom")// eslint-disable-line dot-notation 28:null;function l(e){if(e>
282147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');// Return an augmented `Uint8Array` instance 29let t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}/** 30 * The Buffer constructor returns instances of `Uint8Array` that have their 31 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of 32 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods 33 * and the `Uint8Array` methods. Square bracket notation works as expected -- it 34 * returns a single octet. 35 * 36 * The `Uint8Array` prototype remains unmodified. 37 */function u(e,t,r){// Common case. 38if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|g(e,t),n=l(r),o=n.write(e,t);return o!==r&&// cause everything after the first invalid character to be ignored. (e.g. 39// 'abxxcd' will be treated as 'ab') 40(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(D(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);let o=function(e){var t;if(u.isBuffer(e)){let t=0|m(e.length),r=l(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t// eslint-disable-line no-self-compare 41?l(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return d(e),l(e<0?0:0|m(e))}function p(e){let t=e.length<0?0:0|m(e.length),r=l(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return(// Return an augmented `Uint8Array` instance 42Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),u.prototype),n)}function m(e){// Note: cannot use `length < K_MAX_LENGTH` here because that fails when 43// length is NaN (which is otherwise coerced to zero.) 44if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function g(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;// Use a for loop to avoid recursion 45let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(o)return n?-1:R(e).length// assume utf8 46;t=(""+t).toLowerCase(),o=!0}}function v(e,t,r){let n=!1;// Return early if start > this.length. Done here to prevent potential uint32 47// coercion fail below. 48if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||// Force coercion to uint32. This will also coerce falsey/NaN values to 0. 49(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n<r;++n)o+=V[e[n]];return o}(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":var a,i;return a=t,i=r,0===a&&i===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(a,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),o="";// If bytes.length is odd, the last 8 bits must be ignored (same as node.js) 50for(let e=0;e<n.length-1;
50e+=2)o+=String.fromCharCode(n[e]+256*n[e+1]);return o}(this,t,r);default:if(n)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, 51// OR the last index of `val` in `buffer` at offset <= `byteOffset`. 52// 53// Arguments: 54// - buffer - a Buffer to search 55// - val - a string, Buffer, or number 56// - byteOffset - an index into `buffer`; will be clamped to an int32 57// - encoding - an optional encoding, relevant is val is a string 58// - dir - true for indexOf, false for lastIndexOf 59function b(e,t,r,n,o){var a;// Empty buffer means no match 60if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(a=r=+r// Coerce to Number. 61)!=a&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}// Finally, search either indexOf (if dir is true) or lastIndexOf 62if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return(// Special case: looking for empty string/buffer always fail
vendor: 4,557 bytes, lines 62-86
62s 630===t.length?-1:w(e,t,r,n,o));if("number"==typeof t)return(t&=255// Search for a byte value [0-255] 64,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function w(e,t,r,n,o){let a,i=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;i=2,s/=2,l/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let n=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===n?0:a-n)){if(-1===n&&(n=a),a-n+1===l)return n*i}else -1!==n&&(a-=a-n),n=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let n=0;n<l;n++)if(u(e,a+n)!==u(t,n)){r=!1;break}if(r)return a}return -1}function S(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o<r;){let t=e[o],a=null,i=t>239?4:t>223?3:t>191?2:1;if(o+i<=r){let r,n,s,l;switch(i){case 1:t<128&&(a=t);break;case 2:(192&(r=e[o+1]))==128&&(l=(31&t)<<6|63&r)>127&&(a=l);break;case 3:r=e[o+1],n=e[o+2],(192&r)==128&&(192&n)==128&&(l=(15&t)<<12|(63&r)<<6|63&n)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:r=e[o+1],n=e[o+2],s=e[o+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&l<1114112&&(a=l)}}null===a?(// we did not generate a valid codePoint so insert a 65// replacement char (U+FFFD) and advance only 1 byte 66a=65533,i=1):a>65535&&(// encode to utf16 (surrogate pair dance) 67a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=i}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e)// avoid extra slice() 68;// Decode in chunks to avoid "call stack size exceeded". 69let r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}/* 70 * Need to make sure that buffer isn't trying to write out of bounds. 71 */function x(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,o,a){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function C(e,t,r,n,o){O(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,r}function A(e,t,r,n,o){O(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a>>=8,e[r+6]=a,a>>=8,e[r+5]=a,a>>=8,e[r+4]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=i,i>>=8,e[r+2]=i,i>>=8,e[r+1]=i,i>>=8,e[r]=i,r+8}function k(e,t,r,n,o,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,n,o){return t=+t,r>>>=0,o||k(e,t,r,4,34028234663852886e22,-34028234663852886e22),a.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,o){return t=+t,r>>>=0,o||k(e,t,r,8,17976931348623157e292,-17976931348623157e292),a.write(e,t,r,n,52,8),r+8}r=u,n=50,/** 72 * If `Buffer.TYPED_ARRAY_SUPPORT`: 73 * === true Use Uint8Array implementation (fastest) 74 * === false Print warning and recommend using `buffer` v4.x which has an Object 75 * implementation (most compatible, even IE6) 76 * 77 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, 78 * Opera 11.6+, iOS 4.2+. 79 * 80 * We report that the browser does not support typed arrays if the are not subclassable 81 * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array` 82 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support 83 * for __proto__ and has a buggy typed array implementation. 84 */u.TYPED_ARRAY_SUPPORT=function(){// Can typed array instances can be augmented? 85try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192// not used by this implementation 86,/**
vendor: 18,821 bytes, lines 87-149
87 * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError 88 * if value is a number. 89 * Buffer.from(str[, encoding]) 90 * Buffer.from(array) 91 * Buffer.from(buffer) 92 * Buffer.from(arrayBuffer[, byteOffset[, length]]) 93 **/u.from=function(e,t,r){return c(e,t,r)},// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug: 94// https://github.com/feross/buffer/pull/148 95Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),/** 96 * Creates a new filled Buffer instance. 97 * alloc(size[, fill[, encoding]]) 98 **/u.alloc=function(e,t,r){return(d(e),e<=0)?l(e):void 0!==t?"string"==typeof r?l(e).fill(t,r):l(e).fill(t):l(e)},/** 99 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. 100 * */u.allocUnsafe=function(e){return f(e)},/** 101 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. 102 */u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype// so Buffer.isBuffer(Buffer.prototype) will be false 103},u.compare=function(e,t){if(D(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){let t=e[r];if(D(t,Uint8Array))o+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else if(u.isBuffer(t))t.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return n},u.byteLength=g,// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package) 104// to detect a Buffer instance. It's not possible to use `instanceof Buffer` 105// reliably in a browserify context because there could be multiple different 106// copies of the 'buffer' package in use. This method works even for Buffer 107// instances that were created from another copy of the `buffer` package. 108// See: https://github.com/feross/buffer/issues/154 109u.prototype._isBuffer=!0,u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?S(this,0,e):v.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="",t=n;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},s&&(u.prototype[s]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(D(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let a=o-n,i=r-t,s=Math.min(a,i),l=this.slice(n,o),c=e.slice(t,r);for(let e=0;e<s;++e)if(l[e]!==c[e]){a=l[e],i=c[e];break}return a<i?-1:i<a?1:0},u.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){var o,a,i,s,l,u,c,d;// Buffer#write(string) 110if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let o;r=Number(r)||0;let a=e.length-r;n?(n=Number(n))>a&&(n=a):n=a;let i=t.length;for(n>i/2&&(n=i/2),o=0;o<n;++o){let n=parseInt(t.substr(2*o,2),16);if(n!=n)break;e[r+o]=n}return o}(this,e,t,r);case"utf8":case"utf-8":return o=t,a=r,L(R(e,this.length-o),this,o,a);case"ascii":case"latin1":case"binary":return i=t,s=r,L(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,i,s);case"base64":// Warning: maxLength not taken into account in base64Write 111return l=t,u=r,L(U(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,L(function(e,t){let r,n;let o=[];for(let a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,d);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return(// Return an augmented `Uint8Array` instance 112Object.setPrototypeOf(n,u.prototype),n)},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);let n=this[e],o=1,a=0;for(;++a<t&&(o*=256);)n+=this[e+a]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=H(function(e){M(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&j(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(n)+(BigInt(o)<<BigInt(32))}),u.prototype.readBigUInt64BE=H(function(e){M(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&j(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],o=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);let n=this[e],o=1,a=0;for(;++a<t&&(o*=256);)n+=this[e+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);let n=t,o=1,a=this[e+--n];for(;n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=H(function(e){M(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&j(e,this.length-8);let n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24// Overflow 113);return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),u.prototype.readBigInt64BE=H(function(e){M(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&j(e,this.length-8);let n=(t<<24)+// Overflow 11465536*this[++e]+256*this[++e]+this[++e];return(BigInt(n)<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),a.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),a.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),a.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),a.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=H(function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=H(function(e,t=0){return A(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=0,a=1,i=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===i&&0!==this[t+o-1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=r-1,a=1,i=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=H(function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=H(function(e,t=0){return A(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) 115u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");// Copy 0 bytes; we're done 116if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;// Fatal error conditions 117if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},// Usage: 118// buffer.fill(number[, offset[, end]]) 119// buffer.fill(buffer[, offset[, end]]) 120// buffer.fill(string[, offset[, end]][, encoding]) 121u.prototype.fill=function(e,t,r,n){let o;// Handle string cases: 122if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));// Invalid ranges are not set to a default, so can range check early. 123if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{let a=u.isBuffer(e)?e:u.from(e,n),i=a.length;if(0===i)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%i]}return this};// CUSTOM ERRORS 124// ============= 125// Simplified versions from Node, changed for Buffer-only usage 126let T={};function P(e,t,r){T[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),// Add the error code to the name to include it in the stack trace. 127this.name=`${this.name} [${e}]`,// Access the stack to generate the error message including the error code 128// from the name. 129this.stack// eslint-disable-line no-unused-expressions 130,// Reset the name to the actual name. 131delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function N(e){let t="",r=e.length,n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function O(e,t,r,n,o,a){if(e>r||e<t){let n;let o="bigint"==typeof t?"n":"";throw n=a>3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(a+1)*8}${o}`:`>= -(2${o} ** ${(a+1)*8-1}${o}) and < 2 ** ${(a+1)*8-1}${o}`:`>= ${t}${o} and <= ${r}${o}`,new T.ERR_OUT_OF_RANGE("value",n,e)}M(o,"offset"),(void 0===n[o]||void 0===n[o+a])&&j(o,n.length-(a+1))}function M(e,t){if("number"!=typeof e)throw new T.ERR_INVALID_ARG_TYPE(t,"number",e)}function j(e,t,r){if(Math.floor(e)!==e)throw M(e,r),new T.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new T.ERR_BUFFER_OUT_OF_BOUNDS;throw new T.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}P("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),P("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),P("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?o=N(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=N(o)),o+="n"),n+=` It must be ${t}. Received ${o}`},RangeError);// HELPER FUNCTIONS 132// ================ 133let F=/[^+/0-9A-Za-z-_]/g;function R(e,t){let r;t=t||1/0;let n=e.length,o=null,a=[];for(let i=0;i<n;++i){// is surrogate component 134if((r=e.charCodeAt(i))>55295&&r<57344){// last char was a lead 135if(!o){// no lead yet 136if(r>56319||i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}// valid lead 137o=r;continue}// 2 leads in a row 138if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}// valid surrogate pair 139r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);// encode utf8 140if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function U(e){return o.toByteArray(function(e){// Node converts strings with length < 2 to '' 141if(// Node strips out invalid characters like \n and \t from the string, base64-js does not 142(e=// Node takes equal signs as end of the Base64 encoding 143(e=e.split("=")[0]).trim().replace(F,"")).length<2)return"";// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not 144for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass 145// the `instanceof` check but they should be treated as of that type. 146// See: https://github.com/feross/buffer/issues/166 147function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}// Create lookup table for `toString('hex')` 148// See: https://github.com/feross/buffer/issues/219 149let V=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;
149for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();// Return not function with Error if BigInt not supported 150function H(e){return"undefined"==typeof BigInt?Z:e}function Z(){throw Error("BigInt not supported")}}),tB.register("kuxul",function(e,t){i(e.exports,"toByteArray",()=>r,e=>r=e),i(e.exports,"fromByteArray",()=>n,e=>n=e),r=function(e){var t,r,n=function(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");// Trim off extra bytes after placeholder bytes are found 151// See: https://github.com/beatgammit/base64-js/issues/42 152var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}(e),o=n[0],i=n[1],l=new s((o+i)*3/4-i),u=0,c=i>0?o-4:o;for(r=0;r<c;r+=4)t=a[e.charCodeAt(r)]<<18|a[e.charCodeAt(r+1)]<<12|a[e.charCodeAt(r+2)]<<6|a[e.charCodeAt(r+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===i&&(t=a[e.charCodeAt(r)]<<2|a[e.charCodeAt(r+1)]>>4,l[u++]=255&t),1===i&&(t=a[e.charCodeAt(r)]<<10|a[e.charCodeAt(r+1)]<<4|a[e.charCodeAt(r+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l},n=function(e){// go through the array every three bytes, we'll deal with trailing stuff later 153for(var t,r=e.length,n=r%3// if we have 1 byte left, pad 2 bytes 154,a=[],i=0,s=r-n;i<s;i+=16383// must be multiple of 3
155)a.push(function(e,t,r){for(var n,a=[],i=t;i<r;i+=3)a.push(o[(n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]))>>18&63]+o[n>>12&63]+o[n>>6&63]+o[63&n]);return a.join("")}(e,i,i+16383>s?s:i+16383));return 1===n?a.push(o[(t=e[r-1])>>2]+o[t<<4&63]+"=="):2===n&&a.push(o[(t=(e[r-2]<<8)+e[r-1])>>10]+o[t>>4&63]+o[t<<2&63]+"="),a.join("")};for(var r,n,o=[],a=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=l.length;u<c;++u)o[u]=l[u],a[l.charCodeAt(u)]=u;// Support decoding URL-safe base64 strings, as Node.js does. 156// See: https://en.wikipedia.org/wiki/Base64#URL_applications 157a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}),tB.register("9NvM5",function(e,t){var r,n;i(e.exports,"read",()=>r,e=>r=e),i(e.exports,"write",()=>n,e=>n=e),r=function(e,t,r,n,o){var a,i,s=8*o-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?o-1:0,f=r?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=f,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=n;c>0;i=256*i+e[t+d],d+=f,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:(p?-1:1)*(1/0);i+=Math.pow(2,n),a-=u}return(p?-1:1)*i*Math.pow(2,a-n)},n=function(e,t,r,n,o,a){var i,s,l,u=8*a-o-1,c=(1<<u)-1,d=c>>1,f=23===o?5960464477539062e-23:0,p=n?0:a-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(i++,l/=2),i+d>=c?(s=0,i=c):i+d>=1?(s=(t*l-1)*Math.pow(2,o),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),i=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(i=i<<o|s,u+=o;u>0;e[r+p]=255&i,p+=h,i/=256,u-=8);e[r+p-h]|=128*m}}),tB.register("dg00z",function(e,t){i(e.exports,"fromUtf8",()=>o);var r=tB("XAoxB"),n=tB("eSuv4");let o=e=>"function"==typeof TextEncoder?(0,n.fromUtf8)(e):(0,r.fromUtf8)(e)}),tB.register("XAoxB",function(e,t){i(e.exports,"fromUtf8",()=>r),i(e.exports,"toUtf8",()=>n);let r=e=>{let t=[];for(let r=0,n=e.length;r<n;r++){let n=e.charCodeAt(r);if(n<128)t.push(n);else if(n<2048)t.push(n>>6|192,63&n|128);else if(r+1<e.length&&(64512&n)==55296&&(64512&e.charCodeAt(r+1))==56320){let o=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r));t.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(n>>12|224,n>>6&63|128,63&n|128)}return Uint8Array.from(t)},n=e=>{let t="";for(let r=0,n=e.length;r<n;r++){let n=e[r];if(n<128)t+=String.fromCharCode(n);else if(192<=n&&n<224){let o=e[++r];t+=String.fromCharCode((31&n)<<6|63&o)}else if(240<=n&&n<365){let o=[n,e[++r],e[++r],e[++r]],a="%"+o.map(e=>e.toString(16)).join("%");t+=decodeURIComponent(a)}else t+=String.fromCharCode((15&n)<<12|(63&e[++r])<<6|63&e[++r])}return t}}),tB.register("eSuv4",function(e,t){function r(e){return new TextEncoder().encode(e)}function n(e){return new TextDecoder("utf-8").decode(e)}i(e.exports,"fromUtf8",()=>r),i(e.exports,"toUtf8",()=>n)}),tB.register("gQGCm",function(e,t){// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. 158// SPDX-License-Identifier: Apache-2.0 159Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.isEmptyData=void 0,e.exports.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}}),tB.register("j6YPJ",function(e,t){// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. 160// SPDX-License-Identifier: Apache-2.0 161Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.numToUint8=void 0,e.exports.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}}),tB.register("2Mubd",function(e,t){// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. 162// SPDX-License-Identifier: Apache-2.0 163Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.uint32ArrayFrom=void 0,e.exports.uint32ArrayFrom=// IE 11 does not support Array.from, so we do it manually 164function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0<e.length;)t[0]=e[0];return t}return Uint32Array.from(e)}}),tB.register("dNdRi",function(e,t){!function(r){/** Detect free variables */var n=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,a="object"==typeof tD&&tD;(a.global===a||a.window===a||a.self===a)&&(r=a);/** 165 * The `punycode` object. 166 * @name punycode 167 * @type Object 168 */var i,/** Temporary variable */s,/** Regular expressions */l=/^xn--/,u=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,/*
168* Error messages */d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,p=String.fromCharCode;/*--------------------------------------------------------------------------*//** 169 * A generic error utility function. 170 * @private 171 * @param {String} type The error type. 172 * @returns {Error} Throws a `RangeError` with the applicable error message. 173 */function h(e){throw RangeError(d[e])}/** 174 * A generic `Array#map` utility function. 175 * @private 176 * @param {Array} array The array to iterate over. 177 * @param {Function} callback The function that gets called for every array 178 * item. 179 * @returns {Array} A new array of values returned by the callback function. 180 */function m(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}/** 181 * A simple `Array#map`-like wrapper to work with domain name strings or email 182 * addresses. 183 * @private 184 * @param {String} domain The domain name or email address. 185 * @param {Function} callback The function that gets called for every 186 * character. 187 * @returns {Array} A new string of characters returned by the callback 188 * function. 189 */function g(e,t){var r=e.split("@"),n="";return r.length>1&&(// In email addresses, only the domain name should be punycoded. Leave 190// the local part (i.e. everything up to `@`) intact. 191n=r[0]+"@",e=r[1]),n+m(// Avoid `split(regex)` for IE8 compatibility. See #17. 192(e=e.replace(c,".")).split("."),t).join(".")}/** 193 * Creates an array containing the numeric code points of each Unicode 194 * character in the string. While JavaScript uses UCS-2 internally, 195 * this function will convert a pair of surrogate halves (each of which 196 * UCS-2 exposes as separate characters) into a single code point, 197 * matching UTF-16. 198 * @see `punycode.ucs2.encode` 199 * @see <https://mathiasbynens.be/notes/javascript-encoding> 200 * @memberOf punycode.ucs2 201 * @name decode 202 * @param {String} string The Unicode input string (UCS-2). 203 * @returns {Array} The new array of code points. 204 */function v(e){for(var t,r,n=[],o=0,a=e.length;o<a;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<a?(64512&// high surrogate, and there is a next character 205(r=e.charCodeAt(o++)))==56320?n.push(((1023&t)<<10)+(1023&r)+65536):(// unmatched surrogate; only append this code unit, in case the next 206// code unit is the high surrogate of a surrogate pair 207n.push(t),o--):n.push(t);return n}/** 208 * Creates a string based on an array of numeric code points. 209 * @see `punycode.ucs2.decode` 210 * @memberOf punycode.ucs2 211 * @name encode 212 * @param {Array} codePoints The array of numeric code points. 213 * @returns {String} The new Unicode string (UCS-2). 214 */function y(e){return m(e,function(e){var t="";return e>65535&&(e-=65536,t+=p(e>>>10&1023|55296),e=56320|1023&e),t+=p(e)}).join("")}/** 215 * Converts a digit/integer into a basic code point. 216 * @see `basicToDigit()` 217 * @private 218 * @param {Number} digit The numeric value of a basic code point. 219 * @returns {Number} The basic code point whose value (when used for 220 * representing integers) is `digit`, which needs to be in the range 221 * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is 222 * used; else, the lowercase form is used. The behavior is undefined 223 * if `flag` is non-zero and `digit` has no uppercase form. 224 */function b(e,t){// 0..25 map to ASCII a..z or A..Z 225// 26..35 map to ASCII 0..9 226return e+22+75*(e<26)-((0!=t)<<5)}/** 227 * Bias adaptation function as per section 3.4 of RFC 3492. 228 * http://tools.ietf.org/html/rfc3492#section-3.4 229 * @private 230 */function w(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=36)e=f(e/35);return f(n+36*e/(e+38))}/** 231 * Converts a Punycode string of ASCII-only symbols to a string of Unicode 232 * symbols. 233 * @memberOf punycode 234 * @param {String} input The Punycode string of ASCII-only symbols. 235 * @returns {String} The resulting string of Unicode symbols. 236 */function S(e){// Don't use UCS-2 237var t,r,n,o,a,i,s,l,u,c,/** Cached calculation results */d,p=[],m=e.length,g=0,v=128,b=72;for(// Handle the basic code points: let `basic` be the number of input code 238// points before the last delimiter, or `0` if there is none, then copy 239// the first basic code points to the output. 240(n=e.lastIndexOf("-"))<0&&(n=0),o=0;o<n;++o)e.charCodeAt(o)>=128&&h("not-basic"),p.push(e.charCodeAt(o));// Main decoding loop: start just after the last delimiter if any basic code 241// points were copied; start at the beginning otherwise. 242for(a=n>0?n+1:0;a<m;){// `index` is the index of the next character to be consumed. 243// Decode a generalized variable-length integer into `delta`, 244// which gets added to `i`. The overflow checking is easier 245// if we increase `i` as we go, then subtract off its starting 246// value at the end to obtain `delta`. 247for(i=g,s=1,l=36;a>=m&&h("invalid-input"),((u=(t=e.charCodeAt(a++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||u>f((2147483647-g)/s))&&h("overflow"),g+=u*s,!(u<(c=l<=b?1:l>=b+26?26:l-b));l+=36)s>f(2147483647/(d=36-c))&&h("overflow"),s*=d;b=w(g-i,r=p.length+1,0==i),f(g/r)>2147483647-v&&h("overflow"),v+=f(g/r),g%=r,// Insert `n` at position `i` of the output 248p.splice(g++,0,v)}return y(p)}/** 249 * Converts a string of Unicode symbols (e.g. a domain name label) to a 250 * Punycode string of ASCII-only symbols. 251 * @memberOf punycode 252 * @param {String} input The string of Unicode symbols. 253 * @returns {String} The resulting Punycode string of ASCII-only symbols. 254 */function x(e){var t,r,n,o,a,i,s,l,u,c,d,/** `inputLength` will hold the number of code points in `input`. */m,/** Cached calculation results */g,y,S,x=[];// Handle the basic code points 255for(i=0,// Cache the length 256m=// Convert the input in UCS-2 to Unicode 257(e=v(e)).length,// Initialize the state 258t=128,r=0,a=72;i<m;++i)(d=e[i])<128&&x.push(p(d));// Main encoding loop: 259for(n=o=x.length,o&&x.push("-");n<m;){// All non-basic code points < n have been handled already. Find the next 260// larger one: 261for(s=2147483647,i=0;i<m;++i)(d=e[i])>=t&&d<s&&(s=d);for(s-t>f((2147483647-r)/// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, 262// but guard against overflow 263(g=n+1))&&h("overflow"),r+=(s-t)*g,t=s,i=0;i<m;++i)if((d=e[i])<t&&++r>2147483647&&h("overflow"),d==t){// Represent delta as a generalized variable-length integer 264for(l=r,u=36;!(l<(c=u<=a?1:u>=a+26?26:u-a));u+=36)S=l-c,y=36-c,x.push(p(b(c+S%y,0))),l=f(S/y);x.push(p(b(l,0))),a=w(r,g,n==o),r=0,++n}++r,++t}return x.join("")}/** Expose `punycode` */// Some AMD build optimizers, like r.js, check for specific condition patterns 265// like the following: 266if(/*--------------------------------------------------------------------------*//** Define the public API */i={/** 267 * A string representing the current Punycode.js version number. 268 * @memberOf punycode
269 * @type String 270 */version:"1.3.2",/** 271 * An object of methods to convert from JavaScript's internal character 272 * representation (UCS-2) to Unicode code points, and back. 273 * @see <https://mathiasbynens.be/notes/javascript-encoding> 274 * @memberOf punycode 275 * @type Object 276 */ucs2:{decode:v,encode:y},decode:S,encode:x,toASCII:/** 277 * Converts a Unicode string representing a domain name or an email address to 278 * Punycode. Only the non-ASCII parts of the domain name will be converted, 279 * i.e. it doesn't matter if you call it with a domain that's already in 280 * ASCII. 281 * @memberOf punycode 282 * @param {String} input The domain name or email address to convert, as a 283 * Unicode string. 284 * @returns {String} The Punycode representation of the given domain name or 285 * email address. 286 */function(e){return g(e,function(e){return u.test(e)?"xn--"+x(e):e})},toUnicode:/** 287 * Converts a Punycode string representing a domain name or an email address 288 * to Unicode. Only the Punycoded parts of the input will be converted, i.e. 289 * it doesn't matter if you call it on a string that has already been 290 * converted to Unicode. 291 * @memberOf punycode 292 * @param {String} input The Punycoded domain name or email address to 293 * convert to Unicode. 294 * @returns {String} The Unicode representation of the given Punycode 295 * string. 296 */function(e){return g(e,function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return i});else if(n&&o){if(e.exports==n)o.exports=i;else for(s in i)i.hasOwnProperty(s)&&(n[s]=i[s])}else r.punycode=i}(this)}),tB.register("kzGqM",function(e,t){e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var i=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,d,f,p,h=e[u].replace(i,"%20"),m=h.indexOf(n);(m>=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(a,f))?r(a[f])?a[f].push(p):a[f]=[a[f],p]:a[f]=p}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}),tB.register("kWD7b",function(e,t){var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,i,s){return(t=t||"&",i=i||"=",null===e&&(e=void 0),"object"==typeof e)?o(a(e),function(a){var s=encodeURIComponent(r(a))+i;return n(e[a])?o(e[a],function(e){return s+encodeURIComponent(r(e))}).join(t):s+encodeURIComponent(r(e[a]))}).join(t):s?encodeURIComponent(r(s))+i+encodeURIComponent(r(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var a=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}),tB.register("Y7YWM",function(e,t){e.exports=import("./"+tB("27Lyk").resolve("aRe47")).then(()=>tB("kOnn9"))}),tB.register("uQ1Em",function(e,t){var r=tB("23YZo"),n=t&&!t.nodeType&&t,o=n&&e&&!e.nodeType&&e,a=o&&o.exports===n?r.Buffer:void 0,i=a?a.allocUnsafe:void 0;e.exports=/** 297 * Creates a clone of `buffer`. 298 * 299 * @private 300 * @param {Buffer} buffer The buffer to clone. 301 * @param {boolean} [isDeep] Specify a deep clone. 302 * @returns {Buffer} Returns the cloned buffer. 303 */function(e,t){if(t)return e.slice();var r=e.length,n=i?i(r):new e.constructor(r);return e.copy(n),n}}),tB.register("23YZo",function(e,t){var r=tB("ljJ8G"),n="object"==typeof self&&self&&self.Object===Object&&self,o=r||n||Function("return this")();e.exports=o}),tB.register("ljJ8G",function(e,t){/** Detect free variable `global` from Node.js. */var r="object"==typeof tD&&tD&&tD.Object===Object&&tD;e.exports=r}),tB.register("f504n",function(e,t){var r=tB("23YZo"),n=tB("fiQnm"),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,s=i?i.isBuffer:void 0;e.exports=s||n}),tB.register("fiQnm",function(e,t){e.exports=/** 304 * This method returns `false`. 305 * 306 * @static 307 * @memberOf _ 308 * @since 4.13.0 309 * @category Util 310 * @returns {boolean} Returns `false`. 311 * @example 312 * 313 * _.times(2, _.stubFalse); 314 * // => [false, false] 315 */function(){return!1}}),tB.register("jIny1",function(e,t){var r=tB("ljJ8G"),n=t&&!t.nodeType&&t,o=n&&e&&!e.nodeType&&e,a=o&&o.exports===n&&r.process,i=function(){try{// Use `util.types` for Node.js 10+.
316var e=o&&o.require&&o.require("util").types;if(e)return e;// Legacy `process.binding('util')` for Node.js < 10. 317return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=i});var tz={};tz=tB("1b2ls"),tB("acw62");var tW={};!// DCE check should happen before ReactDOM bundle executes so that 318// DevTools can report bad minification during injection. 319function e(){/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{// Verify that the code above has been dead code eliminated (DCE'd). 320__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){// DevTools shouldn't crash React, no matter what. 321// We should still report in case we break this code. 322console.error(e)}}(),$=(tW=tB("Xw6Mv")).createRoot,tW.hydrateRoot;/** 323 * React Router DOM v6.15.0 324 * 325 * Copyright (c) Remix Software Inc. 326 * 327 * This source code is licensed under the MIT license found in the 328 * LICENSE.md file in the root directory of this source tree. 329 * 330 * @license MIT 331 */var tG=tB("acw62");/** 332 * @remix-run/router v1.8.0 333 * 334 * Copyright (c) Remix Software Inc. 335 * 336 * This source code is licensed under the MIT license found in the 337 * LICENSE.md file in the root directory of this source tree. 338 * 339 * @license MIT 340 */function tq(){return(tq=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}).apply(this,arguments)}/** 341 * A POP indicates a change to an arbitrary index in the history stack, such 342 * as a back or forward navigation. It does not describe the direction of the 343 * navigation, only that the current index changed. 344 * 345 * Note: This is the default action for newly created history objects. 346 */(g=K||(K={})).Pop="POP",/** 347 * A PUSH indicates a new entry being added to the history stack, such as when 348 * a link is clicked and a new page loads. When this happens, all subsequent 349 * entries in the stack are lost. 350 */g.Push="PUSH",/** 351 * A REPLACE indicates the entry at the current index in the history stack 352 * being replaced by a new one. 353 */g.Replace="REPLACE";const tY="popstate";function t$(e,t){if(!1===e||null==e)throw Error(t)}function tK(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{// Welcome to debugging history! 354// 355// This error is thrown as a convenience so you can more easily 356// find the source for a warning that appears in the console by 357// enabling "pause on exceptions" in your JavaScript debugger. 358throw Error(t);// eslint-disable-next-line no-empty 359}catch(e){}}}/** 360 * For browser-based histories, we combine the state and key into an object 361 */function tJ(e,t){return{usr:e.state,key:e.key,idx:t}}/** 362 * Creates a Location object with a unique key from the given Path 363 */function tQ(e,t,r,n){return void 0===r&&(r=null),tq({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?t0(t):t,{state:r,// TODO: This could be cleaned up. push/replace should probably just take 364// full Locations now and avoid the need to run through this flow at all 365// But that's a pretty big refactor to the current test suite so going to 366// keep as is for the time being and just let any incoming keys take precedence 367key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}/** 368 * Creates a string URL path from the given pathname, search, and hash components. 369 */function tX(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}/** 370 * Parses a string URL path into its separate pathname, search, and hash components. 371 */function t0(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}(v=J||(J={})).data="data",v.deferred="deferred",v.redirect="redirect",v.error="error";const t1=/^:\w+$/,t2=e=>"*"===e;/** 372 * @private 373 */function t8(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;// We want to leave trailing slash behavior in the user's control, so if they 374// specify a basename with a trailing slash, we should support it 375let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function t6(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t)+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}
375/** 376 * @private 377 * 378 * When processing relative navigation we want to ignore ancestor routes that 379 * do not contribute to the path, such that index/pathless layout routes don't 380 * interfere. 381 * 382 * For example, when moving a route element into an index route and/or a 383 * pathless layout route, relative link behavior contained within should stay 384 * the same. Both of the following examples should link back to the root: 385 * 386 * <Route path="/"> 387 * <Route path="accounts" element={<Link to=".."}> 388 * </Route> 389 * 390 * <Route path="/"> 391 * <Route path="accounts"> 392 * <Route element={<AccountsLayout />}> // <-- Does not contribute 393 * <Route index element={<Link to=".."} /> // <-- Does not contribute 394 * </Route 395 * </Route> 396 * </Route> 397 */function t4(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}/** 398 * @private 399 */function t3(e,t,r,n){let o,a;void 0===n&&(n=!1),"string"==typeof e?o=t0(e):(t$(!(o=tq({},e)).pathname||!o.pathname.includes("?"),t6("?","pathname","search",o)),t$(!o.pathname||!o.pathname.includes("#"),t6("#","pathname","hash",o)),t$(!o.search||!o.search.includes("#"),t6("#","search","hash",o)));let i=""===e||""===o.pathname,s=i?"/":o.pathname;// Routing is relative to the current pathname if explicitly requested. 400// 401// If a pathname is explicitly provided in `to`, it should be relative to the 402// route context. This is explained in `Note on `<Link to>` values` in our 403// migration guide from v5 as a means of disambiguation between `to` values 404// that begin with `/` and those that do not. However, this is problematic for 405// `to` values that do not provide a pathname. `to` can simply be a search or 406// hash string, in which case we should assume that the navigation is relative 407// to the current location's pathname and *not* the route pathname. 408if(n||null==s)a=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");// Each leading .. segment means "go up one route" instead of "go up one 409// URL segment". This is a key difference from how <a href> works and a 410// major reason we call this a "to" value instead of a "href". 411for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}// If there are more ".." segments than parent routes, resolve relative to 412// the root / URL. 413a=e>=0?t[e]:"/"}let l=/** 414 * Returns a resolved path object relative to the given pathname. 415 * 416 * @see https://reactrouter.com/utils/resolve-path 417 */function(e,t){let r;void 0===t&&(t="/");let{pathname:n,search:o="",hash:a=""}="string"==typeof e?t0(e):e;return{pathname:n?n.startsWith("/")?n:(r=t.replace(/\/+$/,"").split("/"),n.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"):t,search:t9(o),hash:re(a)}}(o,a),u=s&&"/"!==s&&s.endsWith("/"),c=(i||"."===s)&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}/** 418 * @private 419 */const t5=e=>e.join("/").replace(/\/\/+/g,"/"),t7=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),t9=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",re=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Symbol("deferred");/** 420 * React Router v6.15.0 421 * 422 * Copyright (c) Remix Software Inc. 423 * 424 * This source code is licensed under the MIT license found in the 425 * LICENSE.md file in the root directory of this source tree. 426 * 427 * @license MIT 428 */var tG=tB("acw62");function rt(){return(rt=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}).apply(this,arguments)}// Create react-specific types from the agnostic types in @remix-run/router to 429// export from react-router 430const rr=/*#__PURE__*/tG.createContext(null),rn=/*#__PURE__*/tG.createContext(null),ro=/*#__PURE__*/tG.createContext(null),ra=/*#__PURE__*/tG.createContext(null),ri=/*#__PURE__*/tG.createContext({outlet:null,matches:[],isDataRoute:!1}),rs=/*#__PURE__*/tG.createContext(null);/** 431 * Returns true if this component is a descendant of a <Router>. 432 * 433 * @see https://reactrouter.com/hooks/use-in-router-context 434 */function rl(){return null!=tG.useContext(ra)}/** 435 * Returns the current location object, which represents the current URL in web 436 * browsers. 437 *
438 * Note: If you're using this it may mean you're doing some of your own 439 * "routing" in your app, and we'd like to know what your use case is. We may 440 * be able to provide something higher-level to better suit your needs. 441 * 442 * @see https://reactrouter.com/hooks/use-location 443 */function ru(){return rl()||t$(!1),tG.useContext(ra).location}// Mute warnings for calls to useNavigate in SSR environments 444function rc(e){tG.useContext(ro).static||// See: https://github.com/facebook/react/pull/26395 445// eslint-disable-next-line react-hooks/rules-of-hooks 446tG.useLayoutEffect(e)}/** 447 * Returns an imperative method for changing the location. Used by <Link>s, but 448 * may also be used by other elements to change the location. 449 * 450 * @see https://reactrouter.com/hooks/use-navigate 451 */function rd(){let{isDataRoute:e}=tG.useContext(ri);// Conditional usage is OK here because the usage of a data router is static 452// eslint-disable-next-line react-hooks/rules-of-hooks 453return e?/** 454 * Stable version of useNavigate that is used when we are in the context of 455 * a RouterProvider. 456 */function(){let e;let{router:t}=(rg.UseNavigateStable,(e=tG.useContext(rr))||t$(!1),e),r=ry(rv.UseNavigateStable),n=tG.useRef(!1);return rc(()=>{n.current=!0}),tG.useCallback(function(e,o){void 0===o&&(o={}),n.current&&("number"==typeof e?t.navigate(e):t.navigate(e,rt({fromRouteId:r},o)))},[t,r])}():function(){rl()||t$(!1);let e=tG.useContext(rr),{basename:t,navigator:r}=tG.useContext(ro),{matches:n}=tG.useContext(ri),{pathname:o}=ru(),a=JSON.stringify(t4(n).map(e=>e.pathnameBase)),i=tG.useRef(!1);return rc(()=>{i.current=!0}),tG.useCallback(function(n,s){// Short circuit here since if this happens on first render the navigate 457// is useless because we haven't wired up our history listener yet 458if(void 0===s&&(s={}),!i.current)return;if("number"==typeof n){r.go(n);return}let l=t3(n,JSON.parse(a),o,"path"===s.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:t5([t,l.pathname])),(s.replace?r.replace:r.push)(l,s.state,s)},[t,r,a,o,e])}()}/** 459 * Resolves the pathname of the given `to` value against the current location. 460 * 461 * @see https://reactrouter.com/hooks/use-resolved-path 462 */function rf(e,t){let{relative:r}=void 0===t?{}:t,{matches:n}=tG.useContext(ri),{pathname:o}=ru(),a=JSON.stringify(t4(n).map(e=>e.pathnameBase));return tG.useMemo(()=>t3(e,JSON.parse(a),o,"path"===r),[e,a,o,r])}const rp=/*#__PURE__*/tG.createElement(function(){var e;let t,r,n;let o=(r=tG.useContext(rs),rv.UseRouteError,(t=tG.useContext(rn))||t$(!1),n=ry(rv.UseRouteError),// If this was a render error, we put it in a RouteError context inside 463// of RenderErrorBoundary 464r||(null==(e=t.errors)?void 0:e[n])),a=null!=o&&"number"==typeof o.status&&"string"==typeof o.statusText&&"boolean"==typeof o.internal&&"data"in o?o.status+" "+o.statusText:o instanceof Error?o.message:JSON.stringify(o),i=o instanceof Error?o.stack:null;return /*#__PURE__*/tG.createElement(tG.Fragment,null,/*#__PURE__*/tG.createElement("h2",null,"Unexpected Application Error!"),/*#__PURE__*/tG.createElement("h3",{style:{fontStyle:"italic"}},a),i?/*#__PURE__*/tG.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},i):null,null)},null);class rh extends tG.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return(// When we get into an error state, the user will likely click "back" to the 465// previous page that didn't have an error. Because this wraps the entire 466// application, that will have no effect--the error page continues to display. 467// This gives us a mechanism to recover from the error when the location changes. 468// 469// Whether we're in an error state or not, we update the location in state 470// so that when we are in an error state, it gets reset when a new location 471// comes in and the user recovers from the error. 472t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation})}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?/*#__PURE__*/tG.createElement(ri.Provider,{value:this.props.routeContext},/*#__PURE__*/tG.createElement(rs.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}
472function rm(e){let{routeContext:t,match:r,children:n}=e,o=tG.useContext(rr);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),/*#__PURE__*/tG.createElement(ri.Provider,{value:t},n)}var rg=((y=rg||{}).UseBlocker="useBlocker",y.UseRevalidator="useRevalidator",y.UseNavigateStable="useNavigate",y),rv=((b=rv||{}).UseBlocker="useBlocker",b.UseLoaderData="useLoaderData",b.UseActionData="useActionData",b.UseRouteError="useRouteError",b.UseNavigation="useNavigation",b.UseRouteLoaderData="useRouteLoaderData",b.UseMatches="useMatches",b.UseRevalidator="useRevalidator",b.UseNavigateStable="useNavigate",b.UseRouteId="useRouteId",b);// Internal version with hookName-aware debugging 473function ry(e){let t;let r=((t=tG.useContext(ri))||t$(!1),t),n=r.matches[r.matches.length-1];return n.route.id||t$(!1),n.route.id}/** 474 * Declares an element that should be rendered at a certain URL path. 475 * 476 * @see https://reactrouter.com/components/route 477 */function rb(e){t$(!1)}/** 478 * Provides location context for the rest of the app. 479 * 480 * Note: You usually won't render a <Router> directly. Instead, you'll render a 481 * router that is more specific to your environment such as a <BrowserRouter> 482 * in web browsers or a <StaticRouter> for server rendering. 483 * 484 * @see https://reactrouter.com/router-components/router 485 */function rw(e){let{basename:t="/",children:r=null,location:n,navigationType:o=K.Pop,navigator:a,static:i=!1}=e;rl()&&t$(!1);// Preserve trailing slashes on basename, so we can let the user control 486// the enforcement of trailing slashes throughout the app 487let s=t.replace(/^\/*/,"/"),l=tG.useMemo(()=>({basename:s,navigator:a,static:i}),[s,a,i]);"string"==typeof n&&(n=t0(n));let{pathname:u="/",search:c="",hash:d="",state:f=null,key:p="default"}=n,h=tG.useMemo(()=>{let e=t8(u,s);return null==e?null:{location:{pathname:e,search:c,hash:d,state:f,key:p},navigationType:o}},[s,u,c,d,f,p,o]);return null==h?null:/*#__PURE__*/tG.createElement(ro.Provider,{value:l},/*#__PURE__*/tG.createElement(ra.Provider,{children:r,value:h}))}/** 488 * A container for a nested tree of <Route> elements that renders the branch 489 * that best matches the current location. 490 * 491 * @see https://reactrouter.com/components/routes 492 */function rS(e){let{children:t,location:r}=e;return(// Internal implementation with accept optional param for RouterProvider usage 493function(e,t,r){let n;rl()||t$(!1);let{navigator:o}=tG.useContext(ro),{matches:a}=tG.useContext(ri),i=a[a.length-1],s=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=ru();if(t){var c;let e="string"==typeof t?t0(t):t;"/"===l||(null==(c=e.pathname)?void 0:c.startsWith(l))||t$(!1),n=e}else n=u;let d=n.pathname||"/",f=/** 494 * Matches the given routes to a location and returns the match data. 495 * 496 * @see https://reactrouter.com/utils/match-routes 497 */function(e,t,r){void 0===r&&(r="/");
497let n=t8(("string"==typeof t?t0(t):t).pathname||"/",r);if(null==n)return null;let o=function e(t,r,n,o){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===o&&(o="");let a=(t,a,i)=>{var s;let l,u,c={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:a,route:t};c.relativePath.startsWith("/")&&(t$(c.relativePath.startsWith(o),'Absolute route path "'+c.relativePath+'" nested under path "'+o+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),c.relativePath=c.relativePath.slice(o.length));let d=t5([o,c.relativePath]),f=n.concat(c);t.children&&t.children.length>0&&(t$(// @ts-expect-error 498!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+d+'".'),e(t.children,r,f,d)),(null!=t.path||t.index)&&r.push({path:d,score:(s=t.index,u=(l=d.split("/")).length,l.some(t2)&&(u+=-2),s&&(u+=2),l.filter(e=>!t2(e)).reduce((e,t)=>e+(t1.test(t)?3:""===t?1:10),u)),routesMeta:f})};return t.forEach((e,t)=>{var r;// coarse-grain check for optional params 499if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of /** 500 * Computes all combinations of optional path segments for a given path, 501 * excluding combinations that are ambiguous and of lower priority. 502 * 503 * For example, `/one/:two?/three/:four?/:five?` explodes to: 504 * - `/one/three` 505 * - `/one/:two/three` 506 * - `/one/three/:four` 507 * - `/one/three/:five` 508 * - `/one/:two/three/:four` 509 * - `/one/:two/three/:five` 510 * - `/one/three/:four/:five` 511 * - `/one/:two/three/:four/:five` 512 */function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...o]=r,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===o.length)// `["one", "", "three"]` corresponds to omitting `:two` from `/one/:two?/three` -> `/one/three` 513return a?[i,""]:[i];let s=e(o.join("/")),l=[];// for absolute paths, ensure `/` instead of empty segment 514return(// All child paths with the prefix. Do this for all children before the 515// optional version for all children so we get consistent ordering where the 516// parent optional aspect is preferred as required. Otherwise, we can get 517// child sections interspersed where deeper optional segments are higher than 518// parent optional segments, where for example, /:two would explodes _earlier_ 519// then /:one. By always including the parent as required _for all children_ 520// first, we avoid this issue 521l.push(...s.map(e=>""===e?i:[i,e].join("/"))),a&&l.push(...s),l.map(e=>t.startsWith("/")&&""===e?"/":e))}(e.path))a(e,t,r);else a(e,t)}),r}(e);!function(e){e.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score// Higher score first 522:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?// first. This allows people to have fine-grained control over the matching 523// behavior by simply putting routes with identical paths in the order they 524// want them tried. 525r[r.length-1]-n[n.length-1]:// so they sort equally. 5260)})}(o);let a=null;for(let e=0;null==a&&e<o.length;++e)a=function(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e<r.length;++e){let i=r[e],s=e===r.length-1,l="/"===o?t:t.slice(o.length)||"/",u=/** 527 * Performs pattern matching on a URL pathname and returns information about 528 * the match. 529 * 530 * @see https://reactrouter.com/utils/match-path 531 */function(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),tK("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],o="^"+e.replace(/\/*\*?$/,"")// Ignore trailing / and /*, we'll handle it below 532.replace(/^\/*/,"/")// Make sure it has a leading / 533.replace(/[\\.*+^$?{}|()[\]]/g,"\\$&")// Escape special regex chars 534.replace(/\/:(\w+)/g,(e,t)=>(n.push(t),"/([^\\/]+)"));return e.endsWith("*")?(n.push("*"),o+="*"===e||"/*"===e?"(.*)$"// Already matched the initial /, just match the rest 535:"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&// then we have _some_ form of path in our regex so we should expect to 536// match only if we find the end of this path segment. Look for an optional 537// non-captured trailing slash (to match a portion of the URL) or the end 538// of the path (if we've matched to the end). We used to do this with a 539// word boundary but that gives false positives on routes like 540// /user-preferences since `-` counts as a word boundary. 541(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce((e,t,r)=>{// We need to compute the pathnameBase here using the raw splat value 542// instead of using params["*"] later because it will be decoded then 543if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return tK(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e},{}),pathname:a,pathnameBase:i,pattern:e}}({path:i.relativePath,caseSensitive:i.caseSensitive,end:s},l);if(!u)return null;
543Object.assign(n,u.params);let c=i.route;a.push({// TODO: Can this as be avoided? 544params:n,pathname:t5([o,u.pathname]),pathnameBase:t7(t5([o,u.pathnameBase])),route:c}),"/"!==u.pathnameBase&&(o=t5([o,u.pathnameBase]))}return a}(o[e],// or from router.navigate, but we want to match against the unencoded 545// paths in the route definitions. Memory router locations won't be 546// encoded here but there also shouldn't be anything to decode so this 547// should be a safe operation. This avoids needing matchRoutes to be 548// history-aware. 549function(e){try{return decodeURI(e)}catch(t){return tK(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}(n));return a}(e,{pathname:"/"===l?d:d.slice(l.length)||"/"}),p=function(e,t,r){var n,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),null==e){if(null==(o=r)||!o.errors)return null;// boundary. Use the pre-matched (or shimmed) matches 550e=r.matches}let a=e,i=null==(n=r)?void 0:n.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&(null==i?void 0:i[e.route.id]));e>=0||t$(!1),a=a.slice(0,Math.min(a.length,e+1))}return a.reduceRight((e,n,o)=>{let s=n.route.id?null==i?void 0:i[n.route.id]:null,l=null;r&&(l=n.route.errorElement||rp);let u=t.concat(a.slice(0,o+1)),c=()=>{let t;return t=s?l:n.route.Component?/*#__PURE__*/tG.createElement(n.route.Component,null):n.route.element?n.route.element:e,/*#__PURE__*/tG.createElement(rm,{match:n,routeContext:{outlet:e,matches:u,isDataRoute:null!=r},children:t})};// Only wrap in an error boundary within data router usages when we have an 551// ErrorBoundary/errorElement on this route. Otherwise let it bubble up to 552// an ancestor ErrorBoundary/errorElement 553return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?/*#__PURE__*/tG.createElement(rh,{location:r.location,revalidation:r.revalidation,component:l,error:s,children:c(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):c()},null)}(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:t5([l,// Re-encode pathnames that were decoded inside matchRoutes 554 o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:t5([l,// Re-encode pathnames that were decoded inside matchRoutes 555 o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,void 0);return(// When a user passes in a `locationArg`, the associated routes need to 556// be wrapped in a new `LocationContext.Provider` in order for `useLocation` 557// to use the scoped location instead of the global location. 558t&&p?/*#__PURE__*/tG.createElement(ra.Provider,{value:{location:rt({pathname:"/",search:"",hash:"",state:null,key:"default"},n),navigationType:K.Pop}},p):p)}(/////////////////////////////////////////////////////////////////////////////// 559// UTILS
560/////////////////////////////////////////////////////////////////////////////// 561/** 562 * Creates a route config from a React "children" object, which is usually 563 * either a `<Route>` element or an array of them. Used internally by 564 * `<Routes>` to create a route config from its children. 565 * 566 * @see https://reactrouter.com/utils/create-routes-from-children 567 */function e(t,r){void 0===r&&(r=[]);let n=[];return tG.Children.forEach(t,(t,o)=>{if(!/*#__PURE__*/tG.isValidElement(t))// conditionals in their route config. 568return;let a=[...r,o];if(t.type===tG.Fragment){// Transparently support React.Fragment and its children. 569n.push.apply(n,e(t.props.children,a));return}t.type!==rb&&t$(!1),t.props.index&&t.props.children&&t$(!1);let i={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(i.children=e(t.props.children,a)),n.push(i)}),n}(t),r))}tG.startTransition;var rx=((w=rx||{})[w.pending=0]="pending",w[w.success=1]="success",w[w.error=2]="error",w);function rE(){return(rE=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}).apply(this,arguments)}function rC(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}/** 570 * Creates a URLSearchParams object using the given initializer. 571 * 572 * This is identical to `new URLSearchParams(init)` except it also 573 * supports arrays as values in the object form of the initializer 574 * instead of just strings. This is convenient when you need multiple 575 * values for a given key, but don't want to use an array initializer. 576 * 577 * For example, instead of: 578 * 579 * let searchParams = new URLSearchParams([ 580 * ['sort', 'name'], 581 * ['sort', 'price'] 582 * ]); 583 * 584 * you can do: 585 * 586 * let searchParams = createSearchParams({ 587 * sort: ['name', 'price'] 588 * }); 589 */function rA(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(e=>[r,e]):[[r,n]])},[]))}new Promise(()=>{});const rk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],r_=["aria-current","caseSensitive","className","end","style","to","children"],rI=["reloadDocument","replace","state","method","action","onSubmit","submit","relative","preventScrollReset"],rT=tG.startTransition,rP="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,rN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rO=/*#__PURE__*/tG.forwardRef(function(e,t){let r,{onClick:n,relative:o,reloadDocument:a,replace:i,state:s,target:l,to:u,preventScrollReset:c}=e,d=rC(e,rk),{basename:f}=tG.useContext(ro),p=!1;if("string"==typeof u&&rN.test(u)&&(// Render the absolute href server- and client-side 590r=u,rP))try{let e=new URL(window.location.href),t=new URL(u.startsWith("//")?e.protocol+u:u),r=t8(t.pathname,f);t.origin===e.origin&&null!=r?u=r+t.search+t.hash:p=!0}catch(e){}// Rendered into <a href> for relative URLs 591let h=/** 592 * Returns the full href for the given "to" value. This is useful for building 593 * custom links that are also accessible and preserve right-click behavior. 594 * 595 * @see https://reactrouter.com/hooks/use-href 596 */function(e,t){let{relative:r}=void 0===t?{}:t;rl()||t$(!1);let{basename:n,navigator:o}=tG.useContext(ro),{hash:a,pathname:i,search:s}=rf(e,{relative:r}),l=i;return"/"!==n&&(l="/"===i?n:t5([n,i])),o.createHref({pathname:l,search:s,hash:a})}(u,{relative:o}),m=/** 597 * Handles the click behavior for router `<Link>` components. This is useful if 598 * you need to create custom `<Link>` components with the same click behavior we 599 * use in our exported `<Link>`. 600 */function(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i}=void 0===t?{}:t,s=rd(),l=ru(),u=rf(e,{relative:i});return tG.useCallback(t=>{0!==t.button||// Ignore everything but left clicks 601r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),s(e,{replace:void 0!==n?n:tX(l)===tX(u),state:o,preventScrollReset:a,relative:i}))},[l,s,u,n,o,r,e,a,i])}(u,{replace:i,state:s,target:l,preventScrollReset:c,relative:o});return /*#__PURE__*/tG.createElement("a",rE({},d,{href:r||h,onClick:p||a?n:function(e){n&&n(e),e.defaultPrevented||m(e)},ref:t,target:l}))}),rM=/*#__PURE__*/tG.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:o=!1,className:a="",end:i=!1,style:s,to:l,children:u}=e,c=rC(e,r_),d=rf(l,{relative:c.relative}),f=ru(),p=tG.useContext(rn),{navigator:h}=tG.useContext(ro),m=h.encodeLocation?h.encodeLocation(d).pathname:d.pathname,g=f.pathname,v=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;o||(g=g.toLowerCase(),v=v?v.toLowerCase():null,m=m.toLowerCase());let y=g===m||!i&&g.startsWith(m)&&"/"===g.charAt(m.length),b=null!=v&&(v===m||!i&&v.startsWith(m)&&"/"===v.charAt(m.length));r="function"==typeof a?a({isActive:y,isPending:b}
601):[a,y?"active":null,b?"pending":null].filter(Boolean).join(" ");let w="function"==typeof s?s({isActive:y,isPending:b}):s;return /*#__PURE__*/tG.createElement(rO,rE({},c,{"aria-current":y?n:void 0,className:r,ref:t,style:w,to:l}),"function"==typeof u?u({isActive:y,isPending:b}):u)});/** 602 * A convenient wrapper for reading and writing search parameters via the 603 * URLSearchParams interface. 604 */function rj(e){let t=tG.useRef(rA(e)),r=tG.useRef(!1),n=ru(),o=tG.useMemo(()=>{var e,o;let a;return e=n.search,o=r.current?null:t.current,a=rA(e),o&&// `defaultSearchParams.keys()` to work-around a bug in Firefox related to 605// web extensions. Relevant Bugzilla tickets: 606// https://bugzilla.mozilla.org/show_bug.cgi?id=1414602 607// https://bugzilla.mozilla.org/show_bug.cgi?id=1023984 608o.forEach((e,t)=>{a.has(t)||o.getAll(t).forEach(e=>{a.append(t,e)})}),a},[n.search]),a=rd(),i=tG.useCallback((e,t)=>{let n=rA("function"==typeof e?e(o):e);r.current=!0,a("?"+n,t)},[a,o]);return[o,i]}(S=Q||(Q={})).UseScrollRestoration="useScrollRestoration",S.UseSubmit="useSubmit",S.UseSubmitFetcher="useSubmitFetcher",S.UseFetcher="useFetcher",(x=X||(X={})).UseFetchers="useFetchers",x.UseScrollRestoration="useScrollRestoration";var tG=(tB("acw62"),tB("acw62"),tB("acw62"));const rF=(0,tG.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var rR=Object.defineProperty,rU=Object.getOwnPropertySymbols,rL=Object.prototype.hasOwnProperty,rD=Object.prototype.propertyIsEnumerable,rV=(e,t,r)=>t in e?rR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rH=(e,t)=>{for(var r in t||(t={}))rL.call(t,r)&&rV(e,r,t[r]);if(rU)for(var r of rU(t))rD.call(t,r)&&rV(e,r,t[r]);return e},rZ=(e,t)=>{var r={};for(var n in e)rL.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&rU)for(var n of rU(e))0>t.indexOf(n)&&rD.call(e,n)&&(r[n]=e[n]);return r};const rB=(0,tG.forwardRef)((e,t)=>{let{alt:r,color:n,size:o,weight:a,mirrored:i,children:s,weights:l}=e,u=rZ(e,["alt","color","size","weight","mirrored","children","weights"]),c=(0,tG.useContext)(rF),{color:d="currentColor",size:f,weight:p="regular",mirrored:h=!1}=c,m=rZ(c,["color","size","weight","mirrored"]);return /*@__PURE__*/tV(tG).createElement("svg",rH(rH({ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=o?o:f,height:null!=o?o:f,fill:null!=n?n:d,viewBox:"0 0 256 256",transform:i||h?"scale(-1, 1)":void 0},m),u),!!r&&/*@__PURE__*/tV(tG).createElement("title",null,r),s,l.get(null!=a?a:p))});rB.displayName="IconBase";var rz=Object.defineProperty,rW=Object.defineProperties,rG=Object.getOwnPropertyDescriptors,rq=Object.getOwnPropertySymbols,rY=Object.prototype.hasOwnProperty,r$=Object.prototype.propertyIsEnumerable,rK=(e,t,r)=>t in e?rz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rJ=(e,t)=>{for(var r in t||(t={}))rY.call(t,r)&&rK(e,r,t[r]);if(rq)for(var r of rq(t))r$.call(t,r)&&rK(e,r,t[r]);return e},rQ=(e,t)=>rW(e,rG(t));const rX=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"}))]]),r0=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,rQ(rJ({ref:t},e),{weights:rX})));r0.displayName="ArrowSquareOut";var tG=tB("acw62"),r1=Object.defineProperty,r2=Object.defineProperties,r8=Object.getOwnPropertyDescriptors,r6=Object.getOwnPropertySymbols,r4=Object.prototype.hasOwnProperty,r3=Object.prototype.propertyIsEnumerable,r5=(e,t,r)=>t in e?r1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,r7=(e,t)=>{for(var r in t||(t={}))r4.call(t,r)&&r5(e,r,t[r]);if(r6)for(var r of r6(t))r3.call(t,r)&&r5(e,r,t[r]);return e},r9=(e,t)=>
608r2(e,r8(t));const ne=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228.75,100.05c-3.52-3.67-7.15-7.46-8.34-10.33-1.06-2.56-1.14-7.83-1.21-12.47-.15-10-.34-22.44-9.18-31.27s-21.27-9-31.27-9.18c-4.64-.07-9.91-.15-12.47-1.21-2.87-1.19-6.66-4.82-10.33-8.34C148.87,20.46,140.05,12,128,12s-20.87,8.46-27.95,15.25c-3.67,3.52-7.46,7.15-10.33,8.34-2.56,1.06-7.83,1.14-12.47,1.21C67.25,37,54.81,37.14,46,46S37,67.25,36.8,77.25c-.07,4.64-.15,9.91-1.21,12.47-1.19,2.87-4.82,6.66-8.34,10.33C20.46,107.13,12,116,12,128S20.46,148.87,27.25,156c3.52,3.67,7.15,7.46,8.34,10.33,1.06,2.56,1.14,7.83,1.21,12.47.15,10,.34,22.44,9.18,31.27s21.27,9,31.27,9.18c4.64.07,9.91.15,12.47,1.21,2.87,1.19,6.66,4.82,10.33,8.34C107.13,235.54,116,244,128,244s20.87-8.46,27.95-15.25c3.67-3.52,7.46-7.15,10.33-8.34,2.56-1.06,7.83-1.14,12.47-1.21,10-.15,22.44-.34,31.27-9.18s9-21.27,9.18-31.27c.07-4.64.15-9.91,1.21-12.47,1.19-2.87,4.82-6.66,8.34-10.33C235.54,148.87,244,140.05,244,128S235.54,107.13,228.75,100.05Zm-17.32,39.29c-4.82,5-10.28,10.72-13.19,17.76-2.82,6.8-2.93,14.16-3,21.29-.08,5.36-.19,12.71-2.15,14.66s-9.3,2.07-14.66,2.15c-7.13.11-14.49.22-21.29,3-7,2.91-12.73,8.37-17.76,13.19C135.78,214.84,130.4,220,128,220s-7.78-5.16-11.34-8.57c-5-4.82-10.72-10.28-17.76-13.19-6.8-2.82-14.16-2.93-21.29-3-5.36-.08-12.71-.19-14.66-2.15s-2.07-9.3-2.15-14.66c-.11-7.13-.22-14.49-3-21.29-2.91-7-8.37-12.73-13.19-17.76C41.16,135.78,36,130.4,36,128s5.16-7.78,8.57-11.34c4.82-5,10.28-10.72,13.19-17.76,2.82-6.8,2.93-14.16,3-21.29C60.88,72.25,61,64.9,63,63s9.3-2.07,14.66-2.15c7.13-.11,14.49-.22,21.29-3,7-2.91,12.73-8.37,17.76-13.19C120.22,41.16,125.6,36,128,36s7.78,5.16,11.34,8.57c5,4.82,10.72,10.28,17.76,13.19,6.8,2.82,14.16,2.93,21.29,3,5.36.08,12.71.19,14.66,2.15s2.07,9.3,2.15,14.66c.11,7.13.22,14.49,3,21.29,2.91,7,8.37,12.73,13.19,17.76,3.41,3.56,8.57,8.94,8.57,11.34S214.84,135.78,211.43,139.34ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Zm28-72c0,18.37-13.69,33.88-32.27,38.56A12,12,0,0,1,116,144v-8a12,12,0,0,1,12-12c11,0,20-7.18,20-16s-9-16-20-16-20,7.18-20,16v4a12,12,0,0,1-24,0v-4c0-22.06,19.74-40,44-40S172,85.94,172,108Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M232,128c0,12.51-17.82,21.95-22.68,33.69-4.68,11.32,1.42,30.64-7.78,39.85s-28.53,3.1-39.85,7.78C150,214.18,140.5,232,128,232s-22-17.82-33.69-22.68c-11.32-4.68-30.65,1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82,150,24,140.5,24,128s17.82-22,22.68-33.69C51.36,83,45.26,63.66,54.46,54.46S83,51.36,94.31,46.68C106.05,41.82,115.5,24,128,24S150,41.82,161.69,46.68c11.32,4.68,30.65-1.42,39.85,7.78s3.1,28.53,7.78,39.85C214.18,106.05,232,115.5,232,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Zm28-72c0,17.38-13.76,31.93-32,35.28V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24
608-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36S168,88.15,168,108Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224.42,104.2c-3.9-4.07-7.93-8.27-9.55-12.18-1.5-3.63-1.58-9-1.67-14.68-.14-9.38-.3-20-7.42-27.12S188,42.94,178.66,42.8c-5.68-.09-11-.17-14.68-1.67-3.91-1.62-8.11-5.65-12.18-9.55C145.16,25.22,137.64,18,128,18s-17.16,7.22-23.8,13.58c-4.07,3.9-8.27,7.93-12.18,9.55-3.63,1.5-9,1.58-14.68,1.67-9.38.14-20,.3-27.12,7.42S42.94,68,42.8,77.34c-.09,5.68-.17,11-1.67,14.68-1.62,3.91-5.65,8.11-9.55,12.18C25.22,110.84,18,118.36,18,128s7.22,17.16,13.58,23.8c3.9,4.07,7.93,8.27,9.55,12.18,1.5,3.63,1.58,9,1.67,14.68.14,9.38.3,20,7.42,27.12S68,213.06,77.34,213.2c5.68.09,11,.17,14.68,1.67,3.91,1.62,8.11,5.65,12.18,9.55C110.84,230.78,118.36,238,128,238s17.16-7.22,23.8-13.58c4.07-3.9,8.27-7.93,12.18-9.55,3.63-1.5,9-1.58,14.68-1.67,9.38-.14,20-.3,27.12-7.42s7.28-17.74,7.42-27.12c.09-5.68.17-11,1.67-14.68,1.62-3.91,5.65-8.11,9.55-12.18C230.78,145.16,238,137.64,238,128S230.78,110.84,224.42,104.2Zm-8.66,39.3c-4.67,4.86-9.5,9.9-12,15.9-2.38,5.74-2.48,12.52-2.58,19.08-.11,7.44-.23,15.14-3.9,18.82s-11.38,3.79-18.82,3.9c-6.56.1-13.34.2-19.08,2.58-6,2.48-11,7.31-15.91,12-5.25,5-10.68,10.24-15.49,10.24s-10.24-5.21-15.5-10.24c-4.86-4.67-9.9-9.5-15.9-12-5.74-2.38-12.52-2.48-19.08-2.58-7.44-.11-15.14-.23-18.82-3.9s-3.79-11.38-3.9-18.82c-.1-6.56-.2-13.34-2.58-19.08-2.48-6-7.31-11-12-15.91C35.21,138.24,30,132.81,30,128s5.21-10.24,10.24-15.5c4.67-4.86,9.5-9.9,12-15.9,2.38-5.74,2.48-12.52,2.58-19.08.11-7.44.23-15.14,3.9-18.82s11.38-3.79,18.82-3.9c6.56-.1,13.34-.2,19.08-2.58,6-2.48,11-7.31,15.91-12C117.76,35.21,123.19,30,128,30s10.24,5.21,15.5,10.24c4.86,4.67,9.9,9.5,15.9,12,5.74,2.38,12.52,2.48,19.08,2.58,7.44.11,15.14.23,18.82,3.9s3.79,11.38,3.9,18.82c.1,6.56.2,13.34,2.58,19.08,2.48,6,7.31,11,12,15.91,5,5.25,10.24,10.68,10.24,15.49S220.79,138.24,215.76,143.5ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Zm28-72c0,16.92-13.89,31-32,33.58V144a6,6,0,0,1-12,0v-8a6,6,0,0,1,6-6c14.34,0,26-9.87,26-22s-11.66-22-26-22-26,9.87-26,22v4a6,6,0,0,1-12,0v-4c0-18.75,17-34,38-34S166,89.25,166,108Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.15,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.15,214.31,142.11ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Zm28-72c0,17.38-13.76,31.93-32,35.28V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24
608-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36S168,88.15,168,108Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M223,105.58c-4-4.2-8.2-8.54-10-12.8-1.65-4-1.73-9.53-1.82-15.41-.14-9-.29-19.19-6.83-25.74s-16.74-6.69-25.74-6.83c-5.88-.09-11.43-.17-15.41-1.82-4.26-1.76-8.6-5.93-12.8-9.95-6.68-6.41-13.59-13-22.42-13s-15.74,6.62-22.42,13c-4.2,4-8.54,8.2-12.8,10-4,1.65-9.53,1.73-15.41,1.82-9,.14-19.19.29-25.74,6.83S44.94,68.37,44.8,77.37c-.09,5.88-.17,11.43-1.82,15.41-1.76,4.26-5.93,8.6-9.95,12.8-6.41,6.68-13,13.59-13,22.42s6.62,15.74,13,22.42c4,4.2,8.2,8.54,10,12.8,1.65,4,1.73,9.53,1.82,15.41.14,9,.29,19.19,6.83,25.74s16.74,6.69,25.74,6.83c5.88.09,11.43.17,15.41,1.82,4.26,1.76,8.6,5.93,12.8,9.95,6.68,6.41,13.59,13,22.42,13s15.74-6.62,22.42-13c4.2-4,8.54-8.2,12.8-10,4-1.65,9.53-1.73,15.41-1.82,9-.14,19.19-.29,25.74-6.83s6.69-16.74,6.83-25.74c.09-5.88.17-11.43,1.82-15.41,1.76-4.26,5.93-8.6,9.95-12.8,6.41-6.68,13-13.59,13-22.42S229.38,112.26,223,105.58Zm-5.78,39.3c-4.54,4.73-9.24,9.63-11.57,15.28-2.23,5.39-2.33,12-2.43,18.35-.12,8.2-.24,16-4.49,20.2s-12,4.37-20.2,4.49c-6.37.1-13,.2-18.35,2.43-5.65,2.33-10.55,7-15.28,11.57C139.09,222.75,133.62,228,128,228s-11.09-5.25-16.88-10.8c-4.73-4.54-9.63-9.24-15.28-11.57-5.39-2.23-12-2.33-18.35-2.43-8.2-.12-15.95-.24-20.2-4.49s-4.37-12-4.49-20.2c-.1-6.37-.2-13-2.43-18.35-2.33-5.65-7-10.55-11.57-15.28C33.25,139.09,28,133.62,28,128s5.25-11.09,10.8-16.88c4.54-4.73,9.24-9.63,11.57-15.28,2.23-5.39,2.33-12,2.43-18.35.12-8.2.24-15.95,4.49-20.2s12-4.37,20.2-4.49c6.37-.1,13-.2,18.35-2.43,5.65-2.33,10.55-7,15.28-11.57C116.91,33.25,122.38,28,128,28s11.09,5.25,16.88,10.8c4.73,4.54,9.63,9.24,15.28,11.57,5.39,2.23,12,2.33,18.35,2.43,8.2.12,16,.24,20.2,4.49s4.37,12,4.49,20.2c.1,6.37.2,13,2.43,18.35,2.33,5.65,7,10.55,11.57,15.28,5.55,5.79,10.8,11.26,10.8,16.88S222.75,139.09,217.2,144.88ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Zm28-72c0,16.44-14,30-32,31.8V144a4,4,0,0,1-8,0v-8a4,4,0,0,1,4-4c15.44,0,28-10.77,28-24s-12.56-24-28-24-28,10.77-28,24v4a4,4,0,0,1-8,0v-4c0-17.64,16.15-32,36-32S164,90.36,164,108Z"}))]]),nt=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,r9(r7({ref:t},e),{weights:ne})));nt.displayName="SealQuestion";var tG=tB("acw62"),nr=Object.defineProperty,nn=Object.defineProperties,no=Object.getOwnPropertyDescriptors,na=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,ns=Object.prototype.propertyIsEnumerable,nl=(e,t,r)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nu=(e,t)=>{for(var r in t||(t={}))ni.call(t,r)&&nl(e,r,t[r]);if(na)for(var r of na(t))ns.call(t,r)&&nl(e,r,t[r]);return e},nc=(e,t)=>nn(e,no(t));const nd=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27
608ZM80,215.94V40l143.83,88Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"}))]]),nf=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,nc(nu({ref:t},e),{weights:nd})));nf.displayName="Play";var tG=tB("acw62"),np={};!/*! 609 Copyright (c) 2018 Jed Watson. 610 Licensed under the MIT License (MIT), see 611 http://jedwatson.github.io/classnames 612*//* global define */function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var a=typeof o;if("string"===a||"number"===a)r.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&r.push(i)}}else if("object"===a){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var s in o)e.call(o,s)&&o[s]&&r.push(s)}}}return r.join(" ")}np?(t.default=t,np=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}();const nh=/*@__PURE__*/tV(tG).forwardRef((e,t)=>{let{asAnchor:r,href:n,leftIcon:o,rightIcon:a,children:i,className:s,...l}=e,u={ref:t,className:/*@__PURE__*/tV(np)("flex items-center justify-between text-base space-x-1 bg-logseq-400 rounded-lg py-3 px-4 whitespace-nowrap","transition-opacity hover:opacity-80 active:opacity-100 disabled:hover:opacity-100",s)};n&&!r&&(u.onClick=()=>{window?.open(n,"_blank")});let c=/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"l flex items-center",children:[o&&/*#__PURE__*/(0,tz.jsx)("i",{className:"pr-1.5",children:o}),/*#__PURE__*/(0,tz.jsx)("span",{children:i})]}),a&&/*#__PURE__*/(0,tz.jsx)("i",{className:"pl-1",children:a})]});return r?/*#__PURE__*/(0,tz.jsx)("a",{href:n,...Object.assign(u,l),children:c}):/*#__PURE__*/(0,tz.jsx)("button",{...Object.assign(u,l),children:c})});var tG=tB("acw62");const nm=/*@__PURE__*/tV(tG).forwardRef((e,t)=>{let{children:r,className:n,delay:o,animation:a,...i}=e,[s,l]=(0,tG.useState)("");return(0,tG.useEffect)(()=>{setTimeout(()=>{l(`ani-${a||"slide-in-from-bottom"}`)},o||1e3)},[]),/*#__PURE__*/(0,tz.jsx)("div",{ref:t,className:/*@__PURE__*/tV(np)("glass-card","backdrop-blur-5xl",s,n),style:{animationDuration:2e4},...i,children:/*#__PURE__*/(0,tz.jsx)("div",{className:"glass-card-inner",children:r})})});var tG=tB("acw62"),ng=Object.defineProperty,nv=Object.defineProperties,ny=Object.getOwnPropertyDescriptors,nb=Object.getOwnPropertySymbols,nS=Object.prototype.hasOwnProperty,nx=Object.prototype.propertyIsEnumerable,nE=(e,t,r)=>t in e?ng(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nC=(e,t)=>{for(var r in t||(t={}))nS.call(t,r)&&nE(e,r,t[r]);if(nb)for(var r of nb(t))nx.call(t,r)&&nE(e,r,t[r]);return e},nA=(e,t)=>nv(e,ny(t));const nk=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M227,168a12,12,0,0,0-4.21-5.09C207.25,152.22,204,133.68,204,120c0-16.17,12.68-30.6,20.25-37.76a12,12,0,0,0,0-17.43C210.89,52.17,188.81,44,168,44a76.29,76.29,0,0,0-40,11.37,75.59,75.59,0,0,0-93.58,11A78.64,78.64,0,0,0,12,123.51,131,131,0,0,0,53.43,216,43.81,43.81,0,0,0,83.6,228h87.69a43.87,43.87,0,0,0,32.05-13.85,127.63,127.63,0,0,0,18.4-25.39c1.57-2.88,3-5.71,4.14-8.41C227.47,176.67,229.12,172.87,227,168Zm-41.23,29.82A19.78,19.78,0,0,1,171.29,204H83.6a19.85,19.85,0,0,1-13.7-5.42A107.18,107.18,0,0,1,36,122.88,54.49,54.49,0,0,1,51.5,83.28,50.86,50.86,0,0,1,88,68h.72A51.5,51.5,0,0,1,120.48,79.4a12,12,0,0,0,15,0A51.41,51.41,0,0,1,168,68a67.24,67.24,0,0,1,29.88,7.4C186.26,89.66,180,105.13,180,120c0,23.33,7.47,42.89,21.25,56.19A103.3,103.3,0,0,1,185.76,197.81ZM128.75,13A43.83,43.83,0,0,1,142.17,1.51a12,12,0,0,1,11.64,21,19.84,19.84,0,0,0-6.11,5.24A12,12,0,0,1,128.75,13Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,73.52Zm0,99.26c-16.79-11.53-24-30.87-24-52.78,0-18.3,11.68-34.81,24-46.48C204.53,62.66,185,56,168,56a63.72,63.72,0,0,0-40,14h0A63.71,63.71,0,0,0,88.88,56C52,55.5,23.06,86.3,24,123.19a119.62,119.62,0,0,0,37.65,84.12A32,32,0,0,0,83.6,216h87.7a31.75,31.75,0,0,0,23.26-10c15.85-17,21.44-33.2,21.44-33.2Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M223.3,169.59a8.07,8.07,0,0,0-2.8-3.4C203.53,154.53,200,134.64,200,120c0-17.67,13.47-33.06,21.5-40.67a8,8,0,0,0,0-11.62C208.82,55.74,187.82,48,168,48a72.23,72.23,0,0,0-40,12.13,71.56,71.56,0,0,0-90.71,9.09A74.63,74.63,0,0,0,16,123.4a127,127,0,0,0,40.14,89.73A39.8,39.8,0,0,0,83.59,224h87.68a39.84,39.84,0,0,0,29.12-12.57,125,125,0,0,0,17.82-24.6C225.23,174,224.33,172,223.3,169.59Zm-34.63,30.94a23.76,23.76,0,0,1-17.4,7.47H83.59a23.82,23.82,0,0,1-16.44-6.51A111.14,111.14,0,0,1,32,123,58.5,58.5,0,0,1,48.65,80.47,54.81,54.81,0,0,1,88,64h.78A55.45,55.45,0,0,1,123,76.28a8,8,0,0,0,10,0A55.39,5
6125.39,0,0,1,168,64a70.64,70.64,0,0,1,36,10.35c-13,14.52-20,30.47-20,45.65,0,23.77,7.64,42.73,22.18,55.3A105.52,105.52,0,0,1,188.67,200.53ZM128.23,30A40,40,0,0,1,167,0h1a8,8,0,0,1,0,16h-1a24,24,0,0,0-23.24,18,8,8,0,1,1-15.5-4Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128.23,30A40,40,0,0,1,167,0h1a8,8,0,0,1,0,16h-1a24,24,0,0,0-23.24,18,8,8,0,1,1-15.5-4ZM223.3,169.59a8.07,8.07,0,0,0-2.8-3.4C203.53,154.53,200,134.64,200,120c0-17.67,13.47-33.06,21.5-40.67a8,8,0,0,0,0-11.62C208.82,55.74,187.82,48,168,48a72.23,72.23,0,0,0-40,12.13,71.56,71.56,0,0,0-90.71,9.09A74.63,74.63,0,0,0,16,123.4a127,127,0,0,0,40.14,89.73A39.8,39.8,0,0,0,83.59,224h87.68a39.84,39.84,0,0,0,29.12-12.57,125,125,0,0,0,17.82-24.6C225.23,174,224.33,172,223.3,169.59Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M219.4,167.84C201.71,155.69,198,135.12,198,120c0-18.42,13.86-34.29,22.12-42.12a6,6,0,0,0,0-8.71C208,57.7,187.07,50,168,50a70.23,70.23,0,0,0-40,12.55,69.6,69.6,0,0,0-89.31,8.08A72.63,72.63,0,0,0,18,123.35a125.11,125.11,0,0,0,39.53,88.33A37.85,37.85,0,0,0,83.6,222h87.7A37.83,37.83,0,0,0,199,210.07a122.6,122.6,0,0,0,17.54-24.2c6.55-12,5.77-13.75,5-15.48A6.07,6.07,0,0,0,219.4,167.84Zm-29.23,34A25.82,25.82,0,0,1,171.3,210H83.6A25.85,25.85,0,0,1,65.78,203,113.21,113.21,0,0,1,30,123a60.55,60.55,0,0,1,17.21-44A56.82,56.82,0,0,1,88,62h.81a57.35,57.35,0,0,1,35.44,12.71,6,6,0,0,0,7.5,0A57.39,57.39,0,0,1,168,62c13.89,0,28.81,4.68,39.11,12-9.44,10.14-21.1,26.59-21.1,46,0,23.78,7.81,42.6,22.66,54.77A107.33,107.33,0,0,1,190.17,201.89Zm-60-171.39A38,38,0,0,1,167,2h1a6,6,0,0,1,0,12h-1a26,26,0,0,0-25.18,19.5,6,6,0,1,1-11.62-3Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M223.3,169.59a8.07,8.07,0,0,0-2.8-3.4C203.53,154.53,200,134.64,200,120c0-17.67,13.47-33.06,21.5-40.67a8,8,0,0,0,0-11.62C208.82,55.74,187.82,48,168,48a72.2,72.2,0,0,0-40,12.13,71.56,71.56,0,0,0-90.71,9.09A74.63,74.63,0,0,0,16,123.4a127.06,127.06,0,0,0,40.14,89.73A39.8,39.8,0,0,0,83.59,224h87.68a39.84,39.84,0,0,0,29.12-12.57,125,125,0,0,0,17.82-24.6C225.23,174,224.33,172,223.3,169.59Zm-34.63,30.94a23.76,23.76,0,0,1-17.4,7.47H83.59a23.82,23.82,0,0,1-16.44-6.51A111.14,111.14,0,0,1,32,123,58.5,58.5,0,0,1,48.65,80.47,54.81,54.81,0,0,1,88,64h.78A55.45,55.45,0,0,1,123,76.28a8,8,0,0,0,10,0A55.44,55.44,0,0,1,168,64a70.64,70.64,0,0,1,36,10.35c-13,14.52-20,30.47-20,45.65,0,23.77,7.64,42.73,22.18,55.3A105.82,105.82,0,0,1,188.67,200.53ZM128.23,30A40,40,0,0,1,167,0h1a8,8,0,0,1,0,16h-1a24,24,0,0,0-23.24,18,8,8,0,1,1-15.5-4Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M218.27,169.49C199.86,156.84,196,135.6,196,120c0-19.17,14.25-35.53,22.75-43.57a4,4,0,0,0,0-5.81C207,59.48,186.59,52,168,52a68.3,68.3,0,0,0-40,13,67.61,67.61,0,0,0-87.88,7A70.65,70.65,0,0,0,20,123.3a123.11,123.11,0,0,0,38.9,86.92A35.81,35.81,0,0,0,83.6,220h87.7a35.84,35.84,0,0,0,26.19-11.3,119.93,119.93,0,0,0,17.24-23.79c6.08-11.1,5.42-12.62,4.94-13.72A4,4,0,0,0,218.27,169.49Zm-26.64,33.77A27.83,27.83,0,0,1,171.3,212H83.6a27.84,27.84,0,0,1-19.19-7.6A115.15,115.15,0,0,1,28,123.09,62.55,62.55,0,0,1,45.81,77.66,58.78,58.78,0,0,1,88,60h.84a59.37,59.37,0,0,1,36.66,13.15,4,4,0,0,0,5,0A59.35,59.35,0,0,1,168,60c15.12,0,31.45,5.41,42.11,13.73C200.68,83.42,188,100.16,188,120c0,23.79,8,42.44,23.12,54.17A107.64,107.64,0,0,1,191.63,203.26ZM132.13,31A36,36,0,0,1,167,4h1a4,4,0,0,1,0,8h-1a28,28,0,0,0-27.12,21A4,4,0,0,1,136,36a3.87,3.87,0,0,1-1-.13A4,4,0,0,1,132.13,31Z"}))]]),n_=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,nA(nC({ref:t},e),{weights:nk})));n_.displayName="AppleLogo";var tG=tB("acw62"),nI=Object.defineProperty,nT=Object.defineProperties,nP=Object.getOwnPropertyDescriptors,nN=Object.getOwnPropertySymbols,nO=Object.prototype.hasOwnProperty,nM=Object.prototype.propertyIsEnumerable,nj=(e,t,r)=>t in e?nI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nF=(e,t)=>{for(var r in t||(t={}))nO.call(t,r)&&nj(e,r,t[r]);if(nN)for(var r of nN(t))nM.call(t,r)&&nj(e,r,t[r]);return e},nR=(e,t)=>nT(e,nP(t));const nU=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M244,160a12,12,0,0,1-12,12H200.67l17.66,29.89a12,12,0,1,1-20.66,12.21L140.9,118a12,12,0,0,1,20.66-12.2L186.48,148H232A12,12,0,0,1,244,160ZM133.15,148H97.39L162.33,38.11A12,12,0,1,0,141.67,25.9L128,49,114.33,25.9A12,12,0,1,0,93.67,38.11l20.39,34.51L69.52,148H24a12,12,0,0,0,0,24H133.15a12,12,0,0,0,0-24ZM58.83,189.67a12,12,0,0,0-16.43,4.22l-4.73,8A12,12,0,1,0,58.33,214.1l4.73-8A12,12,0,0,0,58.83,189.67Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M179.64,160H76.36L128,72.62Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M64.34,196.07l-9.45,16a8,8,0,1,1-13.78-8.14l9.46-16a8,8,0,1,1,13.77,8.14ZM232,152H184.2l-30.73-52a8,8,0,1,0-13.77,8.14l61.41,103.93a8,8,0,0,0,13.78-8.14L193.66,168H232a8,8,0,0,0,0-16Zm-89.53,0H90.38L158.89,36.07a8,8,0,0,0-13.78-8.14L128,56.89l-17.11-29a8,8,0,1,0-13.78,8.14l21.6,36.55L71.8,152H24a8,8,0,0,0,0,16H142.47a8,8,0,1,0,0-16Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM83.66,180.12l-4.8,8a8,8,0,1,1-13.72-8.24l4.8-8a8,8,0,0,1,13.72,8.24ZM128,152H56a8,8,0,0,1,0-16H91.47l27.2-45.33L105.14,68.12a8,8,0,0,1,13.72-8.24L128,75.12l9.14-15.24a8,8,0,0,1,13.72,8.24L110.13,136H128a8,8,0,0,1,0,16Zm72,0H174.13l16.73,27.88a8,8,0,0,1-13.72,8.24l-38.4-64a8,8,0,0,1,13.72-8.24L164.53,136H200a8,8,0,0,1,0,16Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M62.62,195.05l-9.45,16A6,6,0,0,1,42.83,205l9.46-16a6,6,0,1,1,10.33,6.1ZM232,154H183.06l-31.31-53a6,6,0,1,0-10.33,6.11l61.41,103.93a6,6,0,0,0,10.34-6.1l-23-38.95H232a6,6,0,0,0,0-12Zm-89.53,0H86.88L157.17,35.05A6,6,0,0,0,146.83,29L128,60.82,109.17,29a6,6,0,0,0-10.34,6.1L121,72.62,72.94,154H24a6,6,0,0,0,0,12H142.47a6,6,0,1,0,0-12Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M64.34,196.07l-9.45,16a8,8,0,1,1-13.78-8.14l9.46-16a8,8,0,1,1,13.77,8.14ZM232,152H184.2l-30.73-52a8,8,0,1,0-13.77,8.14l61.41,103.93a8,8,0,0,0,13.78-8.14L193.66,168H232a8,8,0,0,0,0-16Zm-89.53,0H90.38L158.89,36.07a8,8,0,0,0-13.78-8.14L128,56.89l-17.11-29a8,8,0,1,0-13.78,8.14l21.6,36.55L71.8,152H24a8,8,0,0,0,0,16H142.47a8,8,0,1,0,0-16Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M60.9,194l-9.46,16A4,4,0,1,1,44.56,206L54,190A4,4,0,0,1,60.9,194ZM232,156H181.92L150,102a4,4,0,1,0-6.89,4.07L204.56,210a4,4,0,1,0,6.88-4.07l-24.79-42H232a4,4,0,0,0,0-8Zm-89.53,0H83.37L155.44,34A4,4,0,1,0,148.56,30L128,64.75,107.44,30A4,4,0,1,0,100.56,34l22.79,38.58L74.08,156H24a4,4,0,0,0,0,8H142.47a4,4,0,1,0,0-8Z"}))]]),nL=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,nR(nF({ref:t},e),{weights:nU})));nL.displayName="AppStoreLogo";var tG=tB("acw62"),nD=Object.defineProperty,nV=Object.defineProperties,nH=Object.getOwnPropertyDescriptors,nZ=Object.getOwnPropertySymbols,nB=Object.prototype.hasOwnProperty,nz=Object.prototype.propertyIsEnumerable,nW=(e,t,r)=>t in e?nD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nG=(e,t)=>
612{for(var r in t||(t={}))nB.call(t,r)&&nW(e,r,t[r]);if(nZ)for(var r of nZ(t))nz.call(t,r)&&nW(e,r,t[r]);return e},nq=(e,t)=>nV(e,nH(t));const nY=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),n$=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,nq(nG({ref:t},e),{weights:nY})));n$.displayName="CaretDown";var tG=tB("acw62"),nK=Object.defineProperty,nJ=Object.defineProperties,nQ=Object.getOwnPropertyDescriptors,nX=Object.getOwnPropertySymbols,n0=Object.prototype.hasOwnProperty,n1=Object.prototype.propertyIsEnumerable,n2=(e,t,r)=>t in e?nK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,n8=(e,t)=>{for(var r in t||(t={}))n0.call(t,r)&&n2(e,r,t[r]);if(nX)for(var r of nX(t))n1.call(t,r)&&n2(e,r,t[r]);return e},n6=(e,t)=>nJ(e,nQ(t));const n4=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228,152v56a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V152a12,12,0,0,1,24,0v52H204V152a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,123V40a12,12,0,0,0-24,0v83L96.49,103.51a12,12,0,0,0-17,17Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M168,112l-40,40L88,112Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M224,152v56a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V152a8,8,0,0,1,16,0v56H208V152a8,8,0,0,1,16,0ZM82.34,117.66A8,8,0,0,1,88,104h32V40a8,8,0,0,1,16,0v64h32a8,8,0,0,1,5.66,13.66l-40,40a8,8,0,0,1-11.32,0Zm25,2.34L128,140.69,148.69,120Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M82.34,117.66A8,8,0,0,1,88,104h32V40a8,8,0,0,1,16,0v64h32a8,8,0,0,1,5.66,13.66l-40,40a8,8,0,0,1-11.32,0ZM216,144a8,8,0,0,0-8,8v56H48V152a8,8,0,0,0-16,0v56a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V152A8,8,0,0,0,216,144Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M222,152v56a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V152a6,6,0,0,1,12,0v56a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2V152a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,137.51V40a6,6,0,0,0-12,0v97.51L92.24,107.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,152v56a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V152a8,8,0,0,1,16,0v56H208V152a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,132.69V40a8,8,0,0,0-16,0v92.69L93.66,106.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220,152v56a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V152a4,4,0,0,1,8,0v56a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V152a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,142.34V40a4,4,0,0,0-8,0V142.34L90.83,109.17a4,4,0,0,0-5.66,5.66Z"}))]]),n3=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,n6(n8({ref:t},e),{weights:n4})));
612n3.displayName="DownloadSimple";var tG=tB("acw62"),n5=Object.defineProperty,n7=Object.defineProperties,n9=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,on=(e,t,r)=>t in e?n5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oo=(e,t)=>{for(var r in t||(t={}))ot.call(t,r)&&on(e,r,t[r]);if(oe)for(var r of oe(t))or.call(t,r)&&on(e,r,t[r]);return e},oa=(e,t)=>n7(e,n9(t));const oi=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M225.79,110.7,58,14.65a20.24,20.24,0,0,0-20.12.06A19.62,19.62,0,0,0,28,31.84V224.16a19.62,19.62,0,0,0,9.91,17.13,20.22,20.22,0,0,0,20.12.06l167.76-96a19.76,19.76,0,0,0,0-34.6ZM52,203V53l75,75ZM144,145l12.4,12.4-58,33.2ZM98.41,65.43l58,33.2L144,111ZM178,145l-17-17,17-17,29.72,17Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M144,128,42.32,230A7.7,7.7,0,0,1,40,224.45V31.55A7.7,7.7,0,0,1,42.32,26Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M223.82,114.18,56,18.16a16,16,0,0,0-16.12,0A15.68,15.68,0,0,0,32,31.87V224.13a15.68,15.68,0,0,0,7.92,13.67,16,16,0,0,0,16.12,0l167.78-96a15.76,15.76,0,0,0,0-27.64ZM48,212.67V43.33L132.69,128Zm96-73.36,18.92,18.92-88.5,50.66ZM74.4,47.1l88.53,50.67L144,116.69ZM177.31,150l-22-22,22-22,38.43,22Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M223.82,114.18,56,18.16a16,16,0,0,0-16.12,0A15.68,15.68,0,0,0,32,31.87V224.13a15.68,15.68,0,0,0,7.92,13.67,16,16,0,0,0,16.12,0l167.78-96a15.76,15.76,0,0,0,0-27.64ZM144,139.31l18.92,18.92-88.5,50.66ZM74.4,47.1l88.53,50.67L144,116.69ZM177.31,150l-22-22,22-22,38.43,22Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M222.84,115.93,55,19.89a14,14,0,0,0-14.12,0A13.68,13.68,0,0,0,34,31.87V224.13a13.68,13.68,0,0,0,6.92,11.94,14,14,0,0,0,14.12,0l167.8-96a13.75,13.75,0,0,0,0-24.14ZM46,217.5V38.5L135.51,128Zm98-81,22.19,22.19L62.4,218.07ZM62.4,37.93l103.79,59.4L144,119.52ZM217,129.58l-.1.06L177,152.49,152.49,128,177,103.51l39.94,22.85.1.06a1.76,
6121.76,0,0,1,0,3.16Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M223.82,114.19,56,18.16a16,16,0,0,0-16.12,0A15.68,15.68,0,0,0,32,31.87V224.13a15.68,15.68,0,0,0,7.92,13.67,16,16,0,0,0,16.12,0l167.78-96a15.75,15.75,0,0,0,0-27.62ZM48,212.67V43.33L132.69,128Zm96-73.36,18.92,18.92-88.5,50.66ZM74.4,47.1l88.53,50.67L144,116.69ZM177.31,150l-22-22,22-22,38.43,22Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M221.89,117.69,54.05,21.62a12,12,0,0,0-12.13,0A11.69,11.69,0,0,0,36,31.87V224.13a11.69,11.69,0,0,0,5.92,10.21,12,12,0,0,0,12.13,0l167.77-96a11.76,11.76,0,0,0,.07-20.66Zm-52.44-20.8L144,122.34,50.4,28.75ZM44,222.33V33.67L138.34,128Zm6.4,4.92L144,133.66l25.45,25.45Zm167.51-95.88L176.65,155l-27-27,27-27L218,124.66a3.77,3.77,0,0,1-.07,6.71Z"}))]]),os=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,oa(oo({ref:t},e),{weights:oi})));os.displayName="GooglePlayLogo";var tG=tB("acw62"),ol=Object.defineProperty,ou=Object.defineProperties,oc=Object.getOwnPropertyDescriptors,od=Object.getOwnPropertySymbols,of=Object.prototype.hasOwnProperty,op=Object.prototype.propertyIsEnumerable,oh=(e,t,r)=>t in e?ol(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,om=(e,t)=>{for(var r in t||(t={}))of.call(t,r)&&oh(e,r,t[r]);if(od)for(var r of od(t))op.call(t,r)&&oh(e,r,t[r]);return e},og=(e,t)=>ou(e,oc(t));const ov=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.49,225.38a12,12,0,0,1-16.89-1.9C213.19,221.72,180,179.24,180,96A52,52,0,1,0,76,96c0,83.24-33.21,125.72-34.62,127.48A12,12,0,0,1,22.6,208.53C23,208,52,170.06,52,96a76,76,0,1,1,152,0c0,74.19,29.1,112.16,29.4,112.54A12,12,0,0,1,231.49,225.38ZM104,128a16,16,0,1,0-16-16A16,16,0,0,0,104,128Zm64-16a16,16,0,1,0-16,16A16,16,0,0,0,168,112ZM95.26,163l28,12a12,12,0,0,0,9.45,0l28-12A12,12,0,0,0,151.26,141l-23.27,10-23.27-10A12,12,0,0,0,95.26,163ZM128,192a57.12,57.12,0,0,0-38.66,15.15,12,12,0,0,0,16.23,17.69,32.86,32.86,0,0,1,44.85,0,12,12,0,1,0,16.23-17.69A57.1,57.1,0,0,0,128,192Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,216H168c-8-14.35-22.91-24-40-24s-32,9.65-40,24H32S64,176,64,96a64,64,0,0,1,128,0C192,176,224,216,224,216Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M229,222.25A8,8,0,0,1,217.76,221C216.39,219.27,184,177.86,184,96A56,56,0,0,0,72,96c0,81.86-32.37,123.27-33.75,125a8,8,0,0,1-12.51-10c.15-.2,7.69-9.9,15.13-28.74C47.77,164.8,56,135.64,56,96a72,72,0,0,1,144,0c0,39.64,8.23,68.8,15.13,86.28,7.48,18.94,15.06,28.64,15.14,28.74A8,8,0,0,1,229,222.25ZM100,96a12,12,0,1,0,12,12A12,12,0,0,0,100,96Zm68,12a12,12,0,1,0-12,12A12,12,0,0,0,168,108ZM99.58,136.84a8,8,0,0,0-7.15,14.31l32,16a7.94,7.94,0,0,0,7.15,0l32-16a8,8,0,0,0-7.16-14.31L128,151.05ZM128,184a54.07,54.07,0,0,0-47,28.11,8,8,0,1,0,14,7.78,37.35,37.35,0,0,1,66,0,8,8,0,0,0,14-7.78A54.07,54.07,0,0,0,128,184Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M161.22,217.74a4,4,0,0,1-3.31,6.26H98.1a4,4,0,0,1-3.31-6.26,40,40,0,0,1,66.43,0Zm68.93,3.37a8.29,8.29,0,0,1-6.43,2.89H184.56a4,4,0,0,1-3.76-2.65,56,56,0,0,0-105.59,0A4,4,0,0,1,71.45,224H32.23a8.2,8.2,0,0,1-6.42-2.93A8,8,0,0,1,25.75,211c.06-.07,7.64-9.78,15.12-28.72C47.77,164.8,56,135.64,56,96a72,72,0,0,1,144,0c0,39.64,8.23,68.8,15.13,86.28,7.48,18.94,15.06,28.65,15.13,28.74A8,8,0,0,1,230.15,221.11ZM88,108a12,12,0,1,0,12-12A12,12,0,0,0,88,108Zm79.16,32.42a8,8,0,0,0-10.73-3.58L128,151.06,99.58,136.84a8,8,0,0,0-7.15,14.32l32,16a8,8,0,0,0,7.15,0l32-16A8,8,0,0,0,167.16,140.42ZM168,108a12,12,0,1,0-12,12A12,12,0,0,0,168,108Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M227.74,220.69a6,6,0,0,1-8.42-.94C218,218.05,186,177.17,186,96A58,58,0,0,0,70,96c0,81.17-31.95,122.05-33.31,123.75a6,6,0,0,1-9.38-7.49C27.68,211.79,58,172.56,58,96a70,70,0,0,1,140,0c0,76.63,30.38,115.87,30.69,116.26A6,6,0,0,1,227.74,220.69ZM100,98a10,10,0,1,0,10,10A10,10,0,0,0,100,98Zm66,10a10,10,0,1,0-10,10A10,10,0,0,0,166,108ZM98.69,138.63a6,6,0,0,0-5.37,10.74l32,16A6,6,0,0,0,128,166a6.07,6.07,0,0,0,2.69-.63l32-16a6,6,0,0,0-5.37-10.74L128,153.29ZM128,186a52.07,52.07,0,0,0-45.24,27.08,6,6,0,0,0,10.49,5.84,39.33,39.33,0,0,1,69.51,0A6,6,0,0,0,168,222a5.89,5.89,0,0,0,2.91-.76,6,6,0,0,0,2.33-8.16A52.09,52.09,0,0,0,128,186Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M229,222.25A8,8,0,0,1,217.76,221C216.39,219.27,184,177.86,184,96A56,56,0,0,0,72,96c0,81.86-32.37,123.27-33.75,125a8,8,0,0,1-12.51-10c.15-.2,7.69-9.9,15.13-28.74C47.77,164.8,56,135.64,56,96a72,72,0,0,1,144,0c0,39.64,8.23,68.8,15.13,86.28,7.48,18.94,15.06,28.64,15.14,28.74A8,8,0,0,1,229,222.25ZM100,96a12,12,0,1,0,12,12A12,12,0,0,0,100,96Zm68,12a12,12,0,1,0-12,12A12,12,0,0,0,168,108ZM99.58,136.84a8,8,0,0,0-7.15,14.31l32,16a7.94,7.94,0,0,0,7.15,0l32-16a8,8,0,0,0-7.16-14.31L128,151.05ZM128,184a54.07,54.07,0,0,0-47,28.11,8,8,0,1,0,14,7.78,37.35,37.35,0,0,1,66,0,8,8,0,0,0,14-7.78A54.07,54.07,0,0,0,128,184Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M226.49,219.12a4,4,0,0,1-5.61-.62C219.54,216.82,188,176.48,188,96A60,60,0,0,0,68,96c0,80.48-31.53,120.82-32.88,122.5a4,4,0,0,1-6.25-5C29.18,213.11,60,173.45,60,96a68,68,0,0,1,136,0c0,40.48,8.47,70.27,15.57,88.14,7.69,19.35,15.48,29.27,15.56,29.36A4,4,0,0,1,226.49,219.12ZM100,100a8,8,0,1,0,8,8A8,8,0,0,0,100,100Zm64,8a8,8,0,1,0-8,8A8,8,0,0,0,164,108ZM97.79,140.42a4,4,0,1,0-3.58,7.16l32,16a4,4,0,0,0,3.58,0l32-16a4,4,0,0,0-3.58-7.16L128,155.53ZM128,188a50.05,50.05,0,0,0-43.49,26.05,4,4,0,1,0,7,3.89,41.34,41.34,0,0,1,73,0A4,4,0,0,0,168,220a3.94,3.94,0,0,0,1.94-.51,4,4,0,0,0,1.55-5.44A50.07,50.07,0,0,0,128,188Z"}))]]),oy=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,og(om({ref:t},e),{weights:ov})));oy.displayName="LinuxLogo";var tG=tB("acw62"),ob=Object.defineProperty,ow=Object.defineProperties,oS=Object.getOwnPropertyDescriptors,ox=Object.getOwnPropertySymbols,oE=Object.prototype.hasOwnProperty,oC=Object.prototype.propertyIsEnumerable,oA=(e,t,r)=>t in e?ob(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ok=(e,t)=>{for(var r in t||(t={}))oE.call(t,r)&&oA(e,r,t[r]);if(ox)for(var r of ox(t))oC.call(t,r)&&oA(e,r,t[r]);return e},o_=(e,t)=>ow(e,oS(t));const oI=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96Zm4,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-60,76V148a12,12,0,0,1,24,0v24a12,12,0,0,1-24,0Zm84-8a12,12,0,0,1-12,12H196v32a12,12,0,0,1-12,12H148a12,12,0,0,1,0-24h24V148a12,12,0,0,1,24,0v4h12A12,12,0,0,1,220,164Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm-8,88H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96-96H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("rect",{x:"40",y:"40",width:"80",height:"80",rx:"16"}),/*@__PURE__*/tV(tG).createElement("rect",{x:"40",y:"136",width:"80",height:"80",rx:"16"}),/*@__PURE__*/tV(tG).createElement("rect",{x:"136",y:"40",width:"80",height:"80",rx:"16"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M144,184a8,8,0,0,0,8-8V144a8,8,0,0,0-16,0v32A8,8,0,0,0,144,184Z"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M208,152H184v-8a8,8,0,0,0-16,0v56H144a8,8,0,0,0,0,16h32a8,8,0,0,0,8-8V168h24a8,8,0,0,0,0-16Z"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M208,184a8,8,0,0,0-8,8v16a8,8,0,0,0,16,0V192A8,8,0,0,0,208,184Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-2,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2ZM200,42H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-64,72V144a6,6,0,0,1,12,0v32a6,6,0,0,1-12,0Zm76-16a6,6,0,0,1-6,6H182v42a6,6,0,0,1-6,6H144a6,6,0,0,1,0-12h26V144a6,6,0,0,1,12,0v10h26A6,6,0,0,1,214,160Zm0,32v16a6,6,0,0,1-12,0V192a6,6,0,0,1,12,0Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,44H
61256A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-4,36H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM200,44H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm-64,72V144a4,4,0,0,1,8,0v32a4,4,0,0,1-8,0Zm72-16a4,4,0,0,1-4,4H180v44a4,4,0,0,1-4,4H144a4,4,0,0,1,0-8h28V144a4,4,0,0,1,8,0v12h28A4,4,0,0,1,212,160Zm0,32v16a4,4,0,0,1-8,0V192a4,4,0,0,1,8,0Z"}))]]),oT=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,o_(ok({ref:t},e),{weights:oI})));oT.displayName="QrCode";var tG=tB("acw62"),oP=Object.defineProperty,oN=Object.defineProperties,oO=Object.getOwnPropertyDescriptors,oM=Object.getOwnPropertySymbols,oj=Object.prototype.hasOwnProperty,oF=Object.prototype.propertyIsEnumerable,oR=(e,t,r)=>t in e?oP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oU=(e,t)=>{for(var r in t||(t={}))oj.call(t,r)&&oR(e,r,t[r]);if(oM)for(var r of oM(t))oF.call(t,r)&&oR(e,r,t[r]);return e},oL=(e,t)=>oN(e,oO(t));const oD=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M107.69,51.88a12,12,0,0,0-9.84-2.6l-60,10.91A12,12,0,0,0,28,72v36a12,12,0,0,0,12,12h60a12,12,0,0,0,12-12V61.09A12,12,0,0,0,107.69,51.88ZM88,96H52V82l36-6.54ZM223.69,30.79a12,12,0,0,0-9.84-2.6L137.85,42A12,12,0,0,0,128,53.82V108a12,12,0,0,0,12,12h76a12,12,0,0,0,12-12V40A12,12,0,0,0,223.69,30.79ZM204,96H152V63.83l52-9.45ZM100,136H40a12,12,0,0,0-12,12v36a12,12,0,0,0,9.85,11.81l60,10.91A12,12,0,0,0,112,194.91V148A12,12,0,0,0,100,136ZM88,180.53,52,174V160H88ZM216,136H140a12,12,0,0,0-12,12v54.18A12,12,0,0,0,137.85,214l76,13.82A12,12,0,0,0,228,216V148A12,12,0,0,0,216,136Zm-12,65.62-52-9.45V160h52Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M136,144h80v72l-80-14.55ZM40,184l64,11.64V144H40ZM136,54.55V112h80V40ZM40,112h64V60.36L40,72Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M216,136H136a8,8,0,0,0-8,8v57.45a8,8,0,0,0,6.57,7.88l80,14.54A7.61,7.61,0,0,0,216,224a8,8,0,0,0,8-8V144A8,8,0,0,0,216,136Zm-8,70.41-64-11.63V152h64ZM104,136H40a8,8,0,0,0-8,8v40a8,8,0,0,0,6.57,7.87l64,11.64a8.54,8.54,0,0,0,1.43.13,8,8,0,0,0,8-8V144A8,8,0,0,0,104,136Zm-8,50.05-48-8.73V152H96ZM221.13,33.86a8,8,0,0,0-6.56-1.73l-80,14.55A8,8,0,0,0,128,54.55V112a8,8,0,0,0,8,8h80a8,8,0,0,0,8-8V40A8,8,0,0,0,221.13,33.86ZM208,104H144V61.22l64-11.63ZM109.13,54.22a8,8,0,0,0-6.56-1.73l-64,11.64A8,8,0,0,0,32,72v40a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V60.36A8,8,0,0,0,109.13,54.22ZM96,104H48V78.68L96,70Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M112,144v51.64a8,8,0,0,1-8,8,8.54,8.54,0,0,1-1.43-.13l-64-11.64A8,8,0,0,1,32,184V144a8,8,0,0,1,8-8h64A8,8,0,0,1,112,144Zm-2.87-89.78a8,8,0,0,0-6.56-1.73l-64,11.64A8,8,0,0,0,32,72v40a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V60.36A8,8,0,0,0,109.13,54.22ZM216,136H136a8,8,0,0,0-8,8v57.45a8,8,0,0,0,6.57,7.88l80,14.54A7.61,7.61,0,0,0,216,224a8,8,0,0,0,8-8V144A8,8,0,0,0,216,136Zm5.13-102.14a8,8,0,0,0-6.56-1.73l-80,14.55A8,8,0,0,0,128,54.55V112a8,8,0,0,0,8,8h80a8,8,0,0,0,8-8V40A8,8,0,0,0,221.13,33.86Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,138H136a6,6,0,0,0-6,6v57.45a6,6,0,0,0,4.93,5.91l80,14.54a5.46,5.46,0,0,0,1.07.1,6,6,0,0,0,6-6V144A6,6,0,0,0,216,138Zm-6,70.81-68-12.36V150h68ZM104,138H40a6,6,0,0,0-6,6v40a6,6,0,0,0,4.93,5.9l64,11.64a6.36,6.36,0,0,0,1.07.1,6,6,0,0,0,6-6V144A6,6,0,0,0,104,138Zm-6,50.45L46,179V150H98ZM219.84,35.39a6,6,0,0,0-4.91-1.29l-80,14.54A6,6,0,0,0,130,54.55V112a6,6,0,0,0,6,6h80a6,6,0,0,0,6-6V40A6,6,0,0,0,219.84,35.39ZM210,106H142V59.55l68-12.36ZM107.84,55.76a6,6,0,0,0-4.91-1.3l-64,11.64A6,6,0,0,0,34,72v40a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V60.36A6,6,0,0,0,107.84,55.76ZM98,106H46V77l52-9.46Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,136H136a8,8,0,0,0-8,8v57.45a8,8,0,0,0,6.57,7.88l80,14.54A7.61,7.61,0,0,0,216,224a8,8,0,0,0,8-8V144A8,8,0,0,0,216,136Zm-8,70.41-64-11.63V152h64ZM104,136H40a8,8,0,0,0-8,8v40a8,8,0,0,0,6.57,7.87l64,11.64a8.54,8.54,0,0,0,1.43.13,8,8,0,0,0,8-8V144A8,8,0,0,0,104,136Zm-8,50.05-48-8.73V152H96Z
612M221.13,33.86a8,8,0,0,0-6.56-1.73l-80,14.55A8,8,0,0,0,128,54.55V112a8,8,0,0,0,8,8h80a8,8,0,0,0,8-8V40A8,8,0,0,0,221.13,33.86ZM208,104H144V61.22l64-11.63ZM109.13,54.22a8,8,0,0,0-6.56-1.73l-64,11.64A8,8,0,0,0,32,72v40a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V60.36A8,8,0,0,0,109.13,54.22ZM96,104H48V78.68L96,70Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,140H136a4,4,0,0,0-4,4v57.45a4,4,0,0,0,3.28,3.94l80,14.55a4.37,4.37,0,0,0,.72.06,4,4,0,0,0,2.56-.93A4,4,0,0,0,220,216V144A4,4,0,0,0,216,140Zm-4,71.21-72-13.09V148h72ZM104,140H40a4,4,0,0,0-4,4v40a4,4,0,0,0,3.28,3.94l64,11.63a3.51,3.51,0,0,0,.72.07,4,4,0,0,0,4-4V144A4,4,0,0,0,104,140Zm-4,50.84L44,180.66V148h56ZM218.56,36.93a4,4,0,0,0-3.28-.87l-80,14.55A4,4,0,0,0,132,54.55V112a4,4,0,0,0,4,4h80a4,4,0,0,0,4-4V40A4,4,0,0,0,218.56,36.93ZM212,108H140V57.88l72-13.09ZM103.28,56.43l-64,11.63A4,4,0,0,0,36,72v40a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V60.36a4,4,0,0,0-4.72-3.93ZM100,108H44V75.34l56-10.18Z"}))]]),oV=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,oL(oU({ref:t},e),{weights:oD})));oV.displayName="WindowsLogo";var tG=(tB("acw62"),tB("acw62")),oH={},oZ=oH={};function oB(){throw Error("setTimeout has not been defined")}function oz(){throw Error("clearTimeout has not been defined")}function oW(e){if(ee===setTimeout)return setTimeout(e,0);// if setTimeout wasn't available but was latter defined 613if((ee===oB||!ee)&&setTimeout)return ee=setTimeout,setTimeout(e,0);try{// when when somebody has screwed with setTimeout but no I.E. maddness 614return ee(e,0)}catch(t){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally 615return ee.call(null,e,0)}catch(t){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error 616return ee.call(this,e,0)}}}!function(){try{ee="function"==typeof setTimeout?setTimeout:oB}catch(e){ee=oB}try{et="function"==typeof clearTimeout?clearTimeout:oz}catch(e){et=oz}}();var oG=[],oq=!1,oY=-1;
616function o$(){oq&&er&&(oq=!1,er.length?oG=er.concat(oG):oY=-1,oG.length&&oK())}function oK(){if(!oq){var e=oW(o$);oq=!0;for(var t=oG.length;t;){for(er=oG,oG=[];++oY<t;)er&&er[oY].run();oY=-1,t=oG.length}er=null,oq=!1,function(e){if(et===clearTimeout)return clearTimeout(e);// if clearTimeout wasn't available but was latter defined 617if((et===oz||!et)&&clearTimeout)return et=clearTimeout,clearTimeout(e);try{et(e)}catch(t){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally 618return et.call(null,e)}catch(t){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. 619// Some versions of I.E. have different rules for clearTimeout vs setTimeout 620return et.call(this,e)}}}(e)}}// v8 likes predictible objects 621function oJ(e,t){this.fun=e,this.array=t}function oQ(){}oZ.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];oG.push(new oJ(e,t)),1!==oG.length||oq||oW(oK)},oJ.prototype.run=function(){this.fun.apply(null,this.array)},oZ.title="browser",oZ.browser=!0,oZ.env={},oZ.argv=[],oZ.version="",oZ.versions={},oZ.on=oQ,oZ.addListener=oQ,oZ.once=oQ,oZ.off=oQ,oZ.removeListener=oQ,oZ.removeAllListeners=oQ,oZ.emit=oQ,oZ.prependListener=oQ,oZ.prependOnceListener=oQ,oZ.listeners=function(e){return[]},oZ.binding=function(e){throw Error("process.binding is not supported")},oZ.cwd=function(){return"/"},oZ.chdir=function(e){throw Error("process.chdir is not supported")},oZ.umask=function(){return 0};/****************************************************************************** 622Copyright (c) Microsoft Corporation. 623 624Permission to use, copy, modify, and/or distribute this software for any 625purpose with or without fee is hereby granted. 626 627THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 628REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 629AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 630INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 631LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 632OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 633PERFORMANCE OF THIS SOFTWARE. 634***************************************************************************** *//* global Reflect, Promise */var oX=function(e,t){return(oX=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},o0=function(){return(o0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o1=Object.prototype.hasOwnProperty;/** 635 * inlined Object.is polyfill to avoid requiring consumers ship their own 636 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 637 */function o2(e,t){return(// SameValue algorithm 638e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t)}/** 639 * Special symbol which might be used to delete properties 640 * from an object calling [State.set](#set) or [State.merge](#merge). 641 * 642 * [Learn more...](https://hookstate.js.org/docs/nested-state#deleting-existing-element) 643 */var o8=Symbol("none"),o6=Symbol("__state");function o4(e,t){var r=ai(e);return r.activate(t),r.toMethods().self()}function o3(e,t){var r=Object(e)===e?e[o5]:void 0;if(r){if(r.isMounted){// Scoped state mount 644// eslint-disable-next-line react-hooks/rules-of-hooks 645var n=function(){// warning: this is called twice in react strict mode 646var t=r.store,n=new ao(t,r.path,t.get(r.path),t.edition,function(){return i({store:t,state:n,source:a.source// mutable, get the latest from value 647})});return{store:t,state:n,source:e}},o=/*@__PURE__*/tV(tG).useState(n),a=o[0],i=o[1];if(a.store!==r.store||!("source"in a))throw new o7(r.path,en.InitStateStoreSwitchover);// TODO move to a class hide props on prototype level 648// hide props from development tools 649Object.defineProperty(a,"store",{enumerable:!1}),Object.defineProperty(a,"state",{enumerable:!1}),Object.defineProperty(a,"source",{enumerable:!1}),a.state.reconstruct(r.path,a.store.get(r.path),a.store.edition,// so the scopped state should change too 650a.source!==e),a.source=e,// need to subscribe in sync mode, because 651// safari delays calling the effect giving priority to timeouts and network events, 652// which can cause the state update 653r.subscribe(a.state),au(function(){return(// warning: in strict mode, effect is called twice 654// so need to restore subscription and reconstruct the extension 655// after the first effect unmount callback 656a.state.onMount(),r.subscribe(a.state),function(){a.state.onUnmount(),r.unsubscribe(a.state)})},[]);var s=a.state.self();
656return(// expose property in development tools 657a["[hookstate(scoped)]"]=s,s)}// Global state mount or destroyed link 658// eslint-disable-next-line react-hooks/rules-of-hooks 659var n=function(){// warning: this is called twice in react strict mode 660var t=r.store,n=new ao(t,ae,t.get(ae),t.edition,function(){return c({store:t,state:n,source:u.source// mutable, get the latest from value 661})});return{store:t,state:n,source:e}},l=/*@__PURE__*/tV(tG).useState(n),u=l[0],c=l[1];if(u.store!==r.store||!("source"in u))throw new o7(r.path,en.InitStateStoreSwitchover);// hide props from development tools 662Object.defineProperty(u,"store",{enumerable:!1}),Object.defineProperty(u,"state",{enumerable:!1}),Object.defineProperty(u,"source",{enumerable:!1}),u.state.reconstruct(ae,u.store.get(ae),u.store.edition,// so the scopped state should change too 663u.source!==e),u.source=e,// need to subscribe in sync mode, because 664// safari delays calling the effect giving priority to timeouts and network events, 665// which can cause the state update 666u.store.subscribe(u.state),au(function(){return(// warning: in strict mode, effect is called twice 667// so need to restore subscription and reconstruct the extension 668// after the first effect unmount callback 669u.state.onMount(),u.store.subscribe(u.state),function(){u.state.onUnmount(),u.store.unsubscribe(u.state)})},[]);for(var s=u.state.self(),d=0;d<r.path.length;d+=1)s=s.nested(r.path[d]);return(// expose property in development tools 670u["[hookstate(global)]"]=s,s)}// Local state mount 671// eslint-disable-next-line react-hooks/rules-of-hooks 672var n=function(){// warning: this is called twice in react strict mode 673var t=ai(e),r=new ao(t,ae,t.get(ae),t.edition,function(){return h({store:t,state:r})});return{store:t,state:r}},f=/*@__PURE__*/tV(tG).useState(n),p=f[0],h=f[1];if("source"in p)throw new o7(ae,en.InitStateStoreSwitchover);// hide props from development tools 674Object.defineProperty(p,"store",{enumerable:!1}),Object.defineProperty(p,"state",{enumerable:!1}),p.state.reconstruct(ae,p.store.get(ae),p.store.edition,!1),// need to subscribe in sync mode, because 675// safari delays calling the effect giving priority to timeouts and network events, 676// which can cause the state update 677p.store.subscribe(p.state),// need to attach the extension straight away 678// because extension methods are used in render function 679// and we can not defer it to the effect callback 680p.store.activate(t),au(function(){return(// warning: in strict mode, effect is called twice 681// so need to restore subscription and reconstruct the extension 682// after the first effect unmount callback 683p.state.onMount(),p.store.subscribe(p.state),p.store.activate(t),function(){p.state.onUnmount(),p.store.unsubscribe(p.state),p.store.deactivate()})},[]);var s=p.state.self();return(// expose property in development tools 684p["[hookstate(local)]"]=s,s)}/// 685/// INTERNAL SYMBOLS (LIBRARY IMPLEMENTATION) 686/// 687var o5=Symbol("self");(E=en||(en={}))[E.StateUsedInDependencyList=100]="StateUsedInDependencyList",E[E.InitStateToValueFromState=101]="InitStateToValueFromState",E[E.SetStateToValueFromState=102]="SetStateToValueFromState",E[E.GetStateWhenPromised=103]="GetStateWhenPromised",E[E.SetStateWhenPromised=104]="SetStateWhenPromised",E[E.SetStateNestedToPromised=105]="SetStateNestedToPromised",E[E.SetStateWhenDestroyed=106]="SetStateWhenDestroyed",E[E.ToJson_Value=108]="ToJson_Value",E[E.ToJson_State=109]="ToJson_State",E[E.GetProperty_Function=110]="GetProperty_Function",E[E.InitStateStoreSwitchover=111]="InitStateStoreSwitchover",E[E.GetUnknownPlugin=120]="GetUnknownPlugin",E[E.SetProperty_State=201]="SetProperty_State",E[E.SetProperty_Value=202]="SetProperty_Value",E[E.SetPrototypeOf_State=203]="SetPrototypeOf_State",E[E.SetPrototypeOf_Value=204]="SetPrototypeOf_Value",E[E.PreventExtensions_State=205]="PreventExtensions_State",E[E.PreventExtensions_Value=206]="PreventExtensions_Value",E[E.DefineProperty_State=207]="DefineProperty_State",E[E.DefineProperty_Value=208]="DefineProperty_Value",E[E.DeleteProperty_State=209]="DeleteProperty_State",E[E.DeleteProperty_Value=210]="DeleteProperty_Value",E[E.Construct_State=211]="Construct_State",E[E.Construct_Value=212]="Construct_Value",E[E.Apply_State=213]="Apply_State",E[E.Apply_Value=214]="Apply_Value";var o7=/** @class */function(e){function t(t,r,n){return e.call(this,"Error: HOOKSTATE-".concat(r," [path: /").concat(t.join("/")).concat(n?", details: ".concat(n):"","]. ")+"See https://hookstate.js.org/docs/exceptions#hookstate-".concat(r))||this}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}oX(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(Error),o9=Symbol("ProxyMarker"),ae=[],at=/** @class */function(){function e(e){var t=this;this._value=e,// > 0 means active store, < 0 means destroyed 688// please note, in react strict mode and hot reload cases 689// state can be reused, so we should support store resurection 690this.edition=1,this._subscribers=new Set,Object(e)===e&&as.promiseDetector(e)?this.setPromised(e):e===o8&&this.setPromised(void 0);var r=function(){t._stateMethods.reconstruct(ae,t.get(ae),t.edition,!1)};r[an]=!0,this._stateMethods=new ao(this,ae,this.get(ae),this.edition,r),this.subscribe(this._stateMethods)}return e.prototype.setPromised=function(e){var t=this;if(this._value=o8,this._promiseError=void 0,this._promiseResolver=void 0,!e){this._promise=new Promise(function(e){t._promiseResolver=e});return}e=e.then(function(r){t._promise===e&&(t._promise=void 0,t._promiseError=void 0,t._promiseResolver,t.update(t._stateMethods.self(),t.set(ae,r)))}).catch(function(r){t._promise===e&&(t._promise=void 0,t._promiseResolver=void 0,t._promiseError=r,t.edition+=1,t.update(t._stateMethods.self(),{path:ae}))}),this._promise=e},e.prototype.activate=function(e){var t,r,n,o;this.edition<0&&(this.edition=-this.edition),void 0===this._extension&&(this._extension=null==e?void 0:e(),this._extensionMethods=null===(r=null===(t=this._extension)||void 0===t?void 0:t.onCreate)||void 0===r?void 0:r.call(t,this._stateMethods.self(),{}),null===// this is invoked with all extension methods activated on the state 691(o=null===(n=this._extension)||void 0===n?void 0:n.onInit)||void 0===o||o.call(n,this._stateMethods.self(),this._extensionMethods||{}))},e.prototype.deactivate=function(){var e,t;this._extension&&(null===(t=(e=this._extension).onDestroy)||void 0===t||t.call(e,this._stateMethods.self()),delete this._extension,delete this._extensionMethods),this.edition>0&&(this.edition=-this.edition)},Object.defineProperty(e.prototype,"extension",{get:function(){return this._extensionMethods}
691,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promiseError",{get:function(){return this._promiseError},enumerable:!1,configurable:!0}),e.prototype.get=function(e){var t=this._value;return t===o8||e.forEach(function(e){t=t[e]}),t},e.prototype.set=function(e,t){if(this.edition<0)throw new o7(e,en.SetStateWhenDestroyed);if(0===e.length){// Root value UPDATE case, 692if(t===o8)this.setPromised(void 0);else if(Object(t)===t&&as.promiseDetector(t))this.setPromised(t),t=o8;else if(this._promise&&!this._promiseResolver)throw new o7(e,en.SetStateWhenPromised);else this._promiseError=void 0;var r,n,o=this._value;if(this._value=t,this.afterSet(),o===o8&&this._value!==o8&&this._promiseResolver){this._promise=void 0,this._promiseError=void 0;var a=this._promiseResolver;this._promiseResolver,a(this._value)}return{path:e}}if(Object(t)===t&&as.promiseDetector(t))throw new o7(e,en.SetStateNestedToPromised);for(var i=this._value,s=0;s<e.length-1;s+=1)i=i[e[s]];var l=e[e.length-1];return l in i?t!==o8?(// Property UPDATE case 693i[l]=t,this.afterSet(),{path:e}):(Array.isArray(i)&&"number"==typeof l?i.splice(l,1):delete i[l],this.afterSet(),{path:e.slice(0,-1),actions:((r={})[l]="D",r)}):t!==o8?(// Property INSERT case 694i[l]=t,this.afterSet(),{path:e.slice(0,-1),actions:((n={})[l]="I",n)}):{path:e}},e.prototype.preset=function(e,t){var r,n;null===(n=null===(r=this._extension)||void 0===r?void 0:r.onPreset)||void 0===n||n.call(r,e,t,this._stateMethods.self())},e.prototype.premerge=function(e,t){var r,n;null===(n=null===(r=this._extension)||void 0===r?void 0:r.onPremerge)||void 0===n||n.call(r,e,t,this._stateMethods.self())},e.prototype.update=function(e,t){var r,n,o=this;null===(n=null===(r=this._extension)||void 0===r?void 0:r.onSet)||void 0===n||n.call(r,e,t,this._stateMethods.self());var a=new Set;t.actions&&-1===Object.values(t.actions).findIndex(function(e){return"U"!==e})?Object.keys(t.actions).forEach(function(e){o._subscribers.forEach(function(r){return r.onSet({path:t.path.concat(e)},a)})}):this._subscribers.forEach(function(e){return e.onSet(t,a)}),a.forEach(function(e){return e()})},e.prototype.afterSet=function(){this.edition>0&&(this.edition+=1),this.edition<0&&(this.edition-=1)},e.prototype.toMethods=function(){return this._stateMethods},e.prototype.subscribe=function(e){this._subscribers.add(e)},e.prototype.unsubscribe=function(e){this._subscribers.delete(e)},e.prototype.toJSON=function(){throw new o7(ae,en.ToJson_Value)},e}(),ar=Symbol("UnusedValue"),an=Symbol("IsUnmounted"),ao=/** @class */function(){function e(e,t,r,n,o){this.store=e,this.path=t,this.valueSource=r,this.valueEdition=n,this.onSetUsed=o,this.valueUsed=ar}return Object.defineProperty(e.prototype,o6,{get:function(){return[this.get(),this.self()]},enumerable:!1,configurable:!0}),e.prototype.reconstruct=function(e,t,r,n){this.path=e,this.valueSource=t,this.valueEdition=r,this.valueUsed=ar,n?(delete this.selfUsed,delete this.childrenCreated,delete this.childrenUsedPrevious):(this.valueUsedNoProxyPrevious=this.valueUsedNoProxy,this.childrenUsedPrevious=this.childrenUsed),delete this.valueUsedNoProxy,delete this.childrenUsed;// We should not delete subscribers as these are self cleaned up when unmounted 695// Theoretically it is possible to reconnect subscribers like we done it for 696// children, but it is easier and more efficient to leave subscribers to have independent lifecycle 697// If we delete subscribers here, scoped states wrapped in React.memo 698// will lose state change propagation and rerendering for scopped states 699// delete this.subscribers; 700},e.prototype.reconnect=function(){// Mark it's as used, because it is used in a dependency list 701// (we are making it's value used implicitly, so rerender is triggered). 702// Otherwise, no rerender => no effects running, even when a value is changed. 703// This is marking the state used a bit more than it might be really used 704// in the effect callback. More optimized / precise implementation would be 705// to remember useSelf as previous (similar to childrenUsed), 706// but it is a lot more complicated and the benefit is not worth the complexity. 707// So, mark it used. 708// We also using it without proxy if it wass used without proxy during the 709// previous render, because otherwise children usage might be not traced completely 710// and so will not result in renreder if children are updated. 711// This is covered by some tests, but there are so many possible corner cases...
712this.get({__internalAllowPromised:!0,noproxy:this.valueUsedNoProxyPrevious}),this.childrenUsed=o0(o0({},this.childrenUsedPrevious),this.childrenUsed)},e.prototype.getUntracked=function(e){if(this.valueEdition!==this.store.edition&&(this.valueSource=this.store.get(this.path),this.valueEdition=this.store.edition,this.valueUsed!==ar&&(this.valueUsed=ar,this.get({__internalAllowPromised:!0}))),e)return this.valueSource;if(this.store.promiseError)throw this.store.promiseError;if(this.store.promise)throw new o7(this.path,en.GetStateWhenPromised);return this.valueSource},e.prototype.get=function(e){var t,r=this.getUntracked(null==e?void 0:e.__internalAllowPromised);return(null==e?void 0:e.stealth)?r:(this.valueUsed===ar&&(Array.isArray(r)?this.valueUsed=this.valueArrayImpl(r):Object(r)===r?(null===(t=r.constructor)||void 0===t?void 0:t.name)==="Object"?this.valueUsed=this.valueObjectImpl(r):(// any other object except Object, for example Date 713this.valueUsedNoProxy=!0,this.valueUsed=r):this.valueUsed=r),null==e?void 0:e.noproxy)?(this.valueUsedNoProxy=!0,r):this.valueUsed},Object.defineProperty(e.prototype,"value",{get:function(){// various tools, including react dev tools and webpack import 714// inspect an object and it's properties 715// so these should not throw 716// return this.get({ __internalAllowPromised: true }) 717return this.get()},enumerable:!1,configurable:!0}),e.prototype.setUntrackedV4=function(e){if("function"==typeof e&&(e=e(this.getUntracked())),this.store.preset(this.self(),e),Object(e)===e&&e[o9])throw new o7(this.path,en.SetStateToValueFromState);return e!==Object(e)&&e===this.getUntracked(!0)?null:this.store.set(this.path,e)},e.prototype.set=function(e){var t=this.setUntrackedV4(e);t&&this.store.update(this.self(),t)},e.prototype.mergeUntracked=function(e){var t=this.mergeUntrackedV4(e);return t?[t.path]:[]},e.prototype.mergeUntrackedV4=function(e){var t=this.getUntracked();if("function"==typeof e&&(e=e(t)),this.store.premerge(this.self(),e),Array.isArray(t)){if(Array.isArray(e)){var r={path:this.path,actions:{}};return(e.forEach(function(e,n){r.actions[t.push(e)-1]="I"}),Object.keys(r.actions).length>0)?(this.setUntrackedV4(t),r):null}var n={path:this.path,actions:{}},o=[];return(Object.keys(e).map(function(e){return Number(e)}).sort(function(e,t){return e-t}).forEach(function(r){var a=Number(r),i=e[a];i===o8?(n.actions[a]="D",o.push(a)):(a in t?n.actions[a]="U":n.actions[a]="I",t[a]=i)}),// indexes are ascending sorted as per above 718// so, delete one by one from the end 719// this way index positions do not change 720o.reverse().forEach(function(e){t.splice(e,1)}),Object.keys(n.actions).length>0)?(this.setUntrackedV4(t),n):null}if(Object(t)===t){var a={path:this.path,actions:{}};return(Object.keys(e).forEach(function(r){var n=e[r];n===o8?(a.actions[r]="D",delete t[r]):(r in t?a.actions[r]="U":a.actions[r]="I",t[r]=n)}),Object.keys(a.actions).length>0)?(this.setUntrackedV4(t),a):null}return"string"==typeof t?this.setUntrackedV4(t+String(e)):this.setUntrackedV4(e)},e.prototype.merge=function(e){var t=this.mergeUntrackedV4(e);t&&this.store.update(this.self(),t)},e.prototype.nested=function(e){return this.child(e).self()},e.prototype.rerender=function(e){for(var t=0;t<e.length;t++){var r=e[t];this.store.update(this.self(),{path:r})}},e.prototype.activate=function(e){this.store.activate(e)},e.prototype.deactivate=function(){this.store.deactivate()},e.prototype.subscribe=function(e){void 0===this.subscribers&&(this.subscribers=new Set),this.subscribers.add(e)},e.prototype.unsubscribe=function(e){this.subscribers&&this.subscribers.delete(e)},Object.defineProperty(e.prototype,"isMounted",{get:function(){return!this.onSetUsed[an]},enumerable:!1,configurable:!0}),e.prototype.onMount=function(){delete this.onSetUsed[an]},e.prototype.onUnmount=function(){this.onSetUsed[an]=!0},e.prototype.onSet=function(e,t){var r=this,n=function(){var n,o=!1;r.valueUsedNoProxy&&r.valueUsed!==ar&&(t.add(r.onSetUsed),delete r.selfUsed,o=!0);var a=e.path[r.path.length];if(void 0===a){if(r.valueUsed!==ar){if(t.add(r.onSetUsed),delete r.selfUsed,delete r.childrenUsed,e.actions&&r.childrenCreated){// TODO add automated unit tests for this part 721if(Array.isArray(r.valueSource)&&Object.values(e.actions).includes("D")){// this is an array and some elements were removed 722// so invalidate cache for all children after the first deleted 723var i=Object.keys(e.actions).map(function(e){return Number(e)}).sort(function(e,t){return e-t}).find(function(t){var r;return(null===(r=e.actions)||void 0===r?void 0:r[t])==="D"});for(var s in r.childrenCreated)(Number(s)>=i||s in e.actions)&&delete r.childrenCreated[s]}else for(var s in e.actions)delete r.childrenCreated[s]}else delete r.childrenCreated;return!0}}else{var l=null===(n=r.childrenUsed)||void 0===n?void 0:n[a];
723if(l&&l.onSet(e,t))return delete r.selfUsed,!0}return o}();return n||void 0===this.subscribers||this.subscribers.forEach(function(n){n.onSet(e,t)&&delete r.selfUsed}),n},Object.defineProperty(e.prototype,"keys",{get:function(){var e=this.get();return Array.isArray(e)?Object.keys(e).map(function(e){return Number(e)}).filter(function(e){return Number.isInteger(e)}):Object(e)===e?Object.keys(e):void 0},enumerable:!1,configurable:!0}),e.prototype.child=function(t){this.childrenUsed=this.childrenUsed||{};var r,n=this.childrenUsed.hasOwnProperty(t)&&this.childrenUsed[t];if(n)return n;var o=this.valueSource[t];if("function"==typeof o)throw new o7(this.path,en.GetProperty_Function);this.childrenCreated=this.childrenCreated||{};var a=this.childrenCreated[t];return a?(a.reconstruct(this.path.concat(t),o,this.valueEdition,!1),r=a):(r=new e(this.store,this.path.concat(t),o,this.valueEdition,this.onSetUsed),this.childrenCreated[t]=r),this.valueUsedNoProxy&&(r.valueUsedNoProxy=!0),this.childrenUsed[t]=r,r},e.prototype.valueArrayImpl=function(e){var t=this;return aa(this.path,e,function(){return e},function(e,r){if("length"===r)return e.length;if(r in Array.prototype)return Array.prototype[r];if(r===o9)return t;if("symbol"==typeof r)return e[r];var n=Number(r);if(Number.isInteger(n))return t.child(n).get()},function(e,r,n){if("symbol"==typeof r)return(// allow clients to associate hidden cache with state values 724e[r]=n,!0);throw new o7(t.path,en.SetProperty_Value)},!0)},e.prototype.valueObjectImpl=function(e){var t=this;return aa(this.path,e,function(){return e},function(e,r){return r in Object.prototype?Object.prototype[r]:r===o9?t:"symbol"==typeof r?e[r]:t.child(r).get()},function(e,r,n){if("symbol"==typeof r)return(// allow clients to associate hidden cache with state values 725e[r]=n,!0);throw new o7(t.path,en.SetProperty_Value)},!0)},e.prototype.self=function(){var e=this;return this.selfUsed||(this.selfUsed=aa(this.path,this.valueSource,function(t){return e.get({__internalAllowPromised:!0,stealth:null==t?void 0:t.stealth})},function(t,r){if(r===o5)return e;if("symbol"!=typeof r){if("toJSON"===r)throw new o7(e.path,en.ToJson_State);var n=function(t){var r=e.get({__internalAllowPromised:"$$typeof"===t||"constructor"===t});if(t in Object.prototype)// invalidate and rerender results for Object.prototype.toString(), 726// for example. 727// We check for Object prototype functions 728// even for primitive values, because primitive values still 729// can have object methods. 730return Object.prototype[t];if(Object(r)===r||// if promised, it will be none 731r===o8){if(Array.isArray(r)){if("length"===t)return r.length;if(t in Array.prototype)return Array.prototype[t];var n=Number(t);if(!Number.isInteger(n))return;return e.nested(n)}return e.nested(t.toString())}};switch(r){case"path":return e.path;case"keys":return e.keys;case"value":return e.value;case"ornull":return e.ornull;case"promised":return e.promised;case"promise":return e.promise;case"error":return e.error;case"get":return function(t){return e.get(t)};case"set":return function(t){return e.set(t)};case"merge":return function(t){return e.merge(t)};case"nested":return function(e){return n(e)};default:// check if extension method 732var o=e.store.extension;if(o&&r in o)return o[r](e.self());// otherwise nested child 733return n(r)}}},function(t,r,n){throw new o7(e.path,en.SetProperty_State)},!1)),this.selfUsed},Object.defineProperty(e.prototype,"promised",{get:function(){return this.get({__internalAllowPromised:!0}),!!this.store.promise},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){var e,t=this;return this.get({__internalAllowPromised:!0}),null===(e=this.store.promise)||void 0===e?void 0:e.then(function(e){return t.self()})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"error",{get:function(){return this.get({__internalAllowPromised:!!this.store.promiseError}),this.store.promiseError},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ornull",{get:function(){var e=this.get();return null==e?e:this.self()},enumerable:!1,configurable:!0}),e}();function aa(e,t,r,n,o,a){var i=function(t){throw new o7(e,t)};return Object(t)!==t&&(t={}),new Proxy(t,{getPrototypeOf:function(e){// should satisfy the invariants: 734// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/getPrototypeOf#Invariants 735var t=r();return null==t?null:t===o8?Object.getPrototypeOf(new Promise(function(){})):Object.getPrototypeOf(t)},setPrototypeOf:function(e,t){return i(a?en.SetPrototypeOf_State:en.SetPrototypeOf_Value)},isExtensible:function(e){// should satisfy the invariants: 736// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler/isExtensible#Invariants 737return!0;// required to satisfy the invariants of the getPrototypeOf 738// return Object.isExtensible(target); 739},preventExtensions:function(e){return i(a?en.PreventExtensions_State:en.PreventExtensions_Value)},getOwnPropertyDescriptor:function(t,o){var i=r();if(Object(i)===i){var s=Object.getOwnPropertyDescriptor(i,o);return Array.isArray(i)&&o in Array.prototype?s:s&&{// should be configurable as may not exist on proxy target 740configurable:!0,enumerable:s.enumerable,get:function(){return n(i,o)},set:void 0}}if(!a&&i!==o8){if("value"===o)return{// should be configurable as does not exist on proxy target 741configurable:!0,enumerable:!0,get:function(){return r({stealth:!0}
741)},set:void 0};if("path"===o)return{// should be configurable as does not exist on proxy target 742configurable:!0,enumerable:!0,get:function(){return e},set:void 0}}},has:function(e,t){if("symbol"==typeof t)return!1;var n=r();return Object(n)===n?t in n:!a&&n!==o8&&("value"===t||"path"===t)},get:n,set:o,deleteProperty:function(e,t){return i(a?en.DeleteProperty_State:en.DeleteProperty_Value)},defineProperty:function(e,t,r){return i(a?en.DefineProperty_State:en.DefineProperty_Value)},ownKeys:function(e){var n=r();return(Array.isArray(n)&&void 0===e.length&&// inject length property now as it is defined on the array 743// to enable getOwnPropertyDescriptor for length not throw 744Object.defineProperty(t,"length",{value:0,writable:!0,enumerable:!1,configurable:!1}),Object(n)===n)?Object.getOwnPropertyNames(n):a||n===o8?[]:["value","path"]},apply:function(e,t,r){return i(a?en.Apply_State:en.Apply_Value)},construct:function(e,t,r){return i(a?en.Construct_State:en.Construct_Value)}})}function ai(e){var t=e;if("function"==typeof e&&(t=e()),Object(t)===t&&t[o9])throw new o7(ae,en.InitStateToValueFromState);return new at(t)}var as={interceptDependencyListsMode:"always",isDevelopmentMode:"object"==typeof oH&&"object"==typeof oH.env&&!1,promiseDetector:function(e){return Promise.resolve(e)===e},hiddenInterceptDependencyListsModeDebug:!1};function al(e,t){for(var r=0,n=e||[];r<n.length;r++){var o=n[r];if(o===Object(o)){var a=o[o5];if(a){if(t&&as.hiddenInterceptDependencyListsModeDebug)throw new o7(a.path,en.StateUsedInDependencyList);a.reconnect()}}}return e}!eo&&/*@__PURE__*/tV(tG).useEffect&&(eo=/*@__PURE__*/tV(tG).useEffect,/*@__PURE__*/tV(tG).useEffect=function(e,t){return al(t,!0),eo(e,t)}),!ea&&/*@__PURE__*/tV(tG).useLayoutEffect&&(ea=/*@__PURE__*/tV(tG).useLayoutEffect,/*@__PURE__*/tV(tG).useLayoutEffect=function(e,t){return al(t,!0),ea(e,t)}),!ei&&/*@__PURE__*/tV(tG).useInsertionEffect&&(ei=/*@__PURE__*/tV(tG).useInsertionEffect,/*@__PURE__*/tV(tG).useInsertionEffect=function(e,t){return al(t,!0),ei(e,t)}),!es&&/*@__PURE__*/tV(tG).useImperativeHandle&&(es=/*@__PURE__*/tV(tG).useImperativeHandle,/*@__PURE__*/tV(tG).useImperativeHandle=function(e,t,r){return al(r,!0),es(e,t,r)}),!el&&/*@__PURE__*/tV(tG).useMemo&&(el=/*@__PURE__*/tV(tG).useMemo,/*@__PURE__*/tV(tG).useMemo=function(e,t){return al(t,!0),el(e,t)}),!eu&&/*@__PURE__*/tV(tG).useCallback&&(eu=/*@__PURE__*/tV(tG).useCallback,/*@__PURE__*/tV(tG).useCallback=function(e,t){return al(t,!0),eu(e,t)}),!ec&&/*@__PURE__*/tV(tG).memo&&(ec=/*@__PURE__*/tV(tG).memo,/*@__PURE__*/tV(tG).memo=function(e,t){return ec(e,function(e,r){return al(Object.keys(r).map(function(e){return r[e]}),!0),(t||/** 745 * Performs equality by iterating through keys on an object and returning false 746 * when any key has values which are not strictly equal between the arguments. 747 * Returns true when the values of all keys are strictly equal. 748 */function(e,t){if(o2(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;// Test for A's keys different from B. 749for(var o=0;o<r.length;o++)if(!o1.call(t,r[o])||!o2(e[r[o]],t[r[o]]))return!1;return!0})(e,r)})});// Do not try to use useLayoutEffect if DOM not available (SSR) 750var au="undefined"!=typeof window?ea:eo,ac="undefined"!=typeof navigator&&"undefined"!=typeof window;// NW.JS' background script loads into invisible empty HTML page. 751// Therefore NW.JS "main" script has all of window, document, navigator objects 752// and window.open() won't be null if App's window is launched from such "main". 753if(ac&&"undefined"!=typeof nw)try{nw.Window.get()}catch(e){ac=!1}var ad=!ac,af=ac?navigator.userAgent:void 0,ap={gui:ac,terminal:ad,registerQuery:function(e,t){var r=window.matchMedia(e);t(r.matches);var n=()=>t(r.matches);return r.addListener(n),()=>r.removeListener(n)}};function ah(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})}ap.node=void 0!==oH&&!!oH.versions&&!!oH.versions.node,ap.pwa=ap.gui&&window.matchMedia("(display-mode: standalone)").matches&&null!==document.head.querySelector('[rel="manifest"]'),ap.uwp="undefined"!=typeof Windows&&"undefined"!=typeof MSApp,ap.nwjs=!!(ap.node&&oH.versions.nw),ap.electron=!!(ap.node&&oH.versions.electron),ap.cordova=!!(ap.gui&&window.cordova),ap.packaged=ap.uwp||ap.nwjs||ap.electron||ap.cordova,ap.web=!ap.node&&!ap.packaged,ap.browser=ap.web// alias 754,ap.website=ap.web&&!ap.pwa,ap.worker=!ap.gui&&"undefined"!=typeof self&&void 0!==self.importScripts,ap.serviceWorker=ap.worker&&!!navigator.serviceWorker.controller||!1,ap.android=!!ap.gui&&af.includes("Android"),ap.chromeos=!!ap.gui&&af.includes("CrOS"),ap.tizen=!!ap.gui&&af.includes("Tizen"),ap.ios=ap.gui&&/iPad|iPhone|iPod/.test(af)&&!window.MSStream||!1,ap.linuxBased=ap.android||ap.tizen,ap.windows=ap.node?"win32"===oH.platform:af.includes("Windows"),ap.macos=ap.node?"darwin"===oH.platform:af.includes("Macintosh"),ap.linux=ap.node?"linux"===oH.platform:af.includes("Linux")&&!ap.linuxBased&&!ap.macos;var tG=(tB("acw62"),tB("acw62"),tB("acw62")),am={};am=tB("6VZtt");var tG=(tB("acw62"),tB("acw62")),ag=tG.useLayoutEffect,tG=tB("acw62");function av(e){var t=tG.useRef();return t.current||(t.current={v:e()}),t.current.v}tB("hfliI");var ay={};function ab(e){return 0!==e.status?e.state:e.machine.initialState}i(ay,"getServiceSnapshot",()=>
754ab);var aw=function(e,t){return e===t},aS=function(e,t){if("state"in e&&"machine"in e){// A status of 0 = interpreter not started 755if(0===e.status&&t.current)return t.current;var r=(0,ay.getServiceSnapshot)(e);return t.current=0===e.status?r:null,r}return"state"in e?e.state:void 0};const ax=e=>{var t;return null===(t=e.context.actorRef)||void 0===t?void 0:t.getSnapshot()},aE=e=>{var t;return null===(t=ax(e))||void 0===t?void 0:t.context},aC=e=>{let t=t=>r=>e({type:t,data:r});return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},aA=e=>{var t,r,n,o,a;let i=null!==(t=aE(e))&&void 0!==t?t:{},{codeDeliveryDetails:s,remoteError:l,unverifiedContactMethods:u,validationError:c,totpSecretCode:d=null}=i,{socialProviders:f}=null!==(n=null===(r=e.context)||void 0===r?void 0:r.config)&&void 0!==n?n:{},p=null!==(o=null==i?void 0:i.user)&&void 0!==o?o:null===(a=e.context)||void 0===a?void 0:a.user,h=c&&Object.keys(c).length>0,m=ax(e),g=e.hasTag("pending")||(null==m?void 0:m.hasTag("pending")),v=(()=>{switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case null==m?void 0:m.matches("confirmSignUp"):return"confirmSignUp";case null==m?void 0:m.matches("confirmSignIn"):return"confirmSignIn";case null==m?void 0:m.matches("setupTOTP.edit"):case null==m?void 0:m.matches("setupTOTP.submit"):return"setupTOTP";case null==m?void 0:m.matches("signIn"):return"signIn";case null==m?void 0:m.matches("signUp"):return"signUp";case null==m?void 0:m.matches("forceNewPassword"):return"forceNewPassword";case null==m?void 0:m.matches("resetPassword"):return"resetPassword";case null==m?void 0:m.matches("confirmResetPassword"):return"confirmResetPassword";case null==m?void 0:m.matches("verifyUser"):return"verifyUser";case null==m?void 0:m.matches("confirmVerifyUser"):return"confirmVerifyUser";case null==m?void 0:m.matches("setupTOTP.getTotpSecretCode"):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}})(),y=(e=>{switch(e){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}})(v);return{authStatus:y,codeDeliveryDetails:s,error:l,hasValidationErrors:h,isPending:g,route:v,socialProviders:f,totpSecretCode:d,unverifiedContactMethods:u,user:p,validationErrors:c}},ak=({send:e,state:t})=>{let r=aC(e),n=aA(t);return Object.assign(Object.assign({},r),n)};var tG=tB("acw62");/** 756 * AuthenticatorContext serves static reference to the auth machine service. 757 * 758 * https://xstate.js.org/docs/recipes/react.html#context-provider 759 */const a_=/*@__PURE__*/tV(tG).createContext(null);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 760// SPDX-License-Identifier: Apache-2.0 761// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 762// SPDX-License-Identifier: Apache-2.0 763/*! ***************************************************************************** 764Copyright (c) Microsoft Corporation. 765 766Permission to use, copy, modify, and/or distribute this software for any 767purpose with or without fee is hereby granted. 768 769THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 770REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 771AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 772INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 773LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 774OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 775PERFORMANCE OF THIS SOFTWARE. 776***************************************************************************** *//* global Reflect, Promise */var aI=function(e,t){return(aI=Object.
776setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function aT(e,t){function r(){this.constructor=e}aI(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var aP=function(){return(aP=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function aN(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})}function aO(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function aM(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 777// SPDX-License-Identifier: Apache-2.0 778var aj={};i(aj,"Amplify",()=>aB);var aF={};i(aF,"ConsoleLogger",()=>aV);var aR=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},aU=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},aL=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},aD={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5};(C=ed||(ed={})).DEBUG="DEBUG",C.ERROR="ERROR",C.INFO="INFO",C.WARN="WARN",C.VERBOSE="VERBOSE";var aV=/** @class */function(){/** 779 * @constructor 780 * @param {string} name - Name of the logger 781 */function e(e,t){void 0===t&&(t=ed.WARN),this.name=e,this.level=t,this._pluggables=[]}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype.configure=function(e){return e&&(this._config=e),this._config},/** 782 * Write log 783 * @method 784 * @memeberof Logger 785 * @param {LOG_TYPE|string} type - log type, default INFO 786 * @param {string|object} msg - Logging message or object 787 */e.prototype._log=function(t){for(var r,n,o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];var i=this.level;e.LOG_LEVEL&&(i=e.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(i=window.LOG_LEVEL);var s=aD[i];if(aD[t]>=s){var l=console.log.bind(console);t===ed.ERROR&&console.error&&(l=console.error.bind(console)),t===ed.WARN&&console.warn&&(l=console.warn.bind(console));var u="[".concat(t,"] ").concat(this._ts()," ").concat(this.name),c="";if(1===o.length&&"string"==typeof o[0])l(c="".concat(u," - ").concat(o[0]));else if(1===o.length)c="".concat(u," ").concat(o[0]),l(u,o[0]);else if("string"==typeof o[0]){var d=o.slice(1);1===d.length&&(d=d[0]),c="".concat(u," - ").concat(o[0]," ").concat(d),l("".concat(u," - ").concat(o[0]),d)}else c="".concat(u," ").concat(o),l(u,o);try{for(var f=aR(this._pluggables),p=f.next();!p.done;p=f.next()){var h=p.value,m={message:c,timestamp:Date.now()};h.pushLogs([m])}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}},/** 788 * Write General log. Default to INFO 789 * @method 790 * @memeberof Logger 791 * @param {string|object} msg - Logging message or object 792 */e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.INFO],aU(e),!1))},/** 793 * Write INFO log 794 * @method 795 * @memeberof Logger 796 * @param {string|object} msg - Logging message or object 797 */e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.INFO],aU(e),!1))},/** 798 * Write WARN log 799 * @method 800 * @memeberof Logger 801 * @param {string|object} msg - Logging message or object 802 */e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.WARN],aU(e),!1))},/** 803 * Write ERROR log 804 * @method 805 * @memeberof Logger 806 * @param {string|object} msg - Logging message or object 807 */e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.ERROR],aU(e),!1))},/** 808 * Write DEBUG log 809 * @method 810 * @memeberof Logger 811 * @param {string|object} msg - Logging message or object 812 */e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.DEBUG],aU(e),!1))},/** 813 * Write VERBOSE log 814 * @method 815 * @memeberof Logger 816 * @param {string|object} msg - Logging message or object 817 */e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,aL([ed.VERBOSE],aU(e),!1))},e.prototype.addPluggable=function(e){e&&"Logging"===e.getCategoryName()&&(this._pluggables.push(e),e.configure(this._config))},e.prototype.listPluggables=function(){return this._pluggables},e.LOG_LEVEL=null,e}(),aH=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},aZ=new aF.ConsoleLogger("Amplify"),aB=new/** @class */(function(){function e(){// Everything that is `register`ed is tracked here 818this._components=[],this._config={},// All modules (with `getModuleName()`) are stored here for dependency injection 819this._modules={},// for backward compatibility to avoid breaking change 820// if someone is using like Amplify.Auth 821this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=aF.ConsoleLogger,this.ServiceWorker=null}return e.prototype.register=function(e){aZ.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):aZ.debug("no getModuleName method for component",e),// Finally configure this new component(category) loaded 822// With the new modularization changes in Amplify V3, all the Amplify 823// component are not loaded/registered right away but when they are 824// imported (and hence instantiated) in the client's app. This ensures 825// that all new components imported get correctly configured with the 826// configuration that Amplify.configure() was called with. 827e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e&&(this._config=Object.assign(this._config,e),aZ.debug("amplify config",this._config),// Dependency Injection via property-setting. 828// This avoids introducing a public method/interface/setter that's difficult to remove later. 829// Plus, it reduces `if` statements within the `constructor` and `configure` of each module
830Object.entries(this._modules).forEach(function(e){var r=aH(e,2),n=(r[0],r[1]);// e.g. Auth.* 831Object.keys(n).forEach(function(e){t._modules[e]&&(n[e]=t._modules[e])})}),this._components.map(function(e){e.configure(t._config)})),this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map(function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)})},e}()),az={};i(az,"Platform",()=>a4),i(az,"getAmplifyUserAgent",()=>a5),// < 100 - Web frameworks 832(A=ef||(ef={})).WebUnknown="0",A.React="1",A.NextJs="2",A.Angular="3",A.VueJs="4",A.Nuxt="5",A.Svelte="6",// 100s - Server side frameworks 833A.ServerSideUnknown="100",A.ReactSSR="101",A.NextJsSSR="102",A.AngularSSR="103",A.VueJsSSR="104",A.NuxtSSR="105",A.SvelteSSR="106",// 200s - Mobile framework 834A.ReactNative="201",A.Expo="202",(k=ep||(ep={})).API="api",k.Auth="auth",k.Analytics="analytics",k.DataStore="datastore",k.Geo="geo",k.InAppMessaging="inappmessaging",k.Interactions="interactions",k.Predictions="predictions",k.PubSub="pubsub",k.PushNotification="pushnotification",k.Storage="storage",(_=eh||(eh={})).Record="1",_.UpdateEndpoint="2",(I=em||(em={})).GraphQl="1",I.Get="2",I.Post="3",I.Put="4",I.Patch="5",I.Del="6",I.Head="7",// SignUp = '1', 835// ConfirmSignUp = '2', 836// ResendSignUp = '3', 837// SignIn = '4', 838// GetMFAOptions = '5', 839// GetPreferredMFA = '6', 840// SetPreferredMFA = '7', 841// DisableSMS = '8', 842// EnableSMS = '9', 843// SetupTOTP = '10', 844// VerifyTotpToken = '11', 845// ConfirmSignIn = '12', 846// CompleteNewPassword = '13', 847// SendCustomChallengeAnswer = '14', 848// DeleteUserAttributes = '15', 849// DeleteUser = '16', 850// UpdateUserAttributes = '17', 851// UserAttributes = '18', 852// CurrentUserPoolUser = '19', 853// CurrentAuthenticatedUser = '20', 854// CurrentSession = '21', 855// VerifyUserAttribute = '22', 856// VerifyUserAttributeSubmit = '23', 857// VerifyCurrentUserAttribute = '24', 858// VerifyCurrentUserAttributeSubmit = '25', 859// SignOut = '26', 860// ChangePassword = '27', 861// ForgotPassword = '28', 862// ForgotPasswordSubmit = '29', 863(eg||(eg={})).FederatedSignIn="30",(T=ev||(ev={})).Subscribe="1",T.GraphQl="2",(P=ey||(ey={})).SearchByText="1",P.SearchForSuggestions="2",P.SearchByPlaceId="3",P.SearchByCoordinates="4",P.SaveGeofences="5",P.GetGeofence="6",P.ListGeofences="7",P.DeleteGeofences="8",(N=eb||(eb={})).None="0",N.SyncMessages="1",N.IdentifyUser="2",(ew||(ew={})).None="0",(O=eS||(eS={})).Convert="1",O.Identify="2",O.Interpret="3",(ex||(ex={})).Subscribe="1",(eE||(eE={})).None="0",(M=eC||(eC={})).Put="1",M.Get="2",M.List="3",M.Copy="4",M.Remove="5",M.GetProperties="6",M.Cancel="7";// generated by genversion 864var aW="5.3.7",aG=function(){return void 0!==tD},aq=function(){return"undefined"!=typeof window},aY=function(){return"undefined"!=typeof document},a$=function(){return void 0!==oH},aK=function(e,t){return!!Object.keys(e).find(function(e){return e.startsWith(t)})},aJ=[// First, detect mobile 865{platform:ef.Expo,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 866// SPDX-License-Identifier: Apache-2.0 867function(){// @ts-ignore 868return aG()&&void 0!==tD.expo}},{platform:ef.ReactNative,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 869// SPDX-License-Identifier: Apache-2.0 870// Tested with react-native 0.17.7 871function(){return"undefined"!=typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},// Next, detect web frameworks 872{platform:ef.NextJs,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 873// SPDX-License-Identifier: Apache-2.0 874function(){// @ts-ignore 875return aq()&&window.next&&"object"==typeof window.next}},{platform:ef.Nuxt,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 876// SPDX-License-Identifier: Apache-2.0 877function(){return aq()&&// @ts-ignore 878(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:ef.Angular,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 879// SPDX-License-Identifier: Apache-2.0 880function(){var e=!!(aY()&&document.querySelector("[ng-version]")),t=!!(aq()&&void 0!==window.ng);return e||t}},{platform:ef.React,detectionMethod:function(){var e=function(e){return e.startsWith("_react")||e.startsWith("__react")};return aY()&&Array.from(document.querySelectorAll("[id]")).some(function(t){return Object.keys(t).find(e)})}},{platform:ef.VueJs,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 881// SPDX-License-Identifier: Apache-2.0 882function(){return aq()&&aK(window,"__VUE")}},{platform:ef.Svelte,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 883// SPDX-License-Identifier: Apache-2.0 884function(){return aq()&&aK(window,"__SVELTE")}},{platform:ef.WebUnknown,detectionMethod:// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 885// SPDX-License-Identifier: Apache-2.0 886function(){return aq()}},// Last, detect ssr frameworks 887{platform:ef.NextJsSSR,detectionMethod:function(){return aG()&&(aK(tD,"__next")||aK(tD,"__NEXT"))}},{platform:ef.NuxtSSR,detectionMethod:function(){// @ts-ignore 888return aG()&&void 0!==tD.__NUXT_PATHS__}},{platform:ef.ReactSSR,detectionMethod:function(){return a$()&&void 0!==oH.env&&!!Object.keys(oH.env).find(function(e){return e.includes("react")})}},{platform:ef.VueJsSSR,detectionMethod:function(){return aG()&&aK(tD,"__VUE")}},{platform:ef.AngularSSR,detectionMethod:function(){return a$()&&oH.env,!1}},{platform:ef.SvelteSSR,detectionMethod:function(){return a$()&&void 0!==oH.env&&!!Object.keys(oH.env).find(function(e){return e.includes("svelte")})}}],aQ=[],aX=!1,a0=function(){if(!eA){var e;eA=(null===(e=aJ.find(function(e){return e.detectionMethod()}))||void 0===e?void 0:e.platform)||ef.ServerSideUnknown,// Everytime we update the cache, call each observer function
889aQ.forEach(function(e){return e()}),// Retry once for either Unknown type after a delay (explained below) 890a2(ef.ServerSideUnknown,10),a2(ef.WebUnknown,10)}return eA},a1=function(e){aQ.push(e)};// For a framework type and a delay amount, setup the event to re-detect 891// During the runtime boot, it is possible that framework detection will 892// be triggered before the framework has made modifications to the 893// global/window/etc needed for detection. When no framework is detected 894// we will reset and try again to ensure we don't use a cached 895// non-framework detection result for all requests. 896function a2(e,t){eA!==e||aX||setTimeout(function(){eA=void 0,aX=!0,setTimeout(a0,1e3)},t)}var a8=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},a6="aws-amplify",a4=new/** @class */(function(){function e(){this.userAgent="".concat(a6,"/").concat(aW)}return Object.defineProperty(e.prototype,"framework",{get:function(){return a0()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isReactNative",{get:function(){return this.framework===ef.ReactNative||this.framework===ef.Expo},enumerable:!1,configurable:!0}),e.prototype.observeFrameworkChanges=function(e){a1(e)},e}()),a3=function(e){var t=void 0===e?{}:e,r=t.category,n=t.action,o=t.framework,a=t.additionalInfo,i=[[a6,aW]];return r&&i.push([r,n]),i.push(["framework",o||a0()]),a&&(i=i.concat(a)),i},a5=function(e){return a3(e).map(function(e){var t=a8(e,2),r=t[0],n=t[1];return"".concat(r,"/").concat(n)}).join(" ")},a7={};i(a7,"Hub",()=>ia);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 897// SPDX-License-Identifier: Apache-2.0 898var a9=function(){return(a9=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ie=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},it=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},ir=new aF.ConsoleLogger("Hub"),io="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",ia=new/** @class */(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}return(/** 899 * Used internally to remove a Hub listener. 900 * 901 * @remarks 902 * This private method is for internal use only. Instead of calling Hub.remove, call the result of Hub.listen. 903 */e.prototype._remove=function(e,t){if(e instanceof RegExp){var r=this.patterns.find(function(t){return t.pattern.source===e.source});if(!r){ir.warn("No listeners for ".concat(e));return}this.patterns=it([],ie(this.patterns.filter(function(e){return e!==r})),!1)}else{var n=this.listeners[e];if(!n){ir.warn("No listeners for ".concat(e));return}this.listeners[e]=it([],ie(n.filter(function(e){return e.callback!==t})),!1)}},/** 904 * @deprecated Instead of calling Hub.remove, call the result of Hub.listen. 905 */e.prototype.remove=function(e,t){this._remove(e,t)},/** 906 * Used to send a Hub event. 907 * 908 * @param channel - The channel on which the event will be broadcast 909 * @param payload - The HubPayload 910 * @param source - The source of the event; defaults to '' 911 * @param ampSymbol - Symbol used to determine if the event is dispatched internally on a protected channel 912 * 913 */e.prototype.dispatch=function(e,t,r,n){void 0===r&&(r=""),this.protectedChannels.indexOf(e)>-1&&n!==io&&ir.warn("WARNING: ".concat(e," is protected and dispatching on it can have unintended consequences"));var o={channel:e,payload:a9({},t),source:r,patternInfo:[]};try{this._toListeners(o)}catch(e){ir.error(e)}},/** 914 * Used to listen for Hub events. 915 * 916 * @param channel - The channel on which to listen 917 * @param callback - The callback to execute when an event is received on the specified channel 918 * @param listenerName - The name of the listener; defaults to 'noname' 919 * @returns A function which can be called to cancel the listener. 920 * 921 */e.prototype.listen=function(e,t,r){var n,o=this;// Check for legacy onHubCapsule callback for backwards compatability 922if(void 0===r&&(r="noname"),void 0!==t.onHubCapsule)ir.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),n=t.onHubCapsule.bind(t);else if("function"!=typeof t)throw Error("No callback supplied to Hub");else n=t;if(e instanceof RegExp)this.patterns.push({pattern:e,callback:n});else{var a=this.listeners[e];a||(a=[],this.listeners[e]=a),a.push({name:r,callback:n})}return function(){o._remove(e,n)}},e.prototype._toListeners=function(e){var t=e.channel,r=e.payload,n=this.listeners[t];
922if(n&&n.forEach(function(n){ir.debug("Dispatching to ".concat(t," with "),r);try{n.callback(e)}catch(e){ir.error(e)}}),this.patterns.length>0){if(!r.message){ir.warn("Cannot perform pattern matching without a message key");return}var o=r.message;this.patterns.forEach(function(t){var r=o.match(t.pattern);if(r){var n=ie(r).slice(1),a=a9(a9({},e),{patternInfo:n});try{t.callback(a)}catch(e){ir.error(e)}}})}},e)}())("__default__"),ii={};i(ii,"I18n",()=>iu);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 923// SPDX-License-Identifier: Apache-2.0 924var is=function(){return(is=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},il=new aF.ConsoleLogger("I18n"),iu=/** @class */function(){/** 925 * @constructor 926 * Initialize with configurations 927 * @param {Object} options 928 */function e(e){/** 929 * @private 930 */this._options=null,/** 931 * @private 932 */this._lang=null,/** 933 * @private 934 */this._dict={},this._options=Object.assign({},e),this._lang=this._options.language,!this._lang&&"undefined"!=typeof window&&window&&window.navigator&&(this._lang=window.navigator.language),il.debug(this._lang)}return(/** 935 * @method 936 * Explicitly setting language 937 * @param {String} lang 938 */e.prototype.setLanguage=function(e){this._lang=e},/** 939 * @method 940 * Get value 941 * @param {String} key 942 * @param {String} defVal - Default value 943 */e.prototype.get=function(e,t){if(void 0===t&&(t=void 0),!this._lang)return void 0!==t?t:e;var r=this._lang,n=this.getByLanguage(e,r);return n||((r.indexOf("-")>0&&(n=this.getByLanguage(e,r.split("-")[0])),n)?n:void 0!==t?t:e)},/** 944 * @method 945 * Get value according to specified language 946 * @param {String} key 947 * @param {String} language - Specified langurage to be used 948 * @param {String} defVal - Default value 949 */e.prototype.getByLanguage=function(e,t,r){if(void 0===r&&(r=null),!t)return r;var n=this._dict[t];return n?n[e]:r},/** 950 * @method 951 * Add vocabularies for one language 952 * @param {String} language - Language of the dictionary 953 * @param {Object} vocabularies - Object that has key-value as dictionary entry 954 */e.prototype.putVocabulariesForLanguage=function(e,t){var r=this._dict[e];r||(r=this._dict[e]={}),this._dict[e]=is(is({},r),t)},/** 955 * @method 956 * Add vocabularies for one language 957 * @param {Object} vocabularies - Object that has language as key, 958 * vocabularies of each language as value 959 */e.prototype.putVocabularies=function(e){var t=this;Object.keys(e).map(function(r){t.putVocabulariesForLanguage(r,e[r])})},e)}(),ic=new aF.ConsoleLogger("I18n"),id=null,ip=null,ih=/** @class */function(){function e(){}return(/** 960 * @static 961 * @method 962 * Configure I18n part 963 * @param {Object} config - Configuration of the I18n 964 */e.configure=function(t){return ic.debug("configure I18n"),t&&(id=Object.assign({},id,t.I18n||t),e.createInstance()),id},e.getModuleName=function(){return"I18n"},/** 965 * @static 966 * @method 967 * Create an instance of I18n for the library 968 */e.createInstance=function(){ic.debug("create I18n instance"),ip||(ip=new ii.I18n(id))},/** 969 * @static @method 970 * Explicitly setting language 971 * @param {String} lang 972 */e.setLanguage=function(t){return e.checkConfig(),ip.setLanguage(t)},/** 973 * @static @method 974 * Get value 975 * @param {String} key 976 * @param {String} defVal - Default value 977 */e.get=function(t,r){return e.checkConfig()?ip.get(t,r):void 0===r?t:r},/** 978 * @static 979 * @method 980 * Add vocabularies for one language 981 * @param {String} langurage - Language of the dictionary 982 * @param {Object} vocabularies - Object that has key-value as dictionary entry 983 */e.putVocabulariesForLanguage=function(t,r){return e.checkConfig(),ip.putVocabulariesForLanguage(t,r)},/** 984 * @static 985 * @method 986 * Add vocabularies for one language 987 * @param {Object} vocabularies - Object that has language as key, 988 * vocabularies of each language as value 989 */e.putVocabularies=function(t){return e.checkConfig(),ip.putVocabularies(t)},e.checkConfig=function(){return ip||(ip=new ii.I18n(id)),!0},e)}();(0,aj.Amplify).register(ih);var im=function(e){if(e.isResolved)return e;var t=!0,r=!1,n=!1,o=e.then(function(e){return n=!0,t=!1,e},function(e){throw r=!0,t=!1,e});return o.isFullfilled=function(){return n},o.isPending=function(){return t},o.isRejected=function(){return r},o},ig=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:void 0!==oH&&null!=oH.versions&&null!=oH.versions.node}},iv={};i(iv,"parseAWSExports",()=>iw);var iy=function(){return(iy=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ib=new aF.ConsoleLogger("Parser"),iw=function(e){var t,r={};// Analytics 990if(e.aws_mobile_analytics_app_id){var n={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};r.Analytics=n}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(r.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_regi
990on,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in,signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},e.Logging&&(r.Logging=iy(iy({},e.Logging),{region:e.aws_project_region})),e.geo&&(r.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(r.Geo={AmazonLocationService:e.geo.amazon_location_service})),r.Analytics=Object.assign({},r.Analytics,e.Analytics),r.Auth=Object.assign({},r.Auth,e.Auth),r.Storage=Object.assign({},t),r.Logging=Object.assign({},r.Logging,e.Logging),ib.debug("parse config",e,"to amplifyconfig",r),r},iS={};i(iS,"Credentials",()=>sW);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 991// SPDX-License-Identifier: Apache-2.0 992var ix={},iE=/** @class */function(){function e(){}return(/** 993 * This is used to set a specific item in storage 994 * @param {string} key - the key for the item 995 * @param {object} value - the value 996 * @returns {string} value that was set 997 */e.setItem=function(e,t){return ix[e]=t,ix[e]},/** 998 * This is used to get a specific key from storage 999 * @param {string} key - the key for the item 1000 * This is used to clear the storage 1001 * @returns {string} the data item 1002 */e.getItem=function(e){return Object.prototype.hasOwnProperty.call(ix,e)?ix[e]:void 0},/** 1003 * This is used to remove an item from storage 1004 * @param {string} key - the key being set 1005 * @returns {string} value - value that was deleted 1006 */e.removeItem=function(e){return delete ix[e]},/** 1007 * This is used to clear the storage 1008 * @returns {string} nothing 1009 */e.clear=function(){return ix={}},e)}(),iC=/** @class */function(){/** 1010 * This is used to get a storage object 1011 * @returns {object} the storage 1012 */function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=iE}}return(/** 1013 * This is used to return the storage 1014 * @returns {object} the storage 1015 */e.prototype.getStorage=function(){return this.storageWindow},e)}(),iA={};i(iA,"GoogleOAuth",()=>iD);var ik={};i(ik,"NonRetryableError",()=>iM),i(ik,"jitteredBackoff",()=>ij),i(ik,"jitteredExponentialRetry",()=>iF);var i_=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),iI=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})},iT=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},iP=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},iN=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},iO=new aF.ConsoleLogger("Util"),iM=/** @class */function(e){function t(t){var r=e.call(this,t)||this;return r.nonRetryable=!0,r}return i_(t,e),t}(Error);function ij(e){return void 0===e&&(e=3e5),function(t){var r=100*Math.pow(2,t)+100*Math.random();return!(r>e)&&r}}var iF=function(e,t,r,n){return void 0===r&&(r=3e5),function(e,t,r,n){return iI(this,void 0,void 0,function(){var o=this;
1015return iT(this,function(a){if("function"!=typeof e)throw Error("functionToRetry must be a function");return[2/*return*/,new Promise(function(a,i){return iI(o,void 0,void 0,function(){var o,s,l,u,c,d,f;return iT(this,function(p){switch(p.label){case 0:o=0,s=!1,u=function(){},n&&n.then(function(){// signal not to try anymore. 1016s=!0,// stop sleeping if we're sleeping. 1017clearTimeout(l),u()}),d=function(){var n,d,f,p;return iT(this,function(h){switch(h.label){case 0:o++,iO.debug("".concat(e.name," attempt #").concat(o," with this vars: ").concat(JSON.stringify(t))),h.label=1;case 1:return h.trys.push([1,3,,7]),n={},d=a,[4/*yield*/,e.apply(void 0,iN([],iP(t),!1))];case 2:return[2/*return*/,(n.value=d.apply(void 0,[h.sent()]),n)];case 3:if(c=f=h.sent(),iO.debug("error on ".concat(e.name),f),f&&f.nonRetryable)return iO.debug("".concat(e.name," non retryable error"),f),[2/*return*/,{value:i(f)}];if(p=r(o,t,f),iO.debug("".concat(e.name," retrying in ").concat(p," ms")),!(!1===p||s))return[3/*break*/,4];return[2/*return*/,{value:i(f)}];case 4:return[4/*yield*/,new Promise(function(e){l=setTimeout(u=e,p)})];case 5:h.sent(),h.label=6;case 6:return[3/*break*/,7];case 7:return[2/*return*/]}})},p.label=1;case 1:if(s)return[3/*break*/,3];return[5/*yield**/,d()];case 2:if("object"==typeof(f=p.sent()))return[2/*return*/,f.value];return[3/*break*/,1];case 3:return(// reached if terminated while waiting for a timer. 1018i(c),[2/*return*/])}})})})]})})}(e,t,ij(r),n)},iR=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},iU=new aF.ConsoleLogger("CognitoCredentials"),iL=new Promise(function(e,t){return ig().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(iU.debug("google api already loaded"),e()):void setTimeout(function(){return e()},2e3):(iU.debug("not in the browser, directly resolved"),e())}),iD=/** @class */function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){var e,t,r,n;return e=this,t=void 0,r=void 0,n=function(){return iR(this,function(e){switch(e.label){case 0:if(this.initialized)return[3/*break*/,2];return iU.debug("need to wait for the Google SDK loaded"),[4/*yield*/,iL];case 1:e.sent(),this.initialized=!0,iU.debug("finish waiting"),e.label=2;case 2:return[2/*return*/,this._refreshGoogleTokenImpl()]}})},new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return(ig().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e)?new Promise(function(t,r){e.getAuthInstance().then(function(e){e||(iU.debug("google Auth undefined"),r(new ik.NonRetryableError("google Auth undefined")));var n=e.currentUser.get();n.isSignedIn()?(iU.debug("refreshing the google access token"),n.reloadAuthResponse().then(function(e){t({token:e.id_token,expires_at:e.expires_at})}).catch(function(e){e&&"network_error"===e.error?r("Network error reloading google auth response"):r(new ik.NonRetryableError("Failed to reload google auth response"))})):r(new ik.NonRetryableError("User is not signed in with Google"))}).catch(function(e){iU.debug("Failed to refresh google token",e),r(new ik.NonRetryableError("Failed to refresh google token"))})}):(iU.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),iV={};i(iV,"FacebookOAuth",()=>iz);var iH=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},iZ=new aF.ConsoleLogger("CognitoCredentials"),iB=new Promise(function(e,t){return ig().isBrowser?window.FB?(iZ.debug("FB SDK already loaded"),e()):void setTimeout(function(){return e()},2e3):(iZ.debug("not in the browser, directly resolved"),e())}),iz=/** @class */function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){var e,t,r,n;return e=this,t=void 0,r=void 0,n=function(){return iH(this,function(e){switch(e.label){case 0:if(this.initialized)return[3/*break*/,2];return iZ.debug("need to wait for the Facebook SDK loaded"),[4/*yield*/,iB];case 1:e.sent(),this.initialized=!0,iZ.debug("finish waiting"),e.label=2;case 2:return[2/*return*/,this._refreshFacebookTokenImpl()]}})},new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if(ig().isBrowser&&(e=window.FB),!e){var t="no fb sdk available";return iZ.debug(t),Promise.reject(new ik.NonRetryableError(t))}return new Promise(function(t,r){e.getLoginStatus(function(e){if(e&&e.authResponse){var n=e.authResponse,o=n.accessToken,a=1e3*n.expiresIn+new Date().getTime();if(!o){var i="the jwtToken is undefined";iZ.debug(i),r(new ik.NonRetryableError(i))}t({token:o,expires_at:a})}else{var i="no response from facebook when refreshing the jwt token";iZ.debug(i),// There is no definitive indication for a network error in
1019// fbResponse, so we are treating it as an invalid token. 1020r(new ik.NonRetryableError(i))}},{scope:"public_profile,email"})})},e}(),iW=new iA.GoogleOAuth,iG=new iV.FacebookOAuth,iq={};i(iq,"getCredentialsForIdentity",()=>sF);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1021// SPDX-License-Identifier: Apache-2.0 1022var iY={};i(iY,"cognitoIdentityTransferHandler",()=>sk),i(iY,"defaultConfig",()=>s_),i(iY,"getSharedHeaders",()=>sI),i(iY,"buildHttpRpcRequest",()=>sT);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1023// SPDX-License-Identifier: Apache-2.0 1024var i$={};i(i$,"getDnsSuffix",()=>iX);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1025// SPDX-License-Identifier: Apache-2.0 1026// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1027// SPDX-License-Identifier: Apache-2.0 1028/** 1029 * Default partition for AWS services. This is used when the region is not provided or the region is not recognized. 1030 * 1031 * @internal 1032 */var iK={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},iJ={partitions:[iK,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},iQ=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},iX=function(e){var t,r,n=iJ.partitions;try{for(var o=iQ(n),a=o.next();!a.done;a=o.next()){var i=a.value,s=i.regions,l=i.outputs,u=i.regionRegex,c=new RegExp(u);if(s.includes(e)||c.test(e))return l.dnsSuffix}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return iK.outputs.dnsSuffix},i0={};i(i0,"parseJsonError",()=>i7),i(i0,"parseJsonBody",()=>i9);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1033// SPDX-License-Identifier: Apache-2.0 1034var i1={};i(i1,"parseMetadata",()=>i8);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1035// SPDX-License-Identifier: Apache-2.0 1036var i2=function(){return(i2=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i8=function(e){var t,r,n=e.headers,o=e.statusCode;return i2(i2({},i6(e)?e.$metadata:{}),{httpStatusCode:o,requestId:null!==(r=null!==(t=n["x-amzn-requestid"])&&void 0!==t?t:n["x-amzn-request-id"])&&void 0!==r?r:n["x-amz-request-id"],extendedRequestId:n["x-amz-id-2"],cfId:n["x-amz-cf-id"]})},i6=function(e){return"object"==typeof(null==e?void 0:e.$metadata)},i4=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})},i3=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},i5=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},i7=function(e){return i4(void 0,void 0,void 0,function(){var t,r,n,o,a,i,s;return i3(this,function(l){switch(l.label){case 0:if(!e||e.statusCode<300)return[2/*return*/];return[4/*yield*/,i9(e)];case 1:var u;return t=l.sent(),r=(u=i5((null!==(a=null!==(o=null!==(n=e.headers["x-amzn-errortype"])&&void 0!==n?n:t.code)&&void 0!==o?o:t.__type)&&void 0!==a?a:"UnknownError").toString().split(/[\,\:]+/),1)[0]).includes("#")?u.split("#")[1]:u,[2/*return*/,Object.assign(Error(null!==(s=null!==(i=t.message)&&void 0!==i?i:t.Message)&&void 0!==s?s:"Unknown error"),{name:r,$metadata:(0,i1.parseMetadata)(e)})]}})})},i9=function(e){return i4(void 0,void 0,void 0,function(){return i3(this,function(t){switch(t.label){case 0:if(!e.body)throw Error("Missing response payload");return[4/*yield*/,e.body.json()];case 1:return[2/*return*/,Object.assign(t.sent(),{$metadata:(0,i1.parseMetadata)(e)})]}})})},se={};i(se,"retryMiddleware",()=>sn);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1037// SPDX-License-Identifier: Apache-2.0 1038var st=function(){return(st=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sr=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sn=function(e){var t=e.maxAttempts,r=void 0===t?3:t,n=e.retryDecider,o=e.computeDelay,a=e.abortSignal;if(r<1)throw Error("maxAttempts must be greater than 0");return function(e,t){return function(i){var s,l,u,c,d;return l=this,u=void 0,c=void 0,d=function(){var l,u,c,d;return sr(this,function(f){switch(f.label){case 0:u=null!==(s=t.attemptsCount)&&void 0!==s?s:0,d=function(){if(c)return sa(c,u),c;throw sa(l,u),l},f.label=1;case 1:if(!(!(null==a?void 0:a.aborted)&&u<r))return[3/*break*/,11];f.label=2;case 2:return f.trys.push([2,4,,5]),[4/*yield*/,e(i)];case 3:return c=f.sent(),l=void 0,[3/*break*/,5];case 4:return l=f.sent(),c=void 0,[3/*break*/,5];case 5:return(// context.attemptsCount may be updated after calling next handler which may retry the request by itself. 1039u=t.attemptsCount>u?t.attemptsCount:u+1,t.attemptsCount=u,[4/*yield*/,n(c,l)]);case 6:if(!f.sent())return[3/*break*/,9];
1039if(!(!(null==a?void 0:a.aborted)&&u<r))return[3/*break*/,8];return[4/*yield*/,so(o(u),a)];case 7:f.sent(),f.label=8;case 8:case 10:return[3/*break*/,1];case 9:return[2/*return*/,d()];case 11:if(null==a||!a.aborted)return[2/*return*/,d()];throw Error("Request aborted.")}})},new(c||(c=Promise))(function(e,t){function r(e){try{o(d.next(e))}catch(e){t(e)}}function n(e){try{o(d.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof c?o:new c(function(e){e(o)})).then(r,n)}o((d=d.apply(l,u||[])).next())})}}},so=function(e,t){if(null==t?void 0:t.aborted)return Promise.resolve();var r,n,o=new Promise(function(t){n=t,r=setTimeout(t,e)});return null==t||t.addEventListener("abort",function e(o){clearTimeout(r),null==t||t.removeEventListener("abort",e),n()}),o},sa=function(e,t){var r;"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata=st(st({},null!==(r=e.$metadata)&&void 0!==r?r:{}),{attempts:t}))},si={};i(si,"userAgentMiddleware",()=>sl);var ss=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sl=function(e){var t=e.userAgentHeader,r=void 0===t?"x-amz-user-agent":t,n=e.userAgentValue,o=void 0===n?"":n;return function(e){return function(t){var n,a,i,s;return n=this,a=void 0,i=void 0,s=function(){var n;return ss(this,function(a){switch(a.label){case 0:if(0!==o.trim().length)return[3/*break*/,2];return[4/*yield*/,e(t)];case 1:case 3:return[2/*return*/,a.sent()];case 2:return n=r.toLowerCase(),t.headers[n]=t.headers[n]?"".concat(t.headers[n]," ").concat(o):o,[4/*yield*/,e(t)]}})},new(i||(i=Promise))(function(e,t){function r(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof i?n:new i(function(e){e(n)})).then(r,o)}l((s=s.apply(n,a||[])).next())})}}},su=function(e,t){return function(r,n){for(var o={},a=function(t){return e(t,n)},i=t.length-1;i>=0;i--)a=(0,t[i])(n)(a,o);return a(r)}},sc={};i(sc,"fetchTransferHandler",()=>sh),self.fetch||(self.fetch=tB("laOt8").default||tB("laOt8"));// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1040// SPDX-License-Identifier: Apache-2.0 1041/** 1042 * Cache the payload of a response body. It allows multiple calls to the body, 1043 * for example, when reading the body in both retry decider and error deserializer. 1044 * Caching body is allowed here because we call the body accessor(blob(), json(), 1045 * etc.) when body is small or streaming implementation is not available(RN). 1046 * 1047 * @internal 1048 */var sd=function(e){var t;return function(){return t||// introduce a possible race in the event that this wrapper is called 1049// again before the first `payloadAccessor` call resolves. 1050(t=e()),t}},sf=function(){return(sf=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sp=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sh=function(e,t){var r,n,o,a,i=e.url,s=e.method,l=e.headers,u=e.body,c=t.abortSignal;return r=void 0,n=void 0,o=void 0,a=function(){var e,t,r,n,o,a,d;return sp(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4/*yield*/,fetch(i,{method:s,headers:l,body:["HEAD","GET","DELETE"].includes(s.toUpperCase())?void 0:u,signal:c})];case 1:return e=f.sent(),[3/*break*/,3];case 2:// TODO: needs to revise error handling in v6 1051// For now this is a thin wrapper over original fetch error similar to cognito-identity-js package. 1052// Ref: https://github.com/aws-amplify/amplify-js/blob/4fbc8c0a2be7526aab723579b4c95b552195a80b/packages/amazon-cognito-identity-js/src/Client.js#L103-L108 1053if((t=f.sent())instanceof TypeError)throw Error("Network error");throw t;case 3:return r={},null===(a=e.headers)||void 0===a||a.forEach(function(e,t){r[t.toLowerCase()]=e}),n={statusCode:e.status,headers:r,body:null},o=Object.assign(null!==(d=e.body)&&void 0!==d?d:{},{text:sd(function(){return e.text()}),blob:sd(function(){return e.blob()}),json:sd(function(){return e.json()})}),[2/*return*/,sf(sf({},n),{body:o})]}})},new(o||(o=Promise))(function(e,t){function i(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(i,s)}l((a=a.apply(r,n||[])).next())})},sm=su(sc.fetchTransferHandler,[si.userAgentMiddleware,se.retryMiddleware]),sg={};i(sg,"getRetryDecider",()=>sb);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1054// SPDX-License-Identifier: Apache-2.0 1055// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1056// SPDX-License-Identifier: Apache-2.0 1057// via https://github.com/aws/aws-sdk-js-v3/blob/ab0e7be36e7e7f8a0c04834357aaa
1057d643c7912c3/packages/service-error-classification/src/constants.ts#L8 1058var sv=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],sy=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sb=function(e){return function(t,r){var n,o,a,i;return n=void 0,o=void 0,a=void 0,i=function(){var n,o,a,i;return sy(this,function(s){switch(s.label){case 0:if(!(null!=r))return[3/*break*/,1];return o=r,[3/*break*/,3];case 1:return[4/*yield*/,e(t)];case 2:o=s.sent(),s.label=3;case 3:return n=(null!==(i=o)&&void 0!==i?i:{}).name,a=null==t?void 0:t.statusCode,[2/*return*/,sE(r)||sx(a,n)||sv.includes(n)||sC(a,n)]}})},new(a||(a=Promise))(function(e,t){function r(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof a?n:new a(function(e){e(n)})).then(r,s)}l((i=i.apply(n,o||[])).next())})}},sw=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],sS=["TimeoutError","RequestTimeout","RequestTimeoutException"],sx=function(e,t){return 429===e||sw.includes(t)},sE=function(e){return(null==e?void 0:e.name)==="Network error"},sC=function(e,t){return[500,502,503,504].includes(e)||sS.includes(t)},sA=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sk=su(sm,[function(){return function(e,t){return function(t){var r,n,o,a;return r=this,n=void 0,o=void 0,a=function(){return sA(this,function(r){return t.headers["cache-control"]="no-store",[2/*return*/,e(t)]})},new(o||(o=Promise))(function(e,t){function i(e){try{l(a.next(e))}catch(e){t(e)}}function s(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof o?r:new o(function(e){e(r)})).then(i,s)}l((a=a.apply(r,n||[])).next())})}}}]),s_={service:"cognito-identity",endpointResolver:function(e){var t=e.region;
1058return{url:new URL("https://cognito-identity.".concat(t,".").concat((0,i$.getDnsSuffix)(t)))}},retryDecider:(0,sg.getRetryDecider)(i0.parseJsonError),computeDelay:function(e){var t=(0,ik.jitteredBackoff)(3e5)(e);// The delayFunction returns false when the delay is greater than the max delay(5 mins). 1059// In this case, the retry middleware will delay 5 mins instead, as a ceiling of the delay. 1060return!1===t?3e5:t},userAgentValue:(0,az.getAmplifyUserAgent)()};a1(function(){s_.userAgentValue=(0,az.getAmplifyUserAgent)()});var sI=function(e){return{"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.".concat(e)}},sT=function(e,t,r){return{headers:t,url:e.url,body:r,method:"POST"}},sP={};i(sP,"composeServiceApi",()=>sM);// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1061// SPDX-License-Identifier: Apache-2.0 1062var sN=function(){return(sN=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sO=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sM=function(e,t,r,n){return function(o,a){var i,s,l,u;return i=void 0,s=void 0,l=void 0,u=function(){var i;return sO(this,function(s){switch(s.label){case 0:return[4/*yield*/,(i=sN(sN({},n),o)).endpointResolver(i,a)];case 1:return[4/*yield*/,t(a,s.sent())];case 2:return[4/*yield*/,e(s.sent(),sN({},i))];case 3:return[4/*yield*/,r(s.sent())];case 4:return[2/*return*/,s.sent()]}})},new(l||(l=Promise))(function(e,t){function r(e){try{o(u.next(e))}catch(e){t(e)}}function n(e){try{o(u.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof l?o:new l(function(e){e(o)})).then(r,n)}o((u=u.apply(i,s||[])).next())})}},sj=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sF=(0,sP.composeServiceApi)(iY.cognitoIdentityTransferHandler,function(e,t){var r=(0,iY.getSharedHeaders)("GetCredentialsForIdentity"),n=JSON.stringify(e);return(0,iY.buildHttpRpcRequest)(t,r,n)},function(e){var t,r,n,o;return t=void 0,r=void 0,n=void 0,o=function(){var t;return sj(this,function(r){switch(r.label){case 0:if(!(e.statusCode>=300))return[3/*break*/,2];return[4/*yield*/,(0,i0.parseJsonError)(e)];case 1:throw r.sent();case 2:return[4/*yield*/,(0,i0.parseJsonBody)(e)];case 3:var n;return[2/*return*/,{IdentityId:(t=r.sent()).IdentityId,Credentials:(void 0===(n=t.Credentials)&&(n={}
1062),{AccessKeyId:n.AccessKeyId,SecretKey:n.SecretKey,SessionToken:n.SessionToken,Expiration:new Date(1e3*n.Expiration)}),$metadata:(0,i1.parseMetadata)(e)}]}})},new(n||(n=Promise))(function(e,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof n?r:new n(function(e){e(r)})).then(i,s)}l((o=o.apply(t,r||[])).next())})},iY.defaultConfig),sR={};i(sR,"getId",()=>sL);var sU=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sL=(0,sP.composeServiceApi)(iY.cognitoIdentityTransferHandler,function(e,t){var r=(0,iY.getSharedHeaders)("GetId"),n=JSON.stringify(e);return(0,iY.buildHttpRpcRequest)(t,r,n)},function(e){var t,r,n,o;return t=void 0,r=void 0,n=void 0,o=function(){return sU(this,function(t){switch(t.label){case 0:if(!(e.statusCode>=300))return[3/*break*/,2];return[4/*yield*/,(0,i0.parseJsonError)(e)];case 1:throw t.sent();case 2:return[4/*yield*/,(0,i0.parseJsonBody)(e)];case 3:return[2/*return*/,{IdentityId:t.sent().IdentityId,$metadata:(0,i1.parseMetadata)(e)}]}})},new(n||(n=Promise))(function(e,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof n?r:new n(function(e){e(r)})).then(i,s)}l((o=o.apply(t,r||[])).next())})},iY.defaultConfig),sD=function(){return(sD=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sV=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})},sH=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},sZ=new aF.ConsoleLogger("Credentials"),sB="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",sz=function(e,t,r){(0,a7.Hub).dispatch("core",{event:e,data:t,message:r},"Credentials",sB)},sW=new/** @class */(function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},// Allow `Auth` to be injected for SSR, but Auth isn't a required dependency for Credentials 1063this.Auth=void 0,this.configure(e),this._refreshHandlers.google=iW.refreshGoogleToken,this._refreshHandlers.facebook=iG.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var t=this._config.refreshHandlers;return t&&(this._refreshHandlers=sD(sD({},this._refreshHandlers),t)),this._storage=this._config.storage,this._storage||(this._storage=new iC().getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),sz("credentials_configured",null,"Credentials has been configured successfully"),this._config},e.prototype.get=function(){return sZ.debug("getting credentials"),this._pickupCredentials()},// currently we only store the guest identity in local storage 1064e.prototype._getCognitoIdentityIdStorageKey=function(e){return"".concat("CognitoIdentityId-").concat(e)},e.prototype._pickupCredentials=function(){return sZ.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?sZ.debug("getting old cred promise"):(sZ.debug("getting new cred promise"),this._gettingCredPromise=im(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return sV(this,void 0,void 0,function(){var e,t,r,n,o,a;return sH(this,function(i){switch(i.label){case 0:if(sZ.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return sZ.debug("credentials not changed and not expired, directly return"),[2/*return*/,Promise.resolve(e)];if(sZ.debug("need to get a new credential or refresh the existing one"),!(r=void 0===(t=this.Auth)?aj.Amplify.Auth:t)||"function"!=typeof r.currentUserCredentials)return[2/*return*/,this._setCredentialsForGuest()];
1064if(!(!this._isExpired(e)&&this._isPastTTL()))return[3/*break*/,6];sZ.debug("ttl has passed but token is not yet expired"),i.label=1;case 1:return i.trys.push([1,5,,6]),[4/*yield*/,r.currentUserPoolUser()];case 2:return n=i.sent(),[4/*yield*/,r.currentSession()];case 3:return o=i.sent().refreshToken,[4/*yield*/,new Promise(function(e,t){n.refreshSession(o,function(r,n){return r?t(r):e(n)})})];case 4:return i.sent(),[3/*break*/,6];case 5:return a=i.sent(),// should not throw because user might just be on guest access or is authenticated through federation 1065sZ.debug("Error attempting to refreshing the session",a),[3/*break*/,6];case 6:return[2/*return*/,r.currentUserCredentials()]}})})},e.prototype.refreshFederatedToken=function(e){sZ.debug("Getting federated credentials");var t=e.provider,r=e.user,n=e.token,o=e.identity_id,a=e.expires_at;return(// Make sure expires_at is in millis 1066a=1970===new Date(a).getFullYear()?1e3*a:a,sZ.debug("checking if federated jwt token expired"),a>new Date().getTime())?(// if not expired 1067sZ.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:n,user:r,identity_id:o,expires_at:a})):this._refreshHandlers[t]&&"function"==typeof this._refreshHandlers[t]?(sZ.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:this._refreshHandlers[t],provider:t,user:r})):(sZ.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t=this,r=e.refreshHandler,n=e.provider,o=e.user;// refreshHandler will retry network errors, otherwise it will 1068// return NonRetryableError to break out of jitteredExponentialRetry 1069return(0,ik.jitteredExponentialRetry)(r,[],1e4).then(function(e){return sZ.debug("refresh federated token sucessfully",e),t._setCredentialsFromFederation({provider:n,token:e.token,user:o,identity_id:e.identity_id,expires_at:e.expires_at})}).catch(function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||t.clear(),sZ.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)})},e.prototype._isExpired=function(e){if(!e)return sZ.debug("no credentials for expiration check"),!0;sZ.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var e;return sV(this,void 0,void 0,function(){var t,r,n,o,a,i,s,l,u,c=this;return sH(this,function(d){switch(d.label){case 0:if(sZ.debug("setting credentials for guest"),(null===(e=this._config)||void 0===e?void 0:e.identityPoolId)||// doing best effort to check if the library was configured 1070(this._config=Object.assign({},this._config,(0,iv.parseAWSExports)(this._config||{}
1070).Auth)),r=(t=this._config).identityPoolId,n=t.region,o=t.mandatorySignIn,a=t.identityPoolRegion,o)return[2/*return*/,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!r)return sZ.debug("No Cognito Identity pool provided for unauthenticated access"),[2/*return*/,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!a&&!n)return sZ.debug("region is not configured for getting the credentials"),[2/*return*/,Promise.reject("region is not configured for getting the credentials")];return s=this,[4/*yield*/,this._getGuestIdentityId()];case 1:return i=s._identityId=d.sent(),l={region:null!=a?a:n},u=sV(c,void 0,void 0,function(){var e,t;return sH(this,function(n){switch(n.label){case 0:if(i)return[3/*break*/,2];return[4/*yield*/,(0,sR.getId)(l,{IdentityPoolId:r})];case 1:e=n.sent().IdentityId,this._identityId=e,n.label=2;case 2:return[4/*yield*/,(0,iq.getCredentialsForIdentity)(l,{IdentityId:this._identityId})];case 3:return t=n.sent().Credentials,[2/*return*/,{identityId:this._identityId,accessKeyId:t.AccessKeyId,secretAccessKey:t.SecretKey,sessionToken:t.SessionToken,expiration:t.Expiration}]}})}).catch(function(e){return sV(c,void 0,void 0,function(){return sH(this,function(t){throw e})})}),[2/*return*/,this._loadCredentials(u,"guest",!1,null).then(function(e){return e}).catch(function(e){return sV(c,void 0,void 0,function(){var t=this;return sH(this,function(n){switch(n.label){case 0:if(!("ResourceNotFoundException"===e.name&&e.message==="Identity '".concat(i,"' not found.")))return[3/*break*/,2];return sZ.debug("Failed to load guest credentials"),[4/*yield*/,this._removeGuestIdentityId()];case 1:return n.sent(),u=sV(t,void 0,void 0,function(){var e,t;return sH(this,function(n){switch(n.label){case 0:return[4/*yield*/,(0,sR.getId)(l,{IdentityPoolId:r})];case 1:return e=n.sent().IdentityId,this._identityId=e,[4/*yield*/,(0,iq.getCredentialsForIdentity)(l,{IdentityId:e})];case 2:return t=n.sent().Credentials,[2/*return*/,{identityId:e,accessKeyId:t.AccessKeyId,secretAccessKey:t.SecretKey,sessionToken:t.SessionToken,expiration:t.Expiration}]}})}).catch(function(e){return sV(t,void 0,void 0,function(){return sH(this,function(t){throw e})})}),[2/*return*/,this._loadCredentials(u,"guest",!1,null)];case 2:return[2/*return*/,e]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(e){var t=this,r=e.provider,n=e.token,o=e.identity_id,a={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[r]||r;if(!a)return Promise.reject("You must specify a federated provider");var i={};i[a]=n;var s=this._config,l=s.identityPoolId,u=s.region,c=s.identityPoolRegion;if(!l)return sZ.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!c&&!u)return sZ.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var d={region:null!=c?c:u},f=sV(t,void 0,void 0,function(){var e;return sH(this,function(t){switch(t.label){case 0:if(o)return[3/*break*/,2];return[4/*yield*/,(0,sR.getId)(d,{IdentityPoolId:l,Logins:i})];case 1:o=t.sent().IdentityId,t.label=2;case 2:return[4/*yield*/,(0,iq.getCredentialsForIdentity)(d,{IdentityId:o,Logins:i})];case 3:return e=t.sent().Credentials,[2/*return*/,{identityId:o,accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretKey,sessionToken:e.SessionToken,expiration:e.Expiration}]}})}).catch(function(e){return sV(t,void 0,void 0,function(){return sH(this,function(t){throw e})})});return this._loadCredentials(f,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;sZ.debug("set credentials from session");var r=e.getIdToken().getJwtToken(),n=this._config,o=n.region,a=n.userPoolId,i=n.identityPoolId,s=n.identityPoolRegion;if(!i)return sZ.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!s&&!o)return sZ.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var l={};l["cognito-idp."+o+".amazonaws.com/"+a]=r;
1070var u={region:null!=s?s:o},c=sV(t,void 0,void 0,function(){var e,t,r,n,o,a,s,c,d;return sH(this,function(f){switch(f.label){case 0:return[4/*yield*/,this._getGuestIdentityId()];case 1:if(e=f.sent())return[3/*break*/,3];return[4/*yield*/,(0,sR.getId)(u,{IdentityPoolId:i,Logins:l})];case 2:t=f.sent().IdentityId,f.label=3;case 3:return[4/*yield*/,(0,iq.getCredentialsForIdentity)(u,{IdentityId:e||t,Logins:l})];case 4:if(o=(n=(r=f.sent()).Credentials).AccessKeyId,a=n.Expiration,s=n.SecretKey,c=n.SessionToken,d=r.IdentityId,this._identityId=d,!e)return[3/*break*/,6];// remove it from local storage to avoid being used as a guest Identity by _setCredentialsForGuest 1071return(// if guestIdentity is found and used by GetCredentialsForIdentity 1072// it will be linked to the logins provided, and disqualified as an unauth identity 1073sZ.debug("The guest identity ".concat(e," has been successfully linked to the logins")),e===d&&sZ.debug("The guest identity ".concat(e," has become the primary identity")),[4/*yield*/,this._removeGuestIdentityId()]);case 5:// remove it from local storage to avoid being used as a guest Identity by _setCredentialsForGuest 1074f.sent(),f.label=6;case 6:// https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-provider-cognito-identity/src/fromCognitoIdentity.ts#L40 1075return[2/*return*/,{accessKeyId:o,secretAccessKey:s,sessionToken:c,expiration:a,identityId:d}]}})}).catch(function(e){return sV(t,void 0,void 0,function(){return sH(this,function(t){throw e})})});return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,r,n){var o=this,a=this;return new Promise(function(i,s){e.then(function(e){return sV(o,void 0,void 0,function(){var o,s,l,u,c;return sH(this,function(d){switch(d.label){case 0:if(sZ.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),a._credentials=e,a._credentials.authenticated=r,a._credentials_source=t,a._nextCredentialsRefresh=new Date().getTime()+3e6,"federated"===t){o=Object.assign({id:this._credentials.identityId},n.user),s=n.provider,l=n.token,u=n.expires_at,c=n.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:s,token:l,user:o,expires_at:u,identity_id:c}))}catch(e){sZ.debug("Failed to put federated info into auth storage",e)}}if("guest"!==t)return[3/*break*/,2];return[4/*yield*/,this._setGuestIdentityId(e.identityId)];case 1:d.sent(),d.label=2;case 2:return i(a._credentials),[2/*return*/]}})})}).catch(function(t){if(t){sZ.debug("Failed to load credentials",e),sZ.debug("Error loading credentials",t),s(t);return}})})},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(sZ.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return sV(this,void 0,void 0,function(){return sH(this,function(e){return this._credentials=null,this._credentials_source=null,sZ.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2/*return*/]})})},/* operations on local stored guest identity */e.prototype._getGuestIdentityId=function(){return sV(this,void 0,void 0,function(){var e,t;return sH(this,function(r){switch(r.label){case 0:e=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4/*yield*/,this._storageSync];case 2:return r.sent(),[2/*return*/,this._storage.getItem(this._getCognitoIdentityIdStorageKey(e))];case 3:return t=r.sent(),sZ.debug("Failed to get the cached guest identityId",t),[3/*break*/,4];case 4:return[2/*return*/]}})})},e.prototype._setGuestIdentityId=function(e){return sV(this,void 0,void 0,function(){var t,r;return sH(this,function(n){switch(n.label){case 0:t=this._config.identityPoolId,n.label=1;case 1:return n.trys.push([1,3,,4]),[4/*yield*/,this._storageSync];case 2:return n.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(t),e),[3/*break*/,4];case 3:return r=n.sent(),sZ.debug("Failed to cache guest identityId",r),[3/*break*/,4];case 4:return[2/*return*/]}})})},e.prototype._removeGuestIdentityId=function(){return sV(this,void 0,void 0,function(){var e;return sH(this,function(t){return e=this._config.identityPoolId,sZ.debug("removing ".concat(this._getCognitoIdentityIdStorageKey(e)," from storage")),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)),[2/*return*/]})})},/** 1076 * Compact version of credentials 1077 * @param {Object} credentials 1078 * @return {Object} - Credentials 1079 */e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);(0,aj.Amplify).register(sW);var sG={};i(sG,"UniversalStorage",()=>s8);var sq={};i(sq,"default",()=>sX),ek=/** 1080 * Parse a cookie header. 1081 * 1082 * Parse the given cookie header string into an object
1083 * The object has the various cookies as keys(names) => values 1084 * 1085 * @param {string} str 1086 * @param {object} [options] 1087 * @return {object} 1088 * @public 1089 */function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},n=e.split(";"),o=(t||{}).decode||sY,a=0;a<n.length;a++){var i=n[a],s=i.indexOf("=");// skip things that don't look like key=value 1090if(!(s<0)){var l=i.substring(0,s).trim();// only assign once 1091if(void 0==r[l]){var u=i.substring(s+1,i.length).trim();'"'===u[0]&&(u=u.slice(1,-1)),r[l]=/** 1092 * Try decoding a string using a decoding function. 1093 * 1094 * @param {string} str 1095 * @param {function} decode 1096 * @private 1097 */function(e,t){try{return t(e)}catch(t){return e}}(u,o)}}}return r},e_=/** 1098 * Serialize data into a cookie header. 1099 * 1100 * Serialize the a name value pair into a cookie string suitable for 1101 * http headers. An optional options object specified cookie parameters. 1102 * 1103 * serialize('foo', 'bar', { httpOnly: true }) 1104 * => "foo=bar; httpOnly" 1105 * 1106 * @param {string} name 1107 * @param {string} val 1108 * @param {object} [options] 1109 * @return {string} 1110 * @public 1111 */function(e,t,r){var n=r||{},o=n.encode||s$;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!sK.test(e))throw TypeError("argument name is invalid");var a=o(t);if(a&&!sK.test(a))throw TypeError("argument val is invalid");var i=e+"="+a;if(null!=n.maxAge){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(s)}if(n.domain){if(!sK.test(n.domain))throw TypeError("option domain is invalid");i+="; Domain="+n.domain}if(n.path){if(!sK.test(n.path))throw TypeError("option path is invalid");i+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw TypeError("option expires is invali
1111d");i+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(i+="; HttpOnly"),n.secure&&(i+="; Secure"),n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i};/** 1112 * Module variables. 1113 * @private 1114 */var sY=decodeURIComponent,s$=encodeURIComponent,sK=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function sJ(e,t){void 0===t&&(t={});var r,n=// express prepend j: before serializing a cookie 1115e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(void 0===(r=t.doNotParse)&&(r=!n||"{"!==n[0]&&"["!==n[0]&&'"'!==n[0]),!r)try{return JSON.parse(n)}catch(e){// At least we tried 1116}// Ignore clean value if we failed the deserialization 1117// It is not relevant anymore to trim those values 1118return e}var sQ=function(){return(sQ=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},sX=/** @class */function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?ek(e,t):"object"==typeof e&&null!==e?e:{},new Promise(function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=ek(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),this._updateBrowserValues(r),sJ(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var r={};for(var n in this.cookies)r[n]=sJ(this.cookies[n],e);return r},e.prototype.set=function(e,t,r){var n;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=sQ(sQ({},this.cookies),((n={})[e]=t,n)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=e_(e,t,r)),this._emitChange({name:e,value:t,options:r})},e.prototype.remove=function(e,t){var r=t=sQ(sQ({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=sQ({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=e_(e,"",r)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),s0=sq.default,s1=function(){return(s1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},s2=ig().isBrowser,s8=/** @class */function(){function e(e){void 0===e&&(e={}),this.cookies=new s0,this.store=s2?window.localStorage:Object.create(null),this.cookies=e.req?new s0(e.req.headers.cookie):new s0,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!1,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(Array(this.length)).map(function(t,r){return e.key(r)}).forEach(function(t){return e.removeItem(t)})},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){this.setLocalItem(e,t);// keys take the shape: 1119// 1. `${ProviderPrefix}.${userPoolClientId}.${username}.${tokenType} 1120// 2. `${ProviderPrefix}.${userPoolClientId}.LastAuthUser
1121var r=e.split(".").pop();["LastAuthUser","accessToken",// refreshToken originates on the client, but SSR pages won't fail when this expires 1122// Note: the new `accessToken` will also be refreshed on the client (since Amplify doesn't set server-side cookies) 1123"refreshToken",// Required for CognitoUserSession 1124"idToken"].includes(null!=r?r:"")&&this.setUniversalItem(e,t,{expires:new Date(Date.now()+31536e6)})},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t,r){void 0===r&&(r={}),this.cookies.set(e,t,s1(s1({},r),{path:"/",// `httpOnly` cannot be set via JavaScript: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#JavaScript_access_using_Document.cookie 1125sameSite:!0,// Allow unsecure requests to http://localhost:3000/ when in development. 1126secure:!s2||"localhost"!==window.location.hostname}))},e}();function s6(e){return e&&!!["provider"].find(function(t){return e.hasOwnProperty(t)})}function s4(e){return void 0!==e.redirectSignIn}"undefined"!=typeof Symbol&&"function"==typeof Symbol.for&&Symbol.for("INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER"),az.Platform.userAgent,aj.Amplify,(F=eI||(eI={})).Cognito="COGNITO",F.Google="Google",F.Facebook="Facebook",F.Amazon="LoginWithAmazon",F.Apple="SignInWithApple",(R=eT||(eT={})).NoConfig="noConfig",R.MissingAuthConfig="missingAuthConfig",R.EmptyUsername="emptyUsername",R.InvalidUsername="invalidUsername",R.EmptyPassword="emptyPassword",R.EmptyCode="emptyCode",R.SignUpError="signUpError",R.NoMFA="noMFA",R.InvalidMFA="invalidMFA",R.EmptyChallengeResponse="emptyChallengeResponse",R.NoUserSession="noUserSession",R.Default="default",R.DeviceConfig="deviceConfig",R.NetworkError="networkError",R.AutoSignInError="autoSignInError",(U=eP||(eP={})).API_KEY="API_KEY",U.AWS_IAM="AWS_IAM",U.OPENID_CONNECT="OPENID_CONNECT",U.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",U.AWS_LAMBDA="AWS_LAMBDA";/*! 1127 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1128 * SPDX-License-Identifier: Apache-2.0 1129 *//*! 1130 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 1131 * SPDX-License-Identifier: Apache-2.0 1132 *//** @class */var s3=/*#__PURE__*/function(){/** 1133 * Constructs a new AuthenticationDetails object 1134 * @param {object=} data Creation options. 1135 * @param {string} data.Username User being authenticated. 1136 * @param {string} data.Password Plain-text password to authenticate with. 1137 * @param {(AttributeArg[])?} data.ValidationData Application extra metadata. 1138 * @param {(AttributeArg[])?} data.AuthParamaters Authentication paramaters for custom auth. 1139 */function e(e){var t=e||{},r=t.ValidationData,n=t.Username,o=t.Password,a=t.AuthParameters,i=t.ClientMetadata;this.validationData=r||{},this.authParameters=a||{},this.clientMetadata=i||{},this.username=n,this.password=o}/** 1140 * @returns {string} the record's username 1141 */var t=e.prototype;return t.getUsername=function(){return this.username}/** 1142 * @returns {string} the record's password 1143 */,t.getPassword=function(){return this.password}/** 1144 * @returns {Array} the record's validationData 1145 */,t.getValidationData=function(){return this.validationData}/** 1146 * @returns {Array} the record's authParameters 1147 */,t.getAuthParameters=function(){return this.authParameters}/** 1148 * @returns {ClientMetadata} the clientMetadata for a Lambda trigger 1149 */,t.getClientMetadata=function(){return this.clientMetadata},e}(),s5=tB("kuxul"),s7=tB("9NvM5"),s9={},le={}.toString;function lt(){return ln.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function lr(e,t){if(lt()<t)throw RangeError("Invalid typed array length");return ln.TYPED_ARRAY_SUPPORT?// Return an augmented `Uint8Array` instance, for best performance 1150(e=new Uint8Array(t)).__proto__=ln.prototype:(null===e&&(e=new ln(t)),e.length=t),e}/** 1151 * The Buffer constructor returns instances of `Uint8Array` that have their 1152 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of 1153 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods 1154 * and the `Uint8Array` methods. Square bracket notation works as expected -- it 1155 * returns a single octet. 1156 * 1157 * The `Uint8Array` prototype remains unmodified. 1158 */function ln(e,t,r){if(!ln.TYPED_ARRAY_SUPPORT&&!(this instanceof ln))return new ln(e,t,r);// Common case. 1159if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return li(this,e)}return lo(this,e,t,r)}function lo(e,t,r,n){if("number"==typeof t)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength// this throws if `array` is not a valid ArrayBuffer 1160,r<0||t.byteLength<r)throw RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),ln.TYPED_ARRAY_SUPPORT?// Return an augmented `Uint8Array` instance, for best performance 1161(e=t).__proto__=ln.prototype:e=ls(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!ln.isEncoding(r))throw TypeError('"encoding" must be a valid string encoding');var n=0|lu(t,r),o=(e=lr(e,n)).write(t,r);return o!==n&&// cause everything after the first invalid character to be ignored. (e.g. 1162// 'abxxcd' will be treated as 'ab') 1163(e=e.slice(0,o)),e}(e,t,r):function(e,t){if(ln.isBuffer(t)){var r,n=0|ll(t.length);return 0===(e=lr(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r// eslint-disable-line no-self-compare 1164?lr(e,0):ls(e,t);if("Buffer"===t.type&&s9(t.data))return ls(e,t.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function la(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function li(e,t){if(la(t),e=lr(e,t<0?0:0|ll(t)),!ln.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function ls(e,t){var r=t.length<0?0:0|ll(t.length);e=lr(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function ll(e){// Note: cannot use `length < kMaxLength()` here because that fails when 1165// length is NaN (which is otherwise coerced to zero.) 1166if(e>=lt())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+lt().toString(16)+" bytes");return 0|e}function lu(e,t){if(ln.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
1166(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(// Use a for loop to avoid recursion 1167var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return lE(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return lA(e).length;default:if(n)return lE(e).length// assume utf8 1168;t=(""+t).toLowerCase(),n=!0}}function lc(e,t,r){var n,o,a=!1;// Return early if start > this.length. Done here to prevent potential uint32 1169// coercion fail below. 1170if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||// Force coersion to uint32. This will also coerce falsey/NaN values to 0. 1171(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n,o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var a="",i=t;i<r;++i)a+=(n=e[i])<16?"0"+n.toString(16):n.toString(16);return a}(this,t,r);case"utf8":case"utf-8":return lh(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return n=t,o=r,0===n&&o===this.length?s5.fromByteArray(this):s5.fromByteArray(this.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function ld(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, 1172// OR the last index of `val` in `buffer` at offset <= `byteOffset`. 1173// 1174// Arguments: 1175// - buffer - a Buffer to search 1176// - val - a string, Buffer, or number 1177// - byteOffset - an index into `buffer`; will be clamped to an int32 1178// - encoding - an optional encoding, relevant is val is a string 1179// - dir - true for indexOf, false for lastIndexOf 1180function lf(e,t,r,n,o){// Empty buffer means no match 1181if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),isNaN(r=+r// Coerce to Number. 1182)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}// Finally, search either indexOf (if dir is true) or lastIndexOf 1183if("string"==typeof t&&(t=ln.from(t,n)),ln.isBuffer(t))return(// Special case: looking for empty string/buffer always fail
1183s 11840===t.length?-1:lp(e,t,r,n,o));if("number"==typeof t)return(t&=255// Search for a byte value [0-255] 1185,ln.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):lp(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function lp(e,t,r,n,o){var a,i=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;i=2,s/=2,l/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*i}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(u(e,a+f)!==u(t,f)){d=!1;break}if(d)return a}return -1}function lh(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var a,i,s,l,u=e[o],c=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[o+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[o+1],i=e[o+2],(192&a)==128&&(192&i)==128&&(l=(15&u)<<12|(63&a)<<6|63&i)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[o+1],i=e[o+2],s=e[o+3],(192&a)==128&&(192&i)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(// we did not generate a valid codePoint so insert a 1186// replacement char (U+FFFD) and advance only 1 byte 1187c=65533,d=1):c>65535&&(// encode to utf16 (surrogate pair dance) 1188c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e)// avoid extra slice() 1189;for(// Decode in chunks to avoid "call stack size exceeded". 1190var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}/* 1191 * Need to make sure that buffer isn't trying to write out of bounds. 1192 */function lm(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function lg(e,t,r,n,o,a){if(!ln.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function lv(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-r,2);o<a;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>(n?o:1-o)*8}function ly(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-r,4);o<a;++o)e[r+o]=t>>>(n?o:3-o)*8&255}function lb(e,t,r,n,o,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function lw(e,t,r,n,o){return o||lb(e,t,r,4,34028234663852886e22,-34028234663852886e22),s7.write(e,t,r,n,23,4),r+4}function lS(e,t,r,n,o){return o||lb(e,t,r,8,17976931348623157e292,-17976931348623157e292),s7.write(e,t,r,n,52,8),r+8}s9=Array.isArray||function(e){return"[object Array]"==le.call(e)},/** 1193 * If `Buffer.TYPED_ARRAY_SUPPORT`: 1194 * === true Use Uint8Array implementation (fastest) 1195 * === false Use Object implementation (most compatible, even IE6) 1196 * 1197 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, 1198 * Opera 11.6+, iOS 4.2+. 1199 * 1200 * Due to various browser bugs, sometimes the Object implementation will be used even 1201 * when the browser supports typed arrays. 1202 *
1203 * Note: 1204 * 1205 * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, 1206 * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. 1207 * 1208 * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. 1209 * 1210 * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of 1211 * incorrect length in some situations. 1212 1213 * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they 1214 * get the Object implementation, which is slower but behaves correctly. 1215 */ln.TYPED_ARRAY_SUPPORT=void 0!==tD.TYPED_ARRAY_SUPPORT?tD.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&// typed array instances can be augmented 1216"function"==typeof e.subarray&&// chrome 9-10 lack `subarray` 12170// ie10 has broken `subarray` 1218===e.subarray(1,1).byteLength}catch(e){return!1}}(),lt(),ln.poolSize=8192// not used by this implementation 1219,// TODO: Legacy, not needed anymore. Remove in next major version. 1220ln._augment=function(e){return e.__proto__=ln.prototype,e},/** 1221 * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError 1222 * if value is a number. 1223 * Buffer.from(str[, encoding]) 1224 * Buffer.from(array) 1225 * Buffer.from(buffer) 1226 * Buffer.from(arrayBuffer[, byteOffset[, length]]) 1227 **/ln.from=function(e,t,r){return lo(null,e,t,r)},ln.TYPED_ARRAY_SUPPORT&&(ln.prototype.__proto__=Uint8Array.prototype,ln.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&ln[Symbol.species]===ln&&Object.defineProperty(ln,Symbol.species,{value:null,configurable:!0})),/** 1228 * Creates a new filled Buffer instance. 1229 * alloc(size[, fill[, encoding]]) 1230 **/ln.alloc=function(e,t,r){return(la(e),e<=0)?lr(null,e):void 0!==t?"string"==typeof r?lr(null,e).fill(t,r):lr(null,e).fill(t):lr(null,e)},/** 1231 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. 1232 * */ln.allocUnsafe=function(e){return li(null,e)},/** 1233 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. 1234 */ln.allocUnsafeSlow=function(e){return li(null,e)},ln.isBuffer=function(e){return!!(null!=e&&e._isBuffer)},ln.compare=function(e,t){if(!ln.isBuffer(e)||!ln.isBuffer(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},ln.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ln.concat=function(e,t){if(!s9(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return ln.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=ln.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!ln.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},ln.byteLength=lu,// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect 1235// Buffer instances. 1236ln.prototype._isBuffer=!0,ln.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ld(this,t,t+1);return this},ln.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ld(this,t,t+3),ld(this,t+1,t+2);return this},ln.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ld(this,t,t+7),ld(this,t+1,t+6),ld(this,t+2,t+5),ld(this,t+3,t+4);return this},ln.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?lh(this,0,e):lc.apply(this,arguments)},ln.prototype.equals=function(e){if(!ln.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===ln.compare(this,e)},ln.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},ln.prototype.compare=function(e,t,r,n,o){if(!ln.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,i=r-t,s=Math.min(a,i),l=this.slice(n,o),u=e.slice(t,r),c=0;c<s;++c)if(l[c]!==u[c]){a=l[c],i=u[c];break}return a<i?-1:i<a?1:0},ln.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},ln.prototype.indexOf=function(e,t,r){return lf(this,e,t,r,!0)},ln.prototype.lastIndexOf=function(e,t,r){return lf(this,e,t,r,!1)},ln.prototype.write=function(e,t,r,n){// Buffer#write(string) 1237if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,a,i,s,l,u,c,d,f,p,h,m,g=this.length-t;if((void 0===r||r>g)&&(r=g),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;// must be an even number of digits 1238var a=t.length;if(a%2!=0)throw TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))break;e[r+i]=s}return i}(this,e,t,r);case"utf8":case"utf-8":return l=t,u=r,lk(lE(e,this.length-l),this,l,u);case"ascii":return c=t,d=r,lk(lC(e),this,c,d);case"latin1":case"binary":return o=this,a=e,i=t,s=r,lk(lC(a),o,i,s);case"base64":// Warning: maxLength not taken into account in base64Write 1239return f=t,p=r,lk(lA(e),this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,m=r,lk(function(e,t){for(var r,n,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o.push(r%256),o.push(n);return o}(e,this.length-h),this,h,m);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},ln.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},ln.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),ln.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=ln.prototype;else{var o=t-e;r=new ln(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},ln.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||lm(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n},ln.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||lm(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},ln.prototype.readUInt8=function(e,t){return t||lm(e,1,this.length),this[e]},ln.prototype.readUInt16LE=function(e,t){return t||lm(e,2,this.length),this[e]|this[e+1]<<8},ln.prototype.readUInt16BE=function(e,t){return t||lm(e,2,this.length),this[e]<<8|this[e+1]},ln.prototype.readUInt32LE=function(e,t){return t||lm(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ln.prototype.readUInt32BE=function(e,t){return t||lm(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ln.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||lm(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},ln.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||lm(e,t,this.length);for(var n=t,o=1,a=this[e+--n];n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},ln.prototype.readInt8=function(e,t){return(t||lm(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},ln.prototype.readInt16LE=function(e,t){t||lm(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},ln.prototype.readInt16BE=function(e,t){t||lm(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},ln.prototype.readInt32LE=function(e,t){return t||lm(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ln.prototype.readInt32BE=function(e,t){return t||lm(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ln.prototype.readFloatLE=function(e,t){return t||lm(e,4,this.length),s7.read(this,e,!0,23,4)},ln.prototype.readFloatBE=function(e,t){return t||lm(e,4,this.length),s7.read(this,e,!1,23,4)},ln.prototype.readDoubleLE=function(e,t){return t||lm(e,8,this.length),s7.read(this,e,!0,52,8)},ln.prototype.readDoubleBE=function(e,t){return t||lm(e,8,this.length),s7.read(this,e,!1,52,8)},ln.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;lg(this,e,t,r,o,0)}var a=1,i=0;for(this[t]=255&e;++i<r&&(a*=256);)this[t+i]=e/a&255;return t+r},ln.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;lg(this,e,t,r,o,0)}var a=r-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+r},ln.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,1,255,0),ln.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ln.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,2,65535,0),ln.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lv(this,e,t,!0),t+2},ln.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,2,65535,0),ln.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lv(this,e,t,!1),t+2},ln.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,4,4294967295,0),ln.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):ly(this,e,t,!0),t+4},ln.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,4,4294967295,0),ln.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ly(this,e,t,!1),t+4},ln.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);lg(this,e,t,r,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},ln.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);lg(this,e,t,r,o-1,-o)}var a=r-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},ln.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,1,127,-128),ln.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ln.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,2,32767,-32768),ln.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):lv(this,e,t,!0),t+2},ln.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,2,32767,-32768),ln.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):lv(this,e,t,!1),t+2},ln.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,4,2147483647,-2147483648),ln.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ly(this,e,t,!0),t+4},ln.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||lg(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ln.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):ly(this,e,t,!1),t+4},ln.prototype.writeFloatLE=function(e,t,r){return lw(this,e,t,!0,r)},ln.prototype.writeFloatBE=function(e,t,r){return lw(this,e,t,!1,r)},ln.prototype.writeDoubleLE=function(e,t,r){return lS(this,e,t,!0,r)},ln.prototype.writeDoubleBE=function(e,t,r){return lS(this,e,t,!1,r)},// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) 1240ln.prototype.copy=function(e,t,r,n){// Copy 0 bytes; we're done 1241if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;// Fatal error conditions 1242if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("sourceStart out of bounds");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,a=n-r;if(this===e&&r<t&&t<n)for(o=a-1;o>=0;--o)e[o+t]=this[o+r];else if(a<1e3||!ln.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},// Usage: 1243// buffer.fill(number[, offset[, end]]) 1244// buffer.fill(buffer[, offset[, end]]) 1245// buffer.fill(string[, offset[, end]][, encoding]) 1246ln.prototype.fill=function(e,t,r,n){// Handle string cases: 1247if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o,a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!ln.isEncoding(n))throw TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);// Invalid ranges are not set to a default, so can range check early. 1248if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var i=ln.isBuffer(e)?e:lE(new ln(e,n).toString()),s=i.length;for(o=0;o<r-t;++o)this[o+t]=i[o%s]}return this};// HELPER FUNCTIONS 1249// ================ 1250var lx=/[^+\/0-9A-Za-z-_]/g;
1250function lE(e,t){t=t||1/0;for(var r,n=e.length,o=null,a=[],i=0;i<n;++i){// is surrogate component 1251if((r=e.charCodeAt(i))>55295&&r<57344){// last char was a lead 1252if(!o){// no lead yet 1253if(r>56319||i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}// valid lead 1254o=r;continue}// 2 leads in a row 1255if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}// valid surrogate pair 1256r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);// encode utf8 1257if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function lC(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function lA(e){return s5.toByteArray(function(e){var t;// Node converts strings with length < 2 to '' 1258if(// Node strips out invalid characters like \n and \t from the string, base64-js does not 1259(e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(lx,"")).length<2)return"";// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not 1260for(;e.length%4!=0;)e+="=";return e}(e))}function lk(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}// Native crypto import via require (NodeJS) 1261if("undefined"!=typeof window&&window.crypto&&(eN=window.crypto),!eN&&"undefined"!=typeof window&&window.msCrypto&&(eN=window.msCrypto),!eN&&void 0!==tD&&tD.crypto&&(eN=tD.crypto),!eN)try{eN=tB("kjyEk")}catch(e){}var l_=/*#__PURE__*/function(){function e(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length}var t=e.prototype;return t.random=function(t){for(var r=[],n=0;n<t;n+=4)r.push(function(){if(eN){// Use getRandomValues method (Browser) 1262if("function"==typeof eN.getRandomValues)try{return eN.getRandomValues(new Uint32Array(1))[0]}catch(e){}// Use randomBytes method (NodeJS) 1263if("function"==typeof eN.randomBytes)try{return eN.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")}());return new e(r,t)},t.toString=function(){return(/** 1264 * Hex encoding strategy. 1265 * Converts a word array to a hex string. 1266 * @param {WordArray} wordArray The word array. 1267 * @return {string} The hex string. 1268 * @static 1269 */function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var a=t[o>>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")}(this))},e}(),lI={};/* 1270 * Copyright (c) 2003-2005 Tom Wu 1271 * All Rights Reserved. 1272 * 1273 * Permission is hereby granted, free of charge, to any person obtaining 1274 * a copy of this software and associated documentation files (the 1275 * "Software"), to deal in the Software without restriction, including 1276 * without limitation the rights to use, copy, modify, merge, publish, 1277 * distribute, sublicense, and/or sell copies of the Software, and to 1278 * permit persons to whom the Software is furnished to do so, subject to 1279 * the following conditions: 1280 * 1281 * The above copyright notice and this permission notice shall be 1282 * included in all copies or substantial portions of the Software. 1283 * 1284 * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 1285 * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 1286 * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. 1287 * 1288 * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, 1289 * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER 1290 * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF 1291 * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT 1292 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1293 * 1294 * In addition, the following condition applies: 1295 * 1296 * All redistributions must retain an intact copy of this copyright notice 1297 * and disclaimer. 1298 */// (public) Constructor 1299function lT(e,t){null!=e&&this.fromString(e,t)}// return new, unset BigInteger 1300function lP(){return new lT(null)}Object.defineProperty(lI,"__esModule",{value:!0}),(0,tB("hOJwo").__exportStar)(tB("5PPry"),lI);var lN="undefined"!=typeof navigator;lN&&"Microsoft Internet Explorer"==navigator.appName?(lT.prototype.am=// am2 avoids a big mult-and-extract completely. 1301// Max digit bits should be <= 30 because we do bitwise ops
vendor: 10,179 bytes, lines 1302-1378
1302// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31) 1303function(e,t,r,n,o,a){for(var i=32767&t,s=t>>15;--a>=0;){var l=32767&this[e],u=this[e++]>>15,c=s*l+u*i;o=((l=i*l+((32767&c)<<15)+r[n]+(1073741823&o))>>>30)+(c>>>15)+s*u+(o>>>30),r[n++]=1073741823&l}return o},eO=30):lN&&"Netscape"!=navigator.appName?(lT.prototype.am=// am: Compute w_j += (x*this_i), propagate carries, 1304// c is initial carry, returns final carry. 1305// c < 3*dvalue, x < 2*dvalue, this_i < dvalue 1306// We need to select the fastest one that works in this environment. 1307// am1: use a single mult and divide to get the high bits, 1308// max digit bits should be 26 because 1309// max internal value = 2*dvalue^2-2*dvalue (< 2^53) 1310function(e,t,r,n,o,a){for(;--a>=0;){var i=t*this[e++]+r[n]+o;o=Math.floor(i/67108864),r[n++]=67108863&i}return o},eO=26):(// Mozilla/Netscape seems to prefer am3 1311lT.prototype.am=// Alternately, set max digit bits to 28 since some 1312// browsers slow down when dealing with 32-bit numbers. 1313function(e,t,r,n,o,a){for(var i=16383&t,s=t>>14;--a>=0;){var l=16383&this[e],u=this[e++]>>14,c=s*l+u*i;o=((l=i*l+((16383&c)<<14)+r[n]+o)>>28)+(c>>14)+s*u,r[n++]=268435455&l}return o},eO=28),lT.prototype.DB=eO,lT.prototype.DM=(1<<eO)-1,lT.prototype.DV=1<<eO,lT.prototype.FV=4503599627370496,lT.prototype.F1=52-eO,lT.prototype.F2=2*eO-52;var lO=[];for(ej=0,eM=48;ej<=9;++ej)lO[eM++]=ej;for(ej=10,eM=97;ej<36;++ej)lO[eM++]=ej;for(ej=10,eM=65;ej<36;++ej)lO[eM++]=ej;function lM(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}// return bigint initialized to value 1314function lj(e){var t=lP();return t.fromInt(e),t}// returns bit length of the integer x 1315function lF(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}// Montgomery reduction 1316function lR(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}/** 1317 * Returns a Buffer with a sequence of random nBytes 1318 * 1319 * @param {number} nBytes 1320 * @returns {Buffer} fixed-length sequence of random bytes 1321 */function lU(e){return ln.from(new l_().random(e).toString(),"hex")}lR.prototype.convert=// xR mod m 1322function(e){var t=lP();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(lT.ZERO)>0&&this.m.subTo(t,t),t},lR.prototype.revert=// x/R mod m 1323function(e){var t=lP();return e.copyTo(t),this.reduce(t),t},lR.prototype.reduce=// x = x/R mod m (HAC 14.32) 1324function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){// faster way of calculating u0 = x[i]*mp mod DV 1325var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;// propagate carry 1326for(// use am to combine the multiply-shift-add into one call 1327r=t+this.m.t,e[r]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},lR.prototype.mulTo=// r = "xy/R mod m"; x,y != r 1328function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},lR.prototype.sqrTo=// r = "x^2/R mod m"; x != r 1329function(e,t){e.squareTo(t),this.reduce(t)},// protected 1330lT.prototype.copyTo=// (protected) copy this to r 1331function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},lT.prototype.fromInt=// (protected) set from integer value x, -DV <= x < DV 1332function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},lT.prototype.fromString=// (protected) set from string and radix 1333function(e,t){if(16==t)r=4;else if(8==t)r=3;else if(2==t)r=1;else if(32==t)r=5;else if(4==t)r=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;for(var r,n=e.length,o=!1,a=0;--n>=0;){var i=function(e,t){var r=lO[e.charCodeAt(t)];return null==r?-1:r}(e,n);if(i<0){"-"==e.charAt(n)&&(o=!0);continue}o=!1,0==a?this[this.t++]=i:a+r>this.DB?(this[this.t-1]|=(i&(1<<this.DB-a)-1)<<a,this[this.t++]=i>>this.DB-a):this[this.t-1]|=i<<a,(a+=r)>=this.DB&&(a-=this.DB)}this.clamp(),o&&lT.ZERO.subTo(this,this)},lT.prototype.clamp=// (protected) clamp off excess high words 1334function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},lT.prototype.dlShiftTo=// (protected) r = this << n*DB 1335function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},lT.prototype.drShiftTo=// (protected) r = this >> n*DB 1336function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},lT.prototype.lShiftTo=// (protected) r = this << n 1337function(e,t){var r,n=e%this.DB,o=this.DB-n,a=(1<<o)-1,i=Math.floor(e/this.DB),s=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+i+1]=this[r]>>o|s,s=(this[r]&a)<<n;for(r=i-1;r>=0;--r)t[r]=0;t[i]=s,t.t=this.t+i+1,t.s=this.s,t.clamp()},lT.prototype.rShiftTo=// (protected) r = this >> n 1338function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t){t.t=0;return}var n=e%this.DB,o=this.DB-n,a=(1<<n)-1;t[0]=this[r]>>n;for(var i=r+1;i<this.t;++i)t[i-r-1]|=(this[i]&a)<<o,t[i-r]=this[i]>>n;n>0&&(t[this.t-r-1]|=(this.s&a)<<o),t.t=this.t-r,t.clamp()},lT.prototype.subTo=// (protected) r = this - a 1339function(e,t){for(var r=0,n=0,o=Math.min(e.t,this.t);r<o;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},lT.prototype.multiplyTo=// (protected) r = this * a, r != this,a (HAC 14.12) 1340// "this" should be the larger one if appropriate. 1341function(e,t){var r=this.abs(),n=e.abs(),o=r.t;for(t.t=o+n.t;--o>=0;)t[o]=0;for(o=0;o<n.t;++o)t[o+r.t]=r.am(0,n[o],t,o,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&lT.ZERO.subTo(t,t)},lT.prototype.squareTo=// (protected) r = this^2, r != this (HAC 14.16) 1342function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},lT.prototype.divRemTo=// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20) 1343// r != q, this != m. q or r may be null. 1344function(e,t,r){var n=e.abs();if(!(n.t<=0)){var o=this.abs();if(o.t<n.t){null!=t&&t.fromInt(0),null!=r&&this.copyTo(r);return}null==r&&(r=lP());var a=lP(),i=this.s,s=e.s,l=this.DB-lF(n[n.t-1]);l>0?(n.lShiftTo(l,a),o.lShiftTo(l,r)):(n.copyTo(a),o.copyTo(r));var u=a.t,c=a[u-1];if(0!=c){var d=c*(1<<this.F1)+(u>1?a[u-2]>>this.F2:0),f=this.FV/d,p=(1<<this.F1)/d,h=1<<this.F2,m=r.t,g=m-u,v=null==t?lP():t;// "negative" y so we can replace sub with am later 1345for(a.dlShiftTo(g,v),r.compareTo(v)>=0&&(r[r.t++]=1,r.subTo(v,r)),lT.ONE.dlShiftTo(u,v),v.subTo(a,a);a.t<u;)a[a.t++]=0;for(;--g>=0;){// Estimate quotient digit 1346var y=r[--m]==c?this.DM:Math.floor(r[m]*f+(r[m-1]+h)*p);if((r[m]+=a.am(0,y,r,g,0,u))<y)for(// Try it out 1347a.dlShiftTo(g,v),r.subTo(v,r);r[m]<--y;)r.subTo(v,r)}null!=t&&(r.drShiftTo(u,t),i!=s&&lT.ZERO.subTo(t,t)),r.t=u,r.clamp(),l>0&&r.rShiftTo(l,r),i<0&&lT.ZERO.subTo(r,r)}}},lT.prototype.invDigit=// (protected) return "-1/this % 2^DB"; useful for Mont. reduction 1348// justification: 1349// xy == 1 (mod m) 1350// xy = 1+km 1351// xy(2-xy) = (1+km)(1-km) 1352// x[y(2-xy)] = 1-k^2m^2 1353// x[y(2-xy)] == 1 (mod m^2) 1354// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2 1355// should reduce x and y(2-xy) by m^2 at each step to keep size bounded. 1356// JS multiply "overflows" differently from C/C++, so care is needed here. 1357function(){if(this.t<1)return 0;var e=this[0];if((1&e)==0)return 0;var t=3&e;// y == 1/x mod 2^dbits 1358// we really want the negative inverse, and -DV < y < DV 1359return(// y == 1/x mod 2^16 1360// last step - calculate inverse mod DV directly; 1361// assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints 1362(t=// y == 1/x mod 2^8 1363(t=// y == 1/x mod 2^4 1364(t=// y == 1/x mod 2^2 1365(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t)},lT.prototype.addTo=// (protected) r = this + a 1366function(e,t){for(var r=0,n=0,o=Math.min(e.t,this.t);r<o;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},// public 1367lT.prototype.toString=// (public) return string representation in given radix 1368function(e){if(this.s<0)return"-"+this.negate().toString(e);if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else if(4==e)t=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");var t,r,n=(1<<t)-1,o=!1,a="",i=this.t,s=this.DB-i*this.DB%t;if(i-- >0)for(s<this.DB&&(r=this[i]>>s)>0&&(o=!0,a=lM(r));i>=0;)s<t?r=(this[i]&(1<<s)-1)<<t-s|this[--i]>>(s+=this.DB-t):(r=this[i]>>(s-=t)&n,s<=0&&(s+=this.DB,--i)),r>0&&(o=!0),o&&(a+=lM(r));return o?a:"0"},lT.prototype.negate=// (public) -this 1369function(){var e=lP();return lT.ZERO.subTo(this,e),e},lT.prototype.abs=// (public) |this| 1370function(){return this.s<0?this.negate():this},lT.prototype.compareTo=// (public) return + if this > a, - if this < a, 0 if equal 1371function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},lT.prototype.bitLength=// (public) return the number of bits in "this" 1372function(){return this.t<=0?0:this.DB*(this.t-1)+lF(this[this.t-1]^this.s&this.DM)},lT.prototype.mod=// (public) this mod a 1373function(e){var t=lP();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(lT.ZERO)>0&&e.subTo(t,t),t},lT.prototype.equals=function(e){return 0==this.compareTo(e)},lT.prototype.add=// (public) this + a 1374function(e){var t=lP();return this.addTo(e,t),t},lT.prototype.subtract=// (public) this - a 1375function(e){var t=lP();return this.subTo(e,t),t},lT.prototype.multiply=// (public) this * a 1376function(e){var t=lP();return this.multiplyTo(e,t),t},lT.prototype.divide=// (public) this / a 1377function(e){var t=lP();return this.divRemTo(e,t,null),t},lT.prototype.modPow=// (public) this^e % m (HAC 14.85) 1378function(e,t,r){var n,o=e.bitLength(),a=lj(1),i=new lR(t);
1378if(o<=0)return a;// precomputation 1379var s=[],l=3,u=(n=o<18?1:o<48?3:o<144?4:o<768?5:6)-1,c=(1<<n)-1;if(s[1]=i.convert(this),n>1){var d=lP();for(i.sqrTo(s[1],d);l<=c;)s[l]=lP(),i.mulTo(d,s[l-2],s[l]),l+=2}var f,p,h=e.t-1,m=!0,g=lP();for(o=lF(e[h])-1;h>=0;){for(o>=u?f=e[h]>>o-u&c:(f=(e[h]&(1<<o+1)-1)<<u-o,h>0&&(f|=e[h-1]>>this.DB+o-u)),l=n;(1&f)==0;)f>>=1,--l;if((o-=l)<0&&(o+=this.DB,--h),m)// ret == 1, don't bother squaring or multiplying it 1380s[f].copyTo(a),m=!1;else{for(;l>1;)i.sqrTo(a,g),i.sqrTo(g,a),l-=2;l>0?i.sqrTo(a,g):(p=a,a=g,g=p),i.mulTo(g,s[f],a)}for(;h>=0&&(e[h]&1<<o)==0;)i.sqrTo(a,g),p=a,a=g,g=p,--o<0&&(o=this.DB-1,--h)}var v=i.revert(a);return r(null,v),v},// "constants" 1381lT.ZERO=lj(0),lT.ONE=lj(1);/** 1382 * Tests if a hex string has it most significant bit set (case-insensitive regex) 1383 */var lL=/^[89a-f]/i,lD=/*#__PURE__*/function(){/** 1384 * Constructs a new AuthenticationHelper object 1385 * @param {string} PoolName Cognito user pool name. 1386 */function e(e){this.N=new lT("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new lT("2",16),this.k=new lT(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=ln.from("Caldera Derived Key","utf8"),this.poolName=e}/** 1387 * @returns {BigInteger} small A, a random number 1388 */var t=e.prototype;return t.getSmallAValue=function(){return this.smallAValue}/** 1389 * @param {nodeCallback<BigInteger>} callback Called with (err, largeAValue) 1390 * @returns {void} 1391 */,t.getLargeAValue=function(e){var t=this;this.largeAValue?e(null,this.largeAValue):this.calculateA(this.smallAValue,function(r,n){r&&e(r,null),t.largeAValue=n,e(null,t.largeAValue)})}/** 1392 * helper function to generate a random big integer 1393 * @returns {BigInteger} a random value. 1394 * @private 1395 */,t.generateRandomSmallA=function(){// This will be interpreted as a postive 128-bit integer 1396var e=lU(128).toString("hex");// There is no need to do randomBigInt.mod(this.N - 1) as N (3072-bit) is > 128 bytes (1024-bit) 1397return new lT(e,16)}/** 1398 * helper function to generate a random string 1399 * @returns {string} a random value. 1400 * @private 1401 */,t.generateRandomString=function(){return lU(40).toString("base64")}/** 1402 * @returns {string} Generated random value included in password hash. 1403 */,t.getRandomPassword=function(){return this.randomPassword}/** 1404 * @returns {string} Generated random value included in devices hash. 1405 */,t.getSaltDevices=function(){return this.SaltToHashDevices}/** 1406 * @returns {string} Value used to verify devices. 1407 */,t.getVerifierDevices=function(){return this.verifierDevices}/** 1408 * Generate salts and compute verifier. 1409 * @param {string} deviceGroupKey Devices to generate verifier for. 1410 * @param {string} username User to generate verifier for. 1411 * @param {nodeCallback<null>} callback Called with (err, null) 1412 * @returns {void} 1413 */,t.generateHashDevice=function(e,t,r){var n=this;this.randomPassword=this.generateRandomString();var o=""+e+t+":"+this.randomPassword,a=this.hash(o),i=lU(16).toString("hex");// The random hex will be unambiguously represented as a postive integer 1414this.SaltToHashDevices=this.padHex(new lT(i,16)),this.g.modPow(new lT(this.hexHash(this.SaltToHashDevices+a),16),this.N,function(e,t){e&&r(e,null),n.verifierDevices=n.padHex(t),r(null,null)})}/** 1415 * Calculate the client's public value A = g^a%N 1416 * with the generated random number a 1417 * @param {BigInteger} a Randomly generated small A. 1418 * @param {nodeCallback<BigInteger>} callback Called with (err, largeAValue) 1419 * @returns {void} 1420 * @private 1421 */,t.calculateA=function(e,t){var r=this;this.g.modPow(e,this.N,function(e,n){e&&t(e,null),n.mod(r.N).equals(lT.ZERO)&&t(Error("Illegal paramater. A mod N cannot be 0."),null),t(null,n)})}/** 1422 * Calculate the client's value U which is the hash of A and B 1423 * @param {BigInteger} A Large A value. 1424 * @param {BigInteger} B Server B value. 1425 * @returns {BigInteger} Computed U value. 1426 * @private 1427 */,t.calculateU=function(e,t){return this.UHexHash=this.hexHash(this.padHex(e)+this.padHex(t)),new lT(this.UHexHash,16)}/** 1428 * Calculate a hash from a bitArray 1429 * @param {Buffer} buf Value to hash. 1430 * @returns {String} Hex-encoded hash. 1431 * @private 1432 */,t.hash=function(e){var t=new lI.Sha256;t.update(e);var r=t.digestSync(),n=ln.from(r).toString("hex");return Array(64-n.length).join("0")+n}/** 1433 * Calculate a hash from a hex string 1434 * @param {String} hexStr Value to hash. 1435 * @returns {String} Hex-encoded hash. 1436 * @private 1437 */,t.hexHash=function(e){return this.hash(ln.from(e,"hex"))}/** 1438 * Standard hkdf algorithm 1439 * @param {Buffer} ikm Input key material. 1440 * @param {Buffer} salt Salt value. 1441 * @returns {Buffer} Strong key material. 1442 * @private 1443 */,t.computehkdf=function(e,t){var r=ln.concat([this.infoBits,ln.from("\x01","utf8")]),n=new lI.Sha256(t);n.update(e);var o=n.digestSync(),a=new lI.Sha256(o);return a.update(r),a.digestSync().slice(0,16)}/** 1444 * Calculates the final hkdf based on computed S value, and computed U value and the key 1445 * @param {String} username Username. 1446 * @param {String} password Password. 1447 * @param {BigInteger} serverBValue Server B value. 1448 * @param {BigInteger} salt Generated salt. 1449 * @param {nodeCallback<Buffer>} callback Called with (err, hkdfValue) 1450 * @returns {void} 1451 */,t.getPasswordAuthenticationKey=function(e,t,r,n,o){var a=this;if(r.mod(this.N).equals(lT.ZERO))throw Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,r),this.UValue.equals(lT.ZERO))throw Error("U cannot be zero.");var i=""+this.poolName+e+":"+t,s=this.hash(i),l=new lT(this.hexHash(this.padHex(n)+s),16);this.calculateS(l,r,function(e,t){e&&o(e,null),o(null,a.computehkdf(ln.from(a.padHex(t),"hex"),ln.from(a.padHex(a.UValue),"hex")))})}/** 1452 * Calculates the S value used in getPasswordAuthenticationKey 1453 * @param {BigInteger} xValue Salted password hash value. 1454 * @param {BigInteger} serverBValue Server B value. 1455 * @param {nodeCallback<string>} callback Called on success or error. 1456 * @returns {void} 1457 */,t.calculateS=function(e,t,r){var n=this;this.g.modPow(e,this.N,function(o,a){o&&r(o,null),t.subtract(n.k.multiply(a)).modPow(n.smallAValue.add(n.UValue.multiply(e)),n.N,function(e,t){e&&r(e,null),r(null,t.mod(n.N))})})}/** 1458 * Return constant newPasswordRequiredChallengeUserAttributePrefix 1459 * @return {newPasswordRequiredChallengeUserAttributePrefix} constant prefix value 1460 */,t.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."}/**
1461 * Returns an unambiguous, even-length hex string of the two's complement encoding of an integer. 1462 * 1463 * It is compatible with the hex encoding of Java's BigInteger's toByteArray(), wich returns a 1464 * byte array containing the two's-complement representation of a BigInteger. The array contains 1465 * the minimum number of bytes required to represent the BigInteger, including at least one sign bit. 1466 * 1467 * Examples showing how ambiguity is avoided by left padding with: 1468 * "00" (for positive values where the most-significant-bit is set) 1469 * "FF" (for negative values where the most-significant-bit is set) 1470 * 1471 * padHex(bigInteger.fromInt(-236)) === "FF14" 1472 * padHex(bigInteger.fromInt(20)) === "14" 1473 * 1474 * padHex(bigInteger.fromInt(-200)) === "FF38" 1475 * padHex(bigInteger.fromInt(56)) === "38" 1476 * 1477 * padHex(bigInteger.fromInt(-20)) === "EC" 1478 * padHex(bigInteger.fromInt(236)) === "00EC" 1479 * 1480 * padHex(bigInteger.fromInt(-56)) === "C8" 1481 * padHex(bigInteger.fromInt(200)) === "00C8" 1482 * 1483 * @param {BigInteger} bigInt Number to encode. 1484 * @returns {String} even-length hex string of the two's complement encoding. 1485 */,t.padHex=function(e){if(!(e instanceof lT))throw Error("Not a BigInteger");var t=0>e.compareTo(lT.ZERO),r=e.abs().toString(16);if(/* Pad hex to even length if needed */r=r.length%2!=0?"0"+r:r,/* Prepend "00" if the most significant bit is set */r=lL.test(r)?"00"+r:r,t){/* Flip the bits of the representation */var n=r.split("").map(function(e){var t=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(t)}).join("");(r=new lT(n,16).add(lT.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(r=r.substring(2))}return r},e}(),lV=/*#__PURE__*/function(){/** 1486 * Constructs a new CognitoJwtToken object 1487 * @param {string=} token The JWT token. 1488 */function e(e){// Assign object 1489this.jwtToken=e||"",this.payload=this.decodePayload()}/** 1490 * @returns {string} the record's token. 1491 */var t=e.prototype;return t.getJwtToken=function(){return this.jwtToken}/** 1492 * @returns {int} the token's expiration (exp member). 1493 */,t.getExpiration=function(){return this.payload.exp}/** 1494 * @returns {int} the token's "issued at" (iat member). 1495 */,t.getIssuedAt=function(){return this.payload.iat}/** 1496 * @returns {object} the token's payload. 1497 */,t.decodePayload=function(){var e=this.jwtToken.split(".")[1];try{return JSON.parse(ln.from(e,"base64").toString("utf8"))}catch(e){return{}}},e}();function lH(e,t){return(lH=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/** @class */var lZ=/*#__PURE__*/function(e){/** 1498 * Constructs a new CognitoAccessToken object 1499 * @param {string=} AccessToken The JWT access token. 1500 */function t(t){var r=(void 0===t?{}:t).AccessToken;return e.call(this,r||"")||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,lH(t,e),t}(lV);function lB(e,t){return(lB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/** @class */var lz=/*#__PURE__*/function(e){/** 1501 * Constructs a new CognitoIdToken object 1502 * @param {string=} IdToken The JWT Id token 1503 */function t(t){var r=(void 0===t?{}:t).IdToken;return e.call(this,r||"")||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,lB(t,e),t}(lV),lW=/*#__PURE__*/function(){/** 1504 * Constructs a new CognitoRefreshToken object 1505 * @param {string=} RefreshToken The JWT refresh token. 1506 */function e(e){var t=(void 0===e?{}:e).RefreshToken;// Assign object 1507this.token=t||""}return e.prototype.getToken=function(){return this.token},e}(),lG=/*#__PURE__*/function(){/** 1508 * Constructs a new CognitoUserSession object 1509 * @param {CognitoIdToken} IdToken The session's Id token. 1510 * @param {CognitoRefreshToken=} RefreshToken The session's refresh token. 1511 * @param {CognitoAccessToken} AccessToken The session's access token. 1512 * @param {int} ClockDrift The saved computer's clock drift or undefined to force calculation. 1513 */function e(e){var t=void 0===e?{}:e,r=t.IdToken,n=t.RefreshToken,o=t.AccessToken,a=t.ClockDrift;if(null==o||null==r)throw Error("Id token and Access Token must be present.");this.idToken=r,this.refreshToken=n,this.accessToken=o,this.clockDrift=void 0===a?this.calculateClockDrift():a}/** 1514 * @returns {CognitoIdToken} the session's Id token 1515 */var t=e.prototype;return t.getIdToken=function(){return this.idToken}/** 1516 * @returns {CognitoRefreshToken} the session's refresh token 1517 */,t.getRefreshToken=function(){return this.refreshToken}/** 1518 * @returns {CognitoAccessToken} the session's access token 1519 */,t.getAccessToken=function(){return this.accessToken}/** 1520 * @returns {int} the session's clock drift 1521 */,t.getClockDrift=function(){return this.clockDrift}/** 1522 * @returns {int} the computer's clock drift 1523 */,t.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())}/** 1524 * Checks to see if the session is still valid based on session expiry information found 1525 * in tokens and the current time (adjusted with clock drift) 1526 * @returns {boolean} if the session is still valid 1527 */,t.isValid=function(){var e=Math.floor(new Date/1e3)-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},e}(),lq=/*#__PURE__*/function(){/** 1528 * Constructs a new CognitoUserAttribute object 1529 * @param {string=} Name The record's name 1530 * @param {string=} Value The record's value 1531 */function e(e){var t=void 0===e?{}:e,r=t.Name,n=t.Value;this.Name=r||"",this.Value=n||""}/** 1532 * @returns {string} the record's value. 1533 */var t=e.prototype;return t.getValue=function(){return this.Value}/** 1534 * Sets the record's value. 1535 * @param {string} value The new value. 1536 * @returns {CognitoUserAttribute} The record for method chaining. 1537 */,t.setValue=function(e){return this.Value=e,this}/** 1538 * @returns {string} the record's name. 1539 */,t.getName=function(){return this.Name}/** 1540 * Sets the record's name 1541 * @param {string} name The new name. 1542 * @returns {CognitoUserAttribute} The record for method chaining. 1543 */,t.setName=function(e){return this.Name=e,this}/** 1544 * @returns {string} a string representation of the record. 1545 */,t.toString=function(){return JSON.stringify(this)}/** 1546 * @returns {object} a flat object representing the record. 1547 */,t.toJSON=function(){return{Name:this.Name,Value:this.Value}},e}(),lY={userAgent:"aws-amplify/5.0.4",isReactNative:"undefined"!=typeof navigator&&"ReactNative"===navigator.product};// constructor 1548function l$(){}// public 1549l$.prototype.userAgent=lY.userAgent;var lK=function(e){e&&(l$.prototype.userAgent&&!l$.prototype.userAgent.includes(e)&&(l$.prototype.userAgent=l$.prototype.userAgent.concat(" ",e)),l$.prototype.userAgent&&""!==l$.prototype.userAgent||(l$.prototype.userAgent=e))},lJ=function(){l$.category="auth"},lQ=function(e){l$.framework=e},lX=function(e){var t=l$.category?" "+l$.category:"",r=l$.framework?" framework/"+l$.framework:"";return""+l$.prototype.userAgent+t+r},l0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],l1=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],l2=/*#__PURE__*/function(){function e(){}return(/** 1550 * @returns {string} The current time in "ddd MMM D HH:mm:ss UTC YYYY" format. 1551 */e.prototype.getNowString=function(){var e=new Date,t=l1[e.getUTCDay()],r=l0[e.getUTCMonth()],n=e.getUTCDate(),o=e.getUTCHours();o<10&&(o="0"+o);var a=e.getUTCMinutes();a<10&&(a="0"+a);var i=e.getUTCSeconds();return i<10&&(i="0"+i),t+" "+r+" "+n+" "+o+":"+a+":"+i+" UTC "+e.getUTCFullYear()},e)}(),l8={},l6=/*#__PURE__*/function(){function e(){}return(/** 1552 * This is used to set a specific item in storage 1553 * @param {string} key - the key for the item 1554 * @param {object} value - the value 1555 * @returns {string} value that was set 1556 */e.setItem=function(e,t){return l8[e]=t,l8[e]}/** 1557 * This is used to get a specific key from storage 1558 * @param {string} key - the key for the item 1559 * This is used to clear the storage 1560 * @returns {string} the data item 1561 */,e.getItem=function(e){return Object.prototype.hasOwnProperty.call(l8,e)?l8[e]:void 0}/** 1562 * This is used to remove an item from storage 1563 * @param {string} key - the key being set 1564 * @returns {boolean} return true 1565 */,e.removeItem=function(e){return delete l8[e]}/** 1566 * This is used to clear the storage 1567 * @returns {string} nothing 1568 */,e.clear=function(){return l8={}},e)}(),l4=/*#__PURE__*/function(){/** 1569 * This is used to get a storage object 1570 * @returns {object} the storage 1571 */function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(e){this.storageWindow=l6}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),l3="undefined"!=typeof navigator?lY.isReactNative?"react-native":navigator.userAgent:"nodejs",l5=/*#__PURE__*/function(){/** 1572 * Constructs a new CognitoUser object 1573 * @param {object} data Creation options 1574 * @param {string} data.Username The user's username. 1575 * @param {CognitoUserPool} data.Pool Pool containing the user. 1576 * @param {object} data.Storage Optional storage object. 1577 */function e(e){if(null==e||null==e.Username||null==e.Pool)throw Error("Username and Pool information are required.");this.username=e.Username||"",this.pool=e.Pool,this.Session=null,this.client=e.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=e.Storage||new l4().getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}/** 1578 * Sets the session for this user 1579 * @param {CognitoUserSession} signInUserSession the session 1580 * @returns {void} 1581 */var t=e.prototype;return t.setSignInUserSession=function(e){this.clearCachedUserData(),this.signInUserSession=e,this.cacheTokens()}/** 1582 * @returns {CognitoUserSession} the current session for this user 1583 */,t.getSignInUserSession=function(){return this.signInUserSession}/** 1584 * @returns {string} the user's username 1585 */,t.getUsername=function(){return this.username}/** 1586 * @returns {String} the authentication flow type 1587 */,t.getAuthenticationFlowType=function(){return this.authenticationFlowType}/** 1588 * sets authentication flow type 1589 * @param {string} authenticationFlowType New value. 1590 * @returns {void} 1591 */,t.setAuthenticationFlowType=function(e){this.authenticationFlowType=e}/** 1592 * This is used for authenticating the user through the custom authentication flow.
1593 * @param {AuthenticationDetails} authDetails Contains the authentication data 1594 * @param {object} callback Result callback map. 1595 * @param {onFailure} callback.onFailure Called on any error. 1596 * @param {customChallenge} callback.customChallenge Custom challenge 1597 * response required to continue. 1598 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1599 * @param {string} userAgentValue Optional string containing custom user agent value 1600 * @returns {void} 1601 */,t.initiateAuth=function(e,t,r){var n=this,o=e.getAuthParameters();o.USERNAME=this.username;var a=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),i={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:o,ClientMetadata:a};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",i,function(e,r){if(e)return t.onFailure(e);var o=r.ChallengeName,a=r.ChallengeParameters;return"CUSTOM_CHALLENGE"===o?(n.Session=r.Session,t.customChallenge(a)):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),t.onSuccess(n.signInUserSession))},r)}/** 1602 * This is used for authenticating the user. 1603 * stuff 1604 * @param {AuthenticationDetails} authDetails Contains the authentication data 1605 * @param {object} callback Result callback map. 1606 * @param {onFailure} callback.onFailure Called on any error. 1607 * @param {newPasswordRequired} callback.newPasswordRequired new 1608 * password and any required attributes are required to continue 1609 * @param {mfaRequired} callback.mfaRequired MFA code 1610 * required to continue. 1611 * @param {customChallenge} callback.customChallenge Custom challenge 1612 * response required to continue. 1613 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1614 * @param {string} userAgentValue Optional string containing custom user agent value 1615 * @returns {void} 1616 */,t.authenticateUser=function(e,t,r){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(e,t,r):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(e,t,r):t.onFailure(Error("Authentication flow type is invalid."))}/** 1617 * PRIVATE ONLY: This is an internal only method and should not 1618 * be directly called by the consumers. 1619 * It calls the AuthenticationHelper for SRP related 1620 * stuff 1621 * @param {AuthenticationDetails} authDetails Contains the authentication data 1622 * @param {object} callback Result callback map. 1623 * @param {onFailure} callback.onFailure Called on any error. 1624 * @param {newPasswordRequired} callback.newPasswordRequired new 1625 * password and any required attributes are required to continue 1626 * @param {mfaRequired} callback.mfaRequired MFA code 1627 * required to continue. 1628 * @param {customChallenge} callback.customChallenge Custom challenge 1629 * response required to continue. 1630 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1631 * @param {string} userAgentValue Optional string containing custom user agent value 1632 * @returns {void} 1633 */,t.authenticateUserDefaultAuth=function(e,t,r){var n,o,a=this,i=new lD(this.pool.getUserPoolName()),s=new l2,l={};null!=this.deviceKey&&(l.DEVICE_KEY=this.deviceKey),l.USERNAME=this.username,i.getLargeAValue(function(u,c){u&&t.onFailure(u),l.SRP_A=c.toString(16),"CUSTOM_AUTH"===a.authenticationFlowType&&(l.CHALLENGE_NAME="SRP_A");var d=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),f={AuthFlow:a.authenticationFlowType,ClientId:a.pool.getClientId(),AuthParameters:l,ClientMetadata:d};a.getUserContextData(a.username)&&(f.UserContextData=a.getUserContextData(a.username)),a.client.request("InitiateAuth",f,function(l,u){if(l)return t.onFailure(l);var c=u.ChallengeParameters;a.username=c.USER_ID_FOR_SRP,a.userDataKey=a.keyPrefix+"."+a.username+".userData",n=new lT(c.SRP_B,16),o=new lT(c.SALT,16),a.getCachedDeviceKeyAndPassword(),i.getPasswordAuthenticationKey(a.username,e.getPassword(),n,o,function(e,n){e&&t.onFailure(e);var o=s.getNowString(),l=ln.concat([ln.from(a.pool.getUserPoolName(),"utf8"),ln.from(a.username,"utf8"),ln.from(c.SECRET_BLOCK,"base64"),ln.from(o,"utf8")]),f=new lI.Sha256(n);f.update(l);var p=f.digestSync(),h=ln.from(p).toString("base64"),m={};m.USERNAME=a.username,m.PASSWORD_CLAIM_SECRET_BLOCK=c.SECRET_BLOCK,m.TIMESTAMP=o,m.PASSWORD_CLAIM_SIGNATURE=h,null!=a.deviceKey&&(m.DEVICE_KEY=a.deviceKey);var g={ChallengeName:"PASSWORD_VERIFIER",ClientId:a.pool.getClientId(),ChallengeResponses:m,Session:u.Session,ClientMetadata:d};a.getUserContextData()&&(g.UserContextData=a.getUserContextData()),function e(t,n){return a.client.request("RespondToAuthChallenge",t,function(r,o){return r&&"ResourceNotFoundException"===r.code&&-1!==r.message.toLowerCase().indexOf("device")?(m.DEVICE_KEY=null,a.deviceKey=null,a.randomPassword=null,a.deviceGroupKey=null,a.clearCachedDeviceKeyAndPassword(),e(t,n)):n(r,o)},r)}(g,function(e,n){return e?t.onFailure(e):a.authenticateUserInternal(n,i,t,r)});// getPasswordAuthenticationKey callback end 1634})},r);// getLargeAValue callback end 1635})}/** 1636 * PRIVATE ONLY: This is an internal only method and should not 1637 * be directly called by the consumers.
1638 * @param {AuthenticationDetails} authDetails Contains the authentication data. 1639 * @param {object} callback Result callback map. 1640 * @param {onFailure} callback.onFailure Called on any error. 1641 * @param {mfaRequired} callback.mfaRequired MFA code 1642 * required to continue. 1643 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1644 * @param {string} userAgentValue Optional string containing custom user agent value 1645 * @returns {void} 1646 */,t.authenticateUserPlainUsernamePassword=function(e,t,r){var n=this,o={};if(o.USERNAME=this.username,o.PASSWORD=e.getPassword(),!o.PASSWORD){t.onFailure(Error("PASSWORD parameter is required"));return}var a=new lD(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var i=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),s={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:o,ClientMetadata:i};this.getUserContextData(this.username)&&(s.UserContextData=this.getUserContextData(this.username)),// USER_PASSWORD_AUTH happens in a single round-trip: client sends userName and password, 1647// Cognito UserPools verifies password and returns tokens. 1648this.client.request("InitiateAuth",s,function(e,o){return e?t.onFailure(e):n.authenticateUserInternal(o,a,t,r)},r)}/** 1649 * PRIVATE ONLY: This is an internal only method and should not 1650 * be directly called by the consumers. 1651 * @param {object} dataAuthenticate authentication data 1652 * @param {object} authenticationHelper helper created 1653 * @param {callback} callback passed on from caller 1654 * @param {string} userAgentValue Optional string containing custom user agent value 1655 * @returns {void} 1656 */,t.authenticateUserInternal=function(e,t,r,n){var o=this,a=e.ChallengeName,i=e.ChallengeParameters;if("SMS_MFA"===a)return this.Session=e.Session,r.mfaRequired(a,i);if("SELECT_MFA_TYPE"===a)return this.Session=e.Session,r.selectMFAType(a,i);if("MFA_SETUP"===a)return this.Session=e.Session,r.mfaSetup(a,i);if("SOFTWARE_TOKEN_MFA"===a)return this.Session=e.Session,r.totpRequired(a,i);if("CUSTOM_CHALLENGE"===a)return this.Session=e.Session,r.customChallenge(i);if("NEW_PASSWORD_REQUIRED"===a){this.Session=e.Session;var s=null,l=null,u=[],c=t.getNewPasswordRequiredChallengeUserAttributePrefix();if(i&&(s=JSON.parse(e.ChallengeParameters.userAttributes),l=JSON.parse(e.ChallengeParameters.requiredAttributes)),l)for(var d=0;d<l.length;d++)u[d]=l[d].substr(c.length);return r.newPasswordRequired(s,u)}if("DEVICE_SRP_AUTH"===a){this.Session=e.Session,this.getDeviceResponse(r,void 0,n);return}this.signInUserSession=this.getCognitoUserSession(e.AuthenticationResult),this.challengeName=a,this.cacheTokens();var f=e.AuthenticationResult.NewDeviceMetadata;if(null==f)return r.onSuccess(this.signInUserSession);t.generateHashDevice(e.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,e.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(a){if(a)return r.onFailure(a);var i={Salt:ln.from(t.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:ln.from(t.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=i.PasswordVerifier,o.deviceGroupKey=f.DeviceGroupKey,o.randomPassword=t.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:f.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:i,DeviceName:l3},function(t,n){return t?r.onFailure(t):(o.deviceKey=e.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===n.UserConfirmationNecessary)?r.onSuccess(o.signInUserSession,n.UserConfirmationNecessary):r.onSuccess(o.signInUserSession)},n)})}/** 1657 * This method is user to complete the NEW_PASSWORD_REQUIRED challenge. 1658 * Pass the new password with any new user attributes to be updated. 1659 * User attribute keys must be of format userAttributes.<attribute_name>. 1660 * @param {string} newPassword new password for this user 1661 * @param {object} requiredAttributeData map with values for all required attributes 1662 * @param {object} callback Result callback map. 1663 * @param {onFailure} callback.onFailure Called on any error. 1664 * @param {mfaRequired} callback.mfaRequired MFA code required to continue. 1665 * @param {customChallenge} callback.customChallenge Custom challenge 1666 * response required to continue. 1667 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1668 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1669 * @param {string} userAgentValue Optional string containing custom user agent value 1670 * @returns {void} 1671 */,t.completeNewPasswordChallenge=function(e,t,r,n,o){var a=this;if(!e)return r.onFailure(Error("New password is required."));var i=new lD(this.pool.getUserPoolName()),s=i.getNewPasswordRequiredChallengeUserAttributePrefix(),l={};t&&Object.keys(t).forEach(function(e){l[s+e]=t[e]}),l.NEW_PASSWORD=e,l.USERNAME=this.username;var u={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:l,Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,function(e,t){return e?r.onFailure(e):a.authenticateUserInternal(t,i,r,o)},o)}/** 1672 * This is used to get a session using device authentication. It is called at the end of user 1673 * authentication 1674 * 1675 * @param {object} callback Result callback map. 1676 * @param {onFailure} callback.onFailure Called on any error. 1677 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1678 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1679 * @param {string} userAgentValue Optional string containing custom user agent value 1680 * @returns {void} 1681 * @private 1682 */,t.getDeviceResponse=function(e,t,r){var n=this,o=new lD(this.deviceGroupKey),a=new l2,i={};i.USERNAME=this.username,i.DEVICE_KEY=this.deviceKey,o.getLargeAValue(function(s,l){s&&e.onFailure(s),i.SRP_A=l.toString(16);var u={ChallengeName:"DEVICE_SRP_AUTH",ClientId:n.pool.getClientId(),ChallengeResponses:i,ClientMetadata:t,Session:n.Session};n.getUserContextData()&&(u.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",u,function(t,i){if(t)return e.onFailure(t);var s=i.ChallengeParameters,l=new lT(s.SRP_B,16),u=new lT(s.SALT,16);o.getPasswordAuthenticationKey(n.deviceKey,n.randomPassword,l,u,function(t,o){// getPasswordAuthenticationKey callback start 1683if(t)return e.onFailure(t);var l=a.getNowString(),u=ln.concat([ln.from(n.deviceGroupKey,"utf8"),ln.from(n.deviceKey,"utf8"),ln.from(s.SECRET_BLOCK,"base64"),ln.from(l,"utf8")]),c=new lI.Sha256(o);c.update(u);var d=c.digestSync(),f=ln.from(d).toString("base64"),p={};p.USERNAME=n.username,p.PASSWORD_CLAIM_SECRET_BLOCK=s.SECRET_BLOCK,p.TIMESTAMP=l,p.PASSWORD_CLAIM_SIGNATURE=f,p.DEVICE_KEY=n.deviceKey;var h={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:n.pool.getClientId(),ChallengeResponses:p,Session:i.Session};n.getUserContextData()&&(h.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",h,function(t,r){return t?e.onFailure(t):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),e.onSuccess(n.signInUserSession))},r);// getPasswordAuthenticationKey callback end 1684})},r);// getLargeAValue callback end 1685})}/** 1686 * This is used for a certain user to confirm the registration by using a confirmation code 1687 * @param {string} confirmationCode Code entered by user. 1688 * @param {bool} forceAliasCreation Allow migrating from an existing email / phone number. 1689 * @param {nodeCallback<string>} callback Called on success or error. 1690 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1691 * @param {string} userAgentValue Optional string containing custom user agent value 1692 * @returns {void} 1693 */,t.confirmRegistration=function(e,t,r,n,o){var a={ClientId:this.pool.getClientId(),ConfirmationCode:e,Username:this.username,ForceAliasCreation:t,ClientMetadata:n};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",a,function(e){return e?r(e,null):r(null,"SUCCESS")},o)}/** 1694 * This is used by the user once he has the responses to a custom challenge 1695 * @param {string} answerChallenge The custom challenge answer. 1696 * @param {object} callback Result callback map. 1697 * @param {onFailure} callback.onFailure Called on any error. 1698 * @param {customChallenge} callback.customChallenge 1699 * Custom challenge response required to continue. 1700 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1701 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1702 * @param {string} userAgentValue Optional string containing custom user agent value 1703 * @returns {void} 1704 */,t.sendCustomChallengeAnswer=function(e,t,r,n){var o=this,a={};a.USERNAME=this.username,a.ANSWER=e;var i=new lD(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(a.DEVICE_KEY=this.deviceKey);var s={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:a,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,function(e,r){return e?t.onFailure(e):o.authenticateUserInternal(r,i,t,n)})}/** 1705 * This is used by the user once he has an MFA code 1706 * @param {string} confirmationCode The MFA code entered by the user. 1707 * @param {object} callback Result callback map. 1708 * @param {string} mfaType The mfa we are replying to. 1709 * @param {onFailure} callback.onFailure Called on any error. 1710 * @param {authSuccess} callback.onSuccess Called on success with the new session. 1711 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1712 * @param {string} userAgentValue Optional string containing custom user agent value 1713 * @returns {void} 1714 */,t.sendMFACode=function(e,t,r,n,o){var a=this,i={};i.USERNAME=this.username,i.SMS_MFA_CODE=e;var s=r||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===s&&(i.SOFTWARE_TOKEN_MFA_CODE=e),null!=this.deviceKey&&(i.DEVICE_KEY=this.deviceKey);var l={ChallengeName:s,ChallengeResponses:i,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(l.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",l,function(e,r){if(e)return t.onFailure(e);
1714if("DEVICE_SRP_AUTH"===r.ChallengeName){a.getDeviceResponse(t,void 0,o);return}if(a.signInUserSession=a.getCognitoUserSession(r.AuthenticationResult),a.cacheTokens(),null==r.AuthenticationResult.NewDeviceMetadata)return t.onSuccess(a.signInUserSession);var n=new lD(a.pool.getUserPoolName());n.generateHashDevice(r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,r.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(e){if(e)return t.onFailure(e);var i={Salt:ln.from(n.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:ln.from(n.getVerifierDevices(),"hex").toString("base64")};a.verifierDevices=i.PasswordVerifier,a.deviceGroupKey=r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,a.randomPassword=n.getRandomPassword(),a.client.request("ConfirmDevice",{DeviceKey:r.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:a.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:i,DeviceName:l3},function(e,n){return e?t.onFailure(e):(a.deviceKey=r.AuthenticationResult.NewDeviceMetadata.DeviceKey,a.cacheDeviceKeyAndPassword(),!0===n.UserConfirmationNecessary)?t.onSuccess(a.signInUserSession,n.UserConfirmationNecessary):t.onSuccess(a.signInUserSession)},o)})},o)}/** 1715 * This is used by an authenticated user to change the current password 1716 * @param {string} oldUserPassword The current password. 1717 * @param {string} newUserPassword The requested new password. 1718 * @param {nodeCallback<string>} callback Called on success or error. 1719 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1720 * @param {string} userAgentValue Optional string containing custom user agent value 1721 * @returns {void} 1722 */,t.changePassword=function(e,t,r,n,o){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return r(Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:e,ProposedPassword:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},function(e){return e?r(e,null):r(null,"SUCCESS")},o)}/** 1723 * This is used by an authenticated user to enable MFA for itself 1724 * @deprecated 1725 * @param {nodeCallback<string>} callback Called on success or error. 1726 * @param {string} userAgentValue Optional string containing custom user agent value 1727 * @returns {void} 1728 */,t.enableMFA=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);var r=[];r.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:r,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):e(null,"SUCCESS")},t)}/** 1729 * This is used by an authenticated user to enable MFA for itself 1730 * @param {IMfaSettings} smsMfaSettings the sms mfa settings 1731 * @param {IMFASettings} softwareTokenMfaSettings the software token mfa settings 1732 * @param {nodeCallback<string>} callback Called on success or error. 1733 * @param {string} userAgentValue Optional string containing custom user agent value 1734 * @returns {void} 1735 */,t.setUserMfaPreference=function(e,t,r,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r(Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:e,SoftwareTokenMfaSettings:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?r(e,null):r(null,"SUCCESS")},n)}/** 1736 * This is used by an authenticated user to disable MFA for itself 1737 * @deprecated 1738 * @param {nodeCallback<string>} callback Called on success or error. 1739 * @param {string} userAgentValue Optional string containing custom user agent value 1740 * @returns {void} 1741 */,t.disableMFA=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e(t,null):e(null,"SUCCESS")},t)}/** 1742 * This is used by an authenticated user to delete itself 1743 * @param {nodeCallback<string>} callback Called on success or error. 1744 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1745 * @param {string} userAgentValue Optional string containing custom user agent value 1746 * @returns {void} 1747 */,t.deleteUser=function(e,t,r){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:t},function(t){return t?e(t,null):(n.clearCachedUser(),e(null,"SUCCESS"))},r)}/** 1748 * This is used by an authenticated user to change a list of attributes 1749 * @param {AttributeArg[]} attributes A list of the new user attributes. 1750 * @param {nodeCallback<string>} callback Called on success or error. 1751 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1752 * @param {string} userAgentValue Optional string containing custom user agent value 1753 * @returns {void} 1754 */,t.updateAttributes=function(e,t,r,n){var o=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:e,ClientMetadata:r},function(e,r){return e?t(e,null):o.getUserData(function(){return t(null,"SUCCESS",r)},{bypassCache:!0},n)},n)}/** 1755 * This is used by an authenticated user to get a list of attributes 1756 * @param {nodeCallback<CognitoUserAttribute[]>} callback Called on success or error. 1757 * @param {string} userAgentValue Optional string containing custom user agent value 1758 * @returns {void} 1759 */,t.getUserAttributes=function(e,t){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,r){if(t)return e(t,null);for(var n=[],o=0;o<r.UserAttributes.length;o++){var a={Name:r.UserAttributes[o].Name,Value:r.UserAttributes[o].Value},i=new lq(a);n.push(i)}return e(null,n)},t)}/** 1760 * This was previously used by an authenticated user to get MFAOptions, 1761 * but no longer returns a meaningful response. Refer to the documentation for 1762 * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js 1763 * @deprecated 1764 * @param {nodeCallback<MFAOptions>} callback Called on success or error. 1765 * @param {string} userAgentValue Optional string containing custom user agent value 1766 * @returns {void} 1767 */,t.getMFAOptions=function(e,t){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,r){return t?e(t,null):e(null,r.MFAOptions)},t)}/** 1768 * PRIVATE ONLY: This is an internal only method and should not 1769 * be directly called by the consumers. 1770 * @param {string} userAgentValue Optional string containing custom user agent value 1771 * @returns {Promise<object>} 1772 */,t.createGetUserRequest=function(e){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},e)}/** 1773 * PRIVATE ONLY: This is an internal only method and should not 1774 * be directly called by the consumers. 1775 * @param {object} options 1776 * @param {string} userAgentValue Optional string containing custom user agent value 1777 * @returns {Promise<any>} 1778 */,t.refreshSessionIfPossible=function(e,t){var r=this;// best effort, if not possible 1779return void 0===e&&(e={}),new Promise(function(n){var o=r.signInUserSession.getRefreshToken();o&&o.getToken()?r.refreshSession(o,n,e.clientMetadata,t):n()})}/** 1780 * This is used by an authenticated users to get the userData 1781 * @param {nodeCallback<UserData>} callback Called on success or error. 1782 * @param {GetUserDataOptions} params 1783 * @param {string} userAgentValue Optional string containing custom user agent value 1784 * @returns {void} 1785 */,t.getUserData=function(e,t,r){var n=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return this.clearCachedUserData(),e(Error("User is not authenticated"),null);
1785var o=this.getUserDataFromCache();if(!o){this.fetchUserData().then(function(t){e(null,t)}).catch(e);return}if(this.isFetchUserDataAndTokenRequired(t)){this.fetchUserData().then(function(e){return n.refreshSessionIfPossible(t,r).then(function(){return e})}).then(function(t){return e(null,t)}).catch(e);return}try{e(null,JSON.parse(o));return}catch(t){this.clearCachedUserData(),e(t,null);return}}/** 1786 * 1787 * PRIVATE ONLY: This is an internal only method and should not 1788 * be directly called by the consumers. 1789 */,t.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)}/** 1790 * 1791 * PRIVATE ONLY: This is an internal only method and should not 1792 * be directly called by the consumers. 1793 */,t.isFetchUserDataAndTokenRequired=function(e){var t=(e||{}).bypassCache;return void 0!==t&&t}/** 1794 * 1795 * PRIVATE ONLY: This is an internal only method and should not 1796 * be directly called by the consumers. 1797 * @param {string} userAgentValue Optional string containing custom user agent value 1798 */,t.fetchUserData=function(e){var t=this;return this.createGetUserRequest().then(function(e){return t.cacheUserData(e),e},e)}/** 1799 * This is used by an authenticated user to delete a list of attributes 1800 * @param {string[]} attributeList Names of the attributes to delete. 1801 * @param {nodeCallback<string>} callback Called on success or error. 1802 * @param {string} userAgentValue Optional string containing custom user agent value 1803 * @returns {void} 1804 */,t.deleteAttributes=function(e,t,r){var n=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return t(Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?t(e,null):n.getUserData(function(){return t(null,"SUCCESS")},{bypassCache:!0},r)},r)}/** 1805 * This is used by a user to resend a confirmation code 1806 * @param {nodeCallback<string>} callback Called on success or error. 1807 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1808 * @param {string} userAgentValue Optional string containing custom user agent value 1809 * @returns {void} 1810 */,t.resendConfirmationCode=function(e,t,r){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.client.request("ResendConfirmationCode",n,function(t,r){return t?e(t,null):e(null,r)},r)}/** 1811 * This is used to get a session, either from the session object 1812 * or from the local storage, or by using a refresh token 1813 * 1814 * @param {nodeCallback<CognitoUserSession>} callback Called on success or error. 1815 * @param {GetSessionOptions} options 1816 * @param {string} userAgentValue Optional string containing custom user agent value 1817 * @returns {void} 1818 */,t.getSession=function(e,t,r){if(void 0===t&&(t={}),null==this.username)return e(Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return e(null,this.signInUserSession);var n="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,o=n+".idToken";if(this.storage.getItem(o)){var a=new lz({IdToken:this.storage.getItem(o)}),i=new lZ({AccessToken:this.storage.getItem(n+".accessToken")}),s=new lW({RefreshToken:this.storage.getItem(n+".refreshToken")}),l=parseInt(this.storage.getItem(n+".clockDrift"),0)||0,u=new lG({IdToken:a,AccessToken:i,RefreshToken:s,ClockDrift:l});if(u.isValid())return this.signInUserSession=u,e(null,this.signInUserSession);if(!s.getToken())return e(Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(s,e,t.clientMetadata,r)}else e(Error("Local storage is missing an ID Token, Please authenticate"),null)}/** 1819 * This uses the refreshToken to retrieve a new session 1820 * @param {CognitoRefreshToken} refreshToken A previous session's refresh token. 1821 * @param {nodeCallback<CognitoUserSession>} callback Called on success or error. 1822 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1823 * @param {string} userAgentValue Optional string containing custom user agent value 1824 * @returns {void} 1825 */,t.refreshSession=function(e,t,r,n){var o=this,a=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(t):t,i={};i.REFRESH_TOKEN=e.getToken();var s="CognitoIdentityServiceProvider."+this.pool.getClientId(),l=s+".LastAuthUser";if(this.storage.getItem(l)){this.username=this.storage.getItem(l);var u=s+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(u),i.DEVICE_KEY=this.deviceKey}var c={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:i,ClientMetadata:r};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,function(t,r){if(t)return"NotAuthorizedException"===t.code&&o.clearCachedUser(),a(t,null);if(r){var n=r.AuthenticationResult;return Object.prototype.hasOwnProperty.call(n,"RefreshToken")||(n.RefreshToken=e.getToken()),o.signInUserSession=o.getCognitoUserSession(n),o.cacheTokens(),a(null,o.signInUserSession)}},n)}/** 1826 * This is used to save the session tokens to local storage 1827 * @returns {void}
1828 */,t.cacheTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",r=e+"."+this.username+".accessToken",n=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift";this.storage.setItem(t,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(r,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(n,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(o,""+this.signInUserSession.getClockDrift()),this.storage.setItem(e+".LastAuthUser",this.username)}/** 1829 * This is to cache user data 1830 */,t.cacheUserData=function(e){this.storage.setItem(this.userDataKey,JSON.stringify(e))}/** 1831 * This is to remove cached user data 1832 */,t.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},t.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()}/** 1833 * This is used to cache the device key and device group and device password 1834 * @returns {void} 1835 */,t.cacheDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username;this.storage.setItem(e+".deviceKey",this.deviceKey),this.storage.setItem(e+".randomPasswordKey",this.randomPassword),this.storage.setItem(e+".deviceGroupKey",this.deviceGroupKey)}/** 1836 * This is used to get current device key and device group and device password 1837 * @returns {void} 1838 */,t.getCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey";this.storage.getItem(t)&&(this.deviceKey=this.storage.getItem(t),this.randomPassword=this.storage.getItem(e+".randomPasswordKey"),this.deviceGroupKey=this.storage.getItem(e+".deviceGroupKey"))}/** 1839 * This is used to clear the device key info from local storage 1840 * @returns {void} 1841 */,t.clearCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username;this.storage.removeItem(e+".deviceKey"),this.storage.removeItem(e+".randomPasswordKey"),this.storage.removeItem(e+".deviceGroupKey")}/** 1842 * This is used to clear the session tokens from local storage 1843 * @returns {void} 1844 */,t.clearCachedTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",r=e+"."+this.username+".accessToken",n=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift";this.storage.removeItem(t),this.storage.removeItem(r),this.storage.removeItem(n),this.storage.removeItem(e+".LastAuthUser"),this.storage.removeItem(o)}/** 1845 * This is used to build a user session from tokens retrieved in the authentication result 1846 * @param {object} authResult Successful auth response from server. 1847 * @returns {CognitoUserSession} The new user session. 1848 * @private 1849 */,t.getCognitoUserSession=function(e){var t=new lz(e),r=new lZ(e),n=new lW(e);return new lG({IdToken:t,AccessToken:r,RefreshToken:n})}/** 1850 * This is used to initiate a forgot password request 1851 * @param {object} callback Result callback map. 1852 * @param {onFailure} callback.onFailure Called on any error. 1853 * @param {inputVerificationCode?} callback.inputVerificationCode 1854 * Optional callback raised instead of onSuccess with response data. 1855 * @param {onSuccess} callback.onSuccess Called on success. 1856 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1857 * @param {string} userAgentValue Optional string containing custom user agent value 1858 * @returns {void} 1859 */,t.forgotPassword=function(e,t,r){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.getUserContextData()&&(n.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",n,function(t,r){return t?e.onFailure(t):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(r):e.onSuccess(r)},r)}/** 1860 * This is used to confirm a new password using a confirmationCode 1861 * @param {string} confirmationCode Code entered by user. 1862 * @param {string} newPassword Confirm new password. 1863 * @param {object} callback Result callback map. 1864 * @param {onFailure} callback.onFailure Called on any error. 1865 * @param {onSuccess<void>} callback.onSuccess Called on success. 1866 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1867 * @param {string} userAgentValue Optional string containing custom user agent value 1868 * @returns {void} 1869 */,t.confirmPassword=function(e,t,r,n,o){var a={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:e,Password:t,ClientMetadata:n};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",a,function(e){return e?r.onFailure(e):r.onSuccess("SUCCESS")},o)}/** 1870 * This is used to initiate an attribute confirmation request 1871 * @param {string} attributeName User attribute that needs confirmation. 1872 * @param {object} callback Result callback map. 1873 * @param {onFailure} callback.onFailure Called on any error. 1874 * @param {inputVerificationCode} callback.inputVerificationCode Called on success. 1875 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 1876 * @param {string} userAgentValue Optional string containing custom user agent value 1877 * @returns {void} 1878 */,t.getAttributeVerificationCode=function(e,t,r,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:r},function(e,r){return e?t.onFailure(e):"function"==typeof t.inputVerificationCode?t.inputVerificationCode(r):t.onSuccess("SUCCESS")},n)}/** 1879 * This is used to confirm an attribute using a confirmation code 1880 * @param {string} attributeName Attribute being confirmed. 1881 * @param {string} confirmationCode Code entered by user. 1882 * @param {object} callback Result callback map. 1883 * @param {onFailure} callback.onFailure Called on any error. 1884 * @param {onSuccess<string>} callback.onSuccess Called on success. 1885 * @param {string} userAgentValue Optional string containing custom user agent value 1886 * @returns {void} 1887 */,t.verifyAttribute=function(e,t,r,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r.onFailure(Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:e,Code:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?r.onFailure(e):r.onSuccess("SUCCESS")},n)}/** 1888 * This is used to get the device information using the current device key 1889 * @param {object} callback Result callback map. 1890 * @param {onFailure} callback.onFailure Called on any error. 1891 * @param {onSuccess<*>} callback.onSuccess Called on success with device data. 1892 * @param {string} userAgentValue Optional string containing custom user agent value 1893 * @returns {void} 1894 */,t.getDevice=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(t,r){return t?e.onFailure(t):e.onSuccess(r)},t)}/** 1895 * This is used to forget a specific device 1896 * @param {string} deviceKey Device key. 1897 * @param {object} callback Result callback map. 1898 * @param {onFailure} callback.onFailure Called on any error. 1899 * @param {onSuccess<string>} callback.onSuccess Called on success. 1900 * @param {string} userAgentValue Optional string containing custom user agent value 1901 * @returns {void} 1902 */,t.forgetSpecificDevice=function(e,t,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:e},function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")},r)}/** 1903 * This is used to forget the current device 1904 * @param {object} callback Result callback map. 1905 * @param {onFailure} callback.onFailure Called on any error. 1906 * @param {onSuccess<string>} callback.onSuccess Called on success. 1907 * @param {string} userAgentValue Optional string containing custom user agent value 1908 * @returns {void} 1909 */,t.forgetDevice=function(e,t){var r=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:e.onFailure,onSuccess:function(t){return r.deviceKey=null,r.deviceGroupKey=null,r.randomPassword=null,r.clearCachedDeviceKeyAndPassword(),e.onSuccess(t)}},t)}/** 1910 * This is used to set the device status as remembered 1911 * @param {object} callback Result callback map. 1912 * @param {onFailure} callback.onFailure Called on any error. 1913 * @param {onSuccess<string>} callback.onSuccess Called on success. 1914 * @param {string} userAgentValue Optional string containing custom user agent value 1915 * @returns {void} 1916 */,t.setDeviceStatusRemembered=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")},t)}/** 1917 * This is used to set the device status as not remembered 1918 * @param {object} callback Result callback map. 1919 * @param {onFailure} callback.onFailure Called on any error. 1920 * @param {onSuccess<string>} callback.onSuccess Called on success. 1921 * @param {string} userAgentValue Optional string containing custom user agent value 1922 * @returns {void} 1923 */,t.setDeviceStatusNotRemembered=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")},t)}/** 1924 * This is used to list all devices for a user 1925 * 1926 * @param {int} limit the number of devices returned in a call 1927 * @param {string | null} paginationToken the pagination token in case any was returned before 1928 * @param {object} callback Result callback map. 1929 * @param {onFailure} callback.onFailure Called on any error. 1930 * @param {onSuccess<*>} callback.onSuccess Called on success with device list. 1931 * @param {string} userAgentValue Optional string containing custom user agent value 1932 * @returns {void} 1933 */,t.listDevices=function(e,t,r,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r.onFailure(Error("User is not authenticated"));var o={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:e};
1933t&&(o.PaginationToken=t),this.client.request("ListDevices",o,function(e,t){return e?r.onFailure(e):r.onSuccess(t)},n)}/** 1934 * This is used to globally revoke all tokens issued to a user 1935 * @param {object} callback Result callback map. 1936 * @param {onFailure} callback.onFailure Called on any error. 1937 * @param {onSuccess<string>} callback.onSuccess Called on success. 1938 * @param {string} userAgentValue Optional string containing custom user agent value 1939 * @returns {void} 1940 */,t.globalSignOut=function(e,t){var r=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t){return t?e.onFailure(t):(r.clearCachedUser(),e.onSuccess("SUCCESS"))},t)}/** 1941 * This is used for the user to signOut of the application and clear the cached tokens. 1942 * @param revokeTokenCallback 1943 * @param {string} userAgentValue Optional string containing custom user agent value 1944 * @returns {void} 1945 */,t.signOut=function(e,t){var r=this;// If tokens won't be revoked, we just clean the client data. 1946if(!e||"function"!=typeof e){this.cleanClientData();return}this.getSession(function(n,o){if(n)return e(n);r.revokeTokens(function(t){r.cleanClientData(),e(t)},t)})},t.revokeTokens=function(e,t){if(void 0===e&&(e=function(){}),"function"!=typeof e)throw Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession)return e(Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return e(Error("No Access token available"));var r=this.signInUserSession.getRefreshToken().getToken(),n=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(n)&&r)return this.revokeToken({token:r,callback:e},t);e()},t.isSessionRevocable=function(e){if(e&&"function"==typeof e.decodePayload)try{return!!e.decodePayload().origin_jti}catch(e){// Nothing to do, token doesnt have origin_jti claim 1947}return!1},t.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},t.revokeToken=function(e,t){var r=e.token,n=e.callback;this.client.requestWithRetry("RevokeToken",{Token:r,ClientId:this.pool.getClientId()},function(e){if(e)return n(e);n()},t)}/** 1948 * This is used by a user trying to select a given MFA 1949 * @param {string} answerChallenge the mfa the user wants 1950 * @param {nodeCallback<string>} callback Called on success or error. 1951 * @param {string} userAgentValue Optional string containing custom user agent value 1952 * @returns {void} 1953 */,t.sendMFASelectionAnswer=function(e,t,r){var n=this,o={};o.USERNAME=this.username,o.ANSWER=e;var a={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",a,function(r,o){return r?t.onFailure(r):(n.Session=o.Session,"SMS_MFA"===e)?t.mfaRequired(o.ChallengeName,o.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===e?t.totpRequired(o.ChallengeName,o.ChallengeParameters):void 0},r)}/** 1954 * This returns the user context data for advanced security feature. 1955 * @returns {string} the user context data from CognitoUserPool 1956 */,t.getUserContextData=function(){return this.pool.getUserContextData(this.username)}/** 1957 * This is used by an authenticated or a user trying to authenticate to associate a TOTP MFA 1958 * @param {nodeCallback<string>} callback Called on success or error. 1959 * @param {string} userAgentValue Optional string containing custom user agent value 1960 * @returns {void} 1961 */,t.associateSoftwareToken=function(e,t){var r=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(t,r){return t?e.onFailure(t):e.associateSecretCode(r.SecretCode)},t):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(t,n){return t?e.onFailure(t):(r.Session=n.Session,e.associateSecretCode(n.SecretCode))},t)}/** 1962 * This is used by an authenticated or a user trying to authenticate to verify a TOTP MFA 1963 * @param {string} totpCode The MFA code entered by the user. 1964 * @param {string} friendlyDeviceName The device name we are assigning to the device. 1965 * @param {nodeCallback<string>} callback Called on success or error. 1966 * @param {string} userAgentValue Optional string containing custom user agent value 1967 * @returns {void} 1968 */,t.verifySoftwareToken=function(e,t,r,n){var o=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:e,FriendlyDeviceName:t},function(e,t){return e?r.onFailure(e):r.onSuccess(t)},n):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:e,FriendlyDeviceName:t},function(e,t){if(e)return r.onFailure(e);o.Session=t.Session;var a={};a.USERNAME=o.username;var i={ChallengeName:"MFA_SETUP",ClientId:o.pool.getClientId(),ChallengeResponses:a,Session:o.Session};o.getUserContextData()&&(i.UserContextData=o.getUserContextData()),o.client.request("RespondToAuthChallenge",i,function(e,t){return e?r.onFailure(e):(o.signInUserSession=o.getCognitoUserSession(t.AuthenticationResult),o.cacheTokens(),r.onSuccess(o.signInUserSession))},n)},n)},e}();function l7(e){var t="function"==typeof Map?new Map:void 0;return(l7=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l9(e,arguments,ut(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ue(r,e)})(e)}function l9(e,t,r){return(l9=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&ue(o,r.prototype),o}:Reflect.construct.bind()).apply(null,arguments)}function ue(e,t){return(ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ut(e){return(ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ur=/*#__PURE__*/function(e){function t(t,r,n,o){var a;return(a=e.call(this,t)||this).code=r,a.name=n,a.statusCode=o,a}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ue(t,e),t}(/*#__PURE__*/l7(Error)),un=/*#__PURE__*/function(){/** 1969 * Constructs a new AWS Cognito Identity Provider client object 1970 * @param {string} region AWS region 1971 * @param {string} endpoint endpoint 1972 * @param {object} fetchOptions options for fetch API (only credentials is supported) 1973 */function e(e,t,r){this.endpoint=t||"https://cognito-idp."+e+".amazonaws.com/";var n=(r||{}).credentials;this.fetchOptions=n?{credentials:n}:{}}/** 1974 * Makes an unauthenticated request on AWS Cognito Identity Provider API 1975 * using fetch 1976 * @param {string} operation API operation 1977 * @param {object} params Input parameters 1978 * @returns Promise<object> 1979 */var t=e.prototype;return t.promisifyRequest=function(e,t,r){var n=this;return new Promise(function(o,a){n.request(e,t,function(e,t){e?a(new ur(e.message,e.code,e.name,e.statusCode)):o(t)},r)})},t.requestWithRetry=function(e,t,r,n){var o=this;(function e(t,r,n,o){if(void 0===o&&(o=1),"function"!=typeof t)throw Error("functionToRetry must be a function");return uo.debug(t.name+" attempt #"+o+" with args: "+JSON.stringify(r)),t.apply(void 0,r).catch(function(a){if
1979(uo.debug("error on "+t.name,a),a&&a.nonRetryable)throw uo.debug(t.name+" non retryable error",a),a;var i=n(o,r,a);if(uo.debug(t.name+" retrying in "+i+" ms"),!1!==i)return new Promise(function(e){return setTimeout(e,i)}).then(function(){return e(t,r,n,o+1)});throw a})})(function(t){return new Promise(function(r,a){o.request(e,t,function(e,t){e?a(e):r(t)},n)})},[t],function(e){var t=100*Math.pow(2,e)+100*Math.random();return!(t>5e3)&&t}).then(function(e){return r(null,e)}).catch(function(e){return r(e)})}/** 1980 * Makes an unauthenticated request on AWS Cognito Identity Provider API 1981 * using fetch 1982 * @param {string} operation API operation 1983 * @param {object} params Input parameters 1984 * @param {function} callback Callback called when a response is returned 1985 * @param {string} userAgentValue Optional string containing custom user agent value 1986 * @returns {void} 1987 */,t.request=function(e,t,r,n){var o,a={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":n||lX(),"Cache-Control":"no-store"},i=Object.assign({},this.fetchOptions,{headers:a,method:"POST",mode:"cors",body:JSON.stringify(t)});fetch(this.endpoint,i).then(function(e){return o=e,e},function(e){// If error happens here, the request failed 1988// if it is TypeError throw network error 1989if(e instanceof TypeError)throw Error("Network error");throw e}).then(function(e){return e.json().catch(function(){return{}})}).then(function(e){// return parsed body stream 1990if(o.ok)return r(null,e);// Taken from aws-sdk-js/lib/protocol/json.js 1991// eslint-disable-next-line no-underscore-dangle 1992var t=(e.__type||e.code).split("#").pop(),n=Error(e.message||e.Message||null);return n.name=t,n.code=t,r(n)}).catch(function(e){// first check if we have a service error 1993if(o&&o.headers&&o.headers.get("x-amzn-errortype"))try{var t=o.headers.get("x-amzn-errortype").split(":")[0],n=Error(o.status?o.status.toString():null);return n.code=t,n.name=t,n.statusCode=o.status,r(n)}catch(e){}else e instanceof Error&&"Network error"===e.message&&(e.code="NetworkError");return r(e)})},e}(),uo={debug:function(){// Intentionally blank. This package doesn't have logging 1994}},ua=/*#__PURE__*/function(){/** 1995 * Constructs a new CognitoUserPool object 1996 * @param {object} data Creation options. 1997 * @param {string} data.UserPoolId Cognito user pool id. 1998 * @param {string} data.ClientId User pool application client id. 1999 * @param {string} data.endpoint Optional custom service endpoint. 2000 * @param {object} data.fetchOptions Optional options for fetch API. 2001 * (only credentials option is supported) 2002 * @param {object} data.Storage Optional storage object. 2003 * @param {boolean} data.AdvancedSecurityDataCollectionFlag Optional: 2004 * boolean flag indicating if the data collection is enabled 2005 * to support cognito advanced security features. By default, this 2006 * flag is set to true. 2007 */function e(e,t){var r=e||{},n=r.UserPoolId,o=r.ClientId,a=r.endpoint,i=r.fetchOptions,s=r.AdvancedSecurityDataCollectionFlag;if(!n||!o)throw Error("Both UserPoolId and ClientId are required.");if(n.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(n))throw Error("Invalid UserPoolId format.");var l=n.split("_")[0];this.userPoolId=n,this.clientId=o,this.client=new un(l,a,i),/** 2008 * By default, AdvancedSecurityDataCollectionFlag is set to true, 2009 * if no input value is provided. 2010 */this.advancedSecurityDataCollectionFlag=!1!==s,this.storage=e.Storage||new l4().getStorage(),t&&(this.wrapRefreshSessionCallback=t)}/** 2011 * @returns {string} the user pool id 2012 */var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId}/** 2013 * @returns {string} the user pool name 2014 */,t.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]}/** 2015 * @returns {string} the client id 2016 */,t.getClientId=function(){return this.clientId}/** 2017 * method for signing up a user 2018 * @param {string} username User's username. 2019 * @param {string} password Plain-text initial password entered by user. 2020 * @param {(AttributeArg[])=} userAttributes New user attributes. 2021 * @param {(AttributeArg[])=} validationData Application metadata. 2022 * @param {(AttributeArg[])=} clientMetadata Client metadata. 2023 * @param {nodeCallback<SignUpResult>} callback Called on error or with the new user. 2024 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2025 * @param {string} userAgentValue Optional string containing custom user agent value 2026 * @returns {void} 2027 */,t.signUp=function(e,t,r,n,o,a,i){var s=this,l={ClientId:this.clientId,Username:e,Password:t,UserAttributes:r,ValidationData:n,ClientMetadata:a};this.getUserContextData(e)&&(l.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",l,function(t,r){if(t)return o(t,null);var n={Username:e,Pool:s,Storage:s.storage};return o(null,{user:new us(n),userConfirmed:r.UserConfirmed,userSub:r.UserSub,codeDeliveryDetails:r.CodeDeliveryDetails})},i)}/** 2028 * method for getting the current user of the application from the local storage 2029 * 2030 * @returns {CognitoUser} the user retrieved from storage 2031 */,t.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",t=this.storage.getItem(e);if(t){var r={Username:t,Pool:this,Storage:this.storage};return new us(r)}return null}/**
2032 * This method returns the encoded data string used for cognito advanced security feature. 2033 * This would be generated only when developer has included the JS used for collecting the 2034 * data on their client. Please refer to documentation to know more about using AdvancedSecurity 2035 * features 2036 * @param {string} username the username for the context data 2037 * @returns {string} the user context data 2038 **/,t.getUserContextData=function(e){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){/* eslint-disable */var t=AmazonCognitoAdvancedSecurityData;/* eslint-enable */if(this.advancedSecurityDataCollectionFlag){var r=t.getData(e,this.userPoolId,this.clientId);if(r)return{EncodedData:r}}return{}}},e}();function ui(e,t){return(ui=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/** 2039 * @callback nodeCallback 2040 * @template T result 2041 * @param {*} err The operation failure reason, or null. 2042 * @param {T} result The operation result. 2043 *//** 2044 * @callback onFailure 2045 * @param {*} err Failure reason. 2046 *//** 2047 * @callback onSuccess 2048 * @template T result 2049 * @param {T} result The operation result. 2050 *//** 2051 * @callback mfaRequired 2052 * @param {*} details MFA challenge details. 2053 *//** 2054 * @callback customChallenge 2055 * @param {*} details Custom challenge details. 2056 *//** 2057 * @callback inputVerificationCode 2058 * @param {*} data Server response. 2059 *//** 2060 * @callback authSuccess 2061 * @param {CognitoUserSession} session The new session. 2062 * @param {bool=} userConfirmationNecessary User must be confirmed. 2063 *//** @class */var us=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ui(t,e);var r=t.prototype;return(/** 2064 * This is used for authenticating the user through the custom authentication flow. 2065 * @param {AuthenticationDetails} authDetails Contains the authentication data 2066 * @param {object} callback Result callback map. 2067 * @param {onFailure} callback.onFailure Called on any error. 2068 * @param {customChallenge} callback.customChallenge Custom challenge 2069 * response required to continue. 2070 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2071 * @returns {void} 2072 */r.initiateAuth=function(t,r){e.prototype.initiateAuth.call(this,t,r)}/** 2073 * This is used for authenticating the user. 2074 * stuff 2075 * @param {AuthenticationDetails} authDetails Contains the authentication data 2076 * @param {object} callback Result callback map. 2077 * @param {onFailure} callback.onFailure Called on any error. 2078 * @param {newPasswordRequired} callback.newPasswordRequired new 2079 * password and any required attributes are required to continue 2080 * @param {mfaRequired} callback.mfaRequired MFA code 2081 * required to continue. 2082 * @param {customChallenge} callback.customChallenge Custom challenge 2083 * response required to continue. 2084 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2085 * @returns {void} 2086 */,r.authenticateUser=function(t,r){e.prototype.authenticateUser.call(this,t,r)}/** 2087 * This method is user to complete the NEW_PASSWORD_REQUIRED challenge. 2088 * Pass the new password with any new user attributes to be updated. 2089 * User attribute keys must be of format userAttributes.<attribute_name>. 2090 * @param {string} newPassword new password for this user 2091 * @param {object} requiredAttributeData map with values for all required attributes 2092 * @param {object} callback Result callback map. 2093 * @param {onFailure} callback.onFailure Called on any error. 2094 * @param {mfaRequired} callback.mfaRequired MFA code required to continue. 2095 * @param {customChallenge} callback.customChallenge Custom challenge 2096 * response required to continue. 2097 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2098 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2099 * @returns {void} 2100 */,r.completeNewPasswordChallenge=function(t,r,n,o){e.prototype.completeNewPasswordChallenge.call(this,t,r,n,o)}/** 2101 * This is used to get a session using device authentication. It is called at the end of user 2102 * authentication 2103 * 2104 * @param {object} callback Result callback map. 2105 * @param {onFailure} callback.onFailure Called on any error. 2106 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2107 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2108 * @returns {void} 2109 * @private 2110 */,r.getDeviceResponse=function(t,r){e.prototype.getDeviceResponse.call(this,t,r)}/** 2111 * This is used for a certain user to confirm the registration by using a confirmation code 2112 * @param {string} confirmationCode Code entered by user. 2113 * @param {bool} forceAliasCreation Allow migrating from an existing email / phone number. 2114 * @param {nodeCallback<string>} callback Called on success or error. 2115 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2116 * @returns {void} 2117 */,r.confirmRegistration=function(t,r,n,o){e.prototype.confirmRegistration.call(this,t,r,n,o)}/** 2118 * This is used by the user once he has the responses to a custom challenge 2119 * @param {string} answerChallenge The custom challenge answer. 2120 * @param {object} callback Result callback map. 2121 * @param {onFailure} callback.onFailure Called on any error. 2122 * @param {customChallenge} callback.customChallenge 2123 * Custom challenge response required to continue. 2124 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2125 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2126 * @returns {void} 2127 */,r.sendCustomChallengeAnswer=function(t,r,n){e.prototype.sendCustomChallengeAnswer.call(this,t,r,n)}/** 2128 * This is used by the user once he has an MFA code 2129 * @param {string} confirmationCode The MFA code entered by the user. 2130 * @param {object} callback Result callback map. 2131 * @param {string} mfaType The mfa we are replying to. 2132 * @param {onFailure} callback.onFailure Called on any error. 2133 * @param {authSuccess} callback.onSuccess Called on success with the new session. 2134 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2135 * @returns {void} 2136 */,r.sendMFACode=function(t,r,n,o){e.prototype.sendMFACode.call(this,t,r,n,o)}/** 2137 * This is used by an authenticated user to change the current password 2138 * @param {string} oldUserPassword The current password. 2139 * @param {string} newUserPassword The requested new password. 2140 * @param {nodeCallback<string>} callback Called on success or error. 2141 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2142 * @returns {void} 2143 */,r.changePassword=function(t,r,n,o){e.prototype.changePassword.call(this,t,r,n,o)}/** 2144 * This is used by an authenticated user to enable MFA for itself 2145 * @deprecated 2146 * @param {nodeCallback<string>} callback Called on success or error. 2147 * @returns {void} 2148 */,r.enableMFA=function(t){e.prototype.enableMFA.call(this,t)}/** 2149 * This is used by an authenticated user to enable MFA for itself 2150 * @param {IMfaSettings} smsMfaSettings the sms mfa settings 2151 * @param {IMFASettings}
2151 softwareTokenMfaSettings the software token mfa settings 2152 * @param {nodeCallback<string>} callback Called on success or error. 2153 * @returns {void} 2154 */,r.setUserMfaPreference=function(t,r,n){e.prototype.setUserMfaPreference.call(this,t,r,n)}/** 2155 * This is used by an authenticated user to disable MFA for itself 2156 * @deprecated 2157 * @param {nodeCallback<string>} callback Called on success or error. 2158 * @returns {void} 2159 */,r.disableMFA=function(t){e.prototype.disableMFA.call(this,t)}/** 2160 * This is used by an authenticated user to delete itself 2161 * @param {nodeCallback<string>} callback Called on success or error. 2162 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2163 * @returns {void} 2164 */,r.deleteUser=function(t,r){e.prototype.deleteUser.call(this,t,r)}/** 2165 * This is used by an authenticated user to change a list of attributes 2166 * @param {AttributeArg[]} attributes A list of the new user attributes. 2167 * @param {nodeCallback<string>} callback Called on success or error. 2168 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2169 * @returns {void} 2170 */,r.updateAttributes=function(t,r,n){e.prototype.updateAttributes.call(this,t,r,n)}/** 2171 * This is used by an authenticated user to get a list of attributes 2172 * @param {nodeCallback<CognitoUserAttribute[]>} callback Called on success or error. 2173 * @returns {void} 2174 */,r.getUserAttributes=function(t){e.prototype.getUserAttributes.call(this,t)}/** 2175 * This was previously used by an authenticated user to get MFAOptions, 2176 * but no longer returns a meaningful response. Refer to the documentation for 2177 * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js 2178 * @deprecated 2179 * @param {nodeCallback<MFAOptions>} callback Called on success or error. 2180 * @returns {void} 2181 */,r.getMFAOptions=function(t){e.prototype.getMFAOptions.call(this,t)}/** 2182 * This is used by an authenticated users to get the userData 2183 * @param {nodeCallback<UserData>} callback Called on success or error. 2184 * @param {GetUserDataOptions} params 2185 * @returns {void} 2186 */,r.getUserData=function(t,r){e.prototype.getUserData.call(this,t,r)}/** 2187 * This is used by an authenticated user to delete a list of attributes 2188 * @param {string[]} attributeList Names of the attributes to delete. 2189 * @param {nodeCallback<string>} callback Called on success or error. 2190 * @returns {void} 2191 */,r.deleteAttributes=function(t,r){e.prototype.deleteAttributes.call(this,t,r)}/** 2192 * This is used by a user to resend a confirmation code 2193 * @param {nodeCallback<string>} callback Called on success or error. 2194 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2195 * @returns {void} 2196 */,r.resendConfirmationCode=function(t,r){e.prototype.resendConfirmationCode.call(this,t,r)}/** 2197 * This is used to get a session, either from the session object 2198 * or from the local storage, or by using a refresh token 2199 * 2200 * @param {nodeCallback<CognitoUserSession>} callback Called on success or error. 2201 * @param {GetSessionOptions} options 2202 * @returns {void} 2203 */,r.getSession=function(t,r){void 0===r&&(r={}),e.prototype.getSession.call(this,t,r)}/** 2204 * This uses the refreshToken to retrieve a new session 2205 * @param {CognitoRefreshToken} refreshToken A previous session's refresh token. 2206 * @param {nodeCallback<CognitoUserSession>} callback Called on success or error. 2207 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2208 * @returns {void} 2209 */,r.refreshSession=function(t,r,n){e.prototype.refreshSession.call(this,t,r,n)}/** 2210 * This is used to initiate a forgot password request 2211 * @param {object} callback Result callback map. 2212 * @param {onFailure} callback.onFailure Called on any error. 2213 * @param {inputVerificationCode?} callback.inputVerificationCode 2214 * Optional callback raised instead of onSuccess with response data. 2215 * @param {onSuccess} callback.onSuccess Called on success. 2216 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2217 * @returns {void} 2218 */,r.forgotPassword=function(t,r){e.prototype.forgotPassword.call(this,t,r)}/** 2219 * This is used to confirm a new password using a confirmationCode 2220 * @param {string} confirmationCode Code entered by user. 2221 * @param {string} newPassword Confirm new password. 2222 * @param {object} callback Result callback map. 2223 * @param {onFailure} callback.onFailure Called on any error. 2224 * @param {onSuccess<void>} callback.onSuccess Called on success. 2225 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2226 * @returns {void} 2227 */,r.confirmPassword=function(t,r,n,o){e.prototype.confirmPassword.call(this,t,r,n,o)}/** 2228 * This is used to initiate an attribute confirmation request 2229 * @param {string} attributeName User attribute that needs confirmation. 2230 * @param {object} callback Result callback map. 2231 * @param {onFailure} callback.onFailure Called on any error. 2232 * @param {inputVerificationCode} callback.inputVerificationCode Called on success. 2233 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2234 * @returns {void} 2235 */,r.getAttributeVerificationCode=function(t,r,n){e.prototype.getAttributeVerificationCode.call(this,t,r,n)}/** 2236 * This is used to confirm an attribute using a confirmation code 2237 * @param {string} attributeName Attribute being confirmed. 2238 * @param {string} confirmationCode Code entered by user. 2239 * @param {object} callback Result callback map. 2240 * @param {onFailure} callback.onFailure Called on any error. 2241 * @param {onSuccess<string>} callback.onSuccess Called on success. 2242 * @returns {void} 2243 */,r.verifyAttribute=function(t,r,n){e.prototype.verifyAttribute.call(this,t,r,n)}/** 2244 * This is used to get the device information using the current device key 2245 * @param {object} callback Result callback map. 2246 * @param {onFailure} callback.onFailure Called on any error. 2247 * @param {onSuccess<*>} callback.onSuccess Called on success with device data. 2248 * @returns {void} 2249 */,r.getDevice=function(t){e.prototype.getDevice.call(this,t)}/** 2250 * This is used to forget a specific device 2251 * @param {string} deviceKey Device key. 2252 * @param {object} callback Result callback map. 2253 * @param {onFailure} callback.onFailure Called on any error. 2254 * @param {onSuccess<string>} callback.onSuccess Called on success. 2255 * @returns {void} 2256 */,r.forgetSpecificDevice=function(t,r){e.prototype.forgetSpecificDevice.call(this,t,r)}/** 2257 * This is used to forget the current device 2258 * @param {object} callback Result callback map. 2259 * @param {onFailure} callback.onFailure Called on any error. 2260 * @param {onSuccess<string>} callback.onSuccess Called on success. 2261 * @returns {void} 2262 */,r.forgetDevice=function(t){e.prototype.forgetDevice.call(this,t)}/** 2263 * This is used to set the device status as remembered 2264 * @param {object} callback Result callback map. 2265 * @param {onFailure} callback.onFailure Called on any error. 2266 * @param {onSuccess<string>} callback.onSuccess Called on success. 2267 * @returns {void} 2268 */,r.setDeviceStatusRemembered=function(t){e.prototype.setDeviceStatusRemembered.call(this,t)}/** 2269 * This is used to set the device status as not remembered 2270 * @param {object} callback Result callback map. 2271 * @param {onFailure} callback.onFailure Called on any error. 2272 * @param {onSuccess<string>} callback.onSuccess Called on success. 2273 * @returns {void} 2274 */,r.setDeviceStatusNotRemembered=function(t){e.prototype.setDeviceStatusNotRemembered.call(this,t)}/** 2275 * This is used to list all devices for a user 2276 * 2277 * @param {int} limit the number of devices returned in a call 2278 * @param {string | null} paginationToken the pagination token in case any was returned before 2279 * @param {object} callback Result callback map. 2280 * @param {onFailure} callback.onFailure Called on any error. 2281 * @param {onSuccess<*>} callback.onSuccess Called on success with device list. 2282 * @returns {void} 2283 */,r.listDevices=function(t,r,n){e.prototype.listDevices.call(this,t,r,n)}/** 2284 * This is used to globally revoke all tokens issued to a user 2285 * @param {object} callback Result callback map. 2286 * @param {onFailure} callback.onFailure Called on any error. 2287 * @param {onSuccess<string>} callback.onSuccess Called on success. 2288 * @returns {void} 2289 */,r.globalSignOut=function(t){e.prototype.globalSignOut.call(this,t)}/** 2290 * This is used for the user to signOut of the application and clear the cached tokens. 2291 * @returns {void} 2292 */,r.signOut=function(t){e.prototype.signOut.call(this,t)},r.revokeTokens=function(t){void 0===t&&(t=function(){}),e.prototype.revokeTokens.call(this,t)},r.revokeToken=function(t){var r=t.token,n=t.callback;e.prototype.revokeToken.call(this,{token:r,callback:n})}/** 2293 * This is used by a user trying to select a given MFA 2294 * @param {string} answerChallenge the mfa the user wants 2295 * @param {nodeCallback<string>} callback Called on success or error. 2296 * @returns {void} 2297 */,r.sendMFASelectionAnswer=function(t,r){e.prototype.sendMFASelectionAnswer.call(this,t,r)}/** 2298 * This is used by an authenticated or a user trying to authenticate to associate a TOTP MFA 2299 * @param {nodeCallback<string>} callback Called on success or error. 2300 * @returns {void} 2301 */,r.associateSoftwareToken=function(t){e.prototype.associateSoftwareToken.call(this,t)}/** 2302 * This is used by an authenticated or a user trying to authenticate to verify a TOTP MFA 2303 * @param {string} totpCode The MFA code entered by the user. 2304 * @param {string} friendlyDeviceName The device name we are assigning to the device. 2305 * @param {nodeCallback<string>} callback Called on success or error. 2306 * @returns {void} 2307 */,r.verifySoftwareToken=function(t,r,n){e.prototype.verifySoftwareToken.call(this,t,r,n)},t)}(l5);function ul(e,t){return(ul=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}/** @class */var uu=/*#__PURE__*/function(e){function t(){return e.apply(this,arguments)||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ul(t,e),/** 2308 * @typedef {object} SignUpResult 2309 * @property {CognitoUser} user New user. 2310 * @property {bool} userConfirmed If the user is already confirmed. 2311 *//** 2312 * method for signing up a user 2313 * @param {string} username User's username. 2314 * @param {string} password Plain-text initial password entered by user. 2315 * @param {(AttributeArg[])=} userAttributes New user attributes. 2316 * @param {(AttributeArg[])=} validationData Application metadata. 2317 * @param {(AttributeArg[])=} clientMetadata Client metadata. 2318 * @param {nodeCallback<SignUpResult>} callback Called on error or with the new user. 2319 * @param {ClientMetadata} clientMetadata object which is passed from client to Cognito Lambda trigger 2320 * @returns {void} 2321 */t.prototype.signUp=function(t,r,n,o,a,i){return e.prototype.signUp.call(this,t,r,n,o,a,i)},t}(ua),uc={};m=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
2321)+/g,decodeURIComponent)}return function r(n){function o(){}function a(t,r,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},o.defaults,a)).expires&&(a.expires=new Date(new Date*1+864e5*a.expires)),// We're using "expires" because "max-age" is not supported by IE 2322a.expires=a.expires?a.expires.toUTCString():"";try{var i=JSON.stringify(r);/^[\{\[]/.test(i)&&(r=i)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in a)a[l]&&(s+="; "+l,!0!==a[l]&&// Considers RFC 6265 section 5.2: 2323// ... 2324// 3. If the remaining unparsed-attributes contains a %x3B (";") 2325// character: 2326// Consume the characters of the unparsed-attributes up to, 2327// not including, the first %x3B (";") character. 2328// ... 2329(s+="="+a[l].split(";")[0]));return document.cookie=t+"="+r+s}}function i(e,r){if("undefined"!=typeof document){for(var o={},a=document.cookie?document.cookie.split("; "):[],i=0;i<a.length;i++){var s=a[i].split("="),l=s.slice(1).join("=");r||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(s[0]);if(l=(n.read||n)(l,u)||t(l),r)try{l=JSON.parse(l)}catch(e){}if(o[u]=l,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=a,o.get=function(e){return i(e,!1)},o.getJSON=function(e){return i(e,!0)},o.remove=function(t,r){a(t,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}(function(){})},"function"==typeof define&&define.amd&&define(m),uc=m();/** @class */var ud=/*#__PURE__*/function(){/** 2330 * Constructs a new CookieStorage object 2331 * @param {object} data Creation options. 2332 * @param {string} data.domain Cookies domain (default: domain of the page 2333 * where the cookie was created, excluding subdomains) 2334 * @param {string} data.path Cookies path (default: '/') 2335 * @param {integer} data.expires Cookie expiration (in days, default: 365) 2336 * @param {boolean} data.secure Cookie secure flag (default: true) 2337 * @param {string} data.sameSite Cookie request behavior (default: null) 2338 */function e(e){if(void 0===e&&(e={}),e.domain&&(this.domain=e.domain),e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}/** 2339 * This is used to set a specific item in storage 2340 * @param {string} key - the key for the item 2341 * @param {object} value - the value 2342 * @returns {string} value that was set 2343 */var t=e.prototype;return t.setItem=function(e,t){var r={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(r.sameSite=this.sameSite),uc.set(e,t,r),uc.get(e)}/** 2344 * This is used to get a specific key from storage 2345 * @param {string} key - the key for the item 2346 * This is used to clear the storage 2347 * @returns {string} the data item 2348 */,t.getItem=function(e){return uc.get(e)}/** 2349 * This is used to remove an item from storage 2350 * @param {string} key - the key being set 2351 * @returns {string} value - value that was deleted 2352 */,t.removeItem=function(e){var t={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(t.sameSite=this.sameSite),uc.remove(e,t)}/** 2353 * This is used to clear the storage of optional 2354 * items that were previously set 2355 * @returns {} an empty object 2356 */,t.clear=function(){for(var e=uc.get(),t=Object.keys(e).length,r=0;r<t;++r)this.removeItem(Object.keys(e)[r]);return{}},e}(),uf=tB("dNdRi"),up={};function uh(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}up={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}},eF=uk;// Reference: RFC 3986, RFC 1808, RFC 2396 2357// define these here so at least they only have to be 2358// compiled once on the first module load. 2359var um=/^([a-z0-9.+-]+:)/i,ug=/:[0-9]*$/,uv=/^(\/\/?(?!\/)[^\?\s]
2359*)(\?[^\s]*)?$/,uy=["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "])),// Note that any invalid chars are also handled, but these 2360// are the ones that are *expected* to be seen, so we fast-path 2361// them. 2362ub=["%","/","?",";","#"].concat(uy),uw=["/","?","#"],uS=/^[+a-z0-9A-Z_-]{0,63}$/,ux=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,uE={javascript:!0,"javascript:":!0},uC={javascript:!0,"javascript:":!0},uA={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function uk(e,t,r){if(e&&up.isObject(e)&&e instanceof uh)return e;var n=new uh;return n.parse(e,t,r),n}eR=tB("kzGqM"),eU=tB("kWD7b"),uh.prototype.parse=function(e,t,r){if(!up.isString(e))throw TypeError("Parameter 'url' must be a string, not "+typeof e);// Copy chrome, IE, opera backslash-handling behavior. 2363// Back slashes before the query string get converted to forward slashes 2364// See: https://code.google.com/p/chromium/issues/detail?id=25916 2365var n=e.indexOf("?"),o=-1!==n&&n<e.indexOf("#")?"?":"#",a=e.split(o);a[0]=a[0].replace(/\\/g,"/");var i=e=a.join(o);if(// trim before proceeding. 2366// This is to support parse stuff like " http://foo.com \n" 2367i=i.trim(),!r&&1===e.split("#").length){// Try fast path regexp 2368var s=uv.exec(i);if(s)return this.path=i,this.href=i,this.pathname=s[1],s[2]?(this.search=s[2],t?this.query=eR(this.search.substr(1)):this.query=this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=um.exec(i);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,i=i.substr(l.length)}// figure out if it's got a host 2369// user@server is *always* interpreted as a hostname, and url 2370// resolution will treat //foo/bar as host=foo,path=bar because that's 2371// how the browser resolves relative URLs. 2372if(r||l||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var c="//"===i.substr(0,2);c&&!(l&&uC[l])&&(i=i.substr(2),this.slashes=!0)}if(!uC[l]&&(c||l&&!uA[l])){for(var d,f,p=-1,h=0;h<uw.length;h++){var m=i.indexOf(uw[h]);-1!==m&&(-1===p||m<p)&&(p=m)}-1!==(f=-1===p?i.lastIndexOf("@"):i.lastIndexOf("@",p))&&(d=i.slice(0,f),i=i.slice(f+1),this.auth=decodeURIComponent(d)),// the host is the remaining to the left of the first non-host char 2373p=-1;for(var h=0;h<ub.length;h++){var m=i.indexOf(ub[h]);-1!==m&&(-1===p||m<p)&&(p=m)}-1===p&&(p=i.length),this.host=i.slice(0,p),i=i.slice(p),// pull out port. 2374this.parseHost(),// we've indicated that there is a hostname, 2375// so even if it's empty, it has to be present. 2376this.hostname=this.hostname||"";// if hostname begins with [ and ends with ] 2377// assume that it's an IPv6 address. 2378var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];// validate a little. 2379if(!g)for(var v=this.hostname.split(/\./),h=0,y=v.length;h<y;h++){var b=v[h];if(b&&!b.match(uS)){for(var w="",S=0,x=b.length;S<x;S++)b.charCodeAt(S)>127?// we need this to make sure size of hostname is not 2380// broken by replacing non-ASCII by nothing 2381w+="x":w+=b[S];// we test again with ASCII char only 2382if(!w.match(uS)){var E=v.slice(0,h),C=v.slice(h+1),A=b.match(ux);A&&(E.push(A[1]),C.unshift(A[2])),C.length&&(i="/"+C.join(".")+i),this.hostname=E.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||// It only converts parts of the domain name that 2383// have non-ASCII characters, i.e. it doesn't matter if 2384// you call it with a domain that already is ASCII-only. 2385(this.hostname=uf.toASCII(this.hostname));var k=this.port?":"+this.port:"",_=this.hostname||"";this.host=_+k,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}// now rest is set to the post-host stuff. 2386// chop off any delim chars. 2387if(!uE[u])// escaped, even if encodeURIComponent doesn't think they 2388// need to be. 2389for(var h=0,y=uy.length;h<y;h++){var I=uy[h];if(-1!==i.indexOf(I)){var T=encodeURIComponent(I);T===I&&(T=escape(I)),i=i.split(I).join(T)}}// chop off from the tail first. 2390var P=i.indexOf("#");-1!==P&&(// got a fragment string. 2391this.hash=i.substr(P),i=i.slice(0,P));var N=i.indexOf("?");//to support http.request 2392if(-1!==N?(this.search=i.substr(N),this.query=i.substr(N+1),t&&(this.query=eR(this.query)),i=i.slice(0,N)
2392):t&&(// no query string, but parseQueryString still requested 2393this.search="",this.query={}),i&&(this.pathname=i),uA[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var k=this.pathname||"",O=this.search||"";this.path=k+O}return(// finally, reconstruct the href based on what has been validated. 2394this.href=this.format(),this)},uh.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":")+"@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&up.isObject(this.query)&&Object.keys(this.query).length&&(a=eU(this.query));var i=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||uA[t])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),i&&"?"!==i.charAt(0)&&(i="?"+i),t+o+(r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(i=i.replace("#","%23"))+n},uh.prototype.resolve=function(e){return this.resolveObject(uk(e,!1,!0)).format()},uh.prototype.resolveObject=function(e){if(up.isString(e)){var t=new uh;t.parse(e,!1,!0),e=t}for(var r=new uh,n=Object.keys(this),o=0;o<n.length;o++){var a=n[o];r[a]=this[a]}// if the relative url is empty, then there's nothing left to do here. 2395if(// hash is always overridden, no matter what. 2396// even href="" will remove it. 2397r.hash=e.hash,""===e.href)return r.href=r.format(),r;// hrefs like //foo/bar always cut to the protocol. 2398if(e.slashes&&!e.protocol){for(var i=Object.keys(e),s=0;s<i.length;s++){var l=i[s];"protocol"!==l&&(r[l]=e[l])}return uA[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){// if it's a known url protocol, then changing 2399// the protocol does weird things 2400// first, if it's not file:, then we MUST have a host, 2401// and if there was a path 2402// to begin with, then we MUST have a path. 2403// if it is file:, then the host is dropped, 2404// because that's known to be hostless. 2405// anything else is assumed to be absolute. 2406if(!uA[e.protocol]){for(var u=Object.keys(e),c=0;c<u.length;c++){var d=u[c];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||uC[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}// to support http.request 2407if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",h=r.search||"";r.path=p+h}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=g||m||r.host&&e.pathname,y=v,b=r.pathname&&r.pathname.split("/")||[],f=e.pathname&&e.pathname.split("/")||[],w=r.protocol&&!uA[r.protocol];if(w&&(r.hostname="",r.port=null,r.host&&(""===b[0]?b[0]=r.host:b.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),v=v&&(""===f[0]||""===b[0])),g)// it's absolute. 2408r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,b=f;else if(f.length)b||(b=[]),b.pop(),b=b.concat(f),r.search=e.search,r.query=e.query;else if(!up.isNullOrUndefined(e.search)){// just pull out the search. 2409// like href='?foo'. 2410// Put this after the other two cases because it simplifies the booleans 2411if(w){r.hostname=r.host=b.shift();//occationaly the auth can get stuck only in host 2412//this especially happens in cases like 2413//url.resolveObject('mailto:local1@domain1', 'local2@domain2') 2414var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=e.search,r.query=e.query,up.isNull(r.pathname)&&up.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!b.length)return(// no path at all. easy. 2415// we've already handled the other stuff above. 2416r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r);for(var x=b.slice(-1)[0],E=(r.host||e.host||b.length>1)&&("."===x||".."===x)||""===x,C=0,A=b.length;A>=0;A--)"."===(x=b[A])?b.splice(A,1):".."===x?(b.splice(A,1),C++):C&&(b.splice(A,1),C--);// if the path is allowed to go above the root, restore leading ..s 2417if(!v&&!y)for(;C--;C)b.unshift("..");v&&""!==b[0]&&(!b[0]||"/"!==b[0].charAt(0))&&b.unshift(""),E&&"/"!==b.join("/").substr(-1)&&b.push("");var k=""===b[0]||b[0]&&"/"===b[0].charAt(0);// put the host back 2418if(w){r.hostname=r.host=k?"":b.length?b.shift():"";//occationaly the auth can get stuck only in host 2419//this especially happens in cases like 2420//url.resolveObject('mailto:local1@domain1', 'local2@domain2') 2421var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return(v=v||r.host&&b.length)&&!k&&b.unshift(""),b.length?r.pathname=b.join("/"):(r.pathname=null,r.path=null),up.isNull(r.pathname)&&up.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},uh.prototype.parseHost=function(){var e=this.host,t=ug.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var u_=function(e){var t=window.open(e,"_self");
2421return t?Promise.resolve(t):Promise.reject()},uI=function(e){window.sessionStorage.setItem("oauth_state",e)},uT=function(){var e=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),e},uP=function(e){window.sessionStorage.setItem("ouath_pkce_key",e)},uN=function(){var e=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),e},s5=tB("kuxul"),s7=tB("9NvM5");function uO(){return uj.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function uM(e,t){if(uO()<t)throw RangeError("Invalid typed array length");return uj.TYPED_ARRAY_SUPPORT?// Return an augmented `Uint8Array` instance, for best performance 2422(e=new Uint8Array(t)).__proto__=uj.prototype:(null===e&&(e=new uj(t)),e.length=t),e}/** 2423 * The Buffer constructor returns instances of `Uint8Array` that have their 2424 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of 2425 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods 2426 * and the `Uint8Array` methods. Square bracket notation works as expected -- it 2427 * returns a single octet. 2428 * 2429 * The `Uint8Array` prototype remains unmodified. 2430 */function uj(e,t,r){if(!uj.TYPED_ARRAY_SUPPORT&&!(this instanceof uj))return new uj(e,t,r);// Common case. 2431if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return uU(this,e)}return uF(this,e,t,r)}function uF(e,t,r,n){if("number"==typeof t)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength// this throws if `array` is not a valid ArrayBuffer 2432,r<0||t.byteLength<r)throw RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),uj.TYPED_ARRAY_SUPPORT?// Return an augmented `Uint8Array` instance, for best performance 2433(e=t).__proto__=uj.prototype:e=uL(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!uj.isEncoding(r))throw TypeError('"encoding" must be a valid string encoding');var n=0|uV(t,r),o=(e=uM(e,n)).write(t,r);return o!==n&&// cause everything after the first invalid character to be ignored. (e.g. 2434// 'abxxcd' will be treated as 'ab') 2435(e=e.slice(0,o)),e}(e,t,r):function(e,t){if(uj.isBuffer(t)){var r,n=0|uD(t.length);return 0===(e=uM(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r// eslint-disable-line no-self-compare 2436?uM(e,0):uL(e,t);if("Buffer"===t.type&&s9(t.data))return uL(e,t.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function uR(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function uU(e,t){if(uR(t),e=uM(e,t<0?0:0|uD(t)),!uj.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function uL(e,t){var r=t.length<0?0:0|uD(t.length);e=uM(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function uD(e){// Note: cannot use `length < kMaxLength()` here because that fails when 2437// length is NaN (which is otherwise coerced to zero.) 2438if(e>=uO())throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+uO().toString(16)+" bytes");return 0|e}function uV(e,t){if(uj.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(// Use a for loop to avoid recursion 2439var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return u0(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return u2(e).length;default:if(n)return u0(e).length// assume utf8 2440;t=(""+t).toLowerCase(),n=!0}}function uH(e,t,r){var n,o,a=!1;// Return early if start > this.length. Done here to prevent potential uint32 2441// coercion fail below. 2442if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||// Force coersion to uint32. This will also coerce falsey/NaN values to 0. 2443(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n,o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var a="",i=t;i<r;++i)a+=(n=e[i])<16?"0"+n.toString(16):n.toString(16);return a}(this,t,r);case"utf8":case"utf-8":return uW(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return n=t,o=r,0===n&&o===this.length?s5.fromByteArray(this):s5.fromByteArray(this.slice(n,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function uZ(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, 2444// OR the last index of `val` in `buffer` at offset <= `byteOffset`. 2445// 2446// Arguments: 2447// - buffer - a Buffer to search 2448// - val - a string, Buffer, or number 2449// - byteOffset - an index into `buffer`; will be clamped to an int32 2450// - encoding - an optional encoding, relevant is val is a string 2451// - dir - true for indexOf, false for lastIndexOf 2452function uB(e,t,r,n,o){// Empty buffer means no match 2453if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),isNaN(r=+r// Coerce to Number. 2454)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}
2454else if(r<0){if(!o)return -1;r=0}// Finally, search either indexOf (if dir is true) or lastIndexOf 2455if("string"==typeof t&&(t=uj.from(t,n)),uj.isBuffer(t))return(// Special case: looking for empty string/buffer always fails 24560===t.length?-1:uz(e,t,r,n,o));if("number"==typeof t)return(t&=255// Search for a byte value [0-255] 2457,uj.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):uz(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function uz(e,t,r,n,o){var a,i=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;i=2,s/=2,l/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*i}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(u(e,a+f)!==u(t,f)){d=!1;break}if(d)return a}return -1}function uW(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var a,i,s,l,u=e[o],c=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[o+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[o+1],i=e[o+2],(192&a)==128&&(192&i)==128&&(l=(15&u)<<12|(63&a)<<6|63&i)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[o+1],i=e[o+2],s=e[o+3],(192&a)==128&&(192&i)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(// we did not generate a valid codePoint so insert a 2458// replacement char (U+FFFD) and advance only 1 byte 2459c=65533,d=1):c>65535&&(// encode to utf16 (surrogate pair dance) 2460c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e)// avoid extra slice() 2461;for(// Decode in chunks to avoid "call stack size exceeded". 2462var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}/* 2463 * Need to make sure that buffer isn't trying to write out of bounds. 2464 */function uG(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function uq(e,t,r,n,o,a){if(!uj.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function uY(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-r,2);o<a;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>(n?o:1-o)*8}function u$(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-r,4);o<a;++o)e[r+o]=t>>>(n?o:3-o)*8&255}function uK(e,t,r,n,o,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function uJ(e,t,r,n,o){return o||uK(e,t,r,4,34028234663852886e22,-34028234663852886e22),s7.write(e,t,r,n,23,4),r+4}function uQ(e,t,r,n,o){return o||uK(e,t,r,8,17976931348623157e292,-17976931348623157e292),s7.write(e,t,r,n,52,8),r+8}/** 2465 * If `Buffer.TYPED_ARRAY_SUPPORT`: 2466 * === true Use Uint8Array implementation (fastest) 2467 * === false Use Object implementation (most compatible, even IE6) 2468 * 2469 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, 2470 * Opera 11.6+, iOS 4.2+. 2471 * 2472 * Due to various browser bugs, sometimes the Object implementation will be used even 2473 * when the browser supports typed arrays. 2474 *
2475 * Note: 2476 * 2477 * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances, 2478 * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438. 2479 * 2480 * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function. 2481 * 2482 * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of 2483 * incorrect length in some situations. 2484 2485 * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they 2486 * get the Object implementation, which is slower but behaves correctly. 2487 */uj.TYPED_ARRAY_SUPPORT=void 0!==tD.TYPED_ARRAY_SUPPORT?tD.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&// typed array instances can be augmented 2488"function"==typeof e.subarray&&// chrome 9-10 lack `subarray` 24890// ie10 has broken `subarray` 2490===e.subarray(1,1).byteLength}catch(e){return!1}}(),uO(),uj.poolSize=8192// not used by this implementation 2491,// TODO: Legacy, not needed anymore. Remove in next major version. 2492uj._augment=function(e){return e.__proto__=uj.prototype,e},/** 2493 * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError 2494 * if value is a number. 2495 * Buffer.from(str[, encoding]) 2496 * Buffer.from(array) 2497 * Buffer.from(buffer) 2498 * Buffer.from(arrayBuffer[, byteOffset[, length]]) 2499 **/uj.from=function(e,t,r){return uF(null,e,t,r)},uj.TYPED_ARRAY_SUPPORT&&(uj.prototype.__proto__=Uint8Array.prototype,uj.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&uj[Symbol.species]===uj&&Object.defineProperty(uj,Symbol.species,{value:null,configurable:!0})),/** 2500 * Creates a new filled Buffer instance. 2501 * alloc(size[, fill[, encoding]]) 2502 **/uj.alloc=function(e,t,r){return(uR(e),e<=0)?uM(null,e):void 0!==t?"string"==typeof r?uM(null,e).fill(t,r):uM(null,e).fill(t):uM(null,e)},/** 2503 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. 2504 * */uj.allocUnsafe=function(e){return uU(null,e)},/** 2505 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. 2506 */uj.allocUnsafeSlow=function(e){return uU(null,e)},uj.isBuffer=function(e){return!!(null!=e&&e._isBuffer)},uj.compare=function(e,t){if(!uj.isBuffer(e)||!uj.isBuffer(t))throw TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o<a;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},uj.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},uj.concat=function(e,t){if(!s9(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return uj.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=uj.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!uj.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},uj.byteLength=uV,// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect 2507// Buffer instances. 2508uj.prototype._isBuffer=!0,uj.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)uZ(this,t,t+1);return this},uj.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)uZ(this,t,t+3),uZ(this,t+1,t+2);return this},uj.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)uZ(this,t,t+7),uZ(this,t+1,t+6),uZ(this,t+2,t+5),uZ(this,t+3,t+4);return this},uj.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?uW(this,0,e):uH.apply(this,arguments)},uj.prototype.equals=function(e){if(!uj.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===uj.compare(this,e)},uj.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},uj.prototype.compare=function(e,t,r,n,o){if(!uj.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,i=r-t,s=Math.min(a,i),l=this.slice(n,o),u=e.slice(t,r),c=0;c<s;++c)if(l[c]!==u[c]){a=l[c],i=u[c];break}return a<i?-1:i<a?1:0},uj.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},uj.prototype.indexOf=function(e,t,r){return uB(this,e,t,r,!0)},uj.prototype.lastIndexOf=function(e,t,r){return uB(this,e,t,r,!1)},uj.prototype.write=function(e,t,r,n){// Buffer#write(string) 2509if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,a,i,s,l,u,c,d,f,p,h,m,g=this.length-t;if((void 0===r||r>g)&&(r=g),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;// must be an even number of digits 2510var a=t.length;if(a%2!=0)throw TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i<n;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))break;e[r+i]=s}return i}(this,e,t,r);case"utf8":case"utf-8":return l=t,u=r,u8(u0(e,this.length-l),this,l,u);case"ascii":return c=t,d=r,u8(u1(e),this,c,d);case"latin1":case"binary":return o=this,a=e,i=t,s=r,u8(u1(a),o,i,s);case"base64":// Warning: maxLength not taken into account in base64Write 2511return f=t,p=r,u8(u2(e),this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,m=r,u8(function(e,t){for(var r,n,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o.push(r%256),o.push(n);return o}(e,this.length-h),this,h,m);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},uj.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},uj.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),uj.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=uj.prototype;else{var o=t-e;r=new uj(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},uj.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||uG(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n},uj.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||uG(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},uj.prototype.readUInt8=function(e,t){return t||uG(e,1,this.length),this[e]},uj.prototype.readUInt16LE=function(e,t){return t||uG(e,2,this.length),this[e]|this[e+1]<<8},uj.prototype.readUInt16BE=function(e,t){return t||uG(e,2,this.length),this[e]<<8|this[e+1]},uj.prototype.readUInt32LE=function(e,t){return t||uG(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},uj.prototype.readUInt32BE=function(e,t){return t||uG(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},uj.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||uG(e,t,this.length);for(var n=this[e],o=1,a=0;++a<t&&(o*=256);)n+=this[e+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},uj.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||uG(e,t,this.length);for(var n=t,o=1,a=this[e+--n];n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},uj.prototype.readInt8=function(e,t){return(t||uG(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},uj.prototype.readInt16LE=function(e,t){t||uG(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},uj.prototype.readInt16BE=function(e,t){t||uG(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},uj.prototype.readInt32LE=function(e,t){return t||uG(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},uj.prototype.readInt32BE=function(e,t){return t||uG(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},uj.prototype.readFloatLE=function(e,t){return t||uG(e,4,this.length),s7.read(this,e,!0,23,4)},uj.prototype.readFloatBE=function(e,t){return t||uG(e,4,this.length),s7.read(this,e,!1,23,4)},uj.prototype.readDoubleLE=function(e,t){return t||uG(e,8,this.length),s7.read(this,e,!0,52,8)},uj.prototype.readDoubleBE=function(e,t){return t||uG(e,8,this.length),s7.read(this,e,!1,52,8)},uj.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;uq(this,e,t,r,o,0)}var a=1,i=0;for(this[t]=255&e;++i<r&&(a*=256);)this[t+i]=e/a&255;return t+r},uj.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;uq(this,e,t,r,o,0)}var a=r-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+r},uj.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,1,255,0),uj.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},uj.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,2,65535,0),uj.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):uY(this,e,t,!0),t+2},uj.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,2,65535,0),uj.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):uY(this,e,t,!1),t+2},uj.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,4,4294967295,0),uj.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):u$(this,e,t,!0),t+4},uj.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,4,4294967295,0),uj.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):u$(this,e,t,!1),t+4},uj.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);uq(this,e,t,r,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a<r&&(i*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},uj.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);uq(this,e,t,r,o-1,-o)}var a=r-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},uj.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,1,127,-128),uj.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},uj.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,2,32767,-32768),uj.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):uY(this,e,t,!0),t+2},uj.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,2,32767,-32768),uj.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):uY(this,e,t,!1),t+2},uj.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,4,2147483647,-2147483648),uj.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):u$(this,e,t,!0),t+4},uj.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||uq(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),uj.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):u$(this,e,t,!1),t+4},uj.prototype.writeFloatLE=function(e,t,r){return uJ(this,e,t,!0,r)},uj.prototype.writeFloatBE=function(e,t,r){return uJ(this,e,t,!1,r)},uj.prototype.writeDoubleLE=function(e,t,r){return uQ(this,e,t,!0,r)},uj.prototype.writeDoubleBE=function(e,t,r){return uQ(this,e,t,!1,r)},// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) 2512uj.prototype.copy=function(e,t,r,n){// Copy 0 bytes; we're done 2513if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;// Fatal error conditions 2514if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("sourceStart out of bounds");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,a=n-r;if(this===e&&r<t&&t<n)for(o=a-1;o>=0;--o)e[o+t]=this[o+r];else if(a<1e3||!uj.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},// Usage: 2515// buffer.fill(number[, offset[, end]]) 2516// buffer.fill(buffer[, offset[, end]]) 2517// buffer.fill(string[, offset[, end]][, encoding]) 2518uj.prototype.fill=function(e,t,r,n){// Handle string cases: 2519if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o,a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!uj.isEncoding(n))throw TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);// Invalid ranges are not set to a default, so can range check early. 2520if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var i=uj.isBuffer(e)?e:u0(new uj(e,n).toString()),s=i.length;for(o=0;o<r-t;++o)this[o+t]=i[o%s]}return this};// HELPER FUNCTIONS 2521// ================ 2522var uX=/[^+\/0-9A-Za-z-_]/g;
2522function u0(e,t){t=t||1/0;for(var r,n=e.length,o=null,a=[],i=0;i<n;++i){// is surrogate component 2523if((r=e.charCodeAt(i))>55295&&r<57344){// last char was a lead 2524if(!o){// no lead yet 2525if(r>56319||i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}// valid lead 2526o=r;continue}// 2 leads in a row 2527if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}// valid surrogate pair 2528r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);// encode utf8 2529if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function u1(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function u2(e){return s5.toByteArray(function(e){var t;// Node converts strings with length < 2 to '' 2530if(// Node strips out invalid characters like \n and \t from the string, base64-js does not 2531(e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(uX,"")).length<2)return"";// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not 2532for(;e.length%4!=0;)e+="=";return e}(e))}function u8(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}var u6="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",u4=function(e,t,r){(0,a7.Hub).dispatch("auth",{event:e,data:t,message:r},"Auth",u6)},u3=new aF.ConsoleLogger("OAuth"),u5=/** @class */function(){function e(e){var t=e.config,r=e.cognitoClientId,n=e.scopes,o=void 0===n?[]:n;if(this._urlOpener=t.urlOpener||u_,this._config=t,this._cognitoClientId=r,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})},e.prototype.oauthSignIn=function(e,t,r,n,o,a){void 0===e&&(e="code"),void 0===o&&(o=eI.Cognito);var i=this._generateState(32),s=a?i+"-"+a.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join(""):i;uI(s);var l=this._generateRandom(128);uP(l);var u=this._generateChallenge(l),c=this._scopes.join(" "),d="https://"+t+"/oauth2/authorize?"+Object.entries(aP(aP({redirect_uri:r,response_type:e,client_id:n,identity_provider:o,scope:c,state:s},"code"===e?{code_challenge:u}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map(function(e){var t=aM(e,2),r=t[0],n=t[1];return encodeURIComponent(r)+"="+encodeURIComponent(n)}).join("&");u3.debug("Redirecting to "+d),this._urlOpener(d,r)},e.prototype._handleCodeFlow=function(e){return aN(this,void 0,void 0,function(){var t,r,n,o,a,i,s,l,u,c,d,f,p,h,m,g;return aO(this,function(v){switch(v.label){case 0:if(t=(eF(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var r,n=aM(t,2),o=n[0],a=n[1];return aP(aP({},e),((r={})[o]=a,r))},{code:void 0}).code,r=eF(e).pathname||"/",n=eF(this._config.redirectSignIn).pathname||"/",!t||r!==n)return[2/*return*/];return u4("codeFlow",{},"Retrieving tokens from "+(o="https://"+this._config.domain+"/oauth2/token")),a=s4(this._config)?this._cognitoClientId:this._config.clientID,i=s4(this._config)?this._config.redirectSignIn:this._config.redirectUri,s=uN(),l=aP({grant_type:"authorization_code",code:t,client_id:a,redirect_uri:i},s?{code_verifier:s}:{}),u3.debug("Calling token endpoint: "+o+" with",l),u=Object.entries(l).map(function(e){var t=aM(e,2),r=t[0],n=t[1];return encodeURIComponent(r)+"="+encodeURIComponent(n)}).join("&"),c={category:ep.Auth,action:eg.FederatedSignIn},[4/*yield*/,fetch(o,{method:"POST",headers:((g={"Content-Type":"application/x-www-form-urlencoded"})["x-amz-user-agent"]=(0,az.getAmplifyUserAgent)(c),g),body:u})];case 1:return[4/*yield*/,v.sent().json()];case 2:if(f=(d=v.sent()).access_token,p=d.refresh_token,h=d.id_token,m=d.error)throw Error(m);return[2/*return*/,{accessToken:f,refreshToken:p,idToken:h}]}})})},e.prototype._handleImplicitFlow=function(e){return aN(this,void 0,void 0,function(){var t,r,n;return aO(this,function(o){return r=(t=(eF(e).hash||"#").substr(1)// Remove # from returned code 2533.split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var r,n=aM(t,2),o=n[0],a=n[1];return aP(aP({},e),((r={})[o]=a,r))},{id_token:void 0,access_token:void 0}
2533)).id_token,n=t.access_token,u4("implicitFlow",{},"Got tokens from "+e),u3.debug("Retrieving implicit tokens from "+e+" with"),[2/*return*/,{accessToken:n,idToken:r,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(e){return aN(this,void 0,void 0,function(){var t,r,n,o,a,i,s;return aO(this,function(l){switch(l.label){case 0:if(l.trys.push([0,5,,6]),r=(t=e?aP(aP({},(eF(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var r=aM(t,2),n=r[0],o=r[1];return e[n]=o,e},{})),(eF(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,t){var r=aM(t,2),n=r[0],o=r[1];return e[n]=o,e},{})):{}).error,n=t.error_description,r)throw Error(n);if(o=this._validateState(t),u3.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType)return[3/*break*/,2];return a=[{}],[4/*yield*/,this._handleCodeFlow(e)];case 1:return[2/*return*/,aP.apply(void 0,[aP.apply(void 0,a.concat([l.sent()])),{state:o}])];case 2:return i=[{}],[4/*yield*/,this._handleImplicitFlow(e)];case 3:return[2/*return*/,aP.apply(void 0,[aP.apply(void 0,i.concat([l.sent()])),{state:o}])];case 4:return[3/*break*/,6];case 5:throw s=l.sent(),u3.debug("Error handling auth response.",s),s;case 6:return[2/*return*/]}})})},e.prototype._validateState=function(e){if(e){var t=uT(),r=e.state;// This is because savedState only exists if the flow was initiated by Amplify 2534if(t&&t!==r)throw Error("Invalid state in OAuth flow");return r}},e.prototype.signOut=function(){return aN(this,void 0,void 0,function(){var e,t,r;return aO(this,function(n){return e="https://"+this._config.domain+"/logout?",t=s4(this._config)?this._cognitoClientId:this._config.oauth.clientID,r=s4(this._config)?this._config.redirectSignOut:this._config.returnTo,u4("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+(e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(r)}).map(function(e){var t=aM(e,2);return t[0]+"="+t[1]}).join("&"))),u3.debug("Signing out from "+e),[2/*return*/,this._urlOpener(e,r)]})})},e.prototype._generateState=function(e){for(var t="",r=e,n="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";r>0;--r)t+=n[Math.round(Math.random()*(n.length-1))];return t},e.prototype._generateChallenge=function(e){var t=new lI.Sha256;t.update(e);var r=t.digestSync(),n=uj.from(r).toString("base64");return this._base64URL(n)},e.prototype._base64URL=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(t);else for(var r=0;r<e;r+=1)t[r]=66*Math.random()|0;return this._bufferToString(t)},e.prototype._bufferToString=function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=[],n=0;n<e.byteLength;n+=1){var o=e[n]%t.length;r.push(t[o])}return r.join("")},e}(),u7=function(e){if(ig().isBrowser&&window.location)e({url:window.location.href});else if(ig().isNode);else throw Error("Not supported")};(L=eL||(eL={})).DEFAULT_MSG="Authentication Error",L.EMPTY_EMAIL="Email cannot be empty",L.EMPTY_PHONE="Phone number cannot be empty",L.EMPTY_USERNAME="Username cannot be empty",L.INVALID_USERNAME="The username should either be a string or one of the sign in types",L.EMPTY_PASSWORD="Password cannot be empty",L.EMPTY_CODE="Confirmation code cannot be empty",L.SIGN_UP_ERROR="Error creating account",L.NO_MFA="No valid MFA method provided",L.INVALID_MFA="Invalid MFA type",L.EMPTY_CHALLENGE="Challenge response cannot be empty",L.NO_USER_SESSION="Failed to get the session because the user is empty",L.NETWORK_ERROR="Network Error",L.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",L.AUTOSIGNIN_ERROR="Please use your credentials to sign in";var u9=new aF.ConsoleLogger("AuthError"),ce=/** @class */function(e){function t(r){var n=this,o=cr[r],a=o.message,i=o.log;return(// Hack for making the custom error class work when transpiled to es5 2535// TODO: Delete the following 2 lines after we change the build target to >= es2015 2536(n=e.call(this,a)||this).constructor=t,Object.setPrototypeOf(n,t.prototype),n.name="AuthError",n.log=i||a,u9.error(n.log),n)}return aT(t,e),t}(Error),ct=/** @class */function(e){function t(r){var n=e.call(this,r)||this;return(// Hack for making the custom error class work when transpiled to es5 2537// TODO: Delete the following 2 lines after we change the build target to >= es2015 2538n.constructor=t,Object.setPrototypeOf(n,t.prototype),n.name="NoUserPoolError",n)}return aT(t,e),t}(ce),cr={noConfig:{message:eL.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly.\n This error is typically caused by one of the following scenarios:\n\n 1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n \n 2. There might be multiple conflicting versions of amplify packages in your node_modules.\n Refer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n "},missingAuthConfig:{message:eL.DEFAULT_MSG,log:"\n Error: Amplify has not been configured correctly. \n The configuration object is missing required auth properties.\n This error is typically caused by one of the following scenarios:\n\n 1. Did you run `amplify push` after adding auth via `amplify add auth`?\n See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n 2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n "},emptyUsername:{message:eL.EMPTY_USERNAME},// TODO: should include a list of valid sign-in types 2539invalidUsername:{message:eL.INVALID_USERNAME},emptyPassword:{message:eL.EMPTY_PASSWORD},emptyCode:{message:eL.EMPTY_CODE},signUpError:{message:eL.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"}
2539,noMFA:{message:eL.NO_MFA},invalidMFA:{message:eL.INVALID_MFA},emptyChallengeResponse:{message:eL.EMPTY_CHALLENGE},noUserSession:{message:eL.NO_USER_SESSION},deviceConfig:{message:eL.DEVICE_CONFIG},networkError:{message:eL.NETWORK_ERROR},autoSignInError:{message:eL.AUTOSIGNIN_ERROR},default:{message:eL.DEFAULT_MSG}},cn=new aF.ConsoleLogger("AuthClass"),co="aws.cognito.signin.user.admin",ca="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",ci=function(e,t,r){(0,a7.Hub).dispatch("auth",{event:e,data:t,message:r},"Auth",ca)},cs=/** @class */function(){/** 2540 * Initialize Auth with AWS configurations 2541 * @param {Object} config - Configuration of the Auth 2542 */function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=iS.Credentials,this.wrapRefreshSessionCallback=function(e){return function(t,r){return r?ci("tokenRefresh",void 0,"New token retrieved"):ci("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,r)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),(0,a7.Hub).listen("auth",function(e){switch(e.payload.event){case"verify":case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}}),lJ(),lQ(az.Platform.framework),(0,az.Platform).observeFrameworkChanges(function(){lQ(az.Platform.framework)})}return e.prototype.getModuleName=function(){return"InternalAuth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};cn.debug("configure Auth");var r=Object.assign({},this._config,(0,iv.parseAWSExports)(e).Auth,e);this._config=r;var n=this._config,o=n.userPoolId,a=n.userPoolWebClientId,i=n.cookieStorage,s=n.oauth,l=n.region,u=n.identityPoolId,c=n.mandatorySignIn,d=n.refreshHandlers,f=n.identityPoolRegion,p=n.clientMetadata,h=n.endpoint,m=n.storage;if(m){if(!this._isValidAuthStorage(m))throw cn.error("The storage in the Auth config is not valid!"),Error("Empty storage object");this._storage=m}else i?this._storage=new ud(i):this._storage=e.ssr?new sG.UniversalStorage:new iC().getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),o){var g={UserPoolId:o,ClientId:a,endpoint:h};g.Storage=this._storage,this.userPool=new uu(g,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:c,region:l,userPoolId:o,identityPoolId:u,refreshHandlers:d,storage:this._storage,identityPoolRegion:f});// initialize cognitoauth client if hosted ui options provided 2543// to keep backward compatibility: 2544var v=s?s4(this._config.oauth)?s:s.awsCognito:void 0;if(v){var y=Object.assign({cognitoClientId:a,UserPoolId:o,domain:v.domain,scopes:v.scope,redirectSignIn:v.redirectSignIn,redirectSignOut:v.redirectSignOut,responseType:v.responseType,Storage:this._storage,urlOpener:v.urlOpener,clientMetadata:p},v.options);this._oAuthHandler=new u5({scopes:y.scopes,config:y,cognitoClientId:y.cognitoClientId});// **NOTE** - Remove this in a future major release as it is a breaking change 2545// Prevents _handleAuthResponse from being called multiple times in Expo 2546// See https://github.com/aws-amplify/amplify-js/issues/4388 2547var b={};u7(function(e){var r=e.url;b[r]||(b[r]=!0,t._handleAuthResponse(r))})}return ci("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem||(this.isTrueStorageValue("amplify-polling-started")&&(ci("autoSignIn_failure",null,eT.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")),this._config},e.prototype.signUp=function(e,t,r){var n,o,a,i,s=this;if(!this.userPool)return this.rejectNoUserPool();var l=null,u=null,c=[],d=null,f={enabled:!1},p={},h={};if(e&&"string"==typeof e){l=e,u=t?t[0]:null;var m=t?t[1]:null,g=t?t[2]:null;m&&c.push(new lq({Name:"email",Value:m})),g&&c.push(new lq({Name:"phone_number",Value:g}))}else{if(!e||"object"!=typeof e)return this.rejectAuthError(eT.SignUpError);l=e.username,u=e.password,e&&e.clientMetadata?i=e.clientMetadata:this._config.clientMetadata&&(i=this._config.clientMetadata);var v=e.attributes;v&&Object.keys(v).map(function(e){c.push(new lq({Name:e,Value:v[e]}))});var y=e.validationData;y&&(d=[],Object.keys(y).map(function(e){d.push(new lq({Name:e,Value:y[e]}))})),(f=null!==(n=e.autoSignIn)&&void 0!==n?n:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),p=null!==(o=f.validationData)&&void 0!==o?o:{},h=null!==(a=f.clientMetaData)&&void 0!==a?a:{})}return l?u?(cn.debug("signUp attrs:",c),cn.debug("signUp validation data:",d),new Promise(function(e,t){s.userPool.signUp(l,u,c,d,function(r,n){r?(ci("signUp_failure",r,l+" failed to signup"),t(r)):(ci("signUp",n,l+" has signed up successfully"),f.enabled&&s.handleAutoSignIn(l,u,p,h,n),e(n))},i)})):this.rejectAuthError(eT.EmptyPassword):this.rejectAuthError(eT.EmptyUsername)}
2547,e.prototype.handleAutoSignIn=function(e,t,r,n,o){this.autoSignInInitiated=!0;var a=new s3({Username:e,Password:t,ValidationData:r,ClientMetadata:n});o.userConfirmed?this.signInAfterUserConfirmed(a):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(a):this.handleCodeAutoSignIn(a)},e.prototype.handleCodeAutoSignIn=function(e){var t=this,r=function(n){"confirmSignUp"===n.payload.event&&t.signInAfterUserConfirmed(e,r)};(0,a7.Hub).listen("auth",r)},e.prototype.handleLinkAutoSignIn=function(e){var t=this;this._storage.setItem("amplify-polling-started","true");var r=Date.now(),n=setInterval(function(){Date.now()-r>18e4?(clearInterval(n),ci("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),t._storage.removeItem("amplify-auto-sign-in")):t.signInAfterUserConfirmed(e,null,n)},5e3)},e.prototype.signInAfterUserConfirmed=function(e,t,r){return aN(this,void 0,void 0,function(){var n,o,a=this;return aO(this,function(i){switch(i.label){case 0:n=this.createCognitoUser(e.getUsername()),i.label=1;case 1:return i.trys.push([1,3,,4]),[4/*yield*/,n.authenticateUser(e,this.authCallbacks(n,function(n){ci("autoSignIn",n,e.getUsername()+" has signed in successfully"),t&&(0,a7.Hub).remove("auth",t),r&&(clearInterval(r),a._storage.removeItem("amplify-polling-started")),a._storage.removeItem("amplify-auto-sign-in")},function(e){cn.error(e),a._storage.removeItem("amplify-auto-sign-in")}))];case 2:return i.sent(),[3/*break*/,4];case 3:return o=i.sent(),cn.error(o),[3/*break*/,4];case 4:return[2/*return*/]}})})},/** 2548 * Send the verification code to confirm sign up 2549 * @param {String} username - The username to be confirmed 2550 * @param {String} code - The verification code 2551 * @param {ConfirmSignUpOptions} options - other options for confirm signup 2552 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2553 * @return - A promise resolves callback data if success 2554 */e.prototype.confirmSignUp=function(e,t,r,n){var o,a=this;if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(eT.EmptyUsername);if(!t)return this.rejectAuthError(eT.EmptyCode);var i=this.createCognitoUser(e),s=!r||"boolean"!=typeof r.forceAliasCreation||r.forceAliasCreation;return r&&r.clientMetadata?o=r.clientMetadata:this._config.clientMetadata&&(o=this._config.clientMetadata),new Promise(function(r,n){i.confirmRegistration(t,s,function(t,o){t?n(t):(ci("confirmSignUp",o,e+" has been confirmed successfully"),a.isTrueStorageValue("amplify-auto-sign-in")&&!a.autoSignInInitiated&&(ci("autoSignIn_failure",null,eT.AutoSignInError),a._storage.removeItem("amplify-auto-sign-in")),r(o))},o)})},e.prototype.isTrueStorageValue=function(e){var t=this._storage.getItem(e);return!!t&&"true"===t},/** 2555 * Resend the verification code 2556 * @param {String} username - The username to be confirmed 2557 * @param {ClientMetadata} clientMetadata - Metadata to be passed to Cognito Lambda triggers 2558 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2559 * @return - A promise resolves code delivery details if successful 2560 */e.prototype.resendSignUp=function(e,t,r){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(eT.EmptyUsername);var n=this.createCognitoUser(e);return new Promise(function(e,r){n.resendConfirmationCode(function(t,n){t?r(t):e(n)},t)})},/** 2561 * Sign in 2562 * @param {String | SignInOpts} usernameOrSignInOpts - The username to be signed in or the sign in options 2563 * @param {String} pw - The password of the username 2564 * @param {ClientMetaData} clientMetadata - Client metadata for custom workflows 2565 * @return - A promise resolves the CognitoUser 2566 */e.prototype.signIn=function(e,t,r,n){if(void 0===r&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var o=null,a=null,i={};// for backward compatibility 2567if("string"==typeof e)o=e,a=t;else{if(!e.username)return this.rejectAuthError(eT.InvalidUsername);void 0!==t&&cn.warn("The password should be defined under the first parameter object!"),o=e.username,a=e.password,i=e.validationData}if(!o)return this.rejectAuthError(eT.EmptyUsername);var s=new s3({Username:o,Password:a,ValidationData:i,ClientMetadata:r});return a?this.signInWithPassword(s):this.signInWithoutPassword(s)},/** 2568 * Return an object with the authentication callbacks 2569 * @param {CognitoUser} user - the cognito user object 2570 * @param {} resolve - function called when resolving the current step 2571 * @param {} reject - function called when rejecting the current step 2572 * @return - an object with the callback methods for user authentication 2573 */e.prototype.authCallbacks=function(e,t,r){var n=this,o=this;return{onSuccess:function(a){return aN(n,void 0,void 0,function(){var n,i,s,l;return aO(this,function(u){switch(u.label){case 0:cn.debug(a),delete e.challengeName,delete e.challengeParam,u.label=1;case 1:return u.trys.push([1,4,5,9]),[4/*yield*/,this.Credentials.clear()];case 2:return u.sent(),[4/*yield*/,this.Credentials.set(a,"session")];case 3:return n=u.sent(),cn.debug("succeed to get cognito credentials",n),[3/*break*/,9];case 4:return i=u.sent(),cn.debug("cannot get cognito credentials",i),[3/*break*/,9];case 5:return u.trys.push([5,7,,8]),[4/*yield*/,this.currentUserPoolUser()];case 6:return s=u.sent(),o.user=s,ci("signIn",s,"A user "+e.getUsername()+" has been signed in"),t(s),[3/*break*/,8];case 7:return l=u.sent(),cn.error("Failed to get the signed in user",l),r(l),[3/*break*/,8];case 8:return[7/*endfinally*/];case 9:return[2/*return*/]}})})},onFailure:function(t){cn.debug("signIn failure",t),ci("signIn_failure",t,e.getUsername()+" failed to signin"),r(t)},customChallenge:function(r){cn.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=r,t(e)},mfaRequired:function(r,n){cn.debug("signIn MFA required"),e.challengeName=r,e.challengeParam=n,t(e)},mfaSetup:function(r,n){cn.debug("signIn mfa setup",r),e.challengeName=r,e.challengeParam=n,t(e)},newPasswordRequired:function(r,n){cn.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:r,requiredAttributes:n},t(e)},totpRequired:function(r,n){cn.debug("signIn totpRequired"),e.challengeName=r,e.challengeParam=n,t(e)},selectMFAType:function(r,n){cn.debug("signIn selectMFAType",r),e.challengeName=r,e.challengeParam=n,t(e)}}},/** 2574 * Sign in with a password 2575 * @private
2576 * @param {AuthenticationDetails} authDetails - the user sign in data 2577 * @return - A promise resolves the CognitoUser object if success or mfa required 2578 */e.prototype.signInWithPassword=function(e){var t=this;if(this.pendingSignIn)throw Error("Pending sign-in attempt already in progress");var r=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise(function(n,o){r.authenticateUser(e,t.authCallbacks(r,function(e){t.pendingSignIn=null,n(e)},function(e){t.pendingSignIn=null,o(e)}))}),this.pendingSignIn},/** 2579 * Sign in without a password 2580 * @private 2581 * @param {AuthenticationDetails} authDetails - the user sign in data 2582 * @return - A promise resolves the CognitoUser object if success or mfa required 2583 */e.prototype.signInWithoutPassword=function(e){var t=this,r=this.createCognitoUser(e.getUsername());return r.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(n,o){r.initiateAuth(e,t.authCallbacks(r,n,o))})},/** 2584 * This was previously used by an authenticated user to get MFAOptions, 2585 * but no longer returns a meaningful response. Refer to the documentation for 2586 * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js 2587 * @deprecated 2588 * @param {CognitoUser} user - the current user 2589 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2590 * @return - A promise resolves the current preferred mfa option if success 2591 */e.prototype.getMFAOptions=function(e,t){return new Promise(function(t,r){e.getMFAOptions(function(e,n){if(e){cn.debug("get MFA Options failed",e),r(e);return}cn.debug("get MFA options success",n),t(n)})})},/** 2592 * get preferred mfa method 2593 * @param {CognitoUser} user - the current cognito user 2594 * @param {GetPreferredMFAOpts} params - options for getting the current user preferred MFA 2595 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2596 */e.prototype.getPreferredMFA=function(e,t,r){var n=this,o=this;return new Promise(function(r,a){var i=n._config.clientMetadata,s=!!t&&t.bypassCache;// TODO: verify behavior if this is override during signIn 2597e.getUserData(function(t,i){return aN(n,void 0,void 0,function(){var n,s;return aO(this,function(l){switch(l.label){case 0:if(!t)return[3/*break*/,5];if(cn.debug("getting preferred mfa failed",t),!this.isSessionInvalid(t))return[3/*break*/,4];l.label=1;case 1:return l.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(e)];case 2:return l.sent(),[3/*break*/,4];case 3:return n=l.sent(),a(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2/*return*/];case 4:return a(t),[2/*return*/];case 5:if(!(s=o._getMfaTypeFromUserData(i)))return a("invalid MFA Type"),[2/*return*/];return r(s),[2/*return*/]}})})},{bypassCache:s,clientMetadata:i})})},e.prototype._getMfaTypeFromUserData=function(e){var t=null,r=e.PreferredMfaSetting;// if the user has used Auth.setPreferredMFA() to setup the mfa type 2598// then the "PreferredMfaSetting" would exist in the response 2599if(r)t=r;else{// if mfaList exists but empty, then its noMFA 2600var n=e.UserMFASettingList;n?0===n.length?t="NOMFA":cn.debug("invalid case for getPreferredMFA",e):t=e.MFAOptions?"SMS_MFA":"NOMFA"}return t},e.prototype._getUserData=function(e,t){var r=this;return new Promise(function(n,o){e.getUserData(function(t,a){return aN(r,void 0,void 0,function(){var r;return aO(this,function(i){switch(i.label){case 0:if(!t)return[3/*break*/,5];if(cn.debug("getting user data failed",t),!this.isSessionInvalid(t))return[3/*break*/,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3/*break*/,4];case 3:return r=i.sent(),o(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+r.message)),[2/*return*/];case 4:return o(t),[2/*return*/];case 5:n(a),i.label=6;case 6:return[2/*return*/]}})})},t)})},/** 2601 * set preferred MFA method 2602 * @param {CognitoUser} user - the current Cognito user 2603 * @param {string} mfaMethod - preferred mfa method 2604 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2605 * @return - A promise resolve if success 2606 */e.prototype.setPreferredMFA=function(e,t,r){return aN(this,void 0,void 0,function(){var r,n,o,a,i,s,l=this;return aO(this,function(u){switch(u.label){case 0:return r=this._config.clientMetadata,[4/*yield*/,this._getUserData(e,{bypassCache:!0,clientMetadata:r})];case 1:switch(n=u.sent(),o=null,a=null,t){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3/*break*/,2];case"SMS":case"SMS_MFA":return[3/*break*/,3];case"NOMFA":return[3/*break*/,4]}return[3/*break*/,6];case 2:return a={PreferredMfa:!0,Enabled:!0},[3/*break*/,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3/*break*/,7];
2606case 4:return i=n.UserMFASettingList,[4/*yield*/,this._getMfaTypeFromUserData(n)];case 5:if("NOMFA"===(s=u.sent()))return[2/*return*/,Promise.resolve("No change for mfa type")];if("SMS_MFA"===s)o={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==s)return[2/*return*/,this.rejectAuthError(eT.InvalidMFA)];a={PreferredMfa:!1,Enabled:!1}}return i&&0!==i.length&&i.forEach(function(e){"SMS_MFA"===e?o={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(a={PreferredMfa:!1,Enabled:!1})}),[3/*break*/,7];case 6:return cn.debug("no validmfa method provided"),[2/*return*/,this.rejectAuthError(eT.NoMFA)];case 7:return[2/*return*/,new Promise(function(t,n){e.setUserMfaPreference(o,a,function(o,a){if(o)return cn.debug("Set user mfa preference error",o),n(o);cn.debug("Set user mfa success",a),cn.debug("Caching the latest user data into local"),// cache the latest result into user data 2607e.getUserData(function(r,o){return aN(l,void 0,void 0,function(){var o;return aO(this,function(i){switch(i.label){case 0:if(!r)return[3/*break*/,5];if(cn.debug("getting user data failed",r),!this.isSessionInvalid(r))return[3/*break*/,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3/*break*/,4];case 3:return o=i.sent(),n(Error("Session is invalid due to: "+r.message+" and failed to clean up invalid session: "+o.message)),[2/*return*/];case 4:return[2/*return*/,n(r)];case 5:return[2/*return*/,t(a)]}})})},{bypassCache:!0,clientMetadata:r})})})]}})})},/** 2608 * disable SMS 2609 * @deprecated 2610 * @param {CognitoUser} user - the current user 2611 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2612 * @return - A promise resolves is success 2613 */e.prototype.disableSMS=function(e,t){return new Promise(function(t,r){e.disableMFA(function(e,n){if(e){cn.debug("disable mfa failed",e),r(e);return}cn.debug("disable mfa succeed",n),t(n)})})},/** 2614 * enable SMS 2615 * @deprecated 2616 * @param {CognitoUser} user - the current user 2617 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2618 * @return - A promise resolves is success 2619 */e.prototype.enableSMS=function(e,t){return new Promise(function(t,r){e.enableMFA(function(e,n){if(e){cn.debug("enable mfa failed",e),r(e);return}cn.debug("enable mfa succeed",n),t(n)})})},/** 2620 * Setup TOTP 2621 * @param {CognitoUser} user - the current user 2622 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2623 * @return - A promise resolves with the secret code if success 2624 */e.prototype.setupTOTP=function(e,t){return new Promise(function(t,r){e.associateSoftwareToken({onFailure:function(e){cn.debug("associateSoftwareToken failed",e),r(e)},associateSecretCode:function(e){cn.debug("associateSoftwareToken success",e),t(e)}})})},/** 2625 * verify TOTP setup 2626 * @param {CognitoUser} user - the current user 2627 * @param {string} challengeAnswer - challenge answer 2628 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2629 * @return - A promise resolves is success 2630 */e.prototype.verifyTotpToken=function(e,t,r){cn.debug("verification totp token",e,t),e&&"function"==typeof e.getSignInUserSession&&(n=e.getSignInUserSession());var n,o=null==n?void 0:n.isValid();return new Promise(function(r,n){e.verifySoftwareToken(t,"My TOTP device",{onFailure:function(e){cn.debug("verifyTotpToken failed",e),n(e)},onSuccess:function(t){o||ci("signIn",e,"A user "+e.getUsername()+" has been signed in"),ci("verify",e,"A user "+e.getUsername()+" has been verified"),cn.debug("verifyTotpToken success",t),r(t)}})})},/** 2631 * Send MFA code to confirm sign in 2632 * @param {Object} user - The CognitoUser object 2633 * @param {String} code - The confirmation code 2634 * @param {string} mfaType - optional mfaType: 'SMS_MFA' | 'SOFTWARE_TOKEN_MFA' 2635 * @param {ClientMetaData} clientMetadata - optional client metadata defaults to config 2636 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2637 */e.prototype.confirmSignIn=function(e,t,r,n,o){var a=this;if(void 0===n&&(n=this._config.clientMetadata),!t)return this.rejectAuthError(eT.EmptyCode);var i=this;return new Promise(function(o,s){e.sendMFACode(t,{onSuccess:function(t){return aN(a,void 0,void 0,function(){var r,n,a,s;return aO(this,function(l){switch(l.label){case 0:cn.debug(t),l.label=1;case 1:return l.trys.push([1,4,5,10]),[4/*yield*/,this.Credentials.clear()];case 2:return l.sent(),[4/*yield*/,this.Credentials.set(t,"session")];case 3:return r=l.sent(),cn.debug("succeed to get cognito credentials",r),[3/*break*/,10];case 4:return n=l.sent(),cn.debug("cannot get cognito credentials",n),[3/*break*/,10];case 5:i.user=e,l.label=6;case 6:return l.trys.push([6,8,,9]),[4/*yield*/,this.currentUserPoolUser()];case 7:return a=l.sent(),e.attributes=a.attributes,[3/*break*/,9];case 8:return s=l.sent(),cn.debug("cannot get updated Cognito User",s),[3/*break*/,9];case 9:return ci("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7/
2637*endfinally*/];case 10:return[2/*return*/]}})})},onFailure:function(e){cn.debug("confirm signIn failure",e),s(e)}},r,n)})},e.prototype.completeNewPassword=function(e,t,r,n,o){var a=this;if(void 0===r&&(r={}),void 0===n&&(n=this._config.clientMetadata),!t)return this.rejectAuthError(eT.EmptyPassword);var i=this;return new Promise(function(o,s){e.completeNewPasswordChallenge(t,r,{onSuccess:function(t){return aN(a,void 0,void 0,function(){var r,n;return aO(this,function(a){switch(a.label){case 0:cn.debug(t),a.label=1;case 1:return a.trys.push([1,4,5,6]),[4/*yield*/,this.Credentials.clear()];case 2:return a.sent(),[4/*yield*/,this.Credentials.set(t,"session")];case 3:return r=a.sent(),cn.debug("succeed to get cognito credentials",r),[3/*break*/,6];case 4:return n=a.sent(),cn.debug("cannot get cognito credentials",n),[3/*break*/,6];case 5:return i.user=e,ci("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7/*endfinally*/];case 6:return[2/*return*/]}})})},onFailure:function(e){cn.debug("completeNewPassword failure",e),ci("completeNewPassword_failure",e,a.user+" failed to complete the new password flow"),s(e)},mfaRequired:function(t,r){cn.debug("signIn MFA required"),e.challengeName=t,e.challengeParam=r,o(e)},mfaSetup:function(t,r){cn.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=r,o(e)},totpRequired:function(t,r){cn.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=r,o(e)}},n)})},/** 2638 * Send the answer to a custom challenge 2639 * @param {CognitoUser} user - The CognitoUser object 2640 * @param {String} challengeResponses - The confirmation code 2641 * @param {ClientMetaData} clientMetadata - optional client metadata defaults to config 2642 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2643 */e.prototype.sendCustomChallengeAnswer=function(e,t,r,n){var o=this;return(void 0===r&&(r=this._config.clientMetadata),this.userPool)?t?new Promise(function(n,a){e.sendCustomChallengeAnswer(t,o.authCallbacks(e,n,a),r)}):this.rejectAuthError(eT.EmptyChallengeResponse):this.rejectNoUserPool()},/** 2644 * Delete an authenticated users' attributes 2645 * @param {CognitoUser} user - The currently logged in user object 2646 * @param {string[]} attributeNames - Attributes to delete 2647 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2648 * @return {Promise} 2649 **/e.prototype.deleteUserAttributes=function(e,t,r){var n=this;return new Promise(function(r,o){n.userSession(e).then(function(n){e.deleteAttributes(t,function(e,t){return e?o(e):r(t)})})})},/** 2650 * Delete the current authenticated user 2651 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2652 * @return {Promise} 2653 **/// TODO: Check return type void 2654e.prototype.deleteUser=function(e){return aN(this,void 0,void 0,function(){var e,t,r=this;return aO(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4/*yield*/,this._storageSync];case 1:return n.sent(),[3/*break*/,3];case 2:throw e=n.sent(),cn.debug("Failed to sync cache info into memory",e),Error(e);case 3:return t=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2/*return*/,new Promise(function(e,n){return aN(r,void 0,void 0,function(){var r,o=this;return aO(this,function(a){if(this.userPool){if(!(r=this.userPool.getCurrentUser()))return cn.debug("Failed to get user from user pool"),[2/*return*/,n(Error("No current user."))];r.getSession(function(a,i){return aN(o,void 0,void 0,function(){var o,i=this;return aO(this,function(s){switch(s.label){case 0:if(!a)return[3/*break*/,5];if(cn.debug("Failed to get the user session",a),!this.isSessionInvalid(a))return[3/*break*/,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(r)];case 2:return s.sent(),[3/*break*/,4];case 3:return o=s.sent(),n(Error("Session is invalid due to: "+a.message+" and failed to clean up invalid session: "+o.message)),[2/*return*/];case 4:return[2/*return*/,n(a)];case 5:r.deleteUser(function(o,a){if(o)n(o);else{ci("userDeleted",a,"The authenticated user has been deleted."),r.signOut(),i.user=null;try{i.cleanCachedItems();// clean aws credentials 2655}catch(e){// TODO: change to rejects in refactor 2656cn.debug("failed to clear cached items")}t?i.oAuthSignOutRedirect(e,n):(ci("signOut",i.user,"A user has been signed out"),e(a))}}),s.label=6;case 6:return[2/*return*/]}})})})}else cn.debug("no Congito User pool"),n(Error("Cognito User pool does not exist"));return[2/*return*/]})})})]}})})},/** 2657 * Update an authenticated users' attributes 2658 * @param {CognitoUser} user - The currently logged in user object 2659 * @param {object} attributes - attributes to update 2660 * @param {ClientMetaData} clientMetadata - optional client metadata, defaults to config 2661 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2662 * @return {Promise} 2663 **/e.prototype.updateUserAttributes=function(e,t,r,n){var o=this;void 0===r&&(r=this._config.clientMetadata);var a=[],i=this;return new Promise(function(n,s){i.userSession(e).then(function(i){for(var l in t)if("sub"!==l&&0>l.indexOf("_verified")){var u={Name:l,Value:t[l]};a.push(u)}e.updateAttributes(a,function(e,r,a){return e?(ci("updateUserAttributes_failure",e,"Failed to update attributes"),s(e)):(ci("updateUserAttributes",o.createUpdateAttributesResultList(t,null==a?void 0:a.CodeDeliveryDetailsList),"Attributes successfully updated"),n(r))},r)})})},e.prototype.createUpdateAttributesResultList=function(e,t){var r={};return Object.keys(e).forEach(function(e){r[e]={isUpdated:!0};var n=null==t?void 0:t.find(function(t){return t.AttributeName===e});n&&(r[e].isUpdated=!1,r[e].codeDeliveryDetails=n)}),r},/** 2664 * Return user attributes 2665 * @param {Object} user - The CognitoUser object 2666 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2667 * @return - A promise resolves to user attributes if success 2668 */e.prototype.userAttributes=function(e,t){var r=this;return new Promise(function(t,n){r.userSession(e).then(function(r){e.getUserAttributes(function(e,r){e?n(e):t(r)})})})},e.prototype.verifiedContact=function(e,t){var r=this;return this.userAttributes(e).then(function(e){var t=r.attributesToObject(e),n={},o={};return t.email&&(t.email_verified?o.email=t.email:n.email=t.email),t.phone_number&&(t.phone_number_verified?o.phone_number=t.phone_number:n.phone_number=t.phone_number),{verified:o,unverified:n}})},e.prototype.isErrorWithMessage=function(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"message")},// Session revoked by another app 2669e.prototype.isTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Access Token has been revoked"===e.message},e.prototype.isRefreshTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has been revoked"===e.message},e.prototype.isUserDisabledError=function(e){return this.isErrorWithMessage(e)&&"User is disabled."===e.message},e.prototype.isUserDoesNotExistError=function(e){return this.isErrorWithMessage(e)&&"User does not exist."===e.message},e.prototype.isRefreshTokenExpiredError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has expired"===e.message},e.prototype.isPasswordResetRequiredError=function(e){return this.isErrorWithMessage(e)&&"Password reset required for the user"===e.message},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},e.prototype.isSessionInvalid=function(e){return this.isUserDisabledError(e)||this.isUserDoesNotExistError(e)||this.isTokenRevokedError(e)||this.isRefreshTokenRevokedError(e)||this.isRefreshTokenExpiredError(e)||this.isPasswordResetRequiredError(e)},e.prototype.cleanUpInvalidSession=function(e){return aN(this,void 0,void 0,function(){var t=this;return aO(this,function(r){switch(r.label){case 0:e.signOut(),this.user=null,r.label=1;case 1:return r.trys.push([1,3,,4]),[4/*yield*/,this.cleanCachedItems()];case 2:return r.sent(),[3/*break*/,4];case 3:return r.sent(),cn.debug("failed to clear cached items"),[3/*break*/,4];case 4:if(this.isSignedInHostedUI())return[2/*return*/,new Promise(function(e,r){t.oAuthSignOutRedirect(e,r)})];return ci("signOut",this.user,"A user has been signed out"),[2/*return*/]}})})},/** 2670 * Get current authenticated user 2671 * @param {CurrentUserOpts} params - options for getting the current user 2672 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2673 * @return - A promise resolves to current authenticated CognitoUser if success 2674 */e.prototype.currentUserPoolUser=function(e,t){var r=this;return this.userPool?new Promise(function(t,n){r._storageSync.then(function(){return aN(r,void 0,void 0,function(){var r,o,a,i,s,l=this;return aO(this,function(u){switch(u.label){case 0:if(!this.isOAuthInProgress())return[3/*break*/,2];return cn.debug("OAuth signIn in progress, waiting for resolution..."),[4/*yield*/,new Promise(function(e){var t=setTimeout(function(){cn.debug("OAuth signIn in progress timeout"),(0,a7.Hub).remove("auth",r),e()},1e4);function r(n){var o=n.payload.event;("cognitoHostedUI"===o||"cognitoHostedUI_failure"===o)&&(cn.debug("OAuth signIn resolved: "+o),clearTimeout(t),(0,a7.Hub).remove("auth",r),e())}(0,a7.Hub).listen("auth",r)}
2674)];case 1:u.sent(),u.label=2;case 2:if(!(r=this.userPool.getCurrentUser()))return cn.debug("Failed to get user from user pool"),n("No current user"),[2/*return*/];u.label=3;case 3:return u.trys.push([3,7,,8]),[4/*yield*/,this._userSession(r)];case 4:if(o=u.sent(),!(a=!!e&&e.bypassCache))return[3/*break*/,6];return[4/*yield*/,this.Credentials.clear()];case 5:u.sent(),u.label=6;case 6:if(i=this._config.clientMetadata,!(void 0===(s=o.getAccessToken().decodePayload().scope)?"":s).split(" ").includes(co))return cn.debug("Unable to get the user data because the "+co+" is not in the scopes of the access token"),[2/*return*/,t(r)];return r.getUserData(function(e,o){return aN(l,void 0,void 0,function(){var a,i,s,l,u,c,d;return aO(this,function(f){switch(f.label){case 0:if(!e)return[3/*break*/,7];if(cn.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3/*break*/,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(r)];case 2:return f.sent(),[3/*break*/,4];case 3:return a=f.sent(),n(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+a.message)),[2/*return*/];case 4:return n(e),[3/*break*/,6];case 5:t(r),f.label=6;case 6:return[2/*return*/];case 7:for(l=0,i=o.PreferredMfaSetting||"NOMFA",s=[];l<o.UserAttributes.length;l++)u={Name:o.UserAttributes[l].Name,Value:o.UserAttributes[l].Value},c=new lq(u),s.push(c);return d=this.attributesToObject(s),Object.assign(r,{attributes:d,preferredMFA:i}),[2/*return*/,t(r)]}})})},{bypassCache:a,clientMetadata:i}),[3/*break*/,8];case 7:return n(u.sent()),[3/*break*/,8];case 8:return[2/*return*/]}})})}).catch(function(e){return cn.debug("Failed to sync cache info into memory",e),n(e)})}):this.rejectNoUserPool()},e.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},/** 2675 * Get current authenticated user 2676 * @param {CurrentUserOpts} - options for getting the current user 2677 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2678 * @return - A promise resolves to current authenticated CognitoUser if success 2679 */e.prototype.currentAuthenticatedUser=function(e,t){return aN(this,void 0,void 0,function(){var t,r,n,o,a;return aO(this,function(i){switch(i.label){case 0:cn.debug("getting current authenticated user"),t=null,i.label=1;case 1:return i.trys.push([1,3,,4]),[4/*yield*/,this._storageSync];case 2:return i.sent(),[3/*break*/,4];case 3:throw r=i.sent(),cn.debug("Failed to sync cache info into memory",r),r;case 4:try{(n=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(t=aP(aP({},n.user),{token:n.token}))}catch(e){cn.debug("cannot load federated user from auth storage")}if(!t)return[3/*break*/,5];return this.user=t,cn.debug("get current authenticated federated user",this.user),[2/*return*/,this.user];case 5:cn.debug("get current authenticated userpool user"),o=null,i.label=6;case 6:return i.trys.push([6,8,,9]),[4/*yield*/,this.currentUserPoolUser(e)];case 7:return o=i.sent(),[3/*break*/,9];case 8:return"No userPool"===(a=i.sent())&&cn.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),cn.debug("The user is not authenticated by the error",a),[2/*return*/,Promise.reject("The user is not authenticated")];case 9:return this.user=o,[2/*return*/,this.user]}})})},/** 2680 * Get current user's session 2681 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2682 * @return - A promise resolves to session object if success 2683 */e.prototype.currentSession=function(e){var t=this;return(// Purposely not calling the reject method here because we don't need a console error 2684(cn.debug("Getting current session"),this.userPool)?new Promise(function(e,r){t.currentUserPoolUser().then(function(n){t.userSession(n).then(function(t){e(t)}).catch(function(e){cn.debug("Failed to get the current session",e),r(e)})}).catch(function(e){cn.debug("Failed to get the current user",e),r(e)})}):Promise.reject(Error("No User Pool in the configuration.")))},e.prototype._userSession=function(e){return aN(this,void 0,void 0,function(){var t,r,n=this;return aO(this,function(o){switch(o.label){case 0:if(!e)return cn.debug("the user is null"),[2/*return*/,this.rejectAuthError(eT.NoUserSession)];t=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise(function(r,o){e.getSession(function(t,a){return aN(n,void 0,void 0,function(){var n;return aO(this,function(i){switch(i.label){case 0:if(!t)return[3/*break*/,5];if(cn.debug("Failed to get the session from user",e),!this.isSessionInvalid(t))return[3/*break*/,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3/*break*/,4];
2684case 3:return n=i.sent(),o(Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+n.message)),[2/*return*/];case 4:return o(t),[2/*return*/];case 5:return cn.debug("Succeed to get the user session",a),r(a),[2/*return*/]}})})},{clientMetadata:t})})),this.inflightSessionPromiseCounter++,o.label=1;case 1:return o.trys.push([1,,3,4]),[4/*yield*/,this.inflightSessionPromise];case 2:return r=o.sent(),// Set private member. Avoid user.setSignInUserSession() to prevent excessive localstorage refresh. 2685// @ts-ignore 2686e.signInUserSession=r,[2/*return*/,r];case 3:return this.inflightSessionPromiseCounter--,[7/*endfinally*/];case 4:return[2/*return*/]}})})},/** 2687 * Get the corresponding user session 2688 * @param {Object} user - The CognitoUser object 2689 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2690 * @return - A promise resolves to the session 2691 */e.prototype.userSession=function(e,t){return this._userSession(e)},/** 2692 * Get authenticated credentials of current user. 2693 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2694 * @return - A promise resolves to be current user's credentials 2695 */e.prototype.currentUserCredentials=function(e){return aN(this,void 0,void 0,function(){var e,t,r=this;return aO(this,function(n){switch(n.label){case 0:cn.debug("Getting current user credentials"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4/*yield*/,this._storageSync];case 2:return n.sent(),[3/*break*/,4];case 3:throw e=n.sent(),cn.debug("Failed to sync cache info into memory",e),e;case 4:t=null;try{t=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(e){cn.debug("failed to get or parse item aws-amplify-federatedInfo",e)}if(t)return[2/*return*/,this.Credentials.refreshFederatedToken(t)];return[2/*return*/,this.currentSession().then(function(e){return cn.debug("getting session success",e),r.Credentials.set(e,"session")}).catch(function(){return cn.debug("getting guest credentials"),r.Credentials.set(null,"guest")})]}})})},e.prototype.currentCredentials=function(e){return cn.debug("getting current credentials"),this.Credentials.get()},/** 2696 * Initiate an attribute confirmation request 2697 * @param {Object} user - The CognitoUser 2698 * @param {Object} attr - The attributes to be verified 2699 * @return - A promise resolves to callback data if success 2700 */e.prototype.verifyUserAttribute=function(e,t,r,n){return void 0===r&&(r=this._config.clientMetadata),new Promise(function(n,o){e.getAttributeVerificationCode(t,{onSuccess:function(e){return n(e)},onFailure:function(e){return o(e)}},r)})},/** 2701 * Confirm an attribute using a confirmation code 2702 * @param {Object} user - The CognitoUser 2703 * @param {Object} attr - The attribute to be verified 2704 * @param {String} code - The confirmation code 2705 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2706 * @return - A promise resolves to callback data if success 2707 */e.prototype.verifyUserAttributeSubmit=function(e,t,r,n){return r?new Promise(function(n,o){e.verifyAttribute(t,r,{onSuccess:function(e){n(e)},onFailure:function(e){o(e)}})}):this.rejectAuthError(eT.EmptyCode)},e.prototype.verifyCurrentUserAttribute=function(e,t){var r=this;return r.currentUserPoolUser().then(function(t){return r.verifyUserAttribute(t,e)})},/** 2708 * Confirm current user's attribute using a confirmation code 2709 * @param {Object} attr - The attribute to be verified 2710 * @param {String} code - The confirmation code 2711 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2712 * @return - A promise resolves to callback data if success 2713 */e.prototype.verifyCurrentUserAttributeSubmit=function(e,t,r){var n=this;return n.currentUserPoolUser().then(function(r){return n.verifyUserAttributeSubmit(r,e,t)})},e.prototype.cognitoIdentitySignOut=function(e,t){return aN(this,void 0,void 0,function(){var r,n,o=this;return aO(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4/*yield*/,this._storageSync];case 1:return a.sent(),[3/*break*/,3];case 2:throw r=a.sent(),cn.debug("Failed to sync cache info into memory",r),r;case 3:return n=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2/*return*/,new Promise(function(r,a){
2713if(e&&e.global){cn.debug("user global sign out",t);// in order to use global signout 2714// we must validate the user as an authenticated user by using getSession 2715var i=o._config.clientMetadata;// TODO: verify behavior if this is override during signIn 2716t.getSession(function(e,i){return aN(o,void 0,void 0,function(){var o,i=this;return aO(this,function(s){switch(s.label){case 0:if(!e)return[3/*break*/,5];if(cn.debug("failed to get the user session",e),!this.isSessionInvalid(e))return[3/*break*/,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4/*yield*/,this.cleanUpInvalidSession(t)];case 2:return s.sent(),[3/*break*/,4];case 3:return o=s.sent(),a(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+o.message)),[2/*return*/];case 4:return[2/*return*/,a(e)];case 5:return t.globalSignOut({onSuccess:function(e){if(cn.debug("global sign out success"),!n)return r();i.oAuthSignOutRedirect(r,a)},onFailure:function(e){return cn.debug("global sign out failed",e),a(e)}}),[2/*return*/]}})})},{clientMetadata:i})}else cn.debug("user sign out",t),t.signOut(function(){if(!n)return r();o.oAuthSignOutRedirect(r,a)})})]}})})},e.prototype.oAuthSignOutRedirect=function(e,t){ig().isBrowser?this.oAuthSignOutRedirectOrReject(t):this.oAuthSignOutAndResolve(e)},e.prototype.oAuthSignOutAndResolve=function(e){this._oAuthHandler.signOut(),e()},e.prototype.oAuthSignOutRedirectOrReject=function(e){this._oAuthHandler.signOut(),// App should be redirected to another url otherwise it will reject 2717setTimeout(function(){return e(Error("Signout timeout fail"))},3e3)},/** 2718 * Sign out method 2719 * @param {SignOutOpts} opts - options for sign out 2720 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2721 * @return - A promise resolved if success 2722 */e.prototype.signOut=function(e,t){return aN(this,void 0,void 0,function(){var t;return aO(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4/*yield*/,this.cleanCachedItems()];case 1:return r.sent(),[3/*break*/,3];case 2:return r.sent(),cn.debug("failed to clear cached items"),[3/*break*/,3];case 3:if(!this.userPool)return[3/*break*/,7];if(!(t=this.userPool.getCurrentUser()))return[3/*break*/,5];return[4/*yield*/,this.cognitoIdentitySignOut(e,t)];case 4:return r.sent(),[3/*break*/,6];case 5:cn.debug("no current Cognito user"),r.label=6;case 6:return[3/*break*/,8];case 7:cn.debug("no Cognito User pool"),r.label=8;case 8:return(/** 2723 * Note for future refactor - no reliable way to get username with 2724 * Cognito User Pools vs Identity when federating with Social Providers 2725 * This is why we need a well structured session object that can be inspected 2726 * and information passed back in the message below for Hub dispatch 2727 */ci("signOut",this.user,"A user has been signed out"),this.user=null,[2/*return*/])}})})},e.prototype.cleanCachedItems=function(){return aN(this,void 0,void 0,function(){return aO(this,function(e){switch(e.label){case 0:// clear cognito cached item 2728return[4/*yield*/,this.Credentials.clear()];case 1:return(// clear cognito cached item 2729e.sent(),[2/*return*/])}})})},/** 2730 * Change a password for an authenticated user 2731 * @param {Object} user - The CognitoUser object 2732 * @param {String} oldPassword - the current password 2733 * @param {String} newPassword - the requested new password 2734 * @param {ClientMetaData} clientMetadata - optional client metadata, defaults to config 2735 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2736 * @return - A promise resolves if success 2737 */e.prototype.changePassword=function(e,t,r,n,o){var a=this;return void 0===n&&(n=this._config.clientMetadata),new Promise(function(o,i){a.userSession(e).then(function(a){e.changePassword(t,r,function(e,t){return e?(cn.debug("change password failure",e),i(e)):o(t)},n)})})},/** 2738 * Initiate a forgot password request 2739 * @param {String} username - the username to change password 2740 * @param {ClientMetaData} clientMetadata - optional client metadata, defaults to config 2741 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2742 * @return - A promise resolves if success 2743 */e.prototype.forgotPassword=function(e,t,r){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(eT.EmptyUsername);var n=this.createCognitoUser(e);return new Promise(function(r,o){n.forgotPassword({onSuccess:function(){r()},onFailure:function(t){cn.debug("forgot password failure",t),ci("forgotPassword_failure",t,e+" forgotPassword failed"),o(t)},inputVerificationCode:function(t){ci("forgotPassword",n,e+" has initiated forgot password flow"),r(t)}},t)})},/** 2744 * Confirm a new password using a confirmation Code 2745 * @param {String} username - The username 2746 * @param {String} code - The confirmation code 2747 * @param {String} password - The new password 2748 * @param {ClientMetaData} clientMetadata - optional client metadata, defaults to config 2749 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2750 * @return - A promise that resolves if success 2751 */e.prototype.forgotPasswordSubmit=function(e,t,r,n,o){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(eT.EmptyUsername);if(!t)return this.rejectAuthError(eT.EmptyCode);if(!r)return this.rejectAuthError(eT.EmptyPassword);var a=this.createCognitoUser(e);return new Promise(function(o,i){a.confirmPassword(t,r,{onSuccess:function(t){ci("forgotPasswordSubmit",a,e+" forgotPasswordSubmit successful"),o(t)}
2751,onFailure:function(t){ci("forgotPasswordSubmit_failure",t,e+" forgotPasswordSubmit failed"),i(t)}},n)})},/** 2752 * Get user information 2753 * @async 2754 * @param {CustomUserAgentDetails} customUserAgentDetails - Optional parameter to send user agent details 2755 * @return {Object }- current User's information 2756 */e.prototype.currentUserInfo=function(e){return aN(this,void 0,void 0,function(){var e,t,r,n,o,a,i;return aO(this,function(s){switch(s.label){case 0:if(!(!(e=this.Credentials.getCredSource())||"aws"===e||"userPool"===e))return[3/*break*/,9];return[4/*yield*/,this.currentUserPoolUser().catch(function(e){return cn.error(e)})];case 1:if(!(t=s.sent()))return[2/*return*/,null];s.label=2;case 2:return s.trys.push([2,8,,9]),[4/*yield*/,this.userAttributes(t)];case 3:r=s.sent(),n=this.attributesToObject(r),o=null,s.label=4;case 4:return s.trys.push([4,6,,7]),[4/*yield*/,this.currentCredentials()];case 5:return o=s.sent(),[3/*break*/,7];case 6:return a=s.sent(),cn.debug("Failed to retrieve credentials while getting current user info",a),[3/*break*/,7];case 7:return[2/*return*/,{id:o?o.identityId:void 0,username:t.getUsername(),attributes:n}];case 8:return i=s.sent(),cn.error("currentUserInfo error",i),[2/*return*/,{}];case 9:if("federated"===e)return[2/*return*/,(t=this.user)||{}];return[2/*return*/]}})})},e.prototype.federatedSignIn=function(e,t,r,n){return aN(this,void 0,void 0,function(){var n,o,a,i,s,l,u,c,d,f,p;return aO(this,function(h){switch(h.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation requires either a User Pool or Identity Pool in config");// Ensure backwards compatability 2757if(void 0===e&&this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation with Identity Pools requires tokens passed as arguments");if(!(s6(e)||e&&["customProvider"].find(function(t){return e.hasOwnProperty(t)})||e&&["customState"].find(function(t){return e.hasOwnProperty(t)})||void 0===e))return[3/*break*/,1];return o=s6(n=e||{provider:eI.Cognito})?n.provider:n.customProvider,s6(n),a=n.customState,this._config.userPoolId&&(i=s4(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,s=s4(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,s,i,o,a)),[3/*break*/,4];case 1:o=e;// To check if the user is already logged in 2758try{(l=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&cn.warn("There is already a signed in user: "+l+" in your app.\n You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(e){}return u=t.token,c=t.identity_id,d=t.expires_at,[4/*yield*/,this.Credentials.set({provider:o,token:u,identity_id:c,user:r,expires_at:d},"federation")];case 2:return f=h.sent(),[4/*yield*/,this.currentAuthenticatedUser()];case 3:return ci("signIn",p=h.sent(),"A user "+p.username+" has been signed in"),cn.debug("federated sign in credentials",f),[2/*return*/,f];case 4:return[2/*return*/]}})})},/** 2759 * Used to complete the OAuth flow with or without the Cognito Hosted UI 2760 * @param {String} URL - optional parameter for customers to pass in the response URL 2761 */e.prototype._handleAuthResponse=function(e){return aN(this,void 0,void 0,function(){var t,r,n,o,a,i,s,l,u,c,d,f,p;return aO(this,function(h){switch(h.label){case 0:if(this.oAuthFlowInProgress)return cn.debug("Skipping URL "+e+" current flow in progress"),[2/*return*/];h.label=1;case 1:if(h.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw Error("OAuth responses require a User Pool defined in config");if(ci("parsingCallbackUrl",{url:e},"The callback url is being parsed"),r=!!(eF(t=e||(ig().isBrowser?window.location.href:"")).query||"").split("&").map(function(e){return e.split("=")}).find(function(e){var t=aM(e,1)[0];return"code"===t||"error"===t}),n=!!(eF(t).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).find(function(e){var t=aM(e,1)[0];return"access_token"===t||"error"===t}),!(r||n))return[3/*break*/,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),h.label=2;case 2:return h.trys.push([2,6,,7]),[4/*yield*/,this._oAuthHandler.handleAuthResponse(t)];case 3:if(a=(o=h.sent()).accessToken,i=o.idToken,s=o.refreshToken,l=o.state,u=new lG({IdToken:new lz({IdToken:i}),RefreshToken:new lW({RefreshToken:s}),AccessToken:new lZ({AccessToken:a})}),c=void 0,!this._config.identityPoolId)return[3/*break*/,5];return[4/*yield*/,this.Credentials.set(u,"session")];
2761case 4:c=h.sent(),cn.debug("AWS credentials",c),h.label=5;case 5://#endregion 2762return d=/-/.test(l),// This calls cacheTokens() in Cognito SDK 2763(f=this.createCognitoUser(u.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(u),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),ci("signIn",f,"A user "+f.getUsername()+" has been signed in"),ci("cognitoHostedUI",f,"A user "+f.getUsername()+" has been signed in via Cognito Hosted UI"),d&&ci("customOAuthState",l.split("-").splice(1).join("-").match(/.{2}/g).map(function(e){return String.fromCharCode(parseInt(e,16))}).join(""),"State for user "+f.getUsername()),[2/*return*/,c];case 6:return p=h.sent(),cn.debug("Error in cognito hosted auth response",p),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),ci("signIn_failure",p,"The OAuth response flow failed"),ci("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),ci("customState_failure",p,"A failure occurred when returning state"),[3/*break*/,7];case 7:return[3/*break*/,9];case 8:return this.oAuthFlowInProgress=!1,[7/*endfinally*/];case 9:return[2/*return*/]}})})},/** 2764 * Compact version of credentials 2765 * @param {Object} credentials 2766 * @return {Object} - Credentials 2767 */e.prototype.essentialCredentials=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e.prototype.attributesToObject=function(e){var t=this,r={};return e&&e.map(function(e){"email_verified"===e.Name||"phone_number_verified"===e.Name?r[e.Name]=t.isTruthyString(e.Value)||!0===e.Value:r[e.Name]=e.Value}),r},e.prototype.isTruthyString=function(e){return"function"==typeof e.toLowerCase&&"true"===e.toLowerCase()},e.prototype.createCognitoUser=function(e){var t={Username:e,Pool:this.userPool};t.Storage=this._storage;var r=this._config.authenticationFlowType,n=new us(t);return r&&n.setAuthenticationFlowType(r),n},e.prototype._isValidAuthStorage=function(e){// We need to check if the obj has the functions of Storage 2768return!!e&&"function"==typeof e.getItem&&"function"==typeof e.setItem&&"function"==typeof e.removeItem&&"function"==typeof e.clear},e.prototype.noUserPoolErrorHandler=function(e){return!e||e.userPoolId&&e.identityPoolId?eT.NoConfig:eT.MissingAuthConfig},e.prototype.rejectAuthError=function(e){return Promise.reject(new ce(e))},e.prototype.rejectNoUserPool=function(){var e=this.noUserPoolErrorHandler(this._config);return Promise.reject(new ct(e))},e.prototype.rememberDevice=function(e){return aN(this,void 0,void 0,function(){var e,t;return aO(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4/*yield*/,this.currentUserPoolUser()];case 1:return e=r.sent(),[3/*break*/,3];case 2:return t=r.sent(),cn.debug("The user is not authenticated by the error",t),[2/*return*/,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2/*return*/,new Promise(function(t,r){e.setDeviceStatusRemembered({onSuccess:function(e){t(e)},onFailure:function(e){"InvalidParameterException"===e.code?r(new ce(eT.DeviceConfig)):"NetworkError"===e.code?r(new ce(eT.NetworkError)):r(e)}})})]}})})},e.prototype.forgetDevice=function(e){return aN(this,void 0,void 0,function(){var e,t;return aO(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4/*yield*/,this.currentUserPoolUser()];case 1:return e=r.sent(),[3/*break*/,3];case 2:return t=r.sent(),cn.debug("The user is not authenticated by the error",t),[2/*return*/,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2/*return*/,new Promise(function(t,r){e.forgetDevice({onSuccess:function(e){t(e)},onFailure:function(e){"InvalidParameterException"===e.code?r(new ce(eT.DeviceConfig)):"NetworkError"===e.code?r(new ce(eT.NetworkError)):r(e)}})})]}})})},e.prototype.fetchDevices=function(e){return aN(this,void 0,void 0,function(){var e,t;return aO(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4/*yield*/,this.currentUserPoolUser()];case 1:return e=r.sent(),[3/*break*/,3];case 2:throw t=r.sent(),cn.debug("The user is not authenticated by the error",t),Error("The user is not authenticated");case 3:return e.getCachedDeviceKeyAndPassword(),[2/*return*/,new Promise(function(t,r){e.listDevices(60,null,{onSuccess:function(e){t(e.Devices.map(function(e){var t=e.DeviceAttributes.find(function(e){return"device_name"===e.Name})||{};return{id:e.DeviceKey,name:t.Value}}))},onFailure:function(e){"InvalidParameterException"===e.code?r(new ce(eT.DeviceConfig)):"NetworkError"===e.code?r(new ce(eT.NetworkError)):r(e)}})})]}})})},e}(),cl=new cs(null);(0,aj.Amplify).register(cl);var cu=new/** @class */(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return aT(t,e),t.prototype.getModuleName=function(){return"Auth"},/** 2769 * Sign up with username, password and other attributes like phone, email 2770 * @param {String | object} params - The user attributes used for signin 2771 * @param {String[]} restOfAttrs - for the backward compatability 2772 * @return - A promise resolves callback data if success 2773 */t.prototype.signUp=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return e.prototype.signUp.call(this,t,r)},/** 2774 * Send the verification code to confirm sign up 2775 * @param {String} username - The username to be confirmed 2776 * @param {String} code - The verification code 2777 * @param {ConfirmSignUpOptions}
2777 options - other options for confirm signup 2778 * @return - A promise resolves callback data if success 2779 */t.prototype.confirmSignUp=function(t,r,n){return e.prototype.confirmSignUp.call(this,t,r,n)},/** 2780 * Resend the verification code 2781 * @param {String} username - The username to be confirmed 2782 * @param {ClientMetadata} clientMetadata - Metadata to be passed to Cognito Lambda triggers 2783 * @return - A promise resolves code delivery details if successful 2784 */t.prototype.resendSignUp=function(t,r){return e.prototype.resendSignUp.call(this,t,r)},/** 2785 * Sign in 2786 * @param {String | SignInOpts} usernameOrSignInOpts - The username to be signed in or the sign in options 2787 * @param {String} pw - The password of the username 2788 * @param {ClientMetaData} clientMetadata - Client metadata for custom workflows 2789 * @return - A promise resolves the CognitoUser 2790 */t.prototype.signIn=function(t,r,n){return e.prototype.signIn.call(this,t,r,n)},/** 2791 * This was previously used by an authenticated user to get MFAOptions, 2792 * but no longer returns a meaningful response. Refer to the documentation for 2793 * how to setup and use MFA: https://docs.amplify.aws/lib/auth/mfa/q/platform/js 2794 * @deprecated 2795 * @param {CognitoUser} user - the current user 2796 * @return - A promise resolves the current preferred mfa option if success 2797 */t.prototype.getMFAOptions=function(t){return e.prototype.getMFAOptions.call(this,t)},/** 2798 * get preferred mfa method 2799 * @param {CognitoUser} user - the current cognito user 2800 * @param {GetPreferredMFAOpts} params - options for getting the current user preferred MFA 2801 */t.prototype.getPreferredMFA=function(t,r){return e.prototype.getPreferredMFA.call(this,t,r)},/** 2802 * set preferred MFA method 2803 * @param {CognitoUser} user - the current Cognito user 2804 * @param {string} mfaMethod - preferred mfa method 2805 * @return - A promise resolve if success 2806 */t.prototype.setPreferredMFA=function(t,r){return e.prototype.setPreferredMFA.call(this,t,r)},/** 2807 * disable SMS 2808 * @deprecated 2809 * @param {CognitoUser} user - the current user 2810 * @return - A promise resolves is success 2811 */t.prototype.disableSMS=function(t){return e.prototype.disableSMS.call(this,t)},/** 2812 * enable SMS 2813 * @deprecated 2814 * @param {CognitoUser} user - the current user 2815 * @return - A promise resolves is success 2816 */t.prototype.enableSMS=function(t){return e.prototype.enableSMS.call(this,t)},/** 2817 * Setup TOTP 2818 * @param {CognitoUser} user - the current user 2819 * @return - A promise resolves with the secret code if success 2820 */t.prototype.setupTOTP=function(t){return e.prototype.setupTOTP.call(this,t)},/** 2821 * verify TOTP setup 2822 * @param {CognitoUser} user - the current user 2823 * @param {string} challengeAnswer - challenge answer 2824 * @return - A promise resolves is success 2825 */t.prototype.verifyTotpToken=function(t,r){return e.prototype.verifyTotpToken.call(this,t,r)},/** 2826 * Send MFA code to confirm sign in 2827 * @param {Object} user - The CognitoUser object 2828 * @param {String} code - The confirmation code 2829 */t.prototype.confirmSignIn=function(t,r,n,o){return e.prototype.confirmSignIn.call(this,t,r,n,o)},t.prototype.completeNewPassword=function(t,r,n,o){return void 0===n&&(n={}),e.prototype.completeNewPassword.call(this,t,r,n,o)},/** 2830 * Send the answer to a custom challenge 2831 * @param {CognitoUser} user - The CognitoUser object 2832 * @param {String} challengeResponses - The confirmation code 2833 */t.prototype.sendCustomChallengeAnswer=function(t,r,n){return e.prototype.sendCustomChallengeAnswer.call(this,t,r,n)},/** 2834 * Delete an authenticated users' attributes 2835 * @param {CognitoUser} - The currently logged in user object 2836 * @return {Promise} 2837 **/t.prototype.deleteUserAttributes=function(t,r){return e.prototype.deleteUserAttributes.call(this,t,r)},/** 2838 * Delete the current authenticated user 2839 * @return {Promise} 2840 **/// TODO: Check return type void 2841t.prototype.deleteUser=function(){return e.prototype.deleteUser.call(this)},/** 2842 * Update an authenticated users' attributes 2843 * @param {CognitoUser} - The currently logged in user object 2844 * @return {Promise} 2845 **/t.prototype.updateUserAttributes=function(t,r,n){return e.prototype.updateUserAttributes.call(this,t,r,n)},/** 2846 * Return user attributes 2847 * @param {Object} user - The CognitoUser object 2848 * @return - A promise resolves to user attributes if success 2849 */t.prototype.userAttributes=function(t){return e.prototype.userAttributes.call(this,t)},t.prototype.verifiedContact=function(t){return e.prototype.verifiedContact.call(this,t)},/** 2850 * Get current authenticated user 2851 * @return - A promise resolves to current authenticated CognitoUser if success 2852 */t.prototype.currentUserPoolUser=function(t){return e.prototype.currentUserPoolUser.call(this,t)},/** 2853 * Get current authenticated user 2854 * @param {CurrentUserOpts} - options for getting the current user 2855 * @return - A promise resolves to current authenticated CognitoUser if success 2856 */t.prototype.currentAuthenticatedUser=function(t){return e.prototype.currentAuthenticatedUser.call(this,t)},/** 2857 * Get current user's session 2858 * @return - A promise resolves to session object if success 2859 */t.prototype.currentSession=function(){return e.prototype.currentSession.call(this)},/** 2860 * Get the corresponding user session 2861 * @param {Object} user - The CognitoUser object 2862 * @return - A promise resolves to the session 2863 */t.prototype.userSession=function(t){return e.prototype.userSession.call(this,t)},/** 2864 * Get authenticated credentials of current user. 2865 * @return - A promise resolves to be current user's credentials 2866 */t.prototype.currentUserCredentials=function(){return e.prototype.currentUserCredentials.call(this)},t.prototype.currentCredentials=function(){return e.prototype.currentCredentials.call(this)},/** 2867 * Initiate an attribute confirmation request 2868 * @param {Object} user - The CognitoUser 2869 * @param {Object} attr - The attributes to be verified 2870 * @return - A promise resolves to callback data if success 2871 */t.prototype.verifyUserAttribute=function(t,r,n){return e.prototype.verifyUserAttribute.call(this,t,r,n)},/** 2872 * Confirm an attribute using a confirmation code 2873 * @param {Object} user - The CognitoUser 2874 * @param {Object} attr - The attribute to be verified 2875 * @param {String} code - The confirmation code 2876 * @return - A promise resolves to callback data if success 2877 */t.prototype.verifyUserAttributeSubmit=function(t,r,n){return e.prototype.verifyUserAttributeSubmit.call(this,t,r,n)},t.prototype.verifyCurrentUserAttribute=function(t){return e.prototype.verifyCurrentUserAttribute.call(this,t)},/** 2878 * Confirm current user's attribute using a confirmation code 2879 * @param {Object} attr - The attribute to be verified 2880 * @param {String} code - The confirmation code 2881 * @return - A promise resolves to callback data if success 2882 */t.prototype.verifyCurrentUserAttributeSubmit=function(t,r){return e.prototype.verifyCurrentUserAttributeSubmit.call(this,t,r)},/** 2883 * Sign out method 2884 * @
2885 * @return - A promise resolved if success 2886 */t.prototype.signOut=function(t){return e.prototype.signOut.call(this,t)},/** 2887 * Change a password for an authenticated user 2888 * @param {Object} user - The CognitoUser object 2889 * @param {String} oldPassword - the current password 2890 * @param {String} newPassword - the requested new password 2891 * @return - A promise resolves if success 2892 */t.prototype.changePassword=function(t,r,n,o){return e.prototype.changePassword.call(this,t,r,n,o)},/** 2893 * Initiate a forgot password request 2894 * @param {String} username - the username to change password 2895 * @return - A promise resolves if success 2896 */t.prototype.forgotPassword=function(t,r){return e.prototype.forgotPassword.call(this,t,r)},/** 2897 * Confirm a new password using a confirmation Code 2898 * @param {String} username - The username 2899 * @param {String} code - The confirmation code 2900 * @param {String} password - The new password 2901 * @return - A promise that resolves if success 2902 */t.prototype.forgotPasswordSubmit=function(t,r,n,o){return e.prototype.forgotPasswordSubmit.call(this,t,r,n,o)},/** 2903 * Get user information 2904 * @async 2905 * @return {Object }- current User's information 2906 */t.prototype.currentUserInfo=function(){return e.prototype.currentUserInfo.call(this)},t.prototype.federatedSignIn=function(t,r,n){return e.prototype.federatedSignIn.call(this,t,r,n)},/** 2907 * Compact version of credentials 2908 * @param {Object} credentials 2909 * @return {Object} - Credentials 2910 */t.prototype.essentialCredentials=function(t){return e.prototype.essentialCredentials.call(this,t)},t.prototype.rememberDevice=function(){return e.prototype.rememberDevice.call(this)},t.prototype.forgetDevice=function(){return e.prototype.forgetDevice.call(this)},t.prototype.fetchDevices=function(){return e.prototype.fetchDevices.call(this)},t}(cs))(null);function cc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function cd(e){return"string"==typeof e||"object"==typeof e&&"[object String]"===Object.prototype.toString.call(e)}function cf(e){if(null==e)return!0;if(cc(e)&&(cc(e)&&"[object Map]"===Object.prototype.toString.call(e)||cc(e)&&"[object Set]"===Object.prototype.toString.call(e)))return!e.size;if(cc(e)&&(cd(e)||Array.isArray(e)))return!e.length;for(let t in e)if(cm(e,t))return!1;return!0}function cp(e){return Array.isArray(e)&&cf(e)}function ch(e){return cc(e)&&cf(e)}function cm(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function cg(e){return"function"==typeof e}(0,aj.Amplify).register(cu);const cv=(e,t)=>t?`${e}--${t}`:"",cy=(e,t,r)=>r?`${e}--${t}`:"",cb=["username","email","phone_number","birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website","confirmation_code","password","confirm_password"],cw=e=>cb.includes(e),cS=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+29
29101","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"],cx={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:cS,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},cE=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";
2910","|","_","~","`","=","+","-"," "],cC=e=>{var t;let r=null===(t=null==e?void 0:e.context.config)||void 0===t?void 0:t.loginMechanisms,[n]=null!=r?r:["username"];return n},cA=e=>cb.includes(e),ck=e=>e?Array.isArray(e)?e:[e]:null,c_=(e,t)=>{let{country_code:r}=aE(e),n=cx[t],{type:o}=n;return"tel"===o&&(n=Object.assign(Object.assign({},n),{dialCode:r})),n},cI=e=>{let t=cC(e);return Object.assign(Object.assign({},c_(e,t)),{autocomplete:"username"})},cT=e=>({confirmation_code:Object.assign(Object.assign({},c_(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}),cP={signIn:e=>({username:Object.assign({},cI(e)),password:Object.assign(Object.assign({},c_(e,"password")),{autocomplete:"current-password"})}),signUp:e=>{let{loginMechanisms:t,signUpAttributes:r}=e.context.config,n=cC(e),o=Array.from(new Set([...t,"password","confirm_password",...r])),a={};for(let t of o)if(cA(t)){let r=t===n?cI(e):c_(e,t);a[t]=Object.assign({},r)}else console.debug(`Authenticator does not have a default implementation for ${t}. Customize SignUp FormFields to add your own.`);return a},confirmSignUp:e=>({confirmation_code:Object.assign(Object.assign({},c_(e,"confirmation_code")),{placeholder:"Enter your code"})}),confirmSignIn:cT,forceNewPassword:e=>{let t=ax(e),{requiredAttributes:r}=t.context,n=Array.from(new Set(["password","confirm_password",...r])),o={};for(let t of n)cA(t)?o[t]=Object.assign({},c_(e,t)):console.debug(`Authenticator does not have a default implementation for ${t}. Customize ForceNewPassword FormFields to add your own.`);return o},resetPassword:e=>{let t=cC(e),{label:r}=cx[t];return{username:Object.assign(Object.assign({},cI(e)),{label:`Enter your ${r.toLowerCase()}`,placeholder:`Enter your ${r.toLowerCase()}`})}},confirmResetPassword:e=>Object.assign(Object.assign({},cT(e)),{password:Object.assign(Object.assign({},c_(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:Object.assign(Object.assign({},c_(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})}),confirmVerifyUser:cT,setupTOTP:cT};Object.assign({},{"Account recovery requires verified contact information":"Zur\xfccksetzen des Account ben\xf6tigt einen verifizierten Account","Back to Sign In":"Zur\xfcck zur Anmeldung","Change Password":"Passwort \xe4ndern",Changing:"\xc4ndern von",Code:"Code","Confirm Password":"Passwort best\xe4tigen","Please confirm your Password":"Bitte best\xe4tigen Sie Ihr Passwort","Confirm Sign Up":"Registrierung best\xe4tigen","Confirm SMS Code":"SMS-Code best\xe4tigen","Confirm TOTP Code":"TOTP-Code best\xe4tigen",Confirm:"Best\xe4tigen","Confirmation Code":"Best\xe4tigungs-Code",Confirming:"Wird best\xe4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",
2910Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your Email":"Geben Sie Ihre E-Mail ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xfccksetzen des Passwort","Reset your password":"Zur\xfccksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xdcberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS gesendet","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xe4tigen","Confirm Sign In":"Anmeldung best\xe4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Enter your Password":"Geben Sie Ihr Passwort ein","Sign Up with Facebook":"Mit Facebook registrieren","Sign Up with Google":"Mit Google registrieren","Forgot Password":"Passwort vergessen","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xfcltiges Passwort-Format","Invalid phone number format":"Ung\xfcltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","It may take a minute to arrive.":"Es k\xf6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldever
2910suche wurde erreicht","Reset password":"Passwort zur\xfccksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xe4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"}),Object.assign({},{"Account recovery requires verified contact information":"Account recovery requires verified contact information","Add your Profile":"Add your Profile","Add your Website":"Add your Website","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your Birthdate":"Enter your Birthdate","Enter your code":"Enter your code","Enter your Confirmation Code":"Enter your Confirmation Code","Enter your Email":"Enter your Email","Enter your Family Name":"Enter your Family Name","Enter your Given Name":"Enter your Given Name","Enter your Middle Name":"Enter your Middle Name","Enter your Name":"Enter your Name","Enter your Nickname":"Enter your Nickname","Enter your Password":"Enter your Password","Enter your phone number":"Enter your phone number","Enter your Preferred Username":"Enter your Preferred Username","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Please confirm your Password":"Please confirm your Password","Resend Code":"Resend Code","Reset your password":"Reset your password","Reset your Password":"Reset your Password","Send code":"Send code","Send Code":"Send Code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in to your account":"Sign in to your account","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"Sign in","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"}),Object.assign({},{"Account recovery requires verified contact information":"La recuperaci\xf3n de la cuenta requiere informaci\xf3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xf3n","Change Password":"Cambiar contrase\xf1a",Changing:"Cambiando",Code:"C\xf3digo","Confirm Password":"Confirmar contrase\xf1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xf3digo de SMS","Confirm TOTP Code":"Confirmar c\xf3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xf3digo de confirmaci\xf3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your co
2910de":"Ingrese el c\xf3digo","Enter your Email":"Escriba su Email","Enter your Password":"Escriba su Contrase\xf1a","Enter your phone number":"Ingrese el n\xfamero de tel\xe9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xbfOlvid\xf3 su contrase\xf1a?","Hide password":"Ocultar contrase\xf1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xf1a",or:"o",Password:"Contrase\xf1a","Phone Number":"N\xfamero de tel\xe9fono","Resend Code":"Reenviar c\xf3digo","Reset your password":"Restablecer su contrase\xf1a","Reset your Password":"Restablecer su Contrase\xf1a","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xf1a","Sign in to your account":"Iniciar sesi\xf3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xf3n con Amazon","Sign In with Apple":"Iniciar Sesi\xf3n con Apple","Sign In with Facebook":"Iniciar Sesi\xf3n con Facebook","Sign In with Google":"Iniciar Sesi\xf3n con Google","Sign in":"Iniciar sesi\xf3n","Sign In":"Iniciar Sesi\xf3n","Signing in":"Iniciando sesi\xf3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xf3nico","We Sent A Code":"Hemos enviado un c\xf3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por correo electr\xf3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xf3digo est\xe1 en camino. Para iniciar sesi\xf3n, escriba el c\xf3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xf3digo","Confirm Sign In":"Confirmar inicio de sesi\xf3n","Forgot Password":"Olvid\xe9 mi contrase\xf1a","Incorrect username or password.":"Nombre de usuario o contrase\xf1a incorrecta","Invalid password format":"Formato de contrase\xf1a inv\xe1lido","Invalid phone number format":"Formato de n\xfamero de tel\xe9fono inv\xe1lido","Loading...":"Cargando...","New Password":"Nueva contrase\xf1a","Resend a Code":"Reenviar un c\xf3digo","Sign Out":"Cerrar sesi\xf3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xedo","Your passwords must match":"Las contrase\xf1as deben coincidir"}),Object.assign({},{"Account recovery requires verified contact information":"La r\xe9cup\xe9ration du compte n\xe9cessite des informations de contact v\xe9rifi\xe9es","Back to Sign In":"Retour \xe0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xe9er un nouveau compte","Create Account":"Cr\xe9er un compte","Creating Account":"Cr\xe9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your Email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xe9ro de t\xe9l\xe9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xe9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xe9ro de t\xe9l\xe9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xe9initialiser votre mot de passe","Reset your password":"R\xe9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xe0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xe9rifier le contact",Verify:"V\xe9rifier","We Sent A Code":"Nous avons envoy\xe9 un code","We Texted You":"Nous vous avons envoy\xe9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xe9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xe9j\xe0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xe9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot Password":"Mot de passe oubli\xe9","Have an account? ":"D\xe9j\xe0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xe9ro de t\xe9l\xe9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your co
2910de? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xe9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xe9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xe9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xe9j\xe0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xeatre renseign\xe9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xe9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xe7u sur ce num\xe9ro de t\xe9l\xe9phone","Your passwords must match":"Vos mots de passe doivent \xeatre identiques","It may take a minute to arrive.":"Cela peut prendre quelques minutes."}),Object.assign({},{"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your Email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xe8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xe8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xe8 gi\xe0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot Password?":"Password dimenticata?","Have an account? ":"Gi\xe0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Formato del numero di telefono non valido","Lost your co
2910de?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xe8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xe0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xf2 essere vuoto"}),Object.assign({},{"Account recovery requires verified contact information":"ã¢ã«ã¦ã³ãã®å¾©æ§ã«ã¯ç¢ºèªæ¸ã¿ã®é£çµ¡å
ãå¿
è¦ã§ã","Back to Sign In":"ãµã¤ã³ã¤ã³ã«æ»ã","Change Password":"ãã¹ã¯ã¼ããå¤ãã ",Changing:"夿´ä¸",Code:"ã³ã¼ã","Confirm Password":"ãã¹ã¯ã¼ãã®ç¢ºèª","Confirm Sign Up":"ç»é²ãã","Confirm SMS Code":"SMS ã³ã¼ãã確èª","Confirm TOTP Code":"TOTP ã³ã¼ãã確èª",Confirm:"確å®","Confirmation Code":"確èªã³ã¼ã",Confirming:"確èªä¸","Create a new account":"æ°ããã¢ã«ã¦ã³ããä½ã","Create Account":"ã¢ã«ã¦ã³ããä½ã","Creating Account":"ã¢ã«ã¦ã³ãã®ä½æä¸","Dismiss alert":"ã¢ã©ã¼ããéãã",Email:"ã¡ã¼ã«ã¢ãã¬ã¹","Enter your code":"ã³ã¼ããå
¥å","Enter your Email":"ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥å","Enter your phone number":"é»è©±çªå·ãå
¥å","Enter your username":"ã¦ã¼ã¶ã¼åãå
¥å ","Forgot your password?":"ãã¹ã¯ã¼ããå¿ãã¾ãããï¼ ","Hide password":"ãã¹ã¯ã¼ããé表示","It may take a minute to arrive":"å°çããã¾ã§ã« 1 åããããã¨ãããã¾ãã",Loading:"ãã¼ãä¸","New password":"æ°ãããã¹ã¯ã¼ã",or:"åã¯",Password:"ãã¹ã¯ã¼ã ","Phone Number":"é»è©±çªå·","Resend Code":"ã³ã¼ããåéä¿¡","Reset your Password":"ãã¹ã¯ã¼ãããªã»ãã","Reset your password":"ãã¹ã¯ã¼ãããªã»ãããã","Send code":"ã³ã¼ããéä¿¡","Send Code":"ã³ã¼ããéä¿¡",Sending:"éä¿¡ä¸","Setup TOTP":"TOTP ãã»ããã¢ãã","Show password":"ãã¹ã¯ã¼ãã表示","Sign in to your account":"ã¢ã«ã¦ã³ãã«ãµã¤ã³ã¤ã³ ","Sign In with Amazon":"Amazonã§ãµã¤ã³ã¤ã³","Sign In with Apple":"Apple ã§ãµã¤ã³ã¤ã³","Sign In with Facebook":"Facebookã§ãµã¤ã³ã¤ã³","Sign In with Google":"Googleã§ãµã¤ã³ã¤ã³","Sign In":"ãµã¤ã³ã¤ã³ ","Sign in":"ãµã¤ã³ã¤ã³","Signing in":"ãµã¤ã³ã¤ã³ä¸",Skip:"ã¹ããã",Submit:"éä¿¡",Submitting:"éä¿¡ä¸",Username:"ã¦ã¼ã¶ã¼å ","Verify Contact":"é£çµ¡å
ã確èª",Verify:"確èª","We Sent A Code":"ã³ã¼ããéä¿¡ããã¾ãã","We Texted You":"ããã¹ããéä¿¡ããã¾ãã","Your code is on the way. To log in, enter the code we sent you":"ã³ã¼ããéä¸ã§ãããã°ã¤ã³ããã«ã¯ãéä¿¡ããã³ã¼ããå
¥åãã¦ãã ããã","An account with the given email already exists.":"å
¥åãããã¡ã¼ã«ã¢ãã¬ã¹ã®ã¢ã«ã¦ã³ããæ¢ã«åå¨ãã¾ã","Confirm a Code":"ã³ã¼ãã確èª","Confirm Sign In":"ãµã¤ã³ã¤ã³ãã","Create account":"ã¢ã«ã¦ã³ããä½ã ","Enter your password":"ãã¹ã¯ã¼ããå
¥å ","Enter your Password":"ãã¹ã¯ã¼ããå
¥å","Please confirm your Password":"ãã¹ã¯ã¼ããå
¥å","Forgot Password":"ãã¹ã¯ã¼ããå¿ãã ","Have an account? ":"ã¢ã«ã¦ã³ããæã£ã¦ãã¾ããï¼","Incorrect username or password":"ã¦ã¼ã¶ã¼åããã¹ã¯ã¼ããç°ãªãã¾ã ","Invalid password format":"ãã¹ã¯ã¼ãã®å½¢å¼ãç¡å¹ã§ã ","Invalid phone number format":"䏿£ãªé»è©±çªå·ã®å½¢å¼ã§ãã\n+12345678900 ã®å½¢å¼ã§å
¥åãã¦ãã ãã","It may take a minute to arrive.":"ã³ã¼ããåä¿¡ããã¾ã§æ°åãããå ´åãããã¾ãã","Lost your code? ":"ã³ã¼ãã失ããã¾ãããï¼","New Password":"æ°ãããã¹ã¯ã¼ã","No account? ":"ã¢ã«ã¦ã³ããç¡ãã¨ã ","Password attempts exceeded":"ãµã¤ã³ã¤ã³ã®è©¦è¡åæ°ãä¸éã«éãã¾ãã","Reset password":"ãã¹ã¯ã¼ãããªã»ãã ","Reset Password":"ãã¹ã¯ã¼ãããªã»ãã","Sign Out":"ãµã¤ã³ã¢ã¦ã ","Sign Up":"ç»é² ","User already exists":"æ¢ã«ã¦ã¼ã¶ã¼ãåå¨ãã¦ãã¾ã ","User does not exist":"ã¦ã¼ã¶ã¼ãåå¨ãã¾ãã ","Username cannot be empty":"ã¦ã¼ã¶ã¼åã¯å
¥åå¿
é ã§ã","We Emailed You":"ã³ã¼ããéä¿¡ãã¾ãã","Your code is on the way. To log in, enter the code we emailed to":"ãã°ã¤ã³ããã«ã¯ãã¡ã¼ã«ã«è¨è¼ãããã³ã¼ããå
¥åãã¦ãã ãããéä¿¡å
:","Your code is on the way. To log in, enter the code we texted to":"ãã°ã¤ã³ããã«ã¯ãããã¹ãã¡ãã»ã¼ã¸ã«è¨è¼ãããã³ã¼ããå
¥åãã¦ãã ãããéä¿¡å
:"}),Object.assign({},{"Account recovery requires verified contact information":"ê³ì 복구를 ìí´ ì°ë½ì² íì¸ì´ íìí©ëë¤","Back to Sign In":"ë¡ê·¸ì¸ì¼ë¡ ëìê°ê¸°","Change Password":"ë¹ë°ë²í¸ ë³ê²½í기",Changing:"ë³ê²½ì¤",Code:"ì½ë","Confirm Password":"ë¹ë°ë²í¸ ì¬íì¸","Confirm Sign Up":"íìê°ì
íì¸","Confirm SMS Code":"í´ëí° ë³¸ì¸ íì¸","Confirm TOTP Code":"TOTP ì¸ì¦ë²í¸ íì¸",Confirm:"íì¸","Confirmation Code":"ì¸ì¦ë²í¸",Confirming:"íì¸ì¤","Create a new account":"íìê°ì
","Create Account":"íìê°ì
","Creating Account":"íìê°ì
ì¤","Dismiss alert":"ì림 무ì",Email:"ì´ë©ì¼","Enter your co
2910de":"ì¸ì¦ë²í¸ë¥¼ ì
ë ¥í´ì£¼ì¸ì","Enter your Email":"ì´ë©ì¼ ì
ë ¥","Enter your phone number":"ì íë²í¸ ì
ë ¥","Enter your username":"ìì´ë를 ì
ë ¥í´ì£¼ì¸ì","Hide password":"ë¹ë°ë²í¸ ì¨ê¸°ê¸°","It may take a minute to arrive":"ëì°©íë ë° 1ë¶ ì ë 걸릴 ì ììµëë¤",Loading:"ë¡ë©ì¤","New password":"ì ë¹ë°ë²í¸",or:"ëë",Password:"ë¹ë°ë²í¸","Phone Number":"ì íë²í¸","Resend Code":"ì¸ì¦ë²í¸ ì¬ì ì¡","Reset your password":"ë¹ë°ë²í¸ ì¬ì¤ì ","Reset your Password":"ë¹ë°ë²í¸ ì¬ì¤ì ","Send code":"ì¸ì¦ì½ë ë³´ë´ê¸°","Send Code":"ì½ë ì ì¡",Sending:"ì ì¡ì¤","Setup TOTP":"TOTP ì¤ì í기","Show password":"ë¹ë°ë²í¸ ë³´ì´ê¸°","Sign in to your account":"ë¡ê·¸ì¸","Sign In with Amazon":"Amazon ë¡ê·¸ì¸","Sign In with Apple":"Apple ë¡ê·¸ì¸","Sign In with Facebook":"Facebook ë¡ê·¸ì¸","Sign In with Google":"Google ë¡ê·¸ì¸","Sign in":"ë¡ê·¸ì¸","Sign In":"ë¡ê·¸ì¸","Signing in":"ë¡ê·¸ì¸ì¤",Skip:"ë¤ìì í기",Submit:"íì¸",Submitting:"íì¸ì¤",Username:"ìì´ë","Verify Contact":"ì°ë½ì² íì¸",Verify:"ì¸ì¦","We Emailed You":"ì´ë©ì¼ì ë³´ë","We Sent A Code":"ì½ë를 ë³´ë","We Texted You":"문ì ë©ìì§ë¥¼ ë³´ë","Your code is on the way. To log in, enter the code we emailed to":"ì½ëê° ì ì¡ ì¤ì
ëë¤. ë¡ê·¸ì¸íë ¤ë©´ ì´ë©ì¼ë¡ ì ì¡í ì½ë를 ì
ë ¥íì¸ì","Your code is on the way. To log in, enter the code we sent you":"ì½ëê° ì ì¡ ì¤ì
ëë¤. ë¡ê·¸ì¸íë ¤ë©´ ì ì¡í ì½ë를 ì
ë ¥íì¸ì","Your code is on the way. To log in, enter the code we texted to":"ì½ëê° ì ì¡ ì¤ì
ëë¤. ë¡ê·¸ì¸íë ¤ë©´ 문ì ë©ìì§ë¡ ì ì¡í ì½ë를 ì
ë ¥íì¸ì",Birthdate:"ìë
ìì¼","Family Name":"ì±","Forgot your password?":"ë¹ë°ë²í¸ë¥¼ ìì¼ì
¨ëì?","Given Name":"ì´ë¦",Name:"ì±í¨",Nickname:"ëë¤ì","Preferred Username":"ëë¤ì",Profile:"íë¡í","Reset Password":"ë¹ë°ë²í¸ ì¬ì¤ì ",Website:"ì¹ì¬ì´í¸"}),Object.assign({},{"Account recovery requires verified contact information":"Gjenoppretting av konto krever verifisert kontaktinformajson","Add your Profile":"Legg til profilen din","Add your Website":"Legg til nettsiden din","Back to Sign In":"Tilbake til innlogging","Change Password":"Bytt passord",Changing:"Endre",Code:"Kode","Confirm Password":"Bekreft passordet","Confirm Sign Up":"Bekreft registrering","Confirm SMS Code":"Bekreft SMS-kode","Confirm TOTP Code":"Bekreft TOTP-kode",Confirm:"Bekreft","Confirmation Code":"Bekreftelseskode",Confirming:"Bekrefter","Create a new account":"Opprett en ny konto","Create Account":"Opprett konto","Creating Account":"Oppretter konto","Dismiss alert":"Avvis varsel",Email:"E-post","Enter your Birthdate":"Skriv inn f\xf8dselsdatoen din","Enter your code":"Skriv inn koden din","Enter your Confirmation Code":"Skriv inn bekreftelseskoden din","Enter your Email":"Skriv inn e-postadressen din","Enter your Family Name":"Skriv inn etternavnet ditt","Enter your Given Name":"Skriv inn fornavnet ditt","Enter your Middle Name":"Skriv inn mellomnavnet ditt","Enter your Name":"Skriv inn navnet ditt","Enter your Nickname":"Skriv inn kallenavnet ditt","Enter your Password":"Skriv inn passordet ditt","Enter your phone number":"Skriv inn telefonnummeret ditt","Enter your Preferred Username":"Skriv inn det foretrukne brukernavnet ditt","Enter your username":"Skriv inn brukernavnet ditt","Forgot password?":"Glemt passord?","Forgot your password?":"Glemt passordet ditt?","Hide password":"Skjul passordet","It may take a minute to arrive":"Det kan ta et minutt for \xe5 komme frem",Loading:"Laster inn","New password":"Nytt passord",or:"eller",Password:"Passord","Phone Number":"Telefonnummer","Please confirm your Password":"Vennligst bekreft passordet ditt","Resend Code":"Send koden p\xe5 nytt","Reset your password":"Nullstill passordet ditt","Reset your Password":"Nullstill passordet ditt","Send code":"Send kode","Send Code":"Send kode",Sending:"Sender","Setup TOTP":"Konfigurer TOTP","Show password":"Vis passordet","Sign in to your account":"Logg inn p\xe5 kontoen din","Sign In with Amazon":"Logg inn med Amazon","Sign In with Apple":"Logg inn med Apple","Sign In with Facebook":"Logg inn med Facebook","Sign In with Google":"Logg inn med Google","Sign in":"Logg inn","Sign In":"Logg inn","Signing in":"Logger inn",Skip:"Hopp over",Submit:"Send inn",Submitting:"Sender inn",Username:"Brukernavn","Verify Contact":"Bekreft kontakt",Verify:"Bekreft","We Emailed You":"Vi sendte deg en e-post","We Sent A Code":"Vi sendte en kode","We Texted You":"Vi sendte deg en tekstmelding","Your code is on the way. To log in, enter the code we emailed to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte e-post til","Your code is on the way. To log in, enter the code we sent you":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte deg","Your code is on the way. To log in, enter the code we texted to":"Koden din er p\xe5 vei. For \xe5 logge inn, skriv inn koden vi sendte tekstmelding til","An account with the given email already exists.":"Det finnes allerede en konto med denne e-postadressen","Confirm a Code":"Bekreft koden","Confirm Sign In":"Bekreft innlogging","Create account":"Opprett konto","Enter your password":"Skriv inn passordet ditt","Forgot Password":"Glemt passordet","Have an account? ":"Har en konto allerede? ","Incorrect username or password":"Feil brukernavn eller passord","Invalid password format":"Ugyldig passordformat","Invalid phone number format":"Ugyldig telefonnummerformat","Lost your co
2910de? ":"Mistet koden? ","New Password":"Nytt passord","No account? ":"Ingen konto? ","Password attempts exceeded":"For mange mislykkede passordfors\xf8k","Reset password":"Nullstill passord","Sign Out":"Logg ut","Sign Up":"Registrering","User already exists":"Brukeren finnes allerede","User does not exist":"Brukeren finnes ikke","Username cannot be empty":"Brukernavnet kan ikke v\xe6re tomt"}),Object.assign({},{"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your Email":"Vul je e-mail in","Enter your Password":"Vul je wachtwoord in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Enter your Username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord","New Password":"Nieuw Wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Please confirm your Password":"Bevestig je wachtwoord","Resend Code":"Verstuur code nogmaals","Reset Password":"Wachtwoord resetten","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar","Your passwords must match":"Je wachtwoorden moeten overeenkomen"}),Object.assign({},{"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xf3t do logowania","Change Password":"ZmieÅ hasÅo",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierdź HasÅo","Confirm Sign Up":"Potwierdź rejestracjÄ","Confirm SMS Code":"Potwierdź kod SMS","Confirm TOTP Code":"Potwierdź hasÅo jednorazowe",Confirm:"Potwierdź","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xf3rz nowe konto","Create Account":"Utw\xf3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"OdrzuÄ alert",Email:"E-mail","Enter your code":"Wprowadź sw\xf3j kod","Enter your Email":"Wpisz sw\xf3j adres e-mail","Enter your phone number":"Wpisz sw\xf3j numer telefonu","Enter your username":"Wprowadź swojÄ
nazwÄ użytkownika","Forgot your password?":"ZapomniaÅeÅ hasÅa? ","Hide password":"Ukryj hasÅo","It may take a minute to arrive":"Może to chwilÄ potrwaÄ",Loading:"Åadowanie","New password":"Nowe hasÅo",or:"albo",Password:"HasÅo","Phone Number":"Numer telefonu","Resend Code":"WyÅlij kod ponownie","Reset your password":"Zresetuj swoje hasÅo","Reset your Password":"Zresetuj swoje hasÅo","Send code":"WyÅlij kod","Send Code":"Zresetuj hasÅo",Sending:"WysyÅanie","Setup TOTP":"Konfiguruj TOTP","Show password":"Pokaż hasÅo","Sign in to your account":"Zaloguj siÄ na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"PomiÅ",Submit:"WyÅlij",Submitting:"WysyÅanie",Username:"Nazwa użytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imiÄ","Middle Name":"Drugie imiÄ",Name:"ImiÄ i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa użytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"WysÅaliÅmy Ci wiadomoÅÄ e-mail","We Sent A Code":"WysÅaliÅmy kod","We Texted You":"WysÅaliÅmy Ci wiadomoÅÄ SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xf3j kod zostaÅ wysÅany. Aby siÄ zalogowaÄ, wprowadź kod wysÅany na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xf3j kod zostaÅ wysÅany. Aby siÄ zalogowaÄ, wprowadź wysÅany do Ciebie k
2910od","Your code is on the way. To log in, enter the code we texted to":"Tw\xf3j kod zostaÅ wysÅany. Aby siÄ zalogowaÄ, wprowadź kod wysÅany do Ciebie w wiadomoÅci SMS pod numer"}),Object.assign({},{"Account recovery requires verified contact information":"A recupera\xe7\xe3o da conta requer informa\xe7\xf5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xf3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xe7\xe3o","Confirm SMS Code":"Confirme o c\xf3digo SMS","Confirm TOTP Code":"Confirme o c\xf3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xf3digo de confirma\xe7\xe3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xf3digo","Enter your Email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xfamero de telefone","Enter your username":"entre com seu nome de usu\xe1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xfamero de telefone","Resend Code":"Reenviar c\xf3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xf3digo","Send Code":"Enviar c\xf3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xe7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xe7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xe1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xea","We Sent A Code":"Enviamos um c\xf3digo","We Texted You":"Enviamos um SMS para voc\xea","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo que enviamos para voc\xea","Your code is on the way. To log in, enter the code we texted to":"Seu c\xf3digo est\xe1 a caminho. Para fazer login, insira o c\xf3digo para o qual enviamos uma mensagem de texto"}),Object.assign({},{"Account recovery requires verified contact information":"è´¦æ·æ¢å¤éè¦éªè¯è¿çèç³»æ¹å¼","Back to Sign In":"åå°ç»å½","Change Password":"æ´æ¹å¯ç ",Changing:"æ£å¨ä¿®æ¹",Code:"确认ç ","Confirm Password":"确认å¯ç ","Confirm Sign Up":"确认注å","Confirm SMS Code":"确认çä¿¡éªè¯ç ","Confirm TOTP Code":"确认 TOTP 代ç ",Confirm:"确认","Confirmation Code":"确认ç ",Confirming:"æ£å¨ç¡®è®¤","Create a new account":"å建æ°è´¦æ·","Create Account":"å建账æ·","Creating Account":"æ£å¨å建账æ·","Dismiss alert":"å
³éè¦æ¥",Email:"é®ç®±","Enter your code":"è¾å
¥éªè¯ç ","Enter your Email":"è¾å
¥çµåé®ä»¶","Enter your phone number":"è¾å
¥çµè¯å·ç ","Enter your username":"è¾å
¥ç¨æ·å","Forgot your password?":"å¿è®°å¯ç äºï¼","Hide password":"éèå¯ç ","It may take a minute to arrive":"å¯è½éè¦ä¸åéæè½å°è¾¾",Loading:"æ£å¨å è½½","New password":"æ°å¯ç ",or:"æè
",Password:"å¯ç ","Phone Number":"çµè¯","Resend Code":"éåéªè¯ç ","Reset your password":"éç½®å¯ç ","Reset your Password":"éç½®å¯ç ","Send Code":"åé确认ç ","Send code":"åééªè¯ç ",Sending:"æ£å¨åé","Setup TOTP":"设置 TOTP","Show password":"æ¾ç¤ºå¯ç ","Sign in to your account":"ç»å½è´¦æ·","Sign In with Amazon":"éè¿ Amazon ç»å½","Sign In with Apple":"éè¿ Apple ç»å½","Sign In with Facebook":"éè¿ Facebook ç»å½","Sign In with Google":"éè¿ Google ç»å½","Sign in":"ç»å½","Sign In":"ç»å½","Signing in":"æ£å¨ç»å½",Skip:"è·³è¿",Submit:"æäº¤",Submitting:"æ£å¨æäº¤",Username:"ç¨æ·å","Verify Contact":"éªè¯èç³»æ¹å¼",Verify:"éªè¯","We Emailed You":"æä»¬ç»æ¨åéäºçµåé®ä»¶","We Sent A Code":"æä»¬åéäºä»£ç ","We Texted You":"æä»¬ç»æ¨åéäºçä¿¡","Your code is on the way. To log in, enter the code we emailed to":"æ¨çä»£ç æ£å¨åéä¸ãè¦ç»å½ï¼è¯·è¾å
¥æä»¬éè¿çµåé®ä»¶åéç»ä»¥ä¸äººåç代ç ï¼","Your code is on the way. To log in, enter the code we sent you":"æ¨çä»£ç æ£å¨åéä¸ãè¦ç»å½ï¼è¯·è¾å
¥æä»¬åéç»æ¨ç代ç ","Your code is on the way. To log in, enter the code we texted to":"æ¨çä»£ç æ£å¨åéä¸ãè¦ç»å½ï¼è¯·è¾å
¥æä»¬éè¿çä¿¡åéç»ä»¥ä¸äººåç代ç ï¼","Confirm a Code":"确认ç ","Confirm Sign In":"确认ç»å½","Forgot Password":"å¿è®°å¯ç ","Incorrect username or password":"ç¨æ·åæå¯ç é误","Invalid password format":"å¯ç æ ¼å¼é误","Invalid phone number format":"çµè¯æ ¼å¼é误ï¼è¯·ä½¿ç¨æ ¼å¼ +12345678900","New Password":"æ°å¯ç ","Resend a Code":"éå确认ç ","Sign Out":"éåº","Sign Up":"注å","User already exists":"ç¨æ·å·²ç»åå¨","User does not exist":"ç¨æ·ä¸åå¨"}),Object.assign({},{"Account recovery requires verified contact information":"F\xf6r att \xe5terst\xe4lla kontot beh\xf6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xf6senord",Changing:"\xc4ndra",Code:"Kod","Confirm Password":"Bekr\xe4fta l\xf6senord","Confirm Sign Up":"Bekr\xe4fta registrering","Confirm SMS Code":"Bekr\xe4fta SMS-kod","Confirm TOTP Code":"Bekr\xe4fta TOTP-kod",Confirm:"Bekr\xe4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xe4ftar","Create a new account":"Skapa ett nytt k
2910onto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your Email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xe4ndarnamn","Forgot your password?":"Gl\xf6mt ditt l\xf6senord? ","Hide password":"D\xf6lj l\xf6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xf6senord",or:"eller",Password:"L\xf6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xc5terst\xe4ll ditt l\xf6senord","Reset your Password":"\xc5terst\xe4ll ditt l\xf6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xf6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xf6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xe4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xe4r p\xe5 v\xe4g. F\xf6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xe4fta koden","Confirm Sign In":"Bekr\xe4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xf6senord","Forgot Password":"Gl\xf6mt l\xf6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xe4ndarnamn eller l\xf6senord","Invalid password format":"Ogiltigt l\xf6senordsformat","Invalid phone number format":"Ogiltigt format f\xf6r telefonnummer","Lost your code? ":"F\xf6rlorat koden? ","New Password":"Nytt l\xf6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xf6rs\xf6k har uppn\xe5tts","Reset password":"\xc5terst\xe4ll l\xf6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xe4ndaren finns redan","User does not exist":"Anv\xe4ndaren finns inte","Username cannot be empty":"Anv\xe4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"}),Object.assign({},{"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your Email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loa
2910ding:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"}),Object.assign({},{"Account recovery requires verified contact information":"Hesap kurtarma, doÄrulanmıŠiletiÅim bilgilerini gerektirir","Back to Sign In":"Oturum A\xe7maya Geri D\xf6n","Change Password":"Åifreyi DeÄiÅtir",Changing:"DeÄiÅtiriliyor",Code:"Kod","Confirm Password":"Åifreyi DoÄrula","Confirm Sign Up":"Kayıt İÅlemini DoÄrula","Confirm SMS Code":"SMS Kodunu DoÄrula","Confirm TOTP Code":"Tek Kullanımlık Åifreyi DoÄrula",Confirm:"DoÄrula","Confirmation Code":"DoÄrulama Kodu",Confirming:"DoÄrulanıyor","Create a new account":"Yeni bir hesap oluÅtur","Create Account":"Hesap OluÅtur","Creating Account":"Hesap OluÅturuluyor","Dismiss alert":"Uyarıyı reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your Email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaranızı girin","Enter your username":"Kullanıcı adınızı girin","Forgot your password?":"Åifrenizi mi unuttunuz?","Hide password":"Åifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xfcrebilir",Loading:"Y\xfckleniyor","New password":"Yeni Åifre",or:"veya",Password:"Åifre","Phone Number":"Telefon Numarası","Resend Code":"Kodu Yeniden G\xf6nder","Reset your password":"Åifrenizi sıfırlayın","Reset your Password":"Åifrenizi Sıfırlayın","Send code":"Kod g\xf6nder","Send Code":"Kod G\xf6nder",Sending:"G\xf6nderiliyor","Setup TOTP":"Tek kullanımlık Åifre kurulumu yap","Show password":"Åifreyi g\xf6ster","Sign in to your account":"Hesabınızda oturum a\xe7ın","Sign In with Amazon":"Amazon ile Oturum A\xe7","Sign In with Apple":"Apple ile Oturum A\xe7","Sign In with Facebook":"Facebook ile Oturum A\xe7","Sign In with Google":"Google ile Oturum A\xe7","Sign in":"Oturum a\xe7","Sign In":"Oturum A\xe7","Signing in":"Oturum a\xe7ılıyor",Skip:"Atla",Submit:"G\xf6nder",Submitting:"G\xf6nderiliyor",Username:"Kullanıcı adı","Verify Contact":"KiÅiyi DoÄrula",Verify:"DoÄrula","We Emailed You":"Size E-posta G\xf6nderdik","We Sent A Code":"Bir Kod G\xf6nderdik","We Texted You":"Size Mesaj G\xf6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdiÄimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, size g\xf6nderdiÄimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xe7mak i\xe7in, g\xf6nderdiÄimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xe7mayı DoÄrula","Have an account? ":"Hesabınız var mı? ","Incorrect username or password":"YanlıŠkullanıcı adı ya da Åifre","Invalid password format":"Ge\xe7ersiz parola formatı","Invalid phone number format":"Ge\xe7ersiz telefon numarası formatı","Lost your co
2910de? ":"Kodu mu kaybettiniz? ","No account? ":"Hesabınız yok mu? ","Password attempts exceeded":"Maksimum oturum a\xe7ma giriÅimi aÅıldı","Sign Out":"\xc7ıkıŠyap","Sign Up":"Kayıt Ol","User already exists":"Bu kullanıcı zaten var","User does not exist":"B\xf6yle bir kullanıcı mevcut deÄil","Username cannot be empty":"Kullanıcı adı boÅ olamaz"}),Object.assign({},{"Account recovery requires verified contact information":"ÐоÑÑÑановление ÑÑеÑной запиÑи ÑÑебÑÐµÑ Ð¿ÑовеÑки конÑакÑной инÑоÑмаÑии","Back to Sign In":"Ðазад, ÑÑÐ¾Ð±Ñ Ð²Ð¾Ð¹Ñи","Change Password":"изменÑÑÑ Ð¿Ð°ÑолÑ",Changing:"Ðзменение",Code:"Ðод","Confirm Password":"ÐодÑвеÑждение паÑолÑ","Confirm Sign Up":"ÐодÑвеÑждение заÑегиÑÑÑиÑоваÑÑÑÑ","Confirm SMS Code":"ÐодÑвеÑждение CMC-Ðод","Confirm TOTP Code":"ÐодÑвеÑждение TOTP-Ðод",Confirm:"ÐодÑвеÑждаÑÑ","Confirmation Code":"код подÑвеÑждениÑ",Confirming:"подÑвеÑждение","Create a new account":"СоздаваÑÑ Ð½Ð¾Ð²ÑÑ ÑÑеÑнÑÑ Ð·Ð°Ð¿Ð¸ÑÑ","Create Account":"СоздаÑÑ ÑÑеÑнÑÑ Ð·Ð°Ð¿Ð¸ÑÑ","Creating Account":"Ñоздание ÑÑеÑÐ½Ð°Ñ Ð·Ð°Ð¿Ð¸ÑÑ","Dismiss alert":"ÐакÑÑÑÑ Ð¾Ð¿Ð¾Ð²ÐµÑение",Email:"ÑлекÑÑÐ¾Ð½Ð½Ð°Ñ Ð¿Ð¾ÑÑа","Enter your code":"ввеÑÑи Ð²Ð°Ñ Ðод","Enter your Email":"ввеÑÑи Ð²Ð°Ñ ÑлекÑÑÐ¾Ð½Ð½Ð°Ñ Ð¿Ð¾ÑÑа","Enter your phone number":"ввеÑÑи Ð²Ð°Ñ Ð½Ð¾Ð¼ÐµÑ ÑелеÑона","Enter your username":"ввеÑÑи Ð²Ð°Ñ Ð¸Ð¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ","Forgot your password?":"ÐабÑли Ð²Ð°Ñ Ð¿Ð°ÑолÑ?","Hide password":"СкÑÑваÑÑ Ð¿Ð°ÑолÑ","It may take a minute to arrive":"ÐоÑÑавка Ð¼Ð¾Ð¶ÐµÑ Ð·Ð°Ð½ÑÑÑ Ð½ÐµÐºÐ¾ÑоÑое вÑемÑ",Loading:"ÐагÑÑзка","New password":"ÐовÑй паÑолÑ",or:"или",Password:"ÐаÑолÑ","Phone Number":"ÐÐ¾Ð¼ÐµÑ ÑелеÑона","Resend Code":"ÐÑпÑÐ°Ð²Ñ ÐµÑе Ñаз Ðод","Reset your password":"ÑбÑÐ¾Ñ Ð²Ð°Ñ Ð¿Ð°ÑолÑ","Reset your Password":"ÑбÑÐ¾Ñ Ð²Ð°Ñ ÐаÑолÑ","Send code":"ÐÑпÑавлÑÑÑ Ðод","Send Code":"ÐÑпÑавлÑÑÑ Ðод",Sending:"оÑпÑавка","Setup TOTP":"ÐаÑÑÑаиваÑÑ TOTP","Show password":"ÐоказÑваÑÑ Ð¿Ð°ÑолÑ","Sign in to your account":"знак в Ñвой аккаÑнÑ","Sign In with Amazon":"знак в Ñ Amazon","Sign In with Apple":"знак в Ñ Apple","Sign In with Facebook":"знак в Ñ Facebook","Sign In with Google":"знак в Ñ Google","Sign in":"знак в","Sign In":"знак в","Signing in":"подпиÑание в",Skip:"ÐÑопÑÑкаÑÑ",Submit:"ÐÑедÑÑавлÑÑÑ Ð½Ð° ÑаÑÑмоÑÑение",Submitting:"ÐÑедÑÑавив",Username:"ÐÐ¼Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ","Verify Contact":"ÐÑовеÑиÑÑ ÐºÐ¾Ð½ÑакÑ",Verify:"ÐÑовеÑиÑÑ","We Emailed You":"ÐÑ Ð¾ÑпÑавили вам ÑлекÑÑонное пиÑÑмо","We Sent A Code":"ÐÑ Ð¾ÑпÑавили код","We Texted You":"ÐÑ Ð¾ÑпÑавили вам ÑекÑÑовое ÑообÑение","Your code is on the way. To log in, enter the code we emailed to":"ÐÐ°Ñ ÐºÐ¾Ð´ оÑпÑавлен. ЧÑÐ¾Ð±Ñ Ð²Ð¾Ð¹Ñи в ÑиÑÑемÑ, введиÑе код, коÑоÑÑй Ð¼Ñ Ð¾ÑпÑавили по ÑлекÑÑонной поÑÑе","Your code is on the way. To log in, enter the code we sent you":"ÐÐ°Ñ ÐºÐ¾Ð´ оÑпÑавлен. ЧÑÐ¾Ð±Ñ Ð²Ð¾Ð¹Ñи в ÑиÑÑемÑ, введиÑе код, коÑоÑÑй Ð¼Ñ Ð¿Ð¾Ñлали вам","Your code is on the way. To log in, enter the code we texted to":"ÐÐ°Ñ ÐºÐ¾Ð´ оÑпÑавлен. ЧÑÐ¾Ð±Ñ Ð²Ð¾Ð¹Ñи в ÑиÑÑемÑ, введиÑе код, коÑоÑÑй Ð¼Ñ Ð¾ÑпÑавили ÑекÑÑовÑм ÑообÑением"}),Object.assign({},{"Account recovery requires verified contact information":"ש×××ר ××§×× ××רש ×¢×× ××××¢","Back to Sign In":"×××ר ××רש××","Change Password":"×¢×××× ×¡×ס××",Changing:"××¢×××",Code:"×§××","Confirm Password":"×שר ס×ס××","Confirm Sign Up":"×שר ×רש××","Confirm SMS Code":"×שר sms ×§××","Confirm TOTP Code":"×שר totp ×§××",Confirm:"××ש×ר","Confirmation Code":"××ש×ר ×§××",Confirming:"××שר","Create a new account":"צ×ר ×שת×ש ××ש","Create Account":"צ×ר ×שת×ש","Creating Account":"×צ×רת ×שת×ש","Dismiss alert":"×סר ×תר××",Email:"××××××","Enter your co
2910de":"××× ×¡ ×ת ××§××","Enter your Email":"××× ×¡ ×ת ××××× ×©××","Enter your phone number":"××× ×¡ ×ת ×ספר ×××פ×× ×©××","Enter your username":"××× ×¡ ×ת ×©× ××ת×ש ש××","Forgot your password?":"ש××ת ס×ס×× ?","Hide password":"×סתר ס×ס××",Loading:"×××¢×","New password":"ס×ס×× ××ש×",or:"××Ö¹",Password:"ס×ס××","Phone Number":"×ספר ××פ××","Resend Code":"ש×× ×§×× ×©××","Reset your password":"×פס ס×ס××","Reset your Password":"×פס ס×ס××","Send code":"ש×× ×§××","Send Code":"ש×× ×§××",Sending:"ש×××","Setup TOTP":"Setup TOTP","Show password":"××¦× ×¡×ס××","Sign in to your account":"×ת××ר ××ש××× ×©××","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in":"×ת××ר","Sign In":"×ת××ר","Signing in":"×ת××ר",Skip:"×××",Submit:"ש××",Submitting:"ש×××",Username:"×©× ×שת×ש","Verify Contact":"××ת ××ש קשר",Verify:"××ת"}),Object.assign({},{"Account recovery requires verified contact information":"ÐÑÐ´Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¾Ð±Ð»Ñкового запиÑÑ Ð¿Ð¾ÑÑебÑÑ ÐºÐ¾Ð½ÑакÑÐ½Ð¾Ñ ÑнÑоÑмаÑÑÑ","Back to Sign In":"Ðазад на ÑÑоÑÑÐ½ÐºÑ Ð²Ñ
одÑ","Change Password":"ÐмÑниÑи паÑолÑ",Changing:"ÐмÑнÑÑмо",Code:"Ðод","Confirm Password":"ÐÑдÑвеÑдÑÑÑ Ð¿Ð°ÑолÑ","Confirm Sign Up":"ÐÑдÑвеÑдÑÑÑ ÑеÑÑÑÑаÑÑÑ","Confirm SMS Code":"ÐÑдÑвеÑдÑÑÑ SMS код","Confirm TOTP Code":"ÐÑдÑвеÑдÑÑÑ TOTP код",Confirm:"ÐÑдÑвеÑдиÑи","Confirmation Code":"Ðод пÑдÑвеÑдженнÑ",Confirming:"ÐÑдÑвеÑджÑÑмо","Create a new account":"ÐаÑеÑÑÑÑÑваÑиÑÑ","Create Account":"ÐаÑеÑÑÑÑÑваÑиÑÑ","Creating Account":"РеÑÑÑÑÑÑмо","Dismiss alert":"ÐÑдÑ
илиÑи ÑповÑÑеннÑ",Email:"Email","Enter your code":"ÐведÑÑÑ ÐºÐ¾Ð´","Enter your Email":"ÐведÑÑÑ Ð²Ð°Ñ email","Enter your phone number":"ÐведÑÑÑ Ð²Ð°Ñ Ð½Ð¾Ð¼ÐµÑ ÑелеÑонÑ","Enter your username":"ÐведÑÑÑ Ð²Ð°Ñе ÑÐ¼Ê¼Ñ ÐºÐ¾ÑиÑÑÑваÑа","Forgot password?":"ÐабÑли паÑолÑ?","Forgot your password?":"ÐабÑли Ð²Ð°Ñ Ð¿Ð°ÑолÑ?","Hide password":"СÑ
оваÑи паÑолÑ","It may take a minute to arrive":"ÐоÑÑавка може ÑÑиваÑи Ñ
вилинÑ",Loading:"ÐагÑÑжаÑмо","New password":"Ðовий паÑолÑ",or:"або",Password:"ÐаÑолÑ","Phone Number":"ÐÐ¾Ð¼ÐµÑ Ð¢ÐµÐ»ÐµÑонÑ","Resend Code":"ÐÑдпÑавиÑи код повÑоÑно","Reset your password":"СкинÑÑи паÑолÑ","Reset your Password":"СкинÑÑи паÑолÑ","Send code":"ÐÑдпÑавиÑи код","Send Code":"ÐÑдпÑавиÑи код",Sending:"ÐÑдпÑавлÑÑмо","Setup TOTP":"ÐалаÑÑÑваÑи TOTP","Show password":"ÐоказаÑи паÑолÑ","Sign in to your account":"УвÑйÑи Ñ Ð²Ð°Ñ Ð¾Ð±Ð»Ñковий запиÑ","Sign In with Amazon":"УвÑйÑи з Amazon","Sign In with Apple":"УвÑйÑи з Apple","Sign In with Facebook":"УвÑйÑи з Facebook","Sign In with Google":"УвÑйÑи з Google","Sign in":"УвÑйÑи","Sign In":"УвÑйÑи","Signing in":"ÐÑ
одимо",Skip:"ÐÑопÑÑÑиÑи",Submit:"ÐÑдпÑавиÑи",Submitting:"ÐÑдпÑавлÑÑмо",Username:"ÐÐ¼Ê¼Ñ ÐºÐ¾ÑиÑÑÑваÑа","Verify Contact":"ÐÑдÑвеÑдиÑи ÐонÑакÑ",Verify:"ÐÑдÑвеÑдиÑи","We Emailed You":"Ðи вÑдпÑавили вам Email","We Sent A Code":"Ðи вÑдпÑавили код","We Texted You":"Ðи вÑдпÑавили вам ÑекÑÑове повÑдомленнÑ","Your code is on the way. To log in, enter the code we emailed to":"ÐÐ°Ñ ÐºÐ¾Ð´ вже в доÑозÑ. Щоб ÑвÑйÑи, введÑÑÑ ÐºÐ¾Ð´, Ñо ми вÑдпÑавили вам на Email","Your code is on the way. To log in, enter the code we sent you":"ÐÐ°Ñ ÐºÐ¾Ð´ вже в доÑозÑ. Щоб ÑвÑйÑи, введÑÑÑ ÐºÐ¾Ð´, Ñо ми вам вÑдпÑавили","Your code is on the way. To log in, enter the code we texted to":"ÐÐ°Ñ ÐºÐ¾Ð´ вже в доÑозÑ. Щоб ÑвÑйÑи, введÑÑÑ ÐºÐ¾Ð´, Ñо ми вÑдпÑавили вам ÑекÑÑовим повÑдомленнÑм","An account with the given email already exists.":"ÐблÑковий Ð·Ð°Ð¿Ð¸Ñ Ð· Ñим Email вже ÑÑнÑÑ.","Confirm a Code":"ÐÑдÑвеÑдÑÑÑ ÐºÐ¾Ð´","Confirm Sign In":"ÐÑдÑвеÑдÑÑÑ Ð²Ñ
Ñд","Forgot Password":"ÐабÑли паÑолÑ","Incorrect username or password.":"ÐевÑÑне ÑÐ¼Ê¼Ñ ÐºÐ¾ÑиÑÑÑваÑа або паÑолÑ","Invalid password format":"ÐевÑÑний ÑоÑÐ¼Ð°Ñ Ð¿Ð°ÑолÑ","Invalid phone number format":"ÐевÑÑний ÑоÑÐ¼Ð°Ñ Ð½Ð¾Ð¼ÐµÑÑ ÑелеÑонÑ","Loading...":"ÐагÑÑжаÑмо...","New Password":"Ðовий паÑолÑ","Resend a Code":"Ð
2910ÑдпÑавиÑи код повÑоÑно","Reset Password":"СкинÑÑи паÑолÑ","Sign Out":"ÐийÑи","Sign Up with Amazon":"ÐаÑеÑÑÑÑÑваÑиÑÑ Ð· Amazon","Sign Up with Apple":"ÐаÑеÑÑÑÑÑваÑиÑÑ Ð· Apple","Sign Up with Facebook":"ÐаÑеÑÑÑÑÑваÑиÑÑ Ð· Facebook","Sign Up with Google":"ÐаÑеÑÑÑÑÑваÑиÑÑ Ð· Google","Sign Up":"ÐаÑеÑÑÑÑÑваÑиÑÑ","User already exists":"ÐоÑиÑÑÑÐ²Ð°Ñ Ð²Ð¶Ðµ ÑÑнÑÑ","User does not exist":"Такий коÑиÑÑÑÐ²Ð°Ñ Ð½Ðµ ÑÑнÑÑ","Username cannot be empty":"ÐÐ¼Ê¼Ñ ÐºÐ¾ÑиÑÑÑваÑа не може бÑÑи пÑÑÑим","Your passwords must match":"ÐаÑÐ¾Ð»Ñ Ð¼Ð°ÑÑÑ Ð·Ð±ÑгаÑиÑÑ"});const cN=Object.assign({},{ADD_PROFILE:"Add your Profile",ADD_WEBSITE:"Add your Website",BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_PASSWORD_PLACEHOLDER:"Please confirm your Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_BIRTHDATE:"Enter your Birthdate",ENTER_CODE:"Enter your code",ENTER_CONFIRMATION_CODE:"Enter your Confirmation Code",ENTER_EMAIL:"Enter your Email",ENTER_FAMILY_NAME:"Enter your Family Name",ENTER_GIVEN_NAME:"Enter your Given Name",ENTER_MIDDLE_NAME:"Enter your Middle Name",ENTER_NAME:"Enter your Name",ENTER_NICK_NAME:"Enter your Nickname",ENTER_PASSWORD:"Enter your Password",ENTER_PHONE_NUMBER:"Enter your Phone Number",ENTER_PREFERRED_USERNAME:"Enter your Preferred Username",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_PASSWORD:"Forgot Password?",FORGOT_YOUR_PASSWORD:"Forgot your password?",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",OR:"or",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"}),cO=Object.assign({},cN);function cM(e){return ih.get(e)}const cj=e=>{let t=Object.assign({},e);for(let[r,n]of Object.entries(e)){let{label:e,placeholder:o}=n;t[r]=Object.assign(Object.assign({},n),{label:e?cM(e):void 0,placeholder:o?cM(o):void 0})}return t},cF=e=>Object.entries(e).sort((e,t)=>(e[1].order||Number.MAX_VALUE)-(t[1].order||Number.MAX_VALUE)).filter(e=>void 0!==e[1]),cR=(e,t)=>(0,cP[e])(t),cU=(e,t)=>{var r,n;let o=null===(n=null===(r=aE(t))||void 0===r?void 0:r.formFields)||void 0===n?void 0:n[e];return o&&0!==Object.keys(o).length?Object.entries(o).reduce((r,[n,o])=>{if("signIn"!==e&&"resetPassword"!==e||"username"!==n){if(cw(n)){let e=cx[n],t=Object.assign(Object.assign({},e),o);return Object.assign(Object.assign({},r),{[n]:t})}return Object.assign(Object.assign({},r),{[n]:o})}{let e=cI(t),a=Object.assign(Object.assign({},e),o);return Object.assign(Object.assign({},r),{[n]:a})}},{}):{}},cL=(e,t)=>{let r=cR(e,t),n=cU(e,t),o=Object.assign(Object.assign({},r),n);return delete o.QR,cj(o)},cD=e=>e.map(e=>[e[0],Object.assign(Object.assign({},e[1]),{order:void 0})]),cV=(e,t)=>{let r=cL(e,t);return cD(cF(r))},cH=["confirmResetPassword","confirmSignIn","confirmSignUp","confirmVerifyUser","forceNewPassword","resetPassword","setupTOTP","signIn","signUp","verifyUser"],cZ=e=>cH.some(t=>t===e),cB=()=>!1,cz=e=>(t,r)=>{let n=e(t),o=e(r);// Shallow compare the array values 2911 return n.length===o.length&&n.every((e,t)=>{let r=o[t];return!!(function(...e){return e.every(cp)}(e,r)||function(...e){return e.every(ch)}(e,r))||e===r})},cW=e=>{var t,r,n;return Object.assign({},null===(n=null===(r=null===(t=aE(e))||void 0===t?void 0:t.formFields)||void 0===r?void 0:r.setupTOTP)||void 0===n?void 0:n.QR)},cG=e=>function(){return ah(this,void 0,void 0,function*(){return yield cu.setupTOTP(e)})},cq=e=>e.flatMap(([e,t])=>Object.assign({name:e},t)),cY=e=>e&&Object.entries(e).map(([e,t])=>{let r=cd(t);return r&&e?{name:e,label:t,type:"radio",value:t}:{}}),c$=(e,t,r)=>cZ(e)?"verifyUser"===e?cY(r):cq(cV(e,t)):[];/**
2912 * [ð Docs](https://ui.docs.amplify.aws/react/connected-components/authenticator/headless#useauthenticator-hook) 2913 */function cK(e){var t,r,n,o,a;let i=/*@__PURE__*/tV(tG).useContext(a_);if(!i)throw Error("`useAuthenticator` must be used inside an `Authenticator.Provider`.");let{service:s}=i,{send:l}=s,u=(0,tG.useCallback)(e=>Object.assign({},ak({send:l,state:e})),[l]),c=e?cz(e):cB,{authStatus:d}=i,f=(void 0===(t=c)&&(t=aw),n=(0,tG.useRef)(null),o=(0,tG.useCallback)(function(e){return s.subscribe(e).unsubscribe},[s]),a=(0,tG.useCallback)(function(){return r?r(s):aS(s,n)},[s,r]),(0,am.useSyncExternalStoreWithSelector)(o,a,a,u,t)),{route:p,totpSecretCode:h,unverifiedContactMethods:m,user:g}=f,v=/****************************************************************************** 2914Copyright (c) Microsoft Corporation. 2915 2916Permission to use, copy, modify, and/or distribute this software for any 2917purpose with or without fee is hereby granted. 2918 2919THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 2920REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 2921AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 2922INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 2923LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 2924OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2925PERFORMANCE OF THIS SOFTWARE. 2926***************************************************************************** */function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}(f,["route","totpSecretCode","unverifiedContactMethods","user"]),y=s.getSnapshot(),b="setupTOTP"===p?cW(y):null,w=c$(p,y,m);return Object.assign(Object.assign({},v),{authStatus:d,route:p,totpSecretCode:h,unverifiedContactMethods:m,user:g,fields:/** @deprecated For internal use only */w,getTotpSecretCode:cG(g),QRFields:b})}var cJ={},cQ=Object.create,cX=Object.defineProperty,c0=Object.getOwnPropertyDescriptor,c1=Object.getOwnPropertyNames,c2=Object.getPrototypeOf,c8=Object.prototype.hasOwnProperty,c6=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of c1(t))c8.call(e,o)||o===r||cX(e,o,{get:()=>t[o],enumerable:!(n=c0(t,o))||n.enumerable});return e},c4=(e,t,r)=>(r=null!=e?cQ(c2(e)):{},c6(!t&&e&&e.__esModule?r:cX(r,"default",{value:e,enumerable:!0}),e)),c3={};((e,t)=>{for(var r in t)cX(e,r,{get:t[r],enumerable:!0})})(c3,{CheckmarkIcon:()=>dU,ErrorIcon:()=>dF,LoaderIcon:()=>dR,ToastBar:()=>dq,ToastIcon:()=>dH,Toaster:()=>dQ,default:()=>dX,resolveValue:()=>c7,toast:()=>dp,useToaster:()=>dg,useToasterStore:()=>dc}),cJ=c6(cX({},"__esModule",{value:!0}),c3);var c5=e=>"function"==typeof e,c7=(e,t)=>c5(e)?e(t):e,c9=(o=0,()=>(++o).toString()),de=()=>{if(void 0===a&&"u">typeof window){let e=matchMedia("(prefers-reduced-motion: reduce)");a=!e||e.matches}return a},dt=new Map,dr=e=>{if(dt.has(e))return;let t=setTimeout(()=>{dt.delete(e),dl({type:4,toastId:e})},1e3);dt.set(e,t)},dn=e=>{let t=dt.get(e);t&&clearTimeout(t)},da=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&dn(t.toast.id),{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return e.toasts.find(e=>e.id===r.id)?da(e,{type:1,toast:r}):da(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?dr(n):e.toasts.forEach(e=>{dr(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===n||void 0===n?{...e,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},di=[],ds={toasts:[],pausedAt:void 0},dl=e=>{ds=da(ds,e),di.forEach(e=>{e(ds)})},du={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},dc=(e={})=>{let[t,r]=(0,tB("acw62").useState)(ds);(0,tB("acw62").useEffect)(()=>(di.push(r),()=>{let e=di.indexOf(r);e>-1&&di.splice(e,1)}),[t]);let n=t.toasts.map(t=>{var r,n;return{...e,...e[t.type],...t,duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||du[t.type],style:{...e.style,...null==(n=e[t.type])?void 0:n.style,...t.style}}});return{...t,toasts:n}},dd=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||c9()}),df=e=>(t,r)=>{let n=dd(t,e,r);return dl({type:2,toast:n}),n.id},dp=(e,t)=>df("blank")(e,t);dp.error=df("error"),dp.success=df("success"),dp.loading=df("loading"),dp.custom=df("custom"),dp.dismiss=e=>{dl({type:3,toastId:e})},dp.remove=e=>dl({type:4,toastId:e}),dp.promise=(e,t,r)=>{let n=dp.loading(t.loading,{...r,...null==r?void 0:r.loading});return e.then(e=>(dp.success(c7(t.success,e),{id:n,...r,...null==r?void 0:r.success}),e)).catch(e=>{dp.error(c7(t.error,e),{id:n,...r,...null==r?void 0:r.error})}),e};var dh=(e,t)=>{dl({type:1,toast:{id:e,height:t}})},dm=()=>{dl({type:5,time:Date.now()})},dg=e=>{let{toasts:t,pausedAt:r}=dc(e);(0,tB("acw62").useEffect)(()=>
2926{if(r)return;let e=Date.now(),n=t.map(t=>{if(t.duration===1/0)return;let r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(r<0){t.visible&&dp.dismiss(t.id);return}return setTimeout(()=>dp.dismiss(t.id),r)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[t,r]);let n=(0,tB("acw62").useCallback)(()=>{r&&dl({type:6,time:Date.now()})},[r]),o=(0,tB("acw62").useCallback)((e,r)=>{let{reverseOrder:n=!1,gutter:o=8,defaultPosition:a}=r||{},i=t.filter(t=>(t.position||a)===(e.position||a)&&t.height),s=i.findIndex(t=>t.id===e.id),l=i.filter((e,t)=>t<s&&e.visible).length;return i.filter(e=>e.visible).slice(...n?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+o,0)},[t]);return{toasts:t,handlers:{updateHeight:dh,startPause:dm,endPause:n,calculateOffset:o}}},dv=c4(tB("acw62"));let dy={data:""},db=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||dy,dw=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,dS=/\/\*[^]*?\*\/| +/g,dx=/\n+/g,dE=(e,t)=>{let r="",n="",o="";for(let a in e){let i=e[a];"@"==a[0]?"i"==a[1]?r=a+" "+i+";":n+="f"==a[1]?dE(i,a):a+"{"+dE(i,"k"==a[1]?"":t)+"}":"object"==typeof i?n+=dE(i,t?t.replace(/([^,])+/g,e=>a.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):a):null!=i&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=dE.p?dE.p(a,i):a+":"+i+";")}return r+(t&&o?t+"{"+o+"}":o)+n},dC={},dA=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+dA(e[r]);return t}return e},dk=(e,t,r,n,o)=>{var a;let i=dA(e),s=dC[i]||(dC[i]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(i));if(!dC[s]){let t=i!==e?e:(e=>{let t,r,n=[{}];for(;t=dw.exec(e.replace(dS,""));)t[4]?n.shift():t[3]?(r=t[3].replace(dx," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(dx," ").trim();return n[0]})(e);dC[s]=dE(o?{["@keyframes "+s]:t}:t,r?"":"."+s)}let l=r&&dC.g?dC.g:null;return r&&(dC.g=dC[s]),a=dC[s],l?t.data=t.data.replace(l,a):-1===t.data.indexOf(a)&&(t.data=n?a+t.data:t.data+a),s},d_=(e,t,r)=>e.reduce((e,n,o)=>{let a=t[o];if(a&&a.call){let e=a(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?"."+t:e&&"object"==typeof e?e.props?"":dE(e,""):!1===e?"":e}return e+n+(null==a?"":a)},"");function dI(e){let t=this||{},r=e.call?e(t.p):e;return dk(r.unshift?r.raw?d_(r,[].slice.call(arguments,1),t.p):r.reduce((e,r)=>Object.assign(e,r&&r.call?r(t.p):r),{}):r,db(t.target),t.g,t.o,t.k)}dI.bind({g:1});let dT,dP,dN,dO=dI.bind({k:1});function dM(e,t){let r=this||{};return function(){let n=arguments;function o(a,i){let s=Object.assign({},a),l=s.className||o.className;r.p=Object.assign({theme:dP&&dP()},s),r.o=/ *go\d+/.test(l),s.className=dI.apply(r,n)+(l?" "+l:""),t&&(s.ref=i);let u=e;return e[0]&&(u=s.as||e,delete s.as),dN&&u[0]&&dN(s),dT(u,s)}return t?t(o):o}}var dj=c4(tB("acw62")),dF=dM("div")` 2927 width: 20px; 2928 opacity: 0; 2929 height: 20px; 2930 border-radius: 10px; 2931 background: ${e=>e.primary||"#ff4b4b"}; 2932 position: relative; 2933 transform: rotate(45deg); 2934 2935 animation: ${dO` 2936from { 2937 transform: scale(0) rotate(45deg); 2938 opacity: 0; 2939} 2940to { 2941 transform: scale(1) rotate(45deg); 2942 opacity: 1; 2943}`} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2944 forwards; 2945 animation-delay: 100ms; 2946 2947 &:after, 2948 &:before { 2949 content: ''; 2950 animation: ${dO` 2951from { 2952 transform: scale(0); 2953 opacity: 0; 2954} 2955to { 2956 transform: scale(1); 2957 opacity: 1; 2958}`} 0.15s ease-out forwards; 2959 animation-delay: 150ms; 2960 position: absolute; 2961 border-radius: 3px; 2962 opacity: 0; 2963 background: ${e=>e.secondary||"#fff"}; 2964 bottom: 9px; 2965 left: 4px; 2966 height: 2px; 2967 width: 12px; 2968 } 2969 2970 &:before { 2971 animation: ${dO` 2972from { 2973 transform: scale(0) rotate(90deg); 2974 opacity: 0; 2975} 2976to { 2977 transform: scale(1) rotate(90deg); 2978 opacity: 1; 2979}`} 0.15s ease-out forwards; 2980 animation-delay: 180ms; 2981 transform: rotate(90deg); 2982 } 2983`,dR=dM("div")` 2984 width: 12px; 2985 height: 12px; 2986 box-sizing: border-box; 2987 border: 2px solid; 2988 border-radius: 100%; 2989 border-color: ${e=>e.secondary||"#e0e0e0"}; 2990 border-right-color: ${e=>e.primary||"#616161"}; 2991 animation: ${dO` 2992 from { 2993 transform: rotate(0deg); 2994 } 2995 to { 2996 transform: rotate(360deg); 2997 } 2998`} 1s linear infinite; 2999`,dU=dM("div")`
3000 width: 20px; 3001 opacity: 0; 3002 height: 20px; 3003 border-radius: 10px; 3004 background: ${e=>e.primary||"#61d345"}; 3005 position: relative; 3006 transform: rotate(45deg); 3007 3008 animation: ${dO` 3009from { 3010 transform: scale(0) rotate(45deg); 3011 opacity: 0; 3012} 3013to { 3014 transform: scale(1) rotate(45deg); 3015 opacity: 1; 3016}`} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 3017 forwards; 3018 animation-delay: 100ms; 3019 &:after { 3020 content: ''; 3021 box-sizing: border-box; 3022 animation: ${dO` 30230% { 3024 height: 0; 3025 width: 0; 3026 opacity: 0; 3027} 302840% { 3029 height: 0; 3030 width: 6px; 3031 opacity: 1; 3032} 3033100% { 3034 opacity: 1; 3035 height: 10px; 3036}`} 0.2s ease-out forwards; 3037 opacity: 0; 3038 animation-delay: 200ms; 3039 position: absolute; 3040 border-right: 2px solid; 3041 border-bottom: 2px solid; 3042 border-color: ${e=>e.secondary||"#fff"}; 3043 bottom: 6px; 3044 left: 6px; 3045 height: 10px; 3046 width: 6px; 3047 } 3048`,dL=dM("div")` 3049 position: absolute; 3050`,dD=dM("div")` 3051 position: relative; 3052 display: flex; 3053 justify-content: center; 3054 align-items: center; 3055 min-width: 20px; 3056 min-height: 20px; 3057`,dV=dM("div")` 3058 position: relative; 3059 transform: scale(0.6); 3060 opacity: 0.4; 3061 min-width: 20px; 3062 animation: ${dO` 3063from { 3064 transform: scale(0.6); 3065 opacity: 0.4; 3066} 3067to { 3068 transform: scale(1); 3069 opacity: 1; 3070}`} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) 3071 forwards; 3072`,dH=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return void 0!==t?"string"==typeof t?dj.createElement(dV,null,t):t:"blank"===r?null:dj.createElement(dD,null,dj.createElement(dR,{...n}),"loading"!==r&&dj.createElement(dL,null,"error"===r?dj.createElement(dF,{...n}):dj.createElement(dU,{...n})))},dZ=e=>` 30730% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;} 3074100% {transform: translate3d(0,0,0) scale(1); opacity:1;} 3075`,dB=e=>` 30760% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 3077100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;} 3078`,dz=dM("div")` 3079 display: flex; 3080 align-items: center; 3081 background: #fff; 3082 color: #363636; 3083 line-height: 1.3; 3084 will-change: transform; 3085 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); 3086 max-width: 350px; 3087 pointer-events: auto; 3088 padding: 8px 10px; 3089 border-radius: 8px; 3090`,dW=dM("div")` 3091 display: flex; 3092 justify-content: center; 3093 margin: 4px 10px; 3094 color: inherit; 3095 flex: 1 1 auto; 3096 white-space: pre-line; 3097`,dG=(e,t)=>{let r=e.includes("top")?1:-1,[n,o]=de()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[dZ(r),dB(r)];return{animation:t?`${dO(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${dO(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},dq=dv.memo(({toast:e,position:t,style:r,children:n})=>{let o=e.height?dG(e.position||t||"top-center",e.visible):{opacity:0},a=dv.createElement(dH,{toast:e}),i=dv.createElement(dW,{...e.ariaProps},c7(e.message,e));return dv.createElement(dz,{className:e.className,style:{...o,...r,...e.style}},"function"==typeof n?n({icon:a,message:i}):dv.createElement(dv.Fragment,null,a,i))}),dY=c4(tB("acw62"));D=dY.createElement,dE.p=void 0,dT=D,dP=void 0,dN=void 0;var d$=({id:e,className:t,style:r,onHeightUpdate:n,children:o})=>{let a=dY.useCallback(t=>{if(t){let r=()=>{n(e,t.getBoundingClientRect().height)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return dY.createElement("div",{ref:a,className:t,style:r},o)},dK=(e,t)=>{let r=e.includes("top"),n=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:de()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...r?{top:0}:{bottom:0},...n}},dJ=dI` 3098 z-index: 9999; 3099 > * { 3100 pointer-events: auto; 3101 } 3102`,dQ=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:a,containerClassName:i})=>{let{toasts:s,handlers:l}=dg(r);return dY.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...a},className:i,onMouseEnter:l.startPause,onMouseLeave:l.endPause},s.map(r=>{let a=r.position||t,i=dK(a,l.calculateOffset(r,{reverseOrder:e,gutter:n,defaultPosition:t}));return dY.createElement(d$,{id:r.id,key:r.id,onHeightUpdate:l.updateHeight,className:r.visible?dJ:"",style:i},"custom"===r.type?c7(r.message,r):o?o(r):dY.createElement(dq,{toast:r,position:a}))}))},dX=dp;const d0=/([\p{Alpha}\p{N}_]|$)/u,d1=/[_.\- ]+/;RegExp("^"+d1.source),RegExp(d1.source+d0.source,"gu"),RegExp("\\d+"+d0.source,"gu");function d2(e){return e?.replace(/\W/g,"_")}function d8(e){let t=e.target,r=e.key,n=Array.prototype.slice.call(t?.closest('[role="tablist"]')?.querySelectorAll('[role="tab"]')),o=n.indexOf(t);if(r.includes("Arrow")){switch(r){case"ArrowLeft":case"ArrowUp":o=o>0?o-1:n.length-1;break;case"ArrowRight":case"ArrowDown":o=o<n.length-1?o+1:0}n[o].click(),n[o].focus(),e.preventDefault()}}function d6(e){if("number"!=typeof e)return"0 B";let t=e/1024/1024/1024;return t>=.5?`${t}GB`:`${1024*t}MB`}!function(){/* eslint-disable no-var */function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}!/* eslint-enable no-var *//* eslint-disable no-var */function t(r,n){function o(t,o,a){if("undefined"!=typeof document){"number"==typeof(a=e({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decode
3102URIComponent).replace(/[()]/g,escape);var i="";for(var s in a)a[s]&&(i+="; "+s,!0!==a[s]&&// Considers RFC 6265 section 5.2: 3103// ... 3104// 3. If the remaining unparsed-attributes contains a %x3B (";") 3105// character: 3106// Consume the characters of the unparsed-attributes up to, 3107// not including, the first %x3B (";") character. 3108// ... 3109(i+="="+a[s].split(";")[0]));return document.cookie=t+"="+r.write(o,t)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var a=t[o].split("="),i=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(n[s]=r.read(i,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){o(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}();const d4=()=>640>=(visualViewport?.width||document.documentElement.clientWidth),d3={isDev:!1// TODO: DEBUG 3110,os:ap,isMobile:ap.android||ap.ios,sm:d4(),userInfo:{pending:!1,username:null,signInUserSession:null,attributes:null,signOut:()=>Promise.resolve()},releases:{fetching:!1,downloads:{},e:!1},discord:{guild:null,approximate_member_count:0,approximate_presence_count:0}},d5=o4(d3),d7=o4({}),d9=o4({modals:[]});let fe=!1;function ft(){return o3(d5)}const fr=e=>{let t={modals:e.modals,topmost:()=>{let e;if(t.modals?.length)// @ts-ignore 3111{for(;e=t.modals.get({noproxy:!0}).pop();)if(e.visible)return e}},remove:t=>e.modals.set(e=>{let r=e.findIndex(e=>e.id===t);return -1!=r&&e.splice(r,1),e}),create:(r,n)=>{let o=Date.now(),a=e.modals.length;return e.modals.set(e=>(e.push({id:o,visible:!1,content:r(()=>t.remove(o)),props:n}),e)),{id:o,show:()=>e.modals[a].visible.set(!0),hide:()=>e.modals[a].visible.set(!1),destroy:()=>t.remove(o)}}};return t},fn=fr(d9);// @ts-ignore 3112window.__appState=d5,// @ts-ignore 3113window.__proState=d7,// @ts-ignore 3114window.__modalFacade=fn;var tG=tB("acw62");const fo=/*@__PURE__*/tV(tG).forwardRef((e,t)=>{let{className:r,children:n,wrapItems:o,subItemClassName:a,items:i,triggerType:s,...l}=e,u={},[c,d]=(0,tG.useState)(!1);t=t||(0,tG.useRef)(null);let f="click"===s;if(f){u.onClick=()=>d(!c);let e=l.onClick;l.onClick=t=>{let r=t.target;r?.closest(".sub-items")&&(d(!1),e?.(t))}}else l.onMouseEnter=()=>d(!0),l.onMouseLeave=()=>d(!1);// outside click effect 3115(0,tG.useEffect)(()=>{let e=document.documentElement,r=e=>{let r=e.target;t?.current?.contains(r)||d(!1)};return f?e.addEventListener("mouseup",r,!1):e.removeEventListener("mouseup",r),()=>e.removeEventListener("mouseup",r)},[f]);let p=e=>!1===o?e:/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("sub-items flex flex-col absolute top-5 right-0 w-full",f?"mt-6":"pt-6",a),children:/*#__PURE__*/(0,tz.jsx)("div",{className:"sub-items-inner",children:e})});return/*#__PURE__*/(0,tz.jsxs)("div",{className:/*@__PURE__*/tV(np)("ui-dropdown",r,c&&"is-active"),ref:t,...l,children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"trigger",...u,children:n}),/*@__PURE__*/tV(tG).isValidElement(i)?p(i):i?.length>0&&p(i.map((e,t)=>{let{className:r,...n}=e.props||{};return e.render?/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("ui-menu-item",r),...n,children:"function"==typeof e.render?e.render(e):e.render},e.key||t):/*#__PURE__*/(0,tz.jsx)("a",{className:/*@__PURE__*/tV(np)("block ui-menu-item",r),...n,children:e.text},e.key||t)}))]})});var fa={};fa=new URL(tB("27Lyk").resolve("dnCB2"),import.meta.url).toString();const fi=new URL(fa);var fs={};fs=new URL(tB("27Lyk").resolve("2CJz7"),import.meta.url).toString();const fl=new URL(fs);var fu={};fu=new URL(tB("27Lyk").resolve("5lxRr"),import.meta.url).toString();const fc=new URL(fu);var fd={};fd=new URL(tB("27Lyk").resolve("1ST8Z"),import.meta.url).toString();const ff=new URL(fd);var fp={};fp=new URL(tB("27Lyk").resolve("01gZy"),import.meta.url).toString();const fh=new URL(fp);var fm={};fm=new URL(tB("27Lyk").resolve("VVesg"),import.meta.url).toString();const fg=new URL(fm);var fv={};fv=new URL(tB("27Lyk").resolve("aJ7de"),import.meta.url).toString();const fy=new URL(fv);var fb={};
3115fb=new URL(tB("27Lyk").resolve("czuDQ"),import.meta.url).toString();var fw={};fw=new URL(tB("27Lyk").resolve("omoo4"),import.meta.url).toString();var fS={};fS=new URL(tB("27Lyk").resolve("l2Qaz"),import.meta.url).toString();var fx={};fx=new URL(tB("27Lyk").resolve("f4g5u"),import.meta.url).toString();var fE={};fE=new URL(tB("27Lyk").resolve("428fk"),import.meta.url).toString();const fC={macos:new URL(fb),windows:new URL(fw),linux:new URL(fS),ios:new URL(fx),android:new URL(fE)},fA=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:fl,className:"w-4/5",alt:"intel"})})},fk=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:fc,className:"w-4/5",alt:"M1"})})},f_=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:fy,className:"w-4/5",alt:"GooglePlay"})})},fI=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:ff,className:"w-4/5",alt:"Windows64"})})},fT=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:fh,className:"w-4/5",alt:"GooglePlay"})})},fP=e=>{let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("color-icon flex rounded overflow-hidden items-center justify-center",t),...r,children:/*#__PURE__*/(0,tz.jsx)("img",{src:fg,className:"w-4/5",alt:"GooglePlay"})})},fN=[["MacOS",(e={})=>/*#__PURE__*/(0,tz.jsx)(n_,{...e,weight:"duotone"})],["Windows",(e={})=>/*#__PURE__*/(0,tz.jsx)(oV,{...e,weight:"duotone"})],["Linux",(e={})=>/*#__PURE__*/(0,tz.jsx)(oy,{...e,weight:"duotone"})],["iOS",(e={})=>/*#__PURE__*/(0,tz.jsx)(nL,{...e,weight:"duotone"})],["Android",(e={})=>/*#__PURE__*/(0,tz.jsx)(os,{...e,weight:"duotone"})]],fO=(e,t,r,n="")=>{let o=e.releases.downloads.get();return(n=n||t?.[0].toString().toLowerCase(),o?.[n])?o[n]?.browser_download_url:r?"https://apps.apple.com/us/app/logseq/id1601013908":"https://github.com/logseq/logseq/releases"};function fM(e={}){let{className:t,children:r,...n}=e,o=ft(),a=(0,tG.useRef)(null),i=o.get().os,[s,l]=(0,tG.useState)(fN[0]),u=s?.[0]==="iOS",c=s?.[0]==="MacOS",d=c?(e={})=>/*#__PURE__*/(0,tz.jsx)(n$,{className:"ml-1 opacity-60",...e}):u?(e={})=>o.sm.get()?/*#__PURE__*/(0,tz.jsx)(n3,{weight:"duotone",className:"ml-1 opacity-60",...e}):/*#__PURE__*/(0,tz.jsx)(oT,{weight:"duotone",className:"ml-1 opacity-60",...e}):null;(0,tG.useEffect)(()=>{fN.some(e=>{if(i[e?.[0].toString().toLowerCase()])return l(e),!0})},[i]);let f=c?/*#__PURE__*/(0,tz.jsx)("div",{className:"sub-items flex flex-col absolute top-5 right-0 w-full pt-6",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"sub-items-inner",children:[/*#__PURE__*/(0,tz.jsx)("a",{className:"block",href:fO(o,s,u,"macos-arm64"),children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex items-center",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"flex pr-2",children:/*#__PURE__*/(0,tz.jsx)(fk,{className:"bg-black w-8 h-8"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"w-full flex flex-col opacity-80",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-sm",children:"Apple silicon (ARM)"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-[11px] opacity-60",children:"Macs after November 2020"})]})]})}),/*#__PURE__*/(0,tz.jsx)("a",{className:"block",href:fO(o,s,u,"macos-x64"),children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex items-center",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"flex pr-2",children:/*#__PURE__*/(0,tz.jsx)(fA,{className:"bg-black w-8 h-8"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"w-full flex flex-col opacity-80",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-sm",children:"Intel chip (x64)"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-[11px] opacity-60",children:"Older macOS devices with Intel processors"})]})]})})]})}):u?/*#__PURE__*/(0,tz.jsx)("span",{className:"sub-items absolute top-6 right-2 z-10 flex justify-center translate-x-4 transition-opacity qr",children:/*#__PURE__*/(0,tz.jsx)("img",{src:fi,alt:"qr",className:"w-3/4"})}):null,p=s?.[1];return/*#__PURE__*/(0,tz.jsx)(fo,{className:/*@__PURE__*/tV(np)("global-downloads-wrap",t),ref:a,items:f,wrapItems:!1,children:/*#__PURE__*/(0,tz.jsx)("a",{className:"block",target:"_blank",href:fO(o,s,u),children:r({active:s,leftIconFn:"function"==typeof p?p:()=>p,rightIconFn:d})})})}function fj(e){let{activeRelease:t,setActiveRelease:r}=e,n=t?.[0],o=t?.[1];return"function"==typeof o&&(o=o()),/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("selects",`active-of-${n?.toLowerCase()}`),children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-form-select-wrap",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"icon",children:o}),/*#__PURE__*/(0,tz.jsx)("select",{className:"app-form-select w-full",onCh
3115ange:e=>{let t=fN.find(t=>t[0]===e.target.value);r(t)},value:n,children:fN.map(([e])=>/*#__PURE__*/(0,tz.jsx)("option",{value:e,children:e},e))}),/*#__PURE__*/(0,tz.jsx)("span",{className:"arrow",children:/*#__PURE__*/(0,tz.jsx)(n$,{weight:"bold"})})]})})}function fF(e){let{activeRelease:t,setActiveRelease:r}=e;return/*#__PURE__*/(0,tz.jsx)("ul",{className:"tabs flex space-x-8 justify-around",role:"tablist",children:fN.map(([e,n])=>{"function"==typeof n&&(n=n());let o=t[0]===e;return/*#__PURE__*/(0,tz.jsxs)("li",{className:/*@__PURE__*/tV(np)({active:o},`is-${e.toLowerCase()}`),onClick:()=>{r([e,n])},tabIndex:o?0:-1,role:"tab","aria-controls":e,id:"tab-"+e,"aria-selected":o,onKeyDown:d8,children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-60",children:n}),/*#__PURE__*/(0,tz.jsx)("strong",{children:e})]},e)})})}function fR(){let e=ft(),t=e.get().os,r=e.sm.get(),n=fN[0];fN.some(e=>{if(t[e?.[0].toString().toLowerCase()])return n=e,!0});let[o,a]=(0,tG.useState)(n),i=t=>{let r="ios"===t,n=fN.find(e=>e[0].toLowerCase()===t);return fO(e,n,r,t)};return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-head-downloads",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col pt-10 sm:items-center sm:pt-20 pb-12 text-slogan",children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"text-3xl sm:text-6xl",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-semibold tracking-wide",children:"Download "}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"the apps."})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{className:"text-xl flex flex-col justify-center sm:items-center pt-2 tracking-wide",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Collect your thoughts and get inspired."}),/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-90",children:"Your train-of-thought is waiting for you!"})]})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"dl-items",children:[e.sm.get()?/*#__PURE__*/(0,tz.jsx)(fj,{activeRelease:o,setActiveRelease:a}):/*#__PURE__*/(0,tz.jsx)(fF,{activeRelease:o,setActiveRelease:a}),/*#__PURE__*/(0,tz.jsx)("div",{className:"panels flex sm:justify-center pt-6 pb-0 sm:pb-10 sm:pt-10",children:function([e,t]){let n="windows"===e.toLowerCase(),o="android"===e.toLowerCase(),a="linux"===e.toLowerCase(),s="ios"===e.toLowerCase();switch(t=n?/*#__PURE__*/(0,tz.jsx)(fI,{className:"bg-black/50 w-6 h-6 sm:w-8 sm:h-8"}):o?/*#__PURE__*/(0,tz.jsx)(fP,{className:"bg-black/50 w-6 h-6 sm:w-8 sm:h-8"}):a?/*#__PURE__*/(0,tz.jsx)(fT,{className:"bg-black/50 w-6 h-6 sm:w-8 sm:h-8"}):s?/*#__PURE__*/(0,tz.jsx)(f_,{className:"bg-black/50 w-6 h-6 sm:w-8 sm:h-8"}):t,e){case"iOS":return/*#__PURE__*/(0,tz.jsxs)("div",{className:"w-full sm:w-auto flex flex-col items-center is-ios cursor-crosshair",id:e,role:"tabpanel","aria-labelledby":"tab-"+e,children:[/*#__PURE__*/(0,tz.jsx)(nh,{className:"w-full bg-logseq-400 px-3 py-3 sm:px-6 sm:py-4",leftIcon:t,disabled:!r,rightIcon:r?/*#__PURE__*/(0,tz.jsx)(n3,{className:"opacity-50"}):/*#__PURE__*/(0,tz.jsx)(oT,{className:"opacity-50"}),href:i("ios"),asAnchor:!0,children:"Download on the App Store"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"absolute top-16 z-10 flex justify-center translate-x-4 transition-opacity qr opacity-0",children:/*#__PURE__*/(0,tz.jsx)("img",{src:fi,alt:"qr",className:"w-1/2"})})]});case"MacOS":return/*#__PURE__*/(0,tz.jsxs)("div",{className:"w-full sm:w-auto sm:flex sm:space-x-6",id:e,role:"tabpanel","aria-labelledby":"tab-"+e,children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col items-center",children:[/*#__PURE__*/(0,tz.jsx)(nh,{className:"w-full bg-logseq-400 px-3 py-3 sm:px-6 sm:py-4",leftIcon:/*#__PURE__*/(0,tz.jsx)(fA,{className:"w-6 h-6 sm:w-8 sm:h-8 bg-gray-900",color:"white"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(n3,{className:"opacity-50"}),href:i("macos-x64"),asAnchor:!0,children:"Download for Intel chip"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-xs opacity-60 py-2",children:"Most common in Macs"})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col items-center",children:[/*#__PURE__*/(0,tz.jsx)(nh,{className:"w-full bg-logseq-600 px-3 py-3 sm:px-6 sm:py-4",leftIcon:/*#__PURE__*/(0,tz.jsx)(fk,{className:"w-6 h-6 sm:w-8 sm:h-8 bg-gray-900",color:"white"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(n3,{className:"opacity-50"}),href:i("macos-arm64"),asAnchor:!0,children:"Download for Apple silicon"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-xs opacity-60 py-2",children:"Macs from November 2020 and later"})]})]});case"Linux":return/*#__PURE__*/(0,tz.jsxs)("div",{className:"w-full sm:w-auto flex flex-col items-center",id:e,role:"tabpanel","aria-labelledby":"tab-"+e,children:[/*#__PURE__*/(0,tz.jsx)(nh,{leftIcon:t,rightIcon:/*#__PURE__*/(0,tz.jsx)(n3,{className:"opacity-50"}),className:"w-full sm:w-auto bg-logseq-600 px-3 py-3 sm:px-6 sm:py-4",href:i("linux"),asAnchor:!0,children:"Download Linux release"}),/*#__PURE__*/(0,tz.jsxs)("span",{className:"opacity-60 py-3",children:["You are advised to use ",/*#__PURE__*/(0,tz.jsx)("a",{className:"text-logseq-100",target:"_blank",href:"https://github.com/TheAssassin/AppImageLauncher",children:"AppImageLauncher"})," for proper desktop integration"]})]});default:return/*#__PURE__*/(0,tz.jsx)("div",{className:"w-full sm:w-auto",id:e,role:"tabpanel","aria-labelledby":"tab-"+e,children:/*#__PURE__*/(0,tz.jsxs)(nh,{leftIcon:t,rightIcon:/*#__PURE__*/(0,tz.jsx)(n3,{className:"opacity-50"}),className:"w-full bg-logseq-600 px-3 py-3 sm:px-6 sm:py-4",href:i(e.toString().toLowerCase()),asAnchor:!0,children:["Download ",e," release"]})})}}(o)})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"screen-shot sm:-mt-10",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"pt-4 -m-5 sm:m-0 sm:pt-0 sm:mx-24 relative overflow-hidden",children:/*#__PURE__*/(0,tz.jsx)("img",{alt:"Image",src:fC[o[0].toString().toLowerCase()],className:"sm:opacity-90 sm:translate-y-28 rounded-md overflow-hidden sm:-mt-24 img-bg"})})})]})}function fU(){return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-page pt-20",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner-full-wrap dl-a",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(fR,{})})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"page-inner-full-wrap b relative",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-desc pt-16",children:/*#__PURE__*/(0,tz.jsx)(yv,{downloadsPage:!0})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-nav",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yy,{})})})]})]})}function fL(e){let{className:t,onRefMouseEnter:r,onRefMouseLeave:n,...o}=e;return/*#__PURE__*/(0,tz.jsx)(nm,{delay:2e3,className:/*@__PURE__*/tV(np)("d",t),...o,children:/*#__PURE__*/(0,tz.jsx)("div",{className:"outliner-list-demo",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"outliner-list-item",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"content",children:/*#__PURE__*/(0,tz.jsxs)("span",{children:["My notes on ",/*#__PURE__*/(0,tz.jsx)("a",{"data-ref":"book",onMouseEnter:r,onMouseLeave:n,className:"ref",children:"\uD83D\uDCD6Book / Intertwingled"}),":"]})})})})})}function fD(e){let{className:t,onRefMouseEnter:r,onRefMouseLeave:n,...o}=e;return/*#__PURE__*/(0,tz.jsxs)(nm,{className:/*@__PURE__*/tV(np)("is-card-profile flex mb-2.5 sm:mb-1",t),...o,children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"avatar flex items-center",children:/*#__PURE__*/(0,tz.jsx)("span",{className:"avatar-img",children:"Image"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"info flex flex-col px-3 text-logseq-100",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"text-2xl font-semibold text-logseq-50",children:"Jessica"}),/*#__PURE__*/(0,tz.jsx)("p",{className:"py-0.5 opacity-80",children:"\uD83D\uDC65 Person"}),/*#__PURE__*/(0,tz.jsx)("p",{className:"py-0.5 opacity-80",children:"\uD83D\uDC64 Jessica Albert"})]})]})}function fV(e){let{className:t,onRefMouseEnter:r,onRefMouseLeave:n,...o}=e;return/*#__PURE__*/(0,tz.jsxs)(nm,{className:/*@__PURE__*/tV(np)("is-card-book flex mb-2.5 sm:mb-1",t),...o,children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"avatar flex items-center",children:/*#__PURE__*/(0,tz.jsx)("span",{className:"avatar-img",children:"Image"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"info flex flex-col px-3 text-logseq-100",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"text-2xl font-semibold text-logseq-50",children:"Intertwingled"}),/*#__PURE__*/(0,tz.jsx)("p",{className:"py-0.5 opacity-80",children:"\uD83D\uDCD6 Book"}),/*#__PURE__*/(0,tz.jsx)("p",{className:"py-0.5 opacity-80",children:"\uD83D\uDC64 Peter Morville"})]})]})}function fH(e){let{className:t,onRefMouseEnter:r,onRefMouseLeave:n,...o}=e;return/*#__PURE__*/(0,tz.jsx)(nm,{delay:500,className:/*@__PURE__*/tV(np)("is-card-todo",t),...o,children:/*#__PURE__*/(0,tz.jsx)("div",{className:"outliner-list-demo",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"outliner-list-item",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"content is-todo",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"marker",children:"NOW"}),/*#__PURE__*/(0,tz.jsxs)("span",{children:["Meeting with ",/*#__PURE__*/(0,tz.jsx)("a",{className:"ref","data-ref":"profile",onMouseLeave:n,onMouseEnter:r,children:"\uD83D\uDC65 Jessica"})]})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"subs",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"outliner-list-item",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"content",children:/*#__PURE__*/(0,tz.jsxs)("span",{children:["She mentioned her current read: ",/*#__PURE__*/(0,tz.jsx)("a",{"data-ref":"book",className:"ref",onMouseLeave:n,onMouseEnter:r,children:"\uD83D\uDCD6 Book/Intertwingled"})]})})})})]})})})}function fZ(){let e=ft(),[t,r]=(0,tG.useState)(""),n=(0,tG.useCallback)(e=>{let t=e.target;r(t.dataset.ref||"")},[]),o=(0,tG.useCallback)(e=>{r("")},[]);return/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("app-head-showcase",t&&"active-ref-"+t),children:/*#__PURE__*/(0,tz.jsx)("div",{className:"inner flex h-full",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"item-wrap relative flex-1",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"text-1 z-0 w-full flex flex-col tracking-wide pb-[38rem] sm:pb-[32rem]",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-4xl sm:text-6xl text-logseq-50/80",children:"Connect your notes, "}),/*#__PURE__*/(0,tz.jsxs)("strong",{className:"text-3xl sm:text-6xl flex",children:["increase understanding.",/*#__PURE__*/(0,tz.jsx)("sup",{className:"hidden opacity-80 text-logseq-100 hover:opacity-60 sm:translate-y-6",children:/*#__PURE__*/(0,tz.jsx)(nt,{size:28})})]})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"image-2 z-10 thinker absolute",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"absolute bottom-12 w-full h-40 bg-gradient-to-t from-logseq-800 via-logseq-800"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"cards-3 z-20",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"r1 mb-3",children:/*#__PURE__*/(0,tz.jsx)(fH,{onRefMouseEnter:n,onRefMouseLeave:o})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"r2",children:[/*#__PURE__*/(0,tz.jsx)(fD,{delay:1300,animation:e.sm.get()?"slide-in-from-left":null}),e.sm.get()?null:/*#__PURE__*/(0,tz.jsx)(fV,{delay:1300})]}),e.sm.get()?/*#__PURE__*/(0,tz.jsx)("div",{className:"r2 is-single",children:/*#__PURE__*/(0,tz.jsx)(fV,{delay:1600,animation:"slide-in-from-right"})}):null,/*#__PURE__*/(0,tz.jsx)("div",{className:"r3 pt-3 sm:px-24",children:/*#__PURE__*/(0,tz.jsx)(fL,{onRefMouseEnter:n,onRefMouseLeave:o})})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"relative actions-4 z-30",children:[/*#__PURE__*/(0,tz.jsx)(fM,{className:"is-super-button",children:({active:e,leftIconFn:t,rightIconFn:r})=>{let n=t?.({weight:"bold",size:18}),o=r?.({size:18});return/*#__PURE__*/(0,tz.jsxs)(nh,{leftIcon:n,rightIcon:o,children:["Download for ",e?.[0]]})}}),/*#__PURE__*/(0,tz.jsx)(nh,{leftIcon:/*#__PURE__*/(0,tz.jsx)(nf,{size:18,weight:"duotone"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(r0,{size:18,className:"opacity-70"}),className:"bg-logseq-600",href:"https://app.logseq.com",children:"Web app"})]})]})})})}var tG=(tB("acw62"),tB("acw62")),fB=Object.defineProperty,fz=Object.defineProperties,fW=Object.getOwnPropertyDescriptors,fG=Object.getOwnPropertySymbols,fq=Object.prototype.hasOwnProperty,fY=Object.prototype.propertyIsEnumerable,f$=(e,t,r)=>t in e?fB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,fK=(e,t)=>{for(var r in t||(t={}))fq.call(t,r)&&f$(e,r,t[r]);if(fG)for(var r of fG(t))fY.call(t,r)&&f$(e,r,t[r]);return e},fJ=(e,t)=>
3115fz(e,fW(t));const fQ=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M241,150.65s0,0,0-.05a51.33,51.33,0,0,0-2.53-5.9L196.93,50.18a12,12,0,0,0-2.5-3.65,36,36,0,0,0-50.92,0A12,12,0,0,0,140,55V76H116V55a12,12,0,0,0-3.51-8.48,36,36,0,0,0-50.92,0,12,12,0,0,0-2.5,3.65L17.53,144.7A51.33,51.33,0,0,0,15,150.6s0,0,0,.05A52,52,0,1,0,116,168V100h24v68a52,52,0,1,0,101-17.35ZM80,62.28a12,12,0,0,1,12-1.22v63.15a51.9,51.9,0,0,0-35.9-7.62ZM64,196a28,28,0,1,1,28-28A28,28,0,0,1,64,196ZM164,61.06a12.06,12.06,0,0,1,12,1.22l23.87,54.31a51.9,51.9,0,0,0-35.9,7.62ZM192,196a28,28,0,1,1,28-28A28,28,0,0,1,192,196Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,168a40,40,0,1,1-40-40A40,40,0,0,1,104,168Zm88-40a40,40,0,1,0,40,40A40,40,0,0,0,192,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M237.22,151.9l0-.1a1.42,1.42,0,0,0-.07-.22,48.46,48.46,0,0,0-2.31-5.3L193.27,51.8a8,8,0,0,0-1.67-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,8,8,0,0,0-1.67,2.44L21.2,146.28a48.46,48.46,0,0,0-2.31,5.3,1.72,1.72,0,0,0-.07.21s0,.08,0,.11a48,48,0,0,0,90.32,32.51,47.49,47.49,0,0,0,2.9-16.59V96h32v71.83a47.49,47.49,0,0,0,2.9,16.59,48,48,0,0,0,90.32-32.51Zm-143.15,27a32,32,0,0,1-60.2-21.71l1.81-4.13A32,32,0,0,1,96,167.88V168h0A32,32,0,0,1,94.07,178.94ZM203,198.07A32,32,0,0,1,160,168h0v-.11a32,32,0,0,1,60.32-14.78l1.81,4.13A32,32,0,0,1,203,198.07Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M233,147.24,191.43,52.6a6,6,0,0,0-1.25-1.83,30,30,0,0,0-42.42,0A6,6,0,0,0,146,55V82H110V55a6,6,0,0,0-1.76-4.25,30,30,0,0,0-42.42,0,6,6,0,0,0-1.25,1.83L23,147.24A46,46,0,1,0,110,168V94h36v74a46,46,0,1,0,87-20.76ZM64,202a34,34,0,1,1,34-34A34,34,0,0,1,64,202Zm0-80a45.77,45.77,0,0,0-18.55,3.92L75.06,58.54A18,18,0,0,1,98,57.71V137A45.89,45.89,0,0,0,64,122Zm94-64.28a18,18,0,0,1,22.94.83l29.61,67.37A45.9,45.9,0,0,0,158,137ZM192,202a34,34,0,1,1,34-34A34,34,0,0,1,192,202Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M237.2,151.87v0a47.1,47.1,0,0,0-2.35-5.45L193.26,51.8a7.82,7.82,0,0,0-1.66-2.44,32,32,0,0,0-45.26,0A8,8,0,0,0,144,55V80H112V55a8,8,0,0,0-2.34-5.66,32,32,0,0,0-45.26,0,7.82,7.82,0,0,0-1.66,2.44L21.15,146.4a47.1,47.1,0,0,0-2.35,5.45v0A48,48,0,1,0,112,168V96h32v72a48,48,0,1,0,93.2-16.13ZM76.71,59.75a16,16,0,0,1,19.29-1v73.51a47.9,47.9,0,0,0-46.79-9.92ZM64,200a32,32,0,1,1,32-32A32,32,0,0,1,64,200ZM160,58.74a16,16,0,0,1,19.29,1l27.5,62.58A47.9,47.9,0,0,0,160,132.25ZM192,200a32,32,0,1,1,32-32A32,32,0,0,1,192,200Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.22,148.09,189.6,53.41a3.94,3.94,0,0,0-.83-1.22,28,28,0,0,0-39.6,0A4,4,0,0,0,148,55V84H108V55a4,4,0,0,0-1.17-2.83,28,28,0,0,0-39.6,0,3.94,3.94,0,0,0-.83,1.22L24.78,148.09A44,44,0,1,0,108,168V92h40v76a44,44,0,1,0,83.22-19.91ZM64,204a36,36,0,1,1,36-36A36,36,0,0,1,64,204Zm0-80a43.78,43.78,0,0,0-22.66,6.3L73.4,57.35a20,20,0,0,1,26.6-.59v86A44,44,0,0,0,64,124Zm92-67.23a20,20,0,0,1,26.6.59l32.06,72.94A43.92,43.92,0,0,0,156,142.74ZM192,204a36,36,0,1,1,36-36A36,36,0,0,1,192,204Z"}))]]),fX=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,fJ(fK({ref:t},e),{weights:fQ})));fX.displayName="Binoculars";var tG=tB("acw62"),f0=Object.defineProperty,f1=Object.defineProperties,f2=Object.getOwnPropertyDescriptors,f8=Object.getOwnPropertySymbols,f6=Object.prototype.hasOwnProperty,f4=Object.prototype.propertyIsEnumerable,f3=(e,t,r)=>t in e?f0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f5=(e,t)=>{for(var r in t||(t={}))f6.call(t,r)&&f3(e,r,t[r]);if(f8)for(var r of f8(t))f4.call(t,r)&&f3(e,r,t[r]);return e},f7=(e,t)=>f1(e,f2(t));const f9=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M235.57,193.73,202.38,35.93a20,20,0,0,0-23.76-15.48L131.81,30.51a19.82,19.82,0,0,0-11,6.65A20,20,0,0,0,104,28H56A20,20,0,0,0,36,48V208a20,20,0,0,0,20,20h48a20,20,0,0,0,20-20V90.25l25.62,121.82A20,20,0,0,0,169.15,228a20.27,20.27,0,0,0,4.23-.45l46.81-10.06A20.1,20.1,0,0,0,235.5
31157,193.73ZM148.19,88.65l39-8.38,2.53,12-39,8.38Zm7.46,35.5,39-8.38,9.16,43.58-39,8.38Zm24.06-79.39,2.53,12-39,8.38-2.53-12ZM60,88h40v80H60Zm40-36V64H60V52ZM60,204V192h40v12Zm112.29-.76-2.53-12,39-8.38,2.53,12Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M48,72h64V184H48ZM190.64,38.39a8,8,0,0,0-9.5-6.21l-46.81,10a8.07,8.07,0,0,0-6.15,9.57L139.79,107l62.46-13.42Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M231.65,194.55,198.46,36.75a16,16,0,0,0-19-12.39L132.65,34.42a16.08,16.08,0,0,0-12.3,19l33.19,157.8A16,16,0,0,0,169.16,224a16.25,16.25,0,0,0,3.38-.36l46.81-10.06A16.09,16.09,0,0,0,231.65,194.55ZM136,50.15c0-.06,0-.09,0-.09l46.8-10,3.33,15.87L139.33,66Zm6.62,31.47,46.82-10.05,3.34,15.9L146,97.53Zm6.64,31.57,46.82-10.06,13.3,63.24-46.82,10.06ZM216,197.94l-46.8,10-3.33-15.87L212.67,182,216,197.85C216,197.91,216,197.94,216,197.94ZM104,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V48A16,16,0,0,0,104,32ZM56,48h48V64H56Zm0,32h48v96H56Zm48,128H56V192h48v16Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.65,194.55,198.46,36.75a16,16,0,0,0-19-12.39L132.65,34.42a16.08,16.08,0,0,0-12.3,19l33.19,157.8A16,16,0,0,0,169.16,224a16.25,16.25,0,0,0,3.38-.36l46.81-10.06A16.09,16.09,0,0,0,231.65,194.55ZM136,50.15c0-.06,0-.09,0-.09l46.8-10,3.33,15.87L139.33,66Zm10,47.38-3.35-15.9,46.82-10.06,3.34,15.9Zm70,100.41-46.8,10-3.33-15.87L212.67,182,216,197.85C216,197.91,216,197.94,216,197.94ZM104,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V48A16,16,0,0,0,104,32ZM56,48h48V64H56Zm48,160H56V192h48v16Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,34H56A14,14,0,0,0,42,48V208a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V48A14,14,0,0,0,104,34ZM54,78h52V178H54Zm2-32h48a2,2,0,0,1,2,2V66H54V48A2,2,0,0,1,56,46Zm48,164H56a2,2,0,0,1-2-2V190h52v18A2,2,0,0,1,104,210Zm125.7-15L196.51,37.16a14,14,0,0,0-16.63-10.85L133.07,36.37A14.09,14.09,0,0,0,122.3,53l33.19,157.81a14,14,0,0,0,6.1,8.9,13.85,13.85,0,0,0,7.57,2.26,13.55,13.55,0,0,0,3-.32l46.81-10.05A14.09,14.09,0,0,0,229.7,195Zm-82.81-83.32,50.73-10.9,14.12,67.16L161,178.81Zm-6.63-31.56L191,69.19,195.15,89l-50.73,10.9Zm-4.66-32,46.8-10.05a2.18,2.18,0,0,1,.42,0,1.89,1.89,0,0,1,1.05.32,2,2,0,0,1,.89,1.31l3.75,17.82L137.79,68.34l-3.74-17.78A2.07,2.07,0,0,1,135.6,48.1Zm80.81,151.8L169.6,210a1.92,1.92,0,0,1-1.47-.27,2,2,0,0,1-.89-1.31l-3.75-17.82,50.72-10.9L218,197.43A2.07,2.07,0,0,1,216.41,199.9Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.65,194.55,198.46,36.75a16,16,0,0,0-19-12.39L132.65,34.42a16.08,16.08,0,0,0-12.3,19l33.19,157.8A16,16,0,0,0,169.16,224a16.25,16.25,0,0,0,3.38-.36l46.81-10.06A16.09,16.09,0,0,0,231.65,194.55ZM136,50.15c0-.06,0-.09,0-.09l46.8-10,3.33,15.87L139.33,66Zm6.62,31.47,46.82-10.05,3.34,15.9L146,97.53Zm6.64,31.57,46.82-10.06,13.3,63.24-46.82,10.06ZM216,197.94l-46.8,10-3.33-15.87L212.67,182,216,197.85C216,197.91,216,197.94,216,197.94ZM104,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V48A16,16,0,0,0,104,32ZM56,48h48V64H56Zm0,32h48v96H56Zm48,128H56V192h48v16Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,36H56A12,12,0,0,0,44,48V208a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V48A12,12,0,0,0,104,36ZM52,76h56V180H52Zm4-32h48a4,4,0,0,1,4,4V68H52V48A4,4,0,0,1,56,44Zm48,168H56a4,4,0,0,1-4-4V188h56v20A4,4,0,0,1,104,212Zm123.74-16.62L194.55,37.57a12,12,0,0,0-14.25-9.3L133.49,38.32a12.1,12.1,0,0,0-9.23,14.3l33.19,157.81a12,12,0,0,0,14.25,9.3l46.81-10.06h0A12.08,12.08,0,0,0,227.74,195.38Zm-83.21-85.27,54.63-11.73,15,71.07-54.63,11.74Zm-6.64-31.56,54.64-11.74,5,23.74-54.64,11.73Zm-2.71-32.4L182,36.09a4,4,0,0,1,.84-.09,3.94,3.94,0,0,1,2.14.64,4,4,0,0,1,1.76,2.58L190.88,59,136.24,70.72,132.09,51A4.07,4.07,0,0,1,135.18,46.15Zm81.65,155.7L170,211.91a4,4,0,0,1-3-.55,4,4,0,0,1-1.76-2.58L161.12,189l54.64-11.73L219.91,197A4.07,4.07,0,0,1,216.83,201.85Z"}))]]),pe=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,f7(f5({ref:t},e),{weights:f9})));pe.displayName="Books";var tG=tB("acw62"),pt=Object.defineProperty,pr=Object.defineProperties,pn=Object.getOwnPropertyDescriptors,po=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,ps=(e,t,r)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pl=(e,t)=>{for(var r in t||(t={}))pa.call(t,r)&&ps(e,r,t[r]);if(po)for(var r of po(t))pi.call(t,r)&&ps(e,r,t[r]);return e},pu=(e,t)=>pr(e,pn(t));const pc=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M252,124a60.14,60.14,0,0,0-32-53.08,52,52,0,0,0-92-32.11A52,52,0,0,0,36,70.92a60,60,0,0,0,0,106.14,52,52,0,0,0,92,32.13,52,52,0,0,0,92-32.13A60.05,60.05,0,0,0,252,124ZM88,204a28,28,0,0,1-26.85-20.07c1,0,1.89.07,2.85.07h8a12,12,0,0,0,0-24H64A36,36,0,0,1,52,90.05a12,12,0,0,0,8-11.32V72a28,28,0,0,1,56,0v60.15a52.43,52.43,0,0,0-12.4-5.77,12,12,0,0,0-7.2,22.9A28,28,0,0,1,88,204Zm104-44h-8a12,12,0,0,0,0,24h8c1,0,1.9,0,2.85-.07a28,28,0,1,1-35.18-34.67,12,12,0,0,0-7.13-22.92A52,52,0,0,0,140,132.15V72a28,28,0,0,1,56,0v6.73a12,12,0,0,0,8,11.32,36,36,0,0,1-12,70Zm16-44a12,12,0,0,1-12,12,40,40,0,0,1-40-40V84a12,12,0,0,1,24,0v4a16,16,0,0,0,16,16A12,12,0,0,1,208,116ZM60,128a12,12,0,0,1,0-24A16,16,0,0,0,76,88V84a12,12,0,0,1,24,0v4A40,40,0,0,1,60,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,124a48,48,0,0,1-32,45.27h0V176a40,40,0,0,1-80,0,40,40,0,0,1-80,0v-6.73h0a48,48,0,0,1,0-90.54V72a40,40,0,0,1,80,0,40,40,0,0,1,80,0v6.73A48,48,0,0,1,240,124Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M248,124a56.11,56.11,0,0,0-32-50.61V72a48,48,0,0,0-88-26.49A48,48,0,0,0,40,72v1.39a56,56,0,0,0,0,101.2V176a48,48,0,0,0,88,26.49A48,48,0,0,0,216,176v-1.41A56.09,56.09,0,0,0,248,124ZM88,208a32,32,0,0,1-31.81-28.56A55.87,55.87,0,0,0,64,180h8a8,8,0,0,0,0-16H64A40,40,0,0,1,50.67,86.27,8,8,0,0,0,56,78.73V72a32,32,0,0,1,64,0v68.26A47.8,47.8,0,0,0,88,128a8,8,0,0,0,0,16,32,32,0,0,1,0,64Zm104-44h-8a8,8,0,0,0,0,16h8a55.87,55.87,0,0,0,7.81-.56A32,32,0,1,1,168,144a8,8,0,0,0,0-16,47.8,47.8,0,0,0-32,12.26V72a32,32,0,0,1,64,0v6.73a8,8,0,0,0,5.33,7.54A40,40,0,0,1,192,164Zm16-52a8,8,0,0,1-8,8h-4a36,36,0,0,1-36-36V80a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4A8,8,0,0,1,208,112ZM60,120H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,84V80a8,8,0,0,1,16,0v4A36,36,0,0,1,60,120Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M212,76V72a44,44,0,0,0-74.86-31.31,3.93,3.93,0,0,0-1.14,2.8v88.72a4,4,0,0,0,6.2,3.33A47.67,47.67,0,0,1,167.68,128a8.18,8.18,0,0,1,8.31,7.58,8,8,0,0,1-8,8.42,32,32,0,0,0-32,32v33.88a4,4,0,0,0,1.49,3.12,47.92,47.92,0,0,0,74.21-17.16,4,4,0,0,0-4.49-5.56A68.06,68.06,0,0,1,192,192h-7.73a8.18,8.18,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h8a51.6,51.6,0,0,0,24-5.88v0A52,52,0,0,0,212,76Zm-12,36h-4a36,36,0,0,1-36-36V72a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4a8,8,0,0,1,0,16ZM88,28A44.05,44.05,0,0,0,44,72v4a52,52,0,0,0-4,94.12h0A51.6,51.6,0,0,0,64,176h7.73A8.18,8.18,0,0,1,80,183.47,8,8,0,0,1,72,192H64a67.48,67.48,0,0,1-15.21-1.73,4,4,0,0,0-4.5,5.55A47.93,47.93,0,0,0,118.51,213a4,4,0,0,0,1.49-3.12V176a32,32,0,0,0-32-32,8,8,0,0,1-8-8.42A8.18,8.18,0,0,1,88.32,128a47.67,47.67,0,0,1,25.48,7.54,4,4,0,0,0,6.2-3.33V43.49a4,4,0,0,0-1.14-2.81A43.85,43.85,0,0,0,88,28Zm8,48a36,36,0,0,1-36,36H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,76V72a8,8,0,0,1,16,0Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M246,124a54.13,54.13,0,0,0-32-49.33V72a46,46,0,0,0-86-22.67A46,46,0,0,0,42,72v2.67a54,54,0,0,0,0,98.63V176a46,46,0,0,0,86,22.67A46,46,0,0,0,214,176v-2.7A54.07,54.07,0,0,0,246,124ZM88,210a34,34,0,0,1-34-32.94A53.67,53.67,0,0,0,64,178h8a6,6,0,0,0,0-12H64A42,42,0,0,1,50,84.39a6,6,0,0,0,4-5.66V72a34,34,0,0,1,68,0v73.05A45.89,45.89,0,0,0,88,130a6,6,0,0,0,0,12,34,34,0,0,1,0,68Zm104-44h-8a6,6,0,0,0,0,12h8a53.67,53.67,0,0,0,10-.94A34,34,0,1,1,168,142a6,6,0,0,0,0-12,45.89,45.89,0,0,0-34,15.05V72a34,34,0,0,1,68,0v6.73a6,6,0,0,0,4,5.66A42,42,0,0,1,192,166Zm14-54a6,6,0,0,1-6,6h-4a34,34,0,0,1-34-34V80a6,6,0,0,1,12,0v4a22,22,0,0,0,22,22h4A6,6,0,0,1,206,112ZM60,118H56a6,6,0,0,1,0-12h4A22,22,0,0,0,82,84V80a6,6,0,0,1,12,0v4A34,34,0,0,1,60,118Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M248,124a56.11,56.11,0,0,0-32-50.61V72a48,48,0,0,0-88-26.49A48,48,0,0,0,40,72v1.39a56,56,0,0,0,0,101.2V176a48,48,0,0,0,88,26.49A48,48,0,0,0,216,176v-1.41A56.09,56.09,0,0,0,248,124ZM88,208a32,32,0,0,1-31.81-28.56A55.87,55.87,0,0,0,64,180h8a8,8,0,0,0,0-16H64A40,40,0,0,1,50.67,86.27,8,8,0,0,0,56,78.73V72a32,32,0,0,1,64,0v68.26A47.8,47.8,0,0,0,88,128a8,8,0,0,0,0,16,32,32,0,0,1,0,64Zm104-44h-8a8,8,0,0,0,0,16h8a55.87,55.87,0,0,0,7.81-.56A32,32,0,1,1,168,144a8,8,0,0,0,0-16,47.8,47.8,0,0,0-32,12.26V72a32,32,0,0,1,64,0v6.73a8,8,0,0,0,5.33,7.54A40,40,0,0,1,192,164Zm16-52a8,8,0,0,1-8,8h-4a36,36,0,0,1-36-36V80a8,8,0,0,1,16,0v4a20,20,0,0,0,20,20h4A8,8,0,0,1,208,112ZM60,120H56a8,8,0,0,1,0-16h4A20,20,0,0,0,80,84V80a8,8,0,0,1,16,0v4A36,36,0,0,1,60,120Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M244,124a52.1,52.1,0,0,0-32-48V72a44,44,0,0,0-84-18.3A44,44,0,0,0,44,72v4a52,52,0,0,0,0,96v4a44,44,0,0,0,84,18.3A44,44,0,0,0,212,176v-4A52.07,52.07,0,0,0,244,124ZM88,212a36,36,0,0,1-36-36v-1.41A52.13,52.13,0,0,0,64,176h8a4,4,0,0,0,0-8H64A44,44,0,0,1,49.33,82.5,4,4,0,0,0,52,78.73V72a36,36,0,0,1,72,0v78.75A44,44,0,0,0,88,132a4,4,0,0,0,0,8,36,36,0,0,1,0,72Zm104-44h-8a4,4,0,0,0,0,8h8a52.13,52.13,0,0,0,12-1.41V176a36,36,0,1,1-36-36,4,4,0,0,0,0-8,44,44,0,0,0-36,18.75V72a36,36,0,0,1,72,0v6.73a4,4,0,0,0,2.67,3.77A44,44,0,0,1,192,168Zm12-56a4,4,0,0,1-4,4h-4a32,32,0,0,1-32-32V80a4,4,0,0,1,8,0v4a24,24,0,0,0,24,24h4A4,4,0,0,1,204,112ZM92,84a32,32,0,0,1-32,32H56a4,4,0,0,1,0-8h4A24,24,0,0,0,84,84V80a4,4,0,0,1,8,0Z"}))]]),pd=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,pu(pl({ref:t},e),{weights:pc})));pd.displayName="Brain";var tG=tB("acw62"),pf=Object.defineProperty,pp=Object.defineProperties,ph=Object.getOwnPropertyDescriptors,pm=Object.getOwnPropertySymbols,pg=Object.prototype.hasOwnProperty,pv=Object.prototype.propertyIsEnumerable,py=(e,t,r)=>t in e?pf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pb=(e,t)=>
3115{for(var r in t||(t={}))pg.call(t,r)&&py(e,r,t[r]);if(pm)for(var r of pm(t))pv.call(t,r)&&py(e,r,t[r]);return e},pw=(e,t)=>pp(e,ph(t));const pS=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220,32H76A20,20,0,0,0,56,52V72H36A20,20,0,0,0,16,92V204a20,20,0,0,0,20,20H180a20,20,0,0,0,20-20V184h20a20,20,0,0,0,20-20V52A20,20,0,0,0,220,32ZM176,96v16H40V96Zm0,104H40V136H176Zm40-40H200V92a20,20,0,0,0-20-20H80V56H216Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,56V168a8,8,0,0,1-8,8H192V88a8,8,0,0,0-8-8H64V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,88H184v16H40ZM184,200H40V120H184v80Zm32-32H200V88a16,16,0,0,0-16-16H72V56H216Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM184,88v16H40V88Zm32,80H200V88a16,16,0,0,0-16-16H72V56H216Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,42H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H184a14,14,0,0,0,14-14V182h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM40,86H184a2,2,0,0,1,2,2v18H38V88A2,2,0,0,1,40,86ZM186,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V118H186Zm32-32a2,2,0,0,1-2,2H198V88a14,14,0,0,0-14-14H70V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM184,88v16H40V88Zm0,112H40V120H184v80Zm32-32H200V88a16,16,0,0,0-16-16H72V56H216Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,44H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12V180h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM40,84H184a4,4,0,0,1,4,4v20H36V88A4,4,0,0,1,40,84ZM188,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V116H188Zm32-32a4,4,0,0,1-4,4H196V88a12,12,0,0,0-12-12H68V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Z"}))]]),px=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,pw(pb({ref:t},e),{weights:pS})));px.displayName="Browsers";var tG=tB("acw62"),pE=Object.defineProperty,pC=Object.defineProperties,pA=Object.getOwnPropertyDescriptors,pk=Object.getOwnPropertySymbols,p_=Object.prototype.hasOwnProperty,pI=Object.prototype.propertyIsEnumerable,pT=(e,t,r)=>t in e?pE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pP=(e,t)=>{for(var r in t||(t={}))p_.call(t,r)&&pT(e,r,t[r]);if(pk)for(var r of pk(t))pI.call(t,r)&&pT(e,r,t[r]);return e},pN=(e,t)=>pC(e,pA(t));const pO=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Zm120.49-84.49a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-24-24a12,12,0,0,1,17-17L116,159l39.51-39.52A12,12,0,0,1,172.49,119.51Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM169.66,133.66l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35a8,8,0,0,1,11.32,11.32ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Zm-39.76-86.24a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L116,167.51l43.76-43.75A6,6,0,0,1,168.24,123.76Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-38.34-85.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L116,164.69l42.34-42.35A8,8,0,0,1,169.66,122.34Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Zm-41.17-86.83a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L116,170.34l45.17-45.17A4,4,0,0,1,166.83,125.17Z"}))]]),pM=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,pN(pP({ref:t},e),{weights:pO})));
3115pM.displayName="CalendarCheck";var tG=tB("acw62"),pj=Object.defineProperty,pF=Object.defineProperties,pR=Object.getOwnPropertyDescriptors,pU=Object.getOwnPropertySymbols,pL=Object.prototype.hasOwnProperty,pD=Object.prototype.propertyIsEnumerable,pV=(e,t,r)=>t in e?pj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pH=(e,t)=>{for(var r in t||(t={}))pL.call(t,r)&&pV(e,r,t[r]);if(pU)for(var r of pU(t))pD.call(t,r)&&pV(e,r,t[r]);return e},pZ=(e,t)=>pF(e,pR(t));const pB=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),pz=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,pZ(pH({ref:t},e),{weights:pB})));pz.displayName="CheckCircle";var tG=tB("acw62"),pW=Object.defineProperty,pG=Object.defineProperties,pq=Object.getOwnPropertyDescriptors,pY=Object.getOwnPropertySymbols,p$=Object.prototype.hasOwnProperty,pK=Object.prototype.propertyIsEnumerable,pJ=(e,t,r)=>t in e?pW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,pQ=(e,t)=>{for(var r in t||(t={}))p$.call(t,r)&&pJ(e,r,t[r]);if(pY)for(var r of pY(t))pK.call(t,r)&&pJ(e,r,t[r]);return e},pX=(e,t)=>pG(e,pq(t));const p0=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M140,80v41.21l34.17,20.5a12,12,0,1,1-12.34,20.58l-40-24A12,12,0,0,1,116,128V80a12,12,0,0,1,24,0ZM128,28A99.38,99.38,0,0,0,57.24,57.34c-4.69,4.74-9,9.37-13.24,14V64a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H72a12,12,0,0,0,0-24H57.77C63,86,68.37,80.22,74.26,74.26a76,76,0,1,1,1.58,109,12,12,0,0,0-16.48,17.46A100,100,0,1,0,128,28Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128A96,96,0,0,1,62.11,197.82a8,8,0,1,1,11-11.64A80,80,0,1,0,71.43,71.43C67.9,75,64.58,78.51,61.35,82L77.66,98.34A8,8,0,0,1,72,112H32a8,8,0,0,1-8-8V64a8,8,0,0,1,13.66-5.66L50,70.7c3.22-3.49,6.54-7,10.06-10.55A96,96,0,0,1,224,128ZM128,72a8,8,0,0,0-8,8v48a8,8,0,0,0,3.88,6.86l40,24a8,8,0,1,0,8.24-13.72L136,123.47V80A8,8,0,0,0,128,72Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M134,80v44.6l37.09,22.25a6,6,0,0,1-6.18,10.3l-40-24A6,6,0,0,1,122,128V80a6,6,0,0,1,12,0Zm-6-46A93.4,93.4,0,0,0,61.51,61.56c-8.58,8.68-16,17-23.51,25.8V64a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H72a6,6,0,0,0,0-12H44.73C52.86,88.29,60.79,79.35,70,70a82,82,0,1,1,1.7,117.62,6,6,0,1,0-8.24,8.72A94,94,0,1,0,128,34Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M132,80v45.74l38.06,22.83a4,4,0,0,1-4.12,6.86l-40-24A4,4,0,0,1,124,128V80a4,4,0,0,1,8,0Zm-4-44A91.42,91.42,0,0,0,62.93,63C53.05,73,44.66,82.47,36,92.86V64a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H72a4,4,0,0,0,0-8H40.47C49.61,89,58.3,79,68.6,68.6a84,84,0,1,1,1.75,120.49,4,4,0,1,0-5.5,5.82A92,92,0,1,0,128,36Z"}))]]),p1=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,pX(pQ({ref:t},e),{weights:p0})));p1.displayName="ClockCounterClockwise";var tG=tB("acw62"),p2=Object.defineProperty,p8=Object.defineProperties,p6=Object.getOwnPropertyDescriptors,p4=Object.getOwnPropertySymbols,p3=Object.prototype.hasOwnProperty,p5=Object.prototype.propertyIsEnumerable,p7=(e,t,r)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p9=(e,t)=>{for(var r in t||(t={}))p3.call(t,r)&&p7(e,r,t[r]);if(p4)for(var r of p4(t))p5.call(t,r)&&p7(e,r,t[r]);return e},he=(e,t)=>p8(e,p6(t));const ht=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M209.88,77.83A115.19,115.19,0,0,0,128,44h-.41C63.85,44.22,12,96.76,12,161.13V184a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V160A115.25,115.25,0,0,0,209.88,77.83ZM220,180H127.32l46.44-65A12,12,0,1,0,154.24,101L97.82,180H36V161.13c0-1.72,0-3.43.14-5.13H56a12,12,0,0,0,0-24H40.62c10.91-33.39,40-58.52,75.38-63.21V88a12,12,0,0,0,24,0V68.8A92,92,0,0,1,215.66,132H200a12,12,0,0,0,0,24h19.9c.06,1.33.1,2.66.1,4Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M232,160v24a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V161.13C24,103.65,70.15,56.2,127.63,56A104,104,0,0,1,232,160Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M207.06,80.67A111.24,111.24,0,0,0,128,48h-.4C66.07,48.21,16,99,16,161.13V184a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V160A111.25,111.25,0,0,0,207.06,80.67ZM224,184H119.71l54.76-75.3a8,8,0,0,0-12.94-9.42L99.92,184H32V161.13c0-3.08.15-6.12.43-9.13H56a8,8,0,0,0,0-16H35.27c10.32-38.86,44-68.24,84.73-71.66V88a8,8,0,0,0,16,0V64.33A96.14,96.14,0,0,1,221,136H200a8,8,0,0,0,0,16h23.67c.21,2.65.33,5.31.33,8Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,160v24a16,16,0,0,1-16,16H115.93a4,4,0,0,1-3.24-6.35L174.27,109a8.21,8.21,0,0,0-1.37-11.3,8,8,0,0,0-11.37,1.61l-72,99.06A4,4,0,0,1,86.25,200H32a16,16,0,0,1-16-16V161.13c0-1.79,0-3.57.13
3115-5.33a4,4,0,0,1,4-3.8H48a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,47.73,136H23.92a4,4,0,0,1-3.87-5c12-43.84,49.66-77.13,95.52-82.28a4,4,0,0,1,4.43,4V80a8,8,0,0,0,8.53,8A8.17,8.17,0,0,0,136,79.73V52.67a4,4,0,0,1,4.43-4A112.18,112.18,0,0,1,236.23,131a4,4,0,0,1-3.88,5H208.27a8.17,8.17,0,0,0-8.25,7.47,8,8,0,0,0,8,8.53h27.92a4,4,0,0,1,4,3.86C240,157.23,240,158.61,240,160Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M205.65,82.08A109.26,109.26,0,0,0,128,50h-.39C67.17,50.21,18,100.06,18,161.13V184a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V160A109.3,109.3,0,0,0,205.65,82.08ZM226,184a2,2,0,0,1-2,2H115.78l57.07-78.47a6,6,0,0,0-9.7-7.06L100.94,186H32a2,2,0,0,1-2-2V161.13A102.36,102.36,0,0,1,30.62,150H56a6,6,0,0,0,0-12H32.71C42.6,96.4,78.53,64.86,122,62.19V88a6,6,0,0,0,12,0V62.19A98.05,98.05,0,0,1,223.53,138H200a6,6,0,0,0,0,12h25.5c.33,3.3.5,6.64.5,10Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M207.06,80.67A111.24,111.24,0,0,0,128,48h-.4C66.07,48.21,16,99,16,161.13V184a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V160A111.25,111.25,0,0,0,207.06,80.67ZM224,184H119.71l54.76-75.3a8,8,0,0,0-12.94-9.42L99.92,184H32V161.13c0-3.08.15-6.12.43-9.13H56a8,8,0,0,0,0-16H35.27c10.32-38.86,44-68.24,84.73-71.66V88a8,8,0,0,0,16,0V64.33A96.14,96.14,0,0,1,221,136H200a8,8,0,0,0,0,16h23.67c.21,2.65.33,5.31.33,8Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M204.23,83.5A107.37,107.37,0,0,0,127.62,52C68.28,52.21,20,101.16,20,161.13V184a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V160A107.25,107.25,0,0,0,204.23,83.5ZM228,184a4,4,0,0,1-4,4H111.85l59.38-81.65a4,4,0,1,0-6.46-4.7L102,188H32a4,4,0,0,1-4-4V161.13A103.42,103.42,0,0,1,28.84,148H56a4,4,0,0,0,0-8H30.21C39.59,95.66,77.84,61.93,124,60.09V88a4,4,0,0,0,8,0V60.08A100.08,100.08,0,0,1,226,140H200a4,4,0,0,0,0,8h27.29a101.6,101.6,0,0,1,.71,12Z"}))]]),hr=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,he(p9({ref:t},e),{weights:ht})));hr.displayName="Gauge";var tG=tB("acw62"),hn=Object.defineProperty,ho=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,hi=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,hu=(e,t,r)=>t in e?hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hc=(e,t)=>{for(var r in t||(t={}))hs.call(t,r)&&hu(e,r,t[r]);if(hi)for(var r of hi(t))hl.call(t,r)&&hu(e,r,t[r]);return e},hd=(e,t)=>ho(e,ha(t));const hf=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a91.51,91.51,0,0,1-35.17,72.35A12.26,12.26,0,0,0,180,186v2a20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-2a12,12,0,0,0-4.7-9.51A91.57,91.57,0,0,1,36,104.52C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.88,59.8,67.55,60,104.38a67.71,67.71,0,0,0,26.1,53.19A35.87,35.87,0,0,1,100,184h56.1A36.13,36.13,0,0,1,170,157.49,67.68,67.68,0,0,0,196,104Zm-20.07-5.32a48.5,48.5,0,0,0-31.91-40,12,12,0,0,0-8,22.62,24.31,24.31,0,0,1,16.09,20,12,12,0,0,0,23.86-2.64Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-32.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.24C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h64a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Zm-20.08-9A55.58,55.58,0,0,0,137,50.08a6,6,0,1,0-2,11.84C152.38,64.84,167.13,79.6,170.08,97a6,6,0,0,0,5.91,5,6.87,6.87,0,0,0,1-.08A6,6,0,0,0,181.92,95Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.83-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104ZM136.66,52.06a4,4,0,0,0-1.32,7.88C153.53,63,169,78.45,172.06,96.67A4,4,0,0,0,176,100a3.88,3.88,0,0,0,.67-.06,4,4,0,0,0,3.27-4.61A53.51,53.51,0,0,0,136.66,52.06Z"}))]]),hp=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,hd(hc({ref:t},e),{weights:hf})));hp.displayName="Lightbulb";var tG=tB("acw62"),hh=Object.defineProperty,hm=Object.defineProperties,hg=Object.getOwnPropertyDescriptors,hv=Object.getOwnPropertySymbols,hy=Object.prototype.hasOwnProperty,hb=Object.prototype.propertyIsEnumerable,hw=(e,t,r)=>t in e?hh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hS=(e,t)=>{for(var r in t||(t={}))hy.call(t,r)&&hw(e,r,t[r]);if(hv)for(var r of hv(t))hb.call(t,r)&&hw(e,r,t[r]);return e},hx=(e,t)=>hm(e,hg(t));const hE=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M230.15,70.54,185.46,25.86a20,20,0,0,0-28.28,0L33.86,149.17A19.86,19.86,0,0,0,28,163.31V208a20,20,0,0,0,20,20H216a12,12,0,0,0,0-24H125L230.15,98.83A20,20,0,0,0,230.15,70.54ZM136,81l11,11L76,163,65,152ZM52,204V173l15.52,15.51h0L83,204Zm52-13L93,180l71-71,11,11Zm88-88L153,64l18.34-18.34,39,39Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM79.32,188,164,103.31,180.69,120,96,204.69ZM68,176.69,51.31,160,136,75.31,152.69,92Zm-20,2.62L76.69,208H48Zm144-70.62L147.32,64l24-24L216,84.69Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM79.32,188l90.34-90.34,16.69,16.68L96,204.69Zm79-101.66h0L68,176.69,51.31,160l90.35-90.34ZM48,179.31,76.69,208H48Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M225.91,74.79,181.22,30.1a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H216a6,6,0,0,0,0-12H110.49L225.91,94.59A14,14,0,0,0,225.91,74.79ZM76.49,188,164,100.48,183.52,120,96,207.51ZM68,179.52,48.49,160,136,72.49,155.52,92ZM46,208V174.48L81.52,210H48A2,2,0,0,1,46,208ZM217.42,86.1,192,111.52,144.49,64,169.9,38.59a2,2,0,0,1,2.83,0l44.69,44.68A2,2,0,0,1,217.42,86.1Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M227.32,73.37,182.63,28.69a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H216a8,8,0,0,0,0-16H115.32l112-112A16,16,0,0,0,227.32,73.37ZM136,75.31,152.69,92,68,176.69,51.31,160ZM48,208V179.31L76.69,208Zm48-3.31L79.32,188,164,103.31,180.69,120Zm96-96L147.32,64l24-24L216,84.69Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L39.51,154.83A12,12,0,0,0,36,163.31V208a12,12,0,0,0,12,12H216a4,4,0,0,0,0-8H105.66L224.49,93.17A12,12,0,0,0,224.49,76.2ZM73.66,188,164,97.66,186.35,120,96,210.34ZM68,182.34,45.66,160,136,69.66,158.35,92ZM44,208V169.66l21.17,21.17h0L86.34,212H48A4,4,0,0,1,44,208ZM218.83,87.51,192,114.34,141.66,64l26.83-26.83a4,4,0,0,1,5.66,0l44.68,44.69A4,4,0,0,1,218.83,87.51Z"}))]]),hC=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,hx(hS({ref:t},e),{weights:hE})));hC.displayName="PencilLine";var tG=(tB("acw62"),tB("acw62")),hA=Object.defineProperty,hk=/* @__PURE__ */new Map,h_=/* @__PURE__ */new WeakMap,hI=0,hT=void 0;function hP(e){let{ani:t,ticks:r,children:n,...o}=e,[a,i]=(0,tG.useState)([]),{ref:s,inView:l,entry:u}=function({threshold:e,delay:t,trackVisibility:r,rootMargin:n,root:o,triggerOnce:a,skip:i,initialInView:s,fallbackInView:l,onChange:u}={}){var c;let[d,f]=tG.useState(null),p=tG.useRef(),[h,m]=tG.useState({inView:!!s,entry:void 0});p.current=u,tG.useEffect(()=>{let s;if(!i&&d)return s=function(e,t,r={},n=hT){if(void 0===window.IntersectionObserver&&void 0!==n){let o=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:a,elements:i}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(h_.has(r)||(hI+=1,h_.set(r,hI.toString())),h_.get(r)):"0":e[t]}`}).toString(),r=hk.get(t);if(!r){let n;let o=/* @__PURE__ */new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let a=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(r=o.get(t.target))||r.forEach(e
3115=>{e(a,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:o},hk.set(t,r)}return r}(r),s=i.get(e)||[];return i.has(e)||i.set(e,s),s.push(t),a.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(i.delete(e),a.unobserve(e)),0===i.size&&(a.disconnect(),hk.delete(o))}}(d,(e,t)=>{m({inView:e,entry:t}),p.current&&p.current(e,t),t.isIntersecting&&a&&s&&(s(),s=void 0)},{root:o,rootMargin:n,threshold:e,trackVisibility:r,delay:t},l),()=>{s&&s()}},// eslint-disable-next-line react-hooks/exhaustive-deps 3116[// If the threshold is an array, convert it to a string, so it won't change between renders. 3117// eslint-disable-next-line react-hooks/exhaustive-deps 3118Array.isArray(e)?e.toString():e,d,o,n,a,i,r,l,t]);let g=null==(c=h.entry)?void 0:c.target,v=tG.useRef();d||!g||a||i||v.current===g||(v.current=g,m({inView:!!s,entry:void 0}));let y=[f,h.inView,h.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}({threshold:0});return n=n(a),(0,tG.useEffect)(()=>{let e=n.props?.children?.length;if(!e)return;let o=async()=>{for(let n=0;n<e;n++)l&&await function(e=1e3){return new Promise(t=>{setTimeout(t,e)})}(r?.[n]||200),a[n]=!!l&&(t||!0),i([...a])};(a.length||l)&&o().catch(console.error)},[l]),/*#__PURE__*/(0,tz.jsx)("div",{ref:s,...o,children:n})}tG.Component;var tG=tB("acw62");const hN=[{label:"Students",icon:"\uD83E\uDDD1â\uD83C\uDF93",notes:[{icon:/*#__PURE__*/(0,tz.jsx)(p1,{size:20,weight:"duotone"}),title:"Review notes",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Capture, structure, and review all of your class notes with ease using the",/*#__PURE__*/(0,tz.jsx)("a",{children:" Linked References"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"}),", and ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/search",children:"Search"})," features."]})},{icon:/*#__PURE__*/(0,tz.jsx)(pd,{size:20,weight:"duotone"}),title:"Memorize facts",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Remember facts and insights using the ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/flashcards",children:"Flashcards"})," feature."]})},{icon:/*#__PURE__*/(0,tz.jsx)(hC,{size:20,weight:"duotone"}),title:"Outline essays",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Organize your thoughts and ideas, and quickly turn them into outlines using ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/term%2Fblock%20reference",children:"Block References"}),"."]})}]},{label:"Academics",icon:"\uD83C\uDF93",notes:[{icon:/*#__PURE__*/(0,tz.jsx)(p1,{size:20,weight:"duotone"}),title:"Review notes",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Capture, structure, and review all of your class notes with ease using the",/*#__PURE__*/(0,tz.jsx)("a",{children:" Linked References"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"}),", and ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/search",children:"Search "}),"features."]})},{icon:/*#__PURE__*/(0,tz.jsx)(fX,{size:20,weight:"duotone"}),title:"Investigate claims",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Spin your web of knowledge and see what evidence supports or contradicts claims."})},{icon:/*#__PURE__*/(0,tz.jsx)(pe,{size:20,weight:"duotone"}),title:"Manage sources",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Keep track of your research and easily manage your sources using the built-in",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/zotero",children:" Zotero integration"}),"."]})},{icon:/*#__PURE__*/(0,tz.jsx)(hC,{size:20,weight:"duotone"}),title:"Outline papers",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Manage your writing process and ensure that your papers are well-organized and flow smoothly."})}]},{label:"Writers",icon:"\uD83D\uDD8B",notes:[{icon:/*#__PURE__*/(0,tz.jsx)(p1,{size:20,weight:"duotone"}),title:"Review notes",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Capture, structure, and review all of your class notes with ease using the",/*#__PURE__*/(0,tz.jsx)("a",{children:" Linked References"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"}),", and ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/search",children:"Search "}),"features."]})},{icon:/*#__PURE__*/(0,tz.jsx)(pM,{size:20,weight:"duotone"}),title:"Manage writing stages",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Manage your personal writing process using ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/tasks",children:"Tasks"}),",",/*#__PURE__*/(0,tz.jsx)("a",{children:" Tags"}),", and ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"})," --no matter how simple or complex it is."]})},{icon:/*#__PURE__*/(0,tz.jsx)(hp,{size:20,weight:"duotone"}),title:"Combine ideas",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Effortlessly synthesize ideas from across your collection of notes using",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/term%2Fblock%20reference",children:" Block References"}),"."]})},{icon:/*#__PURE__*/(0,tz.jsx)(hC,{size:20,weight:"duotone"}),title:"Outline content",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Organize your thoughts and reuse ideas in easy-to-manage outlines."})}]},{label:"Project Managers",icon:"\uD83D\uDCC6",notes:[{icon:/*#__PURE__*/(0,tz.jsx)(p1,{size:20,weight:"duotone"}),title:"Retrieve notes",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Always find the information where and when you need it using",/*#__PURE__*/(0,tz.jsx)("a",{children:" Linked References"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"})," or ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/search",children:"Search"}),"."]})},{icon:/*#__PURE__*/(0,tz.jsx)(pz,{size:20,weight:"duotone"}),title:"Manage tasks",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Manage tasks with Logseq's built-in",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/tasks",children:" Task management system"}),", including",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/tasks/block/priorities",children:" Priorities"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/tasks/block/deadline%20and%20scheduled",children:"Scheduling"}),", and",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/tasks/block/deadline%20and%20scheduled",children:" Deadlines"}),"."]})},{icon:/*#__PURE__*/(0,tz.jsx)(hr,{size:20,weight:"duotone"}
3118),title:"Create dashboards",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Easily create dynamic dashboards to separate tasks and notes and keep track of many projects simultaneously."})},{icon:/*#__PURE__*/(0,tz.jsx)(hC,{size:20,weight:"duotone"}),title:"Outline documents",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Quickly pull together information and share it in different formats with stakeholders."})}]},{label:"Developers",icon:"\uD83D\uDCBB",notes:[{icon:/*#__PURE__*/(0,tz.jsx)(p1,{size:20,weight:"duotone"}),title:"Retrieve notes",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Quickly find relevant information using the",/*#__PURE__*/(0,tz.jsx)("a",{children:" Linked References"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"})," or ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/search",children:"Search"}),"."]})},{icon:/*#__PURE__*/(0,tz.jsx)(pd,{size:20,weight:"duotone"}),title:"Memorize shortcuts",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Become a 10x programmer by remembering more of what you need to do repeatedly."})},{icon:/*#__PURE__*/(0,tz.jsx)(hp,{size:20,weight:"duotone"}),title:"Decide on solutions",desc:/*#__PURE__*/(0,tz.jsx)("span",{children:"Find the best solutions to nagging problems by tracking your ideas, decisions, and priorities over time."})},{icon:/*#__PURE__*/(0,tz.jsx)(px,{size:20,weight:"duotone"}),title:"Build a personal wiki",desc:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Build your career by building your personal wiki. Easily structure your knowledge and find it back using ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/properties",children:"Properties"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{children:"Namespaces"}),", ",/*#__PURE__*/(0,tz.jsx)("a",{children:"Linked References"}),", and ",/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:"https://docs.logseq.com/#/page/queries",children:"Queries"}),"."]})}]}];function hO(e){return/*#__PURE__*/(0,tz.jsxs)("div",{className:"desc-card",children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"flex items-center text-[18px] sm:text-[20px]",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"scale-90 sm:scale-100 w-[34px] h-[34px] bg-gray-400/40 rounded-full flex items-center justify-center",children:e.icon}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"whitespace-nowrap font-normal pl-[14px]",children:e.title})]}),/*#__PURE__*/(0,tz.jsx)("h2",{className:"hidden sm:block pl-12 py-2 text-gray-200/70 leading-6 text-base",children:e.desc})]})}function hM(e){return/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("app-window-holder animate-in zoom-in-50 duration-500",e.withoutLogo&&"without-logo")})}function hj(e){let t=/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"a",children:/*#__PURE__*/(0,tz.jsx)(hM,{})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"b",children:e.activeItem?.notes.map(e=>tz.jsx(hO,{...e},e.title))}),/*#__PURE__*/(0,tz.jsx)("div",{className:"c sm:hidden",children:/*#__PURE__*/(0,tz.jsx)(hM,{withoutLogo:!0})})]}),r=d2(e.activeItem?.label);return/*#__PURE__*/(0,tz.jsx)("div",{className:"app-tutorial-features-panel relative",id:r,role:"tabpanel","aria-labelledby":"tab-"+r,children:/*#__PURE__*/(0,tz.jsx)("div",{className:"bd",children:/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("wrap flex",`is-${e.activeItem?.label.toLocaleLowerCase()}`),children:t})})})}function hF(){let[e,t]=(0,tG.useState)(0),r=hN[e];return/*#__PURE__*/(0,tz.jsx)("div",{className:"app-tutorial-features-slide",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"inner px-2",children:[/*#__PURE__*/(0,tz.jsx)("ul",{className:"tabs flex space-x-8 justify-around",role:"tablist",children:hN.map((r,n)=>{let o=d2(r.label);return/*#__PURE__*/(0,tz.jsx)("li",{className:/*@__PURE__*/tV(np)({active:n===e}),onClick:()=>t(n),tabIndex:e===n?0:-1,role:"tab","aria-controls":o,id:"tab-"+o,"aria-selected":e===n,onKeyDown:d8,children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"py-4 px-2 flex flex-col items-center",children:[/*#__PURE__*/(0,tz.jsx)("span",{children:r.icon}),/*#__PURE__*/(0,tz.jsx)("strong",{children:r.label})]})},r.label)})}),/*#__PURE__*/(0,tz.jsx)(hj,{activeItem:r})]})})}function hR(){let[e,t]=(0,tG.useState)(0),r=hN[e];return/*#__PURE__*/(0,tz.jsxs)("div",{className:/*@__PURE__*/tV(np)("app-tutorial-features-select",`index-of-${e}`),children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-form-select-wrap",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"icon",children:r.icon}),/*#__PURE__*/(0,tz.jsx)("select",{className:"app-form-select w-full",onCh
3118ange:e=>{t(e.target.selectedIndex)},value:e,"aria-label":"Select your role",children:hN.map((e,t)=>/*#__PURE__*/(0,tz.jsx)("option",{value:t,children:e.label},e.label))}),/*#__PURE__*/(0,tz.jsx)("span",{className:"arrow",children:/*#__PURE__*/(0,tz.jsx)(n$,{weight:"bold"})})]}),/*#__PURE__*/(0,tz.jsx)(hj,{activeItem:r})]})}function hU(e){let t=ft();return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-tutorial-showcase",children:[/*#__PURE__*/(0,tz.jsx)(hP,{ticks:[100,500,1200],className:"flex flex-col py-10 px-4 sm:justify-center sm:items-center sm:py-20 hd",children:e=>/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsx)("h1",{className:/*@__PURE__*/tV(np)("text-4xl sm:text-6xl text-logseq-50/80 invisible",e[0]&&"ani-slide-in-from-bottom"),children:"Today, everyone is a"}),/*#__PURE__*/(0,tz.jsx)("h2",{className:/*@__PURE__*/tV(np)("text-4xl sm:text-6xl font-semibold pt-1 opacity-94 invisible",e[1]&&"ani-slide-in-from-bottom"),children:"knowledge worker."}),/*#__PURE__*/(0,tz.jsxs)("div",{className:/*@__PURE__*/tV(np)("pt-2 sm:pt-0 sm:flex justify-center sm:flex-col items-center invisible",e[2]&&"ani-fade-in"),children:[/*#__PURE__*/(0,tz.jsx)("h3",{className:"inline text-2xl sm:text-4xl font-normal pt-8 text-logseq-50/80",children:"Logseq is the open toolbox for "}),/*#__PURE__*/(0,tz.jsx)("h4",{className:"inline text-2xl sm:text-4xl pt-2 opacity-94",children:"workflows that deal with lots of information:"})]})]})}),/*#__PURE__*/(0,tz.jsxs)("ul",{className:"hidden sub-hd sm:flex justify-center space-x-10",children:[/*#__PURE__*/(0,tz.jsx)("li",{children:"Task Management"}),/*#__PURE__*/(0,tz.jsx)("li",{children:"PDF Annotations"}),/*#__PURE__*/(0,tz.jsx)("li",{children:"Flashcards"})]}),t.sm.get()?/*#__PURE__*/(0,tz.jsx)(hR,{}):/*#__PURE__*/(0,tz.jsx)(hF,{})]})}var hL={};hL=new URL(tB("27Lyk").resolve("a0kZn"),import.meta.url).toString(),new URL(hL);var hD={};hD=new URL(tB("27Lyk").resolve("3B6Di"),import.meta.url).toString(),new URL(hD);var hV={};hV=new URL(tB("27Lyk").resolve("SLjkG"),import.meta.url).toString(),new URL(hV);var hH={};hH=new URL(tB("27Lyk").resolve("629WQ"),import.meta.url).toString();const hZ=new URL(hH);function hB(e){let{className:t,...r}=e;return/*#__PURE__*/(0,tz.jsx)("span",{className:/*@__PURE__*/tV(np)("app-logo-embossed",t),...r,children:/*#__PURE__*/(0,tz.jsxs)("svg",{width:"49",height:"46",viewBox:"0 0 49 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[/*#__PURE__*/(0,tz.jsx)("ellipse",{rx:"7.02369",ry:"4.42793",transform:"matrix(0.988865 -0.148815 0.0688008 0.99763 27.0473 6.96687)",fill:"#85C8C8"}),/*#__PURE__*/(0,tz.jsx)("ellipse",{rx:"6.30029",ry:"7.20225",transform:"matrix(-0.495846 0.86841 -0.825718 -0.564084 9.07103 10.4006)",fill:"#85C8C8"}),/*#__PURE__*/(0,tz.jsx)("ellipse",{rx:"16.609",ry:"13.0775",transform:"matrix(0.987073 0.160274 -0.239143 0.970984 28.5105 29.9736)",fill:"#85C8C8"})]})})}var tG=tB("acw62"),hz=Object.defineProperty,hW=Object.defineProperties,hG=Object.getOwnPropertyDescriptors,hq=Object.getOwnPropertySymbols,hY=Object.prototype.hasOwnProperty,h$=Object.prototype.propertyIsEnumerable,hK=(e,t,r)=>t in e?hz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hJ=(e,t)=>{for(var r in t||(t={}))hY.call(t,r)&&hK(e,r,t[r]);if(hq)for(var r of hq(t))h$.call(t,r)&&hK(e,r,t[r]);return e},hQ=(e,t)=>hW(e,hG(t));const hX=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm52-84a12,12,0,0,1-12,12H117l11.52,11.51a12,12,0,0,1-17,17l-32-32a12,12,0,0,1,0-17l32-32a12,12,0,0,1,17,17L117,116h51A12,12,0,0,1,180,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168a8,8,0,0,1,0,16Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm46-90a6,6,0,0,1-6,6H102.49l21.75,21.76a6,6,0,1,1-8.48,8.48l-32-32a6,6,0,0,1,0-8.48l32-32a6,6,0,0,1,8.48,8.48L102.49,122H168A6,6,0,0,1,174,128Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm44-92a4,4,0,0,1-4,4H97.66l25.17,25.17a4,4,0,0,1-5.66,5.66l-32-32a4,4,0,0,1,0-5.66l32-32a4,4,0,0,1,5.66,5.66L97.66,124H168A4,4,0,0,1,172,128Z"}))]]),h0=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,hQ(hJ({ref:t},e),{weights:hX})));h0.displayName="ArrowCircleLeft";var tG=tB("acw62"),h1=Object.defineProperty,h2=Object.defineProperties,h8=Object.getOwnPropertyDescriptors,h6=Object.getOwnPropertySymbols,h4=Object.prototype.hasOwnProperty,h3=Object.prototype.propertyIsEnumerable,h5=(e,t,r)=>t in e?h1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h7=(e,t)=>{for(var r in t||(t={}))h4.call(t,r)&&h5(e,r,t[r]);if(h6)for(var r of h6(t))h3.call(t,r)&&h5(e,r,t[r]);return e},h9=(e,t)=>h2(e,h8(t));const me=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm48.49-92.49a12,12,0,0,1,0,17l-32,32a12,12,0,1,1-17-17L139,140H88a12,12,0,0,1,0-24h51l-11.52-11.51a12,12,0,1,1,17-17Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,109.66-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,173.66,133.66Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm44.24-94.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L153.51,134H88a6,6,0,0,1,0-12h65.51l-21.75-21.76a6,6,0,0,1,8.48-8.48Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm42.83-94.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L158.34,132H88a4,4,0,0,1,0-8h70.34L133.17,98.83a4,4,0,0,1,5.66-5.66Z"}))]]),mt=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,h9(h7({ref:t},e),{weights:me})));mt.displayName="ArrowCircleRight";var tG=tB("acw62"),mr=Object.defineProperty,mn=Object.defineProperties,mo=Object.getOwnPropertyDescriptors,ma=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable,ml=(e,t,r)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mu=(e,t)=>
3118{for(var r in t||(t={}))mi.call(t,r)&&ml(e,r,t[r]);if(ma)for(var r of ma(t))ms.call(t,r)&&ml(e,r,t[r]);return e},mc=(e,t)=>mn(e,mo(t));const md=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M236.06,187.69A84,84,0,0,0,172.29,68.9,84,84,0,1,0,19.94,139.69L12.7,165.05A18,18,0,0,0,35,187.3l25.36-7.24a84.27,84.27,0,0,0,23.36,7,84.05,84.05,0,0,0,112,41l25.36,7.24a18,18,0,0,0,22.25-22.25ZM28.36,164.22Zm33.17-9a12,12,0,0,0-3.3.46l-19.49,5.57,5.57-19.49a12,12,0,0,0-1-9.05,60,60,0,1,1,24,24A11.91,11.91,0,0,0,61.53,155.23Zm150.16,34.54,5.57,19.49-19.49-5.57a12,12,0,0,0-9.05,1A60.06,60.06,0,0,1,111,186.63a83.93,83.93,0,0,0,68.55-91.37,60,60,0,0,1,33.16,85.46A12,12,0,0,0,211.69,189.77Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.76,216.34a6,6,0,0,1-7.42,7.42l-29.87-8.53A72.05,72.05,0,0,1,92.06,175.89h0c1.3.07,2.61.11,3.93.11a72,72,0,0,0,67.93-95.88h0a72,72,0,0,1,59.29,106.36Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M231.79,187.33A80,80,0,0,0,169.57,72.59,80,80,0,1,0,24.21,139.33l-7.66,26.82a14,14,0,0,0,17.3,17.3l26.82-7.66a80.15,80.15,0,0,0,25.75,7.63,80,80,0,0,0,108.91,40.37l26.82,7.66a14,14,0,0,0,17.3-17.3ZM61.53,159.23a8.22,8.22,0,0,0-2.2.3l-26.41,7.55,7.55-26.41a8,8,0,0,0-.68-6,63.95,63.95,0,1,1,25.57,25.57A7.94,7.94,0,0,0,61.53,159.23Zm154,29.44,7.55,26.41-26.41-7.55a8,8,0,0,0-6,.68,64.06,64.06,0,0,1-86.32-24.64A79.93,79.93,0,0,0,174.7,89.71a64,64,0,0,1,41.51,92.93A8,8,0,0,0,215.53,188.67Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.79,187.33A80,80,0,0,0,169.57,72.59,80,80,0,1,0,24.21,139.33l-7.66,26.82a14,14,0,0,0,17.3,17.3l26.82-7.66a80.15,80.15,0,0,0,25.75,7.63,80,80,0,0,0,108.91,40.37l26.82,7.66a14,14,0,0,0,17.3-17.3Zm-16.26,1.34,7.55,26.41-26.41-7.55a8,8,0,0,0-6,.68,64.06,64.06,0,0,1-86.32-24.64A79.93,79.93,0,0,0,174.7,89.71a64,64,0,0,1,41.51,92.93A8,8,0,0,0,215.53,188.67Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M229.66,187.13a78,78,0,0,0-61.5-112.71A78,78,0,1,0,26.34,139.13L18.47,
3118166.7A12,12,0,0,0,33.3,181.53l27.57-7.87a78.25,78.25,0,0,0,26.94,7.9,78.05,78.05,0,0,0,107.32,40.1l27.57,7.87a12,12,0,0,0,14.83-14.83ZM61.53,161.23a5.82,5.82,0,0,0-1.65.23L30,170l8.53-29.87a6,6,0,0,0-.5-4.53A66,66,0,1,1,64.41,162,6.1,6.1,0,0,0,61.53,161.23Zm155.93,26.89L226,218l-29.87-8.53a6,6,0,0,0-4.53.5,66,66,0,0,1-90.48-28.15,77.92,77.92,0,0,0,71-94.68A66,66,0,0,1,218,183.59,6,6,0,0,0,217.46,188.12Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M231.79,187.33A80,80,0,0,0,169.57,72.59,80,80,0,1,0,24.21,139.33l-7.66,26.82a14,14,0,0,0,17.3,17.3l26.82-7.66a80.15,80.15,0,0,0,25.75,7.63,80,80,0,0,0,108.91,40.37l26.82,7.66a14,14,0,0,0,17.3-17.3ZM61.53,159.23a8.22,8.22,0,0,0-2.2.3l-26.41,7.55,7.55-26.41a8,8,0,0,0-.68-6,63.95,63.95,0,1,1,25.57,25.57A7.94,7.94,0,0,0,61.53,159.23Zm154,29.44,7.55,26.41-26.41-7.55a8,8,0,0,0-6,.68,64.06,64.06,0,0,1-86.32-24.64A79.93,79.93,0,0,0,174.7,89.71a64,64,0,0,1,41.51,92.93A8,8,0,0,0,215.53,188.67Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M235.6,215.24l-8.09-28.32A76,76,0,0,0,166.76,76.31,76,76,0,1,0,28.49,138.92L20.4,167.24A10,10,0,0,0,30,180a10.08,10.08,0,0,0,2.8-.4l28.32-8.09a76,76,0,0,0,28.13,8.18,76,76,0,0,0,105.71,39.82l28.32,8.09a10.08,10.08,0,0,0,2.8.4,10,10,0,0,0,9.56-12.76Zm-174.07-52a3.75,3.75,0,0,0-1.1.16l-29.87,8.53h0a2,2,0,0,1-2.47-2.47l8.53-29.87a4,4,0,0,0-.33-3,68,68,0,1,1,27.16,27.16A4,4,0,0,0,61.53,163.22ZM227.4,219.4a2,2,0,0,1-2,.51l-29.87-8.53a4,4,0,0,0-3,.33A68,68,0,0,1,98,180a76,76,0,0,0,71.5-95.28,68,68,0,0,1,50.21,99.88,4,4,0,0,0-.33,3l8.53,29.87A2,2,0,0,1,227.4,219.4Z"}))]]),mf=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,mc(mu({ref:t},e),{weights:md})));mf.displayName="ChatsCircle";var tG=tB("acw62"),mp=Object.defineProperty,mh=Object.defineProperties,mm=Object.getOwnPropertyDescriptors,mg=Object.getOwnPropertySymbols,mv=Object.prototype.hasOwnProperty,my=Object.prototype.propertyIsEnumerable,mb=(e,t,r)=>t in e?mp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mw=(e,t)=>{for(var r in t||(t={}))mv.call(t,r)&&mb(e,r,t[r]);if(mg)for(var r of mg(t))my.call(t,r)&&mb(e,r,t[r]);return e},mS=(e,t)=>mh(e,mm(t));const mx=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M247.51,
3118174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z"}))]]),mE=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,mS(mw({ref:t},e),{weights:mx})));mE.displayName="DiscordLogo";var tG=tB("acw62"),mC=Object.defineProperty,mA=Object.defineProperties,mk=Object.getOwnPropertyDescriptors,m_=Object.getOwnPropertySymbols,mI=Object.prototype.hasOwnProperty,mT=Object.prototype.propertyIsEnumerable,mP=(e,t,r)=>t in e?mC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mN=(e,t)=>{for(var r in t||(t={}))mI.call(t,r)&&mP(e,r,t[r]);if(m_)for(var r of m_(t))mT.call(t,r)&&mP(e,r,t[r]);return e},mO=(e,t)=>mA(e,mk(t));const mM=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M144.49,136.49l-40,40a12,12,0,0,1-17-17L107,140H24a12,12,0,0,1,0-24h83L87.51,96.49a12,12,0,0,1,17-17l40,40A12,12,0,0,1,144.49,136.49ZM192,28H136a12,12,0,0,0,0,24h52V204H136a12,12,0,0,0,0,24h56a20,20,0,0,0,20-20V48A20,20,0,0,0,192,28Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M136,128,96,168V88Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M141.66,122.34l-40-40A8,8,0,0,0,88,88v32H24a8,8,0,0,0,0,16H88v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,141.66,122.34ZM104,148.69V107.31L124.69,128ZM208,48V208a16,16,0,0,1-16,16H136a8,8,0,0,1,0-16h56V48H136a8,8,0,0,1,0-16h56A16,16,0,0,1,208,48Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M141.66,133.66l-40,40A8,8,0,0,1,88,168V136H24a8,8,0,0,1,0-16H88V88a8,8,0,0,1,13.66-5.66l40,40A8,8,0,0,1,141.66,133.66ZM192,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h56a16,16,0,0,0,16-16V48A16,16,0,0,0,192,32Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M140.24,132.24l-40,40a6,
31186,0,0,1-8.48-8.48L121.51,134H24a6,6,0,0,1,0-12h97.51L91.76,92.24a6,6,0,0,1,8.48-8.48l40,40A6,6,0,0,1,140.24,132.24ZM192,34H136a6,6,0,0,0,0,12h56a2,2,0,0,1,2,2V208a2,2,0,0,1-2,2H136a6,6,0,0,0,0,12h56a14,14,0,0,0,14-14V48A14,14,0,0,0,192,34Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M141.66,133.66l-40,40a8,8,0,0,1-11.32-11.32L116.69,136H24a8,8,0,0,1,0-16h92.69L90.34,93.66a8,8,0,0,1,11.32-11.32l40,40A8,8,0,0,1,141.66,133.66ZM192,32H136a8,8,0,0,0,0,16h56V208H136a8,8,0,0,0,0,16h56a16,16,0,0,0,16-16V48A16,16,0,0,0,192,32Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M138.83,130.83l-40,40a4,4,0,0,1-5.66-5.66L126.34,132H24a4,4,0,0,1,0-8H126.34L93.17,90.83a4,4,0,0,1,5.66-5.66l40,40A4,4,0,0,1,138.83,130.83ZM192,36H136a4,4,0,0,0,0,8h56a4,4,0,0,1,4,4V208a4,4,0,0,1-4,4H136a4,4,0,0,0,0,8h56a12,12,0,0,0,12-12V48A12,12,0,0,0,192,36Z"}))]]),mj=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,mO(mN({ref:t},e),{weights:mM})));mj.displayName="SignIn";var tG=tB("acw62"),mF=Object.defineProperty,mR=Object.defineProperties,mU=Object.getOwnPropertyDescriptors,mL=Object.getOwnPropertySymbols,mD=Object.prototype.hasOwnProperty,mV=Object.prototype.propertyIsEnumerable,mH=(e,t,r)=>t in e?mF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mZ=(e,t)=>{for(var r in t||(t={}))mD.call(t,r)&&mH(e,r,t[r]);if(mL)for(var r of mL(t))mV.call(t,r)&&mH(e,r,t[r]);return e},mB=(e,t)=>mR(e,mU(t));const mz=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M230.86,109.25,169.18,86.82,146.75,25.14a19.95,19.95,0,0,0-37.5,0L86.82,86.82,25.14,109.25a19.95,19.95,0,0,0,0,37.5l61.68,22.43,22.43,61.68a19.95,19.95,0,0,0,37.5,0l22.43-61.68,61.68-22.43a19.95,19.95,0,0,0,0-37.5Zm-71.65,38a19.92,19.92,0,0,0-11.94,11.94l-19.27,53-19.27-53a19.92,19.92,0,0,0-11.94-11.94L43.79,128l53-19.27a19.92,19.92,0,0,0,11.94-11.94l19.27-53,19.27,53a19.92,19.92,0,0,0,11.94,11.94l53,19.27Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M226.76,135.48l-63.45,23.07a8,8,0,0,0-4.76,4.76l-23.07,63.45a8,8,0,0,1-15,0L97.45,163.31a8,8,0,0,0-4.76-4.76L29.24,135.48a8,8,0,0,1,0-15L92.69,97.45a8,8,0,0,0,4.76-4.76l23.07-63.45a8,8,0,0,1,15,0l23.07,63.45a8,8,0,0,0,4.76,4.76l63.45,23.07A8,8,0,0,1,226.76,135.48Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M229.5,113,166.07,90,143,26.5a16,16,0,0,0-30,0L90,89.93,26.5,113a16,16,0,0,0,0,30l63.43,23L113,229.5a16,16,0,0,0,30,0l23.07-63.44L229.5,143a16,16,0,0,0,0-30Zm-68.93,38a16,16,0,0,0-9.54,9.54L128,223.9l-23-63.33A16,16,0,0,0,95.43,151L32.1,128l63.33-23A16,16,0,0,0,105,95.43L128,32.1l23,63.33a16,16,0,0,0,9.54,9.54l63.33,23Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,128a15.79,15.79,0,0,1-10.5,15l-63.44,23.07L143,229.5a16,16,0,0,1-30,0L89.93,166,26.5,143a16,16,0,0,1,0-30L90,89.93,113,26.5a16,16,0,0,1,30,0L166.07,90,229.5,113A15.79,15.79,0,0,1,240,128Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228.81,114.89,165.36,91.81a1.94,1.94,0,0,1-1.17-1.17L141.11,27.19a13.95,13.95,0,0,0-26.22,0L91.81,90.64a1.94,1.94,0,0,1-1.17,1.17L27.19,114.89a13.95,13.95,0,0,0,0,26.22l63.45,23.08a1.94,1.94,0,0,1,1.17,1.17l23.08,63.45a13.95,13.95,0,0,0,26.22,0l23.08-63.45h0a1.94,1.94,0,0,1,1.17-1.17l63.45-23.08a13.95,13.95,0,0,0,0-26.22Zm-4.1,15-63.45,23.07a14,14,0,0,0-8.35,8.35l-23.07,63.45a2,2,0,0,1-3.68,0l-23.07-63.45a14,14,0,0,0-8.35-8.35L31.29,129.84a2,2,0,0,1,0-3.68l63.45-23.07a14,14,0,0,0,8.35-8.35l23.07-63.45a2,2,0,0,1,3.68,0l23.07,63.45a14,14,0,0,0,8.35,8.35l63.45,23.07a2,2,0,0,1,0,3.68Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M229.5,113,166.07,90,143,26.5a16,16,0,0,0-30,0L90,89.93,26.5,113a16,16,0,0,0,0,30l63.43,23L113,229.5a16,16,0,0,0,30,0l23.07-63.44L229.5,143a16,16,0,0,0,0-30Zm-68.93,38a16,16,0,0,0-9.54,9.54L128,223.9l-23-63.33A16,16,0,0,0,95.43,151L32.1,128l63.33-23A16,16,0,0,0,105,95.43L128,32.1l23,63.33a16,16,0,0,0,9.54,9.54l63.33,23Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228.13,116.77,164.67,93.69a3.94,3.94,0,0,1-2.36-2.36L139.23,27.87a11.95,11.95,0,0,0-22.46,0L93.69,91.33a3.94,3.94,0,0,1-2.36,2.36L27.87,116.77a11.95,11.95,0,0,0,0,22.46l63.46,23.08a3.94,3.94,0,0,1,2.36,2.36l23.08,63.46a11.95,11.95,0,0,0,22.46,0l23.08
3118-63.46h0a3.94,3.94,0,0,1,2.36-2.36l63.46-23.08a11.95,11.95,0,0,0,0-22.46Zm-2.73,15-63.46,23.07a11.93,11.93,0,0,0-7.15,7.15L131.72,225.4a4,4,0,0,1-7.44,0l-23.07-63.46a11.93,11.93,0,0,0-7.15-7.15L30.6,131.72a4,4,0,0,1,0-7.44l63.46-23.07a11.93,11.93,0,0,0,7.15-7.15L124.28,30.6a4,4,0,0,1,7.44,0l23.07,63.46a11.93,11.93,0,0,0,7.15,7.15l63.46,23.07a4,4,0,0,1,0,7.44Z"}))]]),mW=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,mB(mZ({ref:t},e),{weights:mz})));/** 3119 * Swiper 10.1.0 3120 * Most modern mobile touch slider and framework with hardware accelerated transitions 3121 * https://swiperjs.com 3122 * 3123 * Copyright 2014-2023 Vladimir Kharlampidi 3124 * 3125 * Released under the MIT License 3126 * 3127 * Released on: August 1, 2023 3128 *//** 3129 * SSR Window 4.0.2 3130 * Better handling for window object in SSR environment 3131 * https://github.com/nolimits4web/ssr-window 3132 * 3133 * Copyright 2021, Vladimir Kharlampidi 3134 * 3135 * Licensed under MIT 3136 * 3137 * Released on: December 13, 2021 3138 *//* eslint-disable no-param-reassign */function mG(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function mq(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(r=>{void 0===e[r]?e[r]=t[r]:mG(t[r])&&mG(e[r])&&Object.keys(t[r]).length>0&&mq(e[r],t[r])})}mW.displayName="StarFour";const mY={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function m$(){let e="undefined"!=typeof document?document:{};return mq(e,mY),e}const mK={document:mY,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function mJ(){let e="undefined"!=typeof window?window:{};return mq(e,mK),e}function mQ(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function mX(){return Date.now()}function m0(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m1(){let e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){let n=r<0||arguments.length<=r?void 0:arguments[r];if(null!=n&&// eslint-disable-next-line 3139("undefined"!=typeof window&&void 0!==window.HTMLElement?!(n instanceof HTMLElement):!n||1!==n.nodeType&&11!==n.nodeType)){let r=Object.keys(Object(n)).filter(e=>0>t.indexOf(e));for(let t=0,o=r.length;t<o;t+=1){let o=r[t],a=Object.getOwnPropertyDescriptor(n,o);void 0!==a&&a.enumerable&&(m0(e[o])&&m0(n[o])?n[o].__swiper__?e[o]=n[o]:m1(e[o],n[o]):!m0(e[o])&&m0(n[o])?(e[o]={},n[o].__swiper__?e[o]=n[o]:m1(e[o],n[o])):e[o]=n[o])}}}return e}function m2(e,t,r){e.style.setProperty(t,r)}function m8(e){let t,{swiper:r,targetPosition:n,side:o}=e,a=mJ(),i=-r.translate,s=null,l=r.params.speed;r.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(r.cssModeFrameID);let u=n>i?"next":"prev",c=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,d=()=>{t=new Date().getTime(),null===s&&(s=t);let e=Math.max(Math.min((t-s)/l,1),0),u=i+(.5-Math.cos(e*Math.PI)/2)*(n-i);if(c(u,n)&&(u=n),r.wrapperEl.scrollTo({[o]:u}),c(u,n)){r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout(()=>{r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo({[o]:u})}),a.cancelAnimationFrame(r.cssModeFrameID);return}r.cssModeFrameID=a.requestAnimationFrame(d)};d()}function m6(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function m4(e,t){let r=mJ();return r.getComputedStyle(e,null).getPropertyValue(t)}function m3(e){let t,r=e;if(r){// eslint-disable-next-line 3140for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function m5(e,t,r){let n=mJ();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function m7(){return e||(e=function(){let e=mJ(),t=m$();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),e}const m9=(e,t)=>
3140{if(!e||e.destroyed||!e.params)return;let r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}},ge=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},gt=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=[o-t];r.push(...Array.from({length:t}).map((e,t)=>o+n+t)),e.slides.forEach((t,n)=>{r.includes(t.column)&&ge(e,n)});return}let a=o+n-1;if(e.params.rewind||e.params.loop)for(let n=o-t;n<=a+t;n+=1){let t=(n%r+r)%r;(t<o||t>a)&&ge(e,t)}else for(let n=Math.max(o-t,0);n<=Math.min(a+t,r-1);n+=1)n!==o&&(n>a||n<o)&&ge(e,n)};function gr(e){let{swiper:t,runCallbacks:r,direction:n,step:o}=e,{activeIndex:a,previousIndex:i}=t,s=n;if(s||(s=a>i?"next":a<i?"prev":"reset"),t.emit(`transition${o}`),r&&a!==i){if("reset"===s){t.emit(`slideResetTransition${o}`);return}t.emit(`slideChangeTransition${o}`),"next"===s?t.emit(`slideNextTransition${o}`):t.emit(`slidePrevTransition${o}`)}}function gn(e){let t=m$(),r=mJ(),n=this.touchEventsData;n.evCache.push(e);let{params:o,touches:a,enabled:i}=this;if(!i||!o.simulateTouch&&"mouse"===e.pointerType||this.animating&&o.preventInteractionOnTransition)return;!this.animating&&o.cssMode&&o.loop&&this.loopFix();let s=e;s.originalEvent&&(s=s.originalEvent);let l=s.target;if("wrapper"===o.touchEventsTarget&&!this.wrapperEl.contains(l)||"which"in s&&3===s.which||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;// change target el for shadow root component 3141let u=!!o.noSwipingClass&&""!==o.noSwipingClass,c=e.composedPath?e.composedPath():e.path;u&&s.target&&s.target.shadowRoot&&c&&(l=c[0]);let d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(s.target&&s.target.shadowRoot);// use closestElement for shadow root element to get the actual closest for nested shadow root element 3142if(o.noSwiping&&(f?// Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd 3143function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===m$()||r===mJ())return null;r.assignedSlot&&(r=r.assignedSlot);let n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(d,l):l.closest(d))){this.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;a.currentX=s.pageX,a.currentY=s.pageY;let p=a.currentX,h=a.currentY,m=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,g=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(m&&(p<=g||p>=r.innerWidth-g)){if("prevent"!==m)return;e.preventDefault()}Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=h,n.touchStartTime=mX(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let v=!0;l.matches(n.focusableElements)&&(v=!1,"SELECT"===l.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==l&&t.activeElement.blur();let y=v&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||y)&&!l.isContentEditable&&s.preventDefault(),o.freeMode&&o.freeMode.enabled&&this.freeMode&&this.animating&&!o.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",s)}function go(e){let t;let r=m$(),n=this.touchEventsData,{params:o,touches:a,rtlTranslate:i,enabled:s}=this;if(!s||!o.simulateTouch&&"mouse"===e.pointerType)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",l);return}let u=n.evCache.findIndex(e=>e.pointerId===l.pointerId);u>=0&&(n.evCache[u]=l);let c=n.evCache.length>1?n.evCache[0]:l,d=c.pageX,f=c.pageY;if(l.preventedByNestedSwiper){a.startX=d,a.startY=f;return}if(!this.allowTouchMove){l.target.matches(n.focusableElements)||(this.allowClick=!1),n.isTouched&&(Object.assign(a,{startX:d,startY:f,prevX:this.touches.currentX,prevY:this.touches.currentY,currentX:d,currentY:f}),n.touchStartTime=mX());return}if(o.touchReleaseOnEdges&&!o.loop){if(this.isVertical()){if(f<a.startY&&this.translate<=this.maxTranslate()||f>a.startY&&this.translate>=this.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<a.startX&&this.translate<=this.maxTranslate()||d>a.startX&&this.translate>=this.minTranslate())return}if(r.activeElement&&l.target===r.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,this.allowClick=!1;return}
3143if(n.allowTouchCallbacks&&this.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;a.currentX=d,a.currentY=f;let p=a.currentX-a.startX,h=a.currentY-a.startY;if(this.params.threshold&&Math.sqrt(p**2+h**2)<this.params.threshold)return;if(void 0===n.isScrolling){let e;this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,n.isScrolling=this.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(n.isScrolling&&this.emit("touchMoveOpposite",l),void 0===n.startMoving&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(n.startMoving=!0),n.isScrolling||this.zoom&&this.params.zoom&&this.params.zoom.enabled&&n.evCache.length>1){n.isTouched=!1;return}if(!n.startMoving)return;this.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation();let m=this.isHorizontal()?p:h,g=this.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(m=Math.abs(m)*(i?1:-1),g=Math.abs(g)*(i?1:-1)),a.diff=m,m*=o.touchRatio,i&&(m=-m,g=-g);let v=this.touchesDirection;this.swipeDirection=m>0?"prev":"next",this.touchesDirection=g>0?"prev":"next";let y=this.params.loop&&!o.cssMode;if(!n.isMoved){if(y&&this.loopFix({direction:this.swipeDirection}),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,o.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",l)}n.isMoved&&v!==this.touchesDirection&&y&&Math.abs(m)>=1&&(// need another loop fix 3144this.loopFix({direction:this.swipeDirection,setTranslate:!0}),t=!0),this.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let b=!0,w=o.resistanceRatio;// Threshold 3145if(o.touchReleaseOnEdges&&(w=0),m>0?(y&&!t&&n.currentTranslate>(o.centeredSlides?this.minTranslate()-this.size/2:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>this.minTranslate()&&(b=!1,o.resistance&&(n.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+n.startTranslate+m)**w))):m<0&&(y&&!t&&n.currentTranslate<(o.centeredSlides?this.maxTranslate()+this.size/2:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===o.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<this.maxTranslate()&&(b=!1,o.resistance&&(n.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-n.startTranslate-m)**w))),b&&(l.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),this.allowSlidePrev||this.allowSlideNext||(n.currentTranslate=n.startTranslate),o.threshold>0){if(Math.abs(m)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{n.currentTranslate=n.startTranslate;return}}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&this.freeMode||o.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),// Update progress 3146this.updateProgress(n.currentTranslate),// Update translate 3147this.setTranslate(n.currentTranslate))}function ga(e){let t;let r=this,n=r.touchEventsData,o=n.evCache.findIndex(t=>t.pointerId===e.pointerId);if(o>=0&&n.evCache.splice(o,1),["pointercancel","pointerout","pointerleave"].includes(e.type)){let t="pointercancel"===e.type&&(r.browser.isSafari||r.browser.isWebView);if(!t)return}let{params:a,touches:i,rtlTranslate:s,slidesGrid:l,enabled:u}=r;if(!u||!a.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&r.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&r.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);// Time diff 3148let d=mX(),f=d-n.touchStartTime;// Tap, doubleTap, Click 3149if(r.allowClick){let e=c.path||c.composedPath&&c.composedPath();r.updateClickedSlide(e&&e[0]||c.target),r.emit("tap click",c),f<300&&d-n.lastClickTime<300&&r.emit("doubleTap doubleClick",c)}if(n.lastClickTime=mX(),mQ(()=>{r.destroyed||(r.allowClick=!0)}),!n.isTouched||!n.isMoved||!r.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,t=a.followFinger?s?r.translate:-r.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){r.freeMode.onTouchEnd({currentPos:t});return}// Find current slide 3150let p=0,h=r.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let r=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[e+r]?t>=l[e]&&t<l[e+r]&&(p=e,h=l[e+r]-l[e]):t>=l[e]&&(p=e,h=l[l.length-1]-l[l.length-2])}let m=null,g=null;a.rewind&&(r.isBeginning?g=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(m=0));// Find current slide size 3151let v=(t-l[p])/h,y=p<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){// Long touches 3152if(!a.longSwipes){r.slideTo(r.activeIndex);return}"next"===r.swipeDirection&&(v>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?m:p+y):r.slideTo(p)),"prev"===r.swipeDirection&&(v>1-a.longSwipesRatio?r.slideTo(p+y):null!==g&&v<0&&Math.abs(v)>a.longSwipesRatio?r.slideTo(g):r.slideTo(p))}else{// Short swipes 3153if(!a.shortSwipes){r.slideTo(r.activeIndex);return}let e=r.navigation&&(c.target===r.navigation.nextEl||c.target===r.navigation.prevEl);e?c.target===r.navigation.nextEl?r.slideTo(p+y):r.slideTo(p):("next"===r.swipeDirection&&r.slideTo(null!==m?m:p+y),"prev"===r.swipeDirection&&r.slideTo(null!==g?g:p))}}function gi(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();// Save locks 3154let{allowSlideNext:n,allowSlidePrev:o,snapGrid:a}=e,i=e.virtual&&e.params.virtual.enabled;// Disable locks on resize 3155e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=i&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!i?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),// Return locks after resize 3156e.allowSlidePrev=o,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function gs(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function gl(){let{wrapperEl:e,rtlTranslate:t,enabled:r}=this;if(!r)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit
3156("setTranslate",this.translate,!1)}function gu(e){m9(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}let gc=!1;function gd(){}const gf=(e,t)=>{let r=m$(),{params:n,el:o,wrapperEl:a,device:i}=e,s=!!n.nested,l="on"===t?"addEventListener":"removeEventListener";// Touch Events 3157o[l]("pointerdown",e.onTouchStart,{passive:!1}),r[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),r[l]("pointerup",e.onTouchEnd,{passive:!0}),r[l]("pointercancel",e.onTouchEnd,{passive:!0}),r[l]("pointerout",e.onTouchEnd,{passive:!0}),r[l]("pointerleave",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[l]("click",e.onClick,!0),n.cssMode&&a[l]("scroll",e.onScroll),n.updateOnWindowResize?e[t](i.ios||i.android?"resize orientationchange observerUpdate":"resize observerUpdate",gi,!0):e[t]("observerUpdate",gi,!0),// Images loader 3158o[l]("load",e.onLoad,{capture:!0})},gp=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var gh={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",// Overrides 3159width:null,height:null,// 3160preventInteractionOnTransition:!1,// ssr 3161userAgent:null,url:null,// To support iOS's swipe-to-go-back gesture (when being used in-app). 3162edgeSwipeDetection:!1,edgeSwipeThreshold:20,// Autoheight 3163autoHeight:!1,// Set wrapper width 3164setWrapperSize:!1,// Virtual Translate 3165virtualTranslate:!1,// Effects 3166effect:"slide",// 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip' 3167// Breakpoints 3168breakpoints:void 0,breakpointsBase:"window",// Slides grid 3169spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,// in px 3170slidesOffsetAfter:0,// in px 3171normalizeSlideIndex:!0,centerInsufficientSlides:!1,// Disable swiper and hide navigation when container not overflow 3172watchOverflow:!0,// Round length 3173roundLengths:!1,// Touches 3174touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,// Unique Navigation Elements 3175uniqueNavElements:!0,// Resistance 3176resistance:!0,resistanceRatio:.85,// Progress 3177watchSlidesProgress:!1,// Cursor 3178grabCursor:!1,// Clicks 3179preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,// loop 3180loop:!1,loopedSlides:null,loopPreventsSliding:!0,// rewind 3181rewind:!1,// Swiping/no swiping 3182allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,// '.swipe-handler', 3183noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,// Passive Listeners 3184passiveListeners:!0,maxBackfaceHiddenSlides:10,// NS 3185containerModifierClass:"swiper-",// NEW 3186slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,// Callbacks 3187runCallbacksOnInit:!0,// Internals 3188_emitClasses:!1};/* eslint no-param-reassign: "off" */const gm={eventsEmitter:{on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let o=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][o](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function o(){n.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];t.apply(n,a)}return o.__emitterProxy=t,n.on(e,o,r)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e
3188=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,o)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(o,1)})}),r},emit(){let e,t,r;let n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),r=n):(e=a[0].events,t=a[0].data,r=a[0].context||n),t.unshift(r);let s=Array.isArray(e)?e:e.split(" ");return s.forEach(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(r,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(r,t)})}),n}},update:{updateSize:function(){let e,t;let r=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:r.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:r.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(// Subtract paddings 3189e=e-parseInt(m4(r,"padding-left")||0,10)-parseInt(m4(r,"padding-right")||0,10),t=t-parseInt(m4(r,"padding-top")||0,10)-parseInt(m4(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function r(e){return t.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}function n(e,t){return parseFloat(e.getPropertyValue(r(t))||0)}let o=t.params,{wrapperEl:a,slidesEl:i,size:s,rtlTranslate:l,wrongRTL:u}=t,c=t.virtual&&o.virtual.enabled,d=c?t.virtual.slides.length:t.slides.length,f=m6(i,`.${t.params.slideClass}, swiper-slide`),p=c?t.virtual.slides.length:f.length,h=[],m=[],g=[],v=o.slidesOffsetBefore;"function"==typeof v&&(v=o.slidesOffsetBefore.call(t));let y=o.slidesOffsetAfter;"function"==typeof y&&(y=o.slidesOffsetAfter.call(t));let b=t.snapGrid.length,w=t.slidesGrid.length,S=o.spaceBetween,x=-v,E=0,C=0;if(void 0===s)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*s:"string"==typeof S&&(S=parseFloat(S)),t.virtualSize=-S,// reset margins 3190f.forEach(e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),o.centeredSlides&&o.cssMode&&(m2(a,"--swiper-centered-offset-before",""),m2(a,"--swiper-centered-offset-after",""));let A=o.grid&&o.grid.rows>1&&t.grid;A&&t.grid.initSlides(p);let k="auto"===o.slidesPerView&&o.breakpoints&&Object.keys(o.breakpoints).filter(e=>void 0!==o.breakpoints[e].slidesPerView).length>0;for(let a=0;a<p;a+=1){let i;if(e=0,f[a]&&(i=f[a]),A&&t.grid.updateSlide(a,i,p,r),!f[a]||"none"!==m4(i,"display")){if("auto"===o.slidesPerView){k&&(f[a].style[r("width")]="");let s=getComputedStyle(i),l=i.style.transform,u=i.style.webkitTransform;if(l&&(i.style.transform="none"),u&&(i.style.webkitTransform="none"),o.roundLengths)e=t.isHorizontal()?m5(i,"width",!0):m5(i,"height",!0);else{// eslint-disable-next-line 3191let t=n(s,"width"),r=n(s,"padding-left"),o=n(s,"padding-right"),a=n(s,"margin-left"),l=n(s,"margin-right"),u=s.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+a+l;else{let{clientWidth:n,offsetWidth:s}=i;e=t+r+o+a+l+(s-n)}}l&&(i.style.transform=l),u&&(i.style.webkitTransform=u),o.roundLengths&&(e=Math.floor(e))}else e=(s-(o.slidesPerView-1)*S)/o.slidesPerView,o.roundLengths&&(e=Math.floor(e)),f[a]&&
3191(f[a].style[r("width")]=`${e}px`);f[a]&&(f[a].swiperSlideSize=e),g.push(e),o.centeredSlides?(x=x+e/2+E/2+S,0===E&&0!==a&&(x=x-s/2-S),0===a&&(x=x-s/2-S),.001>Math.abs(x)&&(x=0),o.roundLengths&&(x=Math.floor(x)),C%o.slidesPerGroup==0&&h.push(x),m.push(x)):(o.roundLengths&&(x=Math.floor(x)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup==0&&h.push(x),m.push(x),x=x+e+S),t.virtualSize+=e+S,E=e,C+=1}// eslint-disable-line 3192}// Remove last grid elements depending on width 3193if(t.virtualSize=Math.max(t.virtualSize,s)+y,l&&u&&("slide"===o.effect||"coverflow"===o.effect)&&(a.style.width=`${t.virtualSize+S}px`),o.setWrapperSize&&(a.style[r("width")]=`${t.virtualSize+S}px`),A&&t.grid.updateWrapperSize(e,h,r),!o.centeredSlides){let e=[];for(let r=0;r<h.length;r+=1){let n=h[r];o.roundLengths&&(n=Math.floor(n)),h[r]<=t.virtualSize-s&&e.push(n)}h=e,Math.floor(t.virtualSize-s)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-s)}if(c&&o.loop){let e=g[0]+S;if(o.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/o.slidesPerGroup),n=e*o.slidesPerGroup;for(let e=0;e<r;e+=1)h.push(h[h.length-1]+n)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===o.slidesPerGroup&&h.push(h[h.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==S){let e=t.isHorizontal()&&l?"marginLeft":r("marginRight");f.filter((e,t)=>!o.cssMode||!!o.loop||t!==f.length-1).forEach(t=>{t.style[e]=`${S}px`})}if(o.centeredSlides&&o.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(S||0)}),e-=S;let t=e-s;h=h.map(e=>e<=0?-v:e>t?t+y:e)}if(o.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(S||0)}),(e-=S)<s){let t=(s-e)/2;h.forEach((e,r)=>{h[r]=e-t}),m.forEach((e,r)=>{m[r]=e+t})}}if(Object.assign(t,{slides:f,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),o.centeredSlides&&o.cssMode&&!o.centeredSlidesBounds){m2(a,"--swiper-centered-offset-before",`${-h[0]}px`),m2(a,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(p!==d&&t.emit("slidesLengthChange"),h.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==w&&t.emit("slidesGridLengthChange"),o.watchSlidesProgress&&t.updateSlidesOffset(),!c&&!o.cssMode&&("slide"===o.effect||"fade"===o.effect)){let e=`${o.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);p<=o.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let r=this,n=[],o=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let i=e=>o?r.slides[r.getSlideIndexByData(e)]:r.slides[e];// Find slides currently in view 3194if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1){if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!o)break;n.push(i(e))}}else n.push(i(r.activeIndex));// Find new height from highest slide in view 3195for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(r.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(this.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:r,rtlTranslate:n,snapGrid:o}=this;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();let a=-e;n&&(a=e),// Visible Slides 3196r.forEach(e=>{e.classList.remove(t.slideVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];let i=t.spaceBetween;"string"==typeof i&&i.indexOf("%")>=0?i=parseFloat(i.replace("%",""))/100*this.size:"string"==typeof i&&(i=parseFloat(i));for(let e=0;e<r.length;e+=1){let s=r[e],l=s.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=r[0].swiperSlideOffset);let u=(a+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+i),c=(a-o[0]+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+i),d=-(a-l),f=d+this.slidesSizesGrid[e],p=d>=0&&d<this.size-1||f>1&&f<=this.size||d<=0&&f>=this.size;p&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(e),r[e].classList.add(t.slideVisibleClass)),s.progress=n?-u:u,s.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;// eslint-disable-next-line 3197e=this&&this.translate&&this.translate*t||0}let t=this.params,r=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:o,isEnd:a,progressLoop:i}=this,s=o,l=a;if(0===r)n=0,o=!0,a=!0;else{n=(e-this.minTranslate())/r;let t=1>Math.abs(e-this.minTranslate()),i=1>Math.abs(e-this.maxTranslate());o=t||n<=0,a=i||n>=1,t&&(n=0),i&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),r=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],o=this.slidesGrid[r],a=this.slidesGrid[this.slidesGrid.length-1],s=Math.abs(e);(i=s>=n?(s-n)/a:(s+a-o)/a)>1&&(i-=1)}Object.assign(this,{progress:n,progressLoop:i,isBeginning:o,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),o&&!s&&this.emit
3197("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e;let{slides:t,params:r,slidesEl:n,activeIndex:o}=this,a=this.virtual&&r.virtual.enabled,i=e=>m6(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];if(t.forEach(e=>{e.classList.remove(r.slideActiveClass,r.slideNextClass,r.slidePrevClass)}),a){if(r.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=i(`[data-swiper-slide-index="${t}"]`)}else e=i(`[data-swiper-slide-index="${o}"]`)}else e=t[o];if(e){// Active classes 3198e.classList.add(r.slideActiveClass);// Next Slide 3199let n=function(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;// eslint-disable-line 3200t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,`.${r.slideClass}, swiper-slide`)[0];r.loop&&!n&&(n=t[0]),n&&n.classList.add(r.slideNextClass);// Prev Slide 3201let o=function(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;// eslint-disable-line 3202t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,`.${r.slideClass}, swiper-slide`)[0];r.loop,o&&o.classList.add(r.slidePrevClass)}this.emitSlidesClasses()},updateActiveIndex:function(e){let t,r;let n=this,o=n.rtlTranslate?n.translate:-n.translate,{snapGrid:a,params:i,activeIndex:s,realIndex:l,snapIndex:u}=n,c=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:r,params:n}=e,o=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?o>=r[e]&&o<r[e+1]-(r[e+1]-r[e])/2?t=e:o>=r[e]&&o<r[e+1]&&(t=e+1):o>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),a.indexOf(o)>=0)t=a.indexOf(o);else{let e=Math.min(i.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/i.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===s){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange")),n.params.loop&&n.virtual&&n.params.virtual.enabled&&(n.realIndex=d(c));return}r=n.virtual&&i.virtual.enabled&&i.loop?d(c):n.slides[c]?parseInt(n.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:s,activeIndex:c}),n.initialized&>(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==r&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")},updateClickedSlide:function(e){let t;let r=this.params,n=e.closest(`.${r.slideClass}, swiper-slide`),o=!1;if(n){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===n){o=!0,t=e;break}}if(n&&o)this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=t;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:r,translate:n,wrapperEl:o}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let a=function(e,t){let r,n,o;void 0===t&&(t="x");let a=mJ(),i=function(e){let t;let r=mJ();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((n=i.transform||i.webkitTransform).split(",").length>6&&(n=n.split(", ").map(e=>e.replace(",",".")).join(", ")),// Some old versions of Webkit choke when 'none' is passed; pass 3203// empty string instead in this case 3204o=new a.WebKitCSSMatrix("none"===n?"":n)):r=(o=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=a.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(n=a.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),n||0}(o,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){let{rtlTranslate:r,params:n,wrapperEl:o,progress:a}=this,i=0,s=0;this.isHorizontal()?i=r?-e:e:s=e,n.roundLengths&&(i=Math.floor(i),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?i:s,n.cssMode?o[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-i:-s:n.virtualTranslate||(this.isHorizontal()?i-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),o.style.transform=`translate3d(${i}px, ${s}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==a&&this.updateProgress(e),this.emit
3204("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,o){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);let i=this,{params:s,wrapperEl:l}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;let u=i.minTranslate(),c=i.maxTranslate();if(a=n&&e>u?u:n&&e<c?c:e,// Update progress 3205i.updateProgress(a),s.cssMode){let e=i.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-a;else{if(!i.support.smoothScroll)return m8({swiper:i,targetPosition:-a,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(a),r&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(a),r&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,r&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:r}=this;r.cssMode||(r.autoHeight&&this.updateAutoHeight(),gr({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:r}=this;this.animating=!1,r.cssMode||(this.setTransition(0),gr({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,r,n,o){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this,s=e;s<0&&(s=0);let{params:l,snapGrid:u,slidesGrid:c,previousIndex:d,activeIndex:f,rtlTranslate:p,wrapperEl:h,enabled:m}=i;if(i.animating&&l.preventInteractionOnTransition||!m&&!n&&!o)return!1;let g=Math.min(i.params.slidesPerGroupSkip,s),v=g+Math.floor((s-g)/i.params.slidesPerGroup);v>=u.length&&(v=u.length-1);let y=-u[v];// Normalize slideIndex 3206if(l.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){let t=-Math.floor(100*y),r=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=r&&t<n-(n-r)/2?s=e:t>=r&&t<n&&(s=e+1):t>=r&&(s=e)}// Directions locks 3207if(i.initialized&&s!==f&&(!i.allowSlideNext&&(p?y>i.translate&&y>i.minTranslate():y<i.translate&&y<i.minTranslate())||!i.allowSlidePrev&&y>i.translate&&y>i.maxTranslate()&&(f||0)!==s))return!1;// Update Index 3208if(s!==(d||0)&&r&&i.emit("beforeSlideChangeStart"),// Update progress 3209i.updateProgress(y),a=s>f?"next":s<f?"prev":"reset",p&&-y===i.translate||!p&&y===i.translate)return i.updateActiveIndex(s),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==l.effect&&i.setTranslate(y),"reset"!==a&&(i.transitionStart(r,a),i.transitionEnd(r,a)),!1;if(l.cssMode){let e=i.isHorizontal(),r=p?y:-y;if(0===t){let t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),t&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=r})):h[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1})}else{if(!i.support.smoothScroll)return m8({swiper:i,targetPosition:r,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(y),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,n),i.transitionStart(r,a),0===t?i.transitionEnd(r,a):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(r,a))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e){let t=parseInt(e,10);e=t}let o=e;return this.params.loop&&(this.virtual&&this.params.virtual.enabled?o+=this.virtual.slidesBefore:o=this.getSlideIndexByData(o)),this.slideTo(o,t,r,n)},slideNext:/* eslint no-unused-vars: "off" */function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let{enabled:n,params:o,animating:a}=this;if(!n)return this;let i=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(i=Math.max(this.slidesPerViewDynamic("current",!0),1));let s=this.activeIndex<o.slidesPerGroupSkip?1:i,l=this.virtual&&o.virtual.enabled;if(o.loop){if(a&&!l&&o.loopPreventsSliding)return!1;this.loopFix({direction:"next"}),// eslint-disable-next-line 3210this._clientLeft=this.wrapperEl.clientLeft}return o.rewind&&this.isEnd?this.slideTo(0,e,t,r):this.slideTo(this.activeIndex+s,e,t,r)},slidePrev:/* eslint no-unused-vars: "off" */function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let{params:n,snapGrid:o,slidesGrid:a,rtlTranslate:i,enabled:s,animating:l}=this;if(!s)return this;let u=this.virtual&&n.virtual.enabled;if(n.loop){if(l&&!u&&n.loopPreventsSliding)return!1;this.loopFix({direction:"prev"}),// eslint-disable-next-line 3211this._clientLeft=this.wrapperEl.clientLeft}let c=i?this.translate:-this.translate;function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let f=d(c),p=o.map(e=>d(e)),h=o[p.indexOf(f)-1];if(void 0===h&&n.cssMode){let e;o.forEach((t,r)=>{f>=t&&(e=r)}),void 0!==e&&(h=o[e>0?e-1:e])}let m=0;if(void 0!==h&&((m=a.indexOf(h))<0&&(m=this.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(m=Math.max(m=m-this.slidesPerViewDynamic("previous",!0)+1,0))),n.rewind&&this.isBeg
3211inning){let n=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.virtual.slides.length-1:this.slides.length-1;return this.slideTo(n,e,t,r)}return this.slideTo(m,e,t,r)},slideReset:/* eslint no-unused-vars: "off" */function(e,t,r){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:/* eslint no-unused-vars: "off" */function(e,t,r,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);let o=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,o),i=a+Math.floor((o-a)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[i]){// The current translate is on or after the current snap index, so the choice 3212// is between the current index and the one after it. 3213let e=this.snapGrid[i],t=this.snapGrid[i+1];s-e>(t-e)*n&&(o+=this.params.slidesPerGroup)}else{// The current translate is before the current snap index, so the choice 3214// is between the current index and the one before it. 3215let e=this.snapGrid[i-1],t=this.snapGrid[i];s-e<=(t-e)*n&&(o-=this.params.slidesPerGroup)}return o=Math.min(o=Math.max(o,0),this.slidesGrid.length-1),this.slideTo(o,e,t,r)},slideToClickedSlide:function(){let e;let t=this,{params:r,slidesEl:n}=t,o="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.clickedIndex,i=t.isElement?"swiper-slide":`.${r.slideClass}`;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=t.getSlideIndex(m6(n,`${i}[data-swiper-slide-index="${e}"]`)[0]),mQ(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=t.getSlideIndex(m6(n,`${i}[data-swiper-slide-index="${e}"]`)[0]),mQ(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e){let{params:t,slidesEl:r}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;let n=m6(r,`.${t.slideClass}, swiper-slide`);n.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:o,activeSlideIndex:a,byController:i,byMousewheel:s}=void 0===e?{}:e,l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");let{slides:u,allowSlidePrev:c,allowSlideNext:d,slidesEl:f,params:p}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){r&&(p.centeredSlides||0!==l.snapIndex?p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=d,l.emit("loopFix");return}let h="auto"===p.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)),m=p.loopedSlides||h;m%p.slidesPerGroup!=0&&(m+=p.slidesPerGroup-m%p.slidesPerGroup),l.loopedSlides=m;let g=[],v=[],y=l.activeIndex;void 0===a?a=l.getSlideIndex(l.slides.filter(e=>e.classList.contains(p.slideActiveClass))[0]):y=a;let b="next"===n||!n,w="prev"===n||!n,S=0,x=0;// prepend last slides before start 3216if(a<m){S=Math.max(m-a,p.slidesPerGroup);for(let e=0;e<m-a;e+=1){let t=e-Math.floor(e/u.length)*u.length;g.push(u.length-t-1)}}else if(a/* + slidesPerView */>l.slides.length-2*m){x=Math.max(a-(l.slides.length-2*m),p.slidesPerGroup);for(let e=0;e<x;e+=1){let t=e-Math.floor(e/u.length)*u.length;v.push(t)}}if(w&&g.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,f.prepend(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),b&&v.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,f.append(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView&&l.updateSlides(),p.watchSlidesProgress&&l.updateSlidesOffset(),r){if(g.length>0&&w){if(void 0===t){let e=l.slidesGrid[y],t=l.slidesGrid[y+S],r=t-e;s?l.setTranslate(l.translate-r):(l.slideTo(y+S,0,!1,!0),o&&(l.touches[l.isHorizontal()?"startX":"startY"]+=r,l.touchEventsData.currentTranslate=l.translate))}else o&&(l.slideToLoop(t,0,!1,!0),l.touchEventsData.currentTranslate=l.translate)}else if(v.length>0&&b){if(void 0===t){let e=l.slidesGrid[y],t=l.slidesGrid[y-x],r=t-e;s?l.setTranslate(l.translate-r):(l.slideTo(y-x,0,!1,!0),o&&(l.touches[l.isHorizontal()?"startX":"startY"]+=r,l.touchEventsData.currentTranslate=l.translate))}else l.slideToLoop(t,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!i){let e={slideRealIndex:t,slideTo:!1,direction:n,setTranslate:o,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix(e)}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(e)}l.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let r=[];
3216this.slides.forEach(e=>{let t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),r.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let e=m$(),{params:t}=this;this.onTouchStart=gn.bind(this),this.onTouchMove=go.bind(this),this.onTouchEnd=ga.bind(this),t.cssMode&&(this.onScroll=gl.bind(this)),this.onClick=gs.bind(this),this.onLoad=gu.bind(this),gc||(e.addEventListener("touchstart",gd),gc=!0),gf(this,"on")},detachEvents:function(){gf(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:o}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;// Get breakpoint for window width and update parameters 3217let i=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!i||e.currentBreakpoint===i)return;let s=i in a?a[i]:void 0,l=s||e.originalParams,u=gp(e,n),c=gp(e,l),d=n.enabled;u&&!c?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(o.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&o.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),// Toggle navigation, pagination, scrollbar 3218["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===l[t])return;let r=n[t]&&n[t].enabled,o=l[t]&&l[t].enabled;r&&!o&&e[t].disable(),!r&&o&&e[t].enable()});let f=l.direction&&l.direction!==n.direction,p=n.loop&&(l.slidesPerView!==n.slidesPerView||f);f&&r&&e.changeDirection(),m1(e.params,l);let h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=i,e.emit("_beforeBreakpoint",l),p&&r&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1,o=mJ(),a="window"===t?o.innerHeight:r.clientHeight,i=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){let t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});i.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<i.length;e+=1){let{point:a,value:s}=i[e];"window"===t?o.matchMedia(`(min-width: ${s}px)`).matches&&(n=a):s<=r.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:r}=t;if(r){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*r;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:r,el:n,device:o}=this,a=function(e,t){let r=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:r},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},gg={};class gv{constructor(){let e,n;for(var o,a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?n=i[0]:[e,n]=i,n||(n={}),n=m1({},n),e&&!n.el&&(n.el=e);let l=m$();if(n.el&&"string"==typeof n.el&&l.querySelectorAll(n.el).length>1){let e=[];// eslint-disable-next-line no-constructor-return 3219return l.querySelectorAll(n.el).forEach(t=>{let r=m1({},n,{el:t});e.push(new gv(r))}),e}// Swiper Instance 3220let u=this;u.__swiper__=!0,u.support=m7(),u.device=(o={userAgent:n.userAgent},t||(t=function(e){let{userAgent:t}=void 0===e?{}:e,r=m7(),n=mJ(),o=n.navigator.platform,a=t||n.navigator.userAgent,i={ios:!1,android:!1},s=n.screen.width,l=n.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/),c=a.match(/(iPad).*OS\s([\d_]+)/),d=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="MacIntel"===o;// Export object 3221return!c&&p&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${l}`)>=0&&((c=a.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),p=!1),u&&"Win32"!==o&&(i.os="android",i.android=!0),(c||f||d)&&(i.os="ios",i.ios=!0),i}
3221(o)),t),u.browser=(r||(r=function(){let e=mJ(),t=!1;function r(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){let r=String(e.navigator.userAgent);if(r.includes("Version/")){let[e,n]=r.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&n<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),r),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=[...u.__modules__],n.modules&&Array.isArray(n.modules)&&u.modules.push(...n.modules);let c={};u.modules.forEach(e=>{var t;e({params:n,swiper:u,extendParams:(t=n,function(e){void 0===e&&(e={});let r=Object.keys(e)[0],n=e[r];if("object"!=typeof n||null===n||(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===t[r]&&(t[r]={auto:!0}),!(r in t&&"enabled"in n))){m1(c,e);return}!0===t[r]&&(t[r]={enabled:!0}),"object"!=typeof t[r]||"enabled"in t[r]||(t[r].enabled=!0),t[r]||(t[r]={enabled:!1}),m1(c,e)}),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})});// Extend defaults with modules params 3222let d=m1({},gh,c);// Return app instance 3223// eslint-disable-next-line no-constructor-return 3224return(// Extend defaults with passed params 3225u.params=m1({},d,gg,n),u.originalParams=m1({},u.params),u.passedParams=m1({}
3225,n),u.params&&u.params.on&&Object.keys(u.params.on).forEach(e=>{u.on(e,u.params.on[e])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),// Extend Swiper 3226Object.assign(u,{enabled:u.params.enabled,el:e,// Classes 3227classNames:[],// Slides 3228slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],// isDirection 3229isHorizontal:()=>"horizontal"===u.params.direction,isVertical:()=>"vertical"===u.params.direction,// Indexes 3230activeIndex:0,realIndex:0,// 3231isBeginning:!0,isEnd:!1,// Props 3232translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){// Returns 0 unless `translate` is > 2**23 3233// Should be subtracted from css values to prevent overflow 3234return 8388608*Math.trunc(this.translate/8388608)},// Locks 3235allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,// Touch Events 3236touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,// Form elements to match 3237focusableElements:u.params.focusableElements,// Last click time 3238lastClickTime:0,clickTimeout:void 0,// Velocities 3239velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},// Clicks 3240allowClick:!0,// Touches 3241allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},// Images 3242imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u)}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=m6(t,`.${r.slideClass}, swiper-slide`),o=m3(n[0]);return m3(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=m6(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let r=this.minTranslate(),n=this.maxTranslate(),o=(n-r)*e+r;this.translateTo(o,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:r,slides:n,slidesGrid:o,slidesSizesGrid:a,size:i,activeIndex:s}=this,l=1;if(r.centeredSlides){let e,t=n[s]?n[s].swiperSlideSize:0;for(let r=s+1;r<n.length;r+=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>i&&(e=!0));for(let r=s-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>i&&(e=!0))}else // eslint-disable-next-line 3243if("current"===e)for(let e=s+1;e<n.length;e+=1){let r=t?o[e]+a[e]-o[s]<i:o[e]-o[s]<i;r&&(l+=1)}else for(let e=s-1;e>=0;e-=1){let t=o[s]-o[e]<i;t&&(l+=1)}return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function o(){let e=t.rtlTranslate?-1*t.translate:t.translate,r=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&m9(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||o()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let r=this.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${r}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEac
3243h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;// Find el 3244let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&"SWIPER-CONTAINER"===r.parentNode.host.nodeName&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,o=(()=>{if(r&&r.shadowRoot&&r.shadowRoot.querySelector){let e=r.shadowRoot.querySelector(n());// Children needs to return slot items 3245return e}return m6(r,n())[0]})();return!o&&t.params.createElements&&(o=function(e,t){void 0===t&&(t=[]);let r=document.createElement("div");return r.classList.add(...Array.isArray(t)?t:[t]),r}(0,t.params.wrapperClass),r.append(o),m6(r,`.${t.params.slideClass}`).forEach(e=>{o.append(e)})),Object.assign(t,{el:r,wrapperEl:o,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,// RTL 3246rtl:"rtl"===r.dir.toLowerCase()||"rtl"===m4(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===m4(r,"direction")),wrongRTL:"-webkit-box"===m4(o,"display")}),!0}init(e){let t=this;if(t.initialized)return t;let r=t.mount(e);return!1===r||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),// Add Classes 3247t.addClasses(),// Update size 3248t.updateSize(),// Update slides 3249t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),// Attach events 3250t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete?m9(t,e):e.addEventListener("load",e=>{m9(t,e.target)})}),gt(t),// Init Flag 3251t.initialized=!0,gt(t),// Emit 3252t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let r=this,{params:n,el:o,wrapperEl:a,slides:i}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),// Init Flag 3253r.initialized=!1,// Detach events 3254r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),o.removeAttribute("style"),a.removeAttribute("style"),i&&i.length&&i.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),// Detach emitter events 3255Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el.swiper=null,function(e){Object.keys(e).forEach(t=>{try{e[t]=null}
3255catch(e){// no getter for object 3256}try{delete e[t]}catch(e){// something got wrong 3257}})}(r)),r.destroyed=!0),null}static extendDefaults(e){m1(gg,e)}static get extendedDefaults(){return gg}static get defaults(){return gh}static installModule(e){gv.prototype.__modules__||(gv.prototype.__modules__=[]);let t=gv.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>gv.installModule(e)):gv.installModule(e),gv}}Object.keys(gm).forEach(e=>{Object.keys(gm[e]).forEach(t=>{gv.prototype[t]=gm[e][t]})}),gv.use([function(e){let{swiper:t,on:r,emit:n}=e,o=mJ(),a=null,i=null,s=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(e=>{i=o.requestAnimationFrame(()=>{let{width:r,height:n}=t,o=r,a=n;e.forEach(e=>{let{contentBoxSize:r,contentRect:n,target:i}=e;i&&i!==t.el||(o=n?n.width:(r[0]||r).inlineSize,a=n?n.height:(r[0]||r).blockSize)}),(o!==r||a!==n)&&s()})})).observe(t.el)},u=()=>{i&&o.cancelAnimationFrame(i),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},c=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&void 0!==o.ResizeObserver){l();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),r("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})},function(e){let{swiper:t,extendParams:r,on:n,emit:o}=e,a=[],i=mJ(),s=function(e,r){void 0===r&&(r={});let n=i.MutationObserver||i.WebkitMutationObserver,s=new n(e=>{// The observerUpdate event should only be triggered 3258// once despite the number of mutations. Additional 3259// triggers are redundant and are very costly 3260if(t.__preventObserver__)return;if(1===e.length){o("observerUpdate",e[0]);return}let r=function(){o("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(r):i.setTimeout(r,0)});s.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:void 0===r.childList||r.childList,characterData:void 0===r.characterData||r.characterData}),a.push(s)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=function(e,t){let r=[],n=e.parentElement;// eslint-disable-line 3261for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}(t.hostEl);for(let t=0;t<e.length;t+=1)s(e[t])}// Observe container 3262s(t.hostEl,{childList:t.params.observeSlideChildren}),// Observe wrapper 3263s(t.wrapperEl,{attributes:!1})}}),n("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);var tG=(tB("acw62"),tB("acw62"));const gy=()=>{let e=(0,tG.useRef)(!1);return(0,tG.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function gb(e){let{inActive:t,headEmoji:r,headTitle:n,content:o,className:a,tips:i,complete:s,activeTipChanged:l,isSm:u,...c}=e,[d,f]=(0,tG.useState)({active:0,progress:0}),[p,h]=(0,tG.useState)(0)// interval timer 3264,m=gy(),g=()=>{f({active:0,progress:0}),h(0)},v=e=>{f(()=>({active:e,progress:0}))};return(0,tG.useEffect)(()=>{if(!m.current)return;if(!t){e(),g();return}function e(){h(e=>(clearInterval(e),0))}let r=()=>{// async 3265f(({active:t,progress:r})=>{let n=r+.4,o=t;return n>100&&(t?(e(),s?.(),n=100):(n=0,o=1)),{active:o,progress:n}})};return console.log("run ...."),function(){e();let t=setInterval(r,60);h(t)}(),e},[t]),(0,tG.useEffect)(()=>{t&&l?.(d.active.toString())},[d.active,t]),/*#__PURE__*/(0,tz.jsxs)("div",{className:/*@__PURE__*/tV(np)("item swiper-slide a",a),...c,children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"flex",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"text-3xl pr-4",children:r}),/*#__PURE__*/(0,tz.jsx)(nh,{className:"text-sm cursor-text",leftIcon:/*#__PURE__*/(0,tz.jsx)(mW,{size:16}),children:n})]}),/*#__PURE__*/(0,tz.jsx)("h2",{className:"pt-2 text-[20px] sm:text-3xl text-gray-300",children:o}),/*#__PURE__*/(0,tz.jsxs)("strong",{className:"progress",children:[/*#__PURE__*/(0,tz.jsx)("i",{onClick:()=>v(0),children:/*#__PURE__*/(0,tz.jsx)("small",{style:{width:(d.active?100:d.progress)+"%"},children:"1"})}),/*#__PURE__*/(0,tz.jsx)("i",{onClick:()=>v(1),children:/*#__PURE__*/(0,tz.jsx)("small",{style:{width:(d.active?d.progress:0)+"%"},children:"2"})})]}),/*#__PURE__*/(0,tz.jsx)("h3",{className:"flex text-sm sm:text-lg space-x-2 px-1 py-2 tracking-wide",children:i.map((e,t)=>{if(d.active===t)return/*#__PURE__*/(0,tz.jsxs)("span",{className:"animate-in duration-1000 fade-in-0",children:[/*#__PURE__*/(0,tz.jsxs)("strong",{children:["Tip ",t+1,": "]}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-gray-300/90",children:e})]},t)})})]})}function gw(){let e=ft(),t=(0,tG.useRef)(null),r=(0,tG.useRef)(null),n=(0,tG.useRef)(null),[o,a]=(0,tG.useState)(0),[i,s]=(0,tG.useState)("00"),l=e.sm.get();return(0,tG.useEffect)(()=>
3265{if(r.current)return;// @ts-ignore 3266let e=r.current=new gv(t.current,{loop:!1});e.on("activeIndexChange",()=>{a(e.realIndex)})},[]),/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-tutorial-tips",children:[/*#__PURE__*/(0,tz.jsx)(hP,{ticks:[500,1,300,1],className:"hd flex flex-col justify-center items-center",children:t=>/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:/*@__PURE__*/tV(np)("invisible pb-4 sm:pb-0 sm:flex items-center",t[0]&&"ani-slide-in-from-bottom"),children:[/*#__PURE__*/(0,tz.jsxs)("span",{children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"pr-5 text-logseq-50/80 inline",children:"Braindump everything into"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"dockify-app-logo inline-block",children:/*#__PURE__*/(0,tz.jsx)(hB,{className:"w-16 h-16"})}),/*#__PURE__*/(0,tz.jsx)("span",{className:"pl-2 text-logseq-50/80 inline",children:"."})]}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"inline-block sm:!hidden",children:"New ideas will pop up with time."})]}),e.sm.get()?null:/*#__PURE__*/(0,tz.jsx)("h2",{className:/*@__PURE__*/tV(np)("invisible",t[1]&&"ani-slide-in-from-bottom"),children:"New ideas will pop up with time."}),/*#__PURE__*/(0,tz.jsx)("h3",{className:/*@__PURE__*/tV(np)("invisible",t[2]&&"ani-fade-in"),children:"Using Logseq helps you organize your thoughts and ideas"}),/*#__PURE__*/(0,tz.jsxs)("h4",{className:/*@__PURE__*/tV(np)("invisible",t[3]&&"ani-fade-in"),children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"so that you can "}),/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-100 pl-1",children:"come up with new outputs more easily."})]})]})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"bd sm:grid grid-cols-2",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"bd-wrapper",children:[/*#__PURE__*/(0,tz.jsx)("div",{ref:t,className:"bd-slides swiper",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"items swiper-wrapper",children:[/*#__PURE__*/(0,tz.jsx)(gb,{isSm:l,inActive:0===o,headEmoji:"âï¸",headTitle:"Beginner",content:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Get in the habit of writing ",l?null:/*#__PURE__*/(0,tz.jsx)("br",{}),"thoughts down every day."]}),tips:["Think in sections, use indentation.","Use links & hashtags."],complete:()=>{r.current?.slideNext()},activeTipChanged:e=>{s?.(`0${e}`)}}),/*#__PURE__*/(0,tz.jsx)(gb,{isSm:l,inActive:1===o,headEmoji:"\uD83D\uDD0Dï¸",headTitle:"Intermediate",content:/*#__PURE__*/(0,tz.jsxs)("span",{children:["Always find what youâre ",l?null:/*#__PURE__*/(0,tz.jsx)("br",{})," looking for."]}),tips:["Use CMD-K to search with ease.",/*#__PURE__*/(0,tz.jsx)("span",{className:"sm:text-lg",children:"Go through linked references to find valuable information nuggets from the past."})],complete:()=>{r.current?.slideNext()},activeTipChanged:e=>{s?.(`1${e}`)}}),/*#__PURE__*/(0,tz.jsx)(gb,{isSm:l,inActive:2===o,headEmoji:"\uD83D\uDCBCï¸",headTitle:"Expert",content:/*#__PURE__*/(0,tz.jsx)("span",{children:"Create your own processes."}),tips:[/*#__PURE__*/(0,tz.jsxs)("span",{children:["Use queries to generate tables of ",l?null:/*#__PURE__*/(0,tz.jsx)("br",{})," relevant information."]}),"Install plugins and customize the app around your workflow needs."],complete:()=>{r.current?.slideTo(0)},activeTipChanged:e=>{s?.(`2${e}`)}})]})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"bd-actions flex",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"prev",title:"Previous",onClick:()=>{if(0==o)return r.current?.slideTo(2);r.current?.slidePrev()},children:/*#__PURE__*/(0,tz.jsx)(h0,{size:26})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"dots flex space-x-3 rounded-2xl bg-gray-700/40 py-2 px-4 items-center",children:[,,,].fill(0).map((e,t)=>/*#__PURE__*/(0,tz.jsx)("i",{className:/*@__PURE__*/tV(np)("w-2 h-2 bg-logseq-100/50 rounded-2xl cursor-pointer select-none hover:opacity-80",t===o&&"!bg-white/90"),onClick:()=>{r.current?.slideTo(t)}},t))}),/*#__PURE__*/(0,tz.jsx)("span",{className:"next",title:"Next",onClick:()=>{if(2==o)return r.current?.slideTo(0);r.current?.slideNext()},children:/*#__PURE__*/(0,tz.jsx)(mt,{size:26})})]})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"bd-info",ref:n,children:/*#__PURE__*/(0,tz.jsx)("div",{className:"flex image-wrap",children:/*#__PURE__*/(0,tz.jsx)("img",{className:"animate-in fade-in-0 duration-1000",src:yT[i],alt:"image"})})})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"ft mt-14 sm:flex sm:h-28 sm:mt-28",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex-1 sm:flex flex-col justify-center items-center sm:border-l sm:border-l-logseq-500",children:[/*#__PURE__*/(0,tz.jsx)("h2",{className:"text-xl sm:text-2xl mt-2 sm:-mt-8",children:"A helpful community"}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"sm:flex sm:space-x-6 py-5",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col space-x-2",children:[/*#__PURE__*/(0,tz.jsx)(nh,{className:"bg-[#5865F2]/75 px-4 sm:px-8",leftIcon:/*#__PURE__*/(0,tz.jsx)(mE,{size:20,weight:"duotone"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(mj,{className:"opacity-40",size:20,weight:"duotone"}),href:"https://discord.gg/VNfUaTtdFb",children:"Join our Discord"}),/*#__PURE__*/(0,tz.jsxs)("span",{className:"text-[12px] flex items-center pt-2 sm:justify-center text-gray-400/80",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"h-2 w-2 bg-green-600 rounded"}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"pl-2 pr-1",children:e.discord?.approximate_presence_count.get()||"-"}),"users online currently"]})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col mt-3 sm:mt-0",children:[/*#__PURE__*/(0,tz.jsx)(nh,{leftIcon:/*#__PURE__*/(0,tz.jsx)(mf,{size:24,weight:"duotone"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(mj,{className:"opacity-40",size:20,weight:"duotone"}),href:"https://discuss.logseq.com",className:"bg-logseq-700 w-full sm:w-auto",children:"Join our forum"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"hidden sm:inline-block text-[11px] pt-2 text-center w-full text-gray-400/80",children:"Feature requests, bugs, discussions"})]})]})]})})]})}var tG=tB("acw62"),gS=Object.defineProperty,gx=Object.defineProperties,gE=Object.getOwnPropertyDescriptors,gC=Object.getOwnPropertySymbols,gA=Object.prototype.hasOwnProperty,gk=Object.prototype.propertyIsEnumerable,g_=(e,t,r)=>t in e?gS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gI=(e,t)=>{for(var r in t||(t={}))gA.call(t,r)&&g_(e,r,t[r]);if(gC)for(var r of gC(t))gk.call(t,r)&&g_(e,r,t[r]);return e},gT=(e,t)=>
3266gx(e,gE(t));const gP=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Zm40.49-92.49a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L144,143l39.51-39.52A12,12,0,0,1,200.49,103.51Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Zm37.66-93.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L144,148.69l42.34-42.35A8,8,0,0,1,197.66,106.34Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M247.93,124.52C246.11,77.54,207.07,40,160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160A88.09,88.09,0,0,0,247.93,124.52Zm-50.27-6.86-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L144,148.69l42.34-42.35a8,8,0,0,1,11.32,11.32Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Zm36.24-94.24a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L144,151.51l43.76-43.75A6,6,0,0,1,196.24,107.76Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Zm37.66-93.66a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L144,148.69l42.34-42.35A8,8,0,0,1,197.66,106.34Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Zm34.83-94.83a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L144,154.34l45.17-45.17A4,4,0,0,1,194.83,109.17Z"}))]]),gN=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,gT(gI({ref:t},e),{weights:gP})));gN.displayName="CloudCheck";var tG=tB("acw62"),gO=Object.defineProperty,gM=Object.defineProperties,gj=Object.getOwnPropertyDescriptors,gF=Object.getOwnPropertySymbols,gR=Object.prototype.hasOwnProperty,gU=Object.prototype.propertyIsEnumerable,gL=(e,t,r)=>t in e?gO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gD=(e,t)=>{for(var r in t||(t={}))gR.call(t,r)&&gL(e,r,t[r]);if(gF)for(var r of gF(t))gU.call(t,r)&&gL(e,r,t[r]);return e},gV=(e,t)=>gM(e,gj(t));const gH=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,12H80A28,28,0,0,0,52,40V216a28,28,0,0,0,28,28h96a28,28,0,0,0,28-28V40A28,28,0,0,0,176,12ZM76,76H180V180H76Zm4-40h96a4,4,0,0,1,4,4V52H76V40A4,4,0,0,1,80,36Zm96,184H80a4,4,0,0,1-4-4V204H180v12A4,4,0,0,1,176,220Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M192,56V200H64V56Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16ZM72,64H184V192H72Zm8-32h96a8,8,0,0,1,8,8v8H72V40A8,8,0,0,1,80,32Zm96,192H80a8,8,0,0,1-8-8v-8H184v8A8,8,0,0,1,176,224Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16ZM80,32h96a8,8,0,0,1,8,8v8H72V40A8,8,0,0,1,80,32Zm96,192H80a8,8,0,0,1-8-8v-8H184v8A8,8,0,0,1,176,224Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,18H80A22,22,0,0,0,58,40V216a22,22,0,0,0,22,22h96a22,22,0,0,0,22-22V40A22,22,0,0,0,176,18ZM70,62H186V194H70ZM80,30h96a10,10,0,0,1,10,10V50H70V40A10,10,0,0,1,80,30Zm96,196H80a10,10,0,0,1-10-10V206H186v10A10,10,0,0,1,176,226Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16ZM72,64H184V192H72Zm8-32h96a8,8,0,0,1,8,8v8H72V40A8,8,0,0,1,80,32Zm96,192H80a8,8,0,0,1-8-8v-8H184v8A8,8,0,0,1,176,224Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M176,20H80A20,20,0,0,0,60,40V216a20,20,0,0,0,20,20h96a20,20,0,0,0,20-20V40A20,20,0,0,0,176,20Z
3266M68,60H188V196H68ZM80,28h96a12,12,0,0,1,12,12V52H68V40A12,12,0,0,1,80,28Zm96,200H80a12,12,0,0,1-12-12V204H188v12A12,12,0,0,1,176,228Z"}))]]),gZ=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,gV(gD({ref:t},e),{weights:gH})));gZ.displayName="DeviceMobile";var tG=tB("acw62"),gB=Object.defineProperty,gz=Object.defineProperties,gW=Object.getOwnPropertyDescriptors,gG=Object.getOwnPropertySymbols,gq=Object.prototype.hasOwnProperty,gY=Object.prototype.propertyIsEnumerable,g$=(e,t,r)=>t in e?gB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,gK=(e,t)=>{for(var r in t||(t={}))gq.call(t,r)&&g$(e,r,t[r]);if(gG)for(var r of gG(t))gY.call(t,r)&&g$(e,r,t[r]);return e},gJ=(e,t)=>gz(e,gW(t));const gQ=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
3266Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
3266Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),gX=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,gJ(gK({ref:t},e),{weights:gQ})));gX.displayName="FileText";var tG=tB("acw62"),g0=Object.defineProperty,g1=Object.defineProperties,g2=Object.getOwnPropertyDescriptors,g8=Object.getOwnPropertySymbols,g6=Object.prototype.hasOwnProperty,g4=Object.prototype.propertyIsEnumerable,g3=(e,t,r)=>t in e?g0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g5=(e,t)=>{for(var r in t||(t={}))g6.call(t,r)&&g3(e,r,t[r]);if(g8)for(var r of g8(t))g4.call(t,r)&&g3(e,r,t[r]);return e},g7=(e,t)=>g1(e,g2(t));const g9=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,
3266112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z"}))]]),ve=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,g7(g5({ref:t},e),{weights:g9})));ve.displayName="GithubLogo";var tG=tB("acw62"),vt=Object.defineProperty,vr=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,vo=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,vs=(e,t,r)=>t in e?vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vl=(e,t)=>{for(var r in t||(t={}))va.call(t,r)&&vs(e,r,t[r]);if(vo)for(var r of vo(t))vi.call(t,r)&&vs(e,r,t[r]);return e},vu=(e,t)=>vr(e,vn(t));const vc=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20ZM107.07,172h41.86A115.75,115.75,0,0,1,128,209.85,115.75,115.75,0,0,1,107.07,172Zm-5.66-24a142.55,142.55,0,0,1,0-40h53.18a142.55,142.55,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.22a164.54,164.54,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128ZM148.93,84H107.07A115.75,115.75,0,0,1,128,46.15,115.75,115.75,0,0,1,148.93,84Zm29.85,24h30.79a83.52,83.52,0,0,1,0,40H178.78a164.54,164.54,0,0,0,0-40Zm20.74-24H174a148.59,148.59,0,0,0-13.95-33.63A84.5,84.5,0,0,1,199.52,84ZM96,50.37A148.59,148.59,0,0,0,82,84H56.48A84.5,84.5,0,0,1,96,50.37ZM56.48,172H82a148.59,148.59,0,0,0,14,33.63A84.5,84.5,0,0,1,56.48,172Zm103.57,33.63A148.59,148.59,0,0,0,174,172h25.52A84.5,84.5,0,0,1,160.05,205.63Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM101.63,168h52.74C149,186.34,140,202.87,128,215.89,116,202.87,107,186.34,101.63,168ZM98,152a145.72,145.72,0,0,1,0-48h60a145.72,145.72,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.79a161.79,161.79,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154.37,88H101.63C107,69.66,116,53.13,128,40.11,140,53.13,149,69.66,154.37,88Zm19.84,16h38.46a88.15,88.15,0,0,1,0,48H174.21a161.79,161.79,0,0,0,0-48Zm32.16-16H170.94a142.39,142.39,0,0,0-20.26-45A88.37,88.37,0,0,1,206.37,88ZM105.32,43A142.39,142.39,0,0,0,85.06,88H49.63A88.37,88.37,0,0,1,105.32,43ZM49.63,168H85.06a142.39,142.39,0,0,0,20.26,45A88.37,88.37,0,0,1,49.63,168Zm101.05,45a142.39,142.39,0,0,0,20.26-45h35.43A88.37,88.37,0,0,1,150.68,213Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm78.37,64H170.94a142.39,142.39,0,0,0-20.26-45A88.37,88.37,0,0,1,206.37,88ZM128,40.11c12,13,21,29.5
32665,26.37,47.89H101.63C107,69.66,116,53.13,128,40.11ZM96,128a145.29,145.29,0,0,1,2-24h60a145.72,145.72,0,0,1,0,48H98A145.29,145.29,0,0,1,96,128Zm5.63,40h52.74C149,186.34,140,202.87,128,215.89,116,202.87,107,186.34,101.63,168Zm49.05,45a142.39,142.39,0,0,0,20.26-45h35.43A88.37,88.37,0,0,1,150.68,213Zm23.53-61a161.79,161.79,0,0,0,0-48h38.46a88.15,88.15,0,0,1,0,48Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.39a139.15,139.15,0,0,0-23.45-50.2A90.32,90.32,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.86a159,159,0,0,0,0-52h42.31A89.7,89.7,0,0,1,218,128Zm-90,90a1.75,1.75,0,0,1-1.32-.59C113.8,203.54,104.34,185.73,99,166h58c-5.34,19.73-14.8,37.54-27.68,51.41A1.75,1.75,0,0,1,128,218ZM96.31,154a147.48,147.48,0,0,1,0-52h63.38a147.48,147.48,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.14a159,159,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-90a1.75,1.75,0,0,1,1.32.59C142.2,52.46,151.66,70.27,157,90H99c5.34-19.73,14.8-37.54,27.68-51.41A1.75,1.75,0,0,1,128,38Zm-17.94,1.8A139.15,139.15,0,0,0,86.61,90H46.43A90.32,90.32,0,0,1,110.06,39.8ZM46.43,166H86.61a139.15,139.15,0,0,0,23.45,50.2A90.32,90.32,0,0,1,46.43,166Zm99.51,50.2A139.15,139.15,0,0,0,169.39,166h40.18A90.32,90.32,0,0,1,145.94,216.2Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM101.63,168h52.74C149,186.34,140,202.87,128,215.89,116,202.87,107,186.34,101.63,168ZM98,152a145.72,145.72,0,0,1,0-48h60a145.72,145.72,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.79a161.79,161.79,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154.37,88H101.63C107,69.66,116,53.13,128,40.11,140,53.13,149,69.66,154.37,88Zm19.84,16h38.46a88.15,88.15,0,0,1,0,48H174.21a161.79,161.79,0,0,0,0-48Zm32.16-16H170.94a142.39,142.39,0,0,0-20.26-45A88.37,88.37,0,0,1,206.37,88ZM105.32,43A142.39,142.39,0,0,0,85.06,88H49.63A88.37,88.37,0,0,1,105.32,43ZM49.63,168H85.06a142.39,142.39,0,0,0,20.26,45A88.37,88.37,0,0,1,49.63,168Zm101.05,45a142.39,142.39,0,0,0,20.26-45h35.43A88.37,88.37,0,0,1,150.68,213Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm87.64,128H169.49a157.43,157.43,0,0,0,0-56h46.15a92.09,92.09,0,0,1,0,56ZM128,220a3.76,3.76,0,0,1-2.78-1.23c-13.65-14.7-23.52-33.72-28.81-54.77h63.18c-5.29,21.05-15.16,40.07-28.81,54.77A3.76,3.76,0,0,1,128,220ZM94.65,156a149.25,149.25,0,0,1,0-56h66.7a149.25,149.25,0,0,1,0,56ZM128,36a3.76,3.76,0,0,1,2.78,1.23C144.43,51.93,154.3,71,159.59,92H96.41c5.29-21,15.16-40.07,28.81-54.77A3.76,3.76,0,0,1,128,36Zm84.66,56H167.81c-4.91-20.73-14-39.72-26.66-55.06A92.3,92.3,0,0,1,212.66,92ZM114.85,36.94C102.22,52.28,93.1,71.27,88.19,92H43.34A92.3,92.3,0,0,1,114.85,36.94ZM40.36,100H86.51a157.43,157.43,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64H88.19c4.91,20.73,14,39.72,26.66,55.06A92.3,92.3,0,0,1,43.34,164Zm97.81,55.06c12.63-15.34,21.75-34.33,26.66-55.06h44.85A92.3,92.3,0,0,1,141.15,219.06Z"}))]]),vd=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,vu(vl({ref:t},e),{weights:vc})));vd.displayName="Globe";var tG=tB("acw62"),vf=Object.defineProperty,vp=Object.defineProperties,vh=Object.getOwnPropertyDescriptors,vm=Object.getOwnPropertySymbols,vg=Object.prototype.hasOwnProperty,vv=Object.prototype.propertyIsEnumerable,vy=(e,t,r)=>t in e?vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vb=(e,t)=>{for(var r in t||(t={}))vg.call(t,r)&&vy(e,r,t[r]);if(vm)for(var r of vm(t))vv.call(t,r)&&vy(e,r,t[r]);return e},vw=(e,t)=>vp(e,vh(t));const vS=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M81.61,247.27a12,12,0,0,1-16.8,2.41A131.23,131.23,0,0,1,29.67,210a12,12,0,1,1,20.79-12,107.45,107.45,0,0,0,28.73,32.48A12,12,0,0,1,81.61,247.27ZM223.66,98A92,92,0,0,1,64.31,190l-38-65.82A32,32,0,0,1,45.46,77.33L45,76.46A32,32,0,0,1,81,29.55,31.7,31.7,0,0,1,90.62,34,32,32,0,0,1,143,38.31L155.52,60a32,32,0,0,1,50.14,6.84Zm-20.78,12-18-31.18a8,8,0,0,0-13.87,8h0l10,17.31a12,12,0,0,1-4.39,16.39,28,28,0,0,0-10.25,38.25,12,12,0,0,1-20.79,12A52.09,52.09,0,0,1,154.93,107L122.24,50.31a8,8,0,0,0-13.86,8l26,45a12,12,0,0,1-20.79,12l-34-58.89a8,8,0,0,0-10.92-2.93,8,8,0,0,0-2.93,10.93l38,65.81a12,12,0,1,1-20.79,12l-22-38.1a8,8,0,1,0-13.85,8L85.1,178a68,68,0,0,0,117.78-68ZM240.3,46.81a71.5,71.5,0,0,0-43.72-33.55,12,12,0,0,0-6.21,23.19,47.65,47.65,0,0,1,29.15,22.36,12,12,0,1,0,20.78-12Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M213.27,104l-18-31.18a20,20,0,0,0-34.64,20l-28-48.5A20,20,0,0,0,98,64.31L90,50.46a20,20,0,0,0-34.64,20l12,20.83-1.17,1A20,20,0,0,0,36.7,118.17L74.7,184a80,80,0,0,0,138.57-80Zm-57.59,60.64.17-.1.14.24Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M220.2,100l-18-31.18a28,28,0,0,0-47.3-1.92L139.56,40.31a28,28,0,0,0-48.12-.63,28,28,0,0,0-43,34.78l3.34,5.79a28,28,0,0,0-22,41.92l38,65.82a87.46,87.46,0,0,0,53.43,41,88.56,88.56,0,0,0,22.92,3A88,88,0,0,0,220.2,100Zm-6.67,62.63A72,72,0,0,1,81.63,180l-38-65.82a12,12,0,0,1,20.79-12l22,38.1a8,8,0,1,0,13.85-8l-38-65.81a12,12,0,0,1,13.5-17.59,11.9,11.9,0,0,1,7.29,5.59l34,58.89a8,8,0,0,0,13.85-8l-26-45h0a12,12,0,0,1,20.78-12L160,107.78a48.08,48.08,0,0,0-11,61,8,8,0,0,0,13.86-8,32,32,0,0,1,11.71-43.71,8,8,0,0,0,2.93-10.93l-10-17.32a12,12,0,0,1,20.78-12l18,31.18A71.49,71.49,0,0,1,213.53,162.62ZM184.27,29.93a8,8,0,0,1,9.8-5.66c15.91,4.27,29,14.11,36.86,27.73a8,8,0,0,1-13.86,8c-5.72-9.92-15.36-17.12-27.14-20.27A8,8,0,0,1,184.27,29.93ZM80.91,237a8,8,0,0,1-11.24,1.33c-11-8.69-20.11-19.58-28.6-34.28a8,8,0,0,1,13.86-8c7.44,12.88,15.27,22.32,24.65,29.72A8,8,0,0,1,80.91,237Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M184.27,29.93a8,8,0,0,1,9.8-5.66c15.9,4.27,29,14.11,36.86,27.73a8,8,0,0,1-13.86,8c-5.72-9.92-15.36-17.12-27.14-20.27A8,8,0,0,1,184.27,29.93ZM79.58,225.72c-9.38-7.4-17.22-16.84-24.65-29.72a8,8,0,0,0-13.86,8c8.49,14.7,17.57,25.59,28.6,34.28a8,8,0,0,0,9.91-12.56ZM196.19,58.42a16,16,0,1,0-27.71,16l16,27.71a8,8,0,0,1-2.93,10.93,32,32,0,0,0-11.71,43.71,8,8,0,0,1-13.86,8,48.07,48.07,0,0,1,11-61L126.63,33.92a16,16,0,0,0-27.72,16l32,55.43a8,8,0,0,1-13.85,8l-40-69.29a16,16,0,0,0-27.72,16l44,76.21a8,8,0,1,1-13.85,8l-28-48.49a16,16,0,1,0-27.72,16l44,76.21a88,88,0,0,0,152.42-88Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M186.2,30.45a6,6,0,0,1,7.35-4.24c15.39,4.12,28,13.64,35.65,26.79a6,6,0,0,1-10.4,6c-6-10.38-16.06-17.91-28.35-21.2A6,6,0,0,1,186.2,30.45ZM78.34,227.29C68.75,219.73,60.76,210.11,53.2,197a6,6,0,0,0-10.4,6c8.36,14.47,17.29,25.18,28.11,33.71a6,6,0,1,0,7.43-9.42Zm148.72-61A86.12,86.12,0,0,1,144.13,230a86.71,86.71,0,0,1-22.4-3A85.45,85.45,0,0,1,69.51,187l-38-65.82a26,26,0,0,1,23.68-39l-5-8.73A26,26,0,0,1,91.92,43a26,26,0,0,1,45.9-1.67l17.05,29.52a26,26,0,0,1,45.59-1l18,31.18A85.45,85.45,0,0,1,227.06,166.25Zm-19-59.26-18-31.18a14,14,0,1,0-24.25,14l10,17.32a6,6,0,0,1-2.19,8.2,34,34,0,0,0-12.45,46.44,6,6,0,1,1-10.39,6,46.08,46.08,0,0,1,11.84-59.5l-35.2-61a14,14,0,0,0-24.25,14l26,45a6,6,0,1,1-10.39,6l-34-58.89a14,14,0,1,0-24.25,14l38,65.81a6,6,0,1,1-10.39,6l-22-38.1a14,14,0,1,0-24.25,14L79.9,181a74,74,0,0,0,128.17-74Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220.2,100l-18-31.18a28,28,0,0,0-47.3-1.92L139.56,40.31a28,28,0,0,0-48.12-.63,28,28,0,0,0-43,34.78l3.34,5.79a28,28,0,0,0-22,41.92l38,65.82a87.46,87.46,0,0,0,53.43,41,88.56,88.56,0,0,0,22.92,3A88,88,0,0,0,220.2,100Zm-6.67,62.63A72,72,0,0,1,81.63,180l-38-65.82a12,12,0,0,1,20.79-12l22,38.1a8,8,0,1,0,13.85-8l-38-65.81a12,12,0,0,1,13.5-17.59,11.9,11.9,0,0,1,7.29,5.59l34,58.89a8,8,0,0,0,13.85-8l-26-45h0a12,12,0,0,1,20.78-12L160,107.78a48.08,48.08,0,0,0-11,61,8,8,0,0,0,13.86-8,32,32,0,0,1,11.71-43.71,8,8,0,0,0,2.93-10.93l-10-17.32a12,12,0,0,1,20.78-12l18,31.18A71.49,71.49,0,0,1,213.53,162.62ZM184.27,29.93a8,8,0,0,1,9.8-5.66c15.91,4.27,29,14.11,36.86,27.73a8,8,0,0,1-13.86,8c-5.72-9.92-15.36-17.12-27.14-20.27A8,8,0,0,1,184.27,29.93ZM80.91,237a8,8,0,0,1-11.24,1.33c-11-8.69-20.11-19.58-28.6-34.28a8,8,0,0,1,13.86-8c7.44,12.88,15.27,22.32,24.65,29.72A8,8,0,0,1,80.91,237Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M188.14,31a4,4,0,0,1,4.9-2.83c14.87,4,27.1,13.17,34.42,25.86a4,4,0,1,1-6.92,4C214.28,47.16,203.77,39.3,191,35.86A4,4,0,0,1,188.14,31ZM77.1,228.86c-9.79-7.72-17.94-17.53-25.64-30.86a4,4,0,0,0-6.92,4c8.22,14.24,17,24.77,27.61,33.14a4,4,0,0,0,2.47.86,4,4,0,0,0,2.48-7.14Zm148-63.13a84.09,84.09,0,0,1-81,62.29,84.37,84.37,0,0,1-21.87-2.9,83.41,83.41,0,0,1-51-39.13l-38-65.82a24,24,0,0,1,25.7-35.49L51.88,72.46A24,24,0,0,1,92.48,47a24,24,0,0,1,43.61-4.64l19.08,33a24,24,0,0,1,43.56-4.54l18,31.18A83.43,83.43,0,0,1,225.12,165.73ZM209.8,106l-18-31.18a16,16,0,1,0-27.71,16l10,17.32a4,4,0,0,1-1.46,5.47,36,36,0,0,0-13.18,49.17,4,4,0,1,1-6.93,4,44.07,44.07,0,0,1,12.73-58L129.16,46.31a16,16,0,0,0-27.71,16l26,45a4,4,0,0,1-6.93,4l-34-58.89a16,16,0,1,0-27.71,16l38,65.81a4,4,0,1,1-6.93,4l-22-38.1a16,16,0,1,0-27.71,16l38,65.82A76,76,0,1,0,209.8,106Z"}))]]),vx=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,vw(vb({ref:t},e),{weights:vS})));vx.displayName="HandWaving";var tG=tB("acw62"),vE=Object.defineProperty,vC=Object.defineProperties,vA=Object.getOwnPropertyDescriptors,vk=Object.getOwnPropertySymbols,v_=Object.prototype.hasOwnProperty,vI=Object.prototype.propertyIsEnumerable,vT=(e,t,r)=>t in e?vE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vP=(e,t)=>{for(var r in t||(t={}))v_.call(t,r)&&vT(e,r,t[r]);if(vk)for(var r of vk(t))vI.call(t,r)&&vT(e,r,t[r]);return e},vN=(e,t)=>vC(e,vA(t));const vO=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm0-144a44,44,0,0,0-32.94,73.16l-9.92,24.92A16,16,0,0,0,100,188h56a16,16,0,0,0,14.86-21.92l-9.92-24.92A44,44,0,0,0,128,68Zm7.59,74.38L144.2,164H111.8l8.61-21.62a12,12,0,0,0-4.11-14.16,20,20,0,1,1,23.4,0A12,12,0,0,0,135.59,142.38Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M156,176H100a4,4,0,0,1-3.71-5.48l13-32.58a32,32,0,1,1,37.48,0l13,32.58A4,4,0,0,1,156,176Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm0-144a40,40,0,0,0-28.28,68.28L88.86,167.56A12,12,0,0,0,100,184h56a12,12,0,0,0,11.14-16.44l-10.86-27.28A40,40,0,0,0,128,72Zm11.31,68.9L150.1,168H105.9l10.79-27.1a8,8,0,0,0-2.74-9.44,24,24,0,1,1,28.1,0A8,8,0,0,0,139.31,140.9Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm22.58-80,12.56,31.55A12,12,0,0,1,152,184H104a12,12,0,0,1-11.14-16.44L105.42,136a36,36,0,1,1,45.16,0Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm38-106a38,38,0,1,0-63.93,27.78L90.71,168.3A10,10,0,0,0,100,182h56a10,10,0,0,0,9.29-13.7l-11.36-28.52A38.14,38.14,0,0,0,166,112Zm-22.78,21.08a6,6,0,0,0-2.06,7.08L153.05,170H103l11.89-29.84a6,6,0,0,0-2.06-7.08,26,26,0,1,1,30.44,0Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm0-144a40,40,0,0,0-28.28,68.28L88.86,167.56A12,12,0,0,0,100,184h56a12,12,0,0,0,11.14-16.44l-10.86-27.28A40,40,0,0,0,128,72Zm11.31,68.9L150.1,168H105.9l10.79-27.1a8,8,0,0,0-2.74-9.44,24,24,0,1,1,28.1,0A8,8,0,0,0,139.31,140.9Zm13,32.58Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm36-108a36,36,0,1,0-59.55,27.22L92.57,169A8,8,0,0,0,100,180h56a8,8,0,0,0,7.43-11l-11.88-29.82A36.11,36.11,0,0,0,164,112Zm-21,27.42L156,172H100l13-32.58a4,4,0,0,0-1.37-4.72,28,28,0,1,1,32.78,0A4,4,0,0,0,143,139.42Z"}))]]),vM=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,vN(vP({ref:t},e),{weights:vO})));vM.displayName="Keyhole";var tG=tB("acw62"),vj=Object.defineProperty,vF=Object.defineProperties,vR=Object.getOwnPropertyDescriptors,vU=Object.getOwnPropertySymbols,vL=Object.prototype.hasOwnProperty,vD=Object.prototype.propertyIsEnumerable,vV=(e,t,r)=>t in e?vj(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vH=(e,t)=>{for(var r in t||(t={}))vL.call(t,r)&&vV(e,r,t[r]);
3266if(vU)for(var r of vU(t))vD.call(t,r)&&vV(e,r,t[r]);return e},vZ=(e,t)=>vF(e,vR(t));const vB=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M222.41,155.16a12,12,0,0,0-11.56-.69A16,16,0,0,1,188,139,16.2,16.2,0,0,1,202.8,124a15.83,15.83,0,0,1,8,1.5A12,12,0,0,0,228,114.7V72a20,20,0,0,0-20-20H176a40.15,40.15,0,0,0-12.62-29.16,39.67,39.67,0,0,0-29.94-10.76,40.08,40.08,0,0,0-37.34,37C96,50.07,96,51,96,52H64A20,20,0,0,0,44,72v28a40.15,40.15,0,0,0-29.16,12.62A40,40,0,0,0,41.1,179.9a28.3,28.3,0,0,0,2.9.1v28a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V165.31A12,12,0,0,0,222.41,155.16ZM204,204H68V165.31a12,12,0,0,0-17.15-10.84A15.9,15.9,0,0,1,42.8,156,16.2,16.2,0,0,1,28,141.06a16,16,0,0,1,22.82-15.52A12,12,0,0,0,68,114.7V76h42.7a12,12,0,0,0,10.83-17.15A15.9,15.9,0,0,1,120,50.8,16.19,16.19,0,0,1,134.94,36a16,16,0,0,1,15.53,22.81A12,12,0,0,0,161.31,76H204v24c-1,0-1.93,0-2.9.11A40,40,0,0,0,204,180h0Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M165.78,224H208a16,16,0,0,0,16-16V170.35A8,8,0,0,0,212.94,163a23.37,23.37,0,0,1-8.94,1.77c-13.23,0-24-11.1-24-24.73s10.77-24.73,24-24.73a23.37,23.37,0,0,1,8.94,1.77A8,8,0,0,0,224,109.65V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36,36,0,0,0-72,0,35.36,35.36,0,0,0,.22,4H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36,36,0,0,0,0,72,35.36,35.36,0,0,0,4-.22V208a16,16,0,0,0,16,16h42.22"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M219.21,160.24a6,6,0,0,0-5.78-.35,22,22,0,1,1-11.05-41.83,22.15,22.15,0,0,1,11.05,2.06A6,6,0,0,0,222,114.7V72a14,14,0,0,0-14-14H169.48a35,35,0,0,0,.52-6,34.1,34.1,0,0,0-10.73-24.78,33.64,33.64,0,0,0-25.45-9.15A34,34,0,0,0,102.54,58H64A14,14,0,0,0,50,72v34.53a34,34,0,0,0-30.79,10.2,34,34,0,0,0,22.31,57.18,34.34,34.34,0,0,0,8.48-.44V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V165.31A6,6,0,0,0,219.21,160.24ZM210,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V165.31a6,6,0,0,0-6-6,5.92,5.92,0,0,0-2.57.58,22,22,0,0,1-31.38-18.46,22,22,0,0,1,31.38-21.31A6,6,0,0,0,62,114.7V72a2,2,0,0,1,2-2h46.69a6,6,0,0,0,5.42-8.57,22.25,22.25,0,0,1-2-11,22,22,0,1,1,41.83,11A6,6,0,0,0,161.3,70H208a2,2,0,0,1,2,2v34.54a34,34,0,0,0-39.93,31.28,33.71,33.71,0,0,0,9.14,25.45A34.15,34.15,0,0,0,210,173.48Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.11,36.11,0,0,0-11.36-26.24,36,36,0,0,0-60.55,23.62,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,35.68,35.68,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M218.14,161.93a4,4,0,0,0-3.86-.24,24,24,0,0,1-34.23-23.25,24,24,0,0,1,34.23-20.13A4,4,0,0,0,220,114.7V72a12,12,0,0,0-12-12H167a32,32,0,1,0-62.91-10.33A32.57,32.57,0,0,0,105,60H64A12,12,0,0,0,52,72v37a32,32,0,1,0-10.33,62.91A32.28,32.28,0,0,0,52,171v37a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V165.31A4,4,0,0,0,218.14,161.93ZM212,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V165.31a4,4,0,0,0-1.86-3.38,4,4,0,0,0-3.85-.24,24,24,0,0,1-34.24-20.13,24,24,0,0,1,34.24-23.25A4,4,0,0,0,60,114.7V72a4,4,0,0,1,4-4h46.69a4,4,0,0,0,3.62-5.71,24,24,0,0,1,20.13-34.24,24,24,0,0,1,23.25,34.24A4,4,0,0,0,161.31,68H208a4,4,0,0,1,4,4v37a32.57,32.57,0,0,0-10.33-.94A32,32,0,1,0,212,171Z"}))]]),vz=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,vZ(vH({ref:t},e),{weights:vB})));
3266vz.displayName="PuzzlePiece";var tG=tB("acw62"),vW=Object.defineProperty,vG=Object.defineProperties,vq=Object.getOwnPropertyDescriptors,vY=Object.getOwnPropertySymbols,v$=Object.prototype.hasOwnProperty,vK=Object.prototype.propertyIsEnumerable,vJ=(e,t,r)=>t in e?vW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vQ=(e,t)=>{for(var r in t||(t={}))v$.call(t,r)&&vJ(e,r,t[r]);if(vY)for(var r of vY(t))vK.call(t,r)&&vJ(e,r,t[r]);return e},vX=(e,t)=>vG(e,vq(t));const v0=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M234.79,149.32,215.7,97.11A20,20,0,0,0,190.12,85.2l-61.31,22.22L139.7,45.18A20,20,0,0,0,123.55,22L68.87,12.31A19.94,19.94,0,0,0,45.76,28.55l-25,143.13A48,48,0,0,0,59.4,227.26a51.19,51.19,0,0,0,8.7.74H216a20,20,0,0,0,20-20V156.19A21.74,21.74,0,0,0,234.79,149.32ZM91,184.18a23.84,23.84,0,0,1-9.86,15.56,23.28,23.28,0,0,1-17.56,3.89,24,24,0,0,1-19.23-27.82L68.71,36.66,115.37,45,91,184.18Zm23.64,4.13,9.39-53.64,70.49-25.54,16.3,44.59-96.23,34.87C114.62,188.5,114.65,188.41,114.66,188.31ZM212,204H142.52L212,178.82ZM81.22,174.07l-1.4,8A12,12,0,0,1,68,192a12.35,12.35,0,0,1-2.08-.18,12,12,0,0,1-9.75-13.89l1.4-8a12,12,0,0,1,23.64,4.14Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M127.88,43.11l-25,143.14a35.71,35.71,0,0,1-41.34,29.2h0a36,36,0,0,1-28.95-41.71l25-143.13a8,8,0,0,1,9.19-6.49l54.67,9.73A8,8,0,0,1,127.88,43.11Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M80,180a12,12,0,1,1-12-12A12,12,0,0,1,80,180Zm152-23.81V208a16,16,0,0,1-16,16H68a46.36,46.36,0,0,1-7.94-.68,44,44,0,0,1-35.43-50.95l25-143.13a15.94,15.94,0,0,1,18.47-13L122.84,26a16,16,0,0,1,12.92,18.52l-12.08,69L191.49,89a16,16,0,0,1,20.45,9.52L231,150.69A18.35,18.35,0,0,1,232,156.19ZM95,184.87,120,41.74,65.46,32l-25,143.1A28,28,0,0,0,62.9,207.57,27.29,27.29,0,0,0,83.46,203,27.84,27.84,0,0,0,95,184.87ZM108.78,195,216,156.11,196.92,104,120.5,131.7l-9.78,55.92A44.63,44.63,0,0,1,108.78,195ZM216,173.12,119.74,208H216Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M232,155.91a16,16,0,0,0-1-5.22L211.94,98.48A16,16,0,0,0,191.49,89l-67.81,24.57,12.08-69A16,16,0,0,0,122.84,26L68.17,16.25a15.94,15.94,0,0,0-18.47,13l-25,143.12A43.82,43.82,0,0,0,67.78,224H216a16,16,0,0,0,16-16ZM68,196a16,16,0,1,1,16-16A16,16,0,0,1,68,196Zm42.72-8.38,9.78-55.92L196.92,104,216,156.11,108.78,195A44.89,44.89,0,0,0,110.72,187.62ZM216,208H119.74L216,173.11Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M78,180a10,10,0,1,1-10-10A10,10,0,0,1,78,180Zm152-23.81V208a14,14,0,0,1-14,14H68a44.18,44.18,0,0,1-7.58-.65,42,42,0,0,1-33.81-48.64l25-143.13A13.94,13.94,0,0,1,67.82,18.22l54.67,9.72a14,14,0,0,1,11.3,16.21l-12.67,72.44,71-25.75a14,14,0,0,1,17.89,8.32l19.09,52.22A15.66,15.66,0,0,1,230,156.19Zm-133.07,29L122,42.08a2,2,0,0,0-1.58-2.32L65.72,30l-.34,0a1.84,1.84,0,0,0-1.07.35,2,2,0,0,0-.82,1.3l-25,143.13a30,30,0,0,0,24.09,34.76,29.25,29.25,0,0,0,22-4.89,29.81,29.81,0,0,0,12.33-19.44Zm8.25,13.17L216.71,158a2,2,0,0,0,1.11-1,1.86,1.86,0,0,0,.06-1.46l-19.09-52.21a2,2,0,0,0-2.53-1.17l-77.53,28.09-10,57.07A41.9,41.9,0,0,1,105.18,198.38ZM218,170.27,108.35,210H216a2,2,0,0,0,2-2Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M80,180a12,12,0,1,1-12-12A12,12,0,0,1,80,180Zm152-23.81V208a16,16,0,0,1-16,16H68a46.36,46.36,0,0,1-7.94-.68,44,44,0,0,1-35.43-50.95l25-143.13a15.94,15.94,0,0,1,18.47-13L122.84,26a16,16,0,0,1,12.92,18.52l-12.08,69L191.49,89a16,16,0,0,1,20.45,9.52L231,150.69A18.35,18.35,0,0,1,232,156.19ZM95,184.87,120,41.74,65.46,32l-25,143.1A28,28,0,0,0,62.9,207.57,27.29,27.29,0,0,0,83.46,203,27.84,27.84,0,0,0,95,184.87ZM108.78,195,216,156.11,196.92,104,120.5,131.7l-9.78,55.92A44.63,44.63,0,0,1,108.78,195ZM216,173.12,119.74,208H216Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M227.27,152.07,208.19,99.85a12,12,0,0,0-15.34-7.13l-74.3,26.92,13.27-75.83a12,12,0,0,0-9.68-13.9L67.47,20.19a11.75,11.75,0,0,0-8.89,2,11.9,11.9,0,0,0-4.94,7.77l-25,143.13A40,40,0,0,0,60.8,219.39,42.68,42.68,0,0,0,68,220H216a12,12,0,0,0,12-12V156.19A14,14,0,0,0,227.27,152.07Zm-31.7-51.83a4,4,0,0,1,5.1,2.36l19.09,52.21a3.9,3.9,0,0,1-.13,3,3.94,3.94,0,0,1-2.24,2L100.78,202.11a40,40,0,0,0,6-15.17L117,128.73ZM85.75,206.29a31.25,31.25,0,0,1-23.55,5.22,32,32,0,0,1-25.71-37.08l25-143.13a4,4,0,0,1,1.64-2.59A3.85,3.85,0,0,1,65.38,28a4,4,0,0,1,.69.06l54.67,9.73a4,4,0,0,1,3.2,4.64l-25,143.13h0A31.79,31.79,0,0,1,85.75,206.29ZM220,208a4,4,0,0,1-4,4H97l123-44.59ZM76,180a8,8,0,1,1-8-8A8,8,0,0,1,76,180Z"}))]]),v1=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,vX(vQ({ref:t},e),{weights:v0})));v1.displayName="Swatches";var tG=tB("acw62"),v2=Object.defineProperty,v8=Object.defineProperties,v6=Object.getOwnPropertyDescriptors,v4=Object.getOwnPropertySymbols,v3=Object.prototype.hasOwnProperty,v5=Object.prototype.propertyIsEnumerable,v7=(e,t,r)=>t in e?v2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v9=(e,t)=>
3266{for(var r in t||(t={}))v3.call(t,r)&&v7(e,r,t[r]);if(v4)for(var r of v4(t))v5.call(t,r)&&v7(e,r,t[r]);return e},ye=(e,t)=>v8(e,v6(t));const yt=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M251.09,67.41A12,12,0,0,0,240,60H211.82a52.73,52.73,0,0,0-43.67-24,50.85,50.85,0,0,0-36.6,14.85A51.87,51.87,0,0,0,116,88v.78c-36.83-11.57-66.38-40.9-66.7-41.23a12,12,0,0,0-20.47,7.38C22.52,125.1,53.48,162.72,70.89,178.05,56.4,192.83,36,200.68,35.8,200.76A12,12,0,0,0,30,218.66C32,221.55,43.44,236,80,236c72.25,0,132.7-55.26,139.6-126.63l28.88-28.88A12,12,0,0,0,251.09,67.41ZM199.52,95.52a11.93,11.93,0,0,0-3.49,7.72C192.14,164.23,141.18,212,80,212a90.78,90.78,0,0,1-12.49-.79C78,204.55,89.72,195.07,98,182.66a12,12,0,0,0-3.9-17c-.12-.07-12.33-7.49-23.43-24.42s-17.26-37-18.46-59.78C69.37,94.4,96,110.79,126,115.84A12,12,0,0,0,140,104V88a28,28,0,0,1,8.41-20.07A27.07,27.07,0,0,1,167.86,60a28.83,28.83,0,0,1,25.82,16.81,12,12,0,0,0,11,7.19H211Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M240,72l-32,32c-4.26,66.84-60.08,120-128,120-32,0-40-12-40-12s32-12,48-36c0,0-55.15-32-47.22-120,0,0,39.66,40,87.22,48V88c0-22,18-40.27,40-40a40.74,40.74,0,0,1,36.67,24Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M247.39,68.94A8,8,0,0,0,240,64H209.57A48.65,48.65,0,0,0,168.1,40a46.87,46.87,0,0,0-33.74,13.7A47.87,47.87,0,0,0,120,88v6.09C79.74,83.47,46.81,50.72,46.46,50.37a8,8,0,0,0-13.65,4.92c-4.3,47.79,9.57,79.77,22,98.18a110.92,110.92,0,0,0,21.89,24.2C61.43,195.2,37.45,204.41,37.2,204.51a8,8,0,0,0-3.85,11.93c.74,1.12,3.75,5.05,11.08,8.72C53.51,229.7,65.48,232,80,232c70.68,0,129.72-54.42,135.76-124.44l29.9-29.9A8,8,0,0,0,247.39,68.94Zm-45,29.41a8,8,0,0,0-2.32,5.14C196,166.58,143.28,216,80,216c-10.56,0-18-1.4-23.22-3.08,11.52-6.25,27.56-17,37.88-32.48a8,8,0,0,0-2.61-11.34c-.13-.08-12.86-7.74-24.48-25.29C54.54,124.11,48,100.38,48,73.09c16,13,45.25,33.18,78.69,38.8A8,8,0,0,0,136,104V88a32,32,0,0,1,9.6-22.92A30.89,30.89,0,0,1,167.9,56c12.66.16,24.49,7.88,29.44,19.21A8,8,0,0,0,204.67,80h16Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M245.66,77.66l-29.9,29.9C209.72,177.58,150.67,232,80,232c-14.52,0-26.49-2.3-35.58-6.84-7.33-3.67-10.33-7.6-11.08-8.72a8,8,0,0,1,3.85-11.93c.26-.1,24.24-9.31,39.47-26.84a110.93,110.93,0,0,1-21.88-24.2c-12.4-18.41-26.28-50.39-22-98.18a8,8,0,0,1,13.65-4.92c.35.35,33.28,33.1,73.54,43.72V88a47.87,47.87,0,0,1,14.36-34.3A46.87,46.87,0,0,1,168.1,40a48.66,48.66,0,0,1,41.47,24H240a8,8,0,0,1,5.66,13.66Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M245.54,69.71A6,6,0,0,0,240,66H208.4a46.6,46.6,0,0,0-40.33-24,44.93,44.93,0,0,0-32.31,13.12A45.92,45.92,0,0,0,122,88v8.66c-42-10-76.6-44.52-77-44.88A6,6,0,0,0,34.8,55.46c-4.25,47.22,9.42,78.75,21.64,96.89a107.71,107.71,0,0,0,23.07,25c-15.49,19-41.34,28.89-41.62,29a6,6,0,0,0-2.88,9C36,216.83,45.78,230,80,230c69.88,0,128.23-54,133.82-123.34l30.42-30.41A6,6,0,0,0,245.54,69.71ZM203.76,99.76a6,6,0,0,0-1.75,3.86C197.93,167.76,144.33,218,80,218c-14,0-22.76-2.41-28.06-4.8,11.3-5.68,29.72-16.88,41.05-33.87a6,6,0,0,0,.85-4.67A6,6,0,0,0,91,170.82c-.13-.08-13.13-7.86-25-25.72C52,124,45.31,98.43,46,68.88c14.88,12.6,45.57,35.09,81,41a6,6,0,0,0,7-5.92V88a34,34,0,0,1,10.19-24.34A33.05,33.05,0,0,1,167.93,54c13.43.17,26,8.37,31.24,20.4a6,6,0,0,0,5.5,3.6h20.84Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M247.39,68.94A8,8,0,0,0,240,64H209.57A48.66,48.66,0,0,0,168.1,40a46.91,46.91,0,0,0-33.75,13.7A47.9,47.9,0,0,0,120,88v6.09C79.74,83.47,46.81,50.72,46.46,50.37a8,8,0,0,0-13.65,4.92c-4.31,47.79,9.57,79.77,22,98.18a110.93,110.93,0,0,0,21.88,24.2c-15.23,17.53-39.21,26.74-39.47,26.84a8,8,0,0,0-3.85,11.93c.75,1.12,3.75,5.05,11.08,8.72C53.51,229.7,65.48,232,80,232c70.67,0,129.72-54.42,135.75-124.44l29.91-29.9A8,8,0,0,0,247.39,68.94Zm-45,29.41a8,8,0,0,0-2.32,5.14C196,166.58,143.28,216,80,216c-10.56,0-18-1.4-23.22-3.08,11.51-6.25,27.56-17,37.88-32.48A8,8,0,0,0,92,169.08c-.47-.27-43.91-26.34-44-96,16,13,45.25,33.17,78.67,38.79A8,8,0,0,0,136,104V88a32,32,0,0,1,9.6-22.92A30.94,30.94,0,0,1,167.9,56c12.66.
326616,24.49,7.88,29.44,19.21A8,8,0,0,0,204.67,80h16Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M243.7,70.47A4,4,0,0,0,240,68H207.2a44.57,44.57,0,0,0-39.15-24,42.76,42.76,0,0,0-30.88,12.55A43.85,43.85,0,0,0,124,88V99.16c-43.65-9.39-80-45.6-80.39-46a4,4,0,0,0-4.19-.95,4,4,0,0,0-2.63,3.41c-4.2,46.62,9.27,77.71,21.31,95.59A103.68,103.68,0,0,0,82.35,177c-15.68,20.49-43.46,31.13-43.75,31.24a4,4,0,0,0-1.93,6c.27.4,2.79,4,9.54,7.36C54.73,225.84,66.1,228,80,228c69.09,0,126.73-53.56,131.89-122.23l30.94-30.94A4,4,0,0,0,243.7,70.47Zm-38.53,30.7a4,4,0,0,0-1.16,2.58C199.85,168.94,145.38,220,80,220c-17.85,0-27.63-3.89-32.5-6.87,10.37-4.82,31.45-16.34,43.83-34.91a4,4,0,0,0,.56-3.12A3.93,3.93,0,0,0,90,172.55c-.13-.08-13.39-8-25.52-26.15C54,130.71,42.39,104.11,44.19,64.65c13.17,11.62,45.48,37,83.15,43.3a4,4,0,0,0,4.66-4V88a36,36,0,0,1,10.79-25.76A35,35,0,0,1,168,52c14.2.18,27.49,8.86,33.06,21.61A4,4,0,0,0,204.67,76h25.67Z"}))]]),yr=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,ye(v9({ref:t},e),{weights:yt})));yr.displayName="TwitterLogo";var tG=tB("acw62"),yn=Object.defineProperty,yo=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,yi=Object.getOwnPropertySymbols,ys=Object.prototype.hasOwnProperty,yl=Object.prototype.propertyIsEnumerable,yu=(e,t,r)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yc=(e,t)=>{for(var r in t||(t={}))ys.call(t,r)&&yu(e,r,t[r]);if(yi)for(var r of yi(t))yl.call(t,r)&&yu(e,r,t[r]);return e},yd=(e,t)=>yo(e,ya(t));const yf=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M164,56a12,12,0,0,1,12-12h12V32a12,12,0,0,1,24,0V44h12a12,12,0,0,1,0,24H212V80a12,12,0,0,1-24,0V68H176A12,12,0,0,1,164,56Zm70.51,54A107.88,107.88,0,1,1,146,21.49a12,12,0,0,1-4,23.67A85,85,0,0,0,128,44,83.94,83.94,0,0,0,62.05,179.94a83.48,83.48,0,0,1,29-23.42,52,52,0,1,1,74,0,83.36,83.36,0,0,1,29,23.42A83.52,83.52,0,0,0,212,128a85.2,85.2,0,0,0-1.16-14,12,12,0,0,1,23.67-4ZM128,148a28,28,0,1,0-28-28A28,28,0,0,0,128,148Zm0,64a83.53,83.53,0,0,0,48.43-15.43,60,60,0,0,0-96.86,0A83.53,83.53,0,0,0,128,212Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M168,56a8,8,0,0,1,8-8h16V32a8,8,0,0,1,16,0V48h16a8,8,0,0,1,0,16H208V80a8,8,0,0,1-16,0V64H176A8,8,0,0,1,168,56Zm62.56,54.68a103.92,103.92,0,1,1-85.24-85.24,8,8,0,0,1-2.64,15.78A88.07,88.07,0,0,0,40,128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.66,79.66,0,0,1,36.06,28.75A87.62,87.62,0,0,0,216,128a88.85,88.85,0,0,0-1.22-14.68,8,8,0,1,1,15.78-2.64ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a87.57,87.57,0,0,0,53.92-18.5,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,76a44,44,0,1,1-44,44A44,44,0,0,1,128,76Zm48-12h16V80a8,8,0,0,0,16,0V64h16a8,8,0,0,0,0-16H208V32a8,8,0,0,0-16,0V48H176a8,8,0,0,0,0,16Zm45.35,40.11a8,8,0,0,0-6.57,9.21A88.85,88.85,0,0,1,216,128a87.62,87.62,0,0,1-22.24,58.41A79.86,79.86,0,0,0,172,165.1a4,4,0,0,0-4.84.32,59.81,59.81,0,0,1-78.27,0A4,4,0,0,0,84,165.1a79.71,79.71,0,0,0-21.79,21.31A88,88,0,0,1,128,40a88.76,88.76,0,0,1,14.68,1.22,8,8,0,0,0,2.64-15.78,103.92,103.92,0,1,0,85.24,85.24A8,8,0,0,0,221.35,104.11Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M170,56a6,6,0,0,1,6-6h18V32a6,6,0,0,1,12,0V50h18a6,6,0,0,1,0,12H206V80a6,6,0,0,1-12,0V62H176A6,6,0,0,1,170,56Zm58.59,55A101.9,101.9,0,1,1,145,27.41a6,6,0,1,1-2,11.83A91.66,91.66,0,0,0,128,38,89.95,89.95,0,0,0,62.49,189.64a77.53,77.53,0,0,1,40-31.38,46,46,0,1,1,51,0,77.53,77.53,0,0,1,40,31.38A89.65,89.65,0,0,0,218,128a91.76,91.76,0,0,0-1.24-15,6,6,0,1,1,11.83-2ZM128,154a34,34,0,1,0-34-34A34,34,0,0,0,128,154Zm0,64A89.58,89.58,0,0,0,184.56,198a66,66,0,0,0-113.12,0A89.58,89.58,0,0,0,128,218Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M168,56a8,8,0,0,1,8-8h16V32a8,8,0,0,1,16,0V48h16a8,8,0,0,1,0,16H208V80a8,8,0,0,1-16,0V64H176A8,8,0,0,1,168,56Zm62.56,54.68a103.92,103.92,0,1,1-85.24-85.24,8,8,0,0,1-2.64,15.78A88.07,88.07,0,0,0,40,128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.66,79.66,0,0,1,36.06,28.75A87.62,87.62,0,0,0,216,128a88.85,88.85,0,0,0-1.22-14.68,8,8,0,1,1,15.78-2.64ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a87.57,87.57,0,0,0,53.92-18.5,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M172,56a4,4,0,0,1,4-4h20V32a4,4,0,0,1,8,0V52h20a4,4,0,0,1,0,8H204V80a4,4,0,0,1-8,0V60H176A4,4,0,0,1,172,56Zm54.62,55.34a99.89,99.89,0,1,1-82-82,4,4,0,0,1-1.32,7.89A93.4,93.4,0,0,0,128,36,92,92,0,0,0,62.83,192.87a75.61,75.61,0,0,1,44.51-34,44,44,0,1,1,41.32,0,75.61,75.61,0,0,1,44.51,34A91.69,91.69,0,0,0,220,128a93.58,93.58,0,0,0-1.27-15.34,4,4,0,0,1,7.89-1.32ZM128,156a36,36,0,1,0-36-36A36,36,0,0,0,128,156Zm0,64a91.61,91.61,0,0,0,59.14-21.58,68,68,0,0,0-118.27,0A91.56,91.56,0,0,0,128,220Z"}))]]),yp=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,yd(yc({ref:t},e),{weights:yf})));
3266function yh(e){let{icon:t,title:r,desc:n}=e;return/*#__PURE__*/(0,tz.jsx)("div",{className:"item pb-4 sm:p-2 flex items-stretch justify-stretch",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"inner flex flex-1 opacity-90 backdrop-blur-lg",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"w-[40px] h-[40px] flex items-center justify-center",children:t}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex-1 pl-2",children:[/*#__PURE__*/(0,tz.jsx)("h2",{className:"text-sm font-semibold",children:r}),/*#__PURE__*/(0,tz.jsx)("h3",{className:"text-xs pt-1",children:n})]})]})})}function ym(){return/*#__PURE__*/(0,tz.jsx)("div",{className:"app-features-boards",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"board-item hidden sm:block",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"inner",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"l info-wrap flex-1",children:[/*#__PURE__*/(0,tz.jsx)("strong",{children:/*#__PURE__*/(0,tz.jsx)(gN,{size:38,weight:"duotone"})}),/*#__PURE__*/(0,tz.jsxs)("h1",{children:["Logseq Sync ",/*#__PURE__*/(0,tz.jsx)("sup",{children:"BETA"})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"Always up-to-date notes"})," ",/*#__PURE__*/(0,tz.jsx)("br",{}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"between all your devices."})]}),/*#__PURE__*/(0,tz.jsxs)("h3",{className:"hidden sm:block",children:[/*#__PURE__*/(0,tz.jsxs)("span",{className:"text-logseq-50/80",children:["With encrypted file syncing, you'll always have your ",/*#__PURE__*/(0,tz.jsx)("br",{})," notes "]}),/*#__PURE__*/(0,tz.jsxs)("span",{children:["backed up and securely available in real-time ",/*#__PURE__*/(0,tz.jsx)("br",{})," on any device. "]})]})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"r img-wrap flex-1 hidden sm:block"})]})})})}function yg(){return/*#__PURE__*/(0,tz.jsx)("div",{className:"app-features-boards dl-page hidden sm:block",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"board-item-wrap",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"board-item file-sync",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"inner",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"l info-wrap flex-1",children:[/*#__PURE__*/(0,tz.jsx)("strong",{children:/*#__PURE__*/(0,tz.jsx)(gN,{size:38,weight:"duotone"})}),/*#__PURE__*/(0,tz.jsxs)("h1",{children:["Logseq Sync ",/*#__PURE__*/(0,tz.jsx)("sup",{children:"BETA"})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"Always up-to-date notes"})," ",/*#__PURE__*/(0,tz.jsx)("br",{}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"between all your devices."})]})]})})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"board-item rtc-collaboration",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"inner",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"l info-wrap flex-1",children:[/*#__PURE__*/(0,tz.jsx)("strong",{children:/*#__PURE__*/(0,tz.jsx)(yp,{size:38,weight:"duotone"})}),/*#__PURE__*/(0,tz.jsx)("h1",{children:"Real-time collaboration"}),/*#__PURE__*/(0,tz.jsxs)("h2",{children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Great knowledge is"})," ",/*#__PURE__*/(0,tz.jsx)("br",{}),/*#__PURE__*/(0,tz.jsx)("span",{children:"a result of collaboration."})]})]})})})]})})}function yv(e){let t=ft();return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-landing-footer-desc",children:[!e.hideFeaturesSection&&/*#__PURE__*/(0,tz.jsx)("div",{className:"bg-radial from-logseq-800 via-logseq-800/50 to-logseq-800/0",children:e.downloadsPage?/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"text-4xl -mt-[230px] leading-9 tracking-wide pb-2 sm:mt-0 sm:leading-[1em] sm:text-6xl sm:text-center sm:pt-20 sm:pb-15",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Get ready for"}),/*#__PURE__*/(0,tz.jsx)("br",{}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-semibold",children:"knowledge work reimagined."})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{className:"text-lg leading-9 tracking-wide sm:text-[32px] sm:px-60 sm:py-6 sm:text-center",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"By downloading Logseq, you are embarking on a journey. We are constantly trying to make it even more useful for all kinds of workflows."})," ",/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-normal",children:"These exciting features are coming soon:"})]})]}):/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"text-4xl -mt-[230px] leading-9 pb-2 sm:mt-0 sm:text-6xl sm:text-center sm:py-10 bg-radial",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-semibold",children:"A safe space for "}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"your thoughts."})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{className:"text-lg sm:text-[24px] sm:px-60 sm:text-center",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Designed to store your "}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-normal",children:"interests, questions, ideas, favorite quotes, reminders, reading and meeting notes "}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"easily and future-proof:"})]})]})}),!e.hideFeaturesSection&&(e.downloadsPage?null:/*#__PURE__*/(0,tz.jsx)("div",{className:"cards",children:[[/*#__PURE__*/(0,tz.jsx)(ve,{size:34,weight:"duotone"}),"Open source","Free forever for personal use"],[/*#__PURE__*/(0,tz.jsx)(vM,{size:34,weight:"duotone"}),"Privacy first","You own your data locally forever"],[/*#__PURE__*/(0,tz.jsx)(gZ,{weight:"duotone",size:34}),"Mobile apps","Available for iOS & Android"],[/*#__PURE__*/(0,tz.jsx)(gX,{size:34,weight:"duotone"}),"Markdown files","Open your notes in other tools"],[/*#__PURE__*/(0,tz.jsx)(vx,{size:34,weight:"duotone"}),"Strong community",/*#__PURE__*/(0,tz.jsxs)("span",{className:"flex space-x-2 items-center",children:[/*#__PURE__*/(0,tz.jsx)("i",{className:"w-[6px] h-[6px] bg-green-600 rounded-2xl"}),/*#__PURE__*/(0,tz.jsxs)("span",{className:"opacity-50",children:[t.discord?.approximate_presence_count.get()||"-"," users online currently"]})]})],[/*#__PURE__*/(0,tz.jsx)(vd,{size:34,weight:"duotone"}),"Localization","Translated in many languages"],[/*#__PURE__*/(0,tz.jsx)(vz,{size:34,weight:"duotone"}),"150+ Plugins","Extend functionality to your needs"],[/*#__PURE__*/(0,tz.jsx)(v1,{size:34,weight:"duotone"}),"30+ Themes","Customize look and feel"]].map(([e,t,r])=>
3266("string"==typeof r&&(r=/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-50",children:r})),/*#__PURE__*/(0,tz.jsx)(yh,{icon:e,title:t,desc:r},t)))})),!e.hideFeaturesSection&&(e.downloadsPage?/*#__PURE__*/(0,tz.jsx)(yg,{}):/*#__PURE__*/(0,tz.jsx)(ym,{})),/*#__PURE__*/(0,tz.jsxs)("div",{className:"actions",children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:"text-4xl leading-10 sm:leading-normal sm:text-6xl tracking-wide",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-70",children:"Think faster, "}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-semibold",children:"think better!"})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{className:"text-lg mt-4 sm:mt-0 sm:text-3xl sm:text-center sm:tracking-wide",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"opacity-70 font-normal",children:"By thinking and writing with Logseq, you'll "}),/*#__PURE__*/(0,tz.jsx)("br",{}),/*#__PURE__*/(0,tz.jsxs)("span",{className:"",children:["gain confidence in what you know and ",/*#__PURE__*/(0,tz.jsx)("br",{}),"stop worrying about forgetting "]}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"opacity-70 font-normal",children:"anything"}),"."]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"actions-4 sm:flex sm:space-x-4 pt-10 pb-1",children:[/*#__PURE__*/(0,tz.jsx)(fM,{className:"is-super-button",children:({active:e,leftIconFn:t,rightIconFn:r})=>{let n=t?.({weight:"bold",size:18}),o=r?.({size:18});return/*#__PURE__*/(0,tz.jsxs)(nh,{leftIcon:n,rightIcon:o,className:"w-full sm:w-auto",children:["Download for ",e?.[0]]})}}),/*#__PURE__*/(0,tz.jsx)(nh,{leftIcon:/*#__PURE__*/(0,tz.jsx)(nf,{size:18,weight:"duotone"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(r0,{size:18,className:"opacity-70"}),className:"w-full bg-logseq-600 mt-4 sm:w-auto sm:mt-0",href:"https://app.logseq.com",children:"Web app"})]})]})]})}function yy(){let e=ft(),t=/*#__PURE__*/(0,tz.jsxs)("div",{className:"links flex flex-col justify-center",children:[/*#__PURE__*/(0,tz.jsxs)("p",{className:"flex flex-wrap gap-x-4 gap-y-1 text-xs text-gray-300/90 pb-1",children:[/*#__PURE__*/(0,tz.jsx)("a",{href:"https://logseq.io/p/NX4mc_ggEV",target:"_blank",rel:"noreferrer",children:"Roadmap"}),/*#__PURE__*/(0,tz.jsx)(rO,{to:"/weekly",children:"Weekly"}),/*#__PURE__*/(0,tz.jsx)(rO,{to:"/privacy-policy",children:"Privacy"}),/*#__PURE__*/(0,tz.jsx)(rO,{to:"/terms",children:"Terms"}),/*#__PURE__*/(0,tz.jsx)("a",{href:"mailto:[email protected]",children:"Contact Us"})]}),/*#__PURE__*/(0,tz.jsxs)("p",{className:"text-xs opacity-40 py-1",children:["\xa9 ",new Date().getFullYear()," Logseq, Inc."]})]});return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-landing-footer-navs",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-1 justify-between",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex space-x-4",children:[/*#__PURE__*/(0,tz.jsx)(hB,{className:"w-16 h-16"}),e.sm.get()?null:t]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex space-x-4 pl-[14px] py-[8px] sm:pr-[14px]",children:[/*#__PURE__*/(0,tz.jsx)("a",{href:"https://github.com/logseq/logseq",className:"glass-btn !px-3","aria-label":"GitHub (opens a new window)",target:"_blank",children:/*#__PURE__*/(0,tz.jsx)(ve,{size:26,weight:"duotone"})}),/*#__PURE__*/(0,tz.jsx)("a",{href:"https://twitter.com/logseq",className:"glass-btn !px-3","aria-label":"Twitter (opens a new window)",target:"_blank",children:/*#__PURE__*/(0,tz.jsx)(yr,{size:26,weight:"duotone"})})]})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"pt-4 sm:pt-0 sm:flex sm:space-x-4",children:/*#__PURE__*/(0,tz.jsx)(nh,{leftIcon:/*#__PURE__*/(0,tz.jsx)("img",{className:"w-10",src:hZ,alt:"image"}),rightIcon:/*#__PURE__*/(0,tz.jsx)(r0,{className:"opacity-50"}),className:"w-full !py-1 !px-3 bg-transparent border-2 border-logseq-400",href:"https://www.producthunt.com/products/logseq",children:/*#__PURE__*/(0,tz.jsxs)("span",{className:"opacity-90",children:["Review us on ProductHunt",/*#__PURE__*/(0,tz.jsx)("span",{className:"sr-only",children:" (opens a new window)"})]})})}),e.sm.get()?t:null]})}yp.displayName="UserCirclePlus";var yb={};yb=new URL(tB("27Lyk").resolve("24UWo"),import.meta.url).toString();const yw=new URL(yb);var yS={};yS=new URL(tB("27Lyk").resolve("2L24i"),import.meta.url).toString();const yx=new URL(yS);var yE={};yE=new URL(tB("27Lyk").resolve("jt4Jz"),import.meta.url).toString();var yC={};yC=new URL(tB("27Lyk").resolve("kCcVO"),import.meta.url).toString();var yA={};yA=new URL(tB("27Lyk").resolve("6QgVQ"),import.meta.url).toString();var yk={};yk=new URL(tB("27Lyk").resolve("2pnyO"),import.meta.url).toString();var y_={};y_=new URL(tB("27Lyk").resolve("1Zh67"),import.meta.url).toString();var yI={};yI=new URL(tB("27Lyk").resolve("kA2a9"),import.meta.url).toString();const yT={"00":new URL(yE),"01":new URL(yC),10:new URL(yA),11:new URL(yk),20:new URL(y_),21:new URL(yI)};var tG=tB("acw62"),yP={};yP=new URL(tB("27Lyk").resolve("dLZBe"),import.meta.url).toString();const yN=new URL(yP);var yO={};yO=new URL(tB("27Lyk").resolve("9bhZL"),import.meta.url).toString();const yM=new URL(yO);var yj={};yj=new URL(tB("27Lyk").resolve("2CJGE"),import.meta.url).toString();const yF=new URL(yj);var yR={};yR=new URL(tB("27Lyk").resolve("64Mwr"),import.meta.url).toString();const yU=new URL(yR);var yL={};yL=new URL(tB("27Lyk").resolve("2rlxs"),import.meta.url).toString();var yD={};yD=new URL(tB("27Lyk").resolve("hXPpN"),import.meta.url).toString();var yV={};yV=new URL(tB("27Lyk").resolve("cqfdp"),import.meta.url).toString();var yH={};yH=new URL(tB("27Lyk").resolve("hUxoi"),import.meta.url).toString();const yZ=[{label:"Relationships",iconUrl:yN,descImgUrl:new URL(yL),refLink:"https://discord.com/channels/725182569297215569/725188616695054356/1045646531090448436",userName:"oskr",refType:"discord",desc:/*#__PURE__*/(0,tz.jsxs)("p",{children:["Communicate better. ",/*#__PURE__*/(0,tz.jsxs)("span",{className:"opacity-70",children:["Stay on top of your ",/*#__PURE__*/(0,tz.jsx)("br",{}),"relationships, conversations, and meetings."]})]}),feedback:/*#__PURE__*/(0,tz.jsxs)("p",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"âI mostly use it for work: keeping "}),"daily notes & meeting notes. It's the best solution I've found to managing my tasks",/*#__PURE__*/(0,tz.jsx)("span",{children:" (and I only use a fraction of the features there).â"})]})},{label:"Daily Plan",iconUrl:yM,descImgUrl:new URL(yD),refLink:"https://discord.com/channels/725182569297215569/918889676071374889/1050520429258887320",refType:"discord",userName:"breadchris",desc:/*#__PURE__*/(0,tz.jsxs)("p",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"Channel your attention, "}),"reduce stress."]}),feedback:/*#__PURE__*/(0,tz.jsxs)("p",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"âI used to hate taking notes. "}),"If I told my past self that I wouldn't just like taking notes, but that I would become addicted to it, I wouldn't believe it.",/*#__PURE__*/(0,tz.jsx)("span",{children:" Logseq has changed my life \uD83D\uDD25\uD83D\uDD25\uD83D\uDD25â"})]})}
3266,{label:"Journaling",iconUrl:yF,descImgUrl:new URL(yV),refLink:"https://discord.com/channels/725182569297215569/766475028978991104/965786173148627044",refType:"discord",userName:"Kiernan",desc:/*#__PURE__*/(0,tz.jsx)("p",{children:"Understand yourself better."}),feedback:/*#__PURE__*/(0,tz.jsx)("p",{children:"âBefore Logseq, I didn't use to write a daily journal, now I feel that it has a great value!â"})},{label:"Data Control",iconUrl:yU,descImgUrl:new URL(yH),refLink:"https://twitter.com/15777984/status/1522601138738151427",userName:"@b05crypto",desc:/*#__PURE__*/(0,tz.jsxs)("p",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"Do all this without lock-in."})," ",/*#__PURE__*/(0,tz.jsx)("br",{}),"And without risking your privacy."]}),feedback:/*#__PURE__*/(0,tz.jsxs)("p",{children:[/*#__PURE__*/(0,tz.jsx)("span",{children:"âLogseq does tracking everything in my life "}),"better than any tool I've ever used, including Roam and I have control of my data.â"]})}];function yB(e){let{activeShowcase:t,setActiveShowcase:r}=e;return/*#__PURE__*/(0,tz.jsx)("div",{role:"tablist",className:"tabs flex justify-between space-x-8 px-6",children:yZ.map(e=>{let n=d2(e.label);return/*#__PURE__*/(0,tz.jsx)("button",{className:/*@__PURE__*/tV(np)("it flex flex-col flex-1",{active:e.label===t}),role:"tab","aria-controls":n,"aria-selected":t===e.label,id:"tab-"+n,tabIndex:t===e.label?0:-1,onClick:()=>{r(e.label)},onKeyDown:d8,children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"py-6 flex flex-col items-center",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"icon",children:/*#__PURE__*/(0,tz.jsx)("img",{src:e.iconUrl,alt:""})}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"pt-2.5 font-normal text-[20px] opacity-60 tracking-wide",children:e.label})]})},e.label)})})}function yz(e){let{activeShowcase:t,setActiveShowcase:r}=e,n=yZ.findIndex(e=>e.label===t),o=yZ[n];return/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("selects",`index-of-${n}`),children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-form-select-wrap",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"icon",children:/*#__PURE__*/(0,tz.jsx)("img",{alt:o.label,src:o.iconUrl})}),/*#__PURE__*/(0,tz.jsx)("select",{className:"app-form-select w-full",onChange:e=>{r(e.target.value)},value:t,"aria-label":"Select your use case",children:yZ.map(e=>/*#__PURE__*/(0,tz.jsx)("option",{value:e.label,children:e.label},e.label))}),/*#__PURE__*/(0,tz.jsx)("span",{className:"arrow",children:/*#__PURE__*/(0,tz.jsx)(n$,{weight:"bold"})})]})})}function yW(){let e=ft(),[t,r]=(0,tG.useState)(0),[n,o]=(0,tG.useState)(yZ[0].label),[a,i]=(0,tG.useState)([0,0]),[s,l]=(0,tG.useState)(0),u=(0,tG.useRef)(null),c=(0,tG.useCallback)(()=>{let e=yZ.length,t=yZ.findIndex(e=>e.label===n),a=t+1;a>=e&&(a=0),o(yZ[a]?.label),r(a)},[n]);return(0,tG.useEffect)(()=>
3266{l(0)},[n]),(0,tG.useEffect)(()=>{let e=setInterval(()=>{l(e=>{let t=e+.4;return t>100&&(c(),t=0),t})},60);return()=>clearInterval(e)},[n]),(0,tG.useEffect)(()=>{let e=()=>i([]);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-daily-showcase",children:[/*#__PURE__*/(0,tz.jsx)(hP,{ticks:[500,500],className:"flex flex-col sm:justify-center sm:items-center pb-8",children:e=>/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("h2",{className:/*@__PURE__*/tV(np)("text-2xl sm:text-[36px] sm:leading-10 tracking-wide invisible",e[0]&&"ani-fade-in"),children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Logseq helps you"}),/*#__PURE__*/(0,tz.jsx)("span",{children:" turn this daily mess into structured information."})]}),/*#__PURE__*/(0,tz.jsxs)("h1",{className:/*@__PURE__*/tV(np)("text-4xl leading-10 sm:py-10 sm:text-6xl py-3 invisible",e[1]&&"ani-slide-in-from-bottom"),children:[/*#__PURE__*/(0,tz.jsx)("strong",{children:"Gain clarity"}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:" in your everyday life:"})]})]})}),e.sm.get()?/*#__PURE__*/(0,tz.jsx)(yz,{activeShowcase:n,setActiveShowcase:o}):/*#__PURE__*/(0,tz.jsx)(yB,{activeShowcase:n,setActiveShowcase:o}),/*#__PURE__*/(0,tz.jsx)("div",{className:"panels",ref:u,children:yZ.map(e=>{if(e.label!==n)return null;let t=d2(e.label);return/*#__PURE__*/(0,tz.jsxs)("div",{className:"panel",id:t,role:"tabpanel","aria-labelledby":"tab-"+t,children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"desc",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"animate-in fade-in",children:e.desc})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"card sm:flex",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"l relative animate-in fade-in",style:{width:a[0]?a[0]+"px":"auto",height:a[1]?a[1]+"px":"auto"},children:[/*#__PURE__*/(0,tz.jsx)("img",{src:e.descImgUrl,alt:"image",onLoad:e=>{let{width:t,height:r}=e.target;a?.[0]||i([t,r])},style:{width:"100%",objectFit:"cover"}}),/*#__PURE__*/(0,tz.jsx)("div",{className:"ft absolute bottom-6 right-6"})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"r",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"inner",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"t",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"progress flex rounded-full bg-gray-700/50 w-full h-[6px] mt-1 overflow-hidden",onClick:c,children:/*#__PURE__*/(0,tz.jsx)("span",{className:"inner bg-logseq-100 rounded-full transition-all",style:{width:`${s}%`}})})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"b",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"fd",children:e.feedback}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"ft",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex flex-col",children:[/*#__PURE__*/(0,tz.jsx)("strong",{className:"font-normal opacity-60",children:"User Feedback"}),/*#__PURE__*/(0,tz.jsxs)("span",{children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"font-normal opacity-60 pr-2",children:"by"}),e.userName]})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex items-center",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-60",children:"Via "}),"discord"===e.refType?/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsx)(mE,{className:"mx-2",size:30,weight:"duotone"})," ",/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-60",children:"Discord"})]}):/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsx)(yr,{className:"mx-2",size:30,weight:"duotone"})," ",/*#__PURE__*/(0,tz.jsx)("span",{className:"opacity-60",children:"Twitter"})]}),/*#__PURE__*/(0,tz.jsx)("span",{className:"border rounded p-1 border-gray-600 ml-3 bg-gray-500/20 cursor-pointer active:opacity-80",children:/*#__PURE__*/(0,tz.jsx)("a",{target:"_blank",href:e.refLink,"aria-label":`${e.userName}'s comment in ${e.refType}`,children:/*#__PURE__*/(0,tz.jsx)(r0,{size:18,weight:"duotone"})})})]})]})]})]})})]})]},e.label)})})]})}function yG(){let e=ft();// useEffect(() => { 3267// setTimeout(() => { 3268// // @ts-ignore 3269// particlesJS.load('particles-bg', './particlesjs-config.json', () => { 3270// }) 3271// }, 1000) 3272// }, []) 3273return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-page min-h-screen",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"page-inner",children:[/*#__PURE__*/(0,tz.jsx)(fZ,{}),/*#__PURE__*/(0,tz.jsx)(hU,{}),/*#__PURE__*/(0,tz.jsx)(gw,{})]}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner-full-wrap a",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"page-inner",children:[e.sm.get()?/*#__PURE__*/(0,tz.jsx)("img",{src:yx,className:"w-full",alt:"image"}):/*#__PURE__*/(0,tz.jsx)("img",{src:yw,className:"w-full",alt:"image"}),/*#__PURE__*/(0,tz.jsx)(hP,{ticks:[500,600],className:"text-slogan",children:e=>/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("h1",{className:/*@__PURE__*/tV(np)("text-4xl sm:text-[60px] sm:flex sm:flex-col justify-center sm:text-center pb-6 invisible",e[0]&&"ani-slide-in-from-bottom"),children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Overwhelmed and constantly "}),/*#__PURE__*/(0,tz.jsx)("strong",{className:"opacity-90",children:"afraid of losing your thoughts?"})]}),/*#__PURE__*/(0,tz.jsxs)("h2",{className:/*@__PURE__*/tV(np)("sm:flex flex-col justify-center sm:text-center text-2xl tracking-wide invisible",e[1]&&"ani-fade-in"),children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Everyday youâre bombarded with information."}),/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"Your non-connected notes lead to missing context when "}),/*#__PURE__*/(0,tz.jsxs)("strong",{className:"font-normal",children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"text-logseq-50/80",children:"you need it. "}),"That gets future-you into trouble."]})]})]})})]})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yW,{})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"page-inner-full-wrap b relative",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-desc",children:/*#__PURE__*/(0,tz.jsx)(yv,{})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-nav",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yy,{})})})]})]})}var tG=tB("acw62"),yq=Object.defineProperty,yY=Object.defineProperties,y$=Object.getOwnPropertyDescriptors,yK=Object.getOwnPropertySymbols,yJ=Object.prototype.hasOwnProperty,yQ=Object.prototype.propertyIsEnumerable,yX=(e,t,r)=>t in e?yq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y0=(e,t)=>{for(var r in t||(t={}))yJ.call(t,r)&&yX(e,r,t[r]);if(yK)for(var r of yK(t))yQ.call(t,r)&&yX(e,r,t[r]);return e},y1=(e,t)=>yY(e,y$(t));const y2=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M228,128a12,12,0,0,1-12,12H4
32730a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,64V192H40V64Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,120v16a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a8,8,0,0,1,8-8H216A8,8,0,0,1,224,120Zm-8,56H40a8,8,0,0,0-8,8v16a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V184A8,8,0,0,0,216,176Zm0-128H40a8,8,0,0,0-8,8V72a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"}))]]),y8=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,y1(y0({ref:t},e),{weights:y2})));y8.displayName="List";var tG=tB("acw62"),y6=Object.defineProperty,y4=Object.defineProperties,y3=Object.getOwnPropertyDescriptors,y5=Object.getOwnPropertySymbols,y7=Object.prototype.hasOwnProperty,y9=Object.prototype.propertyIsEnumerable,be=(e,t,r)=>t in e?y6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bt=(e,t)=>{for(var r in t||(t={}))y7.call(t,r)&&be(e,r,t[r]);if(y5)for(var r of y5(t))y9.call(t,r)&&be(e,r,t[r]);return e},br=(e,t)=>y4(e,y3(t));const bn=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M216,48V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),bo=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,br(bt({ref:t},e),{weights:bn})));bo.displayName="X";var tG=tB("acw62"),ba={};ba=new URL(tB("27Lyk").resolve("knCKW"),import.meta.url).toString();const bi=new URL(ba);function bs(e){let{items:t,className:r,...n}=e;return/*#__PURE__*/(0,tz.jsx)("ul",{className:/*@__PURE__*/tV(np)("links-group sm:ml-6 h-full",r),...n,children:t.map(e=>{let t=/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[e.label,e.icon&&/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsx)("span",{className:"pl-2 opacity-40 group-hover:opacity-80",children:e.icon}),/*#__PURE__*/(0,tz.jsx)("span",{className:"sr-only",children:" (opens a new window)"})]})]});return/*#__PURE__*/(0,tz.jsx)("li",{className:"flex items-center","data-link":e.link?.toString().toLowerCase(),children:e.link.startsWith("http")?/*#__PURE__*/(0,tz.jsx)("a",{href:e.link,target:"_blank",className:"h-full flex items-center group transition-colors",children:t}
3273):/*#__PURE__*/(0,tz.jsx)(rM,{to:e.link,className:({isActive:e})=>/*@__PURE__*/tV(np)("h-full flex items-center group transition-colors",e&&"app-link-active"),children:t})},e.label.toString())})})}function bl(){let[e,t]=(0,tG.useState)(!1),[r]=rj();// without header 3274if(r.has("x"))return;(0,tG.useEffect)(()=>{let r=r=>{let n=r.target,o=!!n.closest("a.nav-toggle");if(o)return t(!e);e&&t(!1)};return document.body.addEventListener("click",r),()=>{document.body.removeEventListener("click",r)}},[e]),(0,tG.useEffect)(()=>{e?document.body.classList.add("is-nav-open"):document.body.classList.remove("is-nav-open")},[e]);let n=[{label:"Forum",link:"https://discuss.logseq.com",icon:/*#__PURE__*/(0,tz.jsx)(r0,{size:15,weight:"bold"})},{label:"Docs",link:"https://github.com/logseq/docs/blob/master/db-version.md",icon:/*#__PURE__*/(0,tz.jsx)(r0,{size:15,weight:"bold"})},{label:"GitHub",link:"https://github.com/logseq",icon:/*#__PURE__*/(0,tz.jsx)(r0,{size:15,weight:"bold"})},{label:"Blog",link:"https://blog.logseq.com",icon:/*#__PURE__*/(0,tz.jsx)(r0,{size:15,weight:"bold"})}];return/*#__PURE__*/(0,tz.jsx)("div",{className:"app-headbar h-14 flex justify-center",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex items-center justify-between w-full",children:[/*#__PURE__*/(0,tz.jsxs)("div",{className:"flex items-center h-full flex-1",children:[/*#__PURE__*/(0,tz.jsx)(rO,{to:"/",className:"app-logo-link mr-2","aria-label":"Home",children:/*#__PURE__*/(0,tz.jsx)("img",{src:bi,alt:"Logseq"})}),/*#__PURE__*/(0,tz.jsx)(bs,{className:"justify-center sm:justify-start",items:[{label:"Home",link:"/"},// { 3275// label: (<> 3276// <span>Pro</span> 3277// <sup className={'pl-1 opacity-90 group-hover:opacity-100 text-xs font-medium text-pro-500'}>New</sup> 3278// </>), link: '/pro' 3279// }, 3280{label:"Downloads",link:"/downloads"}]})]}),/*#__PURE__*/(0,tz.jsxs)("div",{className:/*@__PURE__*/tV(np)("right-group flex items-center h-full",{"is-active":e}),children:[/*#__PURE__*/(0,tz.jsx)("a",{className:"nav-toggle flex h-full items-center sm:hidden",children:e?/*#__PURE__*/(0,tz.jsx)(bo,{size:24,weight:"bold"}):/*#__PURE__*/(0,tz.jsx)(y8,{size:24,weight:"bold"})}),/*#__PURE__*/(0,tz.jsxs)("div",{className:"right-group-inner",children:[/*#__PURE__*/(0,tz.jsx)(bs,{className:"justify-center space-x-2 py-6 w-full mx-1 border-t border-t-logseq-500 sm:mr-0",items:n}),/*#__PURE__*/(0,tz.jsx)("div",{className:"downloads-select mt-2 sm:ml-8 sm:mt-0",children:/*#__PURE__*/(0,tz.jsx)(fM,{children:({active:e,rightIconFn:t,leftIconFn:r})=>/*#__PURE__*/(0,tz.jsxs)("button",{className:"flex items-center bg-sky-700 px-2 py-1 rounded text-sm hover:opacity-80 select-none cursor-pointer",children:["function"==typeof r?r({weight:"bold"}):r,/*#__PURE__*/(0,tz.jsxs)("span",{className:"pl-2",children:["Download for ",e?.[0]]}),t?.()]})})})]})]})]})})}var tG=(tB("acw62"),tB("acw62")),bu=Object.defineProperty,bc=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,bf=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,bh=Object.prototype.propertyIsEnumerable,bm=(e,t,r)=>t in e?bu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bg=(e,t)=>{for(var r in t||(t={}))bp.call(t,r)&&bm(e,r,t[r]);if(bf)for(var r of bf(t))bh.call(t,r)&&bm(e,r,t[r]);return e},bv=(e,t)=>bc(e,bd(t));const by=/* @__PURE__ */new Map([["bold",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,/*@__PURE__*/tV(tG).createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),bb=(0,tG.forwardRef)((e,t)=>/*@__PURE__*/tV(tG).createElement(rB,bv(bg({ref:t},e),{weights:by})));bb.displayName="XCircle";var tG=tB("acw62");
3280function bw(e){let{id:t,visible:r,destroy:n,className:o,hasClose:a,children:i,onClick:s,...l}=e,u=(0,tG.useRef)();return/*#__PURE__*/(0,tz.jsx)("div",{className:/*@__PURE__*/tV(np)("ui-modal",o,r?"":"hidden"),onClick:({target:e})=>{e&&u.current?.contains(e)||n()},...l,children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"ui-modal-inner",ref:u,children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"ui-modal-content",children:i}),!1!==a&&/*#__PURE__*/(0,tz.jsx)("a",{className:"ui-modal-close",onClick:n,children:/*#__PURE__*/(0,tz.jsx)(bb,{size:30,weight:"duotone"})})]})})}function bS(){return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-page app-terms",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"logseq-terms-content page-inner",dangerouslySetInnerHTML:{__html:'<h1>Terms of Use</h1>\n<p>Logseq, Inc., a Delaware corporation (âweâ âourâ or âusâ), welcomes you to our website (the â<strong><em>Site</em></strong>â) and the applications and services available from us, through the Site or other platforms (collectively with the Site, the â<strong><em>Services</em></strong>â). Your use of the Site and the Services are governed by these Terms of Use (these â<strong><em>Terms</em></strong>â). Any time you browse the Site or use the Services in any way, you agree to be bound by these Terms. If you donât agree to these Terms, do not use the Site or the Services.</p>\n<p>Your use of the Services is also subject to our Privacy Policy, which is located on the Site, as well as any policies and procedures we publish from time to time (collectively, the â<strong><em>Policies</em></strong>â). We reserve the right to modify these Terms at any time, with such changes becoming effective when we post the modified Terms to the Site. We also reserve the right to make any changes to the Site and Services in any manner and to deny or terminate your access to the Site and Services, even if you have an Account, in our sole discretion.</p>\n<p>Each time you use the Site or the Services, the then-current version of the Terms will apply. If you use the Site or the Services after a modification of these Terms, you agree to be bound by the Terms as modified.</p>\n<p><strong><em>These Terms contain important information regarding your rights with respect to the Site and the Services, including your relationship with us, and include an arbitration provision that may limit your ability to pursue claims against us in court. Please read them carefully and review them regularly.</em></strong></p>\n<p><strong>1. Eligibility</strong><br>When you use the Services, you represent that you are (i) at least the age of majority in the jurisdiction where you reside or (ii) if you have not reached the age of majority in the jurisdiction where you reside, that you have received permission to use the Services from your parent or legal guardian.</p>\n<p>You represent that any information you submit to us when using the Services is accurate, truthful, and current. You also represent that your use of the Services does not violate any applicable law or regulation.</p>\n<p><strong>2. Registration & Account</strong><br>Certain of the Services or portions of the Site may require you to register for an account (â<strong><em>Account</em></strong>â), becoming a â<strong><em>Registered User</em></strong>â. As part of the Account creation process, you may be asked to provide a username and password unique to the Account (â<strong><em>Login Information</em></strong>â). You are responsible for the confidentiality and use of your Login Information and agree not to transfer or disclose your Login Information to any third party other than an individual with express authority to act on your behalf. If you suspect any unauthorized use of your Account, you agree to notify us immediately. You are solely responsible for any activities occurring under your Account. You have no ownership right to your Account. If you are registering an Account as the authorized user of an organization, that organization may have administrator rights to access your account and any information provided under your Account.</p>\n<p><strong>3. Organizational Accounts</strong><br>If you register for the Services on behalf of an organization, you may grant access to the Services to certain authorized users, subject to the limits of any plan for which you enroll. We may require that each authorized user have unique Login Information. When registering for an Account and accessing the Services, you represent or warrant that the information you enter for your organization is correct. You acknowledge and agree that (i) the organizational account owner is responsible for all activity under authorized user accounts and (ii) organizational administrators may have access to all activity/data under all authorized usersâ accounts.</p>\n<p><strong>4. Permitted Uses/License</strong><br>You are authorized to access the Site for the sole purpose of viewing and using the Services on your computer or device. We authorize you to copy materials from the Services to your hard drive solely for the purpose of viewing and using the Services on your computer.</p>\n<p>You may not decompile, disassemble, rent, lease, loan, sell, sublicense, or create derivative works from the Site, the Services, or any data thereon. You may not use any robot, spider, or other automatic device or manual process to monitor or copy the Site or its content without our prior written permission. Your failure to abide by these conditions will immediately terminate your right to access the Site or to use the Services and may violate our intellectual property rights or the intellectual property rights of third parties.</p>\n<p><strong>5. Third Party Software</strong><br>Some of the Services may include the ability to integrate or connect with third party software (â<strong><em>Third Party Software</em></strong>â). You acknowledge and agree that we do not operate, control, or maintain any Third Party Software and we make no representation or warranty in respect to the Third Party Software or how our Services function with any Third Party Software. Your use of any Third Party Software will be governed by the End User License Agreement, Terms of Use, or other applicable agreement with the relevant third party, and you acknowledge and agree that your use of the Third Party Software is contingent upon y
3280our review of and consenting to the applicable agreement prior to such use.</p>\n<p><strong>6. Third Party Sites</strong><br>The Site may contain links to websites we do not operate, control, or maintain (â<strong><em>Third Party Websites</em></strong>â). We do not endorse any Third Party Websites, and we make no representation or warranty in any respect regarding the Third Party Websites. Any links to Third Party Websites on the Site are provided solely for your convenience. If you do access any Third Party Websites, you do so at your own risk and waive any and all claims against us regarding the Third Party Websites or our links thereto.</p>\n<p><strong>7. User Content Generally</strong><br>When you post content and information to the Site or in connection with the Services (â<strong><em>User Content</em></strong>â), you represent and warrant to us that (i) you own or have rights to use the User Content, (ii) the posting of the User Content does not violate any rights of any person or entity, and (iii) you have no agreement with or obligations to any third party that would prohibit your use of the Site or Services in the manner so used. You agree to pay all royalties, fees, and any other monies owing to any person or entity by reason of any User Content posted by you to the Site or through the Services.</p>\n<p>By posting User Content in a publicly-accessible portion of the Services, you give us and our affiliates a perpetual, nonexclusive, irrevocable, royalty-free, sublicensable and transferable worldwide license to all intellectual property rights you own or control to use, transmit, reproduce, commercialize, distribute, modify, create derivative works from, and otherwise exploit such User Content for any and all purposes and without further notice to you, attribution, and without the requirement of any permission or payment to you or any other person or entity. You also authorize and appoint us as your attorney in fact and agent with full power to enter into and execute any document or undertake any action we may consider appropriate to use or enforce the grant of rights and waivers set forth in these Terms.</p>\n<p><strong>8. User Conduct</strong><br>You agree not to use the Site or the Services to take any action or actions that (including with respect to any User Content): (i) are patently offensive in any manner (as determined in our sole discretion), (ii) involve commercial activities without our prior written consent, such as contests or sweepstakes, (iii) are contrary to our public image, goodwill, or reputation, (iv) infringe on our or any third partyâs intellectual property rights, (v) violate any law or any third partyâs legal rights, or (vi) âframeâ or âmirrorâ any part of the Site without our prior written consent.</p>\n<p><strong>9. Data</strong><br>You agree that we have the right to collect and analyze data and other information relating to the provision, use and performance of various aspects of the Site and Services, and related systems (for example, anonymous and aggregated information concerning user behavior and use of the Services), and we will be free (during and after the term hereof) to (i) use such information and data to improve and enhance the Site Services and for other development, diagnostic and corrective purposes in connection with the Site and Services and other of our offerings, and (ii) disclose such data solely in aggregate or other de-identified form in connection with its business.</p>\n<p><strong>10. Paid Services</strong><br>We may require Services to be paid for on a recurring basis (â<strong><em>Subscription Services</em></strong>â) or on an as-used basis (â<strong><em>A La Carte Services</em></strong>â and, together with the Subscription Services, â<strong><em>Paid Services</em></strong>â). We have the right to change, delete, discontinue or impose conditions on Paid Services or any feature or aspect of a Paid Service. Subscription Services may subject you to recurring fees and/or terms. By signing up for a Subscription Service, including after any free trial period, you agree to pay us the subscription fee and any applicable taxes as
3280set forth in your Account settings or as otherwise agreed in writing (â<strong><em>Subscription Fee</em></strong>â). A La Carte Services may subject you to fees charged per usage and/or terms. By using an A La Carte Service, you agree to pay the fees and any taxes incurred at the time of usage (â<strong><em>A La Carte Fees</em></strong>â and, together with Subscription Fees, the â<strong><em>Paid Service Fees</em></strong>â).</p>\n<p>Paid Service Fees may be paid by credit card, debit card, or other payment forms we may permit. If you link a debit or credit card to your Account, you authorize us to collect Paid Service Fees by debit from your linked debit card or charge to your linked credit card.</p>\n<p>Unless otherwise provided in a Subscription Serviceâs terms, Subscription Fees will be charged every month on the day that the subscription was started, until cancelled. You may cancel a Subscription Service at any time from your Account settings. If you cancel a Subscription Service, you will continue to have access to that Subscription Service through the end of your then current billing period, but you will not be entitled to a refund or credit for any Subscription Fee already due or paid. We reserve the right to change our Subscription Fee upon thirty (30) daysâ advance notice. Your continued use of Subscription Services after notice of a change to our Subscription Fee will constitute your agreement to such changes.</p>\n<p><strong>11. Copyright Infringement</strong><br>We respect the intellectual property rights of others. The Digital Millennium Copyright Act of 1998 (the â<strong><em>DMCA</em></strong>â) provides a complaint procedure for copyright owners who believe that website material infringes their rights under U.S. copyright law. If you believe that your work has been improperly copied and posted on the website, please provide us with the following information: (i) name, address, telephone number, email address and an electronic or physical signature of the copyright owner or of the person authorized to act on his/her behalf; (ii) a description of the copyrighted work that you claim has been infringed; (iii) a description of where on the Site the material that you claim is infringing is located; (iv) a written statement that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law; and (v) a statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright owner or authorized to act on the copyright ownerâs behalf. These requirements must be followed to give us legally sufficient notice of infringement. Send copyright infringement complaints to the following email address: <a href="mailto:[email protected]">[email protected]</a>. We suggest that you consult your legal advisor before filing a DMCA notice with our copyright agent. There can be penalties for false claims under the DMCA.</p>\n<p><strong>12. Warranty Disclaimer</strong><br><strong>You agree that the Services are available on an âas isâ basis, without any warranty, and that you use the Services at your own risk. We disclaim, to the maximum extent permitted by law, any and all warranties, whether express or implied, including, without limitation, (a) warranties of merchantability or fitness for a particular purpose, (b) warranties against infringement of any third party intellectual property or proprietary rights, (c) warranties relating to delays, interruptions, errors, or omissions in the Services or on the Site, (d) warranties relating to the accuracy or correctness of data on the Services, and (e) any other warranties otherwise relating to our performance, nonperformance, or other acts or omissions.</strong></p>\n<p><strong>We do not warrant that the Site or the Services will operate error-free or that the Site is free of computer viruses and/or other harmful materials. If your use of the Site or the Services results in the need for servicing or replacing equipment or data, we are not responsible for any such costs.</strong></p>\n<p>Some jurisdictions do not allow the exclusion or limitation of certain categories of damages or implied warranties; therefore, the above limitations may not apply to you. In such jurisdictions, our liability is limited to the greatest extent permitted by law.</p>\n<p><strong>13. Limitation of Liability</strong><br><strong>Any liability we have to you in connection with these Terms, under any cause of action or theory, is strictly limited to, in aggregate for all violations, the amount paid to you by us for your use of the Services in the six-month period immediately preceding the events giving rise to the claim. Without limiting the previous sentence, in no event shall we or any of our affiliates be liable to you for any indirect, special, incidental, consequential, punitive, or exemplary damages arising out of or in connection with these Terms. The foregoing limitations apply whether the alleged liability is based on contract, tort, negligence, strict liability, or any other basis, even if we or our affiliates have been advised of the possibility of such damages.</strong></p>\n<p><strong>You agree to indemnify and hold us harmless for any breach of security or any compromise of your Account.</strong></p>\n<p>Some jurisdictions do not allow the exclusion or limitation of incidental or consequential; therefore, the above limitations may not apply to you. In such jurisdictions, our liability is limited to the greatest extent permitted by law.</p>\n<p><strong>14. Indemnification</strong><br>You agree to indemnify and hold harmless us, our affiliates and our and their officers, directors, partners, agents, and employees from and against any loss, liability, claim, or demand, including reasonable attorneysâ fees (collectively, â<strong><em>Claims</em></strong>â), made by any third party due to or arising out of your use of the Site and Services in violation of these Terms, any breach of the representations and warranties you make in these Terms, or your User Content. You agree to be solely responsible for defending any Claims against or suffered by us, subject to our right to participate with counsel of our own choosing.</p>\n<p><strong>15. Electronic Signatures and Notices</strong><br>Certain activities on the Services may require you to make an electronic signature. You understand and accept that an electronic signature has same legal r
3280ights and obligations as a physical signature.</p>\n<p>If you have an Account, you agree that we may provide you any and all required notices electronically through your Account or other electronic means. You agree that we are not responsible for any delivery fees charged to you as a result of your receipt of our electronic notices.</p>\n<p><strong>16. Governing Law</strong><br>These Terms are governed by New York law, without giving effect to conflicts of law principles. You agree that, to the extent applicable and expressly subject to the dispute resolution provisions below, to submit to the exclusive jurisdiction of the state and federal courts located in New York in circumstances where these Terms permit litigation in court.</p>\n<p><strong>17. Dispute Resolution</strong><br><strong>Please read this section carefully. It contains procedures for mandatory binding arbitration and a class action waiver.</strong></p>\n<p><em>Notice Requirement and Informal Dispute Resolution</em>.\xa0\xa0Before either we or you may seek arbitration, the party seeking arbitration must send the other party a written Notice of Dispute (â<strong><em>Notice</em></strong>â) describing the nature and basis of the claim or dispute and the requested relief.\xa0\xa0A Notice to us should be sent to: Logseq, Inc., 228 Park Avenue South, PMB 76315, New York, NY 10003, United States.\xa0\xa0After the Notice is received, you and we may attempt to resolve the claim or dispute informally.\xa0\xa0If we do not resolve the claim or dispute within thirty (30) days after the Notice is received, either party may begin an arbitration proceeding.\xa0The amount of any settlement offer made by any party may not be disclosed to the arbitrator until after the arbitrator has determined the amount of the award, if any, to which either party is entitled.</p>\n<p><em>Arbitration Rules</em>.\xa0\xa0Arbitration shall be initiated through the American Arbitration Association (â<strong><em>AAA</em></strong>â), an established alternative dispute resolution provider (â<strong><em>ADR Provider</em></strong>â) that offers arbitration as set forth in this section.\xa0\xa0If AAA is not available to arbitrate, the parties shall agree to select an alternative ADR Provider.\xa0\xa0The rules of the ADR Provider shall govern all aspects of the arbitration, including but not limited to the method of initiating and/or demanding arbitration, except to the extent such rules are in conflict with the Terms.\xa0\xa0The AAA Commercial Arbitration Rules (the â<strong><em>Arbitration Rules</em></strong>â) governing the arbitration are available online at\xa0<a href="http://www.adr.org/">www.adr.org</a>\xa0or by calling the AAA at 1-800-778-7879.\xa0\xa0The arbitration shall be conducted by a single, neutral arbitrator.\xa0\xa0Any claims or disputes where the total amount of the award sought is less than Ten Thousand U.S. Dollars (US $10,000.00) shall be resolved through binding non-appearance-based arbitration.\xa0\xa0For claims or disputes where the total amount of the award sought is Ten Thousand U.S. Dollars (US $10,000.00) or more, the right to a hearing will be determined by the Arbitration Rules.\xa0Any hearing will be held in New York, unless the parties agree otherwise. Any judgment on the award rendered by the arbitrator may be entered in any court of competent jurisdiction.\xa0 Each party shall bear its own costs (including attorneyâs fees) and disbursements arising out of the arbitration and shall pay an equal share of the fees and costs of the ADR Provider.</p>\n<p><em>Additional Rules for Non-Appearance Based Arbitration</em>.\xa0\xa0The arbitration shall be conducted by telephone, online and/or based solely on written submissions; the specific manner shall be chosen by the party initiating the arbitration.\xa0\xa0The arbitration shall not involve any personal appearance by the parties or witnesses unless otherwise agreed by the parties.</p>\n<p><em>Time Limits.</em>\xa0\xa0If either you or we pursue arbitration, the arbitration action must be initiated and/or demanded within the statute of limitations (i.e., the legal deadline for filing a claim) and within any deadline imposed under the AAA Rules for the pertinent claim.</p>\n<p><em>Authority of Arbitrator</em>.\xa0\xa0If arbitration is initiated, the arbitrator will decide the rights and liabilities, if any, of the parties involved, and the dispute will not be consolidated with any other matters or joined with any other cases or parties.\xa0\xa0The arbitrator shall have the authority to grant motions dispositive of all or part of any claim.\xa0\xa0The arbitrator shall have the authority to award monetary damages, and to grant any non-monetary remedy or relief available to an individual under applicable law, the Arbitration Rules, and these Terms.\xa0\xa0The arbitrator shall issue a
3280written award and statement of decision describing the essential findings and conclusions on which the award is based, including the calculation of any damages awarded.\xa0\xa0The arbitrator has the same authority to award relief on an individual basis that a judge in a court of law would have.\xa0\xa0The award of the arbitrator is final and binding upon you and us.</p>\n<p><em>Waiver of Jury Trial.</em>\xa0\xa0THE PARTIES HEREBY WAIVE THEIR CONSTITUTIONAL AND STATUTORY RIGHTS TO GO TO COURT AND HAVE A TRIAL IN FRONT OF A JUDGE OR A JURY, instead electing that all claims and disputes shall be resolved by arbitration under these terms.\xa0\xa0Arbitration procedures are typically more limited, more efficient and less costly than rules applicable in a court and are subject to very limited review by a court.\xa0\xa0In the event any litigation should arise between you and us in any state or federal court in a suit to vacate or enforce an arbitration award or otherwise, YOU AND WE WAIVE ALL RIGHTS TO A JURY TRIAL, instead electing that the dispute be resolved by a judge.</p>\n<p><em>Waiver of Class or Consolidated Actions</em>.\xa0\xa0ALL CLAIMS AND DISPUTES WITHIN THE SCOPE OF THIS SECTION 17 MUST BE ARBITRATED OR LITIGATED ON AN INDIVIDUAL BASIS AND NOT ON A CLASS BASIS, AND CLAIMS OF MORE THAN ONE USER CANNOT BE ARBITRATED OR LITIGATED JOINTLY OR CONSOLIDATED WITH THOSE OF ANY OTHER USER.\xa0</p>\n<p><em>Confidentiality</em>.\xa0\xa0All aspects of the arbitration proceeding, including but not limited to the award of the arbitrator and compliance therewith, shall be strictly confidential.\xa0\xa0You agree to maintain confidentiality unless otherwise required by law.\xa0\xa0This paragraph shall not prevent a party from submitting to a court of law any information necessary to enforce this Section 17, to enforce an arbitration award, or to seek injunctive or equitable relief.</p>\n<p><em>Severability</em>.\xa0\xa0If any part or parts of this Section 17 are found under the law to be invalid or unenforceable by a court of competent jurisdiction, then such specific part or parts shall be of no force and effect and shall be severed and the remainder of this Section 17 shall continue in full force and effect.</p>\n<p><em>Right to Waive.</em>\xa0\xa0Any or all of the rights and limitations set forth in this Section 17 may be waived by the party against whom the claim is asserted.\xa0\xa0Such waiver shall not waive or affect any other portion of this Section 17.</p>\n<p><em>Survival of Agreement</em>.\xa0\xa0This Section 17 will survive the termination of your relationship with us.\xa0</p>\n<p><em>Small Claims Court.</em>\xa0\xa0Notwithstanding the foregoing, either you or we may bring an individual action in small claims court.</p>\n<p><em>Emergency Equitable Relief</em>.\xa0\xa0Notwithstanding the foregoing, either party may seek emergency equitable relief before a state or federal court in order to maintain the status quo pending arbitration.\xa0\xa0A request for interim measures shall not be deemed a waiver of any other rights or obligations under this Section 17.</p>\n<p>_Claims Not Subject to Arbitration.\xa0_Notwithstanding the foregoing, claims of defamation, violation of the Computer Fraud and Abuse Act, and infringement or misappropriation of our patent, copyright, trademark or trade secrets rights shall not be subject to this Section 17.</p>\n<p><strong>18. Notice for California Users</strong><br>Under California Civil Code Section 1789.3, California Website users are entitled to the following specific consumer rights notice: The Complaint Assistance Unit of the Division of Consumer Services of the California Department of Consumer Affairs may be contacted in writing at 1625 N. Market Blvd., Suite S-202, Sacramento, California 95834, or by telephone at (800) 952-5210.</p>\n<p><strong>19. Miscellaneous</strong><br>We may assign, transfer, delegate, or otherwise hypothecate our rights under these Terms in our sole discretion. If we fail to enforce a provision of these Terms, you agree that such a failure does not constitute a waiver to enforce the provision (or any other provision hereunder). If any provision of these Terms is held or made invalid, the invalidity does not affect the remainder of these Terms. We reserve all rights not expressly granted in these Terms and disclaim all implied licenses.</p>\n'}}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner-full-wrap b relative",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-nav",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yy,{})})})})]})}function bx(){return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-page app-terms",children:[/*#__PURE__*/(0,tz.jsx)("div",{className:"logseq-terms-content page-inner",dangerouslySetInnerHTML:{__html:'<h1>Privacy Policy</h1>\n<p>Last Updated: July 28, 2023.</p>\n<p><strong>1. Introduction</strong><br>Welcome to our privacy policy. We are Logseq, Inc., a Delaware corporation (âLogseqâ, âweâ, or âusâ). We are responsible for this website and the Logseq applications.</p>\n<p>Logseq respects your privacy and is committed to protecting your personal data. This privacy policy (â<strong><em>Privacy Policy</em></strong>â) governs our collection and use of data in connection with our website (the â<strong><em>Site</em></strong>â), our applications, our website, and any services we offer (collectively, the â<strong><em>Services</em></strong>â). Terms capitalized but not defined in this Privacy Policy shall have the meaning ascribed to them in our Terms of Use.</p>\n<p>This Privacy Policy sets forth the nature, purpose, use and sharing of any information that identifies or can be used to identify you, the visitors to the Site, and users of our Services (â<strong><em>Personal Information</em></strong>â). This website is not intended for children, and we do not knowingly collect data relating to children. If you believe we have information relating to any individual under the age of 13, please notify us using the methods listed in this policy and we will remove such information as soon as possible.</p>\n<p><strong>A. Who We Are</strong></p>\n<ul>\n<li><p>Full name of legal entity: Logseq, Inc.</p>\n</li>\n<li><p>Name of Data Protection Manager: Zhiyuan Chen</p>\n</li>\n<li><p>Email address: <a href="mailto:[email protected]">[email protected]</a></p>\n</li>\n<li><p>Postal address: 228 Park Avenue South, PMB 76315, New York, NY 10003, United States</p>\n<p>Our website may include links to or integrations with third-party websites, plug-ins and applications. Clicking on those links, accessing such integrated services, or enabling those connections may allow third parties to collect or share data about you. We do not control these third-party websites and are not responsible for their privacy statements. When you leave our website, we encourage you to read the privacy policy of every website you visit.</p>\n</li>\n</ul>\n<p><strong>B. What We Collect</strong></p>\n<p>We act as a data âcontroller,â meaning that we collect certain Personal Information from you as you engage the website, our services, or contact us. Data privacy and protection laws across the United States and the European Union (â<strong><em>Privacy Laws</em></strong>
3280â) apply to how we collect that information and what we use it for. To help us comply with Privacy Laws, and because we care about being transparent with you, below is a chart detailing what sort of personal information we collect about you, how we collect it, and why. In some cases, we may collect different information from you based on the type of relationship we have with you, and in such cases the differences are noted.</p>\n<table>\n <tr>\n <td>\n<strong>Type of Data</strong>\n </td>\n <td><strong>Examples of Data Collected</strong>\n </td>\n <td><strong>How Collected</strong>\n </td>\n <td><strong>Why Collected/Legal Basis for Collection</strong>\n </td>\n </tr>\n <tr>\n <td><strong>Identity Data</strong>\n </td>\n <td>Email address\n<br />\nUsername\n </td>\n <td>Provided by user when account is created.\n </td>\n <td>Necessary to provide services.\n<br />\nCollected with consent of user\n </td>\n </tr>\n <tr>\n <td><strong>Contact Data</strong>\n </td>\n <td>Billing address\n<br />\nEmail address\n </td>\n <td>Provided by user when account is created.\n </td>\n <td>Necessary to provide services.\n </td>\n </tr>\n <tr>\n <td><strong>Transaction Data</strong>\n </td>\n <td>Details of payments to and from you and other users, as well as details about products and services purchased by you.\n </td>\n <td>Collected at the time of transaction and/or during contract execution.\n </td>\n <td>Necessary to provide services.\n<br />\nOur legitimate business interests allow us to collect such non-intrusive data as your purchasing history so we can more effectively market our products.\n </td>\n </tr>\n <tr>\n <td><strong>Technical Data</strong>\n </td>\n <td>Device information\n<br />\nOperating System (OS)\n<br />\nPlatform (Electron/Browser)\n<br />\nLogseq release version\n </td>\n <td>Collected automatically through the Logseq app.\n </td>\n <td>Our legitimate business interests allow us to collect this non-intrusive data. \n </td>\n </tr>\n</table>\n\n<p><strong>C. Contact details</strong><br>You have the right to make a complaint at any time to the supervisory authority for data protection issues in your jurisdiction. We would, however, appreciate the chance to deal with your concerns before you approach such authorities so please contact us in the first instance.</p>\n<p><strong>D. Changes to the privacy policy and your duty to inform us of changes</strong><br>It is important that the personal data we hold about you is accurate and current. Please keep us informed if your personal data changes during your relationship with us.</p>\n<p><strong>E. Third-party privacy practices</strong><br>This website may include links to third-party websites, plug-ins and applications. Clicking on those links or enabling those connections may allow third parties to collect or share data about you. We do not control these third-party websites and are not responsible for their privacy statements. When you leave our website, we encourage you to read the privacy policy of every website you visit.</p>\n<p><strong>2. The data we collect about you</strong><br><strong>A. Types of data</strong><br>Personal data, or personal information, means any information about an individual from which that person can be identified. It does not include data where the identity has been removed (anonymous data). We have grouped these different kinds of personal data together as follows:</p>\n<ul>\n<li><strong>Identity Data</strong> may include first name, last name, company name, job title, website URL and other demographic data that you provide to us.</li>\n<li><strong>Contact Data</strong> includes billing address, email address and telephone numbers.</li>\n<li><strong>Financial Data</strong> includes bank account and payment card details.</li>\n<li><strong>Transaction Data</strong> includes details about payments to and from you and other details of products and services you have purchased from us.</li>\n<li><strong>Technical Data</strong> includes internet protocol address, your login data, device/browser type and version, time zone setting, location and time, device/software plug-in types and versions, operating system and platform and other technology on the devices you use to access this website.</li>\n<li>**Profile Data <strong>includes</strong> **your username and password, purchases made by you, your preferences, feedback and survey responses.</li>\n<li><strong>Embedded Data</strong> covers the personal data about you which may be added to the Services by a third party.</li>\n<li><strong>Usage Data</strong> includes information about how you use our website, products and services.</li>\n<li><strong>Marketing and Communications Data</strong> includes your preferences in receiving marketing from us and our third parties and your communication preferences.</li>\n</ul>\n<p>We also collect, use and share <strong>Aggregated Data</strong> such as statistical or demographic data for any purpose. Aggregated Data may be derived from your personal data but is not considered personal data in law as this data does <strong>not</strong> directly or indirectly reveal your identity. For example, we may aggregate your Usage Data to calculate the percentage of users accessing a specific website feature. However, if we combine or connect Aggregated Data with your personal data so that it can directly or indirectly identify you, we treat the combined data as personal data which will be used in accordance with this privacy policy.</p>\n<p>We do not collect any <strong>Special Categories of Personal Data</strong> about you (this includes details about your race or ethnicity, religious or philosophical beliefs, sex life, sexual orientation, political opinions, trade union membership, information about your health and genetic and biometric data). Nor do we collect any information about criminal convictions and offences.</p>\n<p><strong>B. If you fail to provide personal data</strong><br>Where we need to collect personal data by law, or under the terms of a contract we have with you and you fail to provide that data when requested, we may
3280not be able to perform the contract we have or are trying to enter into with you (for example, to provide you with goods or services). In this case, we may have to cancel a product or service you have with us, but we will notify you if this is the case at the time.</p>\n<ol start="3">\n<li><strong>How is your personal data collected?</strong><br>We use different methods to collect data from and about you are including through:</li>\n</ol>\n<p><strong>Direct interactions.</strong> You may give us your Identity, Contact, and Financial Data by filling in forms or by corresponding with us by post, phone, email or otherwise. This includes personal data you provide when you: create an account on our website, use our services, request marketing to be sent to you, or give us feedback.</p>\n<p><strong>Automated technologies or interactions.</strong> As you interact with our products, we may automatically collect Technical Data and Usage Data about your equipment, actions and patterns. We may collect this personal data by using cookies, server logs and other similar technologies. We may also receive Technical Data about you if you visit other websites or use other products employing our cookies or technology.</p>\n<p><strong>Third parties or publicly available sources.</strong> We may receive personal data about you from various third parties and public sources as set out below:</p>\n<ul>\n<li>Technical Data from analytics providers, advertising networks, and search information providers.</li>\n<li>Contact, Financial and Transaction Data from providers of technical, payment, distribution and delivery services.</li>\n<li>Identity and Contact Data from data brokers or aggregators.</li>\n<li>Identity and Contact Data from publicly availably sources.</li>\n<li>Contact, Identity, and Embedded Data from other users of our Services.</li>\n</ul>\n<p><strong>4. How we use your personal data</strong><br>We will only use your personal data when the law allows us to. Most commonly, we will use your personal data in the following circumstances:</p>\n<ul>\n<li>Where we need to perform the contract we are about to enter into or have entered into with you.</li>\n<li>Where it is necessary for our legitimate interests (or those of a third party) and your interests and fundamental rights do not override those interests.</li>\n<li>Where we need to comply with a legal or regulatory obligation.</li>\n</ul>\n<p>Generally, we do not rely on consent as a legal basis for processing your personal data other than in relation to sending third party direct marketing communications to you via email or text message. You have the right to withdraw consent to marketing at any time by contacting us.</p>\n<p><strong>A. Purposes for which we will use your personal data</strong><br>We have set out below, in table format, a description of all the ways we plan to use your personal data, and which of the legal bases we rely on to do so. We have also identified what our legitimate interests are where appropriate.</p>\n<p>Note that we may process your personal data for more than one lawful ground depending on the specific purpose for which we are using your data. Please contact us if you need details about the specific legal ground we are relying on to process your personal data where more than one ground has been set out in the table below.</p>\n<table>\n <tr>\n <td>\n<strong>Purpose/Activity</strong>\n </td>\n <td><strong>Type of data</strong>\n </td>\n <td><strong>Lawful basis for processing including basis of legitimate interest</strong>\n </td>\n </tr>\n <tr>\n <td>To register you as a new customer\n </td>\n <td>(a) Identity \n<br />\n(b) Contact\n </td>\n <td>Performance of a contract with you.\n </td>\n </tr>\n <tr>\n <td>To process and deliver your order of services including:\n<br />\n(a) Manage payments, fees and charges\n<br />\n(b) Collect and recover money owed to us\n </td>\n <td>(a) Identity \n<br />\n(b) Contact \n<br />\n(c) Financial \n<br />\n(d) Transaction \n<br />\n(e) Marketing and Communications\n </td>\n <td>(a) Performance of a contract with you. \n<br />\n(b) Necessary for our legitimate interests (to recover debts due to us).\n </td>\n </tr>\n <tr>\n <td>To manage our relationship with you which will include:\n<br />\n(a) Notifying you about changes to our terms or privacy policy\n<br />\n(b) Asking you for feedback\n </td>\n <td>(a) Identity \n<br />\n(b) Contact \n<br />\n(c) Profile \n<br />\n(d) Marketing and Communications\n </td>\n <td>(a) Performance of a contract with you. \n<br />\n(b) Necessary to comply with a legal obligation.\n<br />\n(c) Necessary for our legitimate interests (to keep our records updated and to study how customers use our products/services).\n </td>\n </tr>\n <tr>\n <td>To administer and protect our business and products (including troubleshooting, data analysis, testing, system maintenance, support, reporting and hosting of data) \n </td>\n <td>(a) Identity\n<br />\n(b) Contact\n<br />\n(c) Technical\n<br />\n(d) Profile\n </td>\n <td>(a) Necessary for our legitimate interests (for running our business, provision of administration and IT services, network security, to prevent fraud and in the context of a business reorganization or group restructuring exercise).\n<br />\n(b) Necessary to comply with a legal obligation.\n </td>\n </tr>\n <tr>\n <td>To use data analytics to improve our website, products/services, marketing, customer relationships and experiences\n </td>\n <td>(a) Technical \n<br />\n(b) Usage \n<br />\n(c) Profile\n </td>\n <td>Necessary for our legitimate interests (to define types of customers for our products and services, to keep our website updated and relevant, to develop our business and to inform our marketing strategy).\n </td>\n </tr>\n <tr>\n <td>To make suggestions and recommendations to you about goods or services that may be of interest to you\n </td>\n <td>(a) Identity \n<br />\n(b) Contact \n<br />\n(c) Technical \n<br />\n(d) Usage \n<br />\n(e) Profile \n </td>\n <td>Necessary for our legitimate interests (to develop our products/services and grow our business).\n </td>\n </tr>\n</table>\n\n<p><strong>B. Promotional offers from us</strong><br>We may use your Identity, Contact, Technical, Usage and Profile Data to form a view on what we think you may want or need, or what may be of interest to you. This is how we decide which products, services and offers may be relevant for you (we call this marketing).</p>\n<p>You will receive marketing communications from us if you have requested information from us or purchased goods or services from us and, in each case, you have not opted out of receiving that marketing.</p>\n<p><strong>C. Third-party marketing</strong><br>We will not share your personal data with any third party for marketing purposes.</p>\n<p><strong>D. Opting out</strong><br>You can ask us or third parties to stop sending you marketing messages at any time by logging into the website and checking or unchecking relevant boxes to adjust your marketing preferences or by following the opt-out links on any marketing message sent to you.</p>\n<p>Where you opt out of receiving these marketing messages, this will not apply to personal data provided to us as a result of a product/service purchase or other transaction.</p>\n<p><strong>
3280E. Cookies</strong><br>In order to improve our services and provide more convenient, relevant experiences to our customers, we and our agents may use âcookies,â âweb beacons,â and similar devices to track your activities. A cookie is a small amount of data that is transferred to your browser by a web server and can only be read by the server that gave it to you. It functions as your identification card and enables us to record your passwords and preferences. It cannot be executed as code or deliver viruses. A web beacon is a small transparent .gif image that is embedded in an HTML page or email used to track when the page or email has been viewed. Most browsers are initially set to accept cookies, and most services that include similar devices are typically initially activated to collect data. You can set your browser to notify you when you receive a cookie, giving you the chance to decide whether or not to accept it.</p>\n<p><strong>F. Change of purpose</strong><br>We will only use your personal data for the purposes for which we collected it, unless we reasonably consider that we need to use it for another reason and that reason is compatible with the original purpose. If you wish to get an explanation as to how the processing for the new purpose is compatible with the original purpose, please contact us.</p>\n<p>If we need to use your personal data for an unrelated purpose, we will notify you and explain the legal basis which allows us to do so.</p>\n<p>Please note that we may process your personal data without your knowledge or consent, in compliance with the above rules, where this is required or permitted by law.</p>\n<p><strong>5. Disclosures of your personal data</strong><br>We may have to share your personal data with the parties set out below for the purposes set out in the table in section 3 above.</p>\n<ul>\n<li>Internal Third Parties as set out in Section 13.</li>\n<li>External Third Parties as set out in Section 13.</li>\n<li>Third parties to whom we may choose to sell, transfer, or merge parts of our business or our assets. Alternatively, we may seek to acquire other businesses or merge with them. If a change happens to our business, then the new owners may use your personal data in the same way as set out in this privacy policy.</li>\n</ul>\n<p>We require all third parties to respect the security of your personal data and to treat it in accordance with the law. We do not allow our third-party service providers to use your personal data for their own purposes and only permit them to process your personal data for specified purposes and in accordance with our instructions.</p>\n<p><strong>6. Data Processing</strong><br>In submitting any third-party personal data within the context of the Services (â<strong><em>Third-Party Data</em></strong>â), the parties agree that you shall be the Data Controller and you appoint us as a Data Processor of such data, for the purpose of providing the Services. To the extent that we are a âData Processorâ for you in respect of such Third-Party Data, we will:</p>\n<ul>\n<li>Implement appropriate technical and organizational measures to safeguard the Third-Party Data against any unauthorized or unlawful access, loss, destruction, theft, use or disclosure. We implement basic level security in accordance with United States law. If higher levels of security are required, please contact us.</li>\n<li>Limit access to the Third-Party Data only to those employees who need to know it to enable the Processor to perform the Services, and shall take appropriate steps to ensure the reliability of those of our employees or subcontractors who have access to such Third-Party Data.</li>\n<li>Only process the personal data as specified by this Privacy Policy and in accordance with your instructions, and will not use the Third-Party Data for any purposes other than those related to the performance of the Services or pursuant to your written instructions.</li>\n<li>Upon the expiry or termination of this Privacy Policy, or upon your request, cease any and all use of the Third-Party Data and destroy or return it to you.</li>\n<li>Not disclose the Third-Party Data to any third-party without your prior written consent. Such consent is granted on, for example, your instruction to share a dashboard with third parties (public or within a restricted group).</li>\n</ul>\n<p>We as Data Processor may provide access to a subcontractor processor to any such Third-Party Data if we reasonably consider such access and processing necessary to the performance of the Services. In the event of such access and before the access takes place, we will ensure that an agreement with the third-party is in place which is sufficient to require it to treat personal data in accordance with the applicable provisions of this Privacy Policy and applicable law. In particular, you authorize us to subcontract the provision of technology and commercial services to members of our corporate group.</p>\n<p>You represent and warrant that you have all the appropriate consents from data subjects whose personal data are submitted to us in the course of the provision of the Services.\xa0</p>\n<ol start="7">\n<li><strong>International transfers</strong><br> The processing of your personal data will involve transferring it outside the European Economic Area (â<strong><em>EEA</em></strong>â). In addition, many of our external third parties are based outside the EEA, so their processing of your personal data will involve a transfer of data outside the EEA.</li>\n</ol>\n<p>Whenever we transfer your personal data out of the EEA, we ensure a similar degree of protection is afforded to it by ensuring at least one of the following safeguards is implemented:</p>\n<ul>\n<li>We will only transfer your personal data to countries that have been deemed to provide an adequate level of protection for personal data by the European Commission. For further details, see European Commission: Adequacy of the protection of personal data in non-EU countries.</li>\n<li>Where we use certain service providers, we may use specific contracts approved by the European Commission which give personal data the same protection it has in Europe. For further details, see European Commission: Model contracts for the transfer of personal data to third countries.</li>\n<li>Where we use providers based in the US, we may transfer data to them if they provide protections pursuant to the European Commissionâs standard contractual clauses.</li>\n</ul>\n<p>Please contact us if you want further information on the specific mechanism used by us when transferring your personal data out of the EEA.</p>\n<p><strong>8. Data security</strong><br>We have put in place appropriate security measures to prevent your personal data from being accidentally lost, used or accessed in an unauthorized way, altered or disclosed. In addition, we limit access to your personal data to those employees, agents, contractors and other third parties who have a business need to know. They will only process your personal data on our instructions, and they are subject to a duty of confidentiality.</p>\n<p>We have put in place procedures to deal with any suspected personal data breach and will notify you and any applicable regulator of a breach where we are legally required to do so.</p>\n<p><strong>9. Data retention</strong><br>We will only retain your personal data for as long as necessary to fulfill the purposes we collected it for, including for the purposes of satisfying any legal, accounting, or reporting requirements.</p>\n<p>To determine the appropriate retention period for personal data, we consider the amount, nature, and sensitivity of the personal data, the potential risk of harm from unauthorized use or disclosure of your personal data, the purposes for which we process your personal data and whether we can achieve those purposes through other means, and the applicable legal requirements.</p>\n<p>In some circumstances you can ask us to delete your data: see <em>Request erasure</em> below for further in some circumstances we may anonymize your personal data (so that it can no longer be associated with you) for research or statistical purposes in which case we may use this information indefinitely without further notice to you.</p>\n<ol start="10">\n<li><strong>GDPR</strong><br>If you are in the European Union or the EEA, you have the following rights in relation to your personal data:</li>\n</ol>\n<ul>\n<li><strong>Request access</strong> to your personal data (commonly known as a âdata subject access requestâ). This enables you to receive a copy of the personal data we hold about you and to check that we are lawfully processing it.</li>\n<li><strong>Request correction</strong> of the personal data that we hold about you. This enables you to have any incomplete or inaccurate data we hold about you corrected, though we may need to verify the accuracy of the new data you provide to us.</li>\n<li><strong>Request erasure</strong> of your personal data. This enables you to ask us to delete or remove personal data where there is no good reason for us continuing to process it. You also have the right to ask us to delete or remove your personal data where you have successfully exercised your right to object to processing (see below), where we may have processed your information unlawfully or where we are required to erase your personal data to comply with local law. Note, however, that we may
3280not always be able to comply with your request of erasure for specific legal reasons which will be notified to you, if applicable, at the time of your request.</li>\n<li><strong>Object to processing</strong> of your personal data where we are relying on a legitimate interest (or those of a third party) and there is something about your particular situation which makes you want to object to processing on this ground as you feel it impacts on your fundamental rights and freedoms. You also have the right to object where we are processing your personal data for direct marketing purposes. In some cases, we may demonstrate that we have compelling legitimate grounds to process your information which override your rights and freedoms.</li>\n<li><strong>Request restriction of processing</strong> of your personal data. This enables you to ask us to suspend the processing of your personal data in the following scenarios: (a) if you want us to establish the dataâs accuracy; (b) where our use of the data is unlawful but you do not want us to erase it; (c) where you need us to hold the data even if we no longer require it as you need it to establish, exercise or defend legal claims; or (d) you have objected to our use of your data but we need to verify whether we have overriding legitimate grounds to use it.</li>\n<li><strong>Request the transfer</strong> of your personal data to you or to a third party. We will provide to you, or a third party you have chosen, your personal data in a structured, commonly used, machine-readable format. Note that this right only applies to automated information which you initially provided consent for us to use or where we used the information to perform a contract with you.</li>\n<li><strong>Withdraw consent at any time</strong> where we are relying on consent to process your personal data. However, this will not affect the lawfulness of any processing carried out before you withdraw your consent. If you withdraw your consent, we may not be able to provide certain products or services to you. We will advise you if this is the case at the time you withdraw your consent.</li>\n</ul>\n<p>If you wish to exercise any of the rights set out above, please contact us.</p>\n<p><strong>A. No fee usually required</strong><br>You will not have to pay a fee to access your personal data (or to exercise any of the other rights). However, we may charge a reasonable fee if your request is clearly unfounded, repetitive or excessive. Alternatively, we may refuse to comply with your request in these circumstances.</p>\n<p><strong>B. What we may need from you</strong><br>We may need to request specific information from you to help us confirm your identity and ensure your right to access your personal data (or to exercise any of your other rights). This is a security measure to ensure that personal data is not disclosed to any person who has no right to receive it. We may also contact you to ask you for further information in relation to your request to speed up our response.</p>\n<p><strong>C. Time limit to respond</strong><br>We try to respond to all legitimate requests within one month. Occasionally it may take us longer than a month if your request is particularly complex or you have made a number of requests. In this case, we will notify you and keep you updated.</p>\n<p><strong>11. Additional Privacy Rights</strong><br>The California Consumer Privacy Act or â<strong><em>CCPA</em></strong>â (Cal. Civ. Code \xa7 1798.100 et. seq.) and similar statutes afford consumers residing in the applicable states certain rights with respect to their Personal Information (the state privacy statute that applies to you, if any, is referred to herein as the â<strong><em>State Privacy Law</em></strong>â). The rights below apply to all United States residents; provided, however, that your State Privacy Law will apply to the extent it affords you rights greater than those provided herein.</p>\n<p>In the preceding 12 months, we have collected the following categories of Personal Information: identifiers, commercial information, internet or other electronic network activity information, and inferences. For details about the precise data points we collect and the categories of sources of such collection, please see the Collection of Information section above. We collect Personal Information for the business and commercial purposes described
3280in the How Your Information is Used and Disclosure to Third Parties sections above. In the preceding 12 months, we have disclosed the following categories of Personal Information for business purposes to the following categories of recipients:</p>\n<table>\n <tr>\n <td><strong>Category of Personal Information</strong>\n </td>\n <td><strong>Categories of Recipients</strong>\n </td>\n </tr>\n <tr>\n <td>Identifiers\n </td>\n <td>Analytics Providers\n<br />\nCommunication Providers\n<br />\nCustomer Service Providers\n<br />\nFraud Prevention and Security Providers\n<br />\nInfrastructure Providers\n<br />\nMarketing Providers\n<br />\nPayment Processors\n </td>\n </tr>\n <tr>\n <td>Commercial Information\n </td>\n <td>Analytics Providers\n<br />\nInfrastructure Providers\n<br />\nPayment Processors\n </td>\n </tr>\n <tr>\n <td>Internet or Other Electronic Network Activity Information\n </td>\n <td>Analytics Providers\n<br />\nInfrastructure Providers\n </td>\n </tr>\n <tr>\n <td>Inferences\n </td>\n <td>Analytics Providers\n<br />\nInfrastructure Providers\n </td>\n </tr>\n</table>\n\n<p>Recipients we currently share Personal Information with include, but are not limited to, AWS (an infrastructure provider).</p>\n<p>We do not sell your Personal Information.</p>\n<p>Subject to certain limitations, you have the right to (1) request to know more about the categories and specific pieces of Personal Information we collect, use, and disclose about you, (2) request deletion of your Personal Information, (3) opt out of any sales of your Personal Information, if we engage in that activity in the future, and (4) not be discriminated against for exercising these rights. You may make these requests by emailing us at: <a href="mailto:[email protected]">[email protected]</a>. We will verify a webform request by asking you to provide identifying information. We will not discriminate against you if you exercise your rights under a State Privacy Law.</p>\n<p>If we receive your request from an authorized agent, we may ask for evidence that you have provided such agent with a power of attorney or that the agent otherwise has valid written authority to submit requests to exercise rights on your behalf. This may include requiring you to verify your identity. If you are an authorized agent seeking to make a request, please email us at: [email address].</p>\n<p>We do not knowingly collect Personal Information from persons under the age of 18. Data will not be shared with any third parties for their own marketing purposes.</p>\n<p><strong>12. Governing Law</strong><br>The terms of this Privacy Policy are governed by and in accordance with the laws of the state of New York, and, where applicable, the laws of the countries where our servers are located. You should not provide us with any Personal Information unless you consent to the application of United States law and, where applicable, New York law, and to the use and disclosure of your information in accordance with the terms of this Privacy Policy.</p>\n<p><strong>13. Glossary</strong><br><strong>A. Lawful basis</strong><br><strong>Legitimate Interest</strong> means the interest of our business in conducting and managing our business to enable us to give you the best service/product and the best and most secure experience. We make sure we consider and balance any potential impact on you (both positive and negative) and your rights before we process your personal data for our legitimate interests. We do not use your personal data for activities where our interests are overridden by the impact on you (unless we have your consent or are otherwise required or permitted to by law). You can obtain further information about how we assess our legitimate interests against any potential impact on you in respect of specific activities by contacting us.</p>\n<p><strong>Performance of Contract</strong> means processing your data where it is necessary for the performance of a contract to which you are a party or to take steps at your request before entering into such a contract.</p>\n<p><strong>Comply with a legal or regulatory obligation</strong> means processing your personal data where it is necessary for compliance with a legal or regulatory obligation that we are subject to.</p>\n<p><strong>B. Third parties</strong><br><strong>External Third Parties</strong></p>\n<ul>\n<li>Service providers acting as processors who provide IT and system administration services including AWS S3, Dynamodb, Sentry, Engineers, and Posthog.</li>\n<li>Professional advisers including lawyers, bankers, auditors and insurers who provide consultancy, banking, legal, insurance and accounting services.</li>\n<li>Tax regulators and other authorities who require reporting of processing activities in certain circumstances.</li>\n</ul>\n'}}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner-full-wrap b relative",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-nav",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yy,{})})})})]})}var bE={};bE=JSON.parse('{"weeks":[{"weekStart":"2026-09-22","weekEnd":"2026-09-28","updatedAt":"2026-09-26T17:12:00Z","items":[{"title":"Undo restores moves, deletes, tags, and properties","summary":"Five undo bugs found by property-based testing now round-trip correctly, with regression coverage in the worker suite.","link":"https://github.com/logseq/logseq/pull/13444","priority":1},{"title":"Safer paste of page refs and embeds","summary":"Deduped pasted page refs that exploded into thous
3280ands of pages, bounded the batch-delete dialog, and fixed drag/paste of page embeds.","link":"https://github.com/logseq/logseq/pull/13436","priority":2},{"title":"Editor composition and focus fixes","summary":"Dead-key layouts no longer double characters, escape-editing clears only its own block, and the editor flushes before ref navigation.","link":"https://github.com/logseq/logseq/pull/13443","priority":3},{"title":"Query builder and /query hardening","summary":"Incomplete /query syntax no longer crashes the app; property chips show titles, custom status/priority appear in filters, and class defaults stay scoped.","link":"https://github.com/logseq/logseq/pull/13419","priority":4},{"title":"Sync and checksum reliability","summary":"Value replacements stay in one request, stale local checksums heal on graph open, and outliner insert identities survive sync replay.","link":"https://github.com/logseq/logseq/pull/13432","priority":5},{"title":"Tag pages and views feel snappier","summary":"Tag page bodies mount after the objects table paints, small class tables sort without a row-limit walk, and block render watches are indexed.","link":"https://github.com/logseq/logseq/pull/13435","priority":6},{"title":"CLI markdown block upsert","summary":"Upsert blocks accept Markdown via --blocks/--blocks-file, with clearer skill docs and healthier worker retirement during CLI runs.","link":"https://github.com/logseq/logseq/pull/13377","priority":7},{"title":"Flashcards empty state and due count","summary":"When no cards are due, practice-again is offered instead of the create-card empty state, and the due counter refreshes after rating.","link":"https://github.com/logseq/logseq/pull/13410","priority":8},{"title":"Repeating dates and page updated-at","summary":"Date repeats stay on the correct calendar day west of UTC, clearing datetimes drops stale journal refs, and page updated-at bumps on insert/move/delete.","link":"https://github.com/logseq/logseq/pull/13433","priority":9},{"title":"Library moves and browser MCP","summary":"Only normal pages move into Library with correct namespace roots, and Electron /mcp works from browser-based MCP clients.","link":"https://github.com/logseq/logseq/pull/13397","priority":10}]},{"weekStart":"2026-09-15","weekEnd":"2026-09-21","updatedAt":"2026-09-22T15:30:00Z","items":[{"title":"Faster DB graph scans","summary":"Cut several O(graph) paths in views, journals, refs, and startup revision checks so larger graphs stay responsive.","link":"https://github.com/logseq/logseq/pull/13347","priority":1},{"title":"Snappier block editing","summary":"Stopped re-rendering the editor box on every keystroke and sized the textarea with CSS field-sizing where supported.","link":"https://github.com/logseq/logseq/pull/13211","priority":2},{"title":"More reliable DB worker","summary":"Moved lock ownership to SQLite and keep the worker healthy across system sleep so graphs do not get stuck after idle.","link":"https://github.com/logseq/logseq/pull/13302","priority":3},{"title":"Library and sidebar polish","summary":"Hide library blocks, collapse nested pages more cleanly, and refresh favorites after drag-and-drop reorder.","link":"https://github.com/logseq/logseq/pull/13349","priority":4},{"title":"Property paste and undo fixes","summary":"Copy and paste text property values as blocks, restore property values after undo, and keep child page content on selection delete.","link":"https://github.com/logseq/logseq/pull/13324","priority":5},{"title":"Query and table view fixes","summary":"Fixed query result views and set-literal editing, restored property columns, and sped up DB table scrolling.","link":"https://github.com/logseq/logseq/pull/13318","priority":6},{"title":"CLI and Windows build fixes","summary":"Added force-remove page, username/password login, and fixed Windows vite/bundle and state-phase build issues.","link":"https://github.com/logseq/logseq/pull/13331","priority":7},{"title":"Import and publishing fixes","summary":"Convert markdown headings into DB heading metadata on import, and honor default home in HTML export.","link":"https://github.com/logseq/logseq/pull/13275","priority":8}]},{"weekStart":"2026-09-08","weekEnd":"2026-09-14","updatedAt":"2026-09-22T15:30:00Z","items":[{"title":"Faster file-graph import","summary":"Optimized the file graph import path and preserved mention timestamps, icons, and PDF annotations more reliably.","link":"https://github.com/logseq/logseq/pull/13130","priority":1},{"title":"Page rename and delete edge cases","summary":"Update linking page mirrors on rename, tag Recycle as Page so FileâDB deletes work, and load breadcrumbs on demand.","link":"https://github.com/logseq/logseq/pull/13147","priority":2},{"title":"Property and shortcut polish","summary":"URL property editor UX, default Task status icons, shared default shortcuts when resetting, and Contents from the right-sidebar menu.","link":"https://github.com/logseq/logseq/pull/13186","priority":3}]}]}');const bC=/*@__PURE__*/tV(bE);function bA(e){if(!e)return null;let t=/^(\d{4})-(\d{2})-(\d{2})/.exec(e.trim());if(!t)return null;let r=Number(t[1]),n=Number(t[2]),o=Number(t[3]),a=new Date(r,n-1,o);return a.getFullYear()!==r||a.getMonth()!==n-1||a.getDate()!==o?null:a}function bk(e,t){let r=bA(e),n=bA(t),o=new Intl.DateTimeFormat("en",{month:"long",day:"numeric"}),a=new Intl.DateTimeFormat("en",{month:"long",day:"numeric",year:"numeric"});if(r&&n){let e=r.getFullYear()===n.getFullYear(),t=e&&r.getMonth()===n.getMonth();return t?`${o.format(r)}â${n.getDate()}, ${n.getFullYear()}`:e?`${o.format(r)} â ${a.format(n)}`:`${a.format(r)} â ${a.format(n)}`}return r?a.format(r):n?a.format(n):"Unknown week"}function b_(e){return(e.weekStart||e.weekEnd||"").slice(0,10)}function bI(e){let t=e.item.title?.trim()||"",r=e.item.summary?.trim(),n=function(e){if(!e)return null;let t=e.trim();return t&&"#"!==t?t:null}(e.item.link),o=!!n&&/^https?:\/\//i.test(n),a=/*#__PURE__*/(0,tz.jsxs)(tz.Fragment,{children:[/*#__PURE__*/(0,tz.jsxs)("span",{className:"block text-lg font-medium leading-snug text-gray-100",children:[t,o&&/*#__PURE__*/(0,tz.jsx)(r0,{size:15,weight:"bold",className:"ml-1.5 inline-block translate-y-
3280px opacity-40","aria-hidden":"true"})]}),r&&/*#__PURE__*/(0,tz.jsx)("span",{className:"mt-1.5 block text-base font-normal leading-relaxed text-logseq-50/80",children:r})]});return n?/*#__PURE__*/(0,tz.jsx)("li",{className:"border-t border-white/10",children:/*#__PURE__*/(0,tz.jsxs)("a",{href:n,className:"block py-5 hover:text-white",...o?{target:"_blank",rel:"noreferrer"}:{},children:[a,o&&/*#__PURE__*/(0,tz.jsx)("span",{className:"sr-only",children:" (opens a new window)"})]})}):/*#__PURE__*/(0,tz.jsx)("li",{className:"border-t border-white/10 py-5",children:a})}function bT(){let[e,t]=rj(),r=function(e){let t=Array.isArray(e.weeks)?e.weeks:e.weekStart||e.weekEnd||e.items?[e]:[];return t.filter(e=>e&&(e.weekStart||e.weekEnd)).slice().sort((e,t)=>b_(t).localeCompare(b_(e))).slice(0,14)}(bC),n=e.get("week")||"",o=r.find(e=>b_(e)===n)||r[0],a=o&&Array.isArray(o.items)?o.items.filter(e=>e&&"string"==typeof e.title&&e.title.trim()).slice(0,10):[],i=o?bk(o.weekStart,o.weekEnd):"",s=function(e){if(!e)return"";let t=new Date(e);return Number.isNaN(t.getTime())?"":new Intl.DateTimeFormat("en",{month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}).format(t)}(o?.updatedAt),l=n=>{let o=new URLSearchParams(e);n&&n!==b_(r[0]||{})?o.set("week",n):o.delete("week"),t(o,{replace:!0})};return/*#__PURE__*/(0,tz.jsxs)("div",{className:"app-page pt-20",children:[/*#__PURE__*/(0,tz.jsx)("article",{className:"page-inner w-full px-5 pb-8 sm:px-10",children:/*#__PURE__*/(0,tz.jsxs)("div",{className:"mx-auto max-w-2xl pb-12 pt-8 sm:pb-20 sm:pt-16",children:[/*#__PURE__*/(0,tz.jsx)("h1",{className:"text-3xl font-semibold tracking-wide text-logseq-50",children:"Weekly"}),r.length>0&&/*#__PURE__*/(0,tz.jsxs)("div",{className:"mt-8",children:[/*#__PURE__*/(0,tz.jsx)("label",{className:"block text-sm text-logseq-100/80",htmlFor:"weekly-week",children:"Week"}),/*#__PURE__*/(0,tz.jsx)("select",{id:"weekly-week",className:"mt-2 w-full max-w-full rounded-md border border-logseq-500/70 bg-logseq-800 px-3 py-3 text-base text-gray-100 sm:max-w-sm [color-scheme:dark]",value:o?b_(o):"",onChange:e=>l(e.target.value),children:r.map(e=>{let t=b_(e);return/*#__PURE__*/(0,tz.jsx)("option",{value:t,children:bk(e.weekStart,e.weekEnd)},t)})})]}),s&&/*#__PURE__*/(0,tz.jsxs)("p",{className:"mt-4 text-sm text-logseq-100/70",children:["Updated ",s]}),a.length>0?/*#__PURE__*/(0,tz.jsx)("ul",{className:"mt-8 border-b border-white/10",children:a.map((e,t)=>/*#__PURE__*/(0,tz.jsx)(bI,{item:e},`${e.title}-${t}`))}):/*#__PURE__*/(0,tz.jsx)("p",{className:"mt-10 text-base text-logseq-50/75",children:i?`Nothing from ${i}.`:"Nothing here yet."})]})}),/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner-full-wrap b relative",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner footer-nav",children:/*#__PURE__*/(0,tz.jsx)("div",{className:"page-inner",children:/*#__PURE__*/(0,tz.jsx)(yy,{})})})})]})}var tG=tB("acw62");function bP(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function bN(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,s)}l((n=n.apply(e,t||[])).next())})}var bO={};Object.defineProperty(bO,"__esModule",{value:!0});var bM={};Object.defineProperty(bM,"__esModule",{value:!0}),/*! ***************************************************************************** 3281Copyright (c) Microsoft Corporation. 3282 3283Permission to use, copy, modify, and/or distribute this software for any 3284purpose with or without fee is hereby granted. 3285 3286THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 3287REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 3288AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 3289INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 3290LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 3291OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 3292PERFORMANCE OF THIS SOFTWARE. 3293***************************************************************************** */bM.__assign=function(){return bM.__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},bM.__assign.apply(this,arguments)},bM.__read=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i},bM.__rest=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},bM.__spreadArray=function(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},bM.__values=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);
3293if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var bj={timeout:1e4// 10 seconds 3294};bO.waitFor=/** 3295 * Subscribes to an actor ref and waits for its emitted value to satisfy 3296 * a predicate, and then resolves with that value. 3297 * Will throw if the desired state is not reached after a timeout 3298 * (defaults to 10 seconds). 3299 * 3300 * @example 3301 * ```js 3302 * const state = await waitFor(someService, state => { 3303 * return state.hasTag('loaded'); 3304 * }); 3305 * 3306 * state.hasTag('loaded'); // true 3307 * ``` 3308 * 3309 * @param actorRef The actor ref to subscribe to 3310 * @param predicate Determines if a value matches the condition to wait for 3311 * @param options 3312 * @returns A promise that eventually resolves to the emitted value 3313 * that matches the condition 3314 */function(e,t,r){var n=bM.__assign(bM.__assign({},bj),r);return new Promise(function(r,o){var a=!1,i=n.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),o(Error("Timeout of ".concat(n.timeout," ms exceeded")))},n.timeout),s=function(){clearTimeout(i),a=!0,null==l||l.unsubscribe()},l=e.subscribe({next:function(e){t(e)&&(s(),r(e))},error:function(e){s(),o(e)},complete:function(){s(),o(Error("Actor terminated without satisfying predicate"))}});a&&l.unsubscribe()})};const bF=({packageName:e,version:t})=>{lK(`${e}/${t}`)},bR=e=>{let t=e.trim().split("");for(let e=0;e<t.length;e++)e>0&&e<t.length-1&&(t[e]="*");return t.join("")},bU=e=>{if(e.length<4)return e;let t=e.split("");for(let e=0;e<t.length-4;e++)t[e]="*";return t.join("")},bL=e=>bN(void 0,void 0,void 0,function*(){try{yield(0,bO.waitFor)(e,e=>ax(e).matches("autoSignIn"))}catch(e){}}),bD=({payload:{data:e,event:t}},r,n)=>bN(void 0,void 0,void 0,function*(){let{send:o}=r,a=r.getSnapshot(),{onSignIn:i,onSignOut:s}=null!=n?n:{};switch(t){case"tokenRefresh":a.matches("authenticated.idle")&&o("TOKEN_REFRESH");break;case"autoSignIn":if(!a.matches("authenticated")){yield bL(r);let t=ax(r.getSnapshot());(null==t?void 0:t.matches("autoSignIn"))&&o({type:"AUTO_SIGN_IN",data:e})}break;case"autoSignIn_failure":{yield bL(r);let t=ax(r.getSnapshot());(null==t?void 0:t.matches("autoSignIn"))&&o({type:"AUTO_SIGN_IN_FAILURE",data:e});break}case"signIn":cg(i)&&i();break;case"signOut":case"tokenRefresh_failure":cg(s)&&s(),a.matches("authenticated.idle")&&o("SIGN_OUT")}}),bV=(e,t=bD)=>(0,a7.Hub).listen("auth",r=>{t(r,e)},"authenticator-hub-handler"),bH=e=>cE.some(t=>e.includes(t)),bZ=(e,t,r)=>encodeURI(`otpauth://totp/${e}:${t}?secret=${r}&issuer=${e}`);var tG=tB("acw62"),bB={};i(bB,"useInterpret",()=>SN);var tG=tB("acw62"),bz=function(){return(bz=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function bW(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function bG(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function bq(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function bY(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}(V=eD||(eD={})).Start="xstate.start",V.Stop="xstate.stop",V.Raise="xstate.raise",V.Send="xstate.send",V.Cancel="xstate.cancel",V.NullEvent="",V.Assign="xstate.assign",V.After="xstate.after",V.DoneState="done.state",V.DoneInvoke="done.invoke",V.Log="xstate.log",V.Init="xstate.init",V.Invoke="xstate.invoke",V.ErrorExecution="error.execution",V.ErrorCommunication="error.communication",V.ErrorPlatform="error.platform",V.ErrorCustom="xstate.error",V.Update="xstate.update",V.Pure="xstate.pure",V.Choose="xstate.choose",(H=eV||(eV={})).Parent="#_parent",H.Internal="#_internal";var b$={},bK="xstate.guard",bJ={};i(bJ,"start",()=>bQ),i(bJ,"stop",()=>bX),i(bJ,"raise",()=>b0),i(bJ,"send",()=>b1),i(bJ,"cancel",()=>b2),i(bJ,"nullEvent",()=>b8),i(bJ,"assign",()=>b6),i(bJ,"after",()=>b4),i(bJ,"doneState",()=>b3),i(bJ,"log",()=>b5),i(bJ,"init",()=>b7),i(bJ,"invoke",()=>b9),i(bJ,"errorExecution",()=>we),i(bJ,"errorPlatform",()=>wt),i(bJ,"error",()=>wr),i(bJ,"update",()=>wn),i(bJ,"choose",()=>wo),i(bJ,"pure",()=>wa);var bQ=eD.Start,bX=eD.Stop,b0=eD.Raise,b1=eD.Send,b2=eD.Cancel,b8=eD.NullEvent,b6=eD.Assign,b4=eD.After,b3=eD.DoneState,b5=eD.Log,b7=eD.Init,b9=eD.Invoke,we=eD.ErrorExecution,wt=eD.ErrorPlatform,wr=eD.ErrorCustom,wn=eD.Update,wo=eD.Choose,wa=eD.Pure;function wi(e,t,r){void 0===r&&(r=".");var n=wu(e,r),o=wu(t,r);return wE(o)?!!wE(n)&&o===n:wE(n)?n in o:Object.keys(n).every(function(e){return e in o&&wi(n[e],o[e])})}function ws(e){try{return wE(e)||"number"==typeof e?"".concat(e):e.type}catch(e){throw Error("Events must be strings or objects with a string event.type property.")}}function wl(e,t){try{if(wS(e))return e;return e.toString().split(t)}catch(t){throw Error("'".concat(e,"' is not a valid state path."))}}function wu(e,t){return"object"==typeof e&&"value"in e&&"context"in e&&"event"in e&&"_event"in e?e.value:wS(e)?wc(e):"string"!=typeof e?e:wc(wl(e,t))}function wc(e){if(1===e.length)return e[0];for(var t={},r=t,n=0;n<e.length-1;n++)n===e.length-2?r[e[n]]=e[n+1]:(r[e[n]]={},r=r[e[n]]);return t}function wd(e,t){for(var r={},n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];r[a]=t(e[a],a,e,o)}return r}function wf(e,t,r){var n,o,a={};try{for(var i=bG(Object.keys(e)),s=i.next();!s.done;s=i.next()){var l=s.value,u=e[l];r(u)&&(a[l]=t(u,l,e))}}catch(e){n={error:e}}
3314finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return a}/** 3315 * Retrieves a value at the given path. 3316 * @param props The deep path to the prop of the desired value 3317 */var wp=function(e){return function(t){var r,n,o=t;try{for(var a=bG(e),i=a.next();!i.done;i=a.next())o=o[i.value]}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}};function wh(e){return e?wE(e)?[[e]]:wm(Object.keys(e).map(function(t){var r=e[t];return"string"==typeof r||r&&Object.keys(r).length?wh(e[t]).map(function(e){return[t].concat(e)}):[[t]]})):[[]]}function wm(e){var t;return(t=[]).concat.apply(t,bY([],bq(e),!1))}function wg(e){return void 0===e?[]:wS(e)?e:[e]}function wv(e,t,r){if(wx(e))return e(t,r.data);var n,o,a={};try{for(var i=bG(Object.keys(e)),s=i.next();!s.done;s=i.next()){var l=s.value,u=e[l];wx(u)?a[l]=u(t,r.data):a[l]=u}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return a}function wy(e){return!!(e instanceof Promise||null!==e&&(wx(e)||"object"==typeof e)&&wx(e.then))}function wb(e,t,r,n){return e?r.reduce(function(e,r){var o,a,i=r.assignment,s={state:n,action:r,_event:t},l={};if(wx(i))l=i(e,t.data,s);else try{for(var u=bG(Object.keys(i)),c=u.next();!c.done;c=u.next()){var d=c.value,f=i[d];l[d]=wx(f)?f(e,t.data,s):f}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object.assign({},e,l)},e):e}// tslint:disable-next-line:no-empty 3318var ww=function(){};function wS(e){return Array.isArray(e)}// tslint:disable-next-line:ban-types 3319function wx(e){return"function"==typeof e}function wE(e){return"string"==typeof e}function wC(e,t){if(e)return wE(e)?{type:bK,name:e,predicate:t?t[e]:void 0}:wx(e)?{type:bK,name:e.name,predicate:e}:e}var wA="function"==typeof Symbol&&Symbol.observable||"@@observable";// TODO: to be removed in v5, left it out just to minimize the scope of the change and maintain compatibility with older versions of integration paackages 3320function wk(e){return!!e&&"__xstatenode"in e}(eH={})[wA]=function(){return this},eH[Symbol.observable]=function(){return this};var w_=(Z=0,function(){return Z++,Z.toString(16)});function wI(e,t// id?: TEvent['type'] 3321){return wE(e)||"number"==typeof e?bz({type:e},t):e}function wT(e,t){if(!wE(e)&&"$$type"in e&&"scxml"===e.$$type)return e;var r=wI(e);return bz({name:r.type,data:r,$$type:"scxml",type:"external"},t)}function wP(e,t){return(wS(t)?t:[t]).map(function(t){return void 0===t||"string"==typeof t||wk(t)?{target:t,event:e}:bz(bz({},t),{event:e})})}function wN(e,t,r,n,o){var a=e.options.guards,i={state:o,cond:t,_event:n};if(t.type===bK)return((null==a?void 0:a[t.name])||t.predicate)(r,n.data,i);var s=null==a?void 0:a[t.type];if(!s)throw Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return s(r,n.data,i)}function wO(e){return"string"==typeof e?{type:e}:e}function wM(e,t,r){var n=function(){},o="object"==typeof e,a=o?e:null;return{next:((o?e.next:e)||n).bind(a),error:((o?e.error:t)||n).bind(a),complete:((o?e.complete:r)||n).bind(a)}}function wj(e,t){return"".concat(e,":invocation[").concat(t,"]")}function wF(e){return(e.type===b0||e.type===b1&&e.to===eV.Internal)&&"number"!=typeof e.delay}var wR=function(e){return"atomic"===e.type||"final"===e.type};function wU(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function wL(e){return wU(e).filter(function(e){return"history"!==e.type})}function wD(e,t){var r,n,o,a,i,s,l,u,c=wV(new Set(e)),d=new Set(t);try{// add all ancestors 3322for(var f=bG(d),p=f.next();!p.done;p=f.next())for(var h=p.value,m=h.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}var g=wV(d);try{// add descendants 3323for(var v=bG(d),y=v.next();!y.done;y=v.next()){var h=y.value;// if previously active, add existing child nodes 3324if("compound"!==h.type||g.get(h)&&g.get(h).length){if("parallel"===h.type)try{for(var b=(i=void 0,bG(wL(h))),w=b.next();!w.done;w=b.next()){var S=w.value;
3324d.has(S)||(d.add(S),c.get(S)?c.get(S).forEach(function(e){return d.add(e)}):S.initialStateNodes.forEach(function(e){return d.add(e)}))}}catch(e){i={error:e}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(i)throw i.error}}}else c.get(h)?c.get(h).forEach(function(e){return d.add(e)}):h.initialStateNodes.forEach(function(e){return d.add(e)})}}catch(e){o={error:e}}finally{try{y&&!y.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}try{// add all ancestors 3325for(var x=bG(d),E=x.next();!E.done;E=x.next())for(var h=E.value,m=h.parent;m&&!d.has(m);)d.add(m),m=m.parent}catch(e){l={error:e}}finally{try{E&&!E.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}return d}function wV(e){var t,r,n=new Map;try{for(var o=bG(e),a=o.next();!a.done;a=o.next()){var i=a.value;n.has(i)||n.set(i,[]),i.parent&&(n.has(i.parent)||n.set(i.parent,[]),n.get(i.parent).push(i))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n}function wH(e,t){return Array.isArray(e)?e.some(function(e){return e===t}):e instanceof Set&&e.has(t)}function wZ(e,t){return"compound"===t.type?wL(t).some(function(t){return"final"===t.type&&wH(e,t)}):"parallel"===t.type&&wL(t).every(function(t){return wZ(e,t)})}function wB(e){return new Set(wm(e.map(function(e){return e.tags})))}var wz={};i(wz,"initEvent",()=>wW),i(wz,"getActionFunction",()=>wG),i(wz,"toActionObject",()=>wq),i(wz,"toActionObjects",()=>wY),i(wz,"toActivityDefinition",()=>w$),i(wz,"raise",()=>wK),i(wz,"resolveRaise",()=>wJ),i(wz,"send",()=>wQ),i(wz,"resolveSend",()=>wX),i(wz,"sendParent",()=>w0),i(wz,"sendTo",()=>w1),i(wz,"sendUpdate",()=>w2),i(wz,"respond",()=>w8),i(wz,"log",()=>w4),i(wz,"resolveLog",()=>w3),i(wz,"cancel",()=>w5),i(wz,"start",()=>w7),i(wz,"stop",()=>w9),i(wz,"resolveStop",()=>Se),i(wz,"assign",()=>St),i(wz,"isActionObject",()=>Sr),i(wz,"after",()=>Sn),i(wz,"done",()=>So),i(wz,"doneInvoke",()=>Sa),i(wz,"error",()=>Si),i(wz,"pure",()=>Ss),i(wz,"forwardTo",()=>Sl),i(wz,"escalate",()=>Su),i(wz,"choose",()=>Sc),i(wz,"resolveActions",()=>Sf),i(wz,"actionTypes",()=>bJ);var wW=wT({type:b7});function wG(e,t){return t&&t[e]||void 0}function wq(e,t){var r;if(wE(e)||"number"==typeof e){var n=wG(e,t);r=wx(n)?{type:e,exec:n}:n||{type:e,exec:void 0}}else if(wx(e))r={// Convert action to string if unnamed 3326type:e.name||e.toString(),exec:e};else{var n=wG(e.type,t);if(wx(n))r=bz(bz({},e),{exec:n});else if(n){var o=n.type||e.type;r=bz(bz(bz({},n),e),{type:o})}else r=e}return r}var wY=function(e,t){return e?(wS(e)?e:[e]).map(function(e){return wq(e,t)}):[]};function w$(e){var t=wq(e);return bz(bz({id:wE(e)?e:t.id},t),{type:t.type})}/** 3327 * Raises an event. This places the event in the internal event queue, so that 3328 * the event is immediately consumed by the machine in the current step. 3329 * 3330 * @param eventType The event to raise. 3331 */function wK(e,t){return{type:b0,event:"function"==typeof e?e:wI(e),delay:t?t.delay:void 0,id:null==t?void 0:t.id}}function wJ(e,t,r,n){var o,a={_event:r},i=wT(wx(e.event)?e.event(t,r.data,a):e.event);if(wE(e.delay)){var s=n&&n[e.delay];o=wx(s)?s(t,r.data,a):s}else o=wx(e.delay)?e.delay(t,r.data,a):e.delay;return bz(bz({},e),{type:b0,_event:i,delay:o})}/** 3332 * Sends an event. This returns an action that will be read by an interpreter to 3333 * send the event in the next step, after the current step is finished executing. 3334 * 3335 * @deprecated Use the `sendTo(...)` action creator instead. 3336 * 3337 * @param event The event to send. 3338 * @param options Options to pass into the send event: 3339 * - `id` - The unique send event identifier (used with `cancel()`). 3340 * - `delay` - The number of milliseconds to delay the sending of the event. 3341 * - `to` - The target of this event (by default, the machine the event was sent from). 3342 */function wQ(e,t){return{to:t?t.to:void 0,type:b1,event:wx(e)?e:wI(e),delay:t?t.delay:void 0,// TODO: don't auto-generate IDs here like that 3343// there is too big chance of the ID collision 3344id:t&&void 0!==t.id?t.id:wx(e)?e.name:ws(e)}}function wX(e,t,r,n){var o,a={_event:r},i=wT(wx(e.event)?e.event(t,r.data,a):e.event);// TODO: helper function for resolving Expr 3345if(wE(e.delay)){var s=n&&n[e.delay];o=wx(s)?s(t,r.data,a):s}else o=wx(e.delay)?e.delay(t,r.data,a):e.delay;var l=wx(e.to)?e.to(t,r.data,a):e.to;return bz(bz({},e),{to:l,_event:i,event:i.data,delay:o})}/** 3346 * Sends an event to this machine's parent. 3347 * 3348 * @param event The event to send to the parent machine. 3349 * @param options Options to pass into the send event. 3350 */function w0(e,t){return wQ(e,bz(bz({},t),{to:eV.Parent}))}/** 3351 * Sends an event to an actor. 3352 * 3353 * @param actor The `ActorRef` to send the event to. 3354 * @param event The event to send, or an expression that evaluates to the event to send 3355 * @param options Send action options 3356 * @returns An XState send action object 3357 */function w1(e,t,r){return wQ(t,bz(bz({},r),{to:e}))}/** 3358 * Sends an update event to this machine's parent. 3359 */function w2(){return w0(wn)}/** 3360 * Sends an event back to the sender of the original event. 3361 * 3362 * @param event The event to send back to the sender 3363 * @param options Options to pass into the send event 3364 */function w8(e,t){return wQ(e,bz(bz({},t),{to:function(e,t,r){return r._event.origin;// TODO: handle when _event.origin is undefined 3365}}))}var w6=function(e,t){return{context:e,event:t}};/** 3366 * 3367 * @param expr The expression function to evaluate which will be logged. 3368 * Takes in 2 arguments:
3369 * - `ctx` - the current state context 3370 * - `event` - the event that caused this action to be executed. 3371 * @param label The label to give to the logged expression. 3372 */function w4(e,t){return void 0===e&&(e=w6),{type:b5,label:t,expr:e}}var w3=function(e,t,r){return bz(bz({},e),{value:wE(e.expr)?e.expr:e.expr(t,r.data,{_event:r})})},w5=function(e){return{type:b2,sendId:e}};/** 3373 * Starts an activity. 3374 * 3375 * @param activity The activity to start. 3376 */function w7(e){var t=w$(e);return{type:eD.Start,activity:t,exec:void 0}}/** 3377 * Stops an activity. 3378 * 3379 * @param actorRef The activity to stop. 3380 */function w9(e){var t=wx(e)?e:w$(e);return{type:eD.Stop,activity:t,exec:void 0}}function Se(e,t,r){var n=wx(e.activity)?e.activity(t,r.data):e.activity;return{type:eD.Stop,activity:"string"==typeof n?{id:n}:n}}/** 3381 * Updates the current context of the machine. 3382 * 3383 * @param assignment An object that represents the partial context to update. 3384 */var St=function(e){return{type:b6,assignment:e}};function Sr(e){return"object"==typeof e&&"type"in e}/** 3385 * Returns an event type that represents an implicit event that 3386 * is sent after the specified `delay`. 3387 * 3388 * @param delayRef The delay in milliseconds 3389 * @param id The state node ID where this event is handled 3390 */function Sn(e,t){var r=t?"#".concat(t):"";return"".concat(eD.After,"(").concat(e,")").concat(r)}/** 3391 * Returns an event that represents that a final state node 3392 * has been reached in the parent state node. 3393 * 3394 * @param id The final state node's parent state node `id` 3395 * @param data The data to pass into the event 3396 */function So(e,t){var r="".concat(eD.DoneState,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}/** 3397 * Returns an event that represents that an invoked service has terminated. 3398 * 3399 * An invoked service is terminated when it has reached a top-level final state node, 3400 * but not when it is canceled. 3401 * 3402 * @param id The final state node ID 3403 * @param data The data to pass into the event 3404 */function Sa(e,t){var r="".concat(eD.DoneInvoke,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function Si(e,t){var r="".concat(eD.ErrorPlatform,".").concat(e),n={type:r,data:t};return n.toString=function(){return r},n}function Ss(e){return{type:eD.Pure,get:e}}/** 3405 * Forwards (sends) an event to a specified service. 3406 * 3407 * @param target The target service to forward the event to. 3408 * @param options Options to pass into the send action creator. 3409 */function Sl(e,t){return wQ(function(e,t){return t},bz(bz({},t),{to:e}))}/** 3410 * Escalates an error by sending it as an event to this machine's parent. 3411 * 3412 * @param errorData The error data to send, or the expression function that 3413 * takes in the `context`, `event`, and `meta`, and returns the error data to send. 3414 * @param options Options to pass into the send action creator. 3415 */function Su(e,t){return w0(function(t,r,n){return{type:wr,data:wx(e)?e(t,r,n):e}},bz(bz({},t),{to:eV.Parent}))}function Sc(e){return{type:eD.Choose,conds:e}}var Sd=function(e){var t,r,n=[];try{for(var o=bG(e),a=o.next();!a.done;a=o.next())for(var i=a.value,s=0;s<i.actions.length;){if(i.actions[s].type===b6){n.push(i.actions[s]),i.actions.splice(s,1);continue}s++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n};function Sf(e,t,r,n,o,a,i){void 0===i&&(i=!1);var s=i?[]:Sd(o),l=s.length?wb(r,n,s,t):r,u=i?[r]:void 0,c=[];return[wm(o.map(function(o){var s,d,f=[];try{for(var p=bG(o.actions),h=p.next();!h.done;h=p.next()){var m=h.value,g=function(o,s){var d;switch(s.type){case b0:var f=wJ(s,l,n,e.options.delays);return a&&"number"==typeof f.delay&&a(f,l,n),f;case b1:var p=wX(s,l,n,e.options.delays);// TODO: fix ActionTypes.Init 3416return a&&p.to!==eV.Internal&&("entry"===o?c.push(p):a(p,l,n)),p;case b5:var h=w3(s,l,n);return null==a||a(h,l,n),h;case wo:var m=null===(d=s.conds.find(function(r){var o=wC(r.cond,e.options.guards);return!o||wN(e,o,l,n,a?void 0:t)}))||void 0===d?void 0:d.actions;if(!m)return[];var g=bq(Sf(e,t,l,n,[{type:o,actions:wY(wg(m),e.options.actions)}],a,i),2),v=g[0];return l=g[1],null==u||u.push(l),v;case wa:var m=s.get(l,n.data);if(!m)return[];var y=bq(Sf(e,t,l,n,[{type:o,actions:wY(wg(m),e.options.actions)}],a,i),2),b=y[0];return l=y[1],null==u||u.push(l),b;
3416case bX:var h=Se(s,l,n);return null==a||a(h,r,n),h;case b6:l=wb(l,n,[s],a?void 0:t),null==u||u.push(l);break;default:var w=wq(s,e.options.actions),S=w.exec;if(a)a(w,l,n);else if(S&&u){var x=u.length-1;w=bz(bz({},w),{exec:function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];S.apply(void 0,bY([u[x]],bq(t),!1))}})}return w}}(o.type,m);g&&(f=f.concat(g))}}catch(e){s={error:e}}finally{try{h&&!h.done&&(d=p.return)&&d.call(p)}finally{if(s)throw s.error}}return c.forEach(function(e){a(e,l,n)}),c.length=0,f})),l]}var Sp=/*#__PURE__*//** @class */function(){/** 3417 * Creates a new State instance. 3418 * @param value The state value 3419 * @param context The extended state 3420 * @param historyValue The tree representing historical values of the state nodes 3421 * @param history The previous state 3422 * @param actions An array of action objects to execute as side-effects 3423 * @param activities A mapping of activities and whether they are started (`true`) or stopped (`false`). 3424 * @param meta 3425 * @param events Internal event queue. Should be empty with run-to-completion semantics. 3426 * @param configuration 3427 */function e(e){var t,r,n=this;this.actions=[],this.activities=b$,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||b$,this.meta=(void 0===(t=e.configuration)&&(t=[]),t.reduce(function(e,t){return void 0!==t.meta&&(e[t.id]=t.meta),e},{})),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=null!==(r=Array.isArray(e.tags)?new Set(e.tags):e.tags)&&void 0!==r?r:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){var e;return e=n.configuration,bY([],bq(new Set(wm(bY([],bq(e.map(function(e){return e.ownEvents})),!1)))),!1)}})}return(/** 3428 * Creates a new State instance for the given `stateValue` and `context`. 3429 * @param stateValue 3430 * @param context 3431 */e.from=function(t,r){return t instanceof e?t.context!==r?new e({value:t.value,context:r,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new e({value:t,context:r,_event:wW,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},/** 3432 * Creates a new State instance for the given `config`. 3433 * @param config The state config 3434 */e.create=function(t){return new e(t)},/** 3435 * Creates a new `State` instance for the given `stateValue` and `context` with no actions (side-effects). 3436 * @param stateValue 3437 * @param context 3438 */e.inert=function(t,r){return t instanceof e?t.actions.length?new e({value:t.value,context:r,_event:wW,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}}):t:e.from(t,r)},/** 3439 * Returns an array of all the string leaf state node paths. 3440 * @param stateValue 3441 * @param delimiter The character(s) that separate each subpath in the string state node path. 3442 */e.prototype.toStrings=function(e,t){var r=this;if(void 0===e&&(e=this.value),void 0===t&&(t="."),wE(e))return[e];var n=Object.keys(e);return n.concat.apply(n,bY([],bq(n.map(function(n){return r.toStrings(e[n],t).map(function(e){return n+t+e})})),!1))},e.prototype.toJSON=function(){this.configuration,this.transitions;var e=this.tags;this.machine;var t=bW(this,["configuration","transitions","tags","machine"]);return bz(bz({},t),{tags:Array.from(e)})},e.prototype.matches=function(e){return wi(e,this.value)},/** 3443 * Whether the current state configuration has a state node with the specified `tag`. 3444 * @param tag 3445 */e.prototype.hasTag=function(e){return this.tags.has(e)},/** 3446 * Determines whether sending the `event` will cause a non-forbidden transition 3447 * to be selected, even if the transitions have no actions nor 3448 * change the state value. 3449 * 3450 * @param event The event to test 3451 * @returns Whether the event will cause a transition 3452 */e.prototype.can=function(e){ww(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var t,r=null===(t=this.machine)||void 0===t?void 0:t.getTransitionData(this,e);return!!(null==r?void 0:r.transitions.length)&&// Check that at least one transition is not forbidden 3453r.transitions.some(function(e){return void 0!==e.target||e.actions.length})},e)}(),Sh={deferEvents:!1},Sm=/*#__PURE__*//** @class */function(){function e(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=bz(bz({},Sh),e)}return e.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},e.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},e.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(e){throw(// there is no use to keep the future events 3454// as the situation is not anymore the same 3455this.clear(),e)}finally{this.processingEvent=!1}},e}(),Sg=[],Sv=function(e,t){Sg.push(e);var r=t(e);return Sg.pop(),r};function Sy(e){var t;return(t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}})[wA]=function(){return this},t}function Sb(e,t,r){var n=Sy(t);// @ts-ignore 3456if(n.deferred=!0,wk(e)){// "mute" the existing service scope so potential spawned actors within the `.initialState` stay deferred here 3457var o=n.state=Sv(void 0,function(){return(r?e.withContext(r):e).initialState});n.getSnapshot=function(){return o}}return n}var Sw=/*#__PURE__*/new Map,SS=0,Sx={bookId:function(){return"x:".concat(SS++)},register:function(e,t){return Sw.set(e,t),e},get:function(e){return Sw.get(e)}
3457,free:function(e){Sw.delete(e)}};function SE(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==tD?tD:void 0}var SC={sync:!1,autoForward:!1};(B=eZ||(eZ={}))[B.NotStarted=0]="NotStarted",B[B.Running=1]="Running",B[B.Stopped=2]="Stopped";var SA=/*#__PURE__*//** @class */function(){/** 3458 * Creates a new Interpreter instance (i.e., service) for the given machine with the provided options, if any. 3459 * 3460 * @param machine The machine to be interpreted 3461 * @param options Interpreter options 3462 */function e(t,r){void 0===r&&(r=e.defaultOptions);var n=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,/** 3463 * Whether the service is started. 3464 */this.initialized=!1,this.status=eZ.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],/** 3465 * Alias for Interpreter.prototype.start 3466 */this.init=this.start,/** 3467 * Sends an event to the running interpreter to trigger a transition. 3468 * 3469 * An array of events (batched) can be sent as well, which will send all 3470 * batched events to the running interpreter. The listeners will be 3471 * notified only **once** when all events are processed. 3472 * 3473 * @param event The event(s) to send 3474 */this.send=function(e,t){if(wS(e))return n.batch(e),n.state;var r=wT(wI(e,t));if(n.status===eZ.Stopped)return n.state;if(n.status!==eZ.Running&&!n.options.deferEvents)throw Error('Event "'.concat(r.name,'" was sent to uninitialized service "').concat(n.machine.id// tslint:disable-next-line:max-line-length 3475,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(r.data)));return n.scheduler.schedule(function(){// Forward copy of event to child actors 3476n.forward(r);var e=n._nextState(r);n.update(e,r)}),n._state;// TODO: deprecate (should return void) 3477// tslint:disable-next-line:semicolon 3478},this.sendTo=function(e,t,r){var o=n.parent&&(t===eV.Parent||n.parent.id===t),a=o?n.parent:wE(t)?t===eV.Internal?n:n.children.get(t)||Sx.get(t):t&&"function"==typeof t.send?t:void 0;if(!a){if(!o)throw Error("Unable to send event to child '".concat(t,"' from service '").concat(n.id,"'."));return}
3478if("machine"in a){if(n.status!==eZ.Stopped||n.parent!==a||// we need to send events to the parent from exit handlers of a machine that reached its final state 3479n.state.done){// Send SCXML events to machines 3480var i=bz(bz({},e),{name:e.name===wr?"".concat(Si(n.id)):e.name,origin:n.sessionId});!r&&n.machine.config.predictableActionArguments?n._outgoingQueue.push([a,i]):a.send(i)}}else!r&&n.machine.config.predictableActionArguments?n._outgoingQueue.push([a,e.data]):a.send(e.data)},this._exec=function(e,t,r,o){void 0===o&&(o=n.machine.options.actions);var a=e.exec||wG(e.type,o),i=wx(a)?a:a?a.exec:e.exec;if(i)try{return i(t,r.data,n.machine.config.predictableActionArguments?{action:e,_event:r}:{action:e,state:n.state,_event:r})}catch(e){throw n.parent&&n.parent.send({type:"xstate.error",data:e}),e}switch(e.type){case b0:n.defer(e);break;case b1:if("number"==typeof e.delay){n.defer(e);return}e.to?n.sendTo(e._event,e.to,r===wW):n.send(e._event);break;case b2:n.cancel(e.sendId);break;case bQ:if(n.status!==eZ.Running)return;var s=e.activity;// If the activity will be stopped right after it's started 3481// (such as in transient states) 3482// don't bother starting the activity. 3483if(!n.machine.config.predictableActionArguments&&!n.state.activities[s.id||s.type])break;// Invoked services 3484if(s.type===eD.Invoke){var l=wO(s.src),u=n.machine.options.services?n.machine.options.services[l.type]:void 0,c=s.id,d=s.data,f="autoForward"in s?s.autoForward:!!s.forward;if(!u)return;var p=d?wv(d,t,r):void 0;if("string"==typeof u)return;var h=wx(u)?u(t,r.data,{data:p,src:l,meta:s.meta}):u;if(!h)return;var m=void 0;wk(h)&&(h=p?h.withContext(p):h,m={autoForward:f}),n.spawn(h,c,m)}else n.spawnActivity(s);break;case bX:n.stopChild(e.activity.id);break;case b5:var g=e.label,v=e.value;g?n.logger(g,v):n.logger(v)}};var o=bz(bz({},e.defaultOptions),r),a=o.clock,i=o.logger,s=o.parent,l=o.id,u=void 0!==l?l:t.id;this.id=u,this.logger=i,this.clock=a,this.parent=s,this.options=o,this.scheduler=new Sm({deferEvents:this.options.deferEvents}),this.sessionId=Sx.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:Sv(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{/** 3485 * @deprecated Use `.getSnapshot()` instead. 3486 */get:function(){return this._state},enumerable:!1,configurable:!0}),/** 3487 * Executes the actions of the given state, with that state's `context` and `event`. 3488 * 3489 * @param state The state whose actions will be executed 3490 * @param actionsConfig The action implementations to use 3491 */e.prototype.execute=function(e,t){var r,n;try{for(var o=bG(e.actions),a=o.next();!a.done;a=o.next()){var i=a.value;this.exec(i,e,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},e.prototype.update=function(e,t){var r,n,o,a,i,s,l,u,c=this;// Attach session ID to state 3492if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||// this is currently required to execute initial actions as the `initialState` gets cached 3493// we can't just recompute it (and execute actions while doing so) because we try to preserve identity of actors created within initial assigns 3494t===wW)&&this.options.execute)this.execute(this.state);else for(var d=void 0;d=this._outgoingQueue.shift();)d[0].send(d[1]);// Update children 3495// Execute listeners 3496if(this.children.forEach(function(e){c.state.children[e.id]=e}),this.devTools&&this.devTools.send(t.data,e),e.event)try{for(var f=bG(this.eventListeners),p=f.next();!p.done;p=f.next()){var h=p.value;h(e.event)}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}try{for(var m=bG(this.listeners),g=m.next();!g.done;g=m.next()){var h=g.value;h(e,e.event)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}try{for(var v=bG(this.contextListeners),y=v.next();!y.done;y=v.next())(0,y.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(e){i={error:e}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}if(this.state.done){// get final child state node 3497var b=e.configuration.find(function(e){return"final"===e.type&&e.parent===c.machine}),w=b&&b.doneData?wv(b.doneData,e.context,t):void 0;this._doneEvent=Sa(this.id,w);try{for(var S=bG(this.doneListeners),x=S.next();!x.done;x=S.next()){var h=x.value;h(this._doneEvent)}}catch(e){l={error:e}}finally{try{x&&!x.done&&(u=S.return)&&u.call(S)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),Sx.free(this.sessionId)}},/* 3498 * Adds a listener that is notified whenever a state transition happens. The listener is called with 3499 * the next state and the event object that caused the state transition. 3500 * 3501 * @param listener The state listener 3502 */e.prototype.onTransition=function(e){return this.listeners.add(e),this.status===eZ.Running&&e(this.state,this.state.event),this},e.prototype.subscribe=function(e,t,r){var n=this,o=wM(e,t,r);this.listeners.add(o.next),this.status!==eZ.NotStarted&&o.next(this.state);var a=function(){n.doneListeners.delete(a),n.stopListeners.delete(a),o.complete()};return this.status===eZ.Stopped?o.complete():(this.onDone(a),this.onStop(a)),{unsubscribe:function(){n.listeners.delete(o.next),n.doneListeners.delete(a),n.stopListeners.delete(a)}}},/** 3503 * Adds an event listener that is notified whenever an event is sent to the running interpreter. 3504 * @param listener The event listener 3505 */e.prototype.onEvent=function(e){return this.eventListeners.add(e),this},/** 3506 * Adds an event listener that is notified whenever a `send` event occurs. 3507 * @param listener The event listener 3508 */e.prototype.onSend=function(e){return this.sendListeners.add(e),this},/** 3509 * Adds a context listener that is notified whenever the state context changes. 3510 * @param listener The context listener 3511 */e.prototype.onChange=function(e){return this.contextListeners.add(e),this},/** 3512 * Adds a listener that is notified when the machine is stopped. 3513 * @param listener The listener 3514 */e.prototype.onStop=function(e){return this.stopListeners.add(e),this},/** 3515 * Adds a state listener that is notified when the statechart has reached its final state. 3516 * @param listener The state listener 3517 */e.prototype.onDone=function(e){return this.status===eZ.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},/** 3518 * Removes a listener. 3519 * @param listener The listener to remove 3520 */e.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},/** 3521 * Starts the interpreter from the given state, or the initial state. 3522 * @param initialState The state to start the statechart from 3523 */e.prototype.start=function(e){var t=this;if(this.status===eZ.Running)return this;// yes, it's a hack but we need the related cache to be populated for some things to work (like delayed transitions) 3524// this is usually called by `machine.getInitialState` but if we rehydrate from a state we might b
3524ypass this call 3525// we also don't want to call this method here as it resolves the full initial state which might involve calling assign actions 3526// and that could potentially lead to some unwanted side-effects (even such as creating some rogue actors) 3527this.machine._init(),Sx.register(this.sessionId,this),this.initialized=!0,this.status=eZ.Running;var r=void 0===e?this.initialState:Sv(this,function(){return"object"==typeof e&&null!==e&&"value"in e&&"_event"in e?t.machine.resolveState(e):t.machine.resolveState(Sp.from(e,t.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){t.update(r,wW)}),this},e.prototype._stopChildren=function(){// TODO: think about converting those to actions 3528this.children.forEach(function(e){wx(e.stop)&&e.stop()}),this.children.clear()},e.prototype._stop=function(){var e,t,r,n,o,a,i,s,l,u;try{for(var c=bG(this.listeners),d=c.next();!d.done;d=c.next()){var f=d.value;this.listeners.delete(f)}}catch(t){e={error:t}}finally{try{d&&!d.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}try{for(var p=bG(this.stopListeners),h=p.next();!h.done;h=p.next()){var f=h.value;// call listener, then remove 3529f(),this.stopListeners.delete(f)}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}try{for(var m=bG(this.contextListeners),g=m.next();!g.done;g=m.next()){var f=g.value;this.contextListeners.delete(f)}}catch(e){o={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}try{for(var v=bG(this.doneListeners),y=v.next();!y.done;y=v.next()){var f=y.value;this.doneListeners.delete(f)}}catch(e){i={error:e}}finally{try{y&&!y.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}if(!this.initialized)return this;this.initialized=!1,this.status=eZ.Stopped,this._initialState=void 0;try{// we are going to stop within the current sync frame 3530// so we can safely just cancel this here as nothing async should be fired anyway 3531for(var b=bG(Object.keys(this.delayedEventsMap)),w=b.next();!w.done;w=b.next()){var S=w.value;this.clock.clearTimeout(this.delayedEventsMap[S])}}catch(e){l={error:e}}finally{try{w&&!w.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}// clear everything that might be enqueued 3532this.scheduler.clear(),this.scheduler=new Sm({deferEvents:this.options.deferEvents})},/** 3533 * Stops the interpreter and unsubscribe all listeners. 3534 * 3535 * This will also notify the `onStop` listeners. 3536 */e.prototype.stop=function(){// TODO: add warning for stopping non-root interpreters 3537var e=this,t=this.scheduler;// grab the current scheduler as it will be replaced in _stop 3538return this._stop(),t.schedule(function(){// it feels weird to handle this here but we need to handle this even slightly "out of band" 3539var t=wT({type:"xstate.stop"}),r=Sv(e,function(){var r=wm(bY([],bq(e.state.configuration),!1).sort(function(e,t){return t.order-e.order}).map(function(t){return wY(t.onExit,e.machine.options.actions)})),n=bq(Sf(e.machine,e.state,e.state.context,t,[{type:"exit",actions:r}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),o=n[0],a=n[1],i=new Sp({value:e.state.value,context:a,_event:t,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:o.filter(function(e){return!wF(e)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return i.changed=!0,i});e.update(r,t),e._stopChildren(),Sx.free(e.sessionId)}),this},e.prototype.batch=function(e){var t=this;if(this.status===eZ.NotStarted&&this.options.deferEvents);else if(this.status!==eZ.Running)throw Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var n,o,a=t.state,i=!1,s=[];try{for(var l=bG(e),u=l.next();!u.done;u=l.next()){var c=u.value;!function(e){var n=wT(e);t.forward(n),a=Sv(t,function(){return t.machine.transition(a,n,void 0,r||void 0)}),s.push.apply(s,bY([],bq(t.machine.config.predictableActionArguments?a.actions:a.actions.map(function(e){var t,r;return t=a,r=e.exec,bz(bz({},e),{exec:void 0!==r?function(){return r(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0})})),!1)),i=i||!!a.changed}(c)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}a.changed=i,a.actions=s,t.update(a,wT(e[e.length-1]))})}},/** 3540 * Returns a send function bound to this interpreter instance. 3541 * 3542 * @param event The event to be sent by the sender. 3543 */e.prototype.sender=function(e){return this.send.bind(this,e)},e.prototype._nextState=function(e,t){var r=this;void 0===t&&(t=!!this.machine.config.predictableActionArguments&&this._exec);var n=wT(e);if(0===n.name.indexOf(wt)&&!this.state.nextEvents.some(function(e){return 0===e.indexOf(wt)}))throw n.data.data;return Sv(this,function(){return r.machine.transition(r.state,n,void 0,t||void 0)})},/** 3544 * Returns the next state given the interpreter's current state and the event. 3545 * 3546 * This is a pure method that does _not_ update the interpreter's state. 3547 * 3548 * @param event The event to determine the next state 3549 */e.prototype.nextState=function(e){return this._nextState(e,!1)},e.prototype.forward=function(e){var t,r;try{for(var n=bG(this.forwardTo),o=n.next();!o.done;o=n.next()){var a=o.value,i=this.children.get(a);if(!i)throw Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(a,"'."));i.send(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.defer=function(e){var t=this,r=this.clock.setTimeout(function(){"to"in e&&e.to?t.sendTo(e._event,e.to,!0):t.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=r)},e.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},e.prototype.exec=function(e,t,r){void 0===r&&(r=this.machine.options.actions),this._exec(e,t.context,t._event,r)},e.prototype.removeChild=function(e){var t;this.children.delete(e),this.forwardTo.delete(e),null===// such as when a child is added then removed while initializing the state 3550(t=this.state)||void 0===t||delete t.children[e]},e.prototype.stopChild=function(e){var t=this.children.get(e);t&&(this.removeChild(e),wx(t.stop)&&t.stop())},e.prototype.spawn=function(e,t,r){if(this.status!==eZ.Running)return Sb(e,t);
3550if(wy(e))return this.spawnPromise(Promise.resolve(e),t);if(wx(e))return this.spawnCallback(e,t);if(function(e){try{return"function"==typeof e.send}catch(e){return!1}}(e)&&"id"in e)return this.spawnActor(e,t);if(function(e){try{return"subscribe"in e&&wx(e.subscribe)}catch(e){return!1}}(e))return this.spawnObservable(e,t);if(wk(e))return this.spawnMachine(e,bz(bz({},r),{id:t}));if(null!==e&&"object"==typeof e&&"transition"in e&&"function"==typeof e.transition)return this.spawnBehavior(e,t);throw Error('Unable to spawn entity "'.concat(t,'" of type "').concat(typeof e,'".'))},e.prototype.spawnMachine=function(t,r){var n=this;void 0===r&&(r={});var o=new e(t,bz(bz({},this.options),{parent:this,id:r.id||t.id})),a=bz(bz({},SC),r);return a.sync&&o.onTransition(function(e){n.send(wn,{state:e,id:o.id})}),this.children.set(o.id,o),a.autoForward&&this.forwardTo.add(o.id),o.onDone(function(e){n.removeChild(o.id),n.send(wT(e,{origin:o.id}))}).start(),o},e.prototype.spawnBehavior=function(e,t){var r,n,o,a,i,s,l,u,c,d,f=(r={id:t,parent:this},n=e.initialState,o=new Set,a=[],i=!1,s=function(){if(!i){for(i=!0;a.length>0;){var t=a.shift();n=e.transition(n,t,d),o.forEach(function(e){return e.next(n)})}i=!1}},l={id:r.id,send:function(e){a.push(e),s()},getSnapshot:function(){return n},subscribe:function(e,t,r){var a=wM(e,t,r);return o.add(a),a.next(n),{unsubscribe:function(){o.delete(a)}}}},c=bz(((u={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[wA]=function(){return this},u),l),d={parent:r.parent,self:c,id:r.id||"anonymous",observers:o},n=e.start?e.start(d):n,c);return this.children.set(t,f),f},e.prototype.spawnPromise=function(e,t){var r,n,o=this,a=!1;e.then(function(e){a||(n=e,o.removeChild(t),o.send(wT(Sa(t,e),{origin:t})))},function(e){if(!a){o.removeChild(t);var r=Si(t,e);try{// Send "error.platform.id" to this (parent). 3551o.send(wT(r,{origin:t}))}catch(e){o.devTools&&o.devTools.send(r,o.state),o.machine.strict&&// exception/promise rejection happens but because we don't want to 3552// break existing code so enforce it on strict mode only especially so 3553// because documentation says that onError is optional 3554o.stop()}}});var i=((r={id:t,send:function(){},subscribe:function(t,r,n){var o=wM(t,r,n),a=!1;return e.then(function(e){!a&&(o.next(e),a||o.complete())},function(e){a||o.error(e)}),{unsubscribe:function(){return a=!0}}},stop:function(){a=!0},toJSON:function(){return{id:t}},getSnapshot:function(){return n}})[wA]=function(){return this},r);return this.children.set(t,i),i},e.prototype.spawnCallback=function(e,t){var r,n,o,a=this,i=!1,s=new Set,l=new Set;try{o=e(function(e){n=e,l.forEach(function(t){return t(e)}),i||a.send(wT(e,{origin:t}))},function(e){s.add(e)})}catch(e){this.send(Si(t,e))}if(wy(o))// because transpiled async functions are not recognizable 3555return this.spawnPromise(o,t);var u=((r={id:t,send:function(e){return s.forEach(function(t){return t(e)})},subscribe:function(e){var t=wM(e);return l.add(t.next),{unsubscribe:function(){l.delete(t.next)}}},stop:function(){i=!0,wx(o)&&o()},toJSON:function(){return{id:t}},getSnapshot:function(){return n}})[wA]=function(){return this},r);return this.children.set(t,u),u},e.prototype.spawnObservable=function(e,t){var r,n,o=this,a=e.subscribe(function(e){n=e,o.send(wT(e,{origin:t}))},function(e){o.removeChild(t),o.send(wT(Si(t,e),{origin:t}))},function(){o.removeChild(t),o.send(wT(Sa(t),{origin:t}))}),i=((r={id:t,send:function(){},subscribe:function(t,r,n){return e.subscribe(t,r,n)},stop:function(){return a.unsubscribe()},getSnapshot:function(){return n},toJSON:function(){return{id:t}}})[wA]=function(){return this},r);return this.children.set(t,i),i},e.prototype.spawnActor=function(e,t){return this.children.set(t,e),e},e.prototype.spawnActivity=function(e){var t=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(t){var r=t(this.state.context,e);this.spawnEffect(e.id,r)}// Start implementation 3556},e.prototype.spawnEffect=function(e,t){var r;this.children.set(e,((r={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:t||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}})[wA]=function(){return this},r))},e.prototype.attachDev=function(){var e=SE();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var t="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(bz(bz({name:this.id,autoPause:!0,stateSanitizer:function(e){return{value:e.value,context:e.context,actions:e.actions}}},t),{features:bz({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)}// add XState-specific dev tooling hook 3557!function(e){if(SE()){var t=function(){var e=SE();if(e&&"__xstate__"in e)return e.__xstate__}();t&&t.register(e)}}(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[wA]=function(){return this},e.prototype.getSnapshot=function(){return this.status===eZ.NotStarted?this.initialState:this._state},/** 3558 * The default interpreter options: 3559 * 3560 * - `clock` uses the global `setTimeout` and `clearTimeout` functions 3561 * - `logger` uses the global `console.log()` method 3562 */e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,t){return setTimeout(e,t)},clearTimeout:function(e){return clearTimeout(e)}},logger:/*#__PURE__*/console.log.bind(console),devTools:!1},e.interpret=S_,e}();function Sk(e,t){var r,n=wE(t)?bz(bz({},SC),{name:t}):bz(bz(bz({},SC),{name:w_()}),t);return(r=Sg[Sg.length-1])?r.spawn(e,n.name,n):Sb(e,n.name)}/** 3563 * Creates a new Interpreter instance for the given machine with the provided options, if any. 3564 * 3565 * @param machine The machine to interpret 3566 * @param options Interpreter options 3567 */function S_(e,t){return new SA(e,t)}var SI=function(){return(SI=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ST=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},SP=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i};function SN(e){for(var t,r,n,o,a,i,s,l,u,c=[],d=1;d<arguments.length;d++)c[d-1]=arguments[d];var f=SP(c,2),p=f[0],h=void 0===p?{}:p,m=f[1],g=(t=av(function(){return"function"==typeof e?e():e}),r=h.context,n=h.guards,o=h.actions,a=h.activities,i=h.services,s=h.delays,h.state,l=ST(h,["context","guards","actions","activities","services","delays","state"]),u=av(function(){return S_(t.withConfig({context:r,guards:n,actions:o,activities:a,services:i,delays:s},function(){return SI(SI({},t.context),r)}),l)}),ag(function(){Object.assign(u.machine.options.actions,o),Object.assign(u.machine.options.guards,n),Object.assign(u.machine.options.activities,a),Object.assign(u.machine.options.services,i),Object.assign(u.machine.options.delays,s)},[o,n,a,i,s]),u);return(0,tG.useEffect)(function(){if(m){var e=g.subscribe(wM(m));return function(){e.unsubscribe()}}},[m]),(0,tG.useEffect)(function(){var e=h.state;return g.start(e?Sp.create(e):void 0),function(){g.stop(),g.status=eZ.NotStarted}},[]),g}function SO(e){return bz(bz({type:b9},e),{toJSON:function(){e.onDone,e.onError;var t=bW(e,["onDone","onError"]);return bz(bz({},t),{type:b9,src:function(e){if("string"==typeof e){var t={type:e};return t.toString=function(){return e},t}return e}(e.src)})}})}var SM={},Sj=function(e){return"#"===e[0]},SF=/*#__PURE__*//** @class */function(){function e(/** 3568 * The raw config used to create the machine. 3569 */t,r,/** 3570 * The initial extended state 3571 */n,o){void 0===n&&(n="context"in t?t.context:void 0);var a,i=this;this.config=t,this._context=n,/** 3572 * The order this state node appears. Corresponds to the implicit SCXML document order. 3573 */this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},r),this.parent=null==o?void 0:o.parent,this.key=this.config.key||(null==o?void 0:o.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||bY([this.machine.key],bq(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(a=this.config.schema)&&void 0!==a?a:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?wd(this.config.states,function(t,r){var n,o=new e(t,{},void 0,{parent:i,key:r});return Object.assign(i.idMap,bz(((n={})[o.id]=o,n),o.idMap)),o}):SM;var s=0;!function e(t){var r,n;t.order=s++;try{for(var o=bG(wU(t)),a=o.next();!a.done;a=o.next()){var i=a.value;e(i)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||
3573!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(e){return""===e.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=wg(this.config.entry||this.config.onEntry).map(function(e){return wq(e)}),this.onExit=wg(this.config.exit||this.config.onExit).map(function(e){return wq(e)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=wg(this.config.invoke).map(function(e,t){if(wk(e)){var r,n,o=wj(i.id,t);return i.machine.options.services=bz(((r={})[o]=e,r),i.machine.options.services),SO({src:o,id:o})}if(wE(e.src)){var o=e.id||wj(i.id,t);return SO(bz(bz({},e),{id:o,src:e.src}))}if(wk(e.src)||wx(e.src)){var o=e.id||wj(i.id,t);return i.machine.options.services=bz(((n={})[o]=e.src,n),i.machine.options.services),SO(bz(bz({id:o},e),{src:o}))}var a=e.src;return SO(bz(bz({id:wj(i.id,t)},e),{src:a}))}),this.activities=wg(this.config.activities).concat(this.invoke).map(function(e){return w$(e)}),this.transition=this.transition.bind(this),this.tags=wg(this.config.tags);// state node getters are deprecated 3574// if (!this.parent) { 3575// this._init(); 3576// } 3577}return e.prototype._init=function(){this.__cache.transitions||(function e(t){var r=[t];return wR(t)?r:r.concat(wm(wL(t).map(e)))})(this).forEach(function(e){return e.on})},/** 3578 * Clones this state machine with custom options and context. 3579 * 3580 * @param options Options (actions, guards, activities, services) to recursively merge with the existing options. 3581 * @param context Custom context (will override predefined context) 3582 */e.prototype.withConfig=function(t,r){var n=this.options,o=n.actions,a=n.activities,i=n.guards,s=n.services,l=n.delays;return new e(this.config,{actions:bz(bz({},o),t.actions),activities:bz(bz({},a),t.activities),guards:bz(bz({},i),t.guards),services:bz(bz({},s),t.services),delays:bz(bz({},l),t.delays)},null!=r?r:this.context)},/** 3583 * Clones this state machine with custom context. 3584 * 3585 * @param context Custom context (will override predefined context, not recursive) 3586 */e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return wx(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{/** 3587 * The well-structured state node definition. 3588 */get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:wd(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{/** 3589 * The mapping of events to transitions. 3590 */get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(e,t){return e[t.eventType]=e[t.eventType]||[],e[t.eventType].push(t),e},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{/** 3591 * All the transitions that can be taken from this state node. 3592 */get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var t=""===e,r=this.transitions.filter(function(r){var n=r.eventType===e;// null events should only match against eventless transitions 3593return t?n:n||"*"===r.eventType});return this.__cache.candidates[e]=r,r},/** 3594 * All delayed transitions from the config. 3595 */e.prototype.getDelayedTransitions=function(){var e=this,t=this.config.after;if(!t)return[];var r=function(t,r){var n=Sn(wx(t)?"".concat(e.id,":delay[").concat(r,"]"):t,e.i
vendor: 4,352 bytes, lines 3595-3612
3595d);return e.onEntry.push(wQ(n,{delay:t})),e.onExit.push(w5(n)),n};return(wS(t)?t.map(function(e,t){var n=r(e.delay,t);return bz(bz({},e),{event:n})}):wm(Object.keys(t).map(function(e,n){var o=t[e],a=wE(o)?{target:o}:o,i=isNaN(+e)?e:+e,s=r(i,n);return wg(a).map(function(e){return bz(bz({},e),{event:s,delay:i})})}))).map(function(t){var r=t.delay;return bz(bz({},e.formatTransition(t)),{delay:r})})},/** 3596 * Returns the state nodes represented by the current state value. 3597 * 3598 * @param state The state value or State instance 3599 */e.prototype.getStateNodes=function(e){var t,r=this;if(!e)return[];var n=e instanceof Sp?e.value:wu(e,this.delimiter);if(wE(n)){var o=this.getStateNode(n).initial;return void 0!==o?this.getStateNodes(((t={})[n]=o,t)):[this,this.states[n]]}var a=Object.keys(n),i=[this];return i.push.apply(i,bY([],bq(wm(a.map(function(e){return r.getStateNode(e).getStateNodes(n[e])}))),!1)),i},/** 3600 * Returns `true` if this state node explicitly handles the given event. 3601 * 3602 * @param event The event in question 3603 */e.prototype.handles=function(e){var t=ws(e);return this.events.includes(t)},/** 3604 * Resolves the given `state` to a new `State` instance relative to this machine. 3605 * 3606 * This ensures that `.events` and `.nextEvents` represent the correct values. 3607 * 3608 * @param state The state to resolve 3609 */e.prototype.resolveState=function(e){var t=e instanceof Sp?e:Sp.create(e),r=Array.from(wD([],this.getStateNodes(t.value)));return new Sp(bz(bz({},t),{value:this.resolve(t.value),configuration:r,done:wZ(r,this),tags:wB(r),machine:this.machine}))},e.prototype.transitionLeafNode=function(e,t,r){var n=this.getStateNode(e).next(t,r);return n&&n.transitions.length?n:this.next(t,r)},e.prototype.transitionCompoundNode=function(e,t,r){var n=Object.keys(e),o=this.getStateNode(n[0])._transition(e[n[0]],t,r);return o&&o.transitions.length?o:this.next(t,r)},e.prototype.transitionParallelNode=function(e,t,r){var n,o,a={};try{for(var i=bG(Object.keys(e)),s=i.next();!s.done;s=i.next()){var l=s.value,u=e[l];if(u){var c=this.getStateNode(l)._transition(u,t,r);c&&(a[l]=c)}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}var d=Object.keys(a).map(function(e){return a[e]}),f=wm(d.map(function(e){return e.transitions}));if(!d.some(function(e){return e.transitions.length>0}))return this.next(t,r);var p=wm(Object.keys(a).map(function(e){return a[e].configuration}));return{transitions:f,exitSet:wm(d.map(function(e){return e.exitSet})),configuration:p,source:t,actions:wm(Object.keys(a).map(function(e){return a[e].actions}))}},e.prototype._transition=function(e,t,r){return(// leaf node 3610wE(e)?this.transitionLeafNode(e,t,r):1===Object.keys(e).length?this.transitionCompoundNode(e,t,r):this.transitionParallelNode(e,t,r))},e.prototype.getTransitionData=function(e,t){return this._transition(e.value,e,wT(t))},e.prototype.next=function(e,t){var r,n,o,a=this,i=t.name,s=[],l=[];try{for(var u=bG(this.getCandidates(i)),c=u.next();!c.done;c=u.next()){var d=c.value,f=d.cond,p=d.in,h=e.context,m=!p||(wE(p)&&Sj(p)?e.matches(wu(this.getStateNodeById(p).path,this.delimiter)):wi(wu(p,this.delimiter),wp(this.path.slice(0,-2))(e.value))),g=!1;try{g=!f||wN(this.machine,f,h,t,e)}catch(e){throw Error("Unable to evaluate guard '".concat(f.name||f.type,"' in transition for event '").concat(i,"' in state node '").concat(this.id,"':\n").concat(e.message))}if(g&&m){void 0!==d.target&&(l=d.target),s.push.apply(s,bY([],bq(d.actions),!1)),o=d;break}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}if(o){if(!l.length)return{transitions:[o],exitSet:[],configuration:e.value?[this]:[],source:e,actions:s};var v=wm(l.map(function(t){return a.getRelativeStateNodes(t,e.historyValue)})),y=!!o.internal;return{transitions:[o],exitSet:y?[]:wm(l.map(function(e){return a.getPotentiallyReenteringNodes(e)})),configuration:v,source:e,actions:s}}},// we are pushing its result into `exitSet` 3611// that's because what we exit might be reentered (it's an invariant of reentrancy) 3612e.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var t=[],r=this;r&&r!==e;)t.push(r),r=r.parent;return r!==e?[]:(t.push(e),t)},e.prototype.getActions=function(e,t,r,n,o,a,i){var s,l,u,c,d=this,f=a?wD([],this.get
3612StateNodes(a.value)):[],p=new Set;try{for(var h=bG(Array.from(e).sort(function(e,t){return e.order-t.order})),m=h.next();!m.done;m=h.next()){var g=m.value;(!wH(f,g)||wH(r.exitSet,g)||g.parent&&p.has(g.parent))&&p.add(g)}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}try{for(var v=bG(f),y=v.next();!y.done;y=v.next()){var g=y.value;(!wH(e,g)||wH(r.exitSet,g.parent))&&r.exitSet.push(g)}}catch(e){u={error:e}}finally{try{y&&!y.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}r.exitSet.sort(function(e,t){return t.order-e.order});var b=Array.from(p).sort(function(e,t){return e.order-t.order}),w=new Set(r.exitSet),S=wm(b.map(function(e){var t=[];if("final"!==e.type)return t;var a=e.parent;if(!a.parent)return t;t.push(So(e.id,e.doneData),So(a.id,e.doneData?wv(e.doneData,n,o):void 0));var i=a.parent;return"parallel"===i.type&&wL(i).every(function(e){return wZ(r.configuration,e)})&&t.push(So(i.id)),t})),x=b.map(function(e){var t=e.onEntry,r=e.activities.map(function(e){return w7(e)});return{type:"entry",actions:wY(i?bY(bY([],bq(t),!1),bq(r),!1):bY(bY([],bq(r),!1),bq(t),!1),d.machine.options.actions)}}).concat({type:"state_done",actions:S.map(function(e){return wK(e)})}),E=Array.from(w).map(function(e){return{type:"exit",actions:wY(bY(bY([],bq(e.onExit),!1),bq(e.activities.map(function(e){return w9(e)})),!1),d.machine.options.actions)}}).concat({type:"transition",actions:wY(r.actions,this.machine.options.actions)}).concat(x);if(t){var C=wY(wm(bY([],bq(e),!1).sort(function(e,t){return t.order-e.order}).map(function(e){return e.onExit})),this.machine.options.actions).filter(function(e){return!wF(e)});return E.concat({type:"stop",actions:C})}return E},/** 3613 * Determines the next state given the current `state` and sent `event`. 3614 * 3615 * @param state The current State instance or state value 3616 * @param event The event that was sent at the current state 3617 * @param context The current context (extended state) of the current state 3618 */e.prototype.transition=function(e,t,r,n){void 0===e&&(e=this.initialState);var o,a,i=wT(t);if(e instanceof Sp)a=void 0===r?e:this.resolveState(Sp.from(e,r));else{var s=wE(e)?this.resolve(wc(this.getResolvedPath(e))):this.resolve(e),l=null!=r?r:this.machine.context;a=this.resolveState(Sp.from(s,l))}if(this.strict&&!this.events.includes(i.name)&&(o=i.name,!/^(done|error)\./.test(o)))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(i.name,"'"));var u=this._transition(a.value,a,i)||{transitions:[],configuration:[],exitSet:[],source:a,actions:[]},c=wD([],this.getStateNodes(a.value)),d=u.configuration.length?wD(c,u.configuration):c;return u.configuration=bY([],bq(d),!1),this.resolveTransition(u,a,a.context,n,i)},e.prototype.resolveRaisedTransition=function(e,t,r,n){var o,a=e.actions;return(// TODO: this should be the raised event! Delete in V5 (breaking) 3619(e=this.transition(e,t,void 0,n))._event=r,e.event=r.data,(o=e.actions).unshift.apply(o,bY([],bq(a),!1)),e)},e.prototype.resolveTransition=function(e,t,r,n,o){var a,i,s,l,u,c,d=this;void 0===o&&(o=wW);var f=e.configuration,p=!t||e.transitions.length>0,h=p?e.configuration:t?t.configuration:[],m=wZ(h,this),g=p?(i=wD([a=this.machine],f),function e(t,r){var n=r.get(t);if(!n)return{};// todo: fix? 3620if("compound"===t.type){var o=n[0];if(!o)return{};if(wR(o))return o.key}var a={};return n.forEach(function(t){a[t.key]=e(t,r)}),a}(a,wV(i))):void 0,v=t?t.historyValue?t.historyValue:e.source?this.machine.historyValue(t.value):void 0:void 0,y=this.getActions(new Set(h),m,e,r,o,t,n),b=t?bz({},t.activities):{};// Transition will "apply" if: 3621try{for(var w=bG(y),S=w.next();!S.done;S=w.next()){var x=S.value;try{for(var E=(u=void 0,bG(x.actions)),C=E.next();!C.done;C=E.next()){var A=C.value;A.type===bQ?b[A.activity.id||A.activity.type]=A:A.type===bX&&(b[A.activity.id||A.activity.type]=!1)}}catch(e){u={error:e}}finally{try{C&&!C.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}}}catch(e){s={error:e}}finally{try{S&&!S.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}var k=bq(Sf(this,t,r,o,y,n,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),_=k[0],I=k[1],T=bq(function(e,t){var r,n,o=bq([[],[]],2),a=o[0],i=o[1];try{for(var s=bG(e),l=s.next();!l.done;l=s.next()){var u=l.value;t(u)?a.push(u):i.push(u)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return[a,i]}(_,wF),2),P=T[0],N=T[1],O=_.filter(function(e){var t;return e.type===bQ&&(null===(t=e.activity)||void 0===t?void 0:t.type)===b9}).reduce(function(e,t){var r,n,a,i,s,l,u,c;return e[t.activity.id]=(r=t.activity,n=d.machine,a=o,s=wO(r.src),l=null===(i=null==n?void 0:n.options.services)||void 0===i?void 0:i[s.type],u=r.data?wv(r.data,I,a):void 0,(c=l?Sb(l,r.id,u):Sy(r.id)).meta=r,c),e},t?bz({},t.children):{}),M=new Sp({value:g||t.value,context:I,_event:o,// Persist _sessionid between states 3622_sessionid:t?t._sessionid:null,historyValue:g?v?{current:g,states:function e(t,r){return wd(t.states,function(t,n){if(t){var o=(wE(r)?void 0:r[n])||(t?t.current:void 0);if(o)return{current:o,states:e(t,o)}}})}(v,g)}:void 0:t?t.historyValue:void 0,history:!g||e.source?t:void 0,actions:g?N:[],activities:g?b:t?t.activities:{},events:[],configuration:h,transitions:e.transitions,children:O,done:m,tags:wB(h),machine:this}),j=r!==I;M.changed=o.name===wn||j;var F=M.history;F&&delete F.history;// There are transient transitions if the machine is not in a final state 3623// and if some of the state nodes have transient ("always") transitions. 3624var R=!m&&(this._transient||f.some(function(e){return e._transient}));// If there are no enabled transitions, check if there are transient transitions. 3625// If there are transient transitions, continue checking for more transitions 3626// because an transient transition should be triggered even if there are no 3627// enabled transitions. 3628// 3629// If we're already working on an transient transition then stop to prevent an infinite loop. 3630// 3631// Otherwise, if there are no enabled nor transient transitions, we are done. 3632if(!p&&(!R||""===o.name))return M;var U=M;if(!m)for(R&&(U=this.resolveRaisedTransition(U,{type:b8},o,n));P.length;){var L=P.shift();U=this.resolveRaisedTransition(U,L._event,o,n)}// Detect if state changed 3633var D=U.changed||(F?!!U.actions.length||j||typeof F.value!=typeof U.value||!function e(t,r){if(t===r)return!0;
3633if(void 0===t||void 0===r)return!1;if(wE(t)||wE(r))return t===r;var n=Object.keys(t),o=Object.keys(r);return n.length===o.length&&n.every(function(n){return e(t[n],r[n])})}(U.value,F.value):void 0);return U.changed=D,U.history=F,U},/** 3634 * Returns the child state node from its relative `stateKey`, or throws. 3635 */e.prototype.getStateNode=function(e){if(Sj(e))return this.machine.getStateNodeById(e);if(!this.states)throw Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var t=this.states[e];if(!t)throw Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return t},/** 3636 * Returns the state node with the given `stateId`, or throws. 3637 * 3638 * @param stateId The state ID. The prefix "#" is removed. 3639 */e.prototype.getStateNodeById=function(e){var t=Sj(e)?e.slice(1):e;if(t===this.id)return this;var r=this.machine.idMap[t];if(!r)throw Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"));return r},/** 3640 * Returns the relative state node from the given `statePath`, or throws. 3641 * 3642 * @param statePath The string or string array relative path to the state node. 3643 */e.prototype.getStateNodeByPath=function(e){if("string"==typeof e&&Sj(e))try{return this.getStateNodeById(e.slice(1))}catch(e){// throw e; 3644}for(var t=wl(e,this.delimiter).slice(),r=this;t.length;){var n=t.shift();if(!n.length)break;r=r.getStateNode(n)}return r},/** 3645 * Resolves a partial state value with its full representation in this machine. 3646 * 3647 * @param stateValue The partial state value to resolve. 3648 */e.prototype.resolve=function(e){var t,r=this;if(!e)return this.initialStateValue||SM;// TODO: type-specific properties 3649switch(this.type){case"parallel":return wd(this.initialStateValue,function(t,n){return t?r.getStateNode(n).resolve(e[n]||t):SM});case"compound":if(wE(e)){var n=this.getStateNode(e);if("parallel"===n.type||"compound"===n.type)return(t={})[e]=n.initialStateValue,t;return e}if(!Object.keys(e).length)return this.initialStateValue||{};return wd(e,function(e,t){return e?r.getStateNode(t).resolve(e):SM});default:return e||SM}},e.prototype.getResolvedPath=function(e){if(Sj(e)){var t=this.machine.idMap[e.slice(1)];if(!t)throw Error("Unable to find state node '".concat(e,"'"));return t.path}return wl(e,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var e,t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)t=wf(this.states,function(e){return e.initialStateValue||SM},function(e){return"history"!==e.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));t=wR(this.states[this.initial])?this.initial:((e={})[this.initial]=this.states[this.initial].initialStateValue,e)}else t={};return this.__cache.initialStateValue=t,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(e,t){this._init();// TODO: this should be in the constructor (see note in constructor) 3650var r=this.getStateNodes(e);return this.resolveTransition({configuration:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=t?t:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{/** 3651 * The initial State instance, which includes all actions to be executed from 3652 * entering the initial state. 3653 */get:function(){var e=this.initialStateValue;if(!e)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{/** 3654 * The target state value of the history state node, if it exists. This represents the 3655 * default state value to transition to if no history value exists yet. 3656 */get:function(){var e;if("history"===this.type){var t=this.config;e=wE(t.target)&&Sj(t.target)?wc(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target}return e}
vendor: 4,363 bytes, lines 3656-3682
3656,enumerable:!1,configurable:!0}),/** 3657 * Returns the leaf nodes from a state path relative to this state node. 3658 * 3659 * @param relativeStateId The relative state path to retrieve the state nodes 3660 * @param history The previous state to retrieve history 3661 * @param resolve Whether state nodes should resolve to initial child state nodes 3662 */e.prototype.getRelativeStateNodes=function(e,t,r){return void 0===r&&(r=!0),r?"history"===e.type?e.resolveHistory(t):e.initialStateNodes:[e]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var e=this;return wR(this)?[this]:"compound"!==this.type||this.initial?wm(wh(this.initialStateValue).map(function(t){return e.getFromRelativePath(t)})):[this]},enumerable:!1,configurable:!0}),/** 3663 * Retrieves state nodes from a relative path to this state node. 3664 * 3665 * @param relativePath The relative path from this state node 3666 * @param historyValue 3667 */e.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var t=bq(e),r=t[0],n=t.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var o=this.getStateNode(r);if("history"===o.type)return o.resolveHistory();if(!this.states[r])throw Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(n)},e.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:wf(this.states,function(t,r){if(!e)return t.historyValue();var n=wE(e)?void 0:e[r];return t.historyValue(n||t.initialStateValue)},function(e){return!e.history})}},/** 3668 * Resolves to the historical value(s) of the parent state node, 3669 * represented by state nodes. 3670 * 3671 * @param historyValue 3672 */e.prototype.resolveHistory=function(e){var t,r=this;if("history"!==this.type)return[this];var n=this.parent;if(!e){var o=this.target;return o?wm(wh(o).map(function(e){return n.getFromRelativePath(e)})):n.initialStateNodes}var a=(t=n.path,function(e){var r,n,o=e;try{for(var a=bG(t),i=a.next();!i.done;i=a.next()){var s=i.value;o=o.states[s]}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o})(e).current;return wE(a)?[n.getStateNode(a)]:wm(wh(a).map(function(e){return"deep"===r.history?n.getFromRelativePath(e):[n.states[e[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{/** 3673 * All the state node IDs of this state node and its descendant state nodes. 3674 */get:function(){var e=this,t=wm(Object.keys(this.states).map(function(t){return e.states[t].stateIds}));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{/** 3675 * All the event types accepted by this state node and its descendants. 3676 */get:function(){if(this.__cache.events)return this.__cache.events;var e,t,r,n,o=this.states,a=new Set(this.ownEvents);if(o)try{for(var i=bG(Object.keys(o)),s=i.next();!s.done;s=i.next()){var l=o[s.value];if(l.states)try{for(var u=(r=void 0,bG(l.events)),c=u.next();!c.done;c=u.next()){var d=c.value;a.add("".concat(d))}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{/** 3677 * All the events that have transitions directly from this state node. 3678 * 3679 * Excludes any inert events. 3680 */get:function(){return Array.from(new Set(this.transitions.filter(function(e){return!(!e.target&&!e.actions.length&&e.internal)}).map(function(e){return e.eventType})))},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(e){var t=this;if(void 0!==e)return e.map(function(e){if(!wE(e))return e;var r=e[0]===t.delimiter;// If internal target is defined on machine, 3681// do not include machine key on target 3682if(r&&!t.parent)return t.getStateNodeByPath(e.slice(1));var n=r?t.key+e:e;if(!t.parent)return t.getStateNodeByPath(n);try{return t.parent.getStateNodeByPath(n)}catch(e){throw Error("Invalid transition definition for state node '".concat(t.id,"':\n").concat(e.message))}})},e.prototype.formatTransition=function(e){var t=this,r=function(e){if(void 0!==e&&""!==e)return wg(e)}
3682(e.target),n="internal"in e?e.internal:!r||r.some(function(e){return wE(e)&&e[0]===t.delimiter}),o=this.machine.options.guards,a=this.resolveTarget(r),i=bz(bz({},e),{actions:wY(wg(e.actions)),cond:wC(e.cond,o),target:a,source:this,internal:n,eventType:e.event,toJSON:function(){return bz(bz({},i),{target:i.target?i.target.map(function(e){return"#".concat(e.id)}):void 0,source:"#".concat(t.id)})}});return i},e.prototype.formatTransitions=function(){var e,t,r,n=this;if(this.config.on){if(Array.isArray(this.config.on))r=this.config.on;else{var o=this.config.on,a=o["*"],i=void 0===a?[]:a,s=bW(o,["*"]);r=wm(Object.keys(s).map(function(e){return wP(e,s[e])}).concat(wP("*",i)))}}else r=[];var l=this.config.always?wP("",this.config.always):[],u=this.config.onDone?wP(String(So(this.id)),this.config.onDone):[],c=wm(this.invoke.map(function(e){var t=[];return e.onDone&&t.push.apply(t,bY([],bq(wP(String(Sa(e.id)),e.onDone)),!1)),e.onError&&t.push.apply(t,bY([],bq(wP(String(Si(e.id)),e.onError)),!1)),t})),d=this.after,f=wm(bY(bY(bY(bY([],bq(u),!1),bq(c),!1),bq(r),!1),bq(l),!1).map(function(e){return wg(e).map(function(e){return n.formatTransition(e)})}));try{for(var p=bG(d),h=p.next();!h.done;h=p.next()){var m=h.value;f.push(m)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}return f},e}();function SR(e,t){return new SF(e,t)}var SU=w2;const{assign:SL,stop:SD}=wz,SV=e=>SD(e),SH=SL({attributeToVerify:e=>{}}),SZ=SL({challengeName:e=>{}}),SB=SL({requiredAttributes:e=>{}}),Sz=SL({remoteError:e=>""}),SW=SL({formValues:e=>({})}),SG=SL({touched:e=>({})}),Sq=SL({unverifiedContactMethods:e=>{}}),SY=SL({username:e=>{}}),S$=SL({validationError:e=>({})}),SK=SL({totpSecretCode:(e,t)=>t.data}),SJ=SL({challengeName:(e,t)=>{var r;return null===(r=t.data)||void 0===r?void 0:r.challengeName}}),SQ=SL({requiredAttributes:(e,t)=>{var r,n;return null===(n=null===(r=t.data)||void 0===r?void 0:r.challengeParam)||void 0===n?void 0:n.requiredAttributes}}),SX=SL({redirectIntent:e=>"confirmPasswordReset"}),S0=SL({redirectIntent:e=>"confirmSignUp"}),S1=SL({authAttributes:(e,t)=>{var r,n;let[o]=e.loginMechanisms;return{username:null!==(r=e.formValues[o])&&void 0!==r?r:e.formValues.username,password:null===(n=e.formValues)||void 0===n?void 0:n.password}}}),S2=SL({validationError:(e,t)=>t.data}),S8=SL({remoteError:(e,t)=>{var r;return"NoUserPoolError"===t.data.name?"Configuration error (see console) â please contact the administrator":(null===(r=t.data)||void 0===r?void 0:r.message)||t.data}}),S6=SL({unverifiedContactMethods:(e,t)=>t.data.unverified}),S4=SL({user:(e,t)=>t.data.user||t.data}),S3=SL({username:(e,t)=>{let{formValues:{username:r,country_code:n}}=e;return n&&(r=`${n}${r}`),r}}),S5=SL({codeDeliveryDetails:(e,t)=>t.data.codeDeliveryDetails}),S7=SL({authAttributes:(e,t)=>({username:e.formValues.username})}),S9=SL({formValues:(e,t)=>{let{name:r,value:n}=t.data;return Object.assign(Object.assign({},e.formValues),{[r]:n})}}),xe=SL({formValues:(e,t)=>{let r=Object.assign(Object.assign({},e.formValues),t.data);return function(e,...t){return Object.entries(e).reduce((e,[r,n])=>Object.assign(Object.assign({},e),{[r]:t.includes(r)?n:null==n?void 0:n.trim()}),{})}(r,"password")}}),xt=SL({touched:(e,t)=>{let{name:r}=t.data;return Object.assign(Object.assign({},e.touched),{[`${r}`]:!0})}}),xr=e=>bN(void 0,void 0,void 0,function*(){let{username:t}=e;return yield cu.forgotPassword(t)}),xn=SL({formValues:(e,t)=>{var r;let[n="username"]=e.loginMechanisms;if(!e.formValues.phone_number&&"phone_number"!==n)return e.formValues;let{formValues:o,country_code:a}=e,i=o.phone_number?"phone_number":"username",s=`${null!==(r=o.country_code)&&void 0!==r?r:a}${o[i]}`.replace(/[^A-Z0-9+]/gi,""),l=Object.assign(Object.assign({},o),{[i]:s});return delete l.country_code,l}});var xo={},xa={},xi={},xs={};xs=Array.isArray;var xl={},xu={},xc={},xd={},xf=tB("23YZo");xd=xf.Symbol;var xp={},xh=Object.prototype,xm=xh.hasOwnProperty,xg=xh.toString,xv=xd?xd.toStringTag:void 0;xp=/** 3683 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. 3684 * 3685 * @private 3686 * @param {*} value The value to query. 3687 * @returns {string} Returns the raw `toStringTag`. 3688 */function(e){var t=xm.call(e,xv),r=e[xv];try{e[xv]=void 0;var n=!0}catch(e){}var o=xg.call(e);return n&&(t?e[xv]=r:delete e[xv]),o};var xy={},xb=Object.prototype.toString;xy=/** 3689 * Converts `value` to a string using `Object.prototype.toString`. 3690 * 3691 * @private 3692 * @param {*} value The value to convert. 3693 * @returns {string} Returns the converted string. 3694 */function(e){return xb.call(e)};/** Built-in value references. */var xw=xd?xd.toStringTag:void 0;xc=/** 3695 * The base implementation of `getTag` without fallbacks for buggy environments. 3696 * 3697 * @private 3698 * @param {*} value The value to query. 3699 * @returns {string} Returns the `toStringTag`.
3700 */function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":xw&&xw in Object(e)?xp(e):xy(e)};var xS={};xS=/** 3701 * Checks if `value` is object-like. A value is object-like if it's not `null` 3702 * and has a `typeof` result of "object". 3703 * 3704 * @static 3705 * @memberOf _ 3706 * @since 4.0.0 3707 * @category Lang 3708 * @param {*} value The value to check. 3709 * @returns {boolean} Returns `true` if `value` is object-like, else `false`. 3710 * @example 3711 * 3712 * _.isObjectLike({}); 3713 * // => true 3714 * 3715 * _.isObjectLike([1, 2, 3]); 3716 * // => true 3717 * 3718 * _.isObjectLike(_.noop); 3719 * // => false 3720 * 3721 * _.isObjectLike(null); 3722 * // => false 3723 */function(e){return null!=e&&"object"==typeof e},xu=/** 3724 * Checks if `value` is classified as a `Symbol` primitive or object. 3725 * 3726 * @static 3727 * @memberOf _ 3728 * @since 4.0.0 3729 * @category Lang 3730 * @param {*} value The value to check. 3731 * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. 3732 * @example 3733 * 3734 * _.isSymbol(Symbol.iterator); 3735 * // => true 3736 * 3737 * _.isSymbol('abc'); 3738 * // => false 3739 */function(e){return"symbol"==typeof e||xS(e)&&"[object Symbol]"==xc(e)};/** Used to match property names within property paths. */var xx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xE=/^\w*$/;xl=/** 3740 * Checks if `value` is a property name and not a property path. 3741 * 3742 * @private 3743 * @param {*} value The value to check. 3744 * @param {Object} [object] The object to query keys on. 3745 * @returns {boolean} Returns `true` if `value` is a property name, else `false`. 3746 */function(e,t){if(xs(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||xu(e))||xE.test(e)||!xx.test(e)||null!=t&&e in Object(t)};var xC={},xA={},xk={},x_={},xI={},xT={},xP={},xN={},xO={},xM={},xj={};xj=/** 3747 * Checks if `value` is the 3748 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) 3749 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) 3750 * 3751 * @static 3752 * @memberOf _ 3753 * @since 0.1.0 3754 * @category Lang 3755 * @param {*} value The value to check. 3756 * @returns {boolean} Returns `true` if `value` is an object, else `false`. 3757 * @example 3758 * 3759 * _.isObject({}); 3760 * // => true 3761 * 3762 * _.isObject([1, 2, 3]); 3763 * // => true 3764 * 3765 * _.isObject(_.noop); 3766 * // => true 3767 * 3768 * _.isObject(null); 3769 * // => false 3770 */function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},xM=/** 3771 * Checks if `value` is classified as a `Function` object. 3772 * 3773 * @static 3774 * @memberOf _ 3775 * @since 0.1.0 3776 * @category Lang 3777 * @param {*} value The value to check. 3778 * @returns {boolean} Returns `true` if `value` is a function, else `false`. 3779 * @example 3780 * 3781 * _.isFunction(_); 3782 * // => true 3783 * 3784 * _.isFunction(/abc/); 3785 * // => false 3786 */function(e){if(!xj(e))return!1;// The use of `Object#toString` avoids issues with the `typeof` operator 3787// in Safari 9 which returns 'object' for typed arrays and other constructors. 3788var t=xc(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};var xF={},xR={},xf=tB("23YZo");xR=xf["__core-js_shared__"];/** Used to detect methods masquerading as native. */var xU=(z=/[^.]+$/.exec(xR&&xR.keys&&xR.keys.IE_PROTO||""))?"Symbol(src)_1."+z:"";xF=/** 3789 * Checks if `func` has its source masked. 3790 * 3791 * @private 3792 * @param {Function} func The function to check. 3793 * @returns {boolean} Returns `true` if `func` is masked, else `false`. 3794 */function(e){return!!xU&&xU in e};var xL={},xD=Function.prototype.toString;xL=/** 3795 * Converts `func` to its source code. 3796 * 3797 * @private 3798 * @param {Function} func The function to convert. 3799 * @returns {string} Returns the source code. 3800 */function(e){if(null!=e){try{return xD.call(e)}catch(e){}try{return e+""}catch(e){}}return""};/** Used to detect host constructors (Safari). */var xV=/^\[object .+?Constructor\]$/,xH=Object.prototype,xZ=Function.prototype.toString,xB=xH.hasOwnProperty,xz=RegExp("^"+xZ.call(xB).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");xO=/** 3801 * The base implementation of `_.isNative` without bad shim checks. 3802 * 3803 * @private 3804 * @param {*} value The value to check. 3805 * @returns {boolean} Returns `true` if `value` is a native function, 3806 * else `false`. 3807 */function(e){return!(!xj(e)||xF(e))&&(xM(e)?xz:xV).test(xL(e))};var xW={};xW=/** 3808 * Gets the value at `key` of `object`. 3809 * 3810 * @private 3811 * @param {Object} [object] The object to query. 3812 * @param {string} key The key of the property to get. 3813 * @returns {*} Returns the property value. 3814 */function(e,t){return null==e?void 0:e[t]},xP=(xN=/** 3815 * Gets the native function at `key` of `object`. 3816 * 3817 * @private 3818 * @param {Object} object The object to query. 3819 * @param {string} key The key of the method to get. 3820 * @returns {*} Returns the function if it's native, else `undefined`. 3821 */function(e,t){var r=xW(e,t);return xO(r)?r:void 0})(Object,"create"),xT=/** 3822 * Removes all key-value entries from the hash. 3823 * 3824 * @private 3825 * @name clear 3826 * @memberOf Hash 3827 */function(){this.__data__=xP?xP(null):{},this.size=0};var xG={};xG=/** 3828 * Removes `key` and its value from the hash. 3829 * 3830 * @private 3831 * @name delete 3832 * @memberOf Hash 3833 * @param {Object} hash The hash to modify. 3834 * @param {string} key The key of the value to remove. 3835 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 3836 */function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var xq={},xY=Object.prototype.hasOwnProperty;xq=/** 3837 * Gets the hash value for `key`. 3838 * 3839 * @private 3840 * @name get 3841 * @memberOf Hash 3842 * @param {string} key The key of the value to get. 3843 * @returns {*} Returns the entry value. 3844 */function(e){var t=this.__data__;if(xP){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return xY.call(t,e)?t[e]:void 0};var x$={},xK=Object.prototype.hasOwnProperty;x$=/** 3845 * Checks if a hash value for `key` exists. 3846 * 3847 * @private 3848 * @name has 3849 * @memberOf Hash 3850 * @param {string} key The key of the entry to check. 3851 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 3852 */function(e){var t=this.__data__;return xP?void 0!==t[e]:xK.call(t,e)};var xJ={};/** 3853 * Creates a hash object. 3854 * 3855 * @private 3856 * @constructor 3857 * @param {Array} [entries] The key-value pairs to cache. 3858 */function xQ(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xJ=/** 3859 * Sets the hash `key` to `value`. 3860 * 3861 * @private 3862 * @name set 3863 * @memberOf Hash 3864 * @param {string} key The key of the value to set. 3865 * @param {*} value The value to set. 3866 * @returns {Object} Returns the hash instance. 3867 */function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=xP&&void 0===t?"__lodash_hash_undefined__":t,this},// Add methods to `Hash`. 3868xQ.prototype.clear=xT,xQ.prototype.delete=xG,xQ.prototype.get=xq,xQ.prototype.has=x$,xQ.prototype.set=xJ,xI=xQ;var xX={},x0={};x0=/** 3869 * Removes all key-value entries from the list cache. 3870 * 3871 * @private 3872 * @name clear 3873 * @memberOf ListCache 3874 */function(){this.__data__=[],this.size=0};var x1={},x2={},x8={};x8=/** 3875 * Performs a 3876 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) 3877 * comparison between two values to determine if they are equivalent. 3878 * 3879 * @static 3880 * @memberOf _ 3881 * @since 4.0.0 3882 * @category Lang 3883 * @param {*} value The value to compare. 3884 * @param {*} other The other value to compare. 3885 * @returns {boolean} Returns `true` if the values are equivalent, else `false`. 3886 * @example 3887 * 3888 * var object = { 'a': 1 }; 3889 * var other = { 'a': 1 }; 3890 * 3891 * _.eq(object, object); 3892 * // => true 3893 * 3894 * _.eq(object, other); 3895 * // => false 3896 * 3897 * _.eq('a', 'a'); 3898 * // => true 3899 * 3900 * _.eq('a', Object('a')); 3901 * // => false 3902 * 3903 * _.eq(NaN, NaN); 3904 * // => true 3905 */function(e,t){return e===t||e!=e&&t!=t},x2=/** 3906 * Gets the index at which the `key` is found in `array` of key-value pairs. 3907 * 3908 * @private 3909 * @param {Array} array The array to inspect. 3910 * @param {*}
3910 key The key to search for. 3911 * @returns {number} Returns the index of the matched value, else `-1`. 3912 */function(e,t){for(var r=e.length;r--;)if(x8(e[r][0],t))return r;return -1};/** Built-in value references. */var x6=Array.prototype.splice;x1=/** 3913 * Removes `key` and its value from the list cache. 3914 * 3915 * @private 3916 * @name delete 3917 * @memberOf ListCache 3918 * @param {string} key The key of the value to remove. 3919 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 3920 */function(e){var t=this.__data__,r=x2(t,e);return!(r<0)&&(r==t.length-1?t.pop():x6.call(t,r,1),--this.size,!0)};var x4={};x4=/** 3921 * Gets the list cache value for `key`. 3922 * 3923 * @private 3924 * @name get 3925 * @memberOf ListCache 3926 * @param {string} key The key of the value to get. 3927 * @returns {*} Returns the entry value. 3928 */function(e){var t=this.__data__,r=x2(t,e);return r<0?void 0:t[r][1]};var x3={};x3=/** 3929 * Checks if a list cache value for `key` exists. 3930 * 3931 * @private 3932 * @name has 3933 * @memberOf ListCache 3934 * @param {string} key The key of the entry to check. 3935 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 3936 */function(e){return x2(this.__data__,e)>-1};var x5={};/** 3937 * Creates an list cache object. 3938 * 3939 * @private 3940 * @constructor 3941 * @param {Array} [entries] The key-value pairs to cache. 3942 */function x7(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}x5=/** 3943 * Sets the list cache `key` to `value`. 3944 * 3945 * @private 3946 * @name set 3947 * @memberOf ListCache 3948 * @param {string} key The key of the value to set. 3949 * @param {*} value The value to set. 3950 * @returns {Object} Returns the list cache instance. 3951 */function(e,t){var r=this.__data__,n=x2(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},// Add methods to `ListCache`. 3952x7.prototype.clear=x0,x7.prototype.delete=x1,x7.prototype.get=x4,x7.prototype.has=x3,x7.prototype.set=x5,xX=x7;var x9={},xf=tB("23YZo");x9=xN(xf,"Map"),x_=/** 3953 * Removes all key-value entries from the map. 3954 * 3955 * @private 3956 * @name clear 3957 * @memberOf MapCache 3958 */function(){this.size=0,this.__data__={hash:new xI,map:new(x9||xX),string:new xI}};var Ee={},Et={},Er={};Er=/** 3959 * Checks if `value` is suitable for use as unique object key. 3960 * 3961 * @private 3962 * @param {*} value The value to check. 3963 * @returns {boolean} Returns `true` if `value` is suitable, else `false`. 3964 */function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},Et=/** 3965 * Gets the data for `map`. 3966 * 3967 * @private 3968 * @param {Object} map The map to query. 3969 * @param {string} key The reference key. 3970 * @returns {*} Returns the map data. 3971 */function(e,t){var r=e.__data__;return Er(t)?r["string"==typeof t?"string":"hash"]:r.map},Ee=/** 3972 * Removes `key` and its value from the map. 3973 * 3974 * @private 3975 * @name delete 3976 * @memberOf MapCache 3977 * @param {string} key The key of the value to remove. 3978 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 3979 */function(e){var t=Et(this,e).delete(e);return this.size-=t?1:0,t};var En={};En=/** 3980 * Gets the map value for `key`. 3981 * 3982 * @private 3983 * @name get 3984 * @memberOf MapCache 3985 * @param {string} key The key of the value to get. 3986 * @returns {*} Returns the entry value. 3987 */function(e){return Et(this,e).get(e)};var Eo={};Eo=/** 3988 * Checks if a map value for `key` exists. 3989 * 3990 * @private 3991 * @name has 3992 * @memberOf MapCache 3993 * @param {string} key The key of the entry to check. 3994 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 3995 */function(e){return Et(this,e).has(e)};var Ea={};/** 3996 * Creates a map cache object to store key-value pairs. 3997 * 3998 * @private 3999 * @constructor 4000 * @param {Array} [entries] The key-value pairs to cache. 4001 */function Ei(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}/** 4002 * Creates a function that memoizes the result of `func`. If `resolver` is 4003 * provided, it determines the cache key for storing the result based on the 4004 * arguments provided to the memoized function. By default, the first argument 4005 * provided to the memoized function is used as the map cache key. The `func` 4006 * is invoked with the `this` binding of the memoized function. 4007 * 4008 * **Note:** The cache is exposed as the `cache` property on the memoized 4009 * function. Its creation may be customized by replacing the `_.memoize.Cache` 4010 * constructor with one whose instances implement the 4011 * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) 4012 * method interface of `clear`, `delete`, `get`, `has`, and `set`. 4013 * 4014 * @static 4015 * @memberOf _ 4016 * @since 0.1.0 4017 * @category Function 4018 * @param {Function} func The function to have its output memoized. 4019 * @param {Function} [resolver] The function to resolve the cache key. 4020 * @returns {Function} Returns the new memoized function. 4021 * @example 4022 * 4023 * var object = { 'a': 1, 'b': 2 }; 4024 * var other = { 'c': 3, 'd': 4 }; 4025 * 4026 * var values = _.memoize(_.values); 4027 * values(object); 4028 * // => [1, 2] 4029 * 4030 * values(other); 4031 * // => [3, 4] 4032 *
4033 * object.a = 2; 4034 * values(object); 4035 * // => [1, 2] 4036 * 4037 * // Modify the result cache. 4038 * values.cache.set(object, ['a', 'b']); 4039 * values(object); 4040 * // => ['a', 'b'] 4041 * 4042 * // Replace `_.memoize.Cache`. 4043 * _.memoize.Cache = WeakMap; 4044 */function Es(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Es.Cache||xk),r}Ea=/** 4045 * Sets the map `key` to `value`. 4046 * 4047 * @private 4048 * @name set 4049 * @memberOf MapCache 4050 * @param {string} key The key of the value to set. 4051 * @param {*} value The value to set. 4052 * @returns {Object} Returns the map cache instance. 4053 */function(e,t){var r=Et(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},// Add methods to `MapCache`. 4054Ei.prototype.clear=x_,Ei.prototype.delete=Ee,Ei.prototype.get=En,Ei.prototype.has=Eo,Ei.prototype.set=Ea,xk=Ei,// Expose `MapCache`. 4055Es.Cache=xk;/** Used to match property names within property paths. */var El=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Eu=/\\(\\)?/g;l=(s=(xA=Es)(function(e){var t=[];return 46/* . */===e.charCodeAt(0)&&t.push(""),e.replace(El,function(e,r,n,o){t.push(n?o.replace(Eu,"$1"):r||e)}),t},function(e){return 500===l.size&&l.clear(),e})).cache,xC=s;var Ec={},Ed={},Ef={};Ef=/** 4056 * A specialized version of `_.map` for arrays without support for iteratee 4057 * shorthands. 4058 * 4059 * @private 4060 * @param {Array} [array] The array to iterate over. 4061 * @param {Function} iteratee The function invoked per iteration. 4062 * @returns {Array} Returns the new mapped array. 4063 */function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o};/** Used as references for various `Number` constants. */var Ep=1/0,Eh=xd?xd.prototype:void 0,Em=Eh?Eh.toString:void 0;Ed=/** 4064 * The base implementation of `_.toString` which doesn't convert nullish 4065 * values to empty strings. 4066 * 4067 * @private 4068 * @param {*} value The value to process. 4069 * @returns {string} Returns the string. 4070 */function e(t){// Exit early for strings to avoid a performance hit in some environments. 4071if("string"==typeof t)return t;if(xs(t))return Ef(t,e)+"";if(xu(t))return Em?Em.call(t):"";var r=t+"";return"0"==r&&1/t==-Ep?"-0":r},Ec=/** 4072 * Converts `value` to a string. An empty string is returned for `null` 4073 * and `undefined` values. The sign of `-0` is preserved. 4074 * 4075 * @static 4076 * @memberOf _ 4077 * @since 4.0.0 4078 * @category Lang 4079 * @param {*} value The value to convert. 4080 * @returns {string} Returns the converted string. 4081 * @example 4082 * 4083 * _.toString(null); 4084 * // => '' 4085 * 4086 * _.toString(-0); 4087 * // => '-0' 4088 * 4089 * _.toString([1, 2, 3]); 4090 * // => '1,2,3' 4091 */function(e){return null==e?"":Ed(e)},xi=/** 4092 * Casts `value` to a path array if it's not one. 4093 * 4094 * @private 4095 * @param {*} value The value to inspect. 4096 * @param {Object} [object] The object to query keys on. 4097 * @returns {Array} Returns the cast property path array. 4098 */function(e,t){return xs(e)?e:xl(e,t)?[e]:xC(Ec(e))};var Eg={},Ev=1/0;Eg=/** 4099 * Converts `value` to a string key if it's not a string or symbol. 4100 * 4101 * @private 4102 * @param {*} value The value to inspect. 4103 * @returns {string|symbol} Returns the key. 4104 */function(e){if("string"==typeof e||xu(e))return e;var t=e+"";return"0"==t&&1/e==-Ev?"-0":t},xa=/** 4105 * The base implementation of `_.get` without support for default values. 4106 * 4107 * @private 4108 * @param {Object} object The object to query. 4109 * @param {Array|string} path The path of the property to get. 4110 * @returns {*} Returns the resolved value. 4111 */function(e,t){t=xi(t,e);for(var r=0,n=t.length;null!=e&&r<n;)e=e[Eg(t[r++])];return r&&r==n?e:void 0},xo=/** 4112 * Gets the value at `path` of `object`. If the resolved value is 4113 * `undefined`, the `defaultValue` is returned in its place. 4114 * 4115 * @static 4116 * @memberOf _ 4117 * @since 3.7.0 4118 * @category Object 4119 * @param {Object} object The object to query. 4120 * @param {Array|string} path The path of the property to get. 4121 * @param {*} [defaultValue] The value returned for `undefined` resolved values. 4122 * @returns {*} Returns the resolved value. 4123 * @example 4124 * 4125 * var object = { 'a': [{ 'b': { 'c': 3 } }] }; 4126 * 4127 * _.get(object, 'a[0].b.c'); 4128 * // => 3 4129 * 4130 * _.get(object, ['a', '0', 'b', 'c']); 4131 * // => 3 4132 * 4133 * _.get(object, 'a.b.c', 'default'); 4134 * // => 'default' 4135 */function(e,t,r){var n=null==e?void 0:xa(e,t);return void 0===n?r:n};var Ey={},Eb={},Ew={},ES={};ES=/** 4136 * Removes all key-value entries from the stack. 4137 * 4138 * @private 4139 * @name clear 4140 * @memberOf Stack 4141 */function(){this.__data__=new xX,this.size=0};var Ex={};Ex=/** 4142 * Removes `key` and its value from the stack. 4143 * 4144 * @private 4145 * @name delete 4146 * @memberOf Stack 4147 * @param {string} key The key of the value to remove. 4148 * @returns {boolean} Returns `true` if the entry was removed, else `false`. 4149 */function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var EE={};EE=/** 4150 * Gets the stack value for `key`. 4151 * 4152 * @private 4153 * @name get 4154 * @memberOf Stack 4155 * @param {string} key The key of the value to get. 4156 * @returns {*} Returns the entry value. 4157 */function(e){return this.__data__.get(e)};var EC={};
4157EC=/** 4158 * Checks if a stack value for `key` exists. 4159 * 4160 * @private 4161 * @name has 4162 * @memberOf Stack 4163 * @param {string} key The key of the entry to check. 4164 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 4165 */function(e){return this.__data__.has(e)};var EA={};/** 4166 * Creates a stack cache object to store key-value pairs. 4167 * 4168 * @private 4169 * @constructor 4170 * @param {Array} [entries] The key-value pairs to cache. 4171 */function Ek(e){var t=this.__data__=new xX(e);this.size=t.size}EA=/** 4172 * Sets the stack `key` to `value`. 4173 * 4174 * @private 4175 * @name set 4176 * @memberOf Stack 4177 * @param {string} key The key of the value to set. 4178 * @param {*} value The value to set. 4179 * @returns {Object} Returns the stack cache instance. 4180 */function(e,t){var r=this.__data__;if(r instanceof xX){var n=r.__data__;if(!x9||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new xk(n)}return r.set(e,t),this.size=r.size,this},// Add methods to `Stack`. 4181Ek.prototype.clear=ES,Ek.prototype.delete=Ex,Ek.prototype.get=EE,Ek.prototype.has=EC,Ek.prototype.set=EA,Ew=Ek;var E_={},EI={},ET={};ET=function(){try{var e=xN(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),EI=/** 4182 * The base implementation of `assignValue` and `assignMergeValue` without 4183 * value checks. 4184 * 4185 * @private 4186 * @param {Object} object The object to modify. 4187 * @param {string} key The key of the property to assign. 4188 * @param {*} value The value to assign. 4189 */function(e,t,r){"__proto__"==t&&ET?ET(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},E_=/** 4190 * This function is like `assignValue` except that it doesn't assign 4191 * `undefined` values. 4192 * 4193 * @private 4194 * @param {Object} object The object to modify. 4195 * @param {string} key The key of the property to assign. 4196 * @param {*} value The value to assign. 4197 */function(e,t,r){(void 0===r||x8(e[t],r))&&(void 0!==r||t in e)||EI(e,t,r)};var EP={};EP=function(e,t,r){for(var n=-1,o=Object(e),a=r(e),i=a.length;i--;){var s=a[++n];if(!1===t(o[s],s,o))break}return e};var EN={},EO=tB("uQ1Em"),EM={},Ej={},EF={},xf=tB("23YZo");EF=xf.Uint8Array,Ej=/** 4198 * Creates a clone of `arrayBuffer`. 4199 * 4200 * @private 4201 * @param {ArrayBuffer} arrayBuffer The array buffer to clone. 4202 * @returns {ArrayBuffer} Returns the cloned array buffer. 4203 */function(e){var t=new e.constructor(e.byteLength);return new EF(t).set(new EF(e)),t},EM=/** 4204 * Creates a clone of `typedArray`. 4205 * 4206 * @private 4207 * @param {Object} typedArray The typed array to clone. 4208 * @param {boolean} [isDeep] Specify a deep clone. 4209 * @returns {Object} Returns the cloned typed array. 4210 */function(e,t){var r=t?Ej(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};var ER={};ER=/** 4211 * Copies the values of `source` to `array`. 4212 * 4213 * @private 4214 * @param {Array} source The array to copy values from. 4215 * @param {Array} [array=[]] The array to copy values to. 4216 * @returns {Array} Returns `array`. 4217 */function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var EU={},EL={},ED=Object.create;EL=function(){function e(){}return function(t){if(!xj(t))return{};if(ED)return ED(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();var EV={},EH={};EV=(EH=/** 4218 * Creates a unary function that invokes `func` with its argument transformed. 4219 * 4220 * @private 4221 * @param {Function} func The function to wrap. 4222 * @param {Function} transform The argument transform. 4223 * @returns {Function} Returns the new function. 4224 */function(e,t){return function(r){return e(t(r))}})(Object.getPrototypeOf,Object);var EZ={},EB=Object.prototype;EZ=/** 4225 * Checks if `value` is likely a prototype object. 4226 * 4227 * @private 4228 * @param {*} value The value to check. 4229 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. 4230 */function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||EB)},EU=/** 4231 * Initializes an object clone. 4232 * 4233 * @private 4234 * @param {Object} object The object to clone. 4235 * @returns {Object} Returns the initialized clone. 4236 */function(e){return"function"!=typeof e.constructor||EZ(e)?{}:EL(EV(e))};var Ez={},EW={};EW=/** 4237 * The base implementation of `_.isArguments`. 4238 * 4239 * @private 4240 * @param {*} value The value to check. 4241 * @returns {boolean} Returns `true` if `value` is an `arguments` object, 4242 */function(e){return xS(e)&&"[object Arguments]"==xc(e)};
4242/** Used for built-in method references. */var EG=Object.prototype,Eq=EG.hasOwnProperty,EY=EG.propertyIsEnumerable;Ez=EW(function(){return arguments}())?EW:function(e){return xS(e)&&Eq.call(e,"callee")&&!EY.call(e,"callee")};var E$={},EK={},EJ={};EJ=/** 4243 * Checks if `value` is a valid array-like length. 4244 * 4245 * **Note:** This method is loosely based on 4246 * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). 4247 * 4248 * @static 4249 * @memberOf _ 4250 * @since 4.0.0 4251 * @category Lang 4252 * @param {*} value The value to check. 4253 * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. 4254 * @example 4255 * 4256 * _.isLength(3); 4257 * // => true 4258 * 4259 * _.isLength(Number.MIN_VALUE); 4260 * // => false 4261 * 4262 * _.isLength(Infinity); 4263 * // => false 4264 * 4265 * _.isLength('3'); 4266 * // => false 4267 */function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},EK=/** 4268 * Checks if `value` is array-like. A value is considered array-like if it's 4269 * not a function and has a `value.length` that's an integer greater than or 4270 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. 4271 * 4272 * @static 4273 * @memberOf _ 4274 * @since 4.0.0 4275 * @category Lang 4276 * @param {*} value The value to check. 4277 * @returns {boolean} Returns `true` if `value` is array-like, else `false`. 4278 * @example 4279 * 4280 * _.isArrayLike([1, 2, 3]); 4281 * // => true 4282 * 4283 * _.isArrayLike(document.body.children); 4284 * // => true 4285 * 4286 * _.isArrayLike('abc'); 4287 * // => true 4288 * 4289 * _.isArrayLike(_.noop); 4290 * // => false 4291 */function(e){return null!=e&&EJ(e.length)&&!xM(e)},E$=/** 4292 * This method is like `_.isArrayLike` except that it also checks if `value` 4293 * is an object. 4294 * 4295 * @static 4296 * @memberOf _ 4297 * @since 4.0.0 4298 * @category Lang 4299 * @param {*} value The value to check. 4300 * @returns {boolean} Returns `true` if `value` is an array-like object, 4301 * else `false`. 4302 * @example 4303 * 4304 * _.isArrayLikeObject([1, 2, 3]); 4305 * // => true 4306 * 4307 * _.isArrayLikeObject(document.body.children); 4308 * // => true 4309 * 4310 * _.isArrayLikeObject('abc'); 4311 * // => false 4312 * 4313 * _.isArrayLikeObject(_.noop); 4314 * // => false 4315 */function(e){return xS(e)&&EK(e)};var EQ=tB("f504n"),EX={},E0=Object.prototype,E1=Function.prototype.toString,E2=E0.hasOwnProperty,E8=E1.call(Object);EX=/** 4316 * Checks if `value` is a plain object, that is, an object created by the 4317 * `Object` constructor or one with a `[[Prototype]]` of `null`. 4318 * 4319 * @static 4320 * @memberOf _ 4321 * @since 0.8.0 4322 * @category Lang 4323 * @param {*} value The value to check. 4324 * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. 4325 * @example 4326 * 4327 * function Foo() { 4328 * this.a = 1; 4329 * } 4330 * 4331 * _.isPlainObject(new Foo); 4332 * // => false 4333 * 4334 * _.isPlainObject([1, 2, 3]); 4335 * // => false 4336 * 4337 * _.isPlainObject({ 'x': 0, 'y': 0 }); 4338 * // => true 4339 * 4340 * _.isPlainObject(Object.create(null)); 4341 * // => true 4342 */function(e){if(!xS(e)||"[object Object]"!=xc(e))return!1;var t=EV(e);if(null===t)return!0;var r=E2.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&E1.call(r)==E8};var E6={},E4={},E3={};E3["[object Float32Array]"]=E3["[object Float64Array]"]=E3["[object Int8Array]"]=E3["[object Int16Array]"]=E3["[object Int32Array]"]=E3["[object Uint8Array]"]=E3["[object Uint8ClampedArray]"]=E3["[object Uint16Array]"]=E3["[object Uint32Array]"]=!0,E3["[object Arguments]"]=E3["[object Array]"]=E3["[object ArrayBuffer]"]=E3["[object Boolean]"]=E3["[object DataView]"]=E3["[object Date]"]=E3["[object Error]"]=E3["[object Function]"]=E3["[object Map]"]=E3["[object Number]"]=E3["[object Object]"]=E3["[object RegExp]"]=E3["[object Set]"]=E3["[object String]"]=E3["[object WeakMap]"]=!1,E4=/** 4343 * The base implementation of `_.isTypedArray` without Node.js optimizations. 4344 * 4345 * @private 4346 * @param {*} value The value to check. 4347 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. 4348 */function(e){return xS(e)&&EJ(e.length)&&!!E3[xc(e)]};var E5={};E5=/** 4349 * The base implementation of `_.unary` without support for storing metadata. 4350 * 4351 * @private 4352 * @param {Function} func The function to cap arguments for. 4353 * @returns {Function} Returns the new capped function. 4354 */function(e){return function(t){return e(t)}};var E7=tB("jIny1"),E9=E7&&E7.isTypedArray;E6=E9?E5(E9):E4;var Ce={};Ce=/** 4355 * Gets the value at `key`, unless `key` is "__proto__" or "constructor". 4356 * 4357 * @private 4358 * @param {Object} object The object to query. 4359 * @param {string} key The key of the property to get. 4360 * @returns {*} Returns the property value. 4361 */function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var Ct={},Cr={},Cn={},Co=Object.prototype.hasOwnProperty;Cn=/** 4362 * Assigns `value` to `key` of `object` if the existing value is not equivalent 4363 * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) 4364 * for equality comparisons. 4365 * 4366 * @private 4367 * @param {Object} object The object to modify. 4368 * @param {string} key The key of the property to assign. 4369 * @param {*} value The value to assign. 4370 */function(e,t,r){var n=e[t];Co.call(e,t)&&x8(n,r)&&(void 0!==r||t in e)||EI(e,t,r)},Cr=/** 4371 * Copies properties of `source` to `object`. 4372 * 4373 * @private 4374 * @param {Object} source The object to copy properties from. 4375 * @param {Array} props The property identifiers to copy. 4376 * @param {Object} [object={}] The object to copy properties to. 4377 * @param {Function} [customizer] The function to customize copied values. 4378 * @returns {Object} Returns `object`. 4379 */function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),o?EI(r,s,l):Cn(r,s,l)}return r};var Ca={},Ci={},Cs={};Cs=/**
4380 * The base implementation of `_.times` without support for iteratee shorthands 4381 * or max array length checks. 4382 * 4383 * @private 4384 * @param {number} n The number of times to invoke `iteratee`. 4385 * @param {Function} iteratee The function invoked per iteration. 4386 * @returns {Array} Returns the array of results. 4387 */function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var EQ=tB("f504n"),Cl={},Cu=/^(?:0|[1-9]\d*)$/;Cl=/** 4388 * Checks if `value` is a valid array-like index. 4389 * 4390 * @private 4391 * @param {*} value The value to check. 4392 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. 4393 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. 4394 */function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Cu.test(e))&&e>-1&&e%1==0&&e<t};/** Used to check objects for own properties. */var Cc=Object.prototype.hasOwnProperty;Ci=/** 4395 * Creates an array of the enumerable property names of the array-like `value`. 4396 * 4397 * @private 4398 * @param {*} value The value to query. 4399 * @param {boolean} inherited Specify returning inherited property names. 4400 * @returns {Array} Returns the array of property names. 4401 */function(e,t){var r=xs(e),n=!r&&Ez(e),o=!r&&!n&&EQ(e),a=!r&&!n&&!o&&E6(e),i=r||n||o||a,s=i?Cs(e.length,String):[],l=s.length;for(var u in e)(t||Cc.call(e,u))&&!(i&&// Safari 9 has enumerable `arguments.length` in strict mode. 4402("length"==u||// Node.js 0.10 has enumerable non-index properties on buffers. 4403o&&("offset"==u||"parent"==u)||// PhantomJS 2 has enumerable non-index properties on typed arrays. 4404a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||// Skip index properties. 4405Cl(u,l)))&&s.push(u);return s};var Cd={},Cf={};Cf=/** 4406 * This function is like 4407 * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) 4408 * except that it includes inherited enumerable properties. 4409 * 4410 * @private 4411 * @param {Object} object The object to query. 4412 * @returns {Array} Returns the array of property names. 4413 */function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};/** Used to check objects for own properties. */var Cp=Object.prototype.hasOwnProperty;Cd=/** 4414 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. 4415 * 4416 * @private 4417 * @param {Object} object The object to query. 4418 * @returns {Array} Returns the array of property names. 4419 */function(e){if(!xj(e))return Cf(e);var t=EZ(e),r=[];for(var n in e)"constructor"==n&&(t||!Cp.call(e,n))||r.push(n);return r},Ca=/** 4420 * Creates an array of the own and inherited enumerable property names of `object`. 4421 * 4422 * **Note:** Non-object values are coerced to objects. 4423 * 4424 * @static 4425 * @memberOf _ 4426 * @since 3.0.0 4427 * @category Object 4428 * @param {Object} object The object to query. 4429 * @returns {Array} Returns the array of property names. 4430 * @example 4431 * 4432 * function Foo() { 4433 * this.a = 1; 4434 * this.b = 2; 4435 * } 4436 * 4437 * Foo.prototype.c = 3; 4438 * 4439 * _.keysIn(new Foo); 4440 * // => ['a', 'b', 'c'] (iteration order is not guaranteed) 4441 */function(e){return EK(e)?Ci(e,!0):Cd(e)},Ct=/** 4442 * Converts `value` to a plain object flattening inherited enumerable string 4443 * keyed properties of `value` to own properties of the plain object. 4444 * 4445 * @static 4446 * @memberOf _ 4447 * @since 3.0.0 4448 * @category Lang 4449 * @param {*} value The value to convert. 4450 * @returns {Object} Returns the converted plain object. 4451 * @example 4452 * 4453 * function Foo() { 4454 * this.b = 2; 4455 * } 4456 * 4457 * Foo.prototype.c = 3; 4458 * 4459 * _.assign({ 'a': 1 }, new Foo); 4460 * // => { 'a': 1, 'b': 2 } 4461 * 4462 * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); 4463 * // => { 'a': 1, 'b': 2, 'c': 3 } 4464 */function(e){return Cr(e,Ca(e))},EN=/** 4465 * A specialized version of `baseMerge` for arrays and objects which performs 4466 * deep merges and tracks traversed objects enabling objects with circular 4467 * references to be merged. 4468 * 4469 * @private 4470 * @param {Object} object The destination object. 4471 * @param {Object} source The source object. 4472 * @param {string} key The key of the value to merge. 4473 * @param {number} srcIndex The index of `source`. 4474 * @param {Function} mergeFunc The function to merge values. 4475 * @param {Function} [customizer] The function to customize assigned values. 4476 * @param {Object} [stack] Tracks traversed source values and their merged 4477 * counterparts. 4478 */function(e,t,r,n,o,a,i){var s=Ce(e,r),l=Ce(t,r),u=i.get(l);if(u){E_(e,r,u);return}var c=a?a(s,l,r+"",e,t,i):void 0,d=void 0===c;if(d){var f=xs(l),p=!f&&EQ(l),h=!f&&!p&&E6(l);c=l,f||p||h?xs(s)?c=s:E$(s)?c=ER(s):p?(d=!1,c=EO(l,!0)):h?(d=!1,c=EM(l,!0)):c=[]:EX(l)||Ez(l)?(c=s,Ez(s)?c=Ct(s):(!xj(s)||xM(s))&&(c=EU(l))):d=!1}d&&(// Recursively merge objects and arrays (susceptible to call stack limits). 4479i.set(l,c),o(c,l,n,a,i),i.delete(l)),E_(e,r,c)},Eb=/** 4480 * The base implementation of `_.merge` without support for multiple sources. 4481 * 4482 * @private 4483 * @param {Object} object The destination object. 4484 * @param {Object} source The source object. 4485 * @param {number} srcIndex The index of `source`. 4486 * @param {Function} [customizer] The function to customize merged values. 4487 * @param {Object} [stack] Tracks traversed source values and their merged 4488 * counterparts. 4489 */function e(t,r,n,o,a){t!==r&&EP(r,function(i,s){if(a||(a=new Ew),xj(i))EN(t,r,s,n,e,o,a);else{var l=o?o(Ce(t,s),i,s+"",t,r,a):void 0;void 0===l&&(l=i),E_(t,s,l)}},Ca)};
4489var Ch={},Cm={};Cm=/** 4490 * This method returns the first argument it receives. 4491 * 4492 * @static 4493 * @since 0.1.0 4494 * @memberOf _ 4495 * @category Util 4496 * @param {*} value Any value. 4497 * @returns {*} Returns `value`. 4498 * @example 4499 * 4500 * var object = { 'a': 1 }; 4501 * 4502 * console.log(_.identity(object) === object); 4503 * // => true 4504 */function(e){return e};var Cg={},Cv={};Cv=/** 4505 * A faster alternative to `Function#apply`, this function invokes `func` 4506 * with the `this` binding of `thisArg` and the arguments of `args`. 4507 * 4508 * @private 4509 * @param {Function} func The function to invoke. 4510 * @param {*} thisArg The `this` binding of `func`. 4511 * @param {Array} args The arguments to invoke `func` with. 4512 * @returns {*} Returns the result of `func`. 4513 */function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)};/* Built-in method references for those with the same name as other `lodash` methods. */var Cy=Math.max;Cg=/** 4514 * A specialized version of `baseRest` which transforms the rest array. 4515 * 4516 * @private 4517 * @param {Function} func The function to apply a rest parameter to. 4518 * @param {number} [start=func.length-1] The start position of the rest parameter. 4519 * @param {Function} transform The rest array transform. 4520 * @returns {Function} Returns the new function. 4521 */function(e,t,r){return t=Cy(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=Cy(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),Cv(e,this,s)}};var Cb={},Cw={},CS={};CS=/** 4522 * Creates a function that returns `value`. 4523 * 4524 * @static 4525 * @memberOf _ 4526 * @since 2.4.0 4527 * @category Util 4528 * @param {*} value The value to return from the new function. 4529 * @returns {Function} Returns the new constant function. 4530 * @example 4531 * 4532 * var objects = _.times(2, _.constant({ 'a': 1 })); 4533 * 4534 * console.log(objects); 4535 * // => [{ 'a': 1 }, { 'a': 1 }] 4536 * 4537 * console.log(objects[0] === objects[1]); 4538 * // => true 4539 */function(e){return function(){return e}};var Cx=Date.now;c=ET?function(e,t){return ET(e,"toString",{configurable:!0,enumerable:!1,value:CS(t),writable:!0})}:Cm,d=0,f=0,Cb=function(){var e=Cx(),t=16-(e-f);if(f=e,t>0){if(++d>=800)return arguments[0]}else d=0;return c.apply(void 0,arguments)},Ch=/** 4540 * The base implementation of `_.rest` which doesn't validate or coerce arguments. 4541 * 4542 * @private 4543 * @param {Function} func The function to apply a rest parameter to. 4544 * @param {number} [start=func.length-1] The start position of the rest parameter. 4545 * @returns {Function} Returns the new function. 4546 */function(e,t){return Cb(Cg(e,t,Cm),e+"")};var CE={};CE=/** 4547 * Checks if the given arguments are from an iteratee call. 4548 * 4549 * @private 4550 * @param {*} value The potential iteratee value argument. 4551 * @param {*} index The potential iteratee index or key argument. 4552 * @param {*} object The potential iteratee object argument. 4553 * @returns {boolean} Returns `true` if the arguments are from an iteratee call, 4554 * else `false`. 4555 */function(e,t,r){if(!xj(r))return!1;var n=typeof t;return("number"==n?!!(EK(r)&&Cl(t,r.length)):"string"==n&&t in r)&&x8(r[t],e)},p=function(e,t,r){Eb(e,t,r)},Ey=Ch(function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(o=p.length>3&&"function"==typeof o?(n--,o):void 0,a&&CE(t[0],t[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var i=t[r];i&&p(e,i,r,o)}return e});const CC=(e,t,r,n)=>bN(void 0,void 0,void 0,function*(){let o=yield Promise.all(n.map(n=>n(e,t,r))),a=/*@__PURE__*/tV(Ey)({},...o);return cf(a)?Promise.resolve():Promise.reject(a)}),CA={getAmplifyConfig(){return bN(this,void 0,void 0,function*(){return(0,aj.Amplify).configure()})},getCurrentUser(){return bN(this,void 0,void 0,function*(){return cu.currentAuthenticatedUser()})},handleSignUp(e){return bN(this,void 0,void 0,function*(){return cu.signUp(Object.assign(Object.assign({},e),{autoSignIn:{enabled:!0}}))})},handleSignIn({username:e,password:t}){return bN(this,void 0,void 0,function*(){return cu.signIn(e,t)})},handleConfirmSignIn({user:e,code:t,mfaType:r}){return bN(this,void 0,void 0,function*(){return cu.confirmSignIn(e,t,r)})},handleConfirmSignUp({username:e,code:t}){return bN(this,void 0,void 0,function*(){return yield cu.confirmSignUp(e,t)})},handleForgotPasswordSubmit({username:e,code:t,password:r}){return bN(this,void 0,void 0,function*(){return cu.forgotPasswordSubmit(e,t,r)})},handleForgotPassword(e){return bN(this,void 0,void 0,function*(){return cu.forgotPassword(e)})},validateCustomSignUp(e,t){return bN(this,void 0,void 0,function*(){})},validateFormPassword(e,t,r){return bN(this,void 0,void 0,function*(){let{password:n}=e,{password:o}=t;if(!o||!r)return null;
4555let a=[],i=+(null==r?void 0:r.passwordPolicyMinLength);n.length<i&&a.push(`Password must have at least ${i} characters`);let s=null==r?void 0:r.passwordPolicyCharacters;return null==s||s.forEach(e=>{switch(e){case"REQUIRES_LOWERCASE":/[a-z]/.test(n)||a.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(n)||a.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(n)||a.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":bH(n)||a.push("Password must have special characters")}}),0!==a.length?{password:a}:null})},validateConfirmPassword(e,t){return bN(this,void 0,void 0,function*(){let{password:r,confirm_password:n}=e,{confirm_password:o,password:a}=t;return r||n?(r||n)&&r!==n&&(o&&a||(null==r?void 0:r.length)>=6&&(null==n?void 0:n.length)>=6)?{confirm_password:"Your passwords must match"}:void 0:null})},validatePreferredUsername(e,t){return bN(this,void 0,void 0,function*(){})}},Ck=["SMS_MFA","SOFTWARE_TOKEN_MFA"],C_=e=>/*@__PURE__*/tV(xo)(e,"data.challengeName"),CI=(e,t)=>e===t,CT=e=>Ck.includes(e),CP=SR({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>cu.signOut()}});var CN={},CO={},CM={},Cj={},CF={},CR={},CU={},CL={},CD={};CD=/** 4556 * Adds `value` to the array cache. 4557 * 4558 * @private 4559 * @name add 4560 * @memberOf SetCache 4561 * @alias push 4562 * @param {*} value The value to cache. 4563 * @returns {Object} Returns the cache instance. 4564 */function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var CV={};/** 4565 * 4566 * Creates an array cache object to store unique values. 4567 * 4568 * @private 4569 * @constructor 4570 * @param {Array} [values] The values to cache. 4571 */function CH(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new xk;++t<r;)this.add(e[t])}CV=/** 4572 * Checks if `value` is in the array cache. 4573 * 4574 * @private 4575 * @name has 4576 * @memberOf SetCache 4577 * @param {*} value The value to search for. 4578 * @returns {number} Returns `true` if `value` is found, else `false`. 4579 */function(e){return this.__data__.has(e)},// Add methods to `SetCache`. 4580CH.prototype.add=CH.prototype.push=CD,CH.prototype.has=CV,CL=CH;var CZ={};CZ=/** 4581 * A specialized version of `_.some` for arrays without support for iteratee 4582 * shorthands. 4583 * 4584 * @private 4585 * @param {Array} [array] The array to iterate over. 4586 * @param {Function} predicate The function invoked per iteration. 4587 * @returns {boolean} Returns `true` if any element passes the predicate check, 4588 * else `false`. 4589 */function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var CB={};CB=/** 4590 * Checks if a `cache` value for `key` exists. 4591 * 4592 * @private 4593 * @param {Object} cache The cache to query. 4594 * @param {string} key The key of the entry to check. 4595 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. 4596 */function(e,t){return e.has(t)},CU=/** 4597 * A specialized version of `baseIsEqualDeep` for arrays with support for 4598 * partial deep comparisons. 4599 * 4600 * @private 4601 * @param {Array} array The array to compare. 4602 * @param {Array} other The other array to compare. 4603 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. 4604 * @param {Function} customizer The function to customize comparisons. 4605 * @param {Function} equalFunc The function to determine equivalents of values. 4606 * @param {Object} stack Tracks traversed `array` and `other` objects. 4607 * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. 4608 */function(e,t,r,n,o,a){var i=1&r,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;// Check that cyclic values are equal. 4609var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,p=2&r?new CL:void 0;// Ignore non-index properties. 4610for(a.set(e,t),a.set(t,e);++d<s;){var h=e[d],m=t[d];if(n)var g=i?n(m,h,d,t,e,a):n(h,m,d,e,t,a);if(void 0!==g){if(g)continue;f=!1;break}// Recursively compare arrays (susceptible to call stack limits). 4611if(p){if(!CZ(t,function(e,t){if(!CB(p,t)&&(h===e||o(h,e,r,n,a)))return p.push(t)})){f=!1;break}}else if(!(h===m||o(h,m,r,n,a))){f=!1;break}}return a.delete(e),a.delete(t),f};var Cz={},CW={};CW=/** 4612 * Converts `map` to its key-value pairs. 4613 * 4614 * @private 4615 * @param {Object} map The map to convert. 4616 * @returns {Array} Returns the key-value pairs. 4617 */function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r};var CG={};CG=/** 4618 * Converts `set` to an array of its values. 4619 * 4620 * @private 4621 * @param {Object} set The set to convert. 4622 * @returns {Array} Returns the values. 4623 */function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r};/** Used to convert symbols to primitives and strings. */var Cq=xd?xd.prototype:void 0,CY=Cq?Cq.valueOf:void 0;Cz=/** 4624 * A specialized version of `baseIsEqualDeep` for comparing objects of 4625 * the same `toStringTag`. 4626 * 4627 * **Note:** This function only supports comparing values with tags of 4628 * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. 4629 * 4630 * @private 4631 * @param {Object} object The object to compare. 4632 * @param {Object} other The other object to compare. 4633 * @param {string} tag The `toStringTag` of the objects to compare. 4634 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. 4635 * @param {Function} customizer The function to customize comparisons. 4636 * @param {Function} equalFunc The function to determine equivalents of values. 4637 * @param {Object} stack Tracks traversed `object` and `other` objects. 4638 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. 4639 */function(e,t,r,n,o,a,i){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!a(new EF(e),new EF(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":// Coerce booleans to `1` or `0` and dates to milliseconds. 4640// Invalid dates are coerced to `NaN`. 4641return x8(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":// Coerce regexes to
4641strings and treat strings, primitives and objects, 4642// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring 4643// for more details. 4644return e==t+"";case"[object Map]":var s=CW;case"[object Set]":var l=1&n;if(s||(s=CG),e.size!=t.size&&!l)break;// Assume cyclic values are equal. 4645var u=i.get(e);if(u)return u==t;n|=2,// Recursively compare objects (susceptible to call stack limits). 4646i.set(e,t);var c=CU(s(e),s(t),n,o,a,i);return i.delete(e),c;case"[object Symbol]":if(CY)return CY.call(e)==CY.call(t)}return!1};var C$={},CK={},CJ={},CQ={};CQ=/** 4647 * Appends the elements of `values` to `array`. 4648 * 4649 * @private 4650 * @param {Array} array The array to modify. 4651 * @param {Array} values The values to append. 4652 * @returns {Array} Returns `array`. 4653 */function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},CJ=/** 4654 * The base implementation of `getAllKeys` and `getAllKeysIn` which uses 4655 * `keysFunc` and `symbolsFunc` to get the enumerable property names and 4656 * symbols of `object`. 4657 * 4658 * @private 4659 * @param {Object} object The object to query. 4660 * @param {Function} keysFunc The function to get the keys of `object`. 4661 * @param {Function} symbolsFunc The function to get the symbols of `object`. 4662 * @returns {Array} Returns the array of property names and symbols. 4663 */function(e,t,r){var n=t(e);return xs(e)?n:CQ(n,r(e))};var CX={},C0={};C0=/** 4664 * A specialized version of `_.filter` for arrays without support for 4665 * iteratee shorthands. 4666 * 4667 * @private 4668 * @param {Array} [array] The array to iterate over. 4669 * @param {Function} predicate The function invoked per iteration. 4670 * @returns {Array} Returns the new filtered array. 4671 */function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a};var C1={};C1=/** 4672 * This method returns a new empty array. 4673 * 4674 * @static 4675 * @memberOf _ 4676 * @since 4.13.0 4677 * @category Util 4678 * @returns {Array} Returns the new empty array. 4679 * @example 4680 * 4681 * var arrays = _.times(2, _.stubArray); 4682 * 4683 * console.log(arrays); 4684 * // => [[], []] 4685 * 4686 * console.log(arrays[0] === arrays[1]); 4687 * // => false 4688 */function(){return[]};/** Built-in value references. */var C2=Object.prototype.propertyIsEnumerable,C8=Object.getOwnPropertySymbols;CX=C8?function(e){return null==e?[]:(e=Object(e),C0(C8(e),function(t){return C2.call(e,t)}))}:C1;var C6={},C4={},C3={};C3=EH(Object.keys,Object);/** Used to check objects for own properties. */var C5=Object.prototype.hasOwnProperty;C4=/** 4689 * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. 4690 * 4691 * @private 4692 * @param {Object} object The object to query. 4693 * @returns {Array} Returns the array of property names. 4694 */function(e){if(!EZ(e))return C3(e);var t=[];for(var r in Object(e))C5.call(e,r)&&"constructor"!=r&&t.push(r);return t},C6=/** 4695 * Creates an array of the own enumerable property names of `object`. 4696 * 4697 * **Note:** Non-object values are coerced to objects. See the 4698 * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) 4699 * for more details. 4700 * 4701 * @static 4702 * @since 0.1.0 4703 * @memberOf _ 4704 * @category Object 4705 * @param {Object} object The object to query. 4706 * @returns {Array} Returns the array of property names. 4707 * @example 4708 * 4709 * function Foo() { 4710 * this.a = 1; 4711 * this.b = 2; 4712 * } 4713 * 4714 * Foo.prototype.c = 3; 4715 * 4716 * _.keys(new Foo); 4717 * // => ['a', 'b'] (iteration order is not guaranteed) 4718 * 4719 * _.keys('hi'); 4720 * // => ['0', '1'] 4721 */function(e){return EK(e)?Ci(e):C4(e)},CK=/** 4722 * Creates an array of own enumerable property names and symbols of `object`. 4723 * 4724 * @private 4725 * @param {Object} object The object to query. 4726 * @returns {Array} Returns the array of property names and symbols. 4727 */function(e){return CJ(e,C6,CX)};/** Used to check objects for own properties. */var C7=Object.prototype.hasOwnProperty;C$=/** 4728 * A specialized version of `baseIsEqualDeep` for objects with support for 4729 * partial deep comparisons. 4730 * 4731 * @private 4732 * @param {Object} object The object to compare. 4733 * @param {Object} other The other object to compare. 4734 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. 4735 * @param {Function} customizer The function to customize comparisons. 4736 * @param {Function} equalFunc The function to determine equivalents of values. 4737 * @param {Object} stack Tracks traversed `object` and `other` objects. 4738 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. 4739 */function(e,t,r,n,o,a){var i=1&r,s=CK(e),l=s.length;if(l!=CK(t).length&&!i)return!1;for(var u=l;u--;){var c=s[u];if(!(i?c in t:C7.call(t,c)))return!1}// Check that cyclic values are equal. 4740var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var h=i;++u<l;){var m=e[c=s[u]],g=t[c];if(n)var v=i?n(g,m,c,t,e,a):n(m,g,c,e,t,a);// Recursively compare objects (susceptible to call stack limits). 4741if(!(void 0===v?m===g||o(m,g,r,n,a):v)){p=!1;break}h||(h="constructor"==c)}if(p&&!h){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return a.delete(e),a.delete(t),p};var C9={},Ae={},xf=tB("23YZo");Ae=xN(xf,"DataView");var At={},xf=tB("23YZo");At=xN(xf,"Promise");var Ar={},xf=tB("23YZo");Ar=xN(xf,"Set");var An={},xf=tB("23YZo");An=xN(xf,"WeakMap");/** `Object#toString` result references. */var Ao="[object Map]",Aa="[object Promise]",Ai="[object Set]",As="[object WeakMap]",Al="[object DataView]",Au=xL(Ae),Ac=xL(x9),Ad=xL(At),Af=xL(Ar),Ap=xL(An),Ah=xc;(Ae&&Ah(new Ae(new ArrayBuffer(1)))!=Al||x9&&Ah(new x9)!=Ao||At&&Ah(At.resolve())!=Aa||Ar&&Ah(new Ar)!=Ai||An&&Ah(new An)!=As)&&(Ah=function(e){var t=xc(e),r="[object Object]"==t?e.constructor:void 0,n=r?xL(r):"";if(n)switch(n){case Au:return Al;case Ac:return Ao;case Ad:return Aa;case Af:return Ai;case Ap:return As}return t}),C9=Ah;var EQ=tB("f504n"),Am="[object Arguments]",Ag="[object Array]",Av="[object Object]",Ay=Object.prototype.hasOwnProperty;CR=/** 4742 * A specialized version of `baseIsEqual` for arrays and objects which performs 4743 * deep comparisons and tracks traversed objects enabling objects with circular 4744 * references to be compared. 4745 * 4746 * @private 4747 * @param {Object} object The object to compare. 4748 * @param {Object} other The other object to compare. 4749 * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. 4750 * @param {Function} customizer The function to customize comparisons. 4751 * @param {Function} equalFunc The function to determine equivalents of values. 4752 * @param {Object} [stack] Tracks traversed `object` and `other` objects. 4753 * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. 4754 */function(e,t,r,n,o,a){var i=xs(e),s=xs(t),l=i?Ag:C9(e),u=s?Ag:C9(t);l=l==Am?Av:l,u=u==Am?Av:u;var c=l==Av,d=u==Av,f=l==u;if(f&&EQ(e)){if(!EQ(t))return!1;i=!0,c=!1}if(f&&!c)return a||(a=new Ew),i||E6(e)?CU(e,t,r,n,o,a):Cz(e,t,l,r,n,o,a);if(!(1&r)){var p=c&&Ay.call(e,"__wrapped__"),h=d&&Ay.call(t,"__wrapped__");
4754if(p||h){var m=p?e.value():e,g=h?t.value():t;return a||(a=new Ew),o(m,g,r,n,a)}}return!!f&&(a||(a=new Ew),C$(e,t,r,n,o,a))},CF=/** 4755 * The base implementation of `_.isEqual` which supports partial comparisons 4756 * and tracks traversed objects. 4757 * 4758 * @private 4759 * @param {*} value The value to compare. 4760 * @param {*} other The other value to compare. 4761 * @param {boolean} bitmask The bitmask flags. 4762 * 1 - Unordered comparison 4763 * 2 - Partial comparison 4764 * @param {Function} [customizer] The function to customize comparisons. 4765 * @param {Object} [stack] Tracks traversed `value` and `other` objects. 4766 * @returns {boolean} Returns `true` if the values are equivalent, else `false`. 4767 */function e(t,r,n,o,a){return t===r||(null!=t&&null!=r&&(xS(t)||xS(r))?CR(t,r,n,o,e,a):t!=t&&r!=r)},Cj=/** 4768 * The base implementation of `_.isMatch` without support for iteratee shorthands. 4769 * 4770 * @private 4771 * @param {Object} object The object to inspect. 4772 * @param {Object} source The object of property values to match. 4773 * @param {Array} matchData The property names, values, and compare flags to match. 4774 * @param {Function} [customizer] The function to customize comparisons. 4775 * @returns {boolean} Returns `true` if `object` is a match, else `false`. 4776 */function(e,t,r,n){var o=r.length,a=o,i=!n;if(null==e)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<a;){var l=(s=r[o])[0],u=e[l],c=s[1];if(i&&s[2]){if(void 0===u&&!(l in e))return!1}else{var d=new Ew;if(n)var f=n(u,c,l,e,t,d);if(!(void 0===f?CF(c,u,3,n,d):f))return!1}}return!0};var Ab={},Aw={};Aw=/** 4777 * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. 4778 * 4779 * @private 4780 * @param {*} value The value to check. 4781 * @returns {boolean} Returns `true` if `value` if suitable for strict 4782 * equality comparisons, else `false`. 4783 */function(e){return e==e&&!xj(e)},Ab=/** 4784 * Gets the property names, values, and compare flags of `object`. 4785 * 4786 * @private 4787 * @param {Object} object The object to query. 4788 * @returns {Array} Returns the match data of `object`. 4789 */function(e){for(var t=C6(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Aw(o)]}return t};var AS={};AS=/** 4790 * A specialized version of `matchesProperty` for source values suitable 4791 * for strict equality comparisons, i.e. `===`. 4792 * 4793 * @private 4794 * @param {string} key The key of the property to get. 4795 * @param {*} srcValue The value to match. 4796 * @returns {Function} Returns the new spec function. 4797 */function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}},CM=/** 4798 * The base implementation of `_.matches` which doesn't clone `source`. 4799 * 4800 * @private 4801 * @param {Object} source The object of property values to match. 4802 * @returns {Function} Returns the new spec function. 4803 */function(e){var t=Ab(e);return 1==t.length&&t[0][2]?AS(t[0][0],t[0][1]):function(r){return r===e||Cj(r,e,t)}};var Ax={},AE={},AC={};AC=/** 4804 * The base implementation of `_.hasIn` without support for deep paths. 4805 * 4806 * @private 4807 * @param {Object} [object] The object to query. 4808 * @param {Array|string} key The key to check. 4809 * @returns {boolean} Returns `true` if `key` exists, else `false`. 4810 */function(e,t){return null!=e&&t in Object(e)};var AA={};AA=/** 4811 * Checks if `path` exists on `object`. 4812 * 4813 * @private 4814 * @param {Object} object The object to query. 4815 * @param {Array|string} path The path to check. 4816 * @param {Function} hasFunc The function to check properties. 4817 * @returns {boolean} Returns `true` if `path` exists, else `false`. 4818 */function(e,t,r){t=xi(t,e);for(var n=-1,o=t.length,a=!1;++n<o;){var i=Eg(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&EJ(o)&&Cl(i,o)&&(xs(e)||Ez(e))},AE=/** 4819 * Checks if `path` is a direct or inherited property of `object`. 4820 * 4821 * @static 4822 * @memberOf _ 4823 * @since 4.0.0 4824 * @category Object 4825 * @param {Object} object The object to query. 4826 * @param {Array|string} path The path to check. 4827 * @returns {boolean} Returns `true` if `path` exists, else `false`. 4828 * @example 4829 * 4830 * var object = _.create({ 'a': _.create({ 'b': 2 }) }); 4831 * 4832 * _.hasIn(object, 'a'); 4833 * // => true 4834 * 4835 * _.hasIn(object, 'a.b'); 4836 * // => true 4837 * 4838 * _.hasIn(object, ['a', 'b']); 4839 * // => true 4840 * 4841 * _.hasIn(object, 'b'); 4842 * // => false 4843 */function(e,t){return null!=e&&AA(e,t,AC)},Ax=/** 4844 * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. 4845 * 4846 * @private 4847 * @param {string} path The path of the property to get. 4848 * @param {*} srcValue The value to match. 4849 * @returns {Function} Returns the new spec function. 4850 */function(e,t){return xl(e)&&Aw(t)?AS(Eg(e),t):function(r){var n=xo(r,e);return void 0===n&&n===t?AE(r,e):CF(t,n,3)}};var Ak={},A_={};A_=/** 4851 * The base implementation of `_.property` without support for deep paths. 4852 * 4853 * @private 4854 * @param {string} key The key of the property to get. 4855 * @returns {Function} Returns the new accessor function. 4856 */function(e){return function(t){return null==t?void 0:t[e]}};var AI={};AI=/** 4857 * A specialized version of `baseProperty` which supports deep paths. 4858 * 4859 * @private 4860 * @param {Array|string} path The path of the property to get. 4861 * @returns {Function} Returns the new accessor function. 4862 */function(e){return function(t){return xa(t,e)}},Ak=/** 4863 * Creates a function that returns the value at `path` of a given object. 4864 * 4865 * @static 4866 * @memberOf _ 4867 * @since 2.4.0 4868 * @category Util 4869 * @param {Array|string} path The path of the property to get. 4870 * @returns {Function} Returns the new accessor function. 4871 * @example 4872 * 4873 * var objects = [ 4874 * { 'a': { 'b': 2 } }, 4875 * { 'a': { 'b': 1 } } 4876 * ]; 4877 * 4878 * _.map(objects, _.property('a.b')); 4879 * // => [2, 1] 4880 * 4881 * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b'); 4882 * // => [1, 2] 4883 */function(e){return xl(e)?A_(Eg(e)):AI(e)},CO=/** 4884 * The base implementation of `_.iteratee`. 4885 * 4886 * @private 4887 * @param {*} [value=_.identity] The value to convert to an iteratee. 4888 * @returns {Function} Returns the iteratee. 4889 */function(e){return(// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. 4890// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. 4891"function"==typeof e?e:null==e?Cm:"object"==typeof e?xs(e)?Ax(e[0],e[1]):CM(e):Ak(e))};var AT={},AP={};AP=/** 4892 * The base implementation of `_.set`. 4893 * 4894 * @private 4895 * @param {Object} object The object to modify. 4896 * @param {Array|string} path The path of the property to set. 4897 * @param {*} value The value to set. 4898 * @param {Function} [customizer] The function to customize path creation. 4899 * @returns {Object} Returns `object`. 4900 */function(e,t,r,n){if(!xj(e))return e;t=xi(t,e);for(var o=-1,a=t.length,i=a-1,s=e;null!=s&&++o<a;){var l=Eg(t[o]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)break;if(o!=i){var c=s[l];void 0===(u=n?n(c,l,s):void 0)&&(u=xj(c)?c:Cl(t[o+1])?[]:{})}Cn(s,l,u),s=s[l]}return e},AT=/** 4901 * The base implementation of `_.pickBy` without support for iteratee shorthands. 4902 * 4903 * @private 4904 * @param {Object} object The source object. 4905 * @param {string[]} paths The property paths to pick. 4906 * @param {Function} predicate The function invoked per property. 4907 * @returns {Object} Returns the new object. 4908 */function(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=xa(e,i);r(s,i)&&AP(a,xi(i,e),s)}return a};var AN={},AO={};AO=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)CQ(t,CX(e)),e=EV(e);return t}:C1,AN=/** 4909 * Creates an array of own and inherited enumerable property names and 4910 * symbols of `object`. 4911 * 4912 * @private 4913 * @param {Object} object The object to query. 4914 * @returns {Array} Returns the array of property names and symbols. 4915 */function(e){return CJ(e,Ca,AO)},CN=/**
4916 * Creates an object composed of the `object` properties `predicate` returns 4917 * truthy for. The predicate is invoked with two arguments: (value, key). 4918 * 4919 * @static 4920 * @memberOf _ 4921 * @since 4.0.0 4922 * @category Object 4923 * @param {Object} object The source object. 4924 * @param {Function} [predicate=_.identity] The function invoked per property. 4925 * @returns {Object} Returns the new object. 4926 * @example 4927 * 4928 * var object = { 'a': 1, 'b': '2', 'c': 3 }; 4929 * 4930 * _.pickBy(object, _.isNumber); 4931 * // => { 'a': 1, 'c': 3 } 4932 */function(e,t){if(null==e)return{};var r=Ef(AN(e),function(e){return[e]});return t=CO(t),AT(e,r,function(e,r){return t(e,r[0])})};const{choose:AM}=wz;function Aj(){return SR({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:CA,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:AM([{cond:"hasActor",actions:Sl(e=>e.actorRef)}]),setUser:St({user:(e,t)=>t.data}),setActorDoneData:St({actorDoneData:(e,t)=>{var r,n;return{authAttributes:Object.assign({},null===(r=t.data)||void 0===r?void 0:r.authAttributes),intent:null===(n=t.data)||void 0===n?void 0:n.intent}},user:(e,t)=>{var r;return null===(r=t.data)||void 0===r?void 0:r.user}}),clearUser:St({user:void 0}),clearActorDoneData:St({actorDoneData:void 0}),applyAmplifyConfig:St({config(e,t){var r,n,o,a,i,s,l,u;let c=null!==(n=null===(r=t.data.aws_cognito_username_attributes)||void 0===r?void 0:r.map(e=>e.toLowerCase()))&&void 0!==n?n:[],d=null!==(a=null===(o=t.data.aws_cognito_verification_mechanisms)||void 0===o?void 0:o.map(e=>e.toLowerCase()))&&void 0!==a?a:[],f=null!==(s=null===(i=t.data.aws_cognito_signup_attributes)||void 0===i?void 0:i.map(e=>e.toLowerCase()))&&void 0!==s?s:[],p=null!==(u=null===(l=t.data.aws_cognito_social_providers)||void 0===l?void 0:l.map(e=>e.toLowerCase()))&&void 0!==u?u:[],h=t.data.aws_cognito_password_protection_settings||{};0===c.length&&c.push("username");let{loginMechanisms:m,signUpAttributes:g,socialProviders:v,initialState:y,formFields:b}=e.config;return{loginMechanisms:null!=m?m:c,formFields:null!==(b&&Object.keys(b).forEach(e
4932=>{Object.keys(b[e]).forEach(t=>{let r=b[e][t];r.required=r.isRequired})}),b)&&void 0!==b?b:{},passwordSettings:h,signUpAttributes:null!=g?g:Array.from(new Set([...d,...f])),socialProviders:null!=v?v:p.sort(),initialState:y}}}),spawnSignInActor:St({actorRef:(e,t)=>{var r,n,o,a,i,s,l;let{services:u}=e,c=(function({services:e}){return SR({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}}
4932,setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:e=>({user:e.user})},rejected:{type:"final",data:(e,t)=>({intent:e.redirectIntent,authAttributes:e.authAttributes})}}},{actions:{clearAttributeToVerify:SH,clearChallengeName:SZ,clearRequiredAttributes:SB,clearError:Sz,clearFormValues:SW,clearTouched:SG,clearUnverifiedContactMethods:Sq,clearValidationError:S$,handleInput:S9,handleSubmit:xe,handleBlur:xt,parsePhoneNumber:xn,setChallengeName:SJ,setConfirmResetPasswordIntent:SX,setConfirmSignUpIntent:S0,setRequiredAttributes:SQ,setCredentials:S1,setFieldErrors:S2,setRemoteError:S8,setTotpSecretCode:SK,setUnverifiedContactMethods:S6,setUser:S4,setUsernameAuthAttributes:S7,sendUpdate:SU()},guards:{shouldAutoSignIn:e=>"autoSignIn"===(null==e?void 0:e.intent),shouldAutoSubmit:e=>"autoSignInSubmit"===(null==e?void 0:e.intent),shouldConfirmSignIn:(e,t)=>CT(C_(t)),shouldForceChangePassword:(e,t)=>CI(C_(t),"NEW_PASSWORD_REQUIRED"),shouldRedirectToConfirmResetPassword:(e,t)=>"PasswordResetRequiredException"===t.data.code,shouldRedirectToConfirmSignUp:(e,t)=>"UserNotConfirmedException"===t.data.code,shouldRequestVerification:(e,t)=>{let{unverified:r,verified:n}=t.data;return cf(n)&&!cf(r)},shouldSetupTOTP:(e,t)=>CI(C_(t),"MFA_SETUP")},services:{signIn(t){return bN(this,void 0,void 0,function*(){let{authAttributes:r={},formValues:n={}}=t,o=Object.assign(Object.assign({},r),n),{username:a,password:i}=o;return yield e.handleSignIn({username:a,password:i})})},confirmSignIn(t){return bN(this,void 0,void 0,function*(){let{challengeName:r,user:n}=t,{confirmation_code:o}=t.formValues,a=CT(r)?r:void 0;return yield e.handleConfirmSignIn({user:n,code:o,mfaType:a}),yield cu.currentAuthenticatedUser()})},forceNewPassword(e){return bN(this,void 0,void 0,function*(){let{user:t,formValues:r}=e,n,{password:o,confirm_password:a,phone_number:i,country_code:s}=r,l=bP(r,["password","confirm_password","phone_number","country_code"]);i&&(n=`${s}${i}`.replace(/[^A-Z0-9+]/gi,""),l=Object.assign(Object.assign({},l),{phone_number:n}));try{let e=yield cu.completeNewPassword(t,o,l);return e.challengeName?e:cu.currentAuthenticatedUser()}catch(e){return Promise.reject(e)}})},getTotpSecretCode(e){return bN(this,void 0,void 0,function*(){let{user:t}=e;return cu.setupTOTP(t)})},verifyTotpToken(e){return bN(this,void 0,void 0,function*(){let{formValues:t,user:r}=e,{confirmation_code:n}=t;return cu.verifyTotpToken(r,n)})},federatedSignIn(e,t){return bN(this,void 0,void 0,function*(){let{provider:e}=t.data;return yield cu.federatedSignIn({provider:e})})},checkVerifiedContact(e){return bN(this,void 0,void 0,function*(){let{user:t}=e;return yield cu.verifiedContact(t)}
4932)},verifyUser(e){return bN(this,void 0,void 0,function*(){let{unverifiedAttr:t}=e.formValues,r=yield cu.verifyCurrentUserAttribute(t);return e.attributeToVerify=t,r})},confirmVerifyUser(e){return bN(this,void 0,void 0,function*(){let{attributeToVerify:t}=e,{confirmation_code:r}=e.formValues;return yield cu.verifyCurrentUserAttributeSubmit(t,r)})},validateFields(e){return bN(this,void 0,void 0,function*(){return CC(e.formValues,e.touched,e.passwordSettings,[CA.validateFormPassword,CA.validateConfirmPassword])})}}})})({services:u}).withContext({authAttributes:null!==(n=null===(r=e.actorDoneData)||void 0===r?void 0:r.authAttributes)&&void 0!==n?n:{},user:e.user,intent:null===(o=e.actorDoneData)||void 0===o?void 0:o.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:null===(a=e.config)||void 0===a?void 0:a.passwordSettings,loginMechanisms:null===(i=e.config)||void 0===i?void 0:i.loginMechanisms,socialProviders:null===(s=e.config)||void 0===s?void 0:s.socialProviders,formFields:null===(l=e.config)||void 0===l?void 0:l.formFields});return Sk(c,{name:"signInActor"})}}),spawnSignUpActor:St({actorRef:(e,t)=>{var r,n,o,a,i,s,l;let{services:u}=e,c=(function({services:e}){return SR({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(e,t)=>{let{username:r,password:n}=e.authAttributes;return{user:/*@__PURE__*/tV(xo)(t,"data.user")||e.user,authAttributes:{username:r,password:n},intent:e.intent}}}}},{guards:{isUserAlreadyConfirmed:(e,t)=>"User is already confirmed."===t.data.message,shouldInitConfirmSignUp:e=>e.intent&&"confirmSignUp"===e.intent,shouldSkipConfirm:(e,t)=>t.data.userConfirmed},actions:{clearError:Sz,clearFormValues:SW,clearTouched:SG,clearValidationError:S$,handleInput:S9,handleSubmit:xe,handleBlur:xt,parsePhoneNumber:xn,setCredentials:S1,setFieldErrors:S2,setRemoteError:S8,setCodeDeliveryDetails:S5,setUser:S4,sendUpdate:SU(),setAutoSignInIntent:St({intent:e=>"confirmSignUp"===(null==e?void 0:e.intent)?"autoSignInSubmit":"autoSignIn"})},services:{confirmSignUp(t,r){return bN(this,void 0,void 0,function*(){let{user:r,authAttributes:n,formValues:o}=t,{confirmation_code:a}=o,i=/*@__PURE__*/tV(xo)(r,"username")||/*@__PURE__*/tV(xo)(n,"username");return yield e.handleConfirmSignUp({username:i,code:a})})},resendConfirmationCode(e,t){return bN(this,void 0,void 0,function*(){let{user:t,authAttributes:r}=e,n=/*@__PURE__*/tV(xo)(t,"username")||/*@__PURE__*/tV(xo)(r,"username");return cu.resendSignUp(n)})},federatedSignIn(e,t){return bN(this,void 0,void 0,function*(){let{provider:e}=t.data;return yield cu.federatedSignIn({provider:e})})},signUp(t,r){return bN(this,void 0,void 0,function*(){let{formValues:r,loginMechanisms:n}=t,[o="username"]=n,{[o]:a,password:i}=r,s=/*@__PURE__*/tV(CN)(r,(e,t)=>{switch(t){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return t.startsWith("custom:")}});return yield e.handleSignUp({username:a,password:i,attributes:s})})},validateSignUp(t,r){return bN(this,void 0,void 0,function*(){return CC(t.formValues,t.touched,t.passwordSettings,[e.validateFormPassword,e.validateConfirmPassword,e.validatePreferredUsername,e.validateCustomSignUp])})}}})})({services:u}).withContext({authAttributes:null!==(n=null===(r=e.actorDoneData)||void 0===r?void 0:r.authAttributes)&&void 0!==n?n:{},country_code:"+1",intent:null===(o=e.actorDoneData)||void 0===o?void 0:o.intent,formValues:{},touched:{},validationError:{},loginMechanisms:null===(a=e.config)||void 0===a?void 0:a.loginMechanisms,socialProviders:null===(i=e.config)||void 0===i?void 0:i.socialProviders,formFields:null===(s=e.config)||void 0===s?void 0:s.formFields,passwordSettings:null===(l=e.config)||void 0===l?void 0:l.passwordSettings});return Sk(c,{name:"signUpActor"})}}),spawnResetPasswordActor:St({actorRef:(e,t)=>{var r,n,o,a,i;let{services:s}=e,l=(function({services:e}){return SR({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]}
4932,resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:Sz,clearFormValues:SW,clearTouched:SG,clearUsername:SY,clearValidationError:S$,handleInput:S9,handleSubmit:xe,handleBlur:xt,resendCode:xr,setFieldErrors:S2,setRemoteError:S8,setUsername:S3,sendUpdate:SU()},guards:{shouldAutoConfirmReset:(e,t)=>!(!e.intent||"confirmPasswordReset"!==e.intent)},services:{resetPassword(t){return bN(this,void 0,void 0,function*(){let{username:r}=t;return e.handleForgotPassword(r)})},confirmResetPassword(t){return bN(this,void 0,void 0,function*(){let{username:r}=t,{confirmation_code:n,password:o}=t.formValues;return e.handleForgotPasswordSubmit({username:r,code:n,password:o})})},validateFields(e,t){return bN(this,void 0,void 0,function*(){return CC(e.formValues,e.touched,e.passwordSettings,[CA.validateFormPassword,CA.validateConfirmPassword])})}}})})({services:s}).withContext({formValues:{},touched:{},intent:null===(r=e.actorDoneData)||void 0===r?void 0:r.intent,username:null===(o=null===(n=e.actorDoneData)||void 0===n?void 0:n.authAttributes)||void 0===o?void 0:o.username,formFields:null===(a=e.config)||void 0===a?void 0:a.formFields,validationError:{},passwordSettings:null===(i=e.config)||void 0===i?void 0:i.passwordSettings});return Sk(l,{name:"resetPasswordActor"})}}),spawnSignOutActor:St({actorRef:e=>{let t=CP.withContext({user:e.user});return Sk(t,{name:"signOutActor"})}}),stopSignInActor:SV("signInActor"),stopSignUpActor:SV("signUpActor"),stopResetPasswordActor:SV("resetPasswordActor"),stopSignOutActor:SV("signOutActor"),configure:St((e,t)=>{let r=t.data,{services:n}=r,o=bP(r,["services"]);return{services:Object.assign(Object.assign({},CA),n),config:o}}),setHasSetup:St({hasSetup:!0})},guards:{isInitialStateSignUp:e=>"signUp"===e.config.initialState,isInitialStateResetPassword:e=>"resetPassword"===e.config.initialState,shouldRedirectToSignUp:(e,t)=>{var r;return"confirmSignUp"===(null===(r=t.data)||void 0===r?void 0:r.intent)},shouldRedirectToResetPassword:(e,t)=>{var r;return"confirmPasswordReset"===(null===(r=t.data)||void 0===r?void 0:r.intent)},shouldAutoSignIn:(e,t)=>{var r,n;return"autoSignIn"===(null===(r=t.data)||void 0===r?void 0:r.intent)||"autoSignInSubmit"===(null===(n=t.data)||void 0===n?void 0:n.intent)},shouldSetup:e=>!1===e.hasSetup,hasActor:e=>!!e.actorRef},services:{getCurrentUser:(e,t)=>e.services.getCurrentUser(),getAmplifyConfig:(e,t)=>e.services.getAmplifyConfig()}})}const AF=e=>(t,r)=>ah(void 0,void 0,void 0,function*(){yield bD(t,r,e)}
4932);function AR({children:e}){// `authStatus` is exposed by `useAuthenticator` but should not be derived directly from the 4933// state machine as the machine only updates on `Authenticator` initiated events, which 4934// leads to scenarios where the state machine `authStatus` gets "stuck". For exmample, 4935// if a user was to sign in using `Auth.signIn` directly rather than using `Authenticator` 4936let[t,r]=/*@__PURE__*/tV(tG).useState("configuring");/*@__PURE__*/tV(tG).useEffect(()=>{cu.currentAuthenticatedUser().then(()=>{r("authenticated")}).catch(()=>{r("unauthenticated")})},[]);/** 4937 * Based on use cases, developer might already have added another Provider 4938 * outside Authenticator. In that case, we sync the two providers by just 4939 * passing the parent value. 4940 * 4941 * TODO(BREAKING): enforce only one provider in App tree 4942 */let n=(0,tG.useContext)(a_),o=(0,bB.useInterpret)(Aj),a=(0,tG.useMemo)(()=>n||{authStatus:t,service:o},[t,n,o]),{service:i}=a;return(0,tG.useEffect)(()=>{let e=bV(i,AF({onSignIn:()=>{r("authenticated")},onSignOut:()=>{r("unauthenticated")}}));return e},[i]),/*@__PURE__*/tV(tG).createElement(a_.Provider,{value:a},e)}var tG=tB("acw62");// only select `route` from machine context 4943const AU=({route:e})=>[e];var tG=tB("acw62");/** 4944 * Logs a deprecation warning message. 4945 * 4946 * @important Please use the React/React Native specific platform implementations. 4947 * This version of the hook is a base implementation that the others extend from due 4948 * to env differences between running in RN or the browser 4949 */const AL=({shouldWarn:e,message:t})=>{tG.useEffect(()=>{e&&console.warn(t)},[e,t])},AD=({message:e,shouldWarn:t})=>{let r=t&&(void 0===oH||oH&&!1);AL({message:e,shouldWarn:r})};var tG=tB("acw62");const AV=tG.createContext(null),AH=()=>{let e=tG.useContext(AV);if(!e)throw Error("`useCustomComponents` cannot be used outside of a `CustomComponentsContext.Provider`");return e};var tG=(tB("acw62"),tB("acw62"));const AZ={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},AB={getBackToSignInText:()=>cM(cO.BACK_SIGN_IN),getChangePasswordText:()=>cM(cO.CHANGE_PASSWORD),getChangingText:()=>cM(cO.CHANGING_PASSWORD),getConfirmText:()=>cM(cO.CONFIRM),getConfirmingText:()=>cM(cO.CONFIRMING),getCopyText:()=>cM(cO.UPPERCASE_COPY),getHidePasswordText:()=>cM(cO.HIDE_PASSWORD),getLoadingText:()=>cM(cO.LOADING),getOrText:()=>cM(cO.OR),getResendCodeText:()=>cM(cO.RESEND_CODE),getSendCodeText:()=>cM(cO.SEND_CODE),getSendingText:()=>cM(cO.SENDING),getShowPasswordText:()=>cM(cO.SHOW_PASSWORD),getSubmitText:()=>cM(cO.SUBMIT),getSubmittingText:()=>cM(cO.SUBMITTING),getSignInTabText:()=>cM(cO.SIGN_IN_TAB),getSignUpTabText:()=>cM(cO.CREATE_ACCOUNT),getForgotPasswordText:e=>cM(e?cO.FORGOT_PASSWORD:cO.FORGOT_YOUR_PASSWORD),getSigningInText:()=>cM(cO.SIGNING_IN_BUTTON),getSignInText:()=>cM(cO.SIGN_IN_BUTTON),getCreatingAccountText:()=>cM(cO.CREATING_ACCOUNT),getCreateAccountText:()=>cM(cO.CREATE_ACCOUNT),getDeliveryMessageText:e=>{let{DeliveryMedium:t,Destination:r}=null!=e?e:{},n="EMAIL"===t,o=cM(cO.CODE_ARRIVAL);return n||"SMS"===t?`${cM(n?cO.CODE_EMAILED:cO.CODE_TEXTED)} ${r}. ${o}.`:`${cM(cO.CODE_SENT)}. ${o}.`},getDeliveryMethodText:e=>{let{DeliveryMedium:t}=null!=e?e:{},r="EMAIL"===t;return cM(r||"SMS"!==t?r?cO.WE_EMAILED:cO.WE_TEXTED:cO.WE_SENT_CODE)},getChallengeText:e=>{switch(e){case"SMS_MFA":return cM(cO.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return cM(cO.CONFIRM_TOTP);default:throw Error(`${cM("Unexpected challengeName encountered in ConfirmSignIn:")} ${e}`)}},getResetYourPasswordText:()=>cM(cO.RESET_PASSWORD),getSetupTOTPText:()=>cM(cO.SETUP_TOTP),getSetupTOTPInstructionsText:()=>cM("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below."),getCopiedText:()=>cM("COPIED"),getSignInWithFederationText:(e,t)=>cM(`Sign ${"signIn"===e?"In":"Up"} with ${AZ[t]}`),getSkipText:()=>cM(cO.SKIP),getVerifyText:()=>cM(cO.VERIFY),getVerifyContactText:()=>cM(cO.VERIFY_CONTACT),getAccountRecoveryInfoText:()=>cM(cO.VERIFY_HEADING),getInvalidEmailText:()=>cM("Please enter a valid email"),getRequiredFieldText:()=>cM("This field is required")};function Az(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var AW={};!/*! 4950 Copyright (c) 2018 Jed Watson. 4951 Licensed under the MIT License (MIT), see 4952 http://jedwatson.github.io/classnames 4953*//* global define */function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var a=typeof o;if("string"===a||"number"===a)r.push(o);else if(Array.isArray(o)){if(o.length){var i=t.apply(null,o);i&&r.push(i)}}else if("object"===a){if(o.toString===Object.prototype.toString)for(var s in o)e.call(o,s)&&o[s]&&r.push(s);else r.push(o.toString())}}}return r.join(" ")}AW?(t.default=t,AW=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}();var tG=tB("acw62");(W=eB||(eB={})).Alert="amplify-alert",W.AlertIcon="amplify-alert__icon",W.AlertHeading="amplify-alert__heading",W.AlertBody="amplify-alert__body",W.AlertDismiss="amplify-alert__dismiss",W.Autocomplete="amplify-autocomplete",W.AutocompleteMenu="amplify-autocomplete__menu",W.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",W.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",W.AutocompleteMenuHeader="amplify-autocomplete__menu__header",W.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",W.AutocompleteMenuOption="amplify-autocomplete__menu__option",W.AutocompleteMenuOptions="amplify-autocomplete__menu__options",W.Badge="amplify-badge",W.Breadcrumbs="amplify-breadcrumbs",W.BreadcrumbsList="amplify-breadcrumbs__list",W.BreadcrumbsItem="amplify-breadcrumbs__item",W.BreadcrumbsSeparator="amplify-breadcrumbs__separator",W.BreadcrumbsLink="amplify-breadcrumbs__link",W.Button="amplify-button",W.ButtonGroup="amplify-buttongroup",W.ButtonLoaderWrapper="amplify-button__loader-wrapper",W.Card="amplify-card",W.Checkbox="amplify-checkbox",W.CheckboxButton="amplify-checkbox__button",W.CheckboxIcon="amplify-checkbox__icon",W.CheckboxInput="amplify-checkbox__input",W.CheckboxLabel="amplify-checkbox__label",W.CheckboxField="amplify-checkboxfield",W.Collection="amplify-collection",W.CollectionItems="amplify-collection-items",W.CollectionSearch="amplify-collection-search",W.CollectionPagination="amplify-collection-
4953pagination",W.CountryCodeSelect="amplify-countrycodeselect",W.DialCodeSelect="amplify-dialcodeselect",W.Divider="amplify-divider",W.DividerLabel="amplify-divider--label",W.DropZone="amplify-dropzone",W.Expander="amplify-expander",W.ExpanderContent="amplify-expander__content",W.ExpanderContentText="amplify-expander__content__text",W.ExpanderHeader="amplify-expander__header",W.ExpanderIcon="amplify-expander__icon",W.ExpanderItem="amplify-expander__item",W.ExpanderTrigger="amplify-expander__trigger",W.Field="amplify-field",W.FieldDescription="amplify-field__description",W.FieldErrorMessage="amplify-field__error-message",W.FieldGroup="amplify-field-group",W.FieldGroupControl="amplify-field-group__control",W.FieldGroupOuterEnd="amplify-field-group__outer-end",W.FieldGroupOuterStart="amplify-field-group__outer-start",W.FieldGroupInnerEnd="amplify-field-group__inner-end",W.FieldGroupInnerStart="amplify-field-group__inner-start",W.FieldGroupIcon="amplify-field-group__icon",W.FieldGroupIconButton="amplify-field-group__icon-button",W.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",W.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",W.FieldShowPassword="amplify-field__show-password",W.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",W.Fieldset="amplify-fieldset",W.FieldsetLegend="amplify-fieldset__legend",W.FileUploaderDropZone="amplify-fileuploader__dropzone",W.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",W.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",W.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",W.FileUploaderFile="amplify-fileuploader__file",W.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",W.FileUploaderFileName="amplify-fileuploader__file__name",W.FileUploaderFileSize="amplify-fileuploader__file__size",W.FileUploaderFileInfo="amplify-fileuploader__file__info",W.FileUploaderFileImage="amplify-fileuploader__file__image",W.FileUploaderFileMain="amplify-fileuploader__file__main",W.FileUploaderFileStatus="amplify-fileuploader__file__status",W.FileUploaderLoader="amplify-fileuploader__loader",W.FileUploaderPreviewer="amplify-fileuploader__previewer",W.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",W.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",W.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",W.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",W.Flex="amplify-flex",W.Grid="amplify-grid",W.Heading="amplify-heading",W.HighlightMatch="amplify-highlightmatch",W.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",W.Icon="amplify-icon",W.Image="amplify-image",W.Input="amplify-input",W.Label="amplify-label",W.Link="amplify-link",W.Loader="amplify-loader",W.LoaderDeterminate="amplify-loader--determinate",W.LoaderPercentageText="amplify-loader__percentage-text",W.MenuContent="amplify-menu-content",W.MenuContentWrapper="amplify-menu-content-wrapper",W.MenuItem="amplify-menu-content__item",W.MenuTrigger="amplify-menu-trigger",W.Message="amplify-message",W.MessageIcon="amplify-message__icon",W.MessageHeading="amplify-message__heading",W.MessageBody="amplify-message__body",W.MessageContent="amplify-message__content",W.MessageDismiss="amplify-message__dismiss",W.Pagination="amplify-pagination",W.PaginationItemButton="amplify-pagination__item-button",W.PaginationItemCurrent="amplify-pagination__item-current",W.PaginationItemEllipsis="amplify-pagination__item-ellipsis",W.PasswordField="amplify-passwordfield",W.PhoneNumberField="amplify-phonenumberfield",W.Placeholder="amplify-placeholder",W.Radio="amplify-radio",W.RadioButton="amplify-radio__button",W.RadioInput="amplify-radio__input",W.RadioLabel="amplify-radio__label",W.RadioGroupField="amplify-radiogroupfield",W.RadioGroup="amplify-radiogroup",W.Rating="amplify-rating",W.ScrollView="amplify-scrollview",W.SearchField="amplify-searchfield",W.SearchFieldClear="amplify-searchfield__clear",W.SearchFieldSearch="amplify-searchfield__search",W.Select="amplify-select",W.SelectField="amplify-selectfield",W.
4953SelectWrapper="amplify-select__wrapper",W.SelectIconWrapper="amplify-select__icon-wrapper",W.SliderField="amplify-sliderfield",W.SliderFieldGroup="amplify-sliderfield__group",W.SliderFieldLabel="amplify-sliderfield__label",W.SliderFieldRange="amplify-sliderfield__range",W.SliderFieldRoot="amplify-sliderfield__root",W.SliderFieldThumb="amplify-sliderfield__thumb",W.SliderFieldTrack="amplify-sliderfield__track",W.StepperField="amplify-stepperfield",W.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",W.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",W.StepperFieldInput="amplify-stepperfield__input",W.StorageImage="amplify-storageimage",W.StorageManager="amplify-storagemanager",W.StorageManagerDropZone="amplify-storagemanager__dropzone",W.StorageManagerDropZoneIcon="amplify-storagemanager__dropzone__icon",W.StorageManagerDropZoneText="amplify-storagemanager__dropzone__text",W.StorageManagerFilePicker="amplify-storagemanager__file__picker",W.StorageManagerFile="amplify-storagemanager__file",W.StorageManagerFileWrapper="amplify-storagemanager__file__wrapper",W.StorageManagerFileList="amplify-storagemanager__file__list",W.StorageManagerFileName="amplify-storagemanager__file__name",W.StorageManagerFileSize="amplify-storagemanager__file__size",W.StorageManagerFileInfo="amplify-storagemanager__file__info",W.StorageManagerFileImage="amplify-storagemanager__file__image",W.StorageManagerFileMain="amplify-storagemanager__file__main",W.StorageManagerFileStatus="amplify-storagemanager__file__status",W.StorageManagerLoader="amplify-storagemanager__loader",W.StorageManagerPreviewer="amplify-storagemanager__previewer",W.StorageManagerPreviewerText="amplify-storagemanager__previewer__text",W.StorageManagerPreviewerActions="amplify-storagemanager__previewer__actions",W.StorageManagerPreviewerFooter="amplify-storagemanager__previewer__footer",W.SwitchField="amplify-switchfield",W.SwitchLabel="amplify-switch-label",W.SwitchThumb="amplify-switch-thumb",W.SwitchTrack="amplify-switch-track",W.SwitchWrapper="amplify-switch__wrapper",W.Table="amplify-table",W.TableCaption="amplify-table__caption",W.TableBody="amplify-table__body",W.TableTd="amplify-table__td",W.TableTh="amplify-table__th",W.TableFoot="amplify-table__foot",W.TableHead="amplify-table__head",W.TableRow="amplify-table__row",W.Tabs="amplify-tabs",W.TabItems="amplify-tabs-item",W.Text="amplify-text",W.Textarea="amplify-textarea",W.TextAreaField="amplify-textareafield",W.TextField="amplify-textfield",W.ToggleButton="amplify-togglebutton",W.ToggleButtonGroup="amplify-togglebuttongroup",W.VisuallyHidden="amplify-visually-hidden";const AG={Alert:{className:eB.Alert,components:["Alert"],description:"Top level element that wraps the Alert primitive"},AlertIcon:{className:eB.AlertIcon,components:["Alert"],description:"Class applied to Icon component within the Alert primitive"},AlertHeading:{className:eB.AlertHeading,components:["Alert"],description:"Class applied to the heading View"},AlertBody:{className:eB.AlertBody,components:["Alert"],description:"Class applied to the body View"},AlertDismiss:{className:eB.AlertDismiss,components:["Alert"],description:"Class applied to the close Button"},Autocomplete:{className:eB.Autocomplete,components:["Autocomplete"],description:"Top level element that wraps the Autocomplete primitive"},AutocompleteMenu:{className:eB.AutocompleteMenu,components:["Autocomplete"],description:"Top level element that wraps the dropdown menu"},AutocompleteMenuEmpty:{className:eB.AutocompleteMenuEmpty,components:["Autocomplete"],description:"Class applied to the no options slot of menu"},AutocompleteMenuFooter:{className:eB.AutocompleteMenuFooter,components:["Autocomplete"],description:"Class applied to menu footer"},AutocompleteMenuHeader:{className:eB.AutocompleteMenuHeader,components:["Autocomplete"],description:"Class applied to menu header"},AutocompleteMenuLoading:{className:eB.AutocompleteMenuLoading,components:["Autocomplete"],description:"Class applied to the loading slot of menu"},AutocompleteMenuOption:{className:eB.AutocompleteMenuOption,components:["Autocomplete"],description:"Class applied to each li option"},AutocompleteMenuOptions:{className:eB.AutocompleteMenuOptions,components:["Autocomplete"],description:"Class applied to ul container element"},Badge:{className:eB.Badge,components:["Badge"],description:"Top level element that wraps the Badge component"},Breadcrumbs:{className:eB.Breadcrumbs,components:["Breadcrumbs"],description:"Top level element that wraps the Breadcrumbs component"},BreadcrumbsItem:{className:eB.BreadcrumbsItem,components:["Breadcrumbs"],description:"Each breadcrumb"},BreadcrumbsLink:{className:eB.BreadcrumbsLink,components:["Breadcrumbs"],description:"Links used within breadcrumbs"},BreadcrumbsList:{className:eB.BreadcrumbsList,components:["Breadcrumbs"],description:"List element within nav"},BreadcrumbsSeparator:{className:eB.BreadcrumbsSeparator,components:["Breadcrumbs"],description:"Separator between each breadcrumb"},Button:{className:eB.Button,components:["Button"],description:"Top level element that wraps the Button primitive"},ButtonGroup:{className:eB.ButtonGroup},ButtonLoaderWrapper:{className:eB.ButtonLoaderWrapper,components:["Button"],description:"Class applied to the Loader component within the Button Loading state"},Card:{className:eB.Card,components:["Card"],description:"Top level element that wraps the Card primitive"},Checkbox:{className:eB.Checkbox,components:["Checkbox"],description:"Top level element that wraps the Checkbox primitive"},CheckboxButton:{className:eB.CheckboxButton,components:["Checkbox"],description:"Wrapper for the checked icon within the Checkbox primitive"},CheckboxIcon:{className:eB.CheckboxIcon,components:["Checkbox"],description:"Class applied to the checked icon within the Checkbox primitive"},CheckboxInput:{className:eB.CheckboxInput,components:["Checkbox"],description:"Class applied to the visually hidden checkbox input within the Checkbox primitive"},CheckboxLabel:{className:eB.CheckboxLabel,components:["Checkbox"],description:"Class applied to the label within the Checkbox primitive"},CheckboxField:{className:eB.CheckboxField,components:["CheckboxField"],description:"Top level element that wraps the CheckboxField primitive"},Collection:{className:eB.Collection,components:["Collection"],description:"Top level element that wraps the Collection primitive"},CollectionItems:{className:eB.CollectionItems,components:["Collection"],description:"Class applied to the element that wraps all the items in a collection"},CollectionSearch:{className:eB.CollectionSearch,components:["Collection"],description:"Class applied to the element that wraps the collection search box"},CollectionPagination:{className:eB.CollectionPagination,components:["Collection"],description:"Class applied to the element that wraps the pagination component in a collection"},CountryCodeSelect:{className:eB.CountryCodeSelect,components:["PhoneNumberField"],description:"Class applied to the Dial Code Select within the PhoneNumberField primitive"},DialCodeSelect:{className:eB.DialCodeSelect,components:["PhoneNumberField"],description:"Class applied to the Dial Code Select within the PhoneNumberField primitive"},Divider:{className:eB.Divider,components:["Divider"],description:"Top level element that wraps the Divider primitive"},DividerLabel:{className:eB.DividerLabel,components:["Divider"],description:"Class applied to the label of the Divider component"},DropZone:{className:eB.DropZone,components:["DropZone"],description:"Class applied to the DropZone component"},Expander:{className:eB.Expander,components:["Expander"],description:"Top level element that wraps the Expander primitive"},ExpanderContent:{className:eB.ExpanderContent,components:["Expander"],description:"Expander content container"},ExpanderContentText:{className:eB.ExpanderContentText,components:["Expander"],description:"Expander content text"},ExpanderHeader:{className:eB.ExpanderHeader,components:["Expander"],description:"Expander item header"},ExpanderIcon:{className:eB.ExpanderIcon,components:["Expander"],description:"Icon to indicate whether an item is expanded or collapsed"},ExpanderItem:{className:eB.ExpanderItem,components:["Expander"],description:"Expander item(containier for header, trigger, and content)"},ExpanderTrigger:{className:eB.ExpanderTrigger,components:["Expander"],description:"Expander item trigger(button)"},Field:{className:eB.Field},FieldDescription:{className:eB.FieldDescription},FieldErrorMessage:{className:eB.FieldErrorMessage},FieldGroup:{className:eB.FieldGroup},FieldGroupControl:{className:eB.FieldGroupControl},FieldGroupFieldWrapper:{className:eB.FieldGroupFieldWrapper},FieldGroupOuterEnd:{className:eB.FieldGroupOuterEnd},FieldGroupOuterStart:{className:eB.FieldGroupOuterStart},FieldGroupInnerEnd:{className:eB.FieldGroupInnerEnd},FieldGroupInnerStart:{className:eB.FieldGroupInnerStart},FieldGroupIcon:{className:eB.FieldGroupIcon},FieldGroupIconButton:{className:eB.FieldGroupIconButton},FieldGroupHasInnerEnd:{className:eB.FieldGroupHasInnerEnd},FieldGroupHasInnerStart:{className:eB.FieldGroupHasInnerStart},FieldShowPassword:{className:eB.FieldShowPassword},Fieldset:{className:eB.Fieldset,components:["Fieldset"],description:"Top level element that wraps the Fieldset primitive"},FieldsetLegend:{className:eB.FieldsetLegend,components:["Fieldset"],description:"Visual label for the Fieldset primitive"},FileUploaderDropZone:{className:eB.FileUploaderDropZone,components:["FileUploader"]},FileUploaderDropZoneIcon:{className:eB.FileUploaderDropZoneIcon,components:["FileUploader"]},FileUploaderDropZoneText:{className:eB.FileUploaderDropZoneText,components:["FileUploader"]},FileUploaderDropZoneButton:{className:eB.FileUploaderDropZoneButton,components:["FileUploader"]},FileUploaderFile:{className:eB.FileUploaderFile,components:["FileUploader"]},FileUploaderFileWrapper:{className:eB.FileUploaderFileWrapper,components:["FileUploader"]},FileUploaderFileName:{className:eB.FileUploaderFileName,components:["FileUploader"]}
4953,FileUploaderLoader:{className:eB.FileUploaderLoader,components:["FileUploader"]},FileUploaderFileSize:{className:eB.FileUploaderFileSize,components:["FileUploader"]},FileUploaderFileInfo:{className:eB.FileUploaderFileInfo,components:["FileUploader"]},FileUploaderFileImage:{className:eB.FileUploaderFileImage,components:["FileUploader"]},FileUploaderFileMain:{className:eB.FileUploaderFileMain,components:["FileUploader"]},FileUploaderFileStatus:{className:eB.FileUploaderFileStatus,components:["FileUploader"]},FileUploaderPreviewer:{className:eB.FileUploaderPreviewer,components:["FileUploader"]},FileUploaderPreviewerText:{className:eB.FileUploaderPreviewerText,components:["FileUploader"]},FileUploaderPreviewerBody:{className:eB.FileUploaderPreviewerBody,components:["FileUploader"]},FileUploaderPreviewerFooter:{className:eB.FileUploaderPreviewerFooter,components:["FileUploader"]},FileUploaderPreviewerFooterActions:{className:eB.FileUploaderPreviewerFooterActions,components:["FileUploader"]},Flex:{className:eB.Flex,components:["Flex"],description:"Top level element that wraps the Flex primitive"},Grid:{className:eB.Grid,components:["Grid"],description:"Top level element that wraps the Grid primitive"},Heading:{className:eB.Heading,components:["Heading"],description:"Top level element that wraps the Heading primitive"},HighlightMatch:{className:eB.HighlightMatch,components:["HighlightMatch"],description:"Top level element that wraps the HighlightMatch primitive"},HighlightMatchHighlighted:{className:eB.HighlightMatchHighlighted,components:["HighlightMatch"],description:"Class applied to the highlighted text of the HighlightMatch primitive"},Icon:{className:eB.Icon,components:["Icon"],description:"Top level element that wraps the Icon primitive"},Image:{className:eB.Image,components:["Image"],description:"Top level element that wraps the Image primitive"},Input:{className:eB.Input,components:["Input"],description:"Class applied to the input element"},Label:{className:eB.Label,components:["Label"],description:"Class applied to the label element"},Link:{className:eB.Link,components:["Link"],description:"Top level element that wraps the Link primitive"},Loader:{className:eB.Loader,components:["Loader"],description:"Top level element that wraps the Loader primitive"},LoaderDeterminate:{className:eB.LoaderDeterminate,components:["Loader"],description:"Class applied to a determinate loader"},LoaderPercentageText:{className:eB.LoaderPercentageText,components:["Loader"],description:"Class applied to the percentage text of loader"},MenuContent:{className:eB.MenuContent,components:["Menu"],description:"Menu content container (Flex)"},MenuContentWrapper:{className:eB.MenuContentWrapper,components:["Menu"],description:"Menu content wrapper"},MenuItem:{className:eB.MenuItem,components:["Menu"],description:"Menu item button (MenuButton, wrapped in amplify-menu-content class)"},MenuTrigger:{className:eB.MenuTrigger,components:["Menu"],description:"Menu trigger button (MenuButton, not wrapped in amplify-menu-content class)"},Message:{className:eB.Message,components:["Message"],description:"Class applied to the root element of the Message"},MessageIcon:{className:eB.MessageIcon,components:["Message"],description:"Class applied to Icon component within the Message primitive"},MessageHeading:{className:eB.MessageHeading,components:["Message"],description:"Class applied to the heading View"},MessageBody:{className:eB.MessageBody,components:["Message"],description:"Class applied to the body View"},MessageContent:{className:eB.MessageContent,components:["Message"],description:"Class applied to the wrappar around heading and children of the Message"},MessageDismiss:{className:eB.MessageDismiss,components:["Message"],description:"Class applied to the close Button"},Pagination:{className:eB.Pagination,components:["Pagination"],description:"Top level element that wraps the Pagination primitive"},PaginationItemButton:{className:eB.PaginationItemButton,components:["Pagination"],description:"Class applied to the pagination buttons"},PaginationItemCurrent:{className:eB.PaginationItemCurrent,components:["Pagination"],description:"Class applied to the currently selected pagination button"},PaginationItemEllipsis:{className:eB.PaginationItemEllipsis,components:["Pagination"],description:"Class applied to the ellipsis within the Pagination primitive"},PasswordField:{className:eB.PasswordField,components:["PasswordField"],description:"Top level element that wraps the PasswordField primitive"},PhoneNumberField:{className:eB.PhoneNumberField,components:["PhoneNumberField"],description:"Top level element that wraps the PhoneNumberField primitive"},Placeholder:{className:eB.Placeholder,components:["Placeholder"],description:"Top level element that wraps the Placeholder primitive"},Radio:{className:eB.Radio,components:["RadioGroupField","Radio"],description:"Top level element that wraps the Radio primitive"},RadioButton:{className:eB.RadioButton,components:["RadioGroupField","Radio"],description:"Class applied to the displayed radio button"},RadioInput:{className:eB.RadioInput,components:["RadioGroupField","Radio"],description:"Class applied to the visually hidden radio input"},RadioLabel:{className:eB.RadioLabel,components:["RadioGroupField","Radio"],description:"Class applied to the radio label"},RadioGroupField:{className:eB.RadioGroupField,components:["RadioGroupField"],description:"Top level element that wraps the RadioGroupField primitive"},RadioGroup:{className:eB.RadioGroup,components:["RadioGroupField"],description:"Class applied to the radio group wrapper"},Rating:{className:eB.Rating,components:["Rating"],description:"Top level element that wraps the Rating primitive"},ScrollView:{className:eB.ScrollView,components:["ScrollView"],description:"Top level element that wraps the ScrollView primitive"},SearchField:{className:eB.SearchField,components:["SearchField"],description:"Top level element that wraps the SearchField primitive"},SearchFieldClear:{className:eB.SearchFieldClear,components:["SearchField"],description:"Class applied to the search f
4953ield clear button"},SearchFieldSearch:{className:eB.SearchFieldSearch,components:["SearchField"],description:"Class applied to the search button"},Select:{className:eB.Select,components:["Select","SelectField"],description:"Class applied to the select element"},SelectField:{className:eB.SelectField,components:["SelectField"],description:"Top level element that wraps the SelectField primitive"},SelectWrapper:{className:eB.SelectWrapper,components:["Select","SelectField"],description:"Class applied to the select wrapper"},SelectIconWrapper:{className:eB.SelectIconWrapper,components:["Select","SelectField"],description:"Class applied to the select icon wrapper"},SliderField:{className:eB.SliderField,components:["SliderField"],description:"Top level element that wraps the SliderField primitive"},SliderFieldGroup:{className:eB.SliderFieldGroup,components:["SliderField"],description:"Class applied to the element that wraps the slider root"},SliderFieldLabel:{className:eB.SliderFieldLabel,components:["SliderField"],description:"Class applied to the slider label"},SliderFieldRange:{className:eB.SliderFieldRange,components:["SliderField"],description:"Class applied to the filled in portion of the slider track"},SliderFieldRoot:{className:eB.SliderFieldRoot,components:["SliderField"],description:"Class applied to the slider root which wraps the track and thumb"},SliderFieldThumb:{className:eB.SliderFieldThumb,components:["SliderField"],description:"Class applied to the slider thumb"},SliderFieldTrack:{className:eB.SliderFieldTrack,components:["SliderField"],description:"Class applied to the slider track"},StepperField:{className:eB.StepperField,components:["StepperField"],description:"Top level element that wraps the StepperField primitive"},StepperFieldButtonDecrease:{className:eB.StepperFieldButtonDecrease,components:["StepperField"],description:"Class applied to the decrease button"},StepperFieldButtonIncrease:{className:eB.StepperFieldButtonIncrease,components:["StepperField"],description:"Class applied to the increase button"},StepperFieldInput:{className:eB.StepperFieldInput,components:["StepperField"],description:"Class applied to the StepperField input"},StorageImage:{className:eB.StorageImage,components:["StorageImage"],description:"Class applied to the img tag"},StorageManager:{className:eB.StorageManager,components:["StorageManager"]},StorageManagerDropZone:{className:eB.StorageManagerDropZone,components:["StorageManager"]},StorageManagerDropZoneIcon:{className:eB.StorageManagerDropZoneIcon,components:["StorageManager"]},StorageManagerDropZoneText:{className:eB.StorageManagerDropZoneText,components:["StorageManager"]},StorageManagerFilePicker:{className:eB.StorageManagerFilePicker,components:["StorageManager"]},StorageManagerFile:{className:eB.StorageManagerFile,components:["StorageManager"]},StorageManagerFileWrapper:{className:eB.StorageManagerFileWrapper,components:["StorageManager"]},StorageManagerFileList:{className:eB.StorageManagerFileList,components:["StorageManager"]},StorageManagerFileName:{className:eB.StorageManagerFileName,components:["StorageManager"]},StorageManagerLoader:{className:eB.StorageManagerLoader,components:["StorageManager"]},StorageManagerFileSize:{className:eB.StorageManagerFileSize,components:["StorageManager"]},StorageManagerFileInfo:{className:eB.StorageManagerFileInfo,components:["StorageManager"]},StorageManagerFileImage:{className:eB.StorageManagerFileImage,components:["StorageManager"]},StorageManagerFileMain:{className:eB.StorageManagerFileMain,components:["StorageManager"]},StorageManagerFileStatus:{className:eB.StorageManagerFileStatus,components:["StorageManager"]},StorageManagerPreviewer:{className:eB.StorageManagerPreviewer,components:["StorageManager"]},StorageManagerPreviewerText:{className:eB.StorageManagerPreviewerText,components:["StorageManager"]},StorageManagerPreviewerActions:{className:eB.StorageManagerPreviewerActions,components:["StorageManager"]},StorageManagerPreviewerFooter:{className:eB.StorageManagerPreviewerFooter,components:["StorageManager"]},SwitchField:{className:eB.SwitchField,components:["SwitchField"],description:"Top level element that wraps the SwitchField primitive"},SwitchLabel:{className:eB.SwitchLabel,components:["SwitchField"],description:"Class applied to the SwitchField label text"},SwitchThumb:{className:eB.SwitchThumb,components:["SwitchField"],description:"Class applied to the SwitchField thumb"},SwitchTrack:{className:eB.SwitchTrack,components:["SwitchField"],description:"Class applied to the SwitchField track"},SwitchWrapper:{className:eB.SwitchWrapper,components:["SwitchField"],description:"Class applied to the label element that wraps the SwitchField label and track"},Table:{className:eB.Table,components:["Table"],description:"Top level element that wraps the Table primitive"},TableCaption:{className:eB.TableCaption,components:["Table"],description:"Class applied to the content provided as the caption prop"}
4953,TableBody:{className:eB.TableBody,components:["Table"],description:"Class applied to TableBody component"},TableTd:{className:eB.TableTd,components:["Table"],description:'Class applied to TableCell component rendered as a <td> element (<TableCell as="td" />)'},TableTh:{className:eB.TableTh,components:["Table"],description:'Class applied to TableCell comopnent rendered as a <th> element (<TableCell as="th" />)'},TableFoot:{className:eB.TableFoot,components:["Table"],description:"Class applied to TableFoot component"},TableHead:{className:eB.TableHead,components:["Table"],description:"Class applied to TableHead component"},TableRow:{className:eB.TableRow,components:["Table"],description:"Class applied to TableRow component"},Tabs:{className:eB.Tabs,components:["Tabs"],description:"Top level element that wraps the Tabs primitive"},TabItems:{className:eB.TabItems,components:["Tabs"],description:"Top level element that wraps the TabItem primitive"},Text:{className:eB.Text,components:["Text"],description:"Top level element that wraps the Text primitive"},Textarea:{className:eB.Textarea,components:["TextAreaField"],description:"Class applied to the text area"},TextAreaField:{className:eB.TextAreaField,components:["TextAreaField"],description:"Top level element that wraps the TextAreaField primitive"},TextField:{className:eB.TextField,components:["TextField"],description:"Top level element that wraps the TextField primitive"},ToggleButton:{className:eB.ToggleButton,components:["ToggleButton"],description:"Top level element that wraps the ToggleButton primitive"},ToggleButtonGroup:{className:eB.ToggleButtonGroup,components:["ToggleButton","ToggleButtonGroup"],description:"Top level element that wraps the ToggleButtonGroup primitive"},VisuallyHidden:{className:eB.VisuallyHidden,components:["VisuallyHidden"],description:"Top level element that wraps the VisuallyHidden primitive"}},Aq={Alert:AG.Alert.className,AlertIcon:AG.AlertIcon.className,AlertHeading:AG.AlertHeading.className,AlertBody:AG.AlertBody.className,AlertDismiss:AG.AlertDismiss.className,Autocomplete:AG.Autocomplete.className,AutocompleteMenu:AG.AutocompleteMenu.className,AutocompleteMenuEmpty:AG.AutocompleteMenuEmpty.className,AutocompleteMenuFooter:AG.AutocompleteMenuFooter.className,AutocompleteMenuHeader:AG.AutocompleteMenuHeader.className,AutocompleteMenuLoading:AG.AutocompleteMenuLoading.className,AutocompleteMenuOption:AG.AutocompleteMenuOption.className,AutocompleteMenuOptions:AG.AutocompleteMenuOptions.className,Badge:AG.Badge.className,Breadcrumbs:AG.Breadcrumbs.className,BreadcrumbsItem:AG.BreadcrumbsItem.className,BreadcrumbsLink:AG.BreadcrumbsLink.className,BreadcrumbsList:AG.BreadcrumbsList.className,BreadcrumbsSeparator:AG.BreadcrumbsSeparator.className,Button:AG.Button.className,ButtonGroup:AG.ButtonGroup.className,ButtonLoaderWrapper:AG.ButtonLoaderWrapper.className,Card:AG.Card.className,Checkbox:AG.Checkbox.className,CheckboxButton:AG.CheckboxButton.className,CheckboxIcon:AG.CheckboxIcon.className,CheckboxInput:AG.CheckboxInput.className,CheckboxLabel:AG.CheckboxLabel.className,CheckboxField:AG.CheckboxField.className,Collection:AG.Collection.className,CollectionItems:AG.CollectionItems.className,CollectionSearch:AG.CollectionSearch.className,CollectionPagination:AG.CollectionPagination.className,CountryCodeSelect:AG.CountryCodeSelect.className,DialCodeSelect:AG.DialCodeSelect.className,Divider:AG.Divider.className,DividerLabel:AG.DividerLabel.className,DropZone:AG.DropZone.className,Expander:AG.Expander.className,ExpanderContent:AG.ExpanderContent.className,ExpanderContentText:AG.ExpanderContentText.className,ExpanderHeader:AG.ExpanderHeader.className,ExpanderIcon:AG.ExpanderIcon.className,ExpanderItem:AG.ExpanderItem.className,ExpanderTrigger:AG.ExpanderTrigger.className,Field:AG.Field.className,FieldDescription:AG.FieldDescription.className,FieldErrorMessage:AG.FieldErrorMessage.className,FieldGroup:AG.FieldGroup.className,FieldGroupControl:AG.FieldGroupControl.className,FieldGroupOuterEnd:AG.FieldGroupOuterEnd.className,FieldGroupOuterStart:AG.FieldGroupOuterStart.className,FieldGroupInnerEnd:AG.FieldGroupInnerEnd.className,FieldGroupInnerStart:AG.FieldGroupInnerStart.className,FieldGroupIcon:AG.FieldGroupIcon.className,FieldGroupIconButton:AG.FieldGroupIconButton.className,FieldGroupHasInnerEnd:AG.FieldGroupHasInnerEnd.className,FieldGroupHasInnerStart:AG.FieldGroupHasInnerStart.className,FieldShowPassword:AG.FieldShowPassword.className,FieldGroupFieldWrapper:AG.FieldGroupFieldWrapper.className,Fieldset:AG.Fieldset.className,FieldsetLegend:AG.FieldsetLegend.className,FileUploaderDropZone:AG.FileUploaderDropZone.className,FileUploaderDropZoneIcon:AG.FileUploaderDropZoneIcon.className,FileUploaderDropZoneText:AG.FileUploaderDropZoneText.className,FileUploaderDropZoneButton:AG.FileUploaderDropZoneButton.className,FileUploaderFile:AG.FileUploaderFile.className,FileUploaderFileWrapper:AG.FileUploaderFileWrapper.className,FileUploaderFileName:AG.FileUploaderFileName.className,FileUploaderL
4953oader:AG.FileUploaderLoader.className,FileUploaderFileSize:AG.FileUploaderFileSize.className,FileUploaderFileInfo:AG.FileUploaderFileInfo.className,FileUploaderFileImage:AG.FileUploaderFileImage.className,FileUploaderFileMain:AG.FileUploaderFileMain.className,FileUploaderFileStatus:AG.FileUploaderFileStatus.className,FileUploaderPreviewer:AG.FileUploaderPreviewer.className,FileUploaderPreviewerText:AG.FileUploaderPreviewerText.className,FileUploaderPreviewerBody:AG.FileUploaderPreviewerBody.className,FileUploaderPreviewerFooter:AG.FileUploaderPreviewerFooter.className,FileUploaderPreviewerFooterActions:AG.FileUploaderPreviewerFooterActions.className,Flex:AG.Flex.className,Grid:AG.Grid.className,Heading:AG.Heading.className,HighlightMatch:AG.HighlightMatch.className,HighlightMatchHighlighted:AG.HighlightMatchHighlighted.className,Icon:AG.Icon.className,Image:AG.Image.className,Input:AG.Input.className,Label:AG.Label.className,Link:AG.Link.className,Loader:AG.Loader.className,LoaderDeterminate:AG.LoaderDeterminate.className,LoaderPercentageText:AG.LoaderPercentageText.className,MenuContent:AG.MenuContent.className,MenuContentWrapper:AG.MenuContentWrapper.className,MenuItem:AG.MenuItem.className,MenuTrigger:AG.MenuTrigger.className,Message:AG.Message.className,MessageIcon:AG.MessageIcon.className,MessageHeading:AG.MessageHeading.className,MessageBody:AG.MessageBody.className,MessageContent:AG.MessageContent.className,MessageDismiss:AG.MessageDismiss.className,Pagination:AG.Pagination.className,PaginationItemButton:AG.PaginationItemButton.className,PaginationItemCurrent:AG.PaginationItemCurrent.className,PaginationItemEllipsis:AG.PaginationItemEllipsis.className,PasswordField:AG.PasswordField.className,PhoneNumberField:AG.PhoneNumberField.className,Placeholder:AG.Placeholder.className,Radio:AG.Radio.className,RadioButton:AG.RadioButton.className,RadioInput:AG.RadioInput.className,RadioLabel:AG.RadioLabel.className,RadioGroupField:AG.RadioGroupField.className,RadioGroup:AG.RadioGroup.className,Rating:AG.Rating.className,ScrollView:AG.ScrollView.className,SearchField:AG.SearchField.className,SearchFieldClear:AG.SearchFieldClear.className,SearchFieldSearch:AG.SearchFieldSearch.className,Select:AG.Select.className,SelectField:AG.SelectField.className,SelectWrapper:AG.SelectWrapper.className,SelectIconWrapper:AG.SelectIconWrapper.className,SliderField:AG.SliderField.className,SliderFieldGroup:AG.SliderFieldGroup.className,SliderFieldLabel:AG.SliderFieldLabel.className,SliderFieldRange:AG.SliderFieldRange.className,SliderFieldRoot:AG.SliderFieldRoot.className,SliderFieldThumb:AG.SliderFieldThumb.className,SliderFieldTrack:AG.SliderFieldTrack.className,StepperField:AG.StepperField.className,StepperFieldButtonDecrease:AG.StepperFieldButtonDecrease.className,StepperFieldButtonIncrease:AG.StepperFieldButtonIncrease.className,StepperFieldInput:AG.StepperFieldInput.className,StorageImage:AG.StorageImage.className,StorageManager:AG.StorageManager.className,StorageManagerDropZone:AG.StorageManagerDropZone.className,StorageManagerDropZoneIcon:AG.StorageManagerDropZoneIcon.className,StorageManagerDropZoneText:AG.StorageManagerDropZoneText.className,StorageManagerFilePicker:AG.StorageManagerFilePicker.className,StorageManagerFile:AG.StorageManagerFile.className,StorageManagerFileWrapper:AG.StorageManagerFileWrapper.className,StorageManagerFileList:AG.StorageManagerFileList.className,StorageManagerFileName:AG.StorageManagerFileName.className,StorageManagerLoader:AG.StorageManagerLoader.className,StorageManagerFileSize:AG.StorageManagerFileSize.className,StorageManagerFileInfo:AG.StorageManagerFileInfo.className,StorageManagerFileImage:AG.StorageManagerFileImage.className,StorageManagerFileMain:AG.StorageManagerFileMain.className,StorageManagerFileStatus:AG.StorageManagerFileStatus.className,StorageManagerPreviewer:AG.StorageManagerPreviewer.className,StorageManagerPreviewerText:AG.StorageManagerPreviewerText.className,StorageManagerPreviewerActions:AG.StorageManagerPreviewerActions.className,StorageManagerPreviewerFooter:AG.StorageManagerPreviewerFooter.className,SwitchField:AG.SwitchField.className,SwitchLabel:AG.SwitchLabel.className,SwitchThumb:AG.SwitchThumb.className,SwitchTrack:AG.SwitchTrack.className,SwitchWrapper:AG.SwitchWrapper.className,Table:AG.Table.className,TableCaption:AG.TableCaption.className,TableBody:AG.TableBody.className,TableTd:AG.TableTd.className,TableTh:AG.TableTh.className,TableFoot:AG.TableFoot.className,TableHead:AG.TableHead.className,TableRow:AG.TableRow.className,Tabs:AG.Tabs.className,TabItems:AG.TabItems.className,Text:AG.Text.className,Textarea:AG.Textarea.className,TextAreaField:AG.TextAreaField.className,TextField:AG.TextField.className,ToggleButton:AG.ToggleButton.className,ToggleButtonGroup:AG.ToggleButtonGroup.className,VisuallyHidden:AG.VisuallyHidden.className},AY={Alert:{dismissButtonLabel:"Dismiss alert"},PhoneNumberField:{countryCodeLabel:"Country code"},PasswordField:{passwordIsHidden:"Password is hidden",passwordIsShown:"Password is shown",showPassword:"Show password"}},A$={backgroundColor:"colors",borderColor:"colors",borderWidth:"borderWidths",color:"colors",borderRadius:"radii",fontSize:"fontSizes",fontWeight:"fontWeights",fontFamily:"fonts",lineHeight:"lineHeights",opacity:"opacities",boxShadow:"shadows",transform:"transforms",left:"space",right:"space",top:"space",bottom:"space",height:"space",width:"space",letterSpacing:"space",margin:"space",marginBlock:"space",marginBlockEnd:"space",marginBlockStart:"space",marginInline:"space",marginInlineEnd:"space",marginInlineStart:"space",marginLeft:"space",marginRight:"space",marginTop:"space",marginBottom:"space",maxHeight:"space",maxWidth:"space",minHeight:"space",minWidth:"space",padding:"space",paddingBlock:"space",paddingBlockEnd:"space",paddingBlockStart:"space",paddingInline:"space",paddingInlineEnd:"space",paddingInlineStart:"space",paddingLeft:"space",paddingRight:"space",paddingTop:"space",paddingBottom:"space",gap:"space",columnGap:"space",rowGap:"space"};var tG=tB("acw62");const AK=tG.createContext({isFieldsetDisabled:!1}),AJ=()=>tG.useContext(AK);var tG=(tB("acw62"),tB("acw62"),tB("acw62")),AQ={},AX={};AX=/** 4954 * A specialized version of `_.reduce` for arrays without support for 4955 * iteratee shorthands. 4956 * 4957 * @private 4958 * @param {Array} [array] The array to iterate over. 4959 * @param {Function} iteratee The function invoked per iteration. 4960 * @param {*} [accumulator] The initial value. 4961 * @param {boolean} [initAccum] Specify using the first element of `array` as 4962 * the initial value. 4963 * @returns {*} Returns the accumulated value. 4964 */function(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var A0={},A1={},A2={};A1=/** 4965 * The base implementation of `_.propertyOf` without support for deep paths. 4966 * 4967 * @private 4968 * @param {Object} object The object to query. 4969 * @returns {Function} Returns the new accessor function. 4970 */function(e){return function(t){return null==e?void 0:e[t]}}({// Latin-1 Supplement block. 4971Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",à :"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",// Latin Extended-A block. 4972Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä :"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å :"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"});/** Used to match Latin Unicode letters (excluding mathematical operators). */var A8=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
49727f]/g,A6=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");A0=/** 4973 * Deburrs `string` by converting 4974 * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) 4975 * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) 4976 * letters to basic Latin letters and removing 4977 * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). 4978 * 4979 * @static 4980 * @memberOf _ 4981 * @since 3.0.0 4982 * @category String 4983 * @param {string} [string=''] The string to deburr. 4984 * @returns {string} Returns the deburred string. 4985 * @example 4986 * 4987 * _.deburr('déjà vu'); 4988 * // => 'deja vu' 4989 */function(e){return(e=Ec(e))&&e.replace(A8,A1).replace(A6,"")};var A4={},A3={},A5=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;A3=/** 4990 * Splits an ASCII `string` into an array of its words. 4991 * 4992 * @private 4993 * @param {string} The string to inspect. 4994 * @returns {Array} Returns the words of `string`. 4995 */function(e){return e.match(A5)||[]};var A7={},A9=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;A7=/** 4996 * Checks if `string` contains a word composed of Unicode symbols. 4997 * 4998 * @private 4999 * @param {string} string The string to inspect. 5000 * @returns {boolean} Returns `true` if a word is found, else `false`. 5001 */function(e){return A9.test(e)};var ke={},kt="\ud800-\udfff",kr="\\u2700-\\u27bf",kn="a-z\\xdf-\\xf6\\xf8-\\xff",ko="A-Z\\xc0-\\xd6\\xd8-\\xde",ka="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ki="['â]",ks="["+ka+"]",kl="["+kn+"]",ku="[^"+kt+ka+"\\d+"+kr+kn+ko+"]",kc="(?:\ud83c[\udde6-\uddff]){2}",kd="[\ud800-\udbff][\udc00-\udfff]",kf="["+ko+"]",kp="(?:"+kl+"|"+ku+")",kh="(?:"+ki+"(?:d|ll|m|re|s|t|ve))?",km="(?:"+ki+"(?:D|LL|M|RE|S|T|VE))?",kg="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",kv="[\\ufe0e\\ufe0f]?",ky="(?:\\u200d(?:"+["[^"+kt+"]",kc,kd].join("|")+")"+kv+kg+")*",kb="(?:"+["["+kr+"]",kc,kd].join("|")+")"+(kv+kg+ky),kw=RegExp([kf+"?"+kl+"+"+kh+"(?="+[ks,kf,"$"].join("|")+")","(?:"+kf+"|"+ku+")+"+km+"(?="+[ks,kf+kp,"$"].join("|")+")",kf+"?"+kp+"+"+kh,kf+"+"+km,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",kb].join("|"),"g");ke=/** 5002 * Splits a Unicode `string` into an array of its words. 5003 * 5004 * @private 5005 * @param {string} The string to inspect. 5006 * @returns {Array} Returns the words of `string`. 5007 */function(e){return e.match(kw)||[]},A4=/** 5008 * Splits `string` into an array of its words. 5009 * 5010 * @static 5011 * @memberOf _ 5012 * @since 3.0.0 5013 * @category String 5014 * @param {string} [string=''] The string to inspect. 5015 * @param {RegExp|string} [pattern] The pattern to match words. 5016 * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. 5017 * @returns {Array} Returns the words of `string`. 5018 * @example 5019 * 5020 * _.words('fred, barney, & pebbles'); 5021 * // => ['fred', 'barney', 'pebbles'] 5022 * 5023 * _.words('fred, barney, & pebbles', /[^, ]+/g); 5024 * // => ['fred', 'barney', '&', 'pebbles'] 5025 */function(e,t,r){return(e=Ec(e),void 0===(t=r?void 0:t))?A7(e)?ke(e):A3(e):e.match(t)||[]};/** Used to match apostrophes. */var kS=RegExp("['â]","g");h=function(e,t,r){return e+(r?"-":"")+t.toLowerCase()},AQ=function(e){return AX(A4(A0(e).replace(kS,"")),h,"")};var kx={},kE={},kC={};kC={opening_character:"{",closing_character:"}",separator:"."},kE=function(e={}){let t=Object.assign({},kC,e);return RegExp("\\"+t.opening_character+"([^"+t.closing_character+"]+)\\"+t.closing_character,"g")},kx=/** 5026 * Checks if the value uses a value reference. 5027 * @memberof Dictionary 5028 * @param {string} value 5029 * @param {Object|RegExp} regexOrOptions 5030 * @returns {boolean} - True, if the value uses a value reference 5031 */function e(t,r={}){let n=r instanceof RegExp?r:kE(r);if("string"==typeof t)return n.test(t);if("object"==typeof t){let n=!1;// iterate over each property in the object, 5032// if any element passes the regex test, 5033// the whole thing should be true 5034for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];if(e(a,r)){n=!0;break}}return n}return!1};const kA=["offsetX","offsetY","blurRadius","spreadRadius","color"];function kk(e){return e?/*@__PURE__*/tV(kx)(e)?`var(--${k_({path:e.replace(/\{|\}/g,"").replace(".value","").split(".")})})`:e:""}function k_({path:e=[]}){return`${/*@__PURE__*/tV(AQ)(["amplify",...e].join(" "))}`}function kI(e){return cc(e)&&cm(e,"value")}function kT(e){return cc(e)&&cm(e,"offsetX")}function kP({tokens:e,path:t=[],setupToken:r}){if(cm(e,"value"))return r({token:e,path:t});let n={};for(let o in e)if(cm(e,o)){let a=e[o],i=cc(a)?a:{value:a};n[o]=kP({tokens:i,path:t.concat(o),setupToken:r})}return n}const kN={alignContent:"alignContent",alignItems:"alignItems",alignSelf:"alignSelf",area:"gridArea",aspectRatio:"aspectRatio",autoColumns:"gridAutoColumns",autoFlow:"gridAutoFlow",autoRows:"gridAutoRows",backgroundColor:"backgroundColor",backgroundImage:"backgroundImage",basis:"flexBasis",border:"border",borderRadius:"borderRadius",borderColor:"borderColor",borderWidth:"borderWidth",borderStyle:"borderStyle",bottom:"bottom",boxShadow:"boxShadow",color:"color",column:"gridColumn",columnEnd:"gridColumnEnd",columnGap:"columnGap",columnSpan:"gridColumn",columnStart:"gridColumnStart",direction:"flexDirection",display:"display",flex:"flex",fontFamily:"fontFamily",fontSize:"fontSize",fontStyle:"fontStyle",fontWeight:"fontWeight",gap:"gap",grow:"flexGrow",height:"height",justifyContent:"justifyContent",left:"left",letterSpacing:"letterSpacing",lineHeight:"lineHeight",margin:"margin",marginBlock:"marginBlock",marginBlockEnd:"marginBlockEnd",marginBlockStart:"marginBlockStart",marginBottom:"marginBlockEnd",marginInline:"marginInline",marginInlineEnd:"marginInlineEnd",marginInlineStart:"marginInlineStart",marginLeft:"marginInlineStart",marginRight:"marginInlineEnd",marginTop:"marginBlockStart",maxHeight:"maxHeight",maxWidth:"maxWidth",minHeight:"minHeight",minWidth:"minWidth",objectFit:"objectFit",objectPosition:"objectPosition",opacity:"opacity",order:"order",overflow:"overflow",padding:"padding",paddingBlock:"paddingBlock",paddingBlockEnd:"paddingBlockEnd",paddingBlockStart:"paddingBlockStart",paddingBottom:"paddingBlockEnd",paddingInline:"paddingInline",paddingInlineEnd:"paddingInlineEnd",paddingInlineStart:"paddingInlineStart",paddingLeft:"paddingInlineStart",paddingRight:"paddingInlineEnd",paddingTop:"paddingBlockStart",position:"position",resize:"resize",right:"right",row:"gridRow",rowEnd:"gridRowEnd",rowGap:"rowGap",rowSpan:"gridRow",rowStart:"gridRowStart",shrink:"flexShrink",templateAreas:"gridTemplateAreas",templateColumns:"gridTemplateColumns",templateRows:"gridTemplateRows",textAlign:"textAlign",textDecoration:"textDecoration",textTransform:"textTransform",top:"top",transform:"transform",transformOrigin:"transformOrigin",width:"width",whiteSpace:"whiteSpace",wrap:"flexWrap"};Object.keys(kN);const kO={dropzone:{backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"dashed"},borderWidth:{value:"{borderWidths.small}"},gap:{value:"{space.small}"},paddingBlock:{value:"{space.xl}"},paddingInline:{value:"{space.large}"},textAlign:{value:"center"},_active:{backgroundColor:{value:"{colors.brand.primary.10}"},borderRadius:{value:"{components.fileuploader.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.fileuploader.dropzone.borderStyle}"},borderWidth:{value:"{borderWidths.medium}"}},icon:{color:{value:"{colors.border.primary}"},fontSize:{value:"{fontSizes.xxl}"}},text:{color:{value:"{colors.font.tertiary}"},fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"}}},file:{backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},paddingBlock:{value:"{space.xs}"},paddingInline:{value:"{space.small}"},gap:{value:"{space.small}"},alignItems:{value:"baseline"},name:{fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"},color:{value:"{colors.font.primary}"}},size:{fontSize:{value:"{fontSizes.small}"},fontWeight:{value:"{fontWeights.normal}"},color:{value:"{colors.font.tertiary}"}},image:{width:{value:"{space.xxl}"},height:{value:"{space.xxl}"},backgroundColor:{value:"{colors.background.secondary}"},color:{value:"{colors.font.tertiary}"},borderRadius:{value:"{radii.small}"}}},loader:{strokeLinecap:{value:"round"},strokeEmpty:{value:"{colors.border.secondary}"},strokeFilled:{value:"{components.loader.strokeFilled}"},strokeWidth:{value:"{borderWidths.large}"}},previewer:{backgroundColor:{value:"{colors.background.primary}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},borderRadius:{value:"{radii.small}"},paddingBlock:{value:"{space.zero}"},paddingInline:{value:"{space.zero}"},maxHeight:{value:"40rem"},maxWidth:{value:"auto"},text:{fontSize:{value:"{fontSizes.medium}"},fontWeight:{value:"{fontWeights.bold}"},color:{value:"{colors.font.primary}"}},body:{paddingBlock:{value:"{space.medium}"},paddingInline:{value:"{space.medium}"},gap:{value:"{space.small}"}},footer:{borderColor:{value:"{colors.border.secondary}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small}"},paddingBlock:{value:"{space.medium}"},paddingInline:{value:"{space.medium}"},justifyContent:{value:"space-between"}}}},kM=Object.assign(Object.assign({},kO),{filelist:{flexDirection:{value:"column"},gap:{value:"{space.small}"}},previewer:Object.assign(Object.assign({},kO.previewer),{footer:{justifyContent:{value:"flex-end"}}})}
5034),kj={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"2.5rem"},xxxxl:{value:"3rem"}},kF={zero:{value:"0"},xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375em"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"},full:{value:"100%"}}};kj.xxs,kj.xs,kj.small,kj.medium,kj.large,kj.xl,kj.xxl,kj.xxxl,kF.xxxs,kF.xs,kF.small,kF.medium,kF.large,kF.xl,kF.xxl,kF.xxxl;const kR={tokens:{components:{alert:{alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}},authenticator:{maxWidth:{value:"60rem"},modal:{width:{value:"{space.relative.full}"},height:{value:"{space.relative.full}"},backgroundColor:{value:"{colors.overlay.50.value}"},top:{value:"{space.zero}"},left:{value:"{space.zero}"}},container:{widthMax:{value:"30rem"}},router:{borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"}},footer:{paddingBottom:{value:"{space.medium.value}"}},form:{padding:{value:"{space.xl.value}"}},state:{inactive:{backgroundColor:{value:"{colors.background.secondary.value}"}}},orContainer:{color:{value:"{colors.neutral.80.value}"},orLine:{backgroundColor:{value:"{colors.background.primary.value}"}}}},autocomplete:{menu:{width:{value:"100%"},marginBlockStart:{value:"{space.xxxs}"},backgroundColor:{value:"{colors.background.primary}"},borderColor:{value:"{colors.border.primary}"},borderWidth:{value:"{borderWidths.small}"},borderStyle:{value:"solid"},borderRadius:{value:"{radii.small}"},options:{display:{value:"flex"},flexDirection:{value:"column"},maxHeight:{value:"300px"}},option:{backgroundColor:{value:"{colors.background.primary}"},color:{value:"currentcolor"},cursor:{value:"pointer"},transitionDuration:{value:"{time.short}"},transitionProperty:{value:"background-color, color"},transitionTimingFunction:{value:"ease"},_active:{backgroundColor:{value:"{colors.brand.primary.80}"},color:{value:"{colors.white}"}}},_empty:{display:{value:"flex"}},_loading:{alignItems:{value:"center"},display:{value:"flex"},gap:{value:"{space.xxxs}"}},spaceShared:{paddingBlock:{value:"{space.xs}"},paddingInline:{value:"{space.small}"}}}},badge:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}},breadcrumbs:{flexDirection:{value:"row"},flexWrap:{value:"wrap"}
5034,gap:{value:"0"},color:{value:"{colors.font.tertiary}"},item:{flexDirection:{value:"row"},color:{value:"inherit"},fontSize:{value:"inherit"},alignItems:{value:"center"},lineHeight:{value:"1"}},separator:{color:{value:"inherit"},fontSize:{value:"inherit"},paddingInline:{value:"{space.xxs}"}},link:{color:{value:"{components.link.color}"},fontSize:{value:"inherit"},fontWeight:{value:"normal"},textDecoration:{value:"none"},paddingInline:{value:"{space.xs}"},paddingBlock:{value:"{space.xxs}"},current:{color:{value:"inherit"},fontSize:{value:"inherit"},fontWeight:{value:"normal"},textDecoration:{value:"none"}}}},button:{fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},outlined:{info:{borderColor:{value:"{colors.blue.60.value}"},backgroundColor:{value:"transparent"},color:{value:"{colors.blue.100}"},_hover:{borderColor:{value:"{colors.blue.60.value}"},backgroundColor:{value:"{colors.blue.10.value}"},color:{value:"{colors.blue.100.value}"}},_focus:{borderColor:{value:"{colors.blue.100.value}"},backgroundColor:{value:"{colors.blue.10.value}"},color:{value:"{colors.blue.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.blue.100.value}"}}},_active:{borderColor:{value:"{colors.blue.100.value}"},backgroundColor:{value:"{colors.blue.20.value}"},color:{value:"{colors.blue.100.value}"}}},warning:{borderColor:{value:"{colors.orange.60.value}"},backgroundColor:{value:"transparent"},color:{value:"{colors.orange.100}"},_hover:{borderColor:{value:"{colors.orange.60.value}"},backgroundColor:{value:"{colors.orange.10.value}"},color:{value:"{colors.orange.100.value}"}},_focus:{borderColor:{value:"{colors.orange.100.value}"},backgroundColor:{value:"{colors.orange.10.value}"},color:{value:"{colors.orange.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.orange.100.value}"}}},_active:{borderColor:{value:"{colors.orange.100.value}"},backgroundColor:{value:"{colors.orange.20.value}"},color:{value:"{colors.orange.100.value}"}}},success:{borderColor:{value:"{colors.green.60.value}"},backgroundColor:{value:"transparent"},color:{value:"{colors.green.100}"},_hover:{borderColor:{value:"{colors.green.60.value}"},backgroundColor:{value:"{colors.green.10.value}"},color:{value:"{colors.green.100.value}"}},_focus:{borderColor:{value:"{colors.green.100.value}"},backgroundColor:{value:"{colors.green.10.value}"},color:{value:"{colors.green.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.green.100.value}"}}},_active:{borderColor:{value:"{colors.green.100.value}"},backgroundColor:{value:"{colors.green.20.value}"},color:{value:"{colors.green.100.value}"}}},error:{borderColor:{value:"{colors.red.60.value}"},backgroundColor:{value:"transparent"},color:{value:"{colors.red.100}"},_hover:{borderColor:{value:"{colors.red.60.value}"},backgroundColor:{value:"{colors.red.10.value}"},color:{value:"{colors.red.100.value}"}},_focus:{borderColor:{value:"{colors.red.100.value}"},backgroundColor:{value:"{colors.red.10.value}"},color:{value:"{colors.red.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.red.100.value}"}}},_active:{borderColor:{value:"{colors.red.100.value}"},backgroundColor:{value:"{colors.red.20.value}"},color:{value:"{colors.red.100.value}"}}},overlay:{borderColor:{value:"{colors.overlay.60.value}"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.primary.value}"},_hover:{borderColor:{value:"{colors.overlay.60.value}"},backgroundColor:{value:"{colors.overlay.5.value}"},color:{value:"{colors.neutral.90.value}"}},_focus:{borderColor:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.overlay.5.value}"},color:{value:"{colors.neutral.90.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.overlay.90.value}"}}},_active:{borderColor:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.neutral.100.value}"}}}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}},info:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.80}"},color:{value:"{colors.font.inverse.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.blue.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.100.value}"},color:{value:"{colors.font.inverse.value}"}}},warning:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.80}"},color:{value:"{colors.font.inverse.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.orange.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.100.value}"},color:{value:"{colors.font.inverse.value}"}}},error:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.80}"},color:{value:"{colors.font.inverse.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.red.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.100.value}"},color:{value:"{colors.font.inverse.value}"}}},success:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.80}"},color:{value:"{colors.font.inverse.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.green.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.100.value}"},color:{value:"{colors.font.inverse.value}"}}},overlay:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.70}"},color:{value:"{colors.font.inverse.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.overlay.90.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.90.value}"},color:{value:"{colors.font.inverse.value}"}}}},menu:{borderWidth:{value:"{space.zero.value}"},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{backgroundColor:{value:"transparent"},borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},info:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.blue.100}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.10.value}"},color:{value:"{colors.blue.90.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.10.value}"},color:{value:"{colors.blue.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.blue.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.blue.20.value}"},color:{value:"{colors.blue.100.value}"}}},warning:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.orange.100}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.10.value}"},color:{value:"{colors.orange.90.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.10.value}"},color:{value:"{colors.orange.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.orange.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.orange.20.value}"},color:{value:"{colors.orange.100.value}"}}},success:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.green.100}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.10.value}"},color:{value:"{colors.green.90.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.10.value}"},color:{value:"{colors.green.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.green.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.green.20.value}"},color:{value:"{colors.green.100.value}"}}},error:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.red.100}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.10.value}"},color:{value:"{colors.red.90.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.10.value}"},color:{value:"{colors.red.100.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.red.100.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.20.value}"},color:{value:"{colors.red.100.value}"}}},overlay:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.neutral.100}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.5.value}"},color:{value:"{colors.overlay.80.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.5.value}"},color:{value:"{colors.overlay.90.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.overlay.90.value}"}}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.overlay.90.value}"}}}},warning:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.red.60}"},borderWidth:{value:"{borderWidths.small}"},color:{value:"{colors.red.60}"},_hover:{borderColor:{value:"{colors.red.80}"},backgroundColor:{value:"{colors.red.10}"},color:{value:"{colors.font.error}"}},_focus:{borderColor:{value:"{colors.red.80}"},backgroundColor:{value:"{colors.red.10}"},color:{value:"{colors.red.80}"},boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow}"}},_active:{borderColor:{value:"{colors.red.100}"},backgroundColor:{value:"{colors.red.20}"},color:{value:"{colors.red.100}"}},_disabled:{borderColor:{value:"{colors.border.tertiary}"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled}"}},_loading:{borderColor:{value:"{colors.border.tertiary}"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled}"}}},destructive:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.red.60}"},color:{value:"{colors.font.inverse}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled}"},color:{value:"{colors.font.disabled}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled}"},color:{value:"{colors.font.disabled}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.80}"},color:{value:"{colors.font.inverse}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.80}"},color:{value:"{colors.font.inverse}"},boxShadow:{value:"{comp
5034onents.fieldcontrol._error._focus.boxShadow}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.red.100}"},color:{value:"{colors.font.inverse}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}},loaderWrapper:{alignItems:{value:"center"},gap:{value:"{space.xs.value}"}}},card:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{components.card.boxShadow.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}},checkbox:{cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},_indeterminate:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}},checkboxfield:{alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}},collection:{pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}},copy:{fontSize:{value:"{fontSizes.xs}"},gap:{value:"{space.relative.medium}"},svg:{path:{fill:{value:"{colors.font.primary}"}}},toolTip:{bottom:{value:"{space.large}"},color:{value:"{colors.teal.100}"},fontSize:{value:"{fontSizes.xxs}"}}},countrycodeselect:{height:{value:"{space.relative.full.value}"}},divider:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},label:{color:{value:"{colors.font.tertiary.value}"},paddingInline:{value:"{space.medium.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.background.primary.value}"}},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}},dropzone:{backgroundColor:{value:"{colors.background.primary}"},borderRadius:{value:"{radii.small}"},borderColor:{value:"{colors.border.primary}"},borderStyle:{value:"dashed"},borderWidth:{value:"{borderWidths.small}"},color:{value:"{colors.font.primary}"},gap:{value:"{space.small}"},paddingBlock:{value:"{space.xl}"},paddingInline:{value:"{space.large}"},textAlign:{value:"center"},_active:{backgroundColor:{value:"{colors.brand.primary.10}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.primary}"}},_disabled:{backgroundColor:{value:"{colors.background.disabled}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.disabled}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.disabled}"}},accepted:{backgroundColor:{value:"{colors.background.success}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.success}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.success}"}},rejected:{backgroundColor:{value:"{colors.background.error}"},borderRadius:{value:"{components.dropzone.borderRadius}"},borderColor:{value:"{colors.border.pressed}"},borderStyle:{value:"{components.dropzone.borderStyle}"},borderWidth:{value:"{components.dropzone.borderWidth}"},color:{value:"{colors.font.error}"}}},expander:{display:{value:"block"},backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},field:{gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},flexDirection:{value:"column"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}},fieldcontrol:{borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xxs.value}"},paddingBlockEnd:{value:"{space.xxs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}
5034,quiet:{borderStyle:{value:"none"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}",blurRadius:"0px"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}",blurRadius:"0px"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},color:{value:"{colors.font.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}},fieldgroup:{gap:{value:"{space.zero.value}"},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}},fieldmessages:{error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}},fieldset:{backgroundColor:{value:"transparent"},borderRadius:{value:"{radii.xs.value}"},flexDirection:{value:"column"},gap:{value:"{components.field.gap.value}"},legend:{color:{value:"{colors.font.primary.value}"},fontSize:{value:"{components.field.fontSize.value}"},fontWeight:{value:"{fontWeights.bold.value}"},lineHeight:{value:"{lineHeights.medium.value}"},small:{fontSize:"{components.field.small.fontSize.value}"},large:{fontSize:"{components.field.large.fontSize.value}"}},outlined:{padding:"{space.medium.value}",borderColor:"{colors.neutral.40.value}",borderWidth:"{borderWidths.small.value}",borderStyle:"solid",small:{padding:"{space.small.value}"},large:{padding:"{space.large.value}"}},small:{gap:"{components.field.small.gap.value}"},large:{gap:"{components.field.large.gap.value}"}},fileuploader:kO,flex:{gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}},heading:{color:{value:"{colors.font.primary.value}"},lineHeight:{value:"{lineHeights.small.value}"},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},icon:{lineHeight:{value:1},height:{value:"1em"}},highlightmatch:{highlighted:{fontWeight:{value:"{fontWeights.bold}"}}},image:{maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}},inappmessaging:{banner:{height:{value:"150px "},width:{value:"400px "}},button:{backgroundColor:{value:"#e8e8e8"},borderRadius:{value:"5px"},color:{value:"black"}},dialog:{height:{value:"50vh"},minHeight:{value:"400px"},minWidth:{value:"400px"},width:{value:"30vw"}},header:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.extrabold.value}"}}},input:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},link:{active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}},liveness:{cameraModule:{backgroundColor:{value:"{colors.black}"}}},loader:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},fontSize:{value:"{fontSizes.xs.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"},fontSize:{value:"{fontSizes.xxs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"},fontSize:{value:"{fontSizes.small.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},fontSize:{value:"{fontSizes.xxs.value}"},strokeWidth:{value:"{fontSizes.xxs.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{strokeWidth:{value:"{fontSizes.xxxs.value}"},fontSize:{value:"{fontSizes.xxxs.value}"}},large:{strokeWidth:{value:"{fontSizes.xs.value}"},fontSize:{value:"{fontSizes.xs.value}"}}},text:{fill:{value:"{colors.font.primary.value}"}}},menu:{backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.medium.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:"{space.zero.value}"},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}},message:{alignItems:{value:"center"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderColor:{value:"transparent"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.xs.value}"},color:{value:"{colors.font.primary.value}"},justifyContent:{value:"flex-start"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},lineHeight:{value:"{lineHeights.small.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},dismiss:{gap:{value:"{space.xxs.value}"}},plain:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"}}},outlined:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.primary.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.error.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.success.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.warning.value}"}}},filled:{color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.secondary.value}"},borderColor:{value:"transparent"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"},borderColor:{value:"transparent"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"},borderColor:{value:"transparent"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"},borderColor:{value:"transparent"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"},borderColor:{value:"transparent"}}}},pagination:{current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.font.inverse.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}}
5034,itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}},passwordfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},phonenumberfield:{color:{value:"{components.fieldcontrol.color}"},borderColor:{value:"{components.fieldcontrol.borderColor}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}}},placeholder:{borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}},radio:{alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.background.primary.value}"},backgroundColor:{value:"{colors.background.primary.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{color:{value:"{components.text.color.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"}}}},radiogroup:{radio:{borderWidth:{value:"{components.radio.button.borderWidth}"},borderColor:{value:"{components.radio.button.borderColor}"},backgroundColor:{value:"{components.radio.button.backgroundColor}"},_checked:{color:{value:"{components.radio.button._checked.color}"}},label:{color:{value:"{components.radio.label.color}"}}},label:{color:{value:"{components.field.label.color}"}}},rating:{large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}},searchfield:{color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},backgroundColor:{value:"{colors.background.primary.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}},select:{paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{flex:{value:"1"},display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"},small:{right:{value:"{space.xs.value}"}},large:{right:{value:"{space.medium.value}"}}},option:{backgroundColor:{value:"{colors.background.primary.value}"},color:{value:"{colors.font.primary.value}"},_disabled:{color:{value:"{colors.font.disabled.value}"}}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"},paddingInlineEnd:{value:"{space.xl.value}"}},large:{minWidth:{value:"7.5rem"},paddingInlineEnd:{value:"{space.xxl.value}"}}},selectfield:{borderColor:{value:"{components.fieldcontrol.borderColor}"},color:{value:"{components.fieldcontrol.color}"},flexDirection:{value:"column"},fontSize:{value:"{components.fieldcontrol.fontSize}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor}"}},label:{color:{value:"{components.field.label.color}"}}},sliderfield:{paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"9999px"}
5034,height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.small.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.medium.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}},stepperfield:{borderColor:{value:"{components.fieldcontrol.borderColor}"},flexDirection:{value:"column"},input:{color:{value:"{components.fieldcontrol.color}"},fontSize:{value:"{components.fieldcontrol.fontSize}"},textAlign:{value:"center"}},button:{color:{value:"{components.button.color}"},backgroundColor:{value:"{colors.transparent}"},_active:{color:{value:"{components.button._active.color}"},backgroundColor:{value:"{components.button._active.backgroundColor}"}},_focus:{color:{value:"{components.button._focus.color}"},backgroundColor:{value:"{components.button._focus.backgroundColor}"}},_disabled:{color:{value:"{components.button._disabled.color}"},backgroundColor:{value:"{components.fieldcontrol._disabled.backgroundColor}"}},_hover:{color:{value:"{components.button._hover.color}"},backgroundColor:{value:"{components.button._hover.backgroundColor}"}}}},storagemanager:kM,switchfield:{_disabled:{opacity:{value:"{opacities.60.value}"}},_focused:{shadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},fontSize:{value:"{fontSizes.medium.value}"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},label:{padding:{value:"{space.xs.value}"}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.quaternary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"},_error:{backgroundColor:{value:"{colors.background.error.value}"}}}},table:{borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}},tabs:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"}
5034,gap:{value:"0"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}},text:{color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}},textareafield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},textfield:{color:{value:"{components.fieldcontrol.color.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},_focus:{borderColor:{value:"{components.fieldcontrol._focus.borderColor.value}"}}},togglebutton:{borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.font.primary.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.font.primary.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{borderColor:{value:"{colors.border.pressed.value}"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.font.primary.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.background.primary.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.background.primary.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"},boxShadow:{value:"{colors.brand.primary.60.value}"},color:{value:"{colors.background.primary.value}"}}}},link:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"}},_hover:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.transparent.value}"}}}}},togglebuttongroup:{alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}},borderWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},colors:{red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 10%, 58%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.neutral.60.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},quaternary:{value:"{colors.neutral.60.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.10.value}"},warning:{value:"{colors.orange.10.value}"},error:{value:"{colors.red.10.value}"},success:{value:"{colors.green.10.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},pressed:{value:"{colors.brand.primary.100.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"},info:{value:"{colors.blue.80.value}"},success:{value:"{colors.green.80.value}"},warning:{value:"{colors.orange.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{5:{value:"hsla(0, 0%, 0%, 0.05)"},10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"}
5034,60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}},fonts:{default:{variable:{value:"'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,\n 'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',\n sans-serif"},static:{value:"'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',\n 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif"}}},fontSizes:kj,fontWeights:{hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}},lineHeights:{small:{value:"1.25"},medium:{value:"1.5"},large:{value:"2"}},opacities:{0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}},outlineOffsets:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},outlineWidths:{small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}},radii:{xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}},shadows:{small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}},space:kF,time:{short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}},transforms:{slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}}},breakpoints:{values:{base:0,small:480,medium:768,large:992,xl:1280,xxl:1536},defaultBreakpoint:"base"},name:"default-theme"},kU=e=>e in A$,kL=e=>"string"==typeof e&&0===e.length,kD=e=>null==e||kL(e),kV=e=>Object.keys(e),kH=(e,t,r)=>{if("string"!=typeof t)return t;if(t.includes(" "))return t.split(" ").map(t=>kH(e,t,r)).join(" ");if(kU(e)){let n=t.split("."),o=A$[e],a=r[o];for(let e=0;e<n.length&&a;e++)a=a[n[e]];return kI(a)?`var(--${k_({path:[A$[e],...n]})})`:t}return t},kZ=({breakpoint:e,breakpoints:t,values:r})=>{let n={},o=kV(t).sort((e,r)=>t[e]-t[r]);return Array.isArray(r)?r.forEach((e,t)=>{n[o[t]]=e}):"object"==typeof r&&(n=kV(r).reduce((e,t)=>t in kR.breakpoints.values?Object.assign(Object.assign({},e),{[t]:r[t]}):e,{})),(({breakpoint:e,breakpoints:t,values:r})=>{let n=r[e];if(void 0!==n)return n;let o=kV(t).sort((e,r)=>t[r]-t[e]),a=o.slice(o.indexOf(e));for(let e of a){let t=r[e];if(void 0!==t)return t}return null})({breakpoint:e,breakpoints:t,values:n})};var tG=tB("acw62");const kB=({breakpoints:e})=>{let t=kV(e).sort((t,r)=>e[r]-e[t]);return t.map((r,n)=>{let o="",a=e[r],i=t[n-1],s=i?e[i]-1:null;return a>=0&&(o=`(min-width: ${a}px)`),null!==s&&(o&&(o+=" and "),o+=`(max-width: ${s}px)`),{breakpoint:r,query:o,maxWidth:s,minWidth:a}})},kz="undefined"==typeof window?tG.useEffect:tG.useLayoutEffect,kW=({breakpoints:e,defaultBreakpoint:t})=>{let r="undefined"!=typeof window&&void 0!==window.matchMedia?window.matchMedia:null,n=tG.useMemo(()=>kB({breakpoints:e}),[e]),[o,a]=tG.useState(t),i=tG.useCallback((e,t)=>{e&&a(t)},[a]);return kz(()=>{if(!r)return;let e=n.map(({query:e,breakpoint:t})=>{let n=r(e);i(n.matches,t);let o=e=>{e.matches&&a(t)};return n.addEventListener("change",o),()=>n.removeEventListener("change",o)});return()=>{e.forEach(e=>e())}},[e,a,r,n]),tG.useDebugValue(o,e=>e),o};var tG=tB("acw62"),kG={},kq={},kY=function(){return(kY=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function k$(e){return e.toLowerCase()}"function"==typeof SuppressedError&&SuppressedError;// Support camel case ("camelCase" -> "camel Case" and "CAMELCase" -> "CAMEL Case"). 5035var kK=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],kJ=/[^A-Z0-9]+/gi;function kQ(e,t){void 0===t&&(t={});// Trim the delimiter from around the output string. 5036for(var r=t.splitRegexp,n=t.stripRegexp,o=t.transform,a=void 0===o?k$:o,i=t.delimiter,s=void 0===i?" ":i,l=kX(kX(e,void 0===r?kK:r,"$1\x00$2"),void 0===n?kJ:n,"\x00"),u=0,c=l.length;"\x00"===l.charAt(u);)u++;for(;"\x00"===l.charAt(c-1);)c--;// Transform each token independently. 5037return l.slice(u,c).split("\x00").map(a).join(s)}/** 5038 * Replace `re` in the input string with the replacement value. 5039 */function kX(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(e,t){return e.replace(t,r)},e)}function k0(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function k1(e,t){return 0===t?e.toLowerCase():k0(e,t)}function k2(e,t){return void 0===t&&(t={}),kQ(e,kY({delimiter:"."},t))}const k8=function(e,t){Object.keys(e||{}
5039).forEach(r=>{t(e[r],r)})},k6=function(e){return null==e||"object"!=typeof e?e:e instanceof Array?e.reduce((e,t,r)=>(e[r]=k6(t),e),[]):e instanceof Object?Object.keys(e||{}).reduce((t,r)=>(t[r]=k6(e[r]),t),{}):void 0},k4=function(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)},k3=function(e,t){return k4(t)?Object.keys(t).every(r=>k3(e[r],t[r])):e==t},k5={transform:function(e,t){return 0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}};kq={each:k8,forEach:k8,forIn:k8,keys:Object.keys,clone:function(e){return Object.assign(new e.constructor,e)},cloneDeep:k6,extend:Object.assign,isString:function(e){return"string"==typeof e||e instanceof String},isArray:function(e){return Array.isArray(e)},isObject:k4,isPlainObject:function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},isEmpty:function(e){return[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length},filter:function(e,t){if("function"!=typeof t)throw"filter is not a function";return void 0===e?[]:e.filter(t)},reduce:function(e,t,r){return Object.keys(e||{}).reduce((r,n)=>t(r,e[n],n,e),r)},assign:function(){let e=Array.prototype.slice.call(arguments);return e.unshift({}),Object.assign(...e)},upperFirst:function(e){return e?e[0].toUpperCase()+e.substr(1):""},camelCase:(G=function(e,t){var r;return void 0===t&&(t={}),void 0===(r=kY({transform:k1},t))&&(r={}),kQ(e,kY({delimiter:"",transform:k0},r))},(e,t)=>G(e,Object.assign({},k5,void 0,t))),snakeCase:function(e,t){return void 0===t&&(t={}),k2(e,kY({delimiter:"_"},t))},kebabCase:function(e,t){return void 0===t&&(t={}),k2(e,kY({delimiter:"-"},t))},pull:function(e,...t){var r=new Set(t);for(let t=e.length-1;t>=0;t--)r.has(e[t])&&e.splice(t,1)},matches:function(e){let t=k6(e);return e=>k3(e,t)},unique:function(e){return[...new Set(e)]}},kG=/** 5040 * Performs an deep extend on the objects, from right to left. 5041 * @private 5042 * @param {Object[]} objects - An array of JS objects 5043 * @param {Function} collision - A function to be called when a merge collision happens. 5044 * @param {string[]} path - (for internal use) An array of strings which is the current path down the object when this is called recursively. 5045 * @returns {Object} 5046 */function e(t,r,n){if(null==t)return{};var o,a,i,s,l,u,c=t[0]||{},d=1,f=t.length;for(n=n||[],"object"!=typeof c&&(c={});d<f;d++)// Only deal with non-null/undefined values 5047if(null!=(l=t[d])){for(s in l)if(l.hasOwnProperty(s)&&"__proto__"!==s&&(o=c[s],c!==(i=l[s]))){// Recurse if we're merging plain objects or arrays 5048if(i&&(kq.isPlainObject(i)||(a=kq.isArray(i)))){a?(a=!1,u=o&&kq.isArray(o)?o:[]):u=o&&kq.isPlainObject(o)?o:{};var p=n.slice(0);p.push(s),// Never move original objects, clone them 5049c[s]=e([u,i],r,p);// Don't bring in undefined values 5050}else void 0!==i&&(null!=o&&"function"==typeof r&&r({target:c,copy:l,path:n,key:s}),c[s]=i)}}return c};var k7={};k7=/* 5051 * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. 5052 * 5053 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with 5054 * the License. A copy of the License is located at 5055 * 5056 * http://www.apache.org/licenses/LICENSE-2.0 5057 * 5058 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 5059 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions 5060 * and limitations under the License. 5061 *//** 5062 * Takes an plain javascript object and will make a flat array of all the leaf nodes. 5063 * A leaf node in this context has a 'value' property. Potentially refactor this to 5064 * be more generic. 5065 * @private 5066 * @param {Object} properties - The plain object you want flattened into an array. 5067 * @param {Array} [to_ret=[]] - Properties array. This function is recursive therefore this is what gets passed along. 5068 * @return {Array} 5069 */function e(t,r){for(var n in r=r||[],t)t.hasOwnProperty(n)&&(kq.isPlainObject(t[n])&&"value"in t[n]?r.pu
5069sh(t[n]):kq.isPlainObject(t[n])&&e(t[n],r));return r};const k9=({token:e,path:t})=>{let r=`--${k_({path:t})}`,{value:n}=e,o=function(e){let{value:t}=e;return cd(t)?kk(t):kT(t)?kA.map(r=>kk(kT(e)?e[r]:t[r])).join(" "):t}(e);return{name:r,original:n,path:t,value:o,toString:()=>`var(${r})`}};function _e(e,t=kR){let r=/*@__PURE__*/tV(kG)([{},t,e]),n=kP({tokens:r.tokens,setupToken:k9}),{breakpoints:o,name:a}=r,i=`[data-amplify-theme="${a}"] { 5070`+/*@__PURE__*/tV(k7)(n).map(e=>`${e.name}: ${e.value};`).join("\n")+"\n}\n",s=[];return r.overrides&&(s=r.overrides.map(e=>{let t=kP({tokens:e.tokens,setupToken:k9}),n=/*@__PURE__*/tV(k7)(t).map(e=>`${e.name}: ${e.value};`).join("\n");if("selector"in e&&(i+=` 5071${e.selector} { 5072${n} 5073} 5074`),"mediaQuery"in e&&(i+=` 5075@media (${e.mediaQuery}) { 5076 [data-amplify-theme="${a}"] { 5077 ${n} 5078 } 5079} 5080`),"breakpoint"in e){let t=r.breakpoints.values[e.breakpoint];i+=` 5081@media (min-width: ${t}px) { 5082 [data-amplify-theme="${a}"] { 5083 ${n} 5084 } 5085} 5086`}return"colorMode"in e&&(i+=` 5087@media (prefers-color-scheme: ${e.colorMode}) { 5088 [data-amplify-theme="${a}"][data-amplify-color-mode="system"] { 5089 ${n} 5090 color-scheme: ${e.colorMode}; 5091 } 5092 } 5093 5094[data-amplify-theme="${a}"][data-amplify-color-mode="${e.colorMode}"] { 5095 ${n} 5096 color-scheme: ${e.colorMode}; 5097 } 5098`),Object.assign(Object.assign({},e),{tokens:t})})),{tokens:n,breakpoints:o,name:a,cssText:i,overrides:s}}var tG=tB("acw62");const _t=tG.createContext({theme:_e()}),_r=e=>void 0===e||void 0===e.theme?_e():e.theme,_n=()=>{let e=tG.useContext(_t);return _r(e)},_o=({value:e,propKey:t,tokens:r})=>kI(e)?e.toString():cd(e)?cd(t)?kH(t,e,r):e:null,_a=e=>"auto"===e||"number"==typeof e&&!isNaN(e)||"string"==typeof e&&!isNaN(parseFloat(e)),_i=e=>"auto"===e?"auto":`span ${e}`,_s=e=>_a(e)?_i(e):Array.isArray(e)?e.map(e=>_i(e)):"object"==typeof e&&null!=e?Object.entries(e).reduce((e,[t,r])=>Object.assign(Object.assign({},e),{[t]:_i(r)}),{}):null,_l=e=>{let{rowSpan:t,columnSpan:r,row:n,column:o}=e,a=Az(e,["rowSpan","columnSpan","row","column"]),{rowFromSpanValue:i,columnFromSpanValue:s}=tG.useMemo(()=>({rowFromSpanValue:_s(t),columnFromSpanValue:_s(r)}),[t,r]);return Object.assign({row:kD(n)?i:n,column:kD(o)?s:o},a)},_u=({props:e={},style:t={},breakpoint:r,breakpoints:n,tokens:o})=>{let a={};return Object.keys(e).filter(t=>null!==e[t]).forEach(i=>{if(i in kN){let a=e[i];if(!a||kL(a))return;let s=kN[i],l="";kI(a)?l=a.toString():"string"==typeof a?l=kH(i,a,o):"number"==typeof a?l=a:"object"==typeof a&&(l=_o({propKey:i,tokens:o,value:kZ({values:a,breakpoint:r,breakpoints:n})})),t=Object.assign(Object.assign({},t),{[s]:l})}else void 0!==e[i]&&(a[i]=e[i])}),{propStyles:t,nonStyleProps:a}},_c=(e,t)=>{let{breakpoints:{values:r,defaultBreakpoint:n},tokens:o}=_n(),a=kW({breakpoints:r,defaultBreakpoint:n}),i=_l(e);return tG.useMemo(()=>_u({props:i,style:t,breakpoint:a,breakpoints:r,tokens:o}),[i,t,r,a,o])},_d=tG.forwardRef((e,t)=>{var{as:r="div",children:n,testId:o,ariaLabel:a,isDisabled:i,style:s,inert:l}=e,u=Az(e,["as","children","testId","ariaLabel","isDisabled","style","inert"]);let{propStyles:c,nonStyleProps:d}=_c(u,s);return tG.createElement(r,Object.assign({"aria-label":a,"data-testid":o,disabled:i,ref:t,inert:l?"":null,style:c},d),n)});_d.displayName="View";const _f=tG.forwardRef((e,t)=>{var{className:r,children:n}=e,o=Az(e,["className","children"]);return tG.createElement(_d,Object.assign({className:/*@__PURE__*/tV(AW)(Aq.Flex,r),ref:t},o),n)});_f.displayName="Flex";var tG=tB("acw62");const _p=84*Math.PI,_h=tG.forwardRef((e,t)=>{var{className:r,filledColor:n,emptyColor:o,size:a,variation:i,isDeterminate:s=!1,isPercentageTextHidden:l=!1,percentage:u=0}=e,c=Az(e,["className","filledColor","emptyColor","size","variation","isDeterminate","isPercentageTextHidden","percentage"]);u=Math.min(u,100);let d=`${u=Math.max(u,0)}%`,f=/*@__PURE__*/tV(AW)(Aq.Loader,cv(Aq.Loader,a),cv(Aq.Loader,i),s?Aq.LoaderDeterminate:null,r),p=tG.createElement("g",null,tG.createElement("line",{x1:"0",x2:"100%",y1:"50%",y2:"50%",style:{stroke:String(o)},"data-testid":"linear-empty"}),tG.createElement("line",{x1:"0",x2:s?d:"100%",y1:"50%",y2:"50%",style:{stroke:s&&0===u?"none":n?String(n):void 0},"data-testid":"linear-filled"}),s?tG.createElement("text",{"aria-live":"polite",className:/*@__PURE__*/tV(AW)(Aq.LoaderPercentageText,l?Aq.VisuallyHidden:null),x:`${-1+u}%`,y:"200%"},d):null),h=tG.createElement("g",null,tG.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(o)},"data-testid":"circular-empty"}),tG.createElement("circle",{cx:"50%",cy:"50%",r:"42%",strokeWidth:"8%",style:{stroke:String(n),strokeDasharray:s?`${_p}% ${_p}%`:void 0,strokeDashoffset:s?_p-_p*u/100+"%":void 0},"data-testid":"circular-filled"}),s?tG.createElement("text",{"aria-live":"polite",className:/*@__PURE__*/tV(AW)(Aq.LoaderPercentageText,l?Aq.VisuallyHidden:null),x:"130%",y:"80%"},d):null);return tG.createElement(_d,Object.assign({as:"svg",className:f,"data-size":a,"data-variation":i,ref:t,role:"img"},c),"linear"===i?p:h)});_h.displayName="Loader";const _m=["link","primary",void 0],_g=tG.forwardRef((e,t)=>
5098{var r,{className:n,children:o,colorTheme:a,isFullWidth:i=!1,isDisabled:s,isLoading:l,loadingText:u="",size:c,type:d="button",variation:f}=e,p=Az(e,["className","children","colorTheme","isFullWidth","isDisabled","isLoading","loadingText","size","type","variation"]);let h=_m.includes(f)&&a?`${null!=f?f:"outlined"}--${a}`:void 0,{isFieldsetDisabled:m}=AJ(),g=m||(null!==(r=null!=s?s:l)&&void 0!==r?r:p.disabled),v=/*@__PURE__*/tV(AW)(Aq.Button,Aq.FieldGroupControl,cv(Aq.Button,f),cv(Aq.Button,h),cv(Aq.Button,c),cy(Aq.Button,"disabled",g),cy(Aq.Button,"loading",l),cy(Aq.Button,"fullwidth",i),n);return tG.createElement(_d,Object.assign({ref:t,as:"button",className:v,"data-fullwidth":i,"data-loading":l,"data-size":c,"data-variation":f,isDisabled:g,type:d},p),l?tG.createElement(_f,{as:"span",className:Aq.ButtonLoaderWrapper},tG.createElement(_h,{size:c}),u||null):o)});_g.displayName="Button";var tG=tB("acw62");const _v={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},_y=tG.forwardRef((e,t)=>{var{className:r,children:n,isTruncated:o,level:a=6}=e,i=Az(e,["className","children","isTruncated","level"]);return tG.createElement(_d,Object.assign({as:_v[a],className:/*@__PURE__*/tV(AW)(Aq.Heading,cv(Aq.Heading,a),cy(Aq.Heading,"truncated",o),r),ref:t},i),n)});_y.displayName="Heading";var tG=tB("acw62");const _b=tG.forwardRef((e,t)=>{var{as:r="p",className:n,children:o,isTruncated:a,variation:i}=e,s=Az(e,["as","className","children","isTruncated","variation"]);let l=/*@__PURE__*/tV(AW)(Aq.Text,cv(Aq.Text,i),cy(Aq.Text,"truncated",a),n);return tG.createElement(_d,Object.assign({as:r,className:l,"data-truncate":a,"data-variation":i,ref:t},s),o)});_b.displayName="Text";var tG=tB("acw62");const _w=e=>{let t=new FormData(e.target);return Object.fromEntries(t)};function _S(){let{submitForm:e,updateBlur:t,updateForm:r}=cK(e=>[e.submitForm,e.updateBlur,e.updateForm]);return{handleBlur:(0,tG.useCallback)(({target:{name:e}})=>{t({name:e})},[t]),handleChange:(0,tG.useCallback)(({target:{checked:e,name:t,type:n,value:o}})=>{r({name:t,value:"checkbox"!==n||e?o:void 0})},[r]),handleSubmit:(0,tG.useCallback)(t=>{t.preventDefault(),e(_w(t))},[e])}}var tG=(tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"));const _x=tG.createContext({});function _E(e){let t=tG.useContext(_x);if(e&&t)return t[e]}var tG=tB("acw62");const _C=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z",fill:"currentColor"})))};var tG=tB("acw62");const _A=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z",fill:"currentColor"})))};var tG=tB("acw62");const _k=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})))};var tG=tB("acw62");const __=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z",fill:"currentColor"})))},_I=({variation:e,ariaHidden:t})=>{var r,n,o,a;let i;let s=_E("alert");switch(e){case"info":i=null!==(r=null==s?void 0:s.info)&&void 0!==r?r:tG.createElement(_k,{"aria-hidden":t});break;case"error":i=null!==(n=null==s?void 0:s.error)&&void 0!==n?n:tG.createElement(_A,{"aria-hidden":t});break;case"warning":i=null!==(o=null==s?void 0:s.warning)&&void 0!==o?o:tG.createElement(__,{"aria-hidden":t});break;case"success":i=null!==(a=null==s?void 0:s.success)&&void 0!==a?a:tG.createElement(_C,{"aria-hidden":t})}return i?tG.createElement("span",{className:Aq.AlertIcon},i):null};_I.displayName="AlertIcon";var tG=tB("acw62");const _T=e=>{let{className:t,size:r}=e,n=Az(e,["className","size"]);return tG.createElement(_d,Object.assign({as:"span",width:null!=r?r:"1em",height:null!=r?r:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},n),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:r?{width:r,height:r}:void 0},tG.createElement("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"currentColor"})))},_P=tG.forwardRef((e,t)=>
5098{var r,{buttonRef:n,children:o,className:a,dismissButtonLabel:i=AY.Alert.dismissButtonLabel,hasIcon:s=!0,heading:l,isDismissible:u=!1,onDismiss:c,variation:d}=e,f=Az(e,["buttonRef","children","className","dismissButtonLabel","hasIcon","heading","isDismissible","onDismiss","variation"]);let[p,h]=tG.useState(!1),m=_E("alert"),g=tG.useCallback(()=>{h(!p),cg(c)&&c()},[h,c,p]);return p?null:tG.createElement(_f,Object.assign({className:/*@__PURE__*/tV(AW)(Aq.Alert,a,cv(Aq.Alert,d)),"data-variation":d,ref:t,role:"alert"},f),s&&tG.createElement(_I,{variation:d,ariaHidden:!0}),tG.createElement(_d,{flex:"1"},l&&tG.createElement(_d,{className:Aq.AlertHeading},l),tG.createElement(_d,{className:Aq.AlertBody},o)),u&&tG.createElement(_g,{ariaLabel:i,variation:"link",className:Aq.AlertDismiss,onClick:g,ref:n},null!==(r=null==m?void 0:m.close)&&void 0!==r?r:tG.createElement(_T,{"aria-hidden":"true"})))});_P.displayName="Alert";const _N=()=>{let{error:e}=cK(e=>[e.error]);return /*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,e?/*@__PURE__*/tV(tG).createElement(_P,{variation:"error",isDismissible:!0},cM(e)):null)};var tG=(tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"));const _O=tG.forwardRef((e,t)=>{var{as:r="span",children:n,className:o}=e,a=Az(e,["as","children","className"]);return tG.createElement(_d,Object.assign({as:r,className:/*@__PURE__*/tV(AW)(Aq.VisuallyHidden,o),ref:t},a),n)});_O.displayName="VisuallyHidden";var tG=tB("acw62");const _M=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M12 6.0002C15.79 6.0002 19.17 8.1302 20.82 11.5002C20.23 12.7202 19.4 13.7702 18.41 14.6202L19.82 16.0302C21.21 14.8002 22.31 13.2602 23 11.5002C21.27 7.1102 17 4.0002 12 4.0002C10.73 4.0002 9.51 4.2002 8.36 4.5702L10.01 6.2202C10.66 6.0902 11.32 6.0002 12 6.0002ZM10.93 7.14019L13 9.2102C13.57 9.4602 14.03 9.9202 14.28 10.4902L16.35 12.5602C16.43 12.2202 16.49 11.8602 16.49 11.4902C16.5 9.0102 14.48 7.0002 12 7.0002C11.63 7.0002 11.28 7.05019 10.93 7.14019ZM2.01 3.8702L4.69 6.5502C3.06 7.8302 1.77 9.5302 1 11.5002C2.73 15.8902 7 19.0002 12 19.0002C13.52 19.0002 14.98 18.7102 16.32 18.1802L19.74 21.6002L21.15 20.1902L3.42 2.4502L2.01 3.8702ZM9.51 11.3702L12.12 13.9802C12.08 13.9902 12.04 14.0002 12 14.0002C10.62 14.0002 9.5 12.8802 9.5 11.5002C9.5 11.4502 9.51 11.4202 9.51 11.3702V11.3702ZM6.11 7.97019L7.86 9.7202C7.63 10.2702 7.5 10.8702 7.5 11.5002C7.5 13.9802 9.52 16.0002 12 16.0002C12.63 16.0002 13.23 15.8702 13.77 15.6402L14.75 16.6202C13.87 16.8602 12.95 17.0002 12 17.0002C8.21 17.0002 4.83 14.8702 3.18 11.5002C3.88 10.0702 4.9 8.89019 6.11 7.97019Z",fill:"currentColor"})))};var tG=tB("acw62");const _j=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M12 6C15.79 6 19.17 8.13 20.82 11.5C19.17 14.87 15.79 17 12 17C8.21 17 4.83 14.87 3.18 11.5C4.83 8.13 8.21 6 12 6ZM12 4C7 4 2.73 7.11 1 11.5C2.73 15.89 7 19 12 19C17 19 21.27 15.89 23 11.5C21.27 7.11 17 4 12 4ZM12 9C13.38 9 14.5 10.12 14.5 11.5C14.5 12.88 13.38 14 12 14C10.62 14 9.5 12.88 9.5 11.5C9.5 10.12 10.62 9 12 9ZM12 7C9.52 7 7.5 9.02 7.5 11.5C7.5 13.98 9.52 16 12 16C14.48 16 16.5 13.98 16.5 11.5C16.5 9.02 14.48 7 12 7Z",fill:"currentColor"})))},{passwordIsHidden:_F,passwordIsShown:_R,showPassword:_U}=AY.PasswordField,_L=tG.forwardRef((e,t)=>{var r,n,{fieldType:o,passwordIsHiddenLabel:a=_F,passwordIsShownLabel:i=_R,showPasswordButtonLabel:s=_U,size:l,hasError:u}=e,c=Az(e,["fieldType","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","size","hasError"]);let d=_E("passwordField"),f=/*@__PURE__*/tV(AW)(Aq.FieldShowPassword,cy(Aq.FieldShowPassword,"error",u)),p="password"===o?null!==(r=null==d?void 0:d.visibility)&&void 0!==r?r:tG.createElement(_j,{"aria-hidden":"true"}):null!==(n=null==d?void 0:d.visibilityOff)&&void 0!==n?n:tG.createElement(_M,{"aria-hidden":"true"});return tG.createElement(_g,Object.assign({"aria-checked":"password"!==o,ariaLabel:s,className:f,ref:t,role:"switch",size:l},c),tG.createElement(_O,{"aria-live":"polite"},"password"===o?a:i),p)});_L.displayName="ShowPasswordButton";var tG=(tB("acw62"),tB("acw62"));const _D=e=>{var{descriptiveText:t,labelHidden:r}=e,n=Az(e,["descriptiveText","labelHidden"]);return t?tG.createElement(_b,Object.assign({"data-testid":"qa-field-description",className:/*@__PURE__*/tV(AW)(Aq.FieldDescription,{[Aq.VisuallyHidden]:r})},n),t):null};_D.displayName="FieldDescription";var tG=tB("acw62");const _V=e=>{var{errorMessage:t,hasError:r}=e,n=Az(e,["errorMessage","hasError"]);return r&&t?tG.createElement(_b,Object.assign({className:Aq.FieldErrorMessage},n),t):null};_V.displayName="FieldErrorMessage";var tG=tB("acw62");const _H=tG.forwardRef((e,t)=>
5098{var{children:r,className:n,innerEndComponent:o,innerStartComponent:a,orientation:i="horizontal",outerEndComponent:s,outerStartComponent:l,variation:u}=e,c=Az(e,["children","className","innerEndComponent","innerStartComponent","orientation","outerEndComponent","outerStartComponent","variation"]);let d=null!=o,f=null!=a?Aq.FieldGroupHasInnerStart:null,p=d?Aq.FieldGroupHasInnerEnd:null,h=/*@__PURE__*/tV(AW)(Aq.FieldGroup,f,p,cv(Aq.FieldGroup,i),n);return tG.createElement(_f,Object.assign({className:h,"data-orientation":i,ref:t},c),l&&tG.createElement(_d,{className:/*@__PURE__*/tV(AW)(Aq.FieldGroupOuterStart,cv(Aq.FieldGroupOuterStart,u))},l),tG.createElement(_d,{className:/*@__PURE__*/tV(AW)(Aq.FieldGroupFieldWrapper,cv(Aq.FieldGroupFieldWrapper,i)),"data-orientation":i},a&&tG.createElement(_d,{className:Aq.FieldGroupInnerStart},a),r,o&&tG.createElement(_d,{className:Aq.FieldGroupInnerEnd},o)),s&&tG.createElement(_d,{className:/*@__PURE__*/tV(AW)(Aq.FieldGroupOuterEnd,cv(Aq.FieldGroupOuterEnd,u))},s))});_H.displayName="FieldGroup";var tG=tB("acw62");const _Z=tG.forwardRef((e,t)=>{var{autoComplete:r,checked:n,className:o,defaultChecked:a,defaultValue:i,id:s,isDisabled:l,isReadOnly:u,isRequired:c,size:d,type:f="text",hasError:p=!1,value:h,variation:m}=e,g=Az(e,["autoComplete","checked","className","defaultChecked","defaultValue","id","isDisabled","isReadOnly","isRequired","size","type","hasError","value","variation"]);let v=/*@__PURE__*/tV(AW)(Aq.Input,Aq.FieldGroupControl,cv(Aq.Input,m),cy(Aq.Input,"error",p),cv(Aq.Input,d),o),{isFieldsetDisabled:y}=AJ();return tG.createElement(_d,Object.assign({"aria-invalid":p,as:"input",autoComplete:r,checked:n,className:v,"data-size":d,"data-variation":m,defaultChecked:a,defaultValue:i,isDisabled:y||l,id:s,readOnly:u,ref:t,required:c,type:f,value:h},g))});_Z.displayName="Input";var tG=tB("acw62");const _B=tG.forwardRef((e,t)=>{var{children:r,className:n,visuallyHidden:o}=e,a=Az(e,["children","className","visuallyHidden"]);return tG.createElement(_d,Object.assign({as:"label",className:/*@__PURE__*/tV(AW)(Aq.Label,n,{[Aq.VisuallyHidden]:o}),ref:t},a),r)});_B.displayName="Label";const _z=e=>{let t={styleProps:{},rest:{}};return Object.keys(e).forEach(r=>{r in kN?t.styleProps=Object.assign(Object.assign({},t.styleProps),{[r]:e[r]}):t.rest=Object.assign(Object.assign({},t.rest),{[r]:e[r]})}),t};var tG=(tB("acw62"),tB("acw62"));const _W=(null==globalThis?void 0:globalThis.document)?tG.useLayoutEffect:()=>{},_G=tG["useId".toString()]||(()=>{});let _q=0;const _Y=e=>{let[t,r]=tG.useState(_G());return _W(()=>{e||r(e=>null!=e?e:String(_q++))},[e]),null!=e?e:t?`amplify-id-${t}`:""},_$=tG.forwardRef((e,t)=>{let{className:r,descriptiveText:n,errorMessage:o,hasError:a=!1,id:i,innerEndComponent:s,innerStartComponent:l,label:u,labelHidden:c=!1,outerEndComponent:d,outerStartComponent:f,size:p,testId:h,variation:m,inputStyles:g}=e,v=Az(e,["className","descriptiveText","errorMessage","hasError","id","innerEndComponent","innerStartComponent","label","labelHidden","outerEndComponent","outerStartComponent","size","testId","variation","inputStyles"]),y=_Y(i),b=_Y(),{styleProps:w,rest:S}=_z(v);return tG.createElement(_f,Object.assign({className:/*@__PURE__*/tV(AW)(Aq.Field,cv(Aq.Field,p),Aq.TextField,r),"data-size":p,testId:h},w),tG.createElement(_B,{htmlFor:y,visuallyHidden:c},u),tG.createElement(_D,{id:b,labelHidden:c,descriptiveText:n}),tG.createElement(_H,{outerStartComponent:f,outerEndComponent:d,innerStartComponent:l,innerEndComponent:s,variation:m},tG.createElement(_Z,Object.assign({"aria-describedby":n?b:void 0,hasError:a,id:y,ref:t,size:p,variation:m},g,S))),tG.createElement(_V,{hasError:a,errorMessage:o}))});_$.displayName="TextField";const _K=tG.forwardRef((e,t)=>{var{autoComplete:r="current-password",label:n,className:o,hideShowPassword:a=!1,passwordIsHiddenLabel:i,passwordIsShownLabel:s,showPasswordButtonLabel:l,showPasswordButtonRef:u,size:c,hasError:d}=e,f=Az(e,["autoComplete","label","className","hideShowPassword","passwordIsHiddenLabel","passwordIsShownLabel","showPasswordButtonLabel","showPasswordButtonRef","size","hasError"]);let[p,h]=tG.useState("password"),m=tG.useCallback(()=>{h("password"===p?"text":"password")},[h,p]);return tG.createElement(_$,Object.assign({autoComplete:r,outerEndComponent:a?null:tG.createElement(_L,{fieldType:p,onClick:m,passwordIsHiddenLabel:i,passwordIsShownLabel:s,ref:u,size:c,showPasswordButtonLabel:l,hasError:d}),size:c,type:p,label:n,className:/*@__PURE__*/tV(AW)(Aq.PasswordField,o),ref:t,hasError:d},f))});_K.displayName="PasswordField";var tG=(tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"));const _J=e=>{let{className:t}=e,r=Az(e,["className"]);return tG.createElement(_d,Object.assign({as:"span",width:"1em",height:"1em",className:/*@__PURE__*/tV(AW)(Aq.Icon,t)},r),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M16.59 8.58984L12 13.1698L7.41 8.58984L6 9.99984L12 15.9998L18 9.99984L16.59 8.58984Z",fill:"currentColor"})))},_Q=tG.forwardRef((e,t)=>
5098{var r,{autoComplete:n,className:o,size:a,variation:i,value:s,defaultValue:l,hasError:u,icon:c,iconColor:d,children:f,placeholder:p,isDisabled:h,isRequired:m}=e,g=Az(e,["autoComplete","className","size","variation","value","defaultValue","hasError","icon","iconColor","children","placeholder","isDisabled","isRequired"]);let v=void 0===s&&void 0===l&&p,y=/*@__PURE__*/tV(AW)(Aq.Select,Aq.FieldGroupControl,cv(Aq.Select,a),cv(Aq.Select,i),cy(Aq.Select,"error",u),o),b=_E("select"),{isFieldsetDisabled:w}=AJ();return tG.createElement(_d,{className:Aq.SelectWrapper},tG.createElement(_d,Object.assign({"aria-invalid":u,as:"select",autoComplete:n,value:s,defaultValue:v?"":l,isDisabled:w||h,required:m,"data-size":a,"data-variation":i,className:y,ref:t},g),p&&tG.createElement("option",{value:""},p),f),tG.createElement(_f,{className:/*@__PURE__*/tV(AW)(Aq.SelectIconWrapper,cv(Aq.SelectIconWrapper,a)),color:d},null!==(r=null!=c?c:null==b?void 0:b.expand)&&void 0!==r?r:tG.createElement(_J,null)))});_Q.displayName="Select";const _X=tG.forwardRef((e,t)=>{let{children:r,className:n,descriptiveText:o,errorMessage:a,hasError:i=!1,id:s,label:l,labelHidden:u=!1,options:c,size:d,testId:f,inputStyles:p}=e,h=Az(e,["children","className","descriptiveText","errorMessage","hasError","id","label","labelHidden","options","size","testId","inputStyles"]),m=_Y(s),g=_Y(),{styleProps:v,rest:y}=_z(h);return tG.createElement(_f,Object.assign({className:/*@__PURE__*/tV(AW)(Aq.Field,cv(Aq.Field,d),Aq.SelectField,n),"data-size":d,testId:f},v),tG.createElement(_B,{htmlFor:m,visuallyHidden:u},l),tG.createElement(_D,{id:g,labelHidden:u,descriptiveText:o}),tG.createElement(_Q,Object.assign({"aria-describedby":o?g:void 0,hasError:i,id:m,ref:t,size:d},y,p),(({children:e,options:t})=>e?((null==t?void 0:t.length)&&console.warn("Amplify UI: <SelectField> component defaults to rendering children over `options`. When using the `options` prop, omit children."),e):null==t?void 0:t.map((e,t)=>tG.createElement("option",{label:e,value:e,key:`${e}-${t}`},e)))({children:r,options:c})),tG.createElement(_V,{hasError:i,errorMessage:a}))});_X.displayName="SelectField";const _0=tG.forwardRef((e,t)=>{var{className:r,dialCodeList:n,isReadOnly:o}=e,a=Az(e,["className","dialCodeList","isReadOnly"]);let i=null!=n?n:cS,s=tG.useMemo(()=>i.map(e=>tG.createElement("option",{key:e,value:e,disabled:o},e)),[i,o]);return tG.createElement(_X,Object.assign({"aria-disabled":o,autoComplete:"tel-country-code",className:/*@__PURE__*/tV(AW)(Aq.CountryCodeSelect,Aq.DialCodeSelect,r),labelHidden:!0,ref:t},a),s)});_0.displayName="CountryCodeSelect";const _1=tG.forwardRef((e,t)=>{var{autoComplete:r="tel-national",className:n,countryCodeName:o,countryCodeLabel:a=AY.PhoneNumberField.countryCodeLabel,countryCodeRef:i,defaultCountryCode:s,defaultDialCode:l,dialCodeLabel:u=AY.PhoneNumberField.countryCodeLabel,dialCodeList:c,dialCodeName:d,dialCodeRef:f,hasError:p,isDisabled:h,isReadOnly:m,onCountryCodeChange:g,onDialCodeChange:v,onInput:y,size:b,variation:w}=e,S=Az(e,["autoComplete","className","countryCodeName","countryCodeLabel","countryCodeRef","defaultCountryCode","defaultDialCode","dialCodeLabel","dialCodeList","dialCodeName","dialCodeRef","hasError","isDisabled","isReadOnly","onCountryCodeChange","onDialCodeChange","onInput","size","variation"]);return tG.createElement(_$,Object.assign({outerStartComponent:tG.createElement(_0,{defaultValue:null!=l?l:s,dialCodeList:c,className:n,hasError:p,isDisabled:h,isReadOnly:m,label:null!=u?u:a,name:null!=d?d:o,onChange:null!=v?v:g,ref:null!=f?f:i,size:b,variation:w}),autoComplete:r,className:/*@__PURE__*/tV(AW)(Aq.PhoneNumberField,n),hasError:p,isDisabled:h,isReadOnly:m,onInput:y,ref:t,size:b,type:"tel",variation:w},S))});_1.displayName="PhoneNumberField";var tG=tB("acw62");const _2=({errors:e,id:t,dataAttr:r})=>{if(!((null==e?void 0:e.length)>0))return null;let n=r?{[r]:!0}:{};return /*@__PURE__*/tV(tG).createElement(_d,Object.assign({},n,{id:t}),e.map(e=>/*@__PURE__*/tV(tG).createElement(_b,{key:e,role:"alert",variation:"error"},cM(e))))};function _8(e){var{autocomplete:t,dialCode:r,name:n,type:o}=e,a=Az(e,["autocomplete","dialCode","name","type"]);let{validationErrors:i}=cK(({validationErrors:e})=>[e]),s=tG.useMemo(()=>ck(i[n]),[n,i]),l=(null==s?void 0:s.length)>0,u=_Y(),c=l?u:void 0;return"tel"===o?tG.createElement(tG.Fragment,null,tG.createElement(_1,Object.assign({},a,{name:n,defaultDialCode:r,dialCodeName:"country_code",autoComplete:t,hasError:l,"aria-describedby":c})),tG.createElement(_2,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:u})):"password"===o?tG.createElement(tG.Fragment,null,tG.createElement(_K,Object.assign({},a,{name:n,autoComplete:t,hasError:l,"aria-describedby":c})),tG.createElement(_2,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:u})):tG.createElement(tG.Fragment,null,tG.createElement(_$,Object.assign({},a,{name:n,autoComplete:t,hasError:l,type:o,"aria-describedby":c})),tG.createElement(_2,{dataAttr:"data-amplify-sign-up-errors",errors:s,id:u}))}function _6(){let{fields:e}=cK(({route:e})=>[e]),t=tG.useRef(e.map((e,t)=>tG.createElement(_8,Object.assign({key:t},e)))).current;return tG.createElement(tG.Fragment,null,t)}var tG=tB("acw62");const _4=e=>"signIn"===e||"signUp";function _3({children:e,className:t,variation:r="default"}){let{route:n}=cK(({route:e})=>[e]),{components:{Header:o,Footer:a}}=AH();return /*@__PURE__*/tV(tG).createElement(_d,{className:t,"data-amplify-authenticator":"","data-variation":r},/*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-container":""},/*@__PURE__*/tV(tG).createElement(o,null),/*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-router":"","data-amplify-router-content":_4(n)?void 0:""},e),/*@__PURE__*/tV(tG).createElement(a,null)))}const{getDeliveryMessageText:_5,getDeliveryMethodText:_7,getConfirmingText:_9,getConfirmText:Ie,getResendCodeText:It}=AB;function Ir({className:e,variation:t}){let{isPending:r,resendCode:n,codeDeliveryDetails:o}=cK(e=>[e.isPending,e.resendCode,e.codeDeliveryDetails]),{handleChange:a,handleSubmit:i}=_S(),{components:{ConfirmSignUp:{Header:s=Ir.Header,Footer:l=Ir.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmsignup":"",method:"post",onCh
5098ange:a,onSubmit:i},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(s,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_b,{className:"amplify-authenticator__subtitle"},_5(o)),/*@__PURE__*/tV(tG).createElement(_6,null),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(_g,{variation:"primary",isDisabled:r,type:"submit",loadingText:_9(),isLoading:r,fontWeight:"normal"},Ie()),/*@__PURE__*/tV(tG).createElement(_g,{onClick:n,type:"button",fontWeight:"normal"},It())),/*@__PURE__*/tV(tG).createElement(l,null))))}Ir.Header=()=>{let{codeDeliveryDetails:e}=cK(e=>[e.codeDeliveryDetails]);return /*@__PURE__*/tV(tG).createElement(_y,{level:4},_7(e))},Ir.Footer=function(){return null};var tG=tB("acw62");const{getChangePasswordText:In,getChangingText:Io,getBackToSignInText:Ia}=AB,Ii=({className:e,variation:t})=>{let{isPending:r,toSignIn:n}=cK(e=>[e.isPending,e.toSignIn]),{handleBlur:o,handleChange:a,handleSubmit:i}=_S(),{components:{ForceNewPassword:{FormFields:s=Ii.FormFields,Header:l=Ii.Header,Footer:u=Ii.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-forcenewpassword":"",method:"post",onChange:a,onSubmit:i,onBlur:o},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(l,null),/*@__PURE__*/tV(tG).createElement(s,null),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(_g,{isDisabled:r,type:"submit",variation:"primary",isLoading:r,loadingText:Io(),fontWeight:"normal"},In()),/*@__PURE__*/tV(tG).createElement(_g,{onClick:n,type:"button",fontWeight:"normal",variation:"link",size:"small"},Ia()),/*@__PURE__*/tV(tG).createElement(u,null))))};Ii.FormFields=function(){return /*@__PURE__*/tV(tG).createElement(_6,null)},Ii.Header=function(){return /*@__PURE__*/tV(tG).createElement(_y,{level:4},In())},Ii.Footer=function(){return null};var Is={};i(Is,"create",()=>ez,e=>ez=e),i(Is,"toCanvas",()=>eW,e=>eW=e),i(Is,"toDataURL",()=>eG,e=>eG=e),i(Is,"toString",()=>eq,e=>eq=e);var Il={};// can-promise has a crash in some versions of react native that dont have 5099// standard global objects 5100// https://github.com/soldair/node-qrcode/issues/157 5101Il=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then};const Iu=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e$=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},eK=function(e){return Iu[e]},eJ=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},eQ=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},eX=function(){return void 0!==n},e0={bit:1},e1={bit:0},e2={bit:3},e8={bit:2},e6=function(e,t){if(e&&void 0!==e.bit&&e.bit>=0&&e.bit<4)return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");let t=e.toLowerCase();switch(t){case"l":case"low":return e0;case"m":case"medium":return e1;case"q":case"quartile":return e2;case"h":case"high":return e8;default:throw Error("Unknown EC Level: "+e)}}(e)}catch(e){return t}};var Ic={};function Id(){this.buffer=[],this.length=0}Id.prototype={get:function(e){return(this.buffer[Math.floor(e/8)]>>>7-e%8&1)==1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},Ic=Id;var If={};/** 5102 * Helper class to handle QR Code symbol modules 5103 * 5104 * @param {Number} size Symbol size 5105 */function Ip(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}/** 5106 * Set bit value at specified location 5107 * If reserved flag is set, this bit will be ignored during masking process 5108 * 5109 * @param {Number} row 5110 * @param {Number} col 5111 * @param {Boolean} value 5112 * @param {Boolean} reserved 5113 */Ip.prototype.set=function(e,t,r,n){let o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},/** 5114 * Returns bit value at specified location 5115 * 5116 * @param {Number} row 5117 * @param {Number} col 5118 * @return {Boolean} 5119 */Ip.prototype.get=function(e,t){return this.data[e*this.size+t]},/** 5120 * Applies xor operator at specified location 5121 * (used during masking process) 5122 * 5123 * @param {Number} row 5124 * @param {Number} col 5125 * @param {Boolean} value 5126 */Ip.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},/** 5127 * Check if bit at specified location is reserved 5128 * 5129 * @param {Number} row 5130 * @param {Number} col 5131 * @return {Boolean} 5132 */Ip.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},If=Ip,e4=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,r=e$(e),n=145===r?26:2*Math.ceil((r-13)/(2*t-2)),o=[r-7]// Last coord is always (size - 7) 5133;for(let e=1;e<t-1;e++)o[e]=o[e-1]-n;return o.push(6)// First coord is always 6 5134,o.reverse()},e3=function(e){let t=[],r=e4(e),n=r.length;for(let e=0;e<n;e++)for(let o=0;o<n;o++)(0!==e||0!==o)&&// top-left 5135(0!==e||o!==n-1)&&// bottom-left
5136(e!==n-1||0!==o)&&t.push([r[e],r[o]]);return t},e5=function(e){let t=e$(e);return[// top-left 5137[0,0],// top-right 5138[t-7,0],// bottom-left 5139[0,t-7]]},e7={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};/** 5140 * Weighted penalty scores for the undesirable features 5141 * @type {Object} 5142 */const Ih={N1:3,N2:3,N3:40,N4:10};e9=function(e){let t=e.size,r=0,n=0,o=0,a=null,i=null;for(let s=0;s<t;s++){n=o=0,a=i=null;for(let l=0;l<t;l++){let t=e.get(s,l);t===a?n++:(n>=5&&(r+=Ih.N1+(n-5)),a=t,n=1),(t=e.get(l,s))===i?o++:(o>=5&&(r+=Ih.N1+(o-5)),i=t,o=1)}n>=5&&(r+=Ih.N1+(n-5)),o>=5&&(r+=Ih.N1+(o-5))}return r},te=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let o=0;o<t-1;o++){let t=e.get(n,o)+e.get(n,o+1)+e.get(n+1,o)+e.get(n+1,o+1);(4===t||0===t)&&r++}return r*Ih.N2},tt=function(e){let t=e.size,r=0,n=0,o=0;for(let a=0;a<t;a++){n=o=0;for(let i=0;i<t;i++)n=n<<1&2047|e.get(a,i),i>=10&&(1488===n||93===n)&&r++,o=o<<1&2047|e.get(i,a),i>=10&&(1488===o||93===o)&&r++}return r*Ih.N3},tr=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];let n=Math.abs(Math.ceil(100*t/r/5)-10);return n*Ih.N4},tn=function(e,t){let r=t.size;for(let n=0;n<r;n++)for(let o=0;o<r;o++)t.isReserved(o,n)||t.xor(o,n,/** 5143 * Return mask value at given position 5144 * 5145 * @param {Number} maskPattern Pattern reference value 5146 * @param {Number} i Row 5147 * @param {Number} j Column 5148 * @return {Boolean} Mask value 5149 */function(e,t,r){switch(e){case e7.PATTERN000:return(t+r)%2==0;case e7.PATTERN001:return t%2==0;case e7.PATTERN010:return r%3==0;case e7.PATTERN011:return(t+r)%3==0;case e7.PATTERN100:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case e7.PATTERN101:return t*r%2+t*r%3==0;case e7.PATTERN110:return(t*r%2+t*r%3)%2==0;case e7.PATTERN111:return(t*r%3+(t+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,o,n))},to=function(e,t){let r=Object.keys(e7).length,n=0,o=1/0;for(let a=0;a<r;a++){t(a),tn(a,e);// Calculate penalty 5150let r=e9(e)+te(e)+tt(e)+tr(e);// Undo previously applied mask 5151tn(a,e),r<o&&(o=r,n=a)}return n};const Im=[// L M Q H 51521,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Ig=[// L M Q H 51537,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ta=function(e,t){switch(t){case e0:return Im[(e-1)*4+0];case e1:return Im[(e-1)*4+1];case e2:return Im[(e-1)*4+2];case e8:return Im[(e-1)*4+3];default:return}},ti=function(e,t){switch(t){case e0:return Ig[(e-1)*4+0];case e1:return Ig[(e-1)*4+1];case e2:return Ig[(e-1)*4+2];case e8:return Ig[(e-1)*4+3];default:return}};var Iv={};const Iy=new Uint8Array(512),Ib=new Uint8Array(256)/** 5154 * Precompute the log and anti-log tables for faster computation later 5155 * 5156 * For each possible value in the galois field 2^8, we will pre-compute 5157 * the logarithm and anti-logarithm (exponential) of this value 5158 * 5159 * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields} 5160 */;function Iw(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}!function(){let e=1;for(let t=0;t<255;t++)Iy[t]=e,Ib[e]=t,256&(e<<=1// multiply by 2 5161)&&(e^=285);// Optimization: double the size of the anti-log table so that we don't need to mod 255 to 5162// stay inside the bounds (because we will mainly use this table for the multiplication of 5163// two GF numbers, no more). 5164// @see {@link mul} 5165for(let e=255;e<512;
5165e++)Iy[e]=Iy[e-255]}(),tc=function(e,t){return 0===e||0===t?0:Iy[Ib[e]+Ib[t]]},ts=function(e,t){let r=new Uint8Array(e.length+t.length-1);for(let n=0;n<e.length;n++)for(let o=0;o<t.length;o++)r[n+o]^=tc(e[n],t[o]);return r},tl=function(e,t){let r=new Uint8Array(e);for(;r.length-t.length>=0;){let e=r[0];for(let n=0;n<t.length;n++)r[n]^=tc(t[n],e);// remove all zeros from buffer head 5166let n=0;for(;n<r.length&&0===r[n];)n++;r=r.slice(n)}return r},tu=function(e){let t=new Uint8Array([1]);for(let r=0;r<e;r++)t=ts(t,new Uint8Array([1,Iy[r]]));return t},/** 5167 * Initialize the encoder. 5168 * The input param should correspond to the number of error correction codewords. 5169 * 5170 * @param {Number} degree 5171 */Iw.prototype.initialize=function(e){// create an irreducible generator polynomial 5172this.degree=e,this.genPoly=tu(this.degree)},/** 5173 * Encodes a chunk of data 5174 * 5175 * @param {Uint8Array} data Buffer containing input data 5176 * @return {Uint8Array} Buffer containing encoded data 5177 */Iw.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");// Calculate EC for this data block 5178// extends data size to data+genPoly size 5179let t=new Uint8Array(e.length+this.degree);t.set(e);// The error correction codewords are the remainder after dividing the data codewords 5180// by a generator polynomial 5181let r=tl(t,this.genPoly),n=this.degree-r.length;if(n>0){let e=new Uint8Array(this.degree);return e.set(r,n),e}return r},Iv=Iw,tx=function(e){return!isNaN(e)&&e>=1&&e<=40};const IS="[0-9]+";let Ix="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Ix=Ix.replace(/u/g,"\\u");const IE="(?:(?![A-Z0-9 $%*+\\-./:]|"+Ix+")(?:.|[\r\n]))+";tE=RegExp(Ix,"g"),tC=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),tA=RegExp(IE,"g"),tk=RegExp(IS,"g"),t_=RegExp("[A-Z $%*+\\-./:]+","g");const IC=RegExp("^"+Ix+"$"),IA=RegExp("^"+IS+"$"),Ik=RegExp("^[A-Z0-9 $%*+\\-./:]+$");th={id:"Numeric",bit:1,ccBits:[10,12,14]},tm={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},tg={id:"Byte",bit:4,ccBits:[8,16,16]},tv={id:"Kanji",bit:8,ccBits:[8,10,12]},ty={bit:-1},tb=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!tx(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},tw=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},tS=function(e,t){if(e&&e.bit&&e.ccBits)return e;try{return(/** 5182 * Get mode object from its name 5183 * 5184 * @param {String} string Mode name 5185 * @returns {Mode} Mode object 5186 */function(e){if("string"!=typeof e)throw Error("Param is not a string");let t=e.toLowerCase();switch(t){case"numeric":return th;case"alphanumeric":return tm;case"kanji":return tv;case"byte":return tg;default:throw Error("Unknown mode: "+e)}}(e))}catch(e){return t}};const I_=eJ(7973);td=function(e,t,r){if(!tx(e))throw Error("Invalid QR Code version");void 0===r&&(r=tg);// Total codewords for this QR code version (Data + Error correction) 5187let n=eK(e),o=ti(e,t),a=(n-o)*8;if(r===ty)return a;let i=a-(tb(r,e)+4);// Return max number of storable codewords 5188switch(r){case th:return Math.floor(i/10*3);case tm:return Math.floor(i/11*2);case tv:return Math.floor(i/13);default:return Math.floor(i/8)}},tf=function(e,t){let r;let n=e6(t,e1);if(Array.isArray(e)){if(e.length>1)return function(e,t){for(let r=1;r<=40;r++){let n=function(e,t){let r=0;return e.forEach(function(e){let n=tb(e.mode,t)+4;r+=n+e.getBitsLength()}),r}(e,r);if(n<=td(r,t,ty))return r}}(e,n);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,t,r){for(let n=1;n<=40;n++)if(t<=td(n,r,e))return n}(r.mode,r.getLength(),n)},tp=function(e){if(!tx(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;eJ(t)-I_>=0;)t^=7973<<eJ(t)-I_;return e<<12|t};const II=eJ(1335);tI=function(e,t){let r=e.bit<<3|t,n=r<<10;for(;eJ(n)-II>=0;)n^=1335<<eJ(n)-II;// xor final data with mask pattern in order to ensure that 5189// no combination of Error Correction Level and data mask pattern 5190// will result in an all-zero data string 5191return(r<<10|n)^21522};var IT={};function IP(e){this.mode=th,this.data=e.toString()}IP.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},IP.prototype.getLength=function(){return this.data.length},IP.prototype.getBitsLength=function(){return IP.getBitsLength(this.data.length)},IP.prototype.write=function(e){let t,r;// The input data string is divided into groups of three digits, 5192// and each group is converted to its 10-bit binary equivalent. 5193for(t=0;t+3<=this.data.length;t+=3)r=parseInt(this.data.substr(t,3),10),e.put(r,10);// If the number of input digits is not an exact multiple of three,
5194// the final one or two digits are converted to 4 or 7 bits respectively. 5195let n=this.data.length-t;n>0&&(r=parseInt(this.data.substr(t),10),e.put(r,3*n+1))},IT=IP;var IN={};/** 5196 * Array of characters available in alphanumeric mode 5197 * 5198 * As per QR Code specification, to each character 5199 * is assigned a value from 0 to 44 which in this case coincides 5200 * with the array index 5201 * 5202 * @type {Array} 5203 */const IO=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function IM(e){this.mode=tm,this.data=e}IM.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)},IM.prototype.getLength=function(){return this.data.length},IM.prototype.getBitsLength=function(){return IM.getBitsLength(this.data.length)},IM.prototype.write=function(e){let t;// Input data characters are divided into groups of two characters 5204// and encoded as 11-bit binary codes. 5205for(t=0;t+2<=this.data.length;t+=2){// The character value of the first character is multiplied by 45 5206let r=45*IO.indexOf(this.data[t]);// The character value of the second digit is added to the product 5207r+=IO.indexOf(this.data[t+1]),// The sum is then stored as 11-bit binary number 5208e.put(r,11)}this.data.length%2&&e.put(IO.indexOf(this.data[t]),6)},IN=IM;var Ij={},IF={};function IR(e){this.mode=tg,this.data=new Uint8Array(IF(e))}IF=function(e){for(var t=[],r=e.length,n=0;n<r;n++){var o=e.charCodeAt(n);if(o>=55296&&o<=56319&&r>n+1){var a=e.charCodeAt(n+1);a>=56320&&a<=57343&&(// https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae 5209o=(o-55296)*1024+a-56320+65536,n+=1)}// US-ASCII 5210if(o<128){t.push(o);continue}// 2-byte UTF-8 5211if(o<2048){t.push(o>>6|192),t.push(63&o|128);continue}// 3-byte UTF-8 5212if(o<55296||o>=57344&&o<65536){t.push(o>>12|224),t.push(o>>6&63|128),t.push(63&o|128);continue}// 4-byte UTF-8 5213if(o>=65536&&o<=1114111){t.push(o>>18|240),t.push(o>>12&63|128),t.push(o>>6&63|128),t.push(63&o|128);continue}// Invalid character 5214t.push(239,191,189)}return new Uint8Array(t).buffer},IR.getBitsLength=function(e){return 8*e},IR.prototype.getLength=function(){return this.data.length},IR.prototype.getBitsLength=function(){return IR.getBitsLength(this.data.length)},IR.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)},Ij=IR;var IU={};function IL(e){this.mode=tv,this.data=e}IL.getBitsLength=function(e){return 13*e},IL.prototype.getLength=function(){return this.data.length},IL.prototype.getBitsLength=function(){return IL.getBitsLength(this.data.length)},IL.prototype.write=function(e){let t;// In the Shift JIS system, Kanji characters are represented by a two byte combination. 5215// These byte values are shifted from the JIS X 0208 values. 5216// JIS X 0208 gives details of the shift coded representation. 5217for(t=0;t<this.data.length;t++){var r;let o=(r=this.data[t],n(r));// For characters with Shift JIS values from 0x8140 to 0x9FFC: 5218if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");// Multiply most significant byte of result by 0xC0 5219// and add least significant byte to product 5220o=(o>>>8&255)*192+(255&o),// Convert result to a 13-bit binary string 5221e.put(o,13)}},IU=IL;var ID={},IV={single_source_shortest_paths:function(e,t,r){// Predecessor map for each node that has been encountered. 5222// node ID => predecessor node ID 5223var n,o,a,i,s,l,u,c={},d={};d[t]=0;// Costs of shortest paths from s to all nodes encountered; differs from 5224// `costs` in that it provides easy access to the node that currently has 5225// the known shortest path from s. 5226// XXX: Do we actually need both `costs` and `open`? 5227var f=IV.PriorityQueue.make();for(f.push(t,0);!f.empty();)// ...and explore the edges that connect u to those nodes, updating 5228// the cost of the shortest paths to any or all of those nodes as 5229// necessary. v is the node across the current edge from u. 5230for(a in o=// In the nodes remaining in graph that have a known cost from s, 5231// find the node, u, that currently has the shortest path from s. 5232(n=f.pop()).value,i=n.cost,// Get nodes adjacent to u... 5233s=e[o]||{}
5233)s.hasOwnProperty(a)&&(// Cost of s to u plus the cost of u to v across e--this is *a* 5234// cost from s to v that may or may not be less than the current 5235// known cost to v. 5236l=i+s[a],// If we haven't visited v yet OR if the current known cost from s to 5237// v is greater than the new cost we just found (cost of s to u plus 5238// cost of u to v across e), update v's cost in the cost list and 5239// update v's predecessor in the predecessor list (it's now u). 5240u=d[a],(void 0===d[a]||u>l)&&(d[a]=l,f.push(a,l),c[a]=o));if(void 0!==r&&void 0===d[r])throw Error(["Could not find a path from ",t," to ",r,"."].join(""));return c},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var n=IV.single_source_shortest_paths(e,t,r);return IV.extract_shortest_path_from_predecessor_list(n,r)},/** 5241 * A very naive priority queue implementation. 5242 */PriorityQueue:{make:function(e){var t,r=IV.PriorityQueue,n={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(n[t]=r[t]);return n.queue=[],n.sorter=e.sorter||r.default_sorter,n},default_sorter:function(e,t){return e.cost-t.cost},/** 5243 * Add a new item to the queue and ensure the highest priority element 5244 * is at the front of the queue. 5245 */push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},/** 5246 * Return the highest priority element in the queue. 5247 */pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};/** 5248 * Returns UTF8 byte length 5249 * 5250 * @param {String} str Input string 5251 * @return {Number} Number of byte 5252 */function IH(e){return unescape(encodeURIComponent(e)).length}/** 5253 * Get a list of segments of the specified mode 5254 * from a string 5255 * 5256 * @param {Mode} mode Segment mode 5257 * @param {String} str String to process 5258 * @return {Array} Array of object with segments data 5259 */function IZ(e,t,r){let n;let o=[];for(;null!==(n=e.exec(r));)o.push({data:n[0],index:n.index,mode:t,length:n[0].length});return o}/** 5260 * Extracts a series of segments with the appropriate 5261 * modes from a string 5262 * 5263 * @param {String} dataStr Input string 5264 * @return {Array} Array of object with segments data 5265 */function IB(e){let t,r;let n=IZ(tk,th,e),o=IZ(t_,tm,e);eX()?(t=IZ(tA,tg,e),r=IZ(tE,tv,e)):(t=IZ(tC,tg,e),r=[]);let a=n.concat(o,t,r);return a.sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}/** 5266 * Returns how many bits are needed to encode a string of 5267 * specified length with the specified mode 5268 * 5269 * @param {Number} length String length 5270 * @param {Mode} mode Segment mode 5271 * @return {Number} Bit length 5272 */function Iz(e,t){switch(t){case th:return IT.getBitsLength(e);case tm:return IN.getBitsLength(e);case tv:return IU.getBitsLength(e);case tg:return Ij.getBitsLength(e)}}/** 5273 * Builds a segment from a specified data and mode. 5274 * If a mode is not specified, the more suitable will be used. 5275 * 5276 * @param {String} data Input data 5277 * @param {Mode | String} modesHint Data mode 5278 * @return {Segment} Segment 5279 */function IW(e,t){var r;let n;let o=(r=e,IA.test(r)?th:Ik.test(r)?tm:IC.test(r)?tv:tg);// Make sure data can be encoded 5280if((n=tS(t,o))!==tg&&n.bit<o.bit)throw Error('"'+e+'" cannot be encoded with mode '+tw(n)+".\n Suggested mode is: "+tw(o));switch(n!==tv||eX()||(n=tg),n){case th:return new IT(e);case tm:return new IN(e);case tv:return new IU(e);case tg:return new Ij(e)}}/** 5281 * Add format info bits to matrix 5282 * 5283 * @param {BitMatrix} matrix Modules matrix 5284 * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level 5285 * @param {Number} maskPattern Mask pattern reference value 5286 */function IG(e,t,r){let n,o;let a=e.size,i=tI(t,r);for(n=0;n<15;n++)o=(i>>n&1)==1,n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(a-15+n,8,o,!0),n<8?e.set(8,a-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);// fixed module 5287e.set(a-8,8,1,!0)}function Iq(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");
5287if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}function IY(e,t){let r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function I$(e,t,r){let n=e+t;return void 0!==r&&(n+=" "+r),n}function IK(e,t,r,n,o){let a=[].slice.call(arguments,1),i=a.length,s="function"==typeof a[i-1];if(!s&&!Il())throw Error("Callback required as last argument");if(s){if(i<2)throw Error("Too few arguments provided");2===i?(o=r,r=t,t=n=void 0):3===i&&(t.getContext&&void 0===o?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(i<1)throw Error("Too few arguments provided");return 1===i?(r=t,t=n=void 0):2!==i||t.getContext||(n=r,r=t,t=void 0),new Promise(function(o,a){try{let a=eY(r,n);o(e(a,t,n))}catch(e){a(e)}})}try{let a=eY(r,n);o(null,e(a,t,n))}catch(e){o(e)}}ID=IV,tT=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(IW(t,null)):t.data&&e.push(IW(t.data,t.mode)),e},[])},tP=function(e,t){let r=IB(e,eX()),n=/** 5288 * Generates a list of all possible nodes combination which 5289 * will be used to build a segments graph. 5290 * 5291 * Nodes are divided by groups. Each group will contain a list of all the modes 5292 * in which is possible to encode the given text. 5293 * 5294 * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte. 5295 * The group for '12345' will contain then 3 objects, one for each 5296 * possible encoding mode. 5297 * 5298 * Each node represents a possible segment. 5299 * 5300 * @param {Array} segs Array of object with segments data 5301 * @return {Array} Array of object with segments data 5302 */function(e){let t=[];for(let r=0;r<e.length;r++){let n=e[r];switch(n.mode){case th:t.push([n,{data:n.data,mode:tm,length:n.length},{data:n.data,mode:tg,length:n.length}]);break;case tm:t.push([n,{data:n.data,mode:tg,length:n.length}]);break;case tv:t.push([n,{data:n.data,mode:tg,length:IH(n.data)}]);break;case tg:t.push([{data:n.data,mode:tg,length:IH(n.data)}])}}return t}(r),o=/** 5303 * Builds a graph from a list of nodes. 5304 * All segments in each node group will be connected with all the segments of 5305 * the next group and so on. 5306 * 5307 * At each connection will be assigned a weight depending on the 5308 * segment's byte length. 5309 * 5310 * @param {Array} nodes Array of object with segments data 5311 * @param {Number} version QR Code version 5312 * @return {Object} Graph of all possible segments 5313 */function(e,t){let r={},n={start:{}},o=["start"];for(let a=0;a<e.length;a++){let i=e[a],s=[];for(let e=0;e<i.length;e++){let l=i[e],u=""+a+e;s.push(u),r[u]={node:l,lastCount:0},n[u]={};for(let e=0;e<o.length;e++){let a=o[e];r[a]&&r[a].node.mode===l.mode?(n[a][u]=Iz(r[a].lastCount+l.length,l.mode)-Iz(r[a].lastCount,l.mode),r[a].lastCount+=l.length):(r[a]&&(r[a].lastCount=l.length),n[a][u]=Iz(l.length,l.mode)+4+tb(l.mode,t)// switch cost 5314)}}o=s}for(let e=0;e<o.length;e++)n[o[e]].end=0;return{map:n,table:r}}(n,t),a=ID.find_path(o.map,"start","end"),i=[];for(let e=1;e<a.length-1;e++)i.push(o.table[a[e]].node);return tT(i.reduce(function(e,t){let r=e.length-1>=0?e[e.length-1]:null;return r&&r.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},eY=function(e,t){let r,n;if(void 0===e||""===e)throw Error("No input text");let o=e1;if(void 0!==t){var a,i;// Use higher error correction level as default 5315o=e6(t.errorCorrectionLevel,e1),r=tx(a=t.version)?parseInt(a,10):void 0,n=null!=(i=t.maskPattern)&&""!==i&&!isNaN(i)&&i>=0&&i<=7?parseInt(i,10):void 0,t.toSJISFunc&&eQ(t.toSJISFunc)}return(/** 5316 * Build QR Code symbol 5317 * 5318 * @param {String} data Input string 5319 * @param {Number} version QR Code version 5320 * @param {ErrorCorretionLevel} errorCorrectionLevel Error level 5321 * @param {MaskPattern} maskPattern Mask pattern 5322 * @return {Object} Object containing symbol data 5323 */function(e,t,r,n){let o;if(Array.isArray(e))o=tT(e);else if("string"==typeof e){let n=t;if(!n){let t=tT(IB(e,eX()));// Estimate best version that can contain raw splitted segments 5324n=tf(t,r)}// Build optimized segments
5325// If estimated version is undefined, try with the highest version 5326o=tP(e,n||40)}else throw Error("Invalid data");// Get the min version that can contain data 5327let a=tf(o,r);// If no version is found, data cannot be stored 5328if(!a)throw Error("The amount of data is too big to be stored in a QR Code");// If not specified, use min version as default 5329if(t){if(t<a)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+a+".\n")}else t=a;let i=/** 5330 * Create encoded codewords from data input 5331 * 5332 * @param {Number} version QR Code version 5333 * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level 5334 * @param {ByteData} data Data input 5335 * @return {Uint8Array} Buffer containing encoded codewords 5336 */function(e,t,r){// Prepare data buffer 5337let n=new Ic;r.forEach(function(t){// prefix data with mode indicator (4 bits) 5338n.put(t.mode.bit,4),// Prefix data with character count indicator. 5339// The character count indicator is a string of bits that represents the 5340// number of characters that are being encoded. 5341// The character count indicator must be placed after the mode indicator 5342// and must be a certain number of bits long, depending on the QR version 5343// and data mode 5344// @see {@link Mode.getCharCountIndicator}. 5345n.put(t.getLength(),tb(t.mode,e)),// add binary data sequence to buffer 5346t.write(n)});// Calculate required number of bits 5347let o=eK(e),a=ti(e,t),i=(o-a)*8;// If the bit string is fewer than four bits shorter, add only the number of 0s that 5348// are needed to reach the required number of bits. 5349// After adding the terminator, if the number of bits in the string is not a multiple of 8, 5350// pad the string on the right with 0s to make the string's length a multiple of 8. 5351for(n.getLengthInBits()+4<=i&&n.put(0,4);n.getLengthInBits()%8!=0;)n.putBit(0);// Add pad bytes if the string is still shorter than the total number of required bits. 5352// Extend the buffer to fill the data capacity of the symbol corresponding to 5353// the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC) 5354// and 00010001 (0x11) alternately. 5355let s=(i-n.getLengthInBits())/8;for(let e=0;e<s;e++)n.put(e%2?17:236,8);return(/** 5356 * Encode input data with Reed-Solomon and return codewords with 5357 * relative error correction bits 5358 * 5359 * @param {BitBuffer} bitBuffer Data to encode 5360 * @param {Number} version QR Code version 5361 * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level 5362 * @return {Uint8Array} Buffer containing encoded codewords 5363 */function(e,t,r){let n,o;// Total codewords for this QR code version (Data + Error correction) 5364let a=eK(t),i=ti(t,r),s=a-i,l=ta(t,r),u=a%l,c=l-u,d=Math.floor(a/l),f=Math.floor(s/l),p=f+1,h=d-f,m=new Iv(h),g=0,v=Array(l),y=Array(l),b=0,w=new Uint8Array(e.buffer);// Divide the buffer into the required number of blocks 5365for(let e=0;e<l;e++){let t=e<c?f:p;// extract a block of data from buffer 5366v[e]=w.slice(g,g+t),// Calculate EC codewords for this data block 5367y[e]=m.encode(v[e]),g+=t,b=Math.max(b,t)}// Create final data 5368// Interleave the data and error correction codewords from each block 5369let S=new Uint8Array(a),x=0;// Add data codewords 5370for(n=0;n<b;n++)for(o=0;o<l;o++)n<v[o].length&&(S[x++]=v[o][n]);// Apped EC codewords 5371for(n=0;n<h;n++)for(o=0;o<l;o++)S[x++]=y[o][n];return S}(n,e,t))}(t,r,o),s=e$(t),l=new If(s);return(// Add function modules 5372/** 5373 * QRCode for JavaScript 5374 * 5375 * modified by Ryan Day for nodejs support 5376 * Copyright (c) 2011 Ryan Day 5377 * 5378 * Licensed under the MIT license: 5379 * http://www.opensource.org/licenses/mit-license.php 5380 * 5381//--------------------------------------------------------------------- 5382// QRCode for JavaScript 5383// 5384// Copyright (c) 2009 Kazuhiko Arase 5385// 5386// URL: http://www.d-project.com/ 5387// 5388// Licensed under the MIT license: 5389// http://www.opensource.org/licenses/mit-license.php 5390// 5391// The word "QR Code" is registered trademark of 5392// DENSO WAVE INCORPORATED 5393// http://www.denso-wave.com/qrcode/faqpatent-e.html 5394// 5395//--------------------------------------------------------------------- 5396*//** 5397 * Add finder patterns bits to matrix 5398 * 5399 * @param {BitMatrix} matrix Modules matrix 5400 * @param {Number} version QR Code version 5401 */function(e,t){let r=e.size,n=e5(t);for(let t=0;t<n.length;t++){let o=n[t][0],a=n[t][1];for(let t=-1;t<=7;t++)if(!(o+t<=-1)&&!(r<=o+t))for(let n=-1;n<=7;n++)a+n<=-1||r<=a+n||(t>=0&&t<=6&&(0===n||6===n)||n>=0&&n<=6&&(0===t||6===t)||t>=2&&t<=4&&n>=2&&n<=4?e.set(o+t,a+n,!0,!0):e.set(o+t,a+n,!1,!0))}}(l,t),/** 5402 * Add timing pattern bits to matrix 5403 * 5404 * Note: this function must be called before {@link setupAlignmentPattern} 5405 * 5406 * @param {BitMatrix} matrix Modules matrix 5407 */function(e){let t=e.size;
5407for(let r=8;r<t-8;r++){let t=r%2==0;e.set(r,6,t,!0),e.set(6,r,t,!0)}}(l),/** 5408 * Add alignment patterns bits to matrix 5409 * 5410 * Note: this function must be called after {@link setupTimingPattern} 5411 * 5412 * @param {BitMatrix} matrix Modules matrix 5413 * @param {Number} version QR Code version 5414 */function(e,t){let r=e3(t);for(let t=0;t<r.length;t++){let n=r[t][0],o=r[t][1];for(let t=-2;t<=2;t++)for(let r=-2;r<=2;r++)-2===t||2===t||-2===r||2===r||0===t&&0===r?e.set(n+t,o+r,!0,!0):e.set(n+t,o+r,!1,!0)}}(l,t),// Add temporary dummy bits for format info just to set them as reserved. 5415// This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask} 5416// since the masking operation must be performed only on the encoding region. 5417// These blocks will be replaced with correct values later in code. 5418IG(l,r,0),t>=7&&/** 5419 * Add version info bits to matrix 5420 * 5421 * @param {BitMatrix} matrix Modules matrix 5422 * @param {Number} version QR Code version 5423 */function(e,t){let r,n,o;let a=e.size,i=tp(t);for(let t=0;t<18;t++)r=Math.floor(t/3),n=t%3+a-8-3,o=(i>>t&1)==1,e.set(r,n,o,!0),e.set(n,r,o,!0)}(l,t),// Add data codewords 5424/** 5425 * Add encoded data bits to matrix 5426 * 5427 * @param {BitMatrix} matrix Modules matrix 5428 * @param {Uint8Array} data Data codewords 5429 */function(e,t){let r=e.size,n=-1,o=r-1,a=7,i=0;for(let s=r-1;s>0;s-=2)for(6===s&&s--;;){for(let r=0;r<2;r++)if(!e.isReserved(o,s-r)){let n=!1;i<t.length&&(n=(t[i]>>>a&1)==1),e.set(o,s-r,n),-1==--a&&(i++,a=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(l,i),isNaN(n)&&(n=to(l,IG.bind(null,l,r))),// Apply mask pattern 5430tn(n,l),// Replace format info bits with correct values 5431IG(l,r,n),{modules:l,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o})}(e,r,o,n))},tO=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,n=e.scale||4;return{width:r,scale:r?4:n,margin:t,color:{dark:Iq(e.color.dark||"#000000ff"),light:Iq(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},tM=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},tj=function(e,t){let r=tM(e,t);return Math.floor((e+2*t.margin)*r)},tF=function(e,t,r){let n=t.modules.size,o=t.modules.data,a=tM(n,r),i=Math.floor((n+2*r.margin)*a),s=r.margin*a,l=[r.color.light,r.color.dark];for(let t=0;t<i;t++)for(let u=0;u<i;u++){let c=(t*i+u)*4,d=r.color.light;if(t>=s&&u>=s&&t<i-s&&u<i-s){let e=Math.floor((t-s)/a),r=Math.floor((u-s)/a);d=l[o[e*n+r]?1:0]}e[c++]=d.r,e[c++]=d.g,e[c++]=d.b,e[c]=d.a}},tN=function(e,t,r){var n;let o=r,a=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),o=tO(o);let i=tj(e.modules.size,o),s=a.getContext("2d"),l=s.createImageData(i,i);return tF(l.data,e,o),n=a,s.clearRect(0,0,n.width,n.height),n.style||(n.style={}),n.height=i,n.width=i,n.style.height=i+"px",n.style.width=i+"px",s.putImageData(l,0,0),a},tR=function(e,t,r){let n=tO(t),o=e.modules.size,a=e.modules.data,i=o+2*n.margin,s=n.color.light.a?"<path "+IY(n.color.light,"fill")+' d="M0 0h'+i+"v"+i+'H0z"/>':"",l="<path "+IY(n.color.dark,"stroke")+' d="'+function(e,t,r){let n="",o=0,a=!1,i=0;for(let s=0;s<e.length;s++){let l=Math.floor(s%t),u=Math.floor(s/t);l||a||(a=!0),e[s]?(i++,s>0&&l>0&&e[s-1]||(n+=a?I$("M",l+r,.5+u+r):I$("m",o,0),o=0,a=!1),l+1<t&&e[s+1]||(n+=I$("h",i),i=0)):o++}return n}(a,o,n.margin)+'"/>',u=n.width?'width="'+n.width+'" height="'+n.width+'" ':"",c='<svg xmlns="http://www.w3.org/2000/svg" '+u+('viewBox="0 0 '+i)+" "+i+'" shape-rendering="crispEdges">'+s+l+"</svg>\n";return"function"==typeof r&&r(null,c),c},ez=eY,eW=IK.bind(null,tN),eG=IK.bind(null,function(e,t,r){let n=r;void 0!==n||t&&t.getContext||(n=t,t=void 0),n||(n={});let o=tN(e,t,n),a=n.type||"image/png",i=n.rendererOpts||{};return o.toDataURL(a,i.quality)}),eq=IK.bind(null,function(e,t,r){return tR(e,r)});var tG=(tB("acw62"),tB("acw62"));const{getConfirmText:IJ,getConfirmingText:IQ,getBackToSignInText:IX}=AB,I0=()=>{let{isPending:e,toSignIn:t}=cK(e=>[e.isPending,e.toSignIn]);return /*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_g,{isDisabled:e,type:"submit",variation:"primary",fontWeight:"normal",isLoading:e,loadingText:IQ()},IJ()),/*@__PURE__*/tV(tG).createElement(_g,{onClick:t,type:"button",variation:"link",fontWeight:"normal",size:"small"},IX()))},I1=new aF.ConsoleLogger("SetupTOTP-logger"),{getSetupTOTPText:I2,getCopiedText:I8,getLoadingText:I6}=AB,I4=({className:e,variation:t})=>{let{totpSecretCode:r,isPending:n,user:o,QRFields:a}=cK(e=>[e.isPending,e.totpSecretCode]),{handleChange:i,handleSubmit:s}=_S(),{components:{SetupTOTP:{Header:l=I4.Header,Footer:u=I4.Footer}}}=AH(),[c,d]=tG.useState(!0),[f,p]=tG.useState(),[h,m]=tG.useState("COPY"),{totpIssuer:g="AWSCognito",totpUsername:v=null==o?void 0:o.username}=null!=a?a:{},y=tG.useCallback(()=>{var e,t,n,o;return e=void 0,t=void 0,n=void 0,o=function*(){try{let e=bZ(g,v,r),t=yield /*@__PURE__*/tV(Is).toDataURL(e);p(t)}catch(e){I1.error(e)}finally{d(!1)}}
5431,new(n||(n=Promise))(function(r,a){function i(e){try{l(o.next(e))}catch(e){a(e)}}function s(e){try{l(o.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,s)}l((o=o.apply(e,t||[])).next())})},[g,v,r]);return tG.useEffect(()=>{f||y()},[y,f]),tG.createElement(_3,{className:e,variation:t},tG.createElement("form",{"data-amplify-form":"","data-amplify-authenticator-setup-totp":"",method:"post",onChange:i,onSubmit:s},tG.createElement(_f,{as:"fieldset",direction:"column",isDisabled:n},tG.createElement(l,null),tG.createElement(_f,{direction:"column"},c?tG.createElement("p",null,I6(),"â¦"):tG.createElement("img",{"data-amplify-qrcode":!0,src:f,alt:"qr code",width:"228",height:"228"}),tG.createElement(_f,{"data-amplify-copy":!0},tG.createElement("div",null,r),tG.createElement(_f,{"data-amplify-copy-svg":!0,onClick:()=>{navigator.clipboard.writeText(r),m(I8())}},tG.createElement("div",{"data-amplify-copy-tooltip":!0},h),tG.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},tG.createElement("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})))),tG.createElement(_6,null),tG.createElement(_N,null)),tG.createElement(I0,null),tG.createElement(u,null))))};I4.Header=function(){return tG.createElement(_y,{level:3},I2())},I4.Footer=function(){return null};var tG=tB("acw62"),I3={};function I5(){return(I5=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}).apply(this,arguments)}function I7(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}/* ------------------------------------------------------------------------------------------------- 5432 * createContextScope 5433 * -----------------------------------------------------------------------------------------------*/function I9(e,t=[]){let r=[],n=()=>{let t=r.map(e=>/*#__PURE__*/(0,tG.createContext)(e));return function(r){let n=(null==r?void 0:r[e])||t;return(0,tG.useMemo)(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[/* ----------------------------------------------------------------------------------------------- 5434 * createContext 5435 * ---------------------------------------------------------------------------------------------*/function(t,n){let o=/*#__PURE__*/(0,tG.createContext)(n),a=r.length;function i(t){let{scope:r,children:n,...i}=t,s=(null==r?void 0:r[e][a])||o,l=(0,tG.useMemo)(()=>i,Object.values(i));return/*#__PURE__*/(0,tG.createElement)(s.Provider,{value:l},n)}return r=[...r,n],i.displayName=t+"Provider",[i,function(r,i){let s=(null==i?void 0:i[e][a])||o,l=(0,tG.useContext)(s);if(l)return l;if(void 0!==n)return n;// if a defaultContext wasn't specified, it's a required context. 5436throw Error(`\`${r}\` must be used within \`${t}\``)}]},/* ------------------------------------------------------------------------------------------------- 5437 * composeContextScopes 5438 * -----------------------------------------------------------------------------------------------*/function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{// We are calling a hook inside a callback which React warns against to avoid inconsistent 5439// renders, however, scoping doesn't have render side effects so we ignore the rule. 5440// eslint-disable-next-line react-hooks/rules-of-hooks 5441let o=r(e),a=o[`__scope${n}`];return{...t,...a}},{});return(0,tG.useMemo)(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}/** 5442 * A utility to compose multiple refs together 5443 * Accepts callback refs and RefObject(s) 5444 */function Te(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}/** 5445 * A custom hook that composes multiple refs 5446 * Accepts callback refs and RefObject(s) 5447 */function Tt(...e){// eslint-disable-next-line react-hooks/exhaustive-deps 5448return(0,tG.useCallback)(Te(...e),e)}i(I3,"createTabsScope",()=>Tj),i(I3,"Tabs",()=>TL),i(I3,"TabsList",()=>TD),i(I3,"TabsTrigger",()=>TV),i(I3,"TabsContent",()=>TH),i(I3,"Root",()=>Tz),i(I3,"List",()=>TW),i(I3,"Trigger",()=>TG),i(I3,"Content",()=>Tq);var tG=(tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"),tB("acw62"));/* ------------------------------------------------------------------------------------------------- 5449 * Slot 5450 * -----------------------------------------------------------------------------------------------*/const Tr=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{children:r,...n}=e,o=(0,tG.Children).toArray(r),a=o.find(Ta);if(a){// the new element to render is the one passed as a child of `Slottable` 5451let e=a.props.children,r=o.map(t=>t!==a?t:// because the new element will be the one rendered, we are only interested 5452 // in grabbing its children (`newElement.props.children`) 5453 (0,tG.Children).count(e)>1?(0,tG.Children).only(null):/*#__PURE__*/(0,tG.isValidElement)(e)?e.props.children:null);return/*#__PURE__*/(0,tG.createElement)(Tn,I5({},n,{ref:t}),/*#__PURE__*/(0,tG.isValidElement)(e)?/*#__PURE__*/(0,tG.cloneElement)(e,void 0,r):null)}return/*#__PURE__*/(0,tG.createElement)(Tn,I5({},n,{ref:t}),r)});Tr.displayName="Slot";/* ------------------------------------------------------------------------------------------------- 5454 * SlotClone 5455 * -----------------------------------------------------------------------------------------------*/const Tn=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{children:r,...n}=e;return/*#__PURE__*/(0,tG.isValidElement)(r)?/*#__PURE__*/(0,tG.cloneElement)(r,{...function(e,t){// all child props should override 5456let r={...t};for(let n in t){let o=e[n],a=t[n],i=/^on[A-Z]/.test(n);i?r[n]=(...e)=>{null==a||a(...e),null==o||o(...e)}:"style"===n?r[n]={...o,...a}
5456:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:Te(t,r.ref)}):(0,tG.Children).count(r)>1?(0,tG.Children).only(null):null});Tn.displayName="SlotClone";/* ------------------------------------------------------------------------------------------------- 5457 * Slottable 5458 * -----------------------------------------------------------------------------------------------*/const To=({children:e})=>/*#__PURE__*/(0,tG.createElement)(tG.Fragment,null,e);/* ---------------------------------------------------------------------------------------------- */function Ta(e){return/*#__PURE__*/(0,tG.isValidElement)(e)&&e.type===To}var tG=(tB("acw62"),tB("acw62"));/** 5459 * On the server, React emits a warning when calling `useLayoutEffect`. 5460 * This is because neither `useLayoutEffect` nor `useEffect` run on the server. 5461 * We use this safe version which suppresses the warning by replacing it with a noop on the server. 5462 * 5463 * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect 5464 */const Ti=(null==globalThis?void 0:globalThis.document)?tG.useLayoutEffect:()=>{},Ts=tG["useId".toString()]||(()=>void 0);let Tl=0;function Tu(e){let[t,r]=tG.useState(Ts());// React versions older than 18 will have client-side ids only. 5465return Ti(()=>{e||r(e=>null!=e?e:String(Tl++))},[e]),e||(t?`radix-${t}`:"")}var tG=tB("acw62");// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55396 5466// prettier-ignore 5467/* ------------------------------------------------------------------------------------------------- 5468 * Primitive 5469 * -----------------------------------------------------------------------------------------------*/const Tc=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=/*#__PURE__*/(0,tG.forwardRef)((e,r)=>{let{asChild:n,...o}=e,a=n?Tr:t;return(0,tG.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),/*#__PURE__*/(0,tG.createElement)(a,I5({},o,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});/** 5470 * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a 5471 * prop or avoid re-executing effects when passed as a dependency 5472 */function Td(e){let t=(0,tG.useRef)(e);return(0,tG.useEffect)(()=>{t.current=e}),(0,tG.useMemo)(()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}function Tf({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=function({defaultProp:e,onChange:t}){let r=(0,tG.useState)(e),[n]=r,o=(0,tG.useRef)(n),a=Td(t);return(0,tG.useEffect)(()=>{o.current!==n&&(a(n),o.current=n)},[n,o,a]),r}({defaultProp:t,onChange:r}),a=void 0!==e,i=a?e:n,s=Td(r),l=(0,tG.useCallback)(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&s(r)}else o(t)},[a,e,o,s]);return[i,l]}var tG=(tB("acw62"),tB("acw62"),tB("acw62"));const Tp=/*#__PURE__*/(0,tG.createContext)(void 0);/* -----------------------------------------------------------------------------------------------*/function Th(e){let t=(0,tG.useContext)(Tp);return e||t||"ltr"}const Tm="rovingFocusGroup.onEntryFocus",Tg={bubbles:!1,cancelable:!0},Tv="RovingFocusGroup",[Ty,Tb,Tw]=// We have resorted to returning slots directly rather than exposing primitives that can then 5473// be slotted like `<CollectionItem as={Slot}>â¦</CollectionItem>`. 5474// This is because we encountered issues with generic types that cannot be statically analysed 5475// due to creating them dynamically via createCollection. 5476function(e){/* ----------------------------------------------------------------------------------------------- 5477 * CollectionProvider 5478 * ---------------------------------------------------------------------------------------------*/let t=e+"CollectionProvider",[r,n]=I9(t),[o,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=e+"CollectionSlot",s=/*@__PURE__*/tV(tG).forwardRef((e,t)=>{let{scope:r,children:n}=e,o=a(i,r),s=Tt(t,o.collectionRef);return /*@__PURE__*/tV(tG).createElement(Tr,{ref:s},n)}),l=e+"CollectionItemSlot",u="data-radix-collection-item",c=/*@__PURE__*/tV(tG).forwardRef((e,t)=>{let{scope:r,children:n,...o}
5478=e,i=/*@__PURE__*/tV(tG).useRef(null),s=Tt(t,i),c=a(l,r);return /*@__PURE__*/tV(tG).useEffect(()=>(c.itemMap.set(i,{ref:i,...o}),()=>void c.itemMap.delete(i))),/*@__PURE__*/tV(tG).createElement(Tr,{[u]:"",ref:s},n)});return[{Provider:e=>{let{scope:t,children:r}=e,n=/*@__PURE__*/tV(tG).useRef(null),a=/*@__PURE__*/tV(tG).useRef(new Map).current;return /*@__PURE__*/tV(tG).createElement(o,{scope:t,itemMap:a,collectionRef:n},r)},Slot:s,ItemSlot:c},/* ----------------------------------------------------------------------------------------------- 5479 * useCollection 5480 * ---------------------------------------------------------------------------------------------*/function(t){let r=a(e+"CollectionConsumer",t),n=/*@__PURE__*/tV(tG).useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${u}]`)),n=Array.from(r.itemMap.values()),o=n.sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current));return o},[r.collectionRef,r.itemMap]);return n},n]}(Tv),[TS,Tx]=I9(Tv,[Tw]),[TE,TC]=TS(Tv),TA=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>/*#__PURE__*/(0,tG.createElement)(Ty.Provider,{scope:e.__scopeRovingFocusGroup},/*#__PURE__*/(0,tG.createElement)(Ty.Slot,{scope:e.__scopeRovingFocusGroup},/*#__PURE__*/(0,tG.createElement)(Tk,I5({},e,{ref:t}))))),Tk=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=(0,tG.useRef)(null),f=Tt(t,d),p=Th(a),[h=null,m]=Tf({prop:i,defaultProp:s,onChange:l}),[g,v]=(0,tG.useState)(!1),y=Td(u),b=Tb(r),w=(0,tG.useRef)(!1);return(0,tG.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener(Tm,y),()=>e.removeEventListener(Tm,y)},[y]),/*#__PURE__*/(0,tG.createElement)(TE,{scope:r,orientation:n,dir:p,loop:o,currentTabStopId:h,onItemFocus:(0,tG.useCallback)(e=>m(e),[m]),onItemShiftTab:(0,tG.useCallback)(()=>v(!0),[])},/*#__PURE__*/(0,tG.createElement)(Tc.div,I5({tabIndex:g?-1:0,"data-orientation":n},c,{ref:f,style:{outline:"none",...e.style},onMouseDown:I7(e.onMouseDown,()=>{w.current=!0}),onFocus:I7(e.onFocus,e=>{// We normally wouldn't need this check, because we already check 5481// that the focus is on the current target and not bubbling to it. 5482// We do this because Safari doesn't focus buttons when clicked, and 5483// instead, the wrapper will get focused and not through a bubbling event. 5484let t=!w.current;if(e.target===e.currentTarget&&t&&!g){let t=new CustomEvent(Tm,Tg);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=b().filter(e=>e.focusable),t=e.find(e=>e.active),r=e.find(e=>e.id===h),n=[t,r,...e].filter(Boolean),o=n.map(e=>e.ref.current);TT(o)}}w.current=!1}),onBlur:I7(e.onBlur,()=>v(!1))})))}),T_=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,...a}=e,i=Tu(),s=TC("RovingFocusGroupItem",r),l=s.currentTabStopId===i,u=Tb(r);return/*#__PURE__*/(0,tG.createElement)(Ty.ItemSlot,{scope:r,id:i,focusable:n,active:o},/*#__PURE__*/(0,tG.createElement)(Tc.span,I5({tabIndex:l?0:-1,"data-orientation":s.orientation},a,{ref:t,onMouseDown:I7(e.onMouseDown,e=>{n?s.onItemFocus(i):e.preventDefault()}),onFocus:I7(e.onFocus,()=>s.onItemFocus(i)),onKeyDown:I7(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){s.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return TI[o]}(e,s.orientation,s.dir);if(void 0!==t){e.preventDefault();let o=u().filter(e=>e.focusable),a=o.map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&a.reverse();let o=a.indexOf(e.currentTarget);a=s.loop?(r=a,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):a.slice(o+1)}/** 5485 * Imperative focus during keydown is risky so we prevent React's batching updates 5486 * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332 5487 */setTimeout(()=>TT(a))}})})))}),TI={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function TT(e){let t=document.activeElement;for(let r of e)// if focus is already where we want to go, we don't want to keep going through the candidates 5488if(r===t||(r.focus(),document.activeElement!==t))return}var tG=tB("acw62");const TP=e=>{let{present:t,children:r}=e,n=/* ------------------------------------------------------------------------------------------------- 5489 * usePresence 5490 * -----------------------------------------------------------------------------------------------*/function(e){var t;let[r,n]=(0,tG.useState)(),o=(0,tG.useRef)({}),a=(0,tG.useRef)(e),i=(0,tG.useRef)("none"),s=e?"mounted":"unmounted",[l,u]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,tG.useReducer)((e,r)=>{let n=t[e][r];return null!=n?n:e},s));return(0,tG.useEffect)(()=>{let e=TN(o.current);i.current="mounted"===l?e:"none"},[l]),Ti(()=>
5490{let t=o.current,r=a.current,n=r!==e;if(n){let n=i.current,o=TN(t);e?u("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):r&&n!==o?u("ANIMATION_OUT"):u("UNMOUNT"),a.current=e}},[e,u]),Ti(()=>{if(r){/** 5491 * Triggering an ANIMATION_OUT during an ANIMATION_IN will fire an `animationcancel` 5492 * event for ANIMATION_IN after we have entered `unmountSuspended` state. So, we 5493 * make sure we only trigger ANIMATION_END for the currently active animation. 5494 */let e=e=>{let t=TN(o.current),n=t.includes(e.animationName);e.target===r&&n&&// By manually flushing we ensure they sync within a frame, removing the flash. 5495(0,tW.flushSync)(()=>u("ANIMATION_END"))},t=e=>{e.target===r&&(i.current=TN(o.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:(0,tG.useCallback)(e=>{e&&(o.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof r?r({present:n.isPresent}):(0,tG.Children).only(r),a=Tt(n.ref,o.ref),i="function"==typeof r;return i||n.isPresent?/*#__PURE__*/(0,tG.cloneElement)(o,{ref:a}):null};/* -----------------------------------------------------------------------------------------------*/function TN(e){return(null==e?void 0:e.animationName)||"none"}TP.displayName="Presence";/* ------------------------------------------------------------------------------------------------- 5496 * Tabs 5497 * -----------------------------------------------------------------------------------------------*/const TO="Tabs",[TM,Tj]=I9(TO,[Tx]),TF=Tx(),[TR,TU]=TM(TO),TL=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=Th(s),[d,f]=Tf({prop:n,onChange:o,defaultProp:a});return/*#__PURE__*/(0,tG.createElement)(TR,{scope:r,baseId:Tu(),value:d,onValueChange:f,orientation:i,dir:c,activationMode:l},/*#__PURE__*/(0,tG.createElement)(Tc.div,I5({dir:c,"data-orientation":i},u,{ref:t})))}),TD=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,a=TU("TabsList",r),i=TF(r);return/*#__PURE__*/(0,tG.createElement)(TA,I5({asChild:!0},i,{orientation:a.orientation,dir:a.dir,loop:n}),/*#__PURE__*/(0,tG.createElement)(Tc.div,I5({role:"tablist","aria-orientation":a.orientation},o,{ref:t})))}),TV=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeTabs:r,value:n,disabled:o=!1,...a}=e,i=TU("TabsTrigger",r),s=TF(r),l=TZ(i.baseId,n),u=TB(i.baseId,n),c=n===i.value;return/*#__PURE__*/(0,tG.createElement)(T_,I5({asChild:!0},s,{focusable:!o,active:c}),/*#__PURE__*/(0,tG.createElement)(Tc.button,I5({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},a,{ref:t,onMouseDown:I7(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(n)}),onKeyDown:I7(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(n)}),onFocus:I7(e.onFocus,()=>{// handle "automatic" activation if necessary 5498// ie. activate tab following focus 5499let e="manual"!==i.activationMode;c||o||!e||i.onValueChange(n)})})))}),TH=/*#__PURE__*/(0,tG.forwardRef)((e,t)=>{let{__scopeTabs:r,value:n,forceMount:o,children:a,...i}=e,s=TU("TabsContent",r),l=TZ(s.baseId,n),u=TB(s.baseId,n),c=n===s.value,d=(0,tG.useRef)(c);return(0,tG.useEffect)(()=>{let e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),/*#__PURE__*/(0,tG.createElement)(TP,{present:o||c},({present:r})=>/*#__PURE__*/(0,tG.createElement)(Tc.div,I5({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!r,id:u,tabIndex:0},i,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),r&&a))});/* ---------------------------------------------------------------------------------------------- */function TZ(e,t){return`${e}-trigger-${t}`}function TB(e,t){return`${e}-content-${t}`}const Tz=TL,TW=TD,TG=TV,Tq=TH;var tG=tB("acw62");const{Root:TY,List:T$,Trigger:TK,Content:TJ}=(e=>{var t;let r=Object.assign({default:void 0},e);return null!==(t=r.default)&&void 0!==t?t:r})(I3),TQ=e=>tG.isValidElement(e),TX=tG.forwardRef((e,t)=>
5499{var{ariaLabel:r,children:n,className:o,defaultIndex:a=0,currentIndex:i,onChange:s,indicatorPosition:l,spacing:u}=e,c=Az(e,["ariaLabel","children","className","defaultIndex","currentIndex","onChange","indicatorPosition","spacing"]);let d={defaultValue:a.toString(),value:null!=i?i.toString():void 0,onValueChange:s},f=tG.Children.toArray(n).filter(e=>!!e);return tG.createElement(TY,Object.assign({},d),tG.createElement(T$,{"aria-label":r},tG.createElement(_f,Object.assign({className:/*@__PURE__*/tV(AW)(Aq.Tabs,o),"data-indicator-position":l,ref:t},c),tG.Children.map(f,(e,t)=>{if(TQ(e))return tG.cloneElement(e,{"data-spacing":u,key:t,value:`${t}`})}))),tG.Children.map(f,(e,t)=>{if(TQ(e))return tG.createElement(TJ,{key:t,value:`${t}`},e.props.children)}))}),T0=tG.forwardRef((e,t)=>{var{className:r,title:n}=e,o=Az(e,["className","title"]);return tG.createElement(_d,Object.assign({as:TK,className:/*@__PURE__*/tV(AW)(Aq.TabItems,r),ref:t},o),n)});TX.displayName="Tabs",T0.displayName="TabItem";var tG=(tB("acw62"),tB("acw62"));(q=tU||(tU={})).Apple="SignInWithApple",q.Amazon="LoginWithAmazon",q.Facebook="Facebook",q.Google="Google",(Y=tL||(tL={})).Email="email",Y.PhoneNumber="phone_number";var tG=tB("acw62");const T1=tG.forwardRef((e,t)=>{var{className:r,orientation:n="horizontal",size:o,label:a}=e,i=Az(e,["className","orientation","size","label"]);let s=/*@__PURE__*/tV(AW)(Aq.Divider,cv(Aq.Divider,n),cv(Aq.Divider,o),a?Aq.DividerLabel:null,r);return tG.createElement(_d,Object.assign({"aria-orientation":n,as:"hr",className:s,"data-size":o,"data-label":a,ref:t},i))});T1.displayName="Divider";var tG=(tB("acw62"),tB("acw62"));const T2={minX:0,minY:0,width:24,height:24},T8=tG.forwardRef((e,t)=>{let r;var{className:n,as:o="svg",fill:a="currentColor",pathData:i,viewBox:s=T2,children:l,paths:u}=e,c=Az(e,["className","as","fill","pathData","viewBox","children","paths"]);let d=s.minX?s.minX:T2.minX,f=s.minY?s.minY:T2.minY,p=s.width?s.width:T2.width,h=s.height?s.height:T2.height;return l&&(r=l),u&&(r=u.map((e,t)=>tG.createElement("path",Object.assign({},e,{key:t})))),i&&(r=tG.createElement("path",{d:i,fill:a})),tG.createElement(_d,Object.assign({as:o,className:/*@__PURE__*/tV(AW)(Aq.Icon,n),ref:t,viewBox:`${d} ${f} ${p} ${h}`},c),r)});T8.displayName="Icon";const T6=()=>/*@__PURE__*/tV(tG).createElement("svg",{"aria-label":"Apple icon",className:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},/*@__PURE__*/tV(tG).createElement("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})),T4=()=>/*@__PURE__*/tV(tG).createElement("svg",{"aria-label":"Google icon",className:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},/*@__PURE__*/tV(tG).createElement("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),/*@__PURE__*/tV(tG).createElement("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})),T3=()=>/*@__PURE__*/tV(tG).createElement(T8,{className:"federated-sign-in-icon",ariaLabel:"Facebook icon",viewBox:{minX:0,minY:0,width:279,height:538},pathData:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"}),T5=()=>/*@__PURE__*/tV(tG).createElement("svg",{"aria-label":"Amazon icon",className:"amplify-icon federated-sign-in-icon",viewBox:"0 0 243 264",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},/*@__PURE__*/tV(tG).createElement("path",{d:"M230.826 208.039C227.468 203.683 208.551 205.982 200.056 206.998C197.471 207.321 197.076 205.042 199.407 203.405C214.475 192.665 239.201 195.766 242.082 199.364C244.966 202.982 241.337 228.071 227.173 240.049C225.001 241.888 222.93 240.904 223.898 238.468C227.077 230.431 234.205 212.419 230.826 208.039ZM123.769 264C71.0234 264 39.0764 241.955 14.7853 217.542C9.97339 212.706 3.71799 206.296 0.311513 200.691C-1.09773 198.372 2.59096 195.022 5.04421 196.844C35.239 219.268 79.1012 239.538 122.53 239.538C151.82 239.538 188.046 227.47 217.669 214.868C222.147 212.966 222.147 219.18 221.512 221.061C221.183 222.032 206.515 236.221 186.247 247.047C167.304 257.166 143.397 264 123.769 264Z",fill:"#F2541B"}),/*@__PURE__*/tV(tG).createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M142.943 111.185C142.943 124.756 143.268 136.054 136.406 148.123C130.856 157.913 122.027 163.95 112.222 163.95C98.8288 163.95 90.9806 153.772 90.9806 138.693C90.9806 109.036 117.677 103.647 142.943 103.647V111.185ZM178.166 196.081C175.858 198.15 171.635 198.22 169.914 196.894C157.974 187.684 149.89 173.688 149.89 173.688C130.706 193.156 117.127 199 92.2879 199C62.8772 199 40 180.905 40 144.729C40 116.461 55.3552 97.2408 77.2563 87.823C96.2094 79.5256 122.684 78.0173 142.943 75.7517C142.943 75.7517 144.633 53.933 138.699 45.9806C134.098 39.8163 126.272 36.9329 119.089 36.9329C106.127 36.8829 93.61 43.9051 91.1262 57.4188C90.4136 61.2829 87.5533 64.5261 84.54 64.206L51.0823 60.5922C48.5156 60.2951 45.0381 57.6639 45.8636 53.3081C53.644 12.3684 90.7373 0 123.989 0C140.983 0 163.21 4.51651 176.608 17.3349C193.597 33.1648 191.969 54.2755 191.969 77.2722V131.51C191.969 147.835 198.768 154.987 205.151 163.775C207.376 166.953 207.886 170.714 205.04 173.032C197.902 178.999 178.166 196.081 178.166 196.081Z",fill:"#F2541B"})),T7=e=>{let t;let{icon:r,provider:n,text:o}=e,{toFederatedSignIn:a}=cK();return"facebook"===r?t=/*@__PURE__*/tV(tG).createElement(T3,null):"google"===r?t=/*@__PURE__*/tV(tG).createElement(T4,null):"amazon"===r?t=/*@__PURE__*/tV(tG).createElement(T5,null):"apple"===r&&(t=/*@__PURE__*/tV(tG).createElement(T6,null)),/*@__PURE__*/tV(tG).createElement(_g,{onClick:e=>{e.preventDefault(),a({provider:n})},className:"federated-sign-in-button",fontWeight:"normal",gap:"1rem"},t,/*@__PURE__*/tV(tG).createElement(_b,{as:"span"},o))}
5499,{getSignInWithFederationText:T9,getOrText:Pe}=AB;function Pt(){let{route:e,socialProviders:t}=cK(({route:e,socialProviders:t})=>[e,t]);return 0===t.length?null:/*@__PURE__*/tV(tG).createElement(_f,{direction:"column",padding:"0 0 1rem 0",className:"federated-sign-in-container"},t.map(t=>{switch(t){case"amazon":return /*@__PURE__*/tV(tG).createElement(T7,{icon:"amazon",key:t,provider:tU.Amazon,text:T9(e,t)});case"apple":return /*@__PURE__*/tV(tG).createElement(T7,{icon:"apple",key:t,provider:tU.Apple,text:T9(e,t)});case"facebook":return /*@__PURE__*/tV(tG).createElement(T7,{icon:"facebook",key:t,provider:tU.Facebook,text:T9(e,t)});case"google":return /*@__PURE__*/tV(tG).createElement(T7,{icon:"google",key:t,provider:tU.Google,text:T9(e,t)});default:console.error(`Authenticator does not support ${t}. Please open an issue: https://github.com/aws-amplify/amplify-ui/issues/choose`)}}),/*@__PURE__*/tV(tG).createElement(T1,{size:"small",label:Pe()}))}const{getSignInText:Pr,getSigningInText:Pn,getForgotPasswordText:Po}=AB;function Pa(){let{isPending:e}=cK(e=>[e.isPending]),{handleChange:t,handleSubmit:r}=_S(),{components:{SignIn:{Header:n=Pa.Header,Footer:o=Pa.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_d,null,/*@__PURE__*/tV(tG).createElement(n,null),/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-signin":"",method:"post",onSubmit:r,onChange:t},/*@__PURE__*/tV(tG).createElement(Pt,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:e},/*@__PURE__*/tV(tG).createElement(_O,null,/*@__PURE__*/tV(tG).createElement("legend",null,Pr())),/*@__PURE__*/tV(tG).createElement(_6,null)),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(_g,{isDisabled:e,isFullWidth:!0,type:"submit",variation:"primary",isLoading:e,loadingText:Pn()},Pr()))),/*@__PURE__*/tV(tG).createElement(o,null))}Pa.Footer=()=>{let{toResetPassword:e}=cK(e=>[e.toResetPassword]);return /*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-footer":""},/*@__PURE__*/tV(tG).createElement(_g,{fontWeight:"normal",onClick:e,size:"small",variation:"link"},Po()))},Pa.Header=function(){return null};var tG=tB("acw62");const{getCreateAccountText:Pi,getCreatingAccountText:Ps}=AB;function Pl(){let{hasValidationErrors:e,isPending:t}=cK(e=>[e.hasValidationErrors,e.isPending]),{handleChange:r,handleBlur:n,handleSubmit:o}=_S(),{components:{SignUp:{Header:a=Pl.Header,FormFields:i=Pl.FormFields,Footer:s=Pl.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_d,null,/*@__PURE__*/tV(tG).createElement(a,null),/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-signup":"",method:"post",onChange:r,onSubmit:o,onBlur:n},/*@__PURE__*/tV(tG).createElement(Pt,null),/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:t},/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(i,null),/*@__PURE__*/tV(tG).createElement(_N,null)),/*@__PURE__*/tV(tG).createElement(_g,{isDisabled:e||t,isFullWidth:!0,type:"submit",variation:"primary",isLoading:t,loadingText:Ps()},Pi()))),/*@__PURE__*/tV(tG).createElement(s,null))}Pl.Header=function(){return null},Pl.FormFields=function(){return /*@__PURE__*/tV(tG).createElement(_6,null)},Pl.Footer=function(){return null};const{getSignInTabText:Pu,getSignUpTabText:Pc}=AB,Pd=({className:e,hideSignUp:t,variation:r})=>{let{route:n,toSignIn:o,toSignUp:a}=cK(e=>[e.route,e.toSignIn,e.toSignUp]);return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:r},t?/*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-router-content":""},"signIn"===n&&/*@__PURE__*/tV(tG).createElement(Pa,null)):/*@__PURE__*/tV(tG).createElement(TX,{indicatorPosition:"top",currentIndex:"signIn"===n?0:1,spacing:"equal",justifyContent:"center",onChange:()=>"signIn"===n?a():o()},/*@__PURE__*/tV(tG).createElement(T0,{title:Pu()},/*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-router-content":""},"signIn"===n&&/*@__PURE__*/tV(tG).createElement(Pa,null))),/*@__PURE__*/tV(tG).createElement(T0,{title:Pc()},/*@__PURE__*/tV(tG).createElement(_d,{"data-amplify-router-content":""},"signUp"===n&&/*@__PURE__*/tV(tG).createElement(Pl,null)))))};var tG=(tB("acw62"),tB("acw62"));const{getSubmitText:Pf,getSubmittingText:Pp}=AB,Ph=e=>{let{cancelButtonSendType:t,cancelButtonText:r,submitButtonText:n}=e,{isPending:o,resendCode:a,skipVerification:i,toSignIn:s}=cK(e=>[e.isPending]),l=o?/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,Pp(),"â¦"):/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,Pf()),u=null!=n?n:l;return /*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_g,{fontWeight:"normal",variation:"primary",isDisabled:o,type:"submit"},u),/*@__PURE__*/tV(tG).createElement(_g,{onClick:()=>{switch(t){case"SKIP":i();break;case"RESEND":a();break;case"SIGN_IN":s();break;default:return}},type:"button",variation:"link",fontWeight:"normal",size:"small"},r))},{getAccountRecoveryInfoText:Pm,getSkipText:Pg}=AB,Pv=({className:e,variation:t})=>{let{isPending:r}=cK(e=>[e.isPending]),{handleChange:n,handleSubmit:o}=_S(),{components:{ConfirmVerifyUser:{Header:a=Pv.Header,Footer:i=Pv.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmverifyuser":"",method:"post",onCh
5499ange:n,onSubmit:o},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(a,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_6,null)),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(Ph,{cancelButtonText:Pg(),cancelButtonSendType:"SKIP"}),/*@__PURE__*/tV(tG).createElement(i,null))))};Pv.Header=function(){return /*@__PURE__*/tV(tG).createElement(_y,{level:3},Pm())},Pv.Footer=function(){return null};var tG=(tB("acw62"),tB("acw62"),tB("acw62"));const Py=/*@__PURE__*/tV(tG).createContext({name:"default"}),Pb=()=>(0,tG.useContext)(Py),Pw=tG.forwardRef((e,t)=>{var{children:r,className:n,id:o,isDisabled:a,testId:i,value:s,labelPosition:l,height:u,width:c,bottom:d,left:f,position:p,padding:h,right:m,top:g}=e,v=Az(e,["children","className","id","isDisabled","testId","value","labelPosition","height","width","bottom","left","position","padding","right","top"]);let{currentValue:y,defaultValue:b,name:w,hasError:S,isGroupDisabled:x,isRequired:E,isReadOnly:C,onChange:A,size:k,labelPosition:_}=Pb(),{isFieldsetDisabled:I}=AJ(),T=I||x||a||C&&b!==s;return tG.createElement(_f,{as:"label",className:/*@__PURE__*/tV(AW)(Aq.Radio,cy(Aq.Radio,"disabled",T),n),"data-disabled":T,"data-label-position":l||_,height:u,width:c,bottom:d,top:g,right:m,left:f,position:p,padding:h},r&&tG.createElement(_b,{as:"span",className:Aq.RadioLabel,"data-disabled":T},r),tG.createElement(_Z,Object.assign({checked:void 0!==y?s===y:void 0,className:/*@__PURE__*/tV(AW)(Aq.VisuallyHidden,Aq.RadioInput),defaultChecked:void 0!==b?s===b:void 0,hasError:S,id:o,isDisabled:T,isReadOnly:C,isRequired:E,onChange:A,ref:t,type:"radio",name:w,value:s},v)),tG.createElement(_f,{"aria-hidden":"true",as:"span",className:/*@__PURE__*/tV(AW)(Aq.RadioButton,cv(Aq.RadioButton,k)),"data-size":k,testId:i}))});Pw.displayName="Radio";var tG=tB("acw62");const PS=(e,t)=>e&&t?`${e}-${t}`:void 0,Px=tG.forwardRef((e,t)=>{var{children:r,className:n,defaultValue:o,descriptiveText:a,errorMessage:i,hasError:s=!1,id:l,isDisabled:u,isRequired:c,isReadOnly:d,label:f,labelHidden:p=!1,labelPosition:h,onChange:m,name:g,size:v,testId:y,value:b}=e,w=Az(e,["children","className","defaultValue","descriptiveText","errorMessage","hasError","id","isDisabled","isRequired","isReadOnly","label","labelHidden","labelPosition","onChange","name","size","testId","value"]);let S=_Y(l),x=_Y(),E=PS(y,Aq.RadioGroup),C=tG.useMemo(()=>({currentValue:b,defaultValue:o,hasError:s,isRequired:c,isReadOnly:d,isGroupDisabled:u,onChange:m,size:v,name:g,labelPosition:h}),[o,s,u,c,d,m,v,g,b,h]);return tG.createElement(_f,Object.assign({as:"fieldset",className:/*@__PURE__*/tV(AW)(Aq.Field,cv(Aq.Field,v),Aq.RadioGroupField,n),"data-size":v,ref:t,role:"radiogroup",testId:y},w),tG.createElement(_O,{as:"legend"},f),tG.createElement(_B,{"aria-hidden":!0,visuallyHidden:p},f),tG.createElement(_D,{id:x,labelHidden:p,descriptiveText:a}),tG.createElement(_f,{"aria-describedby":a?x:void 0,className:Aq.RadioGroup,id:S,testId:E},tG.createElement(Py.Provider,{value:C},r)),tG.createElement(_V,{hasError:s,errorMessage:i}))});Px.displayName="RadioGroupField";const{getSkipText:PE,getVerifyText:PC,getVerifyContactText:PA,getAccountRecoveryInfoText:Pk}=AB,P_=e=>Object.entries(e).map(([e,t])=>/*@__PURE__*/tV(tG).createElement(Pw,{name:"unverifiedAttr",value:e,key:e},((e,t)=>{let r=cM(e),n=t;if("Phone Number"===e)n=bU(t);else if("Email"===e){let e=t.split("@");n=`${bR(e[0])}@${e[1]}`}return`${r}: ${n}`})(cx[e].label,t))),PI=({className:e,variation:t})=>{let{components:{VerifyUser:{Header:r=PI.Header,Footer:n=PI.Footer}}}=AH(),{isPending:o,unverifiedContactMethods:a}=cK(({isPending:e,unverifiedContactMethods:t})=>[e,t]),{handleChange:i,handleSubmit:s}=_S(),l=o?/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,"Verifyingâ¦"):/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,PC()),u=/*@__PURE__*/tV(tG).createElement(Px,{label:PA(),labelHidden:!0,name:"verify_context",isDisabled:o},P_(a));return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-verifyuser":"",method:"post",onCh
5499ange:i,onSubmit:s},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:o},/*@__PURE__*/tV(tG).createElement(r,null),u,/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(Ph,{cancelButtonText:PE(),cancelButtonSendType:"SKIP",submitButtonText:l}),/*@__PURE__*/tV(tG).createElement(n,null))))};PI.Header=function(){return /*@__PURE__*/tV(tG).createElement(_y,{level:3},Pk())},PI.Footer=function(){return null};var tG=tB("acw62");const{getChallengeText:PT}=AB,PP=({className:e,variation:t})=>{let{isPending:r}=cK(e=>[e.isPending]),{handleChange:n,handleSubmit:o}=_S(),{components:{ConfirmSignIn:{Header:a=PP.Header,Footer:i=PP.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmsignin":"",method:"post",onChange:n,onSubmit:o},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(a,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_6,null),/*@__PURE__*/tV(tG).createElement(_N,null)),/*@__PURE__*/tV(tG).createElement(I0,null),/*@__PURE__*/tV(tG).createElement(i,null))))};PP.Header=function(){let{user:{challengeName:e}}=cK(({user:e})=>[e]);return /*@__PURE__*/tV(tG).createElement(_y,{level:3},PT(e))},PP.Footer=function(){return null};var tG=tB("acw62");const{getResendCodeText:PN,getResetYourPasswordText:PO}=AB,PM=({className:e,variation:t})=>{let{isPending:r}=cK(e=>[e.isPending]),{handleBlur:n,handleChange:o,handleSubmit:a}=_S(),{components:{ConfirmResetPassword:{Header:i=PM.Header,Footer:s=PM.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-confirmresetpassword":"",method:"post",onSubmit:a,onChange:o,onBlur:n},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(i,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_6,null)),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(Ph,{cancelButtonSendType:"RESEND",cancelButtonText:PN()}),/*@__PURE__*/tV(tG).createElement(s,null))))};PM.Header=function(){let e=PO();return /*@__PURE__*/tV(tG).createElement(_y,{level:3},e)},PM.Footer=function(){return null};var tG=tB("acw62");const{getBackToSignInText:Pj,getSendingText:PF,getSendCodeText:PR,getResetYourPasswordText:PU}=AB,PL=({className:e,variation:t})=>{let{isPending:r}=cK(e=>[e.isPending]),{handleChange:n,handleSubmit:o}=_S(),{components:{ResetPassword:{Header:a=PL.Header,Footer:i=PL.Footer}}}=AH();return /*@__PURE__*/tV(tG).createElement(_3,{className:e,variation:t},/*@__PURE__*/tV(tG).createElement("form",{"data-amplify-form":"","data-amplify-authenticator-resetpassword":"",method:"post",onChange:n,onSubmit:o},/*@__PURE__*/tV(tG).createElement(_f,{as:"fieldset",direction:"column",isDisabled:r},/*@__PURE__*/tV(tG).createElement(a,null),/*@__PURE__*/tV(tG).createElement(_f,{direction:"column"},/*@__PURE__*/tV(tG).createElement(_6,null)),/*@__PURE__*/tV(tG).createElement(_N,null),/*@__PURE__*/tV(tG).createElement(Ph,{cancelButtonText:Pj(),cancelButtonSendType:"SIGN_IN",submitButtonText:r?/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,PF(),"â¦"):/*@__PURE__*/tV(tG).createElement(/*@__PURE__*/tV(tG).Fragment,null,PR())}),/*@__PURE__*/tV(tG).createElement(i,null))))};PL.Header=function(){return /*@__PURE__*/tV(tG).createElement(_y,{level:3},PU())},PL.Footer=function(){return null};const PD=e=>"signIn"===e||"signUp"===e;function PV(){return null}function PH({className:e,hideSignUp:t,variation:r}){let{route:n}=cK(({route:e})=>[e]),o=(0,tG.useMemo)(()=>(e=>{switch(e){case"authenticated":case"idle":case"setup":case"transition":return PV;case"confirmSignUp":return Ir;case"confirmSignIn":return PP;case"setupTOTP":return I4;case"signIn":case"signUp":return Pd;case"forceNewPassword":return Ii;case"resetPassword":return PL;case"confirmResetPassword":return PM;case"verifyUser":return PI;case"confirmVerifyUser":return Pv;default:return console.warn(`Unhandled Authenticator route - please open an issue: ${e}`),PV}})(n),[n]);return /*@__PURE__*/tV(tG).createElement(o,{className:e,hideSignUp:PD(n)?t:void 0,variation:r})}const PZ={Header:()=>null,SignIn:{Header:Pa.Header,Footer:Pa.Footer},SignUp:{Header:Pl.Header,FormFields:Pl.FormFields,Footer:Pl.Footer},ConfirmSignUp:{Header:Ir.Header,Footer:Ir.Footer},SetupTOTP:{Header:I4.Header,Footer:I4.Footer},ConfirmResetPassword:{Header:PM.Header,Footer:PM.Footer},ConfirmSignIn:{Header:PP.Header,Footer:PP.Footer},VerifyUser:{Header:PI.Header,Footer:PI.Footer},ConfirmVerifyUser:{Header:Pv.Header,Footer:Pv.Footer},ForceNewPassword:{Header:Ii.Header,Footer:Ii.Footer,FormFields:Ii.FormFields},ResetPassword:{Header:PL.Header,Footer:PL.Footer},Footer:()=>null};function PB({children:e,className:t,components:r,formFields:n,hideSignUp:o,initialState:a,loginMechanisms:i,passwordSettings:s,signUpAttributes:l,services:u,socialProviders:c,variation:d}){AD({message:"The `passwordSettings` prop has been deprecated and will be removed in a future major version of Amplify UI.",shouldWarn:!!s});let{route:f,signOut:p,user:h}=cK(({route:e,signOut:t,user:r})=>[e,t,r]);!function(e){let{route:t,initializeMachine:r}=cK(AU),n=/*@__PURE__*/tV(tG).useRef(!1);/*@__PURE__*/tV(tG).useEffect(()=>{n.current||"setup"!==t||(r(e),n.current=!0)},[r,t,e])}({initialState:a,loginMechanisms:i,services:u,signUpAttributes:l,socialProviders:c,formFields:n});let m=tG.useMemo(()=>({components:Object.assign(Object.assign({},PZ),r)}),[r]);return"authenticated"===f||"signOut"===f?e?tG.createElement(tG.Fragment,null,cg(e)?e({signOut:p,user:h}):e):null:tG.createElement(AV.Provider,{value:m},tG.createElement(PH,{className:t,hideSignUp:o,variation:d}))}function Pz(e){return tG.useEffect(()=>{bF({packageName:"@aws-amplify/ui-react",version:"5.3.0"})},[]),tG.createElement(AR,null,tG.createElement(PB,Object.assign({},e)))}Pz.Provider=AR,Pz.ResetPassword=PL,Pz.SetupTOTP=I4,Pz.SignIn=Pa,Pz.SignUp=Pl,Pz.ForceNewPassword=Ii;
5499const PW=$(document.querySelector("#root"));PW.render(/*#__PURE__*/(0,tz.jsx)(/** 5500 * A `<Router>` for use in web browsers. Provides the cleanest URLs. 5501 */function(e){let{basename:t,children:r,future:n,window:o}=e,a=tG.useRef();null==a.current&&(a.current=function(e,t,r,n){void 0===n&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=K.Pop,l=null,u=c();function c(){return(i.state||{idx:null}).idx}function d(){s=K.Pop;let e=c(),t=null==e?null:e-u;u=e,l&&l({action:s,location:p.location,delta:t})}function f(e){// window.location.origin is "null" (the literal string value) in Firefox 5502// under certain conditions, notably when serving from a local HTML file 5503// See https://bugzilla.mozilla.org/show_bug.cgi?id=878297 5504let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:tX(e);return t$(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==u&&(u=0,i.replaceState(tq({},i.state,{idx:u}),""));let p={get action(){return s},get location(){return e(o,i)},listen(e){if(l)throw Error("A history only accepts one active listener");return o.addEventListener(tY,d),l=e,()=>{o.removeEventListener(tY,d),l=null}},createHref:e=>t(o,e),createURL:f,encodeLocation(e){// Encode a Location the same way window.location would 5505let t=f(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=K.Push;let n=tQ(p.location,e,t);r&&r(n,e);let d=tJ(n,u=c()+1),f=p.createHref(n);// try...catch because iOS limits us to 100 pushState calls :/ 5506try{i.pushState(d,"",f)}catch(e){// If the exception is because `state` can't be serialized, let that throw 5507// outwards just like a replace call would so the dev knows the cause 5508// https://html.spec.whatwg.org/multipage/nav-history-apis.html#shared-history-push/replace-state-steps 5509// https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal 5510if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;// They are going to lose state here, but there is no real 5511// way to warn them about it since the page will refresh... 5512o.location.assign(f)}a&&l&&l({action:s,location:p.location,delta:1})},replace:function(e,t){s=K.Replace;let n=tQ(p.location,e,t);r&&r(n,e);let o=tJ(n,u=c()),d=p.createHref(n);i.replaceState(o,"",d),a&&l&&l({action:s,location:p.location,delta:0})},go:e=>i.go(e)};return p}(function(e,t){let{pathname:r,search:n,hash:o}=e.location;return tQ("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:tX(t)},null,{window:o,v5Compat:!0}));let i=a.current,[s,l]=tG.useState({action:i.action,location:i.location}),{v7_startTransition:u}=n||{},c=tG.useCallback(e=>{u&&rT?rT(()=>l(e)):l(e)},[l,u]);return tG.useLayoutEffect(()=>i.listen(c),[i,c]),/*#__PURE__*/tG.createElement(rw,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:i})},{children:/*#__PURE__*/(0,tz.jsx)(Pz.Provider,{children:/*#__PURE__*/(0,tz.jsx)(function(){let e=ft(),t=function(){let e=o3(d9);return fr(e)}();e.userInfo;let{pathname:r}=ru(),n=t.modals?.some(e=>e.value.visible);return(0,tG.useEffect)(()=>{document.documentElement.scrollTop=0},[r]),!function(){let{user:e}=cK(({user:e})=>[e]),t=ru(),r=rd(),{proState:n,loadProInfo:o}=function(){let e=ft(),t=e.value.userInfo,r=o3(d7),n=r.get({noproxy:!0}),o=n?.info?.FreeTrialEndsAt?.LogseqPro,a=o&&new Date(o).getTime()>Date.now()&&n.info?.LemonStatus?.LogseqPro!=="active",i=t.signInUserSession?.idToken?.jwtToken;async function s(){try{r.infoFetching?.set(!0);let e=await fetch("https://api.logseq.com/logseq/user_info",{method:"POST",headers:{Authorization:`Bearer ${i}`}});if(200!==e.status)throw Error(e.statusText);let t=await e.json();// normalize info 5513t.FileSyncStorageLimit.currentFormatted=d6(t.FileSyncStorageLimit?.current),t.FileSyncStorageLimit.proFormatted=d6(t.FileSyncStorageLimit?.pro),t.FileSyncStorageLimit.freeFormatted=d6(t.FileSyncStorageLimit?.free),r.info.set(t)}catch(e){console.error("[Request ProState] ",e),r.e.set(e)}finally{r.infoFetching?.set(!1)}}return{proState:r,proStateValue:n,inTrial:a,loadProInfo:s}}(),a=d5.userInfo.get(),i=a.signInUserSession?.idToken?.jwtToken;(0,tG.useEffect)(()=>{i?n.get().info||o().catch(null):n.set({})},[i]),(0,tG.useEffect)(()=>{!function(e,t){// for logout 5514if(fe&&!e&&t.routeLocation.pathname.startsWith("/account")&&"/login"!==t.routeLocation.pathname){t.navigate("/login");return}e?.username&&e?.pool&&e?.signInUserSession&&(d5.userInfo.set({signOut:async()=>{console.time(),d5.userInfo.pending.set(!0),await cu.signOut(),d5.userInfo.pending.set(!1),d7.set({}),console.timeEnd(),d5.userInfo.set({})},username:e.username,signInUserSession:e.signInUserSession,attributes:e.attributes,pending:!1}),t.inComponent||/*@__PURE__*/tV(cJ).success(`Hi, ${e.username} !`,{position:"top-center"}),"/login"===t.routeLocation.pathname&&t.navigate("/account",{replace:!0})),fe=!0}(e,{navigate:r,routeLocation:t})},[e?.username])}(),!function(){let e=ft();(0,tG.useEffect)(()=>{e.releases.fetching.value||(e.releases.fetching.set(!0),fetch("https://api.github.com/repos/logseq/logseq/releases").then(e=>e.json()).then(t=>{// TODO: parse downloads 5515let r=null;if(t&&Array.isArray(t)&&(t.some(e=>{if(e.hasOwnProperty("tag_name")&&e.tag_name?.toLowerCase()!=="nightly"&&Array.isArray(e.assets)){let t={"macos-x64":e=>e.includes("x64")&&e.endsWith(".dmg"),"macos-arm64":e=>e.includes("arm64")&&e.endsWith(".dmg"),android:e=>e.endsWith(".apk"),linux:e=>e.endsWith(".AppImage"),windows:e=>e.endsWith(".exe")};return r=e.assets.reduce((e,r)=>(Object.entries(t).some(([t,n])=>{if(n(r.name))return e[t]=r,!0}),e),{}),!0}}),e.releases.downloads.set(r)),!r)throw Error("Parse latest release failed!")}
5515).catch(t=>{e.releases.e.set(t)}).finally(()=>{e.releases.fetching.set(!1)}))},[]),e.releases}(),!function(){let e=ft();(0,tG.useEffect)(()=>{fetch("https://discord.com/api/v9/invites/VNfUaTtdFb?with_counts=true&with_expiration=true").then(e=>e.json()).then(t=>{t&&t.guild&&e.discord.set(t)}).catch(e=>{console.debug("[Fetch Discord Err]",e)})},[]),e.discord}(),(0,tG.useEffect)(()=>{let e=({which:e})=>{// ESC 5516let r=t.topmost();27===e&&r&&t.remove(r.id)};return document.body.addEventListener("keyup",e),()=>document.body.removeEventListener("keyup",e)},[]),(0,tG.useEffect)(()=>{let t=()=>{e.sm.set(d4())};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),(0,tG.useEffect)(()=>{let e=document.documentElement;e.classList[n?"add":"remove"]("ui-modal-container-locked")},[n]),/*#__PURE__*/(0,tz.jsxs)("div",{id:"app",className:/*@__PURE__*/tV(np)("flex justify-center"),children:[/*#__PURE__*/(0,tz.jsx)(cJ.Toaster,{position:"top-right",toastOptions:{className:"app-toaster"}}),/*#__PURE__*/(0,tz.jsxs)("main",{className:"app-container",children:[/*#__PURE__*/(0,tz.jsx)(bl,{}),/*#__PURE__*/(0,tz.jsxs)(rS,{children:[/*#__PURE__*/(0,tz.jsx)(rb,{path:"/",element:/*#__PURE__*/(0,tz.jsx)(yG,{})}),/*#__PURE__*/(0,tz.jsx)(rb,{path:"/downloads",element:/*#__PURE__*/(0,tz.jsx)(fU,{})}),/*#__PURE__*/(0,tz.jsx)(rb,{path:"/terms",element:/*#__PURE__*/(0,tz.jsx)(bS,{})}),/*#__PURE__*/(0,tz.jsx)(rb,{path:"/privacy-policy",element:/*#__PURE__*/(0,tz.jsx)(bx,{})}),/*#__PURE__*/(0,tz.jsx)(rb,{path:"/weekly",element:/*#__PURE__*/(0,tz.jsx)(bT,{})})]}),t.modals.get({noproxy:!0})?.map(e=>tW.createPortal(tz.jsx(bw,{id:e.id,visible:e.visible,destroy:()=>t.remove(e.id),...e.props,children:e.content},e.id),document.body))]})]})},{})})}));//# sourceMappingURL=index.f1f713e7.js.map 5517 5518//# sourceMappingURL=index.f1f713e7.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.