1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1216],{84878:function(t,r){"use strict";function n(){return""}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var t=/\((.*)\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if("function"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(n){return r.resolve(t()).then(function(){return n})},function(n){return r.resolve(t()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(t){return Array.from(t).reduce(function(t,r){return t[r[0]]=r[1],t},{})}),Array.prototype.at||(Array.prototype.at=function(t){var r=Math.trunc(t)||0;if(r<0&&(r+=this.length),!(r<0||r>=this.length))return this[r]}),Object.hasOwn||(Object.hasOwn=function(t,r){if(null==t)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),r)}),"canParse"in URL||(URL.canParse=function(t,r){try{return new URL(t,r),!0}catch(t){return!1}})},41412:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addBasePath",{enumerable:!0,get:function(){return a}});let i=n(77652),o=n(68796);function a(t,r){return(0,o.normalizePathTrailingSlash)((0,i.addPathPrefix)(t,""))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28878:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return i}}),n(68796);let i=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53721:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSocketUrl",{enumerable:!0,get:function(){return o}});let i=n(3349);function o(t){let r=(0,i.normalizedAssetPrefix)(t),n=function(t){let r=window.location.protocol;try{r=new URL(t).protocol}catch(t){}return"http:"===r?"ws:":"wss:"}(t||"");if(URL.canParse(r))return r.replace(/^http/,"ws");let{hostname:o,port:a}=window.location;return n+"//"+o+(a?":"+a:"")+r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},45303:function(t,r,n){"use strict";let i;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{addMessageListener:function(){return s},connectHMR:function(){return c},sendMessage:function(){return l}});let o=n(53721),a=[];function s(t){a.push(t)}function l(t){if(i&&i.readyState===i.OPEN)return i.send(t)}let u=0;function c(t){!function r(){let n;function s(){if(i.onerror=null,i.onclose=null,i.close(),++u>25){window.location.reload();return}clearTimeout(n),n=setTimeout(r,u>5?5e3:1e3)}i&&i.close();let l=(0,o.getSocketUrl)(t.assetPrefix);(i=new window.WebSocket(""+l+t.path)).onopen=function(){u=0,window.console.log("[HMR] connected")},i.onerror=s,i.onclose=s,i.onmessage=function(t){let r=JSON.parse(t.data);for(let t of a)t(r)}}()}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97193:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n]};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},71838:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasBasePath",{enumerable:!0,get:function(){return o}});let i=n(25298);function o(t){return(0,i.pathHasPrefix)(t,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},52071:function(t,r){"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DOMAttributeNames:function(){return i},default:function(){return s},isEqualNode:function(){return a}});let i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(t){let{type:r,props:n}=t,o=document.createElement(r);for(let t in n){if(!n.hasOwnProperty(t)||"children"===t||"dangerouslySetInnerHTML"===t||void 0===n[t])continue;let a=i[t]||t.toLowerCase();"script"===r&&("async"===a||"defer"===a||"noModule"===a)?o[a]=!!n[t]:o.setAttribute(a,n[t])}let{children:a,dangerouslySetInnerHTML:s}=n;return s?o.innerHTML=s.__html||"":a&&(o.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):""),o}function a(t,r){if(t instanceof HTMLElement&&r instanceof HTMLElement){let n=r.getAttribute("nonce");if(n&&!t.getAttribute("nonce")){let i=r.cloneNode(!0);return i.setAttribute("nonce",""),i.nonce=n,n===t.nonce&&t.isEqualNode(i)}}return t.isEqualNode(r)}function s(){return{mountedInstances:new Set,updateHead:t=>{let r={};t.forEach(t=>{if("link"===t.type&&t.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+t.props["data-href"]+'"]'))return;t.props.href=t.props["data-href"],t.props["data-href"]=void 0}let n=r[t.type]||[];n.push(t),r[t.type]=n});let i=r.title?r.title[0]:null,o="";if(i){let{children:t}=i.props;o="string"==typeof t?t:Array.isArray(t)?t.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(t=>{n(t,r[t]||[])})}}}n=(t,r)=>{let n=document.getElementsByTagName("head")[0],i=n.querySelector("meta[name=next-head-count]"),s=Number(i.content),l=[];for(let r=0,n=i.previousElementSibling;r<s;r++,n=(null==n?void 0:n.previousElementSibling)||null){var u;(null==n?void 0:null==(u=n.tagName)?void 0:u.toLowerCase())===t&&l.push(n)}let c=r.map(o).filter(t=>{for(let r=0,n=l.length;r<n;r++)if(a(l[r],t))return l.splice(r,1),!1;return!0});l.forEach(t=>{var r;return null==(r=t.parentNode)?void 0:r.removeChild(t)}),c.forEach(t=>n.insertBefore(t,i)),i.content=(s-l.length+c.length).toString()},("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24500:function(t,r,n){"use strict";let i,o,a,s,l,u,c,d,h,f,p,m;Object.defineProperty(r,"__esModule",{value:!0});let g=n(61757);Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{emitter:function(){return G},hydrate:function(){return eh},initialize:function(){return Z},router:function(){return i},version:function(){return V}});let y=n(38754),v=n(85893);n(40037);let b=y._(n(67294)),w=y._(n(20745)),_=n(20077),S=y._(n(58967)),E=n(37171),A=n(12179),x=n(31735),k=n(38600),O=n(45758),P=n(45782),C=n(1493),T=y._(n(52071)),M=y._(n(21413)),R=y._(n(65736)),I=n(63622),N=n(37253),D=n(80676),F=n(98261),L=n(91566),$=n(71838),j=n(3068),U=n(82488),B=n(10213),z=y._(n(36920)),H=y._(n(57930)),q=y._(n(95179)),V="14.2.35",G=(0,S.default)(),W=t=>[].slice.call(t),K=!1;class Y extends b.default.Component{componentDidCatch(t,r){this.props.fn(t,r)}componentDidMount(){this.scrollToHash(),i.isSsr&&(o.isFallback||o.nextE
1xport&&((0,x.isDynamicRoute)(i.pathname)||location.search||K)||o.props&&o.props.__N_SSG&&(location.search||K))&&i.replace(i.pathname+"?"+String((0,k.assign)((0,k.urlQueryToSearchParams)(i.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!K}).catch(t=>{if(!t.cancelled)throw t})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:t}=location;if(!(t=t&&t.substring(1)))return;let r=document.getElementById(t);r&&setTimeout(()=>r.scrollIntoView(),0)}render(){return this.props.children}}async function Z(t){void 0===t&&(t={}),H.default.onSpanEnd(q.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,m=o.defaultLocale;let r=o.assetPrefix||"";if(self.__next_set_public_path__(""+r+"/_next/"),(0,O.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,P.getURL)(),(0,$.hasBasePath)(a)&&(a=(0,L.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:t}=n(95026);t(o.scriptLoader)}s=new M.default(o.buildId,r);let c=t=>{let[r,n]=t;return s.routeLoader.onEntrypoint(r,n)};return window.__NEXT_P&&window.__NEXT_P.map(t=>setTimeout(()=>c(t),0)),window.__NEXT_P=[],window.__NEXT_P.push=c,(u=(0,T.default)()).getIsSsr=()=>i.isSsr,l=document.getElementById("__next"),{assetPrefix:r}}function X(t,r){return(0,v.jsx)(t,{...r})}function J(t){var r;let{children:n}=t,o=b.default.useMemo(()=>(0,U.adaptForAppRouterInstance)(i),[]);return(0,v.jsx)(Y,{fn:t=>ee({App:h,err:t}).catch(t=>console.error("Error rendering page: ",t)),children:(0,v.jsx)(j.AppRouterContext.Provider,{value:o,children:(0,v.jsx)(B.SearchParamsContext.Provider,{value:(0,U.adaptForSearchParams)(i),children:(0,v.jsx)(U.PathnameContextProviderAdapter,{router:i,isAutoExport:null!=(r=self.__NEXT_DATA__.autoExport)&&r,children:(0,v.jsx)(B.PathParamsContext.Provider,{value:(0,U.adaptForPathParams)(i),children:(0,v.jsx)(E.RouterContext.Provider,{value:(0,N.makePublicRouterInstance)(i),children:(0,v.jsx)(_.HeadManagerContext.Provider,{value:u,children:(0,v.jsx)(F.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},children:n})})})})})})})})}let Q=t=>r=>{let n={...r,Component:p,err:o.err,router:i};return(0,v.jsx)(J,{children:X(t,n)})};function ee(t){let{App:r,err:l}=t;return s.loadPage("/_error").then(i=>{let{page:o,styleSheets:a}=i;return(null==c?void 0:c.Component)===o?Promise.resolve().then(()=>g._(n(18529))).then(i=>Promise.resolve().then(()=>g._(n(48141))).then(n=>(r=n.default,t.App=r,i))).then(t=>({ErrorComponent:t.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(n=>{var s;let{ErrorComponent:u,styleSheets:c}=n,d=Q(r),h={Component:u,AppTree:d,router:i,ctx:{err:l,pathname:o.page,query:o.query,asPath:a,AppTree:d}};return Promise.resolve((null==(s=t.props)?void 0:s.err)?t.props:(0,P.loadGetInitialProps)(r,h)).then(r=>ec({...t,err:l,Component:u,styleSheets:c,props:r}))})}function et(t){let{callback:r}=t;return b.default.useLayoutEffect(()=>r(),[r]),null}let er={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},en={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},ei=null,eo=!0;function ea(){[er.beforeRender,er.afterHydrate,er.afterRender,er.routeChange].forEach(t=>performance.clearMarks(t))}function es(){P.ST&&(performance.mark(er.afterHydrate),performance.getEntriesByName(er.beforeRender,"mark").length&&(performance.measure(en.beforeHydration,er.navigationStart,er.beforeRender),performance.measure(en.hydration,er.beforeRender,er.afterHydrate)),f&&performance.getEntriesByName(en.hydration).forEach(f),ea())}function el(){if(!P.ST)return;performance.mark(er.afterRender);let t=performance.getEntriesByName(er.routeChange,"mark");t.length&&(performance.getEntriesByName(er.beforeRender,"mark").length&&(performance.measure(en.routeChangeToRender,t[0].name,er.beforeRender),performance.measure(en.render,er.beforeRender,er.afterRe
1nder),f&&(performance.getEntriesByName(en.render).forEach(f),performance.getEntriesByName(en.routeChangeToRender).forEach(f))),ea(),[en.routeChangeToRender,en.render].forEach(t=>performance.clearMeasures(t)))}function eu(t){let{callbacks:r,children:n}=t;return b.default.useLayoutEffect(()=>r.forEach(t=>t()),[r]),b.default.useEffect(()=>{(0,R.default)(f)},[]),n}function ec(t){let r,{App:n,Component:o,props:a,err:s}=t,u="initial"in t?void 0:t.styleSheets;o=o||c.Component;let h={...a=a||c.props,Component:o,err:s,router:i};c=h;let f=!1,p=new Promise((t,n)=>{d&&d(),r=()=>{d=null,t()},d=()=>{f=!0,d=null;let t=Error("Cancel rendering route");t.cancelled=!0,n(t)}});function m(){r()}!function(){if(!u)return;let t=new Set(W(document.querySelectorAll("style[data-n-href]")).map(t=>t.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach(r=>{let{href:i,text:o}=r;if(!t.has(i)){let t=document.createElement("style");t.setAttribute("data-n-href",i),t.setAttribute("media","x"),n&&t.setAttribute("nonce",n),document.head.appendChild(t),t.appendChild(document.createTextNode(o))}})}();let g=(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(et,{callback:function(){if(u&&!f){let t=new Set(u.map(t=>t.href)),r=W(document.querySelectorAll("style[data-n-href]")),n=r.map(t=>t.getAttribute("data-n-href"));for(let i=0;i<n.length;++i)t.has(n[i])?r[i].removeAttribute("media"):r[i].setAttribute("media","x");let i=document.querySelector("noscript[data-n-css]");i&&u.forEach(t=>{let{href:r}=t,n=document.querySelector('style[data-n-href="'+r+'"]');n&&(i.parentNode.insertBefore(n,i.nextSibling),i=n)}),W(document.querySelectorAll("link[data-n-p]")).forEach(t=>{t.parentNode.removeChild(t)})}if(t.scroll){let{x:r,y:n}=t.scroll;(0,A.handleSmoothScroll)(()=>{window.scrollTo(r,n)})}}}),(0,v.jsxs)(J,{children:[X(n,h),(0,v.jsx)(C.Portal,{type:"next-route-announcer",children:(0,v.jsx)(I.RouteAnnouncer,{})})]})]});return!function(t,r){P.ST&&performance.mark(er.beforeRender);let n=r(eo?es:el);ei?(0,b.default.startTransition)(()=>{ei.render(n)}):(ei=w.default.hydrateRoot(t,n,{onRecoverableError:z.default}),eo=!1)}(l,t=>(0,v.jsx)(eu,{callbacks:[t,m],children:(0,v.jsx)(b.default.StrictMode,{children:g})})),p}async function ed(t){if(t.err&&(void 0===t.Component||!t.isHydratePass)){await ee(t);return}try{await ec(t)}catch(n){let r=(0,D.getProperError)(n);if(r.cancelled)throw r;await ee({...t,err:r})}}async function eh(t){let r=o.err;try{let t=await s.routeLoader.whenEntrypoint("/_app");if("error"in t)throw t.error;let{component:r,exports:n}=t;h=r,n&&n.reportWebVitals&&(f=t=>{let r,{id:i,name:o,startTime:a,value:s,duration:l,entryType:u,entries:c,attribution:d}=t,h=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);c&&c.length&&(r=c[0].startTime);let f={id:i||h,name:o,startTime:a||r,value:null==s?l:s,label:"mark"===u||"measure"===u?"custom":"web-vital"};d&&(f.attribution=d),n.reportWebVitals(f)});let i=await s.routeLoader.whenEntrypoint(o.page);if("error"in i)throw i.error;p=i.component}catch(t){r=(0,D.getProperError)(t)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),i=(0,N.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:s,App:h,Component:p,wrapApp:Q,err:r,isFallback:!!o.isFallback,subscription:(t,r,n)=>ed(Object.assign({},t,{App:r,scroll:n})),locale:o.locale,locales:o.locales,defaultLocale:m,domainLocales:o.domainLocales,isPreview:o.isPreview}),K=await i._initialMatchesMiddlewarePromise;let n={App:h,initial:!0,Component:p,props:o.props,err:r,isHydratePass:!0};(null==t?void 0:t.beforeRender)&&await t.beforeRender(),ed(n)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},62288:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n(99151);let i=n(24500);window.next={version:i.version,get router(){return i.router},emitter:i.emitter},(0,i.initialize)({}).then(()=>(0,i.hydrate)()).catch(console.error),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68796:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let i=n(33575),o=n(80626),a=t=>{if(!t.startsWith("/"))return t;let{pathname:r,query:n,hash:a}=(0,o.parsePath)(t);return/\.[^/]+\/?$/.test(r)?""+(0,i.removeTrailingSlash)(r)+n+a:r.endsWith("/")?""+r+n+a:r+"/"+n+a};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},36920:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let i=n(85575);function o(t){let r="function"==typeof reportError?reportError:t=>{window.console.error(t)};(0,i.isBailoutToCSRError)(t)||r(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},21413:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return f}});let i=n(38754),o=n(41412),a=n(37399),s=i._(n(20116)),l=n(28878),u=n(31735),c=n(62757),d=n(33575),h=n(32856);n(45104);class f{getPageList(){return(0,h.getClientBuildManifest)().then(t=>t.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!api|_next\\/static|_next\\/image|favicon.ico|manifest.json|locales).*))(.json)?[\\/#\\?]?$",originalSource:"/((?!api|_next/static|_next/image|favicon.ico|manifest.json|locales).*)"}],window.__MIDDLEWARE_MATCHERS}getDataHref(t){let{asPath:r,href:n,locale:i}=t,{pathname:h,query:f,search:p}=(0,c.parseRelativeUrl)(n),{pathname:m}=(0,c.parseRelativeUrl)(r),g=(0,d.removeTrailingSlash)(h);if("/"!==g[0])throw Error('Route name should start with a "/", got "'+g+'"');return(t=>{let r=(0,s.default)((0,d.removeTrailingSlash)((0,l.addLocale)(t,i)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+r+p,!0)})(t.skipInterpolation?m:(0,u.isDynamicRoute)(g)?(0,a.interpolateAs)(h,m,f).result:g)}_isSsg(t){return this.promisedSsgManifest.then(r=>r.has(t))}loadPage(t){return this.routeLoader.loadRoute(t).then(t=>{if("component"in t)return{page:t.component,mod:t.exports,styleSheets:t.styles.map(t=>({href:t.href,text:t.content}))};throw t.error})}prefetch(t){return this.routeLoader.prefetch(t)}constructor(t,r){this.routeLoader=(0,h.createRouteLoader)(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise(t=>{window.__SSG_MANIFEST?t(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{t(window.__SSG_MANIFEST)}})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65736:function(t,r,n){"use strict";let i;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function s(t){i&&i(t)}let l=t=>{if(i=t,!a)for(let t of(a=!0,o))try{let r;r||(r=n(78018)),r["on"+t](s)}catch(t){}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1493:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Portal",{enumerable:!0,get:function(){return a}});let i=n(67294),o=n(73935),a=t=>{let{children:r,type:n}=t,[a,s]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let t=document.createElement(n);return document.body.appendChild(t),s(t),()=>{document.body.removeChild(t)}},[n]),a?(0,o.createPortal)(r,a):null};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91566:function(t,r,n){"use strict";function i(t){return t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return i}}),n(71838),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},14509:function(t,r,n){"use strict";function i(t,r){return t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return i}}),n(80626),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},66078:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let r=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},64813:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveHref",{enumerable:!0,get:function(){return h}});let i=n(38600),o=n(5058),a=n(12795),s=n(45782),l=n(68796),u=n(65853),c=n(72189),d=n(37399);function h(t,r,n){let h;let f="string"==typeof r?r:(0,o.formatWithValidation)(r),p=f.match(/^[a-zA-Z]{1,}:\/\//),m=p?f.slice(p[0].length):f;if((m.split("?",1)[0]||"").match(/(\/\/|\\)/)){let t=(0,s.normalizeRepeatedSlashes)(m);f=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(f))return n?[f]:f;try{h=new URL(f.startsWith("#")?t.asPath:t.pathname,"http://n")}catch(t){h=new URL("/","http://n")}try{let t=new URL(f,h);t.pathname=(0,l.normalizePathTrailingSlash)(t.pathname);let r="";if((0,c.isDynamicRoute)(t.pathname)&&t.searchParams&&n){let n=(0,i.searchParamsToUrlQuery)(t.searchParams),{result:s,params:l}=(0,d.interpolateAs)(t.pathname,t.pathname,n);s&&(r=(0,o.formatWithValidation)({pathname:s,hash:t.hash,query:(0,a.omit)(n,l)}))}let s=t.origin===h.origin?t.href.slice(t.origin.length):t.href;return n?[s,r||s]:s}catch(t){return n?[f]:f}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63622:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{RouteAnnouncer:function(){return u},default:function(){return c}});let i=n(38754),o=n(85893),a=i._(n(67294)),s=n(37253),l={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},u=()=>{let{asPath:t}=(0,s.useRouter)(),[r,n]=a.default.useState(""),i=a.default.useRef(t);return a.default.useEffect(()=>{if(i.current!==t){if(i.current=t,document.title)n(document.title);else{var r;let i=document.querySelector("h1");n((null!=(r=null==i?void 0:i.innerText)?r:null==i?void 0:i.textContent)||t)}}},[t]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:l,children:r})},c=u;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32856:function(t,r,n){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{createRouteLoader:function(){return g},getClientBuildManifest:function(){return p},isAssetError:function(){return c},markAssetError:function(){return u}}),n(38754),n(20116);let i=n(92518),o=n(66078),a=n(84878);function s(t,r,n){let i,o=r.get(t);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(t=>{i=t});return r.set(t,o={resolve:i,future:a}),n?n().then(t=>(i(t),t)).catch(n=>{throw r.delete(t),n}):a}let l=Symbol("ASSET_LOAD_ERROR");function u(t){return Object.defineProperty(t,l,{})}function c(t){return t&&l in t}let d=function(t){try{return t=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||t.relList.supports("prefetch")}catch(t){return!1}}(),h=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function f(t,r,n){return new Promise((i,a)=>{let s=!1;t.then(t=>{s=!0,i(t)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{s||a(n)},r))})}function p(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):f(new Promise(t=>{let r=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{t(self.__BUILD_MANIFEST),r&&r()}}),3800,u(Error("Failed to load client build manifest")))}function m(t,r){return p().then(n=>{if(!(r in n))throw u(Error("Failed to lookup route: "+r));let o=n[r].map(r=>t+"/_next/"+encodeURI(r));return{scripts:o.filter(t=>t.endsWith(".js")).map(t=>(0,i.__unsafeCreateTrustedScriptURL)(t)+h()),css:o.filter(t=>t.endsWith(".css")).map(t=>t+h())}})}function g(t){let r=new Map,n=new Map,i=new Map,a=new Map;function l(t){{var r;let i=n.get(t.toString());return i||(document.querySelector('script[src^="'+t+'"]')?Promise.resolve():(n.set(t.toString(),i=new Promise((n,i)=>{(r=document.createElement("script")).onload=n,r.onerror=()=>i(u(Error("Failed to load script: "+t))),r.crossOrigin=void 0,r.src=t,document.body.appendChild(r)})),i))}}function c(t){let r=i.get(t);return r||i.set(t,r=fetch(t,{credentials:"same-origin"}).then(r=>{if(!r.ok)throw Error("Failed to load stylesheet: "+t);return r.text().then(r=>({href:t,content:r}))}).catch(t=>{throw u(t)})),r}return{whenEntrypoint:t=>s(t,r),onEntrypoint(t,n){(n?Promise.resolve().then(()=>n()).then(t=>({component:t&&t.default||t,exports:t}),t=>({error:t})):Promise.resolve(void 0)).then(n=>{let i=r.get(t);i&&"resolve"in i?n&&(r.set(t,n),i.resolve(n)):(n?r.set(t,n):r.delete(t),a.delete(t))})},loadRoute(n,i){return s(n,a,()=>{let o;return f(m(t,n).then(t=>{let{scripts:i,css:o}=t;return Promise.all([r.has(n)?[]:Promise.all(i.map(l)),Promise.all(o.map(c))])}).then(t=>this.whenEntrypoint(n).then(r=>({entrypoint:r,styles:t[1]}))),3800,u(Error("Route did not complete loading: "+n))).then(t=>{let{entrypoint:r,styles:n}=t,i=Object.assign({styles:n},r);return"error"in r?r:i}).catch(t=>{if(i)throw t;return{error:t}}).finally(()=>null==o?void 0:o())})},prefetch(r){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():m(t,r).then(t=>Promise.all(d?t.scripts.map(t=>{var r,n,i;return r=t.toString(),n="script",new Promise((t,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+r+'"],\n link[rel="preload"][href^="'+r+'"],\n script[src^="'+r+'"]'))return t();i=document.createElement("link"),n&&(i.as=n),i.rel="prefetch",i.crossOrigin=void 0,i.onload=t,i.onerror=()=>o(u(Error("Failed to prefetch: "+r))),i.href=r,document.head.appendChild(i)})}):[])).then(()=>{(0,o.requestIdleCallback)(()=>this.loadRoute(r,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},37253:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{Router:function(){return a.default},createRouter:function(){return m},default:function(){return f},makePublicRouterInstance:function(){return g},useRouter:function(){return p},withRouter:function(){return l.default}});let i=n(38754),o=i._(n(67294)),a=i._(n(29668)),s=n(37171);n(80676);let l=i._(n(538)),u={router:null,readyCallbacks:[],ready(t){if(this.router)return t();this.readyCallbacks.push(t)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>a.default.events}
1),c.forEach(t=>{Object.defineProperty(u,t,{get:()=>h()[t]})}),d.forEach(t=>{u[t]=function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return h()[t](...n)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(t=>{u.ready(()=>{a.default.events.on(t,function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];let o="on"+t.charAt(0).toUpperCase()+t.substring(1);if(u[o])try{u[o](...n)}catch(t){}})})});let f=u;function p(){let t=o.default.useContext(s.RouterContext);if(!t)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return t}function m(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return u.router=new a.default(...r),u.readyCallbacks.forEach(t=>t()),u.readyCallbacks=[],u.router}function g(t){let r={};for(let n of c){if("object"==typeof t[n]){r[n]=Object.assign(Array.isArray(t[n])?[]:{},t[n]);continue}r[n]=t[n]}return r.events=a.default.events,d.forEach(n=>{r[n]=function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return t[n](...i)}}),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95026:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return w},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return v}});let i=n(38754),o=n(61757),a=n(85893),s=i._(n(73935)),l=o._(n(67294)),u=n(20077),c=n(52071),d=n(66078),h=new Map,f=new Set,p=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],m=t=>{if(s.default.preinit){t.forEach(t=>{s.default.preinit(t,{as:"style"})});return}{let r=document.head;t.forEach(t=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=t,r.appendChild(n)})}},g=t=>{let{src:r,id:n,onLoad:i=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:s="",strategy:l="afterInteractive",onError:u,stylesheets:d}=t,g=n||r;if(g&&f.has(g))return;if(h.has(r)){f.add(g),h.get(r).then(i,u);return}let y=()=>{o&&o(),f.add(g)},v=document.createElement("script"),b=new Promise((t,r)=>{v.addEventListener("load",function(r){t(),i&&i.call(this,r),y()}),v.addEventListener("error",function(t){r(t)})}).catch(function(t){u&&u(t)});for(let[n,i]of(a?(v.innerHTML=a.__html||"",y()):s?(v.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",y()):r&&(v.src=r,h.set(r,b)),Object.entries(t))){if(void 0===i||p.includes(n))continue;let t=c.DOMAttributeNames[n]||n.toLowerCase();v.setAttribute(t,i)}"worker"===l&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",l),d&&m(d),document.body.appendChild(v)};function y(t){let{strategy:r="afterInteractive"}=t;"lazyOnload"===r?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>g(t))}):g(t)}function v(t){t.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let r=t.id||t.getAttribute("src");f.add(r)})}function b(t){let{id:r,src:n="",onLoad:i=()=>{},onReady:o=null,strategy:c="afterInteractive",onError:h,stylesheets:p,...m}=t,{updateScripts:y,scripts:v,getIsSsr:b,appDir:w,nonce:_}=(0,l.useContext)(u.HeadManagerContext),S=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let t=r||n;S.current||(o&&t&&f.has(t)&&o(),S.current=!0)},[o,r,n]);let E=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{!E.current&&("afterInteractive"===c?g(t):"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>g(t)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>g(t))})),E.current=!0)},[t,c]),("beforeInteractive"===c||"worker"===c)&&(y?(v[c]=(v[c]||[]).concat([{id:r,src:n,onLoad:i,onReady:o,onError:h,...m}]),y(v)):b&&b()?f.add(r||n):b&&!b()&&g(t)),w){if(p&&p.forEach(t=>{s.default.preinit(t,{as:"style"})}),"beforeInteractive"===c)return n?(s.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:_,crossOrigin:m.crossOrigin}:{as:"script",nonce:_,crossOrigin:m.crossOrigin}),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
1SON.stringify([n,{...m,id:r}])+")"}})):(m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:r}])+")"}}));"afterInteractive"===c&&n&&s.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:_,crossOrigin:m.crossOrigin}:{as:"script",nonce:_,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let w=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95179:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let i=n(45303);function o(t){if("ended"!==t.state.state)throw Error("Expected span to be ended");(0,i.sendMessage)(JSON.stringify({event:"span-end",startTime:t.startTime,endTime:t.state.endTime,spanName:t.name,attributes:t.attributes}))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57930:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let i=n(38754)._(n(58967));class o{end(t){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=t?t:Date.now()},this.onSpanEnd(this)}constructor(t,r,n){var i,o;this.name=t,this.attributes=null!=(i=r.attributes)?i:{},this.startTime=null!=(o=r.startTime)?o:Date.now(),this.onSpanEnd=n,this.state={state:"inprogress"}}}class a{startSpan(t,r){return new o(t,r,this.handleSpanEnd)}onSpanEnd(t){return this._emitter.on("spanend",t),()=>{this._emitter.off("spanend",t)}}constructor(){this._emitter=(0,i.default)(),this.handleSpanEnd=t=>{this._emitter.emit("spanend",t)}}}let s=new a;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92518:function(t,r){"use strict";let n;function i(t){var r;return(null==(r=function(){if(void 0===n){var t;n=(null==(t=window.trustedTypes)?void 0:t.createPolicy("nextjs",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t}))||null}return n}())?void 0:r.createScriptURL(t))||t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return i}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99151:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n(84878),self.__next_set_public_path__=t=>{n.p=t},("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},538:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}}),n(38754);let i=n(85893);n(67294);let o=n(37253);function a(t){function r(r){return(0,i.jsx)(t,{router:(0,o.useRouter)(),...r})}return r.getInitialProps=t.getInitialProps,r.origGetInitialProps=t.origGetInitialProps,r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48141:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let i=n(38754),o=n(85893),a=i._(n(67294)),s=n(45782);async function l(t){let{Component:r,ctx:n}=t;return{pageProps:await (0,s.loadGetInitialProps)(r,n)}}class u extends a.default.Component{render(){let{Component:t,pageProps:r}=this.props;return(0,o.jsx)(t,{...r})}}u.origGetInitialProps=l,u.getInitialProps=l,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18529:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let i=n(38754),o=n(85893),a=i._(n(67294)),s=i._(n(50494)),l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function u(t){let{res:r,err:n}=t;return{statusCode:r&&r.statusCode?r.statusCode:n?n.statusCode:404}}let c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends a.default.Component{render(){let{statusCode:t,withDarkMode:r=!0}=this.props,n=this.props.title||l[t]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:c.error,children:[(0,o.jsx)(s.default,{children:(0,o.jsx)("title",{children:t?t+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:c.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(r?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),t?(0,o.jsx)("h1",{className:"next-error-h1",style:c.h1,children:t}):null,(0,o.jsx)("div",{style:c.wrap,children:(0,o.jsxs)("h2",{style:c.h2,children:[this.props.title||t?n:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=u,d.origGetInitialProps=u,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},75010:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AmpStateContext",{enumerable:!0,get:function(){return i}});let i=n(38754)._(n(67294)).default.createContext({})},98579:function(t,r){"use strict";function n(t){let{ampFirst:r=!1,hybrid:n=!1,hasQuery:i=!1}=void 0===t?{}:t;return r||n&&i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isInAmpMode",{enumerable:!0,get:function(){return n}})},3068:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return s},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return u},TemplateContext:function(){return l}});let i=n(38754)._(n(67294)),o=i.default.createContext(null),a=i.default.createContext(null),s=i.default.createContext(null),l=i.default.createContext(null),u=i.default.createContext(new Set)},69970:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return n}});class n{static from(t,r){void 0===r&&(r=1e-4);let i=new n(t.length,r);for(let r of t)i.add(r);return i}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(t){this.numItems=t.numItems,this.errorRate=t.errorRate,this.numBits=t.numBits,this.numHashes=t.numHashes,this.bitArray=t.bitArray}add(t){this.getHashValues(t).forEach(t=>{this.bitArray[t]=1})}contains(t){return this.getHashValues(t).every(t=>this.bitArray[t])}getHashValues(t){let r=[];for(let n=1;n<=this.numHashes;n++){let i=function(t){let r=0;for(let n=0;n<t.length;n++)r=Math.imul(r^t.charCodeAt(n),1540483477),r^=r>>>13,r=Math.imul(r,1540483477);return r>>>0}(""+t+n)%this.numBits;r.push(i)}return r}constructor(t,r=1e-4){this.numItems=t,this.errorRate=r,this.numBits=Math.ceil(-(t*Math.log(r))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/t*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},45104:function(t,r,n){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{APP_BUILD_MANIFEST:function(){return b},APP_CLIENT_INTERNALS:function(){return Z},APP_PATHS_MANIFEST:function(){return g},APP_PATH_ROUTES_MANIFEST:function(){return y},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return I},BARREL_OPTIMIZATION_PREFIX:function(){return z},BLOCKED_PAGES:function(){return L},BUILD_ID_FILE:function(){return F},BUILD_MANIFEST:function(){return v},CLIENT_PUBLIC_FILES_PATH:function(){return $},CLIENT_REFERENCE_MANIFEST:function(){return H},CLIENT_STATIC_FILES_PATH:function(){return j},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return K},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return et},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return X},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Q},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return D},DEFAULT_RUNTIME_WEBPACK:function(){return er},DEFAULT_SANS_SERIF_FONT:function(){return eu},DEFAULT_SERIF_FONT:function(){return el},DEV_CLIENT_PAGES_MANIFEST:function(){return C},DEV_MIDDLEWARE_MANIFEST:function(){return M},EDGE_RUNTIME_WEBPACK:function(){return en},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},EXPORT_DETAIL:function(){return A},EXPORT_MARKER:function(){return E},FUNCTIONS_CONFIG_MANIFEST:function(){return w},GOOGLE_FONT_PROVIDER:function(){return ea},IMAGES_MANIFEST:function(){return O},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return V},MIDDLEWARE_MANIFEST:function(){return T},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return G},MODERN_BROWSERSLIST_TARGET:function(){return i.default},NEXT_BUILTIN_DOCUMENT:function(){return B},NEXT_FONT_MANIFEST:function(){return S},OPTIMIZED_FONT_PROVIDERS:function(){return es},PAGES_MANIFEST:function(){return m},PHASE_DEVELOPMENT_SERVER:function(){return h},PHASE_EXPORT:function(){return u},PHASE_INFO:function(){return p},PHASE_PRODUCTION_BUILD:function(){return c},PHASE_PRODUCTION_SERVER:function(){return d},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return x},REACT_LOADABLE_MANIFEST:function(){return R},ROUTES_MANIFEST:function(){return k},RSC_MODULE_TYPES:function(){return ef},SERVER_DIRECTORY:function(){return N},SERVER_FILES_MANIFEST:function(){return P},SERVER_PROPS_ID:function(){return eo},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return ei},STATIC_STATUS_PAGES:function(){return ec},STRING_LITERAL_DROP_BUNDLE:function(){return U},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return _},SYSTEM_ENTRYPOINTS:function(){return em},TRACE_OUTPUT_VERSION:function(){return ed},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return eh},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l}});let i=n(38754)._(n(60979)),o={client:"client",server:"server",edgeServer:"edge-server"},a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},s="/_not-found",l=""+s+"/page",u="phase-export",c="phase-production-build",d="phase-production-server",h="phase-development-server",f="phase-test",p="phase-info",m="pages-manifest.json",g
1="app-paths-manifest.json",y="app-path-routes-manifest.json",v="build-manifest.json",b="app-build-manifest.json",w="functions-config-manifest.json",_="subresource-integrity-manifest",S="next-font-manifest",E="export-marker.json",A="export-detail.json",x="prerender-manifest.json",k="routes-manifest.json",O="images-manifest.json",P="required-server-files.json",C="_devPagesManifest.json",T="middleware-manifest.json",M="_devMiddlewareManifest.json",R="react-loadable-manifest.json",I="font-manifest.json",N="server",D=["next.config.js","next.config.mjs"],F="BUILD_ID",L=["/_document","/_app","/_error"],$="public",j="static",U="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",z="__barrel_optimize__",H="client-reference-manifest",q="server-reference-manifest",V="middleware-build-manifest",G="middleware-react-loadable-manifest",W="interception-route-rewrite-manifest",K="main",Y=""+K+"-app",Z="app-pages-internals",X="react-refresh",J="amp",Q="webpack",ee="polyfills",et=Symbol(ee),er="webpack-runtime",en="edge-runtime-webpack",ei="__N_SSG",eo="__N_SSP",ea="https://fonts.googleapis.com/",es=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],el={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},eu={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ec=["/500"],ed=1,eh=6e3,ef={client:"client",server:"server"},ep=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],em=new Set([K,X,J,Y]);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},34592:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,i=/[|\\{}()[\]^$+*?.-]/g;function o(t){return n.test(t)?t.replace(i,"\\$&"):t}},20077:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return i}});let i=n(38754)._(n(67294)).default.createContext({})},50494:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return g},defaultHead:function(){return h}});let i=n(38754),o=n(61757),a=n(85893),s=o._(n(67294)),l=i._(n(3657)),u=n(75010),c=n(20077),d=n(98579);function h(t){void 0===t&&(t=!1);let r=[(0,a.jsx)("meta",{charSet:"utf-8"})];return t||r.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),r}function f(t,r){return"string"==typeof r||"number"==typeof r?t:r.type===s.default.Fragment?t.concat(s.default.Children.toArray(r.props.children).reduce((t,r)=>"string"==typeof r||"number"==typeof r?t:t.concat(r),[])):t.concat(r)}n(79784);let p=["name","httpEquiv","charSet","itemProp"];function m(t,r){let{inAmpMode:n}=r;return t.reduce(f,[]).reverse().concat(h(n).reverse()).filter(function(){let t=new Set,r=new Set,n=new Set,i={};return o=>{let a=!0,s=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){s=!0;let r=o.key.slice(o.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(o.type){case"title":case"base":r.has(o.type)?a=!1:r.add(o.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(o.props.hasOwnProperty(r)){if("charSet"===r)n.has(r)?a=!1:n.add(r);else{let t=o.props[r],n=i[r]||new Set;("name"!==r||!s)&&n.has(t)?a=!1:(n.add(t),i[r]=n)}}}}return a}}()).reverse().map((t,r)=>{let i=t.key||r;if(!n&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(r=>t.props.href.startsWith(r))){let r={...t.props||{}};return r["data-href"]=r.href,r.href=void 0,r["data-optimized-fonts"]=!0,s.default.cloneElement(t,r)}return s.default.cloneElement(t,{key:i})})}let g=function(t){let{children:r}=t,n=(0,s.useContext)(u.AmpStateContext),i=(0,s.useContext)(c.HeadManagerContext);return(0,a.jsx)(l.default,{reduceComponentsToState:m,headManager:i,inAmpMode:(0,d.isInAmpMode)(n),children:r})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},10213:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{PathParamsContext:function(){return s},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let i=n(67294),o=(0,i.createContext)(null),a=(0,i.createContext)(null),s=(0,i.createContext)(null)},91623:function(t,r){"use strict";function n(t,r){let n;let i=t.split("/");return(r||[]).some(r=>!!i[1]&&i[1].toLowerCase()===r.toLowerCase()&&(n=r,i.splice(1,1),t=i.join("/")||"/",!0)),{pathname:t,detectedLocale:n}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},98261:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let i=n(38754)._(n(67294)),o=n(64666),a=i.default.createContext(o.imageConfigDefault)},64666:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return i}});let n=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},58299:function(t,r){"use strict";function n(t){return Object.prototype.toString.call(t)}function i(t){if("[object Object]"!==n(t))return!1;let r=Object.getPrototypeOf(t);return null===r||r.hasOwnProperty("isPrototypeOf")}Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getObjectClassLabel:function(){return n},isPlainObject:function(){return i}})},85575:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{BailoutToCSRError:function(){return i},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class i extends Error{constructor(t){super("Bail out to client-side rendering: "+t),this.reason=t,this.digest=n}}function o(t){return"object"==typeof t&&null!==t&&"digest"in t&&t.digest===n}},58967:function(t,r){"use strict";function n(){let t=Object.create(null);return{on(r,n){(t[r]||(t[r]=[])).push(n)},off(r,n){t[r]&&t[r].splice(t[r].indexOf(n)>>>0,1)},emit(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];(t[r]||[]).slice().map(t=>{t(...i)})}}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},60979:function(t){"use strict";t.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},3349:function(t,r){"use strict";function n(t){let r=(null==t?void 0:t.replace(/^\/+|\/+$/g,""))||!1;if(!r)return"";if(URL.canParse(r)){let t=new URL(r).toString();return t.endsWith("/")?t.slice(0,-1):t}return"/"+r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizedAssetPrefix",{enumerable:!0,get:function(){return n}})},75876:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let i=n(72189),o=n(24212);function a(t){let r=(0,o.normalizePathSep)(t);return r.startsWith("/index/")&&!(0,i.isDynamicRoute)(r)?r.slice(6):"/index"!==r?r:"/"}},75078:function(t,r){"use strict";function n(t){return t.startsWith("/")?t:"/"+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},24212:function(t,r){"use strict";function n(t){return t.replace(/\\/g,"/")}
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return n}})},37171:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return i}});let i=n(38754)._(n(67294)).default.createContext(null)},82488:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return d},adaptForPathParams:function(){return f},adaptForSearchParams:function(){return h}});let i=n(61757),o=n(85893),a=i._(n(67294)),s=n(10213),l=n(72189),u=n(4232),c=n(36309);function d(t){return{back(){t.back()},forward(){t.forward()},refresh(){t.reload()},fastRefresh(){},push(r,n){let{scroll:i}=void 0===n?{}:n;t.push(r,void 0,{scroll:i})},replace(r,n){let{scroll:i}=void 0===n?{}:n;t.replace(r,void 0,{scroll:i})},prefetch(r){t.prefetch(r)}}}function h(t){return t.isReady&&t.query?(0,u.asPathToSearchParams)(t.asPath):new URLSearchParams}function f(t){if(!t.isReady||!t.query)return null;let r={};for(let n of Object.keys((0,c.getRouteRegex)(t.pathname).groups))r[n]=t.query[n];return r}function p(t){let{children:r,router:n,...i}=t,u=(0,a.useRef)(i.isAutoExport),c=(0,a.useMemo)(()=>{let t;let r=u.current;if(r&&(u.current=!1),(0,l.isDynamicRoute)(n.pathname)&&(n.isFallback||r&&!n.isReady))return null;try{t=new URL(n.asPath,"http://f")}catch(t){return"/"}return t.pathname},[n.asPath,n.isFallback,n.isReady,n.pathname]);return(0,o.jsx)(s.PathnameContext.Provider,{value:c,children:r})}},29668:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{createKey:function(){return q},default:function(){return W},matchesMiddleware:function(){return F}});let i=n(38754),o=n(61757),a=n(33575),s=n(32856),l=n(95026),u=o._(n(80676)),c=n(75876),d=n(91623),h=i._(n(58967)),f=n(45782),p=n(31735),m=n(62757);n(72431);let g=n(43323),y=n(36309),v=n(5058);n(97193);let b=n(80626),w=n(28878),_=n(14509),S=n(91566),E=n(41412),A=n(71838),x=n(64813),k=n(79423),O=n(58754),P=n(15604),C=n(9012),T=n(65853),M=n(6312),R=n(12795),I=n(37399),N=n(12179);function D(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function F(t){let r=await Promise.resolve(t.router.pageLoader.getMiddleware());if(!r)return!1;let{pathname:n}=(0,b.parsePath)(t.asPath),i=(0,A.hasBasePath)(n)?(0,S.removeBasePath)(n):n,o=(0,E.addBasePath)((0,w.addLocale)(i,t.locale));return r.some(t=>new RegExp(t.regexp).test(o))}function L(t){let r=(0,f.getLocationOrigin)();return t.startsWith(r)?t.substring(r.length):t}function $(t,r,n){let[i,o]=(0,x.resolveHref)(t,r,!0),a=(0,f.getLocationOrigin)(),s=i.startsWith(a),l=o&&o.startsWith(a);i=L(i),o=o?L(o):o;let u=s?i:(0,E.addBasePath)(i),c=n?L((0,x.resolveHref)(t,n)):o||i;return{url:u,as:l?c:(0,E.addBasePath)(c)}}function j(t,r){let n=(0,a.removeTrailingSlash)((0,c.denormalizePagePath)(t));return"/404"===n||"/_error"===n?t:(r.includes(n)||r.some(r=>{if((0,p.isDynamicRoute)(r)&&(0,y.getRouteRegex)(r).re.test(n))return t=r,!0}),(0,a.removeTrailingSlash)(t))}async function U(t){if(!await F(t)||!t.fetchData)return null;let r=await t.fetchData(),n=await function(t,r,n){let i={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!0},o=r.headers.get("x-nextjs-rewrite"),l=o||r.headers.get("x-nextjs-matched-path"),u=r.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let r=(0,m.parseRelativeUrl)(l),u=(0,O.getNextPathnameInfo)(r.pathname,{nextConfig:i,parseData:!0}),c=(0,a.removeTrailingSlash)(u.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(a=>{let[s,{__rewrites:l}]=a,h=(0,w.addLocale)(u.pathname,u.locale);if((0,p.isDynamicRoute)(h)||!o&&s.includes((0,d.normalizeLocalePath)((0,S.removeBasePath)(h),n.router.locales).pathname)){let n=(0,O.getNextPathnameInfo)((0,m.parseRelativeUrl)(t).pathname,{nextConfig:i,parseData:!0}
1);h=(0,E.addBasePath)(n.pathname),r.pathname=h}if(!s.includes(c)){let t=j(c,s);t!==c&&(c=t)}let f=s.includes(c)?c:j((0,d.normalizeLocalePath)((0,S.removeBasePath)(r.pathname),n.router.locales).pathname,s);if((0,p.isDynamicRoute)(f)){let t=(0,g.getRouteMatcher)((0,y.getRouteRegex)(f))(h);Object.assign(r.query,t||{})}return{type:"rewrite",parsedAs:r,resolvedHref:f}})}let r=(0,b.parsePath)(t);return Promise.resolve({type:"redirect-external",destination:""+(0,P.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(r.pathname,{nextConfig:i,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""})+r.query+r.hash})}let c=r.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let t=(0,b.parsePath)(c),r=(0,P.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:i,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+r+t.query+t.hash,newUrl:""+r+t.query+t.hash})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(r.dataHref,r.response,t);return{dataHref:r.dataHref,json:r.json,response:r.response,text:r.text,cacheKey:r.cacheKey,effect:n}}let B=Symbol("SSG_DATA_NOT_FOUND");function z(t){try{return JSON.parse(t)}catch(t){return null}}function H(t){let{dataHref:r,inflightCache:n,isPrefetch:i,hasMiddleware:o,isServerRender:a,parseJSON:l,persistCache:u,isBackground:c,unstable_skipClientCache:d}=t,{href:h}=new URL(r,window.location.href),f=t=>{var c;return(function t(r,n,i){return fetch(r,{credentials:"same-origin",method:i.method||"GET",headers:Object.assign({},i.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&n>1&&o.status>=500?t(r,n-1,i):o)})(r,a?3:1,{headers:Object.assign({},i?{purpose:"prefetch"}:{},i&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(c=null==t?void 0:t.method)?c:"GET"}).then(n=>n.ok&&(null==t?void 0:t.method)==="HEAD"?{dataHref:r,response:n,text:"",json:{},cacheKey:h}:n.text().then(t=>{if(!n.ok){if(o&&[301,302,307,308].includes(n.status))return{dataHref:r,response:n,text:t,json:{},cacheKey:h};if(404===n.status){var i;if(null==(i=z(t))?void 0:i.notFound)return{dataHref:r,json:{notFound:B},response:n,text:t,cacheKey:h}}let l=Error("Failed to load static props");throw a||(0,s.markAssetError)(l),l}return{dataHref:r,json:l?z(t):null,response:n,text:t,cacheKey:h}})).then(t=>(u&&"no-cache"!==t.response.headers.get("x-middleware-cache")||delete n[h],t)).catch(t=>{throw d||delete n[h],("Failed to fetch"===t.message||"NetworkError when attempting to fetch resource."===t.message||"Load failed"===t.message)&&(0,s.markAssetError)(t),t})};return d&&u?f({}).then(t=>("no-cache"!==t.response.headers.get("x-middleware-cache")&&(n[h]=Promise.resolve(t)),t)):void 0!==n[h]?n[h]:n[h]=f(c?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function V(t){let{url:r,router:n}=t;if(r===(0,E.addBasePath)((0,w.addLocale)(n.asPath,n.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+r+" "+location.href);window.location.href=r}let G=t=>{let{route:r,router:n}=t,i=!1,o=n.clc=()=>{i=!0};return()=>{if(i){let t=Error('Abort fetching component for route: "'+r+'"');throw t.cancelled=!0,t}o===n.clc&&(n.clc=null)}};class W{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(t,r,n){return void 0===n&&(n={}),{url:t,as:r}=$(this,t,r),this.change("pushState",t,r,n)}replace(t,r,n){return void 0===n&&(n={}),{url:t,as:r}=$(this,t,r),this.change("replaceState",t,r,n)}async _bfl(t,r,n,i){{let u=!1,c=!1;for(let d of[t,r])if(d){let r=(0,a.removeTrailingSlash)(new URL(d,"http://n").pathname),h=(0,E.addBasePath)((0,w.addLocale)(r,n||this.locale));if(r!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,s,l;for(let t of(u=u||!!(null==(o=this._bfl_s)?void 0:o.contains(r))||!!(null==(s=this._bfl_s)?void 0:s.contains(h)),[r,h])){let r=t.split("/");for(let t=0;!c&&t<r.length+1;t++){let n=r.slice(0,t).join("/");if(n&&(null==(l=this._bfl_d)?void 0:l.contains(n))){c=!0;break}}}if(u||c){if(i)return!0;return V({url:(0,E.addBasePath)((0,w.addLocale)(t,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(t,r,n,i,o){var c,d,h,x,k,O,P,M,N;let L,U;if(!(0,T.isLocalURL)(r))return V({url:r,router:this}),!1;let z=1===i._h;z||i.shallow||await this._bfl(n,void 0,i.locale);let H=z||i._shouldResolveHref||(0,b.parsePath)(r).pathname===(0,b.parsePath)(n).pathname,q={...this.state},G=!0!==this.isReady;this.isReady=!0;let K=this.isSsr;if(z||(this.isSsr=!1),z&&this.clc)return!1;let Y=q.locale;f.ST&&performance.mark("routeChange");let{shallow:Z=!1,scroll:X=!0}=i,J={shallow:Z};this._inFlightRoute&&this.clc&&(K||W.events.emit("routeChangeError",D(),this._inFlightRoute,J),this.clc(),this.clc=null),n=(0,E.addBasePath)((0,w.addLocale)((0,A.hasBasePath)(n)?(0,S.removeBasePath)(n):n,i.locale,this.defaultLocale));let Q=(0,_.removeLocale)((0,A.hasBasePath)(n)?(0,S.removeBasePath)(n):n,q.locale);this._inFlightRoute=n;let ee=Y!==q.locale;if(!z&&this.onlyAHashChange(Q)&&!ee){q.asPath=Q,W.events.emit("hashChangeStart",n,J),this.changeState(t,r,n,{...i,scroll:!1}),X&&this.scrollToHash(Q);try{await this.set(q,this.components[q.route],null)}catch(t){throw(0,u.default)(t)&&t.cancelled&&W.events.emit("routeChangeError",t,Q,J),t}return W.events.emit("hashChangeComplete",n,J),!0}let et=(0,m.parseRelativeUrl)(r),{pathname:er,query:en}=et;try{[L,{__rewrites:U}
1]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(t){return V({url:n,router:this}),!1}this.urlIsNew(Q)||ee||(t="replaceState");let ei=n;er=er?(0,a.removeTrailingSlash)((0,S.removeBasePath)(er)):er;let eo=(0,a.removeTrailingSlash)(er),ea=n.startsWith("/")&&(0,m.parseRelativeUrl)(n).pathname;if(null==(c=this.components[er])?void 0:c.__appRouter)return V({url:n,router:this}),new Promise(()=>{});let es=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,g.getRouteMatcher)((0,y.getRouteRegex)(eo))(ea))),el=!i.shallow&&await F({asPath:n,locale:q.locale,router:this});if(z&&el&&(H=!1),H&&"/_error"!==er&&(i._shouldResolveHref=!0,et.pathname=j(er,L),et.pathname===er||(er=et.pathname,et.pathname=(0,E.addBasePath)(er),el||(r=(0,v.formatWithValidation)(et)))),!(0,T.isLocalURL)(n))return V({url:n,router:this}),!1;ei=(0,_.removeLocale)((0,S.removeBasePath)(ei),q.locale),eo=(0,a.removeTrailingSlash)(er);let eu=!1;if((0,p.isDynamicRoute)(eo)){let t=(0,m.parseRelativeUrl)(ei),i=t.pathname,o=(0,y.getRouteRegex)(eo);eu=(0,g.getRouteMatcher)(o)(i);let a=eo===i,s=a?(0,I.interpolateAs)(eo,i,en):{};if(eu&&(!a||s.result))a?n=(0,v.formatWithValidation)(Object.assign({},t,{pathname:s.result,query:(0,R.omit)(en,s.params)})):Object.assign(en,eu);else{let t=Object.keys(o.groups).filter(t=>!en[t]&&!o.groups[t].optional);if(t.length>0&&!el)throw Error((a?"The provided `href` ("+r+") value is missing query values ("+t.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+i+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}z||W.events.emit("routeChangeStart",n,J);let ec="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:er,query:en,as:n,resolvedAs:ei,routeProps:J,locale:q.locale,isPreview:q.isPreview,hasMiddleware:el,unstable_skipClientCache:i.unstable_skipClientCache,isQueryUpdating:z&&!this.isFallback,isMiddlewareRewrite:es});if(z||i.shallow||await this._bfl(n,"resolvedAs"in a?a.resolvedAs:void 0,q.locale),"route"in a&&el){eo=er=a.route||eo,J.shallow||(en=Object.assign({},a.query||{},en));let t=(0,A.hasBasePath)(et.pathname)?(0,S.removeBasePath)(et.pathname):et.pathname;if(eu&&er!==t&&Object.keys(eu).forEach(t=>{eu&&en[t]===eu[t]&&delete en[t]}),(0,p.isDynamicRoute)(er)){let t=!J.shallow&&a.resolvedAs?a.resolvedAs:(0,E.addBasePath)((0,w.addLocale)(new URL(n,location.href).pathname,q.locale),!0);(0,A.hasBasePath)(t)&&(t=(0,S.removeBasePath)(t));let r=(0,y.getRouteRegex)(er),i=(0,g.getRouteMatcher)(r)(new URL(t,location.href).pathname);i&&Object.assign(en,i)}}if("type"in a){if("redirect-internal"===a.type)return this.change(t,a.newUrl,a.newAs,i);return V({url:a.destination,router:this}),new Promise(()=>{})}let s=a.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(t=>{(0,l.handleClientScriptLoad)(t.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){i.locale=!1;let r=a.props.pageProps.__N_REDIRECT;if(r.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,m.parseRelativeUrl)(r);n.pathname=j(n.pathname,L);let{url:o,as:a}=$(this,r,r);return this.change(t,o,a,i)}return V({url:r,router:this}),new Promise(()=>{})}if(q.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let t;try{await this.fetchComponent("/404"),t="/404"}catch(r){t="/_error"}if(a=await this.getRouteInfo({route:t,pathname:t,query:en,as:n,resolvedAs:ei,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}z&&"/_error"===this.pathname&&(null==(h=self.__NEXT_DATA__.props)?void 0:null==(d=h.pageProps)?void 0:d.statusCode)===500&&(null==(x=a.props)?void 0:x.pageProps)&&(a.props.pageProps.statusCode=500);let c=i.shallow&&q.route===(null!=(k=a.route)?k:eo),f=null!=(O=i.scroll)?O:!z&&!c,v=null!=o?o:f?{x:0,y:0}:null,b={...q,route:eo,pathname:er,query:en,asPath:Q,isFallback:!1};if(z&&ec){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:en,as:n,resolvedAs:ei,routeProps:{shallow:!1},locale:q.locale,isPreview:q.isPreview,isQueryUpdating:z&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(M=self.__NEXT_DATA__.props)?void 0:null==(P=M.pageProps)?void 0:P.statusCode)===500&&(null==(N=a.props)?void 0:N.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(b,a,v)}catch(t){throw(0,u.default)(t)&&t.cancelled&&W.events.emit("routeChangeError",t,Q,J),t}return!0}if(W.events.emit("beforeHistoryChange",n,J),this.changeState(t,r,n,i),!(z&&!v&&!G&&!ee&&(0,C.compareRouterStates)(b,this.state))){try{await this.set(b,a,v)}catch(t){if(t.cancelled)a.error=a.error||t;else throw t}if(a.error)throw z||W.events.emit("routeChangeError",a.error,Q,J),a.error;z||W.events.emit("routeChangeComplete",n,J),f&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(t){if((0,u.default)(t)&&t.cancelled)return!1;throw t}}changeState(t,r,n,i){void 0===i&&(i={}),("pushState"!==t||(0,f.getURL)()!==n)&&(this._shallow=i.shallow,window.history[t]({url:r,as:n,options:i,__N:!0,key:this._key="pushState"!==t?this._key:q()},"",n))}async handleRouteInfoError(t,r,n,i,o,a){if(t.cancelled)throw t;if((0,s.isAssetError)(t)||a)throw W.events.emit("routeChangeError",t,i,o),V({url:i,router:this}),D();try{let i;let{page:o,styleSheets:a}
1=await this.fetchComponent("/_error"),s={props:i,Component:o,styleSheets:a,err:t,error:t};if(!s.props)try{s.props=await this.getInitialProps(o,{err:t,pathname:r,query:n})}catch(t){s.props={}}return s}catch(t){return this.handleRouteInfoError((0,u.default)(t)?t:Error(t+""),r,n,i,o,!0)}}async getRouteInfo(t){let{route:r,pathname:n,query:i,as:o,resolvedAs:s,routeProps:l,locale:c,hasMiddleware:h,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:m,isMiddlewareRewrite:g,isNotFound:y}=t,b=r;try{var w,_,E,A;let t=this.components[b];if(l.shallow&&t&&this.route===b)return t;let r=G({route:b,router:this});h&&(t=void 0);let u=!t||"initial"in t?void 0:t,x={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:n,query:i}),skipInterpolation:!0,asPath:y?"/404":s,locale:c}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:m?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:m},O=m&&!g?null:await U({fetchData:()=>H(x),asPath:y?"/404":s,locale:c,router:this}).catch(t=>{if(m)return null;throw t});if(O&&("/_error"===n||"/404"===n)&&(O.effect=void 0),m&&(O?O.json=self.__NEXT_DATA__.props:O={json:self.__NEXT_DATA__.props}),r(),(null==O?void 0:null==(w=O.effect)?void 0:w.type)==="redirect-internal"||(null==O?void 0:null==(_=O.effect)?void 0:_.type)==="redirect-external")return O.effect;if((null==O?void 0:null==(E=O.effect)?void 0:E.type)==="rewrite"){let r=(0,a.removeTrailingSlash)(O.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!m||o.includes(r))&&(b=r,n=O.effect.resolvedHref,i={...i,...O.effect.parsedAs.query},s=(0,S.removeBasePath)((0,d.normalizeLocalePath)(O.effect.parsedAs.pathname,this.locales).pathname),t=this.components[b],l.shallow&&t&&this.route===b&&!h))return{...t,route:b}}if((0,k.isAPIRoute)(b))return V({url:o,router:this}),new Promise(()=>{});let P=u||await this.fetchComponent(b).then(t=>({Component:t.page,styleSheets:t.styleSheets,__N_SSG:t.mod.__N_SSG,__N_SSP:t.mod.__N_SSP})),C=null==O?void 0:null==(A=O.response)?void 0:A.headers.get("x-middleware-skip"),T=P.__N_SSG||P.__N_SSP;C&&(null==O?void 0:O.dataHref)&&delete this.sdc[O.dataHref];let{props:M,cacheKey:R}=await this._getData(async()=>{if(T){if((null==O?void 0:O.json)&&!C)return{cacheKey:O.cacheKey,props:O.json};let t=(null==O?void 0:O.dataHref)?O.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:n,query:i}),asPath:s,locale:c}),r=await H({dataHref:t,isServerRender:this.isSsr,parseJSON:!0,inflightCache:C?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:r.cacheKey,props:r.json||{}}}return{headers:{},props:await this.getInitialProps(P.Component,{pathname:n,query:i,asPath:o,locale:c,locales:this.locales,defaultLocale:this.defaultLocale})}});return P.__N_SSP&&x.dataHref&&R&&delete this.sdc[R],this.isPreview||!P.__N_SSG||m||H(Object.assign({},x,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),M.pageProps=Object.assign({},M.pageProps),P.props=M,P.route=b,P.query=i,P.resolvedAs=s,this.components[b]=P,P}catch(t){return this.handleRouteInfoError((0,u.getProperError)(t),n,i,o,l)}}set(t,r,n){return this.state=t,this.sub(r,this.components["/_app"].Component,n)}beforePopState(t){this._bps=t}onlyAHashChange(t){if(!this.asPath)return!1;let[r,n]=this.asPath.split("#",2),[i,o]=t.split("#",2);return!!o&&r===i&&n===o||r===i&&n!==o}scrollToHash(t){let[,r=""]=t.split("#",2);(0,N.handleSmoothScroll)(()=>{if(""===r||"top"===r){window.scrollTo(0,0);return}let t=decodeURIComponent(r),n=document.getElementById(t);if(n){n.scrollIntoView();return}let i=document.getElementsByName(t)[0];i&&i.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(t)}
1)}urlIsNew(t){return this.asPath!==t}async prefetch(t,r,n){if(void 0===r&&(r=t),void 0===n&&(n={}),(0,M.isBot)(window.navigator.userAgent))return;let i=(0,m.parseRelativeUrl)(t),o=i.pathname,{pathname:s,query:l}=i,u=s,c=await this.pageLoader.getPageList(),d=r,h=void 0!==n.locale?n.locale||void 0:this.locale,f=await F({asPath:r,locale:h,router:this});i.pathname=j(i.pathname,c),(0,p.isDynamicRoute)(i.pathname)&&(s=i.pathname,i.pathname=s,Object.assign(l,(0,g.getRouteMatcher)((0,y.getRouteRegex)(i.pathname))((0,b.parsePath)(r).pathname)||{}),f||(t=(0,v.formatWithValidation)(i)));let w=await U({fetchData:()=>H({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:u,query:l}),skipInterpolation:!0,asPath:d,locale:h}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:r,locale:h,router:this});if((null==w?void 0:w.effect.type)==="rewrite"&&(i.pathname=w.effect.resolvedHref,s=w.effect.resolvedHref,l={...l,...w.effect.parsedAs.query},d=w.effect.parsedAs.pathname,t=(0,v.formatWithValidation)(i)),(null==w?void 0:w.effect.type)==="redirect-external")return;let _=(0,a.removeTrailingSlash)(s);await this._bfl(r,d,n.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(_).then(r=>!!r&&H({dataHref:(null==w?void 0:w.json)?null==w?void 0:w.dataHref:this.pageLoader.getDataHref({href:t,asPath:d,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](_)])}async fetchComponent(t){let r=G({route:t,router:this});try{let n=await this.pageLoader.loadPage(t);return r(),n}catch(t){throw r(),t}}_getData(t){let r=!1,n=()=>{r=!0};return this.clc=n,t().then(t=>{if(n===this.clc&&(this.clc=null),r){let t=Error("Loading initial props cancelled");throw t.cancelled=!0,t}return t})}_getFlightData(t){return H({dataHref:t,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(t=>{let{text:r}=t;return{data:r}})}getInitialProps(t,r){let{Component:n}=this.components["/_app"],i=this._wrapApp(n);return r.AppTree=i,(0,f.loadGetInitialProps)(n,{AppTree:i,Component:t,router:this,ctx:r})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(t,r,i,{initialProps:o,pageLoader:s,App:l,wrapApp:u,Component:c,err:d,subscription:h,isFallback:g,locale:y,locales:b,defaultLocale:w,domainLocales:_,isPreview:S}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=t=>{let r;let{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let i=t.state;if(!i){let{pathname:t,query:r}=this;this.changeState("replaceState",(0,v.formatWithValidation)({pathname:(0,E.addBasePath)(t),query:r}),(0,f.getURL)());return}if(i.__NA){window.location.reload();return}if(!i.__N||n&&this.locale===i.options.locale&&i.as===this.asPath)return;let{url:o,as:a,options:s,key:l}=i;this._key=l;let{pathname:u}=(0,m.parseRelativeUrl)(o);(!this.isSsr||a!==(0,E.addBasePath)(this.asPath)||u!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(i))&&this.change("replaceState",o,a,Object.assign({},s,{shallow:s.shallow&&this._shallow,locale:s.locale||this.defaultLocale,_h:0}),r)};let A=(0,a.removeTrailingSlash)(t);this.components={},"/_error"!==t&&(this.components[A]={Component:c,initial:!0,props:o,err:d,__N_SSG:o&&o.__N_SSG,__N_SSP:o&&o.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:t}=n(69970),r={numItems:10,errorRate:1e-4,numBits:192,numHashes:14,bitArray:[1,0,0,1,1,0,1,1,0,1,0,1,0,1,1,0,0,0,1,1,0,1,1,0,0,1,1,1,1,0,0,1,0,1,0,1,0,1,0,0,1,1,0,0,0,0,1,1,1,0,0,1,1,0,1,0,0,0,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,1,1,1,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,1,1,0,0,0,0,0,1,0,1,1,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,1,0,0,0,1,1,1,1,0,1,0,1,1,1,0,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,1,0,1]},i={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==r?void 0:r.numHashes)&&(this._bfl_s=new t(r.numItems,r.errorRate),this._bfl_s.import(r)),(null==i?void 0:i.numHashes)&&(this._bfl_d=new t(i.numItems,i.errorRate),this._bfl_d.import(i))}this.events=W.events,this.pageLoader=s;let x=(0,p.isDynamicRoute)(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!x&&!self.location.search),this.state={route:A,pathname:t,query:r,asPath:x?t:i,isPreview:!!S,locale:void 0,isFallback:g},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!i.startsWith("//")){let n={locale:y},o=(0,f.getURL)();this._initialMatchesMiddlewarePromise=F({router:this,locale:y,asPath:o}).then(a=>(n._shouldResolveHref=i!==t,this.changeState("replaceState",a?o:(0,v.formatWithValidation)({pathname:(0,E.addBasePath)(t),query:r}),o,n),a))}window.addEventListener("popstate",this.onPopState)}}W.events=(0,h.default)()},68043:function(t,r,n){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return a}});let i=n(77652),o=n(25298);function a(t,r,n,a){if(!r||r===n)return t;let s=t.toLowerCase();return!a&&((0,o.pathHasPrefix)(s,"/api")||(0,o.pathHasPrefix)(s,"/"+r.toLowerCase()))?t:(0,i.addPathPrefix)(t,"/"+r)}},77652:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return o}});let i=n(80626);function o(t,r){if(!t.startsWith("/")||!r)return t;let{pathname:n,query:o,hash:a}=(0,i.parsePath)(t);return""+r+n+o+a}},96152:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return o}});let i=n(80626);function o(t,r){if(!t.startsWith("/")||!r)return t;let{pathname:n,query:o,hash:a}=(0,i.parsePath)(t);return""+n+r+o+a}},42340:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return s}});let i=n(75078),o=n(73737);function a(t){return(0,i.ensureLeadingSlash)(t.split("/").reduce((t,r,n,i)=>!r||(0,o.isGroupSegment)(r)||"@"===r[0]||("page"===r||"route"===r)&&n===i.length-1?t:t+"/"+r,""))}function s(t){return t.replace(/\.rsc($|\?)/,"$1")}},4232:function(t,r){"use strict";function n(t){return new URL(t,"http://n").searchParams}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"asPathToSearchParams",{enumerable:!0,get:function(){return n}})},9012:function(t,r){"use strict";function n(t,r){let n=Object.keys(t);if(n.length!==Object.keys(r).length)return!1;for(let i=n.length;i--;){let o=n[i];if("query"===o){let n=Object.keys(t.query);if(n.length!==Object.keys(r.query).length)return!1;for(let i=n.length;i--;){let o=n[i];if(!r.query.hasOwnProperty(o)||t.query[o]!==r.query[o])return!1}}else if(!r.hasOwnProperty(o)||t[o]!==r[o])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return n}})},15604:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let i=n(33575),o=n(77652),a=n(96152),s=n(68043);function l(t){let r=(0,s.addLocale)(t.pathname,t.locale,t.buildId?void 0:t.defaultLocale,t.ignorePrefix);return(t.buildId||!t.trailingSlash)&&(r=(0,i.removeTrailingSlash)(r)),t.buildId&&(r=(0,a.addPathSuffix)((0,o.addPathPrefix)(r,"/_next/data/"+t.buildId),"/"===t.pathname?"index.json":".json")),r=(0,o.addPathPrefix)(r,t.basePath),!t.buildId&&t.trailingSlash?r.endsWith("/")?r:(0,a.addPathSuffix)(r,"/"):(0,i.removeTrailingSlash)(r)}},5058:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{formatUrl:function(){return a},formatWithValidation:function(){return l},urlObjectKeys:function(){return s}});let i=n(61757)._(n(38600)),o=/https?|ftp|gopher|file/;function a(t){let{auth:r,hostname:n}=t,a=t.protocol||"",s=t.pathname||"",l=t.hash||"",u=t.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",t.host?c=r+t.host:n&&(c=r+(~n.indexOf(":")?"["+n+"]":n),t.port&&(c+=":"+t.port)),u&&"object"==typeof u&&(u=String(i.urlQueryToSearchParams(u)));let d=t.search||u&&"?"+u||"";return a&&!a.endsWith(":")&&(a+=":"),t.slashes||(!a||o.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),""+a+c+(s=s.replace(/[?#]/g,encodeURIComponent))+(d=d.replace("#","%23"))+l}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(t){return a(t)}},20116:function(t,r){"use strict";function n(t,r){return void 0===r&&(r=""),("/"===t?"/index":/^\/index(\/|$)/.test(t)?"/index"+t:t)+r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},58754:function(t,r,n){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return s}});let i=n(91623),o=n(43691),a=n(25298);function s(t,r){var n,s;let{basePath:l,i18n:u,trailingSlash:c}=null!=(n=r.nextConfig)?n:{},d={pathname:t,trailingSlash:"/"!==t?t.endsWith("/"):c};l&&(0,a.pathHasPrefix)(d.pathname,l)&&(d.pathname=(0,o.removePathPrefix)(d.pathname,l),d.basePath=l);let h=d.pathname;if(d.pathname.startsWith("/_next/data/")&&d.pathname.endsWith(".json")){let t=d.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),n=t[0];d.buildId=n,h="index"!==t[1]?"/"+t.slice(1).join("/"):"/",!0===r.parseData&&(d.pathname=h)}if(u){let t=r.i18nProvider?r.i18nProvider.analyze(d.pathname):(0,i.normalizeLocalePath)(d.pathname,u.locales);d.locale=t.detectedLocale,d.pathname=null!=(s=t.pathname)?s:d.pathname,!t.detectedLocale&&d.buildId&&(t=r.i18nProvider?r.i18nProvider.analyze(h):(0,i.normalizeLocalePath)(h,u.locales)).detectedLocale&&(d.locale=t.detectedLocale)}return d}},12179:function(t,r){"use strict";function n(t,r){if(void 0===r&&(r={}),r.onlyHashChange){t();return}let n=document.documentElement,i=n.style.scrollBehavior;n.style.scrollBehavior="auto",r.dontForceLayout||n.getClientRects(),t(),n.style.scrollBehavior=i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},72189:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let i=n(317),o=n(31735)},37399:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interpolateAs",{enumerable:!0,get:function(){return a}});let i=n(43323),o=n(36309);function a(t,r,n){let a="",s=(0,o.getRouteRegex)(t),l=s.groups,u=(r!==t?(0,i.getRouteMatcher)(s)(r):"")||n;a=t;let c=Object.keys(l);return c.every(t=>{let r=u[t]||"",{repeat:n,optional:i}=l[t],o="["+(n?"...":"")+t+"]";return i&&(o=(r?"":"/")+"["+o+"]"),n&&!Array.isArray(r)&&(r=[r]),(i||t in u)&&(a=a.replace(o,n?r.map(t=>encodeURIComponent(t)).join("/"):encodeURIComponent(r))||"/")})||(a=""),{params:c,result:a}}},6312:function(t,r){"use strict";function n(t){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(t)}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isBot",{enumerable:!0,get:function(){return n}})},31735:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let i=n(92407),o=/\/\[[^/]+?\](?=\/|$)/;function a(t){return(0,i.isInterceptionRouteAppPath)(t)&&(t=(0,i.extractInterceptionRouteInformation)(t).interceptedRoute),o.test(t)}},65853:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let i=n(45782),o=n(71838);function a(t){if(!(0,i.isAbsoluteUrl)(t))return!0;try{let r=(0,i.getLocationOrigin)(),n=new URL(t,r);return n.origin===r&&(0,o.hasBasePath)(n.pathname)}catch(t){return!1}}},12795:function(t,r){"use strict";function n(t,r){let n={};return Object.keys(t).forEach(i=>{r.includes(i)||(n[i]=t[i])}),n}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return n}})},80626:function(t,r){"use strict";function n(t){let r=t.indexOf("#"),n=t.indexOf("?"),i=n>-1&&(r<0||n<r);return i||r>-1?{pathname:t.substring(0,i?n:r),query:i?t.substring(n,r>-1?r:void 0):"",hash:r>-1?t.slice(r):""}:{pathname:t,query:"",hash:""}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return n}})},62757:function(t,r,n){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let i=n(45782),o=n(38600);function a(t,r){let n=new URL((0,i.getLocationOrigin)()),a=r?new URL(r,n):t.startsWith(".")?new URL(window.location.href):n,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:h}=new URL(t,a);if(h!==n.origin)throw Error("invariant: invalid relative URL, router received "+t);return{pathname:s,query:(0,o.searchParamsToUrlQuery)(l),search:u,hash:c,href:d.slice(n.origin.length)}}},25298:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let i=n(80626);function o(t,r){if("string"!=typeof t)return!1;let{pathname:n}=(0,i.parsePath)(t);return n===r||n.startsWith(r+"/")}},38600:function(t,r){"use strict";function n(t){let r={};return t.forEach((t,n)=>{void 0===r[n]?r[n]=t:Array.isArray(r[n])?r[n].push(t):r[n]=[r[n],t]}),r}function i(t){return"string"!=typeof t&&("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function o(t){let r=new URLSearchParams;return Object.entries(t).forEach(t=>{let[n,o]=t;Array.isArray(o)?o.forEach(t=>r.append(n,i(t))):r.set(n,i(o))}),r}function a(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.forEach(r=>{Array.from(r.keys()).forEach(r=>t.delete(r)),r.forEach((r,n)=>t.append(n,r))}),t}Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{assign:function(){return a},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},43691:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return o}});let i=n(25298);function o(t,r){if(!(0,i.pathHasPrefix)(t,r))return t;let n=t.slice(r.length);return n.startsWith("/")?n:"/"+n}},33575:function(t,r){"use strict";function n(t){return t.replace(/\/$/,"")||"/"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},43323:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let i=n(45782);function o(t){let{re:r,groups:n}=t;return t=>{let o=r.exec(t);if(!o)return!1;let a=t=>{try{return decodeURIComponent(t)}catch(t){throw new i.DecodeError("failed to decode param")}},s={};return Object.keys(n).forEach(t=>{let r=n[t],i=o[r.pos];void 0!==i&&(s[t]=~i.indexOf("/")?i.split("/").map(t=>a(t)):r.repeat?[a(i)]:a(i))}),s}}},36309:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return c},parseParameter:function(){return l}});let i=n(92350),o=n(92407),a=n(34592),s=n(33575);function l(t){let r=t.startsWith("[")&&t.endsWith("]");r&&(t=t.slice(1,-1));let n=t.startsWith("...");return n&&(t=t.slice(3)),{key:t,repeat:n,optional:r}}function u(t){let r=(0,s.removeTrailingSlash)(t).slice(1).split("/"),n={},i=1;return{parameterizedRoute:r.map(t=>{let r=o.INTERCEPTION_ROUTE_MARKERS.find(r=>t.startsWith(r)),s=t.match(/\[((?:\[.*\])|.+)\]/);if(r&&s){let{key:t,optional:o,repeat:u}=l(s[1]);return n[t]={pos:i++,repeat:u,optional:o},"/"+(0,a.escapeStringRegexp)(r)+"([^/]+?)"}if(!s)return"/"+(0,a.escapeStringRegexp)(t);{let{key:t,repeat:r,optional:o}=l(s[1]);return n[t]={pos:i++,repeat:r,optional:o},r?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function c(t){let{parameterizedRoute:r,groups:n}=u(t);return{re:RegExp("^"+r+"(?:/)?$"),groups:n}}function d(t){let{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:o,keyPrefix:s}=t,{key:u,optional:c,repeat:d}=l(i),h=u.replace(/\W/g,"");s&&(h=""+s+h);let f=!1;(0===h.length||h.length>30)&&(f=!0),isNaN(parseInt(h.slice(0,1)))||(f=!0),f&&(h=n()),s?o[h]=""+s+u:o[h]=u;let p=r?(0,a.escapeStringRegexp)(r):"";return d?c?"(?:/"+p+"(?<"+h+">.+?))?":"/"+p+"(?<"+h+">.+?)":"/"+p+"(?<"+h+">[^/]+?)"}function h(t,r){let n;let l=(0,s.removeTrailingSlash)(t).slice(1).split("/"),u=(n=0,()=>{let t="",r=++n;for(;r>0;)t+=String.fromCharCode(97+(r-1)%26),r=Math.floor((r-1)/26);return t}),c={};return{namedParameterizedRoute:l.map(t=>{let n=o.INTERCEPTION_ROUTE_MARKERS.some(r=>t.startsWith(r)),s=t.match(/\[((?:\[.*\])|.+)\]/);if(n&&s){let[n]=t.split(s[0]);return d({getSafeRouteKey:u,interceptionMarker:n,segment:s[1],routeKeys:c,keyPrefix:r?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return s?d({getSafeRouteKey:u,segment:s[1],routeKeys:c,keyPrefix:r?i.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,a.escapeStringRegexp)(t)}).join(""),routeKeys:c}}function f(t,r){let n=h(t,r);return{...c(t),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function p(t,r){let{parameterizedRoute:n}
1=u(t),{catchAll:i=!0}=r;if("/"===n)return{namedRegex:"^/"+(i?".*":"")+"$"};let{namedParameterizedRoute:o}=h(t,!1);return{namedRegex:"^"+o+(i?"(?:(/.*)?)":"")+"$"}}},317:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSortedRoutes",{enumerable:!0,get:function(){return i}});class n{insert(t){this._insert(t.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(t){void 0===t&&(t="/");let r=[...this.children.keys()].sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);let n=r.map(r=>this.children.get(r)._smoosh(""+t+r+"/")).reduce((t,r)=>[...t,...r],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(t+"["+this.slugName+"]/")),!this.placeholder){let r="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+r+'" and "'+r+"[[..."+this.optionalRestSlugName+']]").');n.unshift(r)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(t+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(t+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(t,r,i){if(0===t.length){this.placeholder=!1;return}if(i)throw Error("Catch-all must be the last part of the URL.");let o=t[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),s=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),s=!0),n.startsWith("...")&&(n=n.substring(3),i=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function a(t,n){if(null!==t&&t!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+t+"' !== '"+n+"').");r.forEach(t=>{if(t===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(t.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+t+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),r.push(n)}if(i){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');a(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+t[0]+'").');a(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');a(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(t.slice(1),r,i)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function i(t){let r=new n;return t.forEach(t=>r.insert(t)),r.smoosh()}},45758:function(t,r){"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return i},setConfig:function(){return o}});let i=()=>n;function o(t){n=t}},73737:function(t,r){"use strict";function n(t){return"("===t[0]&&t.endsWith(")")}Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return i},isGroupSegment:function(){return n}});let i="__PAGE__",o="__DEFAULT__"},3657:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let i=n(67294),o=i.useLayoutEffect,a=i.useEffect;function s(t){let{headManager:r,reduceComponentsToState:n}=t;function s(){if(r&&r.mountedInstances){let o=i.Children.toArray(Array.from(r.mountedInstances).filter(
1Boolean));r.updateHead(n(o,t))}}return o(()=>{var n;return null==r||null==(n=r.mountedInstances)||n.add(t.children),()=>{var n;null==r||null==(n=r.mountedInstances)||n.delete(t.children)}}),o(()=>(r&&(r._pendingUpdate=s),()=>{r&&(r._pendingUpdate=s)})),a(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},45782:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DecodeError:function(){return m},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return v},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return s},getURL:function(){return l},isAbsoluteUrl:function(){return a},isResSent:function(){return c},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return w}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function i(t){let r,n=!1;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n||(n=!0,r=t(...o)),r}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=t=>o.test(t);function s(){let{protocol:t,hostname:r,port:n}=window.location;return t+"//"+r+(n?":"+n:"")}function l(){let{href:t}=window.location,r=s();return t.substring(r.length)}function u(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function c(t){return t.finished||t.headersSent}function d(t){let r=t.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function h(t,r){let n=r.res||r.ctx&&r.ctx.res;if(!t.getInitialProps)return r.ctx&&r.Component?{pageProps:await h(r.Component,r.ctx)}:{};let i=await t.getInitialProps(r);if(n&&c(n))return i;if(!i)throw Error('"'+u(t)+'.getInitialProps()" should resolve to an object. But found "'+i+'" instead.');return i}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class m extends Error{}class g extends Error{}class y extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}}class v extends Error{constructor(t,r){super(),this.message="Failed to load static file for page: "+t+" "+r}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(t){return JSON.stringify({message:t.message,stack:t.stack})}},79784:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},78018:function(t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,b,w,_,S,E,A,x,k,O,P,C,T,M,R,I,N,D,F,L,$,j,U,B,z,H,q,V,G,W;(r={}).d=function(t,n){for(var i in n)r.o(n,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},void 0!==r&&(r.ab="//"),n={},r.r(n),r.d(n,{getCLS:function(){return A},getFCP:function(){return _},getFID:function(){return M},getINP:function(){return H},getLCP:function(){return V},getTTFB:function(){return W},onCLS:function(){return A},onFCP:function(){return _},onFID:function(){return M},onINP:function(){return H},onLCP:function(){return V},onTTFB:function(){return W}}),u=-1,c=function(t){addEventListener("pageshow",function(r){r.persisted&&(u=r.timeStamp,t(r))},!0)},d=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},h=function(){var t=d();return t&&t.activationStart||0},f=function(t,r){var n=d(),i="navigate";return u>=0?i="back-forward-cache":n&&(i=document.prerendering||h()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===r?-1:r,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:i}},p=function(t,r,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var i=new PerformanceObserver(function(t){r(t.getEntries())});return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}}
1,m=function(t,r){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(t(i),r&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},g=function(t,r,n,i){var o,a;return function(s){var l;r.value>=0&&(s||i)&&((a=r.value-(o||0))||void 0===o)&&(o=r.value,r.delta=a,r.rating=(l=r.value)>n[1]?"poor":l>n[0]?"needs-improvement":"good",t(r))}},y=-1,v=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},b=function(){m(function(t){y=t.timeStamp},!0)},w=function(){return y<0&&(y=v(),b(),c(function(){setTimeout(function(){y=v(),b()},0)})),{get firstHiddenTime(){return y}}},_=function(t,r){r=r||{};var n,i=[1800,3e3],o=w(),a=f("FCP"),s=function(t){t.forEach(function(t){"first-contentful-paint"===t.name&&(u&&u.disconnect(),t.startTime<o.firstHiddenTime&&(a.value=t.startTime-h(),a.entries.push(t),n(!0)))})},l=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],u=l?null:p("paint",s);(l||u)&&(n=g(t,a,i,r.reportAllChanges),l&&s([l]),c(function(o){n=g(t,a=f("FCP"),i,r.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-o.timeStamp,n(!0)})})}))},S=!1,E=-1,A=function(t,r){r=r||{};var n=[.1,.25];S||(_(function(t){E=t.value}),S=!0);var i,o=function(r){E>-1&&t(r)},a=f("CLS",0),s=0,l=[],u=function(t){t.forEach(function(t){if(!t.hadRecentInput){var r=l[0],n=l[l.length-1];s&&t.startTime-n.startTime<1e3&&t.startTime-r.startTime<5e3?(s+=t.value,l.push(t)):(s=t.value,l=[t]),s>a.value&&(a.value=s,a.entries=l,i())}})},d=p("layout-shift",u);d&&(i=g(o,a,n,r.reportAllChanges),m(function(){u(d.takeRecords()),i(!0)}),c(function(){s=0,E=-1,i=g(o,a=f("CLS",0),n,r.reportAllChanges)}))},x={passive:!0,capture:!0},k=new Date,O=function(t,r){i||(i=r,o=t,a=new Date,T(removeEventListener),P())},P=function(){if(o>=0&&o<a-k){var t={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+o};s.forEach(function(r){r(t)}),s=[]}},C=function(t){if(t.cancelable){var r,n,i,o=(t.timeStamp>
11e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?(r=function(){O(o,t),i()},n=function(){i()},i=function(){removeEventListener("pointerup",r,x),removeEventListener("pointercancel",n,x)},addEventListener("pointerup",r,x),addEventListener("pointercancel",n,x)):O(o,t)}},T=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach(function(r){return t(r,C,x)})},M=function(t,r){r=r||{};var n,a=[100,300],l=w(),u=f("FID"),d=function(t){t.startTime<l.firstHiddenTime&&(u.value=t.processingStart-t.startTime,u.entries.push(t),n(!0))},h=function(t){t.forEach(d)},y=p("first-input",h);n=g(t,u,a,r.reportAllChanges),y&&m(function(){h(y.takeRecords()),y.disconnect()},!0),y&&c(function(){n=g(t,u=f("FID"),a,r.reportAllChanges),s=[],o=-1,i=null,T(addEventListener),s.push(d),P()})},R=0,I=1/0,N=0,D=function(t){t.forEach(function(t){t.interactionId&&(I=Math.min(I,t.interactionId),R=(N=Math.max(N,t.interactionId))?(N-I)/7+1:0)})},F=function(){return l?R:performance.interactionCount||0},L=function(){"interactionCount"in performance||l||(l=p("event",D,{type:"event",buffered:!0,durationThreshold:0}))},$=0,j=function(){return F()-$},U=[],B={},z=function(t){var r=U[U.length-1],n=B[t.interactionId];if(n||U.length<10||t.duration>r.latency){if(n)n.entries.push(t),n.latency=Math.max(n.latency,t.duration);else{var i={id:t.interactionId,latency:t.duration,entries:[t]};B[i.id]=i,U.push(i)}U.sort(function(t,r){return r.latency-t.latency}),U.splice(10).forEach(function(t){delete B[t.id]})}},H=function(t,r){r=r||{};var n=[200,500];L();var i,o=f("INP"),a=function(t){t.forEach(function(t){t.interactionId&&z(t),"first-input"!==t.entryType||U.some(function(r){return r.entries.some(function(r){return t.duration===r.duration&&t.startTime===r.startTime})})||z(t)});var r,n=(r=Math.min(U.length-1,Math.floor(j()/50)),U[r]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,i())},s=p("event",a,{durationThreshold:r.durationThreshold||40});i=g(t,o,n,r.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),m(function(){a(s.takeRecords()),o.value<0&&j()>0&&(o.value=0,o.entries=[]),i(!0)}),c(function(){U=[],$=F(),i=g(t,o=f("INP"),n,r.reportAllChanges)}))},q={},V=function(t,r){r=r||{};var n,i=[2500,4e3],o=w(),a=f("LCP"),s=function(t){var r=t[t.length-1];if(r){var i=r.startTime-h();i<o.firstHiddenTime&&(a.value=i,a.entries=[r],n())}},l=p("largest-contentful-paint",s);if(l){n=g(t,a,i,r.reportAllChanges);var u=function(){q[a.id]||(s(l.takeRecords()),l.disconnect(),q[a.id]=!0,n(!0))};["keydown","click"].forEach(function(t){addEventListener(t,u,{once:!0,capture:!0})}),m(u,!0),c(function(o){n=g(t,a=f("LCP"),i,r.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-o.timeStamp,q[a.id]=!0,n(!0)})})})}},G=function t(r){document.prerendering?addEventListener("prerenderingchange",function(){return t(r)},!0):"complete"!==document.readyState?addEventListener("load",function(){return t(r)},!0):setTimeout(r,0)},W=function(t,r){r=r||{};var n=[800,1800],i=f("TTFB"),o=g(t,i,n,r.reportAllChanges);G(function(){var a=d();if(a){if(i.value=Math.max(a.responseStart-h(),0),i.value<0||i.value>performance.now())return;i.entries=[a],o(!0),c(function(){(o=g(t,i=f("TTFB",0),n,r.reportAllChanges))(!0)})}})},t.exports=n},92350:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return P},CACHE_ONE_YEAR:function(){return _},DOT_NEXT_ALIAS:function(){return k},ESLINT_DEFAULT_DIRS:function(){return G},GSP_NO_RETURNED_VALUE:function(){return U},GSSP_COMPONENT_MEMBER_ERROR:function(){return H},GSSP_NO_RETURNED_VALUE:function(){return B},INSTRUMENTATION_HOOK_FILENAME:function(){return A},MIDDLEWARE_FILENAME:function(){return S},MIDDLEWARE_LOCATION_REGEXP:function(){return E},NEXT_BODY_SUFFIX:function(){return h},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return w},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return m},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return g},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return p},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return b},NEXT_CACHE_TAGS_HEADER:function(){return f},NEXT_CACHE_TAG_MAX_ITEMS:function(){return y},NEXT_CACHE_TAG_MAX_LENGTH:function(){return v},NEXT_DATA_SUFFIX:function(){return c},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i}
1,NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return n},NON_STANDARD_NODE_ENV:function(){return q},PAGES_DIR_ALIAS:function(){return x},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return N},ROOT_DIR_ALIAS:function(){return O},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return I},RSC_ACTION_ENCRYPTION_ALIAS:function(){return R},RSC_ACTION_PROXY_ALIAS:function(){return M},RSC_ACTION_VALIDATE_ALIAS:function(){return T},RSC_MOD_REF_PROXY_ALIAS:function(){return C},RSC_PREFETCH_SUFFIX:function(){return s},RSC_SUFFIX:function(){return l},SERVER_PROPS_EXPORT_ERROR:function(){return j},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return F},SERVER_PROPS_SSG_CONFLICT:function(){return L},SERVER_RUNTIME:function(){return W},SSG_FALLBACK_EXPORT_ERROR:function(){return V},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return D},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return $},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return z},WEBPACK_LAYERS:function(){return Y},WEBPACK_RESOURCE_QUERIES:function(){return Z}});let n="nxtP",i="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s=".prefetch.rsc",l=".rsc",u=".action",c=".json",d=".meta",h=".body",f="x-next-cache-tags",p="x-next-cache-soft-tags",m="x-next-revalidated-tags",g="x-next-revalidate-tag-token",y=128,v=256,b=1024,w="_N_T_",_=31536e3,S="middleware",E=`(?:src/)?${S}`,A="instrumentation",x="private-next-pages",k="private-dot-next",O="private-next-root-dir",P="private-next-app-dir",C="private-next-rsc-mod-ref-proxy",T="private-next-rsc-action-validate",M="private-next-rsc-server-reference",R="private-next-rsc-action-encryption",I="private-next-rsc-action-client-wrapper",N="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",D="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",F="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",L="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",$="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",j="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",U="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",B="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",z="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",H="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",q='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',V="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",G=["app","pages","components","lib","src"],W={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},K={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},Y={...K,GROUP:{serverOnly:[K.reactServerComponents,K.actionBrowser,K.appMetadataRoute,K.appRouteHandler,K.instrument],clientOnly:[K.serverSideRendering,K.appPagesBrowser],nonClientServerTarget:[K.middleware,K.api],app:[K.reactServerComponents,K.actionBrowser,K.appMetadataRoute,K.appRouteHandler,K.serverSideRendering,K.appPagesBrowser,K.shared,K.instrument]}},Z={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},79423:function(t,r){"use strict";function n(t){return"/api"===t||!!(null==t?void 0:t.startsWith("/api/"))}
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return n}})},80676:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return o},getProperError:function(){return a}});let i=n(58299);function o(t){return"object"==typeof t&&null!==t&&"name"in t&&"message"in t}function a(t){return o(t)?t:Error((0,i.isPlainObject)(t)?JSON.stringify(t):t+"")}},92407:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return a}});let i=n(42340),o=["(..)(..)","(.)","(..)","(...)"];function a(t){return void 0!==t.split("/").find(t=>o.find(r=>t.startsWith(r)))}function s(t){let r,n,a;for(let i of t.split("/"))if(n=o.find(t=>i.startsWith(t))){[r,a]=t.split(n,2);break}if(!r||!n||!a)throw Error(`Invalid interception route: ${t}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(r=(0,i.normalizeAppPath)(r),n){case"(.)":a="/"===r?`/${a}`:r+"/"+a;break;case"(..)":if("/"===r)throw Error(`Invalid interception route: ${t}. Cannot use (..) marker at the root level, use (.) instead.`);a=r.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let s=r.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${t}. Cannot use (..)(..) marker at the root level or one level up.`);a=s.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:r,interceptedRoute:a}}},25382:function(t,r,n){"use strict";n.d(r,{Z:function(){return V}});var i=function(){function t(t){var r=this;this._insertTag=function(t){var n;n=0===r.tags.length?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(t,n),r.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=t.prototype;return r.hydrate=function(t){t.forEach(this._insertTag)},r.insert=function(t){if(this.ctr%(this.isSpeedy?65e3:1)==0){var r;this._insertTag(((r=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&r.setAttribute("nonce",this.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(t){if(t.sheet)return t.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===t)return document.styleSheets[r]}(n);try{i.insertRule(t,i.cssRules.length)}catch(t){}}else n.appendChild(document.createTextNode(t));this.ctr++}
vendor: 4,731 bytes, line 1
1,r.flush=function(){this.tags.forEach(function(t){var r;return null==(r=t.parentNode)?void 0:r.removeChild(t)}),this.tags=[],this.ctr=0},t}(),o=Math.abs,a=String.fromCharCode,s=Object.assign;function l(t,r,n){return t.replace(r,n)}function u(t,r){return t.indexOf(r)}function c(t,r){return 0|t.charCodeAt(r)}function d(t,r,n){return t.slice(r,n)}function h(t){return t.length}function f(t,r){return r.push(t),t}var p=1,m=1,g=0,y=0,v=0,b="";function w(t,r,n,i,o,a,s){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:p,column:m,length:s,return:""}}function _(t,r){return s(w("",null,null,"",null,null,0),t,{length:-t.length},r)}function S(){return v=y<g?c(b,y++):0,m++,10===v&&(m=1,p++),v}function E(){return c(b,y)}function A(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function x(t){return p=m=1,g=h(b=t),y=0,[]}function k(t){var r,n;return(r=y-1,n=function t(r){for(;S();)switch(v){case r:return y;case 34:case 39:34!==r&&39!==r&&t(v);break;case 40:41===r&&t(r);break;case 92:S()}return y}(91===t?t+2:40===t?t+1:t),d(b,r,n)).trim()}var O="-ms-",P="-moz-",C="-webkit-",T="comm",M="rule",R="decl",I="@keyframes";function N(t,r){for(var n="",i=t.length,o=0;o<i;o++)n+=r(t[o],o,t,r)||"";return n}function D(t,r,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case R:return t.return=t.return||t.value;case T:return"";case I:return t.return=t.value+"{"+N(t.children,i)+"}";case M:t.value=t.props.join(",")}return h(n=N(t.children,i))?t.return=t.value+"{"+n+"}":""}function F(t,r,n,i,a,s,u,c,h,f,p){for(var m=a-1,g=0===a?s:[""],y=g.length,v=0,b=0,_=0;v<i;++v)for(var S=0,E=d(t,m+1,m=o(b=u[v])),A=t;S<y;++S)(A=(b>0?g[S]+" "+E:l(E,/&\f/g,g[S])).trim())&&(h[_++]=A);return w(t,r,n,0===a?M:c,h,f,p)}function L(t,r,n,i){return w(t,r,n,R,d(t,0,i),d(t,i+1,-1),i)}var $=function(t,r,n){for(var i=0,o=0;i=o,o=E(),38===i&&12===o&&(r[n]=1),!A(o);)S();return d(b,t,y)},j=function(t,r){var n=-1,i=44;do switch(A(i)){case 0:38===i&&12===E()&&(r[n]=1),t[n]+=$(y-1,r,n);break;case 2:t[n]+=k(i);break;case 4:if(44===i){t[++n]=58===E()?"&\f":"",r[n]=t[n].length;break}default:t[n]+=a(i)}while(i=S());return t},U=function(t,r){var n;return n=j(x(t),r),b="",n},B=new WeakMap,z=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===r.charCodeAt(0)||B.get(n))&&!i){B.set(t,!0);for(var o=[],a=U(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},H=function(t){if("decl"===t.type){var r=t.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(t.return="",t.value="")}},q=[function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case R:t.return=function t(r,n){switch(45^c(r,0)?(((n<<2^c(r,0))<<2^c(r,1))<<2^c(r,2))<<2^c(r,3):0){case 5103:return C+"print-"+r+r;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return C+r+P+r+O+r+r;case 6828:case 4268:return C+r+O+r+r;case 6165:return C+r+O+"flex-"+r+r;case 5187:return C+r+l(r,/(\w+).+(:[^]+)/,C+"box-$1$2"+O+"flex-$1$2")+r;case 5443:return C+r+O+"flex-item-"+l(r,/flex-|-self/,"")+r;case 4675:return C+r+O+"flex-line-pack"+l(r,/align-content|flex-|-self/,"")+r;case 5548:return C+r+O+l(r,"shrink","negative")+r;case 5292:return C+r+O+l(r,"basis","preferred-size")+r;case 6060:return C+"box-"+l(r,"-grow","")+C+r+O+l(r,"grow","positive")+r;case 4554:return C+l(r,/([^-])(transform)/g,"$1"+C+"$2")+r;case 6187:return l(l(l(r,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),r,"")+r;case 5495:case 3959:return l(r,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return l(l(r,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+r+r;case 4095:case 3583:case 4068:case 2532:return l(r,/(.+)-inline(.+)/,C+"$1$2")+r;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(h(r)-1-n>6)switch(c(r,n+1)){case 109:if(45!==c(r,n+4))break;case 102:return l(r,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+P+(108==c(r,n+3)?"$3":"$2-$3"))+r;case 115:return~u(r,"stretch")?t(l(r,"stretch","fill-available"),n)+r:r}break;case 4949:if(115!==c(r,n+1))break;case 6444:switch(c(r,h(r)-3-(~u(r,"!important")&&10))){case 107:return l(r,"
1:",":"+C)+r;case 101:return l(r,/(.+:)([^;!]+)(;|!.+)?/,"$1"+C+(45===c(r,14)?"inline-":"")+"box$3$1"+C+"$2$3$1"+O+"$2box$3")+r}break;case 5936:switch(c(r,n+11)){case 114:return C+r+O+l(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return C+r+O+l(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return C+r+O+l(r,/[svh]\w+-[tblr]{2}/,"lr")+r}return C+r+O+r+r}return r}(t.value,t.length);break;case I:return N([_(t,{value:l(t.value,"@","@"+C)})],i);case M:if(t.length){var o,a;return o=t.props,a=function(r){var n;switch(n=r,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return N([_(t,{props:[l(r,/:(read-\w+)/,":"+P+"$1")]})],i);case"::placeholder":return N([_(t,{props:[l(r,/:(plac\w+)/,":"+C+"input-$1")]}),_(t,{props:[l(r,/:(plac\w+)/,":"+P+"$1")]}),_(t,{props:[l(r,/:(plac\w+)/,O+"input-$1")]})],i)}return""},o.map(a).join("")}}}],V=function(t){var r,n,o,s,g,_,O=t.key;if("css"===O){var P=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(P,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var C=t.stylisPlugins||q,M={},R=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+O+' "]'),function(t){for(var r=t.getAttribute("data-emotion").split(" "),n=1;n<r.length;n++)M[r[n]]=!0;R.push(t)});var I=(n=(r=[z,H].concat(C,[D,(o=function(t){_.insert(t)},function(t){!t.root&&(t=t.return)&&o(t)})])).length,function(t,i,o,a){for(var s="",l=0;l<n;l++)s+=r[l](t,i,o,a)||"";return s}),$=function(t){var r,n;return N((n=function t(r,n,i,o,s,g,_,x,O){for(var P,C=0,M=0,R=_,I=0,N=0,D=0,$=1,j=1,U=1,B=0,z="",H=s,q=g,V=o,G=z;j;)switch(D=B,B=S()){case 40:if(108!=D&&58==c(G,R-1)){-1!=u(G+=l(k(B),"&","&\f"),"&\f")&&(U=-1);break}case 34:case 39:case 91:G+=k(B);break;case 9:case 10:case 13:case 32:G+=function(t){for(;v=E();)if(v<33)S();else break;return A(t)>2||A(v)>3?"":" "}(D);break;case 92:G+=function(t,r){for(var n;--r&&S()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return n=y+(r<6&&32==E()&&32==S()),d(b,t,n)}(y-1,7);continue;case 47:switch(E()){case 42:case 47:f(w(P=function(t,r){for(;S();)if(t+v===57)break;else if(t+v===84&&47===E())break;return"/*"+d(b,r,y-1)+"*"+a(47===t?t:S())}(S(),y),n,i,T,a(v),d(P,2,-2),0),O);break;default:G+="/"}break;case 123*$:x[C++]=h(G)*U;case 125*$:case 59:case 0:switch(B){case 0:case 125:j=0;case 59+M:-1==U&&(G=l(G,/\f/g,"")),N>0&&h(G)-R&&f(N>32?L(G+";",o,i,R-1):L(l(G," ","")+";",o,i,R-2),O);break;case 59:G+=";";default:if(f(V=F(G,n,i,C,M,s,x,z,H=[],q=[],R),g),123===B){if(0===M)t(G,n,V,V,H,g,R,x,q);else switch(99===I&&110===c(G,3)?100:I){case 100:case 108:case 109:case 115:t(r,V,V,o&&f(F(r,V,V,0,0,s,x,z,s,H=[],R),q),s,q,R,x,o?H:q);break;default:t(G,V,V,V,[""],q,0,x,q)}}}C=M=N=0,$=U=1,z=G="",R=_;break;case 58:R=1+h(G),N=D;default:if($<1){if(123==B)--$;else if(125==B&&0==$++&&125==(v=y>0?c(b,--y):0,m--,10===v&&(m=1,p--),v))continue}switch(G+=a(B),B*$){case 38:U=M>0?1:(G+="\f",-1);break;case 44:x[C++]=(h(G)-1)*U,U=1;break;case 64:45===E()&&(G+=k(S())),I=E(),M=R=h(z=G+=function(t){for(;!A(E());)S();return d(b,t,y)}(y)),B++;break;case 45:45===D&&2==h(G)&&($=0)}}return g}("",null,null,null,[""],r=x(r=t),0,[0],r),b="",n),I)};g=function(t,r,n,i){_=n,$(t?t+"{"+r.styles+"}":r.styles),i&&(j.inserted[r.name]=!0)};var j={key:O,sheet:new i({key:O,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:M,registered:{},insert:g};return j.sheet.hydrate(R),j}},5772:function(t,r,n){"use strict";function i(t){var r=Object.create(null);return function(n){return void 0===r[n]&&(r[n]=t(n)),r[n]}}n.d(r,{Z:function(){return i}})},25246:function(t,r,n){"use strict";n.d(r,{C:function(){return c},E:function(){return y},T:function(){return h},c:function(){return m},h:function(){return f},w:function(){return d}});var i=n(2265),o=n(25382),a=n(32820),s=n(29896),l=n(24006),u=i.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),c=u.Provider,d=function(t){return(0,i.forwardRef)(function(r,n){return t(r,(0,i.useContext)(u),n)})},h=i.createContext({}),f={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(t,r){var n={};for(var i in r)f.call(r,i)&&(n[i]=r[i]);return n[p]=t,n},g=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return(0,a.hC)(r,n,i),(0,l.L)(function(){return(0,a.My)(r,n,i)}),null},y=d(function(t,r,n){var o=t.css;"string"==typeof o&&void 0!==r.registered[o]&&(o=r.registered[o]);var l=t[p],u=[o],c="";"string"==typeof t.className?c=(0,a.fp)(r.registered,u,t.className):null!=t.className&&(c=t.className+" ");var d=(0,s.O)(u,void 0,i.useContext(h));c+=r.key+"-"+d.name;var m={};for(var y in t)f.call(t,y)&&"css"!==y&&y!==p&&(m[y]=t[y]);return m.className=c,n&&(m.ref=n),i.createElement(i.Fragment,null,i.createElement(g,{cache:r,serialized:d,isStringTag:"string"==typeof l}),i.createElement(l,m))})},3146:function(t,r,n){"use strict";n.d(r,{F4:function(){return p},iv:function(){return f},xB:function(){return h}});var i,o,a=n(25246),s=n(2265),l=n(32820),u=n(24006),c=n(29896);n(25382),n(63285);var d=function(t,r){var n=arguments;if(null==r||!a.h.call(r,"css"))return s.createElement.apply(void 0,n);var i=n.length,o=Array(i);o[0]=a.E,o[1]=(0,a.c)(t,r);for(var l=2;l<i;l++)o[l]=n[l];return s.createElement.apply(null,o)};i=d||(d={}),o||(o=i.JSX||(i.JSX={}));var h=(0,a.w)(function(t,r){var n=t.styles,i=(0,c.O)([n],void 0,s.useContext(a.T)),o=s.useRef();return(0,u.j)(function(){var t=r.key+"-global",n=new r.sheet.constructor({key:t,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),a=!1,s=document.querySelector('style[data-emotion="'+t+" "+i.name+'"]');return r.sheet.tags.length&&(n.before=r.sheet.tags[0]),null!==s&&(a=!0,s.setAttribute("data-emotion",t),n.hydrate([s])),o.current=[n,a],function(){n.flush()}},[r]),(0,u.j)(function(){var t=o.current,n=t[0];if(t[1]){t[1]=!1;return}
vendor: 4,682 bytes, line 1
1if(void 0!==i.next&&(0,l.My)(r,i.next,!0),n.tags.length){var a=n.tags[n.tags.length-1].nextElementSibling;n.before=a,n.flush()}r.insert("",i,n,!1)},[r,i.name]),null});function f(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return(0,c.O)(r)}function p(){var t=f.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},29896:function(t,r,n){"use strict";n.d(r,{O:function(){return m}});var i,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=n(5772),s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!=typeof t},d=(0,a.Z)(function(t){return u(t)?t:t.replace(s,"-$&").toLowerCase()}),h=function(t,r){switch(t){case"animation":case"animationName":if("string"==typeof r)return r.replace(l,function(t,r,n){return i={name:r,styles:n,next:i},r})}return 1===o[t]||u(t)||"number"!=typeof r||0===r?r:r+"px"};function f(t,r,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return i={name:n.name,styles:n.styles,next:i},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)i={name:o.name,styles:o.styles,next:i},o=o.next;return n.styles+";"}return function(t,r,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=f(t,r,n[o])+";";else for(var a in n){var s=n[a];if("object"!=typeof s)null!=r&&void 0!==r[s]?i+=a+"{"+r[s]+"}":c(s)&&(i+=d(a)+":"+h(a,s)+";");else if(Array.isArray(s)&&"string"==typeof s[0]&&(null==r||void 0===r[s[0]]))for(var l=0;l<s.length;l++)c(s[l])&&(i+=d(a)+":"+h(a,s[l])+";");else{var u=f(t,r,s);switch(a){case"animation":case"animationName":i+=d(a)+":"+u+";";break;default:i+=a+"{"+u+"}"}}}return i}(t,r,n);case"function":if(void 0!==t){var a=i,s=n(t);return i=a,f(t,r,s)}}if(null==r)return n;var l=r[n];return void 0!==l?l:n}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(t,r,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var o,a=!0,s="";i=void 0;var l=t[0];null==l||void 0===l.raw?(a=!1,s+=f(n,r,l)):s+=l[0];for(var u=1;u<t.length;u++)s+=f(n,r,t[u]),a&&(s+=l[u]);p.lastIndex=0;for(var c="";null!==(o=p.exec(s));)c+="-"+o[1];return{name:function(t){for(var r,n=0,i=0,o=t.length;o>=4;++i,o-=4)r=(65535&(r=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))*1540483477+((r>>>16)*59797<<16),r^=r>>>24,n=(65535&r)*1540483477+((r>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n^=255&t.charCodeAt(i),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(s)+c,styles:s,next:i}}},5165:function(t,r,n){"use strict";n.d(r,{Z:function(){return y}});var i=n(1119),o=n(25246),a=n(29896),s=n(24006),l=n(32820),u=n(2265),c=n(5772),d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,h=(0,c.Z)(function(t){return d.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)}),f=function(t){return"theme"!==t},p=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?h:f},m=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(r){return t.__emotion_forwardProp(r)&&o(r)}:o}return"function"!=typeof i&&n&&(i=t.__emotion_forwardProp),i},g=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return(0,l.hC)(r,n,i),(0,s.L)(function(){return(0,l.My)(r,n,i)}),null},y=(function t(r,n){var s,c,d=r.__emotion_real===r,h=d&&r.__emotion_base||r;void 0!==n&&(s=n.label,c=n.target);var f=m(r,n,d),y=f||p(h),v=!y("as");return function(){var b=arguments,w=d&&void 0!==r.__emotion_styles?r.__emotion_styles.slice(0):[];if(void 0!==s&&w.push("label:"+s+";"),null==b[0]||void 0===b[0].raw)w.push.apply(w,b);else{var _=b[0];w.push(_[0]);for(var S=b.length,E=1;E<S;E++)w.push(b[E],_[E])}var A=(0,o.w)(function(t,r,n){var i=v&&t.as||h,s="",d=[],m=t;if(null==t.theme){for(var b in m={},t)m[b]=t[b];m.theme=u.useContext(o.T)}"string"==typeof t.className?s=(0,l.fp)(r.registered,d,t.className):null!=t.className&&(s=t.className+" ");var _=(0,a.O)(w.concat(d),r.registered,m);s+=r.key+"-"+_.name,void 0!==c&&(s+=" "+c);var S=v&&void 0===f?p(i):y,E={};for(var A in t)(!v||"as"!==A)&&S(A)&&(E[A]=t[A]);return E.className=s,n&&(E.ref=n),u.createElement(u.Fragment,null,u.createElement(g,{cache:r,serialized:_,isStringTag:"string"==typeof i}),u.createElement(i,E))});return A.displayName=void 0!==s?s:"Styled("+("string"==typeof h?h:h.displayName||h.name||"Component")+")",A.defaultProps=r.defaultProps,A.__emotion_real=A,A.__emotion_base=h,A.__emotion_styles=w,A.__emotion_forwardProp=f,Object.defineProperty(A,"toString",{value:function(){return"."+c}}),A.withComponent=function(r,o){return t(r,(0,i.Z)({},n,o,{shouldForwardProp:m(A,o,!0)})).apply(void 0,w)},A}}).bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(t){y[t]=y(t)})},24006:function(t,r,n){"use strict";n.d(r,{L:function(){return s},j:function(){return l}});var i,o=n(2265),a=!!(i||(i=n.t(o,2))).useInsertionEffect&&(i||(i=n.t(o,2))).useInsertionEffect,s=a||function(t){return t()},l=a||o.useLayoutEffect},32820:function(t,r,n){"use strict";function i(t,r,n){var i="";
1return n.split(" ").forEach(function(n){void 0!==t[n]?r.push(t[n]+";"):n&&(i+=n+" ")}),i}n.d(r,{My:function(){return a},fp:function(){return i},hC:function(){return o}});var o=function(t,r,n){var i=t.key+"-"+r.name;!1===n&&void 0===t.registered[i]&&(t.registered[i]=r.styles)},a=function(t,r,n){o(t,r,n);var i=t.key+"-"+r.name;if(void 0===t.inserted[r.name]){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(void 0!==a)}}},42246:function(t,r,n){"use strict";n.r(r),n.d(r,{getAddress:function(){return f},getContractAddress:function(){return g},getCreate2Address:function(){return y},getIcapAddress:function(){return m},isAddress:function(){return p}});var i=n(8810),o=n(92050),a=n(25650),s=n(83569);let l=new(n(97327)).Yd("address/5.8.0");function u(t){(0,i.A7)(t,20)||l.throwArgumentError("invalid address","address",t);let r=(t=t.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let t=0;t<40;t++)n[t]=r[t].charCodeAt(0);let o=(0,i.lE)((0,a.w)(n));for(let t=0;t<40;t+=2)o[t>>1]>>4>=8&&(r[t]=r[t].toUpperCase()),(15&o[t>>1])>=8&&(r[t+1]=r[t+1].toUpperCase());return"0x"+r.join("")}let c={};for(let t=0;t<10;t++)c[String(t)]=String(t);for(let t=0;t<26;t++)c[String.fromCharCode(65+t)]=String(10+t);let d=Math.floor(Math.log10?Math.log10(9007199254740991):Math.log(9007199254740991)/Math.LN10);function h(t){let r=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map(t=>c[t]).join("");for(;r.length>=d;){let t=r.substring(0,d);r=parseInt(t,10)%97+r.substring(t.length)}let n=String(98-parseInt(r,10)%97);for(;n.length<2;)n="0"+n;return n}function f(t){let r=null;if("string"!=typeof t&&l.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),r=u(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&r!==t&&l.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==h(t)&&l.throwArgumentError("bad icap checksum","address",t),r=(0,o.g$)(t.substring(4));r.length<40;)r="0"+r;r=u("0x"+r)}else l.throwArgumentError("invalid address","address",t);return r}function p(t){try{return f(t),!0}catch(t){}return!1}function m(t){let r=(0,o.t2)(f(t).substring(2)).toUpperCase();for(;r.length<30;)r="0"+r;return"XE"+h("XE00"+r)+r}function g(t){let r=null;try{r=f(t.from)}catch(r){l.throwArgumentError("missing from address","transaction",t)}let n=(0,i.G1)((0,i.lE)(o.O$.from(t.nonce).toHexString()));return f((0,i.p3)((0,a.w)((0,s.c)([r,n])),12))}function y(t,r,n){return 32!==(0,i.E1)(r)&&l.throwArgumentError("salt must be 32 bytes","salt",r),32!==(0,i.E1)(n)&&l.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",n),f((0,i.p3)((0,a.w)((0,i.zo)(["0xff",f(t),r,n])),12))}},92050:function(t,r,n){"use strict";n.d(r,{O$:function(){return h},t2:function(){return v},g$:function(){return y}});var i=n(44373),o=n.n(i),a=n(8810),s=n(97327),l=o().BN;let u=new s.Yd("bignumber/5.8.0"),c={},d=!1;class h{constructor(t,r){t!==c&&u.throwError("cannot call constructor directly; use BigNumber.from",s.Yd.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return p(m(this).fromTwos(t))}toTwos(t){return p(m(this).toTwos(t))}abs(){return"-"===this._hex[0]?h.from(this._hex.substring(1)):this}add(t){return p(m(this).add(m(t)))}sub(t){return p(m(this).sub(m(t)))}div(t){return h.from(t).isZero()&&g("division-by-zero","div"),p(m(this).div(m(t)))}mul(t){return p(m(this).mul(m(t)))}mod(t){let r=m(t);return r.isNeg()&&g("division-by-zero","mod"),p(m(this).umod(r))}pow(t){let r=m(t);return r.isNeg()&&g("negative-power","pow"),p(m(this).pow(r))}and(t){let r=m(t);return(this.isNegative()||r.isNeg())&&g("unbound-bitwise-result","and"),p(m(this).and(r))}or(t){let r=m(t);return(this.isNegative()||r.isNeg())&&g("unbound-bitwise-result","or"),p(m(this).or(r))}xor(t){let r=m(t);return(this.isNegative()||r.isNeg())&&g("unbound-bitwise-result","xor"),p(m(this).xor(r))}mask(t){return(this.isNegative()||t<0)&&g("negative-width","mask"),p(m(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&g("negative-width","shl"),p(m(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&g("negative-width","shr"),p(m(this).shrn(t))}eq(t){return m(this).eq(m(t))}lt(t){return m(this).lt(m(t))}lte(t){return m(this).lte(m(t))}gt(t){return m(this).gt(m(t))}gte(t){return m(this).gte(m(t))}isNegative(){return"-"===this._hex[0]}isZero(){return m(this).isZero()}toNumber(){try{return m(this).toNumber()}catch(t){g("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return u.throwError("this platform does not support BigInt",s.Yd.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?d||(d=!0,u.warn("BigNumber.toString does not accept any parameters;
1 base-10 is assumed")):16===arguments[0]?u.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",s.Yd.errors.UNEXPECTED_ARGUMENT,{}):u.throwError("BigNumber.toString does not accept parameters",s.Yd.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof h)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new h(c,f(t)):t.match(/^-?[0-9]+$/)?new h(c,f(new l(t))):u.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&g("underflow","BigNumber.from",t),(t>=9007199254740991||t<=-9007199254740991)&&g("overflow","BigNumber.from",t),h.from(String(t));if("bigint"==typeof t)return h.from(t.toString());if((0,a._t)(t))return h.from((0,a.Dv)(t));if(t){if(t.toHexString){let r=t.toHexString();if("string"==typeof r)return h.from(r)}else{let r=t._hex;if(null==r&&"BigNumber"===t.type&&(r=t.hex),"string"==typeof r&&((0,a.A7)(r)||"-"===r[0]&&(0,a.A7)(r.substring(1))))return h.from(r)}}return u.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!!(t&&t._isBigNumber)}}function f(t){if("string"!=typeof t)return f(t.toString(16));if("-"===t[0])return("-"===(t=t.substring(1))[0]&&u.throwArgumentError("invalid hex","value",t),"0x00"===(t=f(t)))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function p(t){return h.from(f(t))}function m(t){let r=h.from(t).toHexString();return"-"===r[0]?new l("-"+r.substring(3),16):new l(r.substring(2),16)}function g(t,r,n){let i={fault:t,operation:r};return null!=n&&(i.value=n),u.throwError(t,s.Yd.errors.NUMERIC_FAULT,i)}function y(t){return new l(t,36).toString(16)}function v(t){return new l(t,16).toString(36)}},8810:function(t,r,n){"use strict";n.d(r,{lE:function(){return c},zo:function(){return d},xs:function(){return v},E1:function(){return g},p3:function(){return y},$P:function(){return b},$m:function(){return w},Dv:function(){return m},_t:function(){return u},Zq:function(){return s},A7:function(){return f},N:function(){return _},G1:function(){return h}});let i=new(n(97327)).Yd("bytes/5.8.0");function o(t){return!!t.toHexString}function a(t){return t.slice||(t.slice=function(){let r=Array.prototype.slice.call(arguments);return a(new Uint8Array(Array.prototype.slice.apply(t,r)))}),t}function s(t){return f(t)&&!(t.length%2)||u(t)}function l(t){return"number"==typeof t&&t==t&&t%1==0}function u(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t||!l(t.length)||t.length<0)return!1;for(let r=0;r<t.length;r++){let n=t[r];if(!l(n)||n<0||n>=256)return!1}return!0}function c(t,r){if(r||(r={}),"number"==typeof t){i.checkSafeUint53(t,"invalid arrayify value");let r=[];for(;t;)r.unshift(255&t),t=parseInt(String(t/256));return 0===r.length&&r.push(0),a(new Uint8Array(r))}if(r.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),o(t)&&(t=t.toHexString()),f(t)){let n=t.substring(2);n.length%2&&("left"===r.hexPad?n="0"+n:"right"===r.hexPad?n+="0":i.throwArgumentError("hex data is odd-length","value",t));let o=[];for(let t=0;t<n.length;t+=2)o.push(parseInt(n.substring(t,t+2),16));return a(new Uint8Array(o))}return u(t)?a(new Uint8Array(t)):i.throwArgumentError("invalid arrayify value","value",t)}function d(t){let r=t.map(t=>c(t)),n=new Uint8Array(r.reduce((t,r)=>t+r.length,0));return r.reduce((t,r)=>(n.set(r,t),t+r.length),0),a(n)}function h(t){let r=c(t);if(0===r.length)return r;let n=0;for(;n<r.length&&0===r[n];)n++;return n&&(r=r.slice(n)),r}function f(t,r){return"string"==typeof t&&!!t.match(/^0x[0-9A-Fa-f]*$/)&&(!r||t.length===2+2*r)}let p="0123456789abcdef";function m(t,r){if(r||(r={}),"number"==typeof t){i.checkSafeUint53(t,"invalid hexlify value");let r="";for(;t;)r=p[15&t]+r,t=Math.floor(t/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(r.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),o(t))return t.toHexString();if(f(t))return t.length%2&&("left"===r.hexPad?t="0x0"+t.substring(2):"right"===r.hexPad?t+="0":i.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(u(t)){let r="0x";for(let n=0;n<t.length;n++){let i=t[n];r+=p[(240&i)>>4]+p[15&i]}return r}return i.throwArgumentError("invalid hexlify value","value",t)}function g(t){if("string"!=typeof t)t=m(t);else if(!f(t)||t.length%2)return null;return(t.length-2)/2}function y(t,r,n){return("string"!=typeof t?t=m(t):(!f(t)||t.length%2)&&i.throwArgumentError("invalid hexData","value",t),r=2+2*r,null!=n)?"0x"+t.substring(r,2+2*n):"0x"+t.substring(r)}function v(t){let r="0x";return t.forEach(t=>{r+=m(t).substring(2)}),r}function b(t){let r=function(t){"string"!=typeof t&&(t=m(t)),f(t)||i.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let r=0;for(;r<t.length&&"0"===t[r];)r++;return"0x"+t.substring(r)}(m(t,{hexPad:"left"}));return"0x"===r?"0x0":r}function w(t,r){for("string"!=typeof t?t=m(t):f(t)||i.throwArgumentError("invalid hex string","value",t),t.length>2*r+2&&i.throwArgumentError("value out of range","value",arguments[1]);t.length<2*r+2;)t="0x0"+t.substring(2);return t}function _(t){let r={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"
10x"};if(s(t)){let n=c(t);64===n.length?(r.v=27+(n[32]>>7),n[32]&=127,r.r=m(n.slice(0,32)),r.s=m(n.slice(32,64))):65===n.length?(r.r=m(n.slice(0,32)),r.s=m(n.slice(32,64)),r.v=n[64]):i.throwArgumentError("invalid signature string","signature",t),r.v<27&&(0===r.v||1===r.v?r.v+=27:i.throwArgumentError("signature invalid v byte","signature",t)),r.recoveryParam=1-r.v%2,r.recoveryParam&&(n[32]|=128),r._vs=m(n.slice(32,64))}else{if(r.r=t.r,r.s=t.s,r.v=t.v,r.recoveryParam=t.recoveryParam,r._vs=t._vs,null!=r._vs){let n=function(t,r){(t=c(t)).length>r&&i.throwArgumentError("value out of range","value",arguments[0]);let n=new Uint8Array(r);return n.set(t,r-t.length),a(n)}(c(r._vs),32);r._vs=m(n);let o=n[0]>=128?1:0;null==r.recoveryParam?r.recoveryParam=o:r.recoveryParam!==o&&i.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),n[0]&=127;let s=m(n);null==r.s?r.s=s:r.s!==s&&i.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==r.recoveryParam)null==r.v?i.throwArgumentError("signature missing v and recoveryParam","signature",t):0===r.v||1===r.v?r.recoveryParam=r.v:r.recoveryParam=1-r.v%2;else if(null==r.v)r.v=27+r.recoveryParam;else{let n=0===r.v||1===r.v?r.v:1-r.v%2;r.recoveryParam!==n&&i.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=r.r&&f(r.r)?r.r=w(r.r,32):i.throwArgumentError("signature missing or invalid r","signature",t),null!=r.s&&f(r.s)?r.s=w(r.s,32):i.throwArgumentError("signature missing or invalid s","signature",t);let n=c(r.s);n[0]>=128&&i.throwArgumentError("signature s out of range","signature",t),r.recoveryParam&&(n[0]|=128);let o=m(n);r._vs&&(f(r._vs)||i.throwArgumentError("signature invalid _vs","signature",t),r._vs=w(r._vs,32)),null==r._vs?r._vs=o:r._vs!==o&&i.throwArgumentError("signature _vs mismatch v and s","signature",t)}return r.yParityAndS=r._vs,r.compact=r.r+r.yParityAndS.substring(2),r}},25650:function(t,r,n){"use strict";n.d(r,{w:function(){return s}});var i=n(23883),o=n.n(i),a=n(8810);function s(t){return"0x"+o().keccak_256((0,a.lE)(t))}},97327:function(t,r,n){"use strict";var i,o,a,s;n.d(r,{Yd:function(){return m}});let l=!1,u=!1,c={debug:1,default:2,info:2,warning:3,error:4,off:5},d=c.default,h=null,f=function(){try{let t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(r=>{try{if("test"!=="test".normalize(r))throw Error("bad normalize")}catch(n){t.push(r)}}),t.length)throw Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw Error("broken implementation")}catch(t){return t.message}return null}();(a=i||(i={})).DEBUG="DEBUG",a.INFO="INFO",a.WARNING="WARNING",a.ERROR="ERROR",a.OFF="OFF",(s=o||(o={})).UNKNOWN_ERROR="UNKNOWN_ERROR",s.NOT_IMPLEMENTED="NOT_IMPLEMENTED",s.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",s.NETWORK_ERROR="NETWORK_ERROR",s.SERVER_ERROR="SERVER_ERROR",s.TIMEOUT="TIMEOUT",s.BUFFER_OVERRUN="BUFFER_OVERRUN",s.NUMERIC_FAULT="NUMERIC_FAULT",s.MISSING_NEW="MISSING_NEW",s.INVALID_ARGUMENT="INVALID_ARGUMENT",s.MISSING_ARGUMENT="MISSING_ARGUMENT",s.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",s.CALL_EXCEPTION="CALL_EXCEPTION",s.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",s.NONCE_EXPIRED="NONCE_EXPIRED",s.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",s.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",s.TRANSACTION_REPLACED="TRANSACTION_REPLACED",s.ACTION_REJECTED="ACTION_REJECTED";let p="0123456789abcdef";class m{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,r){let n=t.toLowerCase();null==c[n]&&this.throwArgumentError("invalid log level name","logLevel",t),d>c[n]||console.log.apply(console,r)}debug(...t){this._log(m.levels.DEBUG,t)}info(...t){this._log(m.levels.INFO,t)}warn(...t){this._log(m.levels.WARNING,t)}makeError(t,r,n){if(u)return this.makeError("censored error",r,{});r||(r=m.errors.UNKNOWN_ERROR),n||(n={});let i=[];Object.keys(n).forEach(t=>{let r=n[t];try{if(r instanceof Uint8Array){let n="";for(let t=0;t<r.length;t++)n+=p[r[t]>>4]+p[15&r[t]];i.push(t+"=Uint8Array(0x"+n+")")}else i.push(t+"="+JSON.stringify(r))}catch(r){i.push(t+"="+JSON.stringify(n[t].toString()))}}),i.push(`code=${r}`),i.push(`version=${this.version}`);let a=t,s="";switch(r){case o.NUMERIC_FAULT:{s="NUMERIC_FAULT";let r=t;switch(r){case"overflow":case"underflow":case"division-by-zero":s+="-"+r;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case o.CALL_EXCEPTION:case o.INSUFFICIENT_FUNDS:case o.MISSING_NEW:case o.NONCE_EXPIRED:case o.REPLACEMENT_UNDERPRICED:case o.TRANSACTION_REPLACED:case o.UNPREDICTABLE_GAS_LIMIT:s=r}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),i.length&&(t+=" ("+i.join(", ")+")");let l=Error(t);
1return l.reason=a,l.code=r,Object.keys(n).forEach(function(t){l[t]=n[t]}),l}throwError(t,r,n){throw this.makeError(t,r,n)}throwArgumentError(t,r,n){return this.throwError(t,m.errors.INVALID_ARGUMENT,{argument:r,value:n})}assert(t,r,n,i){t||this.throwError(r,n,i)}assertArgument(t,r,n,i){t||this.throwArgumentError(r,n,i)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),f&&this.throwError("platform missing String.prototype.normalize",m.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:f})}checkSafeUint53(t,r){"number"==typeof t&&(null==r&&(r="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(r,m.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(r,m.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,r,n){n=n?": "+n:"",t<r&&this.throwError("missing argument"+n,m.errors.MISSING_ARGUMENT,{count:t,expectedCount:r}),t>r&&this.throwError("too many arguments"+n,m.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:r})}checkNew(t,r){(t===Object||null==t)&&this.throwError("missing new",m.errors.MISSING_NEW,{name:r.name})}checkAbstract(t,r){t===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",m.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):(t===Object||null==t)&&this.throwError("missing new",m.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return h||(h=new m("logger/5.8.0")),h}static setCensorship(t,r){if(!t&&r&&this.globalLogger().throwError("cannot permanently disable censorship",m.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),l){if(!t)return;this.globalLogger().throwError("error censorship permanent",m.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}u=!!t,l=!!r}static setLogLevel(t){let r=c[t.toLowerCase()];if(null==r){m.globalLogger().warn("invalid log level - "+t);return}d=r}static from(t){return new m(t)}}m.errors=o,m.levels=i},93853:function(t,r,n){"use strict";let i,o;n.r(r),n.d(r,{AlchemyProvider:function(){return ry},AlchemyWebSocketProvider:function(){return rg},AnkrProvider:function(){return rw},BaseProvider:function(){return tF},CloudflareProvider:function(){return rS},EtherscanProvider:function(){return rT},FallbackProvider:function(){return rH},Formatter:function(){return tu},InfuraProvider:function(){return rK},InfuraWebSocketProvider:function(){return rW},IpcProvider:function(){return rq},JsonRpcBatchProvider:function(){return rY},JsonRpcProvider:function(){return ro},JsonRpcSigner:function(){return rr},NodesmithProvider:function(){return rX},PocketProvider:function(){return r0},Provider:function(){return k},QuickNodeProvider:function(){return r2},Resolver:function(){return tI},StaticJsonRpcProvider:function(){return rh},UrlJsonRpcProvider:function(){return rf},Web3Provider:function(){return r4},WebSocketProvider:function(){return rc},getDefaultProvider:function(){return r9},getNetwork:function(){return N},isCommunityResourcable:function(){return tc},isCommunityResource:function(){return td},showThrottleMessage:function(){return tf}});var a,s,l,u,c,d,h,f=n(92050),p=n(8810),m=n(97327);let g=new m.Yd("properties/5.8.0");function y(t,r,n){Object.defineProperty(t,r,{enumerable:!0,value:n,writable:!1})}function v(t,r){for(let n=0;n<32;n++){if(t[r])return t[r];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function b(t){var r,n,i,o;return r=this,n=void 0,i=void 0,o=function*(){let r=Object.keys(t).map(r=>Promise.resolve(t[r]).then(t=>({key:r,value:t})));return(yield Promise.all(r)).reduce((t,r)=>(t[r.key]=r.value,t),{})},new(i||(i=Promise))(function(t,a){function s(t){try{u(o.next(t))}catch(t){a(t)}}function l(t){try{u(o.throw(t))}catch(t){a(t)}}function u(r){var n;r.done?t(r.value):((n=r.value)instanceof i?n:new i(function(t){t(n)})).then(s,l)}u((o=o.apply(r,n||[])).next())})}function w(t){let r={};for(let n in t)r[n]=t[n];return r}let _={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function S(t){return function(t){if(function t(r){if(null==r||_[typeof r])return!0;
1if(Array.isArray(r)||"object"==typeof r){if(!Object.isFrozen(r))return!1;let n=Object.keys(r);for(let i=0;i<n.length;i++){let o=null;try{o=r[n[i]]}catch(t){continue}if(!t(o))return!1}return!0}return g.throwArgumentError(`Cannot deepCopy ${typeof r}`,"object",r)}(t))return t;if(Array.isArray(t))return Object.freeze(t.map(t=>S(t)));if("object"==typeof t){let r={};for(let n in t){let i=t[n];void 0!==i&&y(r,n,S(i))}return r}return g.throwArgumentError(`Cannot deepCopy ${typeof t}`,"object",t)}(t)}class E{constructor(t){for(let r in t)this[r]=S(t[r])}}let A=new m.Yd("abstract-provider/5.8.0");class x extends E{static isForkEvent(t){return!!(t&&t._isForkEvent)}}class k{constructor(){A.checkAbstract(new.target,k),y(this,"_isProvider",!0)}getFeeData(){var t,r,n,i;return t=this,r=void 0,n=void 0,i=function*(){let{block:t,gasPrice:r}=yield b({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(t=>null)}),n=null,i=null,o=null;return t&&t.baseFeePerGas&&(n=t.baseFeePerGas,o=f.O$.from("1500000000"),i=t.baseFeePerGas.mul(2).add(o)),{lastBaseFeePerGas:n,maxFeePerGas:i,maxPriorityFeePerGas:o,gasPrice:r}},new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})}addListener(t,r){return this.on(t,r)}removeListener(t,r){return this.off(t,r)}static isProvider(t){return!!(t&&t._isProvider)}}let O=new m.Yd("networks/5.8.0");function P(t){let r=function(r,n){null==n&&(n={});let i=[];if(r.InfuraProvider&&"-"!==n.infura)try{i.push(new r.InfuraProvider(t,n.infura))}catch(t){}if(r.EtherscanProvider&&"-"!==n.etherscan)try{i.push(new r.EtherscanProvider(t,n.etherscan))}catch(t){}if(r.AlchemyProvider&&"-"!==n.alchemy)try{i.push(new r.AlchemyProvider(t,n.alchemy))}catch(t){}if(r.PocketProvider&&"-"!==n.pocket)try{let o=new r.PocketProvider(t,n.pocket);o.network&&-1===["goerli","ropsten","rinkeby","sepolia"].indexOf(o.network.name)&&i.push(o)}catch(t){}if(r.CloudflareProvider&&"-"!==n.cloudflare)try{i.push(new r.CloudflareProvider(t))}catch(t){}if(r.AnkrProvider&&"-"!==n.ankr)try{let o=new r.AnkrProvider(t,n.ankr);o.network&&-1===["ropsten"].indexOf(o.network.name)&&i.push(o)}catch(t){}if(r.QuickNodeProvider&&"-"!==n.quicknode)try{i.push(new r.QuickNodeProvider(t,n.quicknode))}catch(t){}if(0===i.length)return null;if(r.FallbackProvider){let o=1;return null!=n.quorum?o=n.quorum:"homestead"===t&&(o=2),new r.FallbackProvider(i,o)}return i[0]};return r.renetwork=function(t){return P(t)},r}function C(t,r){let n=function(n,i){return n.JsonRpcProvider?new n.JsonRpcProvider(t,r):null};return n.renetwork=function(r){return C(t,r)},n}let T={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:P("homestead")},M={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:P("ropsten")},R={chainId:63,name:"classicMordor",_defaultProvider:C("https://www.ethercluster.com/mordor","classicMordor")},I={unspecified:{chainId:0,name:"unspecified"},homestead:T,mainnet:T,morden:{chainId:2,name:"morden"},ropsten:M,testnet:M,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:P("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:P("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:P("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"sepolia",_defaultProvider:P("sepolia")},holesky:{chainId:17e3,name:"holesky",_defaultProvider:P("holesky")},classic:{chainId:61,name:"classic",_defaultProvider:C("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:R,classicTestnet:R,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:C("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:P("matic")},maticmum:{chainId:80001,name:"maticmum",_defaultProvider:P("maticmum")},optimism:{chainId:10,name:"optimism",_defaultProvider:P("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},"optimism-sepolia":{chainId:11155420,name:"optimism-sepolia"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},"arbitrum-sepolia":{chainId:421614,name:"arbitrum-sepolia"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function N(t){if(null==t)return null;if("number"==typeof t){for(let r in I){let n=I[r];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){let r=I[t];return null==r?null:{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress,_defaultProvider:r._defaultProvider||null}}let r=I[t.name];if(!r)return"number"!=typeof t.chainId&&O.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==r.chainId&&O.throwArgumentError("network chainId mismatch","network",t);let n=t._defaultProvider||null;if(null==n&&r._defaultProvider){var i;n=(i=r._defaultProvider)&&"function"==typeof i.renetwork?r._defaultProvider.renetwork(t):r._defaultProvider}return{name:t.name,chainId:r.chainId,ensAddress:t.ensAddress||r.ensAddress||null,_defaultProvider:n}}function D(t){t=atob(t);let r=[];for(let n=0;n<t.length;n++)r.push(t.charCodeAt(n));return(0,p.lE)(r)}function F(t){t=(0,p.lE)(t);let r="";for(let n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return btoa(r)}class L{constructor(t){y(this,"alphabet",t),y(this,"base",t.length),y(this,"_alphabetMap",{}),y(this,"_leader",t.charAt(0));for(let r=0;r<t.length;r++)this._alphabetMap[t.charAt(r)]=r}
1encode(t){let r=(0,p.lE)(t);if(0===r.length)return"";let n=[0];for(let t=0;t<r.length;++t){let i=r[t];for(let t=0;t<n.length;++t)i+=n[t]<<8,n[t]=i%this.base,i=i/this.base|0;for(;i>0;)n.push(i%this.base),i=i/this.base|0}let i="";for(let t=0;0===r[t]&&t<r.length-1;++t)i+=this._leader;for(let t=n.length-1;t>=0;--t)i+=this.alphabet[n[t]];return i}decode(t){if("string"!=typeof t)throw TypeError("Expected String");let r=[];if(0===t.length)return new Uint8Array(r);r.push(0);for(let n=0;n<t.length;n++){let i=this._alphabetMap[t[n]];if(void 0===i)throw Error("Non-base"+this.base+" character");let o=i;for(let t=0;t<r.length;++t)o+=r[t]*this.base,r[t]=255&o,o>>=8;for(;o>0;)r.push(255&o),o>>=8}for(let n=0;t[n]===this._leader&&n<t.length-1;++n)r.push(0);return(0,p.lE)(new Uint8Array(r.reverse()))}}new L("abcdefghijklmnopqrstuvwxyz234567");let $=new L("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),j=new m.Yd("strings/5.8.0");function U(t,r,n,i,o){if(t===d.BAD_PREFIX||t===d.UNEXPECTED_CONTINUE){let t=0;for(let i=r+1;i<n.length&&n[i]>>6==2;i++)t++;return t}return t===d.OVERRUN?n.length-r-1:0}(s=c||(c={})).current="",s.NFC="NFC",s.NFD="NFD",s.NFKC="NFKC",s.NFKD="NFKD",(l=d||(d={})).UNEXPECTED_CONTINUE="unexpected continuation byte",l.BAD_PREFIX="bad codepoint prefix",l.OVERRUN="string overrun",l.MISSING_CONTINUE="missing continuation byte",l.OUT_OF_RANGE="out of UTF-8 range",l.UTF16_SURROGATE="UTF-16 surrogate",l.OVERLONG="overlong representation";let B=Object.freeze({error:function(t,r,n,i,o){return j.throwArgumentError(`invalid codepoint at offset ${r}; ${t}`,"bytes",n)},ignore:U,replace:function(t,r,n,i,o){return t===d.OVERLONG?(i.push(o),0):(i.push(65533),U(t,r,n,i,o))}});function z(t,r){null==r&&(r=B.error),t=(0,p.lE)(t);let n=[],i=0;for(;i<t.length;){let o=t[i++];if(o>>7==0){n.push(o);continue}let a=null,s=null;if((224&o)==192)a=1,s=127;else if((240&o)==224)a=2,s=2047;else if((248&o)==240)a=3,s=65535;else{(192&o)==128?i+=r(d.UNEXPECTED_CONTINUE,i-1,t,n):i+=r(d.BAD_PREFIX,i-1,t,n);continue}if(i-1+a>=t.length){i+=r(d.OVERRUN,i-1,t,n);continue}let l=o&(1<<8-a-1)-1;for(let o=0;o<a;o++){let o=t[i];if((192&o)!=128){i+=r(d.MISSING_CONTINUE,i,t,n),l=null;break}l=l<<6|63&o,i++}if(null!==l){if(l>1114111){i+=r(d.OUT_OF_RANGE,i-1-a,t,n,l);continue}if(l>=55296&&l<=57343){i+=r(d.UTF16_SURROGATE,i-1-a,t,n,l);continue}if(l<=s){i+=r(d.OVERLONG,i-1-a,t,n,l);continue}n.push(l)}}return n}function H(t,r=c.current){r!=c.current&&(j.checkNormalize(),t=t.normalize(r));let n=[];for(let r=0;r<t.length;r++){let i=t.charCodeAt(r);if(i<128)n.push(i);else if(i<2048)n.push(i>>6|192),n.push(63&i|128);else if((64512&i)==55296){r++;let o=t.charCodeAt(r);if(r>=t.length||(64512&o)!=56320)throw Error("invalid utf-8 string");let a=65536+((1023&i)<<10)+(1023&o);n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(63&a|128)}else n.push(i>>12|224),n.push(i>>6&63|128),n.push(63&i|128)}return(0,p.lE)(n)}function q(t,r){return z(t,r).map(t=>t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10&1023)+55296,(1023&t)+56320)).join("")}var V=n(25650);let G="hash/5.8.0";function W(t,r){null==r&&(r=1);let n=[],i=n.forEach,o=function(t,r){i.call(t,function(t){r>0&&Array.isArray(t)?o(t,r-1):n.push(t)})};return o(t,r),n}function K(t,r){let n=Array(t);for(let i=0,o=-1;i<t;i++)n[i]=o+=1+r();return n}function Y(t,r){let n=K(t(),t),i=t(),o=K(i,t),a=function(t,r){let n=Array(t);for(let i=0;i<t;i++)n[i]=1+r();return n}(i,t);for(let t=0;t<i;t++)for(let r=0;r<a[t];r++)n.push(o[t]+r);return r?n.map(t=>r[t]):n}function Z(t,r,n){let i=Array(t).fill(void 0).map(()=>[]);for(let o=0;o<r;o++)(function(t,r){let n=Array(t);for(let o=0,a=0;o<t;o++){var i;n[o]=a+=1&(i=r())?~i>>1:i>>1}return n})(t,n).forEach((t,r)=>i[r].push(t));return i}let X=(a=function(t){let r=0;function n(){return t[r++]<<8|t[r++]}let i=n(),o=1,a=[0,1];for(let t=1;t<i;t++)a.push(o+=n());let s=n(),l=r;r+=s;let u=0,c=0;function d(){return 0==u&&(c=c<<8|t[r++],u=8),c>>--u&1}let h=0;for(let t=0;t<31;t++)h=h<<1|d();let f=[],p=0,m=2147483648;for(;;){let t=Math.floor(((h-p+1)*o-1)/m),r=0,n=i;for(;n-r>1;){let i=r+n>>>1;t<a[i]?n=i:r=i}if(0==r)break;f.push(r);let s=p+Math.floor(m*a[r]/o),l=p+Math.floor(m*a[r+1]/o)-1;for(;((s^l)&1073741824)==0;)h=h<<1&2147483647|d(),s=s<<1&2147483647,l=l<<1&2147483647|1;for(;s&~l&536870912;)h=1073741824&h|h<<1&1073741823|d(),s=s<<1^1073741824,l=(1073741824^l)<<1|1073741825;p=s,m=1+l-s}let g=i-4;return f.map(r=>{switch(r-g){case 3:return g+65792+(t[l++]<<16|t[l++]<<8|t[l++]);case 2:return g+256+(t[l++]<<8|t[l++]);case 1:return g+t[l++];default:return r-1}})}(D
vendor: 14,758 bytes, line 1
1("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),
1o=0,()=>a[o++]),J=new Set(Y(X)),Q=new Set(Y(X)),ee=function(t){let r=[];for(;;){let n=t();if(0==n)break;r.push(function(t,r){let n=1+r(),i=r(),o=function(t){let r=[];for(;;){let n=t();if(0==n)break;r.push(n)}return r}(r);return W(Z(o.length,1+t,r).map((t,r)=>{let a=t[0],s=t.slice(1);return Array(o[r]).fill(void 0).map((t,r)=>{let o=r*i;return[a+r*n,s.map(t=>t+o)]})}))}(n,t))}for(;;){let n=t()-1;if(n<0)break;r.push(Z(1+t(),1+n,t).map(t=>[t[0],t.slice(1)]))}return function(t){let r={};for(let n=0;n<t.length;n++){let i=t[n];r[i[0]]=i[1]}return r}(W(r))}(X),et=(i=Y(X).sort((t,r)=>t-r),function t(){let r=[];for(;;){let n=Y(X,i);if(0==n.length)break;r.push({set:new Set(n),node:t()})}r.sort((t,r)=>r.set.size-t.set.size);let n=X();return{branches:r,valid:n%3,fe0f:!!(1&(n=n/3|0)),save:1==(n>>=1),check:2==n}}());function er(t){return function(t,r=c.current){return z(H(t,r))}(t)}function en(t){return t.filter(t=>65039!=t)}function ei(t){for(let r of t.split(".")){let t=er(r);try{for(let r=t.lastIndexOf(95)-1;r>=0;r--)if(95!==t[r])throw Error("underscore only allowed at start");if(t.length>=4&&t.every(t=>t<128)&&45===t[2]&&45===t[3])throw Error("invalid label extension")}catch(t){throw Error(`Invalid label "${r}": ${t.message}`)}}return t}let eo=new m.Yd(G),ea=new Uint8Array(32);function es(t){if(0===t.length)throw Error("invalid ENS name; empty component");return t}function el(t){let r=H(ei(function(t,r){let n=er(t).reverse(),i=[];for(;n.length;){let t=function(t,r){var n;let i,o;let a=et,s=[],l=t.length;for(;l;){let r=t[--l];if(!(a=null===(n=a.branches.find(t=>t.set.has(r)))||void 0===n?void 0:n.node))break;if(a.save)o=r;else if(a.check&&r===o)break;s.push(r),a.fe0f&&(s.push(65039),l>0&&65039==t[l-1]&&l--),a.valid&&(i=s.slice(),2==a.valid&&i.splice(1,1),t.length=l)}return i}(n);if(t){i.push(...r(t));continue}let o=n.pop();if(J.has(o)){i.push(o);continue}if(Q.has(o))continue;let a=ee[o];if(a){i.push(...a);continue}throw Error(`Disallowed codepoint: 0x${o.toString(16).toUpperCase()}`)}return ei(String.fromCodePoint(...i).normalize("NFC"))}(t,en))),n=[];if(0===t.length)return n;let i=0;for(let t=0;t<r.length;t++)46===r[t]&&(n.push(es(r.slice(i,t))),i=t+1);if(i>=r.length)throw Error("invalid ENS name; empty component");return n.push(es(r.slice(i))),n}function eu(t){"string"!=typeof t&&eo.throwArgumentError("invalid ENS name; not a string","name",t);let r=ea,n=el(t);for(;n.length;)r=(0,V.w)((0,p.zo)([r,(0,V.w)(n.pop())]));return(0,p.Dv)(r)}ea.fill(0);var ec=n(28714),ed=n.n(ec);function eh(t){return"0x"+ed().sha256().update((0,p.lE)(t)).digest("hex")}new m.Yd("sha2/5.8.0");let ef=new m.Yd("web/5.8.0");function ep(t){return new Promise(r=>{setTimeout(r,t)})}function em(t,r){if(null==t)return null;if("string"==typeof t)return t;if((0,p.Zq)(t)){if(r&&("text"===r.split("/")[0]||"application/json"===r.split(";")[0].trim()))try{return q(t)}catch(t){}return(0,p.Dv)(t)}return t}function eg(t,r,n){let i=null;if(null!=r){i=H(r);let n="string"==typeof t?{url:t}:w(t);n.headers?0!==Object.keys(n.headers).filter(t=>"content-type"===t.toLowerCase()).length||(n.headers=w(n.headers),n.headers["content-type"]="application/json"):n.headers={"content-type":"application/json"},t=n}return function(t,r,n){let i;let o="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;ef.assertArgument(o>0&&o%1==0,"invalid connection throttle limit","connection.throttleLimit",o);let a="object"==typeof t?t.throttleCallback:null,s="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;ef.assertArgument(s>0&&s%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",s);let l="object"==typeof t&&!!t.errorPassThrough,u={},c=null,d={method:"GET"},h=!1,f=12e4;if("string"==typeof t)c=t;else if("object"==typeof t){if((null==t||null==t.url)&&ef.throwArgumentError("missing URL","connection.url",t),c=t.url,"number"==typeof t.timeout&&t.timeout>0&&(f=t.timeout),t.headers)for(let r in t.headers)u[r.toLowerCase()]={key:r,value:String(t.headers[r])},["if-none-match","if-modified-since"].indexOf(r.toLowerCase())>=0&&(h=!0);if(d.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==c.substring(0,6)&&!0!==t.allowInsecureAuthentication&&ef.throwError("basic authentication requires a secure https url",m.Yd.errors.INVALID_ARGUMENT,{argument:"url",url:c,user:t.user,password:"[REDACTED]"});let r=t.user+":"+t.password;u.authorization={key:"Authorization",value:"Basic "+F(H(r))}}null!=t.skipFetchSetup&&(d.skipFetchSetup=!!t.skipFetchSetup),null!=t.fetchOptions&&(d.fetchOptions=w(t.fetchOptions))}let g=RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),y=c?c.match(g):null;if(y)try{var v;let t={statusCode:200,statusMessage:"OK",headers:{"content-type":y[1]||"text/plain"},body:y[2]?D(y[3]):(v=y[3],H(v.replace(/%([0-9a-f][0-9a-f])/gi,(t,r)=>String.fromCharCode(parseInt(r,16)))))},r=t.body;return n&&(r=n(t.body,t)),Promise.resolve(r)}catch(t){ef.throwError("processing response error",m.Yd.errors.SERVER_ERROR,{body:em(y[1],y[2]),error:t,requestBody:null,requestMethod:"GET",url:c})}r&&(d.method="POST",d.body=r,null==u["content-type"]&&(u["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==u["content-length"]&&(u["content-length"]={key:"Content-Length",value:String(r.length)}));let b={};Object.keys(u).forEach(t=>{let r=u[t];b[r.key]=r.value}),d.headers=b;let _=(i=null,{promise:new Promise(function(t,r){f&&(i=setTimeout(()=>{null!=i&&(i=null,r(ef.makeError("timeout",m.Yd.errors.TIMEOUT,{requestBody:em(d.body,b["content-type"]),requestMethod:d.method,timeout:f,url:c})))},f))}),cancel:function(){null!=i&&(clearTimeout(i),i=null)}}),S=function(){var t,r,i,u;return t=this,r=void 0,i=void 0,u=function*(){for(let t=0;t<o;t++){let r=null;try{if(r=yield function(t,r){var n,i,o,a;return n=this,i=void 0,o=void 0,a=function*(){null==r&&(r={});let n={method:r.method||"GET",headers:r.headers||{},body:r.body||void 0};
1if(!0!==r.skipFetchSetup&&(n.mode="cors",n.cache="no-cache",n.credentials="same-origin",n.redirect="follow",n.referrer="client"),null!=r.fetchOptions){let t=r.fetchOptions;t.mode&&(n.mode=t.mode),t.cache&&(n.cache=t.cache),t.credentials&&(n.credentials=t.credentials),t.redirect&&(n.redirect=t.redirect),t.referrer&&(n.referrer=t.referrer)}let i=yield fetch(t,n),o=yield i.arrayBuffer(),a={};return i.headers.forEach?i.headers.forEach((t,r)=>{a[r.toLowerCase()]=t}):i.headers.keys().forEach(t=>{a[t.toLowerCase()]=i.headers.get(t)}),{headers:a,statusCode:i.status,statusMessage:i.statusText,body:(0,p.lE)(new Uint8Array(o))}},new(o||(o=Promise))(function(t,r){function s(t){try{u(a.next(t))}catch(t){r(t)}}function l(t){try{u(a.throw(t))}catch(t){r(t)}}function u(r){var n;r.done?t(r.value):((n=r.value)instanceof o?n:new o(function(t){t(n)})).then(s,l)}u((a=a.apply(n,i||[])).next())})}(c,d),t<o){if(301===r.statusCode||302===r.statusCode){let t=r.headers.location||"";if("GET"===d.method&&t.match(/^https:/)){c=r.headers.location;continue}}else if(429===r.statusCode){let n=!0;if(a&&(n=yield a(t,c)),n){let n=0,i=r.headers["retry-after"];n="string"==typeof i&&i.match(/^[1-9][0-9]*$/)?1e3*parseInt(i):s*parseInt(String(Math.random()*Math.pow(2,t))),yield ep(n);continue}}}}catch(t){null==(r=t.response)&&(_.cancel(),ef.throwError("missing response",m.Yd.errors.SERVER_ERROR,{requestBody:em(d.body,b["content-type"]),requestMethod:d.method,serverError:t,url:c}))}let i=r.body;if(h&&304===r.statusCode?i=null:!l&&(r.statusCode<200||r.statusCode>=300)&&(_.cancel(),ef.throwError("bad response",m.Yd.errors.SERVER_ERROR,{status:r.statusCode,headers:r.headers,body:em(i,r.headers?r.headers["content-type"]:null),requestBody:em(d.body,b["content-type"]),requestMethod:d.method,url:c})),n)try{let t=yield n(i,r);return _.cancel(),t}catch(n){if(n.throttleRetry&&t<o){let r=!0;if(a&&(r=yield a(t,c)),r){let r=s*parseInt(String(Math.random()*Math.pow(2,t)));yield ep(r);continue}}_.cancel(),ef.throwError("processing response error",m.Yd.errors.SERVER_ERROR,{body:em(i,r.headers?r.headers["content-type"]:null),error:n,requestBody:em(d.body,b["content-type"]),requestMethod:d.method,url:c})}return _.cancel(),i}return ef.throwError("failed response",m.Yd.errors.SERVER_ERROR,{requestBody:em(d.body,b["content-type"]),requestMethod:d.method,url:c})},new(i||(i=Promise))(function(n,o){function a(t){try{l(u.next(t))}catch(t){o(t)}}function s(t){try{l(u.throw(t))}catch(t){o(t)}}function l(t){var r;t.done?n(t.value):((r=t.value)instanceof i?r:new i(function(t){t(r)})).then(a,s)}l((u=u.apply(t,r||[])).next())})}();return Promise.race([_.promise,S])}(t,i,(t,r)=>{let i=null;if(null!=t)try{i=JSON.parse(q(t))}catch(r){ef.throwError("invalid JSON",m.Yd.errors.SERVER_ERROR,{body:t,error:r})}return n&&(i=n(i,r)),i})}function ey(t,r){return r||(r={}),null==(r=w(r)).floor&&(r.floor=0),null==r.ceiling&&(r.ceiling=1e4),null==r.interval&&(r.interval=250),new Promise(function(n,i){let o=null,a=!1,s=()=>!a&&(a=!0,o&&clearTimeout(o),!0);r.timeout&&(o=setTimeout(()=>{s()&&i(Error("timeout"))},r.timeout));let l=r.retryLimit,u=0;!function o(){return t().then(function(t){if(void 0!==t)s()&&n(t);else if(r.oncePoll)r.oncePoll.once("poll",o);else if(r.onceBlock)r.onceBlock.once("block",o);else if(!a){if(++u>l){s()&&i(Error("retry limit reached"));return}let t=r.interval*parseInt(String(Math.random()*Math.pow(2,u)));t<r.floor&&(t=r.floor),t>r.ceiling&&(t=r.ceiling),setTimeout(o,t)}return null},function(t){s()&&i(t)})}()})}var ev=n(62113),eb=n.n(ev);let ew="providers/5.8.0";var e_=n(42246);let eS=f.O$.from(0);var eE=n(83569),eA=n(44373),ex=n.n(eA);function ek(t,r,n){return t(n={path:r,exports:{},require:function(t,r){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(t,null==r?n.path:r)}},n.exports),n.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var eO=eP;function eP(t,r){if(!t)throw Error(r||"Assertion failed")}eP.equal=function(t,r,n){if(t!=r)throw Error(n||"Assertion failed: "+t+" != "+r)};var eC=ek(function(t,r){function n(t){return 1===t.length?"0"+t:t}function i(t){for(var r="",i=0;i<t.length;i++)r+=n(t[i].toString(16));return r}r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)n[i]=0|t[i];return n}if("hex"===r){(t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t);for(var i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var i=0;i<t.length;i++){var o=t.charCodeAt(i),a=o>>8,s=255&o;a?n.push(a,s):n.push(s)}return n},r.zero2=n,r.toHex=i,r.encode=function(t,r){return"hex"===r?i(t):t}}),eT=ek(function(t,r){r.assert=eO,r.toArray=eC.toArray,r.zero2=eC.zero2,r.toHex=eC.toHex,r.encode=eC.encode,r.getNAF=function(t,r,n){var i=Array(Math.max(t.bitLength(),n)+1);for(s=0;s<i.length;s+=1)i[s]=0;var o=1<<r+1,a=t.clone();for(s=0;s<i.length;s++){var s,l,u=a.andln(o-1);a.isOdd()?(l=u>(o>>1)-1?(o>>1)-u:u,a.isubn(l)):l=0,i[s]=l,a.iushrn(1)}return i},r.getJSF=function(t,r){var n=[[],[]];t=t.clone(),r=r.clone();for(var i=0,o=0;t.cmpn(-i)>0||r.cmpn(-o)>0;){var a,s,l,u=t.andln(3)+i&3,c=r.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),s=(1&u)==0?0:(3==(a=t.andln(7)+i&7)||5===a)&&2===c?-u:u,n[0].push(s),l=(1&c)==0?0:(3==(a=r.andln(7)+o&7)||5===a)&&2===u?-c:c,n[1].push(l),2*i===s+1&&(i=1-i),2*o===l+1&&(o=1-o),t.iushrn(1),r.iushrn(1)}return n},r.cachedProperty=function(t,r,n){var i="_"+r;t.prototype[r]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(ex())(t,"hex","le")}}),eM=eT.getNAF,eR=eT.getJSF,eI=eT.assert;function eN(t,r){this.type=t,this.p=new(ex())(r.p,16),this.red=r.prime?ex().red(r.prime):ex().mont(this.p),this.zero=new(ex())(0).toRed(this.red),this.one=new(ex())(1).toRed(this.red),this.two=new(ex())(2).toRed(this.red),this.n=r.n&&new(ex())(r.n,16),this.g=r.g&&this.pointFromJSON(r.g,r.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 5,578 bytes, line 1
1function eD(t,r){this.curve=t,this.type=r,this.precomputed=null}eN.prototype.point=function(){throw Error("Not implemented")},eN.prototype.validate=function(){throw Error("Not implemented")},eN.prototype._fixedNafMul=function(t,r){eI(t.precomputed);var n,i,o=t._getDoubles(),a=eM(r,1,this._bitLength),s=(1<<o.step+1)-(o.step%2==0?2:1);s/=3;var l=[];for(n=0;n<a.length;n+=o.step){i=0;for(var u=n+o.step-1;u>=n;u--)i=(i<<1)+a[u];l.push(i)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=s;h>0;h--){for(n=0;n<l.length;n++)(i=l[n])===h?d=d.mixedAdd(o.points[n]):i===-h&&(d=d.mixedAdd(o.points[n].neg()));c=c.add(d)}return c.toP()},eN.prototype._wnafMul=function(t,r){var n=4,i=t._getNAFPoints(n);n=i.wnd;for(var o=i.points,a=eM(r,n,this._bitLength),s=this.jpoint(null,null,null),l=a.length-1;l>=0;l--){for(var u=0;l>=0&&0===a[l];l--)u++;if(l>=0&&u++,s=s.dblp(u),l<0)break;var c=a[l];eI(0!==c),s="affine"===t.type?c>0?s.mixedAdd(o[c-1>>1]):s.mixedAdd(o[-c-1>>1].neg()):c>0?s.add(o[c-1>>1]):s.add(o[-c-1>>1].neg())}return"affine"===t.type?s.toP():s},eN.prototype._wnafMulAdd=function(t,r,n,i,o){var a,s,l,u=this._wnafT1,c=this._wnafT2,d=this._wnafT3,h=0;for(a=0;a<i;a++){var f=(l=r[a])._getNAFPoints(t);u[a]=f.wnd,c[a]=f.points}for(a=i-1;a>=1;a-=2){var p=a-1,m=a;if(1!==u[p]||1!==u[m]){d[p]=eM(n[p],u[p],this._bitLength),d[m]=eM(n[m],u[m],this._bitLength),h=Math.max(d[p].length,h),h=Math.max(d[m].length,h);continue}var g=[r[p],null,null,r[m]];0===r[p].y.cmp(r[m].y)?(g[1]=r[p].add(r[m]),g[2]=r[p].toJ().mixedAdd(r[m].neg())):0===r[p].y.cmp(r[m].y.redNeg())?(g[1]=r[p].toJ().mixedAdd(r[m]),g[2]=r[p].add(r[m].neg())):(g[1]=r[p].toJ().mixedAdd(r[m]),g[2]=r[p].toJ().mixedAdd(r[m].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=eR(n[p],n[m]);for(s=0,h=Math.max(v[0].length,h),d[p]=Array(h),d[m]=Array(h);s<h;s++){var b=0|v[0][s],w=0|v[1][s];d[p][s]=y[(b+1)*3+(w+1)],d[m][s]=0,c[p]=g}}var _=this.jpoint(null,null,null),S=this._wnafT4;for(a=h;a>=0;a--){for(var E=0;a>=0;){var A=!0;for(s=0;s<i;s++)S[s]=0|d[s][a],0!==S[s]&&(A=!1);if(!A)break;E++,a--}if(a>=0&&E++,_=_.dblp(E),a<0)break;for(s=0;s<i;s++){var x=S[s];0!==x&&(x>0?l=c[s][x-1>>1]:x<0&&(l=c[s][-x-1>>1].neg()),_="affine"===l.type?_.mixedAdd(l):_.add(l))}}for(a=0;a<i;a++)c[a]=null;return o?_:_.toP()},eN.BasePoint=eD,eD.prototype.eq=function(){throw Error("Not implemented")},eD.prototype.validate=function(){return this.curve.validate(this)},eN.prototype.decodePoint=function(t,r){t=eT.toArray(t,r);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?eI(t[t.length-1]%2==0):7===t[0]&&eI(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw Error("Unknown point format")},eD.prototype.encodeCompressed=function(t){return this.encode(t,!0)},eD.prototype._encode=function(t){var r=this.curve.p.byteLength(),n=this.getX().toArray("be",r);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",r))},eD.prototype.encode=function(t,r){return eT.encode(this._encode(r),t)},eD.prototype.precompute=function(t){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,t),r.beta=this._getBeta(),this.precomputed=r,this},eD.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return!!r&&r.points.length>=Math.ceil((t.bitLength()+1)/r.step)},eD.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o<r;o+=t){for(var a=0;a<t;a++)i=i.dbl();n.push(i)}return{step:t,points:n}},eD.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],n=(1<<t)-1,i=1===n?null:this.dbl(),o=1;o<n;o++)r[o]=r[o-1].add(i);return{wnd:t,points:r}},eD.prototype._getBeta=function(){return null},eD.prototype.dblp=function(t){for(var r=this,n=0;n<t;n++)r=r.dbl();return r};var eF=ek(function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}}),eL=eT.assert;function e$(t){eN.call(this,"short",t),this.a=new(ex())(t.a,16).toRed(this.red),this.b=new(ex())(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function ej(t,r,n,i){eN.BasePoint.call(this,t,"affine"),null===r&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new(ex())(r,16),this.y=new(ex())(n,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function eU(t,r,n,i){eN.BasePoint.call(this,t,"jacobian"),null===r&&null===n&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new(ex())(0)):(this.x=new(ex())(r,16),this.y=new(ex())(n,16),this.z=new(ex())(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}eF(e$,eN),e$.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){
vendor: 5,424 bytes, line 1
1if(t.beta)r=new(ex())(t.beta,16).toRed(this.red);else{var r,n,i,o=this._getEndoRoots(this.p);r=(r=0>o[0].cmp(o[1])?o[0]:o[1]).toRed(this.red)}if(t.lambda)n=new(ex())(t.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(r))?n=a[0]:(n=a[1],eL(0===this.g.mul(n).x.cmp(this.g.x.redMul(r))))}return i=t.basis?t.basis.map(function(t){return{a:new(ex())(t.a,16),b:new(ex())(t.b,16)}}):this._getEndoBasis(n),{beta:r,lambda:n,basis:i}}},e$.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:ex().mont(t),n=new(ex())(2).toRed(r).redInvm(),i=n.redNeg(),o=new(ex())(3).toRed(r).redNeg().redSqrt().redMul(n);return[i.redAdd(o).fromRed(),i.redSub(o).fromRed()]},e$.prototype._getEndoBasis=function(t){for(var r,n,i,o,a,s,l,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,f=this.n.clone(),p=new(ex())(1),m=new(ex())(0),g=new(ex())(0),y=new(ex())(1),v=0;0!==h.cmpn(0);){var b=f.div(h);u=f.sub(b.mul(h)),c=g.sub(b.mul(p));var w=y.sub(b.mul(m));if(!i&&0>u.cmp(d))r=l.neg(),n=p,i=u.neg(),o=c;else if(i&&2==++v)break;l=u,f=h,h=u,g=p,p=c,y=m,m=w}a=u.neg(),s=c;var _=i.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(_)>=0&&(a=r,s=n),i.negative&&(i=i.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:i,b:o},{a:a,b:s}]},e$.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),u=o.mul(n.b),c=a.mul(i.b);return{k1:t.sub(s).sub(l),k2:u.add(c).neg()}},e$.prototype.pointFromX=function(t,r){(t=new(ex())(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw Error("invalid point");var o=i.fromRed().isOdd();return(r&&!o||!r&&o)&&(i=i.redNeg()),this.point(t,i)},e$.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(o).cmpn(0)},e$.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a<t.length;a++){var s=this._endoSplit(r[a]),l=t[a],u=l._getBeta();s.k1.negative&&(s.k1.ineg(),l=l.neg(!0)),s.k2.negative&&(s.k2.ineg(),u=u.neg(!0)),i[2*a]=l,i[2*a+1]=u,o[2*a]=s.k1,o[2*a+1]=s.k2}for(var c=this._wnafMulAdd(1,i,o,2*a,n),d=0;d<2*a;d++)i[d]=null,o[d]=null;return c},eF(ej,eN.BasePoint),e$.prototype.point=function(t,r,n){return new ej(this,t,r,n)},e$.prototype.pointFromJSON=function(t,r){return ej.fromJSON(this,t,r)},ej.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,i=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=r,r.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return r}},ej.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},ej.fromJSON=function(t,r,n){"string"==typeof r&&(r=JSON.parse(r));var i=t.point(r[0],r[1],n);if(!r[2])return i;function o(r){return t.point(r[0],r[1],n)}var a=r[2];return i.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[i].concat(a.doubles.points.map(o))},naf:a.naf&&{wnd:a.naf.wnd,points:[i].concat(a.naf.points.map(o))}},i},ej.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},ej.prototype.isInfinity=function(){return this.inf},ej.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t)||0===this.x.cmp(t.x))return this.curve.point(null,null);var r=this.y.redSub(t.y);0!==r.cmpn(0)&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},ej.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},ej.prototype.getX=function(){return this.x.fromRed()},ej.prototype.getY=function(){return this.y.fromRed()},ej.prototype.mul=function(t){return(t=new(ex())(t,16),this.isInfinity())?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},ej.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)},ej.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)},ej.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},ej.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());
vendor: 4,403 bytes, line 1
1if(t&&this.precomputed){var n=this.precomputed,i=function(t){return t.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r},ej.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},eF(eU,eN.BasePoint),e$.prototype.jpoint=function(t,r,n){return new eU(this,t,r,n)},eU.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)},eU.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},eU.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),u=a.redSub(s);if(0===l.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=l.redSqr(),d=c.redMul(l),h=i.redMul(c),f=u.redSqr().redIAdd(d).redISub(h).redISub(h),p=u.redMul(h.redISub(f)).redISub(a.redMul(d)),m=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(f,p,m)},eU.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=n.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),f=l.redMul(d.redISub(h)).redISub(o.redMul(c)),p=this.z.redMul(s);return this.curve.jpoint(h,f,p)},eU.prototype.dblp=function(t){if(0===t||this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var r,n=this;for(r=0;r<t;r++)n=n.dbl();return n}var i=this.curve.a,o=this.curve.tinv,a=this.x,s=this.y,l=this.z,u=l.redSqr().redSqr(),c=s.redAdd(s);for(r=0;r<t;r++){var d=a.redSqr(),h=c.redSqr(),f=h.redSqr(),p=d.redAdd(d).redIAdd(d).redIAdd(i.redMul(u)),m=a.redMul(h),g=p.redSqr().redISub(m.redAdd(m)),y=m.redISub(g),v=p.redMul(y);v=v.redIAdd(v).redISub(f);var b=c.redMul(l);r+1<t&&(u=u.redMul(f)),a=g,l=b,c=v}return this.curve.jpoint(a,c.redMul(o),l)},eU.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},eU.prototype._zeroDbl=function(){if(this.zOne){var t,r,n,i=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(i).redISub(a);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i),u=l.redSqr().redISub(s).redISub(s),c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),t=u,r=l.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var d=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),p=this.x.redAdd(h).redSqr().redISub(d).redISub(f);p=p.redIAdd(p);var m=d.redAdd(d).redIAdd(d),g=m.redSqr(),y=f.redIAdd(f);y=(y=y.redIAdd(y)).redIAdd(y),t=g.redISub(p).redISub(p),r=m.redMul(p.redISub(t)).redISub(y),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,r,n)},eU.prototype._threeDbl=function(){if(this.zOne){var t,r,n,i=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(i).redISub(a);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),u=l.redSqr().redISub(s).redISub(s);t=u;var c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),r=l.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),p=this.x.redSub(d).redMul(this.x.redAdd(d));p=p.redAdd(p).redIAdd(p);var m=f.redIAdd(f),g=(m=m.redIAdd(m)).redAdd(m);t=p.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(d);var y=h.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),r=p.redMul(m.redISub(t)).redISub(y)}return this.curve.jpoint(t,r,n)},eU.prototype._dbl=function(){var t=this.curve.a,r=this.x,n=this.y,i=this.z,o=i.redSqr().redSqr(),a=r.redSqr(),s=n.redSqr(),l=a.redAdd(a).redIAdd(a).redIAdd(t.redMul(o)),u=r.redAdd(r),c=(u=u.redIAdd(u)).redMul(s),d=l.redSqr().redISub(c.redAdd(c)),h=c.redISub(d),f=s.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=l.redMul(h).redISub(f),m=n.redAdd(n).redMul(i);return this.curve.jpoint(d,p,m)},eU.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);
vendor: 6,442 bytes, line 1
1var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr(),i=r.redSqr(),o=t.redAdd(t).redIAdd(t),a=o.redSqr(),s=this.x.redAdd(r).redSqr().redISub(t).redISub(i),l=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(a)).redSqr(),u=i.redIAdd(i);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=o.redIAdd(s).redSqr().redISub(a).redISub(l).redISub(u),d=r.redMul(c);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.x.redMul(l).redISub(d);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(u.redISub(c)).redISub(s.redMul(l)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=this.z.redAdd(s).redSqr().redISub(n).redISub(l);return this.curve.jpoint(h,f,p)},eU.prototype.mul=function(t,r){return t=new(ex())(t,r),this.curve._wnafMul(this,t)},eU.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var r=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(r)).cmpn(0))return!1;var i=r.redMul(this.z),o=n.redMul(t.z);return 0===this.y.redMul(o).redISub(t.y.redMul(i)).cmpn(0)},eU.prototype.eqXToP=function(t){var r=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(r);if(0===this.x.cmp(n))return!0;for(var i=t.clone(),o=this.curve.redN.redMul(r);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(o),0===this.x.cmp(n))return!0}},eU.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},eU.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var eB=ek(function(t,r){r.base=eN,r.short=e$,r.mont=null,r.edwards=null}),ez=ek(function(t,r){var n,i=eT.assert;function o(t){"short"===t.type?this.curve=new eB.short(t):"edwards"===t.type?this.curve=new eB.edwards(t):this.curve=new eB.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(t,n){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var i=new o(n);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=o,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:ed().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:ed().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:ed().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:ed().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:ed().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:ed().sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:ed().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(t){n=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:ed().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
1,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})});function eH(t){if(!(this instanceof eH))return new eH(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=eC.toArray(t.entropy,t.entropyEnc||"hex"),n=eC.toArray(t.nonce,t.nonceEnc||"hex"),i=eC.toArray(t.pers,t.persEnc||"hex");eO(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,n,i)}eH.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},eH.prototype._hmac=function(){return new(ed()).hmac(this.hash,this.K)},eH.prototype._update=function(t){var r=this._hmac().update(this.V).update([0]);t&&(r=r.update(t)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},eH.prototype.reseed=function(t,r,n,i){"string"!=typeof r&&(i=n,n=r,r=null),t=eC.toArray(t,r),n=eC.toArray(n,i),eO(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},eH.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof r&&(i=n,n=r,r=null),n&&(n=eC.toArray(n,i||"hex"),this._update(n));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(n),this._reseed++,eC.encode(a,r)};var eq=eT.assert;function eV(t,r){this.ec=t,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}eV.fromPublic=function(t,r,n){return r instanceof eV?r:new eV(t,{pub:r,pubEnc:n})},eV.fromPrivate=function(t,r,n){return r instanceof eV?r:new eV(t,{priv:r,privEnc:n})},eV.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},eV.prototype.getPublic=function(t,r){return("string"==typeof t&&(r=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r)?this.pub.encode(r,t):this.pub},eV.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},eV.prototype._importPrivate=function(t,r){this.priv=new(ex())(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)},eV.prototype._importPublic=function(t,r){if(t.x||t.y){"mont"===this.ec.curve.type?eq(t.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&eq(t.x&&t.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(t.x,t.y);return}this.pub=this.ec.curve.decodePoint(t,r)},eV.prototype.derive=function(t){return t.validate()||eq(t.validate(),"public point not validated"),t.mul(this.priv).getX()},eV.prototype.sign=function(t,r,n){return this.ec.sign(t,this,r,n)},eV.prototype.verify=function(t,r,n){return this.ec.verify(t,r,this,void 0,n)},eV.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var eG=eT.assert;function eW(t,r){if(t instanceof eW)return t;this._importDER(t,r)||(eG(t.r&&t.s,"Signature without r or s"),this.r=new(ex())(t.r,16),this.s=new(ex())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function eK(){this.place=0}function eY(t,r){var n=t[r.place++];if(!(128&n))return n;var i=15&n;if(0===i||i>4||0===t[r.place])return!1;for(var o=0,a=0,s=r.place;a<i;a++,s++)o<<=8,o|=t[s],o>>>=0;return!(o<=127)&&(r.place=s,o)}function eZ(t){for(var r=0,n=t.length-1;!t[r]&&!(128&t[r+1])&&r<n;)r++;return 0===r?t:t.slice(r)}function eX(t,r){if(r<128){t.push(r);return}var n=1+(Math.log(r)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(r>>>(n<<3)&255);t.push(r)}eW.prototype._importDER=function(t,r){t=eT.toArray(t,r);var n=new eK;if(48!==t[n.place++])return!1;var i=eY(t,n);if(!1===i||i+n.place!==t.length||2!==t[n.place++])return!1;var o=eY(t,n);if(!1===o||(128&t[n.place])!=0)return!1;var a=t.slice(n.place,o+n.place);if(n.place+=o,2!==t[n.place++])return!1;var s=eY(t,n);if(!1===s||t.length!==s+n.place||(128&t[n.place])!=0)return!1;var l=t.slice(n.place,s+n.place);
1if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}return this.r=new(ex())(a),this.s=new(ex())(l),this.recoveryParam=null,!0},eW.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&n[0]&&(n=[0].concat(n)),r=eZ(r),n=eZ(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var i=[2];eX(i,r.length),(i=i.concat(r)).push(2),eX(i,n.length);var o=i.concat(n),a=[48];return eX(a,o.length),a=a.concat(o),eT.encode(a,t)};var eJ=function(){throw Error("unsupported")},eQ=eT.assert;function e0(t){if(!(this instanceof e0))return new e0(t);"string"==typeof t&&(eQ(Object.prototype.hasOwnProperty.call(ez,t),"Unknown curve "+t),t=ez[t]),t instanceof ez.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}e0.prototype.keyPair=function(t){return new eV(this,t)},e0.prototype.keyFromPrivate=function(t,r){return eV.fromPrivate(this,t,r)},e0.prototype.keyFromPublic=function(t,r){return eV.fromPublic(this,t,r)},e0.prototype.genKeyPair=function(t){t||(t={});for(var r=new eH({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||eJ(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),i=this.n.sub(new(ex())(2));;){var o=new(ex())(r.generate(n));if(!(o.cmp(i)>0))return o.iaddn(1),this.keyFromPrivate(o)}},e0.prototype._truncateToN=function(t,r,n){if(ex().isBN(t)||"number"==typeof t)i=(t=new(ex())(t,16)).byteLength();else if("object"==typeof t)i=t.length,t=new(ex())(t,16);else{var i,o=t.toString();i=o.length+1>>>1,t=new(ex())(o,16)}"number"!=typeof n&&(n=8*i);var a=n-this.n.bitLength();return(a>0&&(t=t.ushrn(a)),!r&&t.cmp(this.n)>=0)?t.sub(this.n):t},e0.prototype.sign=function(t,r,n,i){if("object"==typeof n&&(i=n,n=null),i||(i={}),"string"!=typeof t&&"number"!=typeof t&&!ex().isBN(t)){eQ("object"==typeof t&&t&&"number"==typeof t.length,"Expected message to be an array-like, a hex string, or a BN instance"),eQ(t.length>>>0===t.length);for(var o=0;o<t.length;o++)eQ((255&t[o])===t[o])}r=this.keyFromPrivate(r,n),eQ(!(t=this._truncateToN(t,!1,i.msgBitLength)).isNeg(),"Can not sign a negative message");var a=this.n.byteLength(),s=r.getPrivate().toArray("be",a),l=t.toArray("be",a);eQ(new(ex())(l).eq(t),"Can not sign message");for(var u=new eH({hash:this.hash,entropy:s,nonce:l,pers:i.pers,persEnc:i.persEnc||"utf8"}),c=this.n.sub(new(ex())(1)),d=0;;d++){var h=i.k?i.k(d):new(ex())(u.generate(this.n.byteLength()));if(!(0>=(h=this._truncateToN(h,!0)).cmpn(1)||h.cmp(c)>=0)){var f=this.g.mul(h);if(!f.isInfinity()){var p=f.getX(),m=p.umod(this.n);if(0!==m.cmpn(0)){var g=h.invm(this.n).mul(m.mul(r.getPrivate()).iadd(t));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(f.getY().isOdd()?1:0)|(0!==p.cmp(m)?2:0);return i.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new eW({r:m,s:g,recoveryParam:y})}}}}}},e0.prototype.verify=function(t,r,n,i,o){o||(o={}),t=this._truncateToN(t,!1,o.msgBitLength),n=this.keyFromPublic(n,i);var a,s=(r=new eW(r,"hex")).r,l=r.s;if(0>s.cmpn(1)||s.cmp(this.n)>=0||0>l.cmpn(1)||l.cmp(this.n)>=0)return!1;var u=l.invm(this.n),c=u.mul(t).umod(this.n),d=u.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,n.getPublic(),d)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(c,n.getPublic(),d)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},e0.prototype.recoverPubKey=function(t,r,n,i){eQ((3&n)===n,"The recovery param is more than two bits"),r=new eW(r,i);var o=this.n,a=new(ex())(t),s=r.r,l=r.s,u=1&n,c=n>>1;
1if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw Error("Unable to find sencond key candinate");s=c?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var d=r.r.invm(o),h=o.sub(a).mul(d).umod(o),f=l.mul(d).umod(o);return this.g.mulAdd(h,s,f)},e0.prototype.getKeyRecoveryParam=function(t,r,n,i){if(null!==(r=new eW(r,i)).recoveryParam)return r.recoveryParam;for(var o,a=0;a<4;a++){try{o=this.recoverPubKey(t,r,a)}catch(t){continue}if(o.eq(n))return a}throw Error("Unable to find valid recovery factor")};var e1=ek(function(t,r){r.version="6.6.1",r.utils=eT,r.rand=function(){throw Error("unsupported")},r.curve=eB,r.curves=ez,r.ec=e0,r.eddsa=null}).ec;let e2=new m.Yd("signing-key/5.8.0"),e3=null;function e5(){return e3||(e3=new e1("secp256k1")),e3}class e6{constructor(t){y(this,"curve","secp256k1"),y(this,"privateKey",(0,p.Dv)(t)),32!==(0,p.E1)(this.privateKey)&&e2.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");let r=e5().keyFromPrivate((0,p.lE)(this.privateKey));y(this,"publicKey","0x"+r.getPublic(!1,"hex")),y(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),y(this,"_isSigningKey",!0)}_addPoint(t){let r=e5().keyFromPublic((0,p.lE)(this.publicKey)),n=e5().keyFromPublic((0,p.lE)(t));return"0x"+r.pub.add(n.pub).encodeCompressed("hex")}signDigest(t){let r=e5().keyFromPrivate((0,p.lE)(this.privateKey)),n=(0,p.lE)(t);32!==n.length&&e2.throwArgumentError("bad digest length","digest",t);let i=r.sign(n,{canonical:!0});return(0,p.N)({recoveryParam:i.recoveryParam,r:(0,p.$m)("0x"+i.r.toString(16),32),s:(0,p.$m)("0x"+i.s.toString(16),32)})}computeSharedSecret(t){let r=e5().keyFromPrivate((0,p.lE)(this.privateKey)),n=e5().keyFromPublic((0,p.lE)(e4(t)));return(0,p.$m)("0x"+r.derive(n.getPublic()).toString(16),32)}static isSigningKey(t){return!!(t&&t._isSigningKey)}}function e4(t,r){let n=(0,p.lE)(t);if(32===n.length){let t=new e6(n);return r?"0x"+e5().keyFromPrivate(n).getPublic(!0,"hex"):t.publicKey}return 33===n.length?r?(0,p.Dv)(n):"0x"+e5().keyFromPublic(n).getPublic(!1,"hex"):65===n.length?r?"0x"+e5().keyFromPublic(n).getPublic(!0,"hex"):(0,p.Dv)(n):e2.throwArgumentError("invalid public or private key","key","[REDACTED]")}let e8=new m.Yd("transactions/5.8.0");function e9(t){return"0x"===t?null:(0,e_.getAddress)(t)}function e7(t){return"0x"===t?eS:f.O$.from(t)}function te(t,r){return function(t){let r=e4(t);return(0,e_.getAddress)((0,p.p3)((0,V.w)((0,p.p3)(r,1)),12))}(function(t,r){let n=(0,p.N)(r),i={r:(0,p.lE)(n.r),s:(0,p.lE)(n.s)};return"0x"+e5().recoverPubKey((0,p.lE)(t),i,n.recoveryParam).encode("hex",!1)}((0,p.lE)(t),r))}function tt(t,r){let n=(0,p.G1)(f.O$.from(t).toHexString());return n.length>32&&e8.throwArgumentError("invalid length for "+r,"transaction:"+r,t),n}function tr(t,r){return{address:(0,e_.getAddress)(t),storageKeys:(r||[]).map((r,n)=>(32!==(0,p.E1)(r)&&e8.throwArgumentError("invalid access list storageKey",`accessList[${t}:${n}]`,r),r.toLowerCase()))}}function tn(t){if(Array.isArray(t))return t.map((t,r)=>Array.isArray(t)?(t.length>2&&e8.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${r}]`,t),tr(t[0],t[1])):tr(t.address,t.storageKeys));let r=Object.keys(t).map(r=>{let n=t[r].reduce((t,r)=>(t[r]=!0,t),{});return tr(r,Object.keys(n).sort())});return r.sort((t,r)=>t.address.localeCompare(r.address)),r}function ti(t){return tn(t).map(t=>[t.address,t.storageKeys])}function to(t,r){if(null!=t.gasPrice){let r=f.O$.from(t.gasPrice),n=f.O$.from(t.maxFeePerGas||0);r.eq(n)||e8.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:n})}let n=[tt(t.chainId||0,"chainId"),tt(t.nonce||0,"nonce"),tt(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),tt(t.maxFeePerGas||0,"maxFeePerGas"),tt(t.gasLimit||0,"gasLimit"),null!=t.to?(0,e_.getAddress)(t.to):"0x",tt(t.value||0,"value"),t.data||"0x",ti(t.accessList||[])];if(r){let t=(0,p.N)(r);n.push(tt(t.recoveryParam,"recoveryParam")),n.push((0,p.G1)(t.r)),n.push((0,p.G1)(t.s))}return(0,p.xs)(["0x02",eE.c(n)])}function ta(t,r){let n=[tt(t.chainId||0,"chainId"),tt(t.nonce||0,"nonce"),tt(t.gasPrice||0,"gasPrice"),tt(t.gasLimit||0,"gasLim
1it"),null!=t.to?(0,e_.getAddress)(t.to):"0x",tt(t.value||0,"value"),t.data||"0x",ti(t.accessList||[])];if(r){let t=(0,p.N)(r);n.push(tt(t.recoveryParam,"recoveryParam")),n.push((0,p.G1)(t.r)),n.push((0,p.G1)(t.s))}return(0,p.xs)(["0x01",eE.c(n)])}function ts(t,r,n){try{let n=e7(r[0]).toNumber();if(0!==n&&1!==n)throw Error("bad recid");t.v=n}catch(t){e8.throwArgumentError("invalid v for transaction type: 1","v",r[0])}t.r=(0,p.$m)(r[1],32),t.s=(0,p.$m)(r[2],32);try{let r=(0,V.w)(n(t));t.from=te(r,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}(u=h||(h={}))[u.legacy=0]="legacy",u[u.eip2930=1]="eip2930",u[u.eip1559=2]="eip1559";let tl=new m.Yd(ew);class tu{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){let t={},r=this.address.bind(this),n=this.bigNumber.bind(this),i=this.blockTag.bind(this),o=this.data.bind(this),a=this.hash.bind(this),s=this.hex.bind(this),l=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:a,type:u,accessList:tu.allowNull(this.accessList.bind(this),null),blockHash:tu.allowNull(a,null),blockNumber:tu.allowNull(l,null),transactionIndex:tu.allowNull(l,null),confirmations:tu.allowNull(l,null),from:r,gasPrice:tu.allowNull(n),maxPriorityFeePerGas:tu.allowNull(n),maxFeePerGas:tu.allowNull(n),gasLimit:n,to:tu.allowNull(r,null),value:n,nonce:l,data:o,r:tu.allowNull(this.uint256),s:tu.allowNull(this.uint256),v:tu.allowNull(l),creates:tu.allowNull(r,null),raw:tu.allowNull(o)},t.transactionRequest={from:tu.allowNull(r),nonce:tu.allowNull(l),gasLimit:tu.allowNull(n),gasPrice:tu.allowNull(n),maxPriorityFeePerGas:tu.allowNull(n),maxFeePerGas:tu.allowNull(n),to:tu.allowNull(r),value:tu.allowNull(n),data:tu.allowNull(t=>this.data(t,!0)),type:tu.allowNull(l),accessList:tu.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:l,blockNumber:l,transactionHash:a,address:r,topics:tu.arrayOf(a),data:o,logIndex:l,blockHash:a},t.receipt={to:tu.allowNull(this.address,null),from:tu.allowNull(this.address,null),contractAddress:tu.allowNull(r,null),transactionIndex:l,root:tu.allowNull(s),gasUsed:n,logsBloom:tu.allowNull(o),blockHash:a,transactionHash:a,logs:tu.arrayOf(this.receiptLog.bind(this)),blockNumber:l,confirmations:tu.allowNull(l,null),cumulativeGasUsed:n,effectiveGasPrice:tu.allowNull(n),status:tu.allowNull(l),type:u},t.block={hash:tu.allowNull(a),parentHash:a,number:l,timestamp:l,nonce:tu.allowNull(s),difficulty:this.difficulty.bind(this),gasLimit:n,gasUsed:n,miner:tu.allowNull(r),extraData:o,transactions:tu.allowNull(tu.arrayOf(a)),baseFeePerGas:tu.allowNull(n)},t.blockWithTransactions=w(t.block),t.blockWithTransactions.transactions=tu.allowNull(tu.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:tu.allowNull(i,void 0),toBlock:tu.allowNull(i,void 0),blockHash:tu.allowNull(a,void 0),address:tu.allowNull(r,void 0),topics:tu.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:tu.allowNull(l),blockHash:tu.allowNull(a),transactionIndex:l,removed:tu.allowNull(this.boolean.bind(this)),address:r,data:tu.allowFalsish(o,"0x"),topics:tu.arrayOf(a),transactionHash:a,logIndex:l},t}accessList(t){return tn(t||[])}number(t){return"0x"===t?0:f.O$.from(t).toNumber()}type(t){return"0x"===t||null==t?0:f.O$.from(t).toNumber()}bigNumber(t){return f.O$.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw Error("invalid boolean - "+t)}hex(t,r){return"string"==typeof t&&(r||"0x"===t.substring(0,2)||(t="0x"+t),(0,p.A7)(t))?t.toLowerCase():tl.throwArgumentError("invalid hash","value",t)}data(t,r){let n=this.hex(t,r);if(n.length%2!=0)throw Error("invalid data; odd-length - "+t);return n}address(t){return(0,e_.getAddress)(t)}callAddress(t){if(!(0,p.A7)(t,32))return null;let r=(0,e_.getAddress)((0,p.p3)(t,12));return"0x0000000000000000000000000000000000000000"===r?null:r}contractAddress(t){return(0,e_.getContractAddress)(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";switch(t){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return t}if("number"==typeof t||(0,p.A7)(t))return(0,p.$P)(t);throw Error("invalid blockTag")}hash(t,r){let n=this.hex(t,r);return 32!==(0,p.E1)(n)?tl.throwArgumentError("invalid hash","value",t):n}difficulty(t){if(null==t)return null;let r=f.O$.from(t);try{return r.toNumber()}catch(t){}return null}uint256(t){if(!(0,p.A7)(t))throw Error("invalid uint256");return(0,p.$m)(t,32)}_block(t,r){null!=t.author&&null==t.miner&&(t.miner=t.author);let n=null!=t._difficulty?t._difficulty:t.difficulty,i=tu.check(r,t);return i._difficulty=null==n?null:f.O$.from(n),i}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return tu.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&f.O$.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),(1===t.type||2===t.type)&&null==t.accessList&&(t.accessList=[]);let r=tu.check(this.formats.transaction,t);if(null!=t.chainId){let n=t.chainId;(0,p.A7)(n)&&(n=f.O$.from(n).toNumber()),r.chainId=n}else{let n=t.networkId;null==n&&null==r.v&&(n=t.chainId),(0,p.A7)(n)&&(n=f.O$.from(n).toNumber()),"number"!=typeof n&&null!=r.v&&((n=(r.v-35)/2)<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),r.chainId=n}return r.blockHash&&"x"===r.blockHash.replace(/0/g,"")&&(r.blockHash=null),r}transaction(t){return function(t){let r=(0,p.lE)(t);if(r[0]>127)return function(t){let r=eE.J(t);9!==r.length&&6!==r.length&&e8.throwArgumentError("invalid raw transaction","rawTransaction",t);let n={nonce:e7(r[0]).toNumber(),gasPrice:e7(r[1]),gasLimit:e7(r[2]),to:e9(r[3]),value:e7(r[4]),data:r[5],chainId:0};if(6===r.length)return n;try{n.v=f.O$.from(r[6]).toNumber()}catch(t){return n}if(n.r=(0,p.$m)(r[7],32),n.s=(0,p.$m)(r[8],32),f.O$.from(n.r).isZero()&&f.O$.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);let i=n.v-27,o=r.slice(0,6);0!==n.chainId&&(o.push((0,p.Dv)(n.chainId)),o.push("0x"),o.push("0x"),i-=2*n.
1chainId+8);let a=(0,V.w)(eE.c(o));try{n.from=te(a,{r:(0,p.Dv)(n.r),s:(0,p.Dv)(n.s),recoveryParam:i})}catch(t){}n.hash=(0,V.w)(t)}return n.type=null,n}(r);switch(r[0]){case 1:return function(t){let r=eE.J(t.slice(1));8!==r.length&&11!==r.length&&e8.throwArgumentError("invalid component count for transaction type: 1","payload",(0,p.Dv)(t));let n={type:1,chainId:e7(r[0]).toNumber(),nonce:e7(r[1]).toNumber(),gasPrice:e7(r[2]),gasLimit:e7(r[3]),to:e9(r[4]),value:e7(r[5]),data:r[6],accessList:tn(r[7])};return 8===r.length||(n.hash=(0,V.w)(t),ts(n,r.slice(8),ta)),n}(r);case 2:return function(t){let r=eE.J(t.slice(1));9!==r.length&&12!==r.length&&e8.throwArgumentError("invalid component count for transaction type: 2","payload",(0,p.Dv)(t));let n=e7(r[2]),i=e7(r[3]),o={type:2,chainId:e7(r[0]).toNumber(),nonce:e7(r[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:i,gasPrice:null,gasLimit:e7(r[4]),to:e9(r[5]),value:e7(r[6]),data:r[7],accessList:tn(r[8])};return 9===r.length||(o.hash=(0,V.w)(t),ts(o,r.slice(9),to)),o}(r)}return e8.throwError(`unsupported transaction type: ${r[0]}`,m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:r[0]})}(t)}receiptLog(t){return tu.check(this.formats.receiptLog,t)}receipt(t){let r=tu.check(this.formats.receipt,t);if(null!=r.root){if(r.root.length<=4){let t=f.O$.from(r.root).toNumber();0===t||1===t?(null!=r.status&&r.status!==t&&tl.throwArgumentError("alt-root-status/status mismatch","value",{root:r.root,status:r.status}),r.status=t,delete r.root):tl.throwArgumentError("invalid alt-root-status","value.root",r.root)}else 66!==r.root.length&&tl.throwArgumentError("invalid root hash","value.root",r.root)}return null!=r.status&&(r.byzantium=!0),r}topics(t){return Array.isArray(t)?t.map(t=>this.topics(t)):null!=t?this.hash(t,!0):null}filter(t){return tu.check(this.formats.filter,t)}filterLog(t){return tu.check(this.formats.filterLog,t)}static check(t,r){let n={};for(let i in t)try{let o=t[i](r[i]);void 0!==o&&(n[i]=o)}catch(t){throw t.checkKey=i,t.checkValue=r[i],t}return n}static allowNull(t,r){return function(n){return null==n?r:t(n)}}static allowFalsish(t,r){return function(n){return n?t(n):r}}static arrayOf(t){return function(r){if(!Array.isArray(r))throw Error("not an array");let n=[];return r.forEach(function(r){n.push(t(r))}),n}}}function tc(t){return t&&"function"==typeof t.isCommunityResource}function td(t){return tc(t)&&t.isCommunityResource()}let th=!1;function tf(){th||(th=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var tp=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let tm=new m.Yd(ew);function tg(t){return null==t?"null":(32!==(0,p.E1)(t)&&tm.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function ty(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map(t=>{if(!Array.isArray(t))return tg(t);{let r={};t.forEach(t=>{r[tg(t)]=!0});let n=Object.keys(r);return n.sort(),n.join("|")}}).join("&")}function tv(t){if("string"==typeof t){if(t=t.toLowerCase(),32===(0,p.E1)(t))return"tx:"+t;if(-1===t.indexOf(":"))return t}else if(Array.isArray(t))return"filter:*:"+ty(t);else if(x.isForkEvent(t))throw tm.warn("not implemented"),Error("not implemented");else if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+ty(t.topics||[]);throw Error("invalid event - "+t)}function tb(){return new Date().getTime()}function tw(t){return new Promise(r=>{setTimeout(r,t)})}let t_=["block","network","pending","poll"];class tS{constructor(t,r,n){y(this,"tag",t),y(this,"listener",r),y(this,"once",n
1),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){let t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){var t;let r=this.tag.split(":");if("filter"!==r[0])return null;let n=r[1],i=""===(t=r[2])?[]:t.split(/&/g).map(t=>{if(""===t)return[];let r=t.split("|").map(t=>"null"===t?null:t);return 1===r.length?r[0]:r}),o={};return i.length>0&&(o.topics=i),n&&"*"!==n&&(o.address=n),o}pollable(){return this.tag.indexOf(":")>=0||t_.indexOf(this.tag)>=0}}let tE={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function tA(t){return(0,p.$m)(f.O$.from(t).toHexString(),32)}function tx(t){return $.encode((0,p.zo)([t,(0,p.p3)(eh(eh(t)),0,4)]))}let tk=RegExp("^(ipfs)://(.*)$","i"),tO=[RegExp("^(https)://(.*)$","i"),RegExp("^(data):(.*)$","i"),tk,RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function tP(t,r){try{return q(tC(t,r))}catch(t){}return null}function tC(t,r){if("0x"===t)return null;let n=f.O$.from((0,p.p3)(t,r,r+32)).toNumber(),i=f.O$.from((0,p.p3)(t,n,n+32)).toNumber();return(0,p.p3)(t,n+32,n+32+i)}function tT(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):tm.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function tM(t){let r=(0,p.lE)(t);if(r.length>32)throw Error("internal; should not happen");let n=new Uint8Array(32);return n.set(r,32-r.length),n}function tR(t){let r=[],n=0;for(let i=0;i<t.length;i++)r.push(null),n+=32;for(let i=0;i<t.length;i++){let o=(0,p.lE)(t[i]);r[i]=tM(n),r.push(tM(o.length)),r.push(function(t){if(t.length%32==0)return t;let r=new Uint8Array(32*Math.ceil(t.length/32));return r.set(t),r}(o)),n+=32+32*Math.ceil(o.length/32)}return(0,p.xs)(r)}class tI{constructor(t,r,n,i){y(this,"provider",t),y(this,"name",n),y(this,"address",t.formatter.address(r)),y(this,"_resolvedAddress",i)}supportsWildcard(){return this._supportsEip2544||(this._supportsEip2544=this.provider.call({to:this.address,data:"0x01ffc9a79061b92300000000000000000000000000000000000000000000000000000000"}).then(t=>f.O$.from(t).eq(1)).catch(t=>{if(t.code===m.Yd.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t})),this._supportsEip2544}_fetch(t,r){return tp(this,void 0,void 0,function*(){let n={to:this.address,ccipReadEnabled:!0,data:(0,p.xs)([t,eu(this.name),r||"0x"])},i=!1;if(yield this.supportsWildcard()){var o;i=!0,n.data=(0,p.xs)(["0x9061b923",tR([(o=this.name,(0,p.Dv)((0,p.zo)(el(o).map(t=>{if(t.length>63)throw Error("invalid DNS encoded entry; length exceeds 63 bytes");let r=new Uint8Array(t.length+1);return r.set(t,1),r[0]=r.length-1,r})))+"00"),n.data])])}try{let t=yield this.provider.call(n);return(0,p.lE)(t).length%32==4&&tm.throwError("resolver threw error",m.Yd.errors.CALL_EXCEPTION,{transaction:n,data:t}),i&&(t=tC(t,0)),t}catch(t){if(t.code===m.Yd.errors.CALL_EXCEPTION)return null;throw t}})}_fetchBytes(t,r){return tp(this,void 0,void 0,function*(){let n=yield this._fetch(t,r);return null!=n?tC(n,0):null})}_getAddress(t,r){let n=tE[String(t)];if(null==n&&tm.throwError(`unsupported coin type: ${t}`,m.Yd.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===n.ilk)return this.provider.formatter.address(r);let i=(0,p.lE)(r);if(null!=n.p2pkh){let t=r.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){let r=parseInt(t[1],16);if(t[2].length===2*r&&r>=1&&r<=75)return tx((0,p.zo)([[n.p2pkh],"0x"+t[2]]))}}if(null!=n.p2sh){let t=r.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){let r=parseInt(t[1],16);if(t[2].length===2*r&&r>=1&&r<=75)return tx((0,p.zo)([[n.p2sh],"0x"+t[2]]))}}if(null!=n.prefix){let t=i[1],r=i[0];if(0===r?20!==t&&32!==t&&(r=-1):r=-1,r>=0&&i.length===2+t&&t>=1&&t<=75){let t=eb().toWords(i.slice(2));return t.unshift(r),eb().encode(n.prefix,t)}}return null}getAddress(t){return tp(this,void 0,void 0,function*(){if(null==t&&(t=60),60===t)try{let t=yield this._fetch("0x3b3b57de");if("0x"===t||"0x0000000000000000000000000000000000000000000000000000000000000000"===t)return null;return this.provider.formatter.callAddress(t)}catch(t){if(t.code===m.Yd.errors.CALL_EXCEPTION)return null;throw t}let r=yield this._fetchBytes("0xf1cb7e06",tA(t));if(null==r||"0x"===r)return null;let n=this._getAddress(t,r);return null==n&&tm.throwError("invalid or unsupported coin data",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:r}),n})}getAvatar(){return tp(this,void 0,void 0,function*(){let t=[{type:"name",content:this.name}];try{let r=yield this.getText("avatar");if(null==r)return null;for(let n=0;n<tO.length;n++){let i=r.match(tO[n]);if(null==i)continue;let o=i[1].toLowerCase();switch(o){case"https":return t.push({type:"url",content:r}),{linkage:t,url:r};case"data":return t.push({type:"data",content:r}),{linkage:t,url:r};case"ipfs":return t.push({type:"ipfs",content:r}),{linkage:t,url:tT(r)};case"erc721":case"erc1155":{let n="erc721"===o?"0xc87b56dd":"0x0e89341c";t.push({type:o,content:r});let a=this._resolvedAddress||(yield this.getAddress()),s=(i[2]||"").split("/");if(2!==s.length)return null;let l=yield this.provider.formatter.address(s[0]),u=(0,p.$m)(f.O$.from(s[1]).toHexString(),32);if("erc721"===o){let r=this.provider.formatter.callAddress((yield this.provider.call({to:l,data:(0,p.xs)(["0x6352211e",u])})));if(a!==r)return null;t.push({type:"owner",content:r})}else if("erc1155"===o){let r=f.O$.from((yield this.provider.call({to:l,data:(0,p.xs)(["0x00fdd58e",(0,p.$m)(a,32),u])})));if(r.isZero())return null;t.push({type:"balance",content:r.toString()})}let c={to:this.provider.formatter.address(s[0]),data:(0,p.xs)([n,u])},d=tP((yield this.provider.call(c)),0);if(null==d)return null;t.push({type:"metadata-url-base",content:d}),"erc1155"===o&&(d=d.replace("{id}",u.substring(2)),t.push({type:"metadata-url-expanded",content:d})),d.match(/^ipfs:/i)&&(d=tT(d)),t.push({type:"metadata-url",content:d});let h=yield eg(d);if(!h)return null;t.push({type:"metadata",content:JSON.stringify(h)});let m=h.image;if("string"!=typeof m)return null;if(m.match(/^(https:\/\/|data:)/i));else{let r=m.match(tk);if(null==r)return null;t.push({type:"url-ipfs",content:m}),m=tT(m)}return t.push({type:"url",content:m}),{linkage:t,url:m}}}}}catch(t){}return null})}getContentHash(){return tp(this,void 0,void 0,function*(){let t=yield this._fetchBytes("0xbc1c58d1");if(null==t||"0x"===t)return null;let r=t.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(r){let t=parseInt(r[3],16);if(r[4].length===2*t)return"ipfs://"+$.encode("0x"+r[1])}let n=t.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(n){let t=parseInt(n[3],16);if(n[4].length===2*t)return"ipns://"+$.encode("0x"+n[1])}let i=t.match(/^0xe40101fa011b20([0-9a-f]*)$/);if(i&&64===i[1].length)return"bzz://"+i[1];let o=t.match(/^0x90b2c605([0-9a-f]*)$/);if(o&&68===o[1].length){let t={"=":"","+":"-","/":"_"};return"sia://"+F("0x"+o[1]).replace(/[=+\/]/g,r=>t[r])}return tm.throwError("invalid or unsupported content hash data",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})})}getText(t){return tp(this,void 0,void 0,function*(){let r=H(t);(r=(0,p.zo)([tA(64),tA(r.length),r])).length%32!=0&&(r=(0,p.zo)([r,(0,p.$m)("0x",32-t.length%32)]));let n=yield this._fetchBytes("0x59d1d43c",(0,p.Dv)(r));return null==n||"0x"===n?null:q(n)})}}let tN=null,tD=1;class tF extends k{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),y(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch(t=>{}),this._ready().catch(t=>{});else{let r=v(new.target,"getNetwork")(t);
1r?(y(this,"_network",r),this.emit("network",r,null)):tm.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return tp(this,void 0,void 0,function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(t){}null==t&&(t=yield this.detectNetwork()),t||tm.throwError("no network detected",m.Yd.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:y(this,"_network",t),this.emit("network",t,null))}return this._network})}get ready(){return ey(()=>this._ready().then(t=>t,t=>{if(t.code!==m.Yd.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))}static getFormatter(){return null==tN&&(tN=new tu),tN}static getNetwork(t){return N(null==t?"homestead":t)}ccipReadFetch(t,r,n){return tp(this,void 0,void 0,function*(){if(this.disableCcipRead||0===n.length)return null;let i=t.to.toLowerCase(),o=r.toLowerCase(),a=[];for(let t=0;t<n.length;t++){let r=n[t],s=r.replace("{sender}",i).replace("{data}",o),l=r.indexOf("{data}")>=0?null:JSON.stringify({data:o,sender:i}),u=yield eg({url:s,errorPassThrough:!0},l,(t,r)=>(t.status=r.statusCode,t));if(u.data)return u.data;let c=u.message||"unknown error";if(u.status>=400&&u.status<500)return tm.throwError(`response not found during CCIP fetch: ${c}`,m.Yd.errors.SERVER_ERROR,{url:r,errorMessage:c});a.push(c)}return tm.throwError(`error encountered during CCIP fetch: ${a.map(t=>JSON.stringify(t)).join(", ")}`,m.Yd.errors.SERVER_ERROR,{urls:n,errorMessages:a})})}_getInternalBlockNumber(t){return tp(this,void 0,void 0,function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){let r=this._internalBlockNumber;try{let n=yield r;if(tb()-n.respTime<=t)return n.blockNumber;break}catch(t){if(this._internalBlockNumber===r)break}}let r=tb(),n=b({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(t=>null,t=>t)}).then(({blockNumber:t,networkError:i})=>{if(i)throw this._internalBlockNumber===n&&(this._internalBlockNumber=null),i;let o=tb();return(t=f.O$.from(t).toNumber())<this._maxInternalBlockNumber&&(t=this._maxInternalBlockNumber),this._maxInternalBlockNumber=t,this._setFastBlockNumber(t),{blockNumber:t,reqTime:r,respTime:o}});return this._internalBlockNumber=n,n.catch(t=>{this._internalBlockNumber===n&&(this._internalBlockNumber=null)}),(yield n).blockNumber})}poll(){return tp(this,void 0,void 0,function*(){let t=tD++,r=[],n=null;try{n=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(t){this.emit("error",t);return}if(this._setFastBlockNumber(n),this.emit("poll",t,n),n===this._lastBlockNumber){this.emit("didPoll",t);return}if(-2===this._emitted.block&&(this._emitted.block=n-1),Math.abs(this._emitted.block-n)>1e3)tm.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${n})`),this.emit("error",tm.makeError("network block skew detected",m.Yd.errors.NETWORK_ERROR,{blockNumber:n,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",n);else for(let t=this._emitted.block+1;t<=n;t++)this.emit("block",t);this._emitted.block!==n&&(this._emitted.block=n,Object.keys(this._emitted).forEach(t=>{if("block"===t)return;let r=this._emitted[t];"pending"!==r&&n-r>12&&delete this._emitted[t]})),-2===this._lastBlockNumber&&(this._lastBlockNumber=n-1),this._events.forEach(t=>{switch(t.type){case"tx":{let n=t.hash,i=this.getTransactionReceipt(n).then(t=>(t&&null!=t.blockNumber&&(this._emitted["t:"+n]=t.blockNumber,this.emit(n,t)),null)).catch(t=>{this.emit("error",t)});r.push(i);break}case"filter":if(!t._inflight){t._inflight=!0,-2===t._lastBlockNumber&&(t._lastBlockNumber=n-1);let i=t.filter;i.fromBlock=t._lastBlockNumber+1,i.toBlock=n;let o=i.toBlock-this._maxFilterBlockRange;o>i.fromBlock&&(i.fromBlock=o),i.fromBlock<0&&(i.fromBlock=0);let a=this.getLogs(i).then(r=>{t._inflight=!1,0!==r.length&&r.forEach(r=>{r.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=r.blockNumber),this._emitted["b:"+r.blockHash]=r.blockNumber,this._emitted["t:"+r.transactionHash]=r.blockNumber,this.emit
1(i,r)})}).catch(r=>{this.emit("error",r),t._inflight=!1});r.push(a)}}}),this._lastBlockNumber=n,Promise.all(r).then(()=>{this.emit("didPoll",t)}).catch(t=>{this.emit("error",t)})})}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return tp(this,void 0,void 0,function*(){return tm.throwError("provider does not support network detection",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})})}getNetwork(){return tp(this,void 0,void 0,function*(){let t=yield this._ready(),r=yield this.detectNetwork();if(t.chainId!==r.chainId){if(this.anyNetwork)return this._network=r,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",r,t),yield tw(0),this._network;let n=tm.makeError("underlying network changed",m.Yd.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:r});throw this.emit("error",n),n}return t})}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then(t=>{this._setFastBlockNumber(t)},t=>{}),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval(()=>{this.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(()=>{this.poll(),this._bootstrapPoll=setTimeout(()=>{this._poller||this.poll(),this._bootstrapPoll=null},this.pollingInterval)},0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval(()=>{this.poll()},this._pollingInterval))}_getFastBlockNumber(){let t=tb();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then(t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber))),this._fastBlockNumberPromise}_setFastBlockNumber(t){(null==this._fastBlockNumber||!(t<this._fastBlockNumber))&&(this._fastQueryDate=tb(),(null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,r,n){return tp(this,void 0,void 0,function*(){return this._waitForTransaction(t,null==r?1:r,n||0,null)})}_waitForTransaction(t,r,n,i){return tp(this,void 0,void 0,function*(){let o=yield this.getTransactionReceipt(t);return(o?o.confirmations:0)>=r?o:new Promise((o,a)=>{let s=[],l=!1,u=function(){return!!l||(l=!0,s.forEach(t=>{t()}),!1)},c=t=>{t.confirmations<r||u()||o(t)};if(this.on(t,c),s.push(()=>{this.removeListener(t,c)}),i){let n=i.startBlock,o=null,c=s=>tp(this,void 0,void 0,function*(){l||(yield tw(1e3),this.getTransactionCount(i.from).then(d=>tp(this,void 0,void 0,function*(){if(!l){if(d<=i.nonce)n=s;else{{let r=yield this.getTransaction(t);if(r&&null!=r.blockNumber)return}for(null==o&&(o=n-3)<i.startBlock&&(o=i.startBlock);o<=s;){if(l)return;let n=yield this.getBlockWithTransactions(o);for(let o=0;o<n.transactions.length;o++){let s=n.transactions[o];if(s.hash===t)return;if(s.from===i.from&&s.nonce===i.nonce){if(l)return;let n=yield this.waitForTransaction(s.hash,r);if(u())return;let o="replaced";s.data===i.data&&s.to===i.to&&s.value.eq(i.value)?o="repriced":"0x"===s.data&&s.from===s.to&&s.value.isZero()&&(o="cancelled"),a(tm.makeError("transaction was replaced",m.Yd.errors.TRANSACTION_REPLACED,{cancelled:"replaced"===o||"cancelled"===o,reason:o,replacement:this._wrapTransaction(s),hash:t,receipt:n}));return}}o++}}l||this.once("block",c)}}),t=>{l||this.once("block",c)}))});if(l)return;this.once("block",c),s.push(()=>{this.removeListener("block",c)})}if("number"==typeof n&&n>0){let t=setTimeout(()=>{u()||a(tm.makeError("timeout exceeded",m.Yd.errors.TIMEOUT,{timeout:n}))},n);t.unref&&t.unref(),s.push(()=>{clearTimeout(t)})}})})}getBlockNumber(){return tp(this,void 0,void 0,function*(){return this._getInternalBlockNumber(0)})}getGasPrice(){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let t=yield this.perform("getGasPrice",{});try{return f.O$.from(t)}catch(r){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:r})}})}getBalance(t,r){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let n=yield b({address:this._getAddress(t),blockTag:this._getBlockTag(r)}
1),i=yield this.perform("getBalance",n);try{return f.O$.from(i)}catch(t){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"getBalance",params:n,result:i,error:t})}})}getTransactionCount(t,r){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let n=yield b({address:this._getAddress(t),blockTag:this._getBlockTag(r)}),i=yield this.perform("getTransactionCount",n);try{return f.O$.from(i).toNumber()}catch(t){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"getTransactionCount",params:n,result:i,error:t})}})}getCode(t,r){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let n=yield b({address:this._getAddress(t),blockTag:this._getBlockTag(r)}),i=yield this.perform("getCode",n);try{return(0,p.Dv)(i)}catch(t){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"getCode",params:n,result:i,error:t})}})}getStorageAt(t,r,n){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let i=yield b({address:this._getAddress(t),blockTag:this._getBlockTag(n),position:Promise.resolve(r).then(t=>(0,p.$P)(t))}),o=yield this.perform("getStorageAt",i);try{return(0,p.Dv)(o)}catch(t){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"getStorageAt",params:i,result:o,error:t})}})}_wrapTransaction(t,r,n){if(null!=r&&32!==(0,p.E1)(r))throw Error("invalid response - sendTransaction");return null!=r&&t.hash!==r&&tm.throwError("Transaction hash mismatch from Provider.sendTransaction.",m.Yd.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:r}
1),t.wait=(r,i)=>tp(this,void 0,void 0,function*(){let o;null==r&&(r=1),null==i&&(i=0),0!==r&&null!=n&&(o={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:n});let a=yield this._waitForTransaction(t.hash,r,i,o);return null==a&&0===r?null:(this._emitted["t:"+t.hash]=a.blockNumber,0===a.status&&tm.throwError("transaction failed",m.Yd.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:a}),a)}),t}sendTransaction(t){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let r=yield Promise.resolve(t).then(t=>(0,p.Dv)(t)),n=this.formatter.transaction(t);null==n.confirmations&&(n.confirmations=0);let i=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{let t=yield this.perform("sendTransaction",{signedTransaction:r});return this._wrapTransaction(n,t,i)}catch(t){throw t.transaction=n,t.transactionHash=n.hash,t}})}_getTransactionRequest(t){return tp(this,void 0,void 0,function*(){let r=yield t,n={};return["from","to"].forEach(t=>{null!=r[t]&&(n[t]=Promise.resolve(r[t]).then(t=>t?this._getAddress(t):null))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(t=>{null!=r[t]&&(n[t]=Promise.resolve(r[t]).then(t=>t?f.O$.from(t):null))}),["type"].forEach(t=>{null!=r[t]&&(n[t]=Promise.resolve(r[t]).then(t=>null!=t?t:null))}),r.accessList&&(n.accessList=this.formatter.accessList(r.accessList)),["data"].forEach(t=>{null!=r[t]&&(n[t]=Promise.resolve(r[t]).then(t=>t?(0,p.Dv)(t):null))}),this.formatter.transactionRequest((yield b(n)))})}_getFilter(t){return tp(this,void 0,void 0,function*(){t=yield t;let r={};return null!=t.address&&(r.address=this._getAddress(t.address)),["blockHash","topics"].forEach(n=>{null!=t[n]&&(r[n]=t[n])}),["fromBlock","toBlock"].forEach(n=>{null!=t[n]&&(r[n]=this._getBlockTag(t[n]))}),this.formatter.filter((yield b(r)))})}_call(t,r,n){return tp(this,void 0,void 0,function*(){n>=10&&tm.throwError("CCIP read exceeded maximum redirections",m.Yd.errors.SERVER_ERROR,{redirects:n,transaction:t});let i=t.to,o=yield this.perform("call",{transaction:t,blockTag:r});if(n>=0&&"latest"===r&&null!=i&&"0x556f1830"===o.substring(0,10)&&(0,p.E1)(o)%32==4)try{let a=(0,p.p3)(o,4),s=(0,p.p3)(a,0,32);f.O$.from(s).eq(i)||tm.throwError("CCIP Read sender did not match",m.Yd.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:o});let l=[],u=f.O$.from((0,p.p3)(a,32,64)).toNumber(),c=f.O$.from((0,p.p3)(a,u,u+32)).toNumber(),d=(0,p.p3)(a,u+32);for(let r=0;r<c;r++){let n=tP(d,32*r);null==n&&tm.throwError("CCIP Read contained corrupt URL string",m.Yd.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:o}),l.push(n)}let h=tC(a,64);f.O$.from((0,p.p3)(a,100,128)).isZero()||tm.throwError("CCIP Read callback selector included junk",m.Yd.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:o});let g=(0,p.p3)(a,96,100),y=tC(a,128),v=yield this.ccipReadFetch(t,h,l);null==v&&tm.throwError("CCIP Read disabled or provided no URLs",m.Yd.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:o});let b={to:i,data:(0,p.xs)([g,tR([v,y])])};return this._call(b,r,n+1)}catch(t){if(t.code===m.Yd.errors.SERVER_ERROR)throw t}try{return(0,p.Dv)(o)}catch(n){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"call",params:{transaction:t,blockTag:r},result:o,error:n})}})}call(t,r){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let n=yield b({transaction:this._getTransactionRequest(t),blockTag:this._getBlockTag(r),ccipReadEnabled:Promise.resolve(t.ccipReadEnabled)});return this._call(n.transaction,n.blockTag,n.ccipReadEnabled?0:-1)})}estimateGas(t){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let r=yield b({transaction:this._getTransactionRequest(t)}),n=yield this.perform("estimateGas",r);try{return f.O$.from(n)}catch(t){return tm.throwError("bad result from backend",m.Yd.errors.SERVER_ERROR,{method:"estimateGas",params:r,result:n,error:t})}})}_getAddress(t){return tp(this,void 0,void 0,function*(){"string"!=typeof(t=yield t)&&tm.throwArgumentError("invalid address or ENS name","name",t);let r=yield this.resolveName(t);return null==r&&tm.throwError("ENS name not configured",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:`resolveName(${JSON.stringify(t)})`}),r})}_getBlock(t,r){return tp(this,void 0,void 0,function*(){yield this.getNetwork(),t=yield t;let n=-128,i={includeTransactions:!!r};if((0,p.A7)(t,32))i.blockHash=t;else try{i.blockTag=yield this._getBlockTag(t),(0,p.A7)(i.blockTag)&&(n=parseInt(i.blockTag.substring(2),16))}catch(r){tm.throwArgumentError("invalid block hash or block tag","blockHashOrBlockTag",t)}return ey(()=>tp(this,void 0,void 0,function*(){let t=yield this.perform("getBlock",i);if(null==t)return null!=i.blockHash&&null==this._emitted["b:"+i.blockHash]||null!=i.blockTag&&n>this._emitted.block?null:void 0;if(r){let r=null;for(let n=0;n<t.transactions.length;n++){let i=t.transactions[n];if(null==i.blockNumber)i.confirmations=0;else if(null==i.confirmations){null==r&&(r=yield this._getInternalBlockNumber(100+2*this.pollingInterval));let t=r-i.blockNumber+1;t<=0&&(t=1),i.confirmations=t}}let n=this.formatter.blockWithTransactions(t);return n.transactions=n.transactions.map(t=>this._wrapTransaction(t)),n}return this.formatter.block(t)}),{oncePoll:this})})}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return tp(this,void 0,void 0,function*(){yield this.getNetwork(),t=yield t;let r={transactionHash:this.formatter.hash(t,!0)};return ey(()=>tp(this,void 0,void 0,function*(){let n=yield this.perform("getTransaction",r);if(null==n)return null==this._emitted["t:"+t]?null:void 0;let i=this.formatter.transactionResponse(n);if(null==i.blockNumber)i.confirmations=0;else if(null==i.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-i.blockNumber+1;t<=0&&(t=1),i.confirmations=t}return this._wrapTransaction(i)}),{oncePoll:this})})}getTransactionReceipt(t){return tp(this,void 0,void 0,function*(){yield this.getNetwork(),t=yield t;let r={transactionHash:this.formatter.hash(t,!0)};return ey(()=>tp(this,void 0,void 0,function*(){let n=yield this.perform("getTransactionReceipt",r);if(null==n)return null==this._emitted["t:"+t]?null:void 0;if(null==n.blockHash)return;let i=this.formatter.receipt(n);if(null==i.blockNumber)i.confirmations=0;else if(null==i.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-i.blockNumber+1;t<=0&&(t=1),i.confirmations=t}return i}),{oncePoll:this})})}getLogs(t){return tp(this,void 0,void 0,function*(){yield this.getNetwork();let r=yield b({filter:this._getFilter(t)}),n=yield this.perform("getLogs",r);
1return n.forEach(t=>{null==t.removed&&(t.removed=!1)}),tu.arrayOf(this.formatter.filterLog.bind(this.formatter))(n)})}getEtherPrice(){return tp(this,void 0,void 0,function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})})}_getBlockTag(t){return tp(this,void 0,void 0,function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&tm.throwArgumentError("invalid BlockTag","blockTag",t);let r=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return(r+=t)<0&&(r=0),this.formatter.blockTag(r)}return this.formatter.blockTag(t)})}getResolver(t){return tp(this,void 0,void 0,function*(){let r=t;for(;;){if(""===r||"."===r||"eth"!==t&&"eth"===r)return null;let n=yield this._getResolver(r,"getResolver");if(null!=n){let i=new tI(this,n,t);if(r!==t&&!(yield i.supportsWildcard()))return null;return i}r=r.split(".").slice(1).join(".")}})}_getResolver(t,r){return tp(this,void 0,void 0,function*(){null==r&&(r="ENS");let n=yield this.getNetwork();n.ensAddress||tm.throwError("network does not support ENS",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:r,network:n.name});try{let r=yield this.call({to:n.ensAddress,data:"0x0178b8bf"+eu(t).substring(2)});return this.formatter.callAddress(r)}catch(t){}return null})}resolveName(t){return tp(this,void 0,void 0,function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(r){if((0,p.A7)(t))throw r}"string"!=typeof t&&tm.throwArgumentError("invalid ENS name","name",t);let r=yield this.getResolver(t);return r?yield r.getAddress():null})}lookupAddress(t){return tp(this,void 0,void 0,function*(){t=yield t;let r=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",n=yield this._getResolver(r,"lookupAddress");if(null==n)return null;let i=tP((yield this.call({to:n,data:"0x691f3431"+eu(r).substring(2)})),0);return(yield this.resolveName(i))!=t?null:i})}getAvatar(t){return tp(this,void 0,void 0,function*(){let r=null;if((0,p.A7)(t)){let n=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",i=yield this._getResolver(n,"getAvatar");if(!i)return null;r=new tI(this,i,n);try{let t=yield r.getAvatar();if(t)return t.url}catch(t){if(t.code!==m.Yd.errors.CALL_EXCEPTION)throw t}try{let t=tP((yield this.call({to:i,data:"0x691f3431"+eu(n).substring(2)})),0);r=yield this.getResolver(t)}catch(t){if(t.code!==m.Yd.errors.CALL_EXCEPTION)throw t;return null}}else if(!(r=yield this.getResolver(t)))return null;let n=yield r.getAvatar();return null==n?null:n.url})}perform(t,r){return tm.throwError(t+" not implemented",m.Yd.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter(t=>t.pollable()).length>0}_stopEvent(t){this.polling=this._events.filter(t=>t.pollable()).length>0}_addEventListener(t,r,n){let i=new tS(tv(t),r,n);return this._events.push(i),this._startEvent(i),this}on(t,r){return this._addEventListener(t,r,!1)}once(t,r){return this._addEventListener(t,r,!0)}emit(t,...r){let n=!1,i=[],o=tv(t);return this._events=this._events.filter(t=>t.tag!==o||(setTimeout(()=>{t.listener.apply(this,r)},0),n=!0,!t.once||(i.push(t),!1))),i.forEach(t=>{this._stopEvent(t)}),n}listenerCount(t){if(!t)return this._events.length;let r=tv(t);return this._events.filter(t=>t.tag===r).length}listeners(t){if(null==t)return this._events.map(t=>t.listener);let r=tv(t);return this._events.filter(t=>t.tag===r).map(t=>t.listener)}off(t,r){if(null==r)return this.removeAllListeners(t);let n=[],i=!1,o=tv(t);return this._events=this._events.filter(t=>t.tag!==o||t.listener!=r||!!i||(i=!0,n.push(t),!1)),n.forEach(t=>{this._stopEvent(t)}),this}removeAllListeners(t){let r=[];if(null==t)r=this._events,this._events=[];else{let n=tv(t);this._events=this._events.filter(t=>t.tag!==n||(r.push(t),!1))}return r.forEach(t=>{this._stopEvent(t)}),this}}var tL=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let t$=new m.Yd("abstract-signer/5.8.0"),tj=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","
1nonce","to","type","value"],tU=[m.Yd.errors.INSUFFICIENT_FUNDS,m.Yd.errors.NONCE_EXPIRED,m.Yd.errors.REPLACEMENT_UNDERPRICED];class tB{constructor(){t$.checkAbstract(new.target,tB),y(this,"_isSigner",!0)}getBalance(t){return tL(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)})}getTransactionCount(t){return tL(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)})}estimateGas(t){return tL(this,void 0,void 0,function*(){this._checkProvider("estimateGas");let r=yield b(this.checkTransaction(t));return yield this.provider.estimateGas(r)})}call(t,r){return tL(this,void 0,void 0,function*(){this._checkProvider("call");let n=yield b(this.checkTransaction(t));return yield this.provider.call(n,r)})}sendTransaction(t){return tL(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");let r=yield this.populateTransaction(t),n=yield this.signTransaction(r);return yield this.provider.sendTransaction(n)})}getChainId(){return tL(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return tL(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return tL(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(t){return tL(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)})}checkTransaction(t){for(let r in t)-1===tj.indexOf(r)&&t$.throwArgumentError("invalid transaction key: "+r,"transaction",t);let r=w(t);return null==r.from?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then(r=>(r[0].toLowerCase()!==r[1].toLowerCase()&&t$.throwArgumentError("from address mismatch","transaction",t),r[0])),r}populateTransaction(t){return tL(this,void 0,void 0,function*(){let r=yield b(this.checkTransaction(t));null!=r.to&&(r.to=Promise.resolve(r.to).then(t=>tL(this,void 0,void 0,function*(){if(null==t)return null;let r=yield this.resolveName(t);return null==r&&t$.throwArgumentError("provided ENS name resolves to null","tx.to",t),r})),r.to.catch(t=>{}));let n=null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas;if(null!=r.gasPrice&&(2===r.type||n)?t$.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t):(0===r.type||1===r.type)&&n&&t$.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t),(2===r.type||null==r.type)&&null!=r.maxFeePerGas&&null!=r.maxPriorityFeePerGas)r.type=2;else if(0===r.type||1===r.type)null==r.gasPrice&&(r.gasPrice=this.getGasPrice());else{let t=yield this.getFeeData();if(null==r.type){if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas){if(r.type=2,null!=r.gasPrice){let t=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=t,r.maxPriorityFeePerGas=t}else null==r.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas)}else null!=t.gasPrice?(n&&t$.throwError("network does not support EIP-1559",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==r.gasPrice&&(r.gasPrice=t.gasPrice),r.type=0):t$.throwError("failed to get consistent fee data",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"})}else 2===r.type&&(null==r.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}return null==r.nonce&&(r.nonce=this.getTransactionCount("pending")),null==r.gasLimit&&(r.gasLimit=this.estimateGas(r).catch(t=>{if(tU.indexOf(t.code)>=0)throw t;return t$.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:r})})),null==r.chainId?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then(r=>(0!==r[1]&&r[0]!==r[1]&&t$.throwArgumentError("chainId address mismatch","transaction",t),r[0])),yield b(r)})}_checkProvider(t){this.provider||t$.throwError("missing provider",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!!(t&&t._isSigner)}}let tz=new m.Yd(G),tH=new Uint8Array(32);tH.fill(0);let tq=f.O$.from(-1),tV=f.O$.from(0),tG=f.O$.from(1),tW=f.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),tK=(0,p.$m)(tG.toHexString(),32),tY=(0,p.$m)(tV.toHexString(),32),tZ={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},tX=["name","version","chainId","verifyingContract","salt"];function tJ(t){return function(r){return"string"!=typeof r&&tz.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,r),r}}let tQ={name:tJ("name"),version:tJ("version"),chainId:function(t){try{return f.O$.from(t).toString()}catch(t){}return tz.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return(0,e_.getAddress)(t).toLowerCase()}catch(t){}return tz.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{let r=(0,p.lE)(t);if(32!==r.length)throw Error("bad length");return(0,p.Dv)(r)}catch(t){}return tz.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function t0(t){{let r=t.match(/^(u?)int(\d*)$/);if(r){let n=""===r[1],i=parseInt(r[2]||"256");(i%8!=0||i>256||r[2]&&r[2]!==String(i))&&tz.throwArgumentError("invalid numeric width","type",t);let o=tW.mask(n?i-1:i),a=n?o.add(tG).mul(tq):tV;return function(r){let n=f.O$.from(r);return(n.lt(a)||n.gt(o))&&tz.throwArgumentError(`value out-of-bounds for ${t}`,"value",r),(0,p.$m)(n.toTwos(256).toHexString(),32)}}}{let r=t.match(/^bytes(\d+)$/);if(r){let n=parseInt(r[1]);return(0===n||n>32||r[1]!==String(n))&&tz.throwArgumentError("invalid bytes width","type",t),function(r){return(0,p.lE)(r).length!==n&&tz.throwArgumentError(`invalid length for ${t}`,"value",r),function(t){let r=(0,p.lE)(t),n=r.length%32;return n?(0,p.xs)([r,tH.slice(n)]):(0,p.Dv)(r)}(r)}}}switch(t){case"address":return function(t){return(0,p.$m)((0,e_.getAddress)(t),32)};case"bool":return function(t){return t?tK:tY};case"bytes":return function(t){return(0,V.w)(t)};case"string":return function(t){return(0,V.w)(H(t))}}return null}function t1(t,r){return`${t}(${r.map(({name:t,type:r})=>r+" "+t).join(",")})`}class t2{constructor(t){y(this,"types",Object.freeze(S(t))),y(this,"_encoderCache",{}),y(this,"_types",{});let r={},n={},i={};for(let o in Object.keys(t).forEach(t=>{r[t]={},n[t]=[],i[t]={}}),t){let i={};
1t[o].forEach(a=>{i[a.name]&&tz.throwArgumentError(`duplicate variable name ${JSON.stringify(a.name)} in ${JSON.stringify(o)}`,"types",t),i[a.name]=!0;let s=a.type.match(/^([^\x5b]*)(\x5b|$)/)[1];s===o&&tz.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t),t0(s)||(n[s]||tz.throwArgumentError(`unknown type ${JSON.stringify(s)}`,"types",t),n[s].push(o),r[o][s]=!0)})}let o=Object.keys(n).filter(t=>0===n[t].length);for(let a in 0===o.length?tz.throwArgumentError("missing primary type","types",t):o.length>1&&tz.throwArgumentError(`ambiguous primary types or unused types: ${o.map(t=>JSON.stringify(t)).join(", ")}`,"types",t),y(this,"primaryType",o[0]),!function o(a,s){s[a]&&tz.throwArgumentError(`circular type reference to ${JSON.stringify(a)}`,"types",t),s[a]=!0,Object.keys(r[a]).forEach(t=>{n[t]&&(o(t,s),Object.keys(s).forEach(r=>{i[r][t]=!0}))}),delete s[a]}(this.primaryType,{}),i){let r=Object.keys(i[a]);r.sort(),this._types[a]=t1(a,t[a])+r.map(r=>t1(r,t[r])).join("")}}getEncoder(t){let r=this._encoderCache[t];return r||(r=this._encoderCache[t]=this._getEncoder(t)),r}_getEncoder(t){{let r=t0(t);if(r)return r}let r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){let t=r[1],n=this.getEncoder(t),i=parseInt(r[3]);return r=>{i>=0&&r.length!==i&&tz.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r);let o=r.map(n);return this._types[t]&&(o=o.map(V.w)),(0,V.w)((0,p.xs)(o))}}let n=this.types[t];if(n){var i;let r=(i=this._types[t],(0,V.w)(H(i)));return t=>{let i=n.map(({name:r,type:n})=>{let i=this.getEncoder(n)(t[r]);return this._types[n]?(0,V.w)(i):i});return i.unshift(r),(0,p.xs)(i)}}return tz.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){let r=this._types[t];return r||tz.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),r}encodeData(t,r){return this.getEncoder(t)(r)}hashStruct(t,r){return(0,V.w)(this.encodeData(t,r))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,r,n){if(t0(t))return n(t,r);let i=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){let t=i[1],o=parseInt(i[3]);return o>=0&&r.length!==o&&tz.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r),r.map(r=>this._visit(t,r,n))}let o=this.types[t];return o?o.reduce((t,{name:i,type:o})=>(t[i]=this._visit(o,r[i],n),t),{}):tz.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,r){return this._visit(this.primaryType,t,r)}static from(t){return new t2(t)}static getPrimaryType(t){return t2.from(t).primaryType}static hashStruct(t,r,n){return t2.from(r).hashStruct(t,n)}static hashDomain(t){let r=[];for(let n in t){let i=tZ[n];i||tz.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),r.push({name:n,type:i})}return r.sort((t,r)=>tX.indexOf(t.name)-tX.indexOf(r.name)),t2.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,n){return(0,p.xs)(["0x1901",t2.hashDomain(t),t2.from(r).hash(n)])}static hash(t,r,n){return(0,V.w)(t2.encode(t,r,n))}static resolveNames(t,r,n,i){var o,a,s,l;return o=this,a=void 0,s=void 0,l=function*(){t=w(t);let o={};t.verifyingContract&&!(0,p.A7)(t.verifyingContract,20)&&(o[t.verifyingContract]="0x");let a=t2.from(r);for(let t in a.visit(n,(t,r)=>("address"!==t||(0,p.A7)(r,20)||(o[r]="0x"),r)),o)o[t]=yield i(t);return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),n=a.visit(n,(t,r)=>"address"===t&&o[r]?o[r]:r),{domain:t,value:n}},new(s||(s=Promise))(function(t,r){function n(t){try{u(l.next(t))}catch(t){r(t)}}function i(t){try{u(l.throw(t))}catch(t){r(t)}}function u(r){var o;r.done?t(r.value):((o=r.value)instanceof s?o:new s(function(t){t(o)})).then(n,i)}u((l=l.apply(o,a||[])).next())})}static getPayload(t,r,n){t2.hashDomain(t);let i={},o=[];
1tX.forEach(r=>{let n=t[r];null!=n&&(i[r]=tQ[r](n),o.push({name:r,type:tZ[r]}))});let a=t2.from(r),s=w(r);return s.EIP712Domain?tz.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):s.EIP712Domain=o,a.encode(n),{types:s,domain:i,primaryType:a.primaryType,message:a.visit(n,(t,r)=>{if(t.match(/^bytes(\d*)/))return(0,p.Dv)((0,p.lE)(r));if(t.match(/^u?int/))return f.O$.from(r).toString();switch(t){case"address":return r.toLowerCase();case"bool":return!!r;case"string":return"string"!=typeof r&&tz.throwArgumentError("invalid string","value",r),r}return tz.throwArgumentError("unsupported type","type",t)})}}}var t3=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let t5=new m.Yd(ew),t6=["call","estimateGas"];function t4(t,r){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){let n=(0,p.A7)(t.data)?t.data:null;if(!r||n)return{message:t.message,data:n}}if("object"==typeof t){for(let n in t){let i=t4(t[n],r);if(i)return i}return null}if("string"==typeof t)try{return t4(JSON.parse(t),r)}catch(t){}return null}function t8(t,r,n){let i=n.transaction||n.signedTransaction;if("call"===t){let t=t4(r,!0);if(t)return t.data;t5.throwError("missing revert data in call exception; Transaction reverted without a reason string",m.Yd.errors.CALL_EXCEPTION,{data:"0x",transaction:i,error:r})}if("estimateGas"===t){let n=t4(r.body,!1);null==n&&(n=t4(r,!1)),n&&t5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{reason:n.message,method:t,transaction:i,error:r})}let o=r.message;throw r.code===m.Yd.errors.SERVER_ERROR&&r.error&&"string"==typeof r.error.message?o=r.error.message:"string"==typeof r.body?o=r.body:"string"==typeof r.responseText&&(o=r.responseText),(o=(o||"").toLowerCase()).match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&t5.throwError("insufficient funds for intrinsic transaction cost",m.Yd.errors.INSUFFICIENT_FUNDS,{error:r,method:t,transaction:i}),o.match(/nonce (is )?too low/i)&&t5.throwError("nonce has already been used",m.Yd.errors.NONCE_EXPIRED,{error:r,method:t,transaction:i}),o.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&t5.throwError("replacement fee too low",m.Yd.errors.REPLACEMENT_UNDERPRICED,{error:r,method:t,transaction:i}),o.match(/only replay-protected/i)&&t5.throwError("legacy pre-eip-155 transactions not supported",m.Yd.errors.UNSUPPORTED_OPERATION,{error:r,method:t,transaction:i}),t6.indexOf(t)>=0&&o.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&t5.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:r,method:t,transaction:i}),r}function t9(t){return new Promise(function(r){setTimeout(r,t)})}function t7(t){if(t.error){let r=Error(t.error.message);throw r.code=t.error.code,r.data=t.error.data,r}return t.result}function re(t){return t?t.toLowerCase():t}let rt={};class rr extends tB{constructor(t,r,n){if(super(),t!==rt)throw Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");y(this,"provider",r),null==n&&(n=0),"string"==typeof n?(y(this,"_address",this.provider.formatter.address(n)),y(this,"_index",null)):"number"==typeof n?(y(this,"_index",n),y(this,"_address",null)):t5.throwArgumentError("invalid address or index","addressOrIndex",n)}connect(t){return t5.throwError("cannot alter JSON-RPC Signer connection",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new rn(rt,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(t=>(t.length<=this._index&&t5.throwError("unknown account #"+this._index,m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index])))}sendUncheckedTransaction(t){t=w(t);let r=this.getAddress().then(t=>(t&&(t=t.toLowerCase()),t));if(null==t.gasLimit){let n=w(t);
1n.from=r,t.gasLimit=this.provider.estimateGas(n)}return null!=t.to&&(t.to=Promise.resolve(t.to).then(t=>t3(this,void 0,void 0,function*(){if(null==t)return null;let r=yield this.provider.resolveName(t);return null==r&&t5.throwArgumentError("provided ENS name resolves to null","tx.to",t),r}))),b({tx:b(t),sender:r}).then(({tx:r,sender:n})=>{null!=r.from?r.from.toLowerCase()!==n&&t5.throwArgumentError("from address mismatch","transaction",t):r.from=n;let i=this.provider.constructor.hexlifyTransaction(r,{from:!0});return this.provider.send("eth_sendTransaction",[i]).then(t=>t,t=>("string"==typeof t.message&&t.message.match(/user denied/i)&&t5.throwError("user rejected transaction",m.Yd.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:r}),t8("sendTransaction",t,i)))})}signTransaction(t){return t5.throwError("signing transactions is unsupported",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return t3(this,void 0,void 0,function*(){let r=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),n=yield this.sendUncheckedTransaction(t);try{return yield ey(()=>t3(this,void 0,void 0,function*(){let t=yield this.provider.getTransaction(n);if(null!==t)return this.provider._wrapTransaction(t,n,r)}),{oncePoll:this.provider})}catch(t){throw t.transactionHash=n,t}})}signMessage(t){return t3(this,void 0,void 0,function*(){let r="string"==typeof t?H(t):t,n=yield this.getAddress();try{return yield this.provider.send("personal_sign",[(0,p.Dv)(r),n.toLowerCase()])}catch(r){throw"string"==typeof r.message&&r.message.match(/user denied/i)&&t5.throwError("user rejected signing",m.Yd.errors.ACTION_REJECTED,{action:"signMessage",from:n,messageData:t}),r}})}_legacySignMessage(t){return t3(this,void 0,void 0,function*(){let r="string"==typeof t?H(t):t,n=yield this.getAddress();try{return yield this.provider.send("eth_sign",[n.toLowerCase(),(0,p.Dv)(r)])}catch(r){throw"string"==typeof r.message&&r.message.match(/user denied/i)&&t5.throwError("user rejected signing",m.Yd.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:n,messageData:t}),r}})}_signTypedData(t,r,n){return t3(this,void 0,void 0,function*(){let i=yield t2.resolveNames(t,r,n,t=>this.provider.resolveName(t)),o=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[o.toLowerCase(),JSON.stringify(t2.getPayload(i.domain,r,i.value))])}catch(t){throw"string"==typeof t.message&&t.message.match(/user denied/i)&&t5.throwError("user rejected signing",m.Yd.errors.ACTION_REJECTED,{action:"_signTypedData",from:o,messageData:{domain:i.domain,types:r,value:i.value}}),t}})}unlock(t){return t3(this,void 0,void 0,function*(){let r=this.provider,n=yield this.getAddress();return r.send("personal_unlockAccount",[n.toLowerCase(),t,null])})}}class rn extends rr{sendTransaction(t){return this.sendUncheckedTransaction(t).then(t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:r=>this.provider.waitForTransaction(t,r)}))}}let ri={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class ro extends tF{constructor(t,r){let n=r;null==n&&(n=new Promise((t,r)=>{setTimeout(()=>{this.detectNetwork().then(r=>{t(r)},t=>{r(t)})},0)})),super(n),t||(t=v(this.constructor,"defaultUrl")()),"string"==typeof t?y(this,"connection",Object.freeze({url:t})):y(this,"connection",Object.freeze(w(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout(()=>{this._cache.detectNetwork=null},0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return t3(this,void 0,void 0,function*(){yield t9(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(r){try{t=yield this.send("net_version",[])}catch(t){}}if(null!=t){let r=v(this.constructor,"getNetwork");try{return r(f.O$.from(t).toNumber())}catch(r){return t5.throwError("could not detect network",m.Yd.errors.NETWORK_E
1RROR,{chainId:t,event:"invalidNetwork",serverError:r})}}return t5.throwError("could not detect network",m.Yd.errors.NETWORK_ERROR,{event:"noNetwork"})})}getSigner(t){return new rr(rt,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then(t=>t.map(t=>this.formatter.address(t)))}send(t,r){let n={method:t,params:r,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:S(n),provider:this});let i=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(i&&this._cache[t])return this._cache[t];let o=eg(this.connection,JSON.stringify(n),t7).then(t=>(this.emit("debug",{action:"response",request:n,response:t,provider:this}),t),t=>{throw this.emit("debug",{action:"response",error:t,request:n,provider:this}),t});return i&&(this._cache[t]=o,setTimeout(()=>{this._cache[t]=null},0)),o}prepareRequest(t,r){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[re(r.address),r.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[re(r.address),r.blockTag]];case"getCode":return["eth_getCode",[re(r.address),r.blockTag]];case"getStorageAt":return["eth_getStorageAt",[re(r.address),(0,p.$m)(r.position,32),r.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[r.signedTransaction]];case"getBlock":if(r.blockTag)return["eth_getBlockByNumber",[r.blockTag,!!r.includeTransactions]];if(r.blockHash)return["eth_getBlockByHash",[r.blockHash,!!r.includeTransactions]];break;case"getTransaction":return["eth_getTransactionByHash",[r.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[r.transactionHash]];case"call":return["eth_call",[v(this.constructor,"hexlifyTransaction")(r.transaction,{from:!0}),r.blockTag]];case"estimateGas":return["eth_estimateGas",[v(this.constructor,"hexlifyTransaction")(r.transaction,{from:!0})]];case"getLogs":return r.filter&&null!=r.filter.address&&(r.filter.address=re(r.filter.address)),["eth_getLogs",[r.filter]]}return null}perform(t,r){return t3(this,void 0,void 0,function*(){if("call"===t||"estimateGas"===t){let t=r.transaction;if(t&&null!=t.type&&f.O$.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){let n=yield this.getFeeData();null==n.maxFeePerGas&&null==n.maxPriorityFeePerGas&&((r=w(r)).transaction=w(t),delete r.transaction.type)}}let n=this.prepareRequest(t,r);null==n&&t5.throwError(t+" not implemented",m.Yd.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(n[0],n[1])}catch(n){return t8(t,n,r)}})}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;let t=this,r=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=r,r.then(function(n){return function i(){t.send("eth_getFilterChanges",[n]).then(function(n){if(t._pendingFilter!=r)return null;let i=Promise.resolve();return n.forEach(function(r){t._emitted["t:"+r.toLowerCase()]="pending",i=i.then(function(){return t.getTransaction(r).then(function(r){return t.emit("pending",r),null})})}),i.then(function(){return t9(1e3)})}).then(function(){if(t._pendingFilter!=r){t.send("eth_uninstallFilter",[n]);return}return setTimeout(function(){i()},0),null}).catch(t=>{})}(),n}).catch(t=>{})}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,r){let n=w(ri);if(r)for(let t in r)r[t]&&(n[t]=!0);t&&"object"==typeof t||g.throwArgumentError("invalid object","object",t),Object.keys(t).forEach(r=>{n[r]||g.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)});let i={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(r){if(null==t[r])return;let n=(0,p.$P)(f.O$.from(t[r]));"gasLimit"===r&&(r="gas"),i[r]=n}),["from","to","data"].forEach(function(r){null!=t[r]&&(i[r]=(0,p.Dv)(t[r]))}),t.accessList&&(i.accessList=tn(t.accessList)),i}}let ra=null;try{if(ra=WebSocket,null==ra)throw Error("inject please")}catch(r){let t=new m.Yd(ew);ra=function(){t.throwError("WebSockets not supported in this environment",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}
1var rs=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let rl=new m.Yd(ew),ru=1;class rc extends ro{constructor(t,r){"any"===r&&rl.throwError("WebSocketProvider does not support 'any' network yet",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),"string"==typeof t?super(t,r):super("_websocket",r),this._pollingInterval=-1,this._wsReady=!1,"string"==typeof t?y(this,"_websocket",new ra(this.connection.url)):y(this,"_websocket",t),y(this,"_requests",{}),y(this,"_subs",{}),y(this,"_subIds",{}),y(this,"_detectNetwork",super.detectNetwork()),this.websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach(t=>{this.websocket.send(this._requests[t].payload)})},this.websocket.onmessage=t=>{let r=t.data,n=JSON.parse(r);if(null!=n.id){let t=String(n.id),i=this._requests[t];if(delete this._requests[t],void 0!==n.result)i.callback(null,n.result),this.emit("debug",{action:"response",request:JSON.parse(i.payload),response:n.result,provider:this});else{let t=null;n.error?(y(t=Error(n.error.message||"unknown error"),"code",n.error.code||null),y(t,"response",r)):t=Error("unknown error"),i.callback(t,void 0),this.emit("debug",{action:"response",error:t,request:JSON.parse(i.payload),provider:this})}}else if("eth_subscription"===n.method){let t=this._subs[n.params.subscription];t&&t.processFunc(n.params.result)}else console.warn("this should not happen")};let n=setInterval(()=>{this.emit("poll")},1e3);n.unref&&n.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(t){rl.throwError("cannot reset events block on WebSocketProvider",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(t){rl.throwError("cannot set polling interval on WebSocketProvider",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return rs(this,void 0,void 0,function*(){return null})}set polling(t){t&&rl.throwError("cannot set polling on WebSocketProvider",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(t,r){let n=ru++;return new Promise((i,o)=>{let a=JSON.stringify({method:t,params:r,id:n,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(a),provider:this}),this._requests[String(n)]={callback:function(t,r){return t?o(t):i(r)},payload:a},this._wsReady&&this.websocket.send(a)})}static defaultUrl(){return"ws://localhost:8546"}_subscribe(t,r,n){return rs(this,void 0,void 0,function*(){let i=this._subIds[t];null==i&&(i=Promise.all(r).then(t=>this.send("eth_subscribe",t)),this._subIds[t]=i);let o=yield i;this._subs[o]={tag:t,processFunc:n}})}_startEvent(t){switch(t.type){case"block":this._subscribe("block",["newHeads"],t=>{let r=f.O$.from(t.number).toNumber();this._emitted.block=r,this.emit("block",r)});break;case"pending":this._subscribe("pending",["newPendingTransactions"],t=>{this.emit("pending",t)});break;case"filter":this._subscribe(t.tag,["logs",this._getFilter(t.filter)],r=>{null==r.removed&&(r.removed=!1),this.emit(t.filter,this.formatter.filterLog(r))});break;case"tx":{let r=t=>{let r=t.hash;this.getTransactionReceipt(r).then(t=>{t&&this.emit(r,t)})};r(t),this._subscribe("tx",["newHeads"],t=>{this._events.filter(t=>"tx"===t.type).forEach(r)});break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",t)}}_stopEvent(t){let r=t.tag;if("tx"===t.type){if(this._events.filter(t=>"tx"===t.type).length)return;r="tx"}else if(this.listenerCount(t.event))return;let n=this._subIds[r];n&&(delete this._subIds[r],n.then(t=>{this._subs[t]&&(delete this._subs[t],this.send("eth_unsubscribe",[t]))}))}destroy(){return rs(this,void 0,void 0,function*(){this.websocket.readyState===ra.CONNECTING&&(yield new Promise(t=>{this.websocket.onopen=function(){t(!0)},this.websocket.onerror=function(){t(!1)}})),this.websocket.close(1e3)})}}let rd=new m.Yd(ew);class rh extends ro{detectNetwork(){var t,r,n,i;let o=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return t=this,r=void 0,n=void 0,i=function*(){let t=this.network;
1return null==t&&((t=yield o.detectNetwork.call(this))||rd.throwError("no network detected",m.Yd.errors.UNKNOWN_ERROR,{}),null==this._network&&(y(this,"_network",t),this.emit("network",t,null))),t},new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})}}class rf extends rh{constructor(t,r){rd.checkAbstract(new.target,rf),t=v(new.target,"getNetwork")(t),super(v(new.target,"getUrl")(t,r=v(new.target,"getApiKey")(r)),t),"string"==typeof r?y(this,"apiKey",r):null!=r&&Object.keys(r).forEach(t=>{y(this,t,r[t])})}_startPending(){rd.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(t){return rd.throwError("API provider does not support signing",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(t){return t}static getUrl(t,r){return rd.throwError("not implemented; sub-classes must override getUrl",m.Yd.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}let rp=new m.Yd(ew),rm="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class rg extends rc{constructor(t,r){let n=new ry(t,r);super(n.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),n.network),y(this,"apiKey",n.apiKey)}isCommunityResource(){return this.apiKey===rm}}class ry extends rf{static getWebSocketProvider(t,r){return new rg(t,r)}static getApiKey(t){return null==t?rm:(t&&"string"!=typeof t&&rp.throwArgumentError("invalid apiKey","apiKey",t),t)}static getUrl(t,r){let n=null;switch(t.name){case"homestead":n="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":n="eth-goerli.g.alchemy.com/v2/";break;case"sepolia":n="eth-sepolia.g.alchemy.com/v2/";break;case"matic":n="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":n="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":n="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":n="arb-goerli.g.alchemy.com/v2/";break;case"arbitrum-sepolia":n="arb-sepolia.g.alchemy.com/v2/";break;case"optimism":n="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":n="opt-goerli.g.alchemy.com/v2/";break;case"optimism-sepolia":n="opt-sepolia.g.alchemy.com/v2/";break;default:rp.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+n+r,throttleCallback:(t,n)=>(r===rm&&tf(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===rm}}let rv=new m.Yd(ew),rb="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";class rw extends rf{isCommunityResource(){return this.apiKey===rb}static getApiKey(t){return null==t?rb:t}static getUrl(t,r){null==r&&(r=rb);let n={allowGzip:!0,url:"https://"+function(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"sepolia":return"rpc.ankr.com/eth_sepolia/";case"matic":return"rpc.ankr.com/polygon/";case"maticmum":return"rpc.ankr.com/polygon_mumbai/";case"optimism":return"rpc.ankr.com/optimism/";case"optimism-goerli":return"rpc.ankr.com/optimism_testnet/";case"optimism-sepolia":return"rpc.ankr.com/optimism_sepolia/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return rv.throwArgumentError("unsupported network","name",t)}(t.name)+r,throttleCallback:(t,n)=>(r.apiKey===rb&&tf(),Promise.resolve(!0))};return null!=r.projectSecret&&(n.user="",n.password=r.projectSecret),n}}let r_=new m.Yd(ew);class rS extends rf{static getApiKey(t){return null!=t&&r_.throwArgumentError("apiKey not supported for cloudflare","apiKey",t),null}static getUrl(t,r){let n=null;return"homestead"===t.name?n="https://cloudflare-eth.com/":r_.throwArgumentError("unsupported network","network",arguments[0]),n}perform(t,r){var n,i,o,a;let s=Object.create(null,{perform:{get:()=>super.perform}});return n=this,i=void 0,o=void 0,a=function*(){return"getBlockNumber"===t?(yield s.perform.call(this,"getBlock",{blockTag:"latest"})).number:s.perform.call(this,t,r)},new(o||(o=Promise))(function(t,r){function s(t){try{u(a.next(t))}catch(t){r(t)}}function l(t){try{u(a.throw(t))}catch(t){r(t)}}function u(r){var n;r.done?t(r.value):((n=r.value)instanceof o?n:new o(function(t){t(n)})).then(s,l)}u((a=a.apply(n,i||[])).next())})}}
1var rE=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let rA=new m.Yd(ew);function rx(t){let r={};for(let n in t){if(null==t[n])continue;let i=t[n];("type"!==n||0!==i)&&(i=({type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0})[n]?(0,p.$P)((0,p.Dv)(i)):"accessList"===n?"["+tn(i).map(t=>`{address:"${t.address}",storageKeys:["${t.storageKeys.join('","')}"]}`).join(",")+"]":(0,p.Dv)(i),r[n]=i)}return r}function rk(t){if(0==t.status&&("No records found"===t.message||"No transactions found"===t.message))return t.result;if(1!=t.status||"string"!=typeof t.message||!t.message.match(/^OK/)){let r=Error("invalid response");throw r.result=JSON.stringify(t),(t.result||"").toLowerCase().indexOf("rate limit")>=0&&(r.throttleRetry=!0),r}return t.result}function rO(t){if(t&&0==t.status&&"NOTOK"==t.message&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){let r=Error("throttled response");throw r.result=JSON.stringify(t),r.throttleRetry=!0,r}if("2.0"!=t.jsonrpc){let r=Error("invalid response");throw r.result=JSON.stringify(t),r}if(t.error){let r=Error(t.error.message||"unknown error");throw t.error.code&&(r.code=t.error.code),t.error.data&&(r.data=t.error.data),r}return t.result}function rP(t){if("pending"===t)throw Error("pending not supported");return"latest"===t?t:parseInt(t.substring(2),16)}function rC(t,r,n){if("call"===t&&r.code===m.Yd.errors.SERVER_ERROR){let t=r.error;if(t&&(t.message.match(/reverted/i)||t.message.match(/VM execution error/i))){let n=t.data;if(n&&(n="0x"+n.replace(/^.*0x/i,"")),(0,p.A7)(n))return n;rA.throwError("missing revert data in call exception",m.Yd.errors.CALL_EXCEPTION,{error:r,data:"0x"})}}let i=r.message;throw r.code===m.Yd.errors.SERVER_ERROR&&(r.error&&"string"==typeof r.error.message?i=r.error.message:"string"==typeof r.body?i=r.body:"string"==typeof r.responseText&&(i=r.responseText)),(i=(i||"").toLowerCase()).match(/insufficient funds/)&&rA.throwError("insufficient funds for intrinsic transaction cost",m.Yd.errors.INSUFFICIENT_FUNDS,{error:r,method:t,transaction:n}),i.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&rA.throwError("nonce has already been used",m.Yd.errors.NONCE_EXPIRED,{error:r,method:t,transaction:n}),i.match(/another transaction with same nonce/)&&rA.throwError("replacement fee too low",m.Yd.errors.REPLACEMENT_UNDERPRICED,{error:r,method:t,transaction:n}),i.match(/execution failed due to an exception|execution reverted/)&&rA.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",m.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:r,method:t,transaction:n}),r}class rT extends tF{constructor(t,r){super(t),y(this,"baseUrl",this.getBaseUrl()),y(this,"apiKey",r||null)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return rA.throwArgumentError("unsupported network","network",this.network.name)}getUrl(t,r){let n=Object.keys(r).reduce((t,n)=>{let i=r[n];return null!=i&&(t+=`&${n}=${i}`),t},""),i=this.apiKey?`&apikey=${this.apiKey}`:"";return`${this.baseUrl}/api?module=${t}${n}${i}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(t,r){return r.module=t,r.apikey=this.apiKey,r}fetch(t,r,n){return rE(this,void 0,void 0,function*(){let i=n?this.getPostUrl():this.getUrl(t,r),o=n?this.getPostData(t,r):null,a="proxy"===t?rO:rk;this.emit("debug",{action:"request",request:i,provider:this});let s={url:i,throttleSlotInterval:1e3,throttleCallback:(t,r)=>(this.isCommunityResource()&&tf(),Promise.resolve(!0))},l=null;o&&(s.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},l=Object.keys(o).map(t=>`${t}=${o[t]}`).join("&"));let u=yield eg(s,l,a||rO);
1return this.emit("debug",{action:"response",request:i,response:S(u),provider:this}),u})}detectNetwork(){return rE(this,void 0,void 0,function*(){return this.network})}perform(t,r){let n=Object.create(null,{perform:{get:()=>super.perform}});return rE(this,void 0,void 0,function*(){switch(t){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:r.address,tag:r.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:r.address,tag:r.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:r.address,tag:r.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:r.address,position:r.position,tag:r.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:r.signedTransaction},!0).catch(t=>rC("sendTransaction",t,r.signedTransaction));case"getBlock":if(r.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:r.blockTag,boolean:r.includeTransactions?"true":"false"});throw Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:r.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:r.transactionHash});case"call":{if("latest"!==r.blockTag)throw Error("EtherscanProvider does not support blockTag for call");let t=rx(r.transaction);t.module="proxy",t.action="eth_call";try{return yield this.fetch("proxy",t,!0)}catch(t){return rC("call",t,r.transaction)}}case"estimateGas":{let t=rx(r.transaction);t.module="proxy",t.action="eth_estimateGas";try{return yield this.fetch("proxy",t,!0)}catch(t){return rC("estimateGas",t,r.transaction)}}case"getLogs":{let t={action:"getLogs"};if(r.filter.fromBlock&&(t.fromBlock=rP(r.filter.fromBlock)),r.filter.toBlock&&(t.toBlock=rP(r.filter.toBlock)),r.filter.address&&(t.address=r.filter.address),r.filter.topics&&r.filter.topics.length>0&&(r.filter.topics.length>1&&rA.throwError("unsupported topic count",m.Yd.errors.UNSUPPORTED_OPERATION,{topics:r.filter.topics}),1===r.filter.topics.length)){let n=r.filter.topics[0];("string"!=typeof n||66!==n.length)&&rA.throwError("unsupported topic format",m.Yd.errors.UNSUPPORTED_OPERATION,{topic0:n}),t.topic0=n}let n=yield this.fetch("logs",t),i={};for(let t=0;t<n.length;t++){let r=n[t];if(null==r.blockHash){if(null==i[r.blockNumber]){let t=yield this.getBlock(r.blockNumber);t&&(i[r.blockNumber]=t.hash)}r.blockHash=i[r.blockNumber]}}return n}case"getEtherPrice":if("homestead"!==this.network.name)return 0;return parseFloat((yield this.fetch("stats",{action:"ethprice"})).ethusd)}return n.perform.call(this,t,r)})}getHistory(t,r,n){return rE(this,void 0,void 0,function*(){let i={action:"txlist",address:yield this.resolveName(t),startblock:null==r?0:r,endblock:null==n?99999999:n,sort:"asc"};return(yield this.fetch("account",i)).map(t=>{["contractAddress","to"].forEach(function(r){""==t[r]&&delete t[r]}),null==t.creates&&null!=t.contractAddress&&(t.creates=t.contractAddress);let r=this.formatter.transactionResponse(t);return t.timeStamp&&(r.timestamp=parseInt(t.timeStamp)),r})})}isCommunityResource(){return null==this.apiKey}}var rM=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let rR=new m.Yd(ew);function rI(){return new Date().getTime()}function rN(t){let r=null;for(let n=0;n<t.length;n++){let i=t[n];if(null==i)return null;r?r.name===i.name&&r.chainId===i.chainId&&(r.ensAddress===i.ensAddress||null==r.ensAddress&&null==i.ensAddress)||rR.throwArgumentError("provider mismatch","networks",t):r=i}return r}function rD(t,r){let n=Math.floor((t=t.slice().sort()).length/2);if(t.length%2)return t[n];let i=t[n-1],o=t[n];return null!=r&&Math.abs(i-o)>r?null:(i+o)/2}function rF(t){if(null===t)return"null";if("number"==typeof t||"boolean"==typeof t)return JSON.stringify(t);if("string"==typeof t)return t;if(f.O$.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(t=>rF(t)));if("object"==typeof t){let r=Object.keys(t);return r.sort(),"{"+r.map(r=>{let n=t[r];return n="function"==typeof n?"[function]":rF(n),JSON.stringify(r)+":"+n}).join(",")+"}"}throw Error("unknown value type: "+typeof t)}let rL=1;function r$(t){let r=null,n=null,i=new Promise(i=>{n=setTimeout(r=function(){n&&(clearTimeout(n),n=null),i()},t)});return{cancel:r,getPromise:function(){return i},wait:t=>i=i.then(t)}}let rj=[m.Yd.errors.CALL_EXCEPTION,m.Yd.errors.INSUFFICIENT_FUNDS,m.Yd.errors.NONCE_EXPIRED,m.Yd.errors.REPLACEMENT_UNDERPRICED,m.Yd.errors.UNPREDICTABLE_GAS_LIMIT],rU=["address","args","errorArgs","errorSignature","method","transaction"];function rB(t,r){let n={weight:t.weight};return Object.defineProperty(n,"provider",{get:()=>t.provider}),t.start&&(n.start=t.start),r&&(n.duration=r-t.start),t.done&&(t.error?n.error=t.error:n.result=t.result||null),n}function rz(t,r){return rM(this,void 0,void 0,function*(){let n=t.provider;return null!=n.blockNumber&&n.blockNumber>=r||-1===r?n:ey(()=>new Promise((i,o)=>{setTimeout(function(){return n.blockNumber>=r?i(n):t.cancelled?i(null):i(void 0)}
1,0)}),{oncePoll:n})})}class rH extends tF{constructor(t,r){0===t.length&&rR.throwArgumentError("missing providers","providers",t);let n=t.map((t,r)=>{if(k.isProvider(t)){let r=td(t)?2e3:750;return Object.freeze({provider:t,weight:1,stallTimeout:r,priority:1})}let n=w(t);null==n.priority&&(n.priority=1),null==n.stallTimeout&&(n.stallTimeout=td(t)?2e3:750),null==n.weight&&(n.weight=1);let i=n.weight;return(i%1||i>512||i<1)&&rR.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${r}].weight`,i),Object.freeze(n)}),i=n.reduce((t,r)=>t+r.weight,0);null==r?r=i/2:r>i&&rR.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);let o=rN(n.map(t=>t.provider.network));null==o&&(o=new Promise((t,r)=>{setTimeout(()=>{this.detectNetwork().then(t,r)},0)})),super(o),y(this,"providerConfigs",Object.freeze(n)),y(this,"quorum",r),this._highestBlockNumber=-1}detectNetwork(){return rM(this,void 0,void 0,function*(){return rN((yield Promise.all(this.providerConfigs.map(t=>t.provider.getNetwork()))))})}perform(t,r){return rM(this,void 0,void 0,function*(){if("sendTransaction"===t){let t=yield Promise.all(this.providerConfigs.map(t=>t.provider.sendTransaction(r.signedTransaction).then(t=>t.hash,t=>t)));for(let r=0;r<t.length;r++){let n=t[r];if("string"==typeof n)return n}throw t[0]}-1===this._highestBlockNumber&&"getBlockNumber"!==t&&(yield this.getBlockNumber());let n=function(t,r,n){var i,o;let a=rF;switch(r){case"getBlockNumber":return function(r){let n=r.map(t=>t.result),i=rD(r.map(t=>t.result),2);if(null!=i)return i=Math.ceil(i),n.indexOf(i+1)>=0&&i++,i>=t._highestBlockNumber&&(t._highestBlockNumber=i),t._highestBlockNumber};case"getGasPrice":return function(t){let r=t.map(t=>t.result);return r.sort(),r[Math.floor(r.length/2)]};case"getEtherPrice":return function(t){return rD(t.map(t=>t.result))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(t){return null==t?null:((t=w(t)).confirmations=-1,rF(t))};break;case"getBlock":a=n.includeTransactions?function(t){return null==t?null:((t=w(t)).transactions=t.transactions.map(t=>((t=w(t)).confirmations=-1,t)),rF(t))}:function(t){return null==t?null:rF(t)};break;default:throw Error("unknown method: "+r)}return i=a,o=t.quorum,function(t){let r={};t.forEach(t=>{let n=i(t.result);r[n]||(r[n]={count:0,result:t.result}),r[n].count++});let n=Object.keys(r);for(let t=0;t<n.length;t++){let i=r[n[t]];if(i.count>=o)return i.result}}}(this,t,r),i=function(t){t=t.slice();for(let r=t.length-1;r>0;r--){let n=Math.floor(Math.random()*(r+1)),i=t[r];t[r]=t[n],t[n]=i}return t}(this.providerConfigs.map(w));i.sort((t,r)=>t.priority-r.priority);let o=this._highestBlockNumber,a=0,s=!0;for(;;){let l=rI(),u=i.filter(t=>t.runner&&l-t.start<t.stallTimeout).reduce((t,r)=>t+r.weight,0);for(;u<this.quorum&&a<i.length;){let n=i[a++],s=rL++;n.start=rI(),n.staller=r$(n.stallTimeout),n.staller.wait(()=>{n.staller=null}),n.runner=(function(t,r,n,i){return rM(this,void 0,void 0,function*(){let o=t.provider;switch(n){case"getBlockNumber":case"getGasPrice":return o[n]();case"getEtherPrice":if(o.getEtherPrice)return o.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return i.blockTag&&(0,p.A7)(i.blockTag)&&(o=yield rz(t,r)),o[n](i.address,i.blockTag||"latest");case"getStorageAt":return i.blockTag&&(0,p.A7)(i.blockTag)&&(o=yield rz(t,r)),o.getStorageAt(i.address,i.position,i.blockTag||"latest");case"getBlock":return i.blockTag&&(0,p.A7)(i.blockTag)&&(o=yield rz(t,r)),o[i.includeTransactions?"getBlockWithTransactions":"getBlock"](i.blockTag||i.blockHash);case"call":case"estimateGas":if(i.blockTag&&(0,p.A7)(i.blockTag)&&(o=yield rz(t,r)),"call"===n&&i.blockTag)return o[n](i.transaction,i.blockTag);return o[n](i.transaction);case"getTransaction":case"getTransactionReceipt":return o[n](i.transactionHash);case"getLogs":{let n=i.filter;return(n.fromBlock&&(0,p.A7)(n.fromBlock)||n.toBlock&&(0,p.A7)(n.toBlock))&&(o=yield rz(t,r)),o.getLogs(n)}}return rR.throwError("unknown method error",m.Yd.errors.UNKNOWN_ERROR,{method:n,params:i})})})(n,o,t,r).then(i=>
1{n.done=!0,n.result=i,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:rB(n,rI()),request:{method:t,params:S(r)},provider:this})},i=>{n.done=!0,n.error=i,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:rB(n,rI()),request:{method:t,params:S(r)},provider:this})}),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:rB(n,null),request:{method:t,params:S(r)},provider:this}),u+=n.weight}let c=[];i.forEach(t=>{!t.done&&t.runner&&(c.push(t.runner),t.staller&&c.push(t.staller.getPromise()))}),c.length&&(yield Promise.race(c));let d=i.filter(t=>t.done&&null==t.error);if(d.length>=this.quorum){let t=n(d);if(void 0!==t)return i.forEach(t=>{t.staller&&t.staller.cancel(),t.cancelled=!0}),t;s||(yield r$(100).getPromise()),s=!1}let h=i.reduce((t,r)=>{if(!r.done||null==r.error)return t;let n=r.error.code;return rj.indexOf(n)>=0&&(t[n]||(t[n]={error:r.error,weight:0}),t[n].weight+=r.weight),t},{});if(Object.keys(h).forEach(t=>{let r=h[t];if(r.weight<this.quorum)return;i.forEach(t=>{t.staller&&t.staller.cancel(),t.cancelled=!0});let n=r.error,o={};rU.forEach(t=>{null!=n[t]&&(o[t]=n[t])}),rR.throwError(n.reason||n.message,t,o)}),0===i.filter(t=>!t.done).length)break}return i.forEach(t=>{t.staller&&t.staller.cancel(),t.cancelled=!0}),rR.throwError("failed to meet quorum",m.Yd.errors.SERVER_ERROR,{method:t,params:r,results:i.map(t=>rB(t)),provider:this})})}}let rq=null,rV=new m.Yd(ew),rG="84842078b09946638c03157f83405213";class rW extends rc{constructor(t,r){let n=new rK(t,r),i=n.connection;i.password&&rV.throwError("INFURA WebSocket project secrets unsupported",m.Yd.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"}),super(i.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),t),y(this,"apiKey",n.projectId),y(this,"projectId",n.projectId),y(this,"projectSecret",n.projectSecret)}isCommunityResource(){return this.projectId===rG}}class rK extends rf{static getWebSocketProvider(t,r){return new rW(t,r)}static getApiKey(t){let r={apiKey:rG,projectId:rG,projectSecret:null};return null==t||("string"==typeof t?r.projectId=t:null!=t.projectSecret?(rV.assertArgument("string"==typeof t.projectId,"projectSecret requires a projectId","projectId",t.projectId),rV.assertArgument("string"==typeof t.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),r.projectId=t.projectId,r.projectSecret=t.projectSecret):t.projectId&&(r.projectId=t.projectId),r.apiKey=r.projectId),r}static getUrl(t,r){let n=null;switch(t?t.name:"unknown"){case"homestead":n="mainnet.infura.io";break;case"goerli":n="goerli.infura.io";break;case"sepolia":n="sepolia.infura.io";break;case"matic":n="polygon-mainnet.infura.io";break;case"maticmum":n="polygon-mumbai.infura.io";break;case"optimism":n="optimism-mainnet.infura.io";break;case"optimism-goerli":n="optimism-goerli.infura.io";break;case"optimism-sepolia":n="optimism-sepolia.infura.io";break;case"arbitrum":n="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":n="arbitrum-goerli.infura.io";break;case"arbitrum-sepolia":n="arbitrum-sepolia.infura.io";break;default:rV.throwError("unsupported network",m.Yd.errors.INVALID_ARGUMENT,{argument:"network",value:t})}let i={allowGzip:!0,url:"https://"+n+"/v3/"+r.projectId,throttleCallback:(t,n)=>(r.projectId===rG&&tf(),Promise.resolve(!0))};return null!=r.projectSecret&&(i.user="",i.password=r.projectSecret),i}isCommunityResource(){return this.projectId===rG}}class rY extends ro{send(t,r){let n={method:t,params:r,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);let i={request:n,resolve:null,reject:null},o=new Promise((t,r)=>{i.resolve=t,i.reject=r});return this._pendingBatch.push(i),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{let t=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;let r=t.map(t=>t.request);return this.emit("debug",{action:"requestBatch",request:S(r),provider:this}),eg(this.connection,JSON.stringify(r)).then(n=>{this.emit("debug",{action:"response",request:r,response:n,provider:this}),t.forEach((t,r)=>{let i=n[r];if(i.error){let r=Error(i.error.message);r.code=i.error.code,r.data=i.error.data,t.reject(r)}else t.resolve(i.result)})},n=>
1{this.emit("debug",{action:"response",error:n,request:r,provider:this}),t.forEach(t=>{t.reject(n)})})},10)),o}}let rZ=new m.Yd(ew);class rX extends rf{static getApiKey(t){return t&&"string"!=typeof t&&rZ.throwArgumentError("invalid apiKey","apiKey",t),t||"ETHERS_JS_SHARED"}static getUrl(t,r){rZ.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let n=null;switch(t.name){case"homestead":n="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":n="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":n="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":n="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":n="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:rZ.throwArgumentError("unsupported network","network",arguments[0])}return n+"?apiKey="+r}}let rJ=new m.Yd(ew),rQ="62e1ad51b37b8e00394bda3b";class r0 extends rf{static getApiKey(t){let r={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==t?r.applicationId=rQ:"string"==typeof t?r.applicationId=t:null!=t.applicationSecretKey?(r.applicationId=t.applicationId,r.applicationSecretKey=t.applicationSecretKey):t.applicationId?r.applicationId=t.applicationId:rJ.throwArgumentError("unsupported PocketProvider apiKey","apiKey",t),r}static getUrl(t,r){let n=null;switch(t?t.name:"unknown"){case"goerli":n="eth-goerli.gateway.pokt.network";break;case"homestead":n="eth-mainnet.gateway.pokt.network";break;case"kovan":n="poa-kovan.gateway.pokt.network";break;case"matic":n="poly-mainnet.gateway.pokt.network";break;case"maticmum":n="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":n="eth-rinkeby.gateway.pokt.network";break;case"ropsten":n="eth-ropsten.gateway.pokt.network";break;default:rJ.throwError("unsupported network",m.Yd.errors.INVALID_ARGUMENT,{argument:"network",value:t})}let i={headers:{},url:`https://${n}/v1/lb/${r.applicationId}`};return null!=r.applicationSecretKey&&(i.user="",i.password=r.applicationSecretKey),i}isCommunityResource(){return this.applicationId===rQ}}let r1=new m.Yd(ew);class r2 extends rf{static getApiKey(t){return t&&"string"!=typeof t&&r1.throwArgumentError("invalid apiKey","apiKey",t),t||"919b412a057b5e9c9b6dce193c5a60242d6efadb"}static getUrl(t,r){let n=null;switch(t.name){case"homestead":n="ethers.quiknode.pro";break;case"goerli":n="ethers.ethereum-goerli.quiknode.pro";break;case"sepolia":n="ethers.ethereum-sepolia.quiknode.pro";break;case"holesky":n="ethers.ethereum-holesky.quiknode.pro";break;case"arbitrum":n="ethers.arbitrum-mainnet.quiknode.pro";break;case"arbitrum-goerli":n="ethers.arbitrum-goerli.quiknode.pro";break;case"arbitrum-sepolia":n="ethers.arbitrum-sepolia.quiknode.pro";break;case"base":n="ethers.base-mainnet.quiknode.pro";break;case"base-goerli":n="ethers.base-goerli.quiknode.pro";break;case"base-spolia":n="ethers.base-sepolia.quiknode.pro";break;case"bnb":n="ethers.bsc.quiknode.pro";break;case"bnbt":n="ethers.bsc-testnet.quiknode.pro";break;case"matic":n="ethers.matic.quiknode.pro";break;case"maticmum":n="ethers.matic-testnet.quiknode.pro";break;case"optimism":n="ethers.optimism.quiknode.pro";break;case"optimism-goerli":n="ethers.optimism-goerli.quiknode.pro";break;case"optimism-sepolia":n="ethers.optimism-sepolia.quiknode.pro";break;case"xdai":n="ethers.xdai.quiknode.pro";break;default:r1.throwArgumentError("unsupported network","network",arguments[0])}return"https://"+n+"/"+r}}let r3=new m.Yd(ew),r5=1;function r6(t,r){let n="Web3LegacyFetcher";return function(t,i){let o={method:t,params:i,id:r5++,jsonrpc:"2.0"};return new Promise((t,i)=>{this.emit("debug",{action:"request",fetcher:n,request:S(o),provider:this}),r(o,(r,a)=>{if(r)return this.emit("debug",{action:"response",fetcher:n,error:r,request:o,provider:this}),i(r);if(this.emit("debug",{action:"response",fetcher:n,request:o,response:a,provider:this}),a.error){let t=Error(a.error.message);return t.code=a.error.code,t.data=a.error.data,i(t)}t(a.result)})})}}class r4 extends ro{constructor(t,r){null==t&&r3.throwArgumentError("missing provider","provider",t);let n=null,i=null,o=null;"function"==typeof t?(n="unknown:",i=t):(((n=t.host||t.path||"")||!t.isMetaMask||(n="metamask"),o=t,t.request)?(""===n&&(n="eip-1193:"),i=function(r,n){null==n&&(n=[]);let i={method:r,params:n};
1return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:S(i),provider:this}),t.request(i).then(t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,response:t,provider:this}),t),t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,error:t,provider:this}),t})}):t.sendAsync?i=r6(t,t.sendAsync.bind(t)):t.send?i=r6(t,t.send.bind(t)):r3.throwArgumentError("unsupported provider","provider",t),n||(n="unknown:")),super(n,r),y(this,"jsonRpcFetchFunc",i),y(this,"provider",o)}send(t,r){return this.jsonRpcFetchFunc(t,r)}}let r8=new m.Yd(ew);function r9(t,r){if(null==t&&(t="homestead"),"string"==typeof t){let r=t.match(/^(ws|http)s?:/i);if(r)switch(r[1].toLowerCase()){case"http":case"https":return new ro(t);case"ws":case"wss":return new rc(t);default:r8.throwArgumentError("unsupported URL scheme","network",t)}}let n=N(t);return n&&n._defaultProvider||r8.throwError("unsupported getDefaultProvider network",m.Yd.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),n._defaultProvider({FallbackProvider:rH,AlchemyProvider:ry,AnkrProvider:rw,CloudflareProvider:rS,EtherscanProvider:rT,InfuraProvider:rK,JsonRpcProvider:ro,NodesmithProvider:rX,PocketProvider:r0,QuickNodeProvider:r2,Web3Provider:r4,IpcProvider:rq},r)}},83569:function(t,r,n){"use strict";n.d(r,{J:function(){return h},c:function(){return u}});var i=n(8810),o=n(97327);let a=new o.Yd("rlp/5.8.0");function s(t){let r=[];for(;t;)r.unshift(255&t),t>>=8;return r}function l(t,r,n){let i=0;for(let o=0;o<n;o++)i=256*i+t[r+o];return i}function u(t){return(0,i.Dv)(function t(r){if(Array.isArray(r)){let n=[];if(r.forEach(function(r){n=n.concat(t(r))}),n.length<=55)return n.unshift(192+n.length),n;let i=s(n.length);return i.unshift(247+i.length),i.concat(n)}(0,i.Zq)(r)||a.throwArgumentError("RLP object must be BytesLike","object",r);let n=Array.prototype.slice.call((0,i.lE)(r));if(1===n.length&&n[0]<=127)return n;if(n.length<=55)return n.unshift(128+n.length),n;let o=s(n.length);return o.unshift(183+o.length),o.concat(n)}(t))}function c(t,r,n,i){let s=[];for(;n<r+1+i;){let l=d(t,n);s.push(l.result),(n+=l.consumed)>r+1+i&&a.throwError("child data too short",o.Yd.errors.BUFFER_OVERRUN,{})}return{consumed:1+i,result:s}}function d(t,r){if(0===t.length&&a.throwError("data too short",o.Yd.errors.BUFFER_OVERRUN,{}),t[r]>=248){let n=t[r]-247;r+1+n>t.length&&a.throwError("data short segment too short",o.Yd.errors.BUFFER_OVERRUN,{});let i=l(t,r+1,n);return r+1+n+i>t.length&&a.throwError("data long segment too short",o.Yd.errors.BUFFER_OVERRUN,{}),c(t,r,r+1+n,n+i)}if(t[r]>=192){let n=t[r]-192;return r+1+n>t.length&&a.throwError("data array too short",o.Yd.errors.BUFFER_OVERRUN,{}),c(t,r,r+1,n)}if(t[r]>=184){let n=t[r]-183;r+1+n>t.length&&a.throwError("data array too short",o.Yd.errors.BUFFER_OVERRUN,{});let s=l(t,r+1,n);r+1+n+s>t.length&&a.throwError("data array too short",o.Yd.errors.BUFFER_OVERRUN,{});let u=(0,i.Dv)(t.slice(r+1+n,r+1+n+s));return{consumed:1+n+s,result:u}}if(t[r]>=128){let n=t[r]-128;r+1+n>t.length&&a.throwError("data too short",o.Yd.errors.BUFFER_OVERRUN,{});let s=(0,i.Dv)(t.slice(r+1,r+1+n));return{consumed:1+n,result:s}}return{consumed:1,result:(0,i.Dv)(t[r])}}function h(t){let r=(0,i.lE)(t),n=d(r,0);return n.consumed!==r.length&&a.throwArgumentError("invalid rlp data","data",t),n.result}},32175:function(t,r,n){"use strict";n.d(r,{Z:function(){return D}});var i=n(63496),o=n(88671),a=n(2265),s=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,f=(t,r,n)=>r in t?s(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,p=(t,r)=>{for(var n in r||(r={}))d.call(r,n)&&f(t,n,r[n]);if(c)for(var n of c(r))h.call(r,n)&&f(t,n,r[n]);return t},m=(t,r)=>l(t,u(r)),g=(t,r)=>{var n={};for(var i in t)d.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&c)for(var i of c(t))0>r.indexOf(i)&&h.call(t,i)&&(n[i]=t[i]);return n},y=(t,r,n)=>(f(t,"symbol"!=typeof r?r+"":r,n),n),v=(t,r,n)=>new Promise((i,o)=>{var a=t=>{try{l(n.next(t))}catch(t){o(t)}},s=t=>{try{l(n.throw(t))}catch(t){o(t)}},l=t=>t.done?i(t.value):Promise.resolve(t.value).then(a,s);l((n=n.apply(t,r)).next())}),b="hCaptchaOnLoad",w="script-error",_="@hCaptcha/loader";function S(t){let r=t&&t.ownerDocument||document,n=r.defaultView||r.parentWindow||window;return{document:r,window:n}}function E(t){return t||document.head}var A=class t{constructor(t){y(this,"_parent"),y(this,"breadcrumbs",[]),y(this,"context",{}),y(this,"extra",{}),y(this,"tags",{}),y(this,"request"),y(this,"user"),this._parent=t}get parent(){return this._parent}child(){return new t(this)}
1setRequest(t){return this.request=t,this}removeRequest(){return this.request=void 0,this}addBreadcrumb(t){return typeof t.timestamp>"u"&&(t.timestamp=new Date().toISOString()),this.breadcrumbs.push(t),this}setExtra(t,r){return this.extra[t]=r,this}removeExtra(t){return delete this.extra[t],this}setContext(t,r){return typeof r.type>"u"&&(r.type=t),this.context[t]=r,this}removeContext(t){return delete this.context[t],this}setTags(t){return this.tags=p(p({},this.tags),t),this}setTag(t,r){return this.tags[t]=r,this}removeTag(t){return delete this.tags[t],this}setUser(t){return this.user=t,this}removeUser(){return this.user=void 0,this}toBody(){let t=[],r=this;for(;r;)t.push(r),r=r.parent;return t.reverse().reduce((t,r)=>{var n;return t.breadcrumbs=[...null!=(n=t.breadcrumbs)?n:[],...r.breadcrumbs],t.extra=p(p({},t.extra),r.extra),t.contexts=p(p({},t.contexts),r.context),t.tags=p(p({},t.tags),r.tags),r.user&&(t.user=r.user),r.request&&(t.request=r.request),t},{breadcrumbs:[],extra:{},contexts:{},tags:{},request:void 0,user:void 0})}clear(){this.breadcrumbs=[],this.context={},this.tags={},this.user=void 0}},x=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,k="An unknown error occurred";function O(t){return(t+256).toString(16).substring(1)}var P,C=[[/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,"chrome"],[/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,"winjs"],[/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,"gecko"]],T=(P=class{constructor(t){var r,n,i,o,a;y(this,"apiURL"),y(this,"dsn"),y(this,"environment"),y(this,"release"),y(this,"sampleRate"),y(this,"debug"),y(this,"_scope"),y(this,"shouldBuffer",!1),y(this,"bufferlimit",20),y(this,"buffer",[]),this.environment=t.environment,this.release=t.release,this.sampleRate=null!=(r=t.sampleRate)?r:1,this.debug=null!=(n=t.debug)&&n,this._scope=null!=(i=t.scope)?i:new A,this.apiURL=function(t){let r=x.exec(t),n=r?r.slice(1):[];if(6!==n.length)throw Error("Invalid DSN");let i=n[5].split("/"),o=i.slice(0,-1).join("/");return n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(o?"/"+o:"")+"/api/"+i.pop()+"/envelope/?sentry_version=7&sentry_key="+n[1]+(n[2]?"&sentry_secret="+n[2]:"")}(t.dsn),this.dsn=t.dsn,this.shouldBuffer=null!=(o=t.buffer)&&o,this.bufferlimit=null!=(a=t.bufferLimit)?a:20}static init(t){P._instance||(P._instance=new P(t))}static get instance(){if(!P._instance)throw Error("Sentry has not been initialized");return P._instance}log(...t){this.debug&&console.log(...t)}get scope(){return this._scope}static get scope(){return P.instance.scope}withScope(t){t(this._scope.child())}static withScope(t){P.instance.withScope(t)}captureException(t,r){this.captureEvent({type:"exception",level:"error",error:function(t){if(t instanceof Error)return t;if("string"==typeof t)return Error(t);if("object"==typeof t&&null!==t&&!Array.isArray(t)){let{message:r}=t,n=g(t,["message"]);return Object.assign(Error("string"==typeof r?r:k),n)}return Object.assign(Error(k),{cause:t})}(t),scope:null!=r?r:this._scope})}static captureException(t,r){P.instance.captureException(t,r)}captureMessage(t,r="info",n){this.captureEvent({type:"message",level:r,message:t,scope:null!=n?n:this._scope})}static captureMessage(t,r="info",n){P.instance.captureMessage(t,r,n)}captureEvent(t){if(Math.random()>=this.sampleRate){this.log("Dropped event due to sample rate");return}if(this.shouldBuffer){if(this.buffer.length>=this.bufferlimit)return;this.buffer.push(t)}else this.sendEvent(t)}sendEvent(t,r=5e3){return v(this,null,function*(){try{this.log("Sending sentry event",t);let n=function(t,r,n){var i,o,a;let s;let l=p({event_id:((s=function(t){for(let r=0;r<t.length;r++)t[r]=Math.floor(256*Math.random());return t}(Array(16)))[6]=15&s[6]|64,s[8]=63&s[8]|128,O(s[0])+O(s[1])+O(s[2])+O(s[3])+"-"+O(s[4])+O(s[5])+"-"+O(s[6])+O(s[7])+"-"+O(s[8])+O(s[9])+"-"+O(s[10])+O(s[11])+O(s[12])+O(s[13])+O(s[14])+O(s[15])).replaceAll("-",""),platform:"javascript",sdk:{name:"@hcaptcha/sentry",ver
1sion:"0.0.4"},environment:r,release:n,timestamp:Date.now()/1e3},t.scope.toBody());if("exception"===t.type){let r;l.message=null!=(o=null==(i=t.error)?void 0:i.message)?o:"Unknown error",l.fingerprint=[l.message];let n=[],s=t.error;for(let t=0;t<5&&s&&(n.push((r=function(t){var r,n,i,o;if(!t.stack)return null;let a=[],s=null!=(i=null==(n=(r=t.stack).split)?void 0:n.call(r,` 2`))?i:[];for(let r=0;r<s.length;++r){let n=null,i=null,l=null;for(let[t,n]of C)if(i=t.exec(s[r])){l=n;break}if(!(!i||!l)){if("chrome"===l)n={filename:null!=(o=i[2])&&o.startsWith("address at ")?i[2].substring(11):i[2],function:i[1]||"?",lineno:i[3]?+i[3]:null,colno:i[4]?+i[4]:null};else if("winjs"===l)n={filename:i[2],function:i[1]||"?",lineno:+i[3],colno:i[4]?+i[4]:null};else{if("gecko"!==l)continue;0===r&&!i[5]&&void 0!==t.columnNumber&&a.length>0&&(a[0].column=t.columnNumber+1),n={filename:i[3],function:i[1]||"?",lineno:i[4]?+i[4]:null,colno:i[5]?+i[5]:null}}!n.function&&n.lineno&&(n.function="?"),a.push(n)}}return a.length?a.reverse():null}(a=s),{type:a.name,value:a.message,stacktrace:{frames:null!=r?r:[]}})),!(!s.cause||!(s.cause instanceof Error)));t++)s=s.cause;l.exception={values:n.reverse()}}return"message"===t.type&&(l.message=t.message,l.level=t.level),l}(t,this.environment,this.release),i={event_id:n.event_id,dsn:this.dsn},o=JSON.stringify(i)+` 3`+JSON.stringify({type:"event"})+` 4`+JSON.stringify(n),a=yield function(t,r,n){return v(this,null,function*(){var i,o;try{if("u">typeof fetch&&"u">typeof AbortSignal){let i;if(n){let t=new AbortController;i=t.signal,setTimeout(()=>t.abort(),n)}let o=yield fetch(t,m(p({},r),{signal:i})),a=yield o.text();return{status:o.status,body:a}}return yield new Promise((i,o)=>{var a,s;let l=new XMLHttpRequest;if(l.open(null!=(a=null==r?void 0:r.method)?a:"GET",t),l.onload=()=>i({status:l.status,body:l.responseText}),l.onerror=()=>o(Error("XHR Network Error")),null==r?void 0:r.headers)for(let[t,n]of Object.entries(r.headers))l.setRequestHeader(t,n);if(n){let t=setTimeout(()=>{l.abort(),o(Error("Request timed out"))},n);l.onloadend=()=>{clearTimeout(t)}}l.send(null==(s=null==r?void 0:r.body)?void 0:s.toString())})}catch(t){return{status:0,body:null!=(o=null==(i=null==t?void 0:t.toString)?void 0:i.call(t))?o:"Unknown error"}}})}(this.apiURL,{method:"POST",headers:{"Content-Type":"application/x-sentry-envelope"},body:o},r);this.log("Sentry response",a.status),200!==a.status&&(console.log(a.body),console.error("Failed to send event to Sentry",a))}catch(t){console.error("Failed to send event",t)}})}flush(t=5e3){return v(this,null,function*(){try{this.log("Flushing sentry events",this.buffer.length);let r=this.buffer.splice(0,this.buffer.length).map(r=>this.sendEvent(r,t));yield Promise.all(r),this.log("Flushed all events")}catch(t){console.error("Failed to flush events",t)}})}static flush(t=5e3){return P.instance.flush(t)}static reset(){P._instance=void 0}},y(P,"_instance"),P);function M(t=null){return{addBreadcrumb:r=>{t&&t.addBreadcrumb(r)},captureRequest:r=>{t&&t.setRequest(r)},captureException:r=>{t&&T.captureException(r,t)}}}var R=[];function I(t){var r=t&&t.ownerDocument||document,n=r.defaultView||r.parentWindow||window;return{document:r,window:n}}function N(t){return t||document.head}var D=function(t){function r(r){var n;return(n=t.call(this,r)||this)._hcaptcha=void 0,n.renderCaptcha=n.renderCaptcha.bind((0,i.Z)(n)),n.resetCaptcha=n.resetCaptcha.bind((0,i.Z)(n)),n.removeCaptcha=n.removeCaptcha.bind((0,i.Z)(n)),n.isReady=n.isReady.bind((0,i.Z)(n)),n._onReady=null,n.loadCaptcha=n.loadCaptcha.bind((0,i.Z)(n)),n.handleOnLoad=n.handleOnLoad.bind((0,i.Z)(n)),n.handleSubmit=n.handleSubmit.bind((0,i.Z)(n)),n.handleExpire=n.handleExpire.bind((0,i.Z)(n)),n.handleError=n.handleError.bind((0,i.Z)(n)),n.handleOpen=n.handleOpen.bind((0,i.Z)(n)),n.handleClose=n.handleClose.bind((0,i.Z)(n)),n.handleChallengeExpired=n.handleChallengeExpired.bind((0,i.Z)(n)),n.ref=a.createRef(),n.apiScriptRequested=!1,n.sentryHub=null,n.captchaId="",n.state={isApiReady:!1,isRemoved:!1,elementId:r.id},n}(0,o.Z)(r,t);var n=r.prototype;return n.componentDidMount=function(){var t=this,r=I(N(this.props.scriptLocation));if(this._hcaptcha=r.window.hcaptcha||void 0,void 0!==this._hcaptcha){this.setState({isApiReady:!0},function(){t.renderCaptcha()});return}this.loadCaptcha()},n.componentWillUnmount=function(){var t=this._hcaptcha,r=this.captchaId;this.isReady()&&(t.reset(r),t.remove(r))},n.shouldComponentUpdate=function(t,r){return this.state.isApiReady===r.isApiReady&&this.state.isRemoved===r.isRemoved},n.componentDidUpdate=function(t){var r=this;["sitekey","size","theme","tabindex","languageOverride","endpoint"].every(function(n){return t[n]===r.props[n]})||this.removeCaptcha(function(){r.renderCaptcha()})},n.loadCaptcha=function(){if(!this.apiScriptRequested){var t=this.props,r=t.apihost,n=t.assethost,i=t.endpoint,o=t.host,a=t.imghost,s=t.languageOverride,l=t.reCaptchaCompat,u=t.reportapi,c=t.sentry,d=t.custom,h=t.loadAsync,f=t.scriptLocation,g=t.scriptSource,y=t.secureApi,A=t.cleanup;(function(){return v(this,arguments,function*(t={}){let r=function(t=!0){var r,n,i,o,a,s,l;let u,c,d,h,f;if(!t)return M();T.init({dsn:"https://[email protected]/6",release:"2.0.0",environment:"production"});let g=T.scope;return g.setTag("source",_),g.setTag("url",document.URL),g.setContext("os",{UA:navigator.userAgent}),g.setContext("browser",p({},(-1!==(u=navigator.userAgent).indexOf("Firefox")?(c="Firefox",d=null==(n=u.match(/Firefox\/([\d.]+)/))?void 0:n[1]):-1!==u.indexOf("Edg")?(c="Microsoft Edge",d=null==(i=u.match(/Edg\/([\d.]+)/))?void 0:i[1]):-1!==u.indexOf("Chrome")&&-1!==u.indexOf("Safari")?(c="Chrome",d=null==(o=u.match(/Chrome\/([\d.]+)/))?void 0:o[1]):-1!==u.indexOf("Safari")&&-1===u.indexOf("Chrome")?(c="Safari",d=null==(a=u.match(/Version\/([\d.]+)/))?void 0:a[1]):-1!==u.indexOf("Opera")||-1!==u.indexOf("OPR")?(c="Opera",d=null==(s=u.match(/(Opera|OPR)\/([\d.]+)/))?void 0:s[2]):-1!==u.indexOf("MSIE")||-1!==u.indexOf("Trident")?(c="Internet Explorer",d=null==(l=u.match(/(MSIE |rv:)([\d.]+)/))?void 0:l[2]):(c="Unknown",d="Unknown"),{name:c,version:d}))),g.setContext("device",m(p({},{model:f=-1!==(h=navigator.userAgent).indexOf("Win")?"Windows":-1!==h.indexOf("Mac")?"Mac":-1!==h.indexOf("Linux")?"Linux":-1!==h.indexOf("Android")?"Android":-1!==h.indexOf("like Mac")||-1!==h.indexOf("iPhone")||-1!==h.indexOf("iPad")?"iOS":"Unknown",family:f,device:/Mobile|iPhone|iPod|Android/i.test(h)?"Mobile":/Tablet|iPad/i.test(h)?"Tablet":"Desktop"}),{screen_width_pixels:screen.width,screen_height_pixels:screen.height,language:navigator.language,orientation:(null==(r=screen.orientation)?void 0:r.type)||"Unknown",processor_count:navigator.hardwareConcurrency,platform:navigator.platform})),M(g)}(t.sentry);return yield function t(r,n,i=0){return v(this,null,function*(){let o=i<2?"Retry loading hCaptcha Api":"Exceeded maximum retries";try{return yield function(t={cleanup:!0}
4,r){try{r.addBreadcrumb({category:_,message:"hCaptcha loader params",data:t});let n=E(t.scriptLocation),i=S(n),o=R.find(({scope:t})=>t===i.window);if(o)return r.addBreadcrumb({category:_,message:"hCaptcha already loaded"}),o.promise;let a=new Promise((n,a)=>v(this,null,function*(){try{var s;i.window[b]=()=>{r.addBreadcrumb({category:_,message:"hCaptcha script called onload function"}),n(i.window.hcaptcha)};let a=(s={custom:t.custom,render:t.render,sentry:t.sentry,assethost:t.assethost,imghost:t.imghost,reportapi:t.reportapi,endpoint:t.endpoint,host:t.host,recaptchacompat:t.recaptchacompat,hl:t.hl},Object.entries(s).filter(([,t])=>t||!1===t).map(([t,r])=>`${encodeURIComponent(t)}=${encodeURIComponent(String(r))}`).join("&"));yield function({scriptLocation:t,query:r,loadAsync:n=!0,crossOrigin:i,apihost:o="https://js.hcaptcha.com",cleanup:a=!0,secureApi:s=!1,scriptSource:l=""}={},u){let c=E(t),d=S(c);return new Promise((t,h)=>{let f=d.document.createElement("script");f.id="hCaptcha-script",l?f.src=`${l}?onload=${b}`:s?f.src=`${o}/1/secure-api.js?onload=${b}`:f.src=`${o}/1/api.js?onload=${b}`,f.crossOrigin=i,f.async=n;let p=(t,r)=>{try{!s&&a&&c.removeChild(f),r(t)}catch(t){h(t)}};f.onload=r=>p(r,t),f.onerror=t=>{u&&u(f.src),p(t,h)},f.src+=""!==r?`&${r}`:"",c.appendChild(f)})}(p({query:a},t),t=>{r.captureRequest({url:t,method:"GET"})}),r.addBreadcrumb({category:_,message:"hCaptcha loaded",data:o})}catch(n){r.addBreadcrumb({category:_,message:"hCaptcha failed to load"});let t=R.findIndex(t=>t.scope===i.window);-1!==t&&R.splice(t,1),a(Error(w))}}));return R.push({promise:a,scope:i.window}),a}catch(t){return r.captureException(t),Promise.reject(Error(w))}}(r,n)}catch(a){return n.addBreadcrumb({category:_,message:o}),i>=2?(n.captureException(a),Promise.reject(a)):t(r,n,i+=1)}})}(t,r)})})({render:"explicit",apihost:r,assethost:n,endpoint:i,hl:s,host:o,imghost:a,recaptchacompat:!1===l?"off":null,reportapi:u,sentry:c,custom:d,loadAsync:h,scriptLocation:f,scriptSource:g,secureApi:y,cleanup:void 0===A||A}).then(this.handleOnLoad,this.handleError).catch(this.handleError),this.apiScriptRequested=!0}},n.renderCaptcha=function(t){var r=this,n=this.props.onReady,i=this.state.isApiReady,o=this.captchaId;if(i&&!o){var a=Object.assign({"open-callback":this.handleOpen,"close-callback":this.handleClose,"error-callback":this.handleError,"chalexpired-callback":this.handleChallengeExpired,"expired-callback":this.handleExpire,callback:this.handleSubmit},this.props,{hl:this.props.hl||this.props.languageOverride,languageOverride:void 0}),s=this._hcaptcha.render(this.ref.current,a);this.captchaId=s,this.setState({isRemoved:!1},function(){t&&t(),n&&n(),r._onReady&&r._onReady(s)})}},n.resetCaptcha=function(){var t=this._hcaptcha,r=this.captchaId;this.isReady()&&t.reset(r)},n.removeCaptcha=function(t){var r=this,n=this._hcaptcha,i=this.captchaId;this.isReady()&&this.setState({isRemoved:!0},function(){r.captchaId="",n.remove(i),t&&t()})},n.handleOnLoad=function(){var t=this;this.setState({isApiReady:!0},function(){var r=I(N(t.props.scriptLocation));t._hcaptcha=r.window.hcaptcha,t.renderCaptcha(function(){var r=t.props.onLoad;r&&r()})})},n.handleSubmit=function(t){var r=this.props.onVerify,n=this.state.isRemoved,i=this._hcaptcha,o=this.captchaId;if(void 0!==i&&!n){var a=i.getResponse(o),s=i.getRespKey(o);r&&r(a,s)}},n.handleExpire=function(){var t=this.props.onExpire,r=this._hcaptcha,n=this.captchaId;this.isReady()&&(r.reset(n),t&&t())},n.handleError=function(t){var r=this.props.onError,n=this._hcaptcha,i=this.captchaId;this.isReady()&&n.reset(i),r&&r(t)},n.isReady=function(){var t=this.state,r=t.isApiReady,n=t.isRemoved;return r&&!n},n.handleOpen=function(){this.isReady()&&this.props.onOpen&&this.props.onOpen()},n.handleClose=function(){this.isReady()&&this.props.onClose&&this.props.onClose()},n.handleChallengeExpired=function(){this.isReady()&&this.props.onChalExpired&&this.props.onChalExpired()},n.execute=function(t){var r=this;void 0===t&&(t=null),t="object"==typeof t?t:null;try{var n=this._hcaptcha,i=this.captchaId;if(!this.isReady()){var o,a=new Promise(function(n,i){r._onReady=function(o){try{var a=r._hcaptcha;t&&t.async?a.execute(o,t).then(n).catch(i):n(a.execute(o,t))}catch(t){i(t)}}});return null!=(o=t)&&o.async?a:null}return n.execute(i,t)}catch(r){if(t&&t.async)return Promise.reject(r);return null}},n.close=function(){var t=this._hcaptcha,r=this.captchaId;if(this.isReady())return t.close(r)},n.setData=function(t){var r=this._hcaptcha,n=this.captchaId;this.isReady()&&(t&&"object"!=typeof t&&(t=null),r.setData(n,t))},n.getResponse=function(){return this._hcaptcha.getResponse(this.captchaId)},n.getRespKey=function(){return this._hcaptcha.getRespKey(this.captchaId)},n.render=function(){var t=this.state.elementId;return a.createElement("div",{ref:this.ref,id:t})},r}(a.Component)},63945:function(t,r,n){var i=n(87911),o=function(t,r,n){if(t&&"reportValidity"in t){var o=i.get(n,r);t.setCustomValidity(o&&o.message||""),t.reportValidity()}},a=function(t,r){var n=function(n){var i=r.fields[n];
4i&&i.ref&&"reportValidity"in i.ref?o(i.ref,n,t):i.refs&&i.refs.forEach(function(r){return o(r,n,t)})};for(var i in r.fields)n(i)},s=function(t,r){return t.some(function(t){return t.startsWith(r+".")})};r.toNestErrors=function(t,r){r.shouldUseNativeValidation&&a(t,r);var n={};for(var o in t){var l=i.get(r.fields,o),u=Object.assign(t[o]||{},{ref:l&&l.ref});if(s(r.names||Object.keys(t),o)){var c=Object.assign({},i.get(n,o));i.set(c,"root",u),i.set(n,o,c)}else i.set(n,o,u)}return n},r.validateFieldsNatively=a},10601:function(t,r,n){var i=n(63945),o=n(87911);r.X=function(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),function(a,s,l){try{return Promise.resolve(function(o,u){try{var c=(r.context,Promise.resolve(t["sync"===n.mode?"validateSync":"validate"](a,Object.assign({abortEarly:!1},r,{context:s}))).then(function(t){return l.shouldUseNativeValidation&&i.validateFieldsNatively({},l),{values:n.raw?a:t,errors:{}}}))}catch(t){return u(t)}return c&&c.then?c.then(void 0,u):c}(0,function(t){var r;if(!t.inner)throw t;return{values:{},errors:i.toNestErrors((r=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(t.inner||[]).reduce(function(t,n){if(t[n.path]||(t[n.path]={message:n.message,type:n.type}),r){var i=t[n.path].types,a=i&&i[n.type];t[n.path]=o.appendErrors(n.path,r,t,n.type,a?[].concat(a,n.message):n.message)}return t},{})),l)}}))}catch(t){return Promise.reject(t)}}}},48444:function(t,r){"use strict";function n(t){if(!Number.isSafeInteger(t)||t<0)throw Error("positive integer expected, got "+t)}function i(t,...r){if(!(t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name))throw Error("Uint8Array expected");if(r.length>0&&!r.includes(t.length))throw Error("Uint8Array expected of length "+r+", got length="+t.length)}Object.defineProperty(r,"__esModule",{value:!0}),r.anumber=n,r.abytes=i,r.ahash=function(t){if("function"!=typeof t||"function"!=typeof t.create)throw Error("Hash should be wrapped by utils.wrapConstructor");n(t.outputLen),n(t.blockLen)},r.aexists=function(t,r=!0){if(t.destroyed)throw Error("Hash instance has been destroyed");if(r&&t.finished)throw Error("Hash#digest() has already been called")},r.aoutput=function(t,r){i(t);let n=r.outputLen;if(t.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}},34755:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.add5L=r.add5H=r.add4H=r.add4L=r.add3H=r.add3L=r.rotlBL=r.rotlBH=r.rotlSL=r.rotlSH=r.rotr32L=r.rotr32H=r.rotrBL=r.rotrBH=r.rotrSL=r.rotrSH=r.shrSL=r.shrSH=r.toBig=void 0,r.fromBig=o,r.split=a,r.add=w;let n=BigInt(4294967296-1),i=BigInt(32);function o(t,r=!1){return r?{h:Number(t&n),l:Number(t>>i&n)}:{h:0|Number(t>>i&n),l:0|Number(t&n)}}function a(t,r=!1){let n=new Uint32Array(t.length),i=new Uint32Array(t.length);for(let a=0;a<t.length;a++){let{h:s,l}=o(t[a],r);[n[a],i[a]]=[s,l]}return[n,i]}let s=(t,r)=>BigInt(t>>>0)<<i|BigInt(r>>>0);r.toBig=s;let l=(t,r,n)=>t>>>n;r.shrSH=l;let u=(t,r,n)=>t<<32-n|r>>>n;r.shrSL=u;let c=(t,r,n)=>t>>>n|r<<32-n;r.rotrSH=c;let d=(t,r,n)=>t<<32-n|r>>>n;r.rotrSL=d;let h=(t,r,n)=>t<<64-n|r>>>n-32;r.rotrBH=h;let f=(t,r,n)=>t>>>n-32|r<<64-n;r.rotrBL=f;let p=(t,r)=>r;r.rotr32H=p;let m=(t,r)=>t;r.rotr32L=m;let g=(t,r,n)=>t<<n|r>>>32-n;r.rotlSH=g;let y=(t,r,n)=>r<<n|t>>>32-n;r.rotlSL=y;let v=(t,r,n)=>r<<n-32|t>>>64-n;r.rotlBH=v;let b=(t,r,n)=>t<<n-32|r>>>64-n;function w(t,r,n,i){let o=(r>>>0)+(i>>>0);return{h:t+n+(o/4294967296|0)|0,l:0|o}}r.rotlBL=b;let _=(t,r,n)=>(t>>>0)+(r>>>0)+(n>>>0);r.add3L=_;let S=(t,r,n,i)=>r+n+i+(t/4294967296|0)|0;r.add3H=S;let E=(t,r,n,i)=>(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);r.add4L=E;let A=(t,r,n,i,o)=>r+n+i+o+(t/4294967296|0)|0;r.add4H=A;let x=(t,r,n,i,o)=>(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0)+(o>>>0);r.add5L=x;let k=(t,r,n,i,o,a)=>r+n+i+o+a+(t/4294967296|0)|0;r.add5H=k,r.default={fromBig:o,split:a,toBig:s,shrSH:l,shrSL:u,rotrSH:c,rotrSL:d,rotrBH:h,rotrBL:f,rotr32H:p,rotr32L:m,rotlSH:g,rotlSL:y,rotlBH:v,rotlBL:b,add:w,add3L:_,add3H:S,add4L:E,add4H:A,add5H:k,add5L:x}},83917:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.crypto=void 0,r.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0},32517:function(t,r,n){"use strict";
4Object.defineProperty(r,"__esModule",{value:!0}),r.shake256=r.shake128=r.keccak_512=r.keccak_384=r.keccak_256=r.keccak_224=r.sha3_512=r.sha3_384=r.sha3_256=r.sha3_224=r.Keccak=void 0,r.keccakP=w;let i=n(48444),o=n(34755),a=n(28772),s=[],l=[],u=[],c=BigInt(0),d=BigInt(1),h=BigInt(2),f=BigInt(7),p=BigInt(256),m=BigInt(113);for(let t=0,r=d,n=1,i=0;t<24;t++){[n,i]=[i,(2*n+3*i)%5],s.push(2*(5*i+n)),l.push((t+1)*(t+2)/2%64);let o=c;for(let t=0;t<7;t++)(r=(r<<d^(r>>f)*m)%p)&h&&(o^=d<<(d<<BigInt(t))-d);u.push(o)}let[g,y]=(0,o.split)(u,!0),v=(t,r,n)=>n>32?(0,o.rotlBH)(t,r,n):(0,o.rotlSH)(t,r,n),b=(t,r,n)=>n>32?(0,o.rotlBL)(t,r,n):(0,o.rotlSL)(t,r,n);function w(t,r=24){let n=new Uint32Array(10);for(let i=24-r;i<24;i++){for(let r=0;r<10;r++)n[r]=t[r]^t[r+10]^t[r+20]^t[r+30]^t[r+40];for(let r=0;r<10;r+=2){let i=(r+8)%10,o=(r+2)%10,a=n[o],s=n[o+1],l=v(a,s,1)^n[i],u=b(a,s,1)^n[i+1];for(let n=0;n<50;n+=10)t[r+n]^=l,t[r+n+1]^=u}let r=t[2],o=t[3];for(let n=0;n<24;n++){let i=l[n],a=v(r,o,i),u=b(r,o,i),c=s[n];r=t[c],o=t[c+1],t[c]=a,t[c+1]=u}for(let r=0;r<50;r+=10){for(let i=0;i<10;i++)n[i]=t[r+i];for(let i=0;i<10;i++)t[r+i]^=~n[(i+2)%10]&n[(i+4)%10]}t[0]^=g[i],t[1]^=y[i]}n.fill(0)}class _ extends a.Hash{constructor(t,r,n,o=!1,s=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=o,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,i.anumber)(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,a.u32)(this.state)}keccak(){a.isLE||(0,a.byteSwap32)(this.state32),w(this.state32,this.rounds),a.isLE||(0,a.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(t){(0,i.aexists)(this);let{blockLen:r,state:n}=this,o=(t=(0,a.toBytes)(t)).length;for(let i=0;i<o;){let a=Math.min(r-this.pos,o-i);for(let r=0;r<a;r++)n[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:n,blockLen:i}=this;t[n]^=r,(128&r)!=0&&n===i-1&&this.keccak(),t[i-1]^=128,this.keccak()}writeInto(t){(0,i.aexists)(this,!1),(0,i.abytes)(t),this.finish();let r=this.state,{blockLen:n}=this;for(let i=0,o=t.length;i<o;){this.posOut>=n&&this.keccak();let a=Math.min(n-this.posOut,o-i);t.set(r.subarray(this.posOut,this.posOut+a),i),this.posOut+=a,i+=a}return t}xofInto(t){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return(0,i.anumber)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,i.aoutput)(t,this),this.finished)throw Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:a}=this;return t||(t=new _(r,n,i,a,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=a,t.destroyed=this.destroyed,t}}r.Keccak=_;let S=(t,r,n)=>(0,a.wrapConstructor)(()=>new _(r,t,n));r.sha3_224=S(6,144,28),r.sha3_256=S(6,136,32),r.sha3_384=S(6,104,48),r.sha3_512=S(6,72,64),r.keccak_224=S(1,144,28),r.keccak_256=S(1,136,32),r.keccak_384=S(1,104,48),r.keccak_512=S(1,72,64);let E=(t,r,n)=>(0,a.wrapXOFConstructorWithOpts)((i={})=>new _(r,t,void 0===i.dkLen?n:i.dkLen,!0));r.shake128=E(31,168,16),r.shake256=E(31,136,32)},28772:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Hash=r.nextTick=r.byteSwapIfBE=r.isLE=void 0,r.isBytes=function(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name},r.u8=function(t){return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},r.u32=function(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))},r.createView=function(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)},r.rotr=function(t,r){return t<<32-r|t>>>r},r.rotl=function(t,r){return t<<r|t>>>32-r>>>0},r.byteSwap=a,r.byteSwap32=function(t){for(let r=0;r<t.length;r++)t[r]=a(t[r])},r.bytesToHex=function(t){(0,o.abytes)(t);let r="";for(let n=0;n<t.length;
4n++)r+=s[t[n]];return r},r.hexToBytes=function(t){if("string"!=typeof t)throw Error("hex string expected, got "+typeof t);let r=t.length,n=r/2;if(r%2)throw Error("hex string expected, got unpadded hex of length "+r);let i=new Uint8Array(n);for(let r=0,o=0;r<n;r++,o+=2){let n=u(t.charCodeAt(o)),a=u(t.charCodeAt(o+1));if(void 0===n||void 0===a)throw Error('hex string expected, got non-hex character "'+(t[o]+t[o+1])+'" at index '+o);i[r]=16*n+a}return i},r.asyncLoop=d,r.utf8ToBytes=h,r.toBytes=f,r.concatBytes=function(...t){let r=0;for(let n=0;n<t.length;n++){let i=t[n];(0,o.abytes)(i),r+=i.length}let n=new Uint8Array(r);for(let r=0,i=0;r<t.length;r++){let o=t[r];n.set(o,i),i+=o.length}return n},r.checkOpts=function(t,r){if(void 0!==r&&"[object Object]"!==({}).toString.call(r))throw Error("Options should be object or undefined");return Object.assign(t,r)},r.wrapConstructor=function(t){let r=r=>t().update(f(r)).digest(),n=t();return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=()=>t(),r},r.wrapConstructorWithOpts=function(t){let r=(r,n)=>t(n).update(f(r)).digest(),n=t({});return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=r=>t(r),r},r.wrapXOFConstructorWithOpts=function(t){let r=(r,n)=>t(n).update(f(r)).digest(),n=t({});return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=r=>t(r),r},r.randomBytes=function(t=32){if(i.crypto&&"function"==typeof i.crypto.getRandomValues)return i.crypto.getRandomValues(new Uint8Array(t));if(i.crypto&&"function"==typeof i.crypto.randomBytes)return i.crypto.randomBytes(t);throw Error("crypto.getRandomValues must be defined")};let i=n(83917),o=n(48444);function a(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}r.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],r.byteSwapIfBE=r.isLE?t=>t:t=>a(t);let s=Array.from({length:256},(t,r)=>r.toString(16).padStart(2,"0")),l={_0:48,_9:57,A:65,F:70,a:97,f:102};function u(t){return t>=l._0&&t<=l._9?t-l._0:t>=l.A&&t<=l.F?t-(l.A-10):t>=l.a&&t<=l.f?t-(l.a-10):void 0}let c=async()=>{};async function d(t,n,i){let o=Date.now();for(let a=0;a<t;a++){i(a);let t=Date.now()-o;t>=0&&t<n||(await (0,r.nextTick)(),o+=t)}}function h(t){if("string"!=typeof t)throw Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}function f(t){return"string"==typeof t&&(t=h(t)),(0,o.abytes)(t),t}r.nextTick=c;class p{clone(){return this._cloneInto()}}r.Hash=p},90658:function(t,r,n){"use strict";function i(t){if(null==t)return window;if("[object Window]"!==t.toString()){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function o(t){var r=i(t).Element;return t instanceof r||t instanceof Element}function a(t){var r=i(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function s(t){if("undefined"==typeof ShadowRoot)return!1;var r=i(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}n.d(r,{fi:function(){return ec}});var l,u,c,d,h,f=Math.max,p=Math.min,m=Math.round;function g(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(g())}function v(t,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,u=1;r&&a(t)&&(l=t.offsetWidth>0&&m(s.width)/t.offsetWidth||1,u=t.offsetHeight>0&&m(s.height)/t.offsetHeight||1);var c=(o(t)?i(t):window).visualViewport,d=!y()&&n,h=(s.left+(d&&c?c.offsetLeft:0))/l,f=(s.top+(d&&c?c.offsetTop:0))/u,p=s.width/l,g=s.height/u;return{width:p,height:g,top:f,right:h+p,bottom:f+g,left:h,x:h,y:f}}function b(t){var r=i(t);return{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function w(t){return t?(t.nodeName||"").toLowerCase():null}function _(t){return((o(t)?t.ownerDocument:t.document)||window.document).documentElement}function S(t){return v(_(t)).left+b(t).scrollLeft}function E(t){return i(t).getComputedStyle(t)}function A(t){var r=E(t),n=r.overflow,i=r.overflowX,o=r.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function x(t){var r=v(t),n=t.offsetWidth,i=t.offsetHeight;return 1>=Math.abs(r.width-n)&&(n=r.width),1>=Math.abs(r.height-i)&&(i=r.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function k(t){return"html"===w(t)?t:t.assignedSlot||t.parentNode||(s(t)?t.host:null)||_(t)}function O(t,r){void 0===r&&(r=[]);var n,o=function t(r){return["html","body","#document"].indexOf(w(r))>=0?r.ownerDocument.body:a(r)&&A(r)?r:t(k(r))}(t),s=o===(null==(n=t.ownerDocument)?void 0:n.body),l=i(o),u=s?[l].concat(l.visualVie
vendor: 12,314 bytes, line 4
4wport||[],A(o)?o:[]):o,c=r.concat(u);return s?c:c.concat(O(k(u)))}function P(t){return a(t)&&"fixed"!==E(t).position?t.offsetParent:null}function C(t){for(var r=i(t),n=P(t);n&&["table","td","th"].indexOf(w(n))>=0&&"static"===E(n).position;)n=P(n);return n&&("html"===w(n)||"body"===w(n)&&"static"===E(n).position)?r:n||function(t){var r=/firefox/i.test(g());if(/Trident/i.test(g())&&a(t)&&"fixed"===E(t).position)return null;var n=k(t);for(s(n)&&(n=n.host);a(n)&&0>["html","body"].indexOf(w(n));){var i=E(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||r&&"filter"===i.willChange||r&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||r}var T="bottom",M="right",R="left",I="auto",N=["top",T,M,R],D="start",F="viewport",L="popper",$=N.reduce(function(t,r){return t.concat([r+"-"+D,r+"-end"])},[]),j=[].concat(N,[I]).reduce(function(t,r){return t.concat([r,r+"-"+D,r+"-end"])},[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],B={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return!r.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}var H={passive:!0};function q(t){return t.split("-")[0]}function V(t){return t.split("-")[1]}function G(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function W(t){var r,n=t.reference,i=t.element,o=t.placement,a=o?q(o):null,s=o?V(o):null,l=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2;switch(a){case"top":r={x:l,y:n.y-i.height};break;case T:r={x:l,y:n.y+n.height};break;case M:r={x:n.x+n.width,y:u};break;case R:r={x:n.x-i.width,y:u};break;default:r={x:n.x,y:n.y}}var c=a?G(a):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case D:r[c]=r[c]-(n[d]/2-i[d]/2);break;case"end":r[c]=r[c]+(n[d]/2-i[d]/2)}}return r}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Y(t){var r,n,o,a,s,l,u,c=t.popper,d=t.popperRect,h=t.placement,f=t.variation,p=t.offsets,g=t.position,y=t.gpuAcceleration,v=t.adaptive,b=t.roundOffsets,w=t.isFixed,S=p.x,A=void 0===S?0:S,x=p.y,k=void 0===x?0:x,O="function"==typeof b?b({x:A,y:k}):{x:A,y:k};A=O.x,k=O.y;var P=p.hasOwnProperty("x"),I=p.hasOwnProperty("y"),N=R,D="top",F=window;if(v){var L=C(c),$="clientHeight",j="clientWidth";L===i(c)&&"static"!==E(L=_(c)).position&&"absolute"===g&&($="scrollHeight",j="scrollWidth"),("top"===h||(h===R||h===M)&&"end"===f)&&(D=T,k-=(w&&L===F&&F.visualViewport?F.visualViewport.height:L[$])-d.height,k*=y?1:-1),(h===R||("top"===h||h===T)&&"end"===f)&&(N=M,A-=(w&&L===F&&F.visualViewport?F.visualViewport.width:L[j])-d.width,A*=y?1:-1)}var U=Object.assign({position:g},v&&K),B=!0===b?(r={x:A,y:k},n=i(c),o=r.x,a=r.y,{x:m(o*(s=n.devicePixelRatio||1))/s||0,y:m(a*s)/s||0}):{x:A,y:k};return(A=B.x,k=B.y,y)?Object.assign({},U,((u={})[D]=I?"0":"",u[N]=P?"0":"",u.transform=1>=(F.devicePixelRatio||1)?"translate("+A+"px, "+k+"px)":"translate3d("+A+"px, "+k+"px, 0)",u)):Object.assign({},U,((l={})[D]=I?k+"px":"",l[N]=P?A+"px":"",l.transform="",l))}var Z={left:"right",right:"left",bottom:"top",top:"bottom"};function X(t){return t.replace(/left|right|bottom|top/g,function(t){return Z[t]})}var J={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,function(t){return J[t]})}function ee(t,r){var n=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(n&&s(n)){var i=r;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function et(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function er(t,r,n){var a,s,l,u,c,d,h,p,m,g;return r===F?et(function(t,r){var n=i(t),o=_(t),a=n.visualViewport,s=o.clientWidth,l=o.clientHeight,u=0,c=0;if(a){s=a.width,l=a.height;var d=y();(d||!d&&"fixed"===r)&&(u=a.offsetLeft,c=a.offsetTop)}return{width:s,height:l,x:u+S(t),y:c}}(t,n)):o(r)?((a=v(r,!1,"fixed"===n)).top=a.top+r.clientTop,a.left=a.left+r.clientLeft,a.bottom=a.top+r.clientHeight,a.right=a.left+r.clientWidth,a.width=r.clientWidth,a.height=r.clientHeight,a.x=a.left,a.y=a.top,a):et((s=_(t),u=_(s),c=b(s),d=null==(l=s.ownerDocument)?void 0:l.body,h=f(u.scrollWidth,u.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),p=f(u.scrollHeight,u.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),m=-c.scrollLeft+S(s),g=-c.scrollTop,"rtl"===E(d||u).direction&&(m+=f(u.clientWidth,d?d.clientWidth:0)-h),{width:h,height:p,x:m,y:g}))}function en(){return{top:0,right:0,bottom:0,left:0}}function ei(t){return Object.assign({},en(),t)}function eo(t,r){return r.reduce(function(r,n){return r[n]=t,r},{})}function ea(t,r){void 0===r&&(r={});var n,i,s,l,u,c,d,h,m=r,g=m.placement,y=void 0===g?t.placement:g,b=m.strategy,S=void 0===b?t.strategy:b,A=m.boundary,x=m.rootBoundary,P=m.elementContext,R=void 0===P?L:P,I=m.altBoundary,D=m.padding,$=void 0===D?0:D,j=ei("number"!=typeof $?$:eo($,N)),U=t.rects.popper,B=t.elements[void 0!==I&&I?R===L?"reference":L:R],z=(n=o(B)?B:B.contextElement||_(t.elements.popper),i=void 0===A?"clippingParents":A,s=void 0===x?F:x,d=(c=[].concat("clippingParents"===i?(l=O(k(n)),o(u=["absolute","fixed"].indexOf(E(n).position)>=0&&a(n)?C(n):n)?l.filter(function(t){return o(t)&&ee(t,u)&&"body"!==w(t)}):[]):[].concat(i),[s]))[0],(h=c.reduce(function(t,r){var i=er(n,r,S);return t.top=f(i.top,t.top),t.right=p(i.right,t.right),t.bottom=p(i.bottom,t.bottom),t.left=f(i.left,t.left),t},er(n,d,S))).width=h.right-h.left,h.height=h.bottom-h.top,h.x=h.left,h.y=h.top,h),H=v(t.elements.reference),q=W({reference:H,element:U,strategy:"absolute",placement:y}),V=et(Object.assign({},U,q)),G=R===L?V:H,K={top:z.top-G.top+j.top,bottom:G.bottom-z.bottom+j.bottom,left:z.left-G.left+j.left,right:G.right-z.right+j.right},Y=t.modifiersData.offset;if(R===L&&Y){var Z=Y[y];Object.keys(K).forEach(function(t){var r=[M,T].indexOf(t)>=0?1:-1,n=["top",T].indexOf(t)>=0?"y":"x";K[t]+=Z[n]*r})}return K}function es(t,r,n){return f(t,p(r,n))}function el(t,r,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-r.height-n.y,right:t.right-r.width+n.x,bottom:t.bottom-r.height+n.y,left:t.left-r.width-n.x}}function eu(t){return["top",M,T,R].some(function(r){return t[r]>=0})}var ec=(c=void 0===(u=(l={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var r=t.state,n=t.instance,o=t.options,a=o.scroll,s=void 0===a||a,l=o.resize,u=void 0===l||l,c=i(r.elements.popper),d=[].concat(r.scrollParents.reference,r.scrollParents.popper);return s&&d.forEach(function(t){t.addEventListener("scroll",n.update,H)}),u&&c.addEventListener("resize",n.update,H),function(){s&&d.forEach(function(t){t.removeEventListener("scroll",n.update,H)}),u&&c.removeEventListener("resize",n.update,H)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var r=t.state,n=t.name;r.modifiersData[n]=W({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var r=t.state,n=t.options,i=n.gpuAcceleration,o=n.adaptive,a=n.roundOffsets,s=void 0===a||a,l={placement:q(r.placement),variation:V(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:void 0===i||i,isFixed:"fixed"===r.options.strategy};null!=r.modifiersData.popperOffsets&&(r.styles.popper=Object.assign({},r.styles.popper,Y(Object.assign({},l,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:void 0===o||o,roundOffsets:s})))),null!=r.modifiersData.arrow&&(r.styles.arrow=Object.assign({},r.styles.arrow,Y(Object.assign({},l,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach(function(t){var n=r.styles[t]||{},i=r.attributes[t]||{},o=r.elements[t];a(o)&&w(o)&&(Object.assign(o.style,n),Object.keys(i).forEach(function(t){var r=i[t];!1===r?o.removeAttribute(t):o.setAttribute(t,!0===r?"":r)}))})},effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow),function(){Object.keys(r.elements).forEach(function(t){var i=r.elements[t],o=r.attributes[t]||{},s=Object.keys(r.styles.hasOwnProperty(t)?r.styles[t]:n[t]).reduce(function(t,r){return t[r]="",t},{});a(i)&&w(i)&&(Object.assign(i.style,s),Object.keys(o).forEach(function(t){i.removeAttribute(t)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.offset,a=void 0===o?[0,0]:o,s=j.reduce(function(t,n){var i,o,s,l,u,c;return t[n]=(i=r.rects,s=[R,"top"].indexOf(o=q(n))>=0?-1:1,u=(l="function"==typeof a?a(Object.assign({},i,{placement:n})):a)[0],c=l[1],u=u||0,c=(c||0)*s,[R,M].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}),t},{}),l=s[r.placement],u=l.x,c=l.y;null!=r.modifiersData.popperOffsets&&(r.modifiersData.popperOffsets.x+=u,r.modifiersData.popperOffsets.y+=c),r.modifiersData[i]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name;if(!r.modifiersData[i]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,l=void 0===s||s,u=n.fallbackPlacements,c=n.padding,d=n.boundary,h=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,g=n.allowedAutoPlacements,y=r.options.placement,v=q(y)===y,b=u||(v||!m?[X(y)]:function(t){if(q(t)===I)return[];var r=X(t);return[Q(t),r,Q(r)]}(y)),w=[y].concat(b).reduce(function(t,n){var i,o,a,s,l,u,f,p,y,v,b,w;return t.concat(q(n)===I?(o=(i={placement:n,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:g}).placement,a=i.boundary,s=i.rootBoundary,l=i.padding,u=i.flipVariations,p=void 0===(f=i.allowedAutoPlacements)?j:f,0===(b=(v=(y=V(o))?u?$:$.filter(function(t){return V(t)===y}):N).filter(function(t){return p.indexOf(t)>=0})).length&&(b=v),Object.keys(w=b.reduce(function(t,n){return t[n]=ea(r,{placement:n,boundary:a,rootBoundary:s,padding:l})[q(n)],t},{})).sort(function(t,r){return w[t]-w[r]})):n)},[]),_=r.rects.reference,S=r.rects.popper,E=new Map,A=!0,x=w[0],k=0;k<w.length;k++){var O=w[k],P=q(O),C=V(O)===D,F=["top",T].indexOf(P)>=0,L=F?"width":"height",U=ea(r,{placement:O,boundary:d,rootBoundary:h,altBoundary:f,padding:c}),B=F?C?M:R:C?T:"top";_[L]>S[L]&&(B=X(B));var z=X(B),H=[];if(a&&H.push(U[P]<=0),l&&H.push(U[B]<=0,U[z]<=0),H.every(function(t){return t})){x=O,A=!1;break}E.set(O,H)}if(A)for(var G=m?3:1,W=function(t){var r=w.find(function(r){var n=E.get(r);if(n)return n.slice(0,t).every(function(t){return t})});if(r)return x=r,"break"},K=G;K>0&&"break"!==W(K);K--);r.placement!==x&&(r.modifiersData[i]._skip=!0,r.placement=x,r.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var r=t.state,n=t.options,i=t.name,o=n.mainAxis,a=n.altAxis,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,c=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,g=void 0===m?0:m,y=ea(r,{boundary:s,rootBoundary:l,padding:c,altBoundary:u}),v=q(r.placement),b=V(r.placement),w=!b,_=G(v),S="x"===_?"y":"x",E=r.modifiersData.popperOffsets,A=r.rects.reference,k=r.rects.popper,O="function"==typeof g?g(Object.assign({},r.rects,{placement:r.placement})):g,P="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),I=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,N={x:0,y:0};if(E){if(void 0===o||o){var F,L="y"===_?"top":R,$="y"===_?T:M,j="y"===_?"height":"width",U=E[_],B=U+y[L],z=U-y[$],H=h?-k[j]/2:0,W=b===D?A[j]:k[j],K=b===D?-k[j]:-A[j],Y=r.elements.arrow,Z=h&&Y?x(Y):{width:0,height:0},X=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:en(),J=X[L],Q=X[$],ee=es(0,A[j],Z[j]),et=w?A[j]/2-H-ee-J-P.mainAxis:W-ee-J-P.mainAxis,er=w?-A[j]/2+H+ee+Q+P.mainAxis:K+ee+Q+P.mainAxis,ei=r.elements.arrow&&C(r.elements.arrow),eo=ei?"y"===_?ei.clientTop||0:ei.clientLeft||0:0,el=null!=(F=null==I?void 0:I[_])?F:0,eu=es(h?p(B,U+et-el-eo):B,U,h?f(z,U+er
4-el):z);E[_]=eu,N[_]=eu-U}if(void 0!==a&&a){var ec,ed,eh="x"===_?"top":R,ef="x"===_?T:M,ep=E[S],em="y"===S?"height":"width",eg=ep+y[eh],ey=ep-y[ef],ev=-1!==["top",R].indexOf(v),eb=null!=(ed=null==I?void 0:I[S])?ed:0,ew=ev?eg:ep-A[em]-k[em]-eb+P.altAxis,e_=ev?ep+A[em]+k[em]-eb-P.altAxis:ey,eS=h&&ev?(ec=es(ew,ep,e_))>e_?e_:ec:es(h?ew:eg,ep,h?e_:ey);E[S]=eS,N[S]=eS-ep}r.modifiersData[i]=N}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var r,n,i=t.state,o=t.name,a=t.options,s=i.elements.arrow,l=i.modifiersData.popperOffsets,u=q(i.placement),c=G(u),d=[R,M].indexOf(u)>=0?"height":"width";if(s&&l){var h=ei("number"!=typeof(r="function"==typeof(r=a.padding)?r(Object.assign({},i.rects,{placement:i.placement})):r)?r:eo(r,N)),f=x(s),p="y"===c?"top":R,m="y"===c?T:M,g=i.rects.reference[d]+i.rects.reference[c]-l[c]-i.rects.popper[d],y=l[c]-i.rects.reference[c],v=C(s),b=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,w=h[p],_=b-f[d]-h[m],S=b/2-f[d]/2+(g/2-y/2),E=es(w,S,_);i.modifiersData[o]=((n={})[c]=E,n.centerOffset=E-S,n)}},effect:function(t){var r=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=r.elements.popper.querySelector(i)))&&ee(r.elements.popper,i)&&(r.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var r=t.state,n=t.name,i=r.rects.reference,o=r.rects.popper,a=r.modifiersData.preventOverflow,s=ea(r,{elementContext:"reference"}),l=ea(r,{altBoundary:!0}),u=el(s,i),c=el(l,o,a),d=eu(u),h=eu(c);r.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}}]}).defaultModifiers)?[]:u,h=void 0===(d=l.defaultOptions)?B:d,function(t,r,n){void 0===n&&(n=h);var s,l,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,h),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(n){var i,a,s,l,f,m="function"==typeof n?n(u.options):n;g(),u.options=Object.assign({},h,u.options,m),u.scrollParents={reference:o(t)?O(t):t.contextElement?O(t.contextElement):[],popper:O(r)};var y=(a=Object.keys(i=[].concat(c,u.options.modifiers).reduce(function(t,r){var n=t[r.name];return t[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,t},{})).map(function(t){return i[t]}),s=new Map,l=new Set,f=[],a.forEach(function(t){s.set(t.name,t)}),a.forEach(function(t){l.has(t.name)||function t(r){l.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(r){if(!l.has(r)){var n=s.get(r);n&&t(n)}}),f.push(r)}(t)}),U.reduce(function(t,r){return t.concat(f.filter(function(t){return t.phase===r}))},[]));return u.orderedModifiers=y.filter(function(t){return t.enabled}),u.orderedModifiers.forEach(function(t){var r=t.name,n=t.options,i=t.effect;if("function"==typeof i){var o=i({state:u,name:r,instance:p,options:void 0===n?{}:n});d.push(o||function(){})}}),p.update()},forceUpdate:function(){if(!f){var t,r,n,o,s,l,c,d,h,g,y,E,k=u.elements,O=k.reference,P=k.popper;if(z(O,P)){u.rects={reference:(r=C(P),n="fixed"===u.options.strategy,o=a(r),d=a(r)&&(l=m((s=r.getBoundingClientRect()).width)/r.offsetWidth||1,c=m(s.height)/r.offsetHeight||1,1!==l||1!==c),h=_(r),g=v(O,d,n),y={scrollLeft:0,scrollTop:0},E={x:0,y:0},(o||!o&&!n)&&(("body"!==w(r)||A(h))&&(y=(t=r)!==i(t)&&a(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:b(t)),a(r)?(E=v(r,!0),E.x+=r.clientLeft,E.y+=r.clientTop):h&&(E.x=S(h))),{x:g.left+y.scrollLeft-E.x,y:g.top+y.scrollTop-E.y,width:g.width,height:g.height}),popper:x(P)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(t){return u.modifiersData[t.name]=Object.assign({},t.data)});for(var T=0;T<u.orderedModifiers.length;T++){if(!0===u.reset){u.reset=!1,T=-1;continue}var M=u.orderedModifiers[T],R=M.fn,I=M.options,N=void 0===I?{}:I,D=M.name;"function"==typeof R&&(u=R({state:u,options:N,name:D,instance:p})||u)}}}},update:(s=function(){return new Promise(function(t){p.forceUpdate(),t(u)})},function(){return l||(l=new Promise(function(t){Promise.resolve().then(function(){l=void 0,t(s())})})),l}),destroy:function(){g(),f=!0}};if(!z(t,r))return p;function g(){d.forEach(function(t){return t()}),d=[]}return p.setOptions(n).then(function(t){!f&&n.onFirstUpdate&&n.onFirstUpdate(t)}),p})},18229:function(t,r,n){"use strict";n.d(r,{Nq:function(){return s},rg:function(){return a}});var i=n(2265);let o=(0,i.createContext)(null);function a(t){let{clientId:r,nonce:n,onScriptLoadSuccess:a,onScriptLoadError:s,children:l}=t,u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:r,onScriptLoadSuccess:n,onScriptLoadError:o}=t,[a,s]=(0,i.useState)(!1),l=(0,i.useRef)(n);l.current=n;let u=(0,i.useRef)(o);return u.current=o,(0,i.useEffect)(()=>{let t=document.createElement("script");return t.src="https://accounts.google.com/gsi/client",t.async=!0,t.defer=!0,t.nonce=r,t.onload=()=>{var t;s(!0),null===(t=l.current)||void 0===t||t.call(l)},t.onerror=()=>{var t;s(!1),null===(t=u.current)||void 0===t||t.call(u)},document.body.appendChild(t),()=>{document.body.removeChild(t)}},[r]),a}({nonce:n,onScriptLoadSuccess:a,onScriptLoadError:s}),c=(0,i.useMemo)(()=>({clientId:r,scriptLoadedSuccessfully:u}),[r,u]);return i.createElement(o.Provider,{value:c},l)}function s(t){let{flow:r="implicit",scope:n="",onSuccess:a,onError:s,onNonOAuthError:l,overrideScope:u,state:c,...d}=t,{clientId:h,scriptLoadedSuccessfully:f}=function(){let t=(0,i.useContext)(o);if(!t)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return t}(),p=(0,i.useRef)(),m=(0,i.useRef)(a);m.current=a;let g=(0,i.useRef)(s);g.current=s;let y=(0,i.useRef)(l);y.current=l,(0,i.useEffect)(()=>{var t,i;if(!f)return;let o="implicit"===r?"initTokenClient":"initCodeClient",a=null===(i=null===(t=null==window?void 0:window.google)||void 0===t?void 0:t.accounts)||void 0===i?void 0:i.oauth2[o]({client_id:h,scope:u?n:"openid profile email ".concat(n),callback:t=>{var r,n;if(t.error)return null===(r=g.current)||void 0===r?void 0:r.call(g,t);null===(n=m.current)||void 0===n||n.call(m,t)},error_callback:t=>{var r;null===(r=y.current)||void 0===r||r.call(y,t)},state:c,...d});p.current=a},[h,f,r,n,c]);let v=(0,i.useCallback)(t=>{var r;return null===(r=p.current)||void 0===r?void 0:r.requestAccessToken(t)},[]),b=(0,i.useCallback)(()=>{var t;return null===(t=p.current)||void 0===t?void 0:t.requestCode()},[]);return"implicit"===r?v:b}},85110:function(t){"use strict";
vendor: 5,788 bytes, line 4
4t.exports=function(t){if("number"!=typeof t||Number.isNaN(t))throw TypeError(`Expected a number, got ${typeof t}`);let r=Math.abs(t);if(t<0&&(r=-r),0===r)return"0 B";let n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.min(Math.floor(Math.log(r)/Math.log(1024)),n.length-1),o=Number(r/1024**i),a=n[i];return`${o>=10||o%1==0?Math.round(o):o.toFixed(1)} ${a}`}},60134:function(t){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function i(){}function o(t,r,n){this.fn=t,this.context=r,this.once=n||!1}function a(t,r,i,a,s){if("function"!=typeof i)throw TypeError("The listener must be a function");var l=new o(i,a||t,s),u=n?n+r:r;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],l]:t._events[u].push(l):(t._events[u]=l,t._eventsCount++),t}function s(t,r){0==--t._eventsCount?t._events=new i:delete t._events[r]}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,i,o=[];if(0===this._eventsCount)return o;for(i in t=this._events)r.call(t,i)&&o.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},l.prototype.listeners=function(t){var r=n?n+t:t,i=this._events[r];if(!i)return[];if(i.fn)return[i.fn];for(var o=0,a=i.length,s=Array(a);o<a;o++)s[o]=i[o].fn;return s},l.prototype.listenerCount=function(t){var r=n?n+t:t,i=this._events[r];return i?i.fn?1:i.length:0},l.prototype.emit=function(t,r,i,o,a,s){var l=n?n+t:t;if(!this._events[l])return!1;var u,c,d=this._events[l],h=arguments.length;if(d.fn){switch(d.once&&this.removeListener(t,d.fn,void 0,!0),h){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,r),!0;case 3:return d.fn.call(d.context,r,i),!0;case 4:return d.fn.call(d.context,r,i,o),!0;case 5:return d.fn.call(d.context,r,i,o,a),!0;case 6:return d.fn.call(d.context,r,i,o,a,s),!0}for(c=1,u=Array(h-1);c<h;c++)u[c-1]=arguments[c];d.fn.apply(d.context,u)}else{var f,p=d.length;for(c=0;c<p;c++)switch(d[c].once&&this.removeListener(t,d[c].fn,void 0,!0),h){case 1:d[c].fn.call(d[c].context);break;case 2:d[c].fn.call(d[c].context,r);break;case 3:d[c].fn.call(d[c].context,r,i);break;case 4:d[c].fn.call(d[c].context,r,i,o);break;default:if(!u)for(f=1,u=Array(h-1);f<h;f++)u[f-1]=arguments[f];d[c].fn.apply(d[c].context,u)}}return!0},l.prototype.on=function(t,r,n){return a(this,t,r,n,!1)},l.prototype.once=function(t,r,n){return a(this,t,r,n,!0)},l.prototype.removeListener=function(t,r,i,o){var a=n?n+t:t;if(!this._events[a])return this;if(!r)return s(this,a),this;var l=this._events[a];if(l.fn)l.fn!==r||o&&!l.once||i&&l.context!==i||s(this,a);else{for(var u=0,c=[],d=l.length;u<d;u++)(l[u].fn!==r||o&&!l[u].once||i&&l[u].context!==i)&&c.push(l[u]);c.length?this._events[a]=1===c.length?c[0]:c:s(this,a)}return this},l.prototype.removeAllListeners=function(t){var r;return t?(r=n?n+t:t,this._events[r]&&s(this,r)):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,t.exports=l},18282:function(t){"use strict";t.exports=function(t){if(t.length>=255)throw TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var i=0;i<t.length;i++){var o=t.charAt(i),a=o.charCodeAt(0);if(255!==r[a])throw TypeError(o+" is ambiguous");r[a]=i}var s=t.length,l=t.charAt(0),u=Math.log(s)/Math.log(256),c=Math.log(256)/Math.log(s);function d(t){if("string"!=typeof t)throw TypeError("Expected String");if(0===t.length)return new Uint8Array;for(var n=0,i=0,o=0;t[n]===l;)i++,n++;for(var a=(t.length-n)*u+1>>>0,c=new Uint8Array(a);t[n];){var d=t.charCodeAt(n);if(d>255)return;var h=r[d];if(255===h)return;for(var f=0,p=a-1;(0!==h||f<o)&&-1!==p;p--,f++)h+=s*c[p]>>>0,c[p]=h%256>>>0,h=h/256>>>0;if(0!==h)throw Error("Non-zero carry");o=f,n++}for(var m=a-o;m!==a&&0===c[m];)m++;for(var g=new Uint8Array(i+(a-m)),y=i;m!==a;)g[y++]=c[m++];return g}return{encode:function(r){if(r instanceof Uint8Array||(ArrayBuffer.isView(r)?r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength):Array.isArray(r)&&(r=Uint8Array.from(r))),!(r instanceof Uint8Array))throw TypeError("Expected Uint8Array");if(0===r.length)return"";for(var n=0,i=0,o=0,a=r.length;o!==a&&0===r[o];)o++,n++;for(var u=(a-o)*c+1>>>0,d=new Uint8Array(u);o!==a;){for(var h=r[o],f=0,p=u-1;(0!==h||f<i)&&-1!==p;p--,f++)h+=256*d[p]>>>0,d[p]=h%s>>>0,h=h/s>>>0;if(0!==h)throw Error("Non-zero carry");i=f,o++}for(var m=u-i;m!==u&&0===d[m];)m++;for(var g=l.repeat(n);m<u;++m)g+=t.charAt(d[m]);return g},decodeUnsafe:d,decode:function(t){var r=d(t);if(r)return r;throw Error("Non-base"+s+" character")}}}},59196:function(t,r){"use strict";r.byteLength=function(t){var r=u(t),n=r[0],i=r[1];return(n+i)*3/4-i},r.toByteArray=function(t){var r,n,a=u(t),s=a[0],l=a[1],c=new o((s+l)*3/4-l),d=0,h=l>0?s-4:s;for(n=0;n<h;n+=4)r=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[d++]=r>>16&255,c[d++]=r>>8&255,c[d++]=255&r;return 2===l&&(r=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[d++]=255&r),1===l&&(r=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[d++]=r>>8&255,c[d++]=255&r),c},r.fromByteArray=function(t){for(var r,i=t.length,o=i%3,a=[],s=0,l=i-o;s<l;s+=16383)a.push(function(t,r,i){for(var o,a=[],s=r;s<i;s+=3)a.push(n[(o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}(t,s,s+16383>l?l:s+16383));return 1===o?a.push(n[(r=t[i-1])>>2]+n[r<<4&63]+"=="):2===o&&a.push(n[(r=(t[i-2]<<8)+t[i-1])>>10]+n[r>>4&63]+n[r<<2&63]+"="),a.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
4+/",s=0,l=a.length;s<l;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=r);var i=n===r?0:4-n%4;return[n,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},62113:function(t){"use strict";for(var r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n={},i=0;i<r.length;i++){var o=r.charAt(i);if(void 0!==n[o])throw TypeError(o+" is ambiguous");n[o]=i}function a(t){var r=t>>25;return(33554431&t)<<5^996825010&-(r>>0&1)^642813549&-(r>>1&1)^513874426&-(r>>2&1)^1027748829&-(r>>3&1)^705979059&-(r>>4&1)}function s(t){for(var r=1,n=0;n<t.length;++n){var i=t.charCodeAt(n);if(i<33||i>126)return"Invalid prefix ("+t+")";r=a(r)^i>>5}for(n=0,r=a(r);n<t.length;++n){var o=t.charCodeAt(n);r=a(r)^31&o}return r}function l(t,r){if(r=r||90,t.length<8)return t+" too short";if(t.length>r)return"Exceeds length limit";var i=t.toLowerCase(),o=t.toUpperCase();if(t!==i&&t!==o)return"Mixed-case string "+t;var l=(t=i).lastIndexOf("1");if(-1===l)return"No separator character for "+t;if(0===l)return"Missing prefix for "+t;var u=t.slice(0,l),c=t.slice(l+1);if(c.length<6)return"Data too short";var d=s(u);if("string"==typeof d)return d;for(var h=[],f=0;f<c.length;++f){var p=c.charAt(f),m=n[p];if(void 0===m)return"Unknown character "+p;d=a(d)^m,f+6>=c.length||h.push(m)}return 1!==d?"Invalid checksum for "+t:{prefix:u,words:h}}function u(t,r,n,i){for(var o=0,a=0,s=(1<<n)-1,l=[],u=0;u<t.length;++u)for(o=o<<r|t[u],a+=r;a>=n;)l.push(o>>(a-=n)&s);if(i)a>0&&l.push(o<<n-a&s);else{if(a>=r)return"Excess padding";if(o<<n-a&s)return"Non-zero padding"}return l}t.exports={decodeUnsafe:function(){var t=l.apply(null,arguments);if("object"==typeof t)return t},decode:function(t){var r=l.apply(null,arguments);if("object"==typeof r)return r;throw Error(r)},encode:function(t,n,i){if(i=i||90,t.length+7+n.length>i)throw TypeError("Exceeds length limit");var o=s(t=t.toLowerCase());if("string"==typeof o)throw Error(o);for(var l=t+"1",u=0;u<n.length;++u){var c=n[u];if(c>>5!=0)throw Error("Non 5-bit word");o=a(o)^c,l+=r.charAt(c)}for(u=0;u<6;++u)o=a(o);for(o^=1,u=0;u<6;++u){var d=o>>(5-u)*5&31;l+=r.charAt(d)}return l},toWordsUnsafe:function(t){var r=u(t,8,5,!0);if(Array.isArray(r))return r},toWords:function(t){var r=u(t,8,5,!0);if(Array.isArray(r))return r;throw Error(r)},fromWordsUnsafe:function(t){var r=u(t,5,8,!1);if(Array.isArray(r))return r},fromWords:function(t){var r=u(t,5,8,!1);if(Array.isArray(r))return r;throw Error(r)}}},44373:function(t,r,n){!function(t,r){"use strict";function i(t,r){if(!t)throw Error(r||"Assertion failed")}function o(t,r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}function a(t,r,n){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(("le"===r||"be"===r)&&(n=r,r=10),this._init(t||0,r||10,n||"be"))}"object"==typeof t?t.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{h="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(46601).Buffer}catch(t){}function s(t,r){var n=t.charCodeAt(r);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void i(!1,"Invalid character in "+t)}function l(t,r,n){var i=s(t,n);return n-1>=r&&(i|=s(t,n-1)<<4),i}function u(t,r,n,o){for(var a=0,s=0,l=Math.min(t.length,n),u=r;u<l;u++){var c=t.charCodeAt(u)-48;a*=o,s=c>=49?c-49+10:c>=17?c-17+10:c,i(c>=0&&s<o,"Invalid character"),a+=s}return a}function c(t,r){t.words=r.words,t.length=r.length,t.negative=r.negative,t.red=r.red}if(a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,r){return t.cmp(r)>0?t:r},a.min=function(t,r){return 0>t.cmp(r)?t:r},a.prototype._init=function(t,r,n){if("number"==typeof t)return this._initNumber(t,r,n);if("object"==typeof t)return this._initArray(t,r,n);"hex"===r&&(r=16),i(r===(0|r)&&r>=2&&r<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(o++,this.negative=1),o<t.length&&(16===r?this._parseHex(t,o,n):(this._parseBase(t,r,o),"le"===n&&this._initArray(this.toArray(),r,n
vendor: 8,226 bytes, line 4
4)))},a.prototype._initNumber=function(t,r,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),r,n)},a.prototype._initArray=function(t,r,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var o,a,s=0;s<this.length;s++)this.words[s]=0;var l=0;if("be"===n)for(s=t.length-1,o=0;s>=0;s-=3)a=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[o]|=a<<l&67108863,this.words[o+1]=a>>>26-l&67108863,(l+=24)>=26&&(l-=26,o++);else if("le"===n)for(s=0,o=0;s<t.length;s+=3)a=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[o]|=a<<l&67108863,this.words[o+1]=a>>>26-l&67108863,(l+=24)>=26&&(l-=26,o++);return this._strip()},a.prototype._parseHex=function(t,r,n){this.length=Math.ceil((t.length-r)/6),this.words=Array(this.length);for(var i,o=0;o<this.length;o++)this.words[o]=0;var a=0,s=0;if("be"===n)for(o=t.length-1;o>=r;o-=2)i=l(t,r,o)<<a,this.words[s]|=67108863&i,a>=18?(a-=18,s+=1,this.words[s]|=i>>>26):a+=8;else for(o=(t.length-r)%2==0?r+1:r;o<t.length;o+=2)i=l(t,r,o)<<a,this.words[s]|=67108863&i,a>=18?(a-=18,s+=1,this.words[s]|=i>>>26):a+=8;this._strip()},a.prototype._parseBase=function(t,r,n){this.words=[0],this.length=1;for(var i=0,o=1;o<=67108863;o*=r)i++;i--,o=o/r|0;for(var a=t.length-n,s=a%i,l=Math.min(a,a-s)+n,c=0,d=n;d<l;d+=i)c=u(t,d,d+i,r),this.imuln(o),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var h=1;for(c=u(t,d,t.length,r),d=0;d<s;d++)h*=r;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},a.prototype.copy=function(t){t.words=Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){c(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(t){a.prototype.inspect=d}else a.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h,f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],m=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function g(t,r,n){n.negative=r.negative^t.negative;var i=t.length+r.length|0;n.length=i,i=i-1|0;var o=0|t.words[0],a=0|r.words[0],s=o*a,l=67108863&s,u=s/67108864|0;n.words[0]=l;for(var c=1;c<i;c++){for(var d=u>>>26,h=67108863&u,f=Math.min(c,r.length-1),p=Math.max(0,c-t.length+1);p<=f;p++){var m=c-p|0;d+=(s=(o=0|t.words[m])*(a=0|r.words[p])+h)/67108864|0,h=67108863&s}n.words[c]=0|h,u=0|d}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}a.prototype.toString=function(t,r){if(r=0|r||1,16===(t=t||10)||"hex"===t){n="";for(var n,o=0,a=0,s=0;s<this.length;s++){var l=this.words[s],u=((l<<o|a)&16777215).toString(16);a=l>>>24-o&16777215,(o+=2)>=26&&(o-=26,s--),n=0!==a||s!==this.length-1?f[6-u.length]+u+n:u+n}for(0!==a&&(n=a.toString(16)+n);n.length%r!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=p[t],d=m[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var g=h.modrn(d).toString(t);n=(h=h.idivn(d)).isZero()?g+n:f[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%r!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},h&&(a.prototype.toBuffer=function(t,r){return this.toArrayLike(h,t,r)}),a.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},a.prototype.toArrayLike=function(t,r,n){this._strip();var o=this.byteLength(),a=n||Math.max(1,o);i(o<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0");var s=t.allocUnsafe?t.allocUnsafe(a):new t(a);return this["_toArrayLike"+("le"===r?"LE":"BE")](s,o),s},a.prototype._toArrayLikeLE=function(t,r){for(var n=0,i=0,o=0,a=0;o<this.length;o++){var s=this.words[o]<<a|i;t[n++]=255&s,n<t.length&&(t[n++]=s>>8&255),n<t.length&&(t[n++]=s>>16&255),6===a?(n<t.length&&(t[n++]=s>>24&255),i=0,a=0):(i=s>>>24,a+=2)}if(n<t.length)for(t[n++]=i;n<t.length;)t[n++]=0},a.prototype._toArrayLikeBE=function(t,r){for(var n=t.length-1,i=0,o=0,a=0;o<this.length;o++){var s=this.words[o]<<a|i;t[n--]=255&s,n>=0&&(t[n--]=s>>8&255),n>=0&&(t[n--]=s>>16&255),6===a?(n>=0&&(t[n--]=s>>24&255),i=0,a=0):(i=s>>>24,a+=2)}if(n>=0)for(t[n--]=i;n>=0;)t[n--]=0},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var r=t,n=0;return r>=4096&&(n+=13,r>>>=13),r>=64&&(n+=7,r>>>=7),r>=8&&(n+=4,r>>>=4),r>=2&&(n+=2,r>>>=2),n+r},a.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,n=0;return(8191&r)==0&&(n+=13,r>>>=13),(127&r)==0&&(n+=7,r>>>=7),(15&r)==0&&(n+=4,r>>>=4),(3&r)==0&&(n+=2,r>>>=2),(1&r)==0&&n++,n},a.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return(this.length-1)*26+r},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var n=this._zeroBits(this.words[r]);if(t+=n,26!==n)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this._strip()},a.prototype.ior=function(t){return i((this.negative|t.negative)==0),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var n=0;n<r.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=r.length,this._strip()},a.prototype.iand=function(t){return i((this.negative|t.negative)==0),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){this.length>t.length?(r=this,n=t):(r=t,n=this);for(var r,n,i=0;i<n.length;i++)this.words[i]=r.words[i]^n.words[i];if(this!==r)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=r.length,this._strip()},a.prototype.ixor=function(t){return i((this.negative|t.negative)==0),this.iuxor(t)}
vendor: 8,280 bytes, line 4
4,a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),n=t%26;this._expand(r),n>0&&r--;for(var o=0;o<r;o++)this.words[o]=67108863&~this.words[o];return n>0&&(this.words[o]=~this.words[o]&67108863>>26-n),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,r){i("number"==typeof t&&t>=0);var n=t/26|0,o=t%26;return this._expand(n+1),r?this.words[n]=this.words[n]|1<<o:this.words[n]=this.words[n]&~(1<<o),this._strip()},a.prototype.iadd=function(t){if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r,n,i,o=0,a=0;a<i.length;a++)r=(0|n.words[a])+(0|i.words[a])+o,this.words[a]=67108863&r,o=r>>>26;for(;0!==o&&a<n.length;a++)r=(0|n.words[a])+o,this.words[a]=67108863&r,o=r>>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r,n,i=this.iadd(t);return t.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o=this.cmp(t);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=t):(r=t,n=this);for(var a=0,s=0;s<n.length;s++)a=(i=(0|r.words[s])-(0|n.words[s])+a)>>26,this.words[s]=67108863&i;for(;0!==a&&s<r.length;s++)a=(i=(0|r.words[s])+a)>>26,this.words[s]=67108863&i;if(0===a&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var y=function(t,r,n){var i,o,a,s=t.words,l=r.words,u=n.words,c=0,d=0|s[0],h=8191&d,f=d>>>13,p=0|s[1],m=8191&p,g=p>>>13,y=0|s[2],v=8191&y,b=y>>>13,w=0|s[3],_=8191&w,S=w>>>13,E=0|s[4],A=8191&E,x=E>>>13,k=0|s[5],O=8191&k,P=k>>>13,C=0|s[6],T=8191&C,M=C>>>13,R=0|s[7],I=8191&R,N=R>>>13,D=0|s[8],F=8191&D,L=D>>>13,$=0|s[9],j=8191&$,U=$>>>13,B=0|l[0],z=8191&B,H=B>>>13,q=0|l[1],V=8191&q,G=q>>>13,W=0|l[2],K=8191&W,Y=W>>>13,Z=0|l[3],X=8191&Z,J=Z>>>13,Q=0|l[4],ee=8191&Q,et=Q>>>13,er=0|l[5],en=8191&er,ei=er>>>13,eo=0|l[6],ea=8191&eo,es=eo>>>13,el=0|l[7],eu=8191&el,ec=el>>>13,ed=0|l[8],eh=8191&ed,ef=ed>>>13,ep=0|l[9],em=8191&ep,eg=ep>>>13;n.negative=t.negative^r.negative,n.length=19;var ey=(c+(i=Math.imul(h,z))|0)+((8191&(o=(o=Math.imul(h,H))+Math.imul(f,z)|0))<<13)|0;c=((a=Math.imul(f,H))+(o>>>13)|0)+(ey>>>26)|0,ey&=67108863,i=Math.imul(m,z),o=(o=Math.imul(m,H))+Math.imul(g,z)|0,a=Math.imul(g,H);var ev=(c+(i=i+Math.imul(h,V)|0)|0)+((8191&(o=(o=o+Math.imul(h,G)|0)+Math.imul(f,V)|0))<<13)|0;c=((a=a+Math.imul(f,G)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=67108863,i=Math.imul(v,z),o=(o=Math.imul(v,H))+Math.imul(b,z)|0,a=Math.imul(b,H),i=i+Math.imul(m,V)|0,o=(o=o+Math.imul(m,G)|0)+Math.imul(g,V)|0,a=a+Math.imul(g,G)|0;var eb=(c+(i=i+Math.imul(h,K)|0)|0)+((8191&(o=(o=o+Math.imul(h,Y)|0)+Math.imul(f,K)|0))<<13)|0;c=((a=a+Math.imul(f,Y)|0)+(o>>>13)|0)+(eb>>>26)|0,eb&=67108863,i=Math.imul(_,z),o=(o=Math.imul(_,H))+Math.imul(S,z)|0,a=Math.imul(S,H),i=i+Math.imul(v,V)|0,o=(o=o+Math.imul(v,G)|0)+Math.imul(b,V)|0,a=a+Math.imul(b,G)|0,i=i+Math.imul(m,K)|0,o=(o=o+Math.imul(m,Y)|0)+Math.imul(g,K)|0,a=a+Math.imul(g,Y)|0;var ew=(c+(i=i+Math.imul(h,X)|0)|0)+((8191&(o=(o=o+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;c=((a=a+Math.imul(f,J)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=67108863,i=Math.imul(A,z),o=(o=Math.imul(A,H))+Math.imul(x,z)|0,a=Math.imul(x,H),i=i+Math.imul(_,V)|0,o=(o=o+Math.imul(_,G)|0)+Math.imul(S,V)|0,a=a+Math.imul(S,G)|0,i=i+Math.imul(v,K)|0,o=(o=o+Math.imul(v,Y)|0)+Math.imul(b,K)|0,a=a+Math.imul(b,Y)|0,i=i+Math.imul(m,X)|0,o=(o=o+Math.imul(m,J)|0)+Math.imul(g,X)|0,a=a+Math.imul(g,J)|0;var e_=(c+(i=i+Math.imul(h,ee)|0)|0)+((8191&(o=(o=o+Math.imul(h,et)|0)+Math.imul(f,ee)|0))<<13)|0;c=((a=a+Math.imul(f,et)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=67108863,i=Math.imul(O,z),o=(o=Math.imul(O,H))+Math.imul(P,z)|0,a=Math.imul(P,H),i=i+Math.imul(A,V)|0,o=(o=o+Math.imul(A,G)|0)+Math.imul(x,V)|0,a=a+Math.imul(x,G)|0,i=i+Math.imul(_,K)|0,o=(o=o+Math.imul(_,Y)|0)+Math.imul(S,K)|0,a=a+Math.imul(S,Y)|0,i=i+Math.imul(v,X)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(b,X)|0,a=a+Math.imul(b,J)|0,i=i+Math.imul(m,ee)|0,o=(o=o+Math.imul(m,et)|0)+Math.imul(g,ee)|0,a=a+Math.imul(g,et)|0;var eS=(c+(i=i+Math.imul(h,en)|0)|0)+((8191&(o=(o=o+Math.imul(h,ei)|0)+Math.imul(f,en)|0))<<13)|0;c=((a=a+Math.imul(f,ei)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=67108863,i=Math.imul(T,z),o=(o=Math.imul(T,H))+Math.imul(M,z)|0,a=Math.imul(M,H),i=i+Math.imul(O,V)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(P,V)|0,a=a+Math.imul(P,G)|0,i=i+Math.imul(A,K)|0,o=(o=o+Math.imul(A,Y)|0)+Math.imul(x,K)|0,a=a+Math.imul(x,Y)|0,i=i+Math.imul(_,X)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(S,X)|0,a=a+Math.imul(S,J)|0,i=i+Math.imul(v,ee)|0,o=(o=o+Math.imul(v,et)|0)+Math.imul(b,ee)|0,a=a+Math.imul(b,et)|0,i=i+Math.imul(m,en)|0,o=(o=o+Math.imul(m,ei)|0)+Math.imul(g,en)|0,a=a+Math.imul(g,ei)|0;var eE=(c+(i=i+Math.imul(h,ea)|0)|0)+((8191&(o=(o=o+Math.imul(h,es)|0)+Math.imul(f,ea)|0))<<13)|0;c=((a=a+Math.imul(f,es)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=67108863,i=Math.imul(I,z),o=(o=Math.imul(I,H))+Math.imul(N,z)|0,a=Math.imul(N,H),i=i+Math.imul(T,V)|0,o=(o=o+Math.imul(T,G)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,G)|0,i=i+Math.imul(O,K)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(P,K)|0,a=a+Math.imul(P,Y)|0,i=i+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(x,X)|0,a=a+Math.imul(x,J)|0,i=i+Math.imul(_,ee)|0,o=(o=o+Math.imul(_,et)|0)+Math.imul(S,ee)|0,a=a+Math.imul(S,et)|0,i=i+Math.imul(v,en)|0,o=(o=o+Math.imul(v,ei)|0)+Math.imul(b,en)|0,a=a+Math.imul(b,ei)|0,i=i+Math.imul(m,ea)|0,o=(o=o+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0;var eA=(c+(i=i+Math.imul(h,eu)|0)|0)+((8191&(o=(o=o+Math.imul(h,ec)|0)+Math.imul(f,eu)|0))<<13)|0;c=((a=a+Math.imul(f,ec)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=67108863,i=Math.imul(F,z),o=(o=Math.imul(F,H))+Math.imul(L,z)|0,a=Math.imul(L,H),i=i+Math.imul(I,V)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,G)|0,i=i+Math.imul(T,K)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(M,K)|0,a=a+Math.imul(M,Y)|0,i=i+Math.imul(O,X)|0,o=(o=o+Math.imul(O,J)|0)+Math.imul(P,X)|0,a=a+Math.imul(P,J)|0,i=i+Math.imul(A,ee)|0,o=(o=o+Math.imul(A,et)|0)+Math.imul(x,ee)|0,a=a+Math.imul(x,et)|0,i=i+Math.imul(_,en)|0,o=(o=o+Math.imul(_,ei)|0)+Math.imul(S,en)|0,a=a+Math.imul(S,ei)|0,i=i+Math.imul(v,ea)|0,o=(o=o+Math.imul(v,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,i=i+Math.imul(m,eu)|0,o=(o=o+Math.imul(m,ec)|0)+Math.imul(g,eu)|0,a=a+Math.imul(g,ec)|0;var ex=(c+(i=i+Math.imul(h,eh)|0)|0)+((8191&(o=(o=o+Math.imul(h,ef)|0)+Math.imul(f,eh)|0))<<13)|0;c=((a=a+Math.imul(f,ef)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=67108863,i=Math.imul(j,z),o=(o=Math.imul(j,H))+Math.imul(U,z)|0,a=Math.imul(U,H),i=i+Math.imul(F,V)|0,o=(o=o+Math.imul(F,G)|0)+Math.imul(L,V)|0,a=a+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(N,K)|0,a=a+Math.imul(N,Y)|0,i=i+Math.imul(T,X)|0,o=(o=o+Math.imul(T,J)|0)+Math.imul(M,X)|0,a=a+Math.imul(M,J)|0,i=i+Math.imul(O,ee)|0,o=(o=o+Math.imul(O,et)|0)+Math.imul(P,ee)|0,a=a+Math.imul(P,et)|0,i=i+Math.imul(A,en)|0,o=(o=o+Math.imul(A,ei)|0)+Math.imul(x,en)|0,a=a+Math.imul(x,ei)|0,i=i+Math.imul(_,ea)|0,o=(o=o+Math.imul(_,es)|0)+Math.imul(S,ea)|0,a=a+Math.imul(S,es)|0,i=i+Math.imul(v,eu)|0,o=(o=o+Math.imul(v,ec)|0)+Math.imul(b,eu)|0,a=a+Math.imul(b,ec)|0,i=i+Math.imul(m,eh)|0,o=(o=o+Math.imul(m,ef)|0)+Math.imul(g,eh)|0,a=a+Math.imul(g,ef)|0;var ek=(c+(i=i+Math.imul(h,em)|0)|0)+((8191&(o=(o=o+Math.imul(h,eg)|0)+Math.imul(f,em)|0))<<13)|0;c=((a=a+Math.imul(f,eg)|0)+(o>>>13)|0)+(ek>>>
vendor: 7,028 bytes, line 4
426)|0,ek&=67108863,i=Math.imul(j,V),o=(o=Math.imul(j,G))+Math.imul(U,V)|0,a=Math.imul(U,G),i=i+Math.imul(F,K)|0,o=(o=o+Math.imul(F,Y)|0)+Math.imul(L,K)|0,a=a+Math.imul(L,Y)|0,i=i+Math.imul(I,X)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,X)|0,a=a+Math.imul(N,J)|0,i=i+Math.imul(T,ee)|0,o=(o=o+Math.imul(T,et)|0)+Math.imul(M,ee)|0,a=a+Math.imul(M,et)|0,i=i+Math.imul(O,en)|0,o=(o=o+Math.imul(O,ei)|0)+Math.imul(P,en)|0,a=a+Math.imul(P,ei)|0,i=i+Math.imul(A,ea)|0,o=(o=o+Math.imul(A,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,i=i+Math.imul(_,eu)|0,o=(o=o+Math.imul(_,ec)|0)+Math.imul(S,eu)|0,a=a+Math.imul(S,ec)|0,i=i+Math.imul(v,eh)|0,o=(o=o+Math.imul(v,ef)|0)+Math.imul(b,eh)|0,a=a+Math.imul(b,ef)|0;var eO=(c+(i=i+Math.imul(m,em)|0)|0)+((8191&(o=(o=o+Math.imul(m,eg)|0)+Math.imul(g,em)|0))<<13)|0;c=((a=a+Math.imul(g,eg)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=67108863,i=Math.imul(j,K),o=(o=Math.imul(j,Y))+Math.imul(U,K)|0,a=Math.imul(U,Y),i=i+Math.imul(F,X)|0,o=(o=o+Math.imul(F,J)|0)+Math.imul(L,X)|0,a=a+Math.imul(L,J)|0,i=i+Math.imul(I,ee)|0,o=(o=o+Math.imul(I,et)|0)+Math.imul(N,ee)|0,a=a+Math.imul(N,et)|0,i=i+Math.imul(T,en)|0,o=(o=o+Math.imul(T,ei)|0)+Math.imul(M,en)|0,a=a+Math.imul(M,ei)|0,i=i+Math.imul(O,ea)|0,o=(o=o+Math.imul(O,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,i=i+Math.imul(A,eu)|0,o=(o=o+Math.imul(A,ec)|0)+Math.imul(x,eu)|0,a=a+Math.imul(x,ec)|0,i=i+Math.imul(_,eh)|0,o=(o=o+Math.imul(_,ef)|0)+Math.imul(S,eh)|0,a=a+Math.imul(S,ef)|0;var eP=(c+(i=i+Math.imul(v,em)|0)|0)+((8191&(o=(o=o+Math.imul(v,eg)|0)+Math.imul(b,em)|0))<<13)|0;c=((a=a+Math.imul(b,eg)|0)+(o>>>13)|0)+(eP>>>26)|0,eP&=67108863,i=Math.imul(j,X),o=(o=Math.imul(j,J))+Math.imul(U,X)|0,a=Math.imul(U,J),i=i+Math.imul(F,ee)|0,o=(o=o+Math.imul(F,et)|0)+Math.imul(L,ee)|0,a=a+Math.imul(L,et)|0,i=i+Math.imul(I,en)|0,o=(o=o+Math.imul(I,ei)|0)+Math.imul(N,en)|0,a=a+Math.imul(N,ei)|0,i=i+Math.imul(T,ea)|0,o=(o=o+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,i=i+Math.imul(O,eu)|0,o=(o=o+Math.imul(O,ec)|0)+Math.imul(P,eu)|0,a=a+Math.imul(P,ec)|0,i=i+Math.imul(A,eh)|0,o=(o=o+Math.imul(A,ef)|0)+Math.imul(x,eh)|0,a=a+Math.imul(x,ef)|0;var eC=(c+(i=i+Math.imul(_,em)|0)|0)+((8191&(o=(o=o+Math.imul(_,eg)|0)+Math.imul(S,em)|0))<<13)|0;c=((a=a+Math.imul(S,eg)|0)+(o>>>13)|0)+(eC>>>26)|0,eC&=67108863,i=Math.imul(j,ee),o=(o=Math.imul(j,et))+Math.imul(U,ee)|0,a=Math.imul(U,et),i=i+Math.imul(F,en)|0,o=(o=o+Math.imul(F,ei)|0)+Math.imul(L,en)|0,a=a+Math.imul(L,ei)|0,i=i+Math.imul(I,ea)|0,o=(o=o+Math.imul(I,es)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,es)|0,i=i+Math.imul(T,eu)|0,o=(o=o+Math.imul(T,ec)|0)+Math.imul(M,eu)|0,a=a+Math.imul(M,ec)|0,i=i+Math.imul(O,eh)|0,o=(o=o+Math.imul(O,ef)|0)+Math.imul(P,eh)|0,a=a+Math.imul(P,ef)|0;var eT=(c+(i=i+Math.imul(A,em)|0)|0)+((8191&(o=(o=o+Math.imul(A,eg)|0)+Math.imul(x,em)|0))<<13)|0;c=((a=a+Math.imul(x,eg)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=67108863,i=Math.imul(j,en),o=(o=Math.imul(j,ei))+Math.imul(U,en)|0,a=Math.imul(U,ei),i=i+Math.imul(F,ea)|0,o=(o=o+Math.imul(F,es)|0)+Math.imul(L,ea)|0,a=a+Math.imul(L,es)|0,i=i+Math.imul(I,eu)|0,o=(o=o+Math.imul(I,ec)|0)+Math.imul(N,eu)|0,a=a+Math.imul(N,ec)|0,i=i+Math.imul(T,eh)|0,o=(o=o+Math.imul(T,ef)|0)+Math.imul(M,eh)|0,a=a+Math.imul(M,ef)|0;var eM=(c+(i=i+Math.imul(O,em)|0)|0)+((8191&(o=(o=o+Math.imul(O,eg)|0)+Math.imul(P,em)|0))<<13)|0;c=((a=a+Math.imul(P,eg)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=67108863,i=Math.imul(j,ea),o=(o=Math.imul(j,es))+Math.imul(U,ea)|0,a=Math.imul(U,es),i=i+Math.imul(F,eu)|0,o=(o=o+Math.imul(F,ec)|0)+Math.imul(L,eu)|0,a=a+Math.imul(L,ec)|0,i=i+Math.imul(I,eh)|0,o=(o=o+Math.imul(I,ef)|0)+Math.imul(N,eh)|0,a=a+Math.imul(N,ef)|0;var eR=(c+(i=i+Math.imul(T,em)|0)|0)+((8191&(o=(o=o+Math.imul(T,eg)|0)+Math.imul(M,em)|0))<<13)|0;c=((a=a+Math.imul(M,eg)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=67108863,i=Math.imul(j,eu),o=(o=Math.imul(j,ec))+Math.imul(U,eu)|0,a=Math.imul(U,ec),i=i+Math.imul(F,eh)|0,o=(o=o+Math.imul(F,ef)|0)+Math.imul(L,eh)|0,a=a+Math.imul(L,ef)|0;var eI=(c+(i=i+Math.imul(I,em)|0)|0)+((8191&(o=(o=o+Math.imul(I,eg)|0)+Math.imul(N,em)|0))<<13)|0;c=((a=a+Math.imul(N,eg)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=67108863,i=Math.imul(j,eh),o=(o=Math.imul(j,ef))+Math.imul(U,eh)|0,a=Math.imul(U,ef);var eN=(c+(i=i+Math.imul(F,em)|0)|0)+((8191&(o=(o=o+Math.imul(F,eg)|0)+Math.imul(L,em)|0))<<13)|0;c=((a=a+Math.imul(L,eg)|0)+(o>>>13)|0)+(eN>>>26)|0,eN&=67108863;var eD=(c+(i=Math.imul(j,em))|0)+((8191&(o=(o=Math.imul(j,eg))+Math.imul(U,em)|0))<<13)|0;return c=((a=Math.imul(U,eg))+(o>>>13)|0)+(eD>>>26)|0,eD&=67108863,u[0]=ey,u[1]=ev,u[2]=eb,u[3]=ew,u[4]=e_,u[5]=eS,u[6]=eE,u[7]=eA,u[8]=ex,u[9]=ek,u[10]=eO,u[11]=eP,u[12]=eC,u[13]=eT,u[14]=eM,u[15]=eR,u[16]=eI,u[17]=eN,u[18]=eD,0!==c&&(u[19]=c,n.length++),n};function v(t,r,n){n.negative=r.negative^t.negative,n.length=t.length+r.length;for(var i=0,o=0,a=0;a<n.length-1;a++){var s=o;o=0;for(var l=67108863&i,u=Math.min(a,r.length-1),c=Math.max(0,a-t.length+1);c<=u;c++){var d=a-c,h=(0|t.words[d])*(0|r.words[c]),f=67108863&h;s=s+(h/67108864|0)|0,l=67108863&(f=f+l|0),o+=(s=s+(f>>>26)|0)>>>26,s&=67108863}n.words[a]=l,i=s,s=o}return 0!==i?n.words[a]=i:n.length--,n._strip()}function b(t,r){this.x=t,this.y=r}Math.imul||(y=g),a.prototype.mulTo=function(t,r){var n,i=this.length+t.length;return 10===this.length&&10===t.length?y(this,t,r):i<63?g(this,t,r):v(this,t,r)},b.prototype.makeRBT=function(t){for(var r=Array(t),n=a.prototype._countBits(t)-1,i=0;i<t;i++)r[i]=this.revBin(i,n,t);return r},b.prototype.revBin=function(t,r,n){if(0===t||t===n-1)return t;for(var i=0,o=0;o<r;o++)i|=(1&t)<<r-o-1,t>>=1;return i},b.prototype.permute=function(t,r,n,i,o,a){for(var s=0;s<a;s++)i[s]=r[t[s]],o[s]=n[t[s]]},b.prototype.transform=function(t,r,n,i,o,a){this.permute(a,t,r,n,i,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,u=Math.cos(2*Math.PI/l),c=Math.sin(2*Math.PI/l),d=0;d<o;d+=l)for(var h=u,f=c,p=0;p<s;p++){var m=n[d+p],g=i[d+p],y=n[d+p+s],v=i[d+p+s],b=h*y-f*v;v=h*v+f*y,y=b,n[d+p]=m+y,i[d+p]=g+v,n[d+p+s]=m-y,i[d+p+s]=g-v,p!==l&&(b=u*h-c*f,f=u*f+c*h,h=b)}},b.prototype.guessLen13b=function(t,r){var n=1|Math.max(r,t),i=1&n,o=0;for(n=n/2|0;n;n>>>=1)o++;return 1<<o+1+i},b.prototype.conjugate=function(t,r,n){if(!(n<=1))for(var i=0;i<n/2;i++){var o=t[i];t[i]=t[n-i-1],t[n-i-1]=o,o=r[i],r[i]=-r[n-i-1],r[n-i-1]=-o}},b.prototype.normalize13b=function(t,r){for(var n=0,i=0;i<r/2;i++){var o=8192*Math.round(t[2*i+1]/r)+Math.round(t[2*i]/r)+n;t[i]=67108863&o,n=o<67108864?0:o/67108864|0}return t},b.prototype.convert13b=function(t,r,n,o){for(var a=0,s=0;s<r;s++)a+=0|t[s],n[2*s]=8191&a,a>>>=13,n[2*s+1]=8191&a,a>>>=13;for(s=2*r;s<o;++s)n[s]=0;i(0===a),i((-8192&a)==0)},b.prototype.stub=function(t){for(var r=Array(t),n=0;n<t;n++)r[n]=0;return r},b.prototype.mulp=function(t,r,n){var i=2*this.guessLen13b(t.length,r.length),o=this.makeRBT(i),a=this.stub(i),s=Array(i),l=Array(i),u=Array(i),c=Array(i),d=Array(i),h=Array(i),f=n.words;f.length=i,this.convert13b(t.words,t.length,s,i),this.convert13b(r.words,r.length,c,i),this.transform(s,a,l,u,i,o),this.transform(c,a,d,h,i,o);for(var p=0;p<i;
vendor: 17,515 bytes, line 4
4p++){var m=l[p]*d[p]-u[p]*h[p];u[p]=l[p]*h[p]+u[p]*d[p],l[p]=m}return this.conjugate(l,u,i),this.transform(l,u,f,a,i,o),this.conjugate(f,a,i),this.normalize13b(f,i),n.negative=t.negative^r.negative,n.length=t.length+r.length,n._strip()},a.prototype.mul=function(t){var r=new a(null);return r.words=Array(this.length+t.length),this.mulTo(t,r)},a.prototype.mulf=function(t){var r=new a(null);return r.words=Array(this.length+t.length),v(this,t,r)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var r=t<0;r&&(t=-t),i("number"==typeof t),i(t<67108864);for(var n=0,o=0;o<this.length;o++){var a=(0|this.words[o])*t,s=(67108863&a)+(67108863&n);n>>=26,n+=(a/67108864|0)+(s>>>26),this.words[o]=67108863&s}return 0!==n&&(this.words[o]=n,this.length++),r?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var r=function(t){for(var r=Array(t.bitLength()),n=0;n<r.length;n++){var i=n/26|0,o=n%26;r[n]=t.words[i]>>>o&1}return r}(t);if(0===r.length)return new a(1);for(var n=this,i=0;i<r.length&&0===r[i];i++,n=n.sqr());if(++i<r.length)for(var o=n.sqr();i<r.length;i++,o=o.sqr())0!==r[i]&&(n=n.mul(o));return n},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var r,n=t%26,o=(t-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(r=0;r<this.length;r++){var l=this.words[r]&a,u=(0|this.words[r])-l<<n;this.words[r]=u|s,s=l>>>26-n}s&&(this.words[r]=s,this.length++)}if(0!==o){for(r=this.length-1;r>=0;r--)this.words[r+o]=this.words[r];for(r=0;r<o;r++)this.words[r]=0;this.length+=o}return this._strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,r,n){i("number"==typeof t&&t>=0),o=r?(r-r%26)/26:0;var o,a=t%26,s=Math.min((t-a)/26,this.length),l=67108863^67108863>>>a<<a;if(o-=s,o=Math.max(0,o),n){for(var u=0;u<s;u++)n.words[u]=this.words[u];n.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=o);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&l}return n&&0!==c&&(n.words[n.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,r,n){return i(0===this.negative),this.iushrn(t,r,n)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var r=t%26,n=(t-r)/26;return!(this.length<=n)&&!!(this.words[n]&1<<r)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var r=t%26,n=(t-r)/26;return(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)?this:(0!==r&&n++,this.length=Math.min(n,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this._strip())},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return(i("number"==typeof t),i(t<67108864),t<0)?this.isubn(-t):0!==this.negative?(1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,r,n){var o,a,s=t.length+n;this._expand(s);var l=0;for(o=0;o<t.length;o++){a=(0|this.words[o+n])+l;var u=(0|t.words[o])*r;a-=67108863&u,l=(a>>26)-(u/67108864|0),this.words[o+n]=67108863&a}for(;o<this.length-n;o++)l=(a=(0|this.words[o+n])+l)>>26,this.words[o+n]=67108863&a;if(0===l)return this._strip();for(i(-1===l),l=0,o=0;o<this.length;o++)l=(a=-(0|this.words[o])+l)>>26,this.words[o]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,r){var n,i=this.length-t.length,o=this.clone(),s=t,l=0|s.words[s.length-1];0!=(i=26-this._countBits(l))&&(s=s.ushln(i),o.iushln(i),l=0|s.words[s.length-1]);var u=o.length-s.length;if("mod"!==r){(n=new a(null)).length=u+1,n.words=Array(n.length);for(var c=0;c<n.length;c++)n.words[c]=0}var d=o.clone()._ishlnsubmul(s,1,u);0===d.negative&&(o=d,n&&(n.words[u]=1));for(var h=u-1;h>=0;h--){var f=(0|o.words[s.length+h])*67108864+(0|o.words[s.length+h-1]);for(f=Math.min(f/l|0,67108863),o._ishlnsubmul(s,f,h);0!==o.negative;)f--,o.negative=0,o._ishlnsubmul(s,1,h),o.isZero()||(o.negative^=1);n&&(n.words[h]=f)}return n&&n._strip(),o._strip(),"div"!==r&&0!==i&&o.iushrn(i),{div:n||null,mod:o}},a.prototype.divmod=function(t,r,n){var o,s,l;return(i(!t.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,r),"mod"!==r&&(o=l.div.neg()),"div"!==r&&(s=l.mod.neg(),n&&0!==s.negative&&s.iadd(t)),{div:o,mod:s}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),r),"mod"!==r&&(o=l.div.neg()),{div:o,mod:l.mod}):(this.negative&t.negative)!=0?(l=this.neg().divmod(t.neg(),r),"div"!==r&&(s=l.mod.neg(),n&&0!==s.negative&&s.isub(t)),{div:l.div,mod:s}):t.length>this.length||0>this.cmp(t)?{div:new a(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,r)},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var n=0!==r.div.negative?r.mod.isub(t):r.mod,i=t.ushrn(1),o=t.andln(1),a=n.cmp(i);return a<0||1===o&&0===a?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},a.prototype.modrn=function(t){var r=t<0;r&&(t=-t),i(t<=67108863);for(var n=67108864%t,o=0,a=this.length-1;a>=0;a--)o=(n*o+(0|this.words[a]))%t;return r?-o:o},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var r=t<0;r&&(t=-t),i(t<=67108863);for(var n=0,o=this.length-1;o>=0;o--){var a=(0|this.words[o])+67108864*n;this.words[o]=a/t|0,n=a%t}return this._strip(),r?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var r=this,n=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var o=new a(1),s=new a(0),l=new a(0),u=new a(1),c=0;r.isEven()&&n.isEven();)r.iushrn(1),n.iushrn(1),++c;for(var d=n.clone(),h=r.clone();!r.isZero();){for(var f=0,p=1;(r.words[0]&p)==0&&f<26;++f,p<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(d),s.isub(h)),o.iushrn(1),s.iushrn(1);for(var m=0,g=1;(n.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(n.iushrn(m);m-- >0;)(l.isOdd()||u.isOdd())&&(l.iadd(d),u.isub(h)),l.iushrn(1),u.iushrn(1);r.cmp(n)>=0?(r.isub(n),o.isub(l),s.isub(u)):(n.isub(r),l.isub(o),u.isub(s))}return{a:l,b:u,gcd:n.iushln(c)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var r,n=this,o=t.clone();n=0!==n.negative?n.umod(t):n.clone();for(var s=new a(1),l=new a(0),u=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var c=0,d=1;(n.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(n.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var h=0,f=1;(o.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(o.iushrn(h);h-- >0;)l.isOdd()&&l.iadd(u),l.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(l)):(o.isub(n),l.isub(s))}return 0>(r=0===n.cmpn(1)?s:l).cmpn(0)&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),n=t.clone();r.negative=0,n.negative=0;for(var i=0;r.isEven()&&n.isEven();i++)r.iushrn(1),n.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=r.cmp(n);if(o<0){var a=r;r=n,n=a}else if(0===o||0===n.cmpn(1))break;r.isub(n)}return n.iushln(i)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var r=t%26,n=(t-r)/26,o=1<<r;if(this.length<=n)return this._expand(n+1),this.words[n]|=o,this;for(var a=o,s=n;0!==a&&s<this.length;s++){var l=0|this.words[s];l+=a,a=l>>>26,l&=67108863,this.words[s]=l}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var r,n=t<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)r=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var o=0|this.words[0];r=o===t?0:o<t?-1:1}return 0!==this.negative?0|-r:r},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return -1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return -1;for(var r=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],o=0|t.words[n];if(i!==o){i<o?r=-1:i>o&&(r=1);break}}return r},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return -1===this.cmpn(t)},a.prototype.lt=function(t){return -1===this.cmp(t)},a.prototype.lten=function(t){return 0>=this.cmpn(t)},a.prototype.lte=function(t){return 0>=this.cmp(t)},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new k(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function _(t,r){this.name=t,this.p=new a(r,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"==typeof t){var r=a._prime(t);this.m=r.p,this.prime=r}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var t=new a(null);return t.words=Array(Math.ceil(this.n/13)),t},_.prototype.ireduce=function(t){var r,n=t;do this.split(n,this.tmp),r=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength();while(r>this.n);var i=r<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},_.prototype.split=function(t,r){t.iushrn(this.n,0,r)},_.prototype.imulK=function(t){return t.imul(this.k)},o(S,_),S.prototype.split=function(t,r){for(var n=Math.min(t.length,9),i=0;i<n;i++)r.words[i]=t.words[i];if(r.length=n,t.length<=9){t.words[0]=0,t.length=1;return}var o=t.words[9];for(i=10,r.words[r.length++]=4194303&o;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(4194303&a)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},S.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,n=0;n<t.length;n++){var i=0|t.words[n];r+=977*i,t.words[n]=67108863&r,r=64*i+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(E,_),o(A,_),o(x,_),x.prototype.imulK=function(t){for(var r=0,n=0;n<t.length;n++){var i=(0|t.words[n])*19+r,o=67108863&i;i>>>=26,t.words[n]=o,r=i}return 0!==r&&(t.words[t.length++]=r),t},a._prime=function(t){var r;if(w[t])return w[t];if("k256"===t)r=new S;else if("p224"===t)r=new E;else if("p192"===t)r=new A;else if("p25519"===t)r=new x;else throw Error("Unknown prime "+t);return w[t]=r,r},k.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,r){i((t.negative|r.negative)==0,"red works only with positives"),i(t.red&&t.red===r.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,r){this._verify2(t,r);var n=t.add(r);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(t,r){this._verify2(t,r);var n=t.iadd(r);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(t,r){this._verify2(t,r);var n=t.sub(r);return 0>n.cmpn(0)&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(t,r){this._verify2(t,r);var n=t.isub(r);return 0>n.cmpn(0)&&n.iadd(this.m),n},k.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},k.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},k.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(i(r%2==1),3===r){var n=this.m.add(new a(1)).iushrn(2);return this.pow(t,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);i(!o.isZero());var l=new a(1).toRed(this),u=l.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,c).cmp(u);)d.redIAdd(u);for(var h=this.pow(d,o),f=this.pow(t,o.addn(1).iushrn(1)),p=this.pow(t,o),m=s;0!==p.cmp(l);){for(var g=p,y=0;0!==g.cmp(l);y++)g=g.redSqr();i(y<m);var v=this.pow(h,new a(1).iushln(m-y-1));f=f.redMul(v),h=v.redSqr(),p=p.redMul(h),m=y}return f},k.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},k.prototype.pow=function(t,r){if(r.isZero())return new a(1).toRed(this);if(0===r.cmpn(1))return t.clone();var n=Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-
41],t);var o=n[0],s=0,l=0,u=r.bitLength()%26;for(0===u&&(u=26),i=r.length-1;i>=0;i--){for(var c=r.words[i],d=u-1;d>=0;d--){var h=c>>d&1;if(o!==n[0]&&(o=this.sqr(o)),0===h&&0===s){l=0;continue}s<<=1,s|=h,(4==++l||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)}u=26}return o},k.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},k.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},a.mont=function(t){return new O(t)},o(O,k),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},O.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(r),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(i).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},O.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new a(0)._forceRed(this);var n=t.mul(r),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(i).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):0>o.cmpn(0)&&(s=o.iadd(this.m)),s._forceRed(this)},O.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},47223:function(t,r,n){var i;function o(t){this.rand=t}if(t.exports=function(t){return i||(i=new o(null)),i.generate(t)},t.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var r=new Uint8Array(t),n=0;n<r.length;n++)r[n]=this.rand.getByte();return r},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var r=new Uint8Array(t);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var r=new Uint8Array(t);return self.msCrypto.getRandomValues(r),r}:"object"==typeof window&&(o.prototype._rand=function(){throw Error("Not implemented yet")});else try{var a=n(89214);if("function"!=typeof a.randomBytes)throw Error("Not supported");o.prototype._rand=function(t){return a.randomBytes(t)}}catch(t){}},69070:function(t,r,n){var i,o=n(82957).Buffer,a=20,s=4,l=-7,u=21,c=-1e9,d=1e9,h=!0,f=parseInt,p=w.prototype,m="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_",g=0,y=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},b=w(1);function w(t,r){var n,o,l,u,f,p;if(!(this instanceof w))return new w(t,r);if(t instanceof w){if(g=0,r!==n)t+="";else{this.s=t.s,this.e=t.e,this.c=(t=t.c)?t.slice():t;return}}if("string"!=typeof t&&(t=(l="number"==typeof t||"[object Number]"==Object.prototype.toString.call(t))&&0===t&&1/t<0?"-0":t+""),p=t,r===n&&y.test(t))this.s="-"==t.charAt(0)?(t=t.slice(1),-1):1;else{if(10==r)return k(t,a,s);if(t=v.call(t).replace(/^\+(?!-)/,""),this.s="-"==t.charAt(0)?(t=t.replace(/^-(?!-)/,""),-1):1,null!=r?r!=(0|r)&&h||(i=!(r>=2&&r<65))?(_(r,2),f=y.test(t)):(u="["+m.slice(0,r|=0)+"]+",t=t.replace(/\.$/,"").replace(/^\./,"0."),(f=RegExp("^"+u+"(?:\\."+u+")?$",r<37?"i":"").test(t))?(l&&(t.replace(/^0\.0*|\./,"").length>15&&_(p,0),l=!l),t=S(t,10,r,this.s)):"Infinity"!=t&&"NaN"!=t&&(_(p,1,r),t="NaN")):f=y.test(t),!f){this.c=this.e=null,"Infinity"!=t&&("NaN"!=t&&_(p,3),this.s=null),g=0;return}}for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(o=t.search(/e/i))>0?(n<0&&(n=o),n+=+t.slice(o+1),t=t.substring(0,o)):n<0&&(n=t.length),o=0;"0"==t.charAt(o);o++);if(r=t.length,l&&r>15&&t.slice(o).length>15&&_(p,0),g=0,(n-=o+1)>d)this.c=this.e=null;else if(o==r||n<c)this.c=[this.e=0];else{for(;"0"==t.charAt(--r););for(this.e=n,this.c=[],n=0;o<=r;this.c[n++]=+t.charAt(o++));}}
4function _(t,r,n,o,a,s){if(h){var l,u=["new BigNumber","cmp","div","eq","gt","gte","lt","lte","minus","mod","plus","times","toFr"][g?g<0?-g:g:1/g<0?1:0]+"()",c=i?" out of range":" not a"+(a?" non-zero":"n")+" integer";throw c=([u+" number type has more than 15 significant digits",u+" not a base "+n+" number",u+" base"+c,u+" not a number"][r]||n+"() "+r+(s?" not a boolean or binary digit":c+(o?" or not ["+(i?" negative, positive":" integer, integer")+" ]":"")))+": "+t,i=g=0,(l=Error(c)).name="BigNumber Error",l}}function S(t,r,n,i){var o,a,s,l,u,c;function d(t,i){var o,a,s=0,l=t.length,u=[0];for(i=i||n;s<l;s++){for(a=u.length,o=0;o<a;u[o]*=i,o++);for(u[0]+=m.indexOf(t.charAt(s)),o=0;o<u.length;o++)u[o]>r-1&&(null==u[o+1]&&(u[o+1]=0),u[o+1]+=u[o]/r^0,u[o]%=r)}return u.reverse()}function h(t){for(var r=0,n=t.length,i="";r<n;i+=m.charAt(t[r++]));return i}if(n<37&&(t=t.toLowerCase()),(o=t.indexOf("."))>-1){if(o=t.length-o-1,a=d(new w(n).pow(o).toF(),10),s=d((l=t.split("."))[1]),l=d(l[0]),u=(c=E(s,a,s.length-a.length,i,r,1&l[l.length-1])).c,o=c.e){for(;++o;u.unshift(0));t=h(l)+"."+h(u)}else u[0]?l[o=l.length-1]<r-1?(++l[o],t=h(l)):t=new w(h(l),r).plus(b).toS(r):t=h(l)}else t=h(d(t));return t}function E(t,r,n,i,o,s){var l,u,h,f,p,m=r.slice(),g=l=r.length,y=t.length,v=t.slice(0,l),_=v.length,S=new w(b),E=S.c=[],A=0,k=a+(S.e=n)+1;for(S.s=i,i=k<0?0:k;_++<l;v.push(0));m.unshift(0);do{for(h=0;h<o;h++){if(l!=(_=v.length))f=l>_?1:-1;else for(p=-1,f=0;++p<l;)if(r[p]!=v[p]){f=r[p]>v[p]?1:-1;break}if(f<0){for(u=_==l?r:m;_;){if(v[--_]<u[_]){for(p=_;p&&!v[--p];v[p]=o-1);--v[p],v[_]+=o}v[_]-=u[_]}for(;!v[0];v.shift());}else break}E[A++]=f?h:++h,v[0]&&f?v[_]=t[g]||0:v=[t[g]]}while((g++<y||null!=v[0])&&i--);return E[0]||1==A||(--S.e,E.shift()),A>k&&x(S,a,o,s,null!=v[0]),S.e>d?S.c=S.e=null:S.e<c&&(S.c=[S.e=0]),S}function A(t,r,n){var i=r-(t=new w(t)).e,o=t.c;if(!o)return t.toS();for(o.length>++r&&x(t,i,10),i=0==o[0]?i+1:n?r:t.e+i+1;o.length<i;o.push(0));return i=t.e,1==n||2==n&&(--r<i||i<=l)?(t.s<0&&o[0]?"-":"")+(o.length>1?(o.splice(1,0,"."),o.join("")):o[0])+(i<0?"e":"e+")+i:t.toS()}function x(t,r,n,i,o){var a=t.c,l=t.s<0,u=n/2,c=t.e+r+1,d=a[c],h=o||c<0||null!=a[c+1];if(o=s<4?(null!=d||h)&&(0==s||2==s&&!l||3==s&&l):d>u||d==u&&(4==s||h||6==s&&(1&a[c-1]||!r&&i)||7==s&&!l||8==s&&l),c<1||!a[0])return a.length=0,a.push(0),o?(a[0]=1,t.e=-r):t.e=0,t;if(a.length=c--,o)for(--n;++a[c]>n;)a[c]=0,c--||(++t.e,a.unshift(1));for(c=a.length;!a[--c];a.pop());return t}function k(t,r,n){var i=s;return s=n,(t=new w(t)).c&&x(t,r,10),s=i,t}w.ROUND_UP=0,w.ROUND_DOWN=1,w.ROUND_CEIL=2,w.ROUND_FLOOR=3,w.ROUND_HALF_UP=4,w.ROUND_HALF_DOWN=5,w.ROUND_HALF_EVEN=6,w.ROUND_HALF_CEIL=7,w.ROUND_HALF_FLOOR=8,w.fromBuffer=function(t,r){r||(r={});var n={1:"big","-1":"little"}[r.endian]||r.endian||"big",i="auto"===r.size?Math.ceil(t.length):r.size||1;if(t.length%i!=0)throw RangeError("Buffer length ("+t.length+") must be a multiple of size ("+i+")");for(var o=[],a=0;a<t.length;a+=i){for(var s=[],l=0;l<i;l++)s.push(t[a+("big"===n?l:i-l-1)]);o.push(s.map(function(t){return(t<16?"0":"")+t.toString(16)}).join(""))}return w(o.join(""),16)},w.config=function(){var t,r,n=0,o={},p=arguments,m=p[0],y="config",v=function(t,r,n){return!((i=t<r||t>n)||f(t)!=t&&0!==t)},b=m&&"object"==typeof m?function(){if(m.hasOwnProperty(r))return null!=(t=m[r])}:function(){if(p.length>n)return null!=(t=p[n++])};return b(r="DECIMAL_PLACES")&&(v(t,0,1e9)?a=0|t:_(t,r,y)),o[r]=a,b(r="ROUNDING_MODE")&&(v(t,0,8)?s=0|t:_(t,r,y)),o[r]=s,b(r="EXPONENTIAL_AT")&&(v(t,-1e9,1e9)?l=-(u=~~(t<0?-t:+t)):!i&&t&&v(t[0],-1e9,0)&&v(t[1],0,1e9)?(l=~~t[0],u=~~t[1]):_(t,r,y,1)),o[r]=[l,u],b(r="RANGE")&&(v(t,-1e9,1e9)&&~~t?c=-(d=~~(t<0?-t:+t)):!i&&t&&v(t[0],-1e9,-1)&&v(t[1],1,1e9)?(c=~~t[0],d=~~t[1]):_(t,r,y,1,1)),o[r]=[c,d],b(r="ERRORS")&&(!!t===t||1===t||0===t?(i=g=0,f=(h=!!t)?parseInt:parseFloat):_(t,r,y,0,0,1)),o[r]=h,o},p.abs=p.absoluteValue=function(){var t=new w(this);return t.s<0&&(t.s=1),t},p.bitLength=function(){return this.toString(2).length},p.ceil=function(){return k(this,0,2)},p.comparedTo=p.cmp=function(t,r){var n,i=this.c,o=(g=-g,t=new w(t,r)).c,a=this.s,s=t.s,l=this.e,u=t.e;if(!a||!s)return null;if(n=i&&!i[0],r=o&&!o[0],n||r)return n?r?0:-s:a;if(a!=s)return a;
4if(n=a<0,r=l==u,!i||!o)return r?0:!i^n?1:-1;if(!r)return l>u^n?1:-1;for(a=-1,s=(l=i.length)<(u=o.length)?l:u;++a<s;)if(i[a]!=o[a])return i[a]>o[a]^n?1:-1;return l==u?0:l>u^n?1:-1},p.dividedBy=p.div=function(t,r){var n=this.c,i=this.e,o=this.s,a=(g=2,t=new w(t,r)).c,s=t.e,l=t.s,u=o==l?1:-1;return(i||n&&n[0])&&(s||a&&a[0])?E(n,a,i-s,u,10):new w(o&&l&&(n?!a||n[0]!=a[0]:a)?n&&0==n[0]||!a?0*u:u/0:NaN)},p.equals=p.eq=function(t,r){return g=3,0===this.cmp(t,r)},p.floor=function(){return k(this,0,3)},p.greaterThan=p.gt=function(t,r){return g=4,this.cmp(t,r)>0},p.greaterThanOrEqualTo=p.gte=p.gt=function(t,r){return g=5,1==(r=this.cmp(t,r))||0===r},p.isFinite=p.isF=function(){return!!this.c},p.isNaN=function(){return!this.s},p.isNegative=p.isNeg=function(){return this.s<0},p.isZero=p.isZ=function(){return!!this.c&&0==this.c[0]},p.lessThan=p.lt=function(t,r){return g=6,0>this.cmp(t,r)},p.lessThanOrEqualTo=p.lte=p.le=function(t,r){return g=7,-1==(r=this.cmp(t,r))||0===r},p.minus=p.sub=function(t,r){var n,i,o,a,l=this.s;if(r=(g=8,t=new w(t,r)).s,!l||!r)return new w(NaN);if(l!=r)return t.s=-r,this.plus(t);var u=this.c,d=this.e,h=t.c,f=t.e;if(!d||!f){if(!u||!h)return u?(t.s=-r,t):new w(h?this:NaN);if(!u[0]||!h[0])return h[0]?(t.s=-r,t):new w(u[0]?this:3==s?-0:0)}if(u=u.slice(),l=d-f){for((n=(a=l<0)?(l=-l,u):(f=d,h)).reverse(),r=l;r--;n.push(0));n.reverse()}else for(o=((a=u.length<h.length)?u:h).length,l=r=0;r<o;r++)if(u[r]!=h[r]){a=u[r]<h[r];break}if(a&&(n=u,u=h,h=n,t.s=-t.s),(r=-((o=u.length)-h.length))>0)for(;r--;u[o++]=0);for(r=h.length;r>l;){if(u[--r]<h[r]){for(i=r;i&&!u[--i];u[i]=9);--u[i],u[r]+=10}u[r]-=h[r]}for(;0==u[--o];u.pop());for(;0==u[0];u.shift(),--f);return(f<c||!u[0])&&(u[0]||(t.s=3==s?-1:1),u=[f=0]),t.c=u,t.e=f,t},p.modulo=p.mod=function(t,r){var n=this,i=n.c,o=(g=9,t=new w(t,r)).c,l=n.s,u=t.s;return(r=!l||!u||o&&!o[0])||i&&!i[0]?new w(r?NaN:n):(n.s=t.s=1,r=1==t.cmp(n),n.s=l,t.s=u,r?new w(n):(l=a,u=s,a=0,s=1,n=n.div(t),a=l,s=u,this.minus(n.times(t))))},p.negated=p.neg=function(){var t=new w(this);return t.s=-t.s||null,t},p.plus=p.add=function(t,r){var n,i=this.s;if(r=(g=10,t=new w(t,r)).s,!i||!r)return new w(NaN);if(i!=r)return t.s=-r,this.minus(t);var o=this.e,a=this.c,s=t.e,l=t.c;if(!o||!s){if(!a||!l)return new w(i/0);if(!a[0]||!l[0])return l[0]?t:new w(a[0]?this:0*i)}if(a=a.slice(),i=o-s){for((n=i>0?(s=o,l):(i=-i,a)).reverse();i--;n.push(0));n.reverse()}for(a.length-l.length<0&&(n=l,l=a,a=n),i=l.length,r=0;i;r=(a[--i]=a[i]+l[i]+r)/10^0,a[i]%=10);for(r&&(a.unshift(r),++s>d&&(a=s=null)),i=a.length;0==a[--i];a.pop());return t.c=a,t.e=s,t},p.toPower=p.pow=function(t){var r=0*t==0?0|t:t,n=new w(this),o=new w(b);if(((i=t<-1e6||t>1e6)&&(r=1*t/0)||f(t)!=t&&0!==t&&(r=NaN,1))&&!_(t,"exponent","pow")||!r)return new w(Math.pow(n.toS(),r));for(r=r<0?-r:r;1&r&&(o=o.times(n)),r>>=1;)n=n.times(n);return t<0?b.div(o):o},p.powm=function(t,r){return this.pow(t).mod(r)},p.round=function(t,r){return k(this,t=null==t||((i=t<0||t>1e9)||f(t)!=t)&&!_(t,"decimal places","round")?0:0|t,r=null==r||((i=r<0||r>8)||f(r)!=r&&0!==r)&&!_(r,"mode","round")?s:0|r)},p.squareRoot=p.sqrt=function(){var t,r,n,i,o=this.c,l=this.s,u=this.e,c=a,d=s,h=new w("0.5");if(1!==l||!o||!o[0])return new w(!l||l<0&&(!o||o[0])?NaN:o?this:1/0);for(l=Math.sqrt(this.toS()),s=1,0==l||l==1/0?((t=o.join("")).length+u&1||(t+="0"),(r=new w(Math.sqrt(t)+"")).c||(r.c=[1]),r.e=((u+1)/2|0)-(u<0||1&u)):r=new w(t=l.toString()),(l=(n=r.e)+(a+=4))<3&&(l=0),u=l;;)if(i=r,r=h.times(i.plus(this.div(i))),i.c.slice(0,l).join("")===r.c.slice(0,l).join("")){if(9==(o=r.c)[l-=t&&r.e<n]&&9==o[l-1]&&9==o[l-2]&&(9==o[l-3]||t&&4==o[l-3])){if(t&&9==o[l-3]&&(i=r.round(c,0)).times(i).eq(this))return s=d,a=c,i;a+=4,l+=4,t=""}else{if(!o[u]&&!o[u-1]&&!o[u-2]&&(!o[u-3]||5==o[u-3])&&(o.length>u-2&&(o.length=u-2),!r.times(r).eq(this))){for(;o.length<u-3;)o.push(0);o[u-3]++}return s=d,x(r,a=c,10),r}}},p.times=p.mul=function(t,r){var n,i=this.c,o=(g=11,t=new w(t,r)).c,a=this.e,s=t.e,l=this.s;if(t.s=l==(r=t.s)?1:-1,!a&&(!i||!i[0])||!s&&(!o||!o[0]))return new w(l&&r&&(!i||i[0]||o)&&(!o||o[0]||i)?i&&o?0*t.s:t.s/0:NaN);for(t.e=a+s,(l=i.length)<(r=o.length)&&(n=i,i=o,o=n,s=l,l=r,r=s),s=l+r,n=[];s--;n.push(0));for(a=r-1;a>-1;a--){for(r=0,s=l+a;s>a;r=n[s]+o[a]*i[s-a-1]+r,n[s--]=r%10|0,r=r/10|0);r&&(n[s]=(n[s]+r)%10)}for(r&&++t.e,n[0]||n.shift(),s=n.length;!n[--s];n.pop());return t.c=t.e>d?t.e=null:t.e<c?[t.e=0]:n,t},p.toBuffer=function(t){if("string"==typeof t){if("mpint"!==t)return"Unsupported Buffer representation";var r=this.abs().toBuffer({size:1,endian:"big"}),n=1===r.length&&0===r[0]?0:r.length;128&r[0]&&n++;var i=new o(4+n);n>0&&r.copy(i,4+(128&r[0]?1:0)),128&r[0]&&(i[4]=0),i[0]=-16777216&n,i[1]=16711680&n,i[2]=65280&n,i[3]=255&n;var a=this.lt(0);if(a)for(var s=4;s<i.length;s++)i[s]=255-i[s];return i[4]=127&i[4]|(a?128:0),a&&i[i.length-1]++,i}t||(t={});var l={1:"big","-1":"little"}[t.endian]||t.endian||"big",u=this.toString(16);if("-"===u.charAt(0))throw Error("converting negative numbers to Buffers not supported yet");for(var c="auto"===t.size?Math.ceil(u.length/2):t.size||1,n=Math.ceil(u.length/(2*c))*c,r=new o(n);u.length<2*n;)u="0"+u;return u.split(RegExp("(.{"+2*c+"})")).filter(function(t){return t.length>0}
4).forEach(function(t,n){for(var i=0;i<c;i++)r[n*c+("big"===l?i:c-i-1)]=parseInt(t.slice(2*i,2*i+2),16)}),r},p.toExponential=p.toE=function(t){return A(this,(null==t||((i=t<0||t>1e9)||f(t)!=t&&0!==t)&&!_(t,"decimal places","toE"))&&this.c?this.c.length-1:0|t,1)},p.toFixed=p.toF=function(t){var r,n,o;return null==t||((i=t<0||t>1e9)||f(t)!=t&&0!==t)&&!_(t,"decimal places","toF")||(o=this.e+(0|t)),r=l,t=u,l=-(u=1/0),o==n?n=this.toS():(n=A(this,o),this.s<0&&this.c&&(this.c[0]?0>n.indexOf("-")&&(n="-"+n):n=n.replace(/^-/,""))),l=r,u=t,n},p.toFraction=p.toFr=function(t){var r,n,o,l,u,c,f,p=l=new w(b),m=o=new w("0"),y=this.c,v=d,S=a,E=s,A=new w(b);if(!y)return this.toS();for(f=A.e=y.length-this.e-1,(null==t||(!(g=12,c=new w(t)).s||(i=0>c.cmp(p)||!c.c)||h&&c.e<c.c.length-1)&&!_(t,"max denominator","toFr")||(t=c).cmp(A)>0)&&(t=f>0?A:p),d=1/0,c=new w(y.join("")),a=0,s=1;r=c.div(A),1!=(u=l.plus(r.times(m))).cmp(t);)l=m,m=u,p=o.plus(r.times(u=p)),o=u,A=c.minus(r.times(u=A)),c=u;return u=t.minus(l).div(m),o=o.plus(u.times(p)),l=l.plus(u.times(m)),o.s=p.s=this.s,a=2*f,s=E,n=1>p.div(m).minus(this).abs().cmp(o.div(l).minus(this).abs())?[p.toS(),m.toS()]:[o.toS(),l.toS()],d=v,a=S,n},p.toPrecision=p.toP=function(t){return null==t||((i=t<1||t>1e9)||f(t)!=t)&&!_(t,"precision","toP")?this.toS():A(this,0|--t,2)},p.toString=p.toS=function(t){var r,n,o,a=this.e;if(null===a)n=this.s?"Infinity":"NaN";else{if(t===r&&(a<=l||a>=u))return A(this,this.c.length-1,1);if(n=this.c.join(""),a<0){for(;++a;n="0"+n);n="0."+n}else if(o=n.length,a>0){if(++a>o)for(a-=o;a--;n+="0");else a<o&&(n=n.slice(0,a)+"."+n.slice(a))}else if(r=n.charAt(0),o>1)n=r+"."+n.slice(1);else if("0"==r)return r;if(null!=t){if((i=!(t>=2&&t<65))||t!=(0|t)&&h)_(t,"base","toS");else if("0"==(n=S(n,0|t,10,this.s)))return n}}return this.s<0?"-"+n:n},p.valueOf=function(){return this.toS()},t.exports=w},82957:function(t,r,n){"use strict";let i=n(59196),o=n(68848),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');let r=new Uint8Array(t);return Object.setPrototypeOf(r,l.prototype),r}function l(t,r,n){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return d(t)}return u(t,r,n)}function u(t,r,n){if("string"==typeof t)return function(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!l.isEncoding(r))throw TypeError("Unknown encoding: "+r);let n=0|m(t,r),i=s(n),o=i.write(t,r);return o!==n&&(i=i.slice(0,o)),i}(t,r);if(ArrayBuffer.isView(t))return function(t){if($(t,Uint8Array)){let r=new Uint8Array(t);return f(r.buffer,r.byteOffset,r.byteLength)}return h(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if($(t,ArrayBuffer)||t&&$(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&($(t,SharedArrayBuffer)||t&&$(t.buffer,SharedArrayBuffer)))return f(t,r,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let i=t.valueOf&&t.valueOf();if(null!=i&&i!==t)return l.from(i,r,n);let o=function(t){var r;if(l.isBuffer(t)){let r=0|p(t.length),n=s(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||(r=t.length)!=r?s(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.from(t[Symbol.toPrimitive]("string"),r,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function d(t){return c(t),s(t<0?0:0|p(t))}function h(t){let r=t.length<0?0:0|p(t.length),n=s(r);for(let i=0;i<r;i+=1)n[i]=255&t[i];return n}function f(t,r,n){let i;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.prototype),i}function p(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function m(t,r){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||$(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let n=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;let o=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(o)return i?-1:D(t).length;r=(""+r).toLowerCase(),o=!0}}function g(t,r,n){let o=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,r,n){let i=t.length;(!r||r<0)&&(r=0),(!n||n<0||n>i)&&(n=i);let o="";for(let i=r;i<n;++i)o+=j[t[i]];return o}(this,r,n);case"utf8":case"utf-8":return w(this,r,n);case"ascii":return function(t,r,n){let i="";n=Math.min(t.length,n);for(let o=r;o<n;++o)i+=String.fromCharCode(127&t[o]);return i}(this,r,n);case"latin1":case"binary":return function(t,r,n){let i="";n=Math.min(t.length,n);for(let o=r;o<n;++o)i+=String.fromCharCode(t[o]);return i}(this,r,n);case"base64":var a,s;return a=r,s=n,0===a&&s===this.length?i.fromByteArray(this):i.fromByteArray(this.slice(a,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,r,n){let i=t.slice(r,n),o="";for(let t=0;t<i.length-1;t+=2)o+=String.fromCharCode(i[t]+256*i[t+1]);return o}(this,r,n);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function y(t,r,n){let i=t[r];t[r]=t[n],t[n]=i}function v(t,r,n,i,o){var a;if(0===t.length)return -1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(a=n=+n)!=a&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return -1;n=t.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof r&&(r=l.from(r,i)),l.isBuffer(r))return 0===r.length?-1:b(t,r,n,i,o);if("number"==typeof r)return(r&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):b(t,[r],n,i,o);throw TypeError("val must be string, number or Buffer")}function b(t,r,n,i,o){let a,s=1,l=t.length,u=r.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||r.length<2)return -1;s=2,l/=2,u/=2,n/=2}function c(t,r){return 1===s?t[r]:t.readUInt16BE(r*s)}if(o){let i=-1;for(a=n;a<l;a++)if(c(t,a)===c(r,-1===i?0:a-i)){if(-1===i&&(i=a),a-i+1===u)return i*s}else -1!==i&&(a-=a-i),i=-1}else for(n+u>l&&(n=l-u),a=n;a>=0;a--){let n=!0;for(let i=0;i<u;i++)if(c(t,a+i)!==c(r,i)){n=!1;break}if(n)return a}return -1}function w(t,r,n){n=Math.min(t.length,n);let i=[],o=r;for(;o<n;){let r=t[o],a=null,s=r>239?4:r>223?3:r>191?2:1;if(o+s<=n){let n,i,l,u;switch(s){case 1:r<128&&(a=r);break;case 2:(192&(n=t[o+1]))==128&&(u=(31&r)<<6|63&n)>127&&(a=u);break;case 3:n=t[o+1],i=t[o+2],(192&n)==128&&(192&i)==128&&(u=(15&r)<<12|(63&n)<<6|63&i)>2047&&(u<55296||u>57343)&&(a=u);break;case 4:n=t[o+1],i=t[o+2],l=t[o+3],(192&n)==128&&(192&i)==128&&(192&l)==128&&(u=(15&r)<<18|(63&n)<<12|(63&i)<<6|63&l)>
vendor: 18,725 bytes, line 4
465535&&u<1114112&&(a=u)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),o+=s}return function(t){let r=t.length;if(r<=4096)return String.fromCharCode.apply(String,t);let n="",i=0;for(;i<r;)n+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return n}(i)}function _(t,r,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>n)throw RangeError("Trying to access beyond buffer length")}function S(t,r,n,i,o,a){if(!l.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw RangeError('"value" argument is out of bounds');if(n+i>t.length)throw RangeError("Index out of range")}function E(t,r,n,i,o){M(r,i,o,t,n,7);let a=Number(r&BigInt(4294967295));t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a,a>>=8,t[n++]=a;let s=Number(r>>BigInt(32)&BigInt(4294967295));return t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,s>>=8,t[n++]=s,n}function A(t,r,n,i,o){M(r,i,o,t,n,7);let a=Number(r&BigInt(4294967295));t[n+7]=a,a>>=8,t[n+6]=a,a>>=8,t[n+5]=a,a>>=8,t[n+4]=a;let s=Number(r>>BigInt(32)&BigInt(4294967295));return t[n+3]=s,s>>=8,t[n+2]=s,s>>=8,t[n+1]=s,s>>=8,t[n]=s,n+8}function x(t,r,n,i,o,a){if(n+i>t.length||n<0)throw RangeError("Index out of range")}function k(t,r,n,i,a){return r=+r,n>>>=0,a||x(t,r,n,4,34028234663852886e22,-34028234663852886e22),o.write(t,r,n,i,23,4),n+4}function O(t,r,n,i,a){return r=+r,n>>>=0,a||x(t,r,n,8,17976931348623157e292,-17976931348623157e292),o.write(t,r,n,i,52,8),n+8}r.Buffer=l,r.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}(),l.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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(t,r,n){return u(t,r,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(t,r,n){return(c(t),t<=0)?s(t):void 0!==r?"string"==typeof n?s(t).fill(r,n):s(t).fill(r):s(t)},l.allocUnsafe=function(t){return d(t)},l.allocUnsafeSlow=function(t){return d(t)},l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,r){if($(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),$(r,Uint8Array)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(t)||!l.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;let n=t.length,i=r.length;for(let o=0,a=Math.min(n,i);o<a;++o)if(t[o]!==r[o]){n=t[o],i=r[o];break}return n<i?-1:i<n?1:0},l.isEncoding=function(t){switch(String(t).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}},l.concat=function(t,r){let n;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);if(void 0===r)for(n=0,r=0;n<t.length;++n)r+=t[n].length;let i=l.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){let r=t[n];if($(r,Uint8Array))o+r.length>i.length?(l.isBuffer(r)||(r=l.from(r)),r.copy(i,o)):Uint8Array.prototype.set.call(i,r,o);else if(l.isBuffer(r))r.copy(i,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=r.length}return i},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<t;r+=2)y(this,r,r+1);return this},l.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<t;r+=4)y(this,r,r+3),y(this,r+1,r+2);return this},l.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<t;r+=8)y(this,r,r+7),y(this,r+1,r+6),y(this,r+2,r+5),y(this,r+3,r+4);return this},l.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?w(this,0,t):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(t){if(!l.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){let t="",n=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(t,r,n,i,o){if($(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),r<0||n>t.length||i<0||o>this.length)throw RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return -1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===t)return 0;let a=o-i,s=n-r,u=Math.min(a,s),c=this.slice(i,o),d=t.slice(r,n);for(let t=0;t<u;++t)if(c[t]!==d[t]){a=c[t],s=d[t];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(t,r,n){return -1!==this.indexOf(t,r,n)},l.prototype.indexOf=function(t,r,n){return v(this,t,r,n,!0)},l.prototype.lastIndexOf=function(t,r,n){return v(this,t,r,n,!1)},l.prototype.write=function(t,r,n,i){var o,a,s,l,u,c,d,h;if(void 0===r)i="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)i=r,n=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-r;if((void 0===n||n>f)&&(n=f),t.length>0&&(n<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let p=!1;for(;;)switch(i){case"hex":return function(t,r,n,i){let o;n=Number(n)||0;let a=t.length-n;i?(i=Number(i))>a&&(i=a):i=a;let s=r.length;for(i>s/2&&(i=s/2),o=0;o<i;++o){let i=parseInt(r.substr(2*o,2),16);if(i!=i)break;t[n+o]=i}return o}(this,t,r,n);case"utf8":case"utf-8":return o=r,a=n,L(D(t,this.length-o),this,o,a);case"ascii":case"latin1":case"binary":return s=r,l=n,L(function(t){let r=[];for(let n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}(t),this,s,l);case"base64":return u=r,c=n,L(F(t),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d=r,h=n,L(function(t,r){let n,i;let o=[];for(let a=0;a<t.length&&!((r-=2)<0);++a)i=(n=t.charCodeAt(a))>>8,o.push(n%256),o.push(i);return o}(t,this.length-d),this,d,h);default:if(p)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(t,r){let n=this.length;t=~~t,r=void 0===r?n:~~r,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),r<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t);let i=this.subarray(t,r);return Object.setPrototypeOf(i,l.prototype),i},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);let i=this[t],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[t+a]*o;return i},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);let i=this[t+--r],o=1;for(;r>0&&(o*=256);)i+=this[t+--r]*o;return i},l.prototype.readUint8=l.prototype.readUInt8=function(t,r){return t>>>=0,r||_(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,r){return t>>>=0,r||_(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,r){return t>>>=0,r||_(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,r){return t>>>=0,r||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,r){return t>>>=0,r||_(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=U(function(t){R(t>>>=0,"offset");let r=this[t],n=this[t+7];(void 0===r||void 0===n)&&I(t,this.length-8);let i=r+256*this[++t]+65536*this[++t]+16777216*this[++t],o=this[++t]+256*this[++t]+65536*this[++t]+16777216*n;return BigInt(i)+(BigInt(o)<<BigInt(32))}),l.prototype.readBigUInt64BE=U(function(t){R(t>>>=0,"offset");let r=this[t],n=this[t+7];(void 0===r||void 0===n)&&I(t,this.length-8);let i=16777216*r+65536*this[++t]+256*this[++t]+this[++t],o=16777216*this[++t]+65536*this[++t]+256*this[++t]+n;return(BigInt(i)<<BigInt(32))+BigInt(o)}),l.prototype.readIntLE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);let i=this[t],o=1,a=0;for(;++a<r&&(o*=256);)i+=this[t+a]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*r)),i},l.prototype.readIntBE=function(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);let i=r,o=1,a=this[t+--i];for(;i>0&&(o*=256);)a+=this[t+--i]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*r)),a},l.prototype.readInt8=function(t,r){return(t>>>=0,r||_(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},l.prototype.readInt16LE=function(t,r){t>>>=0,r||_(t,2,this.length);let n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,r){t>>>=0,r||_(t,2,this.length);let n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,r){return t>>>=0,r||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,r){return t>>>=0,r||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=U(function(t){R(t>>>=0,"offset");let r=this[t],n=this[t+7];return(void 0===r||void 0===n)&&I(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(n<<24))<<BigInt(32))+BigInt(r+256*this[++t]+65536*this[++t]+16777216*this[++t])}),l.prototype.readBigInt64BE=U(function(t){R(t>>>=0,"offset");let r=this[t],n=this[t+7];return(void 0===r||void 0===n)&&I(t,this.length-8),(BigInt((r<<24)+65536*this[++t]+256*this[++t]+this[++t])<<BigInt(32))+BigInt(16777216*this[++t]+65536*this[++t]+256*this[++t]+n)}),l.prototype.readFloatLE=function(t,r){return t>>>=0,r||_(t,4,this.length),o.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,r){return t>>>=0,r||_(t,4,this.length),o.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,r){return t>>>=0,r||_(t,8,this.length),o.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,r){return t>>>=0,r||_(t,8,this.length),o.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r>>>=0,n>>>=0,!i){let i=Math.pow(2,8*n)-1;S(this,t,r,n,i,0)}let o=1,a=0;for(this[r]=255&t;++a<n&&(o*=256);)this[r+a]=t/o&255;return r+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r>>>=0,n>>>=0,!i){let i=Math.pow(2,8*n)-1;S(this,t,r,n,i,0)}let o=n-1,a=1;for(this[r+o]=255&t;--o>=0&&(a*=256);)this[r+o]=t/a&255;return r+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,1,255,0),this[r]=255&t,r+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},l.prototype.writeBigUInt64LE=U(function(t,r=0){return E(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=U(function(t,r=0){return A(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r>>>=0,!i){let i=Math.pow(2,8*n-1);S(this,t,r,n,i-1,-i)}let o=0,a=1,s=0;for(this[r]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[r+o-1]&&(s=1),this[r+o]=(t/a>>0)-s&255;return r+n},l.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r>>>=0,!i){let i=Math.pow(2,8*n-1);S(this,t,r,n,i-1,-i)}let o=n-1,a=1,s=0;for(this[r+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[r+o+1]&&(s=1),this[r+o]=(t/a>>0)-s&255;return r+n},l.prototype.writeInt8=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},l.prototype.writeInt16LE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},l.prototype.writeInt16BE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},l.prototype.writeInt32LE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},l.prototype.writeInt32BE=function(t,r,n){return t=+t,r>>>=0,n||S(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},l.prototype.writeBigInt64LE=U(function(t,r=0){return E(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=U(function(t,r=0){return A(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(t,r,n){return k(this,t,r,!0,n)},l.prototype.writeFloatBE=function(t,r,n){return k(this,t,r,!1,n)},l.prototype.writeDoubleLE=function(t,r,n){return O(this,t,r,!0,n)},l.prototype.writeDoubleBE=function(t,r,n){return O(this,t,r,!1,n)},l.prototype.copy=function(t,r,n,i){if(!l.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);let o=i-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(t,this.subarray(n,i),r),o},l.prototype.fill=function(t,r,n,i){let o;if("string"==typeof t){if("string"==typeof r?(i=r,r=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===t.length){let r=t.charCodeAt(0);("utf8"===i&&r<128||"latin1"===i)&&(t=r)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw RangeError("Out of range index");if(n<=r)return this;if(r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=r;o<n;++o)this[o]=t;else{let a=l.isBuffer(t)?t:l.from(t,i),s=a.length;if(0===s)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=a[o%s]}return this};let P={};function C(t,r,n){P[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function T(t){let r="",n=t.length,i="-"===t[0]?1:0;for(;n>=i+4;n-=3)r=`_${t.slice(n-3,n)}${r}`;return`${t.slice(0,n)}${r}`}function M(t,r,n,i,o,a){if(t>n||t<r){let i;let o="bigint"==typeof r?"n":"";throw i=a>3?0===r||r===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}`:`>= ${r}${o} and <= ${n}${o}`,new P.ERR_OUT_OF_RANGE("value",i,t)}R(o,"offset"),(void 0===i[o]||void 0===i[o+a])&&I(o,i.length-(a+1))}function R(t,r){if("number"!=typeof t)throw new P.ERR_INVALID_ARG_TYPE(r,"number",t)}function I(t,r,n){if(Math.floor(t)!==t)throw R(t,n),new P.ERR_OUT_OF_RANGE(n||"offset","an integer",t);if(r<0)throw new P.ERR_BUFFER_OUT_OF_BOUNDS;throw new P.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${r}`,t)}C("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),C("ERR_INVALID_ARG_TYPE",function(t,r){return`The "${t}" argument must be of type number. Received type ${typeof r}`},TypeError),C("ERR_OUT_OF_RANGE",function(t,r,n){let i=`The value of "${t}" is out of range.`,o=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?o=T(String(n)):"bigint"==typeof n&&(o=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(o=T(o)),o+="n"),i+=` It must be ${r}. Received ${o}`},RangeError);let N=/[^+/0-9A-Za-z-_]/g;function D(t,r){let n;r=r||1/0;let i=t.length,o=null,a=[];for(let s=0;s<i;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319||s+1===i){(r-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(r-=3)>-1&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(r-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((r-=1)<0)break;a.push(n)}else if(n<2048){if((r-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((r-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function F(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function L(t,r,n,i){let o;for(o=0;o<i&&!(o+n>=r.length)&&!(o>=t.length);++o)r[o+n]=t[o];return o}function $(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}let j=function(){let t="0123456789abcdef",r=Array(256);for(let n=0;n<16;++n){let i=16*n;for(let o=0;o<16;++o)r[i+o]=t[n]+t[o]}return r}();function U(t){return"undefined"==typeof BigInt?B:t}function B(){throw Error("BigInt not supported")}},84291:function(t,r,n){var i,o;void 0!==(o="function"==typeof(i={encode:function(t){var r,n=new ArrayBuffer(256),i=new DataView(n),o=0;function a(t){for(var a=n.byteLength,s=o+t;a<s;)a*=2;if(a!==n.byteLength){var l=i;
4i=new DataView(n=new ArrayBuffer(a));for(var u=o+3>>2,c=0;c<u;++c)i.setUint32(4*c,l.getUint32(4*c))}return r=t,i}function s(t){a(1).setUint8(o,t),o+=r}function l(t){for(var n=a(t.length),i=0;i<t.length;++i)n.setUint8(o+i,t[i]);o+=r}function u(t,n){var i,l;n<24?s(t<<5|n):n<256?(s(t<<5|24),s(n)):(n<65536?(s(t<<5|25),a(2).setUint16(o,n)):n<4294967296?(s(t<<5|26),a(4).setUint32(o,n)):(s(t<<5|27),i=n%4294967296,(l=a(8)).setUint32(o,(n-i)/4294967296),l.setUint32(o+4,i)),o+=r)}if(function t(n){if(!1===n)return s(244);if(!0===n)return s(245);if(null===n)return s(246);if(void 0===n)return s(247);switch(typeof n){case"number":if(Math.floor(n)===n){if(0<=n&&n<=9007199254740992)return u(0,n);if(-9007199254740992<=n&&n<0)return u(1,-(n+1))}return s(251),void(a(8).setFloat64(o,n),o+=r);case"string":var i,c,d=[];for(i=0;i<n.length;++i){var h=n.charCodeAt(i);h<128?d.push(h):(h<2048?d.push(192|h>>6):(h<55296?d.push(224|h>>12):(h=((1023&h)<<10|1023&n.charCodeAt(++i))+65536,d.push(240|h>>18),d.push(128|h>>12&63)),d.push(128|h>>6&63)),d.push(128|63&h))}return u(3,d.length),l(d);default:if(Array.isArray(n))for(u(4,c=n.length),i=0;i<c;++i)t(n[i]);else if(n instanceof Uint8Array)u(2,n.length),l(n);else{var f=Object.keys(n);for(u(5,c=f.length),i=0;i<c;++i){var p=f[i];t(p),t(n[p])}}}}(t),"slice"in n)return n.slice(0,o);for(var c=new ArrayBuffer(o),d=new DataView(c),h=0;h<o;++h)d.setUint8(h,i.getUint8(h));return c},decode:function(t,r,n){var i=new DataView(t),o=0;function a(r){var n;return n=new Uint8Array(t,o,r),o+=r,n}function s(){var t;return t=i.getUint8(o),o+=1,t}function l(){var t;return t=i.getUint16(o),o+=2,t}function u(){var t;return t=i.getUint32(o),o+=4,t}function c(){return 255===i.getUint8(o)&&(o+=1,!0)}function d(t){if(t<24)return t;if(24===t)return s();if(25===t)return l();if(26===t)return u();if(27===t)return 4294967296*u()+u();if(31===t)return -1;throw"Invalid length encoding"}function h(t){var r=s();if(255===r)return -1;var n=d(31&r);if(n<0||r>>5!==t)throw"Invalid indefinite length element";return n}function f(t,r){for(var n=0;n<r;++n){var i=s();128&i&&(i<224?(i=(31&i)<<6|63&s(),r-=1):i<240?(i=(15&i)<<12|(63&s())<<6|63&s(),r-=2):(i=(15&i)<<18|(63&s())<<12|(63&s())<<6|63&s(),r-=3)),i<65536?t.push(i):(i-=65536,t.push(55296|i>>10),t.push(56320|1023&i))}}"function"!=typeof r&&(r=function(t){return t}),"function"!=typeof n&&(n=function(){});var p=function t(){var u,p,m,g,y,v=s(),b=v>>5,w=31&v;if(7===b)switch(w){case 25:return function(){var t=new DataView(new ArrayBuffer(4)),r=l(),n=31744&r,i=1023&r;if(31744===n)n=261120;else if(0!==n)n+=114688;else if(0!==i)return 5960464477539063e-23*i;return t.setUint32(0,(32768&r)<<16|n<<13|i<<13),t.getFloat32(0)}();case 26:return u=i.getFloat32(o),o+=4,u;case 27:return p=i.getFloat64(o),o+=8,p}if((g=d(w))<0&&(b<2||6<b))throw"Invalid length";switch(b){case 0:return g;case 1:return -1-g;case 2:if(g<0){for(var _=[],S=0;(g=h(b))>=0;)S+=g,_.push(a(g));var E=new Uint8Array(S),A=0;for(m=0;m<_.length;++m)E.set(_[m],A),A+=_[m].length;return E}return a(g);case 3:var x=[];if(g<0)for(;(g=h(b))>=0;)f(x,g);else f(x,g);return String.fromCharCode.apply(null,x);case 4:if(g<0)for(y=[];!c();)y.push(t());else for(m=0,y=Array(g);m<g;++m)y[m]=t();return y;case 5:var k={};for(m=0;m<g||g<0&&!c();++m)k[t()]=t();return k;case 6:return r(t(),g);case 7:switch(g){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;default:return n(g)}}}();if(o!==t.byteLength)throw"Remaining bytes";return p}})?i.call(r,n,r,t):i)&&(t.exports=o)},58996:function(t){var r;r=function(){"use strict";function t(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){var n,a;n=t,a=i[t],(n=o(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEac
4h(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function n(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function o(t){var r=function(t,r){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof r?r:String(r)}var a,s,l,u,c,d,h,f={exports:{}};"undefined"!=typeof window&&(s=(a=window).HTMLCanvasElement&&a.HTMLCanvasElement.prototype,u=(l=a.Blob&&function(){try{return new Blob,!0}catch(t){return!1}}())&&a.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(t){return!1}}(),c=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder,d=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,h=(l||c)&&a.atob&&a.ArrayBuffer&&a.Uint8Array&&function(t){var r,n,i,o,a,s,h,f,p;if(!(r=t.match(d)))throw Error("invalid data URI");for(f=0,n=r[2]?r[1]:"text/plain"+(r[3]||";charset=US-ASCII"),i=!!r[4],o=t.slice(r[0].length),h=new Uint8Array(s=new ArrayBuffer((a=i?atob(o):decodeURIComponent(o)).length));f<a.length;f+=1)h[f]=a.charCodeAt(f);return l?new Blob([u?h:s],{type:n}):((p=new c).append(s),p.getBlob(n))},a.HTMLCanvasElement&&!s.toBlob&&(s.mozGetAsFile?s.toBlob=function(t,r,n){var i=this;setTimeout(function(){n&&s.toDataURL&&h?t(h(i.toDataURL(r,n))):t(i.mozGetAsFile("blob",r))})}:s.toDataURL&&h&&(s.msToBlob?s.toBlob=function(t,r,n){var i=this;setTimeout(function(){(r&&"image/png"!==r||n)&&s.toDataURL&&h?t(h(i.toDataURL(r,n))):t(i.msToBlob(r))})}:s.toBlob=function(t,r,n){var i=this;setTimeout(function(){t(h(i.toDataURL(r,n)))})})),f.exports?f.exports=h:a.dataURLtoBlob=h);var p=f.exports,m={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},g="undefined"!=typeof window&&void 0!==window.document?window:{},y=function(t){return t>0&&t<1/0},v=Array.prototype.slice;function b(t){return Array.from?Array.from(t):v.call(t)}var w=/^image\/.+$/;function _(t){return w.test(t)}var S=String.fromCharCode,E=g.btoa;function A(t,r){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(S.apply(null,b(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat(r,";base64,").concat(E(n.join("")))}var x=/\.\d*(?:0|9){12}\d*$/;function k(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return x.test(t)?Math.round(t*r)/r:t}function O(t){var r=t.aspectRatio,n=t.height,i=t.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=y(i),s=y(n);if(a&&s){var l=n*r;("contain"===o||"none"===o)&&l>i||"cover"===o&&l<i?n=i/r:i=n*r}else a?n=i/r:s&&(i=n*r);return{width:i,height:n}}var P=g.ArrayBuffer,C=g.FileReader,T=g.URL||g.webkitURL,M=/\.\w+$/,R=g.Compressor;return function(){var t,o;function a(t,n){(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,a),this.file=t,this.exif=[],this.image=new Image,this.options=r(r({},m),n),this.aborted=!1,this.result=null,this.init()}return t=[{key:"init",value:function(){var t=this,r=this.file,n=this.options;if(!("undefined"!=typeof Blob&&(r instanceof Blob||"[object Blob]"===Object.prototype.toString.call(r)))){this.fail(Error("The first argument must be a File or Blob object."));return}var o=r.type;if(!_(o)){this.fail(Error("The first argument must be an image File or Blob object."));return}if(!T||!C){this.fail(Error("The current browser does not support image compression."));return}P||(n.checkOrientation=!1,n.retainExif=!1);var a="image/jpeg"===o,s=a&&n.checkOrientation,l=a&&n.retainExif;if(!T||s||l){var u=new C;this.reader=u,u.onload=function(n){var a=n.target.result,u={},c=1;s&&(c=function(t){var r=new DataView(t);try{if(255===r.getUint8(0)&&216===r.getUint8(1))for(var n=r.byteLength,i=2;i+1<n;){if(255===r.getUint8(i)&&225===r.getUint8(i+1)){d=i;break}i+=1}if(d){var o=d+4,a=d+10;if("Exif"===function(t,r,n){var i,o="";for(n+=r,i=r;i<n;i+=1)o+=S(t.getUint8(i));return o}(r,o,4)){var s=r.getUint16(a);if(((c=18761===s)||19789===s)&&42===r.getUint16(a+2,c)){var l=r.getUint32(a+4,c);l>=8&&(h=a+l)}}}if(h){var u,c,d,h,f,p,m=r.getUint16(h,c);for(p=0;p<m;p+=1)if(f=h+12*p+2,274===r.getUint16(f,c)){f+=8,u=r.getUint16(f,c),r.setUint16(f,1,c);break}}}catch(t){u=1}return u}(a))>1&&i(u,function(t){var r=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:r=-180;break;case 4:i=-1;break;case 5:r=90,i=-1;break;case 6:r=90;break;case 7:r=90,n=-1;break;case 8:r=-90}return{rotate:r,scaleX:n,scaleY:i}}
4(c)),l&&(t.exif=function(t){for(var r=b(new Uint8Array(t)),n=r.length,i=[],o=0;o+3<n;){var a=r[o],s=r[o+1];if(255===a&&218===s)break;if(255===a&&216===s)o+=2;else{var l=256*r[o+2]+r[o+3],u=o+l+2,c=r.slice(o,u);i.push(c),o=u}}return i.reduce(function(t,r){return 255===r[0]&&225===r[1]?t.concat(r):t},[])}(a)),s||l?!T||c>1?u.url=A(a,o):u.url=T.createObjectURL(r):u.url=a,t.load(u)},u.onabort=function(){t.fail(Error("Aborted to read the image with FileReader."))},u.onerror=function(){t.fail(Error("Failed to read the image with FileReader."))},u.onloadend=function(){t.reader=null},s||l?u.readAsArrayBuffer(r):u.readAsDataURL(r)}else this.load({url:T.createObjectURL(r)})}},{key:"load",value:function(t){var n=this,i=this.file,o=this.image;o.onload=function(){n.draw(r(r({},t),{},{naturalWidth:o.naturalWidth,naturalHeight:o.naturalHeight}))},o.onabort=function(){n.fail(Error("Aborted to load the image."))},o.onerror=function(){n.fail(Error("Failed to load the image."))},g.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(g.navigator.userAgent)&&(o.crossOrigin="anonymous"),o.alt=i.name,o.src=t.url}},{key:"draw",value:function(t){var r=this,n=t.naturalWidth,i=t.naturalHeight,o=t.rotate,a=void 0===o?0:o,s=t.scaleX,l=t.scaleY,u=this.file,c=this.image,d=this.options,h=document.createElement("canvas"),f=h.getContext("2d"),m=Math.abs(a)%180==90,g=("contain"===d.resize||"cover"===d.resize)&&y(d.width)&&y(d.height),v=Math.max(d.maxWidth,0)||1/0,w=Math.max(d.maxHeight,0)||1/0,S=Math.max(d.minWidth,0)||0,E=Math.max(d.minHeight,0)||0,x=n/i,P=d.width,T=d.height;if(m){var M=[w,v];v=M[0],w=M[1];var R=[E,S];S=R[0],E=R[1];var I=[T,P];P=I[0],T=I[1]}g&&(x=P/T);var N=O({aspectRatio:x,width:v,height:w},"contain");v=N.width,w=N.height;var D=O({aspectRatio:x,width:S,height:E},"cover");if(S=D.width,E=D.height,g){var F=O({aspectRatio:x,width:P,height:T},d.resize);P=F.width,T=F.height}else{var L=O({aspectRatio:x,width:P,height:T}),$=L.width;P=void 0===$?n:$;var j=L.height;T=void 0===j?i:j}P=Math.floor(k(Math.min(Math.max(P,S),v))),T=Math.floor(k(Math.min(Math.max(T,E),w)));var U=-P/2,B=-T/2,z=P,H=T,q=[];if(g){var V=0,G=0,W=n,K=i,Y=O({aspectRatio:x,width:n,height:i},{contain:"cover",cover:"contain"}[d.resize]);W=Y.width,K=Y.height,V=(n-W)/2,G=(i-K)/2,q.push(V,G,W,K)}if(q.push(U,B,z,H),m){var Z=[T,P];P=Z[0],T=Z[1]}h.width=P,h.height=T,_(d.mimeType)||(d.mimeType=u.type);var X="transparent";u.size>d.convertSize&&d.convertTypes.indexOf(d.mimeType)>=0&&(d.mimeType="image/jpeg");var J="image/jpeg"===d.mimeType;if(J&&(X="#fff"),f.fillStyle=X,f.fillRect(0,0,P,T),d.beforeDraw&&d.beforeDraw.call(this,f,h),!this.aborted&&(f.save(),f.translate(P/2,T/2),f.rotate(a*Math.PI/180),f.scale(void 0===s?1:s,void 0===l?1:l),f.drawImage.apply(f,[c].concat(q)),f.restore(),d.drew&&d.drew.call(this,f,h),!this.aborted)){var Q=function(t){if(!r.aborted){var o=function(t){return r.done({naturalWidth:n,naturalHeight:i,result:t})};if(t&&J&&d.retainExif&&r.exif&&r.exif.length>0){var a=function(t){return o(p(A(function(t,r){var n=b(new Uint8Array(t));if(255!==n[2]||224!==n[3])return t;var i=256*n[4]+n[5];return new Uint8Array([255,216].concat(r,n.slice(4+i)))}(t,r.exif),d.mimeType)))};if(t.arrayBuffer)t.arrayBuffer().then(a).catch(function(){r.fail(Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var s=new C;r.reader=s,s.onload=function(t){a(t.target.result)},s.onabort=function(){r.fail(Error("Aborted to read the compressed image with FileReader."))},s.onerror=function(){r.fail(Error("Failed to read the compressed image with FileReader."))},s.onloadend=function(){r.reader=null},s.readAsArrayBuffer(t)}}else o(t)}};h.toBlob?h.toBlob(Q,d.mimeType,d.quality):Q(p(h.toDataURL(d.mimeType,d.quality)))}}},{key:"done",value:function(t){var r=t.naturalWidth,n=t.naturalHeight,i=t.result,o=this.file,a=this.image,s=this.options;if(T&&0===a.src.indexOf("blob:")&&T.revokeObjectURL(a.src),i){if(s.strict&&!s.retainExif&&i.size>o.size&&s.mimeType===o.type&&!(s.width>r||s.height>n||s.minWidth>r||s.minHeight>n||s.maxWidth<r||s.maxHeight<n))i=o;else{var l,u,c=new Date;i.lastModified=c.getTime(),i.lastModifiedDate=c,i.name=o.name,i.name&&i.type!==o.type&&(i.name=i.name.replace(M,("jpeg"===(u=_(l=i.type)?l.substr(6):"")&&(u="jpg"),".".concat(u))))}}else i=o;this.result=i,s.success&&s.success.call(this,i)}},{key:"fail",value:function(t){var r=this.options;if(r.error)r.error.call(this,t);else throw t}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],o=[{key:"noConflict",value:function(){return window.Compressor=R,a}},{key:"setDefaults",value:function(t){i(m,t)}}],t&&n(a.prototype,t),o&&n(a,o),Object.defineProperty(a,"prototype",{writable:!1}),a}()},t.exports=r()},49211:function(t,r,n){"use strict";var i=n(99623),o={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,r){var n,a,s,l,u,c,d,h,f=!1;r||(r={}),s=r.debug||!1;try{if(u=i(),c=document.createRange(),d=document.getSelection(),(h=document.createElement("span")).textContent=t,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(n){if(n.stopPropagation(),r.format){if(n.preventDefault(),void 0===n.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[r.format]||o.default;window.clipboardData.setData(i,t)}else n.clipboardData.clearData(),n.clipboardData.setData(r.format,t)}r.onCopy&&(n.preventDefault(),r.onCopy(n.clipboardData))}),document.body.appendChild(h),c.selectNodeContents(h),d.addRange(c),!document.execCommand("copy"))throw Error("copy command was unsuccessful");f=!0}catch(i){s&&console.error("unable to copy using execCommand: ",i),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",t),r.onCopy&&r.onCopy(window.clipboardData),f=!0}catch(i){s&&console.error("unable to copy using clipboardData: ",i),s&&console.error("falling back to prompt"),n="message"in r?r.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,a),window.prompt(l,t)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(c):d.removeAllRanges()),h&&document.body.removeChild(h),u()}return f}},99846:function(t){var r;r=function(){"use strict";function t(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function r(r){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};
4i%2?t(Object(o),!0).forEach(function(t){var i,a;i=t,a=o[t],(i=n(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))})}return r}function n(t){var r=function(t,r){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof r?r:r+""}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,r){for(var i=0;i<r.length;i++){var o=r[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,n(o.key),o)}}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(t){if("string"==typeof t)return s(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var l="undefined"!=typeof window&&void 0!==window.document,u=l?window:{},c=!!l&&!!u.document.documentElement&&"ontouchstart"in u.document.documentElement,d=!!l&&"PointerEvent"in u,h="cropper",f="crop",p="move",m="zoom",g="".concat(h,"-crop"),y="".concat(h,"-disabled"),v="".concat(h,"-hidden"),b="".concat(h,"-hide"),w="".concat(h,"-invisible"),_="".concat(h,"-modal"),S="".concat(h,"-move"),E="".concat(h,"Action"),A="".concat(h,"Preview"),x="crop",k="move",O="none",P="crop",C="cropend",T="cropmove",M="cropstart",R="dblclick",I=d?"pointerdown":c?"touchstart":"mousedown",N=d?"pointermove":c?"touchmove":"mousemove",D=d?"pointerup pointercancel":c?"touchend touchcancel":"mouseup",F="ready",L="resize",$="wheel",j="zoom",U="image/jpeg",B=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,z=/^data:/,H=/^data:image\/jpeg;base64,/,q=/^img|canvas$/i,V={viewMode:0,dragMode:x,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},G=Number.isNaN||u.isNaN;function W(t){return"number"==typeof t&&!G(t)}var K=function(t){return t>0&&t<1/0};function Y(t){return void 0===t}function Z(t){return"object"===i(t)&&null!==t}var X=Object.prototype.hasOwnProperty;function J(t){if(!Z(t))return!1;try{var r=t.constructor,n=r.prototype;return r&&n&&X.call(n,"isPrototypeOf")}catch(t){return!1}}function Q(t){return"function"==typeof t}var ee=Array.prototype.slice;function et(t){return Array.from?Array.from(t):ee.call(t)}function er(t,r){return t&&Q(r)&&(Array.isArray(t)||W(t.length)?et(t).forEach(function(n,i){r.call(t,n,i,t)}):Z(t)&&Object.keys(t).forEach(function(n){r.call(t,t[n],n,t)})),t}var en=Object.assign||function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return Z(t)&&n.length>0&&n.forEach(function(r){Z(r)&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t},ei=/\.\d*(?:0|9){12}\d*$/;function eo(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return ei.test(t)?Math.round(t*r)/r:t}var ea=/^width|height|left|top|marginLeft|marginTop$/;function es(t,r){var n=t.style;er(r,function(t,r){ea.test(r)&&W(t)&&(t="".concat(t,"px")),n[r]=t})}function el(t,r){if(r){if(W(t.length)){er(t,function(t){el(t,r)});return}if(t.classList){t.classList.add(r);return}var n=t.className.trim();n?0>n.indexOf(r)&&(t.className="".concat(n," ").concat(r)):t.className=r}}function eu(t,r){if(r){if(W(t.length)){er(t,function(t){eu(t,r)});return}if(t.classList){t.classList.remove(r);return}t.className.indexOf(r)>=0&&(t.className=t.className.replace(r,""))}}function ec(t,r,n){if(r){if(W(t.length)){er(t,function(t){ec(t,r,n)});return}n?el(t,r):eu(t,r)}}var ed=/([a-z\d])([A-Z])/g;function eh(t){return t.replace(ed,"$1-$2").toLowerCase()}function ef(t,r){return Z(t[r])?t[r]:t.dataset?t.dataset[r]:t.getAttribute("data-".concat(eh(r)))}function ep(t,r,n){Z(n)?t[r]=n:t.dataset?t.dataset[r]=n:t.setAttribute("data-".concat(eh(r)),n)}var em=/\s\s*/,eg=function(){var t=!1;if(l){var r=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,r},set:function(t){r=t}});u.addEventListener("test",n,i),u.removeEventListener("test",n,i)}return t}();function ey(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;r.trim().split(em).forEach(function(r){if(!eg){var a=t.listeners;a&&a[r]&&a[r][n]&&(o=a[r][n],delete a[r][n],0===Object.keys(a[r]).length&&delete a[r],
vendor: 5,449 bytes, line 4
40===Object.keys(a).length&&delete t.listeners)}t.removeEventListener(r,o,i)})}function ev(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;r.trim().split(em).forEach(function(r){if(i.once&&!eg){var a=t.listeners,s=void 0===a?{}:a;o=function(){delete s[r][n],t.removeEventListener(r,o,i);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];n.apply(t,l)},s[r]||(s[r]={}),s[r][n]&&t.removeEventListener(r,s[r][n],i),s[r][n]=o,t.listeners=s}t.addEventListener(r,o,i)})}function eb(t,r,n){var i;return Q(Event)&&Q(CustomEvent)?i=new CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent")).initCustomEvent(r,!0,!0,n),t.dispatchEvent(i)}function ew(t){var r=t.getBoundingClientRect();return{left:r.left+(window.pageXOffset-document.documentElement.clientLeft),top:r.top+(window.pageYOffset-document.documentElement.clientTop)}}var e_=u.location,eS=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function eE(t){var r=t.match(eS);return null!==r&&(r[1]!==e_.protocol||r[2]!==e_.hostname||r[3]!==e_.port)}function eA(t){var r="timestamp=".concat(new Date().getTime());return t+(-1===t.indexOf("?")?"?":"&")+r}function ex(t){var r=t.rotate,n=t.scaleX,i=t.scaleY,o=t.translateX,a=t.translateY,s=[];W(o)&&0!==o&&s.push("translateX(".concat(o,"px)")),W(a)&&0!==a&&s.push("translateY(".concat(a,"px)")),W(r)&&0!==r&&s.push("rotate(".concat(r,"deg)")),W(n)&&1!==n&&s.push("scaleX(".concat(n,")")),W(i)&&1!==i&&s.push("scaleY(".concat(i,")"));var l=s.length?s.join(" "):"none";return{WebkitTransform:l,msTransform:l,transform:l}}function ek(t,n){var i=t.pageX,o=t.pageY,a={endX:i,endY:o};return n?a:r({startX:i,startY:o},a)}function eO(t){var r=t.aspectRatio,n=t.height,i=t.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",a=K(i),s=K(n);if(a&&s){var l=n*r;"contain"===o&&l>i||"cover"===o&&l<i?n=i/r:i=n*r}else a?n=i/r:s&&(i=n*r);return{width:i,height:n}}var eP=String.fromCharCode,eC=/^data:.*,/,eT=u.Cropper,eM=function(){var t,r;function n(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,n),!t||!q.test(t.tagName))throw Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=en({},V,J(r)&&r),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return t=[{key:"init",value:function(){var t,r=this.element,n=r.tagName.toLowerCase();if(!r[h]){if(r[h]=this,"img"===n){if(this.isImg=!0,t=r.getAttribute("src")||"",this.originalUrl=t,!t)return;t=r.src}else"canvas"===n&&window.HTMLCanvasElement&&(t=r.toDataURL());this.load(t)}}},{key:"load",value:function(t){var r,n,i,o=this;if(t){this.url=t,this.imageData={};var a=this.element,s=this.options;if(s.rotatable||s.scalable||(s.checkOrientation=!1),!s.checkOrientation||!window.ArrayBuffer){this.clone();return}if(z.test(t)){H.test(t)?this.read((er(i=new Uint8Array(n=new ArrayBuffer((r=atob(t.replace(eC,""))).length)),function(t,n){i[n]=r.charCodeAt(n)}),n)):this.clone();return}var l=new XMLHttpRequest,u=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.onabort=u,l.onerror=u,l.ontimeout=u,l.onprogress=function(){l.getResponseHeader("content-type")!==U&&l.abort()},l.onload=function(){o.read(l.response)},l.onloadend=function(){o.reloading=!1,o.xhr=null},s.checkCrossOrigin&&eE(t)&&a.crossOrigin&&(t=eA(t)),l.open("GET",t,!0),l.responseType="arraybuffer",l.withCredentials="use-credentials"===a.crossOrigin,l.send()}}},{key:"read",value:function(t){var r=this.options,n=this.imageData,i=function(t){var r=new DataView(t);try{if(255===r.getUint8(0)&&216===r.getUint8(1))for(var n=r.byteLength,i=2;i+1<n;){if(255===r.getUint8(i)&&225===r.getUint8(i+1)){d=i;break}i+=1}if(d){var o=d+4,a=d+10;if("Exif"===function(t,r,n){var i="";n+=r;for(var o=r;o<n;o+=1)i+=eP(t.getUint8(o));return i}(r,o,4)){var s=r.getUint16(a);if(((c=18761===s)||19789===s)&&42===r.getUint16(a+2,c)){var l=r.getUint32(a+4,c);l>=8&&(h=a+l)}}}if(h){var u,c,d,h,f,p,m=r.getUint16(h,c);for(p=0;p<m;p+=1)if(f=h+12*p+2,274===r.getUint16(f,c)){f+=8,u=r.getUint16(f,c),r.setUint16(f,1,c);break}}}catch(t){u=1}return u}(t),o=0,a=1,s=1;if(i>1){this.url=function(t,r){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(eP.apply(null,et(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat(r,";base64,").concat(btoa(n.join("")))}(t,U);var l=function(t){var r=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:r=-180;break;case 4:i=-1;break;case 5:r=90,i=-1;break;case 6:r=90;break;case 7:r=90,n=-1;break;case 8:r=-90}return{rotate:r,scaleX:n,scaleY:i}}(i);o=l.rotate,a=l.scaleX,s=l.scaleY}r.rotatable&&(n.rotate=o),r.scalable&&(n.scaleX=a,n.scaleY=s),this.clone()}},{key:"clone",value:function(){var t=this.element,r=this.url,n=t.crossOrigin,i=r;this.options.checkCrossOrigin&&eE(r)&&(n||(n="anonymous"),i=eA(r)),this.crossOrigin=n,this.crossOriginUrl=i;var o=document.createElement("img");n&&(o.crossOrigin=n),o.src=i||r,o.alt=t.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),el(o,b),t.parentNode.insertBefore(o,t.nextSibling)}},{key:"start",value:function(){var t=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var n=u.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(u.navigator.userAgent),i=function(r,n){en(t.imageData,{naturalWi
vendor: 15,525 bytes, line 4
4dth:r,naturalHeight:n,aspectRatio:r/n}),t.initialImageData=en({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(r.naturalWidth&&!n){i(r.naturalWidth,r.naturalHeight);return}var o=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){i(o.width,o.height),n||a.removeChild(o)},o.src=r.src,n||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(o))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,r=this.options,n=this.image,i=t.parentNode,o=document.createElement("div");o.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var a=o.querySelector(".".concat(h,"-container")),s=a.querySelector(".".concat(h,"-canvas")),l=a.querySelector(".".concat(h,"-drag-box")),u=a.querySelector(".".concat(h,"-crop-box")),c=u.querySelector(".".concat(h,"-face"));this.container=i,this.cropper=a,this.canvas=s,this.dragBox=l,this.cropBox=u,this.viewBox=a.querySelector(".".concat(h,"-view-box")),this.face=c,s.appendChild(n),el(t,v),i.insertBefore(a,t.nextSibling),eu(n,b),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,el(u,v),r.guides||el(u.getElementsByClassName("".concat(h,"-dashed")),v),r.center||el(u.getElementsByClassName("".concat(h,"-center")),v),r.background&&el(a,"".concat(h,"-bg")),r.highlight||el(c,w),r.cropBoxMovable&&(el(c,S),ep(c,E,"all")),r.cropBoxResizable||(el(u.getElementsByClassName("".concat(h,"-line")),v),el(u.getElementsByClassName("".concat(h,"-point")),v)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),Q(r.ready)&&ev(t,F,r.ready,{once:!0}),eb(t,F)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),eu(this.element,v)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],r=[{key:"noConflict",value:function(){return window.Cropper=eT,n}},{key:"setDefaults",value:function(t){en(V,J(t)&&t)}}],t&&o(n.prototype,t),r&&o(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}();return en(eM.prototype,{render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,r=this.options,n=this.container,i=this.cropper,o=Number(r.minContainerWidth),a=Number(r.minContainerHeight);el(i,v),eu(t,v);var s={width:Math.max(n.offsetWidth,o>=0?o:200),height:Math.max(n.offsetHeight,a>=0?a:100)};this.containerData=s,es(i,{width:s.width,height:s.height}),el(t,v),eu(i,v)},initCanvas:function(){var t=this.containerData,r=this.imageData,n=this.options.viewMode,i=Math.abs(r.rotate)%180==90,o=i?r.naturalHeight:r.naturalWidth,a=i?r.naturalWidth:r.naturalHeight,s=o/a,l=t.width,u=t.height;t.height*s>t.width?3===n?l=t.height*s:u=t.width/s:3===n?u=t.width/s:l=t.height*s;var c={aspectRatio:s,naturalWidth:o,naturalHeight:a,width:l,height:u};this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(t.width-c.width)/2,c.top=(t.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=en({},c)},limitCanvas:function(t,r){var n=this.options,i=this.containerData,o=this.canvasData,a=this.cropBoxData,s=n.viewMode,l=o.aspectRatio,u=this.cropped&&a;if(t){var c=Number(n.minCanvasWidth)||0,d=Number(n.minCanvasHeight)||0;s>1?(c=Math.max(c,i.width),d=Math.max(d,i.height),3===s&&(d*l>c?c=d*l:d=c/l)):s>0&&(c?c=Math.max(c,u?a.width:0):d?d=Math.max(d,u?a.height:0):u&&(c=a.width,(d=a.height)*l>c?c=d*l:d=c/l));var h=eO({aspectRatio:l,width:c,height:d});c=h.width,d=h.height,o.minWidth=c,o.minHeight=d,o.maxWidth=1/0,o.maxHeight=1/0}if(r){if(s>(u?0:1)){var f=i.width-o.width,p=i.height-o.height;o.minLeft=Math.min(0,f),o.minTop=Math.min(0,p),o.maxLeft=Math.max(0,f),o.maxTop=Math.max(0,p),u&&this.limited&&(o.minLeft=Math.min(a.left,a.left+(a.width-o.width)),o.minTop=Math.min(a.top,a.top+(a.height-o.height)),o.maxLeft=a.left,o.maxTop=a.top,2===s&&(o.width>=i.width&&(o.minLeft=Math.min(0,f),o.maxLeft=Math.max(0,f)),o.height>=i.height&&(o.minTop=Math.min(0,p),o.maxTop=Math.max(0,p))))}else o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=i.width,o.maxTop=i.height}},renderCanvas:function(t,r){var n=this.canvasData,i=this.imageData;if(r){var o=function(t){var r=t.width,n=t.height,i=t.degree;if(90==(i=Math.abs(i)%180))return{width:n,height:r};var o=i%90*Math.PI/180,a=Math.sin(o),s=Math.cos(o),l=r*s+n*a,u=r*a+n*s;return i>90?{width:u,height:l}:{width:l,height:u}}({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),a=o.width,s=o.height,l=n.width*(a/n.naturalWidth),u=n.height*(s/n.naturalHeight);n.left-=(l-n.width)/2,n.top-=(u-n.height)/2,n.width=l,n.height=u,n.aspectRatio=a/s,n.naturalWidth=a,n.naturalHeight=s,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,es(this.canvas,en({width:n.width,height:n.height},ex({translateX:n.left,translateY:n.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var r=this.canvasData,n=this.imageData,i=n.naturalWidth*(r.width/r.naturalWidth),o=n.naturalHeight*(r.height/r.naturalHeight);en(n,{width:i,height:o,left:(r.width-i)/2,top:(r.height-o)/2}),es(this.image,en({width:n.width,height:n.height},ex(en({translateX:n.left,translateY:n.top},n)))),t&&this.output()},initCropBox:function(){var t=this.options,r=this.canvasData,n=t.aspectRatio||t.initialAspectRatio,i=Number(t.autoCropArea)||.8,o={width:r.width,height:r.height};n&&(r.height*n>r.width?o.height=o.width/n:o.width=o.height*n),this.cropBoxData=o,this.limitCropBox(!0,!0),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),o.width=Math.max(o.minWidth,o.width*i),o.height=Math.max(o.minHeight,o.height*i),o.left=r.left+(r.width-o.width)/2,o.top=r.top+(r.height-o.height)/2,o.oldLeft=o.left,o.oldTop=o.top,this.initialCropBoxData=en({},o)},limitCropBox:function(t,r){var n=this.options,i=this.containerData,o=this.canvasData,a=this.cropBoxData,s=this.limited,l=n.aspectRatio;if(t){var u=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,d=s?Math.min(i.width,o.width,o.width+o.left,i.width-o.left):i.width,h=s?Math.min(i.height,o.height,o.height+o.top,i.height-o.top):i.height;u=Math.min(u,i.width),c=Math.min(c,i.height),l&&(u&&c?c*l>u?c=u/l:u=c*l:u?c=u/l:c&&(u=c*l),h*l>d?h=d/l:d=h*l),a.minWidth=Math.min(u,d),a.minHeight=Math.min(c,h),a.maxWidth=d,a.maxHeight=h}r&&(s?(a.minLeft=Math.max(0,o.left),a.minTop=Math.max(0,o.top),a.maxLeft=Math.min(i.width,o.left+o.width)-a.width,a.maxTop=Math.min(i.height,o.top+o.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=i.width-a.width,a.maxTop=i.height-a.height))},renderCropBox:function(){var t=this.options,r=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCropBox(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,t.movable&&t.cropBoxMovable&&ep(this.face,E,n.width>=r.width&&n.height>=r.height?p:"all"),es(this.cropBox,en({width:n.width,height:n.height},ex({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),eb(this.element,P,this.getData())}},{initPreview:function(){var t=this.element,r=this.crossOrigin,n=this.options.preview,i=r?this.crossOriginUrl:this.url,o=t.alt||"The image to preview",a=document.createElement("img");if(r&&(a.crossOrigin=r),a.src=i,a.alt=o,this.viewBox.appendChild(a),this.viewBoxImage=a,n){var s=n;"string"==typeof n?s=t.ownerDocument.querySelectorAll(n):n.querySelector&&(s=[n]),this.previews=s,er(s,function(t){var n=document.createElement("img");ep(t,A,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),r&&(n.crossOrigin=r),n.src=i,n.alt=o,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)})}},resetPreview:function(){er(this.previews,function(t){var r=ef(t,A);es(t,{width:r.width,height:r.height}),t.innerHTML=r.html,function(t,r){if(Z(t[r]))try{delete t[r]}catch(n){t[r]=void 0}else if(t.dataset)try{delete t.dataset[r]}catch(n){t.dataset[r]=void 0}else t.removeAttribute("data-".concat(eh(r)))}(t,A)})},preview:function(){var t=this.imageData,r=this.canvasData,n=this.cropBoxData,i=n.width,o=n.height,a=t.width,s=t.height,l=n.left-r.left-t.left,u=n.top-r.top-t.top;this.cropped&&!this.disabled&&(es(this.viewBoxImage,en({width:a,height:s},ex(en({translateX:-l,translateY:-u},t)))),er(this.previews,function(r){var n=ef(r,A),c=n.width,d=n.height,h=c,f=d,p=1;i&&(f=o*(p=c/i)),o&&f>d&&(h=i*(p=d/o),f=d),es(r,{width:h,height:f}),es(r.getElementsByTagName("img")[0],en({width:a*p,height:s*p},ex(en({translateX:-l*p,translateY:-u*p},t))))}))}},{bind:function(){var t=this.element,r=this.options,n=this.cropper;Q(r.cropstart)&&ev(t,M,r.cropstart),Q(r.cropmove)&&ev(t,T,r.cropmove),Q(r.cropend)&&ev(t,C,r.cropend),Q(r.crop)&&ev(t,P,r.crop),Q(r.zoom)&&ev(t,j,r.zoom),ev(n,I,this.onCropStart=this.cropStart.bind(this)),r.zoomable&&r.zoomOnWheel&&ev(n,$,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),r.toggleDragModeOnDblclick&&ev(n,R,this.onDblclick=this.dblclick.bind(this)),ev(t.ownerDocument,N,this.onCropMove=this.cropMove.bind(this)),ev(t.ownerDocument,D,this.onCropEnd=this.cropEnd.bind(this)),r.responsive&&ev(window,L,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,r=this.options,n=this.cropper;Q(r.cropstart)&&ey(t,M,r.cropstart),Q(r.cropmove)&&ey(t,T,r.cropmove),Q(r.cropend)&&ey(t,C,r.cropend),Q(r.crop)&&ey(t,P,r.crop),Q(r.zoom)&&ey(t,j,r.zoom),ey(n,I,this.onCropStart),r.zoomable&&r.zoomOnWheel&&ey(n,$,this.onWheel,{passive:!1,capture:!0}),r.toggleDragModeOnDblclick&&ey(n,R,this.onDblclick),ey(t.ownerDocument,N,this.onCropMove),ey(t.ownerDocument,D,this.onCropEnd),r.responsive&&ey(window,L,this.onResize)}},{resize:function(){if(!this.disabled){var t,r,n=this.options,i=this.container,o=this.containerData,a=i.offsetWidth/o.width,s=i.offsetHeight/o.height,l=Math.abs(a-1)>Math.abs(s-1)?a:s;1!==l&&(n.restore&&(t=this.getCanvasData(),r=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(er(t,function(r,n){t[n]=r*l})),this.setCropBoxData(er(r,function(t,n){r[n]=t*l}))))}},dblclick:function(){var t;this.disabled||this.options.dragMode===O||this.setDragMode(((t=this.dragBox).classList?t.classList.contains(g):t.className.indexOf(g)>-1)?k:x)},wheel:function(t){var r=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;!this.disabled&&(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){r.wheeling=!1},50),t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,t)))},cropStart:function(t){var r,n=t.buttons,i=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(W(n)&&1!==n||W(i)&&0!==i||t.ctrlKey))){var o=this.options,a=this.pointers;t.changedTouches?er(t.changedTouches,function(t){a[t.identifier]=ek(t)}):a[t.pointerId||0]=ek(t),r=Object.keys(a).length>1&&o.zoomable&&o.zoomOnTouch?m:ef(t.target,E),B.test(r)&&!1!==eb(this.element,M,{originalEvent:t,action:r})&&(t.preventDefault(),this.action=r,this.cropping=!1,r===f&&(this.cropping=!0,el(this.dragBox,_)))}},cropMove:function(t){var r=this.action;if(!this.disabled&&r){var n=this.pointers;t.preventDefault(),!1!==eb(this.element,T,{originalEvent:t,action:r})&&(t.changedTouches?er(t.changedTouches,function(t){en(n[t.identifier]||{},ek(t,!0))}):en(n[t.pointerId||0]||{},ek(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var r=this.action,n=this.pointers;t.changedTouches?er(t.changedTouches,function(t){delete n[t.identifier]}):delete n[t.pointerId||0],r&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,ec(this.dragBox,_,this.cropped&&this.options.modal)),eb(this.element,C,{originalEvent:t,action:r}))}}},{change:function(t){var n,i,o,a=this.options,s=this.canvasData,l=this.containerData,u=this.cropBoxData,c=this.pointers,d=this.action,h=a.aspectRatio,g=u.left,y=u.top,b=u.width,w=u.height,_=g+b,S=y+w,E=0,A=0,x=l.width,k=l.height,O=!0;!h&&t.shiftKey&&(h=b&&w?b/w:1),this.limited&&(E=u.minLeft,A=u.minTop,x=E+Math.min(l.width,s.width,s.left+s.width),k=A+Math.min(l.height,s.height,s.top+s.height));var P=c[Object.keys(c)[0]],C={x:P.endX-P.startX,y:P.endY-P.startY},T=function(t){switch(t){case"e":_+C.x>x&&(C.x=x-_);break;case"w":g+C.x<E&&(C.x=E-g);break;case"n":y+C.y<A&&(C.y=A-y);break;case"s":S+C.y>k&&(C.y=k-S)}};switch(d){case"all":g+=C.x,y+=C.y;break;case"e":if(C.x>=0&&(_>=x||h&&(y<=A||S>=k))){O=!1;break}T("e"),(b+=C.x)<0&&(d="w",g-=b=-b),h&&(w=b/h,y+=(u.height-w)/2);break;case"n":if(C.y<=0&&(y<=A||h&&(g<=E||_>=x))){O=!1;break}T("n"),w-=C.y,y+=C.y,w<0&&(d="s",y-=w=-w),h&&(b=w*h,g+=(u.width-b)/2);break;case"w":if(C.x<=0&&(g<=E||h&&(y<=A||S>=k))){O=!1;break}
vendor: 4,102 bytes, line 4
4T("w"),b-=C.x,g+=C.x,b<0&&(d="e",g-=b=-b),h&&(w=b/h,y+=(u.height-w)/2);break;case"s":if(C.y>=0&&(S>=k||h&&(g<=E||_>=x))){O=!1;break}T("s"),(w+=C.y)<0&&(d="n",y-=w=-w),h&&(b=w*h,g+=(u.width-b)/2);break;case"ne":if(h){if(C.y<=0&&(y<=A||_>=x)){O=!1;break}T("n"),w-=C.y,y+=C.y,b=w*h}else T("n"),T("e"),C.x>=0?_<x?b+=C.x:C.y<=0&&y<=A&&(O=!1):b+=C.x,C.y<=0?y>A&&(w-=C.y,y+=C.y):(w-=C.y,y+=C.y);b<0&&w<0?(d="sw",b=-b,y-=w=-w,g-=b):b<0?(d="nw",g-=b=-b):w<0&&(d="se",y-=w=-w);break;case"nw":if(h){if(C.y<=0&&(y<=A||g<=E)){O=!1;break}T("n"),w-=C.y,y+=C.y,b=w*h,g+=u.width-b}else T("n"),T("w"),C.x<=0?g>E?(b-=C.x,g+=C.x):C.y<=0&&y<=A&&(O=!1):(b-=C.x,g+=C.x),C.y<=0?y>A&&(w-=C.y,y+=C.y):(w-=C.y,y+=C.y);b<0&&w<0?(d="se",b=-b,y-=w=-w,g-=b):b<0?(d="ne",g-=b=-b):w<0&&(d="sw",y-=w=-w);break;case"sw":if(h){if(C.x<=0&&(g<=E||S>=k)){O=!1;break}T("w"),b-=C.x,g+=C.x,w=b/h}else T("s"),T("w"),C.x<=0?g>E?(b-=C.x,g+=C.x):C.y>=0&&S>=k&&(O=!1):(b-=C.x,g+=C.x),C.y>=0?S<k&&(w+=C.y):w+=C.y;b<0&&w<0?(d="ne",b=-b,y-=w=-w,g-=b):b<0?(d="se",g-=b=-b):w<0&&(d="nw",y-=w=-w);break;case"se":if(h){if(C.x>=0&&(_>=x||S>=k)){O=!1;break}T("e"),b+=C.x,w=b/h}else T("s"),T("e"),C.x>=0?_<x?b+=C.x:C.y>=0&&S>=k&&(O=!1):b+=C.x,C.y>=0?S<k&&(w+=C.y):w+=C.y;b<0&&w<0?(d="nw",b=-b,y-=w=-w,g-=b):b<0?(d="sw",g-=b=-b):w<0&&(d="ne",y-=w=-w);break;case p:this.move(C.x,C.y),O=!1;break;case m:this.zoom((n=r({},c),i=0,er(c,function(t,r){delete n[r],er(n,function(r){var n=Math.abs(t.startX-r.startX),o=Math.abs(t.startY-r.startY),a=Math.abs(t.endX-r.endX),s=Math.abs(t.endY-r.endY),l=Math.sqrt(n*n+o*o),u=(Math.sqrt(a*a+s*s)-l)/l;Math.abs(u)>Math.abs(i)&&(i=u)})}),i),t),O=!1;break;case f:if(!C.x||!C.y){O=!1;break}o=ew(this.cropper),g=P.startX-o.left,y=P.startY-o.top,b=u.minWidth,w=u.minHeight,C.x>0?d=C.y>0?"se":"ne":C.x<0&&(g-=b,d=C.y>0?"sw":"nw"),C.y<0&&(y-=w),!this.cropped&&(eu(this.cropBox,v),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}O&&(u.width=b,u.height=w,u.left=g,u.top=y,this.action=d,this.renderCropBox()),er(c,function(t){t.startX=t.endX,t.startY=t.endY})}},{crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&el(this.dragBox,_),eu(this.cropBox,v),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=en({},this.initialImageData),this.canvasData=en({},this.initialCanvasData),this.cropBoxData=en({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(en(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),eu(this.dragBox,_),el(this.cropBox,v)),this},replace:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),r?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,er(this.previews,function(r){r.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,eu(this.cropper,y)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,el(this.cropper,y)),this},destroy:function(){var t=this.element;return t[h]&&(t[h]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate()),this},move:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=n.left,o=n.top;return this.moveTo(Y(t)?t:i+Number(t),Y(r)?r:o+Number(r))},moveTo:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=!1;return t=Number(t),r=Number(r),this.ready&&!this.disabled&&this.options.movable&&(W(t)&&(n.left=t,i=!0),W(r)&&(n.top=r,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(t,r){var n=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,r)},zoomTo:function(t,r,n){var i=this.options,o=this.canvasData,a=o.width,s=o.height,l=o.naturalWi
vendor: 3,316 bytes, line 4
4dth,u=o.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&i.zoomable){var c=l*t,d=u*t;if(!1===eb(this.element,j,{ratio:t,oldRatio:a/l,originalEvent:n}))return this;if(n){var h,f,p,m=this.pointers,g=ew(this.cropper),y=m&&Object.keys(m).length?(h=0,f=0,p=0,er(m,function(t){var r=t.startX,n=t.startY;h+=r,f+=n,p+=1}),h/=p,f/=p,{pageX:h,pageY:f}):{pageX:n.pageX,pageY:n.pageY};o.left-=(y.pageX-g.left-o.left)/a*(c-a),o.top-=(y.pageY-g.top-o.top)/s*(d-s)}else J(r)&&W(r.x)&&W(r.y)?(o.left-=(r.x-o.left)/a*(c-a),o.top-=(r.y-o.top)/s*(d-s)):(o.left-=(c-a)/2,o.top-=(d-s)/2);o.width=c,o.height=d,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return W(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var r=this.imageData.scaleY;return this.scale(t,W(r)?r:1)},scaleY:function(t){var r=this.imageData.scaleX;return this.scale(W(r)?r:1,t)},scale:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,i=!1;return t=Number(t),r=Number(r),this.ready&&!this.disabled&&this.options.scalable&&(W(t)&&(n.scaleX=t,i=!0),W(r)&&(n.scaleY=r,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,o=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){t={x:a.left-o.left,y:a.top-o.top,width:a.width,height:a.height};var s=i.width/i.naturalWidth;if(er(t,function(r,n){t[n]=r/s}),r){var l=Math.round(t.y+t.height),u=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=u-t.x,t.height=l-t.y}}else t={x:0,y:0,width:0,height:0};return n.rotatable&&(t.rotate=i.rotate||0),n.scalable&&(t.scaleX=i.scaleX||1,t.scaleY=i.scaleY||1),t},setData:function(t){var r=this.options,n=this.imageData,i=this.canvasData,o={};if(this.ready&&!this.disabled&&J(t)){var a=!1;r.rotatable&&W(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,a=!0),r.scalable&&(W(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,a=!0),W(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var s=n.width/n.naturalWidth;W(t.x)&&(o.left=t.x*s+i.left),W(t.y)&&(o.top=t.y*s+i.top),W(t.width)&&(o.width=t.width*s),W(t.height)&&(o.height=t.height*s),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?en({},this.containerData):{}},getImageData:function(){return this.sized?en({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,r={};return this.ready&&er(["left","top","width","height","naturalWidth","naturalHeight"],function(n){r[n]=t[n]}),r},setCanvasData:function(t){var r=this.canvasData,n=r.aspectRatio;return this.ready&&!this.disabled&&J(t)&&(W(t.left)&&(r.left=t.left),W(t.top)&&(r.top=t.top),W(t.width)?(r.width=t.width,r.height=t.width/n):W(t.height)&&(r.height=t.height,r.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,r=this.cropBoxData;return this.ready&&this.cropped&&(t={left:r.left,top:r.top,width:r.width,height:r.height}),t||{}},setCropBoxData:function(t){var r,n,i=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&J(t)&&(W(t.left)&&(i.left
4=t.left),W(t.top)&&(i.top=t.top),W(t.width)&&t.width!==i.width&&(r=!0,i.width=t.width),W(t.height)&&t.height!==i.height&&(n=!0,i.height=t.height),o&&(r?i.height=i.width/o:n&&(i.width=i.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var t,r,n,i,o,s,l,u,c,d,h,f,p,m,g,y,v,b,w,_,S,E,A,x,k,O,P,C,T,M,R,I,N,D,F,L,$,j,U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var B=this.canvasData,z=(t=this.image,n=(r=this.imageData).aspectRatio,i=r.naturalWidth,o=r.naturalHeight,s=r.rotate,l=r.scaleX,u=r.scaleY,c=B.aspectRatio,d=B.naturalWidth,h=B.naturalHeight,f=U.fillColor,p=U.imageSmoothingEnabled,m=U.imageSmoothingQuality,y=void 0===(g=U.maxWidth)?1/0:g,b=void 0===(v=U.maxHeight)?1/0:v,_=void 0===(w=U.minWidth)?0:w,E=void 0===(S=U.minHeight)?0:S,x=(A=document.createElement("canvas")).getContext("2d"),k=eO({aspectRatio:c,width:y,height:b}),O=eO({aspectRatio:c,width:_,height:E},"cover"),P=Math.min(k.width,Math.max(O.width,d)),C=Math.min(k.height,Math.max(O.height,h)),T=eO({aspectRatio:n,width:y,height:b}),M=eO({aspectRatio:n,width:_,height:E},"cover"),R=Math.min(T.width,Math.max(M.width,i)),I=Math.min(T.height,Math.max(M.height,o)),A.width=eo(P),A.height=eo(C),x.fillStyle=void 0===f?"transparent":f,x.fillRect(0,0,P,C),x.save(),x.translate(P/2,C/2),x.rotate((void 0===s?0:s)*Math.PI/180),x.scale(void 0===l?1:l,void 0===u?1:u),x.imageSmoothingEnabled=void 0===p||p,x.imageSmoothingQuality=void 0===m?"low":m,x.drawImage.apply(x,[t].concat(a([-R/2,-I/2,R,I].map(function(t){return Math.floor(eo(t))})))),x.restore(),A);if(!this.cropped)return z;var H=this.getData(U.rounded),q=H.x,V=H.y,G=H.width,W=H.height,K=z.width/Math.floor(B.naturalWidth);1!==K&&(q*=K,V*=K,G*=K,W*=K);var Y=G/W,Z=eO({aspectRatio:Y,width:U.maxWidth||1/0,height:U.maxHeight||1/0}),X=eO({aspectRatio:Y,width:U.minWidth||0,height:U.minHeight||0},"cover"),J=eO({aspectRatio:Y,width:U.width||(1!==K?z.width:G),height:U.height||(1!==K?z.height:W)}),Q=J.width,ee=J.height;Q=Math.min(Z.width,Math.max(X.width,Q)),ee=Math.min(Z.height,Math.max(X.height,ee));var et=document.createElement("canvas"),er=et.getContext("2d");et.width=eo(Q),et.height=eo(ee),er.fillStyle=U.fillColor||"transparent",er.f
4illRect(0,0,Q,ee);var en=U.imageSmoothingEnabled,ei=U.imageSmoothingQuality;er.imageSmoothingEnabled=void 0===en||en,ei&&(er.imageSmoothingQuality=ei);var ea=z.width,es=z.height,el=q,eu=V;el<=-G||el>ea?(el=0,N=0,F=0,$=0):el<=0?(F=-el,$=N=Math.min(ea,G+(el=0))):el<=ea&&(F=0,$=N=Math.min(G,ea-el)),N<=0||eu<=-W||eu>es?(eu=0,D=0,L=0,j=0):eu<=0?(L=-eu,j=D=Math.min(es,W+(eu=0))):eu<=es&&(L=0,j=D=Math.min(W,es-eu));var ec=[el,eu,N,D];if($>0&&j>0){var ed=Q/G;ec.push(F*ed,L*ed,$*ed,j*ed)}return er.drawImage.apply(er,[z].concat(a(ec.map(function(t){return Math.floor(eo(t))})))),et},setAspectRatio:function(t){var r=this.options;return!this.disabled&&!Y(t)&&(r.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var r=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var o=t===x,a=r.movable&&t===k;t=o||a?t:O,r.dragMode=t,ep(n,E,t),ec(n,g,o),ec(n,S,a),r.cropBoxMovable||(ep(i,E,t),ec(i,g,o),ec(i,S,a))}return this}}),eM},t.exports=r()},80751:function(t,r,n){var i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,o=function(){function t(){this.fetch=!1,this.DOMException=i.DOMException}return t.prototype=i,new t}();(function(t){var r=void 0!==o&&o||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},i={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function u(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var r={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return i.iterable&&(r[Symbol.iterator]=function(){return r}),r}function d(t){this.map={},t instanceof d?t.forEach(function(t,r){this.append(r,t)},this):Array.isArray(t)?t.forEach(function(t){if(2!=t.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(r){this.append(r,t[r])},this)}function h(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(TypeError("Already read"));t.bodyUsed=!0}}function f(t){return new Promise(function(r,n){t.onload=function(){r(t.result)},t.onerror=function(){n(t.error)}})}function p(t){var r=new FileReader,n=f(r);return r.readAsArrayBuffer(t),n}function m(t){if(t.slice)return t.slice(0);var r=new Uint8Array(t.byteLength);return r.set(new Uint8Array(t)),r.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){if(this.bodyUsed=this.bodyUsed,this._bodyInit=t,t){if("string"==typeof t)this._bodyText=t;else if(i.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(i.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else{var r;i.arrayBuffer&&i.blob&&(r=t)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=m(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=m(t):this._bodyText=t=Object.prototype.toString.call(t)}}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return h(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(i.blob)return this.blob().then(p);throw Error("could not read as ArrayBuffer")},this.text=function(){var t,r,n,i,o,a=h(this);if(a)return a;
4if(this._bodyBlob)return t=this._bodyBlob,n=f(r=new FileReader),o=(i=/charset=([A-Za-z0-9_-]+)/.exec(t.type))?i[1]:"utf-8",r.readAsText(t,o),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var r=new Uint8Array(t),n=Array(r.length),i=0;i<r.length;i++)n[i]=String.fromCharCode(r[i]);return n.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},i.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,r){t=l(t),r=u(r);var n=this.map[t];this.map[t]=n?n+", "+r:r},d.prototype.delete=function(t){delete this.map[l(t)]},d.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},d.prototype.set=function(t,r){this.map[l(t)]=u(r)},d.prototype.forEach=function(t,r){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(r,this.map[n],n,this)},d.prototype.keys=function(){var t=[];return this.forEach(function(r,n){t.push(n)}),c(t)},d.prototype.values=function(){var t=[];return this.forEach(function(r){t.push(r)}),c(t)},d.prototype.entries=function(){var t=[];return this.forEach(function(r,n){t.push([n,r])}),c(t)},i.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);var y=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(t,n){if(!(this instanceof v))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,o,a=(n=n||{}).body;if(t instanceof v){if(t.bodyUsed)throw TypeError("Already read");this.url=t.url,this.credentials=t.credentials,n.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=n.credentials||this.credentials||"same-origin",(n.headers||!this.headers)&&(this.headers=new d(n.headers)),this.method=(o=(i=n.method||this.method||"GET").toUpperCase(),y.indexOf(o)>-1?o:i),this.mode=n.mode||this.mode||null,this.signal=n.signal||this.signal||function(){if("AbortController"in r)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),("GET"===this.method||"HEAD"===this.method)&&("no-store"===n.cache||"no-cache"===n.cache)){var s=/([?&])_=[^&]*/;s.test(this.url)?this.url=this.url.replace(s,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function b(t){var r=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");r.append(decodeURIComponent(i),decodeURIComponent(o))}}),r}function w(t,r){if(!(this instanceof w))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===r.statusText?"":""+r.statusText,this.headers=new d(r.headers),this.url=r.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},g.call(v.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var t=new w(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var _=[301,302,303,307,308];w.redirect=function(t,r){if(-1===_.indexOf(r))throw RangeError("Invalid status code");return new w(null,{status:r,headers:{location:t}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(r){t.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(n,o){return new Promise(function(a,s){var c=new v(n,o);if(c.signal&&c.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var h=new XMLHttpRequest;function f(){h.abort()}if(h.onload=function(){var t,r,n={statusText:h.statusText,headers:(t=h.getAllResponseHeaders()||"",r=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}
4).forEach(function(t){var n=t.split(":"),i=n.shift().trim();if(i){var o=n.join(":").trim();try{r.append(i,o)}catch(t){console.warn("Response "+t.message)}}}),r)};0===c.url.indexOf("file://")&&(h.status<200||h.status>599)?n.status=200:n.status=h.status,n.url="responseURL"in h?h.responseURL:n.headers.get("X-Request-URL");var i="response"in h?h.response:h.responseText;setTimeout(function(){a(new w(i,n))},0)},h.onerror=function(){setTimeout(function(){s(TypeError("Network request failed"))},0)},h.ontimeout=function(){setTimeout(function(){s(TypeError("Network request timed out"))},0)},h.onabort=function(){setTimeout(function(){s(new t.DOMException("Aborted","AbortError"))},0)},h.open(c.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(r){return t}}(c.url),!0),"include"===c.credentials?h.withCredentials=!0:"omit"===c.credentials&&(h.withCredentials=!1),"responseType"in h&&(i.blob?h.responseType="blob":i.arrayBuffer&&(h.responseType="arraybuffer")),o&&"object"==typeof o.headers&&!(o.headers instanceof d||r.Headers&&o.headers instanceof r.Headers)){var p=[];Object.getOwnPropertyNames(o.headers).forEach(function(t){p.push(l(t)),h.setRequestHeader(t,u(o.headers[t]))}),c.headers.forEach(function(t,r){-1===p.indexOf(r)&&h.setRequestHeader(r,t)})}else c.headers.forEach(function(t,r){h.setRequestHeader(r,t)});c.signal&&(c.signal.addEventListener("abort",f),h.onreadystatechange=function(){4===h.readyState&&c.signal.removeEventListener("abort",f)}),h.send(void 0===c._bodyInit?null:c._bodyInit)})}S.polyfill=!0,r.fetch||(r.fetch=S,r.Headers=d,r.Request=v,r.Response=w),t.Headers=d,t.Request=v,t.Response=w,t.fetch=S})({}),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var a=i.fetch?i:o;(r=a.fetch).default=a.fetch,r.fetch=a.fetch,r.Headers=a.Headers,r.Request=a.Request,r.Response=a.Response,t.exports=r},45239:function(t,r){var n;function i(t,r){var n=[],i=0;function o(t){return n.push(t),r}function a(){return n[i++]}return{tokenize:function(r){return r.replace(t,o)},detokenize:function(t){return t.replace(RegExp("("+r+")","g"),a)}}}n=new function(){var t="`TMP`",r="`COMMENT`",n="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",a="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",s="direction\\s*:\\s*",l="['\"]?\\s*",u="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",d="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",h="(?:[_a-z0-9-]|"+n+"|"+d+")",f=o+"(?:\\s*"+a+"|"+("-?(?:[_a-z]|"+n+"|"+d)+")"+h+"*)?",p="((?:-?"+f+")|(?:inherit|auto))",m="((?:-?"+f+")|(?:inherit|auto)|"+("(?:calc\\((?:"+("(?:(?:\\(|\\)|\\t| )|(?:-?"+o+"(?:\\s*")+a)+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",g="(#?"+h+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",y="(?:[!#$%&*-~]|"+n+"|"+d+")*?",v="(?![a-zA-Z])",b="
4(?!("+h+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+r+")*?{)",w="(?!"+y+l+"\\))",_="(?="+y+l+"\\))",S="(\\s*(?:!important\\s*)?[;}])",E=/`TMP`/g,A=/`TMPLTR`/g,x=/`TMPRTL`/g,k=RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),O=RegExp("("+c+b+"[^;}]+;?)","gi"),P=RegExp("("+c+"[^\\}]*?})","gi"),C=RegExp("("+s+")ltr","gi"),T=RegExp("("+s+")rtl","gi"),M=RegExp(u+"(left)"+v+w+b,"gi"),R=RegExp(u+"(right)"+v+w+b,"gi"),I=RegExp(u+"(left)"+_,"gi"),N=RegExp(u+"(right)"+_,"gi"),D=/(:dir\( *)ltr( *\))/g,F=/(:dir\( *)rtl( *\))/g,L=RegExp(u+"(ltr)"+_,"gi"),$=RegExp(u+"(rtl)"+_,"gi"),j=RegExp(u+"([ns]?)e-resize","gi"),U=RegExp(u+"([ns]?)w-resize","gi"),B=RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+m+"(\\s+)"+m+"(\\s+)"+m+"(\\s+)"+m+S,"gi"),z=RegExp("((?:-color|border-style)\\s*:\\s*)"+g+"(\\s+)"+g+"(\\s+)"+g+"(\\s+)"+g+S,"gi"),H=RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+f+")","gi"),q=RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),V=RegExp("(border-radius\\s*:\\s*)"+p+"(?:(?:\\s+"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?)?(?:(?:(?:\\s*\\/\\s*)"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?(?:\\s+"+p+")?)?"+S,"gi"),G=RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+p,"gi"),W=RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+g,"gi"),K=RegExp("(text-shadow\\s*:\\s*)"+g+"(\\s*)"+p,"gi"),Y=RegExp("(text-shadow\\s*:\\s*)"+p,"gi"),Z=RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+p+"(\\s*\\))","gi"),X=RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+p+"((?:\\s*,\\s*"+p+"){0,2}\\s*\\))","gi");function J(t,r,n){var i,o;return"%"===n.slice(-1)&&(-1!==(i=n.indexOf("."))?(o=n.length-i-2,n=(n=100-parseFloat(n)).toFixed(o)+"%"):n=100-parseFloat(n)+"%"),r+n}function Q(t){switch(t.length){case 4:t=[t[1],t[0],t[3],t[2]];break;case 3:t=[t[1],t[0],t[1],t[2]];break;case 2:t=[t[1],t[0]];break;case 1:t=[t[0]]}return t.join(" ")}function ee(t,r){var n=[].slice.call(arguments),i=n.slice(2,6).filter(function(t){return t}),o=n.slice(6,10).filter(function(t){return t}),a=n[10]||"";return r+(o.length?Q(i)+" / "+Q(o):Q(i))+a}function et(t){return 0===parseFloat(t)?t:"-"===t[0]?t.slice(1):"-"+t}function er(t,r,n){return r+et(n)}function en(t,r,n,i,o){return r+n+et(i)+o}function ei(t,r,n,i,o){return r+n+i+et(o)}return{transform:function(n,o){var a=new i(O,"`NOFLIP_SINGLE`"),s=new i(P,"`NOFLIP_CLASS`"),l=new i(k,r);return n=l.tokenize(s.tokenize(a.tokenize(n.replace("`","%60")))),o.transformDirInUrl&&(n=n.replace(D,"$1`TMPLTR`$2").replace(F,"$1`TMPRTL`$2").replace(L,"$1"+t).replace($,"$1ltr").replace(E,"rtl").replace(A,"ltr").replace(x,"rtl")),o.transformEdgeInUrl&&(n=n.replace(I,"$1"+t).replace(N,"$1left").replace(E,"right")),n=n.replace(C,"$1"+t).replace(T,"$1ltr").replace(E,"rtl").replace(M,"$1"+t).replace(R,"$1left").replace(E,"right").replace(j,"$1$2"+t).replace(U,"$1$2e-resize").replace(E,"w-resize").replace(V,ee).replace(G,er).replace(W,ei).replace(K,ei).replace(Y,er).replace(Z,en).replace(X,en).replace(B,"$1$2$3$8$5$6$7$4$9").replace(z,"$1$2$3$8$5$6$7$4$9").replace(H,J).replace(q,J),n=a.detokenize(s.detokenize(l.detokenize(n)))}}},t.exports?r.transform=function(t,r,i){var o;return"object"==typeof r?o=r:(o={},"boolean"==typeof r&&(o.transformDirInUrl=r),"boolean"==typeof i&&(o.transformEdgeInUrl=i)),n.transform(t,o)}:"undefined"!=typeof window&&(window.cssjanus=n)},7656:function(t,r,n){"use strict";function i(t,r){if(r.length<t)throw TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+r.length+" present")}n.d(r,{Z:function(){return i}})},47869:function(t,r,n){"use strict";function i(t){if(null===t||!0===t||!1===t)return NaN;var r=Number(t);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}n.d(r,{Z:function(){return i}})},7366:function(t,r,n){"use strict";n.d(r,{Z:function(){return c}});var i=n(41154),o=n(25721),a=n(55463),s=n(99735),l=n(7656),u=n(47869);function c(t,r){if((0,l.Z)(2,arguments),!r||"object"!==(0,i.Z)(r))return new Date(NaN);var n=r.years?(0,u.Z)(r.years):0,c=r.months?(0,u.Z)(r.months):0,d=r.weeks?(0,u.Z)(r.weeks):0,h=r.days?(0,u.Z)(r.days):0,f=r.hours?(0,u.Z)(r.hours):0,p=r.minutes?(0,u.Z)(r.minutes):0,m=r.seconds?(0,u.Z)(r.seconds):0,g=(0,s.Z)(t),y=c||n?(0,a.Z)(g,c+12*n):g;return new Date((h||d?(0,o.Z)(y,h+7*d):y).getTime()+1e3*(m+60*(p+60*f)))}},25721:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(47869),o=n(99735),a=n(7656);function s(t,r){(0,a.Z)(2,arguments);var n=(0,o.Z)(t),s=(0,i.Z)(r);return isNaN(s)?new Date(NaN):(s&&n.setDate(n.getDate()+s),n)}},44355:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(47869),o=n(99735),a=n(7656);function s(t,r){return(0,a.Z)(2,arguments),new Date((0,o.Z)(t).getTime()+(0,i.Z)(r))}},24298:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(47869),o=n(44355),a=n(7656);function s(t,r){(0,a.Z)(2,arguments);var n=(0,i.Z)(r);return(0,o.Z)(t,6e4*n)}},55463:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(47869),o=n(99735),a=n(7656);function s(t,r){(0,a.Z)(2,arguments);var n=(0,o.Z)(t),s=(0,i.Z)(r);if(isNaN(s))return new Date(NaN);if(!s)return n;var l=n.getDate(),u=new Date(n.getTime());return(u.setMonth(n.getMonth()+s+1,0),l>=u.getDate())?u:(n.setFullYear(u.getFullYear(),u.getMonth(),l),n)}},62891:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(99735),o=n(7656),a={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}};function s(t,r,n){(0,o.Z)(2,arguments);var s,l=function(t,r){return(0,o.Z)(2,arguments),(0,i.Z)(t).getTime()-(0,i.Z)(r).getTime()}(t,r)/1e3;return((s=null==n?void 0:n.roundingMethod)?a[s]:a.trunc)(l)}},17863:function(t,r,n){"use strict";n.d(r,{Z:function(){return U}});var i,o=n(41154),a=n(7656),s=n(99735),l=n(44355),u=n(47869);function c(t){(0,a.Z)(1,arguments);var r=(0,s.Z)(t),n=r.getUTCDay();return r.setUTCDate(r.getUTCDate()-((n<1?7:0)+n-1)),r.setUTCHours(0,0,0,0),r}function d(t){(0,a.Z)(1,arguments);var r=(0,s.Z)(t),n=r.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var o=c(i),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var u=c(l);return r.getTime()>=o.getTime()?n+1:r.getTime()>=u.getTime()?n:n-1}var h={};function f(t,r){(0,a.Z)(1,arguments);var n,i,o,l,c,d,f,p,m=(0,u.Z)(null!==(n=null!==(i=null!==(o=null!==(l=null==r?void 0:r.weekStartsOn)&&void 0!==l?l:null==r?void 0:null===(c=r.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==o?o:h.weekStartsOn)&&void 0!==i?i:null===(f=h.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,s.Z)(t),y=g.getUTCDay();return g.setUTCDate(g.getUTCDate()-((y<m?7:0)+y-m)),g.setUTCHours(0,0,0,0),g}function p(t,r){(0,a.Z)(1,arguments);var n,i,o,l,c,d,p,m,g=(0,s.Z)(t),y=g.getUTCFullYear(),v=(0,u.Z)(null!==(n=null!==(i=null!==(o=null!==(l=null==r?void 0:r.firstWeekContainsDate)&&void 0!==l?l:null==r?void 0:null===(c=r.locale)||void 0===c?void 0:null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==o?o:h.firstWeekContainsDate)&&void 0!==i?i:null===(p=h.locale)||void 0===p?void 0:null===(m=p.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(y+1,0,v),b.setUTCHours(0,0,0,0);var w=f(b,r),_=new Date(0);_.setUTCFullYear(y,0,v),_.setUTCHours(0,0,0,0);var S=f(_,r);return g.getTime()>=w.getTime()?y+1:g.getTime()>=S.getTime()?y:y-1}function m(t,r){for(var n=Math.abs(t).toString();n.length<r;)n="0"+n;return(t<0?"-":"")+n}var g={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return m("yy"===r?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return"M"===r?String(n+1):m(n+1,2)},d:function(t,r){return m(t.getUTCDate(),r.length)},h:function(t,r){return m(t.getUTCHours()%12||12,r.length)},H:function(t,r){return m(t.getUTCHours(),r.length)},m:function(t,r){return m(t.getUTCMinutes(),r.length)},s:function(t,r){return m(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length;return m(Math.floor(t.getUTCMilliseconds()*Math.pow(10,n-3)),r.length)}},y={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function v(t,r){var n=t>0?"-":"+",i=Math.abs(t),o=Math.floor(i/60),a=i%60;return 0===a?n+String(o):n+String(o)+(r||"")+m(a,2)}function b(t,r){return t%60==0?(t>0?"-":"+")+m(Math.abs(t)/60,2):w(t,r)}function w(t,r){var n=Math.abs(t);return(t>0?"-":"+")+m(Math.floor(n/60),2)+(r||"")+m(n%60,2)}var _={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if("yo"===r){var i=t.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return g.y(t,r)},Y:function(t,r,n,i){var o=p(t,i),a=o>0?o:1-o;return"YY"===r?m(a%100,2):"Yo"===r?n.ordinalNumber(a,{unit:"year"}):m(a,r.length)},R:function(t,r){return m(d(t),r.length)},u:function(t,r){return m(t.getUTCFullYear(),r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return m(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return m(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return g.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return m(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=function(t,r){(0,a.Z)(1,arguments);var n=(0,s.Z)(t);return Math.round((f(n,r).getTime()-(function(t,r){(0,a.Z)(1,arguments);var n,i,o,s,l,c,d,m,g=(0,u.Z)(null!==(n=null!==(i=null!==(o=null!==(s=null==r?void 0:r.firstWeekContainsDate)&&void 0!==s?s:null==r?void 0:null===(l=r.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:h.firstWeekContainsDate)&&void 0!==i?i:null===(d=h.locale)||void 0===d?void 0:null===(m=d.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==n?n:1),y=p(t,r),v=new Date(0);return v.setUTCFullYear(y,0,g),v.setUTCHours(0,0,0,0),f(v,r)})(n,r).getTime())/6048e5)+1}(t,i);return"wo"===r?n.ordinalNumber(o,{unit:"week"}):m(o,r.length)},I:function(t,r,n){var i=function(t){(0,a.Z)(1,arguments);var r=(0,s.Z)(t);return Math.round((c(r).getTime()-(function(t){(0,a.Z)(1,arguments);var r=d(t),n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),c(n)})(r).getTime())/6048e5)+1}(t);return"Io"===r?n.ordinalNumber(i,{unit:"week"}):m(i,r.length)},d:function(t,r,n){return"do"===r?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):g.d(t,r)},D:function(t,r,n){var i=function(t){(0,a.Z)(1,arguments);var r=(0,s.Z)(t),n=r.getTime();return r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0),Math.floor((n-r.getTime())/864e5)+1}(t);return"Do"===r?n.ordinalNumber(i,{unit:"dayOfYear"}):m(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(a);case"ee":return m(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(a);case"cc":return m(a,r.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=0===i?7:i;switch(r){case"i":return String(o);case"ii":return m(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i,o=t.getUTCHours();
4switch(i=12===o?y.noon:0===o?y.midnight:o/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i,o=t.getUTCHours();switch(i=o>=17?y.evening:o>=12?y.afternoon:o>=4?y.morning:y.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if("ho"===r){var i=t.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return g.h(t,r)},H:function(t,r,n){return"Ho"===r?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):g.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return"Ko"===r?n.ordinalNumber(i,{unit:"hour"}):m(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return(0===i&&(i=24),"ko"===r)?n.ordinalNumber(i,{unit:"hour"}):m(i,r.length)},m:function(t,r,n){return"mo"===r?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):g.m(t,r)},s:function(t,r,n){return"so"===r?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):g.s(t,r)},S:function(t,r){return g.S(t,r)},X:function(t,r,n,i){var o=(i._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(r){case"X":return b(o);case"XXXX":case"XX":return w(o);default:return w(o,":")}},x:function(t,r,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(r){case"x":return b(o);case"xxxx":case"xx":return w(o);default:return w(o,":")}},O:function(t,r,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+v(o,":");default:return"GMT"+w(o,":")}},z:function(t,r,n,i){var o=(i._originalDate||t).getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+v(o,":");default:return"GMT"+w(o,":")}},t:function(t,r,n,i){return m(Math.floor((i._originalDate||t).getTime()/1e3),r.length)},T:function(t,r,n,i){return m((i._originalDate||t).getTime(),r.length)}},S=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});default:return r.date({width:"full"})}},E=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});default:return r.time({width:"full"})}},A={p:E,P:function(t,r){var n,i=t.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return S(t,r);switch(o){case"P":n=r.dateTime({width:"short"});break;case"PP":n=r.dateTime({width:"medium"});break;case"PPP":n=r.dateTime({width:"long"});break;default:n=r.dateTime({width:"full"})}return n.replace("{{date}}",S(o,r)).replace("{{time}}",E(a,r))}},x=["D","DD"],k=["YY","YYYY"];function O(t,r,n){if("YYYY"===t)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(r,"`) for formatting years to the input `").
vendor: 4,678 bytes, line 4
4concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw RangeError("Use `yy` instead of `YY` (in `".concat(r,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw RangeError("Use `d` instead of `D` (in `".concat(r,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw RangeError("Use `dd` instead of `DD` (in `".concat(r,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var P={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function C(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.width?String(r.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var T={date:C({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:C({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:C({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},M={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function R(t){return function(r,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=null!=n&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,l=null!=n&&n.width?String(n.width):t.defaultWidth;i=t.values[l]||t.values[s]}return i[t.argumentCallback?t.argumentCallback(r):r]}}function I(t){return function(r){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.width,a=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],s=r.match(a);if(!s)return null;var l=s[0],u=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?function(t,r){for(var n=0;n<t.length;n++)if(r(t[n]))return n}(u,function(t){return t.test(l)}):function(t,r){for(var n in t)if(t.hasOwnProperty(n)&&r(t[n]))return n}(u,function(t){return t.test(l)});return n=t.valueCallback?t.valueCallback(c):c,{value:n=i.valueCallback?i.valueCallback(n):n,rest:r.slice(l.length)}}}var N={code:"en-US",formatDistance:function(t,r,n){var i,o=P[t];return(i="string"==typeof o?o:1===r?o.one:o.other.replace("{{count}}",r.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:T,formatRelative:function(t,r,n,i){return M[t]},localize:{ordinalNumber:function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:R({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:R({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:R({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:R({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
4ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:R({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(i={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(i.matchPattern);if(!n)return null;var o=n[0],a=t.match(i.parsePattern);if(!a)return null;var s=i.valueCallback?i.valueCallback(a[0]):a[0];return{value:s=r.valueCallback?r.valueCallback(s):s,rest:t.slice(o.length)}}),era:I({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:I({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:I({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:I({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:I({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},D=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,F=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,L=/^'([^]*?)'?$/,$=/''/g,j=/[a-zA-Z]/;function U(t,r,n){(0,a.Z)(2,arguments);var i,c,d,f,p,m,g,y,v,b,w,S,E,P,C,T,M,R,I,U=String(r),B=null!==(c=null!==(d=null==n?void 0:n.locale)&&void 0!==d?d:h.locale)&&void 0!==c?c:N,z=(0,u.Z)(null!==(f=null!==(p=null!==(m=null!==(g=null==n?void 0:n.firstWeekContainsDate)&&void 0!==g?g:null==n?void 0:null===(y=n.locale)||void 0===y?void 0:null===(v=y.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==m?m:h.firstWeekContainsDate)&&void 0!==p?p:null===(b=h.locale)||void 0===b?void 0:null===(w=b.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==f?f:1);if(!(z>=1&&z<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=(0,u.Z)(null!==(S=null!==(E=null!==(P=null!==(C=null==n?void 0:n.weekStartsOn)&&void 0!==C?C:null==n?void 0:null===(T=n.locale)||void 0===T?void 0:null===(M=T.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==P?P:h.weekStartsOn)&&void 0!==E?E:null===(R=h.locale)||void 0===R?void 0:null===(I=R.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==S?S:0);if(!(H>=0&&H<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!B.localize)throw RangeError("locale must contain localize property");if(!B.formatLong)throw RangeError("locale must contain formatLong property");var q=(0,s.Z)(t);if(!function(t){return(0,a.Z)(1,arguments),(!!function(t){return(0,a.Z)(1,arguments),t instanceof Date||"object"===(0,o.Z)(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)||"number"==typeof t)&&!isNaN(Number((0,s.Z)(t)))}(q))throw RangeError("Invalid time value");var V=((i=new Date(Date.UTC(q.getFullYear(),q.getMonth(),q.getDate(),q.getHours(),q.getMinutes(),q.getSeconds(),q.getMilliseconds()))).setUTCFullYear(q.getFullYear()),q.getTime()-i.getTime()),G=function(t,r){(0,a.Z)(2,arguments);var n=(0,u.Z)(r);return(0,l.Z)(t,-n)}(q,V),W={firstWeekContainsDate:z,weekStartsOn:H,locale:B,_originalDate:q};return U.match(F).map(function(t){var r=t[0];return"p"===r||"P"===r?(0,A[r])(t,B.formatLong):t}).join("").match(D).map(function(i){if("''"===i)return"'";var o,a=i[0];if("'"===a)return(o=i.match(L))?o[1].replace($,"'"):i;var s=_[a];if(s)return null!=n&&n.useAdditionalWeekYearTokens||-1===k.indexOf(i)||O(i,r,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||-1===x.indexOf(i)||O(i,r,String(t)),s(G,i,B.localize,W);
4if(a.match(j))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return i}).join("")}},56311:function(t,r,n){"use strict";n.d(r,{Z:function(){return u}});var i=n(41154),o=n(29575),a=n(47869),s=n(55463),l=n(7656);function u(t,r){if((0,l.Z)(2,arguments),!r||"object"!==(0,i.Z)(r))return new Date(NaN);var n=r.years?(0,a.Z)(r.years):0,u=r.months?(0,a.Z)(r.months):0,c=r.weeks?(0,a.Z)(r.weeks):0,d=r.days?(0,a.Z)(r.days):0,h=r.hours?(0,a.Z)(r.hours):0,f=r.minutes?(0,a.Z)(r.minutes):0,p=r.seconds?(0,a.Z)(r.seconds):0,m=function(t,r){(0,l.Z)(2,arguments);var n=(0,a.Z)(r);return(0,s.Z)(t,-n)}(t,u+12*n);return new Date((0,o.Z)(m,d+7*c).getTime()-1e3*(p+60*(f+60*h)))}},29575:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(25721),o=n(7656),a=n(47869);function s(t,r){(0,o.Z)(2,arguments);var n=(0,a.Z)(r);return(0,i.Z)(t,-n)}},99735:function(t,r,n){"use strict";n.d(r,{Z:function(){return a}});var i=n(41154),o=n(7656);function a(t){(0,o.Z)(1,arguments);var r=Object.prototype.toString.call(t);return new Date(t instanceof Date||"object"===(0,i.Z)(t)&&"[object Date]"===r?t.getTime():"number"==typeof t||"[object Number]"===r?t:NaN)}},71096:function(t){var r;r=function(){"use strict";var t="millisecond",r="second",n="minute",i="hour",o="week",a="month",s="quarter",l="year",u="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,r,n){var i=String(t);return!i||i.length>=r?t:""+Array(r+1-i.length).join(n)+t},p="en",m={};m[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],n=t%100;return"["+t+(r[(n-20)%10]||r[n]||"th")+"]"}};var g="$isDayjsObject",y=function(t){return t instanceof _||!(!t||!t[g])},v=function t(r,n,i){var o;if(!r)return p;if("string"==typeof r){var a=r.toLowerCase();m[a]&&(o=a),n&&(m[a]=n,o=a);var s=r.split("-");if(!o&&s.length>1)return t(s[0])}else{var l=r.name;m[l]=r,o=l}return!i&&o&&(p=o),o||!i&&p},b=function(t,r){if(y(t))return t.clone();var n="object"==typeof r?r:{};return n.date=t,n.args=arguments,new _(n)},w={s:f,z:function(t){var r=-t.utcOffset(),n=Math.abs(r);return(r<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function t(r,n){if(r.date()<n.date())return-t(n,r);var i=12*(n.year()-r.year())+(n.month()-r.month()),o=r.clone().add(i,a),s=n-o<0,l=r.clone().add(i+(s?-1:1),a);return+(-(i+(n-o)/(s?o-l:l-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:a,y:l,w:o,d:"day",D:u,h:i,m:n,s:r,ms:t,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};w.l=v,w.i=y,w.w=function(t,r){return b(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var _=function(){function f(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=f.prototype;return p.parse=function(t){this.$d=function(t){var r=t.date,n=t.utc;if(null===r)return new Date(NaN);if(w.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var i=r.match(d);if(i){var o=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],o,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(r)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return w},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(t,r){var n=b(t);return this.startOf(r)<=n&&n<=this.endOf(r)},p.isAfter=function(t,r){return b(t)<this.startOf(r)},p.isBefore=function(t,r){return this.endOf(r)<b(t)},p.$g=function(t,r,n){return w.u(t)?this[r]:this.set(n,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,s){var c=this,d=!!w.u(s)||s,h=w.p(t),f=function(t,r){var n=w.w(c.$u?Date.UTC(c.$y,r,t):new Date(c.$y,r,t),c);return d?n:n.endOf("day")},p=function(t,r){return w.w(c.toDate()[t].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(r)),c)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(h){case l:return d?f(1,0):f(31,11);case a:return d?f(1,g):f(0,g+1);case o:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return f(d?y-_:y+(6-_),g);case"day":case u:return p(v+"Hours",0);case i:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case r:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(o,s){var c,d=w.p(o),h="set"+(this.$u?"UTC":""),f=((c={}
vendor: 4,320 bytes, line 4
4).day=h+"Date",c[u]=h+"Date",c[a]=h+"Month",c[l]=h+"FullYear",c[i]=h+"Hours",c[n]=h+"Minutes",c[r]=h+"Seconds",c[t]=h+"Milliseconds",c)[d],p="day"===d?this.$D+(s-this.$W):s;if(d===a||d===l){var m=this.clone().set(u,1);m.$d[f](p),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(t,r){return this.clone().$set(t,r)},p.get=function(t){return this[w.p(t)]()},p.add=function(t,s){var u,c=this;t=Number(t);var d=w.p(s),h=function(r){var n=b(c);return w.w(n.date(n.date()+Math.round(r*t)),c)};if(d===a)return this.set(a,this.$M+t);if(d===l)return this.set(l,this.$y+t);if("day"===d)return h(1);if(d===o)return h(7);var f=((u={})[n]=6e4,u[i]=36e5,u[r]=1e3,u)[d]||1,p=this.$d.getTime()+t*f;return w.w(p,this)},p.subtract=function(t,r){return this.add(-1*t,r)},p.format=function(t){var r=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var i=t||"YYYY-MM-DDTHH:mm:ssZ",o=w.z(this),a=this.$H,s=this.$m,l=this.$M,u=n.weekdays,d=n.months,f=n.meridiem,p=function(t,n,o,a){return t&&(t[n]||t(r,i))||o[n].slice(0,a)},m=function(t){return w.s(a%12||12,t,"0")},g=f||function(t,r,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(h,function(t,i){return i||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return w.s(r.$y,4,"0");case"M":return l+1;case"MM":return w.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,d,3);case"MMMM":return p(d,l);case"D":return r.$D;case"DD":return w.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return p(n.weekdaysMin,r.$W,u,2);case"ddd":return p(n.weekdaysShort,r.$W,u,3);case"dddd":return u[r.$W];case"H":return String(a);case"HH":return w.s(a,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return g(a,s,!0);case"A":return g(a,s,!1);case"m":return String(s);case"mm":return w.s(s,2,"0");case"s":return String(r.$s);case"ss":return w.s(r.$s,2,"0");case"SSS":return w.s(r.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,u,c){var d,h=this,f=w.p(u),p=b(t),m=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,y=function(){return w.m(h,p)};switch(f){case l:d=y()/12;break;case a:d=y();break;case s:d=y()/3;break;case o:d=(g-m)/6048e5;break;case"day":d=(g-m)/864e5;break;case i:d=g/36e5;break;case n:d=g/6e4;break;case r:d=g/1e3;break;default:d=g}return c?d:w.a(d)},p.daysInMonth=function(){return this.endOf(a).$D},p.$locale=function(){return m[this.$L]},p.locale=function(t,r){if(!t)return this.$L;var n=this.clone(),i=v(t,r,!0);return i&&(n.$L=i),n},p.clone=function(){return w.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),S=_.prototype;return b.prototype=S,[["$ms",t],["$s",r],["$m",n],["$H",i],["$W","day"],["$M",a],["$y",l],["$D",u]].forEach(function(t){S[t[1]]=function(r){return this.$g(r,t[0],t[1])}}),b.extend=function(t,r){return t.$i||(t(r,_,b),t.$i=!0),b},b.locale=v,b.isDayjs=y,b.unix=function(t){return b(1e3*t)},b.en=m[p],b.Ls=m,b.p={},b},t.exports=r()},70939:function(t){var r;r=function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],n=t%100;return"["+t+(r[(n-20)%10]||r[n]||"th")+"]"}}},t.exports=r()},76416:function(t,r,n){var i;i=function(t){"use strict";var r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
4d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(t){return t+"\xba"}};return(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(r,null,!0),r},t.exports=i(n(71096))},44508:function(t,r,n){var i;i=function(t){"use strict";var r={name:"zh-cn",weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),ordinal:function(t,r){return"W"===r?t+"å¨":t+"æ¥"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},relativeTime:{future:"%så
",past:"%så",s:"å ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},meridiem:function(t,r){var n=100*t+r;return n<600?"忍":n<900?"æ©ä¸":n<1100?"ä¸å":n<1300?"ä¸å":n<1800?"ä¸å":"æä¸"}};return(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(r,null,!0),r},t.exports=i(n(71096))},31732:function(t,r,n){var i;i=function(t){"use strict";var r={name:"zh-hk",months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),ordinal:function(t,r){return"W"===r?t+"é±":t+"æ¥"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥ HH:mm",LLLL:"YYYYå¹´MæDæ¥dddd HH:mm",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},relativeTime:{future:"%så
§",past:"%så",s:"å¹¾ç§",m:"ä¸åé",mm:"%d åé",h:"ä¸å°æ",hh:"%d å°æ",d:"ä¸å¤©",dd:"%d 天",M:"ä¸åæ",MM:"%d åæ",y:"ä¸å¹´",yy:"%d å¹´"},meridiem:function(t,r){var n=100*t+r;return n<600?"忍":n<900?"æ©ä¸":n<1100?"ä¸å":n<1300?"ä¸å":n<1800?"ä¸å":"æä¸"}};return(t&&"object"==typeof t&&"default"in t?t:{default:t}).default.locale(r,null,!0),r},t.exports=i(n(71096))},50148:function(t){var r;r=function(){return function(t,r){var n=r.prototype,i=n.format;n.format=function(t){var r=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var o=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((r.$M+1)/3);case"Do":return n.ordinal(r.$D);case"gggg":return r.weekYear();case"GGGG":return r.isoWeekYear();case"wo":return n.ordinal(r.week(),"W");case"w":case"ww":return o.s(r.week(),"w"===t?1:2,"0");case"W":case"WW":return o.s(r.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return o.s(String(0===r.$H?24:r.$H),"k"===t?1:2,"0");case"X":return Math.floor(r.$d.getTime()/1e3);case"x":return r.$d.getTime();case"z":return"["+r.offsetName()+"]";case"zzz":return"["+r.offsetName("long")+"]";default:return t}});return i.bind(this)(a)}}},t.exports=r()},64043:function(t){var r;r=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,i=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,s={},l=function(t){return(t=+t)+(t>68?1900:2e3)},u=function(t){return function(r){this[t]=+r}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var r=t.match(/([+-]|\d\d)/g),n=60*r[1]+(+r[2]||0);return 0===n?0:"+"===r[0]?-n:n}(t)}],d=function(t){var r=s[t];return r&&(r.indexOf?r:r.s.concat(r.f))},h=function(t,r){var n,i=s.meridiem;if(i){for(var o=1;o<=24;o+=1)if(t.indexOf(i(o,0,r))>-1){n=o>12;break}}else n=t===(r?"pm":"PM");return n},f={A:[a,function(t){this.afternoon=h(t,!1)}],a:[a,function(t){this.afternoon=h(t,!0)}],Q:[n,function(t){this.month=3*(t-1)+1}],S:[n,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[i,u("day")],Do:[a,function(t){var r=s.ordinal,n=t.match(/\d+/);if(this.day=n[0],r)for(var i=1;i<=31;i+=1)r(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],w:[o,u("week")],ww:[i,u("week")],M:[o,u("month")],MM:[i,u("month")],MM
4M:[a,function(t){var r=d("months"),n=(d("monthsShort")||r.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(t){var r=d("months").indexOf(t)+1;if(r<1)throw Error();this.month=r%12||r}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(t){this.year=l(t)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};return function(n,i,o){o.p.customParseFormat=!0,n&&n.parseTwoDigitYear&&(l=n.parseTwoDigitYear);var a=i.prototype,u=a.parse;a.parse=function(n){var i=n.date,a=n.utc,l=n.args;this.$u=a;var c=l[1];if("string"==typeof c){var d=!0===l[2],h=!0===l[3],p=l[2];h&&(p=l[2]),s=this.$locale(),!d&&p&&(s=o.Ls[p]),this.$d=function(n,i,o,a){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*n);var l=(function(n){var i,o;i=n,o=s&&s.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(r,n,i){var a=i&&i.toUpperCase();return n||o[i]||t[i]||o[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,r,n){return r||n.slice(1)})})).match(r),l=a.length,u=0;u<l;u+=1){var c=a[u],d=f[c],h=d&&d[0],p=d&&d[1];a[u]=p?{regex:h,parser:p}:c.replace(/^\[|\]$/g,"")}return function(t){for(var r={},n=0,i=0;n<l;n+=1){var o=a[n];if("string"==typeof o)i+=o.length;else{var s=o.regex,u=o.parser,c=t.slice(i),d=s.exec(c)[0];u.call(r,d),t=t.replace(d,"")}}return function(t){var r=t.afternoon;if(void 0!==r){var n=t.hours;r?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(r),r}})(i)(n),u=l.year,c=l.month,d=l.day,h=l.hours,p=l.minutes,m=l.seconds,g=l.milliseconds,y=l.zone,v=l.week,b=new Date,w=d||(u||c?1:b.getDate()),_=u||b.getFullYear(),S=0;u&&!c||(S=c>0?c-1:b.getMonth());var E,A=h||0,x=p||0,k=m||0,O=g||0;return y?new Date(Date.UTC(_,S,w,A,x,k,O+60*y.offset*1e3)):o?new Date(Date.UTC(_,S,w,A,x,k,O)):(E=new Date(_,S,w,A,x,k,O),v&&(E=a(E).week(v).toDate()),E)}catch(t){return new Date("")}}(i,c,a,o),this.init(),p&&!0!==p&&(this.$L=this.locale(p).$L),(d||h)&&i!=this.format(c)&&(this.$d=new Date("")),s={}}else if(c instanceof Array)for(var m=c.length,g=1;g<=m;g+=1){l[1]=c[g-1];var y=o.apply(this,l);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}g===m&&(this.$d=new Date(""))}else u.call(this,n)}}},t.exports=r()},16211:function(t){var r;r=function(){return function(t,r,n){r.prototype.isBetween=function(t,r,i,o){var a=n(t),s=n(r),l="("===(o=o||"()")[0],u=")"===o[1];return(l?this.isAfter(a,i):!this.isBefore(a,i))&&(u?this.isBefore(s,i):!this.isAfter(s,i))||(l?this.isBefore(a,i):!this.isAfter(a,i))&&(u?this.isAfter(s,i):!this.isBefore(s,i))}}},t.exports=r()},22495:function(t){var r;r=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(r,n,i){var o=n.prototype,a=o.format;i.en.formats=t,o.format=function(r){void 0===r&&(r="YYYY-MM-DDTHH:mm:ssZ");var n,i,o=this.$locale().formats,s=(n=r,i=void 0===o?{}:o,n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(r,n,o){var a=o&&o.toUpperCase();return n||i[o]||t[o]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,r,n){return r||n.slice(1)})}));return a.call(this,s)}}},t.exports=r()},16206:function(t){var r;r=function(){"use strict";var t="minute",r=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,o,a){var s=o.prototype;a.utc=function(t){var r={date:t,utc:!0,args:arguments};return new o(r)},s.utc=function(r){var n=a(this.toDate(),{locale:this.$L,utc:!0});return r?n.add(this.utcOffset(),t):n},s.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=s.parse;s.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),l.call(this,t)};var u=s.init;s.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else u.call(this)};var c=s.utcOffset;s.utcOffset=function(i,o){var a=this.$utils().u;if(a(i))return this.$u?0:a(this.$offset)?c.call(this):this.$offset;if("string"==typeof i&&null===(i=function(t){void 0===t&&(t="");var i=t.match(r);if(!i)return null;var o=(""+i[0]).match(n)||["-",0,0],a=o[0],s=60*+o[1]+ +o[2];return 0===s?0:"+"===a?s:-s}(i)))return this;var s=16>=Math.abs(i)?60*i:i,l=this;if(o)return l.$offset=s,l.$u=0===i,l;if(0!==i){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(l=this.local().add(s+u,t)).$offset=s,l.$x.$localOffset=u}else l=this.utc();return l};var d=s.format;s.format=function(t){var r=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,r)},s.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var h=s.toDate;s.toDate=function(t){return"s"===t&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var f=s.diff;s.diff=function(t,r,n){if(t&&this.$u===t.$u)return f.call(this,t,r,n);var i=this.local(),o=a(t).local();return f.call(i,o,r,n)}}},t.exports=r()},46356:function(t){var r;r=function(){"use strict";var t="week",r="year";return function(n,i,o){var a=i.prototype;a.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var i=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var a=o(this).startOf(r).add(1,r).date(i),s=o(this).endOf(t);if(a.isBefore(s))return 1}var l=o(this).startOf(r).date(i).startOf(t).subtract(1,"millisecond"),u=this.diff(l,t,!0);return u<0?o(this).startOf("week").week():Math.ceil(u)},a.weeks=function(t){return void 0===t&&(t=null),this.week(t)}}},t.exports=r()},31464:function(t,r,n){let i;var o=n(40257);r.formatArgs=function(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;r.splice(1,0,n,"color: inherit");let i=0,o=0;r[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(i++,"%c"===t&&(o=i))}),r.splice(o,0,n)},r.save=function(t){try{t?r.storage.setItem("debug",t):r.storage.removeItem("debug")}catch(t){}},r.load=function(){let t;try{t=r.storage.getItem("debug")}catch(t){}return!t&&void 0!==o&&"env"in o&&(t=o.env.DEBUG),t},r.useColors=function(){let t;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
4("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage=function(){try{return localStorage}catch(t){}}(),r.destroy=(i=!1,()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=n(27244)(r);let{formatters:a}=t.exports;a.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},27244:function(t,r,n){t.exports=function(t){function r(t){let n,o,a;let s=null;function l(...t){if(!l.enabled)return;let i=Number(new Date),o=i-(n||i);l.diff=o,l.prev=n,l.curr=i,n=i,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";a++;let o=r.formatters[i];if("function"==typeof o){let r=t[a];n=o.call(l,r),t.splice(a,1),a--}return n}),r.formatArgs.call(l,t),(l.log||r.log).apply(l,t)}return l.namespace=t,l.useColors=r.useColors(),l.color=r.selectColor(t),l.extend=i,l.destroy=r.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==r.namespaces&&(o=r.namespaces,a=r.enabled(t)),a),set:t=>{s=t}}),"function"==typeof r.init&&r.init(l),l}function i(t,n){let i=r(this.namespace+(void 0===n?":":n)+t);return i.log=this.log,i}function o(t,r){let n=0,i=0,o=-1,a=0;for(;n<t.length;)if(i<r.length&&(r[i]===t[n]||"*"===r[i]))"*"===r[i]?(o=i,a=n):n++,i++;else{if(-1===o)return!1;i=o+1,n=++a}for(;i<r.length&&"*"===r[i];)i++;return i===r.length}return r.debug=r,r.default=r,r.coerce=function(t){return t instanceof Error?t.stack||t.message:t},r.disable=function(){let t=[...r.names,...r.skips.map(t=>"-"+t)].join(",");return r.enable(""),t},r.enable=function(t){for(let n of(r.save(t),r.namespaces=t,r.names=[],r.skips=[],("string"==typeof t?t:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===n[0]?r.skips.push(n.slice(1)):r.names.push(n)},r.enabled=function(t){for(let n of r.skips)if(o(t,n))return!1;for(let n of r.names)if(o(t,n))return!0;return!1},r.humanize=n(35169),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(n=>{r[n]=t[n]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(t){let n=0;for(let r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r)|0;return r.colors[Math.abs(n)%r.colors.length]},r.enable(r.load()),r}},65383:function(t,r,n){"use strict";n.d(r,{qY:function(){return p}});var i=n(40257),o=function(t,r,n){if(n||2==arguments.length)for(var i,o=0,a=r.length;o<a;o++)!i&&o in r||(i||(i=Array.prototype.slice.call(r,0,o)),i[o]=r[o]);return t.concat(i||Array.prototype.slice.call(r))},a=function(t,r,n){this.name=t,this.version=r,this.os=n,this.type="browser"},s=function(t){this.version=t,this.type="node",this.name="node",this.os=i.platform},l=function(t,r,n,i){this.name=t,this.version=r,this.os=n,this.bot=i,this.type="bot-device"},u=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},c=function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},d=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,h=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;
vendor: 2,123 bytes, line 4
4\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],f=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function p(t){return t?m(t):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new c:"undefined"!=typeof navigator?m(navigator.userAgent):void 0!==i&&i.version?new s(i.version.slice(1)):null}function m(t){var r=""!==t&&h.reduce(function(r,n){var i=n[0],o=n[1];if(r)return r;var a=o.exec(t);return!!a&&[i,a]},!1);if(!r)return null;var n=r[0],i=r[1];if("searchbot"===n)return new u;var s=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);s?s.length<3&&(s=o(o([],s,!0),function(t){for(var r=[],n=0;n<t;n++)r.push("0");return r}(3-s.length),!0)):s=[];var c=s.join("."),p=function(t){for(var r=0,n=f.length;r<n;r++){var i=f[r],o=i[0];if(i[1].exec(t))return o}return null}(t),m=d.exec(t);return m&&m[1]?new l(n,c,p,m[1]):new a(n,c,p)}}
4,95922:function(t,r){r.Od=function(t){return t.replace(/[^\u0000-\u007e]/g,function(t){return i[t]||t})};for(var n=[{base:" ",chars:"\xa0"},{base:"0",chars:"ß"},{base:"A",chars:"â¶ï¼¡\xc0\xc1\xc2ẦẤẪẨ\xc3ÄÄáº°áº®áº´áº²È¦Ç \xc4ÇẢ\xc5ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",chars:"ê²"},{base:"AE",chars:"\xc6ǼǢ"},{base:"AO",chars:"ê´"},{base:"AU",chars:"ê¶"},{base:"AV",chars:"ê¸êº"},{base:"AY",chars:"ê¼"},{base:"B",chars:"â·ï¼¢á¸á¸á¸ÉÆ"},{base:"C",chars:"â¸ï¼£ê¾á¸ÄCÄÄÄ\xc7ÆÈ»"},{base:"D",chars:"â¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆá´
ê¹"},{base:"Dh",chars:"\xd0"},{base:"DZ",chars:"DZÇ"},{base:"Dz",chars:"DzÇ
"},{base:"E",chars:"Éâºï¼¥\xc8\xc9\xcaá»áº¾á»á»áº¼Äá¸á¸ÄÄ\xcbẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆá´"},{base:"F",chars:"ê¼â»ï¼¦á¸Æê»"},{base:"G",chars:"â¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾É¢"},{base:"H",chars:"â½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",chars:"â¾ï¼©\xcc\xcd\xceĨĪĬİ\xcfḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",chars:"â¿ï¼ªÄ´ÉÈ·"},{base:"K",chars:"âKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",chars:"âLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",chars:"Ç"},{base:"Lj",chars:"Ç"},{base:"M",chars:"âï¼á¸¾á¹á¹â±®ÆÏ»"},{base:"N",chars:"ê¤È âNǸÅ\xd1á¹Åá¹Å
á¹á¹Æêá´"},{base:"NJ",chars:"Ç"},{base:"Nj",chars:"Ç"},{base:"O",chars:"âO\xd2\xd3\xd4á»á»á»á»\xd5á¹È¬á¹Åá¹á¹ÅȮȰ\xd6Ȫá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬\xd8Ç¾ÆÆêê"},{base:"OE",chars:"Å"},{base:"OI",chars:"Æ¢"},{base:"OO",chars:"ê"},{base:"OU",chars:"È¢"},{base:"P",chars:"â
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",chars:"âï¼±êêÉ"},{base:"R",chars:"âï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",chars:"âï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",chars:"âTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"Th",chars:"\xde"},{base:"TZ",chars:"ê¨"},{base:"U",chars:"âï¼µ\xd9\xda\xdbŨṸŪṺŬ\xdcÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",chars:"âVṼṾƲêÉ
"},{base:"VY",chars:"ê "},{base:"W",chars:"âï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",chars:"âXáºáº"},{base:"Y",chars:"âYỲ\xddŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",chars:"âZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",chars:"âï½áº\xe0\xe1\xe2ầấẫẩ\xe3ÄÄằắẵẳȧǡ\xe4Çả\xe5Ç»ÇÈÈạáºáº·á¸Ä
â±¥ÉÉ"},{base:"aa",chars:"ê³"},{base:"ae",chars:"\xe6ǽǣ"},{base:"ao",chars:"êµ"},{base:"au",chars:"ê·"},{base:"av",chars:"ê¹ê»"},{base:"ay",chars:"ê½"},{base:"b",chars:"âï½á¸á¸
á¸ÆÆÉÆ"},{base:"c",chars:"ï½âÄÄÄÄ\xe7á¸ÆÈ¼ê¿â"},{base:"d",chars:"âï½á¸Äá¸á¸á¸á¸ÄÆÉÉÆá§Ôêª"},{base:"dh",chars:"\xf0"},{base:"dz",chars:"dzÇ"},{base:"e",chars:"âï½
\xe8\xe9\xeaá»áº¿á»
á»áº½Äá¸á¸ÄÄ\xebẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÇ"},{base:"f",chars:"âï½á¸Æ"},{base:"ff",chars:"ï¬"},{base:"fi",chars:"ï¬"},{base:"fl",chars:"ï¬"},{base:"ffi",chars:"ï¬"},{base:"ffl",chars:"ï¬"},{base:"g",chars:"âï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡ê¿áµ¹"},{base:"h",chars:"âï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",chars:"Æ"},{base:"i",chars:"âï½\xec\xed\xeeĩīÄ\xefḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",chars:"âï½ÄµÇ°É"},{base:"k",chars:"âï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",chars:"âï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêêÉ"},{base:"lj",chars:"Ç"},{base:"m",chars:"âï½á¸¿á¹á¹É±É¯"},{base:"n",chars:"âï½Ç¹Å\xf1á¹
Åá¹Åá¹á¹ÆÉ²Åêê¥Ð»Ô"},{base:"nj",chars:"Ç"},{base:"o",chars:"âï½\xf2\xf3\xf4á»á»á»á»\xf5á¹Èá¹Åá¹á¹Åȯȱ\xf6È«á»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«Ç\xf8Ç¿êêɵÉá´"},{base:"oe",chars:"Å"},{base:"oi",chars:"Æ£"},{base:"oo",chars:"ê"},{base:"ou",chars:"È£"},{base:"p",chars:"âï½á¹á¹Æ¥áµ½êêêÏ"},{base:"q",chars:"â ï½Éêê"},{base:"r",chars:"â¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",chars:"â¢ï½Åá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áºÊ"},{base:"ss",chars:"\xdf"},{base:"t",chars:"â£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"th",chars:"\xfe"},{base:"tz",chars:"ê©"},{base:"u",chars:"â¤ï½\xf9\xfa\xfbũṹūṻÅ\xfcÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",chars:"â¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",chars:"ê¡"},{base:"w",chars:"â¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",chars:"â§ï½áºáº"},{base:"y",chars:"â¨ï½á»³\xfdŷỹȳáº\xffá»·áºá»µÆ´Éỿ"},{base:"z",chars:"â©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],i={},o=0;o<n.length;o+=1)for(var a=n[o].chars,s=0;s<a.length;s+=1)i[a[s]]=n[o].base},46946:function(t){"use strict";var r={single_source_shortest_paths:function(t,n,i){var o,a,s,l,u,c,d,h={},f={};f[n]=0;var p=r.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(s in a=(o=p.pop()).value,l=o.cost,u=t[a]||{})u.hasOwnProperty(s)&&(c=l+u[s],d=f[s],(void 0===f[s]||d>c)&&(f[s]=c,p.push(s,c),h[s]=a));if(void 0!==i&&void 0===f[i])throw Error(["Could not find a path from ",n," to ",i,"."].join(""));return h},extract_shortest_path_from_predecessor_list:function(t,r){for(var n=[],i=r;i;)n.push(i),t[i],i=t[i];return n.reverse(),n},find_path:function(t,n,i){var o=r.single_source_shortest_paths(t,n,i);return r.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(t){var n,i=r.PriorityQueue,o={};for(n in t=t||{},i)i.hasOwnProperty(n)&&(o[n]=i[n]);return o.queue=[],o.sorter=t.sorter||i.default_sorter,o},default_sorter:function(t,r){return t.cost-r.cost},push:function(t,r){this.queue.push({value:t,cost:r}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=r},61984:function(t,r,n){"use strict";r.version=n(58274).i8,r.utils=n(36321),r.rand=n(47223),r.curve=n(64358),r.curves=n(83475),r.ec=n(90063),r.eddsa=n(37115)},21398:function(t,r,n){"use strict";var i=n(21803),o=n(36321),a=o.getNAF,s=o.getJSF,l=o.assert;function u(t,r){this.type=t,this.p=new i(r.p,16),this.red=r.prime?i.red(r.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=r.n&&new i(r.n,16),this.g=r.g&&this.pointFromJSON(r.g,r.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 11,502 bytes, line 4
4function c(t,r){this.curve=t,this.type=r,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw Error("Not implemented")},u.prototype.validate=function(){throw Error("Not implemented")},u.prototype._fixedNafMul=function(t,r){l(t.precomputed);var n,i,o=t._getDoubles(),s=a(r,1,this._bitLength),u=(1<<o.step+1)-(o.step%2==0?2:1);u/=3;var c=[];for(n=0;n<s.length;n+=o.step){i=0;for(var d=n+o.step-1;d>=n;d--)i=(i<<1)+s[d];c.push(i)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),p=u;p>0;p--){for(n=0;n<c.length;n++)(i=c[n])===p?f=f.mixedAdd(o.points[n]):i===-p&&(f=f.mixedAdd(o.points[n].neg()));h=h.add(f)}return h.toP()},u.prototype._wnafMul=function(t,r){var n=4,i=t._getNAFPoints(n);n=i.wnd;for(var o=i.points,s=a(r,n,this._bitLength),u=this.jpoint(null,null,null),c=s.length-1;c>=0;c--){for(var d=0;c>=0&&0===s[c];c--)d++;if(c>=0&&d++,u=u.dblp(d),c<0)break;var h=s[c];l(0!==h),u="affine"===t.type?h>0?u.mixedAdd(o[h-1>>1]):u.mixedAdd(o[-h-1>>1].neg()):h>0?u.add(o[h-1>>1]):u.add(o[-h-1>>1].neg())}return"affine"===t.type?u.toP():u},u.prototype._wnafMulAdd=function(t,r,n,i,o){var l,u,c,d=this._wnafT1,h=this._wnafT2,f=this._wnafT3,p=0;for(l=0;l<i;l++){var m=(c=r[l])._getNAFPoints(t);d[l]=m.wnd,h[l]=m.points}for(l=i-1;l>=1;l-=2){var g=l-1,y=l;if(1!==d[g]||1!==d[y]){f[g]=a(n[g],d[g],this._bitLength),f[y]=a(n[y],d[y],this._bitLength),p=Math.max(f[g].length,p),p=Math.max(f[y].length,p);continue}var v=[r[g],null,null,r[y]];0===r[g].y.cmp(r[y].y)?(v[1]=r[g].add(r[y]),v[2]=r[g].toJ().mixedAdd(r[y].neg())):0===r[g].y.cmp(r[y].y.redNeg())?(v[1]=r[g].toJ().mixedAdd(r[y]),v[2]=r[g].add(r[y].neg())):(v[1]=r[g].toJ().mixedAdd(r[y]),v[2]=r[g].toJ().mixedAdd(r[y].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],w=s(n[g],n[y]);for(u=0,p=Math.max(w[0].length,p),f[g]=Array(p),f[y]=Array(p);u<p;u++){var _=0|w[0][u],S=0|w[1][u];f[g][u]=b[(_+1)*3+(S+1)],f[y][u]=0,h[g]=v}}var E=this.jpoint(null,null,null),A=this._wnafT4;for(l=p;l>=0;l--){for(var x=0;l>=0;){var k=!0;for(u=0;u<i;u++)A[u]=0|f[u][l],0!==A[u]&&(k=!1);if(!k)break;x++,l--}if(l>=0&&x++,E=E.dblp(x),l<0)break;for(u=0;u<i;u++){var O=A[u];0!==O&&(O>0?c=h[u][O-1>>1]:O<0&&(c=h[u][-O-1>>1].neg()),E="affine"===c.type?E.mixedAdd(c):E.add(c))}}for(l=0;l<i;l++)h[l]=null;return o?E:E.toP()},u.BasePoint=c,c.prototype.eq=function(){throw Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(t,r){t=o.toArray(t,r);var n=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*n)return 6===t[0]?l(t[t.length-1]%2==0):7===t[0]&&l(t[t.length-1]%2==1),this.point(t.slice(1,1+n),t.slice(1+n,1+2*n));if((2===t[0]||3===t[0])&&t.length-1===n)return this.pointFromX(t.slice(1,1+n),3===t[0]);throw Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var r=this.curve.p.byteLength(),n=this.getX().toArray("be",r);return t?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",r))},c.prototype.encode=function(t,r){return o.encode(this._encode(r),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,t),r.beta=this._getBeta(),this.precomputed=r,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return!!r&&r.points.length>=Math.ceil((t.bitLength()+1)/r.step)},c.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],i=this,o=0;o<r;o+=t){for(var a=0;a<t;a++)i=i.dbl();n.push(i)}return{step:t,points:n}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],n=(1<<t)-1,i=1===n?null:this.dbl(),o=1;o<n;o++)r[o]=r[o-1].add(i);return{wnd:t,points:r}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var r=this,n=0;n<t;n++)r=r.dbl();return r}},98343:function(t,r,n){"use strict";var i=n(36321),o=n(21803),a=n(56853),s=n(21398),l=i.assert;function u(t){this.twisted=(0|t.a)!=1,this.mOneA=this.twisted&&(0|t.a)==-1,this.extended=this.mOneA,s.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|t.c)==1}function c(t,r,n,i,a){s.BasePoint.call(this,t,"projective"),null===r&&null===n&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(r,16),this.y=new o(n,16),this.z=i?new o(i,16):this.curve.one,this.t=a&&new o(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,!this.curve.extended||this.t||(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(u,s),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,r,n,i){return this.point(t,r,n,i)},u.prototype.pointFromX=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=i.redMul(a.redInvm()),l=s.redSqrt();if(0!==l.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");var u=l.fromRed().isOdd();return(r&&!u||!r&&u)&&(l=l.redNeg()),this.point(t,l)},u.prototype.pointFromY=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr(),i=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=i.redMul(a.redInvm());if(0===s.cmp(this.zero)){if(!r)return this.point(this.zero,t);throw Error("invalid point")}var l=s.redSqrt();if(0!==l.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");return l.fromRed().isOdd()!==r&&(l=l.redNeg()),this.point(l,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var r=t.x.redSqr(),n=t.y.redSqr(),i=r.redMul(this.a).redAdd(n),o=this.c2.redMul(this.one.redAdd(this.d.redMul(r).redMul(n)));return 0===i.cmp(o)},a(c,s.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,r,n,i){return new c(this,t,r,n,i)},c.fromJSON=function(t,r){return new c(t,r[0],r[1],r[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var i=this.curve._mulA(t),o=this.x.redAdd(this.y).redSqr().redISub(t).redISub(r),a=i.redAdd(r),s=a.redSub(n),l=i.redSub(r),u=o.redMul(s),c=a.redMul(l),d=o.redMul(l),h=s.redMul(a);return this.curve.point(u,c,h,d)},c.prototype._projDbl=function(){var t,r,n,i,o,a,s=this.x.redAdd(this.y).redSqr(),l=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(i=this.curve._mulA(l)).redAdd(u);this.zOne?(t=s.redSub(l).redSub(u).redMul(c.redSub(this.curve.two)),r=c.redMul(i.redSub(u)),n=c.redSqr().redSub(c).redSub(c)):(o=this.z.redSqr(),a=c.redSub(o).redISub(o),t=s.redSub(l).redISub(u).redMul(a),r=c.redMul(i.redSub(u)),n=c.redMul(a))}else i=l.redAdd(u),o=this.curve._mulC(this.z).redSqr(),a=i.redSub(o).redSub(o),t=this.curve._mulC(s.redISub(i)).redMul(a),r=this.curve._mulC(i).redMul(l.redISub(u)),n=i.redMul(a);return this.curve.point(t,r,n)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var r=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),n=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),i=this.t.redMul(this.curve.dd).redMul(t.t),o=this.z.redMul(t.z.redAdd(t.z)),a=n.redSub(r),s=o.redSub(i),l=o.redAdd(i),u=n.redAdd(r),c=a.redMul(s),d=l.redMul(u),h=a.redMul(u),f=s.redMul(l);return this.curve.point(c,d,f,h)},c.prototype._projAdd=function(t){var r,n,i=this.z.redMul(t.z),o=i.redSqr(),a=this.x.redMul(t.x),s=this.y.redMul(t.y),l=this.curve.d.redMul(a).redMul(s),u=o.redSub(l),c=o.redAdd(l),d=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(a).redISub(s),h=i.redMul(u).redMul(d);return this.curve.twisted?(r=i.redMul(c).redMul(s.redSub(this.curve._mulA(a))),n=u.redMul(c)):(r=i.redMul(c).redMul(s.redSub(a)),n=this.curve._mulC(u).redMul(c)),this.curve.point(h,r,n)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!1)},c.prototype.jmulAdd=function(t,r,n){return this.curve._wnafMulAdd(1,[this,r],[t,n],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var r=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},64358:function(t,r,n){"use strict";r.base=n(21398),r.short=n(13770),r.mont=n(75656),r.edwards=n(98343)},75656:function(t,r,n){"use strict";var i=n(21803),o=n(56853),a=n(21398),s=n(36321);function l(t){a.call(this,"mont",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(t,r,n){a.BasePoint.call(this,t,"projective"),null===r&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(r,16),this.z=new i(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(l,a),t.exports=l,l.prototype.validate=function(t){var r=t.normalize().x,n=r.redSqr(),i=n.redMul(r).redAdd(n.redMul(this.a)).redAdd(r);return 0===i.redSqrt().redSqr().cmp(i)},o(u,a.BasePoint),l.prototype.decodePoint=function(t,r){return this.point(s.toArray(t,r),1)},l.prototype.point=function(t,r){return new u(this,t,r)},l.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,r){return new u(t,r[0],r[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
4":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),r=this.x.redSub(this.z).redSqr(),n=t.redSub(r),i=t.redMul(r),o=n.redMul(r.redAdd(this.curve.a24.redMul(n)));return this.curve.point(i,o)},u.prototype.add=function(){throw Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,r){var n=this.x.redAdd(this.z),i=this.x.redSub(this.z),o=t.x.redAdd(t.z),a=t.x.redSub(t.z).redMul(n),s=o.redMul(i),l=r.z.redMul(a.redAdd(s).redSqr()),u=r.x.redMul(a.redISub(s).redSqr());return this.curve.point(l,u)},u.prototype.mul=function(t){for(var r=t.clone(),n=this,i=this.curve.point(null,null),o=[];0!==r.cmpn(0);r.iushrn(1))o.push(r.andln(1));for(var a=o.length-1;a>=0;a--)0===o[a]?(n=n.diffAdd(i,this),i=i.dbl()):(i=n.diffAdd(i,this),n=n.dbl());return i},u.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},13770:function(t,r,n){"use strict";var i=n(36321),o=n(21803),a=n(56853),s=n(21398),l=i.assert;function u(t){s.call(this,"short",t),this.a=new o(t.a,16).toRed(this.red),this.b=new o(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function c(t,r,n,i){s.BasePoint.call(this,t,"affine"),null===r&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(r,16),this.y=new o(n,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(t,r,n,i){s.BasePoint.call(this,t,"jacobian"),null===r&&null===n&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(r,16),this.y=new o(n,16),this.z=new o(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(u,s),t.exports=u,u.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(t.beta)r=new o(t.beta,16).toRed(this.red);else{var r,n,i,a=this._getEndoRoots(this.p);r=(r=0>a[0].cmp(a[1])?a[0]:a[1]).toRed(this.red)}if(t.lambda)n=new o(t.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(r))?n=s[0]:(n=s[1],l(0===this.g.mul(n).x.cmp(this.g.x.redMul(r))))}return i=t.basis?t.basis.map(function(t){return{a:new o(t.a,16),b:new o(t.b,16)}}):this._getEndoBasis(n),{beta:r,lambda:n,basis:i}}},u.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:o.mont(t),n=new o(2).toRed(r).redInvm(),i=n.redNeg(),a=new o(3).toRed(r).redNeg().redSqrt().redMul(n);return[i.redAdd(a).fromRed(),i.redSub(a).fromRed()]},u.prototype._getEndoBasis=function(t){for(var r,n,i,a,s,l,u,c,d,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,p=this.n.clone(),m=new o(1),g=new o(0),y=new o(0),v=new o(1),b=0;0!==f.cmpn(0);){var w=p.div(f);c=p.sub(w.mul(f)),d=y.sub(w.mul(m));var _=v.sub(w.mul(g));if(!i&&0>c.cmp(h))r=u.neg(),n=m,i=c.neg(),a=d;else if(i&&2==++b)break;u=c,p=f,f=c,y=m,m=d,v=g,g=_}s=c.neg(),l=d;var S=i.sqr().add(a.sqr());return s.sqr().add(l.sqr()).cmp(S)>=0&&(s=r,l=n),i.negative&&(i=i.neg(),a=a.neg()),s.negative&&(s=s.neg(),l=l.neg()),[{a:i,b:a},{a:s,b:l}]},u.prototype._endoSplit=function(t){var r=this.endo.basis,n=r[0],i=r[1],o=i.b.mul(t).divRound(this.n),a=n.b.neg().mul(t).divRound(this.n),s=o.mul(n.a),l=a.mul(i.a),u=o.mul(n.b),c=a.mul(i.b);return{k1:t.sub(s).sub(l),k2:u.add(c).neg()}},u.prototype.pointFromX=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),i=n.redSqrt();if(0!==i.redSqr().redSub(n).cmp(this.zero))throw Error("invalid point");var a=i.fromRed().isOdd();return(r&&!a||!r&&a)&&(i=i.redNeg()),this.point(t,i)},u.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,n=t.y,i=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(i).redIAdd(this.b);return 0===n.redSqr().redISub(o).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,r,n){for(var i=this._endoWnafT1,o=this._endoWnafT2,a=0;a<t.length;a++){var s=this._endoSplit(r[a]),l=t[a],u=l._getBeta();s.k1.negative&&(s.k1.ineg(),l=l.neg(!0)),s.k2.negative&&(s.k2.ineg(),u=u.neg(!0)),i[2*a]=l,i[2*a+1]=u,o[2*a]=s.k1,o[2*a+1]=s.k2}for(var c=this._wnafMulAdd(1,i,o,2*a,n),d=0;d<2*a;d++)i[d]=null,o[d]=null;return c},a(c,s.BasePoint),u.prototype.point=function(t,r,n){return new c(this,t,r,n)},u.prototype.pointFromJSON=function(t,r){return c.fromJSON(this,t,r)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.prec
vendor: 2,811 bytes, line 4
4omputed;if(t&&t.beta)return t.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var n=this.curve,i=function(t){return n.point(t.x.redMul(n.endo.beta),t.y)};t.beta=r,r.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(i)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(i)}}}return r}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,r,n){"string"==typeof r&&(r=JSON.parse(r));var i=t.point(r[0],r[1],n);if(!r[2])return i;function o(r){return t.point(r[0],r[1],n)}var a=r[2];return i.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[i].concat(a.doubles.points.map(o))},naf:a.naf&&{wnd:a.naf.wnd,points:[i].concat(a.naf.points.map(o))}},i},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t)||0===this.x.cmp(t.x))return this.curve.point(null,null);var r=this.y.redSub(t.y);0!==r.cmpn(0)&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var n=r.redSqr().redISub(this.x).redISub(t.x),i=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,i)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var r=this.curve.a,n=this.x.redSqr(),i=t.redInvm(),o=n.redAdd(n).redIAdd(n).redIAdd(r).redMul(i),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return(t=new o(t,16),this.isInfinity())?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o):this.curve._wnafMulAdd(1,i,o,2)},c.prototype.jmulAdd=function(t,r,n){var i=[this,r],o=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(i,o,!0):this.curve._wnafMulAdd(1,i,o,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());
vendor: 4,387 bytes, line 4
4if(t&&this.precomputed){var n=this.precomputed,i=function(t){return t.neg()};r.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(i)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(i)}}}return r},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(d,s.BasePoint),u.prototype.jpoint=function(t,r,n){return new d(this,t,r,n)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),n=this.x.redMul(r),i=this.y.redMul(r).redMul(t);return this.curve.point(n,i)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),n=this.z.redSqr(),i=this.x.redMul(r),o=t.x.redMul(n),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(n.redMul(this.z)),l=i.redSub(o),u=a.redSub(s);if(0===l.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=l.redSqr(),d=c.redMul(l),h=i.redMul(c),f=u.redSqr().redIAdd(d).redISub(h).redISub(h),p=u.redMul(h.redISub(f)).redISub(a.redMul(d)),m=this.z.redMul(t.z).redMul(l);return this.curve.jpoint(f,p,m)},d.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),n=this.x,i=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=n.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=n.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),f=l.redMul(d.redISub(h)).redISub(o.redMul(c)),p=this.z.redMul(s);return this.curve.jpoint(h,f,p)},d.prototype.dblp=function(t){if(0===t||this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var r,n=this;for(r=0;r<t;r++)n=n.dbl();return n}var i=this.curve.a,o=this.curve.tinv,a=this.x,s=this.y,l=this.z,u=l.redSqr().redSqr(),c=s.redAdd(s);for(r=0;r<t;r++){var d=a.redSqr(),h=c.redSqr(),f=h.redSqr(),p=d.redAdd(d).redIAdd(d).redIAdd(i.redMul(u)),m=a.redMul(h),g=p.redSqr().redISub(m.redAdd(m)),y=m.redISub(g),v=p.redMul(y);v=v.redIAdd(v).redISub(f);var b=c.redMul(l);r+1<t&&(u=u.redMul(f)),a=g,l=b,c=v}return this.curve.jpoint(a,c.redMul(o),l)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},d.prototype._zeroDbl=function(){if(this.zOne){var t,r,n,i=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(i).redISub(a);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i),u=l.redSqr().redISub(s).redISub(s),c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),t=u,r=l.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var d=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),p=this.x.redAdd(h).redSqr().redISub(d).redISub(f);p=p.redIAdd(p);var m=d.redAdd(d).redIAdd(d),g=m.redSqr(),y=f.redIAdd(f);y=(y=y.redIAdd(y)).redIAdd(y),t=g.redISub(p).redISub(p),r=m.redMul(p.redISub(t)).redISub(y),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(t,r,n)},d.prototype._threeDbl=function(){if(this.zOne){var t,r,n,i=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(i).redISub(a);s=s.redIAdd(s);var l=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),u=l.redSqr().redISub(s).redISub(s);t=u;var c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),r=l.redMul(s.redISub(u)).redISub(c),n=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),p=this.x.redSub(d).redMul(this.x.redAdd(d));p=p.redAdd(p).redIAdd(p);var m=f.redIAdd(f),g=(m=m.redIAdd(m)).redAdd(m);t=p.redSqr().redISub(g),n=this.y.redAdd(this.z).redSqr().redISub(h).redISub(d);var y=h.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),r=p.redMul(m.redISub(t)).redISub(y)}return this.curve.jpoint(t,r,n)},d.prototype._dbl=function(){var t=this.curve.a,r=this.x,n=this.y,i=this.z,o=i.redSqr().redSqr(),a=r.redSqr(),s=n.redSqr(),l=a.redAdd(a).redIAdd(a).redIAdd(t.redMul(o)),u=r.redAdd(r),c=(u=u.redIAdd(u)).redMul(s),d=l.redSqr().redISub(c.redAdd(c)),h=c.redISub(d),f=s.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=l.redMul(h).redISub(f),m=n.redAdd(n).redMul(i);return this.curve.jpoint(d,p,m)},d.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);
vendor: 4,214 bytes, line 4
4var t=this.x.redSqr(),r=this.y.redSqr(),n=this.z.redSqr(),i=r.redSqr(),o=t.redAdd(t).redIAdd(t),a=o.redSqr(),s=this.x.redAdd(r).redSqr().redISub(t).redISub(i),l=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(a)).redSqr(),u=i.redIAdd(i);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=o.redIAdd(s).redSqr().redISub(a).redISub(l).redISub(u),d=r.redMul(c);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.x.redMul(l).redISub(d);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(u.redISub(c)).redISub(s.redMul(l)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=this.z.redAdd(s).redSqr().redISub(n).redISub(l);return this.curve.jpoint(h,f,p)},d.prototype.mul=function(t,r){return t=new o(t,r),this.curve._wnafMul(this,t)},d.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var r=this.z.redSqr(),n=t.z.redSqr();if(0!==this.x.redMul(n).redISub(t.x.redMul(r)).cmpn(0))return!1;var i=r.redMul(this.z),o=n.redMul(t.z);return 0===this.y.redMul(o).redISub(t.y.redMul(i)).cmpn(0)},d.prototype.eqXToP=function(t){var r=this.z.redSqr(),n=t.toRed(this.curve.red).redMul(r);if(0===this.x.cmp(n))return!0;for(var i=t.clone(),o=this.curve.redN.redMul(r);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(o),0===this.x.cmp(n))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},83475:function(t,r,n){"use strict";var i,o=n(28714),a=n(64358),s=n(36321).assert;function l(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,n){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var i=new l(n);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=l,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}
vendor: 13,254 bytes, line 4
4),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=n(36113)}catch(t){i=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},90063:function(t,r,n){"use strict";var i=n(21803),o=n(28072),a=n(36321),s=n(83475),l=n(47223),u=a.assert,c=n(61258),d=n(90362);function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(u(Object.prototype.hasOwnProperty.call(s,t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=h,h.prototype.keyPair=function(t){return new c(this,t)},h.prototype.keyFromPrivate=function(t,r){return c.fromPrivate(this,t,r)},h.prototype.keyFromPublic=function(t,r){return c.fromPublic(this,t,r)},h.prototype.genKeyPair=function(t){t||(t={});for(var r=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||l(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new i(2));;){var s=new i(r.generate(n));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},h.prototype._truncateToN=function(t,r,n){if(i.isBN(t)||"number"==typeof t)o=(t=new i(t,16)).byteLength();else if("object"==typeof t)o=t.length,t=new i(t,16);else{var o,a=t.toString();o=a.length+1>>>1,t=new i(a,16)}"number"!=typeof n&&(n=8*o);var s=n-this.n.bitLength();return(s>0&&(t=t.ushrn(s)),!r&&t.cmp(this.n)>=0)?t.sub(this.n):t},h.prototype.sign=function(t,r,n,a){if("object"==typeof n&&(a=n,n=null),a||(a={}),"string"!=typeof t&&"number"!=typeof t&&!i.isBN(t)){u("object"==typeof t&&t&&"number"==typeof t.length,"Expected message to be an array-like, a hex string, or a BN instance"),u(t.length>>>0===t.length);for(var s=0;s<t.length;s++)u((255&t[s])===t[s])}r=this.keyFromPrivate(r,n),u(!(t=this._truncateToN(t,!1,a.msgBitLength)).isNeg(),"Can not sign a negative message");var l=this.n.byteLength(),c=r.getPrivate().toArray("be",l),h=t.toArray("be",l);u(new i(h).eq(t),"Can not sign message");for(var f=new o({hash:this.hash,entropy:c,nonce:h,pers:a.pers,persEnc:a.persEnc||"utf8"}),p=this.n.sub(new i(1)),m=0;;m++){var g=a.k?a.k(m):new i(f.generate(this.n.byteLength()));if(!(0>=(g=this._truncateToN(g,!0)).cmpn(1)||g.cmp(p)>=0)){var y=this.g.mul(g);if(!y.isInfinity()){var v=y.getX(),b=v.umod(this.n);if(0!==b.cmpn(0)){var w=g.invm(this.n).mul(b.mul(r.getPrivate()).iadd(t));if(0!==(w=w.umod(this.n)).cmpn(0)){var _=(y.getY().isOdd()?1:0)|(0!==v.cmp(b)?2:0);return a.canonical&&w.cmp(this.nh)>0&&(w=this.n.sub(w),_^=1),new d({r:b,s:w,recoveryParam:_})}}}}}},h.prototype.verify=function(t,r,n,i,o){o||(o={}),t=this._truncateToN(t,!1,o.msgBitLength),n=this.keyFromPublic(n,i);var a,s=(r=new d(r,"hex")).r,l=r.s;if(0>s.cmpn(1)||s.cmp(this.n)>=0||0>l.cmpn(1)||l.cmp(this.n)>=0)return!1;var u=l.invm(this.n),c=u.mul(t).umod(this.n),h=u.mul(s).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,n.getPublic(),h)).isInfinity()&&a.eqXToP(s):!(a=this.g.mulAdd(c,n.getPublic(),h)).isInfinity()&&0===a.getX().umod(this.n).cmp(s)},h.prototype.recoverPubKey=function(t,r,n,o){u((3&n)===n,"The recovery param is more than two bits"),r=new d(r,o);var a=this.n,s=new i(t),l=r.r,c=r.s,h=1&n,f=n>>1;if(l.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw Error("Unable to find sencond key candinate");l=f?this.curve.pointFromX(l.add(this.curve.n),h):this.curve.pointFromX(l,h);var p=r.r.invm(a),m=a.sub(s).mul(p).umod(a),g=c.mul(p).umod(a);return this.g.mulAdd(m,l,g)},h.prototype.getKeyRecoveryParam=function(t,r,n,i){if(null!==(r=new d(r,i)).recoveryParam)return r.recoveryParam;for(var o,a=0;a<4;a++){try{o=this.recoverPubKey(t,r,a)}catch(t){continue}if(o.eq(n))return a}throw Error("Unable to find valid recovery factor")}},61258:function(t,r,n){"use strict";var i=n(21803),o=n(36321).assert;function a(t,r){this.ec=t,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}t.exports=a,a.fromPublic=function(t,r,n){return r instanceof a?r:new a(t,{pub:r,pubEnc:n})},a.fromPrivate=function(t,r,n){return r instanceof a?r:new a(t,{priv:r,privEnc:n})},a.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(t,r){return("string"==typeof t&&(r=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r)?this.pub.encode(r,t):this.pub},a.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(t,r){this.priv=new i(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(t,r){if(t.x||t.y){"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&o(t.x&&t.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(t.x,t.y);return}this.pub=this.ec.curve.decodePoint(t,r)},a.prototype.derive=function(t){return t.validate()||o(t.validate(),"public point not validated"),t.mul(this.priv).getX()},a.prototype.sign=function(t,r,n){return this.ec.sign(t,this,r,n)},a.prototype.verify=function(t,r,n){return this.ec.verify(t,r,this,void 0,n)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},90362:function(t,r,n){"use strict";var i=n(21803),o=n(36321),a=o.assert;function s(t,r){if(t instanceof s)return t;this._importDER(t,r)||(a(t.r&&t.s,"Signature without r or s"),this.r=new i(t.r,16),this.s=new i(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function l(){this.place=0}function u(t,r){var n=t[r.place++];if(!(128&n))return n;var i=15&n;if(0===i||i>4||0===t[r.place])return!1;for(var o=0,a=0,s=r.place;a<i;a++,s++)o<<=8,o|=t[s],o>>>=0;return!(o<=127)&&(r.place=s,o)}function c(t){for(var r=0,n=t.length-1;!t[r]&&!(128&t[r+1])&&r<n;)r++;return 0===r?t:t.slice(r)}function d(t,r){if(r<128){t.push(r);return}var n=1+(Math.log(r)/Math.LN2>>>3);for(t.push(128|n);--n;)t.push(r>>>(n<<3)&255);t.push(r)}t.exports=s,s.prototype._importDER=function(t,r){t=o.toArray(t,r);var n=new l;if(48!==t[n.place++])return!1;var a=u(t,n);if(!1===a||a+n.place!==t.length||2!==t[n.place++])return!1;var s=u(t,n);if(!1===s||(128&t[n.place])!=0)return!1;var c=t.slice(n.place,s+n.place);if(n.place+=s,2!==t[n.place++])return!1;var d=u(t,n);if(!1===d||t.length!==d+n.place||(128&t[n.place])!=0)return!1;var h=t.slice(n.place,d+n.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new i(c),this.s=new i(h),this.recoveryParam=null,!0},s.prototype.toDER=function(t){var r=this.r.toArray(),n=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&n[0]&&(n=[0].concat(n)),r=c(r),n=c(n);!n[0]&&!(128&n[1]);)n=n.slice(1);var i=[2];d(i,r.length),(i=i.concat(r)).push(2),d(i,n.length);var a=i.concat(n),s=[48];return d(s,a.length),s=s.concat(a),o.encode(s,t)}},37115:function(t,r,n){"use strict";var i=n(28714),o=n(83475),a=n(36321),s=a.assert,l=a.parseBytes,u=n(76244),c=n(55967);function d(t){if(s("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof d))return new d(t);t=o[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=i.sha512}t.exports=d,d.prototype.sign=function(t,r){t=l(t);var n=this.keyFromSecret(r),i=this.hashInt(n.messagePrefix(),t),o=this.g.mul(i),a=this.encodePoint(o),s=this.hashInt(a,n.pubBytes(),t).mul(n.priv()),u=i.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:u,Rencoded:a})},d.prototype.verify=function(t,r,n){if(t=l(t),(r=this.makeSignature(r)).S().gte(r.eddsa.curve.n)||r.S().isNeg())return!1;var i=this.keyFromPublic(n),o=this.hashInt(r.Rencoded(),i.pubBytes(),t),a=this.g.mul(r.S());return r.R().add(i.pub().mul(o)).eq(a)},d.prototype.hashInt=function(){for(var t=this.hash(),r=0;r<arguments.length;r++)t.update(arguments[r]);return a.intFromLE(t.digest()).umod(this.curve.n)},d.prototype.keyFromPublic=function(t){return u.fromPublic(this,t)},d.prototype.keyFromSecret=function(t){return u.fromSecret(this,t)},d.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},d.prototype.encodePoint=function(t){var r=t.getY().toArray("le",this.encodingLength);return r[this.encodingLength-1]|=t.getX().isOdd()?128:0,r},d.prototype.decodePoint=function(t){var r=(t=a.parseBytes(t)).length-1,n=t.slice(0,r).concat(-129&t[r]),i=(128&t[r])!=0,o=a.intFromLE(n);return this.curve.pointFromY(o,i)},d.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},d.prototype.decodeInt=function(t){return a.intFromLE(t)},d.prototype.isPoint=function(t){return t instanceof this.pointClass}},76244:function(t,r,n){"use strict";var i=n(36321),o=i.assert,a=i.parseBytes,s=i.cachedProperty;function l(t,r){this.eddsa=t,this._secret=a(r.secret),t.isPoint(r.pub)?this._pub=r.pub:this._pubBytes=a(r.pub)}l.fromPublic=function(t,r){return r instanceof l?r:new l(t,{pub:r})},l.fromSecret=function(t,r){return r instanceof l?r:new l(t,{secret:r})},l.prototype.secret=function(){return this._secret},s(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),s(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),s(l,"privBytes",function(){var t=this.eddsa,r=this.hash(),n=t.encodingLength-1,i=r.slice(0,t.encodingLength);return i[0]&=248,i[n]&=127,i[n]|=64,i}),s(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),s(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),s(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(t){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},l.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)},l.prototype.getSecret=function(t){return o(this._secret,"KeyPair is public only"),i.encode(this.secret(),t)},l.prototype.getPublic=function(t){return i.encode(this.pubBytes(),t)},t.exports=l},55967:function(t,r,n){"use strict";var i=n(21803),o=n(36321),a=o.assert,s=o.cachedProperty,l=o.parseBytes;function u(t,r){this.eddsa=t,"object"!=typeof r&&(r=l(r)),Array.isArray(r)&&(a(r.length===2*t.encodingLength,"Signature has invalid size"),r={R:r.slice(0,t.encodingLength),S:r.slice(t.encodingLength)}),a(r.R&&r.S,"Signature without R or S"),t.isPoint(r.R)&&(this._R=r.R),r.S instanceof i&&(this._S=r.S),this._Rencoded=Array.isArray(r.R)?r.R:r.Rencoded,this._Sencoded=Array.isArray(r.S)?r.S:r.Sencoded}s(u,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),s(u,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}
4),s(u,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),s(u,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u},36113:function(t){t
vendor: 18,403 bytes, line 4
4.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0
vendor: 7,734 bytes, line 4
4a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
436321:function(t,r,n){"use strict";var i=n(21803),o=n(73045),a=n(83742);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(t,r,n){var i=Array(Math.max(t.bitLength(),n)+1);for(s=0;s<i.length;s+=1)i[s]=0;var o=1<<r+1,a=t.clone();for(s=0;s<i.length;s++){var s,l,u=a.andln(o-1);a.isOdd()?(l=u>(o>>1)-1?(o>>1)-u:u,a.isubn(l)):l=0,i[s]=l,a.iushrn(1)}return i},r.getJSF=function(t,r){var n=[[],[]];t=t.clone(),r=r.clone();for(var i=0,o=0;t.cmpn(-i)>0||r.cmpn(-o)>0;){var a,s,l,u=t.andln(3)+i&3,c=r.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),s=(1&u)==0?0:(3==(a=t.andln(7)+i&7)||5===a)&&2===c?-u:u,n[0].push(s),l=(1&c)==0?0:(3==(a=r.andln(7)+o&7)||5===a)&&2===u?-c:c,n[1].push(l),2*i===s+1&&(i=1-i),2*o===l+1&&(o=1-o),t.iushrn(1),r.iushrn(1)}return n},r.cachedProperty=function(t,r,n){var i="_"+r;t.prototype[r]=function(){return void 0!==this[i]?this[i]:this[i]=n.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new i(t,"hex","le")}},21803:function(t,r,n){!function(t,r){"use strict";function i(t,r){if(!t)throw Error(r||"Assertion failed")}function o(t,r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}function a(t,r,n){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(("le"===r||"be"===r)&&(n=r,r=10),this._init(t||0,r||10,n||"be"))}
vendor: 4,182 bytes, line 4
4"object"==typeof t?t.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(85568).Buffer}catch(t){}function s(t,r){var n=t.charCodeAt(r);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(t,r,n){var i=s(t,n);return n-1>=r&&(i|=s(t,n-1)<<4),i}function u(t,r,n,i){for(var o=0,a=Math.min(t.length,n),s=r;s<a;s++){var l=t.charCodeAt(s)-48;o*=i,l>=49?o+=l-49+10:l>=17?o+=l-17+10:o+=l}return o}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,r){return t.cmp(r)>0?t:r},a.min=function(t,r){return 0>t.cmp(r)?t:r},a.prototype._init=function(t,r,n){if("number"==typeof t)return this._initNumber(t,r,n);if("object"==typeof t)return this._initArray(t,r,n);"hex"===r&&(r=16),i(r===(0|r)&&r>=2&&r<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(o++,this.negative=1),o<t.length&&(16===r?this._parseHex(t,o,n):(this._parseBase(t,r,o),"le"===n&&this._initArray(this.toArray(),r,n)))},a.prototype._initNumber=function(t,r,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),r,n)},a.prototype._initArray=function(t,r,n){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var o,a,s=0;s<this.length;s++)this.words[s]=0;var l=0;if("be"===n)for(s=t.length-1,o=0;s>=0;s-=3)a=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[o]|=a<<l&67108863,this.words[o+1]=a>>>26-l&67108863,(l+=24)>=26&&(l-=26,o++);else if("le"===n)for(s=0,o=0;s<t.length;s+=3)a=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[o]|=a<<l&67108863,this.words[o+1]=a>>>26-l&67108863,(l+=24)>=26&&(l-=26,o++);return this.strip()},a.prototype._parseHex=function(t,r,n){this.length=Math.ceil((t.length-r)/6),this.words=Array(this.length);for(var i,o=0;o<this.length;o++)this.words[o]=0;var a=0,s=0;if("be"===n)for(o=t.length-1;o>=r;o-=2)i=l(t,r,o)<<a,this.words[s]|=67108863&i,a>=18?(a-=18,s+=1,this.words[s]|=i>>>26):a+=8;else for(o=(t.length-r)%2==0?r+1:r;o<t.length;o+=2)i=l(t,r,o)<<a,this.words[s]|=67108863&i,a>=18?(a-=18,s+=1,this.words[s]|=i>>>26):a+=8;this.strip()},a.prototype._parseBase=function(t,r,n){this.words=[0],this.length=1;for(var i=0,o=1;o<=67108863;o*=r)i++;i--,o=o/r|0;for(var a=t.length-n,s=a%i,l=Math.min(a,a-s)+n,c=0,d=n;d<l;d+=i)c=u(t,d,d+i,r),this.imuln(o),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var h=1;for(c=u(t,d,t.length,r),d=0;d<s;d++)h*=r;this.imuln(h),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},a.prototype.copy=function(t){t.words=Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,143489
vendor: 12,720 bytes, line 4
407,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,r,n){n.negative=r.negative^t.negative;var i=t.length+r.length|0;n.length=i,i=i-1|0;var o=0|t.words[0],a=0|r.words[0],s=o*a,l=67108863&s,u=s/67108864|0;n.words[0]=l;for(var c=1;c<i;c++){for(var d=u>>>26,h=67108863&u,f=Math.min(c,r.length-1),p=Math.max(0,c-t.length+1);p<=f;p++){var m=c-p|0;d+=(s=(o=0|t.words[m])*(a=0|r.words[p])+h)/67108864|0,h=67108863&s}n.words[c]=0|h,u=0|d}return 0!==u?n.words[c]=0|u:n.length--,n.strip()}a.prototype.toString=function(t,r){if(r=0|r||1,16===(t=t||10)||"hex"===t){n="";for(var n,o=0,a=0,s=0;s<this.length;s++){var l=this.words[s],u=((l<<o|a)&16777215).toString(16);a=l>>>24-o&16777215,(o+=2)>=26&&(o-=26,s--),n=0!==a||s!==this.length-1?d[6-u.length]+u+n:u+n}for(0!==a&&(n=a.toString(16)+n);n.length%r!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=h[t],p=f[t];n="";var m=this.clone();for(m.negative=0;!m.isZero();){var g=m.modn(p).toString(t);n=(m=m.idivn(p)).isZero()?g+n:d[c-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%r!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,r){return i(void 0!==c),this.toArrayLike(c,t,r)},a.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},a.prototype.toArrayLike=function(t,r,n){var o,a,s=this.byteLength(),l=n||Math.max(1,s);i(s<=l,"byte array longer than desired length"),i(l>0,"Requested array length <= 0"),this.strip();var u=new t(l),c=this.clone();if("le"===r){for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),u[a]=o;for(;a<l;a++)u[a]=0}else{for(a=0;a<l-s;a++)u[a]=0;for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),u[l-a-1]=o}return u},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var r=t,n=0;return r>=4096&&(n+=13,r>>>=13),r>=64&&(n+=7,r>>>=7),r>=8&&(n+=4,r>>>=4),r>=2&&(n+=2,r>>>=2),n+r},a.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,n=0;return(8191&r)==0&&(n+=13,r>>>=13),(127&r)==0&&(n+=7,r>>>=7),(15&r)==0&&(n+=4,r>>>=4),(3&r)==0&&(n+=2,r>>>=2),(1&r)==0&&n++,n},a.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return(this.length-1)*26+r},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var n=this._zeroBits(this.words[r]);if(t+=n,26!==n)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},a.prototype.ior=function(t){return i((this.negative|t.negative)==0),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var n=0;n<r.length;n++)this.words[n]=this.words[n]&t.words[n];return this.length=r.length,this.strip()},a.prototype.iand=function(t){return i((this.negative|t.negative)==0),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){this.length>t.length?(r=this,n=t):(r=t,n=this);for(var r,n,i=0;i<n.length;i++)this.words[i]=r.words[i]^n.words[i];if(this!==r)for(;i<r.length;i++)this.words[i]=r.words[i];return this.length=r.length,this.strip()},a.prototype.ixor=function(t){return i((this.negative|t.negative)==0),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),n=t%26;this._expand(r),n>0&&r--;for(var o=0;o<r;o++)this.words[o]=67108863&~this.words[o];return n>0&&(this.words[o]=~this.words[o]&67108863>>26-n),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,r){i("number"==typeof t&&t>=0);var n=t/26|0,o=t%26;return this._expand(n+1),r?this.words[n]=this.words[n]|1<<o:this.words[n]=this.words[n]&~(1<<o),this.strip()},a.prototype.iadd=function(t){if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(n=this,i=t):(n=t,i=this);for(var r,n,i,o=0,a=0;a<i.length;a++)r=(0|n.words[a])+(0|i.words[a])+o,this.words[a]=67108863&r,o=r>>>26;for(;0!==o&&a<n.length;a++)r=(0|n.words[a])+o,this.words[a]=67108863&r,o=r>>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this},a.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r,n,i=this.iadd(t);return t.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o=this.cmp(t);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=t):(r=t,n=this);for(var a=0,s=0;s<n.length;s++)a=(i=(0|r.words[s])-(0|n.words[s])+a)>>26,this.words[s]=67108863&i;for(;0!==a&&s<r.length;s++)a=(i=(0|r.words[s])+a)>>26,this.words[s]=67108863&i;if(0===a&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var m=function(t,r,n){var i,o,a,s=t.words,l=r.words,u=n.words,c=0,d=0|s[0],h=8191&d,f=d>>>13,p=0|s[1],m=8191&p,g=p>>>13,y=0|s[2],v=8191&y,b=y>>>13,w=0|s[3],_=8191&w,S=w>>>13,E=0|s[4],A=8191&E,x=E>>>13,k=0|s[5],O=8191&k,P=k>>>13,C=0|s[6],T=8191&C,M=C>>>13,R=0|s[7],I=8191&R,N=R>>>13,D=0|s[8],F=8191&D,L=D>>>13,$=0|s[9],j=8191&$,U=$>>>13,B=0|l[0],z=8191&B,H=B>>>13,q=0|l[1],V=8191&q,G=q>>>13,W=0|l[2],K=8191&W,Y=W>>>13,Z=0|l[3],X=8191&Z,J=Z>>>13,Q=0|l[4],ee=8191&Q,et=Q>>>13,er=0|l[5],en=8191&er,ei=er>>>13,eo=0|l[6],ea=8191&eo,es=eo>>>13,el=0|l[7],eu=8191&el,ec=el>>>13,ed=0|l[8],eh=8191&ed,ef=ed>>>13,ep=0|l[9],em=8191&ep,eg=ep>>>13;n.negative=t.negative^r.negative,n.length=19;var ey=(c+(i=Math.imul(h,z))|0)+((8191&(o=(o=Math.imul(h,H))+Math.imul(f,z)|0))<<13)|0;c=((a=Math.imul(f,H))+(o>>>13)|0)+(ey>>>26)|0,ey&=67108863,i=Math.imul(m,z),o=(o=Math.imul(m,H))+Math.imul(g,z)|0,a=Math.imul(g,H);var ev=(c+(i=i+Math.imul(h,V)|0)|0)+((8191&(o=(o=o+Math.imul(h,G)|0)+Math.imul(f,V)|0))<<13)|0;c=((a=a+Math.imul(f,G)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=67108863,i=Math.imul(v,z),o=(o=Math.imul(v,H))+Math.imul(b,z)|0,a=Math.imul(b,H),i=i+Math.imul(m,V)|0,o=(o=o+Math.imul(m,G)|0)+Math.imul(g,V)|0,a=a+Math.imul(g,G)|0;var eb=(c+(i=i+Math.imul(h,K)|0)|0)+((8191&(o=(o=o+Math.imul(h,Y)|0)+Math.imul(f,K)|0))<<13)|0;c=((a=a+Math.imul(f,Y)|0)+(o>>>13)|0)+(eb>>>26)|0,eb&=67108863,i=Math.imul(_,z),o=(o=Math.imul(_,H))+Math.imul(S,z)|0,a=Math.imul(S,H),i=i+Math.imul(v,V)|0,o=(o=o+Math.imul(v,G)|0)+Math.imul(b,V)|0,a=a+Math.imul(b,G)|0,i=i+Math.imul(m,K)|0,o=(o=o+Math.imul(m,Y)|0)+Math.imul(g,K)|0,a=a+Math.imul(g,Y)|0;var ew=(c+(i=i+Math.imul(h,X)|0)|0)+((8191&(o=(o=o+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;c=((a=a+Math.imul(f,J)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=67108863,i=Math.imul(A,z),o=(o=Math.imul(A,H))+Math.imul(x,z)|0,a=Math.imul(x,H),i=i+Math.imul(_,V)|0,o=(o=o+Math.imul(_,G)|0)+Math.imul(S,V)|0,a=a+Math.imul(S,G)|0,i=i+Math.imul(v,K)|0,o=(o=o+Math.imul(v,Y)|0)+Math.imul(b,K)|0,a=a+Math.imul(b,Y)|0,i=i+Math.imul(m,X)|0,o=(o=o+Math.imul(m,J)|0)+Math.imul(g,X)|0,a=a+Math.imul(g,J)|0;var e_=(c+(i=i+Math.imul(h,ee)|0)|0)+((8191&(o=(o=o+Math.imul(h,et)|0)+Math.imul(f,ee)|0))<<13)|0;c=((a=a+Math.imul(f,et)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=67108863,i=Math.imul(O,z),o=(o=Math.imul(O,H))+Math.imul(P,z)|0,a=Math.imul(P,H),i=i+Math.imul(A,V)|0,o=(o=o+Math.imul(A,G)|0)+Math.imul(x,V)|0,a=a+Math.imul(x,G)|0,i=i+Math.imul(_,K)|0,o=(o=o+Math.imul(_,Y)|0)+Math.imul(S,K)|0,a=a+Math.imul(S,Y)|0,i=i+Math.imul(v,X)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(b,X)|0,a=a+Math.imul(b,J)|0,i=i+Math.imul(m,ee)|0,o=(o=o+Math.imul(m,et)|0)+Math.imul(g,ee)|0,a=a+Math.imul(g,et)|0;var eS=(c+(i=i+Math.imul(h,en)|0)|0)+((8191&(o=(o=o+Math.imul(h,ei)|0)+Math.imul(f,en)|0))<<13)|0;c=((a=a+Math.imul(f,ei)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=67108863,i=Math.imul(T,z),o=(o=Math.imul(T,H))+Math.imul(M,z)|0,a=Math.imul(M,H),i=i+Math.imul(O,V)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(P,V)|0,a=a+Math.imul(P,G)|0,i=i+Math.imul(A,K)|0,o=(o=o+Math.imul(A,Y)|0)+Math.imul(x,K)|0,a=a+Math.imul(x,Y)|0,i=i+Math.imul(_,X)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(S,X)|0,a=a+Math.imul(S,J)|0,i=i+Math.imul(v,ee)|0,o=(o=o+Math.imul(v,et)|0)+Math.imul(b,ee)|0,a=a+Math.imul(b,et)|0,i=i+Math.imul(m,en)|0,o=(o=o+Math.imul(m,ei)|0)+Math.imul(g,en)|0,a=a+Math.imul(g,ei)|0;var eE=(c+(i=i+Math.imul(h,ea)|0)|0)+((8191&(o=(o=o+Math.imul(h,es)|0)+Math.imul(f,ea)|0))<<13)|0;c=((a=a+Math.imul(f,es)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=67108863,i=Math.imul(I,z),o=(o=Math.imul(I,H))+Math.imul(N,z)|0,a=Math.imul(N,H),i=i+Math.imul(T,V)|0,o=(o=o+Math.imul(T,G)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,G)|0,i=i+Math.imul(O,K)|0,o=(o=o+Math.imul(O,Y)|0)+Math.imul(P,K)|0,a=a+Math.imul(P,Y)|0,i=i+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(x,X)|0,a=a+Math.imul(x,J)|0,i=i+Math.imul(_,ee)|0,o=(o=o+Math.imul(_,et)|0)+Math.imul(S,ee)|0,a=a+Math.imul(S,et)|0,i=i+Math.imul(v,en)|0,o=(o=o+Math.imul(v,ei)|0)+Math.imul(b,en)|0,a=a+Math.imul(b,ei)|0,i=i+Math.imul(m,ea)|0,o=(o=o+Math.imul(m,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0;var eA=(c+(i=i+Math.imul(h,eu)|0)|0)+((8191&(o=(o=o+Math.imul(h,ec)|0)+Math.imul(f,eu)|0))<<13)|0;c=((a=a+Math.imul(f,ec)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=67108863,i=Math.imul(F,z),o=(o=Math.imul(F,H))+Math.imul(L,z)|0,a=Math.imul(L,H),i=i+Math.imul(I,V)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,G)|0,i=i+Math.imul(T,K)|0,o=(o=o+Math.imul(T,Y)|0)+Math.imul(M,K)|0,a=a+Math.imul(M,Y)|0,i=i+Math.imul(O,X)|0,o=(o=o+Math.imul(O,J)|0)+Math.imul(P,X)|0,a=a+Math.imul(P,J)|0,i=i+Math.imul(A,ee)|0,o=(o=o+Math.imul(A,et)|0)+Math.imul(x,ee)|0,a=a+Math.imul(x,et)|0,i=i+Math.imul(_,en)|0,o=(o=o+Math.imul(_,ei)|0)+Math.imul(S,en)|0,a=a+Math.imul(S,ei)|0,i=i+Math.imul(v,ea)|0,o=(o=o+Math.imul(v,es)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,es)|0,i=i+Math.imul(m,eu)|0,o=(o=o+Math.imul(m,ec)|0)+Math.imul(g,eu)|0,a=a+Math.imul(g,ec)|0;var ex=(c+(i=i+Math.imul(h,eh)|0)|0)+((8191&(o=(o=o+Math.imul(h,ef)|0)+Math.imul(f,eh)|0))<<13)|0;c=((a=a+Math.imul(f,ef)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=67108863,i=Math.imul(j,z),o=(o=Math.imul(j,H))+Math.imul(U,z)|0,a=Math.imul(U,H),i=i+Math.imul(F,V)|0,o=(o=o+Math.imul(F,G)|0)+Math.imul(L,V)|0,a=a+Math.imul(L,G)|0,i=i+Math.imul(I,K)|0,o=(o=o+Math.imul(I,Y)|0)+Math.imul(N,K)|0,a=a+Math.imul(N,Y)|0,i=i+Math.imul(T,X)|0,o=(o=o+Math.imul(T,J)|0)+Math.imul(M,X)|0,a=a+Math.imul(M,J)|0,i=i+Math.imul(O,ee)|0,o=(o=o+Math.imul(O,et)|0)+Math.imul(P,ee)|0,a=a+Math.imul(P,et)|0,i=i+Math.imul(A,en)|0,o=(o=o+Math.imul(A,ei)|0)+Math.imul(x,en)|0,a=a+Math.imul(x,ei)|0,i=i+Math.imul(_,ea)|0,o=(o=o+Math.imul(_,es)|0)+Math.imul(S,ea)|0,a=a+Math.imul(S,es)|0,i=i+Math.imul(v,eu)|0,o=(o=o+Math.imul(v,ec)|0)+Math.imul(b,eu)|0,a=a+Math.imul(b,ec)|0,i=i+Math.imul(m,eh)|0,o=(o=o+Math.imul(m,ef)|0)+Math.imul(g,eh)|0,a=a+Math.imul(g,ef)|0;var ek=(c+(i=i+Math.imul(h,em)|0)|0)+((8191&(o=(o=o+Math.imul(h,eg)|0)+Math.imul(f,em)|0))<<13)|0;c=((a=a+Math.imul(f,eg)|0)+(o>>>13)|0)+(ek>>>
vendor: 7,086 bytes, line 4
426)|0,ek&=67108863,i=Math.imul(j,V),o=(o=Math.imul(j,G))+Math.imul(U,V)|0,a=Math.imul(U,G),i=i+Math.imul(F,K)|0,o=(o=o+Math.imul(F,Y)|0)+Math.imul(L,K)|0,a=a+Math.imul(L,Y)|0,i=i+Math.imul(I,X)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,X)|0,a=a+Math.imul(N,J)|0,i=i+Math.imul(T,ee)|0,o=(o=o+Math.imul(T,et)|0)+Math.imul(M,ee)|0,a=a+Math.imul(M,et)|0,i=i+Math.imul(O,en)|0,o=(o=o+Math.imul(O,ei)|0)+Math.imul(P,en)|0,a=a+Math.imul(P,ei)|0,i=i+Math.imul(A,ea)|0,o=(o=o+Math.imul(A,es)|0)+Math.imul(x,ea)|0,a=a+Math.imul(x,es)|0,i=i+Math.imul(_,eu)|0,o=(o=o+Math.imul(_,ec)|0)+Math.imul(S,eu)|0,a=a+Math.imul(S,ec)|0,i=i+Math.imul(v,eh)|0,o=(o=o+Math.imul(v,ef)|0)+Math.imul(b,eh)|0,a=a+Math.imul(b,ef)|0;var eO=(c+(i=i+Math.imul(m,em)|0)|0)+((8191&(o=(o=o+Math.imul(m,eg)|0)+Math.imul(g,em)|0))<<13)|0;c=((a=a+Math.imul(g,eg)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=67108863,i=Math.imul(j,K),o=(o=Math.imul(j,Y))+Math.imul(U,K)|0,a=Math.imul(U,Y),i=i+Math.imul(F,X)|0,o=(o=o+Math.imul(F,J)|0)+Math.imul(L,X)|0,a=a+Math.imul(L,J)|0,i=i+Math.imul(I,ee)|0,o=(o=o+Math.imul(I,et)|0)+Math.imul(N,ee)|0,a=a+Math.imul(N,et)|0,i=i+Math.imul(T,en)|0,o=(o=o+Math.imul(T,ei)|0)+Math.imul(M,en)|0,a=a+Math.imul(M,ei)|0,i=i+Math.imul(O,ea)|0,o=(o=o+Math.imul(O,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,i=i+Math.imul(A,eu)|0,o=(o=o+Math.imul(A,ec)|0)+Math.imul(x,eu)|0,a=a+Math.imul(x,ec)|0,i=i+Math.imul(_,eh)|0,o=(o=o+Math.imul(_,ef)|0)+Math.imul(S,eh)|0,a=a+Math.imul(S,ef)|0;var eP=(c+(i=i+Math.imul(v,em)|0)|0)+((8191&(o=(o=o+Math.imul(v,eg)|0)+Math.imul(b,em)|0))<<13)|0;c=((a=a+Math.imul(b,eg)|0)+(o>>>13)|0)+(eP>>>26)|0,eP&=67108863,i=Math.imul(j,X),o=(o=Math.imul(j,J))+Math.imul(U,X)|0,a=Math.imul(U,J),i=i+Math.imul(F,ee)|0,o=(o=o+Math.imul(F,et)|0)+Math.imul(L,ee)|0,a=a+Math.imul(L,et)|0,i=i+Math.imul(I,en)|0,o=(o=o+Math.imul(I,ei)|0)+Math.imul(N,en)|0,a=a+Math.imul(N,ei)|0,i=i+Math.imul(T,ea)|0,o=(o=o+Math.imul(T,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,i=i+Math.imul(O,eu)|0,o=(o=o+Math.imul(O,ec)|0)+Math.imul(P,eu)|0,a=a+Math.imul(P,ec)|0,i=i+Math.imul(A,eh)|0,o=(o=o+Math.imul(A,ef)|0)+Math.imul(x,eh)|0,a=a+Math.imul(x,ef)|0;var eC=(c+(i=i+Math.imul(_,em)|0)|0)+((8191&(o=(o=o+Math.imul(_,eg)|0)+Math.imul(S,em)|0))<<13)|0;c=((a=a+Math.imul(S,eg)|0)+(o>>>13)|0)+(eC>>>26)|0,eC&=67108863,i=Math.imul(j,ee),o=(o=Math.imul(j,et))+Math.imul(U,ee)|0,a=Math.imul(U,et),i=i+Math.imul(F,en)|0,o=(o=o+Math.imul(F,ei)|0)+Math.imul(L,en)|0,a=a+Math.imul(L,ei)|0,i=i+Math.imul(I,ea)|0,o=(o=o+Math.imul(I,es)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,es)|0,i=i+Math.imul(T,eu)|0,o=(o=o+Math.imul(T,ec)|0)+Math.imul(M,eu)|0,a=a+Math.imul(M,ec)|0,i=i+Math.imul(O,eh)|0,o=(o=o+Math.imul(O,ef)|0)+Math.imul(P,eh)|0,a=a+Math.imul(P,ef)|0;var eT=(c+(i=i+Math.imul(A,em)|0)|0)+((8191&(o=(o=o+Math.imul(A,eg)|0)+Math.imul(x,em)|0))<<13)|0;c=((a=a+Math.imul(x,eg)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=67108863,i=Math.imul(j,en),o=(o=Math.imul(j,ei))+Math.imul(U,en)|0,a=Math.imul(U,ei),i=i+Math.imul(F,ea)|0,o=(o=o+Math.imul(F,es)|0)+Math.imul(L,ea)|0,a=a+Math.imul(L,es)|0,i=i+Math.imul(I,eu)|0,o=(o=o+Math.imul(I,ec)|0)+Math.imul(N,eu)|0,a=a+Math.imul(N,ec)|0,i=i+Math.imul(T,eh)|0,o=(o=o+Math.imul(T,ef)|0)+Math.imul(M,eh)|0,a=a+Math.imul(M,ef)|0;var eM=(c+(i=i+Math.imul(O,em)|0)|0)+((8191&(o=(o=o+Math.imul(O,eg)|0)+Math.imul(P,em)|0))<<13)|0;c=((a=a+Math.imul(P,eg)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=67108863,i=Math.imul(j,ea),o=(o=Math.imul(j,es))+Math.imul(U,ea)|0,a=Math.imul(U,es),i=i+Math.imul(F,eu)|0,o=(o=o+Math.imul(F,ec)|0)+Math.imul(L,eu)|0,a=a+Math.imul(L,ec)|0,i=i+Math.imul(I,eh)|0,o=(o=o+Math.imul(I,ef)|0)+Math.imul(N,eh)|0,a=a+Math.imul(N,ef)|0;var eR=(c+(i=i+Math.imul(T,em)|0)|0)+((8191&(o=(o=o+Math.imul(T,eg)|0)+Math.imul(M,em)|0))<<13)|0;c=((a=a+Math.imul(M,eg)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=67108863,i=Math.imul(j,eu),o=(o=Math.imul(j,ec))+Math.imul(U,eu)|0,a=Math.imul(U,ec),i=i+Math.imul(F,eh)|0,o=(o=o+Math.imul(F,ef)|0)+Math.imul(L,eh)|0,a=a+Math.imul(L,ef)|0;var eI=(c+(i=i+Math.imul(I,em)|0)|0)+((8191&(o=(o=o+Math.imul(I,eg)|0)+Math.imul(N,em)|0))<<13)|0;c=((a=a+Math.imul(N,eg)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=67108863,i=Math.imul(j,eh),o=(o=Math.imul(j,ef))+Math.imul(U,eh)|0,a=Math.imul(U,ef);var eN=(c+(i=i+Math.imul(F,em)|0)|0)+((8191&(o=(o=o+Math.imul(F,eg)|0)+Math.imul(L,em)|0))<<13)|0;c=((a=a+Math.imul(L,eg)|0)+(o>>>13)|0)+(eN>>>26)|0,eN&=67108863;var eD=(c+(i=Math.imul(j,em))|0)+((8191&(o=(o=Math.imul(j,eg))+Math.imul(U,em)|0))<<13)|0;return c=((a=Math.imul(U,eg))+(o>>>13)|0)+(eD>>>26)|0,eD&=67108863,u[0]=ey,u[1]=ev,u[2]=eb,u[3]=ew,u[4]=e_,u[5]=eS,u[6]=eE,u[7]=eA,u[8]=ex,u[9]=ek,u[10]=eO,u[11]=eP,u[12]=eC,u[13]=eT,u[14]=eM,u[15]=eR,u[16]=eI,u[17]=eN,u[18]=eD,0!==c&&(u[19]=c,n.length++),n};function g(t,r,n){return new y().mulp(t,r,n)}function y(t,r){this.x=t,this.y=r}Math.imul||(m=p),a.prototype.mulTo=function(t,r){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,r):n<63?p(this,t,r):n<1024?function(t,r,n){n.negative=r.negative^t.negative,n.length=t.length+r.length;for(var i=0,o=0,a=0;a<n.length-1;a++){var s=o;o=0;for(var l=67108863&i,u=Math.min(a,r.length-1),c=Math.max(0,a-t.length+1);c<=u;c++){var d=a-c,h=(0|t.words[d])*(0|r.words[c]),f=67108863&h;s=s+(h/67108864|0)|0,l=67108863&(f=f+l|0),o+=(s=s+(f>>>26)|0)>>>26,s&=67108863}n.words[a]=l,i=s,s=o}return 0!==i?n.words[a]=i:n.length--,n.strip()}(this,t,r):g(this,t,r)},y.prototype.makeRBT=function(t){for(var r=Array(t),n=a.prototype._countBits(t)-1,i=0;i<t;i++)r[i]=this.revBin(i,n,t);return r},y.prototype.revBin=function(t,r,n){if(0===t||t===n-1)return t;for(var i=0,o=0;o<r;o++)i|=(1&t)<<r-o-1,t>>=1;return i},y.prototype.permute=function(t,r,n,i,o,a){for(var s=0;s<a;s++)i[s]=r[t[s]],o[s]=n[t[s]]},y.prototype.transform=function(t,r,n,i,o,a){this.permute(a,t,r,n,i,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,u=Math.cos(2*Math.PI/l),c=Math.sin(2*Math.PI/l),d=0;d<o;d+=l)for(var h=u,f=c,p=0;p<s;p++){var m=n[d+p],g=i[d+p],y=n[d+p+s],v=i[d+p+s],b=h*y-f*v;v=h*v+f*y,y=b,n[d+p]=m+y,i[d+p]=g+v,n[d+p+s]=m-y,i[d+p+s]=g-v,p!==l&&(b=u*h-c*f,f=u*f+c*h,h=b)}},y.prototype.guessLen13b=function(t,r){var n=1|Math.max(r,t),i=1&n,o=0;for(n=n/2|0;n;n>>>=1)o++;return 1<<o+1+i},y.prototype.conjugate=function(t,r,n){if(!(n<=1))for(var i=0;i<n/2;i++){var o=t[i];t[i]=t[n-i-1],t[n-i-1]=o,o=r[i],r[i]=-r[n-i-1],r[n-i-1]=-o}},y.prototype.normalize13b=function(t,r){for(var n=0,i=0;i<r/2;i++){var o=8192*Math.round(t[2*i+1]/r)+Math.round(t[2*i]/r)+n;t[i]=67108863&o,n=o<67108864?0:o/67108864|0}return t},y.prototype.convert13b=function(t,r,n,o){for(var a=0,s=0;s<r;s++)a+=0|t[s],n[2*s]=8191&a,a>>>=13,n[2*s+1]=8191&a,a>>>=13;for(s=2*r;s<o;++s)n[s]=0;i(0===a),i((-8192&a)==0)},y.prototype.stub=function(t){for(var r=Array(t),n=0;n<t;n++)r[n]=0;return r},y.prototype.mulp=function(t,r,n){var i=2*this.guessLen13b(t.length,r.length),o=this.makeRBT(i),a=this.stub(i),s=Array(i),l=Array(i),u=Array(i),c=Array(i),d=Array(i),h=Array(i),f=n.words;f.length=i,this.convert13b(t.words,t.length,s,i),this.convert13b(r.words,r.length,c,i),this.transform(s,a,l,u,i,o),this.transform(c,a,d,h,i,o);for(var p=0;p<i;
vendor: 17,485 bytes, line 4
4p++){var m=l[p]*d[p]-u[p]*h[p];u[p]=l[p]*h[p]+u[p]*d[p],l[p]=m}return this.conjugate(l,u,i),this.transform(l,u,f,a,i,o),this.conjugate(f,a,i),this.normalize13b(f,i),n.negative=t.negative^r.negative,n.length=t.length+r.length,n.strip()},a.prototype.mul=function(t){var r=new a(null);return r.words=Array(this.length+t.length),this.mulTo(t,r)},a.prototype.mulf=function(t){var r=new a(null);return r.words=Array(this.length+t.length),g(this,t,r)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var r=0,n=0;n<this.length;n++){var o=(0|this.words[n])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=(o/67108864|0)+(a>>>26),this.words[n]=67108863&a}return 0!==r&&(this.words[n]=r,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var r=function(t){for(var r=Array(t.bitLength()),n=0;n<r.length;n++){var i=n/26|0,o=n%26;r[n]=(t.words[i]&1<<o)>>>o}return r}(t);if(0===r.length)return new a(1);for(var n=this,i=0;i<r.length&&0===r[i];i++,n=n.sqr());if(++i<r.length)for(var o=n.sqr();i<r.length;i++,o=o.sqr())0!==r[i]&&(n=n.mul(o));return n},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var r,n=t%26,o=(t-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(r=0;r<this.length;r++){var l=this.words[r]&a,u=(0|this.words[r])-l<<n;this.words[r]=u|s,s=l>>>26-n}s&&(this.words[r]=s,this.length++)}if(0!==o){for(r=this.length-1;r>=0;r--)this.words[r+o]=this.words[r];for(r=0;r<o;r++)this.words[r]=0;this.length+=o}return this.strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,r,n){i("number"==typeof t&&t>=0),o=r?(r-r%26)/26:0;var o,a=t%26,s=Math.min((t-a)/26,this.length),l=67108863^67108863>>>a<<a;if(o-=s,o=Math.max(0,o),n){for(var u=0;u<s;u++)n.words[u]=this.words[u];n.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=o);u--){var d=0|this.words[u];this.words[u]=c<<26-a|d>>>a,c=d&l}return n&&0!==c&&(n.words[n.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,r,n){return i(0===this.negative),this.iushrn(t,r,n)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var r=t%26,n=(t-r)/26;return!(this.length<=n)&&!!(this.words[n]&1<<r)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var r=t%26,n=(t-r)/26;return(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)?this:(0!==r&&n++,this.length=Math.min(n,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return(i("number"==typeof t),i(t<67108864),t<0)?this.isubn(-t):0!==this.negative?(1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,r,n){var o,a,s=t.length+n;this._expand(s);var l=0;for(o=0;o<t.length;o++){a=(0|this.words[o+n])+l;var u=(0|t.words[o])*r;a-=67108863&u,l=(a>>26)-(u/67108864|0),this.words[o+n]=67108863&a}for(;o<this.length-n;o++)l=(a=(0|this.words[o+n])+l)>>26,this.words[o+n]=67108863&a;if(0===l)return this.strip();for(i(-1===l),l=0,o=0;o<this.length;o++)l=(a=-(0|this.words[o])+l)>>26,this.words[o]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,r){var n,i=this.length-t.length,o=this.clone(),s=t,l=0|s.words[s.length-1];0!=(i=26-this._countBits(l))&&(s=s.ushln(i),o.iushln(i),l=0|s.words[s.length-1]);var u=o.length-s.length;if("mod"!==r){(n=new a(null)).length=u+1,n.words=Array(n.length);for(var c=0;c<n.length;c++)n.words[c]=0}var d=o.clone()._ishlnsubmul(s,1,u);0===d.negative&&(o=d,n&&(n.words[u]=1));for(var h=u-1;h>=0;h--){var f=(0|o.words[s.length+h])*67108864+(0|o.words[s.length+h-1]);for(f=Math.min(f/l|0,67108863),o._ishlnsubmul(s,f,h);0!==o.negative;)f--,o.negative=0,o._ishlnsubmul(s,1,h),o.isZero()||(o.negative^=1);n&&(n.words[h]=f)}return n&&n.strip(),o.strip(),"div"!==r&&0!==i&&o.iushrn(i),{div:n||null,mod:o}},a.prototype.divmod=function(t,r,n){var o,s,l;return(i(!t.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,r),"mod"!==r&&(o=l.div.neg()),"div"!==r&&(s=l.mod.neg(),n&&0!==s.negative&&s.iadd(t)),{div:o,mod:s}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),r),"mod"!==r&&(o=l.div.neg()),{div:o,mod:l.mod}):(this.negative&t.negative)!=0?(l=this.neg().divmod(t.neg(),r),"div"!==r&&(s=l.mod.neg(),n&&0!==s.negative&&s.isub(t)),{div:l.div,mod:s}):t.length>this.length||0>this.cmp(t)?{div:new a(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,r)},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var n=0!==r.div.negative?r.mod.isub(t):r.mod,i=t.ushrn(1),o=t.andln(1),a=n.cmp(i);return a<0||1===o&&0===a?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},a.prototype.modn=function(t){i(t<=67108863);for(var r=67108864%t,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%t;return n},a.prototype.idivn=function(t){i(t<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/t|0,r=o%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var r=this,n=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var o=new a(1),s=new a(0),l=new a(0),u=new a(1),c=0;r.isEven()&&n.isEven();)r.iushrn(1),n.iushrn(1),++c;for(var d=n.clone(),h=r.clone();!r.isZero();){for(var f=0,p=1;(r.words[0]&p)==0&&f<26;++f,p<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(d),s.isub(h)),o.iushrn(1),s.iushrn(1);for(var m=0,g=1;(n.words[0]&g)==0&&m<26;++m,g<<=1);if(m>0)for(n.iushrn(m);m-- >0;)(l.isOdd()||u.isOdd())&&(l.iadd(d),u.isub(h)),l.iushrn(1),u.iushrn(1);r.cmp(n)>=0?(r.isub(n),o.isub(l),s.isub(u)):(n.isub(r),l.isub(o),u.isub(s))}return{a:l,b:u,gcd:n.iushln(c)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var r,n=this,o=t.clone();n=0!==n.negative?n.umod(t):n.clone();for(var s=new a(1),l=new a(0),u=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var c=0,d=1;(n.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(n.iushrn(c);c-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var h=0,f=1;(o.words[0]&f)==0&&h<26;++h,f<<=1);if(h>0)for(o.iushrn(h);h-- >0;)l.isOdd()&&l.iadd(u),l.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(l)):(o.isub(n),l.isub(s))}return 0>(r=0===n.cmpn(1)?s:l).cmpn(0)&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),n=t.clone();r.negative=0,n.negative=0;for(var i=0;r.isEven()&&n.isEven();i++)r.iushrn(1),n.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=r.cmp(n);if(o<0){var a=r;r=n,n=a}else if(0===o||0===n.cmpn(1))break;r.isub(n)}return n.iushln(i)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var r=t%26,n=(t-r)/26,o=1<<r;if(this.length<=n)return this._expand(n+1),this.words[n]|=o,this;for(var a=o,s=n;0!==a&&s<this.length;s++){var l=0|this.words[s];l+=a,a=l>>>26,l&=67108863,this.words[s]=l}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var r,n=t<0;if(0!==this.negative&&!n)return -1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)r=1;else{n&&(t=-t),i(t<=67108863,"Number is too big");var o=0|this.words[0];r=o===t?0:o<t?-1:1}return 0!==this.negative?0|-r:r},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return -1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return -1;for(var r=0,n=this.length-1;n>=0;n--){var i=0|this.words[n],o=0|t.words[n];if(i!==o){i<o?r=-1:i>o&&(r=1);break}}return r},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return -1===this.cmpn(t)},a.prototype.lt=function(t){return -1===this.cmp(t)},a.prototype.lten=function(t){return 0>=this.cmpn(t)},a.prototype.lte=function(t){return 0>=this.cmp(t)},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new A(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,r){this.name=t,this.p=new a(r,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var r=a._prime(t);this.m=r.p,this.prime=r}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new a(null);return t.words=Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var r,n=t;do this.split(n,this.tmp),r=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength();while(r>this.n);var i=r<this.n?-1:n.ucmp(this.p);return 0===i?(n.words[0]=0,n.length=1):i>0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,r){t.iushrn(this.n,0,r)},b.prototype.imulK=function(t){return t.imul(this.k)},o(w,b),w.prototype.split=function(t,r){for(var n=Math.min(t.length,9),i=0;i<n;i++)r.words[i]=t.words[i];if(r.length=n,t.length<=9){t.words[0]=0,t.length=1;return}var o=t.words[9];for(i=10,r.words[r.length++]=4194303&o;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(4194303&a)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,n=0;n<t.length;n++){var i=0|t.words[n];r+=977*i,t.words[n]=67108863&r,r=64*i+(r/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(_,b),o(S,b),o(E,b),E.prototype.imulK=function(t){for(var r=0,n=0;n<t.length;n++){var i=(0|t.words[n])*19+r,o=67108863&i;i>>>=26,t.words[n]=o,r=i}return 0!==r&&(t.words[t.length++]=r),t},a._prime=function(t){var r;if(v[t])return v[t];if("k256"===t)r=new w;else if("p224"===t)r=new _;else if("p192"===t)r=new S;else if("p25519"===t)r=new E;else throw Error("Unknown prime "+t);return v[t]=r,r},A.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,r){i((t.negative|r.negative)==0,"red works only with positives"),i(t.red&&t.red===r.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,r){this._verify2(t,r);var n=t.add(r);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,r){this._verify2(t,r);var n=t.iadd(r);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,r){this._verify2(t,r);var n=t.sub(r);return 0>n.cmpn(0)&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,r){this._verify2(t,r);var n=t.isub(r);return 0>n.cmpn(0)&&n.iadd(this.m),n},A.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},A.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},A.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(i(r%2==1),3===r){var n=this.m.add(new a(1)).iushrn(2);return this.pow(t,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);i(!o.isZero());var l=new a(1).toRed(this),u=l.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,c).cmp(u);)d.redIAdd(u);for(var h=this.pow(d,o),f=this.pow(t,o.addn(1).iushrn(1)),p=this.pow(t,o),m=s;0!==p.cmp(l);){for(var g=p,y=0;0!==g.cmp(l);y++)g=g.redSqr();i(y<m);var v=this.pow(h,new a(1).iushln(m-y-1));f=f.redMul(v),h=v.redSqr(),p=p.redMul(h),m=y}return f},A.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},A.prototype.pow=function(t,r){if(r.isZero())return new a(1).toRed(this);if(0===r.cmpn(1))return t.clone();var n=Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var i=2;i<n.length;i++)n[i]=this.mul(n[i-1],t);var o=n[0],s=0,l=0,u=r.bitLength()%26;for(0===u&&(u=26),i=r.length-1;i>=0;i--){for(var c=r.words[i],d=u-1;d>=0;d--){var h=c>>d&1;if(
4o!==n[0]&&(o=this.sqr(o)),0===h&&0===s){l=0;continue}s<<=1,s|=h,(4==++l||0===i&&0===d)&&(o=this.mul(o,n[s]),l=0,s=0)}u=26}return o},A.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},A.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},a.mont=function(t){return new x(t)},o(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},x.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(r),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(i).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new a(0)._forceRed(this);var n=t.mul(r),i=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(i).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):0>o.cmpn(0)&&(s=o.iadd(this.m)),s._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=n.nmd(t),this)},8878:function(t){"use strict";t.exports=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var o=t.charCodeAt(i);if(o>=55296&&o<=56319&&n>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-56320+65536,i+=1)}if(o<128){r.push(o);continue}if(o<2048){r.push(o>>6|192),r.push(63&o|128);continue}if(o<55296||o>=57344&&o<65536){r.push(o>>12|224),r.push(o>>6&63|128),r.push(63&o|128);continue}if(o>=65536&&o<=1114111){r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer}},96653:function(t,r,n){var i,o=n(40257);!function(a){var s=Object.hasOwnProperty,l=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},u="object"==typeof o&&"function"==typeof o.nextTick,c="function"==typeof Symbol,d="object"==typeof Reflect,h="function"==typeof setImmediate?setImmediate:setTimeout,f=c?d&&"function"==typeof Reflect.ownKeys?Reflect.ownKeys:function(t){var r=Object.getOwnPropertyNames(t);return r.push.apply(r,Object.getOwnPropertySymbols(t)),r}:Object.keys;function p(){this._events={},this._conf&&m.call(this,this._conf)}function m(t){t&&(this._conf=t,t.delimiter&&(this.delimiter=t.delimiter),a!==t.maxListeners&&(this._maxListeners=t.maxListeners),t.wildcard&&(this.wildcard=t.wildcard),t.newListener&&(this._newListener=t.newListener),t.removeListener&&(this._removeListener=t.removeListener),t.verboseMemoryLeak&&(this.verboseMemoryLeak=t.verboseMemoryLeak),t.ignoreErrors&&(this.ignoreErrors=t.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function g(t,r){var n="(node) warning: possible EventEmitter memory leak detected. "+t+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n+=" Event name: "+r+"."),void 0!==o&&o.emitWarning){var i=Error(n);i.name="MaxListenersExceededWarning",i.emitter=this,i.count=t,o.emitWarning(i)}else console.error(n),console.trace&&console.trace()}var y=function(t,r,n){var i=arguments.length;switch(i){case 0:return[];case 1:return[t];case 2:return[t,r];case 3:return[t,r,n];default:for(var o=Array(i);i--;)o[i]=arguments[i];return o}};function v(t,r){for(var n={},i=t.length,o=r?r.length:0,s=0;s<i;s++)n[t[s]]=s<o?r[s]:a;return n}function b(t,r,n){if(this._emitter=t,this._target=r,this._listeners={},this._listenersCount=0,(n.on||n.off)&&(i=n.on,o=n.off),r.addEventListener?(i=r.addEventListener,o=r.removeEventListener):r.addListener?(i=r.addListener,o=r.removeListener):r.on&&(i=r.on,o=r.off),!i&&!o)throw Error("target does not implement any known event API");if("function"!=typeof i)throw TypeError("on method must be a function");if("function"!=typeof o)throw TypeError("off method must be a function");this._on=i,this._off=o;var i,o,a=t._observers;a?a.push(this):t._observers=[this]}function w(t,r,n,i){var o,l,u,c=Object.assign({},r);if(!t)return c;if("object"!=typeof t)throw TypeError("options must be an object");var d=Object.keys(t),h=d.length;function f(t){throw Error('Invalid "'+o+'" option value'+(t?". Reason: "+t:""))}for(var p=0;p<h;p++){if(o=d[p],!i&&!s.call(r,o))throw Error('Unknown "'+o+'" option');a!==(l=t[o])&&(u=n[o],c[o]=u?u(l,f):l)}return c}function _(t,r){return"function"==typeof t&&t.hasOwnProperty("prototype")||r("value must be a constructor"),t}function S(t){var r="value must be type of "+t.join("|"),n=t.length,i=t[0],o=t[1];return 1===n?function(t,n){if(typeof t===i)return t;n(r)}:2===n?function(t,n){var a=typeof t;if(a===i||a===o)return t;n(r)}:function(i,o){for(var a=typeof i,s=n;s-- >0;)if(a===t[s])return i;o(r)}}Object.assign(b.prototype,{subscribe:function(t,r,n){var i=this,o=this._target,a=this._emitter,s=this._listeners,l=function(){var i=y.apply(null,arguments),s={data:i,name:r,original:t};if(n){!1!==n.call(o,s)&&a.emit.apply(a,[s.name].concat(i));return}a.emit.apply(a,[r].concat(i))};if(s[t])throw Error("Event '"+t+"' is already listening");this._listenersCount++,a._newListener&&a._removeListener&&!i._onNewListener?(this._onNewListener=function(n){n===r&&null===s[t]&&(s[t]=l,i._on.call(o,t,l))},a.on("newListener",this._onNewListener),this._onRemoveListener=function(n){n===r&&!a.hasListeners(n)&&s[t]&&(s[t]=null,i._off.call(o,t,l))},s[t]=null,a.on("removeListener",this._onRemoveListener)):(s[t]=l,i._on.call(o,t,l))},unsubscribe:function(t){var r,n,i,o=this,a=this._listeners,s=this._emitter,l=this._off,u=this._target;if(t&&"string"!=typeof t)throw TypeError("event must be a string");function c(){o._onNewListener&&(s.off("newListener",o._onNewListener),s.off("removeListener",o._onRemoveListener),o._onNewListener=null,o._onRemoveListener=null);var t=k.call(s,o);s._observers.splice(t,1)}if(t){if(!(r=a[t]))return;l.call(u,t,r),delete a[t],--this._listenersCount||c()}else{for(i=(n=f(a)).length;i-- >0;)t=n[i],l.call(u,t,a[t]);this._listeners={},this._listenersCount=0,c()}}});var E=S(["function"]),A=S(["object","function"]);function x(t,r,n){var i,o,a,s=0,l=new t(function(u,c,d){function h(){o&&(o=null),s&&(clearTimeout(s),s=0)}i=!(n=w(n,{timeout:0,overload:!1},{timeout:function(t,r){return("number"!=typeof(t*=1)||t<0||!Number.isFinite(t))&&r("timeout must be a positive number"),t}})).overload&&"function"==typeof t.prototype.cancel&&"function"==typeof d;var f=function(t){h(),u(t)},p=function(t){h(),c(t)};i?r(f,p,d):(o=[function(t){p(t||Error("canceled"))}],r(f,p,function(t){if(a)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof t)throw TypeError("onCancel callback must be a function");o.push(t)}),a=!0),n.timeout>0&&(s=setTimeout(function(){var t=Error("timeout");t.code="ETIMEDOUT",s=0,l.cancel(t),c(t)},n.timeout))});
4return i||(l.cancel=function(t){if(o){for(var r=o.length,n=1;n<r;n++)o[n](t);o[0](t),o=null}}),l}function k(t){var r=this._observers;if(!r)return -1;for(var n=r.length,i=0;i<n;i++)if(r[i]._target===t)return i;return -1}function O(t,r,n,i,o){if(!n)return null;if(0===i){var a=typeof r;if("string"===a){var s,l,u=0,c=0,d=this.delimiter,h=d.length;if(-1!==(l=r.indexOf(d))){s=[,,,,,];do s[u++]=r.slice(c,l),c=l+h;while(-1!==(l=r.indexOf(d,c)));s[u++]=r.slice(c),r=s,o=u}else r=[r],o=1}else"object"===a?o=r.length:(r=[r],o=1)}var p,m,g,y,v,b,w,_=null,S=r[i],E=r[i+1];if(i===o)n._listeners&&("function"==typeof n._listeners?t&&t.push(n._listeners):t&&t.push.apply(t,n._listeners),_=[n]);else{if("*"===S){for(l=(b=f(n)).length;l-- >0;)"_listeners"!==(p=b[l])&&(w=O(t,r,n[p],i+1,o))&&(_?_.push.apply(_,w):_=w);return _}if("**"===S){for((v=i+1===o||i+2===o&&"*"===E)&&n._listeners&&(_=O(t,r,n,o,o)),l=(b=f(n)).length;l-- >0;)"_listeners"!==(p=b[l])&&("*"===p||"**"===p?(n[p]._listeners&&!v&&(w=O(t,r,n[p],o,o))&&(_?_.push.apply(_,w):_=w),w=O(t,r,n[p],i,o)):w=p===E?O(t,r,n[p],i+2,o):O(t,r,n[p],i,o),w&&(_?_.push.apply(_,w):_=w));return _}n[S]&&(_=O(t,r,n[S],i+1,o))}if((m=n["*"])&&O(t,r,m,i+1,o),g=n["**"]){if(i<o)for(g._listeners&&O(t,r,g,o,o),l=(b=f(g)).length;l-- >0;)"_listeners"!==(p=b[l])&&(p===E?O(t,r,g[p],i+2,o):p===S?O(t,r,g[p],i+1,o):((y={})[p]=g[p],O(t,r,{"**":y},i+1,o)));else g._listeners?O(t,r,g,o,o):g["*"]&&g["*"]._listeners&&O(t,r,g["*"],o,o)}return _}function P(t,r,n){var i,o,a=0,s=0,l=this.delimiter,u=l.length;if("string"==typeof t){if(-1!==(i=t.indexOf(l))){o=[,,,,,];do o[a++]=t.slice(s,i),s=i+u;while(-1!==(i=t.indexOf(l,s)));o[a++]=t.slice(s)}else o=[t],a=1}else o=t,a=t.length;if(a>1){for(i=0;i+1<a;i++)if("**"===o[i]&&"**"===o[i+1])return}var c,d=this.listenerTree;for(i=0;i<a;i++)if(d=d[c=o[i]]||(d[c]={}),i===a-1){d._listeners?("function"==typeof d._listeners&&(d._listeners=[d._listeners]),n?d._listeners.unshift(r):d._listeners.push(r),!d._listeners.warned&&this._maxListeners>0&&d._listeners.length>this._maxListeners&&(d._listeners.warned=!0,g.call(this,d._listeners.length,c))):d._listeners=r;break}return!0}function C(t,r,n,i){for(var o,a,s,l,u=f(t),c=u.length,d=t._listeners;c-- >0;)o=t[a=u[c]],s="_listeners"===a?n:n?n.concat(a):[a],l=i||"symbol"==typeof a,d&&r.push(l?s:s.join(this.delimiter)),"object"==typeof o&&C.call(this,o,r,s,l);return r}function T(t){for(var r,n,i,o=f(t),a=o.length;a-- >0;)(r=t[n=o[a]])&&(i=!0,"_listeners"===n||T(r)||delete t[n]);return i}function M(t,r,n){this.emitter=t,this.event=r,this.listener=n}function R(t,r,n){if(!0===n)s=!0;else if(!1===n)i=!0;else{if(!n||"object"!=typeof n)throw TypeError("options should be an object or true");var i=n.async,s=n.promisify,l=n.nextTick,c=n.objectify}if(i||l||s){var d=r,f=r._origin||r;if(l&&!u)throw Error("process.nextTick is not supported");a===s&&(s="AsyncFunction"===r.constructor.name),(r=function(){var t=arguments,r=this,n=this.event;return s?l?Promise.resolve():new Promise(function(t){h(t)}).then(function(){return r.event=n,d.apply(r,t)}):(l?o.nextTick:h)(function(){r.event=n,d.apply(r,t)})})._async=!0,r._origin=f}return[r,c?new M(this,t,r):this]}function I(t){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,m.call(this,t)}M.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},I.EventEmitter2=I,I.prototype.listenTo=function(t,r,n){if("object"!=typeof t)throw TypeError("target musts be an object");var i=this;return n=w(n,{on:a,off:a,reducers:a},{on:E,off:E,reducers:A}),function(r){if("object"!=typeof r)throw TypeError("events must be an object");var o,a,s=n.reducers,l=k.call(i,t);o=-1===l?new b(i,t,n):i._observers[l];for(var u=f(r),c=u.length,d="function"==typeof s,h=0;h<c;h++)a=u[h],o.subscribe(a,r[a]||a,d?s:s&&s[a])}(l(r)?v(r):"string"==typeof r?v(r.split(/\s+/)):r),this},I.prototype.stopListeningTo=function(t,r){var n,i=this._observers;if(!i)return!1;var o=i.length,a=!1;if(t&&"object"!=typeof t)throw TypeError("target should be an object");for(;o-- >0;)n=i[o],t&&n._target!==t||(n.unsubscribe(r),a=!0);return a},I.prototype.delimiter=".",I.prototype.setMaxListeners=function(t){a!==t&&(this._maxListeners=t,this._conf||(this._conf={}),this._conf.maxListeners=t)},I.prototype.getMaxListeners=function(){return this._maxListeners},I.prototype.event="",I.prototype.once=function(t,r,n){return this._once(t,r,!1,n)},I.prototype.prependOnceListener=function(t,r,n){return this._once(t,r,!0,n)},I.prototype._once=function(t,r,n,i){return this._many(t,1,r,n,i)},I.prototype.many=function(t,r,n,i){return this._many(t,r,n,!1,i)}
4,I.prototype.prependMany=function(t,r,n,i){return this._many(t,r,n,!0,i)},I.prototype._many=function(t,r,n,i,o){var a=this;if("function"!=typeof n)throw Error("many only accepts instances of Function");function s(){return 0==--r&&a.off(t,s),n.apply(this,arguments)}return s._origin=n,this._on(t,s,i,o)},I.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var t,r,n,i,o,a,s,l=arguments[0],u=this.wildcard;if("newListener"===l&&!this._newListener&&!this._events.newListener)return!1;if(u&&(s=l,"newListener"!==l&&"removeListener"!==l&&"object"==typeof l)){if(r=l.length,c){for(n=0;n<r;n++)if("symbol"==typeof l[n]){o=!0;break}}o||(l=l.join(this.delimiter))}var d=arguments.length;if(this._all&&this._all.length)for(n=0,r=(a=this._all.slice()).length;n<r;n++)switch(this.event=l,d){case 1:a[n].call(this,l);break;case 2:a[n].call(this,l,arguments[1]);break;case 3:a[n].call(this,l,arguments[1],arguments[2]);break;default:a[n].apply(this,arguments)}if(u)a=[],O.call(this,a,s,this.listenerTree,0,r);else{if("function"==typeof(a=this._events[l])){switch(this.event=l,d){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:for(i=1,t=Array(d-1);i<d;i++)t[i-1]=arguments[i];a.apply(this,t)}return!0}a&&(a=a.slice())}if(a&&a.length){if(d>3)for(i=1,t=Array(d-1);i<d;i++)t[i-1]=arguments[i];for(n=0,r=a.length;n<r;n++)switch(this.event=l,d){case 1:a[n].call(this);break;case 2:a[n].call(this,arguments[1]);break;case 3:a[n].call(this,arguments[1],arguments[2]);break;default:a[n].apply(this,t)}return!0}if(!this.ignoreErrors&&!this._all&&"error"===l){if(arguments[1]instanceof Error)throw arguments[1];throw Error("Uncaught, unspecified 'error' event.")}return!!this._all},I.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var t,r,n,i,o,a,s,l=arguments[0],u=this.wildcard;if("newListener"===l&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(u&&(a=l,"newListener"!==l&&"removeListener"!==l&&"object"==typeof l)){if(r=l.length,c){for(n=0;n<r;n++)if("symbol"==typeof l[n]){s=!0;break}}s||(l=l.join(this.delimiter))}var d=[],h=arguments.length;if(this._all)for(n=0,r=this._all.length;n<r;n++)switch(this.event=l,h){case 1:d.push(this._all[n].call(this,l));break;case 2:d.push(this._all[n].call(this,l,arguments[1]));break;case 3:d.push(this._all[n].call(this,l,arguments[1],arguments[2]));break;default:d.push(this._all[n].apply(this,arguments))}if(u?(o=[],O.call(this,o,a,this.listenerTree,0)):o=this._events[l],"function"==typeof o)switch(this.event=l,h){case 1:d.push(o.call(this));break;case 2:d.push(o.call(this,arguments[1]));break;case 3:d.push(o.call(this,arguments[1],arguments[2]));break;default:for(i=1,t=Array(h-1);i<h;i++)t[i-1]=arguments[i];d.push(o.apply(this,t))}else if(o&&o.length){if(o=o.slice(),h>3)for(i=1,t=Array(h-1);i<h;i++)t[i-1]=arguments[i];for(n=0,r=o.length;n<r;n++)switch(this.event=l,h){case 1:d.push(o[n].call(this));break;case 2:d.push(o[n].call(this,arguments[1]));break;case 3:d.push(o[n].call(this,arguments[1],arguments[2]));break;default:d.push(o[n].apply(this,t))}}else if(!this.ignoreErrors&&!this._all&&"error"===l)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(d)},I.prototype.on=function(t,r,n){return this._on(t,r,!1,n)},I.prototype.prependListener=function(t,r,n){return this._on(t,r,!0,n)},I.prototype.onAny=function(t){return this._onAny(t,!1)},I.prototype.prependAny=function(t){return this._onAny(t,!0)},I.prototype.addListener=I.prototype.on,I.prototype._onAny=function(t,r){if("function"!=typeof t)throw Error("onAny only accepts instances of Function");return this._all||(this._all=[]),r?this._all.unshift(t):this._all.push(t),this},I.prototype._on=function(t,r,n,i){if("function"==typeof t)return this._onAny(t,r),this;if("function"!=typeof r)throw Error("on only accepts instances of Function");this._events||p.call(this);var o,s=this;return(a!==i&&(r=(o=R.call(this,t,r,i))[0],s=o[1]),this._newListener&&this.emit
4("newListener",t,r),this.wildcard)?P.call(this,t,r,n):this._events[t]?("function"==typeof this._events[t]&&(this._events[t]=[this._events[t]]),n?this._events[t].unshift(r):this._events[t].push(r),!this._events[t].warned&&this._maxListeners>0&&this._events[t].length>this._maxListeners&&(this._events[t].warned=!0,g.call(this,this._events[t].length,t))):this._events[t]=r,s},I.prototype.off=function(t,r){if("function"!=typeof r)throw Error("removeListener only takes instances of Function");var n,i=[];if(this.wildcard){var o="string"==typeof t?t.split(this.delimiter):t.slice();if(!(i=O.call(this,null,o,this.listenerTree,0)))return this}else{if(!this._events[t])return this;n=this._events[t],i.push({_listeners:n})}for(var a=0;a<i.length;a++){var s=i[a];if(l(n=s._listeners)){for(var u=-1,c=0,d=n.length;c<d;c++)if(n[c]===r||n[c].listener&&n[c].listener===r||n[c]._origin&&n[c]._origin===r){u=c;break}if(u<0)continue;return this.wildcard?s._listeners.splice(u,1):this._events[t].splice(u,1),0===n.length&&(this.wildcard?delete s._listeners:delete this._events[t]),this._removeListener&&this.emit("removeListener",t,r),this}(n===r||n.listener&&n.listener===r||n._origin&&n._origin===r)&&(this.wildcard?delete s._listeners:delete this._events[t],this._removeListener&&this.emit("removeListener",t,r))}return this.listenerTree&&T(this.listenerTree),this},I.prototype.offAny=function(t){var r,n=0,i=0;if(t&&this._all&&this._all.length>0){for(n=0,i=(r=this._all).length;n<i;n++)if(t===r[n]){r.splice(n,1),this._removeListener&&this.emit("removeListenerAny",t);break}}else{if(r=this._all,this._removeListener)for(n=0,i=r.length;n<i;n++)this.emit("removeListenerAny",r[n]);this._all=[]}return this},I.prototype.removeListener=I.prototype.off,I.prototype.removeAllListeners=function(t){if(a===t)return this._events&&p.call(this),this;if(this.wildcard){var r,n=O.call(this,null,t,this.listenerTree,0);if(!n)return this;for(r=0;r<n.length;r++)n[r]._listeners=null;this.listenerTree&&T(this.listenerTree)}else this._events&&(this._events[t]=null);return this},I.prototype.listeners=function(t){var r,n,i,o,s,l=this._events;if(a===t){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!l)return[];for(o=(r=f(l)).length,i=[];o-- >0;)"function"==typeof(n=l[r[o]])?i.push(n):i.push.apply(i,n);return i}if(this.wildcard){if(!(s=this.listenerTree))return[];var u=[],c="string"==typeof t?t.split(this.delimiter):t.slice();return O.call(this,u,c,s,0),u}return l&&(n=l[t])?"function"==typeof n?[n]:n:[]},I.prototype.eventNames=function(t){var r=this._events;return this.wildcard?C.call(this,this.listenerTree,[],null,t):r?f(r):[]},I.prototype.listenerCount=function(t){return this.listeners(t).length},I.prototype.hasListeners=function(t){if(this.wildcard){var r=[],n="string"==typeof t?t.split(this.delimiter):t.slice();return O.call(this,r,n,this.listenerTree,0),r.length>0}var i=this._events,o=this._all;return!!(o&&o.length||i&&(a===t?f(i).length:i[t]))},I.prototype.listenersAny=function(){return this._all?this._all:[]},I.prototype.waitFor=function(t,r){var n=this,i=typeof r;return"number"===i?r={timeout:r}:"function"===i&&(r={filter:r}),x((r=w(r,{timeout:0,filter:a,handleError:!1,Promise:Promise,overload:!1},{filter:E,Promise:_})).Promise,function(i,o,a){function s(){var a=r.filter;if(!a||a.apply(n,arguments)){if(n.off(t,s),r.handleError){var l=arguments[0];l?o(l):i(y.apply(null,arguments).slice(1))}else i(y.apply(null,arguments))}}a(function(){n.off(t,s)}),n._on(t,s,!1)},{timeout:r.timeout,overload:r.overload})};var N=I.prototype;Object.defineProperties(I,{defaultMaxListeners:{get:function(){return N._maxListeners},set:function(t){if("number"!=typeof t||t<0||Number.isNaN(t))throw TypeError("n must be a non-negative number");N._maxListeners=t},enumerable:!0},once:{value:function(t,r,n){return x((n=w(n,{Promise:Promise,timeout:0,overload:!1},{Promise:_})).Promise,function(n,i,o){if("function"==typeof t.addEventListener){a=function(){n(y.apply(null,arguments))},o(function(){t.removeEventListener(r,a)}),t.addEventListener(r,a,{once:!0});return}var a,s,l=function(){s&&t.removeListener("error",s),n(y.apply(null,arguments))};"error"!==r&&(s=function(n){t.removeListener(r,l),i(n)},t.once("error",s)),o(function(){s&&t.removeListener("error",s),t.removeListener(r,l)}),t.once(r,l)},{timeout:n.timeout,overload:n.overload})},writable:!0,configurable:!0}}),Object.defineProperties(N,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),a!==(i=(function(){return I}).call(r,n,r,t))&&(t.exports=i)}()},77625:function(t){"use strict";var r=Object.prototype.hasOwnProperty,n="~";function i(){}function o(t,r,n){this.fn=t,this.context=r,this.once=n||!1}
vendor: 6,451 bytes, line 4
4function a(t,r,i,a,s){if("function"!=typeof i)throw TypeError("The listener must be a function");var l=new o(i,a||t,s),u=n?n+r:r;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],l]:t._events[u].push(l):(t._events[u]=l,t._eventsCount++),t}function s(t,r){0==--t._eventsCount?t._events=new i:delete t._events[r]}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1)),l.prototype.eventNames=function(){var t,i,o=[];if(0===this._eventsCount)return o;for(i in t=this._events)r.call(t,i)&&o.push(n?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},l.prototype.listeners=function(t){var r=n?n+t:t,i=this._events[r];if(!i)return[];if(i.fn)return[i.fn];for(var o=0,a=i.length,s=Array(a);o<a;o++)s[o]=i[o].fn;return s},l.prototype.listenerCount=function(t){var r=n?n+t:t,i=this._events[r];return i?i.fn?1:i.length:0},l.prototype.emit=function(t,r,i,o,a,s){var l=n?n+t:t;if(!this._events[l])return!1;var u,c,d=this._events[l],h=arguments.length;if(d.fn){switch(d.once&&this.removeListener(t,d.fn,void 0,!0),h){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,r),!0;case 3:return d.fn.call(d.context,r,i),!0;case 4:return d.fn.call(d.context,r,i,o),!0;case 5:return d.fn.call(d.context,r,i,o,a),!0;case 6:return d.fn.call(d.context,r,i,o,a,s),!0}for(c=1,u=Array(h-1);c<h;c++)u[c-1]=arguments[c];d.fn.apply(d.context,u)}else{var f,p=d.length;for(c=0;c<p;c++)switch(d[c].once&&this.removeListener(t,d[c].fn,void 0,!0),h){case 1:d[c].fn.call(d[c].context);break;case 2:d[c].fn.call(d[c].context,r);break;case 3:d[c].fn.call(d[c].context,r,i);break;case 4:d[c].fn.call(d[c].context,r,i,o);break;default:if(!u)for(f=1,u=Array(h-1);f<h;f++)u[f-1]=arguments[f];d[c].fn.apply(d[c].context,u)}}return!0},l.prototype.on=function(t,r,n){return a(this,t,r,n,!1)},l.prototype.once=function(t,r,n){return a(this,t,r,n,!0)},l.prototype.removeListener=function(t,r,i,o){var a=n?n+t:t;if(!this._events[a])return this;if(!r)return s(this,a),this;var l=this._events[a];if(l.fn)l.fn!==r||o&&!l.once||i&&l.context!==i||s(this,a);else{for(var u=0,c=[],d=l.length;u<d;u++)(l[u].fn!==r||o&&!l[u].once||i&&l[u].context!==i)&&c.push(l[u]);c.length?this._events[a]=1===c.length?c[0]:c:s(this,a)}return this},l.prototype.removeAllListeners=function(t){var r;return t?(r=n?n+t:t,this._events[r]&&s(this,r)):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,t.exports=l},55445:function(t){"use strict";var r,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(t,r){return new Promise(function(n,i){var o;function a(n){t.removeListener(r,s),i(n)}function s(){"function"==typeof t.removeListener&&t.removeListener("error",a),n([].slice.call(arguments))}g(t,r,s,{once:!0}),"error"!==r&&(o={once:!0},"function"==typeof t.on&&g(t,"error",a,o))})},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function c(t,r,n,i){if(l(n),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",r,n.listener?n.listener:n),a=t._events),s=a[r]),void 0===s)s=a[r]=n,++t._eventsCount;else if("function"==typeof s?s=a[r]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),(o=u(t))>0&&s.length>o&&!s.warned){s.warned=!0;var o,a,s,c=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=r,c.count=s.length,console&&console.warn&&console.warn(c)}return t}function d(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,r,n){var i={fired:!1,wrapFn:void 0,target:t,type:r,listener:n},o=d.bind(i);return o.listener=n,i.wrapFn=o,o}function f(t,r,n){var i=t._events;if(void 0===i)return[];var o=i[r];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(t){for(var r=Array(t.length),n=0;n<r.length;++n)r[n]=t[n].listener||t[n];return r}(o):m(o,o.length)}function p(t){var r=this._events;if(void 0!==r){var n=r[t];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(t,r){for(var n=Array(r),i=0;i<r;++i)n[i]=t[i];return n}function g(t,r,n,i){if("function"==typeof t.on)i.once?t.once(r,n):t.on(r,n);else if("function"==typeof t.addEventListener)t.addEventListener(r,function o(a){i.once&&t.removeEventListener(r,o),n(a)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),a.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o="error"===t,a=this._events;if(void 0!==a)o=o&&void 0===a.error;else if(!o)return!1;if(o){if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var s,l=Error("Unhandled error."+(s?" ("+s.message+")":""));throw l.context=s,l}var u=a[t];
vendor: 8,754 bytes, line 4
4if(void 0===u)return!1;if("function"==typeof u)i(u,this,r);else for(var c=u.length,d=m(u,c),n=0;n<c;++n)i(d[n],this,r);return!0},a.prototype.addListener=function(t,r){return c(this,t,r,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,r){return c(this,t,r,!0)},a.prototype.once=function(t,r){return l(r),this.on(t,h(this,t,r)),this},a.prototype.prependOnceListener=function(t,r){return l(r),this.prependListener(t,h(this,t,r)),this},a.prototype.removeListener=function(t,r){var n,i,o,a,s;if(l(r),void 0===(i=this._events)||void 0===(n=i[t]))return this;if(n===r||n.listener===r)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||r));else if("function"!=typeof n){for(o=-1,a=n.length-1;a>=0;a--)if(n[a]===r||n[a].listener===r){s=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(t,r){for(;r+1<t.length;r++)t[r]=t[r+1];t.pop()}(n,o),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,s||r)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var r,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0==arguments.length){var o,a=Object.keys(n);for(i=0;i<a.length;++i)"removeListener"!==(o=a[i])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=n[t]))this.removeListener(t,r);else if(void 0!==r)for(i=r.length-1;i>=0;i--)this.removeListener(t,r[i]);return this},a.prototype.listeners=function(t){return f(this,t,!0)},a.prototype.rawListeners=function(t){return f(this,t,!1)},a.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):p.call(t,r)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},28714:function(t,r,n){r.utils=n(20015),r.common=n(49351),r.sha=n(87647),r.ripemd=n(47826),r.hmac=n(53765),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},49351:function(t,r,n){"use strict";var i=n(20015),o=n(73045);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=a,a.prototype.update=function(t,r){if(t=i.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=i.join32(t,0,t.length-n,this.endian);for(var o=0;o<t.length;o+=this._delta32)this._update(t,o,o+this._delta32)}return this},a.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},a.prototype._pad=function(){var t=this.pendingTotal,r=this._delta8,n=r-(t+this.padLength)%r,i=Array(n+this.padLength);i[0]=128;for(var o=1;o<n;o++)i[o]=0;if(t<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)i[o++]=0;i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=t>>>24&255,i[o++]=t>>>16&255,i[o++]=t>>>8&255,i[o++]=255&t}else for(a=8,i[o++]=255&t,i[o++]=t>>>8&255,i[o++]=t>>>16&255,i[o++]=t>>>24&255,i[o++]=0,i[o++]=0,i[o++]=0,i[o++]=0;a<this.padLength;a++)i[o++]=0;return i}},53765:function(t,r,n){"use strict";var i=n(20015),o=n(73045);function a(t,r,n){if(!(this instanceof a))return new a(t,r,n);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(r,n))}t.exports=a,a.prototype._init=function(t){t.length>this.blockSize&&(t=new this.Hash().update(t).digest()),o(t.length<=this.blockSize);for(var r=t.length;r<this.blockSize;r++)t.push(0);for(r=0;r<t.length;r++)t[r]^=54;for(r=0,this.inner=new this.Hash().update(t);r<t.length;r++)t[r]^=106;this.outer=new this.Hash().update(t)},a.prototype.update=function(t,r){return this.inner.update(t,r),this},a.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},47826:function(t,r,n){"use strict";var i=n(20015),o=n(49351),a=i.rotl32,s=i.sum32,l=i.sum32_3,u=i.sum32_4,c=o.BlockHash;function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,r,n,i){return t<=15?r^n^i:t<=31?r&n|~r&i:t<=47?(r|~n)^i:t<=63?r&i|n&~i:r^(n|~i)}i.inherits(d,c),r.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(t,r){for(var n=this.h[0],i=this.h[1],o=this.h[2],c=this.h[3],d=this.h[4],y=n,v=i,b=o,w=c,_=d,S=0;S<80;S++){var E,A,x=s(a(u(n,h(S,i,o,c),t[f[S]+r],(E=S)<=15?0:E<=31?1518500249:E<=47?1859775393:E<=63?2400959708:2840853838),m[S]),d);n=d,d=c,c=a(o,10),o=i,i=x,x=s(a(u(y,h(79-S,v,b,w),t[p[S]+r],(A=S)<=15?1352829926:A<=31?1548603684:A<=47?1836072691:A<=63?2053994217:0),g[S]),_),y=_,_=w,w=a(b,10),b=v,v=x}x=l(this.h[1],o,w),this.h[1]=l(this.h[2],c,_),this.h[2]=l(this.h[3],d,y),this.h[3]=l(this.h[4],n,v),this.h[4]=l(this.h[0],i,b),this.h[0]=x},d.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},87647:function(t,r,n){"use strict";r.sha1=n(4684),r.sha224=n(45261),r.sha256=n(17795),r.sha384=n(84182),r.sha512=n(54358)},4684:function(t,r,n){"use strict";var i=n(20015),o=n(49351),a=n(31964),s=i.rotl32,l=i.sum32,u=i.sum32_5,c=a.ft_1,d=o.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}i.inherits(f,d),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;i<n.length;i++)n[i]=s(n[i-3]^n[i-8]^n[i-14]^n[i-16],1);var o=this.h[0],a=this.h[1],d=this.h[2],f=this.h[3],p=this.h[4];for(i=0;i<n.length;i++){var m=~~(i/20),g=u(s(o,5),c(m,a,d,f),p,n[i],h[m]);p=f,f=d,d=s(a,30),a=o,o=g}this.h[0]=l(this.h[0],o),this.h[1]=l(this.h[1],a),this.h[2]=l(this.h[2],d),this.h[3]=l(this.h[3],f),this.h[4]=l(this.h[4],p)},f.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},45261:function(t,r,n){"use strict";var i=n(20015),o=n(17795);function a(){if(!(this instanceof a))return new a;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(a,o),t.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},17795:function(t,r,n){"use strict";var i=n(20015),o=n(49351),a=n(31964),s=n(73045),l=i.sum32,u=i.sum32_4,c=i.sum32_5,d=a.ch32,h=a.maj32,f=a.s0_256,p=a.s1_256,m=a.g0_256,g=a.g1_256,y=o.BlockHash,v=[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,2756
vendor: 3,373 bytes, line 4
4734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=Array(64)}i.inherits(b,y),t.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(t,r){for(var n=this.W,i=0;i<16;i++)n[i]=t[r+i];for(;i<n.length;i++)n[i]=u(g(n[i-2]),n[i-7],m(n[i-15]),n[i-16]);var o=this.h[0],a=this.h[1],y=this.h[2],v=this.h[3],b=this.h[4],w=this.h[5],_=this.h[6],S=this.h[7];for(s(this.k.length===n.length),i=0;i<n.length;i++){var E=c(S,p(b),d(b,w,_),this.k[i],n[i]),A=l(f(o),h(o,a,y));S=_,_=w,w=b,b=l(v,E),v=y,y=a,a=o,o=l(E,A)}this.h[0]=l(this.h[0],o),this.h[1]=l(this.h[1],a),this.h[2]=l(this.h[2],y),this.h[3]=l(this.h[3],v),this.h[4]=l(this.h[4],b),this.h[5]=l(this.h[5],w),this.h[6]=l(this.h[6],_),this.h[7]=l(this.h[7],S)},b.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},84182:function(t,r,n){"use strict";var i=n(20015),o=n(54358);function a(){if(!(this instanceof a))return new a;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(a,o),t.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},54358:function(t,r,n){"use strict";var i=n(20015),o=n(49351),a=n(73045),s=i.rotr64_hi,l=i.rotr64_lo,u=i.shr64_hi,c=i.shr64_lo,d=i.sum64,h=i.sum64_hi,f=i.sum64_lo,p=i.sum64_4_hi,m=i.sum64_4_lo,g=i.sum64_5_hi,y=i.sum64_5_lo,v=o.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
41126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=Array(160)}i.inherits(w,v),t.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(t,r){for(var n=this.W,i=0;i<32;i++)n[i]=t[r+i];for(;i<n.length;i+=2){var o=function(t,r){var n=s(t,r,19)^s(r,t,29)^u(t,r,6);return n<0&&(n+=4294967296),n}(n[i-4],n[i-3]),a=function(t,r){var n=l(t,r,19)^l(r,t,29)^c(t,r,6);return n<0&&(n+=4294967296),n}(n[i-4],n[i-3]),d=n[i-14],h=n[i-13],f=function(t,r){var n=s(t,r,1)^s(t,r,8)^u(t,r,7);return n<0&&(n+=4294967296),n}(n[i-30],n[i-29]),g=function(t,r){var n=l(t,r,1)^l(t,r,8)^c(t,r,7);return n<0&&(n+=4294967296),n}(n[i-30],n[i-29]),y=n[i-32],v=n[i-31];n[i]=p(o,a,d,h,f,g,y,v),n[i+1]=m(o,a,d,h,f,g,y,v)}},w.prototype._update=function(t,r){this._prepareBlock(t,r);var n=this.W,i=this.h[0],o=this.h[1],u=this.h[2],c=this.h[3],p=this.h[4],m=this.h[5],v=this.h[6],b=this.h[7],w=this.h[8],_=this.h[9],S=this.h[10],E=this.h[11],A=this.h[12],x=this.h[13],k=this.h[14],O=this.h[15];a(this.k.length===n.length);for(var P=0;P<n.length;P+=2){var C=k,T=O,M=function(t,r){var n=s(t,r,14)^s(t,r,18)^s(r,t,9);return n<0&&(n+=4294967296),n}(w,_),R=function(t,r){var n=l(t,r,14)^l(t,r,18)^l(r,t,9);return n<0&&(n+=4294967296),n}(w,_),I=function(t,r,n,i,o){var a=t&n^~t&o;return a<0&&(a+=4294967296),a}(w,0,S,0,A,x),N=function(t,r,n,i,o,a){var s=r&i^~r&a;return s<0&&(s+=4294967296),s}(0,_,0,E,0,x),D=this.k[P],F=this.k[P+1],L=n[P],$=n[P+1],j=g(C,T,M,R,I,N,D,F,L,$),U=y(C,T,M,R,I,N,D,F,L,$);C=function(t,r){var n=s(t,r,28)^s(r,t,2)^s(r,t,7);return n<0&&(n+=4294967296),n}(i,o);var B=h(C,T=function(t,r){var n=l(t,r,28)^l(r,t,2)^l(r,t,7);return n<0&&(n+=4294967296),n}(i,o),M=function(t,r,n,i,o){var a=t&n^t&o^n&o;return a<0&&(a+=4294967296),a}(i,0,u,0,p,m),R=function(t,r,n,i,o,a){var s=r&i^r&a^i&a;return s<0&&(s+=4294967296),s}(0,o,0,c,0,m)),z=f(C,T,M,R);k=A,O=x,A=S,x=E,S=w,E=_,w=h(v,b,j,U),_=f(b,b,j,U),v=p,b=m,p=u,m=c,u=i,c=o,i=h(j,U,B,z),o=f(j,U,B,z)}d(this.h,0,i,o),d(this.h,2,u,c),d(this.h,4,p,m),d(this.h,6,v,b),d(this.h,8,w,_),d(this.h,10,S,E),d(this.h,12,A,x),d(this.h,14,k,O)},w.prototype._digest=function(t){return"hex"===t?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},31964:function(t,r,n){"use strict";var i=n(20015).rotr32;function o(t,r,n){return t&r^t&n^r&n}r.ft_1=function(t,r,n,i){return 0===t?r&n^~r&i:1===t||3===t?r^n^i:2===t?o(r,n,i):void 0},r.ch32=function(t,r,n){return t&r^~t&n},r.maj32=o,r.p32=function(t,r,n){return t^r^n},r.s0_256=function(t){return i(t,2)^i(t,13)^i(t,22)},r.s1_256=function(t){return i(t,6)^i(t,11)^i(t,25)},r.g0_256=function(t){return i(t,7)^i(t,18)^t>>>3},r.g1_256=function(t){return i(t,17)^i(t,19)^t>>>10}},20015:function(t,r,n){"use strict";var i=n(73045),o=n(56853);function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function l(t){if(7===t.length)return"0"+t;if(6===t.length)return"00"+t;if(5===t.length)return"000"+t;if(4===t.length)return"0000"+t;if(3===t.length)return"00000"+t;if(2===t.length)return"000000"+t;if(1===t.length)return"0000000"+t;else return t}r.inherits=o,r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t){if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t),o=0;o<t.length;o+=2)n.push(parseInt(t[o]+t[o+1],16))}else for(var i=0,o=0;o<t.length;o++){var a,s,l=t.charCodeAt(o);l<128?n[i++]=l:(l<2048?n[i++]=l>>6|192:((a=t,s=o,(64512&a.charCodeAt(s))!=55296||s<0||s+1>=a.length?1:(64512&a.charCodeAt(s+1))!=56320)?n[i++]=l>>12|224:(l=65536+((1023&l)<<10)+(1023&t.charCodeAt(++o)),n[i++]=l>>18|240,n[i++]=l>>12&63|128),n[i++]=l>>6&63|128),n[i++]=63&l|128)}}else for(o=0;o<t.length;o++)n[o]=0|t[o];return n},r.toHex=function(t){for(var r="",n=0;n<t.length;n++)r+=s(t[n].toString(16));return r},r.htonl=a,r.toHex32=function(t,r){for(var n="",i=0;i<t.length;i++){var o=t[i];"little"===r&&(o=a(o)),n+=l(o.toString(16))}return n},r.zero2=s,r.zero8=l,r.join32=function(t,r,n,o){var a,s=n-r;i(s%4==0);for(var l=Array(s/4),u=0,c=r;u<l.length;u++,c+=4)a="big"===o?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],l[u]=a>>>0;return l},r.split32=function(t,r){for(var n=Array(4*t.length),i=0,o=0;i<t.length;i++,o+=4){var a=t[i];"big"===r?(n[o]=a>>>24,n[o+1]=a>>>16&255,n[o+2]=a>>>8&255,n[o+3]=255&a):(n[o+3]=a>>>24,n[o+2]=a>>>16&255,n[o+1]=a>>>8&255,n[o]=255&a)}return n},r.rotr32=function(t,r){return t>>>r|t<<32-r},r.rotl32=function(t,r){return t<<r|t>>>32-r},r.sum32=function(t,r){return t+r>>>0},r.sum32_3=function(t,r,n){return t+r+n>>>0},r.sum32_4=function(t,r,n,i){return t+r+n+i>>>0},r.sum32_5=function(t,r,n,i,o){return t+r+n+i+o>>>0},r.sum64=function(t,r,n,i){var o=t[r],a=i+t[r+1]>>>0;t[r]=(a<i?1:0)+n+o>>>0,t[r+1]=a}
4,r.sum64_hi=function(t,r,n,i){return(r+i>>>0<r?1:0)+t+n>>>0},r.sum64_lo=function(t,r,n,i){return r+i>>>0},r.sum64_4_hi=function(t,r,n,i,o,a,s,l){var u,c=r;return t+n+o+s+(0+((c=c+i>>>0)<r?1:0)+((c=c+a>>>0)<a?1:0)+((c=c+l>>>0)<l?1:0))>>>0},r.sum64_4_lo=function(t,r,n,i,o,a,s,l){return r+i+a+l>>>0},r.sum64_5_hi=function(t,r,n,i,o,a,s,l,u,c){var d,h=r;return t+n+o+s+u+(0+((h=h+i>>>0)<r?1:0)+((h=h+a>>>0)<a?1:0)+((h=h+l>>>0)<l?1:0)+((h=h+c>>>0)<c?1:0))>>>0},r.sum64_5_lo=function(t,r,n,i,o,a,s,l,u,c){return r+i+a+l+c>>>0},r.rotr64_hi=function(t,r,n){return(r<<32-n|t>>>n)>>>0},r.rotr64_lo=function(t,r,n){return(t<<32-n|r>>>n)>>>0},r.shr64_hi=function(t,r,n){return t>>>n},r.shr64_lo=function(t,r,n){return(t<<32-n|r>>>n)>>>0}},28072:function(t,r,n){"use strict";var i=n(28714),o=n(83742),a=n(73045);function s(t){if(!(this instanceof s))return new s(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=o.toArray(t.entropy,t.entropyEnc||"hex"),n=o.toArray(t.nonce,t.nonceEnc||"hex"),i=o.toArray(t.pers,t.persEnc||"hex");a(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,n,i)}t.exports=s,s.prototype._init=function(t,r,n){var i=t.concat(r).concat(n);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},s.prototype._update=function(t){var r=this._hmac().update(this.V).update([0]);t&&(r=r.update(t)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(t,r,n,i){"string"!=typeof r&&(i=n,n=r,r=null),t=o.toArray(t,r),n=o.toArray(n,i),a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},s.prototype.generate=function(t,r,n,i){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof r&&(i=n,n=r,r=null),n&&(n=o.toArray(n,i||"hex"),this._update(n));for(var a=[];a.length<t;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var s=a.slice(0,t);return this._update(n),this._reseed++,o.encode(s,r)}},63285:function(t,r,n){"use strict";var i=n(82558),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(t){return i.isMemo(t)?s:l[t.$$typeof]||o}l[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[i.Memo]=s;var c=Object.defineProperty,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;t.exports=function t(r,n,i){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&t(r,o,i)}var s=d(n);h&&(s=s.concat(h(n)));for(var l=u(r),g=u(n),y=0;y<s.length;++y){var v=s[y];if(!a[v]&&!(i&&i[v])&&!(g&&g[v])&&!(l&&l[v])){var b=f(n,v);try{c(r,v,b)}catch(t){}}}}return r}},61791:function(t,r,n){"use strict";let i=n(88380),o=n(20597),a=n(95922).Od,s={},l={},u={},c={},d={};function h(t){return String("000"+(t||"")).slice(-3)}function f(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function p(t,r){switch(t){case"official":return Array.isArray(r)?r[0]:r;case"all":return"string"==typeof r?[r]:r;case"alias":return Array.isArray(r)?r[1]||r[0]:r;default:throw TypeError("LocaleNameType must be one of these: all, official, alias!")}}function m(t){return l[c[h(t)]]}function g(t){return c[h(t)]}function y(t){if("string"==typeof t){if(/^[0-9]*$/.test(t))return g(t);if(2===t.length)return t.toUpperCase();if(3===t.length)return u[t.toUpperCase()]}if("number"==typeof t)return g(t)}i.forEach(function(t){l[t[0]]=t[1],u[t[1]]=t[0],c[t[2]]=t[0],d[t[0]]=t[2]}),r.registerLocale=function(t){if(!t.locale)throw TypeError("Missing localeData.locale");if(!t.countries)throw TypeError("Missing localeData.countries");s[t.locale]=t.countries},r.alpha3ToAlpha2=function(t){return u[t]},r.alpha2ToAlpha3=function(t){return l[t]},r.alpha3ToNumeric=function(t){return d[u[t]]},r.alpha2ToNumeric=function(t){return d[t]},r.numericToAlpha3=m,r.numericToAlpha2=g,r.toAlpha3=function(t){if("string"==typeof t){if(/^[0-9]*$/.test(t))return m(t);if(2===t.length)return l[t.toUpperCase()];if(3===t.length)return t.toUpperCase()}if("number"==typeof t)return m(t)},r.toAlpha2=y,r.getName=function(t,r,n={}){"select"in n||(n.select="official");try{let i=s[r.toLowerCase()][y(t)];return p(n.select,i)}catch(t){return}},r.getNames=function(t,r={}){var n;"select"in r||(r.select="official");let i=s[t.toLowerCase()];return void 0===i?{}:(n=function(t){return p(r.select,t)},Object.keys(i).reduce(function(t,r){let o=i[r];return t[r]=n(o,r),t},{}))},r.getAlpha2Code=function(t,r){let n=t=>t.toLowerCase(),i=(t,r)=>n(t)===n(r);try{let n=s[r.toLowerCase()];
4for(let r in n)if(f(n,r)){if("string"==typeof n[r]&&i(n[r],t))return r;if(Array.isArray(n[r])){for(let o of n[r])if(i(o,t))return r}}return}catch(t){return}},r.getSimpleAlpha2Code=function(t,r){let n=t=>a(t.toLowerCase()),i=(t,r)=>n(t)===n(r);try{let n=s[r.toLowerCase()];for(let r in n)if(f(n,r)){if("string"==typeof n[r]&&i(n[r],t))return r;if(Array.isArray(n[r])){for(let o of n[r])if(i(o,t))return r}}return}catch(t){return}},r.getAlpha2Codes=function(){return l},r.getAlpha3Code=function(t,n){let i=r.getAlpha2Code(t,n);return i?r.toAlpha3(i):void 0},r.getSimpleAlpha3Code=function(t,n){let i=r.getSimpleAlpha2Code(t,n);return i?r.toAlpha3(i):void 0},r.getAlpha3Codes=function(){return u},r.getNumericCodes=function(){return c},r.langs=function(){return Object.keys(s)},r.getSupportedLanguages=function(){return o},r.isValid=function(t){if(!t)return!1;let r=t.toString().toUpperCase();return f(u,r)||f(l,r)||f(c,r)}},77387:function(t,r,n){var i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g,o=function(){function t(){this.fetch=!1,this.DOMException=i.DOMException}return t.prototype=i,new t}();(function(t){var r=void 0!==o&&o||"undefined"!=typeof self&&self||void 0!==r&&r,n={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(n.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function l(t){return"string"!=typeof t&&(t=String(t)),t}function u(t){var r={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return n.iterable&&(r[Symbol.iterator]=function(){return r}),r}function c(t){this.map={},t instanceof c?t.forEach(function(t,r){this.append(r,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(r){this.append(r,t[r])},this)}function d(t){if(t.bodyUsed)return Promise.reject(TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise(function(r,n){t.onload=function(){r(t.result)},t.onerror=function(){n(t.error)}})}function f(t){var r=new FileReader,n=h(r);return r.readAsArrayBuffer(t),n}function p(t){if(t.slice)return t.slice(0);var r=new Uint8Array(t.byteLength);return r.set(new Uint8Array(t)),r.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){if(this.bodyUsed=this.bodyUsed,this._bodyInit=t,t){if("string"==typeof t)this._bodyText=t;else if(n.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(n.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else{var r;n.arrayBuffer&&n.blob&&(r=t)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t)}}else this._bodyText="";!this.headers.get("content-type")&&("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(f)}),this.text=function(){var t,r,n,i=d(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,n=h(r=new FileReader),r.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var r=new
4Uint8Array(t),n=Array(r.length),i=0;i<r.length;i++)n[i]=String.fromCharCode(r[i]);return n.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},n.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,r){t=s(t),r=l(r);var n=this.map[t];this.map[t]=n?n+", "+r:r},c.prototype.delete=function(t){delete this.map[s(t)]},c.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},c.prototype.set=function(t,r){this.map[s(t)]=l(r)},c.prototype.forEach=function(t,r){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(r,this.map[n],n,this)},c.prototype.keys=function(){var t=[];return this.forEach(function(r,n){t.push(n)}),u(t)},c.prototype.values=function(){var t=[];return this.forEach(function(r){t.push(r)}),u(t)},c.prototype.entries=function(){var t=[];return this.forEach(function(r,n){t.push([n,r])}),u(t)},n.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,r){if(!(this instanceof y))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,o=(r=r||{}).body;if(t instanceof y){if(t.bodyUsed)throw TypeError("Already read");this.url=t.url,this.credentials=t.credentials,r.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=r.credentials||this.credentials||"same-origin",(r.headers||!this.headers)&&(this.headers=new c(r.headers)),this.method=(i=(n=r.method||this.method||"GET").toUpperCase(),g.indexOf(i)>-1?i:n),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),("GET"===this.method||"HEAD"===this.method)&&("no-store"===r.cache||"no-cache"===r.cache)){var a=/([?&])_=[^&]*/;a.test(this.url)?this.url=this.url.replace(a,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function v(t){var r=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");r.append(decodeURIComponent(i),decodeURIComponent(o))}}),r}function b(t,r){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===r.statusText?"":""+r.statusText,this.headers=new c(r.headers),this.url=r.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},m.call(y.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];b.redirect=function(t,r){if(-1===w.indexOf(r))throw RangeError("Invalid status code");return new b(null,{status:r,headers:{location:t}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(r){t.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function _(i,o){return new Promise(function(a,s){var u=new y(i,o);if(u.signal&&u.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function h(){d.abort()}d.onload=function(){var t,r,n={status:d.status,statusText:d.statusText,headers:(t=d.getAllResponseHeaders()||"",r=new c,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}
vendor: 9,760 bytes, line 4
4).forEach(function(t){var n=t.split(":"),i=n.shift().trim();if(i){var o=n.join(":").trim();r.append(i,o)}}),r)};n.url="responseURL"in d?d.responseURL:n.headers.get("X-Request-URL");var i="response"in d?d.response:d.responseText;setTimeout(function(){a(new b(i,n))},0)},d.onerror=function(){setTimeout(function(){s(TypeError("Network request failed"))},0)},d.ontimeout=function(){setTimeout(function(){s(TypeError("Network request failed"))},0)},d.onabort=function(){setTimeout(function(){s(new t.DOMException("Aborted","AbortError"))},0)},d.open(u.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(r){return t}}(u.url),!0),"include"===u.credentials?d.withCredentials=!0:"omit"===u.credentials&&(d.withCredentials=!1),"responseType"in d&&(n.blob?d.responseType="blob":n.arrayBuffer&&u.headers.get("Content-Type")&&-1!==u.headers.get("Content-Type").indexOf("application/octet-stream")&&(d.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof c?u.headers.forEach(function(t,r){d.setRequestHeader(r,t)}):Object.getOwnPropertyNames(o.headers).forEach(function(t){d.setRequestHeader(t,l(o.headers[t]))}),u.signal&&(u.signal.addEventListener("abort",h),d.onreadystatechange=function(){4===d.readyState&&u.signal.removeEventListener("abort",h)}),d.send(void 0===u._bodyInit?null:u._bodyInit)})}_.polyfill=!0,r.fetch||(r.fetch=_,r.Headers=c,r.Request=y,r.Response=b),t.Headers=c,t.Request=y,t.Response=b,t.fetch=_})({}),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var a=i.fetch?i:o;(r=a.fetch).default=a.fetch,r.fetch=a.fetch,r.Headers=a.Headers,r.Request=a.Request,r.Response=a.Response,t.exports=r},68848:function(t,r){r.read=function(t,r,n,i,o){var a,s,l=8*o-i-1,u=(1<<l)-1,c=u>>1,d=-7,h=n?o-1:0,f=n?-1:1,p=t[r+h];for(h+=f,a=p&(1<<-d)-1,p>>=-d,d+=l;d>0;a=256*a+t[r+h],h+=f,d-=8);for(s=a&(1<<-d)-1,a>>=-d,d+=i;d>0;s=256*s+t[r+h],h+=f,d-=8);if(0===a)a=1-c;else{if(a===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),a-=c}return(p?-1:1)*s*Math.pow(2,a-i)},r.write=function(t,r,n,i,o,a){var s,l,u,c=8*a-o-1,d=(1<<c)-1,h=d>>1,f=23===o?5960464477539062e-23:0,p=i?0:a-1,m=i?1:-1,g=r<0||0===r&&1/r<0?1:0;for(isNaN(r=Math.abs(r))||r===1/0?(l=isNaN(r)?1:0,s=d):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+h>=1?r+=f/u:r+=f*Math.pow(2,1-h),r*u>=2&&(s++,u/=2),s+h>=d?(l=0,s=d):s+h>=1?(l=(r*u-1)*Math.pow(2,o),s+=h):(l=r*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;t[n+p]=255&l,p+=m,l/=256,o-=8);for(s=s<<o|l,c+=o;c>0;t[n+p]=255&s,p+=m,s/=256,c-=8);t[n+p-m]|=128*g}},56853:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}},23883:function(t,r,n){var i,o=n(40257);!function(){"use strict";var a="input is invalid type",s="object"==typeof window,l=s?window:{};l.JS_SHA3_NO_WINDOW&&(s=!1);var u=!s&&"object"==typeof self;!l.JS_SHA3_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node?l=n.g:u&&(l=self);var c=!l.JS_SHA3_NO_COMMON_JS&&t.exports,d=n.amdO,h=!l.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),p=[4,1024,262144,67108864],m=[0,8,16,24],g=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],y=[224,256,384,512],v=[128,256],b=["hex","buffer","arrayBuffer","array","digest"],w={128:168,256:136};(l.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),h&&(l.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var _=function(t,r,n){return function(i){return new F(t,r,t).update(i)[n]()}},S=function(t,r,n){return function(i,o){return new F(t,r,o).update(i)[n]()}},E=function(t,r,n){return function(r,i,o,a){return P["cshake"+t].update(r,i,o,a)[n]()}},A=function(t,r,n){return function(r,i,o,a){return P["kmac"+t].update(r,i,o,a)[n]()}},x=function(t,r,n,i){for(var o=0;o<b.length;++o){var a=b[o];t[a]=r(n,i,a)}return t},k=function(t,r){var n=_(t,r,"hex");return n.create=function(){return new F(t,r,t)},n.update=function(t){return n.create().update(t)},x(n,_,t,r)},O=[{name:"keccak",padding:[1,256,65536,16777216],bits:y,createMethod:k},{name:"sha3",padding:[6,1536,393216,100663296],bits:y,createMethod:k},{name:"shake",padding:[31,7936,2031616,520093696],bits:v,createMethod:function(t,r){var n=S(t,r,"hex");return n.create=function(n){return new F(t,r,n)},n.update=function(t,r){return n.create(r).update(t)},x(n,S,t,r)}},{name:"cshake",padding:p,bits:v,createMethod:function(t,r){var n=w[t],i=E(t,r,"hex");return i.create=function(i,o,a){return o||a?new F(t,r,i).bytepad([o,a],n):P["shake"+t].create(i)},i.update=function(t,r,n,o){return i.create(r,n,o).update(t)},x(i,E,t,r)}},{name:"kmac",padding:p,bits:v,createMethod:function(t,r){var n=w[t],i=A(t,r,"hex");return i.create=function(i,o,a){return new L(t,r,o).bytepad(["KMAC",a],n).bytepad([i],n)},i.update=function(t,r,n,o){return i.create(t,n,o).update(r)},x(i,A,t,r)}}],P={},C=[],T=0;T<O.length;++T)for(var M=O[T],R=M.bits,I=0;I<R.length;++I){var N=M.name+"_"+R[I];if(C.push(N),P[N]=M.createMethod(R[I],M.padding),"sha3"!==M.name){var D=M.name+R[I];C.push(D),P[D]=P[N]}}function F(t,r,n){this.blocks=[],this.s=[],this.padding=r,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var i=0;i<50;++i)this.s[i]=0}function L(t,r,n){F.call(this,t,r,n)}F.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");var r,n=typeof t;if("string"!==n){if("object"===n){if(null===t)throw Error(a);if(h&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!h||!ArrayBuffer.isView(t)))throw Error(a)}else throw Error(a);r=!0}for(var i,o,s=this.blocks,l=this.byteCount,u=t.length,c=this.blockCount,d=0,f=this.s;d<u;){if(this.reset)for(i=1,this.reset=!1,s[0]=this.block;i<c+1;++i)s[i]=0;if(r)for(i=this.start;d<u&&i<l;++d)s[i>>2]|=t[d]<<m[3&i++];else for(i=this.start;d<u&&i<l;++d)(o=t.charCodeAt(d))<128?s[i>>2]|=o<<m[3&i++]:(o<2048?s[i>>2]|=(192|o>>6)<<m[3&i++]:(o<55296||o>=57344?s[i>>2]|=(224|o>>12)<<m[3&i++]:(o=65536+((1023&o)<<10|1023&t.charCodeAt(++d)),s[i>>2]|=(240|o>>18)<<m[3&i++],s[i>>2]|=(128|o>>12&63)<<m[3&i++]),s[i>>2]|=(128|o>>6&63)<<m[3&i++]),s[i>>2]|=(128|63&o)<<m[3&i++]);if(this.lastByteIndex=i,i>=l){for(this.start=i-l,this.block=s[c],i=0;i<c;++i)f[i]^=s[i];$(f),this.reset=!0}else this.start=i}return this},F.prototype.encode=function(t,r){var n=255&t,i=1,o=[n];for(t>>=8,n=255&t;n>0;)o.unshift(n),t>>=8,n=255&t,++i;return r?o.push(i):o.unshift(i),this.update(o),o.length},F.prototype.encodeString=function(t){var r,n=typeof t;if("string"!==n){if("object"===n){if(null===t)throw Error(a);if(h&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!h||!ArrayBuffer.isView(t)))throw Error(a)}else throw Error(a);r=!0}var i=0,o=t.length;if(r)i=o;else for(var s=0;s<t.length;++s){var l=t.charCodeAt(s);l<128?i+=1:l<2048?i+=2:l<55296||l>=57344?i+=3:(l=65536+((1023&l)<<10|1023&t.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(t),i},F.prototype.bytepad=function(t,r){for(var n=this.encode(r),i=0;i<t.length;++i)n+=this.encodeString(t[i]);var o=r-n%r,a=[];return a.length=o,this.update(a),this},F.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex,n=this.blockCount,i=this.s;if(t[r>>2]|=this.padding[3&r],this.lastByteIndex===this.byteCount)for(r=1,t[0]=t[n];r<n+1;++r)t[r]=0;for(t[n-1]|=2147483648,r=0;r<n;++r)i[r]^=t[r];$(i)}},F.prototype.toString=F.prototype.hex=function(){this.finalize();for(var t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,l="";s<i;){for(a=0;a<r&&s<i;++a,++s)l+=f[(t=n[a])>>4&15]+f[15&t]+f[t>>12&15]+f[t>>8&15]+f[t>>20&15]+f[t>>16&15]+f[t>>28&15]+f[t>>24&15];s%r==0&&($(n),a=0)}return o&&(l+=f[(t=n[a])>>4&15]+f[15&t],o>1&&(l+=f[t>>12&15]+f[t>>8&15]),o>2&&(l+=f[t>>20&15]+f[t>>16&15])),l},F.prototype.arrayBuffer=function(){this.finalize();for(var t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,l=this.outputBits>>3,u=new Uint32Array(t=new ArrayBuffer(o?i+1<<2:l));s<i;){for(a=0;a<r&&s<i;++a,++s)u[s]=n[a];s%r==0&&$(n)}return o&&(u[a]=n[a],t=t.slice(0,l)),t},F.prototype.buffer=F.prototype.arrayBuffer,F.prototype.digest=F.prototype.array=function(){this.finalize();for(var t,r,n=this.blockCount,i=this.s,o=this.outputBlocks,a=this.extraBytes,s=0,l=0,u=[];l<o;){for(s=0;s<n&&l<o;++s,++l)t=l<<2,r=i[s],u[t]=255&r,u[t+1]=r>>8&255,u[t+2]=r>>16&255,u[t+3]=r>>24&255;l%n==0&&$(i)}return a&&(t=l<<2,r=i[s],u[t]=255&r,a>1&&(u[t+1]=r>>8&255),a>2&&(u[t+2]=r>>16&255)),u},L.prototype=new F,L.prototype.finalize=function(){return this.encode(this.outputBits,!0),F.prototype.finalize.call(this)};var $=function(t){var r,n,i,o,a,s,l,u,c,d,h,f,p,m,y,v,b,w,_,S,E,A,x,k,O,P,C,T,M,R,I,N,D,F,L,$,j,U,B,z,H,q,V,G,W,K,Y,Z,X,J,Q,ee,et,er,en,ei,eo,ea,es,el,eu,ec,ed;for(i=0;i<48;i+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],l=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],d=t[6]^t[16]^t[26]^t[3
46]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],f=t[8]^t[18]^t[28]^t[38]^t[48],p=t[9]^t[19]^t[29]^t[39]^t[49],r=f^(s<<1|l>>>31),n=p^(l<<1|s>>>31),t[0]^=r,t[1]^=n,t[10]^=r,t[11]^=n,t[20]^=r,t[21]^=n,t[30]^=r,t[31]^=n,t[40]^=r,t[41]^=n,r=o^(u<<1|c>>>31),n=a^(c<<1|u>>>31),t[2]^=r,t[3]^=n,t[12]^=r,t[13]^=n,t[22]^=r,t[23]^=n,t[32]^=r,t[33]^=n,t[42]^=r,t[43]^=n,r=s^(d<<1|h>>>31),n=l^(h<<1|d>>>31),t[4]^=r,t[5]^=n,t[14]^=r,t[15]^=n,t[24]^=r,t[25]^=n,t[34]^=r,t[35]^=n,t[44]^=r,t[45]^=n,r=u^(f<<1|p>>>31),n=c^(p<<1|f>>>31),t[6]^=r,t[7]^=n,t[16]^=r,t[17]^=n,t[26]^=r,t[27]^=n,t[36]^=r,t[37]^=n,t[46]^=r,t[47]^=n,r=d^(o<<1|a>>>31),n=h^(a<<1|o>>>31),t[8]^=r,t[9]^=n,t[18]^=r,t[19]^=n,t[28]^=r,t[29]^=n,t[38]^=r,t[39]^=n,t[48]^=r,t[49]^=n,m=t[0],y=t[1],K=t[11]<<4|t[10]>>>28,Y=t[10]<<4|t[11]>>>28,T=t[20]<<3|t[21]>>>29,M=t[21]<<3|t[20]>>>29,el=t[31]<<9|t[30]>>>23,eu=t[30]<<9|t[31]>>>23,q=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,F=t[2]<<1|t[3]>>>31,L=t[3]<<1|t[2]>>>31,v=t[13]<<12|t[12]>>>20,b=t[12]<<12|t[13]>>>20,Z=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,R=t[33]<<13|t[32]>>>19,I=t[32]<<13|t[33]>>>19,ec=t[42]<<2|t[43]>>>30,ed=t[43]<<2|t[42]>>>30,er=t[5]<<30|t[4]>>>2,en=t[4]<<30|t[5]>>>2,$=t[14]<<6|t[15]>>>26,j=t[15]<<6|t[14]>>>26,w=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Q=t[35]<<15|t[34]>>>17,N=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,k=t[6]<<28|t[7]>>>4,O=t[7]<<28|t[6]>>>4,ei=t[17]<<23|t[16]>>>9,eo=t[16]<<23|t[17]>>>9,U=t[26]<<25|t[27]>>>7,B=t[27]<<25|t[26]>>>7,S=t[36]<<21|t[37]>>>11,E=t[37]<<21|t[36]>>>11,ee=t[47]<<24|t[46]>>>8,et=t[46]<<24|t[47]>>>8,G=t[8]<<27|t[9]>>>5,W=t[9]<<27|t[8]>>>5,P=t[18]<<20|t[19]>>>12,C=t[19]<<20|t[18]>>>12,ea=t[29]<<7|t[28]>>>25,es=t[28]<<7|t[29]>>>25,z=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,A=t[48]<<14|t[49]>>>18,x=t[49]<<14|t[48]>>>18,t[0]=m^~v&w,t[1]=y^~b&_,t[10]=k^~P&T,t[11]=O^~C&M,t[20]=F^~$&U,t[21]=L^~j&B,t[30]=G^~K&Z,t[31]=W^~Y&X,t[40]=er^~ei&ea,t[41]=en^~eo&es,t[2]=v^~w&S,t[3]=b^~_&E,t[12]=P^~T&R,t[13]=C^~M&I,t[22]=$^~U&z,t[23]=j^~B&H,t[32]=K^~Z&J,t[33]=Y^~X&Q,t[42]=ei^~ea&el,t[43]=eo^~es&eu,t[4]=w^~S&A,t[5]=_^~E&x,t[14]=T^~R&N,t[15]=M^~I&D,t[24]=U^~z&q,t[25]=B^~H&V,t[34]=Z^~J&ee,t[35]=X^~Q&et,t[44]=ea^~el&ec,t[45]=es^~eu&ed,t[6]=S^~A&m,t[7]=E^~x&y,t[16]=R^~N&k,t[17]=I^~D&O,t[26]=z^~q&F,t[27]=H^~V&L,t[36]=J^~ee&G,t[37]=Q^~et&W,t[46]=el^~ec&er,t[47]=eu^~ed&en,t[8]=A^~m&v,t[9]=x^~y&b,t[18]=N^~k&P,t[19]=D^~O&C,t[28]=q^~F&$,t[29]=V^~L&j,t[38]=ee^~G&K,t[39]=et^~W&Y,t[48]=ec^~er&ei,t[49]=ed^~en&eo,t[0]^=g[i],t[1]^=g[i+1]};if(c)t.exports=P;else{for(T=0;T<C.length;++T)l[C[T]]=P[C[T]];d&&void 0!==(i=(function(){return P}).call(r,n,r,t))&&(t.exports=i)}}()},57552:function(t,r,n){var i,o=n(40257);!function(){"use strict";var r="input is invalid type",a="object"==typeof window,s=a?window:{};s.JS_SHA512_NO_WINDOW&&(a=!1);var l=!a&&"object"==typeof self;!s.JS_SHA512_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node?s=n.g:l&&(s=self);var u=!s.JS_SHA512_NO_COMMON_JS&&t.exports,c=n.amdO,d=!s.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,h="0123456789abcdef".split(""),f=[-2147483648,8388608,32768,128],p=[24,16,8,0],m=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
vendor: 6,187 bytes, line 4
41322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=["hex","array","digest","arrayBuffer"],y=[],v=Array.isArray;(s.JS_SHA512_NO_NODE_JS||!v)&&(v=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var b=ArrayBuffer.isView;d&&(s.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW||!b)&&(b=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var w=function(t){var n=typeof t;if("string"===n)return[t,!0];if("object"!==n||null===t)throw Error(r);if(d&&t.constructor===ArrayBuffer)return[new Uint8Array(t),!1];if(!v(t)&&!b(t))throw Error(r);return[t,!1]},_=function(t,r){return function(n){return new x(r,!0).update(n)[t]()}},S=function(t){var r=_("hex",t);r.create=function(){return new x(t)},r.update=function(t){return r.create().update(t)};for(var n=0;n<g.length;++n){var i=g[n];r[i]=_(i,t)}return r},E=function(t,r){return function(n,i){return new k(n,r,!0).update(i)[t]()}},A=function(t){var r=E("hex",t);r.create=function(r){return new k(r,t)},r.update=function(t,n){return r.create(t).update(n)};for(var n=0;n<g.length;++n){var i=g[n];r[i]=E(i,t)}return r};function x(t,r){r?(y[0]=y[1]=y[2]=y[3]=y[4]=y[5]=y[6]=y[7]=y[8]=y[9]=y[10]=y[11]=y[12]=y[13]=y[14]=y[15]=y[16]=y[17]=y[18]=y[19]=y[20]=y[21]=y[22]=y[23]=y[24]=y[25]=y[26]=y[27]=y[28]=y[29]=y[30]=y[31]=y[32]=0,this.blocks=y):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],384==t?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):256==t?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):224==t?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=t,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}function k(t,r,n){var i,o=w(t);if(t=o[0],o[1]){for(var a,s=[],l=t.length,u=0,i=0;i<l;++i)(a=t.charCodeAt(i))<128?s[u++]=a:(a<2048?s[u++]=192|a>>>6:(a<55296||a>=57344?s[u++]=224|a>>>12:(a=65536+((1023&a)<<10|1023&t.charCodeAt(++i)),s[u++]=240|a>>>18,s[u++]=128|a>>>12&63),s[u++]=128|a>>>6&63),s[u++]=128|63&a);t=s}t.length>128&&(t=new x(r,!0).update(t).array());for(var c=[],d=[],i=0;i<128;++i){var h=t[i]||0;c[i]=92^h,d[i]=54^h}x.call(this,r,n),this.update(d),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}x.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");var r=w(t);t=r[0];for(var n,i,o=r[1],a=0,s=t.length,l=this.blocks;a<s;){if(this.hashed&&(this.hashed=!1,l[0]=this.block,this.block=l[1]=l[2]=l[3]=l[4]=l[5]=l[6]=l[7]=l[8]=l[9]=l[10]=l[11]=l[12]=l[13]=l[14]=l[15]=l[16]=l[17]=l[18]=l[19]=l[20]=l[21]=l[22]=l[23]=l[24]=l[25]=l[26]=l[27]=l[28]=l[29]=l[30]=l[31]=l[32]=0),o)for(i=this.start;a<s&&i<128;++a)(n=t.charCodeAt(a))<128?l[i>>>2]|=n<<p[3&i++]:(n<2048?l[i>>>2]|=(192|n>>>6)<<p[3&i++]:(n<55296||n>=57344?l[i>>>2]|=(224|n>>>12)<<p[3&i++]:(n=65536+((1023&n)<<10|1023&t.charCodeAt(++a)),l[i>>>2]|=(240|n>>>18)<<p[3&i++],l[i>>>2]|=(128|n>>>12&63)<<p[3&i++]),l[i>>>2]|=(128|n>>>6&63)<<p[3&i++]),l[i>>>2]|=(128|63&n)<<p[3&i++]);else for(i=this.start;a<s&&i<128;++a)l[i>>>2]|=t[a]<<p[3&i++];this.lastByteIndex=i,this.bytes+=i-this.start,i>=128?(this.block=l[32],this.start=i-128,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},x.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex;t[32]=this.block,t[r>>>2]|=f[3&r],this.block=t[32],r>=112&&(this.hashed||this.hash(),t[0]=this.block,t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=t[16]=t[17]=t[18]=t[19]=t[20]=t[21]=t[22]=t[23]=t[24]=t[25]=t[26]=t[27]=t[28]=t[29]=t[30]=t[31]=t[32]=0),t[30]=this.hBytes<<3|this.bytes>>>29,t[31]=this.bytes<<3,this.hash()}},x.prototype.hash=function(){var t,r,n,i,o,a,s,l,u,c,d,h,f,p,g,y,v,b,w,_,S,E,A,x,k,O=this.h0h,P=this.h0l,C=this.h1h,T=this.h1l,M=this.h2h,R=this.h2l,I=this.h3h,N=this.h3l,D=this.h4h,F=this.h4l,L=this.h5h,$=this.h5l,j=this.h6h,U=this.h6l,B=this.h7h,z=this.h7l,H=this.blocks;for(t=32;t<160;t+=2)r=((_=H[t-30])>>>1|(S=H[t-29])<<31)^(_>>>8|S<<24)^_>>>7,n=(S>>>1|_<<31)^(S>>>8|_<<24)^(S>>>7|_<<25),i=((_=H[t-4])>>>19|(S=H[t-3])<<13)^(S>>>29|_<<3)^_>>>6,o=(S>>>19|_<<13)^(_>>>29|S<<3)^(S>>>6|_<<26),_=H[t-32],S=H[t-31],E=H[t-14],a=(65535&(A=H[t-13]))+(65535&S)+(65535&n)+(65535&o),l=(65535&E)+(65535&_)+(65535&r)+(65535&i)+((s=(A>>>16)+(S>>>16)+(n>>>16)+(o>>>16)+(a>>>16))>>>16),u=(E>>>16)+(_>>>16)+(r>>>16)+(i>>>16)+(l>>>16),H[t]=u<<16|65535&l,H[t+1]=s<<16|65535&a;var q=O,V=P,G=C,W=T,K=M,Y=R,Z=I,X=N,J=D,Q=F,ee=L,et=$,er=j,en=U,ei=B,eo=z;
4for(t=0,y=G&K,v=W&Y;t<160;t+=8)r=(q>>>28|V<<4)^(V>>>2|q<<30)^(V>>>7|q<<25),n=(V>>>28|q<<4)^(q>>>2|V<<30)^(q>>>7|V<<25),i=(J>>>14|Q<<18)^(J>>>18|Q<<14)^(Q>>>9|J<<23),o=(Q>>>14|J<<18)^(Q>>>18|J<<14)^(J>>>9|Q<<23),c=q&G,d=V&W,b=c^q&K^y,w=d^V&Y^v,x=J&ee^~J&er,k=Q&et^~Q&en,_=H[t],S=H[t+1],E=m[t],a=(65535&(A=m[t+1]))+(65535&S)+(65535&k)+(65535&o)+(65535&eo),l=(65535&E)+(65535&_)+(65535&x)+(65535&i)+(65535&ei)+((s=(A>>>16)+(S>>>16)+(k>>>16)+(o>>>16)+(eo>>>16)+(a>>>16))>>>16),_=(u=(E>>>16)+(_>>>16)+(x>>>16)+(i>>>16)+(ei>>>16)+(l>>>16))<<16|65535&l,S=s<<16|65535&a,a=(65535&w)+(65535&n),l=(65535&b)+(65535&r)+((s=(w>>>16)+(n>>>16)+(a>>>16))>>>16),E=(u=(b>>>16)+(r>>>16)+(l>>>16))<<16|65535&l,A=s<<16|65535&a,a=(65535&X)+(65535&S),l=(65535&Z)+(65535&_)+((s=(X>>>16)+(S>>>16)+(a>>>16))>>>16),ei=(u=(Z>>>16)+(_>>>16)+(l>>>16))<<16|65535&l,eo=s<<16|65535&a,a=(65535&A)+(65535&S),l=(65535&E)+(65535&_)+((s=(A>>>16)+(S>>>16)+(a>>>16))>>>16),r=((Z=(u=(E>>>16)+(_>>>16)+(l>>>16))<<16|65535&l)>>>28|(X=s<<16|65535&a)<<4)^(X>>>2|Z<<30)^(X>>>7|Z<<25),n=(X>>>28|Z<<4)^(Z>>>2|X<<30)^(Z>>>7|X<<25),i=(ei>>>14|eo<<18)^(ei>>>18|eo<<14)^(eo>>>9|ei<<23),o=(eo>>>14|ei<<18)^(eo>>>18|ei<<14)^(ei>>>9|eo<<23),h=Z&q,f=X&V,b=h^Z&G^c,w=f^X&W^d,x=ei&J^~ei&ee,k=eo&Q^~eo&et,_=H[t+2],S=H[t+3],E=m[t+2],a=(65535&(A=m[t+3]))+(65535&S)+(65535&k)+(65535&o)+(65535&en),l=(65535&E)+(65535&_)+(65535&x)+(65535&i)+(65535&er)+((s=(A>>>16)+(S>>>16)+(k>>>16)+(o>>>16)+(en>>>16)+(a>>>16))>>>16),_=(u=(E>>>16)+(_>>>16)+(x>>>16)+(i>>>16)+(er>>>16)+(l>>>16))<<16|65535&l,S=s<<16|65535&a,a=(65535&w)+(65535&n),l=(65535&b)+(65535&r)+((s=(w>>>16)+(n>>>16)+(a>>>16))>>>16),E=(u=(b>>>16)+(r>>>16)+(l>>>16))<<16|65535&l,A=s<<16|65535&a,a=(65535&Y)+(65535&S),l=(65535&K)+(65535&_)+((s=(Y>>>16)+(S>>>16)+(a>>>16))>>>16),er=(u=(K>>>16)+(_>>>16)+(l>>>16))<<16|65535&l,en=s<<16|65535&a,a=(65535&A)+(65535&S),l=(65535&E)+(65535&_)+((s=(A>>>16)+(S>>>16)+(a>>>16))>>>16),r=((K=(u=(E>>>16)+(_>>>16)+(l>>>16))<<16|65535&l)>>>28|(Y=s<<16|65535&a)<<4)^(Y>>>2|K<<30)^(Y>>>7|K<<25),n=(Y>>>28|K<<4)^(K>>>2|Y<<30)^(K>>>7|Y<<25),i=(er>>>14|en<<18)^(er>>>18|en<<14)^(en>>>9|er<<23),o=(en>>>14|er<<18)^(en>>>18|er<<14)^(er>>>9|en<<23),p=K&Z,g=Y&X,b=p^K&q^h,w=g^Y&V^f,x=er&ei^~er&J,k=en&eo^~en&Q,_=H[t+4],S=H[t+5],E=m[t+4],a=(65535&(A=m[t+5]))+(65535&S)+(65535&k)+(65535&o)+(65535&et),l=(65535&E)+(65535&_)+(65535&x)+(65535&i)+(65535&ee)+((s=(A>>>16)+(S>>>16)+(k>>>16)+(o>>>16)+(et>>>16)+(a>>>16))>>>16),_=(u=(E>>>16)+(_>>>16)+(x>>>16)+(i>>>16)+(ee>>>16)+(l>>>16))<<16|65535&l,S=s<<16|65535&a,a=(65535&w)+(65535&n),l=(65535&b)+(65535&r)+((s=(w>>>16)+(n>>>16)+(a>>>16))>>>16),E=(u=(b>>>16)+(r>>>16)+(l>>>16))<<16|65535&l,A=s<<16|65535&a,a=(65535&W)+(65535&S),l=(65535&G)+(65535&_)+((s=(W>>>16)+(S>>>16)+(a>>>16))>>>16),ee=(u=(G>>>16)+(_>>>16)+(l>>>16))<<16|65535&l,et=s<<16|65535&a,a=(65535&A)+(65535&S),l=(65535&E)+(65535&_)+((s=(A>>>16)+(S>>>16)+(a>>>16))>>>16),r=((G=(u=(E>>>16)+(_>>>16)+(l>>>16))<<16|65535&l)>>>28|(W=s<<16|65535&a)<<4)^(W>>>2|G<<30)^(W>>>7|G<<25),n=(W>>>28|G<<4)^(G>>>2|W<<30)^(G>>>7|W<<25),i=(ee>>>14|et<<18)^(ee>>>18|et<<14)^(et>>>9|ee<<23),o=(et>>>14|ee<<18)^(et>>>18|ee<<14)^(ee>>>9|et<<23),y=G&K,v=W&Y,b=y^G&Z^p,w=v^W&X^g,x=ee&er^~ee&ei,k=et&en^~et&eo,_=H[t+6],S=H[t+7],E=m[t+6],a=(65535&(A=m[t+7]))+(65535&S)+(65535&k)+(65535&o)+(65535&Q),l=(65535&E)+(65535&_)+(65535&x)+(65535&i)+(65535&J)+((s=(A>>>16)+(S>>>16)+(k>>>16)+(o>>>16)+(Q>>>16)+(a>>>16))>>>16),_=(u=(E>>>16)+(_>>>16)+(x>>>16)+(i>>>16)+(J>>>16)+(l>>>16))<<16|65535&l,S=s<<16|65535&a,a=(65535&w)+(65535&n),l=(65535&b)+(65535&r)+((s=(w>>>16)+(n>>>16)+(a>>>16))>>>16),E=(u=(b>>>16)+(r>>>16)+(l>>>16))<<16|65535&l,A=s<<16|65535&a,a=(65535&V)+(65535&S),l=(65535&q)+(65535&_)+((s=(V>>>16)+(S>>>16)+(a>>>16))>>>16),J=(u=(q>>>16)+(_>>>16)+(l>>>16))<<16|65535&l,Q=s<<16|65535&a,a=(65535&A)+(65535&S),l=(65535&E)+(65535&_)+((s=(A>>>16)+(S>>>16)+(a>>>16))>>>16),q=(u=(E>>>16)+(_>>>16)+(l>>>16))<<16|65535&l,V=s<<16|65535&a;a=(65535&P)+(65535&V),l=(65535&O)+(65535&q)+((s=(P>>>16)+(V>>>16)+(a>>>16))>>>16),u=(O>>>16)+(q>>>16)+(l>>>16),this.h0h=u<<16|65535&l,this.h0l=s<<16|65535&a,a=(65535&T)+(65535&W),l=(65535&C)+(65535&G)+((s=(T>>>16)+(W>>>16)+(a>>>16))>>>16),u=(C>>>16)+(G>>>16)+(l>>>16),this.h1h=u<<16|65535&l,this.h1l=s<<16|65535&a,a=(65535&R)+(65535&Y),l=(65535&M)+(65535&K)+((s=(R>>>16)+(Y>>>16)+(a>>>16))>>>16),u=(M>>>16)+(K>>>16)+(l>>>16),this.h2h=u<<16|65535&l,this.h2l=s<<16|65535&a,a=(65535&N)+(65535&X),l=(65535&I)+(65535&Z)+((s=(N>>>16)+(X>>>16)+(a>>>16))>>>16),u=(I>>>16)+(Z>>>16)+(l>>>16),this.h3h=u<<16|65535&l,this.h3l=s<<16|65535&a,a=(65535&F)+(65535&Q),l=(65535&D)+(65535&J)+((s=(F>>>16)+(Q>>>16)+(a>>>16))>>>16),u=(D>>>16)+(J>>>16)+(l>>>16),this.h4h=u<<16|65535&l,this.h4l=s<<16|65535&a,a=(65535&$)+(65535&et),l=(65535&L)+(65535&ee)+((s=($>>>16)+(et>>>16)+(a>>>16))>>>16),u=(L>>>16)+(ee>>>16)+(l>>>16),this.h5h=u<<16|65535&l,this.h5l=s<<16|65535&a,a=(65535&U)+(65535&en),l=(65535&j)+(65535&er)+((s=(U>>>16)+(en>>>16)+(a>>>16))>>>16),u=(j>>>16)+(er>>>16)+(l>>>16),this.h6h=u<<16|65535&l,this.h6l=s<<16|65535&a,a=(65535&z)+(65535&eo),l=(65535&B)+(65535&ei)+((s=(z>>>16)+(eo>>>16)+(a>>>16))>>>16),u=(B>>>16)+(ei>>>16)+(l>>>16),this.h7h=u<<16|65535&l,this.h7l=s<<16|65535&a},x.prototype.hex=function(){this.finalize();var t=this.h0h,r=this.h0l,n=this.h1h,i=this.h1l,o=this.h2h,a=this.h2l,s=this.h3h,l=this.h3l,u=this.h4h,c=this.h4l,d=this.h5h,f=this.h5l,p=this.h6h,m=this.h6l,g=this.h7h,y=this.h7l,v=this.bits,b=h[t>>>28&15]+h[t>>>24&15]+h[t>>>20&15]+h[t>>>16&15]+h[t>>>12&15]+h[t>>>8&15]+h[t>>>4&15]+h[15&t]+h[r>>>28&15]+h[r>>>
vendor: 4,276 bytes, line 4
424&15]+h[r>>>20&15]+h[r>>>16&15]+h[r>>>12&15]+h[r>>>8&15]+h[r>>>4&15]+h[15&r]+h[n>>>28&15]+h[n>>>24&15]+h[n>>>20&15]+h[n>>>16&15]+h[n>>>12&15]+h[n>>>8&15]+h[n>>>4&15]+h[15&n]+h[i>>>28&15]+h[i>>>24&15]+h[i>>>20&15]+h[i>>>16&15]+h[i>>>12&15]+h[i>>>8&15]+h[i>>>4&15]+h[15&i]+h[o>>>28&15]+h[o>>>24&15]+h[o>>>20&15]+h[o>>>16&15]+h[o>>>12&15]+h[o>>>8&15]+h[o>>>4&15]+h[15&o]+h[a>>>28&15]+h[a>>>24&15]+h[a>>>20&15]+h[a>>>16&15]+h[a>>>12&15]+h[a>>>8&15]+h[a>>>4&15]+h[15&a]+h[s>>>28&15]+h[s>>>24&15]+h[s>>>20&15]+h[s>>>16&15]+h[s>>>12&15]+h[s>>>8&15]+h[s>>>4&15]+h[15&s];return v>=256&&(b+=h[l>>>28&15]+h[l>>>24&15]+h[l>>>20&15]+h[l>>>16&15]+h[l>>>12&15]+h[l>>>8&15]+h[l>>>4&15]+h[15&l]),v>=384&&(b+=h[u>>>28&15]+h[u>>>24&15]+h[u>>>20&15]+h[u>>>16&15]+h[u>>>12&15]+h[u>>>8&15]+h[u>>>4&15]+h[15&u]+h[c>>>28&15]+h[c>>>24&15]+h[c>>>20&15]+h[c>>>16&15]+h[c>>>12&15]+h[c>>>8&15]+h[c>>>4&15]+h[15&c]+h[d>>>28&15]+h[d>>>24&15]+h[d>>>20&15]+h[d>>>16&15]+h[d>>>12&15]+h[d>>>8&15]+h[d>>>4&15]+h[15&d]+h[f>>>28&15]+h[f>>>24&15]+h[f>>>20&15]+h[f>>>16&15]+h[f>>>12&15]+h[f>>>8&15]+h[f>>>4&15]+h[15&f]),512==v&&(b+=h[p>>>28&15]+h[p>>>24&15]+h[p>>>20&15]+h[p>>>16&15]+h[p>>>12&15]+h[p>>>8&15]+h[p>>>4&15]+h[15&p]+h[m>>>28&15]+h[m>>>24&15]+h[m>>>20&15]+h[m>>>16&15]+h[m>>>12&15]+h[m>>>8&15]+h[m>>>4&15]+h[15&m]+h[g>>>28&15]+h[g>>>24&15]+h[g>>>20&15]+h[g>>>16&15]+h[g>>>12&15]+h[g>>>8&15]+h[g>>>4&15]+h[15&g]+h[y>>>28&15]+h[y>>>24&15]+h[y>>>20&15]+h[y>>>16&15]+h[y>>>12&15]+h[y>>>8&15]+h[y>>>4&15]+h[15&y]),b},x.prototype.toString=x.prototype.hex,x.prototype.digest=function(){this.finalize();var t=this.h0h,r=this.h0l,n=this.h1h,i=this.h1l,o=this.h2h,a=this.h2l,s=this.h3h,l=this.h3l,u=this.h4h,c=this.h4l,d=this.h5h,h=this.h5l,f=this.h6h,p=this.h6l,m=this.h7h,g=this.h7l,y=this.bits,v=[t>>>24&255,t>>>16&255,t>>>8&255,255&t,r>>>24&255,r>>>16&255,r>>>8&255,255&r,n>>>24&255,n>>>16&255,n>>>8&255,255&n,i>>>24&255,i>>>16&255,i>>>8&255,255&i,o>>>24&255,o>>>16&255,o>>>8&255,255&o,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s];return y>=256&&v.push(l>>>24&255,l>>>16&255,l>>>8&255,255&l),y>=384&&v.push(u>>>24&255,u>>>16&255,u>>>8&255,255&u,c>>>24&255,c>>>16&255,c>>>8&255,255&c,d>>>24&255,d>>>16&255,d>>>8&255,255&d,h>>>24&255,h>>>16&255,h>>>8&255,255&h),512==y&&v.push(f>>>24&255,f>>>16&255,f>>>8&255,255&f,p>>>24&255,p>>>16&255,p>>>8&255,255&p,m>>>24&255,m>>>16&255,m>>>8&255,255&m,g>>>24&255,g>>>16&255,g>>>8&255,255&g),v},x.prototype.array=x.prototype.digest,x.prototype.arrayBuffer=function(){this.finalize();var t=this.bits,r=new ArrayBuffer(t/8),n=new DataView(r);return n.setUint32(0,this.h0h),n.setUint32(4,this.h0l),n.setUint32(8,this.h1h),n.setUint32(12,this.h1l),n.setUint32(16,this.h2h),n.setUint32(20,this.h2l),n.setUint32(24,this.h3h),t>=256&&n.setUint32(28,this.h3l),t>=384&&(n.setUint32(32,this.h4h),n.setUint32(36,this.h4l),n.setUint32(40,this.h5h),n.setUint32(44,this.h5l)),512==t&&(n.setUint32(48,this.h6h),n.setUint32(52,this.h6l),n.setUint32(56,this.h7h),n.setUint32(60,this.h7l)),r},x.prototype.clone=function(){var t=new x(this.bits,!1);return this.copyTo(t),t},x.prototype.copyTo=function(t){var r=0,n=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(r=0;r<n.length;++r)t[n[r]]=this[n[r]];for(r=0;r<this.blocks.length;++r)t.blocks[r]=this.blocks[r]},k.prototype=new x,k.prototype.finalize=function(){if(x.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();x.call(this,this.bits,this.sharedMemory),this.update(this.oKeyPad),this.update(t),x.prototype.finalize.call(this)}},k.prototype.clone=function(){var t=new k([],this.bits,!1);this.copyTo(t),t.inner=this.inner;for(var r=0;r<this.oKeyPad.length;++r)t.oKeyPad[r]=this.oKeyPad[r];return t};var O=S(512);O.sha512=O,O.sha384=S(384),O.sha512_256=S(256),O.sha512_224=S(224),O.sha512.hmac=A(512),O.sha384.hmac=A(384),O.sha512_256.hmac=A(256),O.sha512_224.hmac=A(224),u?t.exports=O:(s.sha512=O.sha512,s.sha384=O.sha384,s.sha512_256=O.sha512_256,s.sha512_224=O.sha512_224,c&&void 0!==(i=(function(){return O}).call(O,n,O,t))&&(t.exports=i))}()},48518:function(t){var r;r=function(){"use strict";var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
4+/",r="ARRAYBUFFER not supported by this environment",n="UINT8ARRAY not supported by this environment";function i(t,r,n,i){var o,a,s,l=r||[0],u=(n=n||0)>>>3,c=-1===i?3:0;for(o=0;o<t.length;o+=1)a=(s=o+u)>>>2,l.length<=a&&l.push(0),l[a]|=t[o]<<8*(c+s%4*i);return{value:l,binLen:8*t.length+n}}function o(o,a,s){switch(a){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(o){case"HEX":return function(t,r,n){return function(t,r,n,i){if(0!=t.length%2)throw Error("String of HEX type must be in byte increments");var o,a,s,l,u=r||[0],c=(n=n||0)>>>3,d=-1===i?3:0;for(o=0;o<t.length;o+=2){if(isNaN(a=parseInt(t.substr(o,2),16)))throw Error("String of HEX type contains invalid characters");for(s=(l=(o>>>1)+c)>>>2;u.length<=s;)u.push(0);u[s]|=a<<8*(d+l%4*i)}return{value:u,binLen:4*t.length+n}}(t,r,n,s)};case"TEXT":return function(t,r,n){return function(t,r,n,i,o){var a,s,l,u,c,d,h,f,p=0,m=n||[0],g=(i=i||0)>>>3;if("UTF8"===r)for(h=-1===o?3:0,l=0;l<t.length;l+=1)for(s=[],128>(a=t.charCodeAt(l))?s.push(a):2048>a?(s.push(192|a>>>6),s.push(128|63&a)):55296>a||57344<=a?s.push(224|a>>>12,128|a>>>6&63,128|63&a):(l+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(l)),s.push(240|a>>>18,128|a>>>12&63,128|a>>>6&63,128|63&a)),u=0;u<s.length;u+=1){for(c=(d=p+g)>>>2;m.length<=c;)m.push(0);m[c]|=s[u]<<8*(h+d%4*o),p+=1}else for(h=-1===o?2:0,f="UTF16LE"===r&&1!==o||"UTF16LE"!==r&&1===o,l=0;l<t.length;l+=1){for(a=t.charCodeAt(l),!0===f&&(a=(u=255&a)<<8|a>>>8),c=(d=p+g)>>>2;m.length<=c;)m.push(0);m[c]|=a<<8*(h+d%4*o),p+=2}return{value:m,binLen:8*p+i}}(t,a,r,n,s)};case"B64":return function(r,n,i){return function(r,n,i,o){var a,s,l,u,c,d,h=0,f=n||[0],p=(i=i||0)>>>3,m=-1===o?3:0,g=r.indexOf("=");if(-1===r.search(/^[a-zA-Z0-9=+/]+$/))throw Error("Invalid character in base-64 string");if(r=r.replace(/=/g,""),-1!==g&&g<r.length)throw Error("Invalid '=' found in base-64 string");for(a=0;a<r.length;a+=4){for(u=r.substr(a,4),l=0,s=0;s<u.length;s+=1)l|=t.indexOf(u.charAt(s))<<18-6*s;for(s=0;s<u.length-1;s+=1){for(c=(d=h+p)>>>2;f.length<=c;)f.push(0);f[c]|=(l>>>16-8*s&255)<<8*(m+d%4*o),h+=1}}return{value:f,binLen:8*h+i}}(r,n,i,s)};case"BYTES":return function(t,r,n){return function(t,r,n,i){var o,a,s,l,u=r||[0],c=(n=n||0)>>>3,d=-1===i?3:0;for(a=0;a<t.length;a+=1)o=t.charCodeAt(a),s=(l=a+c)>>>2,u.length<=s&&u.push(0),u[s]|=o<<8*(d+l%4*i);return{value:u,binLen:8*t.length+n}}(t,r,n,s)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw Error(r)}return function(t,r,n){return i(new Uint8Array(t),r,n,s)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw Error(n)}return function(t,r,n){return i(t,r,n,s)};default:throw Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function a(i,o,a,s){switch(i){case"HEX":return function(t){return function(t,r,n,i){var o,a,s="0123456789abcdef",l="",u=r/8,c=-1===n?3:0;for(o=0;o<u;o+=1)l+=s.charAt((a=t[o>>>2]>>>8*(c+o%4*n))>>>4&15)+s.charAt(15&a);return i.outputUpper?l.toUpperCase():l}(t,o,a,s)};case"B64":return function(r){return function(r,n,i,o){var a,s,l,u,c,d="",h=n/8,f=-1===i?3:0;for(a=0;a<h;a+=3)for(u=a+1<h?r[a+1>>>2]:0,c=a+2<h?r[a+2>>>2]:0,l=(r[a>>>2]>>>8*(f+a%4*i)&255)<<16|(u>>>8*(f+(a+1)%4*i)&255)<<8|c>>>8*(f+(a+2)%4*i)&255,s=0;s<4;s+=1)d+=8*a+6*s<=n?t.charAt(l>>>6*(3-s)&63):o.b64Pad;return d}(r,o,a,s)};case"BYTES":return function(t){return function(t,r,n){var i,o="",a=r/8,s=-1===n?3:0;for(i=0;i<a;i+=1)o+=String.fromCharCode(t[i>>>2]>>>8*(s+i%4*n)&255);return o}(t,o,a)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw Error(r)}return function(t){return function(t,r,n){var i,o=r/8,a=new ArrayBuffer(o),s=new Uint8Array(a),l=-1===n?3:0;for(i=0;i<o;i+=1)s[i]=t[i>>>2]>>>8*(l+i%4*n)&255;return a}(t,o,a)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw Error(n)}return function(t){return function(t,r,n){var i,o=r/8,a=-1===n?3:0,s=new Uint8Array(o);for(i=0;i<o;i+=1)s[i]=t[i>>>2]>>>8*(a+i%4*n)&255;return s}(t,o,a)};default:throw Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}var s=[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,2756
vendor: 17,266 bytes, line 4
4734187,3204031479,3329325298],l=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],u=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],c="Chosen SHA variant is not supported",d="Cannot set numRounds with MAC";function h(t,r){var n,i,o=t.binLen>>>3,a=r.binLen>>>3,s=o<<3,l=4-o<<3;if(o%4!=0){for(n=0;n<a;n+=4)i=o+n>>>2,t.value[i]|=r.value[n>>>2]<<s,t.value.push(0),t.value[i+1]|=r.value[n>>>2]>>>l;return(t.value.length<<2)-4>=a+o&&t.value.pop(),{value:t.value,binLen:t.binLen+r.binLen}}return{value:t.value.concat(r.value),binLen:t.binLen+r.binLen}}function f(t){var r={outputUpper:!1,b64Pad:"=",outputLen:-1},n=t||{},i="Output length must be a multiple of 8";if(r.outputUpper=n.outputUpper||!1,n.b64Pad&&(r.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw Error(i);r.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw Error(i);r.outputLen=n.shakeLen}if("boolean"!=typeof r.outputUpper)throw Error("Invalid outputUpper formatting option");if("string"!=typeof r.b64Pad)throw Error("Invalid b64Pad formatting option");return r}function p(t,r,n,i){var a=t+" must include a value and format";if(!r){if(!i)throw Error(a);return i}if(void 0===r.value||!r.format)throw Error(a);return o(r.format,r.encoding||"UTF8",n)(r.value)}var m=function(){function t(t,r,n){var i=n||{};if(this.t=r,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw Error("numRounds must a integer >= 1");this.o=t,this.u=[],this.h=0,this.v=!1,this.A=0,this.l=!1,this.S=[],this.H=[]}return t.prototype.update=function(t){var r,n=0,i=this.p>>>5,o=this.m(t,this.u,this.h),a=o.binLen,s=o.value,l=a>>>5;for(r=0;r<l;r+=i)n+this.p<=a&&(this.U=this.R(s.slice(r,r+i),this.U),n+=this.p);return this.A+=n,this.u=s.slice(n>>>5),this.h=a%this.p,this.v=!0,this},t.prototype.getHash=function(t,r){var n,i,o=this.T,s=f(r);if(this.C){if(-1===s.outputLen)throw Error("Output length must be specified in options");o=s.outputLen}var l=a(t,o,this.F,s);if(this.l&&this.K)return l(this.K(s));for(i=this.g(this.u.slice(),this.h,this.A,this.L(this.U),o),n=1;n<this.numRounds;n+=1)this.C&&o%32!=0&&(i[i.length-1]&=16777215>>>24-o%32),i=this.g(i,o,0,this.B(this.o),o);return l(i)},t.prototype.setHMACKey=function(t,r,n){if(!this.k)throw Error("Variant does not support HMAC");if(this.v)throw Error("Cannot set MAC key after calling update");var i=o(r,(n||{}).encoding||"UTF8",this.F);this.Y(i(t))},t.prototype.Y=function(t){var r,n=this.p>>>3,i=n/4-1;if(1!==this.numRounds)throw Error(d);if(this.l)throw Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.g(t.value,t.binLen,0,this.B(this.o),this.T));t.value.length<=i;)t.value.push(0);for(r=0;r<=i;r+=1)this.S[r]=909522486^t.value[r],this.H[r]=1549556828^t.value[r];this.U=this.R(this.S,this.U),this.A=this.p,this.l=!0},t.prototype.getHMAC=function(t,r){var n=f(r);return a(t,this.T,this.F,n)(this.N())},t.prototype.N=function(){if(!this.l)throw Error("Cannot call getHMAC without first setting MAC key");var t,r=this.g(this.u.slice(),this.h,this.A,this.L(this.U),this.T);return t=this.R(this.H,this.B(this.o)),t=this.g(r,this.T,this.p,t,this.T)},t}(),g=function(t,r){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])})(t,r)};function y(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}g(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function v(t,r){return t<<r|t>>>32-r}function b(t,r){return t>>>r|t<<32-r}function w(t,r){var n=(65535&t)+(65535&r);return(65535&(t>>>16)+(r>>>16)+(n>>>16))<<16|65535&n}function _(t,r,n,i,o){var a=(65535&t)+(65535&r)+(65535&n)+(65535&i)+(65535&o);return(65535&(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(o>>>16)+(a>>>16))<<16|65535&a}function S(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function E(t,r){var n,i,o,a,s,l,u,c,d,h,f,p=[];for(s=r[0],l=r[1],u=r[2],c=r[3],d=r[4],f=0;f<80;f+=1)p[f]=f<16?t[f]:v(p[f-3]^p[f-8]^p[f-14]^p[f-16],1),h=f<20?_(v(s,5),(n=l)&u^~n&c,d,1518500249,p[f]):f<40?_(v(s,5),l^u^c,d,1859775393,p[f]):f<60?_(v(s,5),(i=l)&(o=u)^i&(a=c)^o&a,d,2400959708,p[f]):_(v(s,5),l^u^c,d,3395469782,p[f]),d=c,c=u,u=v(l,30),l=s,s=h;return r[0]=w(s,r[0]),r[1]=w(l,r[1]),r[2]=w(u,r[2]),r[3]=w(c,r[3]),r[4]=w(d,r[4]),r}function A(t,r,n,i){for(var o,a=15+(r+65>>>9<<4),s=r+n;t.length<=a;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[a]=4294967295&s,t[a-1]=s/4294967296|0,o=0;o<t.length;o+=16)i=E(t.slice(o,o+16),i);return i}"function"==typeof SuppressedError&&SuppressedError;var x=function(t){function r(r,n,i){var a=this;if("SHA-1"!==r)throw Error(c);var s=i||{};return(a=t.call(this,r,n,i)||this).k=!0,a.K=a.N,a.F=-1,a.m=o(a.t,a.i,a.F),a.R=E,a.L=function(t){return t.slice()},a.B=S,a.g=A,a.U=[1732584193,4023233417,2562383102,271733878,3285377520],a.p=512,a.T=160,a.C=!1,s.hmacKey&&a.Y(p("hmacKey",s.hmacKey,a.F)),a}return y(r,t),r}(m);function k(t){return"SHA-224"==t?l.slice():u.slice()}function O(t,r){var n,i,o,a,l,u,c,d,h,f,p,m,g,y,v,S,E,A,x,k=[];for(d=r[0],h=r[1],f=r[2],p=r[3],m=r[4],g=r[5],y=r[6],v=r[7],A=0;A<64;A+=1)k[A]=A<16?t[A]:function(t,r,n,i){var o=(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(o>>>16))<<16|65535&o}(b(x=k[A-2],17)^b(x,19)^x>>>10,k[A-7],b(n=k[A-15],7)^b(n,18)^n>>>3,k[A-16]),S=_(v,b(i=m,6)^b(i,11)^b(i,25),(o=m)&g^~o&y,s[A],k[A]),E=w(b(a=d,2)^b(a,13)^b(a,22),(l=d)&(u=h)^l&(c=f)^u&c),v=y,y=g,g=m,m=w(p,S),p=f,f=h,h=d,d=w(S,E);return r[0]=w(d,r[0]),r[1]=w(h,r[1]),r[2]=w(f,r[2]),r[3]=w(p,r[3]),r[4]=w(m,r[4]),r[5]=w(g,r[5]),r[6]=w(y,r[6]),r[7]=w(v,r[7]),r}var P=function(t){function r(r,n,i){var a=this;if("SHA-224"!==r&&"SHA-256"!==r)throw Error(c);var s=i||{};return(a=t.call(this,r,n,i)||this).K=a.N,a.k=!0,a.F=-1,a.m=o(a.t,a.i,a.F),a.R=O,a.L=function(t){return t.slice()},a.B=k,a.g=function(t,n,i,o){return function(t,r,n,i,o){for(var a,s=15+(r+65>>>9<<4),l=r+n;t.length<=s;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[s]=4294967295&l,t[s-1]=l/4294967296|0,a=0;a<t.length;a+=16)i=O(t.slice(a,a+16),i);return"SHA-224"===o?[i[0],i[1],i[2],i[3],i[4],i[5],i[6]]:i}(t,n,i,o,r)},a.U=k(r),a.p=512,a.T="SHA-224"===r?224:256,a.C=!1,s.hmacKey&&a.Y(p("hmacKey",s.hmacKey,a.F)),a}return y(r,t),r}(m),C=function(t,r){this.I=t,this.M=r};function T(t,r){var n;return r>32?(n=64-r,new C(t.M<<r|t.I>>>n,t.I<<r|t.M>>>n)):0!==r?(n=32-r,new C(t.I<<r|t.M>>>n,t.M<<r|t.I>>>n)):t}function M(t,r){var n;return r<32?(n=32-r,new C(t.I>>>r|t.M<<n,t.M>>>r|t.I<<n)):(n=64-r,new C(t.M>>>r|t.I<<n,t.I>>>r|t.M<<n))}function R(t,r){return new C(t.I>>>r,t.M>>>r|t.I<<32-r)}function I(t,r){n=(65535&t.M)+(65535&r.M);var n,i,o=(65535&(i=(t.M>>>16)+(r.M>>>16)+(n>>>16)))<<16|65535&n;return n=(65535&t.I)+(65535&r.I)+(i>>>16),new C((65535&(i=(t.I>>>16)+(r.I>>>16)+(n>>>16)))<<16|65535&n,o)}function N(t,r){return new C(t.I^r.I,t.M^r.M)}var D=[new C(s[0],3609767458),new C(s[1],602891725),new C(s[2],3964484399),new C(s[3],2173295548),new C(s[4],4081628472),new C(s[5],3053834265),new C(s[6],2937671579),new C(s[7],3664609560),new C(s[8],2734883394),new C(s[9],1164996542),new C(s[10],1323610764),new C(s[11],3590304994),new C(s[12],4068182383),new C(s[13],991336113),new C(s[14],633803317),new C(s[15],3479774868),new C(s[16],2666613458),new C(s[17],944711139),new C(s[18],2341262773),new C(s[19],2007800933),new C(s[20],1495990901),new C(s[21],1856431235),new C(s[22],3175218132),new C(s[23],2198950837),new C(s[24],3999719339),new C(s[25],766784016),new C(s[26],2566594879),new C(s[27],3203337956),new C(s[28],1034457026),new C(s[29],2466948901),new C(s[30],3758326383),new C(s[31],168717936),new C(s[32],1188179964),new C(s[33],1546045734),new C(s[34],1522805485),new C(s[35],2643833823),new C(s[36],2343527390),new C(s[37],1014477480),new C(s[38],1206759142),new C(s[39],344077627),new C(s[40],1290863460),new C(s[41],3158454273),new C(s[42],3505952657),new C(s[43],106217008),new C(s[44],3606008344),new C(s[45],1432725776),new C(s[46],1467031594),new C(s[47],851169720),new C(s[48],3100823752),new C(s[49],1363258195),new C(s[50],3750685593),new C(s[51],3785050280),new C(s[52],3318307427),new C(s[53],3812723403),new C(s[54],2003034995),new C(s[55],3602036899),new C(s[56],1575990012),new C(s[57],1125592928),new C(s[58],2716904306),new C(s[59],442776044),new C(s[60],593698344),new C(s[61],3733110249),new C(s[62],2999351573),new C(s[63],3815920427),new C(3391569614,3928383900),new C(3515267271,566280711),new C(3940187606,3454069534),new C(4118630271,4000239992),new C(116418474,1914138554),new C(174292421,2731055270),new C(289380356,3203993006),new C(460393269,320620315),new C(685471733,587496836),new C(852142971,1086792851),new C(1017036298,365543100),new C(1126000580,2618297676),new C(1288033470,3409855158),new C(1501505948,4234509866),new C(1607167915,987167468),new C(1816402316,1246189591)];function F(t){return"SHA-384"===t?[new C(3418070365,l[0]),new C(1654270250,l[1]),new C(2438529370,l[2]),new C(355462360,l[3]),new C(1731405415,l[4]),new C(41048885895,l[5]),new C(3675008525,l[6]),new C(1203062813,l[7])]:[new C(u[0],4089235720),new C(u[1],2227873595),new C(u[2],4271175723),new C(u[3],1595750129),new C(u[4],2917565137),new C(u[5],725511199),new C(u[6],4215389547),new C(u[7],327033209)]}function L(t,r){var n,i,o,a,s,l,u,c,d,h,f,p,m,g,y,v,b,w,_,S,E,A,x=[];for(u=r[0],c=r[1],d=r[2],h=r[3],f=r[4],p=r[5],m=r[6],g=r[7],b=0;b<80;b+=1)b<16?(w=2*b,x[b]=new C(t[w],t[w+1])):x[b]=function(t,r,n,i){o=(65535&t.M)+(65535&r.M)+(65535&n.M)+(65535&i.M);var o,a,s=(65535&(a=(t.M>>>16)+(r.M>>>16)+(n.M>>>16)+(i.M>>>16)+(o>>>16)))<<16|65535&o;return o=(65535&t.I)+(65535&r.I)+(65535&n.I)+(65535&i.I)+(a>>>16),new C((65535&(a=(t.I>>>16)+(r.I>>>16)+(n.I>>>16)+(i.I>>>16)+(o>>>16)))<<16|65535&o,s)}((_=x[b-2],S=void 0,E=void 0,A=void 0,S=M(_,19),E=M(_,61),A=R(_,6),new C(S.I^E.I^A.I,S.M^E.M^A.M)),x[b-7],function(t){var r=M(t,1),n=M(t,8),i=R(t,7);return new C(r.I^n.I^i.I,r.M^n.M^i.M)}(x[b-15]),x[b-16]),y=function(t,r,n,i,o){a=(65535&t.M)+(65535&r.M)+(65535&n.M)+(65535&i.M)+(65535&o.M);var a,s,l=(65535&(s=(t.M>>>16)+(r.M>>>16)+(n.M>>>16)+(i.M>>>16)+(o.M>>>16)+(a>>>16)))<<16|65535&a;return a=(65535&t.I)+(65535&r.I)+(65535&n.I)+(65535&i.I)+(65535&o.I)+(s>>>16),new C((65535&(s=(t.I>>>16)+(r.I>>>16)+(n.I>>>16)+(i.I>>>16)+(o.I>>>16)+(a>>>16)))<<16|65535&a,l)}(g,function(t){var r=M(t,14),n=M(t,18),i=M(t,41);return new C(r.I^n.I^i.I,r.M^n.M^i.M)}(f),(n=f,i=p,o=m,new C(n.I&i.I^~n.I&o.I,n.M&i.M^~n.M&o.M)),D[b],x[b]),v=I(function(t){var r=M(t,28),n=M(t,34),i=M(t,39);return new C(r.I^n.I^i.I,r.M^n.M^i.M)}(u),(a=u,s=c,l=d,new C(a.I&s.I^a.I&l.I^s.I&l.I,a.M&s.M^a.M&l.M^s.M&l.M))),g=m,m=p,p=f,f=I(h,y),h=d,d=c,c=u,u=I(y,v);return r[0]=I(u,r[0]),r[1]=I(c,r[1]),r[2]=I(d,r[2]),r[3]=I(h,r[3]),r[4]=I(f,r[4]),r[5]=I(p,r[5]),r[6]=I(m,r[6]),r[7]=I(g,r[7]),r}var $=function(t){function r(r,n,i){var a=this;if("SHA-384"!==r&&"SHA-512"!==r)throw Error(c);var s=i||{};return(a=t.call(this,r,n,i)||this).K=a.N,a.k=!0,a.F=-1,a.m=o(a.t,a.i,a.F),a.R=L,a.L=function(t){return t.slice()},a.B=F,a.g=function(t,n,i,o){return function(t,r,n,i,o){for(var a,s=31+(r+129>>>10<<5),l=r+n;t.length<=s;)t.push(0);for(t[r>>>5]|=128<<24-r%32,t[s]=4294967295&l,t[s-1]=l/4294967296|0,a=0;a<t.length;a+=32)i=L(t.slice(a,a+32),i);return"SHA-384"===o?[i[0].I,i[0].M,i[1].I,i[1].M,i[2].I,i[2].M,i[3].I,i[3].M,i[4].I,i[4].M,i[5].I,i[5].M]:[i[0].I,i[0].M,i[1].I,i[1].M,i[2].I,i[2].M,i[3].I,i[3].M,i[4].I,i[4].M,i[5].I,i[5].M,i[6].I,i[6].M,i[7].I,i[7].M]}(t,n,i,o,r)},a.U=F(r),a.p=1024,a.T="SHA-384"===r?384:512,a.C=!1,s.hmacKey&&a.Y(p("hmacKey",s.hmacKey,a.F)),a}return y(r,t),r}(m),j=[new C(0,1),new C(0,32898),new C(2147483648,32906),new C(2147483648,2147516416),new C(0,32907),new C(0,2147483649),new C(2147483648,2147516545),new C(2147483648,32777),new C(0,138),new C(0,136),new C(0,2147516425),new C(0,2147483658),new C(0,2147516555),new C(2147483648,139),new C(2147483648,32905),new C(2147483648,32771),new C(2147483648,32770),new C(2147483648,128),new C(0,32778),new C(2147483648,2147483658),new C(2147483648,2147516545),new C(2147483648,32896),new C(0,2147483649),new C(2147483648,2147516424)],U=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function B(t){var r,n=[];for(r=0;r<5;r+=1)n[r]=[new C(0,0),new C(0,0),new C(0,0),new C(0,0),new C(0,0)];return n}function z(t){var r,n=[];for(r=0;r<5;r+=1)n[r]=t[r].slice();return n}function H(t,r){var n,i,o,a,s,l,u,c,d,h=[],f=[];if(null!==t)for(i=0;i<t.length;i+=2)r[(i>>>1)%5][(i>>>1)/5|0]=N(r[(i>>>1)%5][(i>>>1)/5|0],new C(t[i+1],t[i]));for(n=0;n<24;n+=1){for(a=B(),i=0;i<5;i+=1)h[i]=(s=r[i][0],l=r[i][1],u=r[i][2],c=r[i][3],d=r[i][4],new C(s.I^l.I^u.I^c.I^d.I,s.M^l.M^u.M^c.M^d.M));for(i=0;i<5;i+=1)f[i]=N(h[(i+4)%5],T(h[(i+1)%5],1));for(i=0;i<5;i+=1)for(o=0;o<5;o+=1)r[i][o]=N(r[i][o],f[i]);for(i=0;i<5;i+=1)for(o=0;o<5;o+=1)a[o][(2*i+3*o)%5]=T(r[i][o],U[i][o]);for(i=0;i<5;i+=1)for(o=0;o<5;o+=1)r[i][o]=N(a[i][o],new C(~a[(i+1)%5][o].I&a[(i+2)%5][o].I,~a[(i+1)%5][o].M&a[(i+2)%5][o].M));r[0][0]=N(r[0][0],j[n])}return r}function q(t){var r,n,i=0,o=[0,0],a=[4294967295&t,t/4294967296&2097151];for(r=6;r>=0;r--)0==(n=a[r>>2]>>>8*r&255)&&0===i||(o[i+1>>2]|=n<<8*(i+1),i+=1);return i=0!==i?i:1,o[0]|=i,{value:i+1>4?o:[o[0]],binLen:8+8*i}}function V(t){return h(q(t.binLen),t)}function G(t,r){var n,i=q(r),o=r>>>2,a=(o-(i=h(i,t)).value.length%o)%o;for(n=0;n<a;n++)i.value.push(0);return i.value}var W=function(t){function r(r,n,i){var a=this,s=6,l=0,u=i||{};if(1!==(a=t.call(this,r,n,i)||this).numRounds){if(u.kmacKey||u.hmacKey)throw Error(d);if("CSHAKE128"===a.o||"CSHAKE256"===a.o)throw Error("Cannot set numRounds for CSHAKE variants")}switch(a.F=1,a.m=o(a.t,a.i,a.F),a.R=H,a.L=z,a.B=B,a.U=B(),a.C=!1,r){case"SHA3-224":a.p=l=1152,a.T=224,a.k=!0,a.K=a.N;break;case"SHA3-256":a.p=l=1088,a.T=256,a.k=!0,a.K=a.N;break;case"SHA3-384":a.p=l=832,a.T=384,a.k=!0,a.K=a.N;break;case"SHA3-512":a.p=l=576,a.T=512,a.k=!0,a.K=a.N;break;case"SHAKE128":s=31,a.p=l=1344,a.T=-1,a.C=!0,a.k=!1,a.K=null;break;case"SHAKE256":s=31,a.p=l=1088,a.T=-1,a.C=!0,a.k=!1,a.K=null;break;case"KMAC128":s=4,a.p=l=1344,a.X(i),a.T=-1,a.C=!0,a.k=!1,a.K=a.O;break;case"KMAC256":s=4,a.p=l=1088,a.X(i),a.T=-1,a.C=!0,a.k=!1,a.K=a.O;break;case"CSHAKE128":a.p=l=1344,s=a.j(i),a.T=-1,a.C=!0,a.k=!1,a.K=null;break;case"CSHAKE256":a.p=l=1088,s=a.j(i),a.T=-1,a.C=!0,a.k=!1,a.K=null;break;default:throw Error(c)}return a.g=function(t,r,n,i,o){return function(t,r,n,i,o,a,s){var l,u,c=0,d=[],h=o>>>5,f=r>>>5;for(l=0;l<f&&r>=o;l+=h)i=H(t.slice(l,l+h),i),r-=o;for(t=t.slice(l),r%=o;t.length<h;)t.push(0);for(t[(l=r>>>3)>>2]^=a<<l%4*8,t[h-1]^=2147483648,i=H(t,i);32*d.length<s&&(d.push((u=i[c%5][c/5|0]).M),!(32*d.length>=s));)d.push(u.I),0==64*(c+=1)%o&&(H(null,i),c=0);return d}(t,r,0,i,l,s,o)},u.hmacKey&&a.Y(p("hmacKey",u.hmacKey,a.F)),a}return y(r,t),r.prototype.j=function(t,r){var n,i={funcName:p("funcName",(n=t||{}).funcName,1,{value:[],binLen:0}),customization:p("Customization",n.customization,1,{value:[],binLen:0})};r&&(i.funcName=r);var o=h(V(i.funcName),V(i.customization));if(0!==i.customization.binLen||0!==i.funcName.binLen){for(var a=G(o,this.p>>>3),s=0;s<a.length;s+=this.p>>>5)this.U=this.R(a.slice(s,s+(this.p>>>5)),this.U),this.A+=this.p;return 4}return 31},r.prototype.X=function(t){var r,n={kmacKey:p("kmacKey",(r=t||{}).kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:p("Customization",r.customization,1,{value:[],binLen:0})};this.j(t,n.funcName);for(var i=G(V(n.kmacKey),this.p>>>3),o=0;o<i.length;o+=this.p>>>5)this.U=this.R(i.slice(o,o+(this.p>>>5)),this.U),this.A+=this.p;this.l=!0},r.prototype.O=function(t){var r=h({value:this.u.slice(),binLen:this.h},function(t){var r,n,i=0,o=[0,0],a=[4294967295&t,t/4294967296&2097151];for(r=6;r>=0;r--)0==(n=a[r>>2]>>>8*r&255)&&0===i||(o[i>>2]|=n<<8*i,i+=1);return o[(i=0!==i?i:1)>>2]|=i<<8*i,{value:i+1>4?o:[o[0]],binLen:8+8*i}}(t.outputLen));return this.g(r.value,r.binLen,this.A,this.L(this.U),t.outputLen)},r}(m);return function(){function t(t,r,n){if("SHA-1"==t)this._=new x(t,r,n);else if("SHA-224"==t||"SHA-256"==t)this._=new P(t,r,n);else if("SHA-384"==t||"SHA-512"==t)this._=new $(t,r,n);else{if("SHA3-224"!=t&&"SHA3-256"!=t&&"SHA3-384"!=t&&"SHA3-512"!=t&&"SHAKE128"!=t&&"SHAKE256"!=t&&"CSHAKE128"!=t&&"CSHAKE256"!=t&&"KMAC128"!=t&&"KMAC256"!=t)throw Error(c);this._=new W(t,r,n)}}return t.prototype.update=function(t){return this._.update(t),this},t.prototype.getHash=function(t,r){return this._.getHash(t,r)},t.prototype.setHMACKey=function(t,r,n){this._.setHMACKey(t,r,n)},t.prototype.getHMAC=function(t,r){return this._.getHMAC(t,r)},t}()},t.exports=r()},15586:function(t,r,n){t=n.nmd(t);var i,o,a,s="__lodash_hash_undefined__",l="[object Arguments]",u="[object Array]",c="[object Boolean]",d="[object Date]",h="[object Error]",f="[object Function]",p="[object Map]",m="[object Number]",g="[object Object]",y="[object Promise]",v="[object RegExp]",b="[object Set]",w="[object String]",_="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",A=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,k={};
vendor: 4,839 bytes, line 4
4k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[l]=k[u]=k[S]=k[c]=k[E]=k[d]=k[h]=k[f]=k[p]=k[m]=k[g]=k[v]=k[b]=k[w]=k[_]=!1;var O="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,P="object"==typeof self&&self&&self.Object===Object&&self,C=O||P||Function("return this")(),T=r&&!r.nodeType&&r,M=T&&t&&!t.nodeType&&t,R=M&&M.exports===T,I=R&&O.process,N=function(){try{return I&&I.binding&&I.binding("util")}catch(t){}}(),D=N&&N.isTypedArray;function F(t){var r=-1,n=Array(t.size);return t.forEach(function(t,i){n[++r]=[i,t]}),n}function L(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}var $=Array.prototype,j=Function.prototype,U=Object.prototype,B=C["__core-js_shared__"],z=j.toString,H=U.hasOwnProperty,q=(i=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",V=U.toString,G=RegExp("^"+z.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=R?C.Buffer:void 0,K=C.Symbol,Y=C.Uint8Array,Z=U.propertyIsEnumerable,X=$.splice,J=K?K.toStringTag:void 0,Q=Object.getOwnPropertySymbols,ee=W?W.isBuffer:void 0,et=(o=Object.keys,a=Object,function(t){return o(a(t))}),er=ek(C,"DataView"),en=ek(C,"Map"),ei=ek(C,"Promise"),eo=ek(C,"Set"),ea=ek(C,"WeakMap"),es=ek(Object,"create"),el=eC(er),eu=eC(en),ec=eC(ei),ed=eC(eo),eh=eC(ea),ef=K?K.prototype:void 0,ep=ef?ef.valueOf:void 0;function em(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function eg(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function ey(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}function ev(t){var r=-1,n=null==t?0:t.length;for(this.__data__=new ey;++r<n;)this.add(t[r])}function eb(t){var r=this.__data__=new eg(t);this.size=r.size}function ew(t,r){for(var n=t.length;n--;)if(eT(t[n][0],r))return n;return -1}function e_(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":J&&J in Object(t)?function(t){var r=H.call(t,J),n=t[J];try{t[J]=void 0;var i=!0}catch(t){}var o=V.call(t);return i&&(r?t[J]=n:delete t[J]),o}(t):V.call(t)}function eS(t){return eL(t)&&e_(t)==l}function eE(t,r,n,i,o,a){var s=1&n,l=t.length,u=r.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(t);if(c&&a.get(r))return c==r;var d=-1,h=!0,f=2&n?new ev:void 0;for(a.set(t,r),a.set(r,t);++d<l;){var p=t[d],m=r[d];if(i)var g=s?i(m,p,d,r,t,a):i(p,m,d,t,r,a);if(void 0!==g){if(g)continue;h=!1;break}if(f){if(!function(t,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}(r,function(t,r){if(!f.has(r)&&(p===t||o(p,t,n,i,a)))return f.push(r)})){h=!1;break}}else if(!(p===m||o(p,m,n,i,a))){h=!1;break}}return a.delete(t),a.delete(r),h}function eA(t){var r;return r=function(t){return null!=t&&eD(t.length)&&!eN(t)?function(t,r){var n,i=eR(t),o=!i&&eM(t),a=!i&&!o&&eI(t),s=!i&&!o&&!a&&e$(t),l=i||o||a||s,u=l?function(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}(t.length,String):[],c=u.length;for(var d in t)H.call(t,d)&&!(l&&("length"==d||a&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||(n=null==(n=c)?9007199254740991:n)&&("number"==typeof d||x.test(d))&&d>-1&&d%1==0&&d<n))&&u.push(d);return u}(t):function(t){if(r=t&&t.constructor,t!==("function"==typeof r&&r.prototype||U))return et(t);var r,n=[];for(var i in Object(t))H.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t)}(t),eR(t)?r:function(t,r){for(var n=-1,i=r.length,o=t.length;++n<i;)t[o+n]=r[n];return t}(r,eO(t))}function ex(t,r){var n,i=t.__data__;return("string"==(n=typeof r)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof r?"string":"hash"]:i.map}function ek(t,r){var n=null==t?void 0:t[r];return!(!eF(n)||q&&q in n)&&(eN(n)?G:A).test(eC(n))?n:void 0}em.prototype.clear=function(){this.__data__=es?es(null):{},this.size=0},em.prototype.delete=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},em.prototype.get=function(t){var r=this.__data__;if(es){var n=r[t];return n===s?void 0:n}return H.call(r,t)?r[t]:void 0},em.prototype.has=function(t){var r=this.__data__;return es?void 0!==r[t]:H.call(r,t)},em.prototype.set=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=es&&void 0===r?s:r,this},eg.prototype.clear=function(){this.__data__=[],this.size=0},eg.prototype.delete=function(t){var r=this.__data__,n=ew(r,t);return!(n<0)&&(n==r.length-1?r.pop():X.call(r,n,1),--this.size,!0)},eg.prototype.get=function(t){var r=this.__data__,n=ew(r,t);return n<0?void 0:r[n][1]},eg.prototype.has=function(t){return ew(this.__data__,t)>-1}
vendor: 1,854 bytes, line 4
4,eg.prototype.set=function(t,r){var n=this.__data__,i=ew(n,t);return i<0?(++this.size,n.push([t,r])):n[i][1]=r,this},ey.prototype.clear=function(){this.size=0,this.__data__={hash:new em,map:new(en||eg),string:new em}},ey.prototype.delete=function(t){var r=ex(this,t).delete(t);return this.size-=r?1:0,r},ey.prototype.get=function(t){return ex(this,t).get(t)},ey.prototype.has=function(t){return ex(this,t).has(t)},ey.prototype.set=function(t,r){var n=ex(this,t),i=n.size;return n.set(t,r),this.size+=n.size==i?0:1,this},ev.prototype.add=ev.prototype.push=function(t){return this.__data__.set(t,s),this},ev.prototype.has=function(t){return this.__data__.has(t)},eb.prototype.clear=function(){this.__data__=new eg,this.size=0},eb.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},eb.prototype.get=function(t){return this.__data__.get(t)},eb.prototype.has=function(t){return this.__data__.has(t)},eb.prototype.set=function(t,r){var n=this.__data__;if(n instanceof eg){var i=n.__data__;if(!en||i.length<199)return i.push([t,r]),this.size=++n.size,this;n=this.__data__=new ey(i)}return n.set(t,r),this.size=n.size,this};var eO=Q?function(t){return null==t?[]:function(t,r){for(var n=-1,i=null==t?0:t.length,o=0,a=[];++n<i;){var s=t[n];r(s,n,t)&&(a[o++]=s)}return a}(Q(t=Object(t)),function(r){return Z.call(t,r)})}:function(){return[]},eP=e_;function eC(t){if(null!=t){try{return z.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function eT(t,r){return t===r||t!=t&&r!=r}(er&&eP(new er(new ArrayBuffer(1)))!=E||en&&eP(new en)!=p||ei&&eP(ei.resolve())!=y||eo&&eP(new eo)!=b||ea&&eP(new ea)!=_)&&(eP=function(t){var r=e_(t),n=r==g?t.constructor:void 0,i=n?eC(n):"";if(i)switch(i){case el:return E;case eu:return p;case ec:return y;case ed:return b;case eh:return _}return r});var eM=eS(function(){return arguments}
4())?eS:function(t){return eL(t)&&H.call(t,"callee")&&!Z.call(t,"callee")},eR=Array.isArray,eI=ee||function(){return!1};function eN(t){if(!eF(t))return!1;var r=e_(t);return r==f||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function eD(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function eF(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function eL(t){return null!=t&&"object"==typeof t}var e$=D?function(t){return D(t)}:function(t){return eL(t)&&eD(t.length)&&!!k[e_(t)]};t.exports=function(t,r){return function t(r,n,i,o,a){return r===n||(null!=r&&null!=n&&(eL(r)||eL(n))?function(t,r,n,i,o,a){var s=eR(t),f=eR(r),y=s?u:eP(t),_=f?u:eP(r);y=y==l?g:y,_=_==l?g:_;var A=y==g,x=_==g,k=y==_;if(k&&eI(t)){if(!eI(r))return!1;s=!0,A=!1}if(k&&!A)return a||(a=new eb),s||e$(t)?eE(t,r,n,i,o,a):function(t,r,n,i,o,a,s){switch(n){case E:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case S:if(t.byteLength!=r.byteLength||!a(new Y(t),new Y(r)))break;return!0;case c:case d:case m:return eT(+t,+r);case h:return t.name==r.name&&t.message==r.message;case v:case w:return t==r+"";case p:var l=F;case b:var u=1&i;if(l||(l=L),t.size!=r.size&&!u)break;var f=s.get(t);if(f)return f==r;i|=2,s.set(t,r);var g=eE(l(t),l(r),i,o,a,s);return s.delete(t),g;case"[object Symbol]":if(ep)return ep.call(t)==ep.call(r)}return!1}(t,r,y,n,i,o,a);if(!(1&n)){var O=A&&H.call(t,"__wrapped__"),P=x&&H.call(r,"__wrapped__");
vendor: 4,568 bytes, line 4
4if(O||P){var C=O?t.value():t,T=P?r.value():r;return a||(a=new eb),o(C,T,n,i,a)}}return!!k&&(a||(a=new eb),function(t,r,n,i,o,a){var s=1&n,l=eA(t),u=l.length;if(u!=eA(r).length&&!s)return!1;for(var c=u;c--;){var d=l[c];if(!(s?d in r:H.call(r,d)))return!1}var h=a.get(t);if(h&&a.get(r))return h==r;var f=!0;a.set(t,r),a.set(r,t);for(var p=s;++c<u;){var m=t[d=l[c]],g=r[d];if(i)var y=s?i(g,m,d,r,t,a):i(m,g,d,t,r,a);if(!(void 0===y?m===g||o(m,g,n,i,a):y)){f=!1;break}p||(p="constructor"==d)}if(f&&!p){var v=t.constructor,b=r.constructor;v!=b&&"constructor"in t&&"constructor"in r&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(f=!1)}return a.delete(t),a.delete(r),f}(t,r,n,i,o,a))}(r,n,i,o,t,a):r!=r&&n!=n)}(t,r)}},94975:function(t,r,n){var i=n(39866)(n(74288),"DataView");t.exports=i},9855:function(t,r,n){var i=n(43596),o=n(35907),a=n(35355),s=n(39870),l=n(73372);function u(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},99078:function(t,r,n){var i=n(62285),o=n(28706),a=n(63717),s=n(78410),l=n(13368);function u(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},88675:function(t,r,n){var i=n(39866)(n(74288),"Map");t.exports=i},76219:function(t,r,n){var i=n(38764),o=n(78615),a=n(83391),s=n(53483),l=n(74724);function u(t){var r=-1,n=null==t?0:t.length;for(this.clear();++r<n;){var i=t[r];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,t.exports=u},69308:function(t,r,n){var i=n(39866)(n(74288),"Promise");t.exports=i},41497:function(t,r,n){var i=n(39866)(n(74288),"Set");t.exports=i},11549:function(t,r,n){var i=n(76219),o=n(54351),a=n(16096);function s(t){var r=-1,n=null==t?0:t.length;for(this.__data__=new i;++r<n;)this.add(t[r])}s.prototype.add=s.prototype.push=o,s.prototype.has=a,t.exports=s},85885:function(t,r,n){var i=n(99078),o=n(84092),a=n(31663),s=n(69135),l=n(39552),u=n(63960);function c(t){var r=this.__data__=new i(t);this.size=r.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=s,c.prototype.has=l,c.prototype.set=u,t.exports=c},23910:function(t,r,n){var i=n(74288).Symbol;t.exports=i},80098:function(t,r,n){var i=n(74288).Uint8Array;t.exports=i},10880:function(t,r,n){var i=n(39866)(n(74288),"WeakMap");t.exports=i},60493:function(t){t.exports=function(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}},42774:function(t){t.exports=function(t,r){for(var n=-1,i=null==t?0:t.length,o=0,a=[];++n<i;){var s=t[n];r(s,n,t)&&(a[o++]=s)}return a}},28579:function(t,r,n){var i=n(89772),o=n(56569),a=n(25614),s=n(98051),l=n(84257),u=n(9792),c=Object.prototype.hasOwnProperty;t.exports=function(t,r){var n=a(t),d=!n&&o(t),h=!n&&!d&&s(t),f=!n&&!d&&!h&&u(t),p=n||d||h||f,m=p?i(t.length,String):[],g=m.length;for(var y in t)(r||c.call(t,y))&&!(p&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,g)))&&m.push(y);return m}},73817:function(t){t.exports=function(t,r){for(var n=-1,i=r.length,o=t.length;++n<i;)t[o+n]=r[n];return t}},25253:function(t){t.exports=function(t,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(t[n],n,t))return!0;return!1}},68852:function(t,r,n){var i=n(83023),o=n(37560);t.exports=function(t,r,n){(void 0===n||o(t[r],n))&&(void 0!==n||r in t)||i(t,r,n)}},83295:function(t,r,n){var i=n(83023),o=n(37560),a=Object.prototype.hasOwnProperty;t.exports=function(t,r,n){var s=t[r];a.call(t,r)&&o(s,n)&&(void 0!==n||r in t)||i(t,r,n)}},24457:function(t,r,n){var i=n(37560);t.exports=function(t,r){for(var n=t.length;n--;)if(i(t[n][0],r))return n;return -1}},83023:function(t,r,n){var i=n(4521);t.exports=function(t,r,n){"__proto__"==r&&i?i(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n}},32318:function(t,r,n){var i=n(28302),o=Object.create,a=function(){function t(){}return function(r){if(!i(r))return{};if(o)return o(r);t.prototype=r;var n=new t;return t.prototype=void 0,n}}();t.exports=a},63321:function(t,r,n){var i=n(33023)();t.exports=i},36452:function(t,r,n){var i=n(73817),o=n(25614);t.exports=function(t,r,n){var a=r(t);return o(t)?a:i(a,n(t))}},54506:function(t,r,n){var i=n(23910),o=n(4479),a=n(80910),s=i?i.toStringTag:void 0;
vendor: 2,679 bytes, line 4
4t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):a(t)}},90370:function(t,r,n){var i=n(54506),o=n(10303);t.exports=function(t){return o(t)&&"[object Arguments]"==i(t)}},56318:function(t,r,n){var i=n(6791),o=n(10303);t.exports=function t(r,n,a,s,l){return r===n||(null!=r&&null!=n&&(o(r)||o(n))?i(r,n,a,s,t,l):r!=r&&n!=n)}},6791:function(t,r,n){var i=n(85885),o=n(97638),a=n(88030),s=n(64974),l=n(81690),u=n(25614),c=n(98051),d=n(9792),h="[object Arguments]",f="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,g,y,v){var b=u(t),w=u(r),_=b?f:l(t),S=w?f:l(r);_=_==h?p:_,S=S==h?p:S;var E=_==p,A=S==p,x=_==S;if(x&&c(t)){if(!c(r))return!1;b=!0,E=!1}if(x&&!E)return v||(v=new i),b||d(t)?o(t,r,n,g,y,v):a(t,r,_,n,g,y,v);if(!(1&n)){var k=E&&m.call(t,"__wrapped__"),O=A&&m.call(r,"__wrapped__");if(k||O){var P=k?t.value():t,C=O?r.value():r;return v||(v=new i),y(P,C,n,g,v)}}return!!x&&(v||(v=new i),s(t,r,n,g,y,v))}},57595:function(t,r,n){var i=n(86757),o=n(79551),a=n(28302),s=n(1292),l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,d=u.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(i(t)?h:l).test(s(t))}},59332:function(t,r,n){var i=n(54506),o=n(13973),a=n(10303),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&o(t.length)&&!!s[i(t)]}},4578:function(t,r,n){var i=n(35365),o=n(77184),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return o(t);var r=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&r.push(n);return r}},22476:function(t,r,n){var i=n(28302),o=n(35365),a=n(92147),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return a(t);var r=o(t),n=[];for(var l in t)"constructor"==l&&(r||!s.call(t,l))||n.push(l);return n}},92197:function(t,r,n){var i=n(85885),o=n(68852),a=n(63321),s=n(11026),l=n(28302),u=n(18587),c=n(59082);t.exports=function t(r,n,d,h,f){r!==n&&a(n,function(a,u){if(f||(f=ne
vendor: 12,666 bytes, line 4
4w i),l(a))s(r,n,u,d,t,h,f);else{var p=h?h(c(r,u),a,u+"",r,n,f):void 0;void 0===p&&(p=a),o(r,u,p)}},u)}},11026:function(t,r,n){var i=n(68852),o=n(19243),a=n(65919),s=n(56075),l=n(32685),u=n(56569),c=n(25614),d=n(35873),h=n(98051),f=n(86757),p=n(28302),m=n(90231),g=n(9792),y=n(59082),v=n(8838);t.exports=function(t,r,n,b,w,_,S){var E=y(t,n),A=y(r,n),x=S.get(A);if(x){i(t,n,x);return}var k=_?_(E,A,n+"",t,r,S):void 0,O=void 0===k;if(O){var P=c(A),C=!P&&h(A),T=!P&&!C&&g(A);k=A,P||C||T?c(E)?k=E:d(E)?k=s(E):C?(O=!1,k=o(A,!0)):T?(O=!1,k=a(A,!0)):k=[]:m(A)||u(A)?(k=E,u(E)?k=v(E):(!p(E)||f(E))&&(k=l(A))):O=!1}O&&(S.set(A,k),w(k,A,b,_,S),S.delete(A)),i(t,n,k)}},44843:function(t,r,n){var i=n(79586),o=n(49478),a=n(98796);t.exports=function(t,r){return a(o(t,r,i),t+"")}},9810:function(t,r,n){var i=n(92353),o=n(4521),a=n(79586),s=o?function(t,r){return o(t,"toString",{configurable:!0,enumerable:!1,value:i(r),writable:!0})}:a;t.exports=s},89772:function(t){t.exports=function(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}},55041:function(t,r,n){var i=n(5035),o=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t}},23305:function(t){t.exports=function(t){return function(r){return t(r)}}},65734:function(t){t.exports=function(t,r){return t.has(r)}},94420:function(t,r,n){var i=n(80098);t.exports=function(t){var r=new t.constructor(t.byteLength);return new i(r).set(new i(t)),r}},19243:function(t,r,n){t=n.nmd(t);var i=n(74288),o=r&&!r.nodeType&&r,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?i.Buffer:void 0,l=s?s.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var n=t.length,i=l?l(n):new t.constructor(n);return t.copy(i),i}},65919:function(t,r,n){var i=n(94420);t.exports=function(t,r){var n=r?i(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},56075:function(t){t.exports=function(t,r){var n=-1,i=t.length;for(r||(r=Array(i));++n<i;)r[n]=t[n];return r}},33485:function(t,r,n){var i=n(83295),o=n(83023);t.exports=function(t,r,n,a){var s=!n;n||(n={});for(var l=-1,u=r.length;++l<u;){var c=r[l],d=a?a(n[c],t[c],c,n,t):void 0;void 0===d&&(d=t[c]),s?o(n,c,d):i(n,c,d)}return n}},92077:function(t,r,n){var i=n(74288)["__core-js_shared__"];t.exports=i},48022:function(t,r,n){var i=n(44843),o=n(49639);t.exports=function(t){return i(function(r,n){var i=-1,a=n.length,s=a>1?n[a-1]:void 0,l=a>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(a--,s):void 0,l&&o(n[0],n[1],l)&&(s=a<3?void 0:s,a=1),r=Object(r);++i<a;){var u=n[i];u&&t(r,u,i,s)}return r})}},33023:function(t){t.exports=function(t){return function(r,n,i){for(var o=-1,a=Object(r),s=i(r),l=s.length;l--;){var u=s[t?l:++o];if(!1===n(a[u],u,a))break}return r}}},4521:function(t,r,n){var i=n(39866),o=function(){try{var t=i(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},97638:function(t,r,n){var i=n(11549),o=n(25253),a=n(65734);t.exports=function(t,r,n,s,l,u){var c=1&n,d=t.length,h=r.length;if(d!=h&&!(c&&h>d))return!1;var f=u.get(t),p=u.get(r);if(f&&p)return f==r&&p==t;var m=-1,g=!0,y=2&n?new i:void 0;for(u.set(t,r),u.set(r,t);++m<d;){var v=t[m],b=r[m];if(s)var w=c?s(b,v,m,r,t,u):s(v,b,m,t,r,u);if(void 0!==w){if(w)continue;g=!1;break}if(y){if(!o(r,function(t,r){if(!a(y,r)&&(v===t||l(v,t,n,s,u)))return y.push(r)})){g=!1;break}}else if(!(v===b||l(v,b,n,s,u))){g=!1;break}}return u.delete(t),u.delete(r),g}},88030:function(t,r,n){var i=n(23910),o=n(80098),a=n(37560),s=n(97638),l=n(22523),u=n(27794),c=i?i.prototype:void 0,d=c?c.valueOf:void 0;t.exports=function(t,r,n,i,c,h,f){switch(n){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":if(t.byteLength!=r.byteLength||!h(new o(t),new o(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var p=l;case"[object Set]":var m=1&i;if(p||(p=u),t.size!=r.size&&!m)break;var g=f.get(t);if(g)return g==r;i|=2,f.set(t,r);var y=s(p(t),p(r),i,c,h,f);return f.delete(t),y;case"[object Symbol]":if(d)return d.call(t)==d.call(r)}return!1}},64974:function(t,r,n){var i=n(28529),o=Object.prototype.hasOwnProperty;t.exports=function(t,r,n,a,s,l){var u=1&n,c=i(t),d=c.length;if(d!=i(r).length&&!u)return!1;for(var h=d;h--;){var f=c[h];if(!(u?f in r:o.call(r,f)))return!1}var p=l.get(t),m=l.get(r);if(p&&m)return p==r&&m==t;var g=!0;l.set(t,r),l.set(r,t);for(var y=u;++h<d;){var v=t[f=c[h]],b=r[f];if(a)var w=u?a(b,v,f,r,t,l):a(v,b,f,t,r,l);if(!(void 0===w?v===b||s(v,b,n,a,l):w)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var _=t.constructor,S=r.constructor;_!=S&&"constructor"in t&&"constructor"in r&&!("function"==typeof _&&_ instanceof _&&"function"==typeof S&&S instanceof S)&&(g=!1)}return l.delete(t),l.delete(r),g}},17071:function(t,r,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},28529:function(t,r,n){var i=n(36452),o=n(80466),a=n(43228);t.exports=function(t){return i(t,a,o)}},1507:function(t,r,n){var i=n(7545);t.exports=function(t,r){var n=t.__data__;return i(r)?n["string"==typeof r?"string":"hash"]:n.map}},39866:function(t,r,n){var i=n(57595),o=n(3138);t.exports=function(t,r){var n=o(t,r);return i(n)?n:void 0}},62602:function(t,r,n){var i=n(45070)(Object.getPrototypeOf,Object);t.exports=i},4479:function(t,r,n){var i=n(23910),o=Object.prototype,a=o.hasOwnProperty,s=o.toString,l=i?i.toStringTag:void 0;t.exports=function(t){var r=a.call(t,l),n=t[l];try{t[l]=void 0;var i=!0}catch(t){}var o=s.call(t);return i&&(r?t[l]=n:delete t[l]),o}},80466:function(t,r,n){var i=n(42774),o=n(55716),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(t){return null==t?[]:i(s(t=Object(t)),function(r){return a.call(t,r)})}:o;t.exports=l},81690:function(t,r,n){var i=n(94975),o=n(88675),a=n(69308),s=n(41497),l=n(10880),u=n(54506),c=n(1292),d="[object Map]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",m="[object DataView]",g=c(i),y=c(o),v=c(a),b=c(s),w=c(l),_=u;(i&&_(new i(new ArrayBuffer(1)))!=m||o&&_(new o)!=d||a&&_(a.resolve())!=h||s&&_(new s)!=f||l&&_(new l)!=p)&&(_=function(t){var r=u(t),n="[object Object]"==r?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case g:return m;case y:return d;case v:return h;case b:return f;case w:return p}return r}),t.exports=_},3138:function(t){t.exports=function(t,r){return null==t?void 0:t[r]}},43596:function(t,r,n){var i=n(20453);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},35907:function(t){t.exports=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}},35355:function(t,r,n){var i=n(20453),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;if(i){var n=r[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(r,t)?r[t]:void 0}},39870:function(t,r,n){var i=n(20453),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;return i?void 0!==r[t]:o.call(r,t)}},73372:function(t,r,n){var i=n(20453);t.exports=function(t,r){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===r?"__lodash_hash_undefined__":r,this}},32685:function(t,r,n){var i=n(32318),o=n(62602),a=n(35365);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:i(o(t))}},84257:function(t){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var i=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t<n}},49639:function(t,r,n){var i=n(37560),o=n(5629),a=n(84257),s=n(28302);t.exports=function(t,r,n){if(!s(n))return!1;var l=typeof r;return("number"==l?!!(o(n)&&a(r,n.length)):"string"==l&&r in n)&&i(n[r],t)}},7545:function(t){t.exports=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},79551:function(t,r,n){var i,o=n(92077),a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!a&&a in t}},35365:function(t){var r=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||r)}},62285:function(t){t.exports=function(){this.__data__=[],this.size=0}},28706:function(t,r,n){var i=n(24457),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,n=i(r,t);return!(n<0)&&(n==r.length-1?r.pop():o.call(r,n,1),--this.size,!0)}},63717:function(t,r,n){var i=n(24457);t.exports=function(t){var r=this.__data__,n=i(r,t);return n<0?void 0:r[n][1]}},78410:function(t,r,n){var i=n(24457);t.exports=function(t){return i(this.__data__,t)>-1}},13368:function(t,r,n){var i=n(24457);t.exports=function(t,r){var n=this.__data__,o=i(n,t);return o<0?(++this.size,n.push([t,r])):n[o][1]=r,this}},38764:function(t,r,n){var i=n(9855),o=n(99078),a=n(88675);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||o),string:new i}}},78615:function(t,r,n){var i=n(1507);t.exports=function(t){var r=i(this,t).delete(t);return this.size-=r?1:0,r}},83391:function(t,r,n){var i=n(1507);t.exports=function(t){return i(this,t).get(t)}},53483:function(t,r,n){var i=n(1507);t.exports=function(t){return i(this,t).has(t)}},74724:function(t,r,n){var i=n(1507);t.exports=function(t,r){var n=i(this,t),o=n.size;return n.set(t,r),this.size+=n.size==o?0:1,this}},22523:function(t){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach(function(t,i){n[++r]=[i,t]}),n}},20453:function(t,r,n){var i=n(39866)(Object,"create");t.exports=i},77184:function(t,r,n){var i=n(45070)(Object.keys,Object);t.exports=i},92147:function(t){t.exports=function(t){var r=[];if(null!=t)for(var n in Object(t))r.push(n);return r}},39931:function(t,r,n){t=n.nmd(t);var i=n(17071),o=r&&!r.nodeType&&r,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o&&i.process,l=function(){try{var t=a&&a.require&&a.require("util").types;if(t)return t;return s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=l},80910:function(t){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},45070:function(t){t.exports=function(t,r){return function(n){return t(r(n))}}},49478:function(t,r,n){var i=n(60493),o=Math.max;t.exports=function(t,r,n){return r=o(void 0===r?t.length-1:r,0),function(){for(var a=arguments,s=-1,l=o(a.length-r,0),u=Array(l);++s<l;)u[s]=a[r+s];s=-1;for(var c=Array(r+1);++s<r;)c[s]=a[s];return c[r]=n(u),i(t,this,c)}}},74288:function(t,r,n){var i=n(17071),o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")();t.exports=a},59082:function(t){t.exports=function(t,r){if(("constructor"!==r||"function"!=typeof t[r])&&"__proto__"!=r)return t[r]}},54351:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},16096:function(t){t.exports=function(t){return this.__data__.has(t)}},27794:function(t){t.exports=function(t){var r=-1,n=Array(t.size);return t.forEach(function(t){n[++r]=t}),n}},98796:function(t,r,n){var i=n(9810),o=n(31610)(i);t.exports=o},31610:function(t){var r=Date.now;t.exports=function(t){var n=0,i=0;return function(){var o=r(),a=16-(o-i);if(i=o,a>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},84092:function(t,r,n){var i=n(99078);t.exports=function(){this.__data__=new i,this.size=0}},31663:function(t){t.exports=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}},69135:function(t){t.exports=function(t){return this.__data__.get(t)}},39552:function(t){t.exports=function(t){return this.__data__.has(t)}},63960:function(t,r,n){var i=n(99078),o=n(88675),a=n(76219);t.exports=function(t,r){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!o||s.length<199)return s.push([t,r]),this.size=++n.size,this;n=this.__data__=new a(s)}return n.set(t,r),this.size=n.size,this}},1292:function(t){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},5035:function(t){var r=/\s/;t.exports=function(t){for(var n=t.length;n--&&r.test(t.charAt(n)););return n}},92353:function(t){t.exports=function(t){return function(){return t}}},7310:function(t,r,n){var i=n(28302),o=n(11121),a=n(6660),s=Math.max,l=Math.min;t.exports=function(t,r,n){var u,c,d,h,f,p,m=0,g=!1,y=!1,v=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(r){var n=u,i=c;return u=c=void 0,m=r,h=t.apply(i,n)}function w(t){var n=t-p,i=t-m;return void 0===p||n>=r||n<0||y&&i>=d}function _(){var t,n,i,a=o();if(w(a))return S(a);f=setTimeout(_,(t=a-p,n=a-m,i=r-t,y?l(i,d-n):i))}function S(t){return(f=void 0,v&&u)?b(t):(u=c=void 0,h)}function E(){var t,n=o(),i=w(n);
4if(u=arguments,c=this,p=n,i){if(void 0===f)return m=t=p,f=setTimeout(_,r),g?b(t):h;if(y)return clearTimeout(f),f=setTimeout(_,r),b(p)}return void 0===f&&(f=setTimeout(_,r)),h}return r=a(r)||0,i(n)&&(g=!!n.leading,d=(y="maxWait"in n)?s(a(n.maxWait)||0,r):d,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==f&&clearTimeout(f),m=0,u=p=c=f=void 0},E.flush=function(){return void 0===f?h:S(o())},E}},37560:function(t){t.exports=function(t,r){return t===r||t!=t&&r!=r}},79586:function(t){t.exports=function(t){return t}},56569:function(t,r,n){var i=n(90370),o=n(10303),a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(t){return o(t)&&s.call(t,"callee")&&!l.call(t,"callee")};t.exports=u},25614:function(t){var r=Array.isArray;t.exports=r},5629:function(t,r,n){var i=n(86757),o=n(13973);t.exports=function(t){return null!=t&&o(t.length)&&!i(t)}},35873:function(t,r,n){var i=n(5629),o=n(10303);t.exports=function(t){return o(t)&&i(t)}},98051:function(t,r,n){t=n.nmd(t);var i=n(74288),o=n(7406),a=r&&!r.nodeType&&r,s=a&&t&&!t.nodeType&&t,l=s&&s.exports===a?i.Buffer:void 0,u=l?l.isBuffer:void 0;t.exports=u||o},21652:function(t,r,n){var i=n(56318);t.exports=function(t,r){return i(t,r)}},86757:function(t,r,n){var i=n(54506),o=n(28302);t.exports=function(t){if(!o(t))return!1;var r=i(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},13973:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},82559:function(t,r,n){var i=n(22345);t.exports=function(t){return i(t)&&t!=+t}},22345:function(t,r,n){var i=n(54506),o=n(10303);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==i(t)}},28302:function(t){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},10303:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},90231:function(t,r,n){var i=n(54506),o=n(62602),a=n(10303),s=Object.prototype,l=Function.prototype.toString,u=s.hasOwnProperty,c=l.call(Object);t.exports=function(t){if(!a(t)||"[object Object]"!=i(t))return!1;var r=o(t);if(null===r)return!0;var n=u.call(r,"constructor")&&r.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},78371:function(t,r,n){var i=n(54506),o=n(10303);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},9792:function(t,r,n){var i=n(59332),o=n(23305),a=n(39931),s=a&&a.isTypedArray,l=s?o(s):i;t.exports=l},43228:function(t,r,n){var i=n(28579),o=n(4578),a=n(5629);t.exports=function(t){return a(t)?i(t):o(t)}},18587:function(t,r,n){var i=n(28579),o=n(22476),a=n(5629);t.exports=function(t){return a(t)?i(t,!0):o(t)}},23006:function(t,r,n){var i=n(92197),o=n(48022)(function(t,r,n){i(t,r,n)});t.exports=o},11121:function(t,r,n){var i=n(74288);t.exports=function(){return i.Date.now()}},55716:function(t){t.exports=function(){return[]}},7406:function(t){t.exports=function(){return!1}},37065:function(t,r,n){var i=n(7310),o=n(28302);t.exports=function(t,r,n){var a=!0,s=!0;if("function"!=typeof t)throw TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),i(t,r,{leading:a,maxWait:r,trailing:s})}},6660:function(t,r,n){var i=n(55041),o=n(28302),a=n(78371),s=0/0,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return s;if(o(t)){var r="function"==typeof t.valueOf?t.valueOf():t;t=o(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?d(t.slice(2),n?2:8):l.test(t)?s:+t}},8838:function(t,r,n){var i=n(33485),o=n(18587);t.exports=function(t){return i(t,o(t))}},67385:function(t,r,n){var i=n(40548),o=/[\/\+\.]/;t.exports=function(t,r){function n(r){var n=i(r,t,o);return n&&n.length>=2}return r?n(r.split(";")[0]):n}},73045:function(t){function r(t,r){if(!t)throw Error(r||"Assertion failed")}t.exports=r,r.equal=function(t,r,n){if(t!=r)throw Error(n||"Assertion failed: "+t+" != "+r)}},83742:function(t,r){"use strict";function n(t){return 1===t.length?"0"+t:t}function i(t){for(var r="",i=0;i<t.length;i++)r+=n(t[i].toString(16));return r}r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)n[i]=0|t[i];return n}if("hex"===r){(t=t.replace(/[^a-z0-9]+/ig,"")).length%2!=0&&(t="0"+t);for(var i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var i=0;i<t.length;i++){var o=t.charCodeAt(i),a=o>>8,s=255&o;a?n.push(a,s):n.push(s)}return n},r.zero2=n,r.toHex=i,r.encode=function(t,r){return"hex"===r?i(t):t}},89866:function(t,r,n){"use strict";n.d(r,{j:function(){return eu}});let i={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},o={ms:t=>1e3*t,s:t=>t/1e3},a=()=>{},s=t=>t;function l(t,r=!0){if(t&&"finished"!==t.playState)try{t.stop?t.stop():(r&&t.commitStyles(),t.cancel())}catch(t){}}let u=t=>t(),c=(t,r,n=i.duration)=>
4new Proxy({animations:t.map(u).filter(Boolean),duration:n,options:r},h),d=t=>t.animations[0],h={get:(t,r)=>{let n=d(t);switch(r){case"duration":return t.duration;case"currentTime":return o.s((null==n?void 0:n[r])||0);case"playbackRate":case"playState":return null==n?void 0:n[r];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(f)).catch(a)),t.finished;case"stop":return()=>{t.animations.forEach(t=>l(t))};case"forEachNative":return r=>{t.animations.forEach(n=>r(n,t))};default:return void 0===(null==n?void 0:n[r])?void 0:()=>t.animations.forEach(t=>t[r]())}},set:(t,r,n)=>{switch(r){case"currentTime":n=o.ms(n);case"playbackRate":for(let i=0;i<t.animations.length;i++)t.animations[i][r]=n;return!0}return!1}},f=t=>t.finished,p=t=>"object"==typeof t&&!!t.createAnimation,m=t=>"number"==typeof t,g=t=>Array.isArray(t)&&!m(t[0]),y=(t,r,n)=>-n*t+n*r+t,v=(t,r,n)=>r-t==0?1:(n-t)/(r-t);function b(t,r){let n=t[t.length-1];for(let i=1;i<=r;i++){let o=v(0,r,i);t.push(y(n,1,o))}}let w=(t,r,n)=>{let i=r-t;return((n-t)%i+i)%i+t},_=(t,r,n)=>Math.min(Math.max(n,t),r),S=(t,r,n)=>(((1-3*n+3*r)*t+(3*n-6*r))*t+3*r)*t;function E(t,r,n,i){if(t===r&&n===i)return s;let o=r=>(function(t,r,n,i,o){let a,s;let l=0;do(a=S(s=r+(n-r)/2,i,o)-t)>0?n=s:r=s;while(Math.abs(a)>1e-7&&++l<12);return s})(r,0,1,t,n);return t=>0===t||1===t?t:S(o(t),r,i)}let A=(t,r="end")=>n=>{let i=(n="end"===r?Math.min(n,.999):Math.max(n,.001))*t;return _(0,1,("end"===r?Math.floor(i):Math.ceil(i))/t)},x=t=>"function"==typeof t,k=t=>Array.isArray(t)&&m(t[0]),O={ease:E(.25,.1,.25,1),"ease-in":E(.42,0,1,1),"ease-in-out":E(.42,0,.58,1),"ease-out":E(0,0,.58,1)},P=/\((.*?)\)/;function C(t){if(x(t))return t;if(k(t))return E(...t);let r=O[t];if(r)return r;if(t.startsWith("steps")){let r=P.exec(t);if(r){let t=r[1].split(",");return A(parseFloat(t[0]),t[1].trim())}}return s}class T{constructor(t,r=[0,1],{easing:n,duration:o=i.duration,delay:a=i.delay,endDelay:l=i.endDelay,repeat:u=i.repeat,offset:c,direction:d="normal",autoplay:h=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=s,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((t,r)=>{this.resolve=t,this.reject=r}),p(n=n||i.easing)){let t=n.createAnimation(r);n=t.easing,r=t.keyframes||r,o=t.duration||o}this.repeat=u,this.easing=g(n)?s:C(n),this.updateDuration(o);let f=function(t,r=function(t){let r=[0];return b(r,t-1),r}(t.length),n=s){let i=t.length,o=i-r.length;return o>0&&b(r,o),o=>{var a;let s=0;for(;s<i-2&&!(o<r[s+1]);s++);let l=_(0,1,v(r[s],r[s+1],o));return l=(a=s,g(n)?n[w(0,n.length,a)]:n)(l),y(t[s],t[s+1],l)}}(r,c,g(n)?n.map(C):s);this.tick=r=>{var n;let i=0;i=void 0!==this.pauseTime?this.pauseTime:(r-this.startTime)*this.rate,this.t=i,i/=1e3,i=Math.max(i-a,0),"finished"===this.playState&&void 0===this.pauseTime&&(i=this.totalDuration);let o=i/this.duration,s=Math.floor(o),u=o%1;!u&&o>=1&&(u=1),1===u&&s--;let c=s%2;("reverse"===d||"alternate"===d&&c||"alternate-reverse"===d&&!c)&&(u=1-u);let h=i>=this.totalDuration?1:Math.min(u,1),p=f(this.easing(h));t(p),void 0===this.pauseTime&&("finished"===this.playState||i>=this.totalDuration+l)?(this.playState="finished",null===(n=this.resolve)||void 0===n||n.call(this,p)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},h&&this.play()}play(){let t=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=t-this.pauseTime:this.startTime||(this.startTime=t),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var t;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(t=this.reject)||void 0===t||t.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(t){this.duration=t,this.totalDuration=t*(this.repeat+1)}get currentTime(){return this.t}set currentTime(t){void 0!==this.pauseTime||0===this.rate?this.pauseTime=t:this.startTime=performance.now()-t/this.rate}get playbackRate(){return this.rate}set playbackRate(t){this.rate=t}}var M=function(){};class R{setAnimation(t){this.animation=t,null==t||t.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}let I=new WeakMap;function N(t){return I.has(t)||I.set(t,{transforms:[],values:new Map}),I.get(t)}let D=["","X","Y","Z"],F={x:"translateX",y:"translateY",z:"translateZ"},L={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},$={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:L,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:s},skew:L},j=new Map,U=t=>`--motion-${t}`,B=["x","y","z"];["translate","scale","rotate","skew"].forEach(t=>{D.forEach(r=>{B.push(t+r),j.set(U(t+r),$[t])})});let z=(t,r)=>B.indexOf(t)-B.indexOf(r),H=new Set(B),q=t=>H.has(t),V=(t,r)=>{var n;F[r]&&(r=F[r]);let{transforms:i}=N(t);
4n=r,-1===i.indexOf(n)&&i.push(n),t.style.transform=G(i)},G=t=>t.sort(z).reduce(W,"").trim(),W=(t,r)=>`${t} ${r}(var(${U(r)}))`,K=t=>t.startsWith("--"),Y=new Set,Z=(t,r)=>document.createElement("div").animate(t,r),X={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{Z({opacity:[1]})}catch(t){return!1}return!0},finished:()=>!!Z({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{Z({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}},J={},Q={};for(let t in X)Q[t]=()=>(void 0===J[t]&&(J[t]=X[t]()),J[t]);let ee=(t,r)=>{let n="",i=Math.round(r/.015);for(let r=0;r<i;r++)n+=t(v(0,i-1,r))+", ";return n.substring(0,n.length-2)},et=(t,r)=>x(t)?Q.linearEasing()?`linear(${ee(t,r)})`:i.easing:k(t)?er(t):t,er=([t,r,n,i])=>`cubic-bezier(${t}, ${r}, ${n}, ${i})`,en=t=>Array.isArray(t)?t:[t];function ei(t){return F[t]&&(t=F[t]),q(t)?U(t):t}let eo={get:(t,r)=>{let n=K(r=ei(r))?t.style.getPropertyValue(r):getComputedStyle(t)[r];if(!n&&0!==n){let t=j.get(r);t&&(n=t.initialValue)}return n},set:(t,r,n)=>{K(r=ei(r))?t.style.setProperty(r,n):t.style[r]=n}},ea=t=>"string"==typeof t,es=(t,r)=>t[r]?Object.assign(Object.assign({},t),t[r]):Object.assign({},t),el=function(t,r,n={}){var u,d,h;"string"==typeof(u=t)?u=document.querySelectorAll(u):u instanceof Element&&(u=[u]);let f=(t=Array.from(u||[])).length;M(!!f,"No valid element provided."),M(!!r,"No keyframes defined.");let y=[];for(let u=0;u<f;u++){let c=t[u];for(let t in r){let v=es(n,t);v.delay=(d=v.delay,h=u,x(d)?d(h,f):d);let b=function(t,r,n,u={},c){var d;let h;let f=window.__MOTION_DEV_TOOLS_RECORD,y=!1!==u.record&&f,{duration:v=i.duration,delay:b=i.delay,endDelay:w=i.endDelay,repeat:_=i.repeat,easing:S=i.easing,persist:E=!1,direction:A,offset:k,allowWebkitAcceleration:O=!1,autoplay:P=!0}=u,C=N(t),T=q(r),M=Q.waapi();T&&V(t,r);let I=ei(r),D=((d=C.values).has(I)||d.set(I,new R),d.get(I)),F=j.get(I);return l(D.animation,!(p(S)&&D.generator)&&!1!==u.record),()=>{let i=()=>{var r,n;return null!==(n=null!==(r=eo.get(t,I))&&void 0!==r?r:null==F?void 0:F.initialValue)&&void 0!==n?n:0},l=function(t,r){for(let n=0;n<t.length;n++)null===t[n]&&(t[n]=n?t[n-1]:r());return t}(en(n),i),d=function(t,r){var n;let i=(null==r?void 0:r.toDefaultUnit)||s,o=t[t.length-1];if(ea(o)){let t=(null===(n=o.match(/(-?[\d.]+)([a-z%]*)/))||void 0===n?void 0:n[2])||"";t&&(i=r=>r+t)}return i}(l,F);if(p(S)){let t=S.createAnimation(l,"opacity"!==r,i,I,D);S=t.easing,l=t.keyframes||l,v=t.duration||v}if(K(I)&&(Q.cssRegisterProperty()?function(t){if(!Y.has(t)){Y.add(t);try{let{syntax:r,initialValue:n}=j.has(t)?j.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:r,initialValue:n})}catch(t){}}}(I):M=!1),T&&!Q.linearEasing()&&(x(S)||g(S)&&S.some(x))&&(M=!1),M){F&&(l=l.map(t=>m(t)?F.toDefaultUnit(t):t)),1===l.length&&(!Q.partialKeyframes()||y)&&l.unshift(i());let r={delay:o.ms(b),duration:o.ms(v),endDelay:o.ms(w),easing:g(S)?void 0:et(S,v),direction:A,iterations:_+1,fill:"both"};(h=t.animate({[I]:l,offset:k,easing:g(S)?S.map(t=>et(t,v)):void 0},r)).finished||(h.finished=new Promise((t,r)=>{h.onfinish=t,h.oncancel=r}));let n=l[l.length-1];h.finished.then(()=>{E||(eo.set(t,I,n),h.cancel())}).catch(a),O||(h.playbackRate=1.000001)}else if(c&&T)1===(l=l.map(t=>"string"==typeof t?parseFloat(t):t)).length&&l.unshift(parseFloat(i())),h=new c(r=>{eo.set(t,I,d?d(r):r)},l,Object.assign(Object.assign({},u),{duration:v,easing:S}));else{let r=l[l.length-1];eo.set(t,I,F&&m(r)?F.toDefaultUnit(r):r)}return y&&f(t,r,l,{duration:v,delay:b,easing:S,repeat:_,offset:k},"motion-one"),D.setAnimation(h),h&&!P&&h.pause(),h}}(c,t,r[t],v,T);y.push(b)}}return c(y,n,n.duration)};function eu(t,r,n){return(x(t)?function(t,r={}){return c([()=>{let n=new T(t,[0,1],r);return n.finished.catch(()=>{}),n}],r,r.duration)}:el)(t,r,n)}},35169:function(t){function r(t,r,n,i){return Math.round(t/n)+" "+i+(r>=1.5*n?"s":"")}t.exports=function(t,n){n=n||{};var i,o,a=typeof t;if("string"===a&&t.length>0)return function(t){if(!((t=String(t)).length>
4100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(r){var n=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===a&&isFinite(t))return n.long?(i=Math.abs(t))>=864e5?r(t,i,864e5,"day"):i>=36e5?r(t,i,36e5,"hour"):i>=6e4?r(t,i,6e4,"minute"):i>=1e3?r(t,i,1e3,"second"):t+" ms":(o=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":o>=36e5?Math.round(t/36e5)+"h":o>=6e4?Math.round(t/6e4)+"m":o>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},21691:function(t,r,n){var i=n(84291),o=n(24811),a=n(50645),s=n(40880);t.exports={isValidAddress:function(t,r,n={}){return function(t){var r=function(t){try{var r=a.decode(t);return i.decode(new Uint8Array(r).buffer)}catch(t){return null}}(t);if(!r||!Array.isArray(r)&&2!=r.length)return!1;var n=r[0],s=r[1];return"number"==typeof s&&o.crc32(n)==s}(t)||s.isValidAddress(t,r,n)}}},81335:function(t,r,n){let i=n(75327);t.exports={isValidAddress:function(t,r,n={}){let{networkType:i="prod"}=n;return this.verifyChecksum(t)},verifyChecksum:function(t){if(58!==t.length)return!1;{let r=i.base32.b32decode(t),n=r.slice(0,r.length-4),o=i.byteArray2hexStr(r.slice(-4)).toString("HEX");return i.sha512_256(i.byteArray2hexStr(n)).substr(-8)===o}}}},74294:function(t){t.exports={isValidAddress:function(t){return!!/^0x[0-9a-fA-F]{64}$/.test(t)}}},10478:function(t,r,n){let i=n(50645);t.exports={isValidAddress:function(t,r,n={}){try{if(!t||0==t.length||r.minLength&&t.length<r.minLength||r.maxLength&&t.length>r.maxLength)return!1;try{let r=i.decode(t);if(!r||!r.length)return!1}catch(t){return!1}return!0}catch(t){return!1}}}},68:function(t,r,n){var i=n(75327),o=n(73811),a=n(14504);t.exports={isValidAddress:function(t,r,n){return function(t,r,n){var a,s=n?n.networkType:"",l="bitcoincash",u=new RegExp(r.regexp),c=t.split(":");if(1===c.length)a=t;else{if("bitcoincash"!==c[0])return!1;a=c[1]}if(!u.test(a)||a.toLowerCase()!=a&&a.toUpperCase()!=a)return!1;var d=i.base32.b32decode(a);"testnet"===s&&(l="bchtest");try{if(o.verifyChecksum(l,d,o.encodings.BECH32))return!1}catch(t){return!1}return!0}(t,r,n)||a.isValidAddress(t,r,n)}}},40880:function(t,r,n){var i=n(73811);t.exports={isValidAddress:function(t,r,n={}){let o;let{networkType:a="prod"}=n,s=i.decode(t,i.encodings.BECH32);if(!s)return!1;let l=s.hrp;if("prod"===a||"testnet"===a)o=r.bech32Hrp[a];else{if(!r.bech32Hrp)return!1;o=r.bech32Hrp.prod.concat(r.bech32Hrp.testnet)}return -1!==o.indexOf(l)}}},14504:function(t,r,n){var i=n(82957).Buffer,o=n(50645),a=n(25796),s=n(75327);t.exports={isValidAddress:function(t,r,n={}){return function(t,r,n){let{networkType:a="prod"}=n;var l,u=function(t,r){var n=(r=r||{}).expectedLength||25,a=r.hashFunction||"sha256",l=function(t){try{return o.decode(t)}catch(t){return null}}(t);if(l){var u=l.length;return u!==n?null:(!r.regex||!!r.regex.test(t))&&(s.toHex(l.slice(u-4,u))===function(t,r){switch(t){case"blake256keccak256":var n=s.blake2b256(r);return s.keccak256Checksum(i.from(n,"hex"));case"blake256":return s.blake256Checksum(r);case"keccak256":return s.keccak256Checksum(r);default:return s.sha256Checksum(r)}}(a,s.toHex(l.slice(0,u-4)))?s.toHex(l.slice(0,n-24)):null)}return null}(t,r);if(u){if("prod"===a||"testnet"===a)l=r.addressTypes[a];else{if(!r.addressTypes)return!1;l=r.addressTypes.prod.concat(r.addressTypes.testnet)}return l.indexOf(u)>=0}return!1}(t,r,n)||a.isValidAddress(t,r,n)}}},18798:function(t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";t.exports={b32decode:function(t){for(var n=new Uint8Array(new ArrayBuffer(5*t.length/8)),i=0;i<t.length/8;i++){for(var o=[0,0,0,0,0,0,0,0],a=0;a<8;++a)o[a]=r.indexOf(t[8*i+a]);var a=0;n[5*i+0]=o[a+0]<<3|o[a+1]>>2,n[5*i+1]=(3&o[a+1])<<6|o[a+2]<<1|o[a+3]>>4,n[5*i+2]=(15&o[a+3])<<4|o[a+4]>>1,n[5*i+3]=(1&o[a+4])<<7|o[a+5]<<2|o[a+6]>>3,n[5*i+4]=(7&o[a+6])<<5|o[a+7]}return n},b32encode:function(t){var n=[],i=Math.floor(t.length/5),o=t.length%
45;if(0!=o){for(var a=0;a<5-o;a++)t+="\0";i+=1}for(var a=0;a<i;a++)n.push(r.charAt(t.charCodeAt(5*a)>>3)),n.push(r.charAt((7&t.charCodeAt(5*a))<<2|t.charCodeAt(5*a+1)>>6)),n.push(r.charAt((63&t.charCodeAt(5*a+1))>>1)),n.push(r.charAt((1&t.charCodeAt(5*a+1))<<4|t.charCodeAt(5*a+2)>>4)),n.push(r.charAt((15&t.charCodeAt(5*a+2))<<1|t.charCodeAt(5*a+3)>>7)),n.push(r.charAt((127&t.charCodeAt(5*a+3))>>2)),n.push(r.charAt((3&t.charCodeAt(5*a+3))<<3|t.charCodeAt(5*a+4)>>5)),n.push(r.charAt(31&t.charCodeAt(5*a+4)));var s=0;1==o?s=6:2==o?s=4:3==o?s=3:4==o&&(s=1);for(var a=0;a<s;a++)n.pop();for(var a=0;a<s;a++)n.push("=");return n.join("")}}},50645:function(t){for(var r="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",n={},i=0;i<r.length;++i)n[r.charAt(i)]=i;var o=r.length;t.exports={decode:function(t){if(0===t.length)return[];var r,i,a=[0];for(r=0;r<t.length;++r){var s=t[r];if(!(s in n))throw Error("Non-base58 character");for(i=0;i<a.length;++i)a[i]*=o;a[0]+=n[s];var l=0;for(i=0;i<a.length;++i)a[i]+=l,l=a[i]>>8,a[i]&=255;for(;l;)a.push(255&l),l>>=8}for(r=0;"1"===t[r]&&r<t.length-1;++r)a.push(0);return a.reverse()}}},73811:function(t){var r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",n=[996825010,642813549,513874426,1027748829,705979059];let i={BECH32:"bech32",BECH32M:"bech32m"};function o(t){return t==i.BECH32?1:t==i.BECH32M?734539939:null}function a(t){for(var r=1,i=0;i<t.length;++i){var o=r>>25;r=(33554431&r)<<5^t[i];for(var a=0;a<5;++a)o>>a&1&&(r^=n[a])}return r}function s(t){var r,n=[];for(r=0;r<t.length;++r)n.push(t.charCodeAt(r)>>5);for(n.push(0),r=0;r<t.length;++r)n.push(31&t.charCodeAt(r));return n}function l(t,r,n){return a(s(t).concat(r))===o(n)}t.exports={decode:function(t,n){var i,o=!1,a=!1;for(i=0;i<t.length;++i){if(33>t.charCodeAt(i)||t.charCodeAt(i)>126)return null;t.charCodeAt(i)>=97&&122>=t.charCodeAt(i)&&(o=!0),t.charCodeAt(i)>=65&&90>=t.charCodeAt(i)&&(a=!0)}if(o&&a)return null;var s=(t=t.toLowerCase()).lastIndexOf("1");if(s<1||s+7>t.length||t.length>110)return null;var u=t.substring(0,s),c=[];for(i=s+1;i<t.length;++i){var d=r.indexOf(t.charAt(i));if(-1===d)return null;c.push(d)}return l(u,c,n)?{hrp:u,data:c.slice(0,c.length-6)}:null},encode:function(t,n,i){for(var l=n.concat(function(t,r,n){for(var i=a(s(t).concat(r).concat([0,0,0,0,0,0]))^o(n),l=[],u=0;u<6;++u)l.push(i>>5*(5-u)&31);return l}(t,n,i)),u=t+"1",c=0;c<l.length;++c)u+=r.charAt(l[c]);return u},encodings:i,verifyChecksum:l}},77218:function(t,r){!function(t){"use strict";var r={};function n(t,o,a){if(a!==r)return t instanceof n?t:void 0===t?i:n.parse(t);for(t=t||[];t.length&&!t[t.length-1];)--t.length;this._d=t,this._s=t.length?o||1:0}n._construct=function(t,i){return new n(t,i,r)},n.base=1e7,n.base_log10=7;var i=new n([],0,r);n.ZERO=i;var o=new n([1],1,r);n.ONE=o;var a=new n(o._d,-1,r);n.M_ONE=a,n._0=i,n._1=o,n.small=[i,o,new n([2],1,r),new n([3],1,r),new n([4],1,r),new n([5],1,r),new n([6],1,r),new n([7],1,r),new n([8],1,r),new n([9],1,r),new n([10],1,r),new n([11],1,r),new n([12],1,r),new n([13],1,r),new n([14],1,r),new n([15],1,r),new n([16],1,r),new n([17],1,r),new n([18],1,r),new n([19],1,r),new n([20],1,r),new n([21],1,r),new n([22],1,r),new n([23],1,r),new n([24],1,r),new n([25],1,r),new n([26],1,r),new n([27],1,r),new n([28],1,r),new n([29],1,r),new n([30],1,r),new n([31],1,r),new n([32],1,r),new n([33],1,r),new n([34],1,r),new n([35],1,r),new n([36],1,r)],n.digits="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),n.prototype.toString=function(t){if((t=+t||10)<2||t>36)throw Error("illegal radix "+t+".");if(0===this._s)return"0";if(10===t){var r=this._s<0?"-":"";r+=this._d[this._d.length-1].toString();for(var i=this._d.length-2;i>=0;i--){for(var o=this._d[i].toString();o.length<7;)o="0"+o;r+=o}return r}var a,s=n.digits;t=n.small[t];for(var l=this._s,u=this.abs(),c=[];0!==u._s;){var d=u.divRem(t);u=d[0],a=d[1],c.push(s[a.valueOf()])}return(l<0?"-":"")+c.reverse().join("")},n.radixRegex=[/^$/,/^$/,/^[01]*$/,/^[012]*$/,/^[0-3]*$/,/^[0-4]*$/,/^[0-5]*$/,/^[0-6]*$/,/^[0-7]*$/,/^[0-8]*$/,/^[0-9]*$/,/^[0-9aA]*$/,/^[0-9abAB]*$/,/^[0-9abcABC]*$/,/^[0-9a-dA-D]*$/,/^[0-9a-eA-E]*$/,/^[0-9a-fA-F]*$/,/^[0-9a-gA-G]*$/,/^[0-9a-hA-H]*$/,/^[0-9a-iA-I]*$/,/^[0-9a-jA-J]*$/,/^[0-9a-kA-K]*$/,/^[0-9a-lA-L]*$/,/^[0-9a-mA-M]*$/,/^[0-9a-nA-N]*$/,/^[0-9a-oA-O]*$/,/^[0-9a-pA-P]*$/,/^[0-9a-qA-Q]*$/,/^[0-9a-rA-R]*$/,/^[0-9a-sA-S]*$/,/^[0-9a-tA-T]*$/,/^[0-9a-uA-U]*$/,/^[0-9a-vA-V]*$/,/^[0-9a-wA-W]*$/,/^[0-9a-xA-X]*$/,/^[0-9a-yA-Y]*$/,/^[0-9a-zA-Z]*$/],n.parse=function(t,o){t=t.toString(),(void 0===o||10==+o)&&(t=t.replace(/\s*[*xX]\s*10\s*(\^|\*\*)\s*/,"e").replace(/^([+\-])?(\d+)\.?(\d*)[eE]([+\-]?\d+)$/,function(t,r,n,i,o){var a=(o=+o)<0,s=n.length+o;t=(a?n:i).length;var l=Array((o=(o=Math.abs(o))>=t?o-t+a:0)+1).join("0"),u=n+i;return(r||"")+(a?u=l+u:u+=l).substr(0,s+=a?l.length:0)+(s<u.length?"."+u.substr(s):"")}));var a=RegExp("^([+\\-]?)("+(void 0===o?"0[xcb]":16==o?"0x":8==o?"0c":2==o?"0b":"")+")?([0-9a-z]*)(?:\\.\\d*)?$","i").exec(t);if(a){var s=a[1]||"+",l=a[2]||"",u=a[3]||"";if(void 0===o)o="0x"===l||"0X"===l?16:"0c"===l||"0C"===l?8:"0b"===l||"0B"===l?2:10;else if(o<2||o>36)throw Error("Illegal radix "+o+".");if(o=+o,!n.radixRegex[o].test(u))throw Error("Bad digit for radix "+o);if(0===(u=u.replace(/^0+/,"").split("")).length)return i;if(s="-"===s?-1:1,10==o){for(var c=[];u.length>=7;)c.push(parseInt(u.splice(u.length-n.base_log10,n.base_log10).join(""),10));return c.push(parseInt(u.join(""),10)),new n(c,s,r)}var c=i;o=n.small[o];for(var d=n.small,h=0;h<u.length;h++)c=c.multiply(o).add(d[parseInt(u[h],36)]);return new n(c._d,s,r)}throw Error("Invalid BigInteger format: "+t)},n.prototype.add=function(t){if(0===this._s)return n(t);if(0===(t=n(t))._s)return this;if(this._s!==t._s)return t=t.negate(),this.subtract(t);for(var i,o=this._d,a=t._d,s=o.length,l=a.length,u=Array(Math.max(s,l)+1),c=Math.min(s,l),d=0,h=0;h<c;h++)i=o[h]+a[h]+d,u[h]=i%1e7,d=i/1e7|0;for(l>s&&(o=a,s=l),h=c;d&&h<s;h++)i=o[h]+d,u[h]=i%1e7,d=i/1e7|0;for(d&&(u[h]=d);h<s;h++)u[h]=o[h];return new n(u,this._s,r)},n.prototype.negate=function(){return new n(this._d,0|-this._s,r)},n.prototype.abs=function(){return this._s<0?this.negate():this},n.prototype.subtract=function(t){if(0===this._s)return n(t).negate();if(0===(t=n(t))._s)return this;if(this._s!==t._s)return t=t.negate(),this.add(t);var o,a,s=this;this._s<0&&(s=new n(t._d,1,r),t=new n(this._d,1,r));var l=s.compareAbs(t);if(0===l)return i;if(l<0){var u=t;t=s,s=u}var c=s._d,d=t._d,h=c.length,f=d.length,p=Array(h),m=0;for(o=0;o<f;o++)(a=c[o]-m-d[o])<0?(a+=1e7,m=1):m=0,p[o]=a;for(o=f;o<h;o++){if((a=c[o]-m)<0)a+=1e7;else{p[o++]=a;break}p[o]=a}for(;o<h;o++)p[o]=c[o];return new n(p,l,r)},function(){function t(t,i){for(var o=t._d,a=o.slice(),s=0;;){var l=(o[s]||0)+1;if(a[s]=l%1e7,l<=9999999)break;++s}return new n(a,i,r)}function i(t,i){for(var o=t._d,a=o.slice(),s=0;;){var l=(o[s]||0)-1;if(l<0)a[s]=l+1e7;else{a[s]=l;break}++s}return new n(a,i,r)}n.prototype.next=function(){switch(this._s){case 0:return o;case -1:return i(this,-1);default:return t(this,1)}},n.prototype.prev=function(){switch(this._s){case 0:return a;case -1:return t(this,-1);default:return i(this,1)}}}(),n.prototype.compareAbs=function(t){if(this===t)return 0;if(!(t instanceof n)){if(!isFinite(t))return isNaN(t)?t:-1;t=n(t)}if(0===this._s)return 0!==t._s?-1:0;if(0===t._s)return 1;var r=this._d.length,i=t._d.length;if(r<i)return -1;if(r>i)return 1;for(var o=this._d,a=t._d,s=r-1;s>=0;s--)if(o[s]!==a[s])return o[s]<a[s]?-1:1;return 0},n.prototype.compare=function(t){return this===t?0:(t=n(t),0===this._s)?-t._s:this._s===t._s?this.compareAbs(t)*this._s:this._s},n.prototype.isUnit=function(){return this===o||this===a||1===this._d.length&&1===this._d[0]},n.prototype.multiply=function(t){if(0===this._s||0===(t=n(t))._s)return i;if(this.isUnit())return this._s<0?t.negate():t;if(t.isUnit())return t._s<0?this.negate():this;if(this===t)return this.square();var o=this._d.length>=t._d.length,a=(o?this:t)._d,s=(o?t:this)._d,l=a.length,u=s.length,c=l+u,d=Array(c);for(h=0;h<c;h++)d[h]=0;for(h=0;h<u;h++){for(var h,f,p=0,m=s[h],g=l+h,y=h;y<g;y++)p=(f=d[y]+m*a[y-h]+p)/1e7|0,d[y]=f%1e7|0;p&&(p=(f=d[y]+p)/1e7|0,d[y]=f%1e7)}return new n(d,this._s*t._s,r)},n.prototype.multiplySingleDigit=function(t){if(0===t||0===this._s)return i;if(1===t)return this;if(1===this._d.length)return(o=this._d[0]*t)>=1e7?new n([o%1e7|0,o/1e7|0],1,r):new n([o],1,r);if(2===t)return this.add(this);if(this.isUnit())return new n([t],1,r);for(var o,a=this._d,s=a.length,l=s+1,u=Array(l),c=0;c<l;c++)u[c]=0;for(var d=0,h=0;h<s;h++)d=(o=t*a[h]+d)/1e7|0,u[h]=o%1e7|0;return d&&(u[h]=d),new n(u,1,r)},n.prototype.square=function(){if(0===this._s)return i;if(this.isUnit())return o;var t,a,s,l,u=this._d,c=u.length,d=Array(c+c+1);for(l=0;l<c;l++)s=2*l,a=(t=u[l]*u[l])/1e7|0,d[s]=t%1e7,d[s+1]=a;for(l=0;l<c;l++){a=0,s=2*l+1;for(var h=l+1;h<c;h++,s++)a=(t=u[h]*u[l]*2+d[s]+a)/1e7|0,d[s]=t%1e7;var f=a+d[s=c+l];a=f/1e7|0,d[s]=f%1e7,d[s+1]+=a}return new n(d,1,r)},n.prototype.quotient=function(t){return this.divRem(t)[0]},n.prototype.divide=n.prototype.quotient,n.prototype.remainder=function(t){return this.divRem(t)[1]},n.prototype.divRem=function(t){if(0===(t=n(t))._s)throw Error("Divide by zero");if(0===this._s)return[i,i];if(1===t._d.length)return this.divRemSmall(t._s*t._d[0]);switch(this.compareAbs(t)){case 0:return[this._s===t._s?o:a,i];case -1:return[i,this]}var s,l=this._s*t._s,u=t.abs(),c=this._d,d=c.length;t._d.length;for(var h=[],f=new n([],0,r);d;){if(f._d.unshift(c[--d]),0>(f=new n(f._d,1,r)).compareAbs(t)){h.push(0);continue}if(0===f._s)s=0;else{var p=f._d.length,m=u._d.length,g=1e7*f._d[p-1]+f._d[p-2],y=1e7*u._d[m-1]+u._d[m-2];f._d.length>u._d.length&&(g=(g+1)*1e7),s=Math.ceil(g/y)}do{var v=u.multiplySingleDigit(s);if(0>=v.compareAbs(f))break;s--}while(s);if(h.push(s),s){var b=f.subtract(v);f._d=b._d.slice()}}return[new n(h.reverse(),l,r),new n(f._d,this._s,r)]},n.prototype.divRemSmall=function(t){if(0==(t=+t))throw Error("Divide by zero");var o,a,s=t<0?-1:1,l=this._s*s;if((t=Math.abs(t))<1||t>=1e7)throw Error("Argument out of range");if(0===this._s)return[i,i];if(1===t||-1===t)return[1===l?this.abs():new n(this._d,l,r),i];if(1===this._d.length){var u=new n([this._d[0]/t|0],1,r);return o=new n([this._d[0]%t|0],1,r),l<0&&(u=u.negate()),this._s<0&&(o=o.negate()),[u,o]}for(var c=this._d.slice(),d=Array(c.length),h=0,f=0,p=0;c.length;){if((h=1e7*h+c[c.length-1])<t){d[p++]=0,c.pop(),f=1e7*f+h;continue}if(a=0===h?0:h/t|0,f=h-t*a,d[p++]=a,!a){c.pop();continue}c.pop(),h=f}return o=new n([f],1,r),this._s<0&&(o=o.negate()),[new n(d.reverse(),l,r),o]},n.prototype.isEven=function(){var t=this._d;return 0===this._s||0===t.length||t[0]%2==0},n.prototype.isOdd=function(){return!this.isEven()},n.prototype.sign=function(){return this._s},n.prototype.isPositive=function(){return this._s>0},n.prototype.isNegative=function(){return this._s<0},n.prototype.isZero=function(){return 0===this._s},n.prototype.exp10=function(t){if(0==(t=+t))return this;if(Math.abs(t)>Number(s))throw Error("exponent too large in BigInteger.exp10");if(0===this._s)return i;if(t>0){for(var o=new n(this._d.slice(),this._s,r);t>=7;t-=7)o._d.unshift(0);return 0==t?o:(o._s=1,o=o.multiplySingleDigit(Math.pow(10,t)),this._s<0?o.negate():o)}if(-t>=7*this._d.length)return i;var o=new n(this._d.slice(),this._s,r);for(t=-t;t>=7;t-=7)o._d.shift();return 0==t?o:o.divRemSmall(Math.pow(10,t))[0]},n.prototype.pow=function(t){if(this.isUnit())return this._s>0?this:n(t).isOdd()?this:this.negate();if(0===(t=n(t))._s)return o;if(t._s<0){if(0!==this._s)return i;throw Error("Divide by zero")}if(0===this._s)return i;if(t.isUnit())return this;if(t.compareAbs(s)>0)throw Error("exponent too large in BigInteger.pow");for(var r=this,a=o,l=n.small[2];t.isPositive()&&!(t.isOdd()&&(a=a.multiply(r),t.isUnit()));)r=r.square(),t=t.quotient(l);return a},n.prototype.modPow=function(t,r){for(var i=o,a=this;t.isPositive();)t.isOdd()&&(i=i.multiply(a).remainder(r)),(t=t.quotient(n.small[2])).isPositive()&&(a=a.square().remainder(r));return i},n.prototype.log=function(){switch(this._s){case 0:return-1/0;case -1:return NaN}var t=this._d.length;if(7*t<30)return Math.log(this.valueOf());
4var i=Math.ceil(4.285714285714286);return Math.log(new n(this._d.slice(t-i),1,r).valueOf())+(t-i)*Math.log(1e7)},n.prototype.valueOf=function(){return parseInt(this.toString(),10)},n.prototype.toJSValue=function(){return parseInt(this.toString(),10)},n.prototype.lowVal=function(){return this._d[0]||0};var s=n(2147483647);n.MAX_EXP=s,function(){var t,r,i="toJSValue,isEven,isOdd,sign,isZero,isNegative,abs,isUnit,square,negate,isPositive,toString,next,prev,log".split(","),o="compare,remainder,divRem,subtract,add,quotient,divide,multiply,pow,compareAbs".split(","),a=["modPow"];for(t=0;t<i.length;t++)n[r=i[t]]=function(t){return function(r){return t.call(n(r))}}(n.prototype[r]);for(t=0;t<o.length;t++)n[r=o[t]]=function(t){return function(r,i){return t.call(n(r),n(i))}}(n.prototype[r]);for(t=0;t<a.length;t++)n[r=a[t]]=function(t){return function(r,i,o){return t.call(n(r),n(i),n(o))}}(n.prototype[r]);n.exp10=function(t,r){return n(t).exp10(r)}}(),t.JSBigInt=n}(r)},9279:function(t,r,n){"use strict";var i=n(82957).Buffer;n.g.Buffer||(n.g.Buffer=n(82957).Buffer),u.sigma=[[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],[14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],[11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4],[7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8],[9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13],[2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9],[12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11],[13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10],[6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5],[10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0],[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],[14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],[11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4],[7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8],[9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13],[2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]],u.u256=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479],u.padding=i.from([128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),u.prototype._length_carry=function(t){for(var r=0;r<t.length&&!(t[r]<4294967296);++r)t[r]-=4294967296,t[r+1]+=1},u.prototype.update=function(t,r){t=i.from(t,r);for(var n=this._block,o=0;this._blockOffset+t.length-o>=n.length;){for(var a=this._blockOffset;a<n.length;)n[a++]=t[o++];this._length[0]+=8*n.length,this._length_carry(this._length),this._compress(),this._blockOffset=0}for(;o<t.length;)n[this._blockOffset++]=t[o++];return this};var o=i.from([1]),a=i.from([129]);function s(t,r){return(t<<32-r|t>>>r)>>>0}function l(t,r,n,i,o,a,l,c){var d=u.sigma,h=u.u256;t[i]=t[i]+((r[d[n][c]]^h[d[n][c+1]])>>>0)+t[o]>>>0,t[l]=s(t[l]^t[i],16),t[a]=t[a]+t[l]>>>0,t[o]=s(t[o]^t[a],12),t[i]=t[i]+((r[d[n][c+1]]^h[d[n][c]])>>>0)+t[o]>>>0,t[l]=s(t[l]^t[i],8),t[a]=t[a]+t[l]>>>0,t[o]=s(t[o]^t[a],7)}function u(){this._h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this._s=[0,0,0,0],this._block=i.allocUnsafe(64),this._blockOffset=0,this._length=[0,0],this._nullt=!1,this._zo=o,this._oo=a}u.prototype._compress=function(){var t,r=u.u256,n=Array(16),i=Array(16);for(t=0;t<16;++t)i[t]=this._block.readUInt32BE(4*t);for(t=0;t<8;++t)n[t]=this._h[t]>>>0;for(t=8;t<12;++t)n[t]=(this._s[t-8]^r[t-8])>>>0;for(t=12;t<16;++t)n[t]=r[t-8];for(this._nullt||(n[12]=(n[12]^this._length[0])>>>0,n[13]=(n[13]^this._length[0])>>>0,n[14]=(n[14]^this._length[1])>>>0,n[15]=(n[15]^this._length[1])>>>0),t=0;t<14;++t)l(n,i,t,0,4,8,12,0),l(n,i,t,1,5,9,13,2),l(n,i,t,2,6,10,14,4),l(n,i,t,3,7,11,15,6),l(n,i,t,0,5,10,15,8),l(n,i,t,1,6,11,12,10),l(n,i,t,2,7,8,13,12),l(n,i,t,3,4,9,14,14);for(t=0;t<16;++t)this._h[t%8]=(this._h[t%8]^n[t])>>>0;for(t=0;t<8;++t)this._h[t]=(this._h[t]^this._s[t%4])>>>0},u.prototype._padding=function(){var t=this._length[0]+8*this._blockOffset,r=this._length[1];t>=4294967296&&(t-=4294967296,r+=1);var n=i.allocUnsafe(8);n.writeUInt32BE(r,0),n.writeUInt32BE(t,4),55===this._blockOffset?(this._length[0]-=8,this.update(this._oo)):(this._blockOffset<55?(0===this._blockOffset&&(this._nullt=!0),this._length[0]-=(55-this._blockOffset)*8,this.update(u.padding.slice(0,55-this._blockOffset))):(this._length[0]-=(64-this._blockOffset)*8,this.update(u.padding.slice(0,64-this._blockOffset)),this._length[0]-=440,this.update(u.padding.slice(1,56)),this._nullt=!0),this.update(this._zo),this._length[0]-=8),this._length[0]-=64,this.update(n)},u.prototype.digest=function(t){this._padding();for(var r=i.allocUnsafe(32),n=0;n<8;++n)r.writeUInt32BE(this._h[n],4*n);return r.toString(t)},t.exports=u},18777:function(t){"use strict";function r(t,r,n){var i=t[r]+t[n],o=t[r+1]+t[n+1];i>=4294967296&&o++,t[r]=i,t[r+1]=o}function n(t,r,n,i){var o=t[r]+n;n<0&&(o+=4294967296);var a=t[r+1]+i;o>=4294967296&&a++,t[r]=o,t[r+1]=a}function i(t,r){return t[r]^t[r+1]<<8^t[r+2]<<16^t[r+3]<<24}function o(t,i,o,a,s,c){var d=u[s],h=u[s+1],f=u[c],p=u[c+1];r(l,t,i),n(l,t,d,h);var m=l[a]^l[t],g=l[a+1]^l[t+1];l[a]=g,l[a+1]=m,r(l,o,a),m=l[i]^l[o],g=l[i+1]^l[o+1],l[i]=m>>>24^g<<8,l[i+1]=g>>>24^m<<8,r(l,t,i),n(l,t,f,p),m=l[a]^l[t],g=l[a+1]^l[t+1],l[a]=m>>>16^g<<16,l[a+1]=g>>>16^m<<16,r(l,o,a),m=l[i]^l[o],g=l[i+1]^l[o+1],l[i]=g>>>
431^m<<1,l[i+1]=m>>>31^g<<1}var a=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),s=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map(function(t){return 2*t})),l=new Uint32Array(32),u=new Uint32Array(32);function c(t,r){var n=0;for(n=0;n<16;n++)l[n]=t.h[n],l[n+16]=a[n];for(l[24]=l[24]^t.t,l[25]=l[25]^t.t/4294967296,r&&(l[28]=~l[28],l[29]=~l[29]),n=0;n<32;n++)u[n]=i(t.b,4*n);for(n=0;n<12;n++)o(0,8,16,24,s[16*n+0],s[16*n+1]),o(2,10,18,26,s[16*n+2],s[16*n+3]),o(4,12,20,28,s[16*n+4],s[16*n+5]),o(6,14,22,30,s[16*n+6],s[16*n+7]),o(0,10,20,30,s[16*n+8],s[16*n+9]),o(2,12,22,24,s[16*n+10],s[16*n+11]),o(4,14,16,26,s[16*n+12],s[16*n+13]),o(6,8,18,28,s[16*n+14],s[16*n+15]);for(n=0;n<16;n++)t.h[n]=t.h[n]^l[n]^l[n+16]}var d=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function h(t,r,n,o){d.fill(0),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.outlen=t,d[0]=t,r&&(d[1]=r.length),d[2]=1,d[3]=1,n&&d.set(n,32),o&&d.set(o,48);for(var s=0;s<16;s++)this.h[s]=a[s]^i(d,4*s);r&&(f(this,r),this.c=128)}function f(t,r){for(var n=0;n<r.length;n++)128===t.c&&(t.t+=t.c,c(t,!1),t.c=0),t.b[t.c++]=r[n]}h.prototype.update=function(t){return f(this,t),this},h.prototype.digest=function(t){var r=t&&"binary"!==t&&"hex"!==t?t:new Uint8Array(this.outlen);return(function(t,r){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;c(t,!0);for(var n=0;n<t.outlen;n++)r[n]=t.h[n>>2]>>8*(3&n)}(this,r),"hex"===t)?function(t){for(var r,n="",i=0;i<t.length;i++)n+=(r=t[i])<16?"0"+r.toString(16):r.toString(16);return n}(r):r},h.prototype.final=h.prototype.digest,t.exports=h},78629:function(t,r,n){var i=n(77218).JSBigInt,o=function(){for(var t={},r="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",n=[],o=0;o<r.length;o++)n.push(r.charCodeAt(o));var a=[0,2,3,5,6,7,9,10,11],s=n.length,l=new i(2).pow(64);return t.encode_block=function(t,r,o){if(t.length<1||t.length>11)throw"Invalid block length: "+t.length;for(var l=function(t){if(t.length<1||t.length>8)throw"Invalid input length";var r=i.ZERO,n=new i(2).pow(8),o=0;switch(9-t.length){case 1:r=r.add(t[o++]);case 2:r=r.multiply(n).add(t[o++]);case 3:r=r.multiply(n).add(t[o++]);case 4:r=r.multiply(n).add(t[o++]);case 5:r=r.multiply(n).add(t[o++]);case 6:r=r.multiply(n).add(t[o++]);case 7:r=r.multiply(n).add(t[o++]);case 8:r=r.multiply(n).add(t[o++]);break;default:throw"Impossible condition"}return r}(t),u=a[t.length]-1;1===l.compare(0);){var c=l.divRem(s),d=c[1];l=c[0],r[o+u]=n[d.toJSValue()],u--}return r},t.encode=function(r){var i,o=function(t){if(t.length%2!=0)throw"Hex string has invalid length!";for(var r=new Uint8Array(t.length/2),n=0;n<t.length/2;++n)r[n]=parseInt(t.slice(2*n,2*n+2),16);return r}(r);if(0===o.length)return"";var s=Math.floor(o.length/8),l=o.length%8,u=11*s+a[l],c=new Uint8Array(u);for(i=0;i<u;++i)c[i]=n[0];for(i=0;i<s;i++)c=t.encode_block(o.subarray(8*i,8*i+8),c,11*i);return l>0&&(c=t.encode_block(o.subarray(8*s,8*s+l),c,11*s)),function(t){for(var r=[],n=0;n<t.length;n++)r.push(String.fromCharCode(t[n]));return r.join("")}(c)},t.decode_block=function(t,r,o){if(t.length<1||t.length>11)throw"Invalid block length: "+t.length;var u=a.indexOf(t.length);if(u<=0)throw"Invalid block size";for(var c=new i(0),d=new i(1),h=t.length-1;h>=0;h--){var f=n.indexOf(t[h]);if(f<0)throw"Invalid symbol";var p=d.multiply(f).add(c);if(1===p.compare(l))throw"Overflow";c=p,d=d.multiply(s)}if(u<8&&0>=new i(2).pow(8*u).compare(c))throw"Overflow 2";return r.set(function(t,r){var n=new Uint8Array(r);if(r<1||r>8)throw"Invalid input length";for(var o=new i(2).pow(8),a=r-1;a>=0;a--)n[a]=t.remainder(o).toJSValue(),t=t.divide(o);return n}(c,u),o),r}
4,t.decode=function(r){if(0===(r=function(t){for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}(r)).length)return"";var n=Math.floor(r.length/11),i=r.length%11,o=a.indexOf(i);if(o<0)throw"Invalid encoded length";for(var s=new Uint8Array(8*n+o),l=0;l<n;l++)s=t.decode_block(r.subarray(11*l,11*l+11),s,8*l);return i>0&&(s=t.decode_block(r.subarray(11*n,11*n+i),s,8*n)),function(t){for(var r=[],n=0;n<t.length;++n)r.push(("0"+t[n].toString(16)).slice(-2));return r.join("")}(s)},t}();t.exports=o},25796:function(t,r,n){var i=n(73811);function o(t,r,n,i){for(var o=0,a=0,s=[],l=(1<<n)-1,u=0;u<t.length;++u){var c=t[u];if(c<0||c>>r!=0)return null;for(o=o<<r|c,a+=r;a>=n;)a-=n,s.push(o>>a&l)}if(i)a>0&&s.push(o<<n-a&l);else if(a>=r||o<<n-a&l)return null;return s}function a(t,r){var n=!1,a=i.decode(r,i.encodings.BECH32);if(null===a&&(a=i.decode(r,i.encodings.BECH32M),n=!0),null===a||a.hrp!==t||a.data.length<1||a.data[0]>16)return null;var s=o(a.data.slice(1),5,8,!1);return null===s||s.length<2||s.length>40||0===a.data[0]&&20!==s.length&&32!==s.length||0===a.data[0]&&n||0!==a.data[0]&&!n?null:{version:a.data[0],program:s}}function s(t,r,n){var s=i.encodings.BECH32;r>0&&(s=i.encodings.BECH32M);var l=i.encode(t,[r].concat(o(n,8,5,!0)),s);return null===a(t,l,s)?null:l}t.exports={encode:s,decode:a,isValidAddress:function(t,r,n={}){if(!r.bech32Hrp||0===r.bech32Hrp.length)return!1;let{networkType:i="prod"}=n;if("prod"===i||"testnet"===i)l=r.bech32Hrp[i];else{if(!r.bech32Hrp)return!1;l=r.bech32Hrp.prod.concat(r.bech32Hrp.testnet)}for(var o of l){var l,u=a(o,t);if(u)return s(o,u.version,u.program)===t.toLowerCase()}return!1}}},2713:function(t,r,n){"use strict";var i=n(40257),o="input is invalid type",a="object"==typeof window,s=a?window:{};s.JS_SHA3_NO_WINDOW&&(a=!1);var l=!a&&"object"==typeof self;!s.JS_SHA3_NO_NODE_JS&&"object"==typeof i&&i.versions&&i.versions.node?s=n.g:l&&(s=self);var u=!s.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,c="0123456789abcdef".split(""),d=[4,1024,262144,67108864],h=[0,8,16,24],f=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=[224,256,384,512],m=[128,256],g=["hex","buffer","arrayBuffer","array","digest"],y={128:168,256:136};(s.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),u&&(s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var v=function(t,r,n){return function(i){return new I(t,r,t).update(i)[n]()}},b=function(t,r,n){return function(i,o){return new I(t,r,o).update(i)[n]()}},w=function(t,r,n){return function(r,i,o,a){return x["cshake"+t].update(r,i,o,a)[n]()}},_=function(t,r,n){return function(r,i,o,a){return x["kmac"+t].update(r,i,o,a)[n]()}},S=function(t,r,n,i){for(var o=0;o<g.length;++o){var a=g[o];t[a]=r(n,i,a)}return t},E=function(t,r){var n=v(t,r,"hex");return n.create=function(){return new I(t,r,t)},n.update=function(t){return n.create().update(t)},S(n,v,t,r)},A=[{name:"keccak",padding:[1,256,65536,16777216],bits:p,createMethod:E},{name:"sha3",padding:[6,1536,393216,100663296],bits:p,createMethod:E},{name:"shake",padding:[31,7936,2031616,520093696],bits:m,createMethod:function(t,r){var n=b(t,r,"hex");return n.create=function(n){return new I(t,r,n)},n.update=function(t,r){return n.create(r).update(t)},S(n,b,t,r)}},{name:"cshake",padding:d,bits:m,createMethod:function(t,r){var n=y[t],i=w(t,r,"hex");return i.create=function(i,o,a){return o||a?new I(t,r,i).bytepad([o,a],n):x["shake"+t].create(i)},i.update=function(t,r,n,o){return i.create(r,n,o).update(t)},S(i,w,t,r)}},{name:"kmac",padding:d,bits:m,createMethod:function(t,r){var n=y[t],i=_(t,r,"hex");return i.create=function(i,o,a){return new N(t,r,o).bytepad(["KMAC",a],n).bytepad([i],n)},i.update=function(t,r,n,o){return i.create(t,n,o).update(r)},S(i,_,t,r)}}],x={},k=[],O=0;O<A.length;++O)for(var P=A[O],C=P.bits,T=0;T<C.length;++T){var M=P.name+"_"+C[T];if(k.push(M),x[M]=P.createMethod(C[T],P.padding),"sha3"!==P.name){var R=P.name+C[T];k.push(R),x[R]=x[M]}}function I(t,r,n){this.blocks=[],this.s=[],this.padding=r,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var i=0;i<50;++i)this.s[i]=0}function N(t,r,n){I.call(this,t,r,n)}I.prototype.update=function(t){if(!this.finalized){var r,n=typeof t;if("string"!==n){if("object"===n){if(null===t)throw o;if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!u||!ArrayBuffer.isView(t)))throw o}else throw o;r=!0}for(var i,a,s=this.blocks,l=this.byteCount,c=t.length,d=this.blockCount,f=0,p=this.s;f<c;){if(this.reset)for(i=1,this.reset=!1,s[0]=this.block;i<d+1;++i)s[i]=0;if(r)for(i=this.start;f<c&&i<l;++f)s[i>>2]|=t[f]<<h[3&i++];else for(i=this.start;f<c&&i<l;++f)(a=t.charCodeAt(f))<128?s[i>>2]|=a<<h[3&i++]:(a<2048?s[i>>2]|=(192|a>>6)<<h[3&i++]:(a<55296||a>=57344?s[i>>2]|=(224|a>>12)<<h[3&i++]:(a=65536+((1023&a)<<10|1023&t.charCodeAt(++f)),s[i>>2]|=(240|a>>18)<<h[3&i++],s[i>>2]|=(128|a>>12&63)<<h[3&i++]),s[i>>2]|=(128|a>>6&63)<<h[3&i++]),s[i>>2]|=(128|63&a)<<h[3&i++]);if(this.lastByteIndex=i,i>=l){for(this.start=i-l,this.block=s[d],i=0;i<d;++i)p[i]^=s[i];D(p),this.reset=!0}else this.start=i}return this}},I.prototype.encode=function(t,r){var n=255&t,i=1,o=[n];for(t>>=8,n=255&t;n>0;)o.unshift(n),t>>=8,n=255&t,++i;return r?o.push(i):o.unshift(i),this.update(o),o.length},I.prototype.encodeString=function(t){var r,n=typeof t;if("string"!==n){if("object"===n){if(null===t)throw o;if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!u||!ArrayBuffer.isView(t)))throw o}else throw o;r=!0}var i=0,a=t.length;if(r)i=a;else for(var s=0;s<t.length;++s){var l=t.charCodeAt(s);l<128?i+=1:l<2048?i+=2:l<55296||l>=57344?i+=3:(l=65536+((1023&l)<<10|1023&t.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(t),i},I.prototype.bytepad=function(t,r){for(var n=this.encode(r),i=0;i<t.length;++i)n+=this.encodeString(t[i]);var o=r-n%r,a=[];return a.length=o,this.update(a),this},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,r=this.lastByteIndex,n=this.blockCount,i=this.s;if(t[r>>2]|=this.padding[3&r],this.lastByteIndex===this.byteCount)for(r=1,t[0]=t[n];r<n+1;++r)t[r]=0;for(t[n-1]|=2147483648,r=0;r<n;++r)i[r]^=t[r];D(i)}},I.prototype.toString=I.prototype.hex=function(){this.finalize();for(var t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,l="";s<i;){for(a=0;a<r&&s<i;++a,++s)l+=c[(t=n[a])>>4&15]+c[15&t]+c[t>>12&15]+c[t>>8&15]+c[t>>20&15]+c[t>>16&15]+c[t>>28&15]+c[t>>24&15];s%r==0&&(D(n),a=0)}return o&&(l+=c[(t=n[a])>>4&15]+c[15&t],o>1&&(l+=c[t>>12&15]+c[t>>8&15]),o>2&&(l+=c[t>>20&15]+c[t>>16&15])),l},I.prototype.arrayBuffer=function(){this.finalize();for(var t,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,l=this.outputBits>>3,u=new Uint32Array(t=new ArrayBuffer(o?i+1<<2:l));s<i;){for(a=0;a<r&&s<i;++a,++s)u[s]=n[a];s%r==0&&D(n)}return o&&(u[a]=n[a],t=t.slice(0,l)),t},I.prototype.buffer=I.prototype.arrayBuffer,I.prototype.digest=I.prototype.array=function(){this.finalize();for(var t,r,n=this.blockCount,i=this.s,o=this.outputBlocks,a=this.extraBytes,s=0,l=0,u=[];l<o;){for(s=0;s<n&&l<o;++s,++l)t=l<<2,r=i[s],u[t]=255&r,u[t+1]=r>>8&255,u[t+2]=r>>16&255,u[t+3]=r>>24&255;l%n==0&&D(i)}return a&&(t=l<<2,r=i[s],u[t]=255&r,a>1&&(u[t+1]=r>>8&255),a>2&&(u[t+2]=r>>16&255)),u},N.prototype=new I,N.prototype.finalize=function(){return this.encode(this.outputBits,!0),I.prototype.finalize.call(this)};var D=function(t){var r,n,i,o,a,s,l,u,c,d,h,p,m,g,y,v,b,w,_,S,E,A,x,k,O,P,C,T,M,R,I,N,D,F,L,$,j,U,B,z,H,q,V,G,W,K,Y,Z,X,J,Q,ee,et,er,en,ei,eo,ea,es,el,eu,ec,ed;for(i=0;i<48;i+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],l=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],d=t[6]^t[16]^t[26]^t[3
46]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],p=t[8]^t[18]^t[28]^t[38]^t[48],m=t[9]^t[19]^t[29]^t[39]^t[49],r=p^(s<<1|l>>>31),n=m^(l<<1|s>>>31),t[0]^=r,t[1]^=n,t[10]^=r,t[11]^=n,t[20]^=r,t[21]^=n,t[30]^=r,t[31]^=n,t[40]^=r,t[41]^=n,r=o^(u<<1|c>>>31),n=a^(c<<1|u>>>31),t[2]^=r,t[3]^=n,t[12]^=r,t[13]^=n,t[22]^=r,t[23]^=n,t[32]^=r,t[33]^=n,t[42]^=r,t[43]^=n,r=s^(d<<1|h>>>31),n=l^(h<<1|d>>>31),t[4]^=r,t[5]^=n,t[14]^=r,t[15]^=n,t[24]^=r,t[25]^=n,t[34]^=r,t[35]^=n,t[44]^=r,t[45]^=n,r=u^(p<<1|m>>>31),n=c^(m<<1|p>>>31),t[6]^=r,t[7]^=n,t[16]^=r,t[17]^=n,t[26]^=r,t[27]^=n,t[36]^=r,t[37]^=n,t[46]^=r,t[47]^=n,r=d^(o<<1|a>>>31),n=h^(a<<1|o>>>31),t[8]^=r,t[9]^=n,t[18]^=r,t[19]^=n,t[28]^=r,t[29]^=n,t[38]^=r,t[39]^=n,t[48]^=r,t[49]^=n,g=t[0],y=t[1],K=t[11]<<4|t[10]>>>28,Y=t[10]<<4|t[11]>>>28,T=t[20]<<3|t[21]>>>29,M=t[21]<<3|t[20]>>>29,el=t[31]<<9|t[30]>>>23,eu=t[30]<<9|t[31]>>>23,q=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,F=t[2]<<1|t[3]>>>31,L=t[3]<<1|t[2]>>>31,v=t[13]<<12|t[12]>>>20,b=t[12]<<12|t[13]>>>20,Z=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,R=t[33]<<13|t[32]>>>19,I=t[32]<<13|t[33]>>>19,ec=t[42]<<2|t[43]>>>30,ed=t[43]<<2|t[42]>>>30,er=t[5]<<30|t[4]>>>2,en=t[4]<<30|t[5]>>>2,$=t[14]<<6|t[15]>>>26,j=t[15]<<6|t[14]>>>26,w=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Q=t[35]<<15|t[34]>>>17,N=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,k=t[6]<<28|t[7]>>>4,O=t[7]<<28|t[6]>>>4,ei=t[17]<<23|t[16]>>>9,eo=t[16]<<23|t[17]>>>9,U=t[26]<<25|t[27]>>>7,B=t[27]<<25|t[26]>>>7,S=t[36]<<21|t[37]>>>11,E=t[37]<<21|t[36]>>>11,ee=t[47]<<24|t[46]>>>8,et=t[46]<<24|t[47]>>>8,G=t[8]<<27|t[9]>>>5,W=t[9]<<27|t[8]>>>5,P=t[18]<<20|t[19]>>>12,C=t[19]<<20|t[18]>>>12,ea=t[29]<<7|t[28]>>>25,es=t[28]<<7|t[29]>>>25,z=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,A=t[48]<<14|t[49]>>>18,x=t[49]<<14|t[48]>>>18,t[0]=g^~v&w,t[1]=y^~b&_,t[10]=k^~P&T,t[11]=O^~C&M,t[20]=F^~$&U,t[21]=L^~j&B,t[30]=G^~K&Z,t[31]=W^~Y&X,t[40]=er^~ei&ea,t[41]=en^~eo&es,t[2]=v^~w&S,t[3]=b^~_&E,t[12]=P^~T&R,t[13]=C^~M&I,t[22]=$^~U&z,t[23]=j^~B&H,t[32]=K^~Z&J,t[33]=Y^~X&Q,t[42]=ei^~ea&el,t[43]=eo^~es&eu,t[4]=w^~S&A,t[5]=_^~E&x,t[14]=T^~R&N,t[15]=M^~I&D,t[24]=U^~z&q,t[25]=B^~H&V,t[34]=Z^~J&ee,t[35]=X^~Q&et,t[44]=ea^~el&ec,t[45]=es^~eu&ed,t[6]=S^~A&g,t[7]=E^~x&y,t[16]=R^~N&k,t[17]=I^~D&O,t[26]=z^~q&F,t[27]=H^~V&L,t[36]=J^~ee&G,t[37]=Q^~et&W,t[46]=el^~ec&er,t[47]=eu^~ed&en,t[8]=A^~g&v,t[9]=x^~y&b,t[18]=N^~k&P,t[19]=D^~O&C,t[28]=q^~F&$,t[29]=V^~L&j,t[38]=ee^~G&K,t[39]=et^~W&Y,t[48]=ec^~er&ei,t[49]=ed^~en&eo,t[0]^=f[i],t[1]^=f[i+1]};t.exports=x},75327:function(t,r,n){var i=n(82957).Buffer,o=n(48518),a=n(57552).sha512_256,s=n(9279),l=n(2713).keccak256,u=n(18777),c=n(50645),d=n(18798),h=n(69070);function f(t,r){var n=t.toString(16);return n.length%2==1&&(n="0"+n),n.padStart(r,"0")}function p(t){var r="0123456789ABCDEF";return""+(r.charAt(t>>4)+r.charAt(15&t))}t.exports={numberToHex:f,toHex:function(t){for(var r="",n=0;n<t.length;n++)r+=f(t[n]);return r},sha256:function(t,r="HEX"){var n=new o("SHA-256",r);return n.update(t),n.getHash(r)},sha256x2:function(t,r="HEX"){return this.sha256(this.sha256(t,r),r)},sha256Checksum:function(t){return this.sha256(this.sha256(t)).substr(0,8)},sha512_256:function(t,r="HEX"){let n=a.create();return n.update(i.from(t,r)),n.hex().toUpperCase()},blake256:function(t){return new s().update(t,"hex").digest("hex")},blake256Checksum:function(t){return this.blake256(this.blake256(t)).substr(0,8)},blake2b:function(t,r){return new u(r).update(i.from(t,"hex")).digest("hex")},keccak256:function(t){return l(t)},keccak256Checksum:function(t){return l(t).toString().substr(0,8)},blake2b256:function(t){return new u(32).update(i.from(t,"hex"),32).digest("hex")},base58:c.decode,byteArray2hexStr:function(t){for(var r="",n=0;n<t.length-1;n++)r+=p(t[n]);return r+p(t[n])},hexStr2byteArray:function(t){var r=[],n=0,i=0,o=0,a=0;for(i=0;i<t.length;i++){var s=t.charAt(i);(s>="A"&&s<="F"||s>="a"&&s<="f"||s>="0"&&s<="9"?1:0)&&(n<<=4,n+=function(t){var r=0;return t>="A"&&t<="F"?r=t.charCodeAt(0)-65+10:t>="a"&&t<="f"?r=t.charCodeAt(0)-97+10:t>="0"&&t<="9"&&(r=t.charCodeAt(0)-48),r}(s),0==++o%2&&(r[a++]=n,n=0))}return r},bigNumberToBuffer:function(t,r){return new h(t).toBuffer({size:r,endian:"big"})},base32:d}},92480:function(t,r,n){var i=n(53986),o=n(80337),a=n(14504),s=n(21691),l=n(72887),u=n(10145),c=n(90390),d=n(37384),h=n(40278),f=n(68),p=n(78428),m=n(29190),g=n(23206),y=n(74011),v=n(7821),b=n(81335),w=n(19413),_=n(40880),S=n(10478),E=[{name:"Bitcoin",symbol:"btc",addressTypes:{prod:["00","05"],testnet:["6f","c4","3c","26"]},bech32Hrp:{prod:["bc"],testnet:["tb"]}
4,validator:a},{name:"BitcoinCash",symbol:"bch",regexp:"^[qQpP]{1}[0-9a-zA-Z]{41}$",addressTypes:{prod:["00","05"],testnet:["6f","c4"]},validator:f},{name:"Bitcoin SV",symbol:"bsv",regexp:"^[qQ]{1}[0-9a-zA-Z]{41}$",addressTypes:{prod:["00","05"],testnet:["6f","c4"]},validator:f},{name:"LiteCoin",symbol:"ltc",addressTypes:{prod:["30","05","32"],testnet:["6f","c4","3a"]},bech32Hrp:{prod:["ltc"],testnet:["tltc"]},validator:a},{name:"PeerCoin",symbol:"ppc",addressTypes:{prod:["37","75"],testnet:["6f","c4"]},validator:a},{name:"DogeCoin",symbol:"doge",addressTypes:{prod:["1e","16"],testnet:["71","c4"]},validator:a},{name:"BeaverCoin",symbol:"bvc",addressTypes:{prod:["19","05"],testnet:["6f","c4"]},validator:a},{name:"FreiCoin",symbol:"frc",addressTypes:{prod:["00","05"],testnet:["6f","c4"]},validator:a},{name:"ProtoShares",symbol:"pts",addressTypes:{prod:["38","05"],testnet:["6f","c4"]},validator:a},{name:"MegaCoin",symbol:"mec",addressTypes:{prod:["32","05"],testnet:["6f","c4"]},validator:a},{name:"PrimeCoin",symbol:"xpm",addressTypes:{prod:["17","53"],testnet:["6f","c4"]},validator:a},{name:"AuroraCoin",symbol:"aur",addressTypes:{prod:["17","05"],testnet:["6f","c4"]},validator:a},{name:"NameCoin",symbol:"nmc",addressTypes:{prod:["34"],testnet:[]},validator:a},{name:"BioCoin",symbol:"bio",addressTypes:{prod:["19","14"],testnet:["6f","c4"]},validator:a},{name:"GarliCoin",symbol:"grlc",addressTypes:{prod:["26","05"],testnet:["6f","c4"]},validator:a},{name:"VertCoin",symbol:"vtc",addressTypes:{prod:["0x","47","71","05"],testnet:["6f","c4"]},bech32Hrp:{prod:["vtc"],testnet:["tvtc"]},validator:a},{name:"BitcoinGold",symbol:"btg",addressTypes:{prod:["26","17"],testnet:["6f","c4"]},validator:a},{name:"Komodo",symbol:"kmd",addressTypes:{prod:["3c","55"],testnet:["0","5"]},validator:a},{name:"BitcoinZ",symbol:"btcz",expectedLength:26,addressTypes:{prod:["1cb8","1cbd"],testnet:["1d25","1cba"]},validator:a},{name:"BitcoinPrivate",symbol:"btcp",expectedLength:26,addressTypes:{prod:["1325","13af"],testnet:["1957","19e0"]},validator:a},{name:"Hush",symbol:"hush",expectedLength:26,addressTypes:{prod:["1cb8","1cbd"],testnet:["1d25","1cba"]},validator:a},{name:"SnowGem",symbol:"sng",expectedLength:26,addressTypes:{prod:["1c28","1c2d"],testnet:["1d25","1cba"]},validator:a},{name:"ZCash",symbol:"zec",expectedLength:26,addressTypes:{prod:["1cb8","1cbd"],testnet:["1d25","1cba"]},validator:a},{name:"ZClassic",symbol:"zcl",expectedLength:26,addressTypes:{prod:["1cb8","1cbd"],testnet:["1d25","1cba"]},validator:a},{name:"ZenCash",symbol:"zen",expectedLength:26,addressTypes:{prod:["2089","2096"],testnet:["2092","2098"]},validator:a},{name:"VoteCoin",symbol:"vot",expectedLength:26,addressTypes:{prod:["1cb8","1cbd"],testnet:["1d25","1cba"]},validator:a},{name:"Decred",symbol:"dcr",addressTypes:{prod:["073f","071a"],testnet:["0f21","0efc"]},hashFunction:"blake256",expectedLength:26,validator:a},{name:"GameCredits",symbol:"game",addressTypes:{prod:["26","05"],testnet:[]},validator:o},{name:"PIVX",symbol:"pivx",addressTypes:{prod:["1e","0d"],testnet:[]},validator:a},{name:"SolarCoin",symbol:"slr",addressTypes:{prod:["12","05"],testnet:[]},validator:a},{name:"DigiByte",symbol:"dgb",addressTypes:{prod:["1e","3f"],testnet:[]},bech32Hrp:{prod:["dgb","S"],testnet:[]},validator:a},{name:"Tether",symbol:"usdt",addressTypes:{prod:["00","05","65"],testnet:["6f","c4","65"]},validator:y},{name:"Ripple",symbol:"xrp",validator:i},{name:"Dash",symbol:"dash",addressTypes:{prod:["4c","10"],testnet:["8c","13"]}
4,validator:a},{name:"Neo",symbol:"neo",addressTypes:{prod:["17"],testnet:[]},validator:a},{name:"NeoGas",symbol:"gas",addressTypes:{prod:["17"],testnet:[]},validator:a},{name:"Qtum",symbol:"qtum",addressTypes:{prod:["3a","32"],testnet:["78","6e"]},validator:a},{name:"Waves",symbol:"waves",addressTypes:{prod:["0157"],testnet:["0154"]},expectedLength:26,hashFunction:"blake256keccak256",regex:/^[a-zA-Z0-9]{35}$/,validator:a},{name:"Aptos",symbol:"apt",validator:n(74294)},{name:"Ethereum",symbol:"eth",validator:o},{name:"EthereumPow",symbol:"ethw",validator:o},{name:"EtherZero",symbol:"etz",validator:o},{name:"EthereumClassic",symbol:"etc",validator:o},{name:"Celo",symbol:"celo",validator:o},{name:"Callisto",symbol:"clo",validator:o},{name:"Bankex",symbol:"bkx",validator:o},{name:"Cardano",symbol:"ada",bech32Hrp:{prod:["addr"],testnet:["addr"]},validator:s},{name:"Monero",symbol:"xmr",addressTypes:{prod:["18","42"],testnet:["53","63"],stagenet:["24"]},iAddressTypes:{prod:["19"],testnet:["54"],stagenet:["25"]},validator:l},{name:"Aragon",symbol:"ant",validator:o},{name:"Basic Attention Token",symbol:"bat",validator:o},{name:"Bancor",symbol:"bnt",validator:o},{name:"Civic",symbol:"cvc",validator:o},{name:"District0x",symbol:"dnt",validator:o},{name:"Gnosis",symbol:"gno",validator:o},{name:"Golem (GNT)",symbol:"gnt",validator:o},{name:"Golem",symbol:"glm",validator:o},{name:"Matchpool",symbol:"gup",validator:o},{name:"Melon",symbol:"mln",validator:o},{name:"Numeraire",symbol:"nmr",validator:o},{name:"OmiseGO",symbol:"omg",validator:o},{name:"TenX",symbol:"pay",validator:o},{name:"Ripio Credit Network",symbol:"rcn",validator:o},{name:"Augur",symbol:"rep",validator:o},{name:"iExec RLC",symbol:"rlc",validator:o},{name:"Salt",symbol:"salt",validator:o},{name:"Status",symbol:"snt",validator:o},{name:"Storj",symbol:"storj",validator:o},{name:"Swarm City",symbol:"swt",validator:o},{name:"TrueUSD",symbol:"tusd",validator:o},{name:"Wings",symbol:"wings",validator:o},{name:"0x",symbol:"zrx",validator:o},{name:"Expanse",symbol:"exp",validator:o},{name:"Viberate",symbol:"vib",validator:o},{name:"Odyssey",symbol:"ocn",validator:o},{name:"Polymath",symbol:"poly",validator:o},{name:"Storm",symbol:"storm",validator:o},{name:"Nano",symbol:"nano",validator:u},{name:"RaiBlocks",symbol:"xrb",validator:u},{name:"Siacoin",symbol:"sc",validator:c},{name:"HyperSpace",symbol:"xsc",validator:c},{name:"loki",symbol:"loki",addressTypes:{prod:["114","115","116"],testnet:[]},iAddressTypes:{prod:["115"],testnet:[]},validator:l},{name:"LBRY Credits",symbol:"lbc",addressTypes:{prod:["55"],testnet:[]},validator:a},{name:"Tron",symbol:"trx",validator:d},{name:"Nem",symbol:"xem",validator:h},{name:"Stellar",symbol:"xlm",validator:p},{name:"BTU Protocol",symbol:"btu",validator:o},{name:"Crypto.com Coin",symbol:"cro",bech32Hrp:{prod:["cro"],testnet:["tcro"]},validator:_},{name:"Multi-collateral DAI",symbol:"dai",validator:o},{name:"Enjin Coin",symbol:"enj",validator:o}
4,{name:"HedgeTrade",symbol:"hedg",validator:o},{name:"Cred",symbol:"lba",validator:o},{name:"Chainlink",symbol:"link",validator:o},{name:"Loom Network",symbol:"loom",validator:o},{name:"Maker",symbol:"mkr",validator:o},{name:"Metal",symbol:"mtl",validator:o},{name:"Ocean Protocol",symbol:"ocean",validator:o},{name:"Quant",symbol:"qnt",validator:o},{name:"Synthetix Network",symbol:"snx",validator:o},{name:"SOLVE",symbol:"solve",validator:o},{name:"Spendcoin",symbol:"spnd",validator:o},{name:"TEMCO",symbol:"temco",validator:o},{name:"EOS",symbol:"eos",validator:m},{name:"Tezos",symbol:"xtz",validator:g},{name:"VeChain",symbol:"vet",validator:o},{name:"StormX",symbol:"stmx",validator:o},{name:"AugurV2",symbol:"repv2",validator:o},{name:"FirmaChain",symbol:"fct",validator:o},{name:"BlockTrade",symbol:"btt",validator:o},{name:"Quantum Resistant Ledger",symbol:"qrl",validator:o},{name:"Serve",symbol:"serv",validator:o},{name:"Tap",symbol:"xtp",validator:o},{name:"Compound",symbol:"comp",validator:o},{name:"Paxos",symbol:"pax",validator:o},{name:"USD Coin",symbol:"usdc",validator:v},{name:"CUSD",symbol:"cusd",validator:o},{name:"Algorand",symbol:"algo",validator:b},{name:"Polkadot",symbol:"dot",validator:w},{name:"Uniswap Coin",symbol:"uni",validator:o},{name:"Aave Coin",symbol:"aave",validator:o},{name:"Matic",symbol:"matic",validator:o},{name:"Decentraland",symbol:"mana",validator:o},{name:"Solana",symbol:"sol",validator:S,maxLength:44,minLength:43},{name:"Bonk",symbol:"bonk",validator:S,maxLength:44,minLength:43},{name:"Binance",symbol:"bnb",validator:o},{name:"BinanceSmartChain",symbol:"bnb",validator:o},{name:"Avalanche",symbol:"avax",validator:o},{name:"Arbitrum",symbol:"arb",validator:o},{name:"Flare",symbol:"flr",validator:o},{name:"Yearn.finance",symbol:"yfi",validator:o},{name:"Optimism",symbol:"op",validator:o},{name:"Lido DAO Token",symbol:"ldo",validator:o},{name:"Curve DAO",symbol:"crv",validator:o},{name:"Arbitrum",symbol:"arb",validator:o},{name:"Hashflow",symbol:"hft",validator:o},{name:"Apecoin",symbol:"ape",validator:o},{name:"Band Protocol",symbol:"band",validator:o},{name:"The Graph",symbol:"grt",validator:o},{name:"Magic",symbol:"magic",validator:o},{name:"Biconomy",symbol:"bico",validator:o},{name:"API3",symbol:"api3",validator:o},{name:"Axie Infinity",symbol:"axs",validator:o},{name:"Blur",symbol:"blur",validator:o},{name:"Chiliz",symbol:"chz",validator:o},{name:"Ethereum Name Service",symbol:"ens",validator:o},{name:"Fetch.ai",symbol:"fet",validator:o},{name:"Illuvium",symbol:"ilv",validator:o},{name:"Injective",symbol:"inj",validator:o},{name:"Immutable",symbol:"imx",validator:o},{name:"Mask Network",symbol:"mask",validator:o},{name:"Origin Protocol",symbol:"ogn",validator:o},{name:"Onyx Protocol",symbol:"xcn",validator:o},{name:"Unifi Protocol DAO",symbol:"unfi",validator:o},{name:"Tellor",symbol:"trb",validator:o},{name:"SuperVerse",symbol:"super",validator:o},{name:"Sonic",symbol:"s",validator:o},{name:"Skale",symbol:"skl",validator:o},{name:"The Sandbox",symbol:"sand",validator:o},{name:"Vulcan Forged PYR",symbol:"pyr",validator:o},{name:"Marlin",symbol:"pond",validator:o},{name:"PayPal USD",symbol:"pyusd",validator:o},{name:"Hedera",symbol:"hbar",validator:n(13492)}];let A={};E.forEach(t=>{let{name:r,validator:n,addressTypes:i,iAddressTypes:o,bech32Hrp:a,maxLength:s,minLength:l,regexp:u,expectedLength:c,hashFunction:d}=t;A[r.toLowerCase()]={validator:n,addressTypes:i,bech32Hrp:a,maxLength:s,minLength:l,iAddressTypes:o,regexp:u,expectedLength:c,hashFunction:d}}),t.exports={getByNameOrSymbol:function(t){var r=t.toLowerCase();return E.find(function(t){return t.name.toLowerCase()===r||t.symbol.toLowerCase()===r})},getAll:function(){return E},chainTypeToValidator:A}},19413:function(t,r,n){let i=n(75327),o=[{addressLength:3,accountIndexLength:1,checkSumLength:1},{addressLength:4,accountIndexLength:2,checkSumLength:1},{addressLength:5,accountIndexLength:2,checkSumLength:2},{addressLength:6,accountIndexLength:4,checkSumLength:1},{addressLength:7,accountIndexLength:4,checkSumLength:2},{addressLength:8,accountIndexLength:4,checkSumLength:3},{addressLength:9,accountIndexLength:4,checkSumLength:4},{addressLength:10,accountIndexLength:8,checkSumLength:1},{addressLength:11,accountIndexLength:8,checkSumLength:2},{addressLength:12,accountIndexLength:8,checkSumLength:3},{addressLength:13,accountIndexLength:8,checkSumLength:4},{addressLength:14,accountIndexLength:8,checkSumLength:5},{addressLength:15,accountIndexLength:8,checkSumLength:6},{addressLength:16,accountIndexLength:8,checkSumLength:7},{addressLength:17,accountIndexLength:8,checkSumLength:8},{addressLength:34,accountIndexLength:32,checkSumLength:2}];t.exports={isValidAddress:function(t,r,n={}){let{networkType:i="prod"}=n;return this.verifyChecksum(t)},verifyChecksum:function(t){try{let r=i.base58(t),n=i.byteArray2hexStr(r.slice(0,1)),a=r.slice(1),s=o.find(t=>t.addressLength===a.length);if(!s)throw Error("Invalid address length");let l=i.byteArray2hexStr(a.slice(0,s.accountIndexLength)),u=i.byteArray2hexStr(a.slice(-s.checkSumLength));return i.blake2b("53533538505245"+n+l,64).substr(0,2*s.checkSumLength).toUpperCase()==u}catch(t){return!1}}}},29190:function(t){t.exports={isValidAddress:function(t,r,n){return -1!==t.search(/^[a-z0-9.]+$/g)&&12===t.length}}},80337:function(t,r,n){var i=n(75327);t.exports={isValidAddress:function(t){return!!/^0x[0-9a-fA-F]{40}$/.test(t)&&(!!(/^0x[0-9a-f]{40}$/.test(t)||/^0x?[0-9A-F]{40}$/.test(t))||this.verifyChecksum(t))},verifyChecksum:function(t){t=t.replace("0x","");for(var r=i.keccak256(t.toLowerCase()),n=0;n<40;n++)if(parseInt(r[n],16)>7&&t[n].toUpperCase()!==t[n]||7>=parseInt(r[n],16)&&t[n].toLowerCase()!==t[n])return!1;return!0}}},13492:function(t,r,n){n(75327),t.exports={isValidAddress:function(t){if(!/^\d+\.\d+\.\d+$/.test(t))return!1;let[r,n,i]=t.split(".").map(Number);return Number.isInteger(r)&&r>=0&&Number.isInteger(n)&&n>=0&&Number.isInteger(i)&&i>=0}}},72887:function(t,r,n){var i=n(75327),o=n(78629),a=RegExp("^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{95}$"),s=RegExp("^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{106}$");t.exports={isValidAddress:function(t,r,n={}){let{networkType:l="prod"}=n;var u="standard";if(!a.test(t)){if(!s.test(t))return!1;u="integrated"}var c=o.decode(t);return!!(c&&function(t,r,n,i){var o=r.addressTypes;"integrated"==i&&(o=r.iAddressTypes);var a=parseInt(t.substr(0,2),16).toString();switch(n){case"prod":return o.prod.indexOf(a)>=0;case"testnet":return o.testnet.indexOf(a)>=0;case"stagenet":return o.stagenet.indexOf(a)>=0;case"both":return o.prod.indexOf(a)>=0||o.testnet.indexOf(a)>=0||o.stagenet.indexOf(a)>=0;default:return!1}}(c,r,l,u))&&c.slice(-8)===i.keccak256Checksum(function(t){if(t.length%2!=0)return null;
4for(var r=new Uint8Array(t.length/2),n=0;n<t.length/2;++n)r[n]=parseInt(t.slice(2*n,2*n+2),16);return r}(c.slice(0,-8)))}}},10145:function(t,r,n){var i=n(75327),o=n(18282),a="13456789abcdefghijkmnopqrstuwxyz",s=o(a),l=RegExp("^(xrb|nano)_(["+a+"]{60})$");t.exports={isValidAddress:function(t){return!!l.test(t)&&this.verifyChecksum(t)},verifyChecksum:function(t){var r=s.decode(l.exec(t)[2]).slice(-37);return i.blake2b(i.toHex(r.slice(0,-5)),5)===i.toHex(r.slice(-5).reverse())}}},40278:function(t,r,n){var i=n(82957).Buffer,o=n(75327);t.exports={isValidAddress:function(t){var r=t.toString().toUpperCase().replace(/-/g,"");if(!r||40!==r.length)return!1;var n=o.toHex(o.base32.b32decode(r));return o.keccak256Checksum(i.from(n.slice(0,42),"hex"))===n.slice(42)}}},53986:function(t,r,n){var i=n(75327),o=n(18282),a="rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz",s=o(a),l=RegExp("^r["+a+"]{27,35}$");t.exports={isValidAddress:function(t){return!!l.test(t)&&this.verifyChecksum(t)},verifyChecksum:function(t){var r=s.decode(t);return i.sha256Checksum(i.toHex(r.slice(0,-4)))===i.toHex(r.slice(-4))}}},90390:function(t,r,n){var i=n(75327),o=n(15586);t.exports={isValidAddress:function(t){return 76===t.length&&this.verifyChecksum(t)},verifyChecksum:function(t){var r=t.slice(0,64),n=t.slice(64,76);return!!o(i.blake2b(r,32).slice(0,12),n)}}},78428:function(t,r,n){var i=n(18282),o=n(24811),a=n(75327),s="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",l=i(s),u=RegExp("^["+s+"]{56}$");t.exports={isValidAddress:function(t){return!!u.test(t)&&this.verifyChecksum(t)},verifyChecksum:function(t){var r,n=l.decode(t);return 48===n[0]&&a.numberToHex((255&(r=o.crc16xmodem(n.slice(0,-2))))<<8|r>>8&255,4)===a.toHex(n.slice(-2))}}},23206:function(t,r,n){let i=n(50645),o=n(75327),a=new Uint8Array([6,161,159]);t.exports={isValidAddress:function(t){try{let r=i.decode(t),n=function(t){let r=t.slice(0,-4),n=t.slice(-4),i=o.hexStr2byteArray(o.sha256x2(o.byteArray2hexStr(r)));if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}(r);if(!n)return!1;return n.slice(a.length),!0}catch(t){return!1}}}},37384:function(t,r,n){var i=n(75327);t.exports={isValidAddress:function(t,r,n){var o=function(t){if("string"!=typeof t||34!==t.length)return!1;try{var r=i.base58(t)}catch(t){return!1}var n=r.length-4,o=r.slice(n);r=r.slice(0,n);var a=i.sha256(i.byteArray2hexStr(r)),s=i.hexStr2byteArray(i.sha256(a)).slice(0,4);return o[0]===s[0]&&o[1]===s[1]&&o[2]===s[2]&&o[3]===s[3]&&r}(t);return!!o&&21===o.length&&65===o[0]}}},7821:function(t,r,n){var i=n(80337),o=n(10478);let a=(t,r,n)=>o.isValidAddress(t,{...r,maxLength:44,minLength:43},n);t.exports={isValidAddress:function(t,r,n){if(n)switch(n.chainType){case"arbitrum":case"avalanche":case"erc20":case"ethereum":return i.isValidAddress(t,r,n.networkType);case"solana":return a(t,r,n.networkType)}return i.isValidAddress(t,r,n)||a(t,r,n)}}},74011:function(t,r,n){var i=n(14504),o=n(80337),a=n(37384),s=n(10478);let l=(t,r,n)=>s.isValidAddress(t,{...r,maxLength:44,minLength:43},n);t.exports={isValidAddress:function(t,r,n){if(n)switch(n.chainType?n.chainType.toLowerCase():""){case"erc20":case"ethereum":return o.isValidAddress(t,r,n.networkType);case"omni":return i.isValidAddress(t,r,n.networkType);case"tron":return a.isValidAddress(t,r,n.networkType);case"solana":return l(t,r,n.networkType)}return i.isValidAddress(t,r,n)||o.isValidAddress(t,r,n)||a.isValidAddress(t,r,n)||l(t,r,n)}}},4074:function(t,r,n){n.g.Buffer||(n.g.Buffer=n(82957).Buffer);var i=n(92480);t.exports={validate:function(t,r,n){var o=i.getByNameOrSymbol(r||"bitcoin");if(n&&n.chainType){var a=n.chainType.toLowerCase(),s=i.chainTypeToValidator[a];if(s)return s.validator.isValidAddress(t,{...n,...s},n)}if(o&&o.validator)return n&&"string"==typeof n?o.validator.isValidAddress(t,o,{networkType:n}):o.validator.isValidAddress(t,o,n);throw Error("Missing validator for currency: "+r)},getCurrencies:function(){return i.getAll()},findCurrency:function(t){return i.getByNameOrSymbol(t)||null},getChainTypeToValidators:function(){return i.chainTypeToValidator}}},71157:function(t){t.exports=function(){var t={},r=t._fns={};return t.emit=function(t,n,i,o,a,s,l){var u=function(t){for(var n=r[t]?r[t]:[],i=t.indexOf(":"),o=-1===i?[t]:[t.substring(0,i),t.substring(i+1)],a=Object.keys(r),s=0,l=a.length;s<l;s++){var u=a[s];if("*"===u&&(n=n.concat(r[u])),2===o.length&&o[0]===u){n=n.concat(r[u]);break}}return n}(t);u.length&&function(t,r,n){for(var i=0,o=r.length;i<o&&r[i];i++)r[i].event=t,r[i].apply(r[i],n)}(t,u,[n,i,o,a,s,l])},t.on=function(t,n){r[t]||(r[t]=[]),r[t].push(n)},t.once=function(r,n){this.on(r,function i(){n.apply(this,arguments),t.off(r,i)})},t.off=function(t,r){var n=[];if(t&&r)for(var i=this._fns[t],o=0,a=i?i.length:0;o<a;o++)i[o]!==r&&n.push(i[o]);n.length?this._fns[t]=n:delete this._fns[t]},t}},50362:function(t,r,n){"use strict";n.d(r,{default:function(){return o.a}});var i=n(55775),o=n.n(i)},33145:function(t,r,n){"use strict";n.d(r,{default:function(){return o.a}});var i=n(48461),o=n.n(i)},27648:function(t,r,n){"use strict";n.d(r,{default:function(){return o.a}});var i=n(72972),o=n.n(i)},99376:function(t,r,n){"use strict";var i=n(35475);n.o(i,"useParams")&&n.d(r,{useParams:function(){return i.useParams}}),n.o(i,"usePathname")&&n.d(r,{usePathname:function(){return i.usePathname}}),n.o(i,"useRouter")&&n.d(r,{useRouter:function(){return i.useRouter}}),n.o(i,"useSearchParams")&&n.d(r,{useSearchParams:function(){return i.useSearchParams}}),n.o(i,"useServerInsertedHTML")&&n.d(r,{useServerInsertedHTML:function(){return i.useServerInsertedHTML}})},65157:function(t,r){"use strict";function n(){return""}
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},91572:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var t=/\((.*)\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if("function"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(n){return r.resolve(t()).then(function(){return n})},function(n){return r.resolve(t()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(t){return Array.from(t).reduce(function(t,r){return t[r[0]]=r[1],t},{})}),Array.prototype.at||(Array.prototype.at=function(t){var r=Math.trunc(t)||0;if(r<0&&(r+=this.length),!(r<0||r>=this.length))return this[r]}),Object.hasOwn||(Object.hasOwn=function(t,r){if(null==t)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),r)}),"canParse"in URL||(URL.canParse=function(t,r){try{return new URL(t,r),!0}catch(t){return!1}})},40257:function(t,r,n){"use strict";var i,o;t.exports=(null==(i=n.g.process)?void 0:i.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(44227)},1634:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addBasePath",{enumerable:!0,get:function(){return a}});let i=n(68498),o=n(33068);function a(t,r){return(0,o.normalizePathTrailingSlash)((0,i.addPathPrefix)(t,""))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},55449:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return i}}),n(33068);let i=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},75266:function(t,r){"use strict";function n(t){var r,n;r=self.__next_s,n=()=>{t()},r&&r.length?r.reduce((t,r)=>{let[n,i]=r;return t.then(()=>new Promise((t,r)=>{let o=document.createElement("script");if(i)for(let t in i)"children"!==t&&o.setAttribute(t,i[t]);n?(o.src=n,o.onload=()=>t(),o.onerror=r):i&&(o.innerHTML=i.children,setTimeout(t)),document.head.appendChild(o)}))},Promise.resolve()).catch(t=>{}).then(()=>{n()}):n()}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"appBootstrap",{enumerable:!0,get:function(){return n}}),window.next={version:"14.2.35",appDir:!0},("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},83079:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"callServer",{enumerable:!0,get:function(){return o}});let i=n(12846);async function o(t,r){let n=(0,i.getServerActionDispatcher)();if(!n)throw Error("Invariant: missing action dispatcher.");return new Promise((i,o)=>{n({actionId:t,actionArgs:r,resolve:i,reject:o})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92304:function(t,r,n){"use strict";let i,o;
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hydrate",{enumerable:!0,get:function(){return M}});let a=n(47043),s=n(53099),l=n(57437);n(91572);let u=a._(n(34040)),c=s._(n(2265)),d=n(6671),h=n(48701),f=a._(n(61404)),p=n(83079),m=n(89721),g=n(2103);n(70647);let y=window.console.error;window.console.error=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];(0,m.isNextRouterError)(r[0])||y.apply(window.console,r)},window.addEventListener("error",t=>{if((0,m.isNextRouterError)(t.error)){t.preventDefault();return}});let v=document,b=new TextEncoder,w=!1,_=!1,S=null;function E(t){if(0===t[0])i=[];else if(1===t[0]){if(!i)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(b.encode(t[1])):i.push(t[1])}else 2===t[0]&&(S=t[1])}let A=function(){o&&!_&&(o.close(),_=!0,i=void 0),w=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",A,!1):A();let x=self.__next_f=self.__next_f||[];x.forEach(E),x.push=E;let k=new ReadableStream({start(t){i&&(i.forEach(r=>{t.enqueue(b.encode(r))}),w&&!_&&(t.close(),_=!0,i=void 0)),o=t}}),O=(0,d.createFromReadableStream)(k,{callServer:p.callServer});function P(){return(0,c.use)(O)}let C=c.default.StrictMode;function T(t){let{children:r}=t;return r}function M(){let t=(0,g.createMutableActionQueue)(),r=(0,l.jsx)(C,{children:(0,l.jsx)(h.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(g.ActionQueueContext.Provider,{value:t,children:(0,l.jsx)(T,{children:(0,l.jsx)(P,{})})})})}),n=window.__next_root_layout_missing_tags,i=!!(null==n?void 0:n.length),o={onRecoverableError:f.default};"__next_error__"===document.documentElement.id||i?u.default.createRoot(v,o).render(r):c.default.startTransition(()=>u.default.hydrateRoot(v,r,{...o,formState:S}))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54278:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n(19506),(0,n(75266).appBootstrap)(()=>{let{hydrate:t}=n(92304);n(12846),n(4707),t()}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19506:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n(65157);{let t=n.u;n.u=function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return encodeURI(t(...n))}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90295:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorage",{enumerable:!0,get:function(){return i.actionAsyncStorage}});let i=n(47149);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6495:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AppRouterAnnouncer",{enumerable:!0,get:function(){return s}});let i=n(2265),o=n(54887),a="next-route-announcer";function s(t){let{tree:r}=t,[n,s]=(0,i.useState)(null);(0,i.useEffect)(()=>(s(function(){var t;let r=document.getElementsByName(a)[0];if(null==r?void 0:null==(t=r.shadowRoot)?void 0:t.childNodes[0])return r.shadowRoot.childNodes[0];{let t=document.createElement(a);t.style.cssText="position:absolute";let r=document.createElement("div");return r.ariaLive="assertive",r.id="__next-route-announcer__",r.role="alert",r.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",t.attachShadow({mode:"open"}).appendChild(r),document.body.appendChild(t),r}}()),()=>{let t=document.getElementsByTagName(a)[0];(null==t?void 0:t.isConnected)&&document.body.removeChild(t)}),[]);let[l,u]=(0,i.useState)(""),c=(0,i.useRef)();return(0,i.useEffect)(()=>{let t="";
4if(document.title)t=document.title;else{let r=document.querySelector("h1");r&&(t=r.innerText||r.textContent||"")}void 0!==c.current&&c.current!==t&&u(t),c.current=t},[r]),n?(0,o.createPortal)(l,n):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6866:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ACTION:function(){return i},FLIGHT_PARAMETERS:function(){return u},NEXT_DID_POSTPONE_HEADER:function(){return d},NEXT_ROUTER_PREFETCH_HEADER:function(){return a},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return c},NEXT_URL:function(){return s},RSC_CONTENT_TYPE_HEADER:function(){return l},RSC_HEADER:function(){return n}});let n="RSC",i="Next-Action",o="Next-Router-State-Tree",a="Next-Router-Prefetch",s="Next-Url",l="text/x-component",u=[[n],[o],[a]],c="_rsc",d="x-nextjs-postponed";("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},12846:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{createEmptyCacheNode:function(){return R},default:function(){return F},getServerActionDispatcher:function(){return O},urlToUrlWithoutFlightMarker:function(){return C}});let i=n(53099),o=n(57437),a=i._(n(2265)),s=n(61956),l=n(24673),u=n(33456),c=n(79060),d=n(47744),h=n(61060),f=n(82952),p=n(86146),m=n(1634),g=n(6495),y=n(4123),v=n(39320),b=n(38137),w=n(6866),_=n(35076),S=n(11283),E=n(84541),A="undefined"==typeof window,x=A?null:new Map,k=null;function O(){return k}let P={};function C(t){let r=new URL(t,location.origin);return r.searchParams.delete(w.NEXT_RSC_UNION_QUERY),r}function T(t){return t.origin!==window.location.origin}function M(t){let{appRouterState:r,sync:n}=t;return(0,a.useInsertionEffect)(()=>{let{tree:t,pushRef:i,canonicalUrl:o}=r,a={...i.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:t};i.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==o?(i.pendingPush=!1,window.history.pushState(a,"",o)):window.history.replaceState(a,"",o),n(r)},[r,n]),null}function R(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function I(t){null==t&&(t={});let r=window.history.state,n=null==r?void 0:r.__NA;n&&(t.__NA=n);let i=null==r?void 0:r.__PRIVATE_NEXTJS_INTERNALS_TREE;return i&&(t.__PRIVATE_NEXTJS_INTERNALS_TREE=i),t}function N(t){let{headCacheNode:r}=t,n=null!==r?r.head:null,i=null!==r?r.prefetchHead:null,o=null!==i?i:n;return(0,a.useDeferredValue)(n,o)}function D(t){let r,{buildId:n,initialHead:i,initialTree:u,urlParts:h,initialSeedData:w,couldBeIntercepted:O,assetPrefix:C,missingSlots:R}=t,D=(0,a.useMemo)(()=>(0,f.createInitialRouterState)({buildId:n,initialSeedData:w,urlParts:h,initialTree:u,initialParallelRoutes:x,location:A?null:window.location,initialHead:i,couldBeIntercepted:O}),[n,w,h,u,i,O]),[F,L,$]=(0,d.useReducerWithReduxDevtools)(D);(0,a.useEffect)(()=>{x=null},[]);let{canonicalUrl:j}=(0,d.useUnwrapState)(F),{searchParams:U,pathname:B}=(0,a.useMemo)(()=>{let t=new URL(j,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:t.searchParams,pathname:(0,S.hasBasePath)(t.pathname)?(0,_.removeBasePath)(t.pathname):t.pathname}},[j]),z=(0,a.useCallback)(t=>{let{previousTree:r,serverResponse:n}=t;(0,a.startTransition)(()=>{L({type:l.ACTION_SERVER_PATCH,previousTree:r,serverResponse:n})})},[L]),H=(0,a.useCallback)((t,r,n)=>{let i=new URL((0,m.addBasePath)(t),location.href);return L({type:l.ACTION_NAVIGATE,url:i,isExternalUrl:T(i),locationSearch:location.search,shouldScroll:null==n||n,navigateType:r})},[L]);k=(0,a.useCallback)(t=>{(0,a.startTransition)(()=>{L({...t,type:l.ACTION_SERVER_ACTION})})},[L]);let q=(0,a.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(t,r)=>{let n;if(!(0,p.isBot)(window.navigator.userAgent)){try{n=new URL((0,m.addBasePath)(t),window.location.href)}
4catch(r){throw Error("Cannot prefetch '"+t+"' because it cannot be converted to a URL.")}T(n)||(0,a.startTransition)(()=>{var t;L({type:l.ACTION_PREFETCH,url:n,kind:null!=(t=null==r?void 0:r.kind)?t:l.PrefetchKind.FULL})})}},replace:(t,r)=>{void 0===r&&(r={}),(0,a.startTransition)(()=>{var n;H(t,"replace",null==(n=r.scroll)||n)})},push:(t,r)=>{void 0===r&&(r={}),(0,a.startTransition)(()=>{var n;H(t,"push",null==(n=r.scroll)||n)})},refresh:()=>{(0,a.startTransition)(()=>{L({type:l.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[L,H]);(0,a.useEffect)(()=>{window.next&&(window.next.router=q)},[q]),(0,a.useEffect)(()=>{function t(t){var r;t.persisted&&(null==(r=window.history.state)?void 0:r.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(P.pendingMpaPath=void 0,L({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",t),()=>{window.removeEventListener("pageshow",t)}},[L]);let{pushRef:V}=(0,d.useUnwrapState)(F);if(V.mpaNavigation){if(P.pendingMpaPath!==j){let t=window.location;V.pendingPush?t.assign(j):t.replace(j),P.pendingMpaPath=j}(0,a.use)(b.unresolvedThenable)}(0,a.useEffect)(()=>{let t=window.history.pushState.bind(window.history),r=window.history.replaceState.bind(window.history),n=t=>{var r;let n=window.location.href,i=null==(r=window.history.state)?void 0:r.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,a.startTransition)(()=>{L({type:l.ACTION_RESTORE,url:new URL(null!=t?t:n,n),tree:i})})};window.history.pushState=function(r,i,o){return(null==r?void 0:r.__NA)||(null==r?void 0:r._N)||(r=I(r),o&&n(o)),t(r,i,o)},window.history.replaceState=function(t,i,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=I(t),o&&n(o)),r(t,i,o)};let i=t=>{let{state:r}=t;if(r){if(!r.__NA){window.location.reload();return}(0,a.startTransition)(()=>{L({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:r.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",i),()=>{window.history.pushState=t,window.history.replaceState=r,window.removeEventListener("popstate",i)}},[L]);let{cache:G,tree:W,nextUrl:K,focusAndScrollRef:Y}=(0,d.useUnwrapState)(F),Z=(0,a.useMemo)(()=>(0,v.findHeadInCache)(G,W[1]),[G,W]),X=(0,a.useMemo)(()=>(function t(r,n){for(let i of(void 0===n&&(n={}),Object.values(r[1]))){let r=i[0],o=Array.isArray(r),a=o?r[1]:r;!a||a.startsWith(E.PAGE_SEGMENT_KEY)||(o&&("c"===r[2]||"oc"===r[2])?n[r[0]]=r[1].split("/"):o&&(n[r[0]]=r[1]),n=t(i,n))}return n})(W),[W]);if(null!==Z){let[t,n]=Z;r=(0,o.jsx)(N,{headCacheNode:t},n)}else r=null;let J=(0,o.jsxs)(y.RedirectBoundary,{children:[r,G.rsc,(0,o.jsx)(g.AppRouterAnnouncer,{tree:W})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M,{appRouterState:(0,d.useUnwrapState)(F),sync:$}),(0,o.jsx)(c.PathParamsContext.Provider,{value:X,children:(0,o.jsx)(c.PathnameContext.Provider,{value:B,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:U,children:(0,o.jsx)(s.GlobalLayoutRouterContext.Provider,{value:{buildId:n,changeByServerResponse:z,tree:W,focusAndScrollRef:Y,nextUrl:K},children:(0,o.jsx)(s.AppRouterContext.Provider,{value:q,children:(0,o.jsx)(s.LayoutRouterContext.Provider,{value:{childNodes:G.parallelRoutes,tree:W,url:j,loading:G.loading},children:J})})})})})})]})}function F(t){let{globalErrorComponent:r,...n}=t;return(0,o.jsx)(h.ErrorBoundary,{errorComponent:r,children:(0,o.jsx)(D,{...n})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96149:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"bailoutToClientRendering",{enumerable:!0,get:function(){return a}});let i=n(18993),o=n(51845);function a(t){let r=o.staticGenerationAsyncStorage.getStore();if((null==r||!r.forceStatic)&&(null==r?void 0:r.isStaticGeneration))throw new i.BailoutToCSRError(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19107:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return a}});let i=n(57437),o=n(54535);function a(t){let{Component:r,props:n}=t;return n.searchParams=(0,o.createDynamicallyTrackedSearchParams)(n.searchParams||{}),(0,i.jsx)(r,{...n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61060:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ErrorBoundary:function(){return m},ErrorBoundaryHandler:function(){return h},GlobalError:function(){return f},default:function(){return p}});let i=n(47043),o=n(57437),a=i._(n(2265)),s=n(35475),l=n(89721),u=n(51845),c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function d(t){let{error:r}=t,n=u.staticGenerationAsyncStorage.getStore();if((null==n?void 0:n.isRevalidate)||(null==n?void 0:n.isStaticGeneration))throw r;return null}class h extends a.default.Component{static getDerivedStateFromError(t){if((0,l.isNextRouterError)(t))throw t;return{error:t}}static getDerivedStateFromProps(t,r){return t.pathname!==r.previousPathname&&r.error?{error:null,previousPathname:t.pathname}:{error:r.error,previousPathname:t.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(d,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(t){super(t),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function f(t){let{error:r}=t,n=null==r?void 0:r.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(d,{error:r}),(0,o.jsx)("div",{style:c.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:c.text,children:"Application error: a "+(n?"server":"client")+"-side exception has occurred (see the "+(n?"server logs":"browser console")+" for more information)."}),n?(0,o.jsx)("p",{style:c.text,children:"Digest: "+n}):null]})})]})]})}let p=f;function m(t){let{errorComponent:r,errorStyles:n,errorScripts:i,children:a}=t,l=(0,s.usePathname)();return r?(0,o.jsx)(h,{pathname:l,errorComponent:r,errorStyles:n,errorScripts:i,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},46177:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DynamicServerError:function(){return i},isDynamicServerError:function(){return o}});let n="DYNAMIC_SERVER_USAGE";class i extends Error{constructor(t){super("Dynamic server usage: "+t),this.description=t,this.digest=n}}function o(t){return"object"==typeof t&&null!==t&&"digest"in t&&"string"==typeof t.digest&&t.digest===n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},89721:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return a}});let i=n(98200),o=n(88968);function a(t){return t&&t.digest&&((0,o.isRedirectError)(t)||(0,i.isNotFoundError)(t))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},4707:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return k}});let i=n(47043),o=n(53099),a=n(57437),s=o._(n(2265)),l=i._(n(54887)),u=n(61956),c=n(44848),d=n(38137),h=n(61060),f=n(76015),p=n(7092),m=n(4123),g=n(80),y=n(73171),v=n(78505),b=n(28077),w=["bottom","height","left","right","top","width","x","y"];function _(t,r){let n=t.getBoundingClientRect();return n.top>=0&&n.top<=r}class S extends s.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...t){super(...t),this.handlePotentialScroll=()=>{let{focusAndScrollRef:t,segmentPath:r}=this.props;if(t.apply){var n;if(0!==t.segmentPaths.length&&!t.segmentPaths.some(t=>r.every((r,n)=>(0,f.matchSegment)(r,t[n]))))return;let i=null,o=t.hashFragment;if(o&&(i="top"===o?document.body:null!=(n=document.getElementById(o))?n:document.getElementsByName(o)[0]),i||(i="undefined"==typeof window?null:l.default.findDOMNode(this)),!(i instanceof Element))return;for(;!(i instanceof HTMLElement)||function(t){if(["sticky","fixed"].includes(getComputedStyle(t).position))return!0;let r=t.getBoundingClientRect();return w.every(t=>0===r[t])}(i);){if(null===i.nextElementSibling)return;i=i.nextElementSibling}t.apply=!1,t.hashFragment=null,t.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(o){i.scrollIntoView();return}let t=document.documentElement,r=t.clientHeight;!_(i,r)&&(t.scrollTop=0,_(i,r)||i.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:t.onlyHashChange}),t.onlyHashChange=!1,i.focus()}}}}function E(t){let{segmentPath:r,children:n}=t,i=(0,s.useContext)(u.GlobalLayoutRouterContext);if(!i)throw Error("invariant global layout router not mounted");return(0,a.jsx)(S,{segmentPath:r,focusAndScrollRef:i.focusAndScrollRef,children:n})}function A(t){let{parallelRouterKey:r,url:n,childNodes:i,segmentPath:o,tree:l,cacheKey:h}=t,p=(0,s.useContext)(u.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:m,changeByServerResponse:g,tree:y}=p,v=i.get(h);if(void 0===v){let t={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};v=t,i.set(h,t)}let w=null!==v.prefetchRsc?v.prefetchRsc:v.rsc,_=(0,s.useDeferredValue)(v.rsc,w),S="object"==typeof _&&null!==_&&"function"==typeof _.then?(0,s.use)(_):_;if(!S){let t=v.lazyData;if(null===t){let r=function t(r,n){if(r){let[i,o]=r,a=2===r.length;if((0,f.matchSegment)(n[0],i)&&n[1].hasOwnProperty(o)){if(a){let r=t(void 0,n[1][o]);return[n[0],{...n[1],[o]:[r[0],r[1],r[2],"refetch"]}]}return[n[0],{...n[1],[o]:t(r.slice(2),n[1][o])}]}}return n}(["",...o],y),i=(0,b.hasInterceptionRouteInCurrentTree)(y);v.lazyData=t=(0,c.fetchServerResponse)(new URL(n,location.origin),r,i?p.nextUrl:null,m),v.lazyDataResolved=!1}let r=(0,s.use)(t);v.lazyDataResolved||(setTimeout(()=>{(0,s.startTransition)(()=>{g({previousTree:y,serverResponse:r})})}),v.lazyDataResolved=!0),(0,s.use)(d.unresolvedThenable)}return(0,a.jsx)(u.LayoutRouterContext.Provider,{value:{tree:l[1][r],childNodes:v.parallelRoutes,url:n,loading:v.loading},children:S})}function x(t){let{children:r,hasLoading:n,loading:i,loadingStyles:o,loadingScripts:l}=t;return n?(0,a.jsx)(s.Suspense,{fallback:(0,a.jsxs)(a.Fragment,{children:[o,l,i]}),children:r}):(0,a.jsx)(a.Fragment,{children:r})}function k(t){let{parallelRouterKey:r,segmentPath:n,error:i,errorStyles:o,errorScripts:l,templateStyles:c,templateScripts:d,template:f,notFound:p,notFoundStyles:b}=t,w=(0,s.useContext)(u.LayoutRouterContext);if(!w)throw Error("invariant expected layout router to be mounted");let{childNodes:_,tree:S,url:k,loading:O}=w,P=_.get(r);P||(P=new Map,_.set(r,P));let C=S[1][r][0],T=(0,y.getSegmentValue)(C),M=[C];return(0,a.jsx)(a.Fragment,{children:M.map(t=>{let s=(0,y.getSegmentValue)(t),w=(0,v.createRouterCacheKey)(t);return(0,a.jsxs)(u.TemplateContext.Provider,{value:(0,a.jsx)(E,{segmentPath:n,children:(0,a.jsx)(h.ErrorBoundary,{errorComponent:i,errorStyles:o,errorScripts:l,children:(0,a.jsx)(x,{hasLoading:!!O,loading:null==O?void 0:O[0],loadingStyles:null==O?void 0:O[1],loadingScripts:null==O?void 0:O[2],children:(0,a.jsx)(g.NotFoundBoundary,{notFound:p,notFoundStyles:b,children:(0,a.jsx)(m.RedirectBoundary,{children:(0,a.jsx)(A,{parallelRouterKey:r,url:k,tree:S,childNodes:P,segmentPath:n,cacheKey:w,isActive:T===s})})})})})}),children:[c,d,f]},(0,v.createRouterCacheKey)(t,!0))})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76015:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{canSegmentBeOverridden:function(){return a},matchSegment:function(){return o}});let i=n(87417),o=(t,r)=>"string"==typeof t?"string"==typeof r&&t===r:"string"!=typeof r&&t[0]===r[0]&&t[1]===r[1],a=(t,r)=>{var n;return!Array.isArray(t)&&!!Array.isArray(r)&&(null==(n=(0,i.getSegmentParam)(t))?void 0:n.param)===r[0]};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},35475:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return p},usePathname:function(){return h},useRouter:function(){return f},useSearchParams:function(){return d},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return m},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let i=n(2265),o=n(61956),a=n(79060),s=n(73171),l=n(84541),u=n(52646),c=n(55501);function d(){let t=(0,i.useContext)(a.SearchParamsContext),r=(0,i.useMemo)(()=>t?new u.ReadonlyURLSearchParams(t):null,[t]);if("undefined"==typeof window){let{bailoutToClientRendering:t}=n(96149);t("useSearchParams()")}return r}function h(){return(0,i.useContext)(a.PathnameContext)}function f(){let t=(0,i.useContext)(o.AppRouterContext);if(null===t)throw Error("invariant expected app router to be mounted");return t}function p(){return(0,i.useContext)(a.PathParamsContext)}function m(t){void 0===t&&(t="children");let r=(0,i.useContext)(o.LayoutRouterContext);return r?function t(r,n,i,o){let a;if(void 0===i&&(i=!0),void 0===o&&(o=[]),i)a=r[1][n];else{var u;let t=r[1];a=null!=(u=t.children)?u:Object.values(t)[0]}if(!a)return o;let c=a[0],d=(0,s.getSegmentValue)(c);return!d||d.startsWith(l.PAGE_SEGMENT_KEY)?o:(o.push(d),t(a,n,!1,o))}(r.tree,t):null}function g(t){void 0===t&&(t="children");let r=m(t);if(!r||0===r.length)return null;let n="children"===t?r[0]:r[r.length-1];return n===l.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},52646:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ReadonlyURLSearchParams:function(){return s},RedirectType:function(){return i.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect}});let i=n(88968),o=n(98200);class a extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class s extends URLSearchParams{append(){throw new a}delete(){throw new a}set(){throw new a}sort(){throw new a}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},80:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NotFoundBoundary",{enumerable:!0,get:function(){return d}});let i=n(53099),o=n(57437),a=i._(n(2265)),s=n(35475),l=n(98200);n(31765);let u=n(61956);class c extends a.default.Component{componentDidCatch(){}static getDerivedStateFromError(t){if((0,l.isNotFoundError)(t))return{notFoundTriggered:!0};throw t}static getDerivedStateFromProps(t,r){return t.pathname!==r.previousPathname&&r.notFoundTriggered?{notFoundTriggered:!1,previousPathname:t.pathname}:{notFoundTriggered:r.notFoundTriggered,previousPathname:t.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(t){super(t),this.state={notFoundTriggered:!!t.asNotFound,previousPathname:t.pathname}}}function d(t){let{notFound:r,notFoundStyles:n,asNotFound:i,children:l}=t,d=(0,s.usePathname)(),h=(0,a.useContext)(u.MissingSlotContext);return r?(0,o.jsx)(c,{pathname:d,notFound:r,notFoundStyles:n,asNotFound:i,missingSlots:h,children:l}):(0,o.jsx)(o.Fragment,{children:l})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},98200:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{isNotFoundError:function(){return o},notFound:function(){return i}});let n="NEXT_NOT_FOUND";function i(){let t=Error(n);throw t.digest=n,t}function o(t){return"object"==typeof t&&null!==t&&"digest"in t&&t.digest===n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},29744:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PromiseQueue",{enumerable:!0,get:function(){return c}});let i=n(2522),o=n(90675);var a=o._("_maxConcurrency"),s=o._("_runningCount"),l=o._("_queue"),u=o._("_processNext");class c{enqueue(t){let r,n;let o=new Promise((t,i)=>{r=t,n=i}),a=async()=>{try{i._(this,s)[s]++;let n=await t();r(n)}catch(t){n(t)}finally{i._(this,s)[s]--,i._(this,u)[u]()}};return i._(this,l)[l].push({promiseFn:o,task:a}),i._(this,u)[u](),o}bump(t){let r=i._(this,l)[l].findIndex(r=>r.promiseFn===t);if(r>-1){let t=i._(this,l)[l].splice(r,1)[0];i._(this,l)[l].unshift(t),i._(this,u)[u](!0)}}constructor(t=5){Object.defineProperty(this,u,{value:d}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,s,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),i._(this,a)[a]=t,i._(this,s)[s]=0,i._(this,l)[l]=[]}}function d(t){if(void 0===t&&(t=!1),(i._(this,s)[s]<i._(this,a)[a]||t)&&i._(this,l)[l].length>0){var r;null==(r=i._(this,l)[l].shift())||r.task()}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},4123:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{RedirectBoundary:function(){return d},RedirectErrorBoundary:function(){return c}});let i=n(53099),o=n(57437),a=i._(n(2265)),s=n(35475),l=n(88968);function u(t){let{redirect:r,reset:n,redirectType:i}=t,o=(0,s.useRouter)();return(0,a.useEffect)(()=>{a.default.startTransition(()=>{i===l.RedirectType.push?o.push(r,{}):o.replace(r,{}),n()})},[r,i,n,o]),null}class c extends a.default.Component{static getDerivedStateFromError(t){if((0,l.isRedirectError)(t))return{redirect:(0,l.getURLFromRedirectError)(t),redirectType:(0,l.getRedirectTypeFromError)(t)};throw t}render(){let{redirect:t,redirectType:r}=this.state;return null!==t&&null!==r?(0,o.jsx)(u,{redirect:t,redirectType:r,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(t){super(t),this.state={redirect:null,redirectType:null}}}function d(t){let{children:r}=t,n=(0,s.useRouter)();return(0,o.jsx)(c,{router:n,children:r})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},5001:function(t,r){"use strict";var n,i;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(i=n||(n={}))[i.SeeOther=303]="SeeOther",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88968:function(t,r,n){"use strict";var i,o;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{RedirectType:function(){return i},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return g},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return p},isRedirectError:function(){return f},permanentRedirect:function(){return h},redirect:function(){return d}});let a=n(20544),s=n(90295),l=n(5001),u="NEXT_REDIRECT";function c(t,r,n){void 0===n&&(n=l.RedirectStatusCode.TemporaryRedirect);let i=Error(u);i.digest=u+";"+r+";"+t+";"+n+";";let o=a.requestAsyncStorage.getStore();return o&&(i.mutableCookies=o.mutableCookies),i}function d(t,r){void 0===r&&(r="replace");let n=s.actionAsyncStorage.getStore();throw c(t,r,(null==n?void 0:n.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.TemporaryRedirect)}function h(t,r){void 0===r&&(r="replace");let n=s.actionAsyncStorage.getStore();throw c(t,r,(null==n?void 0:n.isAction)?l.RedirectStatusCode.SeeOther:l.RedirectStatusCode.PermanentRedirect)}function f(t){if("object"!=typeof t||null===t||!("digest"in t)||"string"!=typeof t.digest)return!1;let[r,n,i,o]=t.digest.split(";",4),a=Number(o);
4return r===u&&("replace"===n||"push"===n)&&"string"==typeof i&&!isNaN(a)&&a in l.RedirectStatusCode}function p(t){return f(t)?t.digest.split(";",3)[2]:null}function m(t){if(!f(t))throw Error("Not a redirect error");return t.digest.split(";",2)[1]}function g(t){if(!f(t))throw Error("Not a redirect error");return Number(t.digest.split(";",4)[3])}(o=i||(i={})).push="push",o.replace="replace",("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},36423:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let i=n(53099),o=n(57437),a=i._(n(2265)),s=n(61956);function l(){let t=(0,a.useContext)(s.TemplateContext);return(0,o.jsx)(o.Fragment,{children:t})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},20544:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return i.requestAsyncStorage}});let i=n(25575);function o(t){let r=i.requestAsyncStorage.getStore();if(r)return r;throw Error("`"+t+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},22356:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"applyFlightData",{enumerable:!0,get:function(){return a}});let i=n(27420),o=n(92576);function a(t,r,n,a){let[s,l,u]=n.slice(-3);if(null===l)return!1;if(3===n.length){let n=l[2],o=l[3];r.loading=o,r.rsc=n,r.prefetchRsc=null,(0,i.fillLazyItemsTillLeafWithHead)(r,t,s,l,u,a)}else r.rsc=t.rsc,r.prefetchRsc=t.prefetchRsc,r.parallelRoutes=new Map(t.parallelRoutes),r.loading=t.loading,(0,o.fillCacheWithNewSubTreeData)(r,t,n,a);return!0}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81935:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function t(r,n,i,l){let u;let[c,d,h,f,p]=n;if(1===r.length){let t=s(n,i,r);return(0,a.addRefreshMarkerToActiveParallelSegments)(t,l),t}let[m,g]=r;if(!(0,o.matchSegment)(m,c))return null;if(2===r.length)u=s(d[g],i,r);else if(null===(u=t(r.slice(2),d[g],i,l)))return null;let y=[r[0],{...d,[g]:u},h,f];return p&&(y[4]=!0),(0,a.addRefreshMarkerToActiveParallelSegments)(y,l),y}}});let i=n(84541),o=n(76015),a=n(50232);function s(t,r,n){let[a,l]=t,[u,c]=r;if(u===i.DEFAULT_SEGMENT_KEY&&a!==i.DEFAULT_SEGMENT_KEY)return t;if((0,o.matchSegment)(a,u)){let r={};for(let t in l)void 0!==c[t]?r[t]=s(l[t],c[t],n):r[t]=l[t];for(let t in c)r[t]||(r[t]=c[t]);let i=[a,r];return t[2]&&(i[2]=t[2]),t[3]&&(i[3]=t[3]),t[4]&&(i[4]=t[4]),i}return r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65556:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function t(r,n,o){let a=o.length<=2,[s,l]=o,u=(0,i.createRouterCacheKey)(l),c=n.parallelRoutes.get(s),d=r.parallelRoutes.get(s);d&&d!==c||(d=new Map(c),r.parallelRoutes.set(s,d));let h=null==c?void 0:c.get(u),f=d.get(u);if(a){f&&f.lazyData&&f!==h||d.set(u,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!f||!h){f||d.set(u,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return f===h&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved,loading:f.loading},d.set(u,f)),t(f,h,o.slice(2))}}});let i=n(78505);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},5410:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{computeChangedPath:function(){return d},extractPathFromFlightRouterState:function(){return c}});let i=n(91182),o=n(84541),a=n(76015),s=t=>"/"===t[0]?t.slice(1):t,l=t=>"string"==typeof t?"children"===t?"":t:t[1];function u(t){return t.reduce((t,r)=>""===(r=s(r))||(0,o.isGroupSegment)(r)?t:t+"/"+r,"")||"/"}function c(t){var r;let n=Array.isArray(t[0])?t[0][1]:t[0];if(n===o.DEFAULT_SEGMENT_KEY||i.INTERCEPTION_ROUTE_MARKERS.some(t=>n.startsWith(t)))return;if(n.startsWith(o.PAGE_SEGMENT_KEY))return"";let a=[l(n)],s=null!=(r=t[1])?r:{},d=s.children?c(s.children):void 0;if(void 0!==d)a.push(d);else for(let[t,r]of Object.entries(s)){if("children"===t)continue;let n=c(r);void 0!==n&&a.push(n)}return u(a)}function d(t,r){let n=function t(r,n){let[o,s]=r,[u,d]=n,h=l(o),f=l(u);if(i.INTERCEPTION_ROUTE_MARKERS.some(t=>h.startsWith(t)||f.startsWith(t)))return"";if(!(0,a.matchSegment)(o,u)){var p;return null!=(p=c(n))?p:""}for(let r in s)if(d[r]){let n=t(s[r],d[r]);if(null!==n)return l(u)+"/"+n}return null}(t,r);return null==n||"/"===n?n:u(n.split("/"))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},33456:function(t,r){"use strict";function n(t,r){return void 0===r&&(r=!0),t.pathname+t.search+(r?t.hash:"")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82952:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let i=n(33456),o=n(27420),a=n(5410),s=n(60305),l=n(24673),u=n(50232);function c(t){var r;let{buildId:n,initialTree:c,initialSeedData:d,urlParts:h,initialParallelRoutes:f,location:p,initialHead:m,couldBeIntercepted:g}=t,y=h.join("/"),v=!p,b={lazyData:null,rsc:d[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:v?new Map:f,lazyDataResolved:!1,loading:d[3]},w=p?(0,i.createHrefFromUrl)(p):y;(0,u.addRefreshMarkerToActiveParallelSegments)(c,w);let _=new Map;(null===f||0===f.size)&&(0,o.fillLazyItemsTillLeafWithHead)(b,void 0,c,d,m);let S={buildId:n,tree:c,cache:b,prefetchCache:_,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:w,nextUrl:null!=(r=(0,a.extractPathFromFlightRouterState)(c)||(null==p?void 0:p.pathname))?r:null};if(p){let t=new URL(""+p.pathname+p.search,p.origin),r=[["",c,null,null]];(0,s.createPrefetchCacheEntryForInitialLoad)({url:t,kind:l.PrefetchKind.AUTO,data:[r,void 0,!1,g],tree:S.tree,prefetchCache:S.prefetchCache,nextUrl:S.nextUrl})}return S}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78505:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let i=n(84541);function o(t,r){return(void 0===r&&(r=!1),Array.isArray(t))?t[0]+"|"+t[1]+"|"+t[2]:r&&t.startsWith(i.PAGE_SEGMENT_KEY)?i.PAGE_SEGMENT_KEY:t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44848:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"fetchServerResponse",{enumerable:!0,get:function(){return h}});let i=n(6866),o=n(12846),a=n(83079),s=n(24673),l=n(37207),u=n(91311),{createFromFetch:c}=n(6671);function d(t){return[(0,o.urlToUrlWithoutFlightMarker)(t).toString(),void 0,!1,!1]}async function h(t,r,n,h,f){let p={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_STATE_TREE]:(0,u.prepareFlightRouterStateForRequest)(r)};f===s.PrefetchKind.AUTO&&(p[i.NEXT_ROUTER_PREFETCH_HEADER]="1"),n&&(p[i.NEXT_URL]=n);let m=(0,l.hexHash)([p[i.NEXT_ROUTER_PREFETCH_HEADER]||"0",p[i.NEXT_ROUTER_STATE_TREE],p[i.NEXT_URL]].join(","));try{var g;let r=new URL(t);r.searchParams.set(i.NEXT_RSC_UNION_QUERY,m);let n=await fetch(r,{credentials:"same-origin",headers:p}),s=(0,o.urlToUrlWithoutFlightMarker)(n.url),l=n.redirected?s:void 0,u=n.headers.get("content-type")||"",f=!!n.headers.get(i.NEXT_DID_POSTPONE_HEADER),y=!!(null==(g=n.headers.get("vary"))?void 0:g.includes(i.NEXT_URL));
4if(u!==i.RSC_CONTENT_TYPE_HEADER||!n.ok)return t.hash&&(s.hash=t.hash),d(s.toString());let[v,b]=await c(Promise.resolve(n),{callServer:a.callServer});if(h!==v)return d(n.url);return[b,l,f,y]}catch(r){return[t.toString(),void 0,!1,!1]}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92576:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function t(r,n,s,l){let u=s.length<=5,[c,d]=s,h=(0,a.createRouterCacheKey)(d),f=n.parallelRoutes.get(c);if(!f)return;let p=r.parallelRoutes.get(c);p&&p!==f||(p=new Map(f),r.parallelRoutes.set(c,p));let m=f.get(h),g=p.get(h);if(u){if(!g||!g.lazyData||g===m){let t=s[3];g={lazyData:null,rsc:t[2],prefetchRsc:null,head:null,prefetchHead:null,loading:t[3],parallelRoutes:m?new Map(m.parallelRoutes):new Map,lazyDataResolved:!1},m&&(0,i.invalidateCacheByRouterState)(g,m,s[2]),(0,o.fillLazyItemsTillLeafWithHead)(g,m,s[2],t,s[4],l),p.set(h,g)}return}g&&m&&(g===m&&(g={lazyData:g.lazyData,rsc:g.rsc,prefetchRsc:g.prefetchRsc,head:g.head,prefetchHead:g.prefetchHead,parallelRoutes:new Map(g.parallelRoutes),lazyDataResolved:!1,loading:g.loading},p.set(h,g)),t(g,m,s.slice(2),l))}}});let i=n(94377),o=n(27420),a=n(78505);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27420:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function t(r,n,a,s,l,u){if(0===Object.keys(a[1]).length){r.head=l;return}for(let c in a[1]){let d;let h=a[1][c],f=h[0],p=(0,i.createRouterCacheKey)(f),m=null!==s&&void 0!==s[1][c]?s[1][c]:null;if(n){let i=n.parallelRoutes.get(c);if(i){let n;let a=(null==u?void 0:u.kind)==="auto"&&u.status===o.PrefetchCacheEntryStatus.reusable,s=new Map(i),d=s.get(p);n=null!==m?{lazyData:null,rsc:m[2],prefetchRsc:null,head:null,prefetchHead:null,loading:m[3],parallelRoutes:new Map(null==d?void 0:d.parallelRoutes),lazyDataResolved:!1}:a&&d?{lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),lazyDataResolved:d.lazyDataResolved,loading:d.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==d?void 0:d.parallelRoutes),lazyDataResolved:!1,loading:null},s.set(p,n),t(n,d,h,m||null,l,u),r.parallelRoutes.set(c,s);continue}}if(null!==m){let t=m[2],r=m[3];d={lazyData:null,rsc:t,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:r}}else d={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let g=r.parallelRoutes.get(c);g?g.set(p,d):r.parallelRoutes.set(c,new Map([[p,d]])),t(d,void 0,h,m,l,u)}}}});let i=n(78505),o=n(24673);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44510:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleMutable",{enumerable:!0,get:function(){return a}});let i=n(5410);function o(t){return void 0!==t}function a(t,r){var n,a,s;let l=null==(a=r.shouldScroll)||a,u=t.nextUrl;if(o(r.patchedTree)){let n=(0,i.computeChangedPath)(t.tree,r.patchedTree);n?u=n:u||(u=t.canonicalUrl)}return{buildId:t.buildId,canonicalUrl:o(r.canonicalUrl)?r.canonicalUrl===t.canonicalUrl?t.canonicalUrl:r.canonicalUrl:t.canonicalUrl,pushRef:{pendingPush:o(r.pendingPush)?r.pendingPush:t.pushRef.pendingPush,mpaNavigation:o(r.mpaNavigation)?r.mpaNavigation:t.pushRef.mpaNavigation,preserveCustomHistoryState:o(r.preserveCustomHistoryState)?r.preserveCustomHistoryState:t.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!l&&(!!o(null==r?void 0:r.scrollableSegments)||t.focu
4sAndScrollRef.apply),onlyHashChange:!!r.hashFragment&&t.canonicalUrl.split("#",1)[0]===(null==(n=r.canonicalUrl)?void 0:n.split("#",1)[0]),hashFragment:l?r.hashFragment&&""!==r.hashFragment?decodeURIComponent(r.hashFragment.slice(1)):t.focusAndScrollRef.hashFragment:null,segmentPaths:l?null!=(s=null==r?void 0:r.scrollableSegments)?s:t.focusAndScrollRef.segmentPaths:[]},cache:r.cache?r.cache:t.cache,prefetchCache:r.prefetchCache?r.prefetchCache:t.prefetchCache,tree:o(r.patchedTree)?r.patchedTree:t.tree,nextUrl:u}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77831:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let i=n(95967);function o(t,r,n){return(0,i.handleExternalUrl)(t,{},t.canonicalUrl,!0)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77058:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function t(r,n,o){let a=o.length<=2,[s,l]=o,u=(0,i.createRouterCacheKey)(l),c=n.parallelRoutes.get(s);if(!c)return;let d=r.parallelRoutes.get(s);if(d&&d!==c||(d=new Map(c),r.parallelRoutes.set(s,d)),a){d.delete(u);return}let h=c.get(u),f=d.get(u);f&&h&&(f===h&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved},d.set(u,f)),t(f,h,o.slice(2)))}}});let i=n(78505);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94377:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let i=n(78505);function o(t,r,n){for(let o in n[1]){let a=n[1][o][0],s=(0,i.createRouterCacheKey)(a),l=r.parallelRoutes.get(o);if(l){let r=new Map(l);r.delete(s),t.parallelRoutes.set(o,r)}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63237:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function t(r,n){let i=r[0],o=n[0];if(Array.isArray(i)&&Array.isArray(o)){if(i[0]!==o[0]||i[2]!==o[2])return!0}else if(i!==o)return!0;if(r[4])return!n[4];if(n[4])return!0;let a=Object.values(r[1])[0],s=Object.values(n[1])[0];return!a||!s||t(a,s)}}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56118:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{abortTask:function(){return c},listenForDynamicRequest:function(){return l},updateCacheNodeOnNavigation:function(){return function t(r,n,l,c,d){let h=n[1],f=l[1],p=c[1],m=r.parallelRoutes,g=new Map(m),y={},v=null;for(let r in f){let n;let l=f[r],c=h[r],b=m.get(r),w=p[r],_=l[0],S=(0,a.createRouterCacheKey)(_),E=void 0!==c?c[0]:void 0,A=void 0!==b?b.get(S):void 0;if(null!==(n=_===i.PAGE_SEGMENT_KEY?s(l,void 0!==w?w:null,d):_===i.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,children:null}:s(l,void 0!==w?w:null,d):void 0!==E&&(0,o.matchSegment)(_,E)&&void 0!==A&&void 0!==c?null!=w?t(A,c,l,w,d):function(t){let r=u(t,null,null);return{route:t,node:r,children:null}}(l):s(l,void 0!==w?w:null,d))){null===v&&(v=new Map),v.set(r,n);let t=n.node;if(null!==t){let n=new Map(b);n.set(S,t),g.set(r,n)}y[r]=n.route}else y[r]=l}if(null===v)return null;let b={lazyData:null,rsc:r.rsc,prefetchRsc:r.prefetchRsc,head:r.head,prefetchHead:r.prefetchHead,loading:r.loading,parallelRoutes:g,lazyDataResolved:!1};return{route:function(t,r){let n=[t[0],r];return 2 in t&&(n[2]=t[2]),3 in t&&(n[3]=t[3]),4 in t&&(n[4]=t[4]),n}(l,y),node:b,children:v}}},updateCacheNodeOnPopstateRestoration:function(){return function t(r,n){let i=n[1],o=r.parallelRoutes,s=new Map(o);for(let r in i){let n=i[r],l=n[0],u=(0,a.createRouterCacheKey)(l),c=o.get(r);if(void 0!==c){let i=c.get(u);if(void 0!==i){let o=t(i,n),a=new Map(c);a.set(u,o),s.set(r,a)}}}let l=r.rsc,u=f(l)&&"pending"===l.status;return{lazyData:null,rsc:l,head:r.head,prefetchHead:u?r.prefetchHead:null,prefetchRsc:u?r.prefetchRsc:null,loading:u?r.loading:null,parallelRoutes:s,lazyDataResolved:!1}}}});let i=n(84541),o=n(76015),a=n(78505);function s(t,r,n){let i=u(t,r,n);return{route:t,node:i,children:null}}function l(t,r){r.then(r=>{for(let n of r[0]){let r=n.slice(0,-3),i=n[n.length-3],s=n[n.length-2],l=n[n.length-1];"string"!=typeof r&&function(t,r,n,i,s){let l=t;for(let t=0;t<r.length;t+=2){let n=r[t],i=r[t+1],a=l.children;if(null!==a){let t=a.get(n);if(void 0!==t){let r=t.route[0];if((0,o.matchSegment)(i,r)){l=t;continue}}}return}!function t(r,n,i,s){let l=r.children,u=r.node;if(null===l){null!==u&&(function t(r,n,i,s,l){let u=n[1],c=i[1],h=s[1],p=r.parallelRoutes;for(let r in u){let n=u[r],i=c[r],s=h[r],f=p.get(r),m=n[0],g=(0,a.createRouterCacheKey)(m),y=void 0!==f?f.get(g):void 0;void 0!==y&&(void 0!==i&&(0,o.matchSegment)(m,i[0])&&null!=s?t(y,n,i,s,l):d(n,y,null))}let m=r.rsc,g=s[2];null===m?r.rsc=g:f(m)&&m.resolve(g);let y=r.head;f(y)&&y.resolve(l)}(u,r.route,n,i,s),r.node=null);return}let c=n[1],h=i[1];for(let r in n){let n=c[r],i=h[r],a=l.get(r);if(void 0!==a){let r=a.route[0];if((0,o.matchSegment)(n[0],r)&&null!=i)return t(a,n,i,s)}}}(l,n,i,s)}(t,r,i,s,l)}c(t,null)},r=>{c(t,r)})}function u(t,r,n){let i=t[1],o=null!==r?r[1]:null,s=new Map;for(let t in i){let r=i[t],l=null!==o?o[t]:null,c=r[0],d=(0,a.createRouterCacheKey)(c),h=u(r,void 0===l?null:l,n),f=new Map;f.set(d,h),s.set(t,f)}let l=0===s.size,c=null!==r?r[2]:null,d=null!==r?r[3]:null;return{lazyData:null,parallelRoutes:s,prefetchRsc:void 0!==c?c:null,prefetchHead:l?n:null,loading:void 0!==d?d:null,rsc:p(),head:l?p():null,lazyDataResolved:!1}}function c(t,r){let n=t.node;if(null===n)return;let i=t.children;if(null===i)d(t.route,n,r);else for(let t of i.values())c(t,r);t.node=null}function d(t,r,n){let i=t[1],o=r.parallelRoutes;for(let t in i){let r=i[t],s=o.get(t);if(void 0===s)continue;let l=r[0],u=(0,a.createRouterCacheKey)(l),c=s.get(u);void 0!==c&&d(r,c,n)}let s=r.rsc;f(s)&&(null===n?s.resolve(null):s.reject(n));let l=r.head;f(l)&&l.resolve(null)}let h=Symbol();function f(t){return t&&t.tag===h}function p(){let t,r;let n=new Promise((n,i)=>{t=n,r=i});return n.status="pending",n.resolve=r=>{"pending"===n.status&&(n.status="fulfilled",n.value=r,t(r))},n.reject=t=>{"pending"===n.status&&(n.status="rejected",n.reason=t,r(t))},n.tag=h,n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60305:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{createPrefetchCacheEntryForInitialLoad:function(){return c},getOrCreatePrefetchCacheEntry:function(){return u},prunePrefetchCache:function(){return h}});let i=n(33456),o=n(44848),a=n(24673),s=n(24819);function l(t,r){let n=(0,i.createHrefFromUrl)(t,!1);return r?r+"%"+n:n}function u(t){let r,{url:n,nextUrl:i,tree:o,buildId:s,prefetchCache:u,kind:c}=t,h=l(n,i),f=u.get(h);if(f)r=f;else{let t=l(n),i=u.get(t);i&&(r=i)}return r?(r.status=m(r),r.kind!==a.PrefetchKind.FULL&&c===a.PrefetchKind.FULL)?d({tree:o,url:n,buildId:s,nextUrl:i,prefetchCache:u,kind:null!=c?c:a.PrefetchKind.TEMPORARY}):(c&&r.kind===a.PrefetchKind.TEMPORARY&&(r.kind=c),r):d({tree:o,url:n,buildId:s,nextUrl:i,prefetchCache:u,kind:c||a.PrefetchKind.TEMPORARY})}function c(t){let{nextUrl:r,tree:n,prefetchCache:i,url:o,kind:s,data:u}=t,[,,,c]=u,d=c?l(o,r):l(o),h={treeAtTimeOfPrefetch:n,data:Promise.resolve(u),kind:s,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:d,status:a.PrefetchCacheEntryStatus.fresh};return i.set(d,h),h}function d(t){let{url:r,kind:n,tree:i,nextUrl:u,buildId:c,prefetchCache:d}=t,h=l(r),f=s.prefetchQueue.enqueue(()=>(0,o.fetchServerResponse)(r,i,u,c,n).then(t=>{let[,,,n]=t;return n&&function(t){let{url:r,nextUrl:n,prefetchCache:i}=t,o=l(r),a=i.get(o);if(!a)return;let s=l(r,n);i.set(s,a),i.delete(o)}({url:r,nextUrl:u,prefetchCache:d}),t})),p={treeAtTimeOfPrefetch:i,data:f,kind:n,prefetchTime:Date.now(),lastUsedTime:null,key:h,status:a.PrefetchCacheEntryStatus.fresh};return d.set(h,p),p}function h(t){for(let[r,n]of t)m(n)===a.PrefetchCacheEntryStatus.expired&&t.delete(r)}let f=1e3*Number("30"),p=1e3*Number("300");function m(t){let{kind:r,prefetchTime:n,lastUsedTime:i}=t;return Date.now()<(null!=i?i:n)+f?i?a.PrefetchCacheEntryStatus.reusable:a.PrefetchCacheEntryStatus.fresh:"auto"===r&&Date.now()<n+p?a.PrefetchCacheEntryStatus.stale:"full"===r&&Date.now()<n+p?a.PrefetchCacheEntryStatus.reusable:a.PrefetchCacheEntryStatus.expired}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44529:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"fastRefreshReducer",{enumerable:!0,get:function(){return i}}),n(44848),n(33456),n(81935),n(63237),n(95967),n(44510),n(22356),n(12846),n(77831),n(28077);let i=function(t,r){return t};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39320:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findHeadInCache",{enumerable:!0,get:function(){return o}});let i=n(78505);function o(t,r){return function t(r,n,o){if(0===Object.keys(n).length)return[r,o];for(let a in n){let[s,l]=n[a],u=r.parallelRoutes.get(a);if(!u)continue;let c=(0,i.createRouterCacheKey)(s),d=u.get(c);if(!d)continue;let h=t(d,l,o+"/"+c);if(h)return h}return null}(t,r,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73171:function(t,r){"use strict";function n(t){return Array.isArray(t)?t[1]:t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28077:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function t(r){let[n,o]=r;if(Array.isArray(n)&&("di"===n[2]||"ci"===n[2])||"string"==typeof n&&(0,i.isInterceptionRouteAppPath)(n))return!0;
4if(o){for(let r in o)if(t(o[r]))return!0}return!1}}});let i=n(91182);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95967:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{handleExternalUrl:function(){return y},navigateReducer:function(){return b}}),n(44848);let i=n(33456),o=n(77058),a=n(81935),s=n(53728),l=n(63237),u=n(24673),c=n(44510),d=n(22356),h=n(24819),f=n(12846),p=n(84541);n(56118);let m=n(60305),g=n(65556);function y(t,r,n,i){return r.mpaNavigation=!0,r.canonicalUrl=n,r.pendingPush=i,r.scrollableSegments=void 0,(0,c.handleMutable)(t,r)}function v(t){let r=[],[n,i]=t;if(0===Object.keys(i).length)return[[n]];for(let[t,o]of Object.entries(i))for(let i of v(o))""===n?r.push([t,...i]):r.push([n,t,...i]);return r}let b=function(t,r){let{url:n,isExternalUrl:b,navigateType:w,shouldScroll:_}=r,S={},{hash:E}=n,A=(0,i.createHrefFromUrl)(n),x="push"===w;if((0,m.prunePrefetchCache)(t.prefetchCache),S.preserveCustomHistoryState=!1,b)return y(t,S,n.toString(),x);let k=(0,m.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:t.nextUrl,tree:t.tree,buildId:t.buildId,prefetchCache:t.prefetchCache}),{treeAtTimeOfPrefetch:O,data:P}=k;return h.prefetchQueue.bump(P),P.then(r=>{let[n,h]=r,m=!1;if(k.lastUsedTime||(k.lastUsedTime=Date.now(),m=!0),"string"==typeof n)return y(t,S,n,x);if(document.getElementById("__next-page-redirect"))return y(t,S,A,x);let b=t.tree,w=t.cache,P=[];for(let r of n){let n=r.slice(0,-4),i=r.slice(-3)[0],c=["",...n],h=(0,a.applyRouterStatePatchToTree)(c,b,i,A);if(null===h&&(h=(0,a.applyRouterStatePatchToTree)(c,O,i,A)),null!==h){if((0,l.isNavigatingToNewRootLayout)(b,h))return y(t,S,A,x);let a=(0,f.createEmptyCacheNode)(),_=!1;for(let t of(k.status!==u.PrefetchCacheEntryStatus.stale||m?_=(0,d.applyFlightData)(w,a,r,k):(_=function(t,r,n,i){let o=!1;for(let a of(t.rsc=r.rsc,t.prefetchRsc=r.prefetchRsc,t.loading=r.loading,t.parallelRoutes=new Map(r.parallelRoutes),v(i).map(t=>[...n,...t])))(0,g.clearCacheNodeDataForSegmentPath)(t,r,a),o=!0;return o}(a,w,n,i),k.lastUsedTime=Date.now()),(0,s.shouldHardNavigate)(c,b)?(a.rsc=w.rsc,a.prefetchRsc=w.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(a,w,n),S.cache=a):_&&(S.cache=a,w=a),b=h,v(i))){let r=[...n,...t];r[r.length-1]!==p.DEFAULT_SEGMENT_KEY&&P.push(r)}}}return S.patchedTree=b,S.canonicalUrl=h?(0,i.createHrefFromUrl)(h):A,S.pendingPush=x,S.scrollableSegments=P,S.hashFragment=E,S.shouldScroll=_,(0,c.handleMutable)(t,S)},()=>t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24819:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{prefetchQueue:function(){return s},prefetchReducer:function(){return l}});let i=n(6866),o=n(29744),a=n(60305),s=new o.PromiseQueue(5);function l(t,r){(0,a.prunePrefetchCache)(t.prefetchCache);let{url:n}=r;return n.searchParams.delete(i.NEXT_RSC_UNION_QUERY),(0,a.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:t.nextUrl,prefetchCache:t.prefetchCache,kind:r.kind,tree:t.tree,buildId:t.buildId}),t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99601:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"refreshReducer",{enumerable:!0,get:function(){return m}});let i=n(44848),o=n(33456),a=n(81935),s=n(63237),l=n(95967),u=n(44510),c=n(27420),d=n(12846),h=n(77831),f=n(28077),p=n(50232);function m(t,r){let{origin:n}=r,m={},g=t.canonicalUrl,y=t.tree;m.preserveCustomHistoryState=!1;let v=(0,d.createEmptyCacheNode)(),b=(0,f.hasInterceptionRouteInCurrentTree)(t.tree);return v.lazyData=(0,i.fetchServerResponse)(new URL(g,n),[y[0],y[1],y[2],"refetch"],b?t.nextUrl:null,t.buildId),v.lazyData.then(async n=>{let[i,d]=n;if("string"==typeof i)return(0,l.handleExternalUrl)(t,m,i,t.pushRef.pendingPush);for(let n of(v.lazyData=null,i)){if(3!==n.length)return t;let[i]=n,u=(0,a.applyRouterStatePatchToTree)([""],y,i,t.canonicalUrl);
4if(null===u)return(0,h.handleSegmentMismatch)(t,r,i);if((0,s.isNavigatingToNewRootLayout)(y,u))return(0,l.handleExternalUrl)(t,m,g,t.pushRef.pendingPush);let f=d?(0,o.createHrefFromUrl)(d):void 0;d&&(m.canonicalUrl=f);let[w,_]=n.slice(-2);if(null!==w){let t=w[2];v.rsc=t,v.prefetchRsc=null,(0,c.fillLazyItemsTillLeafWithHead)(v,void 0,i,w,_),m.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:t,updatedTree:u,updatedCache:v,includeNextUrl:b,canonicalUrl:m.canonicalUrl||t.canonicalUrl}),m.cache=v,m.patchedTree=u,m.canonicalUrl=g,y=u}return(0,u.handleMutable)(t,m)},()=>t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77784:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"restoreReducer",{enumerable:!0,get:function(){return a}});let i=n(33456),o=n(5410);function a(t,r){var n;let{url:a,tree:s}=r,l=(0,i.createHrefFromUrl)(a),u=s||t.tree,c=t.cache;return{buildId:t.buildId,canonicalUrl:l,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:t.focusAndScrollRef,cache:c,prefetchCache:t.prefetchCache,tree:u,nextUrl:null!=(n=(0,o.extractPathFromFlightRouterState)(u))?n:a.pathname}}n(56118),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13722:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverActionReducer",{enumerable:!0,get:function(){return _}});let i=n(83079),o=n(6866),a=n(1634),s=n(33456),l=n(95967),u=n(81935),c=n(63237),d=n(44510),h=n(27420),f=n(12846),p=n(28077),m=n(77831),g=n(50232),y=n(91311),{createFromFetch:v,encodeReply:b}=n(6671);async function w(t,r,n){let s,{actionId:l,actionArgs:u}=n,c=await b(u),d=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:l,[o.NEXT_ROUTER_STATE_TREE]:(0,y.prepareFlightRouterStateForRequest)(t.tree),...r?{[o.NEXT_URL]:r}:{}},body:c}),h=d.headers.get("x-action-redirect");try{let t=JSON.parse(d.headers.get("x-action-revalidated")||"[[],0,0]");s={paths:t[0]||[],tag:!!t[1],cookie:t[2]}}catch(t){s={paths:[],tag:!1,cookie:!1}}let f=h?new URL((0,a.addBasePath)(h),new URL(t.canonicalUrl,window.location.href)):void 0;if(d.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let t=await v(Promise.resolve(d),{callServer:i.callServer});if(h){let[,r]=null!=t?t:[];return{actionFlightData:r,redirectLocation:f,revalidatedParts:s}}let[r,[,n]]=null!=t?t:[];return{actionResult:r,actionFlightData:n,redirectLocation:f,revalidatedParts:s}}return{redirectLocation:f,revalidatedParts:s}}function _(t,r){let{resolve:n,reject:i}=r,o={},a=t.canonicalUrl,y=t.tree;o.preserveCustomHistoryState=!1;let v=t.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(t.tree)?t.nextUrl:null;return o.inFlightServerAction=w(t,v,r),o.inFlightServerAction.then(async i=>{let{actionResult:p,actionFlightData:b,redirectLocation:w}=i;if(w&&(t.pushRef.pendingPush=!0,o.pendingPush=!0),!b)return(n(p),w)?(0,l.handleExternalUrl)(t,o,w.href,t.pushRef.pendingPush):t;if("string"==typeof b)return(0,l.handleExternalUrl)(t,o,b,t.pushRef.pendingPush);if(o.inFlightServerAction=null,w){let t=(0,s.createHrefFromUrl)(w,!1);o.canonicalUrl=t}for(let n of b){if(3!==n.length)return t;let[i]=n,d=(0,u.applyRouterStatePatchToTree)([""],y,i,w?(0,s.createHrefFromUrl)(w):t.canonicalUrl);if(null===d)return(0,m.handleSegmentMismatch)(t,r,i);if((0,c.isNavigatingToNewRootLayout)(y,d))return(0,l.handleExternalUrl)(t,o,a,t.pushRef.pendingPush);let[p,b]=n.slice(-2),_=null!==p?p[2]:null;if(null!==_){let r=(0,f.createEmptyCacheNode)();r.rsc=_,r.prefetchRsc=null,(0,h.fillLazyItemsTillLeafWithHead)(r,void 0,i,p,b),await (0,g.refreshInactiveParallelSegments)({state:t,updatedTree:d,updatedCache:r,includeNextUrl:!!v,canonicalUrl:o.canonicalUrl||t.canonicalUrl}),o.cache=r,o.prefetchCache=new Map}o.patchedTree=d,y=d}return n(p),(0,d.handleMutable)(t,o)},r=>(i(r),t))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68448:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverPatchReducer",{enumerable:!0,get:function(){return h}});let i=n(33456),o=n(81935),a=n(63237),s=n(95967),l=n(22356),u=n(44510),c=n(12846),d=n(77831);function h(t,r){let{serverResponse:n}=r,[h,f]=n,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof h)return(0,s.handleExternalUrl)(t,p,h,t.pushRef.pendingPush);let m=t.tree,g=t.cache;for(let n of h){let u=n.slice(0,-4),[h]=n.slice(-3,-2),y=(0,o.applyRouterStatePatchToTree)(["",...u],m,h,t.canonicalUrl);if(null===y)return(0,d.handleSegmentMismatch)(t,r,h);if((0,a.isNavigatingToNewRootLayout)(m,y))return(0,s.handleExternalUrl)(t,p,t.canonicalUrl,t.pushRef.pendingPush);let v=f?(0,i.createHrefFromUrl)(f):void 0;v&&(p.canonicalUrl=v);let b=(0,c.createEmptyCacheNode)();(0,l.applyFlightData)(g,b,n),p.patchedTree=y,p.cache=b,g=b,m=y}return(0,u.handleMutable)(t,p)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},50232:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{addRefreshMarkerToActiveParallelSegments:function(){return function t(r,n){let[i,o,,s]=r;for(let l in i.includes(a.PAGE_SEGMENT_KEY)&&"refresh"!==s&&(r[2]=n,r[3]="refresh"),o)t(o[l],n)}},refreshInactiveParallelSegments:function(){return s}});let i=n(22356),o=n(44848),a=n(84541);async function s(t){let r=new Set;await l({...t,rootTree:t.updatedTree,fetchedSegments:r})}async function l(t){let{state:r,updatedTree:n,updatedCache:a,includeNextUrl:s,fetchedSegments:u,rootTree:c=n,canonicalUrl:d}=t,[,h,f,p]=n,m=[];if(f&&f!==d&&"refresh"===p&&!u.has(f)){u.add(f);let t=(0,o.fetchServerResponse)(new URL(f,location.origin),[c[0],c[1],c[2],"refetch"],s?r.nextUrl:null,r.buildId).then(t=>{let r=t[0];if("string"!=typeof r)for(let t of r)(0,i.applyFlightData)(a,a,t)});m.push(t)}for(let t in h){let n=l({state:r,updatedTree:h[t],updatedCache:a,includeNextUrl:s,fetchedSegments:u,rootTree:c,canonicalUrl:d});m.push(n)}await Promise.all(m)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},24673:function(t,r){"use strict";var n,i,o,a;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ACTION_FAST_REFRESH:function(){return h},ACTION_NAVIGATE:function(){return l},ACTION_PREFETCH:function(){return d},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return i},PrefetchKind:function(){return n},isThenable:function(){return p}});let s="refresh",l="navigate",u="restore",c="server-patch",d="prefetch",h="fast-refresh",f="server-action";function p(t){return t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(a=i||(i={})).fresh="fresh",a.reusable="reusable",a.expired="expired",a.stale="stale",("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91450:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reducer",{enumerable:!0,get:function(){return h}});let i=n(24673),o=n(95967),a=n(68448),s=n(77784),l=n(99601),u=n(24819),c=n(44529),d=n(13722),h="undefined"==typeof window?function(t,r){return t}:function(t,r){switch(r.type){case i.ACTION_NAVIGATE:return(0,o.navigateReducer)(t,r);case i.ACTION_SERVER_PATCH:return(0,a.serverPatchReducer)(t,r);case i.ACTION_RESTORE:return(0,s.restoreReducer)(t,r);case i.ACTION_REFRESH:return(0,l.refreshReducer)(t,r);case i.ACTION_FAST_REFRESH:return(0,c.fastRefreshReducer)(t,r);case i.ACTION_PREFETCH:return(0,u.prefetchReducer)(t,r);case i.ACTION_SERVER_ACTION:return(0,d.serverActionReducer)(t,r);default:throw Error("Unknown action")}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},53728:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"shouldHardNavigate",{enumerable:!0,get:function(){return function t(r,n){let[o,a]=n,[s,l]=r;return(0,i.matchSegment)(s,o)?!(r.length<=2)&&t(r.slice(2),a[l]):!!Array.isArray(s)}}});let i=n(76015);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54535:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{createDynamicallyTrackedSearchParams:function(){return l},createUntrackedSearchParams:function(){return s}});let i=n(51845),o=n(86999),a=n(30650);function s(t){let r=i.staticGenerationAsyncStorage.getStore();return r&&r.forceStatic?{}:t}function l(t){let r=i.staticGenerationAsyncStorage.getStore();return r?r.forceStatic?{}:r.isStaticGeneration||r.dynamicShouldError?new Proxy({},{get:(t,n,i)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(r,"searchParams."+n),a.ReflectAdapter.get(t,n,i)),has:(t,n)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(r,"searchParams."+n),Reflect.has(t,n)),ownKeys:t=>((0,o.trackDynamicDataAccessed)(r,"searchParams"),Reflect.ownKeys(t))}):t:t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51845:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return i.staticGenerationAsyncStorage}});let i=n(20030);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},36864:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{StaticGenBailoutError:function(){return i},isStaticGenBailoutError:function(){return o}});let n="NEXT_STATIC_GEN_BAILOUT";class i extends Error{constructor(...t){super(...t),this.code=n}}function o(t){return"object"==typeof t&&null!==t&&"code"in t&&t.code===n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},38137:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},47744:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{useReducerWithReduxDevtools:function(){return u},useUnwrapState:function(){return l}});let i=n(53099)._(n(2265)),o=n(24673),a=n(2103);function s(t){if(t instanceof Map){let r={};for(let[n,i]of t.entries()){if("function"==typeof i){r[n]="fn()";continue}if("object"==typeof i&&null!==i){if(i.$$typeof){r[n]=i.$$typeof.toString();continue}if(i._bundlerConfig){r[n]="FlightData";continue}}r[n]=s(i)}return r}if("object"==typeof t&&null!==t){let r={};for(let n in t){let i=t[n];if("function"==typeof i){r[n]="fn()";continue}if("object"==typeof i&&null!==i){if(i.$$typeof){r[n]=i.$$typeof.toString();continue}if(i.hasOwnProperty("_bundlerConfig")){r[n]="FlightData";continue}}r[n]=s(i)}return r}return Array.isArray(t)?t.map(s):t}function l(t){return(0,o.isThenable)(t)?(0,i.use)(t):t}let u="undefined"!=typeof window?function(t){let[r,n]=i.default.useState(t),o=(0,i.useContext)(a.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let l=(0,i.useRef)(),u=(0,i.useRef)();return(0,i.useEffect)(()=>
4{if(!l.current&&!1!==u.current){if(void 0===u.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){u.current=!1;return}return l.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),l.current&&(l.current.init(s(t)),o&&(o.devToolsInstance=l.current)),()=>{l.current=void 0}}},[t,o]),[r,(0,i.useCallback)(r=>{o.state||(o.state=t),o.dispatch(r,n)},[o,t]),(0,i.useCallback)(t=>{l.current&&l.current.send({type:"RENDER_SYNC"},s(t))},[])]}:function(t){return[t,()=>{},()=>{}]};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91311:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"prepareFlightRouterStateForRequest",{enumerable:!0,get:function(){return o}});let i=n(84541);function o(t,r){return r?encodeURIComponent(JSON.stringify(t)):encodeURIComponent(JSON.stringify(function t(r){let[n,o,,a,s]=r,l="string"==typeof n&&n.startsWith(i.PAGE_SEGMENT_KEY+"?")?i.PAGE_SEGMENT_KEY:n,u={};for(let[r,n]of Object.entries(o))u[r]=t(n);let c=[l,u,null,a&&"refresh"!==a?a:null];return void 0!==s&&(c[4]=s),c}(t)))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56958:function(t,r,n){"use strict";function i(t,r,n,i){return!1}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return i}}),n(33068),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},11283:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasBasePath",{enumerable:!0,get:function(){return o}});let i=n(10580);function o(t){return(0,i.pathHasPrefix)(t,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65878:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let i=n(47043),o=n(53099),a=n(57437),s=o._(n(2265)),l=i._(n(54887)),u=i._(n(38293)),c=n(55346),d=n(90128),h=n(62589);n(31765);let f=n(25523),p=i._(n(5084)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(t,r,n,i,o,a,s){let l=null==t?void 0:t.src;t&&t["data-loaded-src"]!==l&&(t["data-loaded-src"]=l,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==r&&o(!0),null==n?void 0:n.current){let r=new Event("load");Object.defineProperty(r,"target",{writable:!1,value:t});let i=!1,o=!1;n.current({...r,nativeEvent:r,currentTarget:t,target:t,isDefaultPrevented:()=>i,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{i=!0,r.preventDefault()},stopPropagation:()=>{o=!0,r.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(t)}}))}function y(t){return s.use?{fetchPriority:t}:{fetchpriority:t}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,s.forwardRef)((t,r)=>{let{src:n,srcSet:i,sizes:o,height:l,width:u,decoding:c,className:d,style:h,fetchPriority:f,placeholder:p,loading:m,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:_,setBlurComplete:S,setShowAltText:E,sizesInput:A,onLoad:x,onError:k,...O}=t;return(0,a.jsx)("img",{...O,...y(f),loading:m,width:u,height:l,decoding:c,"data-nimg":b?"fill":"1",className:d,style:h,sizes:o,srcSet:i,src:n,ref:(0,s.useCallback)(t=>{r&&("function"==typeof r?r(t):"object"==typeof r&&(r.current=t)),t&&(k&&(t.src=t.src),t.complete&&g(t,p,w,_,S,v,A))},[n,p,w,_,S,k,v,A,r]),onLoad:t=>{g(t.currentTarget,p,w,_,S,v,A)},onError:t=>{E(!0),"empty"!==p&&S(!0),k&&k(t)}})});function b(t){let{isAppRouter:r,imgAttributes:n}=t,i={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...y(n.fetchPriority)};return r&&l.default.preload?(l.default.preload(n.src,i),null):(0,a.jsx)(u.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...i},"__nimg-"+n.src+n.srcSet+n.sizes)})}let w=(0,s.forwardRef)((t,r)=>{let n=(0,s.useContext)(f.RouterContext),i=(0,s.useContext)(h.ImageConfigContext),o=(0,s.useMemo)(()=>{var t;let r=m||i||d.imageConfigDefault,n=[...r.deviceSizes,...r.imageSizes].sort((t,r)=>t-r),o=r.deviceSizes.sort((t,r)=>t-r),a=null==(t=r.qualities)?void 0:t.sort((t,r)=>t-r);return{...r,allSizes:n,deviceSizes:o,qualities:a}},[i]),{onLoad:l,onLoadingComplete:u}=t,g=(0,s.useRef)(l);(0,s.useEffect)(()=>{g.current=l},[l]);let y=(0,s.useRef)(u);(0,s.useEffect)(()=>{y.current=u},[u]);
4let[w,_]=(0,s.useState)(!1),[S,E]=(0,s.useState)(!1),{props:A,meta:x}=(0,c.getImgProps)(t,{defaultLoader:p.default,imgConf:o,blurComplete:w,showAltText:S});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...A,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:g,onLoadingCompleteRef:y,setBlurComplete:_,setShowAltText:E,sizesInput:t.sizes,ref:r}),x.priority?(0,a.jsx)(b,{isAppRouter:!n,imgAttributes:A}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72972:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return _}});let i=n(47043),o=n(57437),a=i._(n(2265)),s=n(19847),l=n(53552),u=n(57497),c=n(3987),d=n(55449),h=n(25523),f=n(61956),p=n(16081),m=n(56958),g=n(1634),y=n(24673),v=new Set;function b(t,r,n,i,o,a){if("undefined"!=typeof window&&(a||(0,l.isLocalURL)(r))){if(!i.bypassPrefetchedCheck){let o=r+"%"+n+"%"+(void 0!==i.locale?i.locale:"locale"in t?t.locale:void 0);if(v.has(o))return;v.add(o)}(async()=>a?t.prefetch(r,o):t.prefetch(r,n,i))().catch(t=>{})}}function w(t){return"string"==typeof t?t:(0,u.formatUrl)(t)}let _=a.default.forwardRef(function(t,r){let n,i;let{href:u,as:v,children:_,prefetch:S=null,passHref:E,replace:A,shallow:x,scroll:k,locale:O,onClick:P,onMouseEnter:C,onTouchStart:T,legacyBehavior:M=!1,...R}=t;n=_,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let I=a.default.useContext(h.RouterContext),N=a.default.useContext(f.AppRouterContext),D=null!=I?I:N,F=!I,L=!1!==S,$=null===S?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:j,as:U}=a.default.useMemo(()=>{if(!I){let t=w(u);return{href:t,as:v?w(v):t}}let[t,r]=(0,s.resolveHref)(I,u,!0);return{href:t,as:v?(0,s.resolveHref)(I,v):r||t}},[I,u,v]),B=a.default.useRef(j),z=a.default.useRef(U);M&&(i=a.default.Children.only(n));let H=M?i&&"object"==typeof i&&i.ref:r,[q,V,G]=(0,p.useIntersection)({rootMargin:"200px"}),W=a.default.useCallback(t=>{(z.current!==U||B.current!==j)&&(G(),z.current=U,B.current=j),q(t),H&&("function"==typeof H?H(t):"object"==typeof H&&(H.current=t))},[U,H,j,G,q]);a.default.useEffect(()=>{D&&V&&L&&b(D,j,U,{locale:O},{kind:$},F)},[U,j,V,O,L,null==I?void 0:I.locale,D,F,$]);let K={ref:W,onClick(t){M||"function"!=typeof P||P(t),M&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),D&&!t.defaultPrevented&&function(t,r,n,i,o,s,u,c,d){let{nodeName:h}=t.currentTarget;if("A"===h.toUpperCase()&&(function(t){let r=t.currentTarget.getAttribute("target");return r&&"_self"!==r||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!d&&!(0,l.isLocalURL)(n)))return;t.preventDefault();let f=()=>{let t=null==u||u;"beforePopState"in r?r[o?"replace":"push"](n,i,{shallow:s,locale:c,scroll:t}):r[o?"replace":"push"](i||n,{scroll:t})};d?a.default.startTransition(f):f()}(t,D,j,U,A,x,k,O,F)},onMouseEnter(t){M||"function"!=typeof C||C(t),M&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(t),D&&(L||!F)&&b(D,j,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:$},F)},onTouchStart:function(t){M||"function"!=typeof T||T(t),M&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(t),D&&(L||!F)&&b(D,j,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:$},F)}};if((0,c.isAbsoluteUrl)(U))K.href=U;else if(!M||E||"a"===i.type&&!("href"in i.props)){let t=void 0!==O?O:null==I?void 0:I.locale,r=(null==I?void 0:I.isLocaleDomain)&&(0,m.getDomainLocale)(U,t,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);K.href=r||(0,g.addBasePath)((0,d.addLocale)(U,t,null==I?void 0:I.defaultLocale))}return M?a.default.cloneElement(i,K):(0,o.jsx)("a",{...R,...K,children:n})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},33068:function(t,r,n){"use strict";
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let i=n(26674),o=n(63381),a=t=>{if(!t.startsWith("/"))return t;let{pathname:r,query:n,hash:a}=(0,o.parsePath)(t);return/\.[^/]+\/?$/.test(r)?""+(0,i.removeTrailingSlash)(r)+n+a:r.endsWith("/")?""+r+n+a:r+"/"+n+a};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61404:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let i=n(18993);function o(t){let r="function"==typeof reportError?reportError:t=>{window.console.error(t)};(0,i.isBailoutToCSRError)(t)||r(t)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},35076:function(t,r,n){"use strict";function i(t){return t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return i}}),n(11283),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63515:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let r=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19847:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveHref",{enumerable:!0,get:function(){return h}});let i=n(48637),o=n(57497),a=n(17053),s=n(3987),l=n(33068),u=n(53552),c=n(86279),d=n(37205);function h(t,r,n){let h;let f="string"==typeof r?r:(0,o.formatWithValidation)(r),p=f.match(/^[a-zA-Z]{1,}:\/\//),m=p?f.slice(p[0].length):f;if((m.split("?",1)[0]||"").match(/(\/\/|\\)/)){let t=(0,s.normalizeRepeatedSlashes)(m);f=(p?p[0]:"")+t}if(!(0,u.isLocalURL)(f))return n?[f]:f;try{h=new URL(f.startsWith("#")?t.asPath:t.pathname,"http://n")}catch(t){h=new URL("/","http://n")}try{let t=new URL(f,h);t.pathname=(0,l.normalizePathTrailingSlash)(t.pathname);let r="";if((0,c.isDynamicRoute)(t.pathname)&&t.searchParams&&n){let n=(0,i.searchParamsToUrlQuery)(t.searchParams),{result:s,params:l}=(0,d.interpolateAs)(t.pathname,t.pathname,n);s&&(r=(0,o.formatWithValidation)({pathname:s,hash:t.hash,query:(0,a.omit)(n,l)}))}let s=t.origin===h.origin?t.href.slice(t.origin.length):t.href;return n?[s,r||s]:s}catch(t){return n?[f]:f}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},16081:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return u}});let i=n(2265),o=n(63515),a="function"==typeof IntersectionObserver,s=new Map,l=[];function u(t){let{rootRef:r,rootMargin:n,disabled:u}=t,c=u||!a,[d,h]=(0,i.useState)(!1),f=(0,i.useRef)(null),p=(0,i.useCallback)(t=>{f.current=t},[]);return(0,i.useEffect)(()=>{if(a){if(c||d)return;let t=f.current;if(t&&t.tagName)return function(t,r,n){let{id:i,observer:o,elements:a}=function(t){let r;let n={root:t.root||null,margin:t.rootMargin||""},i=l.find(t=>t.root===n.root&&t.margin===n.margin);if(i&&(r=s.get(i)))return r;let o=new Map;return r={id:n,observer:new IntersectionObserver(t=>{t.forEach(t=>{let r=o.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;r&&n&&r(n)})},t),elements:o},l.push(n),s.set(n,r),r}(n);return a.set(t,r),o.observe(t),function(){if(a.delete(t),o.unobserve(t),0===a.size){o.disconnect(),s.delete(i);let t=l.findIndex(t=>t.root===i.root&&t.margin===i.margin);t>-1&&l.splice(t,1)}}}(t,t=>t&&h(t),{root:null==r?void 0:r.current,rootMargin:n})}else if(!d){let t=(0,o.requestIdleCallback)(()=>h(!0));return()=>(0,o.cancelIdleCallback)(t)}},[c,n,r,d,f.current]),[p,d,(0,i.useCallback)(()=>{h(!1)},[])]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90776:function(t){!function(){"use strict";var r={114:function(t){function r(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,r){for(var n,i="",o=0,a=-1,s=0,l=0;l<=t.length;++l){if(l<t.length)n=t.charCodeAt(l);else if(47===n)break;else n=47;if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2)){if(i.length>2){var u=i.lastIndexOf("/");if(u!==i.length-1){-1===u?(i="",o=0):o=(i=i.slice(0,u)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(2===i.length||1===i.length){i="",o=0,a=l,s=0;continue}}r&&(i.length>0?i+="/..":i="..",o=2)}else i.length>0?i+="/"+t.slice(a+1,l):i=t.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var t,i,o="",a=!1,s=arguments.length-1;s>=-1&&!a;s--)s>=0?i=arguments[s]:(void 0===t&&(t=""),i=t),r(i),0!==i.length&&(o=i+"/"+o,a=47===i.charCodeAt(0));return(o=n(o,!a),a)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(t){if(r(t),0===t.length)return".";var i=47===t.charCodeAt(0),o=47===t.charCodeAt(t.length-1);return(0!==(t=n(t,!i)).length||i||(t="."),t.length>0&&o&&(t+="/"),i)?"/"+t:t},isAbsolute:function(t){return r(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var o=arguments[n];r(o),o.length>0&&(void 0===t?t=o:t+="/"+o)}return void 0===t?".":i.normalize(t)},relative:function(t,n){if(r(t),r(n),t===n||(t=i.resolve(t))===(n=i.resolve(n)))return"";for(var o=1;o<t.length&&47===t.charCodeAt(o);++o);for(var a=t.length,s=a-o,l=1;l<n.length&&47===n.charCodeAt(l);++l);for(var u=n.length-l,c=s<u?s:u,d=-1,h=0;h<=c;++h){if(h===c){if(u>c){if(47===n.charCodeAt(l+h))return n.slice(l+h+1);if(0===h)return n.slice(l+h)}else s>c&&(47===t.charCodeAt(o+h)?d=h:0===h&&(d=0));break}var f=t.charCodeAt(o+h);if(f!==n.charCodeAt(l+h))break;47===f&&(d=h)}var p="";for(h=o+d+1;h<=a;++h)(h===a||47===t.charCodeAt(h))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(l+d):(l+=d,47===n.charCodeAt(l)&&++l,n.slice(l))},_makeLong:function(t){return t},dirname:function(t){if(r(t),0===t.length)return".";for(var n=t.charCodeAt(0),i=47===n,o=-1,a=!0,s=t.length-1;s>=1;--s)if(47===(n=t.charCodeAt(s))){if(!a){o=s;break}}else a=!1;return -1===o?i?"/":".":i&&1===o?"//":t.slice(0,o)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');r(t);var i,o=0,a=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var l=n.length-1,u=-1;for(i=t.length-1;i>=0;--i){var c=t.charCodeAt(i);if(47===c){if(!s){o=i+1;break}}else -1===u&&(s=!1,u=i+1),l>=0&&(c===n.charCodeAt(l)?-1==--l&&(a=i):(l=-1,a=u))}return o===a?a=u:-1===a&&(a=t.length),t.slice(o,a)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!s){o=i+1;break}}else -1===a&&(s=!1,a=i+1);return -1===a?"":t.slice(o,a)},extname:function(t){r(t);for(var n=-1,i=0,o=-1,a=!0,s=0,l=t.length-1;l>=0;--l){var u=t.charCodeAt(l);if(47===u){if(!a){i=l+1;break}continue}-1===o&&(a=!1,o=l+1),46===u?-1===n?n=l:1!==s&&(s=1):-1!==n&&(s=-1)}return -1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":t.slice(n,o)},format:function(t){var r,n;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||""),r?r===t.root?r+n:r+"/"+n:n},parse:function(t){r(t);var n,i={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return i;var o=t.charCodeAt(0),a=47===o;a?(i.root="/",n=1):n=0;for(var s=-1,l=0,u=-1,c=!0,d=t.length-1,h=0;d>=n;
4--d){if(47===(o=t.charCodeAt(d))){if(!c){l=d+1;break}continue}-1===u&&(c=!1,u=d+1),46===o?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}return -1===s||-1===u||0===h||1===h&&s===u-1&&s===l+1?-1!==u&&(0===l&&a?i.base=i.name=t.slice(1,u):i.base=i.name=t.slice(l,u)):(0===l&&a?(i.name=t.slice(1,s),i.base=t.slice(1,u)):(i.name=t.slice(l,s),i.base=t.slice(l,u)),i.ext=t.slice(s,u)),l>0?i.dir=t.slice(0,l-1):a&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i}},n={};function i(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}},s=!0;try{r[t](a,a.exports,i),s=!1}finally{s&&delete n[t]}return a.exports}i.ab="//";var o=i(114);t.exports=o}()},44227:function(t){!function(){var r={229:function(t){var r,n,i,o=t.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function l(t){if(r===setTimeout)return setTimeout(t,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(n){try{return r.call(null,t,0)}catch(n){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(t){r=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(t){n=s}}();var u=[],c=!1,d=-1;function h(){c&&i&&(c=!1,i.length?u=i.concat(u):d=-1,u.length&&f())}function f(){if(!c){var t=l(h);c=!0;for(var r=u.length;r;){for(i=u,u=[];++d<r;)i&&i[d].run();d=-1,r=u.length}i=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(r){try{return n.call(null,t)}catch(r){return n.call(this,t)}}}(t)}}function p(t,r){this.fun=t,this.array=r}function m(){}o.nextTick=function(t){var r=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)r[n-1]=arguments[n];u.push(new p(t,r)),1!==u.length||c||l(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function i(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}},s=!0;try{r[t](a,a.exports,i),s=!1}finally{s&&delete n[t]}return a.exports}i.ab="//";var o=i(229);t.exports=o}()},12010:function(t,r){"use strict";function n(t,r){var n=t.length;for(t.push(r);0<n;){var i=n-1>>>1,o=t[i];if(0<a(o,r))t[i]=r,t[n]=o,n=i;else break}}function i(t){return 0===t.length?null:t[0]}function o(t){if(0===t.length)return null;var r=t[0],n=t.pop();if(n!==r){t[0]=n;for(var i=0,o=t.length,s=o>>>1;i<s;){var l=2*(i+1)-1,u=t[l],c=l+1,d=t[c];if(0>a(u,n))c<o&&0>a(d,u)?(t[i]=d,t[c]=n,i=c):(t[i]=u,t[l]=n,i=l);else if(c<o&&0>a(d,n))t[i]=d,t[c]=n,i=c;else break}}return r}function a(t,r){var n=t.sortIndex-r.sortIndex;return 0!==n?n:t.id-r.id}if(r.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s,l=performance;r.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();r.unstable_now=function(){return u.now()-c}}var d=[],h=[],f=1,p=null,m=3,g=!1,y=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,_="undefined"!=typeof setImmediate?setImmediate:null;function S(t){for(var r=i(h);null!==r;){if(null===r.callback)o(h);else if(r.startTime<=t)o(h),r.sortIndex=r.expirationTime,n(d,r);else break;r=i(h)}}function E(t){if(v=!1,S(t),!y){if(null!==i(d))y=!0,R();else{var r=i(h);null!==r&&I(E,r.startTime-t)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A=!1,x=-1,k=5,O=-1;function P(){return!(r.unstable_now()-O<k)}function C(){if(A){var t=r.unstable_now();O=t;var n=!0;try{e:{y=!1,v&&(v=!1,w(x),x=-1),g=!0;var a=m;try{t:{for(S(t),p=i(d);null!==p&&!(p.expirationTime>t&&P());){var l=p.callback;if("function"==typeof l){p.callback=null,m=p.priorityLevel;var u=l(p.expirationTime<=t);if(t=r.unstable_now(),"function"==typeof u){p.callback=u,S(t),n=!0;break t}p===i(d)&&o(d),S(t)}else o(d);p=i(d)}if(null!==p)n=!0;else{var c=i(h);null!==c&&I(E,c.startTime-t),n=!1}}break e}finally{p=null,m=a,g=!1}n=void 0}}finally{n?s():A=!1}}}if("function"==typeof _)s=function(){_(C)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,M=T.port2;T.port1.onmessage=C,s=function(){M.postMessage(null)}}else s=function(){b(C,0)};function R(){A||(A=!0,s())}function I(t,n){x=b(function(){t(r.unstable_now())},n)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(t){t.callback=null},r.unstable_continueExecution=function(){y||g||(y=!0,R())},r.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<t?Math.floor(1e3/t):5},r.unstable_getCurrentPriorityLevel=function(){return m},r.unstable_getFirstCallbackNode=function(){return i(d)},r.unstable_next=function(t){switch(m){case 1:case 2:case 3:var r=3;break;default:r=m}var n=m;m=r;try{return t()}finally{m=n}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(t,r){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=m;m=t;try{return r()}finally{m=n}},r.unstable_scheduleCallback=function(t,o,a){var s=r.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,t){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}
4return l=a+l,t={id:f++,callback:o,priorityLevel:t,startTime:a,expirationTime:l,sortIndex:-1},a>s?(t.sortIndex=a,n(h,t),null===i(d)&&t===i(h)&&(v?(w(x),x=-1):v=!0,I(E,a-s))):(t.sortIndex=l,n(d,t),y||g||(y=!0,R())),t},r.unstable_shouldYield=P,r.unstable_wrapCallback=function(t){var r=m;return function(){var n=m;m=r;try{return t.apply(this,arguments)}finally{m=n}}}},71767:function(t,r,n){"use strict";t.exports=n(12010)},19259:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ACTION_SUFFIX:function(){return u},APP_DIR_ALIAS:function(){return P},CACHE_ONE_YEAR:function(){return _},DOT_NEXT_ALIAS:function(){return k},ESLINT_DEFAULT_DIRS:function(){return G},GSP_NO_RETURNED_VALUE:function(){return U},GSSP_COMPONENT_MEMBER_ERROR:function(){return H},GSSP_NO_RETURNED_VALUE:function(){return B},INSTRUMENTATION_HOOK_FILENAME:function(){return A},MIDDLEWARE_FILENAME:function(){return S},MIDDLEWARE_LOCATION_REGEXP:function(){return E},NEXT_BODY_SUFFIX:function(){return h},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return w},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return m},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return g},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return p},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return b},NEXT_CACHE_TAGS_HEADER:function(){return f},NEXT_CACHE_TAG_MAX_ITEMS:function(){return y},NEXT_CACHE_TAG_MAX_LENGTH:function(){return v},NEXT_DATA_SUFFIX:function(){return c},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return n},NON_STANDARD_NODE_ENV:function(){return q},PAGES_DIR_ALIAS:function(){return x},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return N},ROOT_DIR_ALIAS:function(){return O},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return I},RSC_ACTION_ENCRYPTION_ALIAS:function(){return R},RSC_ACTION_PROXY_ALIAS:function(){return M},RSC_ACTION_VALIDATE_ALIAS:function(){return T},RSC_MOD_REF_PROXY_ALIAS:function(){return C},RSC_PREFETCH_SUFFIX:function(){return s},RSC_SUFFIX:function(){return l},SERVER_PROPS_EXPORT_ERROR:function(){return j},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return F},SERVER_PROPS_SSG_CONFLICT:function(){return L},SERVER_RUNTIME:function(){return W},SSG_FALLBACK_EXPORT_ERROR:function(){return V},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return D},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return $},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return z},WEBPACK_LAYERS:function(){return Y},WEBPACK_RESOURCE_QUERIES:function(){return Z}});let n="nxtP",i="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",s=".prefetch.rsc",l=".rsc",u=".action",c=".json",d=".meta",h=".body",f="x-next-cache-tags",p="x-next-cache-soft-tags",m="x-next-revalidated-tags",g="x-next-revalidate-tag-token",y=128,v=256,b=1024,w="_N_T_",_=31536e3,S="middleware",E=`(?:src/)?${S}`,A="instrumentation",x="private-next-pages",k="private-dot-next",O="private-next-root-dir",P="private-next-app-dir",C="private-next-rsc-mod-ref-proxy",T="private-next-rsc-action-validate",M="private-next-rsc-server-reference",R="private-next-rsc-action-encryption",I="private-next-rsc-action-client-wrapper",N="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",D="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",F="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",L="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",$="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",j="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",U="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",B="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",z="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",H="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",q='You are using a non-standard "NODE_ENV" value in y
4our environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',V="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",G=["app","pages","components","lib","src"],W={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},K={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},Y={...K,GROUP:{serverOnly:[K.reactServerComponents,K.actionBrowser,K.appMetadataRoute,K.appRouteHandler,K.instrument],clientOnly:[K.serverSideRendering,K.appPagesBrowser],nonClientServerTarget:[K.middleware,K.api],app:[K.reactServerComponents,K.actionBrowser,K.appMetadataRoute,K.appRouteHandler,K.serverSideRendering,K.appPagesBrowser,K.shared,K.instrument]}},Z={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},60934:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getPathname:function(){return i},isFullStringUrl:function(){return o},parseUrl:function(){return a}});let n="http://n";function i(t){return new URL(t,n).pathname}function o(t){return/https?:\/\//.test(t)}function a(t){let r;try{r=new URL(t,n)}catch{}return r}},86999:function(t,r,n){"use strict";var i;Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{Postpone:function(){return f},createPostponedAbortSignal:function(){return b},createPrerenderState:function(){return c},formatDynamicAPIAccesses:function(){return y},markCurrentScopeAsDynamic:function(){return d},trackDynamicDataAccessed:function(){return h},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return g}});let o=(i=n(2265))&&i.__esModule?i:{default:i},a=n(46177),s=n(36864),l=n(60934),u="function"==typeof o.default.unstable_postpone;function c(t){return{isDebugSkeleton:t,dynamicAccesses:[]}}function d(t,r){let n=(0,l.getPathname)(t.urlPathname);if(!t.isUnstableCacheCallback){if(t.dynamicShouldError)throw new s.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t.prerenderState)m(t.prerenderState,r,n);else if(t.revalidate=0,t.isStaticGeneration){let i=new a.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw t.dynamicUsageDescription=r,t.dynamicUsageStack=i.stack,i}}}function h(t,r){let n=(0,l.getPathname)(t.urlPathname);if(t.isUnstableCacheCallback)throw Error(`Route ${n} used "${r}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${r}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(t.dynamicShouldError)throw new s.StaticGenBailoutError(`Route ${n} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t.prerenderState)m(t.prerenderState,r,n);else if(t.revalidate=0,t.isStaticGeneration){let i=new a.DynamicServerError(`Route ${n} couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw t.dynamicUsageDescription=r,t.dynamicUsageStack=i.stack,i}}function f({reason:t,prerenderState:r,pathname:n}){m(r,t,n)}function p(t,r){t.prerenderState&&m(t.prerenderState,r,t.urlPathname)}function m(t,r,n){v();let i=`Route ${n} needs to bail out of prerendering at this point because it used ${r}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`;t.dynamicAccesses.push({stack:t.isDebugSkeleton?Error().stack:void 0,expression:r}),o.default.unstable_postpone(i)}function g(t){return t.dynamicAccesses.length>0}function y(t){return t.dynamicAccesses.filter(t=>"string"==typeof t.stack&&t.stack.length>0).map(({expression:t,stack:r})=>(r=r.split("\n").slice(4).filter(t=>!(t.includes("node_modules/next/")||t.includes(" (<anonymous>)")||t.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${t}: 5${r}`))}function v(){if(!u)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function b(t){v();let r=new AbortController;try{o.default.unstable_postpone(t)}catch(t){r.abort(t)}return r.signal}},87417:function(t,r,n){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSegmentParam",{enumerable:!0,get:function(){return o}});let i=n(91182);function o(t){let r=i.INTERCEPTION_ROUTE_MARKERS.find(r=>t.startsWith(r));return(r&&(t=t.slice(r.length)),t.startsWith("[[...")&&t.endsWith("]]"))?{type:"optional-catchall",param:t.slice(5,-2)}:t.startsWith("[...")&&t.endsWith("]")?{type:r?"catchall-intercepted":"catchall",param:t.slice(4,-1)}:t.startsWith("[")&&t.endsWith("]")?{type:r?"dynamic-intercepted":"dynamic",param:t.slice(1,-1)}:null}},70647:function(t,r){"use strict";var n,i;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return n}}),(i=n||(n={})).ADDED_PAGE="addedPage",i.REMOVED_PAGE="removedPage",i.RELOAD_PAGE="reloadPage",i.SERVER_COMPONENT_CHANGES="serverComponentChanges",i.MIDDLEWARE_CHANGES="middlewareChanges",i.CLIENT_CHANGES="clientChanges",i.SERVER_ONLY_CHANGES="serverOnlyChanges",i.SYNC="sync",i.BUILT="built",i.BUILDING="building",i.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",i.TURBOPACK_MESSAGE="turbopack-message",i.SERVER_ERROR="serverError",i.TURBOPACK_CONNECTED="turbopack-connected"},91182:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return a}});let i=n(20926),o=["(..)(..)","(.)","(..)","(...)"];function a(t){return void 0!==t.split("/").find(t=>o.find(r=>t.startsWith(r)))}function s(t){let r,n,a;for(let i of t.split("/"))if(n=o.find(t=>i.startsWith(t))){[r,a]=t.split(n,2);break}if(!r||!n||!a)throw Error(`Invalid interception route: ${t}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(r=(0,i.normalizeAppPath)(r),n){case"(.)":a="/"===r?`/${a}`:r+"/"+a;break;case"(..)":if("/"===r)throw Error(`Invalid interception route: ${t}. Cannot use (..) marker at the root level, use (.) instead.`);a=r.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let s=r.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${t}. Cannot use (..)(..) marker at the root level or one level up.`);a=s.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:r,interceptedRoute:a}}},30650:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(t,r,n){let i=Reflect.get(t,r,n);return"function"==typeof i?i.bind(t):i}static set(t,r,n,i){return Reflect.set(t,r,n,i)}static has(t,r){return Reflect.has(t,r)}static deleteProperty(t,r){return Reflect.deleteProperty(t,r)}}},91436:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AmpStateContext",{enumerable:!0,get:function(){return i}});let i=n(47043)._(n(2265)).default.createContext({})},23964:function(t,r){"use strict";function n(t){let{ampFirst:r=!1,hybrid:n=!1,hasQuery:i=!1}=void 0===t?{}:t;return r||n&&i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isInAmpMode",{enumerable:!0,get:function(){return n}})},55775:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let i=n(47043);n(57437),n(2265);let o=i._(n(15602));function a(t,r){var n;let i={loading:t=>{let{error:r,isLoading:n,pastDelay:i}=t;return null}};"function"==typeof t&&(i.loader=t);let a={...i,...r};return(0,o.default)({...a,modules:null==(n=a.loadableGenerated)?void 0:n.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61956:function(t,r,n){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return s},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return u},TemplateContext:function(){return l}});let i=n(47043)._(n(2265)),o=i.default.createContext(null),a=i.default.createContext(null),s=i.default.createContext(null),l=i.default.createContext(null),u=i.default.createContext(new Set)},90042:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,i=/[|\\{}()[\]^$+*?.-]/g;function o(t){return n.test(t)?t.replace(i,"\\$&"):t}},55346:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return l}}),n(31765);let i=n(96496),o=n(90128);function a(t){return void 0!==t.default}function s(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function l(t,r){var n,l;let u,c,d,{src:h,sizes:f,unoptimized:p=!1,priority:m=!1,loading:g,className:y,quality:v,width:b,height:w,fill:_=!1,style:S,overrideSrc:E,onLoad:A,onLoadingComplete:x,placeholder:k="empty",blurDataURL:O,fetchPriority:P,decoding:C="async",layout:T,objectFit:M,objectPosition:R,lazyBoundary:I,lazyRoot:N,...D}=t,{imgConf:F,showAltText:L,blurComplete:$,defaultLoader:j}=r,U=F||o.imageConfigDefault;if("allSizes"in U)u=U;else{let t=[...U.deviceSizes,...U.imageSizes].sort((t,r)=>t-r),r=U.deviceSizes.sort((t,r)=>t-r),i=null==(n=U.qualities)?void 0:n.sort((t,r)=>t-r);u={...U,allSizes:t,deviceSizes:r,qualities:i}}if(void 0===j)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let B=D.loader||j;delete D.loader,delete D.srcSet;let z="__next_img_default"in B;if(z){if("custom"===u.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let t=B;B=r=>{let{config:n,...i}=r;return t(i)}}if(T){"fill"===T&&(_=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];t&&(S={...S,...t});let r={responsive:"100vw",fill:"100vw"}[T];r&&!f&&(f=r)}let H="",q=s(b),V=s(w);if("object"==typeof(l=h)&&(a(l)||void 0!==l.src)){let t=a(h)?h.default:h;if(!t.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t));if(!t.height||!t.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t));if(c=t.blurWidth,d=t.blurHeight,O=O||t.blurDataURL,H=t.src,!_){if(q||V){if(q&&!V){let r=q/t.width;V=Math.round(t.height*r)}else if(!q&&V){let r=V/t.height;q=Math.round(t.width*r)}}else q=t.width,V=t.height}}let G=!m&&("lazy"===g||void 0===g);(!(h="string"==typeof h?h:H)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,G=!1),u.unoptimized&&(p=!0),z&&h.endsWith(".svg")&&!u.dangerouslyAllowSVG&&(p=!0),m&&(P="high");let W=s(v),K=Object.assign(_?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:R}:{},L?{}:{color:"transparent"},S),Y=$||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:q,heightInt:V,blurWidth:c,blurHeight:d,blurDataURL:O||"",objectFit:K.objectFit})+'")':'url("'+k+'")',Z=Y?{backgroundSize:K.objectFit||"cover",backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},X=function(t){let{config:r,src:n,unoptimized:i,width:o,quality:a,sizes:s,loader:l}=t;if(i)return{src:n,srcSet:void 0,sizes:void 0};let{widths:u,kind:c}=function(t,r,n){let{deviceSizes:i,allSizes:o}=t;if(n){let t=/(^|\s)(1?\d?\d)vw/g,r=[];for(let i;i=t.exec(n);i)r.push(parseInt(i[2]));if(r.length){let t=.01*Math.min(...r);return{widths:o.filter(r=>r>=i[0]*t),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof r?{widths:i,kind:"w"}:{widths:[...new Set([r,2*r].map(t=>o.find(r=>r>=t)||o[o.length-1]))],kind:"x"}}(r,o,s),d=u.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:u.map((t,i)=>l({config:r,src:n,quality:a,width:t})+" "+("w"===c?t:i+1)+c).join(", "),src:l({config:r,src:n,quality:a,width:u[d]})}}({config:u,src:h,unoptimized:p,width:q,quality:W,sizes:f,loader:B});return{props:{...D,loading:G?"lazy":g,fetchPriority:P,width:q,height:V,decoding:C,className:y,style:{...K,...Z},sizes:X.sizes,srcSet:X.srcSet,src:E||X.src},meta:{unoptimized:p,priority:m,placeholder:k,fill:_}}}},37207:function(t,r){"use strict";function n(t){let r=5381;for(let n=0;n<t.length;n++)r=(r<<5)+r+t.charCodeAt(n)&4294967295;return r>>>0}function i(t){return n(t).toString(36).slice(0,5)}
5Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{djb2Hash:function(){return n},hexHash:function(){return i}})},48701:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return i}});let i=n(47043)._(n(2265)).default.createContext({})},38293:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return g},defaultHead:function(){return h}});let i=n(47043),o=n(53099),a=n(57437),s=o._(n(2265)),l=i._(n(17421)),u=n(91436),c=n(48701),d=n(23964);function h(t){void 0===t&&(t=!1);let r=[(0,a.jsx)("meta",{charSet:"utf-8"})];return t||r.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),r}function f(t,r){return"string"==typeof r||"number"==typeof r?t:r.type===s.default.Fragment?t.concat(s.default.Children.toArray(r.props.children).reduce((t,r)=>"string"==typeof r||"number"==typeof r?t:t.concat(r),[])):t.concat(r)}n(31765);let p=["name","httpEquiv","charSet","itemProp"];function m(t,r){let{inAmpMode:n}=r;return t.reduce(f,[]).reverse().concat(h(n).reverse()).filter(function(){let t=new Set,r=new Set,n=new Set,i={};return o=>{let a=!0,s=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){s=!0;let r=o.key.slice(o.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(o.type){case"title":case"base":r.has(o.type)?a=!1:r.add(o.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(o.props.hasOwnProperty(r)){if("charSet"===r)n.has(r)?a=!1:n.add(r);else{let t=o.props[r],n=i[r]||new Set;("name"!==r||!s)&&n.has(t)?a=!1:(n.add(t),i[r]=n)}}}}return a}}()).reverse().map((t,r)=>{let i=t.key||r;if(!n&&"link"===t.type&&t.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(r=>t.props.href.startsWith(r))){let r={...t.props||{}};return r["data-href"]=r.href,r.href=void 0,r["data-optimized-fonts"]=!0,s.default.cloneElement(t,r)}return s.default.cloneElement(t,{key:i})})}let g=function(t){let{children:r}=t,n=(0,s.useContext)(u.AmpStateContext),i=(0,s.useContext)(c.HeadManagerContext);return(0,a.jsx)(l.default,{reduceComponentsToState:m,headManager:i,inAmpMode:(0,d.isInAmpMode)(n),children:r})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79060:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{PathParamsContext:function(){return s},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let i=n(2265),o=(0,i.createContext)(null),a=(0,i.createContext)(null),s=(0,i.createContext)(null)},96496:function(t,r){"use strict";function n(t){let{widthInt:r,heightInt:n,blurWidth:i,blurHeight:o,blurDataURL:a,objectFit:s}=t,l=i?40*i:r,u=o?40*o:n,c=l&&u?"viewBox='0 0 "+l+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},62589:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let i=n(47043)._(n(2265)),o=n(90128),a=i.default.createContext(o.imageConfigDefault)},90128:function(t,r){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return i}});let n=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},48461:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{default:function(){return u},getImageProps:function(){return l}});let i=n(47043),o=n(55346),a=n(65878),s=i._(n(5084));function l(t){let{props:r}=(0,o.getImgProps)(t,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[t,n]of Object.entries(r))void 0===n&&delete r[t];return{props:r}}let u=a.Image},5084:function(t,r){"use strict";function n(t){var r;let{config:n,src:i,width:o,quality:a}=t,s=a||(null==(r=n.qualities)?void 0:r.reduce((t,r)=>Math.abs(r-75)<Math.abs(t-75)?r:t))||75;return n.path+"?url="+encodeURIComponent(i)+"&w="+o+"&q="+s}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}}),n.__next_img_default=!0;let i=n},18993:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{BailoutToCSRError:function(){return i},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class i extends Error{constructor(t){super("Bail out to client-side rendering: "+t),this.reason=t,this.digest=n}}function o(t){return"object"==typeof t&&null!==t&&"digest"in t&&t.digest===n}},81523:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let i=n(18993);function o(t){let{reason:r,children:n}=t;if("undefined"==typeof window)throw new i.BailoutToCSRError(r);return n}},15602:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let i=n(57437),o=n(2265),a=n(81523),s=n(70049);function l(t){return{default:t&&"default"in t?t.default:t}}let u={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(t){let r={...u,...t},n=(0,o.lazy)(()=>r.loader().then(l)),c=r.loading;function d(t){let l=c?(0,i.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,u=r.ssr?(0,i.jsxs)(i.Fragment,{children:["undefined"==typeof window?(0,i.jsx)(s.PreloadCss,{moduleIds:r.modules}):null,(0,i.jsx)(n,{...t})]}):(0,i.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...t})});return(0,i.jsx)(o.Suspense,{fallback:l,children:u})}return d.displayName="LoadableComponent",d}},70049:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadCss",{enumerable:!0,get:function(){return a}});let i=n(57437),o=n(20544);function a(t){let{moduleIds:r}=t;if("undefined"!=typeof window)return null;let n=(0,o.getExpectedRequestStore)("next/dynamic css"),a=[];if(n.reactLoadableManifest&&r){let t=n.reactLoadableManifest;for(let n of r){if(!t[n])continue;let r=t[n].files.filter(t=>t.endsWith(".css"));a.push(...r)}}return 0===a.length?null:(0,i.jsx)(i.Fragment,{children:a.map(t=>(0,i.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(t),as:"style"},t))})}},78162:function(t,r){"use strict";function n(t){return t.startsWith("/")?t:"/"+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},25523:function(t,r,n){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return i}});let i=n(47043)._(n(2265)).default.createContext(null)},2103:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ActionQueueContext:function(){return l},createMutableActionQueue:function(){return d}});let i=n(53099),o=n(24673),a=n(91450),s=i._(n(2265)),l=s.default.createContext(null);function u(t,r){null!==t.pending&&(t.pending=t.pending.next,null!==t.pending?c({actionQueue:t,action:t.pending,setState:r}):t.needsRefresh&&(t.needsRefresh=!1,t.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},r)))}async function c(t){let{actionQueue:r,action:n,setState:i}=t,a=r.state;if(!a)throw Error("Invariant: Router state not initialized");r.pending=n;let s=n.payload,l=r.action(a,s);function c(t){n.discarded||(r.state=t,r.devToolsInstance&&r.devToolsInstance.send(s,t),u(r,i),n.resolve(t))}(0,o.isThenable)(l)?l.then(c,t=>{u(r,i),n.reject(t)}):c(l)}function d(){let t={state:null,dispatch:(r,n)=>(function(t,r,n){let i={resolve:n,reject:()=>{}};if(r.type!==o.ACTION_RESTORE){let t=new Promise((t,r)=>{i={resolve:t,reject:r}});(0,s.startTransition)(()=>{n(t)})}let a={payload:r,next:null,resolve:i.resolve,reject:i.reject};null===t.pending?(t.last=a,c({actionQueue:t,action:a,setState:n})):r.type===o.ACTION_NAVIGATE||r.type===o.ACTION_RESTORE?(t.pending.discarded=!0,t.last=a,t.pending.payload.type===o.ACTION_SERVER_ACTION&&(t.needsRefresh=!0),c({actionQueue:t,action:a,setState:n})):(null!==t.last&&(t.last.next=a),t.last=a)})(t,r,n),action:async(t,r)=>{if(null===t)throw Error("Invariant: Router state not initialized");return(0,a.reducer)(t,r)},pending:null,last:null};return t}},68498:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return o}});let i=n(63381);function o(t,r){if(!t.startsWith("/")||!r)return t;let{pathname:n,query:o,hash:a}=(0,i.parsePath)(t);return""+r+n+o+a}},20926:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return s}});let i=n(78162),o=n(84541);function a(t){return(0,i.ensureLeadingSlash)(t.split("/").reduce((t,r,n,i)=>!r||(0,o.isGroupSegment)(r)||"@"===r[0]||("page"===r||"route"===r)&&n===i.length-1?t:t+"/"+r,""))}function s(t){return t.replace(/\.rsc($|\?)/,"$1")}},57497:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{formatUrl:function(){return a},formatWithValidation:function(){return l},urlObjectKeys:function(){return s}});let i=n(53099)._(n(48637)),o=/https?|ftp|gopher|file/;function a(t){let{auth:r,hostname:n}=t,a=t.protocol||"",s=t.pathname||"",l=t.hash||"",u=t.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",t.host?c=r+t.host:n&&(c=r+(~n.indexOf(":")?"["+n+"]":n),t.port&&(c+=":"+t.port)),u&&"object"==typeof u&&(u=String(i.urlQueryToSearchParams(u)));let d=t.search||u&&"?"+u||"";return a&&!a.endsWith(":")&&(a+=":"),t.slashes||(!a||o.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),""+a+c+(s=s.replace(/[?#]/g,encodeURIComponent))+(d=d.replace("#","%23"))+l}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(t){return a(t)}},7092:function(t,r){"use strict";function n(t,r){if(void 0===r&&(r={}),r.onlyHashChange){t();return}let n=document.documentElement,i=n.style.scrollBehavior;n.style.scrollBehavior="auto",r.dontForceLayout||n.getClientRects(),t(),n.style.scrollBehavior=i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},86279:function(t,r,n){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let i=n(14777),o=n(38104)},37205:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interpolateAs",{enumerable:!0,get:function(){return a}});let i=n(4199),o=n(9964);function a(t,r,n){let a="",s=(0,o.getRouteRegex)(t),l=s.groups,u=(r!==t?(0,i.getRouteMatcher)(s)(r):"")||n;a=t;let c=Object.keys(l);return c.every(t=>{let r=u[t]||"",{repeat:n,optional:i}=l[t],o="["+(n?"...":"")+t+"]";return i&&(o=(r?"":"/")+"["+o+"]"),n&&!Array.isArray(r)&&(r=[r]),(i||t in u)&&(a=a.replace(o,n?r.map(t=>encodeURIComponent(t)).join("/"):encodeURIComponent(r))||"/")})||(a=""),{params:c,result:a}}},86146:function(t,r){"use strict";function n(t){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(t)}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isBot",{enumerable:!0,get:function(){return n}})},38104:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let i=n(91182),o=/\/\[[^/]+?\](?=\/|$)/;function a(t){return(0,i.isInterceptionRouteAppPath)(t)&&(t=(0,i.extractInterceptionRouteInformation)(t).interceptedRoute),o.test(t)}},53552:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let i=n(3987),o=n(11283);function a(t){if(!(0,i.isAbsoluteUrl)(t))return!0;try{let r=(0,i.getLocationOrigin)(),n=new URL(t,r);return n.origin===r&&(0,o.hasBasePath)(n.pathname)}catch(t){return!1}}},17053:function(t,r){"use strict";function n(t,r){let n={};return Object.keys(t).forEach(i=>{r.includes(i)||(n[i]=t[i])}),n}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return n}})},63381:function(t,r){"use strict";function n(t){let r=t.indexOf("#"),n=t.indexOf("?"),i=n>-1&&(r<0||n<r);return i||r>-1?{pathname:t.substring(0,i?n:r),query:i?t.substring(n,r>-1?r:void 0):"",hash:r>-1?t.slice(r):""}:{pathname:t,query:"",hash:""}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return n}})},10580:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let i=n(63381);function o(t,r){if("string"!=typeof t)return!1;let{pathname:n}=(0,i.parsePath)(t);return n===r||n.startsWith(r+"/")}},48637:function(t,r){"use strict";function n(t){let r={};return t.forEach((t,n)=>{void 0===r[n]?r[n]=t:Array.isArray(r[n])?r[n].push(t):r[n]=[r[n],t]}),r}function i(t){return"string"!=typeof t&&("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function o(t){let r=new URLSearchParams;return Object.entries(t).forEach(t=>{let[n,o]=t;Array.isArray(o)?o.forEach(t=>r.append(n,i(t))):r.set(n,i(o))}),r}function a(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.forEach(r=>{Array.from(r.keys()).forEach(r=>t.delete(r)),r.forEach((r,n)=>t.append(n,r))}),t}Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{assign:function(){return a},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},26674:function(t,r){"use strict";function n(t){return t.replace(/\/$/,"")||"/"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},4199:function(t,r,n){"use strict";
5Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let i=n(3987);function o(t){let{re:r,groups:n}=t;return t=>{let o=r.exec(t);if(!o)return!1;let a=t=>{try{return decodeURIComponent(t)}catch(t){throw new i.DecodeError("failed to decode param")}},s={};return Object.keys(n).forEach(t=>{let r=n[t],i=o[r.pos];void 0!==i&&(s[t]=~i.indexOf("/")?i.split("/").map(t=>a(t)):r.repeat?[a(i)]:a(i))}),s}}},9964:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return c},parseParameter:function(){return l}});let i=n(19259),o=n(91182),a=n(90042),s=n(26674);function l(t){let r=t.startsWith("[")&&t.endsWith("]");r&&(t=t.slice(1,-1));let n=t.startsWith("...");return n&&(t=t.slice(3)),{key:t,repeat:n,optional:r}}function u(t){let r=(0,s.removeTrailingSlash)(t).slice(1).split("/"),n={},i=1;return{parameterizedRoute:r.map(t=>{let r=o.INTERCEPTION_ROUTE_MARKERS.find(r=>t.startsWith(r)),s=t.match(/\[((?:\[.*\])|.+)\]/);if(r&&s){let{key:t,optional:o,repeat:u}=l(s[1]);return n[t]={pos:i++,repeat:u,optional:o},"/"+(0,a.escapeStringRegexp)(r)+"([^/]+?)"}if(!s)return"/"+(0,a.escapeStringRegexp)(t);{let{key:t,repeat:r,optional:o}=l(s[1]);return n[t]={pos:i++,repeat:r,optional:o},r?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function c(t){let{parameterizedRoute:r,groups:n}=u(t);return{re:RegExp("^"+r+"(?:/)?$"),groups:n}}function d(t){let{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:o,keyPrefix:s}=t,{key:u,optional:c,repeat:d}=l(i),h=u.replace(/\W/g,"");s&&(h=""+s+h);let f=!1;(0===h.length||h.length>30)&&(f=!0),isNaN(parseInt(h.slice(0,1)))||(f=!0),f&&(h=n()),s?o[h]=""+s+u:o[h]=u;let p=r?(0,a.escapeStringRegexp)(r):"";return d?c?"(?:/"+p+"(?<"+h+">.+?))?":"/"+p+"(?<"+h+">.+?)":"/"+p+"(?<"+h+">[^/]+?)"}function h(t,r){let n;let l=(0,s.removeTrailingSlash)(t).slice(1).split("/"),u=(n=0,()=>{let t="",r=++n;for(;r>0;)t+=String.fromCharCode(97+(r-1)%26),r=Math.floor((r-1)/26);return t}),c={};return{namedParameterizedRoute:l.map(t=>{let n=o.INTERCEPTION_ROUTE_MARKERS.some(r=>t.startsWith(r)),s=t.match(/\[((?:\[.*\])|.+)\]/);if(n&&s){let[n]=t.split(s[0]);return d({getSafeRouteKey:u,interceptionMarker:n,segment:s[1],routeKeys:c,keyPrefix:r?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return s?d({getSafeRouteKey:u,segment:s[1],routeKeys:c,keyPrefix:r?i.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,a.escapeStringRegexp)(t)}).join(""),routeKeys:c}}function f(t,r){let n=h(t,r);return{...c(t),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function p(t,r){let{parameterizedRoute:n}=u(t),{catchAll:i=!0}=r;if("/"===n)return{namedRegex:"^/"+(i?".*":"")+"$"};let{namedParameterizedRoute:o}=h(t,!1);return{namedRegex:"^"+o+(i?"(?:(/.*)?)":"")+"$"}}},14777:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSortedRoutes",{enumerable:!0,get:function(){return i}});class n{insert(t){this._insert(t.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(t){void 0===t&&(t="/");let r=[...this.children.keys()].sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);let n=r.map(r=>this.children.get(r)._smoosh(""+t+r+"/")).reduce((t,r)=>[...t,...r],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(t+"["+this.slugName+"]/")),!this.placeholder){let r="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+r+'" and "'+r+"[[..."+this.optionalRestSlugName+']]").');n.unshift(r)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(t+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(t+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(t,r,i){if(0===t.length){this.placeholder=!1;return}if(i)throw Error("Catch-all must be the last part of the URL.");let o=t[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),s=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),s=!0),n.startsWith("...")&&(n=n.substring(3),i=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function a(t,n){if(null!==t&&t!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+t+"' !== '"+n+"').");r.forEach(t=>{if(t===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(t.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+t+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),r.push(n)}if(i){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');a(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+t[0]+'").');a(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');a(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(t.slice(1),r,i)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function i(t){let r=new n;return t.forEach(t=>r.insert(t)),r.smoosh()}},84541:function(t,r){"use strict";function n(t){return"("===t[0]&&t.endsWith(")")}
5Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return i},isGroupSegment:function(){return n}});let i="__PAGE__",o="__DEFAULT__"},55501:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return a}});let i=n(53099)._(n(2265)),o=i.default.createContext(null);function a(t){let r=(0,i.useContext)(o);r&&r(t)}},17421:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let i=n(2265),o="undefined"==typeof window,a=o?()=>{}:i.useLayoutEffect,s=o?()=>{}:i.useEffect;function l(t){let{headManager:r,reduceComponentsToState:n}=t;function l(){if(r&&r.mountedInstances){let o=i.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(n(o,t))}}if(o){var u;null==r||null==(u=r.mountedInstances)||u.add(t.children),l()}return a(()=>{var n;return null==r||null==(n=r.mountedInstances)||n.add(t.children),()=>{var n;null==r||null==(n=r.mountedInstances)||n.delete(t.children)}}),a(()=>(r&&(r._pendingUpdate=l),()=>{r&&(r._pendingUpdate=l)})),s(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},3987:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{DecodeError:function(){return m},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return v},NormalizeError:function(){return g},PageNotFoundError:function(){return y},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return s},getURL:function(){return l},isAbsoluteUrl:function(){return a},isResSent:function(){return c},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return w}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function i(t){let r,n=!1;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n||(n=!0,r=t(...o)),r}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=t=>o.test(t);function s(){let{protocol:t,hostname:r,port:n}=window.location;return t+"//"+r+(n?":"+n:"")}function l(){let{href:t}=window.location,r=s();return t.substring(r.length)}function u(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function c(t){return t.finished||t.headersSent}function d(t){let r=t.split("?");return r[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function h(t,r){let n=r.res||r.ctx&&r.ctx.res;if(!t.getInitialProps)return r.ctx&&r.Component?{pageProps:await h(r.Component,r.ctx)}:{};let i=await t.getInitialProps(r);if(n&&c(n))return i;if(!i)throw Error('"'+u(t)+'.getInitialProps()" should resolve to an object. But found "'+i+'" instead.');return i}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class m extends Error{}class g extends Error{}class y extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}}class v extends Error{constructor(t,r){super(),this.message="Failed to load static file for page: "+t+" "+r}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(t){return JSON.stringify({message:t.message,stack:t.stack})}},31765:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},71318:function(t,r,n){var i,o;void 0!==(o="function"==typeof(i=function(){var t,r,n,i={};i.version="0.2.0";var o=i.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(t,r,n){return t<r?r:t>n?n:t}i.configure=function(t){var r,n;for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&(o[r]=n);return this},i.status=null,i.set=function(t){var r=i.isStarted();t=a(t,o.minimum,1),i.status=1===t?null:t;var n=i.render(!r),u=n.querySelector(o.barSelector),c=o.speed,d=o.easing;return n.offsetWidth,s(function(r){var a,s;""===o.positionUsing&&(o.positionUsing=i.getPositioningCSS()),l(u,(a=t,(s="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+a)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+a)*100+"%,0)"}:{"margin-left":(-1+a)*100+"%"}).transition="all "+c+"ms "+d,s)),1===t?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+c+"ms linear",opacity:0}
5),setTimeout(function(){i.remove(),r()},c)},c)):setTimeout(r,c)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){i.status||i.set(0);var t=function(){setTimeout(function(){i.status&&(i.trickle(),t())},o.trickleSpeed)};return o.trickle&&t(),this},i.done=function(t){return t||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(t){var r=i.status;return r?("number"!=typeof t&&(t=(1-r)*a(Math.random()*r,.1,.95)),r=a(r+t,0,.994),i.set(r)):i.start()},i.trickle=function(){return i.inc(Math.random()*o.trickleRate)},t=0,r=0,i.promise=function(n){return n&&"resolved"!==n.state()&&(0===r&&i.start(),t++,r++,n.always(function(){0==--r?(t=0,i.done()):i.set((t-r)/t)})),this},i.render=function(t){if(i.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var r=document.createElement("div");r.id="nprogress",r.innerHTML=o.template;var n,a=r.querySelector(o.barSelector),s=t?"-100":(-1+(i.status||0))*100,u=document.querySelector(o.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!o.showSpinner&&(n=r.querySelector(o.spinnerSelector))&&f(n),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(r),r},i.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(o.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.getPositioningCSS=function(){var t=document.body.style,r="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return r+"Perspective" in t?"translate3d":r+"Transform" in t?"translate":"margin"};var s=(n=[],function(t){n.push(t),1==n.length&&function t(){var r=n.shift();r&&r(t)}()}),l=function(){var t=["Webkit","O","Moz","ms"],r={};function n(n,i,o){var a;i=r[a=(a=i).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,r){return r.toUpperCase()})]||(r[a]=function(r){var n=document.body.style;if(r in n)return r;for(var i,o=t.length,a=r.charAt(0).toUpperCase()+r.slice(1);o--;)if((i=t[o]+a)in n)return i;return r}(a)),n.style[i]=o}return function(t,r){var i,o,a=arguments;if(2==a.length)for(i in r)void 0!==(o=r[i])&&r.hasOwnProperty(i)&&n(t,i,o);else n(t,a[1],a[2])}}();function u(t,r){return("string"==typeof t?t:h(t)).indexOf(" "+r+" ")>=0}function c(t,r){var n=h(t),i=n+r;u(n,r)||(t.className=i.substring(1))}function d(t,r){var n,i=h(t);u(t,r)&&(n=i.replace(" "+r+" "," "),t.className=n.substring(1,n.length-1))}function h(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return i})?i.call(r,n,r,t):i)&&(t.exports=o)},79080:function(t,r,n){"use strict";n.d(r,{HY:function(){return x},Tm:function(){return U},Vf:function(){return A},YM:function(){return o},ZB:function(){return j},az:function(){return S},bR:function(){return function t(r,n){return n=n||[],null==r||"boolean"==typeof r||(b(r)?r.some(function(r){t(r,n)}):n.push(r)),n}},h:function(){return S},kr:function(){return B},sY:function(){return $},wA:function(){return k}});var i,o,a,s,l,u,c,d,h,f,p,m,g={},y=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function w(t,r){for(var n in r)t[n]=r[n];return t}function _(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function S(t,r,n){var o,a,s,l={};for(s in r)"key"==s?o=r[s]:"ref"==s?a=r[s]:l[s]=r[s];if(arguments.length>2&&(l.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===l[s]&&(l[s]=t.defaultProps[s]);return E(t,l,o,a,null)}function E(t,r,n,i,s){var l={type:t,props:r,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++a:s,__i:-1,__u:0};return null==s&&null!=o.vnode&&o.vnode(l),l}function A(){return{current:null}}function x(t){return t.children}function k(t,r){this.props=t,this.context=r}function O(t,r){if(null==r)return t.__?O(t.__,t.__i+1):null;for(var n;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e)return n.__e;return"function"==typeof t.type?O(t):null}function P(t){(!t.__d&&(t.__d=!0)&&s.push(t)&&!C.__r++||l!=o.debounceRendering)&&((l=o.debounceRendering)||u)(C)}function C(){for(var t,r,n,i,a,l,u=1;s.length;)s.length>u&&s.sort(c),t=s.shift(),u=s.length,t.__d&&(r=void 0,i=(n=t.__v).__e,a=[],l=[],t.__P&&((r=w({},n)).__v=n.__v+1,o.vnode&&o.vnode(r),N(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,a,null==i?O(n):i,!!(32&n.__u),l),r.__v=n.__v,r.__.__k[r.__i]=r,D(a,r,l),r.__e!=i&&function t(r){var n,i;if(null!=(r=r.__)&&null!=r.__c){for(r.__e=r.__c.base=null,n=0;n<r.__k.length;n++)if(null!=(i=r.__k[n])&&null!=i.__e){r.__e=r.__c.base=i.__e;break}return t(r)}}(r)));C.__r=0}function T(t,r,n,i,a,s,l,u,c,d,h){var f,p,m,v,w,S,A=i&&i.__k||y,k=r.length;for(c=function(t,r,n,i,a){var s,l,u,c,d,h=n.length,f=h,p=0;for(t.__k=Array(a),s=0;s<a;s++)null!=(l=r[s])&&"boolean"!=typeof l&&"function"!=typeof l?(c=s+p,(l=t.__k[s]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?E(null,l,null,null,null):b(l)?E(x,{children:l}
vendor: 4,237 bytes, line 5
5,null,null,null):null==l.constructor&&l.__b>0?E(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=t,l.__b=t.__b+1,u=null,-1!=(d=l.__i=function(t,r,n,i){var o,a,s=t.key,l=t.type,u=r[n];if(null===u&&null==t.key||u&&s==u.key&&l==u.type&&0==(2&u.__u))return n;if(i>(null!=u&&0==(2&u.__u)?1:0))for(o=n-1,a=n+1;o>=0||a<r.length;){if(o>=0){if((u=r[o])&&0==(2&u.__u)&&s==u.key&&l==u.type)return o;o--}if(a<r.length){if((u=r[a])&&0==(2&u.__u)&&s==u.key&&l==u.type)return a;a++}}return -1}(l,n,c,f))&&(f--,(u=n[d])&&(u.__u|=2)),null==u||null==u.__v?(-1==d&&(a>h?p--:a<h&&p++),"function"!=typeof l.type&&(l.__u|=4)):d!=c&&(d==c-1?p--:d==c+1?p++:(d>c?p--:p++,l.__u|=4))):t.__k[s]=null;if(f)for(s=0;s<h;s++)null!=(u=n[s])&&0==(2&u.__u)&&(u.__e==i&&(i=O(u)),function t(r,n,i){var a,s;if(o.unmount&&o.unmount(r),(a=r.ref)&&(a.current&&a.current!=r.__e||F(a,null,n)),null!=(a=r.__c)){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(t){o.__e(t,n)}a.base=a.__P=null}if(a=r.__k)for(s=0;s<a.length;s++)a[s]&&t(a[s],n,i||"function"!=typeof r.type);i||_(r.__e),r.__c=r.__=r.__e=void 0}(u,u));return i}(n,r,A,c,k),f=0;f<k;f++)null!=(m=n.__k[f])&&(p=-1==m.__i?g:A[m.__i]||g,m.__i=f,S=N(t,m,p,a,s,l,u,c,d,h),v=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&F(p.ref,null,m),h.push(m.ref,m.__c||v,m)),null==w&&null!=v&&(w=v),4&m.__u||p.__k===m.__k?c=function t(r,n,i){var o,a;if("function"==typeof r.type){for(o=r.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=r,n=t(o[a],n,i));return n}r.__e!=n&&(n&&r.type&&!i.contains(n)&&(n=O(r)),i.insertBefore(r.__e,n||null),n=r.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(m,c,t):"function"==typeof m.type&&void 0!==S?c=S:v&&(c=v.nextSibling),m.__u&=-7);return n.__e=w,c}function M(t,r,n){"-"==r[0]?t.setProperty(r,null==n?"":n):t[r]=null==n?"":"number"!=typeof n||v.test(r)?n:n+"px"}function R(t,r,n,i,o){var a,s;r:if("style"==r){if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(r in i)n&&r in n||M(t.style,r,"");if(n)for(r in n)i&&n[r]==i[r]||M(t.style,r,n[r])}}else if("o"==r[0]&&"n"==r[1])a=r!=(r=r.replace(d,"$1")),r=(s=r.toLowerCase())in t||"onFocusOut"==r||"onFocusIn"==r?s.slice(2):r.slice(2),t.l||(t.l={}),t.l[r+a]=n,n?i?n.u=i.u:(n.u=h,t.addEventListener(r,a?p:f,a)):t.removeEventListener(r,a?p:f,a);else{if("http://www.w3.org/2000/svg"==o)r=r.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=r&&"height"!=r&&"href"!=r&&"list"!=r&&"form"!=r&&"tabIndex"!=r&&"download"!=r&&"rowSpan"!=r&&"colSpan"!=r&&"role"!=r&&"popover"!=r&&r in t)try{t[r]=null==n?"":n;break r}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=r[4]?t.removeAttribute(r):t.setAttribute(r,"popover"==r&&1==n?"":n))}}function I(t){return function(r){if(this.l){var n=this.l[r.type+t];if(null==r.t)r.t=h++;else if(r.t<n.u)return;return n(o.event?o.event(r):r)}}}function N(t,r,n,a,s,l,u,c,d,h){var f,p,m,y,v,S,E,A,P,C,M,I,N,D,F,$,j,U=r.type;if(null!=r.constructor)return null;128&n.__u&&(d=!!(32&n.__u),l=[c=r.__e=n.__e]),(f=o.__b)&&f(r);r:if("function"==typeof U)try{if(A=r.props,P="prototype"in U&&U.prototype.render,C=(f=U.contextType)&&a[f.__c],M=f?C?C.props.value:f.__:a,n.__c?E=(p=r.__c=n.__c).__=p.__E:(P?r.__c=p=new U(A,M):(r.__c=p=new k(A,M),p.constructor=U,p.render=L),C&&C.sub(p),p.props=A,p.state||(p.state={}),p.context=M,p.__n=a,m=p.__d=!0,p.__h=[],p._sb=[]),P&&null==p.__s&&(p.__s=p.state),P&&null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=w({},p.__s)),w(p.__s,U.getDerivedStateFromProps(A,p.__s))),y=p.props,v=p.state,p.__v=r,m)P&&null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),P&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(P&&null==U.getDerivedStateFromProps&&A!==y&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(A,M),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(A,p.__s,M)||r.__v==n.__v){for(r.__v!=n.__v&&(p.props=A,p.state=p.__s,p.__d=!1),r.__e=n.__e,r.__k=n.__k,r.__k.some(function(t){t&&(t.__=r)}),I=0;I<p._sb.length;I++)p.__h.push(p._sb[I]);p._sb=[],p.__h.length&&u.push(p);break r}null!=p.componentWillUpdate&&p.componentWillUpdate(A,p.__s,M),P&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(y,v,S)})}
vendor: 4,739 bytes, line 5
5if(p.context=M,p.props=A,p.__P=t,p.__e=!1,N=o.__r,D=0,P){for(p.state=p.__s,p.__d=!1,N&&N(r),f=p.render(p.props,p.state,p.context),F=0;F<p._sb.length;F++)p.__h.push(p._sb[F]);p._sb=[]}else do p.__d=!1,N&&N(r),f=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++D<25);p.state=p.__s,null!=p.getChildContext&&(a=w(w({},a),p.getChildContext())),P&&!m&&null!=p.getSnapshotBeforeUpdate&&(S=p.getSnapshotBeforeUpdate(y,v)),$=f,null!=f&&f.type===x&&null==f.key&&($=function t(r){return"object"!=typeof r||null==r||r.__b&&r.__b>0?r:b(r)?r.map(t):w({},r)}(f.props.children)),c=T(t,b($)?$:[$],r,n,a,s,l,u,c,d,h),p.base=r.__e,r.__u&=-161,p.__h.length&&u.push(p),E&&(p.__E=p.__=null)}catch(t){if(r.__v=null,d||null!=l){if(t.then){for(r.__u|=d?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;l[l.indexOf(c)]=null,r.__e=c}else for(j=l.length;j--;)_(l[j])}else r.__e=n.__e,r.__k=n.__k;o.__e(t,r,n)}else null==l&&r.__v==n.__v?(r.__k=n.__k,r.__e=n.__e):c=r.__e=function(t,r,n,a,s,l,u,c,d){var h,f,p,m,y,v,w,S=n.props,E=r.props,A=r.type;if("svg"==A?s="http://www.w3.org/2000/svg":"math"==A?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=l){for(h=0;h<l.length;h++)if((y=l[h])&&"setAttribute"in y==!!A&&(A?y.localName==A:3==y.nodeType)){t=y,l[h]=null;break}}if(null==t){if(null==A)return document.createTextNode(E);t=document.createElementNS(s,A,E.is&&E),c&&(o.__m&&o.__m(r,l),c=!1),l=null}if(null==A)S===E||c&&t.data==E||(t.data=E);else{if(l=l&&i.call(t.childNodes),S=n.props||g,!c&&null!=l)for(S={},h=0;h<t.attributes.length;h++)S[(y=t.attributes[h]).name]=y.value;for(h in S)if(y=S[h],"children"==h);else if("dangerouslySetInnerHTML"==h)p=y;else if(!(h in E)){if("value"==h&&"defaultValue"in E||"checked"==h&&"defaultChecked"in E)continue;R(t,h,null,y,s)}for(h in E)y=E[h],"children"==h?m=y:"dangerouslySetInnerHTML"==h?f=y:"value"==h?v=y:"checked"==h?w=y:c&&"function"!=typeof y||S[h]===y||R(t,h,y,S[h],s);if(f)c||p&&(f.__html==p.__html||f.__html==t.innerHTML)||(t.innerHTML=f.__html),r.__k=[];else if(p&&(t.innerHTML=""),T("template"==r.type?t.content:t,b(m)?m:[m],r,n,a,"foreignObject"==A?"http://www.w3.org/1999/xhtml":s,l,u,l?l[0]:n.__k&&O(n,0),c,d),null!=l)for(h=l.length;h--;)_(l[h]);c||(h="value","progress"==A&&null==v?t.removeAttribute("value"):null==v||v===t[h]&&("progress"!=A||v)&&("option"!=A||v==S[h])||R(t,h,v,S[h],s),h="checked",null!=w&&w!=t[h]&&R(t,h,w,S[h],s))}return t}(n.__e,r,n,a,s,l,u,d,h);return(f=o.diffed)&&f(r),128&r.__u?void 0:c}function D(t,r,n){for(var i=0;i<n.length;i++)F(n[i],n[++i],n[++i]);o.__c&&o.__c(r,t),t.some(function(r){try{t=r.__h,r.__h=[],t.some(function(t){t.call(r)})}catch(t){o.__e(t,r.__v)}})}function F(t,r,n){try{if("function"==typeof t){var i="function"==typeof t.__u;i&&t.__u(),i&&null==r||(t.__u=t(r))}else t.current=r}catch(t){o.__e(t,n)}}function L(t,r,n){return this.constructor(t,n)}function $(t,r,n){var a,s,l,u;r==document&&(r=document.documentElement),o.__&&o.__(t,r),s=(a="function"==typeof n)?null:n&&n.__k||r.__k,l=[],u=[],N(r,t=(!a&&n||r).__k=S(x,null,[t]),s||g,g,r.namespaceURI,!a&&n?[n]:s?null:r.firstChild?i.call(r.childNodes):null,l,!a&&n?n:s?s.__e:r.firstChild,a,u),D(l,t,u)}function j(t,r){$(t,r,j)}function U(t,r,n){var o,a,s,l,u=w({},t.props);for(s in t.type&&t.type.defaultProps&&(l=t.type.defaultProps),r)"key"==s?o=r[s]:"ref"==s?a=r[s]:u[s]=void 0===r[s]&&null!=l?l[s]:r[s];return arguments.length>2&&(u.children=arguments.length>3?i.call(arguments,2):n),E(t.type,u,o||t.key,a||t.ref,null)}function B(t){function r(t){var n,i;return this.getChildContext||(n=new Set,(i={})[r.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&n.forEach(function(t){t.__e=!0,P(t)})},this.sub=function(t){n.add(t);var r=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),r&&r.call(t)}}),t.children}return r.__c="__cC"+m++,r.__=t,r.Provider=r.__l=(r.Consumer=function(t,r){return t.children(r)}).contextType=r,r}i=y.slice,o={__e:function(t,r,n,i){for(var o,a,s;r=r.__;)if((o=r.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(t)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,i||{}),s=o.__d),s)return o.__E=o}catch(r){t=r}throw t}},a=0,k.prototype.setState=function(t,r){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w({},this.state),"function"==typeof t&&(t=t(w({},n),this.props)),t&&w(n,t),null!=t&&this.__v&&(r&&this._sb.push(r),P(this))},k.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),P(this))},k.prototype.render=x,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 3,908 bytes, line 5
5ise.resolve()):setTimeout,c=function(t,r){return t.__v.__b-r.__v.__b},C.__r=0,d=/(PointerCapture)$|Capture$/i,h=0,f=I(!1),p=I(!0),m=0},99799:function(t,r,n){"use strict";n.d(r,{I4:function(){return k},Me:function(){return C},Qb:function(){return P},Ye:function(){return x},_Y:function(){return w},aP:function(){return A},bt:function(){return S},d4:function(){return _},eJ:function(){return b},qp:function(){return O},sO:function(){return E}});var i,o,a,s,l=n(79080),u=0,c=[],d=l.YM,h=d.__b,f=d.__r,p=d.diffed,m=d.__c,g=d.unmount,y=d.__;function v(t,r){d.__h&&d.__h(o,t,u||r),u=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function b(t){return u=1,w(D,t)}function w(t,r,n){var a=v(i++,2);if(a.t=t,!a.__c&&(a.__=[n?n(r):D(void 0,r),function(t){var r=a.__N?a.__N[0]:a.__[0],n=a.t(r,t);r!==n&&(a.__N=[n,a.__[1]],a.__c.setState({}))}],a.__c=o,!o.__f)){var s=function(t,r,n){if(!a.__c.__H)return!0;var i=a.__c.__H.__.filter(function(t){return!!t.__c});if(i.every(function(t){return!t.__N}))return!l||l.call(this,t,r,n);var o=a.__c.props!==t;return i.forEach(function(t){if(t.__N){var r=t.__[0];t.__=t.__N,t.__N=void 0,r!==t.__[0]&&(o=!0)}}),l&&l.call(this,t,r,n)||o};o.__f=!0;var l=o.shouldComponentUpdate,u=o.componentWillUpdate;o.componentWillUpdate=function(t,r,n){if(this.__e){var i=l;l=void 0,s(t,r,n),l=i}u&&u.call(this,t,r,n)},o.shouldComponentUpdate=s}return a.__N||a.__}function _(t,r){var n=v(i++,3);!d.__s&&N(n.__H,r)&&(n.__=t,n.u=r,o.__H.__h.push(n))}function S(t,r){var n=v(i++,4);!d.__s&&N(n.__H,r)&&(n.__=t,n.u=r,o.__h.push(n))}function E(t){return u=5,x(function(){return{current:t}},[])}function A(t,r,n){u=6,S(function(){if("function"==typeof t){var n=t(r());return function(){t(null),n&&"function"==typeof n&&n()}}if(t)return t.current=r(),function(){return t.current=null}},null==n?n:n.concat(t))}function x(t,r){var n=v(i++,7);return N(n.__H,r)&&(n.__=t(),n.__H=r,n.__h=t),n.__}function k(t,r){return u=8,x(function(){return t},r)}function O(t){var r=o.context[t.__c],n=v(i++,9);return n.c=t,r?(null==n.__&&(n.__=!0,r.sub(o)),r.props.value):t.__}function P(t,r){d.useDebugValue&&d.useDebugValue(r?r(t):t)}function C(){var t=v(i++,11);if(!t.__){for(var r=o.__v;null!==r&&!r.__m&&null!==r.__;)r=r.__;var n=r.__m||(r.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function T(){for(var t;t=c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(R),t.__H.__h.forEach(I),t.__H.__h=[]}catch(r){t.__H.__h=[],d.__e(r,t.__v)}}d.__b=function(t){o=null,h&&h(t)},d.__=function(t,r){t&&r.__k&&r.__k.__m&&(t.__m=r.__k.__m),y&&y(t,r)},d.__r=function(t){f&&f(t),i=0;var r=(o=t.__c).__H;r&&(a===o?(r.__h=[],o.__h=[],r.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(r.__h.forEach(R),r.__h.forEach(I),r.__h=[],i=0)),a=o},d.diffed=function(t){p&&p(t);var r=t.__c;r&&r.__H&&(r.__H.__h.length&&(1!==c.push(r)&&s===d.requestAnimationFrame||((s=d.requestAnimationFrame)||function(t){var r,n=function(){clearTimeout(i),M&&cancelAnimationFrame(r),setTimeout(t)},i=setTimeout(n,35);M&&(r=requestAnimationFrame(n))})(T)),r.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),a=o=null},d.__c=function(t,r){r.some(function(t){try{t.__h.forEach(R),t.__h=t.__h.filter(function(t){return!t.__||I(t)})}catch(n){r.some(function(t){t.__h&&(t.__h=[])}),r=[],d.__e(n,t.__v)}}),m&&m(t,r)},d.unmount=function(t){g&&g(t);var r,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(t){try{R(t)}catch(t){r=t}}),n.__H=void 0,r&&d.__e(r,n.__v))};var M="function"==typeof requestAnimationFrame;function R(t){var r=o,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),o=r}function I(t){var r=o;t.__c=t.__(),o=r}function N(t,r){return!t||t.length!==r.length||r.some(function(r,n){return r!==t[n]})}function D(t,r){return"function"==typeof r?r(t):r}},48049:function(t,r,n){"use strict";var i=n(14397);function o(){}function a(){}a.resetWarningCache=o,t.exports=function(){function t(t,r,n,o,a,s){if
5(s!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},40718:function(t,r,n){t.exports=n(48049)()},14397:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},68786:function(t){"use strict";function r(t){this._maxSize=t,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(t){return this._values[t]},r.prototype.set=function(t,r){return this._size>=this._maxSize&&this.clear(),!(t in this._values)&&this._size++,this._values[t]=r};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,a=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,l=new r(512),u=new r(512),c=new r(512);function d(t){return l.get(t)||l.set(t,h(t).map(function(t){return t.replace(s,"$2")}))}function h(t){return t.match(n)||[""]}function f(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}t.exports={Cache:r,split:h,normalizePath:d,setter:function(t){var r=d(t);return u.get(t)||u.set(t,function(t,n){for(var i=0,o=r.length,a=t;i<o-1;){var s=r[i];if("__proto__"===s||"constructor"===s||"prototype"===s)return t;a=a[r[i++]]}a[r[i]]=n})},getter:function(t,r){var n=d(t);return c.get(t)||c.set(t,function(t){for(var i=0,o=n.length;i<o;){if(null==t&&r)return;t=t[n[i++]]}return t})},join:function(t){return t.reduce(function(t,r){return t+(f(r)||i.test(r)?"["+r+"]":(t?".":"")+r)},"")},forEach:function(t,r,n){!function(t,r,n){var s,l,u,c,d,h=t.length;for(u=0;u<h;u++){(l=t[u])&&(!f(s=l)&&(s.match(o)&&!s.match(i)||a.test(s))&&(l='"'+l+'"'),c=!(d=f(l))&&/^\d+$/.test(l),r.call(n,l,d,c,u,t))}}(Array.isArray(t)?t:h(t),r,n)}}},35819:function(t,r,n){let i=n(64888),o=n(82216),a=n(962),s=n(35623);function l(t,r,n,a,s){let l=[].slice.call(arguments,1),u=l.length,c="function"==typeof l[u-1];if(!c&&!i())throw Error("Callback required as last argument");if(c){if(u<2)throw Error("Too few arguments provided");2===u?(s=n,n=r,r=a=void 0):3===u&&(r.getContext&&void 0===s?(s=a,a=void 0):(s=a,a=n,n=r,r=void 0))}else{if(u<1)throw Error("Too few arguments provided");return 1===u?(n=r,r=a=void 0):2!==u||r.getContext||(a=n,n=r,r=void 0),new Promise(function(i,s){try{let s=o.create(n,a);i(t(s,r,a))}catch(t){s(t)}})}try{let i=o.create(n,a);s(null,t(i,r,a))}catch(t){s(t)}}r.create=o.create,r.toCanvas=l.bind(null,a.render),r.toDataURL=l.bind(null,a.renderToDataURL),r.toString=l.bind(null,function(t,r,n){return s.render(t,n)})},64888:function(t){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},14691:function(t,r,n){let i=n(62415).getSymbolSize;r.getRowColCoords=function(t){if(1===t)return[];let r=Math.floor(t/7)+2,n=i(t),o=145===n?26:2*Math.ceil((n-13)/(2*r-2)),a=[n-7];for(let t=1;t<r-1;t++)a[t]=a[t-1]-o;return a.push(6),a.reverse()},r.getPositions=function(t){let n=[],i=r.getRowColCoords(t),o=i.length;for(let t=0;t<o;t++)for(let r=0;r<o;r++)(0!==t||0!==r)&&(0!==t||r!==o-1)&&(t!==o-1||0!==r)&&n.push([i[t],i[r]]);return n}},87111:function(t,r,n){let i=n(17956),o=["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 a(t){this.mode=i.ALPHANUMERIC,this.data=t}a.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=45*o.indexOf(this.data[r]);n+=o.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(o.indexOf(this.data[r]),6)},t.exports=a},9298:function(t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){return(this.buffer[Math.floor(t/8)]>>>7-t%8&1)==1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(t){let r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},t.exports=r},55526:function(t){function r(t){if(!t||t<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}r.prototype.set=function(t,r,n,i){let o=t*this.size+r;this.data[o]=n,i&&(this.reservedBit[o]=!0)},r.prototype.get=function(t,r){return this.data[t*this.size+r]},r.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},r.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},t.exports=r},48153:function(t,r,n){let i=n(8878),o=n(17956);function a(t){this.mode=o.BYTE,"string"==typeof t&&(t=i(t)),this.data=new Uint8Array(t)}a.getBitsLength=function(t){return 8*t},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(t){for(let r=0,n=this.data.length;r<n;r++)t.put(this.data[r],8)},t.exports=a},79386:function(t,r,n){let i=n(29947),o=[1,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],a=[7,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,
vendor: 19,288 bytes, line 5
5192,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];r.getBlocksCount=function(t,r){switch(r){case i.L:return o[(t-1)*4+0];case i.M:return o[(t-1)*4+1];case i.Q:return o[(t-1)*4+2];case i.H:return o[(t-1)*4+3];default:return}},r.getTotalCodewordsCount=function(t,r){switch(r){case i.L:return a[(t-1)*4+0];case i.M:return a[(t-1)*4+1];case i.Q:return a[(t-1)*4+2];case i.H:return a[(t-1)*4+3];default:return}}},29947:function(t,r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2},r.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},r.from=function(t,n){if(r.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw Error("Unknown EC Level: "+t)}}(t)}catch(t){return n}}},44086:function(t,r,n){let i=n(62415).getSymbolSize;r.getPositions=function(t){let r=i(t);return[[0,0],[r-7,0],[0,r-7]]}},27433:function(t,r,n){let i=n(62415),o=i.getBCHDigit(1335);r.getEncodedBits=function(t,r){let n=t.bit<<3|r,a=n<<10;for(;i.getBCHDigit(a)-o>=0;)a^=1335<<i.getBCHDigit(a)-o;return(n<<10|a)^21522}},63384:function(t,r){let n=new Uint8Array(512),i=new Uint8Array(256);!function(){let t=1;for(let r=0;r<255;r++)n[r]=t,i[t]=r,256&(t<<=1)&&(t^=285);for(let t=255;t<512;t++)n[t]=n[t-255]}(),r.log=function(t){if(t<1)throw Error("log("+t+")");return i[t]},r.exp=function(t){return n[t]},r.mul=function(t,r){return 0===t||0===r?0:n[i[t]+i[r]]}},78514:function(t,r,n){let i=n(17956),o=n(62415);function a(t){this.mode=i.KANJI,this.data=t}a.getBitsLength=function(t){return 13*t},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(t){let r;for(r=0;r<this.data.length;r++){let n=o.toSJIS(this.data[r]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[r]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),t.put(n,13)}},t.exports=a},24483:function(t,r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};r.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){let r=t.size,i=0,o=0,a=0,s=null,l=null;for(let u=0;u<r;u++){o=a=0,s=l=null;for(let c=0;c<r;c++){let r=t.get(u,c);r===s?o++:(o>=5&&(i+=n.N1+(o-5)),s=r,o=1),(r=t.get(c,u))===l?a++:(a>=5&&(i+=n.N1+(a-5)),l=r,a=1)}o>=5&&(i+=n.N1+(o-5)),a>=5&&(i+=n.N1+(a-5))}return i},r.getPenaltyN2=function(t){let r=t.size,i=0;for(let n=0;n<r-1;n++)for(let o=0;o<r-1;o++){let r=t.get(n,o)+t.get(n,o+1)+t.get(n+1,o)+t.get(n+1,o+1);(4===r||0===r)&&i++}return i*n.N2},r.getPenaltyN3=function(t){let r=t.size,i=0,o=0,a=0;for(let n=0;n<r;n++){o=a=0;for(let s=0;s<r;s++)o=o<<1&2047|t.get(n,s),s>=10&&(1488===o||93===o)&&i++,a=a<<1&2047|t.get(s,n),s>=10&&(1488===a||93===a)&&i++}return i*n.N3},r.getPenaltyN4=function(t){let r=0,i=t.data.length;for(let n=0;n<i;n++)r+=t.data[n];return Math.abs(Math.ceil(100*r/i/5)-10)*n.N4},r.applyMask=function(t,n){let i=n.size;for(let o=0;o<i;o++)for(let a=0;a<i;a++)n.isReserved(a,o)||n.xor(a,o,function(t,n,i){switch(t){case r.Patterns.PATTERN000:return(n+i)%2==0;case r.Patterns.PATTERN001:return n%2==0;case r.Patterns.PATTERN010:return i%3==0;case r.Patterns.PATTERN011:return(n+i)%3==0;case r.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(i/3))%2==0;case r.Patterns.PATTERN101:return n*i%2+n*i%3==0;case r.Patterns.PATTERN110:return(n*i%2+n*i%3)%2==0;case r.Patterns.PATTERN111:return(n*i%3+(n+i)%2)%2==0;default:throw Error("bad maskPattern:"+t)}}(t,a,o))},r.getBestMask=function(t,n){let i=Object.keys(r.Patterns).length,o=0,a=1/0;for(let s=0;s<i;s++){n(s),r.applyMask(s,t);let i=r.getPenaltyN1(t)+r.getPenaltyN2(t)+r.getPenaltyN3(t)+r.getPenaltyN4(t);r.applyMask(s,t),i<a&&(a=i,o=s)}return o}},17956:function(t,r,n){let i=n(96623),o=n(80581);r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(t,r){if(!t.ccBits)throw Error("Invalid mode: "+t);if(!i.isValid(r))throw Error("Invalid version: "+r);return r>=1&&r<10?t.ccBits[0]:r<27?t.ccBits[1]:t.ccBits[2]},r.getBestModeForData=function(t){return o.testNumeric(t)?r.NUMERIC:o.testAlphanumeric(t)?r.ALPHANUMERIC:o.testKanji(t)?r.KANJI:r.BYTE},r.toString=function(t){if(t&&t.id)return t.id;throw Error("Invalid mode")},r.isValid=function(t){return t&&t.bit&&t.ccBits},r.from=function(t,n){if(r.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw Error("Unknown mode: "+t)}}(t)}catch(t){return n}}},51687:function(t,r,n){let i=n(17956);function o(t){this.mode=i.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let r,n;for(r=0;r+3<=this.data.length;r+=3)n=parseInt(this.data.substr(r,3),10),t.put(n,10);let i=this.data.length-r;i>0&&(n=parseInt(this.data.substr(r),10),t.put(n,3*i+1))},t.exports=o},46413:function(t,r,n){let i=n(63384);r.mul=function(t,r){let n=new Uint8Array(t.length+r.length-1);for(let o=0;o<t.length;o++)for(let a=0;a<r.length;a++)n[o+a]^=i.mul(t[o],r[a]);return n},r.mod=function(t,r){let n=new Uint8Array(t);for(;n.length-r.length>=0;){let t=n[0];for(let o=0;o<r.length;o++)n[o]^=i.mul(r[o],t);let o=0;for(;o<n.length&&0===n[o];)o++;n=n.slice(o)}return n},r.generateECPolynomial=function(t){let n=new Uint8Array([1]);for(let o=0;o<t;o++)n=r.mul(n,new Uint8Array([1,i.exp(o)]));return n}},82216:function(t,r,n){let i=n(62415),o=n(29947),a=n(9298),s=n(55526),l=n(14691),u=n(44086),c=n(24483),d=n(79386),h=n(24011),f=n(33379),p=n(27433),m=n(17956),g=n(89940);function y(t,r,n){let i,o;let a=t.size,s=p.getEncodedBits(r,n);for(i=0;i<15;i++)o=(s>>i&1)==1,i<6?t.set(i,8,o,!0):i<8?t.set(i+1,8,o,!0):t.set(a-15+i,8,o,!0),i<8?t.set(8,a-i-1,o,!0):i<9?t.set(8,15-i-1+1,o,!0):t.set(8,15-i-1,o,!0);t.set(a-8,8,1,!0)}r.create=function(t,r){let n,p;if(void 0===t||""===t)throw Error("No input text");let v=o.M;return void 0!==r&&(v=o.from(r.errorCorrectionLevel,o.M),n=f.from(r.version),p=c.from(r.maskPattern),r.toSJISFunc&&i.setToSJISFunction(r.toSJISFunc)),function(t,r,n,o){let p;if(Array.isArray(t))p=g.fromArray(t);else if("string"==typeof t){let i=r;if(!i){let r=g.rawSplit(t);i=f.getBestVersionForData(r,n)}p=g.fromString(t,i||40)}else throw Error("Invalid data");let v=f.getBestVersionForData(p,n);if(!v)throw Error("The amount of data is too big to be stored in a QR Code");if(r){if(r<v)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+v+".\n")}else r=v;let b=function(t,r,n){let o=new a;n.forEach(function(r){o.put(r.mode.bit,4),o.put(r.getLength(),m.getCharCountIndicator(r.mode,t)),r.write(o)});let s=(i.getSymbolTotalCodewords(t)-d.getTotalCodewordsCount(t,r))*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);let l=(s-o.getLengthInBits())/8;for(let t=0;t<l;t++)o.put(t%2?17:236,8);return function(t,r,n){let o,a;let s=i.getSymbolTotalCodewords(r),l=s-d.getTotalCodewordsCount(r,n),u=d.getBlocksCount(r,n),c=s%u,f=u-c,p=Math.floor(s/u),m=Math.floor(l/u),g=m+1,y=p-m,v=new h(y),b=0,w=Array(u),_=Array(u),S=0,E=new Uint8Array(t.buffer);for(let t=0;t<u;t++){let r=t<f?m:g;w[t]=E.slice(b,b+r),_[t]=v.encode(w[t]),b+=r,S=Math.max(S,r)}let A=new Uint8Array(s),x=0;for(o=0;o<S;o++)for(a=0;a<u;a++)o<w[a].length&&(A[x++]=w[a][o]);for(o=0;o<y;o++)for(a=0;a<u;a++)A[x++]=_[a][o];return A}(o,t,r)}(r,n,p),w=new s(i.getSymbolSize(r));return function(t,r){let n=t.size,i=u.getPositions(r);for(let r=0;r<i.length;r++){let o=i[r][0],a=i[r][1];for(let r=-1;r<=7;r++)if(!(o+r<=-1)&&!(n<=o+r))for(let i=-1;i<=7;i++)a+i<=-1||n<=a+i||(r>=0&&r<=6&&(0===i||6===i)||i>=0&&i<=6&&(0===r||6===r)||r>=2&&r<=4&&i>=2&&i<=4?t.set(o+r,a+i,!0,!0):t.set(o+r,a+i,!1,!0))}}(w,r),function(t){let r=t.size;for(let n=8;n<r-8;n++){let r=n%2==0;t.set(n,6,r,!0),t.set(6,n,r,!0)}}(w),function(t,r){let n=l.getPositions(r);for(let r=0;r<n.length;r++){let i=n[r][0],o=n[r][1];for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)-2===r||2===r||-2===n||2===n||0===r&&0===n?t.set(i+r,o+n,!0,!0):t.set(i+r,o+n,!1,!0)}}(w,r),y(w,n,0),r>=7&&function(t,r){let n,i,o;let a=t.size,s=f.getEncodedBits(r);for(let r=0;r<18;r++)n=Math.floor(r/3),i=r%3+a-8-3,o=(s>>r&1)==1,t.set(n,i,o,!0),t.set(i,n,o,!0)}(w,r),function(t,r){let n=t.size,i=-1,o=n-1,a=7,s=0;for(let l=n-1;l>0;l-=2)for(6===l&&l--;;){for(let n=0;n<2;n++)if(!t.isReserved(o,l-n)){let i=!1;s<r.length&&(i=(r[s]>>>a&1)==1),t.set(o,l-n,i),-1==--a&&(s++,a=7)}if((o+=i)<0||n<=o){o-=i,i=-i;break}}}(w,b),isNaN(o)&&(o=c.getBestMask(w,y.bind(null,w,n))),c.applyMask(o,w),y(w,n,o),{modules:w,version:r,errorCorrectionLevel:n,maskPattern:o,segments:p}}(t,n,v,p)}},24011:function(t,r,n){let i=n(46413);function o(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(t){this.degree=t,this.genPoly=i.generateECPolynomial(this.degree)},o.prototype.encode=function(t){if(!this.genPoly)throw Error("Encoder not initialized");let r=new Uint8Array(t.length+this.degree);r.set(t);let n=i.mod(r,this.genPoly),o=this.degree-n.length;if(o>0){let t=new Uint8Array(this.degree);return t.set(n,o),t}return n},t.exports=o},80581:function(t,r){let n="[0-9]+",i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",o="(?:(?![A-Z0-9 $%*+\\-./:]|"+(i=i.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";r.KANJI=RegExp(i,"g"),r.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),r.BYTE=RegExp(o,"g"),r.NUMERIC=RegExp(n,"g"),r.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let a=RegExp("^"+i+"$"),s=RegExp("^"+n+"$"),l=RegExp("^[A-Z0-9 $%*+\\-./:]+$");r.testKanji=function(t){return a.test(t)},r.testNumeric=function(t){return s.test(t)},r.testAlphanumeric=function(t){return l.test(t)}},89940:function(t,r,n){let i=n(17956),o=n(51687),a=n(87111),s=n(48153),l=n(78514),u=n(80581),c=n(62415),d=n(46946);function h(t){return unescape(encodeURIComponent(t)).length}function f(t,r,n){let i;let o=[];for(;null!==(i=t.exec(n));)o.push({data:i[0],index:i.index,mode:r,length:i[0].length});return o}function p(t){let r,n;let o=f(u.NUMERIC,i.NUMERIC,t),a=f(u.ALPHANUMERIC,i.ALPHANUMERIC,t);return c.isKanjiModeEnabled()?(r=f(u.BYTE,i.BYTE,t),n=f(u.KANJI,i.KANJI,t)):(r=f(u.BYTE_KANJI,i.BYTE,t),n=[]),o.concat(a,r,n).sort(function(t,r){return t.index-r.index}).map(function(t){return{data:t.data,mode:t.mode,length:t.length}})}function m(t,r){switch(r){case i.NUMERIC:return o.getBitsLength(t);case i.ALPHANUMERIC:return a.getBitsLength(t);case i.KANJI:return l.getBitsLength(t);case i.BYTE:return s.getBitsLength(t)}}function g(t,r){let n;let u=i.getBestModeForData(t);if((n=i.from(r,u))!==i.BYTE&&n.bit<u.bit)throw Error('"'+t+'" cannot be encoded with mode '+i.toString(n)+".\n Suggested mode is: "+i.toString(u));switch(n!==i.KANJI||c.isKanjiModeEnabled()||(n=i.BYTE),n){case i.NUMERIC:return new o(t);case i.ALPHANUMERIC:return new a(t);case i.KANJI:return new l(t);case i.BYTE:return new s(t)}}r.fromArray=function(t){return t.reduce(function(t,r){return"string"==typeof r?t.push(g(r,null)):r.data&&t.push(g(r.data,r.mode)),t},[])},r.fromString=function(t,n){let o=function(t,r){let n={},o={start:{}},a=["start"];for(let s=0;s<t.length;s++){let l=t[s],u=[];for(let t=0;t<l.length;t++){let c=l[t],d=""+s+t;u.push(d),n[d]={node:c,lastCount:0},o[d]={};for(let t=0;t<a.length;t++){let s=a[t];n[s]&&n[s].node.mode===c.mode?(o[s][d]=m(n[s].lastCount+c.length,c.mode)-m(n[s].lastCount,c.mode),n[s].lastCount+=c.length):(n[s]&&(n[s].lastCount=c.length),o[s][d]=m(c.length,c.mode)+4+i.getCharCountIndicator(c.mode,r))}}a=u}for(let t=0;t<a.length;t++)o[a[t]].end=0;return{map:o,table:n}}(function(t){let r=[];for(let n=0;n<t.length;n++){let o=t[n];switch(o.mode){case i.NUMERIC:r.push([o,{data:o.data,mode:i.ALPHANUMERIC,length:o.length},{data:o.data,mode:i.BYTE,length:o.length}]);break;case i.ALPHANUMERIC:r.push([o,{data:o.data,mode:i.BYTE,length:o.length}]);break;case i.KANJI:r.push([o,{data:o.data,mode:i.BYTE,length:h(o.data)}]);break;case i.BYTE:r.push([{data:o.data,mode:i.BYTE,length:h(o.data)}])}}return r}(p(t,c.isKanjiModeEnabled())),n),a=d.find_path(o.map,"start","end"),s=[];for(let t=1;t<a.length-1;t++)s.push(o.table[a[t]].node);return r.fromArray(s.reduce(function(t,r){let n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===r.mode?t[t.length-1].data+=r.data:t.push(r),t},[]))},r.rawSplit=function(t){return r.fromArray(p(t,c.isKanjiModeEnabled()))}},62415:function(t,r){let n;let i=[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];r.getSymbolSize=function(t){if(!t)throw Error('"version" cannot be null or undefined');if(t<1||t>40)throw Error('"version" should be in range from 1 to 40');return 4*t+17},r.getSymbolTotalCodewords=function(t){return i[t]},r.getBCHDigit=function(t){let r=0;for(;0!==t;)r++,t>>>=1;return r},r.setToSJISFunction=function(t){if("function"!=typeof t)throw Error('"toSJISFunc" is not a valid function.');n=t},r.isKanjiModeEnabled=function(){return void 0!==n},r.toSJIS=function(t){return n(t)}},96623:function(t,r){r.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},33379:function(t,r,n){let i=n(62415),o=n(79386),a=n(29947),s=n(17956),l=n(96623),u=i.getBCHDigit(7973);function c(t,r){return s.getCharCountIndicator(t,r)+4}r.from=function(t,r){return l.isValid(t)?parseInt(t,10):r},r.getCapacity=function(t,r,n){if(!l.isValid(t))throw Error("Invalid QR Code version");void 0===n&&(n=s.BYTE);let a=(i.getSymbolTotalCodewords(t)-o.getTotalCodewordsCount(t,r))*8;if(n===s.MIXED)return a;let u=a-c(n,t);switch(n){case s.NUMERIC:return Math.floor(u/10*3);case s.ALPHANUMERIC:return Math.floor(u/11*2);case s.KANJI:return Math.floor(u/13);case s.BYTE:default:return Math.floor(u/8)}},r.getBestVersionForData=function(t,n){let i;let o=a.from(n,a.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(let i=1;i<=40;i++)if(function(t,r){let n=0;return t.forEach(function(t){let i=c(t.mode,r);n+=i+t.getBitsLength()}),n}(t,i)<=r.getCapacity(i,n,s.MIXED))return i}(t,o);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,n,i){for(let o=1;o<=40;o++)if(n<=r.getCapacity(o,i,t))return o}(i.mode,i.getLength(),o)},r.getEncodedBits=function(t){if(!l.isValid(t)||t<7)throw Error("Invalid QR Code version");let r=t<<12;for(;i.getBCHDigit(r)-u>=0;)r^=7973<<i.getBCHDigit(r)-u;return t<<12|r}},962:function(t,r,n){let i=n(87220);r.render=function(t,r,n){var o;let a=n,s=r;void 0!==a||r&&r.getContext||(a=r,r=void 0),r||(s=function(){try{return document.createElement("canvas")}catch(t){throw Error("You need to specify a canvas element")}}()),a=i.getOptions(a);let l=i.getImageWidth(t.modules.size,a),u=s.getContext("2d"),c=u.createImageData(l,l);return i.qrToImageData(c.data,t,a),o=s,u.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=l,o.width=l,o.style.height=l+"px",o.style.width=l+"px",u.putImageData(c,0,0),s},r.renderToDataURL=function(t,n,i){let o=i;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});let a=r.render(t,n,o),s=o.type||"image/png",l=o.rendererOpts||{};return a.toDataURL(s,l.quality)}},35623:function(t,r,n){let i=n(87220);function o(t,r){let n=t.a/255,i=r+'="'+t.hex+'"';return n<1?i+" "+r+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function a(t,r,n){let i=t+r;return void 0!==n&&(i+=" "+n),i}r.render=function(t,r,n){let s=i.getOptions(r),l=t.modules.size,u=t.modules.data,c=l+2*s.margin,d=s.color.light.a?"<path "+o(s.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",h="<path "+o(s.color.dark,"stroke")+' d="'+function(t,r,n){let i="",o=0,s=!1,l=0;for(let u=0;u<t.length;u++){let c=Math.floor(u%r),d=Math.floor(u/r);c||s||(s=!0),t[u]?(l++,u>0&&c>0&&t[u-1]||(i+=s?a("M",c+n,.5+d+n):a("m",o,0),o=0,s=!1),c+1<r&&t[u+1]||(i+=a("h",l),l=0)):o++}return i}(u,l,s.margin)+'"/>',f='<svg xmlns="http://www.w3.org/2000/svg" '+(s.width?'width="'+s.width+'" height="'+s.width+'" ':"")+('viewBox="0 0 '+c)+" "+c+'" shape-rendering="crispEdges">'+d+h+"</svg>\n";return"function"==typeof n&&n(null,f),f}},87220:function(t,r){function n(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw Error("Color should be defined as hex string");let r=t.slice().replace("#","").split("");if(r.length<3||5===r.length||r.length>8)throw Error("Invalid hex color: "+t);(3===r.length||4===r.length)&&(r=Array.prototype.concat.apply([],r.map(function(t){return[t,t]}))),6===r.length&&r.push("F","F");let n=parseInt(r.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+r.slice(0,6).join("")}}r.getOptions=function(t){t||(t={}),t.color||(t.color={});let r=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,i=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:i,scale:i?4:o,margin:r,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},r.getScale=function(t,r){return r.width&&r.width>=t+2*r.margin?r.width/(t+2*r.margin):r.scale},r.getImageWidth=function(t,n){let i=r.getScale(t,n);return Math.floor((t+2*n.margin)*i)},r.qrToImageData=function(t,n,i){let o=n.modules.size,a=n.modules.data,s=r.getScale(o,i),l=Math.floor((o+2*i.margin)*s),u=i.margin*s,c=[i.color.light,i.color.dark];for(let r=0;r<l;r++)for(let n=0;n<l;n++){let d=(r*l+n)*4,h=i.color.light;r>=u&&n>=u&&r<l-u&&n<l-u&&(h=c[a[Math.floor((r-u)/s)*o+Math.floor((n-u)/s)]?1:0]),t[d++]=h.r,t[d++]=h.g,t[d++]=h.b,t[d]=h.a}}},30927:function(t,r){"use strict";var n,i=Object.prototype.hasOwnProperty;function o(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function a(t){try{return encodeURIComponent(t)}catch(t){return null}}r.stringify=function(t,r){var o,s,l=[];for(s in"string"!=typeof(r=r||"")&&(r="?"),t)if(i.call(t,s)){if(!(o=t[s])&&(null===o||o===n||isNaN(o))&&(o=""),s=a(s),o=a(o),null===s||null===o)continue;l.push(s+"="+o)}return l.length?r+l.join("&"):""}
5,r.parse=function(t){for(var r,n=/([^=?#&]+)=?([^&]*)/g,i={};r=n.exec(t);){var a=o(r[1]),s=o(r[2]);null===a||null===s||a in i||(i[a]=s)}return i}},95172:function(t){"use strict";function r(t){try{return JSON.stringify(t)}catch(t){return'"[Circular]"'}}t.exports=function(t,n,i){var o=i&&i.stringify||r;if("object"==typeof t&&null!==t){var a=n.length+1;if(1===a)return t;var s=Array(a);s[0]=o(t);for(var l=1;l<a;l++)s[l]=o(n[l]);return s.join(" ")}if("string"!=typeof t)return t;var u=n.length;if(0===u)return t;for(var c="",d=0,h=-1,f=t&&t.length||0,p=0;p<f;){if(37===t.charCodeAt(p)&&p+1<f){switch(h=h>-1?h:0,t.charCodeAt(p+1)){case 100:case 102:if(d>=u||null==n[d])break;h<p&&(c+=t.slice(h,p)),c+=Number(n[d]),h=p+2,p++;break;case 105:if(d>=u||null==n[d])break;h<p&&(c+=t.slice(h,p)),c+=Math.floor(Number(n[d])),h=p+2,p++;break;case 79:case 111:case 106:if(d>=u||void 0===n[d])break;h<p&&(c+=t.slice(h,p));var m=typeof n[d];if("string"===m){c+="'"+n[d]+"'",h=p+2,p++;break}if("function"===m){c+=n[d].name||"<anonymous>",h=p+2,p++;break}c+=o(n[d]),h=p+2,p++;break;case 115:if(d>=u)break;h<p&&(c+=t.slice(h,p)),c+=String(n[d]),h=p+2,p++;break;case 37:h<p&&(c+=t.slice(h,p)),c+="%",h=p+2,p++,d--}++d}++p}return -1===h?t:(h<f&&(c+=t.slice(h)),c)}},6337:function(t,r,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.CopyToClipboard=void 0;var o=l(n(2265)),a=l(n(49211)),s=["text","onCopy","options","children"];function l(t){return t&&t.__esModule?t:{default:t}}function u(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function c(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach(function(r){p(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function d(t,r){return(d=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function h(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var m=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&d(t,r)}(u,t);var r,n,l=(r=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(t){return!1}}(),function(){var t,n=f(u);return t=r?Reflect.construct(n,arguments,f(this).constructor):n.apply(this,arguments),function(t,r){if(r&&("object"===i(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return h(t)}(this,t)});function u(){var t;!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,u);for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return p(h(t=l.call.apply(l,[this].concat(n))),"onClick",function(r){var n=t.props,i=n.text,s=n.onCopy,l=n.children,u=n.options,c=o.default.Children.only(l),d=(0,a.default)(i,u);s&&s(i,d),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(r)}),t}return n=[{key:"render",value:function(){var t=this.props,r=(t.text,t.onCopy,t.options,t.children),n=function(t,r){if(null==t)return{};var n,i,o=function(t,r){if(null==t)return{};var n,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],r.indexOf(n)>=0||(o[n]=t[n]);return o}(t,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,s),i=o.default.Children.only(r);return o.default.cloneElement(i,c(c({},n),{},{onClick:this.onClick}))}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(u.prototype,n),Object.defineProperty(u,"prototype",{writable:!1}),u}(o.default.PureComponent);r.CopyToClipboard=m,p(m,"defaultProps",{onCopy:void 0,options:void 0})},29233:function(t,r,n){"use strict";
5var i=n(6337).CopyToClipboard;i.CopyToClipboard=i,t.exports=i},49953:function(t){var r;window,r=function(){return function(t){var r={};function n(i){if(r[i])return r[i].exports;var o=r[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=r,n.d=function(t,r,i){n.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,r){if(1&r&&(t=n(t)),8&r||4&r&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)n.d(i,o,(function(r){return t[r]}).bind(null,o));return i},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.p="",n(n.s=0)}([function(t,r,n){t.exports=n(1)},function(t,r,n){"use strict";function i(t){return function(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(r);var o=!!window.fbq,a=!1,s=function(){var t;if(a){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];(t=console).info.apply(t,i(["[react-facebook-pixel]"].concat(n)))}},l=function(){var t;if(a){for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];(t=console).info.apply(t,i(["[react-facebook-pixel]"].concat(n)))}},u=function(){return o||s("Pixel not initialized before using call ReactPixel.init with required params"),o},c={autoConfig:!0,debug:!1};r.default={init:function(t){var r,n,i,l,u,d,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;r=window,n=document,i="script",r.fbq||(l=r.fbq=function(){l.callMethod?l.callMethod.apply(l,arguments):l.queue.push(arguments)},r._fbq||(r._fbq=l),l.push=l,l.loaded=!0,l.version="2.0",l.queue=[],(u=n.createElement(i)).async=!0,u.src="https://connect.facebook.net/en_US/fbevents.js",(d=n.getElementsByTagName(i)[0]).parentNode.insertBefore(u,d)),t?(!1===f.autoConfig&&fbq("set","autoConfig",!1,t),fbq("init",t,h),o=!0,a=f.debug):s("Please insert pixel id for initializing")},pageView:function(){u()&&(fbq("track","PageView"),a&&l("called fbq('track', 'PageView');"))},track:function(t,r){u()&&(fbq("track",t,r),a&&(l("called fbq('track', '".concat(t,"');")),r&&l("with data",r)))},trackSingle:function(t,r,n){u()&&(fbq("trackSingle",t,r,n),a&&(l("called fbq('trackSingle', '".concat(t,"', '").concat(r,"');")),n&&l("with data",n)))},trackCustom:function(t,r){u()&&(fbq("trackCustom",t,r),a&&(l("called fbq('trackCustom', '".concat(t,"');")),r&&l("with data",r)))},trackSingleCustom:function(t,r,n){u()&&(fbq("trackSingle",t,r,n),a&&(l("called fbq('trackSingleCustom', '".concat(t,"', '").concat(r,"');")),n&&l("with data",n)))},grantConsent:function(){u()&&(fbq("consent","grant"),a&&l("called fbq('consent', 'grant');"))},revokeConsent:function(){u()&&(fbq("consent","revoke"),a&&l("called fbq('consent', 'revoke');"))},fbq:function(t){function r(){return t.apply(this,arguments)}return r.toString=function(){return t.toString()},r}(function(){if(u()){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];fbq.apply(void 0,r),a&&(l("called fbq('".concat(r.slice(0,2).join("', '"),"')")),r[2]&&l("with data",r[2]))}})}}])},t.exports=r()},87911:function(t,r,n){"use strict";var i=n(2265),o=t=>"checkbox"===t.type,a=t=>t instanceof Date,s=t=>null==t;let l=t=>"object"==typeof t;var u=t=>!s(t)&&!Array.isArray(t)&&l(t)&&!a(t),c=t=>u(t)&&t.target?o(t.target)?t.target.checked:t.target.value:t,d=(t,r)=>t.has(r.substring(0,r.search(/\.\d+(\.|$)/))||r),h="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function f(t){let r;let n=Array.isArray(t),i="undefined"!=typeof FileList&&t instanceof FileList;if(t instanceof Date)r=new Date(t);else if(t instanceof Set)r=new Set(t);else{if(h&&(t instanceof Blob||i)||!n&&!u(t))return t;if(r=n?[]:{},n||(t=>{let r=t.constructor&&t.constructor.prototype;return u(r)&&r.hasOwnProperty("isPrototypeOf")})(t))for(let n in t)t.hasOwnProperty(n)&&(r[n]=f(t[n]));else r=t}return r}var p=t=>Array.isArray(t)?t.filter(Boolean):[],m=t=>void 0===t,g=(t,r,n)=>{if(!r||!u(t))return n;let i=p(r.split(/[,[\].]+?/)).reduce((t,r)=>s(t)?t:t[r],t);return m(i)||i===t?m(t[r])?n:t[r]:i},y=t=>"boolean"==typeof t,v=t=>/^\w*$/.test(t),b=t=>p(t.replace(/["|']|\]/g,"").split(/\.|\[/)),w=(t,r,n)=>{let i=-1,o=v(r)?[r]:b(r),a=o.length,s=a-1;for(;++i<a;){let r=o[i],a=n;if(i!==s){let n=t[r];a=u(n)||Array.isArray(n)?n:isNaN(+o[i+1])?{}:[]}if("__proto__"===r||"constructor"===r||"prototype"===r)return;t[r]=a,t=t[r]}return t};let _="blur",S="onChange",E="onSubmit",A="maxLength",x="minLength",k="pattern",O="required",P=i.createContext(null),C=()=>i.useContext(P);var T=(t,r,n,i=!0)=>{let o={defaultValues:r._defaultValues};for(let a in t)Object.defineProperty(o,a,{get:()=>("all"!==r._proxyFormState[a]&&(r._proxyFormState[a]=!i||"all"),n&&(n[a]=!0),t[a])});return o},M=t=>u(t)&&!Object.keys(t).length,R=(t,r,n,i)=>{n(t);let{name:o,...a}=t;return M(a)||Object.keys(a).length>=Object.keys(r).length||Object.keys(a).find(t=>r[t]===(!i||"all"))},I=t=>Array.isArray(t)?t:[t],N=(t,r,n)=>!t||!r||t===r||I(t).some(t=>t&&(n?t===r:t.startsWith(r)||r.startsWith(t)));function D(t){let r=i.useRef(t);r.current=t,i.useEffect(()=>{let n=!t.disabled&&r.current.subject&&r.current.subject.subscribe({next:r.current.next});return()=>{n&&n.unsubscribe()}},[t.disabled])}function F(t){let r=C(),{control:n=r.control,disabled:o,name:a,exact:s}=t||{},[l,u]=i.useState(n._formState),c=i.useRef(!0),d=i.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),h=i.useRef(a);return h.current=a,D({disabled:o,next:t=>c.current&&N(h.current,t.name,s)&&R(t,d.current,n._updateFormState)&&u({...n._formState,...t}),subject:n._subjects.state}),i.useEffect(()=>
5(c.current=!0,d.current.isValid&&n._updateValid(!0),()=>{c.current=!1}),[n]),i.useMemo(()=>T(l,n,d.current,!1),[l,n])}var L=t=>"string"==typeof t,$=(t,r,n,i,o)=>L(t)?(i&&r.watch.add(t),g(n,t,o)):Array.isArray(t)?t.map(t=>(i&&r.watch.add(t),g(n,t))):(i&&(r.watchAll=!0),n);function j(t){let r=C(),{control:n=r.control,name:o,defaultValue:a,disabled:s,exact:l}=t||{},u=i.useRef(o);u.current=o,D({disabled:s,subject:n._subjects.values,next:t=>{N(u.current,t.name,l)&&d(f($(u.current,n._names,t.values||n._formValues,!1,a)))}});let[c,d]=i.useState(n._getWatch(o,a));return i.useEffect(()=>n._removeUnmounted()),c}function U(t){let r=C(),{name:n,disabled:o,control:a=r.control,shouldUnregister:s}=t,l=d(a._names.array,n),u=j({control:a,name:n,defaultValue:g(a._formValues,n,g(a._defaultValues,n,t.defaultValue)),exact:!0}),h=F({control:a,name:n,exact:!0}),p=i.useRef(a.register(n,{...t.rules,value:u,...y(t.disabled)?{disabled:t.disabled}:{}})),v=i.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!g(h.errors,n)},isDirty:{enumerable:!0,get:()=>!!g(h.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!g(h.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!g(h.validatingFields,n)},error:{enumerable:!0,get:()=>g(h.errors,n)}}),[h,n]),b=i.useMemo(()=>({name:n,value:u,...y(o)||h.disabled?{disabled:h.disabled||o}:{},onChange:t=>p.current.onChange({target:{value:c(t),name:n},type:"change"}),onBlur:()=>p.current.onBlur({target:{value:g(a._formValues,n),name:n},type:_}),ref:t=>{let r=g(a._fields,n);r&&t&&(r._f.ref={focus:()=>t.focus(),select:()=>t.select(),setCustomValidity:r=>t.setCustomValidity(r),reportValidity:()=>t.reportValidity()})}}),[n,a._formValues,o,h.disabled,u,a._fields]);return i.useEffect(()=>{let t=a._options.shouldUnregister||s,r=(t,r)=>{let n=g(a._fields,t);n&&n._f&&(n._f.mount=r)};if(r(n,!0),t){let t=f(g(a._options.defaultValues,n));w(a._defaultValues,n,t),m(g(a._formValues,n))&&w(a._formValues,n,t)}return l||a.register(n),()=>{(l?t&&!a._state.action:t)?a.unregister(n):r(n,!1)}},[n,a,l,s]),i.useEffect(()=>{a._updateDisabledField({disabled:o,fields:a._fields,name:n})},[o,n,a]),i.useMemo(()=>({field:b,formState:h,fieldState:v}),[b,h,v])}let B=t=>{let r={};for(let n of Object.keys(t))if(l(t[n])&&null!==t[n]){let i=B(t[n]);for(let t of Object.keys(i))r[`${n}.${t}`]=i[t]}else r[n]=t[n];return r};var z=(t,r,n,i,o)=>r?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[i]:o||!0}}:{},H=()=>{let t="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let n=(16*Math.random()+t)%16|0;return("x"==r?n:3&n|8).toString(16)})},q=(t,r,n={})=>n.shouldFocus||m(n.shouldFocus)?n.focusName||`${t}.${m(n.focusIndex)?r:n.focusIndex}.`:"",V=t=>({isOnSubmit:!t||t===E,isOnBlur:"onBlur"===t,isOnChange:t===S,isOnAll:"all"===t,isOnTouch:"onTouched"===t}),G=(t,r,n)=>!n&&(r.watchAll||r.watch.has(t)||[...r.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));let W=(t,r,n,i)=>{for(let o of n||Object.keys(t)){let n=g(t,o);if(n){let{_f:t,...a}=n;if(t){if(t.refs&&t.refs[0]&&r(t.refs[0],o)&&!i||t.ref&&r(t.ref,t.name)&&!i)return!0;if(W(a,r))break}else if(u(a)&&W(a,r))break}}};var K=(t,r,n)=>{let i=I(g(t,n));return w(i,"root",r[n]),w(t,n,i),t},Y=t=>"file"===t.type,Z=t=>"function"==typeof t,X=t=>{if(!h)return!1;let r=t?t.ownerDocument:0;return t instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},J=t=>L(t),Q=t=>"radio"===t.type,ee=t=>t instanceof RegExp;let et={value:!1,isValid:!1},er={value:!0,isValid:!0};var en=t=>{if(Array.isArray(t)){if(t.length>1){let r=t.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!m(t[0].attributes.value)?m(t[0].value)||""===t[0].value?er:{value:t[0].value,isValid:!0}:er:et}return et};let ei={isValid:!1,value:null};var eo=t=>Array.isArray(t)?t.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,ei):ei;function ea(t,r,n="validate"){if(J(t)||Array.isArray(t)&&t.every(J)||y(t)&&!t)return{type:n,message:J(t)?t:"",ref:r}}var es=t=>u(t)&&!ee(t)?t:{value:t,message:""},el=async(t,r,n,i,a,l)=>{let{ref:c,refs:d,required:h,maxLength:f,minLength:p,min:v,max:b,pattern:w,validate:_,name:S,valueAsNumber:E,mount:P}=t._f,C=g(n,S);if(!P||r.has(S))return{};let T=d?d[0]:c,R=t=>{a&&T.reportValidity&&(T.setCustomValidity(y(t)?"":t||""),T.reportValidity())},I={},N=Q(c),D=o(c),F=(E||Y(c))&&m(c.value)&&m(C)||X(c)&&""===c.value||""===C||Array.isArray(C)&&!C.length,$=z.bind(null,S,i,I),j=(t,r,n,i=A,o=x)=>{let a=t?r:n;I[S]={type:t?i:o,message:a,ref:c,...$(t?i:o,a)}};
5if(l?!Array.isArray(C)||!C.length:h&&(!(N||D)&&(F||s(C))||y(C)&&!C||D&&!en(d).isValid||N&&!eo(d).isValid)){let{value:t,message:r}=J(h)?{value:!!h,message:h}:es(h);if(t&&(I[S]={type:O,message:r,ref:T,...$(O,r)},!i))return R(r),I}if(!(F||s(v)&&s(b))){let t,r;let n=es(b),o=es(v);if(s(C)||isNaN(C)){let i=c.valueAsDate||new Date(C),a=t=>new Date((new Date).toDateString()+" "+t),s="time"==c.type,l="week"==c.type;L(n.value)&&C&&(t=s?a(C)>a(n.value):l?C>n.value:i>new Date(n.value)),L(o.value)&&C&&(r=s?a(C)<a(o.value):l?C<o.value:i<new Date(o.value))}else{let i=c.valueAsNumber||(C?+C:C);s(n.value)||(t=i>n.value),s(o.value)||(r=i<o.value)}if((t||r)&&(j(!!t,n.message,o.message,"max","min"),!i))return R(I[S].message),I}if((f||p)&&!F&&(L(C)||l&&Array.isArray(C))){let t=es(f),r=es(p),n=!s(t.value)&&C.length>+t.value,o=!s(r.value)&&C.length<+r.value;if((n||o)&&(j(n,t.message,r.message),!i))return R(I[S].message),I}if(w&&!F&&L(C)){let{value:t,message:r}=es(w);if(ee(t)&&!C.match(t)&&(I[S]={type:k,message:r,ref:c,...$(k,r)},!i))return R(r),I}if(_){if(Z(_)){let t=ea(await _(C,n),T);if(t&&(I[S]={...t,...$("validate",t.message)},!i))return R(t.message),I}else if(u(_)){let t={};for(let r in _){if(!M(t)&&!i)break;let o=ea(await _[r](C,n),T,r);o&&(t={...o,...$(r,o.message)},R(o.message),i&&(I[S]=t))}if(!M(t)&&(I[S]={ref:T,...t},!i))return I}}return R(!0),I},eu=(t,r)=>[...t,...I(r)],ec=t=>Array.isArray(t)?t.map(()=>{}):void 0;function ed(t,r,n){return[...t.slice(0,r),...I(n),...t.slice(r)]}var eh=(t,r,n)=>Array.isArray(t)?(m(t[n])&&(t[n]=void 0),t.splice(n,0,t.splice(r,1)[0]),t):[],ef=(t,r)=>[...I(r),...I(t)],ep=(t,r)=>m(r)?[]:function(t,r){let n=0,i=[...t];for(let t of r)i.splice(t-n,1),n++;return p(i).length?i:[]}(t,I(r).sort((t,r)=>t-r)),em=(t,r,n)=>{[t[r],t[n]]=[t[n],t[r]]};function eg(t,r){let n=Array.isArray(r)?r:v(r)?[r]:b(r),i=1===n.length?t:function(t,r){let n=r.slice(0,-1).length,i=0;for(;i<n;)t=m(t)?i++:t[r[i++]];return t}(t,n),o=n.length-1,a=n[o];return i&&delete i[a],0!==o&&(u(i)&&M(i)||Array.isArray(i)&&function(t){for(let r in t)if(t.hasOwnProperty(r)&&!m(t[r]))return!1;return!0}(i))&&eg(t,n.slice(0,-1)),t}var ey=(t,r,n)=>(t[r]=n,t),ev=()=>{let t=[];return{get observers(){return t},next:r=>{for(let n of t)n.next&&n.next(r)},subscribe:r=>(t.push(r),{unsubscribe:()=>{t=t.filter(t=>t!==r)}}),unsubscribe:()=>{t=[]}}},eb=t=>s(t)||!l(t);function ew(t,r){if(eb(t)||eb(r))return t===r;if(a(t)&&a(r))return t.getTime()===r.getTime();let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(let o of n){let n=t[o];if(!i.includes(o))return!1;if("ref"!==o){let t=r[o];if(a(n)&&a(t)||u(n)&&u(t)||Array.isArray(n)&&Array.isArray(t)?!ew(n,t):n!==t)return!1}}return!0}var e_=t=>"select-multiple"===t.type,eS=t=>X(t)&&t.isConnected,eE=t=>{for(let r in t)if(Z(t[r]))return!0;return!1};function eA(t,r={}){let n=Array.isArray(t);if(u(t)||n)for(let n in t)Array.isArray(t[n])||u(t[n])&&!eE(t[n])?(r[n]=Array.isArray(t[n])?[]:{},eA(t[n],r[n])):s(t[n])||(r[n]=!0);return r}var ex=(t,r)=>(function t(r,n,i){let o=Array.isArray(r);if(u(r)||o)for(let o in r)Array.isArray(r[o])||u(r[o])&&!eE(r[o])?m(n)||eb(i[o])?i[o]=Array.isArray(r[o])?eA(r[o],[]):{...eA(r[o])}:t(r[o],s(n)?{}:n[o],i[o]):i[o]=!ew(r[o],n[o]);return i})(t,r,eA(r)),ek=(t,{valueAsNumber:r,valueAsDate:n,setValueAs:i})=>m(t)?t:r?""===t?NaN:t?+t:t:n&&L(t)?new Date(t):i?i(t):t;function eO(t){let r=t.ref;return Y(r)?r.files:Q(r)?eo(t.refs).value:e_(r)?[...r.selectedOptions].map(({value:t})=>t):o(r)?en(t.refs).value:ek(m(r.value)?t.ref.value:r.value,t)}var eP=t=>m(t)?t:ee(t)?t.source:u(t)?ee(t.value)?t.value.source:t.value:t;let eC="AsyncFunction";function eT(t,r,n){let i=g(t,n);if(i||v(n))return{error:i,name:n};let o=n.split(".");for(;o.length;){let i=o.join("."),a=g(r,i),s=g(t,i);if(a&&!Array.isArray(a)&&n!==i)break;if(s&&s.type)return{name:i,error:s};o.pop()}return{name:n}}let eM={mode:E,reValidateMode:S,shouldFocusError:!0};r.Controller=t=>t.render(U(t)),r.Form=function(t){let r=C(),[n,o]=i.useState(!1),{control:a=r.control,onSubmit:s,children:l,action:u,method:c="post",headers:d,encType:h,onError:f,render:p,onSuccess:m,validateStatus:g,...y}=t,v=async r=>{let n=!1,i="";await a.handleSubmit(async t=>{let o=new FormData,l="";try{l=JSON.stringify(t)}catch(t){}let p=B(a._formValues);for(let t in p)o.append(t,p[t]);if(s&&await s({data:t,event:r,method:c,formData:o,formDataJson:l}),u)try{let t=[d&&d["Content-Type"],h].some(t=>t&&t.includes("json")),r=await fetch(String(u),{method:c,headers:{...d,...h?{"Content-Type":h}:{}},body:t?l:o});r&&(g?!g(r.status):r.status<200||r.status>=300)?(n=!0,f&&f({response:r}),i=String(r.status)):m&&m({response:r})}catch(t){n=!0,f&&f({error:t})}})(r),n&&t.control&&(t.control._subjects.state.next({isSubmitSuccessful:!1}),t.control.setError("root.server",{type:i}))};return i.useEffect(()=>{o(!0)},[]),p?i.createElement(i.Fragment,null,p({submit:v})):i.createElement("form",{noValidate:n,action:u,method:c,encType:h,onSubmit:v,...y},l)},r.FormProvider=t=>{let{children:r,...n}=t;return i.createElement(P.Provider,{value:n},r)},r.appendErrors=z,r.get=g,r.set=w,r.useController=U,r.useFieldArray=function(t){let r=C(),{control:n=r.control,name:o,keyName:a="id",shouldUnregister:s,rules:l}=t,[u,c]=i.useState(n._getFieldArray(o)),d=i.useRef(n._getFieldArray(o).map(H)),h=i.useRef(u),p=i.useRef(o),m=i.useRef(!1);p.current=o,h.current=u,n._names.array.add(o),l&&n.register(o,l),D({next:({values:t,name:r})=>{if(r===p.current||!r){let r=g(t,p.current);Array.isArray(r)&&(c(r),d.current=r.map(H))}},subject:n._subjects.array});let y=i.useCallback(t=>{m.current=!0,n._updateFieldArray(o,t)},[n,o]);return i.useEffect(()=>{if(n._state.action=!1,G(o,n._names)&&n._subjects.state.next({...n._formState}),m.current&&(!V(n._options.mode).isOnSubmit||n._formState.isSubmitted)){if
vendor: 10,291 bytes, line 5
5(n._options.resolver)n._executeSchema([o]).then(t=>{let r=g(t.errors,o),i=g(n._formState.errors,o);(i?!r&&i.type||r&&(i.type!==r.type||i.message!==r.message):r&&r.type)&&(r?w(n._formState.errors,o,r):eg(n._formState.errors,o),n._subjects.state.next({errors:n._formState.errors}))});else{let t=g(n._fields,o);!t||!t._f||V(n._options.reValidateMode).isOnSubmit&&V(n._options.mode).isOnSubmit||el(t,n._names.disabled,n._formValues,"all"===n._options.criteriaMode,n._options.shouldUseNativeValidation,!0).then(t=>!M(t)&&n._subjects.state.next({errors:K(n._formState.errors,t,o)}))}}n._subjects.values.next({name:o,values:{...n._formValues}}),n._names.focus&&W(n._fields,(t,r)=>{if(n._names.focus&&r.startsWith(n._names.focus)&&t.focus)return t.focus(),1}),n._names.focus="",n._updateValid(),m.current=!1},[u,o,n]),i.useEffect(()=>(g(n._formValues,o)||n._updateFieldArray(o),()=>{(n._options.shouldUnregister||s)&&n.unregister(o)}),[o,n,a,s]),{swap:i.useCallback((t,r)=>{let i=n._getFieldArray(o);em(i,t,r),em(d.current,t,r),y(i),c(i),n._updateFieldArray(o,i,em,{argA:t,argB:r},!1)},[y,o,n]),move:i.useCallback((t,r)=>{let i=n._getFieldArray(o);eh(i,t,r),eh(d.current,t,r),y(i),c(i),n._updateFieldArray(o,i,eh,{argA:t,argB:r},!1)},[y,o,n]),prepend:i.useCallback((t,r)=>{let i=I(f(t)),a=ef(n._getFieldArray(o),i);n._names.focus=q(o,0,r),d.current=ef(d.current,i.map(H)),y(a),c(a),n._updateFieldArray(o,a,ef,{argA:ec(t)})},[y,o,n]),append:i.useCallback((t,r)=>{let i=I(f(t)),a=eu(n._getFieldArray(o),i);n._names.focus=q(o,a.length-1,r),d.current=eu(d.current,i.map(H)),y(a),c(a),n._updateFieldArray(o,a,eu,{argA:ec(t)})},[y,o,n]),remove:i.useCallback(t=>{let r=ep(n._getFieldArray(o),t);d.current=ep(d.current,t),y(r),c(r),Array.isArray(g(n._fields,o))||w(n._fields,o,void 0),n._updateFieldArray(o,r,ep,{argA:t})},[y,o,n]),insert:i.useCallback((t,r,i)=>{let a=I(f(r)),s=ed(n._getFieldArray(o),t,a);n._names.focus=q(o,t,i),d.current=ed(d.current,t,a.map(H)),y(s),c(s),n._updateFieldArray(o,s,ed,{argA:t,argB:ec(r)})},[y,o,n]),update:i.useCallback((t,r)=>{let i=f(r),a=ey(n._getFieldArray(o),t,i);d.current=[...a].map((r,n)=>r&&n!==t?d.current[n]:H()),y(a),c([...a]),n._updateFieldArray(o,a,ey,{argA:t,argB:i},!0,!1)},[y,o,n]),replace:i.useCallback(t=>{let r=I(f(t));d.current=r.map(H),y([...r]),c([...r]),n._updateFieldArray(o,[...r],t=>t,{},!0,!1)},[y,o,n]),fields:i.useMemo(()=>u.map((t,r)=>({...t,[a]:d.current[r]||H()})),[u,a])}},r.useForm=function(t={}){let r=i.useRef(void 0),n=i.useRef(void 0),[l,v]=i.useState({isDirty:!1,isValidating:!1,isLoading:Z(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:Z(t.defaultValues)?void 0:t.defaultValues});r.current||(r.current={...function(t={}){let r,n={...eM,...t},i={submitCount:0,isDirty:!1,isLoading:Z(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},l={},v=(u(n.defaultValues)||u(n.values))&&f(n.defaultValues||n.values)||{},b=n.shouldUnregister?{}:f(v),S={action:!1,mount:!1,watch:!1},E={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},A=0,x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},k={values:ev(),array:ev(),state:ev()},O=V(n.mode),P=V(n.reValidateMode),C="all"===n.criteriaMode,T=async t=>{if(!n.disabled&&(x.isValid||t)){let t=n.resolver?M((await j()).errors):await U(l,!0);t!==i.isValid&&k.state.next({isValid:t})}},R=(t,r)=>{!n.disabled&&(x.isValidating||x.validatingFields)&&((t||Array.from(E.mount)).forEach(t=>{t&&(r?w(i.validatingFields,t,r):eg(i.validatingFields,t))}),k.state.next({validatingFields:i.validatingFields,isValidating:!M(i.validatingFields)}))},N=(t,r,n,i)=>{let o=g(l,t);if(o){let a=g(b,t,m(n)?g(v,t):n);m(a)||i&&i.defaultChecked||r?w(b,t,r?a:eO(o._f)):H(t,a),S.mount&&T()}},D=(t,r,o,a,s)=>{let u=!1,c=!1,d={name:t};if(!n.disabled){let n=!!(g(l,t)&&g(l,t)._f&&g(l,t)._f.disabled);if(!o||a){x.isDirty&&(c=i.isDirty,i.isDirty=d.isDirty=B(),u=c!==d.isDirty);let o=n||ew(g(v,t),r);c=!(n||!g(i.dirtyFields,t)),o||n?eg(i.dirtyFields,t):w(i.dirtyFields,t,!0),d.dirtyFields=i.dirtyFields,u=u||x.dirtyFields&&!o!==c}if(o){let r=g(i.touchedFields,t);r||(w(i.touchedFields,t,o),d.touchedFields=i.touchedFields,u=u||x.touchedFields&&r!==o)}u&&s&&k.state.next(d)}return u?d:{}},F=(t,o,a,s)=>{var l;let u=g(i.errors,t),c=x.isValid&&y(o)&&i.isValid!==o;if(n.delayError&&a?(l=()=>{w(i.errors,t,a),k.state.next({errors:i.errors})},(r=t=>{clearTimeout(A),A=setTimeout(l,t)})(n.delayError)):(clearTimeout(A),r=null,a?w(i.errors,t,a):eg(i.errors,t)),(a?!ew(u,a):u)||!M(s)||c){let r={...s,...c&&y(o)?{isValid:o}:{},errors:i.errors,name:t};i={...i,...r},k.state.next(r)}},j=async t=>{R(t,!0);let r=await n.resolver(b,n.context,((t,r,n,i)=>{let o={};for(let n of t){let t=g(r,n);t&&w(o,n,t._f)}return{criteriaMode:n,names:[...t],fields:o,shouldUseNativeValidation:i}})(t||E.mount,l,n.criteriaMode,n.shouldUseNativeValidation));return R(t),r},U=async(t,r,o={valid:!0})=>{var a;for(let s in t){let l=t[s];if(l){let{_f:t,...c}=l;if(t){let c=E.array.has(t.name),d=l._f&&!!(a=l._f)&&!!a.validate&&!!(Z(a.validate)&&a.validate.constructor.name===eC||u(a.validate)&&Object.values(a.validate).find(t=>t.constructor.name===eC));d&&x.validatingFields&&R([s],!0);let h=await el(l,E.disabled,b,C,n.shouldUseNativeValidation&&!r,c);if(d&&x.validatingFields&&R([s]),h[t.name]&&(o.valid=!1,r))break;r||(g(h,t.name)?c?K(i.errors,h,t.name):w(i.errors,t.name,h[t.name]):eg(i.errors,t.name))}M(c)||await U(c,r,o)}}return o.valid},B=(t,r)=>!n.disabled&&(t&&r&&w(b,t,r),!ew(en(),v)),z=(t,r,n)=>$(t,E,{...S.mount?b:m(r)?v:L(t)?{[t]:r}:r},n,r),H=(t,r,n={})=>{let i=g(l,t),a=r;if(i){let n=i._f;n&&(n.disabled||w(b,t,ek(r,n)),a=X(n.ref)&&s(r)?"":r,e_(n.ref)?[...n.ref.options].forEach(t=>t.selected=a.includes(t.value)):n.refs?o(n.ref)?n.refs.length>1?n.refs.forEach(t=>(!t.defaultChecked||!t.disabled)&&(t.checked=Array.isArray(a)?!!a.find(r=>r===t.value):a===t.value)):n.refs[0]&&(n.refs[0].checked=!!a):n.refs.forEach(t=>t.checked=t.value===a):Y(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||k.values.next({name:t,values:{...b}})))}(n.shouldDirty||n.shouldTouch)&&D(t,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&er(t)},q=(t,r,n)=>{for(let i in r){let o=r[i],s=`${t}.${i}`,c=g(l,s);(E.array.has(t)||u(o)||c&&!c._f)&&!a(o)?q(s,o,n):H(s,o,n)}},J=(t,r,n={})=>{let o=g(l,t),a=E.array.has(t),u=f(r);w(b,t,u),a?(k.array.next({name:t,values:{...b}}),(x.isDirty||x.dirtyFields)&&n.shouldDirty&&k.state.next({name:t,dirtyFields:ex(v,b),isDirty:B(t,u)})):!o||o._f||s(u)?H(t,u,n):q(t,u,n),G(t,E)&&k.state.next({...i}),k.values.next({name:S.mount?t:void 0,values:{...b}})},ee=async t=>{var o;S.mount=!0;let s=t.target,u=s.name,d=!0,h=g(l,u),f=t=>{d=Number.isNaN(t)||a(t)&&isNaN(t.getTime())||ew(t,g(b,u,t))};if(h){let a,p,m,y;let v=s.type?eO(h._f):c(t),S=t.type===_||"focusout"===t.type,A=!((o=h._f).mount&&(o.required||o.min||o.max||o.maxLength||o.minLength||o.pattern||o.validate)||n.resolver||g(i.errors,u)||h._f.deps)||(m=g(i.touchedFields,u),y=i.isSubmitted,!O.isOnAll&&(!y&&O.isOnTouch?!(m||S):(y?P.isOnBlur:O.isOnBlur)?!S:!(y?P.isOnChange:O.isOnChange)||S)),I=G(u,E,S);w(b,u,v),S?(h._f.onBlur&&h._f.onBlur(t),r&&r(0)):h._f.onChange&&h._f.onChange(t);let N=D(u,v,S,!1),L=!M(N)||I;if(S||k.values.next({name:u,type:t.type,values:{...b}}),A)return x.isValid&&("onBlur"===n.mode&&S?T():S||T()),L&&k.state.next({name:u,...I?{}:N});if(!S&&I&&k.state.next({...i}),n.resolver){let{errors:t}=await j([u]);if(f(v),d){let r=eT(i.errors,l,u),n=eT(t,l,r.name||u);a=n.error,u=n.name,p=M(t)}}else R([u],!0),a=(await el(h,E.disabled,b,C,n.shouldUseNativeValidation))[u],R([u]),f(v),d&&(a?p=!1:x.isValid&&(p=await U(l,!0)));d&&(h._f.deps&&er(h._f.deps),F(u,p,a,N))}},et=(t,r)=>{if(g(i.errors,r)&&t.focus)return t.focus(),1},er=async(t,r={})=>{let o,a;let s=I(t);if(n.resolver){let r=await (async t=>{let{errors:r}=await j(t);if(t)for(let n of t){let t=g(r,n);t?w(i.errors,n,t):eg(i.errors,n)}else i.errors=r;return r})(m(t)?t:s);o=M(r),a=t?!s.some(t=>g(r,t)):o}else t?((a=(await Promise.all(s.map(async t=>{let r=g(l,t);return await U(r&&r._f?{[t]:r}:r)}))).every(Boolean))||i.isValid)&&T():a=o=await U(l);return k.state.next({...!L(t)||x.isValid&&o!==i.isValid?{}:{name:t},...n.resolver||!t?{isValid:o}:{},errors:i.errors}),r.shouldFocus&&!a&&W(l,et,t?s:E.mount),a},en=t=>{let r={...S.mount?b:v};return m(t)?r:L(t)?g(r,t):t.map(t=>g(r,t))},ei=(t,r)=>({invalid:!!g((r||i).errors,t),isDirty:!!g((r||i).dirtyFields,t),error:g((r||i).errors,t),isValidating:!!g(i.validatingFields,t),isTouched:!!g((r||i).touchedFields,t)}),eo=(t,r,n)=>{let o=(g(l,t,{_f:{}})._f||{}).ref,{ref:a,message:s,type:u,...c}=g(i.errors,t)||{};w(i.errors,t,{...c,...r,ref:o}),k.state.next({name:t,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},ea=(t,r={})=>{for(let o of t?I(t):E.mount)E.mount.delete(o),E.array.delete(o),r.keepValue||(eg(l,o),eg(b,o)),r.keepError||eg(i.errors,o),r.keepDirty||eg(i.dirtyFields,o),r.keepTouched||eg(i.touchedFields,o),r.keepIsValidating||eg(i.validatingFields,o),n.shouldUnregister||r.keepDefaultValue||eg(v,o);k.values.next({values:{...b}}),k.state.next({...i,...r.keepDirty?{isDirty:B()}:{}}),r.keepIsValid||T()},es=({disabled:t,name:r,field:n,fields:i})=>{(y(t)&&S.mount||t||E.disabled.has(r))&&(t?E.disabled.add(r):E.disabled.delete(r),D(r,eO(n?n._f:g(i,r)._f),!1,!1,!0))},eu=(t,r={})=>{let i=g(l,t),a=y(r.disabled)||y(n.disabled);return w(l,t,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:t}},name:t,mount:!0,...r}}),E.mount.add(t),i?es({field:i,disabled:y(r.disabled)?r.disabled:n.disabled,name:t}):N(t,!0,r.value),{...a?{disabled:r.disabled||n.disabled}:{},...n.progressive?{required:!!r.required,min:eP(r.min),max:eP(r.max),minLength:eP(r.minLength),maxLength:eP(r.maxLength),pattern:eP(r.pattern)}:{},name:t,onChange:ee,onBlur:ee,ref:a=>{if(a){eu(t,r),i=g(l,t);let n=m(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,s=Q(n)||o(n),u=i._f.refs||[];(s?u.find(t=>t===n):n===i._f.ref)||(w(l,t,{_f:{...i._f,...s?{refs:[...u.filter(e
5S),n,...Array.isArray(g(v,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n}}}),N(t,!1,void 0,n))}else(i=g(l,t,{}))._f&&(i._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&(!d(E.array,t)||!S.action)&&E.unMount.add(t)}}},ec=()=>n.shouldFocusError&&W(l,et,E.mount),ed=(t,r)=>async o=>{let a;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let s=f(b);if(E.disabled.size)for(let t of E.disabled)w(s,t,void 0);if(k.state.next({isSubmitting:!0}),n.resolver){let{errors:t,values:r}=await j();i.errors=t,s=r}else await U(l);if(eg(i.errors,"root"),M(i.errors)){k.state.next({errors:{}});try{await t(s,o)}catch(t){a=t}}else r&&await r({...i.errors},o),ec(),setTimeout(ec);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:M(i.errors)&&!a,submitCount:i.submitCount+1,errors:i.errors}),a)throw a},eh=(t,r={})=>{let o=t?f(t):v,a=f(o),s=M(t),u=s?v:a;if(r.keepDefaultValues||(v=o),!r.keepValues){if(r.keepDirtyValues)for(let t of Array.from(new Set([...E.mount,...Object.keys(ex(v,b))])))g(i.dirtyFields,t)?w(u,t,g(b,t)):J(t,g(u,t));else{if(h&&m(t))for(let t of E.mount){let r=g(l,t);if(r&&r._f){let t=Array.isArray(r._f.refs)?r._f.refs[0]:r._f.ref;if(X(t)){let r=t.closest("form");if(r){r.reset();break}}}}l={}}b=n.shouldUnregister?r.keepDefaultValues?f(v):{}:f(u),k.array.next({values:{...u}}),k.values.next({values:{...u}})}E={mount:r.keepDirtyValues?E.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},S.mount=!x.isValid||!!r.keepIsValid||!!r.keepDirtyValues,S.watch=!!n.shouldUnregister,k.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:!s&&(r.keepDirty?i.isDirty:!(!r.keepDefaultValues||ew(t,v))),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:s?{}:r.keepDirtyValues?r.keepDefaultValues&&b?ex(v,b):i.dirtyFields:r.keepDefaultValues&&t?ex(v,t):r.keepDirty?i.dirtyFields:{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},ef=(t,r)=>eh(Z(t)?t(b):t,r);return{control:{register:eu,unregister:ea,getFieldState:ei,handleSubmit:ed,setError:eo,_executeSchema:j,_getWatch:z,_getDirty:B,_updateValid:T,_removeUnmounted:()=>{for(let t of E.unMount){let r=g(l,t);r&&(r._f.refs?r._f.refs.every(t=>!eS(t)):!eS(r._f.ref))&&ea(t)}E.unMount=new Set},_updateFieldArray:(t,r=[],o,a,s=!0,u=!0)=>{if(a&&o&&!n.disabled){if(S.action=!0,u&&Array.isArray(g(l,t))){let r=o(g(l,t),a.argA,a.argB);s&&w(l,t,r)}if(u&&Array.isArray(g(i.errors,t))){var c;let r=o(g(i.errors,t),a.argA,a.argB);s&&w(i.errors,t,r),p(g(c=i.errors,t)).length||eg(c,t)}if(x.touchedFields&&u&&Array.isArray(g(i.touchedFields,t))){let r=o(g(i.touchedFields,t),a.argA,a.argB);s&&w(i.touchedFields,t,r)}x.dirtyFields&&(i.dirtyFields=ex(v,b)),k.state.next({name:t,isDirty:B(t,r),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else w(b,t,r)},_updateDisabledField:es,_getFieldArray:t=>p(g(S.mount?b:v,t,n.shouldUnregister?g(v,t,[]):[])),_reset:eh,_resetDefaultValues:()=>Z(n.defaultValues)&&n.defaultValues().then(t=>{ef(t,n.resetOptions),k.state.next({isLoading:!1})}),_updateFormState:t=>{i={...i,...t}},_disableForm:t=>{y(t)&&(k.state.next({disabled:t}),W(l,(r,n)=>{let i=g(l,n);i&&(r.disabled=i._f.disabled||t,Array.isArray(i._f.refs)&&i._f.refs.forEach(r=>{r.disabled=i._f.disabled||t}))},0,!1))},_subjects:k,_proxyFormState:x,_setErrors:t=>{i.errors=t,k.state.next({errors:i.errors,isValid:!1})},get _fields(){return l},get _formValues(){return b},get _state(){return S},set _state(e){S=e},get _defaultValues(){return v},get _names(){return E},set _names(e){E=e},get _formState(){return i},set _formState(e){i=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:er,register:eu,handleSubmit:ed,watch:(t,r)=>Z(t)?k.values.subscribe({next:n=>t(z(void 0,r),n)}):z(t,r,!0),setValue:J,getValues:en,reset:ef,resetField:(t,r={})=>{g(l,t)&&(m(r.defaultValue)?J(t,f(g(v,t))):(J(t,r.defaultValue),w(v,t,f(r.defaultValue))),r.keepTouched||eg(i.touchedFields,t),r.keepDirty||(eg(i.dirtyFields,t),i.isDirty=r.defaultValue?B(t,f(g(v,t))):B()),r.keepError||(eg(i.errors,t),x.isValid&&T()),k.state.next({...i}))},clearErrors:t=>{t&&I(t).forEach(t=>eg(i.errors,t)),k.state.next({errors:t?i.errors:{}})},unregister:ea,setError:eo,setFocus:(t,r={})=>{let n=g(l,t),i=n&&n._f;if(i){let t=i.refs?i.refs[0]:i.ref;
5t.focus&&(t.focus(),r.shouldSelect&&Z(t.select)&&t.select())}},getFieldState:ei}}(t),formState:l});let b=r.current.control;return b._options=t,D({subject:b._subjects.state,next:t=>{R(t,b._proxyFormState,b._updateFormState,!0)&&v({...b._formState})}}),i.useEffect(()=>b._disableForm(t.disabled),[b,t.disabled]),i.useEffect(()=>{if(b._proxyFormState.isDirty){let t=b._getDirty();t!==l.isDirty&&b._subjects.state.next({isDirty:t})}},[b,l.isDirty]),i.useEffect(()=>{t.values&&!ew(t.values,n.current)?(b._reset(t.values,b._options.resetOptions),n.current=t.values,v(t=>({...t}))):b._resetDefaultValues()},[t.values,b]),i.useEffect(()=>{t.errors&&b._setErrors(t.errors)},[t.errors,b]),i.useEffect(()=>{b._state.mount||(b._updateValid(),b._state.mount=!0),b._state.watch&&(b._state.watch=!1,b._subjects.state.next({...b._formState})),b._removeUnmounted()}),i.useEffect(()=>{t.shouldUnregister&&b._subjects.values.next({values:b._getWatch()})},[t.shouldUnregister,b]),r.current.formState=T(l,b),r.current},r.useFormContext=C,r.useFormState=F,r.useWatch=j},13126:function(t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function S(t){if("object"==typeof t&&null!==t){var r=t.$$typeof;switch(r){case i:switch(t=t.type){case d:case h:case a:case l:case s:case p:return t;default:switch(t=t&&t.$$typeof){case c:case f:case y:case g:case u:return t;default:return r}}case o:return r}}}function E(t){return S(t)===h}r.AsyncMode=d,r.ConcurrentMode=h,r.ContextConsumer=c,r.ContextProvider=u,r.Element=i,r.ForwardRef=f,r.Fragment=a,r.Lazy=y,r.Memo=g,r.Portal=o,r.Profiler=l,r.StrictMode=s,r.Suspense=p,r.isAsyncMode=function(t){return E(t)||S(t)===d},r.isConcurrentMode=E,r.isContextConsumer=function(t){return S(t)===c},r.isContextProvider=function(t){return S(t)===u},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},r.isForwardRef=function(t){return S(t)===f},r.isFragment=function(t){return S(t)===a},r.isLazy=function(t){return S(t)===y},r.isMemo=function(t){return S(t)===g},r.isPortal=function(t){return S(t)===o},r.isProfiler=function(t){return S(t)===l},r.isStrictMode=function(t){return S(t)===s},r.isSuspense=function(t){return S(t)===p},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===l||t===s||t===p||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===b||t.$$typeof===w||t.$$typeof===_||t.$$typeof===v)},r.typeOf=S},82558:function(t,r,n){"use strict";t.exports=n(13126)},49182:function(t,r,n){"use strict";var i=n(2265),o="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r},a=i.useSyncExternalStore,s=i.useRef,l=i.useEffect,u=i.useMemo,c=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(t,r,n,i,d){var h=s(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;var p=a(t,(h=u(function(){function t(t){if(!l){if(l=!0,a=t,t=i(t),void 0!==d&&f.hasValue){var r=f.value;if(d(r,t))return s=r}return s=t}if(r=s,o(a,t))return r;var n=i(t);return void 0!==d&&d(r,n)?(a=t,r):(a=t,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return t(r())},null===u?void 0:function(){return t(u())}]},[r,n,i,d]))[0],h[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},27007:function(t,r,n){"use strict";t.exports=n(49182)},5613:function(t,r,n){"use strict";n.d(r,{Z:function(){return f}});var i=n(1119),o=n(74610),a=n(88671);
5function s(t,r){return t.replace(RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(2265),u=n(52836),c=n(65498),d=function(t,r){return t&&r&&r.split(" ").forEach(function(r){t.classList?t.classList.remove(r):"string"==typeof t.className?t.className=s(t.className,r):t.setAttribute("class",s(t.className&&t.className.baseVal||"",r))})},h=function(t){function r(){for(var r,n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return(r=t.call.apply(t,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(t,n){var i=r.resolveArguments(t,n),o=i[0],a=i[1];r.removeClasses(o,"exit"),r.addClass(o,a?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(t,n)},r.onEntering=function(t,n){var i=r.resolveArguments(t,n),o=i[0],a=i[1];r.addClass(o,a?"appear":"enter","active"),r.props.onEntering&&r.props.onEntering(t,n)},r.onEntered=function(t,n){var i=r.resolveArguments(t,n),o=i[0],a=i[1]?"appear":"enter";r.removeClasses(o,a),r.addClass(o,a,"done"),r.props.onEntered&&r.props.onEntered(t,n)},r.onExit=function(t){var n=r.resolveArguments(t)[0];r.removeClasses(n,"appear"),r.removeClasses(n,"enter"),r.addClass(n,"exit","base"),r.props.onExit&&r.props.onExit(t)},r.onExiting=function(t){var n=r.resolveArguments(t)[0];r.addClass(n,"exit","active"),r.props.onExiting&&r.props.onExiting(t)},r.onExited=function(t){var n=r.resolveArguments(t)[0];r.removeClasses(n,"exit"),r.addClass(n,"exit","done"),r.props.onExited&&r.props.onExited(t)},r.resolveArguments=function(t,n){return r.props.nodeRef?[r.props.nodeRef.current,t]:[t,n]},r.getClassNames=function(t){var n=r.props.classNames,i="string"==typeof n,o=i?(i&&n?n+"-":"")+t:n[t],a=i?o+"-active":n[t+"Active"],s=i?o+"-done":n[t+"Done"];return{baseClassName:o,activeClassName:a,doneClassName:s}},r}(0,a.Z)(r,t);var n=r.prototype;return n.addClass=function(t,r,n){var i,o=this.getClassNames(r)[n+"ClassName"],a=this.getClassNames("enter").doneClassName;"appear"===r&&"done"===n&&a&&(o+=" "+a),"active"===n&&t&&(0,c.Q)(t),o&&(this.appliedClasses[r][n]=o,i=o,t&&i&&i.split(" ").forEach(function(r){var n,i;return n=t,i=r,void(n.classList?n.classList.add(i):(n.classList?i&&n.classList.contains(i):-1!==(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+i+" "))||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)))}))},n.removeClasses=function(t,r){var n=this.appliedClasses[r],i=n.base,o=n.active,a=n.done;this.appliedClasses[r]={},i&&d(t,i),o&&d(t,o),a&&d(t,a)},n.render=function(){var t=this.props,r=(t.classNames,(0,o.Z)(t,["classNames"]));return l.createElement(u.ZP,(0,i.Z)({},r,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(l.Component);h.defaultProps={classNames:""},h.propTypes={};var f=h},52836:function(t,r,n){"use strict";n.d(r,{ZP:function(){return v}});var i=n(74610),o=n(88671),a=n(2265),s=n(54887),l={disabled:!1},u=n(79610),c=n(65498),d="unmounted",h="exited",f="entering",p="entered",m="exiting",g=function(t){function r(r,n){i=t.call(this,r,n)||this;var i,o,a=n&&!n.isMounting?r.enter:r.appear;return i.appearStatus=null,r.in?a?(o=h,i.appearStatus=f):o=p:o=r.unmountOnExit||r.mountOnEnter?d:h,i.state={status:o},i.nextCallback=null,i}(0,o.Z)(r,t),r.getDerivedStateFromProps=function(t,r){return t.in&&r.status===d?{status:h}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var r=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(r=f):(n===f||n===p)&&(r=m)}this.updateStatus(!1,r)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,r,n,i=this.props.timeout;return t=r=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,r=i.enter,n=void 0!==i.appear?i.appear:r),{exit:t,enter:r,appear:n}},n.updateStatus=function(t,r){if(void 0===t&&(t=!1),null!==r){if(this.cancelNextCallback(),r===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);n&&(0,c.Q)(n)}this.performEnter(t)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:d})},n.performEnter=function(t){var r=this,n=this.props.enter,i=this.context?this.context.
5isMounting:t,o=this.props.nodeRef?[i]:[s.findDOMNode(this),i],a=o[0],u=o[1],c=this.getTimeouts(),d=i?c.appear:c.enter;if(!t&&!n||l.disabled){this.safeSetState({status:p},function(){r.props.onEntered(a)});return}this.props.onEnter(a,u),this.safeSetState({status:f},function(){r.props.onEntering(a,u),r.onTransitionEnd(d,function(){r.safeSetState({status:p},function(){r.props.onEntered(a,u)})})})},n.performExit=function(){var t=this,r=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:s.findDOMNode(this);if(!r||l.disabled){this.safeSetState({status:h},function(){t.props.onExited(i)});return}this.props.onExit(i),this.safeSetState({status:m},function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:h},function(){t.props.onExited(i)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,r){r=this.setNextCallback(r),this.setState(t,r)},n.setNextCallback=function(t){var r=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,r.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,r){this.setNextCallback(r);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(!n||i){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],l=o[1];this.props.addEndListener(a,l)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===d)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,(0,i.Z)(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(u.Z.Provider,{value:null},"function"==typeof n?n(t,o):a.cloneElement(a.Children.only(n),o))},r}(a.Component);function y(){}g.contextType=u.Z,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},g.UNMOUNTED=d,g.EXITED=h,g.ENTERING=f,g.ENTERED=p,g.EXITING=m;var v=g},76744:function(t,r,n){"use strict";n.d(r,{Z:function(){return p}});var i=n(74610),o=n(1119),a=n(63496),s=n(88671),l=n(2265),u=n(79610);function c(t,r){var n=Object.create(null);return t&&l.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=r&&(0,l.isValidElement)(t)?r(t):t}),n}function d(t,r,n){return null!=n[r]?n[r]:t.props[r]}var h=Object.values||function(t){return Object.keys(t).map(function(r){return t[r]})},f=function(t){function r(r,n){var i,o=(i=t.call(this,r,n)||this).handleExited.bind((0,a.Z)(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}(0,s.Z)(r,t);var n=r.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,r){var n,i,o=r.children,a=r.handleExited;return{children:r.firstRender?c(t.children,function(r){return(0,l.cloneElement)(r,{onExited:a.bind(null,r),in:!0,appear:d(r,"appear",t),enter:d(r,"enter",t),exit:d(r,"exit",t)})}):(Object.keys(i=function(t,r){function n(n){return n in r?r[n]:t[n]}t=t||{},r=r||{};var i,o=Object.create(null),a=[];for(var s in t)s in r?a.length&&(o[s]=a,a=[]):a.push(s);var l={};for(var u in r){if(o[u])for(i=0;i<o[u].length;i++){var c=o[u][i];l[o[u][i]]=n(c)}l[u]=n(u)}for(i=0;i<a.length;i++)l[a[i]]=n(a[i]);return l}(o,n=c(t.children))).forEach(function(r){var s=i[r];if((0,l.isValidElement)(s)){var u=r in o,c=r in n,h=o[r],f=(0,l.isValidElement)(h)&&!h.props.in;c&&(!u||f)?i[r]=(0,l.cloneElement)(s,{onExited:a.bind(null,s),in:!0,exit:d(s,"exit",t),enter:d(s,"enter",t)}):c||!u||f?c&&u&&(0,l.isValidElement)(h)&&(i[r]=(0,l.cloneElement)(s,{onExited:a.bind(null,s),in:h.props.in,exit:d(s,"exit",t),enter:d(s,"enter",t)})):i[r]=(0,l.cloneElement)(s,{in:!1})}}
5),i),firstRender:!1}},n.handleExited=function(t,r){var n=c(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(r),this.mounted&&this.setState(function(r){var n=(0,o.Z)({},r.children);return delete n[t.key],{children:n}}))},n.render=function(){var t=this.props,r=t.component,n=t.childFactory,o=(0,i.Z)(t,["component","childFactory"]),a=this.state.contextValue,s=h(this.state.children).map(n);return(delete o.appear,delete o.enter,delete o.exit,null===r)?l.createElement(u.Z.Provider,{value:a},s):l.createElement(u.Z.Provider,{value:a},l.createElement(r,o,s))},r}(l.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var p=f},79610:function(t,r,n){"use strict";var i=n(2265);r.Z=i.createContext(null)},65498:function(t,r,n){"use strict";n.d(r,{Q:function(){return i}});var i=function(t){return t.scrollTop}},9628:function(t,r,n){"use strict";n.d(r,{OJ:function(){return w},p5:function(){return O}});var i="persist:",o="persist/FLUSH",a="persist/REHYDRATE",s="persist/PAUSE",l="persist/PERSIST",u="persist/PURGE",c="persist/REGISTER";function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function f(t,r,n,i){i.debug;var o=function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?h(n,!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}({},n);return t&&"object"===d(t)&&Object.keys(t).forEach(function(i){"_persist"!==i&&r[i]===n[i]&&(o[i]=t[i])}),o}function p(t){return JSON.stringify(t)}function m(t){var r,n=t.transforms||[],o="".concat(void 0!==t.keyPrefix?t.keyPrefix:i).concat(t.key),a=t.storage;return t.debug,r=!1===t.deserialize?function(t){return t}:"function"==typeof t.deserialize?t.deserialize:g,a.getItem(o).then(function(t){if(t)try{var i={},o=r(t);return Object.keys(o).forEach(function(t){i[t]=n.reduceRight(function(r,n){return n.out(r,t,o)},r(o[t]))}),i}catch(t){throw t}})}function g(t){return JSON.parse(t)}function y(t){}function v(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function b(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?v(n,!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(n).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function w(t,r){var n=void 0!==t.version?t.version:-1;t.debug;var c=void 0===t.stateReconciler?f:t.stateReconciler,d=t.getStoredState||m,h=void 0!==t.timeout?t.timeout:5e3,g=null,v=!1,w=!0,_=function(t){return t._persist.rehydrated&&g&&!w&&g.update(t),t};return function(f,m){var S,E,A=f||{},x=A._persist,k=function(t,r){if(null==t)return{};var n,i,o=function(t,r){if(null==t)return{};var n,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],r.indexOf(n)>=0||(o[n]=t[n]);return o}(t,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(A,["_persist"]);if(m.type===l){var O=!1,P=function(r,n){O||(m.rehydrate(t.key,r,n),O=!0)};if(h&&setTimeout(function(){O||P(void 0,Error('redux-persist: persist timed out for persist key "'.concat(t.key,'"')))},h),w=!1,g||(g=function(t){var r,n=t.blacklist||null,o=t.whitelist||null,a=t.transforms||[],s=t.throttle||0,l="".concat(void 0!==t.keyPrefix?t.keyPrefix:i).concat(t.key),u=t.storage;r=!1===t.serialize?function(t){return t}:"function"==typeof t.serialize?t.serialize:p;var c=t.writeFailHandler||null,d={},h={},f=[],m=null,g=null;function y(){if(0===f.length){m&&clearInterval(m),m=null;return}var t=f.shift(),n=a.reduce(function(r,n){return n.in(r,t,d)},d[t]);if(void 0!==n)try{h[t]=r(n)}catch(t){console.error("redux-persist/createPersistoid: error serializing state",t)}else delete h[t];
50===f.length&&(Object.keys(h).forEach(function(t){void 0===d[t]&&delete h[t]}),g=u.setItem(l,r(h)).catch(b))}function v(t){return(!o||-1!==o.indexOf(t)||"_persist"===t)&&(!n||-1===n.indexOf(t))}function b(t){c&&c(t)}return{update:function(t){Object.keys(t).forEach(function(r){v(r)&&d[r]!==t[r]&&-1===f.indexOf(r)&&f.push(r)}),Object.keys(d).forEach(function(r){void 0===t[r]&&v(r)&&-1===f.indexOf(r)&&void 0!==d[r]&&f.push(r)}),null===m&&(m=setInterval(y,s)),d=t},flush:function(){for(;0!==f.length;)y();return g||Promise.resolve()}}}(t)),x)return b({},r(k,m),{_persist:x});if("function"!=typeof m.rehydrate||"function"!=typeof m.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return m.register(t.key),d(t).then(function(r){(t.migrate||function(t,r){return Promise.resolve(t)})(r,n).then(function(t){P(t)},function(t){P(void 0,t)})},function(t){P(void 0,t)}),b({},r(k,m),{_persist:{version:n,rehydrated:!1}})}if(m.type===u)return v=!0,m.result((S=t.storage,E="".concat(void 0!==t.keyPrefix?t.keyPrefix:i).concat(t.key),S.removeItem(E,y))),b({},r(k,m),{_persist:x});if(m.type===o)return m.result(g&&g.flush()),b({},r(k,m),{_persist:x});if(m.type===s)w=!0;else if(m.type===a){if(v)return b({},k,{_persist:b({},x,{rehydrated:!0})});if(m.key===t.key){var C=r(k,m),T=m.payload;return _(b({},!1!==c&&void 0!==T?c(T,f,C,t):C,{_persist:b({},x,{rehydrated:!0})}))}}if(!x)return r(f,m);var M=r(k,m);return M===k?f:_(b({},M,{_persist:x}))}}var _=n(59688);function S(t){return function(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function E(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function A(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?E(n,!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(n).forEac
5h(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var x={registry:[],bootstrapped:!1},k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case c:return A({},t,{registry:[].concat(S(t.registry),[r.key])});case a:var n=t.registry.indexOf(r.key),i=S(t.registry);return i.splice(n,1),A({},t,{registry:i,bootstrapped:0===i.length});default:return t}};function O(t,r,n){var i=n||!1,d=(0,_.MT)(k,x,r&&r.enhancer?r.enhancer:void 0),h=function(t){d.dispatch({type:c,key:t})},f=function(r,n,o){var s={type:a,payload:n,err:o,key:r};t.dispatch(s),d.dispatch(s),i&&p.getState().bootstrapped&&(i(),i=!1)},p=A({},d,{purge:function(){var r=[];return t.dispatch({type:u,result:function(t){r.push(t)}}),Promise.all(r)},flush:function(){var r=[];return t.dispatch({type:o,result:function(t){r.push(t)}}),Promise.all(r)},pause:function(){t.dispatch({type:s})},persist:function(){t.dispatch({type:l,register:h,rehydrate:f})}});return r&&r.manualPersist||p.persist(),p}},79625:function(t,r,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,r){return(s=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function l(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}n.d(r,{r:function(){return u}});var u=function(t){var r;function n(){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,n);for(var t,r,s,u=arguments.length,c=Array(u),d=0;d<u;d++)c[d]=arguments[d];return s=(t=(r=o(n)).call.apply(r,[this].concat(c)))&&("object"===i(t)||"function"==typeof t)?t:a(this),l(a(s),"state",{bootstrapped:!1}),l(a(s),"_unsubscribe",void 0),l(a(s),"handlePersistorState",function(){s.props.persistor.getState().bootstrapped&&(s.props.onBeforeLift?Promise.resolve(s.props.onBeforeLift()).finally(function(){return s.setState({bootstrapped:!0})}):s.setState({bootstrapped:!0}),s._unsubscribe&&s._unsubscribe())}),s}return!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&s(t,r)}(n,t),r=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(n.prototype,r),n}(n(2265).PureComponent);l(u,"defaultProps",{children:null,loading:null})},67598:function(t,r,n){"use strict";r.__esModule=!0,r.default=function(t){var r=(0,o.default)(t);return{getItem:function(t){return new Promise(function(n,i){n(r.getItem(t))})},setItem:function(t,n){return new Promise(function(i,o){i(r.setItem(t,n))})},removeItem:function(t){return new Promise(function(n,i){n(r.removeItem(t))})}}};var i,o=(i=n(58567))&&i.__esModule?i:{default:i}},58567:function(t,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){}r.__esModule=!0,r.default=function(t){var r="".concat(t,"Storage");return!function(t){if(("undefined"==typeof self?"undefined":n(self))!=="object"||!(t in self))return!1;try{var r=self[t],i="redux-persist ".concat(t," test");r.setItem(i,"test"),r.getItem(i),r.removeItem(i)}catch(t){return!1}return!0}(r)?o:self[r]};var o={getItem:i,setItem:i,removeItem:i}},51785:function(t,r,n){"use strict";r.Z=void 0;var i,o=(0,((i=n(67598))&&i.__esModule?i:{default:i}).default)("session");r.Z=o},75492:function(t){"use strict";
5t.exports=function(t,r){if(r=r.split(":")[0],!(t=+t))return!1;switch(r){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},93923:function(t,r,n){"use strict";n.d(r,{Z:function(){return T}});var i=n(45239),o=n.n(i),a="comm",s="rule",l="decl",u=Math.abs,c=String.fromCharCode;function d(t,r,n){return t.replace(r,n)}function h(t,r){return 0|t.charCodeAt(r)}function f(t,r,n){return t.slice(r,n)}function p(t){return t.length}function m(t,r){return r.push(t),t}var g=1,y=1,v=0,b=0,w=0,_="";function S(t,r,n,i,o,a,s,l){return{value:t,root:r,parent:n,type:i,props:o,children:a,line:g,column:y,length:s,return:"",siblings:l}}function E(){return w=b<v?h(_,b++):0,y++,10===w&&(y=1,g++),w}function A(){return h(_,b)}function x(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function k(t){var r,n;return(r=b-1,n=function t(r){for(;E();)switch(w){case r:return b;case 34:case 39:34!==r&&39!==r&&t(w);break;case 40:41===r&&t(r);break;case 92:E()}return b}(91===t?t+2:40===t?t+1:t),f(_,r,n)).trim()}function O(t,r,n,i,o,a,l,c,h,p,m,g){for(var y=o-1,v=0===o?a:[""],b=v.length,w=0,_=0,E=0;w<i;++w)for(var A=0,x=f(t,y+1,y=u(_=l[w])),k=t;A<b;++A)(k=(_>0?v[A]+" "+x:d(x,/&\f/g,v[A])).trim())&&(h[E++]=k);return S(t,r,n,0===o?s:c,h,p,m,g)}function P(t,r,n,i,o){return S(t,r,n,l,f(t,0,i),f(t,i+1,-1),i,o)}function C(t,r,n,i){if("@keyframes"===t.type||"@supports"===t.type||t.type===s&&(!t.parent||"@media"===t.parent.type||t.parent.type===s)){var C,T,M,R=o().transform(function t(r,n,i){switch(r.type){case"@import":case l:case a:return r.return=r.return||r.value;case s:r.value=Array.isArray(r.props)?r.props.join(","):r.props,Array.isArray(r.children)&&r.children.forEach(function(t){t.type===a&&(t.children=t.value)})}var o=function(t,r){for(var n="",i=0;i<t.length;i++)n+=r(t[i],i,t,r)||"";return n}(Array.prototype.concat(r.children),t);return p(o)?r.return=r.value+"{"+o+"}":""}(t,r,n));t.children=R?(M=function t(r,n,i,o,s,l,v,C,T){for(var M,R,I,N=0,D=0,F=v,L=0,$=0,j=0,U=1,B=1,z=1,H=0,q="",V=s,G=l,W=o,K=q;B;)switch(j=H,H=E()){case 40:if(108!=j&&58==h(K,F-1)){-1!=(R=K+=d(k(H),"&","&\f"),I=u(N?C[N-1]:0),R.indexOf("&\f",I))&&(z=-1);break}case 34:case 39:case 91:K+=k(H);break;case 9:case 10:case 13:case 32:K+=function(t){for(;w=A();)if(w<33)E();else break;return x(t)>2||x(w)>3?"":" "}(j);break;case 92:K+=function(t,r){for(var n;--r&&E()&&!(w<48)&&!(w>102)&&(!(w>57)||!(w<65))&&(!(w>70)||!(w<97)););return n=b+(r<6&&32==A()&&32==E()),f(_,t,n)}(b-1,7);continue;case 47:switch(A()){case 42:case 47:m(S(M=function(t,r){for(;E();)if(t+w===57)break;else if(t+w===84&&47===A())break;return"/*"+f(_,r,b-1)+"*"+c(47===t?t:E())}(E(),b),n,i,a,c(w),f(M,2,-2),0,T),T),(5==x(j||1)||5==x(A()||1))&&p(K)&&" "!==f(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*U:C[N++]=p(K)*z;case 125*U:case 59:case 0:switch(H){case 0:case 125:B=0;case 59+D:-1==z&&(K=d(K,/\f/g,"")),$>0&&(p(K)-F||0===U&&47===j)&&m($>32?P(K+";",o,i,F-1,T):P(d(K," ","")+";",o,i,F-2,T),T);break;case 59:K+=";";default:if(m(W=O(K,n,i,N,D,s,C,q,V=[],G=[],F,l),l),123===H){if(0===D)t(K,n,W,W,V,l,F,C,G);else{switch(L){case 99:if(110===h(K,3))break;case 108:if(97===h(K,2))break;default:D=0;case 100:case 109:case 115:}D?t(r,W,W,o&&m(O(r,W,W,0,0,s,C,q,s,V=[],F,G),G),s,G,F,C,o?V:G):t(K,W,W,W,[""],G,0,C,G)}}}N=D=$=0,U=z=1,q=K="",F=v;break;case 58:F=1+p(K),$=j;default:if(U<1){if(123==H)--U;else if(125==H&&0==U++&&125==(w=b>0?h(_,--b):0,y--,10===w&&(y=1,g--),w))continue}switch(K+=c(H),H*U){case 38:z=D>0?1:(K+="\f",-1);break;case 44:C[N++]=(p(K)-1)*z,z=1;break;case 64:45===A()&&(K+=k(E())),L=A(),D=F=p(q=K+=function(t){for(;!x(A());)E();return f(_,t,b)}(b)),H++;break;case 45:45===j&&2==p(K)&&(U=0)}}return l}("",null,null,null,[""],(T=C=R,g=y=1,v=p(_=T),b=0,C=[]),0,[0],C),_="",M)[0].children:[],t.return=""}}Object.defineProperty(C,"name",{value:"stylisRTLPlugin"});var T=C},22464:function(t){let r=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\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]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\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\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,n=t=>t.match(r)||[],i=t=>t[0].toUpperCase()+t.slice(1),o=(t,r)=>n(t).join(r).toLowerCase(),a=t=>n(t).reduce((t,r)=>`${t}${t?r[0].toUpperCase()+r.slice(1).toLowerCase():r.toLowerCase()}`,"");t.exports={words:n,upperFirst:i,camelCase:a,pascalCase:t=>i(a(t)),snakeCase:t=>o(t,"_"),kebabCase:t=>o(t,"-"),sentenceCase:t=>i(o(t," ")),titleCase:t=>n(t).map(i).join(" ")}},99623:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var r=document.activeElement,n=[],i=0;i<t.rangeCount;i++)n.push(t.getRangeAt(i));switch(r.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":r.blur();break;default:r=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEac
5h(function(r){t.addRange(r)}),r&&r.focus()}}},68858:function(t){function r(t,r){var n=t.length,i=Array(n),o={},a=n,s=function(t){for(var r=new Map,n=0,i=t.length;n<i;n++){var o=t[n];r.has(o[0])||r.set(o[0],new Set),r.has(o[1])||r.set(o[1],new Set),r.get(o[0]).add(o[1])}return r}(r),l=function(t){for(var r=new Map,n=0,i=t.length;n<i;n++)r.set(t[n],n);return r}(t);for(r.forEach(function(t){if(!l.has(t[0])||!l.has(t[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});a--;)o[a]||function t(r,a,u){if(u.has(r)){var c;try{c=", node was:"+JSON.stringify(r)}catch(t){c=""}throw Error("Cyclic dependency"+c)}if(!l.has(r))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(r));if(!o[a]){o[a]=!0;var d=s.get(r)||new Set;if(a=(d=Array.from(d)).length){u.add(r);do{var h=d[--a];t(h,l.get(h),u)}while(a);u.delete(r)}i[--n]=r}}(t[a],a,new Set);return i}t.exports=function(t){return r(function(t){for(var r=new Set,n=0,i=t.length;n<i;n++){var o=t[n];r.add(o[0]),r.add(o[1])}return Array.from(r)}(t),t)},t.exports.array=r},44113:function(t,r,n){"use strict";var i=n(75492),o=n(30927),a=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,l=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,d=/^[a-zA-Z]:/;function h(t){return(t||"").toString().replace(a,"")}var f=[["#","hash"],["?","query"],function(t,r){return g(r.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function m(t){"undefined"!=typeof window?r=window:void 0!==n.g?r=n.g:"undefined"!=typeof self?r=self:r={};var r,i,o=r.location||{},a={},s=typeof(t=t||o);if("blob:"===t.protocol)a=new v(unescape(t.pathname),{});else if("string"===s)for(i in a=new v(t,{}),p)delete a[i];else if("object"===s){for(i in t)i in p||(a[i]=t[i]);void 0===a.slashes&&(a.slashes=l.test(t.href))}return a}function g(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function y(t,r){t=(t=h(t)).replace(s,""),r=r||{};var n,i=c.exec(t),o=i[1]?i[1].toLowerCase():"",a=!!i[2],l=!!i[3],u=0;return a?l?(n=i[2]+i[3]+i[4],u=i[2].length+i[3].length):(n=i[2]+i[4],u=i[2].length):l?(n=i[3]+i[4],u=i[3].length):n=i[4],"file:"===o?u>=2&&(n=n.slice(2)):g(o)?n=i[4]:o?a&&(n=n.slice(2)):u>=2&&g(r.protocol)&&(n=i[4]),{protocol:o,slashes:a||g(o),slashesCount:u,rest:n}}function v(t,r,n){if(t=(t=h(t)).replace(s,""),!(this instanceof v))return new v(t,r,n);var a,l,u,c,p,b,w=f.slice(),_=typeof r,S=0;for("object"!==_&&"string"!==_&&(n=r,r=null),n&&"function"!=typeof n&&(n=o.parse),a=!(l=y(t||"",r=m(r))).protocol&&!l.slashes,this.slashes=l.slashes||a&&r.slashes,this.protocol=l.protocol||r.protocol||"",t=l.rest,("file:"===l.protocol&&(2!==l.slashesCount||d.test(t))||!l.slashes&&(l.protocol||l.slashesCount<2||!g(this.protocol)))&&(w[3]=[/(.*)/,"pathname"]);S<w.length;S++){if("function"==typeof(c=w[S])){t=c(t,this);continue}u=c[0],b=c[1],u!=u?this[b]=t:"string"==typeof u?~(p="@"===u?t.lastIndexOf(u):t.indexOf(u))&&("number"==typeof c[2]?(this[b]=t.slice(0,p),t=t.slice(p+c[2])):(this[b]=t.slice(p),t=t.slice(0,p))):(p=u.exec(t))&&(this[b]=p[1],t=t.slice(0,p.index)),this[b]=this[b]||a&&c[3]&&r[b]||"",c[4]&&(this[b]=this[b].toLowerCase())}n&&(this.query=n(this.query)),a&&r.slashes&&"/"!==this.pathname.charAt(0)&&(""!==this.pathname||""!==r.pathname)&&(this.pathname=function(t,r){if(""===t)return r;for(var n=(r||"/").split("/").slice(0,-1).concat(t.split("/")),i=n.length,o=n[i-1],a=!1,s=0;i--;)"."===n[i]?n.splice(i,1):".."===n[i]?(n.splice(i,1),s++):s&&(0===i&&(a=!0),n.splice(i,1),s--);return a&&n.unshift(""),("."===o||".."===o)&&n.push(""),n.join("/")}(this.pathname,r.pathname)),"/"!==this.pathname.charAt(0)&&g(this.protocol)&&(this.pathname="/"+this.pathname),i(this.port,this.protocol)||(this.host=this.hostname,this.port=""),this.username=this.password="",this.auth&&(~(p=this.auth.indexOf(":"))?(this.username=this.auth.slice(0,p),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=this.auth.slice(p+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(this.auth)),this.auth=this.password?this.username+":"+this.password:this.username),this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString()}v.prototype={set:function(t,r,n){switch(t){case"query":"string"==typeof r&&r.length&&(r=(n||o.parse)(r)),this[t]=r;break;case"port":this[t]=r,i(r,this.protocol)?r&&(this.host=this.hostname+":"+r):(this.host=this.hostname,this[t]="");break;case"hostname":this[t]=r,this.port&&(r+=":"+this.port),this.host=r;break;case"host":this[t]=r,u.test(r)?(r=r.split(":"),this.port=r.pop(),this.hostname=r.join(":")):(this.hostname=r,this.port="");break;case"protocol":this.protocol=r.toLowerCase(),this.slashes=!n;break;case"pathname":case"hash":if(r){var a="pathname"===t?"/":"#";this[t]=r.charAt(0)!==a?a+r:r}else this[t]=r;break;case"username":case"password":this[t]=encodeURIComponent(r);break;case"auth":var s=r.indexOf(":");~s?(this.username=r.slice(0,s),this.username=encodeURIComponent(decodeURIComponent(this.username)),this.password=r.slice(s+1),this.password=encodeURIComponent(decodeURIComponent(this.password))):this.username=encodeURIComponent(decodeURIComponent(r))}for(var l=0;l<f.length;l++){var c=f[l];c[4]&&(this[c[1]]=this[c[1]].toLowerCase())}return this.auth=this.password?this.username+":"+this.password:this.username,this.origin="file:"!==this.protocol&&g(this.protocol)&&this.host?this.protocol+"//"+this.host:"null",this.href=this.toString(),this},toString:function(t){t&&"function"==typeof t||(t=o.stringify);var r,n=this.host,i=this.protocol;i&&":"!==i.charAt(i.length-1)&&(i+=":");var a=i+(this.protocol&&this.slashes||g(this.protocol)?"//":"");return this.username?(a+=this.username,this.password&&(a+=":"+this.password),a+="@"):this.password?a+=":"+this.password+"@":"file:"!==this.protocol&&g(this.protocol)&&!n&&"/"!==this.pathname&&(a+="@"),(":"===n[n.length-1]||u.test(this.hostname)&&!this.port)&&(n+=":"),a+=n+this.pathname,(r="object"==typeof this.query?t(this.query):this.query)&&(a+="?"!==r.charAt(0)?"?"+r:r),this.hash&&(a+=this.hash),a}},v.extractProtocol=y,v.location=m,v.trimLeft=h,v.qs=o,t.exports=v},10034:function(t,r,n){"use strict";var i=n(2265),o="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r},a=i.useState,s=i.useEffect,l=i.useLayoutEffect,u=i.useDebugValue;function c(t){var r=t.getSnapshot;t=t.value;try{var n=r();return!o(t,n)}catch(t){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,r){return r()}:function(t,r){var n=r(),i=a({inst:{value:n,getSnapshot:r}}),o=i[0].inst,d=i[1];return l(function(){o.value=n,o.getSnapshot=r,c(o)&&d({inst:o})},[t,n,r]),s(function(){return c(o)&&d({inst:o}),t(function(){c(o)&&d({inst:o})})},[t]),u(n),n};r.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:d},83044:function(t,r,n){"use strict";var i=n(2265),o=n(53941),a="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r},s=o.useSyncExternalStore,l=i.useRef,u=i.useEffect,c=i.useMemo,d=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(t,r,n,i,o){var h=l(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;var p=s(t,(h=c(function(){function t(t){if(!u){if(u=!0,s=t,t=i(t),void 0!==o&&f.hasValue){var r=f.value;if(o(r,t))return l=r}return l=t}if(r=l,a(s,t))return r;var n=i(t);return void 0!==o&&o(r,n)?r:(s=t,l=n)}var s,l,u=!1,c=void 0===n?null:n;return[function(){return t(r())},null===c?void 0:function(){return t(c())}]},[r,n,i,o]))[0],h[1]);return u(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}},53941:function(t,r,n){"use strict";
5t.exports=n(10034)},35195:function(t,r,n){"use strict";t.exports=n(83044)},99222:function(t,r,n){"use strict";n.d(r,{Z:function(){return c}});for(var i,o=new Uint8Array(16),a=n(66737),s=[],l=0;l<256;++l)s.push((l+256).toString(16).substr(1));var u=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(s[t[r+0]]+s[t[r+1]]+s[t[r+2]]+s[t[r+3]]+"-"+s[t[r+4]]+s[t[r+5]]+"-"+s[t[r+6]]+s[t[r+7]]+"-"+s[t[r+8]]+s[t[r+9]]+"-"+s[t[r+10]]+s[t[r+11]]+s[t[r+12]]+s[t[r+13]]+s[t[r+14]]+s[t[r+15]]).toLowerCase();if(!(0,a.Z)(n))throw TypeError("Stringified UUID is invalid");return n},c=function(t,r,n){var a=(t=t||{}).random||(t.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,r){n=n||0;for(var s=0;s<16;++s)r[n+s]=a[s];return r}return u(a)}},66737:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,o=function(t){return"string"==typeof t&&i.test(t)}},69917:function(t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},40548:function(t){"use strict";function r(t,r){this.text=t=t||"",this.hasWild=~t.indexOf("*"),this.separator=r,this.parts=t.split(r)}r.prototype.match=function(t){var r,n,i=!0,o=this.parts,a=o.length;if("string"==typeof t||t instanceof String){if(this.hasWild||this.text==t){for(r=0,n=(t||"").split(this.separator);i&&r<a;r++)"*"!==o[r]&&(i=r<n.length&&o[r]===n[r]);i=i&&n}else i=!1}else if("function"==typeof t.splice)for(i=[],r=t.length;r--;)this.match(t[r])&&(i[i.length]=t[r]);else if("object"==typeof t)for(var s in i={},t)this.match(s)&&(i[s]=t[s]);return i},t.exports=function(t,n,i){var o=new r(t,i||/[\/\.]/);return void 0!==n?o.match(n):o}},34422:function(t,r,n){"use strict";let i,o,a;n.d(r,{O7:function(){return G},Ry:function(){return ev},Z_:function(){return en},iH:function(){return I},nK:function(){return q},p8:function(){return _}});var s=n(68786),l=n(22464),u=n(68858),c=n.n(u);let d=Object.prototype.toString,h=Error.prototype.toString,f=RegExp.prototype.toString,p="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",m=/^Symbol\((.*)\)(.*)$/;function g(t,r=!1){if(null==t||!0===t||!1===t)return""+t;let n=typeof t;if("number"===n)return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t;if("string"===n)return r?`"${t}"`:t;if("function"===n)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===n)return p.call(t).replace(m,"Symbol($1)");let i=d.call(t).slice(8,-1);return"Date"===i?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===i||t instanceof Error?"["+h.call(t)+"]":"RegExp"===i?f.call(t):null}function y(t,r){let n=g(t,r);return null!==n?n:JSON.stringify(t,function(t,n){let i=g(this[t],r);return null!==i?i:n},2)}function v(t){return null==t?[]:[].concat(t)}let b=/\$\{\s*(\w+)\s*\}/g;i=Symbol.toStringTag;class w{constructor(t,r,n,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[i]="Error",this.name="ValidationError",this.value=r,this.path=n,this.type=o,this.errors=[],this.inner=[],v(t).forEach(t=>{if(_.isError(t)){this.errors.push(...t.errors);let r=t.inner.length?t.inner:[t];this.inner.push(...r)}else this.errors.push(t)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}o=Symbol.hasInstance,a=Symbol.toStringTag;class _ extends Error{static formatError(t,r){let n=r.label||r.path||"this";return(r=Object.assign({},r,{path:n,originalPath:r.path}),"string"==typeof t)?t.replace(b,(t,n)=>y(r[n])):"function"==typeof t?t(r):t}static isError(t){return t&&"ValidationError"===t.name}constructor(t,r,n,i,o){let s=new w(t,r,n,i);if(o)return s;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[a]="Error",this.name=s.name,this.message=s.message,this.type=s.type,this.value=s.value,this.path=s.path,this.errors=s.errors,this.inner=s.inner,Error.captureStackTrace&&Error.captureStackTrace(this,_)}static[o](t){return w[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let S={default:"${path}
5 is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:r,value:n,originalValue:i})=>{let o=null!=i&&i!==n?` (cast from the value \`${y(i,!0)}\`).`:".";return"mixed"!==r?`${t} must be a \`${r}\` type, but the final value was: \`${y(n,!0)}\``+o:`${t} must match the configured type. The validated value was: \`${y(n,!0)}\``+o}},E={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},A={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},x={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},k={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},P={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},C={notType:t=>{let{path:r,value:n,spec:i}=t,o=i.types.length;if(Array.isArray(n)){if(n.length<o)return`${r} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${y(n,!0)}\``;if(n.length>o)return`${r} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${y(n,!0)}\``}return _.formatError(S.notType,t)}};Object.assign(Object.create(null),{mixed:S,string:E,number:A,date:x,object:O,array:P,boolean:k,tuple:C});let T=t=>t&&t.__isYupSchema__;class M{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:i,otherwise:o}=r,a="function"==typeof n?n:(...t)=>t.every(t=>t===n);return new M(t,(t,r)=>{var n;let s=a(...t)?i:o;return null!=(n=null==s?void 0:s(r))?n:r})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let n=this.refs.map(t=>t.getValue(null==r?void 0:r.value,null==r?void 0:r.parent,null==r?void 0:r.context)),i=this.fn(n,t,r);if(void 0===i||i===t)return t;if(!T(i))throw TypeError("conditions must return a schema object");return i.resolve(r)}}let R={context:"$",value:"."};function I(t,r){return new N(t,r)}class N{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof t)throw TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===R.context,this.isValue=this.key[0]===R.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?R.context:this.isValue?R.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&(0,s.getter)(this.path,!0),this.map=r.map}getValue(t,r,n){let i=this.isContext?n:this.isValue?t:r;return this.getter&&(i=this.getter(i||{})),this.map&&(i=this.map(i)),i}cast(t,r){return this.getValue(t,null==r?void 0:r.parent,null==r?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}N.prototype.__isYupRef=!0;let D=t=>null==t;function F(t){function r({value:r,path:n="",options:i,originalValue:o,schema:a},s,l){let u;let{name:c,test:d,params:h,message:f,skipAbsent:p}=t,{parent:m,context:g,abortEarly:y=a.spec.abortEarly,disableStackTrace:v=a.spec.disableStackTrace}=i,b={value:r,parent:m,context:g};function w(t={}){let i=L(Object.assign({value:r,originalValue:o,label:a.spec.label,path:t.path||n,spec:a.spec,disableStackTrace:t.disableStackTrace||v},h,t.params),b),s=new _(_.formatError(t.message||f,i),r,i.path,t.type||c,i.disableStackTrace);return s.params=i,s}let S=y?s:l,E={path:n,parent:m,type:c,from:i.from,createError:w,resolve:t=>$(t,b),options:i,originalValue:o,schema:a},A=t=>{_.isError(t)?S(t):t?l(null):S(w())},x=t=>{_.isError(t)?S(t):s(t)};if(p&&D(r))return A(!0);try{var k;
5if(u=d.call(E,r,E),"function"==typeof(null==(k=u)?void 0:k.then)){if(i.sync)throw Error(`Validation test of type: "${E.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(u).then(A,x)}}catch(t){x(t);return}A(u)}return r.OPTIONS=t,r}function L(t,r){if(!t)return t;for(let n of Object.keys(t))t[n]=$(t[n],r);return t}function $(t,r){return N.isRef(t)?t.getValue(r.value,r.parent,r.context):t}class j extends Set{describe(){let t=[];for(let r of this.values())t.push(N.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(let n of this.values())r.push(t(n));return r}clone(){return new j(this.values())}merge(t,r){let n=this.clone();return t.forEach(t=>n.add(t)),r.forEach(t=>n.delete(t)),n}}function U(t,r=new Map){let n;if(T(t)||!t||"object"!=typeof t)return t;if(r.has(t))return r.get(t);if(t instanceof Date)n=new Date(t.getTime()),r.set(t,n);else if(t instanceof RegExp)n=new RegExp(t),r.set(t,n);else if(Array.isArray(t)){n=Array(t.length),r.set(t,n);for(let i=0;i<t.length;i++)n[i]=U(t[i],r)}else if(t instanceof Map)for(let[i,o]of(n=new Map,r.set(t,n),t.entries()))n.set(i,U(o,r));else if(t instanceof Set)for(let i of(n=new Set,r.set(t,n),t))n.add(U(i,r));else if(t instanceof Object)for(let[i,o]of(n={},r.set(t,n),Object.entries(t)))n[i]=U(o,r);else throw Error(`Unable to clone ${t}`);return n}function B(t,r){var n;if(!(null!=(n=t.inner)&&n.length)&&t.errors.length)return function(t,r){let n=r?`${r}.${t.path}`:t.path;return t.errors.map(t=>({message:t,path:function(t){if(!(null!=t&&t.length))return;let r=[],n="",i=!1,o=!1;for(let a=0;a<t.length;a++){let s=t[a];if("["===s&&!o){n&&(r.push(...n.split(".").filter(Boolean)),n=""),i=!0;continue}if("]"===s&&!o){n&&(/^\d+$/.test(n)?r.push(n):r.push(n.replace(/^"|"$/g,"")),n=""),i=!1;continue}if('"'===s){o=!o;continue}if("."===s&&!i&&!o){n&&(r.push(n),n="");continue}n+=s}return n&&r.push(...n.split(".").filter(Boolean)),r}(n)}))}(t,r);let i=r?`${r}.${t.path}`:t.path;return t.inner.flatMap(t=>B(t,i))}class z{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new j,this._blacklist=new j,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(S.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==t?void 0:t.spec),this.withMutation(t=>{t.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;let r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=U(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(0===t.length)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let n=t(this);return this._mutate=r,n}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=t.clone(),n=Object.assign({},this.spec,r.spec);return r.spec=n,r.internalTests=Object.assign({},this.internalTests,r.internalTests),r._whitelist=this._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=this._blacklist.merge(t._blacklist,t._whitelist),r.tests=this.tests,r.exclusiveTests=this.exclusiveTests,r.withMutation(r=>{t.tests.forEach(t=>{r.test(t.OPTIONS)})}),r.transforms=[...this.transforms,...r.transforms],r}isType(t){return null==t?!!this.spec.nullable&&null===t||!!this.spec.optional&&void 0===t:this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let n=r.conditions;(r=r.clone()).conditions=[],r=(r=n.reduce((r,n)=>n.resolve(r,t),r)).resolve(t)}return r}resolveOptions(t){var r,n,i,o;return Object.assign({},t,{from:t.from||[],strict:null!=(r=t.strict)?r:this.spec.strict,abortEarly:null!=(n=t.abortEarly)?n:this.spec.abortEarly,recursive:null!=(i=t.recursive)?i:this.spec.recursive,disableStackTrace:null!=(o=t.disableStackTrace)?o:this.spec.disableStackTrace})}cast(t,r={}){let n=this.resolve(Object.assign({},r,{value:t})),i="ignore-optionality"===r.assert,o=n._cast(t,r);
vendor: 5,283 bytes, lines 5-8
5if(!1!==r.assert&&!n.isType(o)){if(i&&D(o))return o;let a=y(t),s=y(o);throw TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 6 7attempted value: ${a} 8`+(s!==a?`result of cast: ${s}`:""))}return o}_cast(t,r){let n=void 0===t?t:this.transforms.reduce((n,i)=>i.call(this,n,t,this,r),t);return void 0===n&&(n=this.getDefault(r)),n}_validate(t,r={},n,i){let{path:o,originalValue:a=t,strict:s=this.spec.strict}=r,l=t;s||(l=this._cast(l,Object.assign({assert:!1},r)));let u=[];for(let t of Object.values(this.internalTests))t&&u.push(t);this.runTests({path:o,value:l,originalValue:a,options:r,tests:u},n,t=>{if(t.length)return i(t,l);this.runTests({path:o,value:l,originalValue:a,options:r,tests:this.tests},n,i)})}runTests(t,r,n){let i=!1,{tests:o,value:a,originalValue:s,path:l,options:u}=t,c=t=>{i||(i=!0,r(t,a))},d=t=>{i||(i=!0,n(t,a))},h=o.length,f=[];if(!h)return d([]);let p={value:a,originalValue:s,path:l,options:u,schema:this};for(let t=0;t<o.length;t++)(0,o[t])(p,c,function(t){t&&(Array.isArray(t)?f.push(...t):f.push(t)),--h<=0&&d(f)})}asNestedTest({key:t,index:r,parent:n,parentPath:i,originalParent:o,options:a}){let s=null!=t?t:r;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");let l="number"==typeof s,u=n[s],c=Object.assign({},a,{strict:!0,parent:n,value:u,originalValue:o[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${i||""}[${l?s:`"${s}"`}]`:(i?`${i}.`:"")+t});return(t,r,n)=>this.resolve(c)._validate(u,c,r,n)}validate(t,r){var n;let i=this.resolve(Object.assign({},r,{value:t})),o=null!=(n=null==r?void 0:r.disableStackTrace)?n:i.spec.disableStackTrace;return new Promise((n,a)=>i._validate(t,r,(t,r)=>{_.isError(t)&&(t.value=r),a(t)},(t,r)=>{t.length?a(new _(t,r,void 0,void 0,o)):n(r)}))}validateSync(t,r){var n;let i;let o=this.resolve(Object.assign({},r,{value:t})),a=null!=(n=null==r?void 0:r.disableStackTrace)?n:o.spec.disableStackTrace;return o._validate(t,Object.assign({},r,{sync:!0}),(t,r)=>{throw _.isError(t)&&(t.value=r),t},(r,n)=>{if(r.length)throw new _(r,t,void 0,void 0,a);i=n}),i}isValid(t,r){return this.validate(t,r).then(()=>!0,t=>{if(_.isError(t))return!1;throw t})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(t){if(_.isError(t))return!1;throw t}}_getDefault(t){let r=this.spec.default;return null==r?r:"function"==typeof r?r.call(this,t):U(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return 0==arguments.length?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){let n=this.clone({nullable:t});return n.internalTests.nullable=F({message:r,name:"nullable",test(t){return null!==t||this.schema.spec.nullable}}),n}optionality(t,r){let n=this.clone({optional:t});return n.internalTests.optionality=F({message:r,name:"optionality",test(t){return void 0!==t||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(t=S.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=S.notNull){return this.nullability(!1,t)}required(t=S.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(void 0===(r=1===t.length?"function"==typeof t[0]?{test:t[0]}:t[0]:2===t.length?{name:t[0],test:t[1]}:{name:t[0],message:t[1],test:t[2]}).message&&(r.message=S.default),"function"!=typeof r.test)throw TypeError("`test` is a required parameters");let n=this.clone(),i=F(r),o=r.exclusive||r.name&&!0===n.exclusiveTests[r.name];if(r.exclusive&&!r.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(n.exclusiveTests[r.name]=!!r.exclusive),n.tests=n.tests.filter(t=>t.OPTIONS.name!==r.name||!o&&t.OPTIONS.test!==i.OPTIONS.test),n.tests.push(i),n}when(t,r){Array.isArray(t)||"string"==typeof t||(r=t,t=".");let n=this.clone(),i=v(t).map(t=>new N(t));return i.forEach(t=>{t.isSibling&&n.deps.push(t.key)}),n.conditions.push("function"==typeof r?new M(i,r):M.fromOptions(i,r)),n}typeError(t){let r=this.clone();return r.internalTests.typeError=F({message:t,name:"typeError",skipAbsent:!0,test(t){return!!this.schema._typeCheck(t)||this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=S.oneOf){let n=this.clone();return t.forEach(t=>{n._whitelist.add(t),n._blacklist.delete(t)}),n.internalTests.whiteList=F({message:r,name:"oneOf",skipAbsent:!0,test(t){let r=this.schema._whitelist,n=r.resolveAll(this.resolve);return!!n.includes(t)||this.createError({params:{values:Array.from(r).join(", "),resolved:n}})}}),n}notOneOf(t,r=S.notOneOf){let n=this.clone();return t.forEach(t=>{n._blacklist.add(t),n._whitelist.delete(t)}),n.internalTests.blacklist=F({message:r,name:"notOneOf",test(t){let r=this.schema._blacklist,n=r.resolveAll(this.resolve);return!n.includes(t)||this.createError({params:{values:Array.from(r).join(", "),resolved:n}})}}),n}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){let r=(t?this.resolve(t):this).clone(),{label:n,meta:i,optional:o,nullable:a}=r.spec;return{meta:i,label:n,optional:o,nullable:a,default:r.getDefault(t),t
8ype:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.filter((t,r,n)=>n.findIndex(r=>r.OPTIONS.name===t.OPTIONS.name)===r).map(r=>{let n=r.OPTIONS.params&&t?L(Object.assign({},r.OPTIONS.params),t):r.OPTIONS.params;return{name:r.OPTIONS.name,params:n}})}}get"~standard"(){let t=this;return{version:1,vendor:"yup",async validate(r){try{return{value:await t.validate(r,{abortEarly:!1})}}catch(t){if(t instanceof _)return{issues:B(t)};throw t}}}}}for(let t of(z.prototype.__isYupSchema__=!0,["validate","validateSync"]))z.prototype[`${t}At`]=function(r,n,i={}){let{parent:o,parentPath:a,schema:l}=function(t,r,n,i=n){let o,a,l;return r?((0,s.forEach)(r,(s,u,c)=>{let d=u?s.slice(1,s.length-1):s,h="tuple"===(t=t.resolve({context:i,parent:o,value:n})).type,f=c?parseInt(d,10):0;if(t.innerType||h){if(h&&!c)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${l}" must contain an index to the tuple element, e.g. "${l}[0]"`);if(n&&f>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${r}. because there is no value at that index. `);o=n,n=n&&n[f],t=h?t.spec.types[f]:t.innerType}if(!c){if(!t.fields||!t.fields[d])throw Error(`The schema does not contain the path: ${r}. (failed at: ${l} which is a type: "${t.type}")`);o=n,n=n&&n[d],t=t.fields[d]}a=d,l=u?"["+s+"]":"."+s}),{schema:t,parent:o,parentPath:a}):{parent:o,parentPath:r,schema:t}}(this,r,n,i.context);return l[t](o&&o[a],Object.assign({},i,{parent:o,path:r}))};for(let t of["equals","is"])z.prototype[t]=z.prototype.oneOf;for(let t of["not","nope"])z.prototype[t]=z.prototype.notOneOf;let H=()=>!0;function q(t){return new V(t)}class V extends z{constructor(t){super("function"==typeof t?{type:"mixed",check:t}:Object.assign({type:"mixed",check:H},t))}}function G(){return new W}q.prototype=V.prototype;class W extends z{constructor(){super({type:"boolean",check:t=>(t instanceof Boolean&&(t=t.valueOf()),"boolean"==typeof t)}),this.withMutation(()=>{this.transform((t,r)=>{if(this.spec.coerce&&!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=k.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:t=>D(t)||!0===t})}isFalse(t=k.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:t=>D(t)||!1===t})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}G.prototype=W.prototype;let K=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Y(t){var r,n;let i=K.exec(t);return i?{year:Z(i[1]),month:Z(i[2],1)-1,day:Z(i[3],1),hour:Z(i[4]),minute:Z(i[5]),second:Z(i[6]),millisecond:i[7]?Z(i[7].substring(0,3)):0,precision:null!=(r=null==(n=i[7])?void 0:n.length)?r:void 0,z:i[8]||void 0,plusMinus:i[9]||void 0,hourOffset:Z(i[10]),minuteOffset:Z(i[11])}:null}function Z(t,r=0){return Number(t)||r}let X=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,J=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Q=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ee=RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),et=t=>D(t)||t===t.trim(),er=({}).toString();function en(){return new ei}class ei extends z{constructor(){super({type:"string",check:t=>(t instanceof String&&(t=t.valueOf()),"string"==typeof t)}),this.withMutation(()=>{this.transform((t,r)=>{if(!this.spec.coerce||this.isType(t)||Array.isArray(t))return t;let n=null!=t&&t.toString?t.toString():t;return n===er?t:n})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||S.required,name:"required",skipAbsent:!0,test:t=>!!t.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(t=>"required"!==t.OPTIONS.name),t))}length(t,r=E.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,r=E.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,r=E.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,r){let n,i,o=!1;return r&&("object"==typeof r?{excludeEmptyString:o=!1,message:n,name:i}=r:n=r),this.test({name:i||"matches",message:n||E.matches,params:{regex:t},skipAbsent:!0,test:r=>""===r&&o||-1!==r.search(t)})}email(t=E.email){return this.matches(X,{name:"email",message:t,excludeEmptyString:!0})}url(t=E.url){return this.matches(J,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=E.uuid){return this.matches(Q,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let r,n,i="";return t&&("object"==typeof t?{message:i="",allowOffset:r=!1,precision:n}=t:i=t),this.matches(ee,{name:"datetime",message:i||E.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:i||E.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:t=>{if(!t||r)return!0;let n=Y(t);return!!n&&!!n.z}}).test({name:"datetime_precision",message:i||E.datetime_precision,params:{precision:n},skipAbsent:!0,test:t=>{if(!t||void 0==n)return!0;let r=Y(t);return!!r&&r.precision===n}})}ensure(){return this.default("").transform(t=>null===t?"":t)}trim(t=E.trim){return this.transform(t=>null!=t?t.trim():t).test({message:t,name:"trim",test:et})}lowercase(t=E.lowercase){return this.transform(t=>D(t)?t:t.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>D(t)||t===t.toLowerCase()})}uppercase(t=E.uppercase){return this.transform(t=>D(t)?t:t.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>D(t)||t===t.toUpperCase()})}}en.prototype=ei.prototype;let eo=t=>t!=+t;class ea extends z{constructor(){super({type:"number",check:t=>(t instanceof Number&&(t=t.valueOf()),"number"==typeof t&&!eo(t))}),this.withMutation(()=>{this.transform((t,r)=>{if(!this.spec.coerce)return t;let n=t;if("string"==typeof n){if(""===(n=n.replace(/\s/g,"")))return NaN;n=+n}return this.isType(n)||null===n?n:parseFloat(n)})})}min(t,r=A.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,r=A.max){return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,r=A.lessThan){return this.test({message:r,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,r=A.moreThan){return this.test({message:r,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=A.positive){return this.moreThan(0,t)}negative(t=A.negative){return this.lessThan(0,t)}integer(t=A.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:t=>Number.isInteger(t)})}truncate(){return this.transform(t=>D(t)?t:0|t)}round(t){var r;let n=["ceil","floor","round","trunc"];if("trunc"===(t=(null==(r=t)?void 0:r.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(t.toLowerCase()))throw TypeError("Only valid options for roun
8d() are: "+n.join(", "));return this.transform(r=>D(r)?r:Math[t](r))}}ea.prototype;let es=new Date(""),el=t=>"[object Date]"===Object.prototype.toString.call(t);function eu(){return new ec}class ec extends z{constructor(){super({type:"date",check:t=>el(t)&&!isNaN(t.getTime())}),this.withMutation(()=>{this.transform((t,r)=>!this.spec.coerce||this.isType(t)||null===t?t:isNaN(t=function(t){let r=Y(t);if(!r)return Date.parse?Date.parse(t):Number.NaN;if(void 0===r.z&&void 0===r.plusMinus)return new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond).valueOf();let n=0;return"Z"!==r.z&&void 0!==r.plusMinus&&(n=60*r.hourOffset+r.minuteOffset,"+"===r.plusMinus&&(n=0-n)),Date.UTC(r.year,r.month,r.day,r.hour,r.minute+n,r.second,r.millisecond)}(t))?ec.INVALID_DATE:new Date(t))})}prepareParam(t,r){let n;if(N.isRef(t))n=t;else{let i=this.cast(t);if(!this._typeCheck(i))throw TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);n=i}return n}min(t,r=x.min){let n=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(t){return t>=this.resolve(n)}})}max(t,r=x.max){let n=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(t){return t<=this.resolve(n)}})}}function ed(t,r){let n=1/0;return t.some((t,i)=>{var o;if(null!=(o=r.path)&&o.includes(t))return n=i,!0}),n}function eh(t){return(r,n)=>ed(t,r)-ed(t,n)}ec.INVALID_DATE=es,eu.prototype=ec.prototype,eu.INVALID_DATE=es;let ef=(t,r,n)=>{if("string"!=typeof t)return t;let i=t;try{i=JSON.parse(t)}catch(t){}return n.isType(i)?i:t},ep=(t,r)=>{let n=[...(0,s.normalizePath)(r)];if(1===n.length)return n[0]in t;let i=n.pop(),o=(0,s.getter)((0,s.join)(n),!0)(t);return!!(o&&i in o)},em=t=>"[object Object]"===Object.prototype.toString.call(t);function eg(t,r){let n=Object.keys(t.fields);return Object.keys(r).filter(t=>-1===n.indexOf(t))}let ey=eh([]);function ev(t){return new eb(t)}class eb extends z{constructor(t){super({type:"object",check:t=>em(t)||"function"==typeof t}),this.fields=Object.create(null),this._sortErrors=ey,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var n;let i=super._cast(t,r);if(void 0===i)return this.getDefault(r);if(!this._typeCheck(i))return i;let o=this.fields,a=null!=(n=r.stripUnknown)?n:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(i).filter(t=>!this._nodes.includes(t))),l={},u=Object.assign({},r,{parent:l,__validating:r.__validating||!1}),c=!1;for(let t of s){let n=o[t],s=t in i,d=i[t];if(n){let o;u.path=(r.path?`${r.path}.`:"")+t;let a=(n=n.resolve({value:d,context:r.context,parent:l}))instanceof z?n.spec:void 0,s=null==a?void 0:a.strict;if(null!=a&&a.strip){c=c||t in i;continue}void 0!==(o=r.__validating&&s?d:n.cast(d,u))&&(l[t]=o)}else s&&!a&&(l[t]=d);(s!==t in l||l[t]!==d)&&(c=!0)}return c?l:i}_validate(t,r={}
vendor: 6,347 bytes, line 8
8,n,i){let{from:o=[],originalValue:a=t,recursive:s=this.spec.recursive}=r;r.from=[{schema:this,value:a},...o],r.__validating=!0,r.originalValue=a,super._validate(t,r,n,(t,o)=>{if(!s||!em(o)){i(t,o);return}a=a||o;let l=[];for(let t of this._nodes){let n=this.fields[t];!n||N.isRef(n)||l.push(n.asNestedTest({options:r,key:t,parent:o,parentPath:r.path,originalParent:a}))}this.runTests({tests:l,value:o,originalValue:a,options:r},n,r=>{i(r.sort(this._sortErrors).concat(t),o)})})}clone(t){let r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),n=r.fields;for(let[t,r]of Object.entries(this.fields)){let i=n[t];n[t]=void 0===i?r:i}return r.withMutation(r=>r.setFields(n,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(n=>{var i;let o=this.fields[n],a=t;null!=(i=a)&&i.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),r[n]=o&&"getDefault"in o?o.getDefault(a):void 0}),r}setFields(t,r){let n=this.clone();return n.fields=t,n._nodes=function(t,r=[]){let n=[],i=new Set,o=new Set(r.map(([t,r])=>`${t}-${r}`));function a(t,r){let a=(0,s.split)(t)[0];i.add(a),o.has(`${r}-${a}`)||n.push([r,a])}for(let r of Object.keys(t)){let n=t[r];i.add(r),N.isRef(n)&&n.isSibling?a(n.path,r):T(n)&&"deps"in n&&n.deps.forEach(t=>a(t,r))}return c().array(Array.from(i),n).reverse()}(t,r),n._sortErrors=eh(Object.keys(t)),r&&(n._excludedEdges=r),n}shape(t,r=[]){return this.clone().withMutation(n=>{let i=n._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),i=[...n._excludedEdges,...r]),n.setFields(Object.assign(n.fields,t),i)})}partial(){let t={};for(let[r,n]of Object.entries(this.fields))t[r]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(t)}deepPartial(){return function t(r){if("fields"in r){let n={};for(let[i,o]of Object.entries(r.fields))n[i]=t(o);return r.setFields(n)}if("array"===r.type){let n=r.optional();return n.innerType&&(n.innerType=t(n.innerType)),n}return"tuple"===r.type?r.optional().clone({types:r.spec.types.map(t)}):"optional"in r?r.optional():r}(this)}pick(t){let r={};for(let n of t)this.fields[n]&&(r[n]=this.fields[n]);return this.setFields(r,this._excludedEdges.filter(([r,n])=>t.includes(r)&&t.includes(n)))}omit(t){let r=[];for(let n of Object.keys(this.fields))t.includes(n)||r.push(n);return this.pick(r)}from(t,r,n){let i=(0,s.getter)(t,!0);return this.transform(o=>{if(!o)return o;let a=o;return ep(o,t)&&(a=Object.assign({},o),n||delete a[t],a[r]=i(o)),a})}json(){return this.transform(ef)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||O.exact,test(t){if(null==t)return!0;let r=eg(this.schema,t);return 0===r.length||this.createError({params:{properties:r.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,r=O.noUnknown){"boolean"!=typeof t&&(r=t,t=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:r,test(r){if(null==r)return!0;let n=eg(this.schema,r);return!t||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=t,n}unknown(t=!0,r=O.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;let n={};for(let i of Object.keys(r))n[t(i)]=r[i];return n})}camelCase(){return this.transformKeys(l.camelCase)}snakeCase(){return this.transformKeys(l.snakeCase)}constantCase(){return this.transformKeys(t=>(0,l.snakeCase)(t).toUpperCase())}describe(t){let r=(t?this.resolve(t):this).clone(),n=super.describe(t);for(let[o,a]of(n.fields={},Object.entries(r.fields))){var i;let r=t;null!=(i=r)&&i.value&&(r=Object.assign({},r,{parent:r.value,value:r.value[o]})),n.fields[o]=a.describe(r)}return n}}ev.prototype=eb.prototype;class ew extends z{constructor(t){super({type:"array",spec:{types:t},check:t=>Array.isArray(t)}),this.innerType=void 0,this.innerType=t}_cast(t,r){let n=super._cast(t,r);if(!this._typeCheck(n)||!this.innerType)return n;let i=!1,o=n.map((t,o)=>{let a=this.innerType.cast(t,Object.assign({},r,{path:`${r.path||""}[${o}]`,parent:n,originalValue:t,value:t,index:o}));return a!==t&&(i=!0),a});return i?o:n}_validate(t,r={},n,i){var o;let a=this.innerType,s=null!=(o=r.recursive)?o:this.spec.recursive;null!=r.originalValue&&r.originalValue,super._validate(t,r,n,(o,l)=>{var u,c;if(!s||!a||!this._typeCheck(l)){i(o,l);return}let d=Array(l.length);for(let n=0;n<l.length;n++)d[n]=a.asNestedTest({options:r,index:n,parent:l,parentPath:r.path,originalParent:null!=(c=r.originalValue)?c:t});this.runTests({value:l,tests:d,originalValue:null!=(u=r.originalValue)?u:t,options:r},n,t=>i(t.concat(o),l))})}clone(t){let r=super.clone(t);return r.innerType=this.innerType,r}json(){return this.transform(ef)}concat(t){let r=super.concat(t);return r.innerType=this.innerType,t.innerType&&(r.innerType=r.innerType?r.innerType.concat(t.innerType):t.innerType),r}of(t){let r=this.clone();if(!T(t))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+y(t));return r.innerType=t,r.spec=Object.assign({},r.spec,{types:t}),r}length(t,r=P.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,r){return r=r||P.min,this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,r){return r=r||P.max,this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,r)=>this._typeCheck(t)?t:null==r?[]:[].concat(r))}compact(t){let r=t?(r,n,i)=>!t(r,n,i):t=>!!t;return this.transform(t=>null!=t?t.filter(r):t)}describe(t){let r=(t?this.resolve(t):this).clone(),n=super.describe(t);if(r.innerType){var i;let o=t;null!=(i=o)&&i.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=r.innerType.describe(o)}return n}}ew.prototype;class e_ extends z{constructor(t){super({type:"tuple",spec:{types:t},check(t){let r=this.spec.types;return Array.isArray(t)&&t.length===r.length}}),this.withMutation(()=>{this.typeError(C.notType)})}_cast(t,r){let{types:n}=this.spec,i=super._cast(t,r);
8if(!this._typeCheck(i))return i;let o=!1,a=n.map((t,n)=>{let a=t.cast(i[n],Object.assign({},r,{path:`${r.path||""}[${n}]`,parent:i,originalValue:i[n],value:i[n],index:n}));return a!==i[n]&&(o=!0),a});return o?a:i}_validate(t,r={},n,i){let o=this.spec.types;super._validate(t,r,n,(a,s)=>{var l,u;if(!this._typeCheck(s)){i(a,s);return}let c=[];for(let[n,i]of o.entries())c[n]=i.asNestedTest({options:r,index:n,parent:s,parentPath:r.path,originalParent:null!=(u=r.originalValue)?u:t});this.runTests({value:s,tests:c,originalValue:null!=(l=r.originalValue)?l:t,options:r},n,t=>i(t.concat(a),s))})}describe(t){let r=(t?this.resolve(t):this).clone(),n=super.describe(t);return n.innerType=r.spec.types.map((r,n)=>{var i;let o=t;return null!=(i=o)&&i.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[n]})),r.describe(o)}),n}}function eS(t){try{return t()}catch(t){if(_.isError(t))return Promise.reject(t);throw t}}e_.prototype;class eE{constructor(t){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(t,r={})=>{let n=this.builder(t,r);if(!T(n))throw TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(n=n.optional()),n.resolve(r)},this.builder=t,this.spec={meta:void 0,optional:!1}}clone(t){let r=new eE(this.builder);return r.spec=Object.assign({},this.spec,t),r}optionality(t){return this.clone({optional:t})}optional(){return this.optionality(!0)}resolve(t){return this._resolve(t.value,t)}cast(t,r){return this._resolve(t,r).cast(t,r)}asNestedTest(t){let{key:r,index:n,parent:i,options:o}=t,a=i[null!=n?n:r];return this._resolve(a,Object.assign({},o,{value:a,parent:i})).asNestedTest(t)}validate(t,r){return eS(()=>this._resolve(t,r).validate(t,r))}validateSync(t,r){return this._resolve(t,r).validateSync(t,r)}validateAt(t,r,n){return eS(()=>this._resolve(r,n).validateAt(t,r,n))}validateSyncAt(t,r,n){return this._resolve(r,n).validateSyncAt(t,r,n)}isValid(t,r){try{return this._resolve(t,r).isValid(t,r)}catch(t){if(_.isError(t))return Promise.resolve(!1);throw t}}isValidSync(t,r){return this._resolve(t,r).isValidSync(t,r)}describe(t){return t?this.resolve(t).describe(t):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...t){if(0===t.length)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}get"~standard"(){let t=this;return{version:1,vendor:"yup",async validate(r){try{return{value:await t.validate(r,{abortEarly:!1})}}catch(t){if(_.isError(t))return{issues:B(t)};throw t}}}}}},89148:function(t,r,n){"use strict";n.r(r),n.d(r,{create:function(){return u},createStore:function(){return i.M},default:function(){return c},useStore:function(){return s}});var i=n(90808),o=n(2265);let{useSyncExternalStoreWithSelector:a}=n(35195);function s(t,r=t.getState,n){let i=a(t.subscribe,t.getState,t.getServerState||t.getState,r,n);return(0,o.useDebugValue)(i),i}let l=t=>{let r="function"==typeof t?(0,i.M)(t):t,n=(t,n)=>s(r,t,n);return Object.assign(n,r),n},u=t=>t?l(t):l;var c=t=>u(t)},46229:function(t,r,n){"use strict";n.r(r),n.d(r,{createWithEqualityFn:function(){return c},useStoreWithEqualityFn:function(){return l}});var i=n(2265),o=n(35195),a=n(90808);let{useSyncExternalStoreWithSelector:s}=o;function l(t,r=t.getState,n){let o=s(t.subscribe,t.getState,t.getServerState||t.getState,r,n);return(0,i.useDebugValue)(o),o}let u=(t,r)=>{let n=(0,a.M)(t),i=(t,i=r)=>l(n,t,i);return Object.assign(i,n),i},c=(t,r)=>t?u(t,r):u},46693:function(){},51832:function(){},93335:function(){},47149:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorage",{enumerable:!0,get:function(){return i}});let i=(0,n(54832).createAsyncLocalStorage)();("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54832:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createAsyncLocalStorage",{enumerable:!0,get:function(){return a}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class i{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function a(){return o?new o:new i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
8dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},25575:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"requestAsyncStorage",{enumerable:!0,get:function(){return i}});let i=(0,n(54832).createAsyncLocalStorage)();("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},20030:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return i}});let i=(0,n(54832).createAsyncLocalStorage)();("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},52451:function(t){t.exports={style:{fontFamily:"'__Montserrat_0f62d1', '__Montserrat_Fallback_0f62d1', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_0f62d1"}},92270:function(t){t.exports={style:{fontFamily:"'__Poppins_e36b36', '__Poppins_Fallback_e36b36', Helvetica, Arial, sans-serif",fontStyle:"normal"},className:"__className_e36b36"}},34040:function(t,r,n){"use strict";var i=n(54887);r.createRoot=i.createRoot,r.hydrateRoot=i.hydrateRoot},54887:function(t,r,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(84417)},97950:function(t,r,n){"use strict";var i=n(54887),o={stream:!0},a=Object.prototype.hasOwnProperty,s=new Map;function l(t){var r=n(t);return"function"!=typeof r.then||"fulfilled"===r.status?null:(r.then(function(t){r.status="fulfilled",r.value=t},function(t){r.status="rejected",r.reason=t}),r)}function u(){}var c=new Map,d=n.u;n.u=function(t){var r=c.get(t);return void 0!==r?r:d(t)};var h=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,f=Symbol.for("react.element"),p=Symbol.for("react.lazy"),m=Symbol.iterator,g=Array.isArray,y=Object.getPrototypeOf,v=Object.prototype,b=new WeakMap;function w(t,r,n,i){this.status=t,this.value=r,this.reason=n,this._response=i}function _(t){switch(t.status){case"resolved_model":P(t);break;case"resolved_module":C(t)}switch(t.status){case"fulfilled":return t.value;case"pending":case"blocked":case"cyclic":throw t;default:throw t.reason}}function S(t,r){for(var n=0;n<t.length;n++)(0,t[n])(r)}function E(t,r,n){switch(t.status){case"fulfilled":S(r,t.value);break;case"pending":case"blocked":case"cyclic":t.value=r,t.reason=n;break;case"rejected":n&&S(n,t.reason)}}function A(t,r){if("pending"===t.status||"blocked"===t.status){var n=t.reason;t.status="rejected",t.reason=r,null!==n&&S(n,r)}}function x(t,r){if("pending"===t.status||"blocked"===t.status){var n=t.value,i=t.reason;t.status="resolved_module",t.value=r,null!==n&&(C(t),E(t,n,i))}}w.prototype=Object.create(Promise.prototype),w.prototype.then=function(t,r){switch(this.status){case"resolved_model":P(this);break;case"resolved_module":C(this)}switch(this.status){case"fulfilled":t(this.value);break;case"pending":case"blocked":case"cyclic":t&&(null===this.value&&(this.value=[]),this.value.push(t)),r&&(null===this.reason&&(this.reason=[]),this.reason.push(r));break;default:r(this.reason)}};var k=null,O=null;function P(t){var r=k,n=O;k=t,O=null;var i=t.value;t.status="cyclic",t.value=null,t.reason=null;try{var o=JSON.parse(i,t._response._fromJSON);if(null!==O&&0<O.deps)O.value=o,t.status="blocked",t.value=null,t.reason=null;else{var a=t.value;t.status="fulfilled",t.value=o,null!==a&&S(a,o)}}catch(r){t.status="rejected",t.reason=r}finally{k=r,O=n}}function C(t){try{var r=t.value,i=n(r[0]);if(4===r.length&&"function"==typeof i.then){if("fulfilled"===i.status)i=i.value;else throw i.reason}var o="*"===r[2]?i:""===r[2]?i.__esModule?i.default:i:a.call(i,r[2])?i[r[2]]:void 0;t.status="fulfilled",t.value=o}catch(r){t.status="rejected",t.reason=r}}function T(t,r){t._chunks.forEach(function(t){"pending"===t.status&&A(t,r)})}function M(t,r){var n=t._chunks,i=n.get(r);
8return i||(i=new w("pending",null,null,t),n.set(r,i)),i}function R(t,r){if("resolved_model"===(t=M(t,r)).status&&P(t),"fulfilled"===t.status)return t.value;throw t.reason}function I(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function N(t,r,n,i,o){var a;return(t={_bundlerConfig:t,_moduleLoading:r,_callServer:void 0!==n?n:I,_encodeFormAction:i,_nonce:o,_chunks:new Map,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]})._fromJSON=(a=t,function(t,r){return"string"==typeof r?function(t,r,n,i){if("$"===i[0]){if("$"===i)return f;switch(i[1]){case"$":return i.slice(1);case"L":return{$$typeof:p,_payload:t=M(t,r=parseInt(i.slice(2),16)),_init:_};case"@":if(2===i.length)return new Promise(function(){});return M(t,r=parseInt(i.slice(2),16));case"S":return Symbol.for(i.slice(2));case"h":return r=R(t,r=parseInt(i.slice(2),16)),function(t,r){function n(){var t=Array.prototype.slice.call(arguments),n=r.bound;return n?"fulfilled"===n.status?i(r.id,n.value.concat(t)):Promise.resolve(n).then(function(n){return i(r.id,n.concat(t))}):i(r.id,t)}var i=t._callServer;return b.set(n,r),n}(t,r);case"Q":return new Map(t=R(t,r=parseInt(i.slice(2),16)));case"W":return new Set(t=R(t,r=parseInt(i.slice(2),16)));case"I":return 1/0;case"-":return"$-0"===i?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(i.slice(2)));case"n":return BigInt(i.slice(2));default:switch((t=M(t,i=parseInt(i.slice(1),16))).status){case"resolved_model":P(t);break;case"resolved_module":C(t)}switch(t.status){case"fulfilled":return t.value;case"pending":case"blocked":case"cyclic":var o;return i=k,t.then(function(t,r,n,i){if(O){var o=O;i||o.deps++}else o=O={deps:i?0:1,value:null};return function(i){r[n]=i,o.deps--,0===o.deps&&"blocked"===t.status&&(i=t.value,t.status="fulfilled",t.value=o.value,null!==i&&S(i,o.value))}}(i,r,n,"cyclic"===t.status),(o=i,function(t){return A(o,t)})),null;default:throw t.reason}}}return i}(a,this,t,r):"object"==typeof r&&null!==r?t=r[0]===f?{$$typeof:f,type:r[1],key:r[2],ref:null,props:r[3],_owner:null}:r:r}),t}function D(t,r){function i(r){T(t,r)}var a=r.getReader();a.read().then(function r(d){var f=d.value;if(d.done)T(t,Error("Connection closed."));else{var p=0,m=t._rowState,g=t._rowID,y=t._rowTag,v=t._rowLength;d=t._buffer;for(var b=f.length;p<b;){var _=-1;switch(m){case 0:58===(_=f[p++])?m=1:g=g<<4|(96<_?_-87:_-48);continue;case 1:84===(m=f[p])?(y=m,m=2,p++):64<m&&91>m?(y=m,m=3,p++):(y=0,m=3);continue;case 2:44===(_=f[p++])?m=4:v=v<<4|(96<_?_-87:_-48);continue;case 3:_=f.indexOf(10,p);break;case 4:(_=p+v)>f.length&&(_=-1)}var S=f.byteOffset+p;if(-1<_){p=new Uint8Array(f.buffer,S,_-p),v=t,S=y;var k=v._stringDecoder;y="";for(var O=0;O<d.length;O++)y+=k.decode(d[O],o);switch(y+=k.decode(p),S){case 73:!function(t,r,i){var o=t._chunks,a=o.get(r);i=JSON.parse(i,t._fromJSON);var d=function(t,r){if(t){var n=t[r[0]];if(t=n[r[2]])n=t.name;else{if(!(t=n["*"]))throw Error('Could not find the module "'+r[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');n=r[2]}return 4===r.length?[t.id,t.chunks,n,1]:[t.id,t.chunks,n]}return r}(t._bundlerConfig,i);if(i=function(t){for(var r=t[1],i=[],o=0;o<r.length;){var a=r[o++],d=r[o++],h=s.get(a);void 0===h?(c.set(a,d),d=n.e(a),i.push(d),h=s.set.bind(s,a,null),d.then(h,u),s.set(a,d)):null!==h&&i.push(h)}return 4===t.length?0===i.length?l(t[0]):Promise.all(i).then(function(){return l(t[0])}):0<i.length?Promise.all(i):null}(d)){if(a){var h=a;h.status="blocked"}else h=new w("blocked",null,null,t),o.set(r,h);i.then(function(){return x(h,d)},function(t){return A(h,t)})}else a?x(a,d):o.set(r,new w("resolved_module",d,null,t))}(v,g,y);break;case 72:if(g=y[0],v=JSON.parse(y=y.slice(1),v._fromJSON),y=h.current)switch(g){case"D":y.prefetchDNS(v);break;case"C":"string"==typeof v?y.preconnect(v):y.preconnect(v[0],v[1]);break;case"L":g=v[0],p=v[1],3===v.length?y.preload(g,p,v[2]):y.preload(g,p);break;case"m":"string"==typeof v?y.preloadModule(v):y.preloadModule(v[0],v[1]);break;case"S":"string"==typeof v?y.preinitStyle(v):y.preinitStyle(v[0],0===v[1]?void 0:v[1],3===v.length?v[2]:void 0);break;case"X":"string"==typeof v?y.preinitScript(v):y.preinitScript(v[0],v[1]);break;case"M":"string"==typeof v?y.preinitModuleScript(v):y.preinitModuleScript(v[0],v[1])}break;case 69:p=(y=JSON.parse(y)).digest,(y=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.")).stack="Error: "+y.message,y.digest=p,(S=(p=v._chunks).get(g))?A(S,y):p.set(g,new w("rejected",null,y,v));break;case 84:v._chunks.set(g,new w("fulfilled",y,null,v));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");default:(S=(p=v._chunks).get(g))?(v=S,g=y,"pending"===v.status&&(y=v.value,p=v.reason,v.status="resolved_model",v.value=g,null!==y&&(P(v),E(v,y,p)))):p.set(g,new w("resolved_model",y,null,v))}p=_,3===m&&p++,v=g=y=m=0,d.length=0}else{f=new Uint8Array(f.buffer,S,f.byteLength-p),d.push(f),v-=f.byteLength;break}}return t._rowState=m,t._rowID=g,t._rowTag=y,t._rowLength=v,a.read().then(r).catch(i)}}).catch(i)}r.createFromFetch=function(t,r){var n=N(null,null,r&&r.callServer?r.callServer:void 0,void 0,void 0);return t.then(function(t){D(n,t.body)},function(t){T(n,t)}),M(n,0)},r.createFromReadableStream=function(t,r){return D(r=N(null,null,r&&r.callServer?r.callServer:void 0,void 0,void 0),t),M(r,0)},r.createServerReference=function(t,r){var n;function i(){var n=Array.prototype.slice.call(arguments);return r(t,n)}
8return n={id:t,bound:null},b.set(i,n),i},r.encodeReply=function(t){return new Promise(function(r,n){var i,o,a,s;o=1,a=0,s=null,i=JSON.stringify(i=t,function t(i,l){if(null===l)return null;if("object"==typeof l){if("function"==typeof l.then){null===s&&(s=new FormData),a++;var u,c,d=o++;return l.then(function(n){n=JSON.stringify(n,t);var i=s;i.append(""+d,n),0==--a&&r(i)},function(t){n(t)}),"$@"+d.toString(16)}if(g(l))return l;if(l instanceof FormData){null===s&&(s=new FormData);var h=s,f=""+(i=o++)+"_";return l.forEach(function(t,r){h.append(f+r,t)}),"$K"+i.toString(16)}if(l instanceof Map)return l=JSON.stringify(Array.from(l),t),null===s&&(s=new FormData),i=o++,s.append(""+i,l),"$Q"+i.toString(16);if(l instanceof Set)return l=JSON.stringify(Array.from(l),t),null===s&&(s=new FormData),i=o++,s.append(""+i,l),"$W"+i.toString(16);if(null===(c=l)||"object"!=typeof c?null:"function"==typeof(c=m&&c[m]||c["@@iterator"])?c:null)return Array.from(l);if((i=y(l))!==v&&(null===i||null!==y(i)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return l}if("string"==typeof l)return"Z"===l[l.length-1]&&this[i]instanceof Date?"$D"+l:l="$"===l[0]?"$"+l:l;if("boolean"==typeof l)return l;if("number"==typeof l)return Number.isFinite(u=l)?0===u&&-1/0==1/u?"$-0":u:1/0===u?"$Infinity":-1/0===u?"$-Infinity":"$NaN";if(void 0===l)return"$undefined";if("function"==typeof l){if(void 0!==(l=b.get(l)))return l=JSON.stringify(l,t),null===s&&(s=new FormData),i=o++,s.set(""+i,l),"$h"+i.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof l){if(Symbol.for(i=l.description)!==l)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+l.description+") cannot be found among global symbols.");return"$S"+i}if("bigint"==typeof l)return"$n"+l.toString(10);throw Error("Type "+typeof l+" is not supported as an argument to a Server Function.")}),null===s?r(i):(s.set("0",i),0===a&&r(s))})}},16703:function(t,r,n){"use strict";t.exports=n(97950)},6671:function(t,r,n){"use strict";t.exports=n(16703)},30622:function(t,r,n){"use strict";var i=n(2265),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;function u(t,r,n){var i,a={},u=null,c=null;for(i in void 0!==n&&(u=""+n),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)s.call(r,i)&&"key"!==i&&"ref"!==i&&(a[i]=r[i]);if(t&&t.defaultProps)for(i in r=t.defaultProps)void 0===a[i]&&(a[i]=r[i]);return{$$typeof:o,type:t,key:u,ref:c,props:a,_owner:l.current}}r.Fragment=a,r.jsx=u,r.jsxs=u},17869:function(t,r){"use strict";var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function v(t,r,n){this.props=t,this.context=r,this.refs=y,this.updater=n||m}function b(){}function w(t,r,n){this.props=t,this.context=r,this.refs=y,this.updater=n||m}v.prototype.isReactComponent={},v.prototype.setState=function(t,r){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,r,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=v.prototype;var _=w.prototype=new b;_.constructor=w,g(_,v.prototype),_.isPureReactComponent=!0;var S=Array.isArray,E={current:null},A={current:null},x={transition:null},k={ReactCurrentDispatcher:E,ReactCurrentCache:A,ReactCurrentBatchConfig:x,ReactCurrentOwner:{current:null}},O=Object.prototype.hasOwnProperty,P=k.ReactCurrentOwner;function C(t,r,i){var o,a={},s=null,l=null;if(null!=r)for(o in void 0!==r.ref&&(l=r.ref),void 0!==r.key&&(s=""+r.key),r)O.call(r,o)&&"key"!==o&&"ref"!==o&&"__self"!==o&&"__source"!==o&&(a[o]=r[o]);var u=arguments.length-2;if(1===u)a.children=i;else if(1<u){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];a.children=c}if(t&&t.defaultProps)for(o in u=t.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:t,key:s,ref:l,props:a,_owner:P.current}}function T(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var M=/\/+/g;function R(t,r){var n,i;return"object"==typeof t&&null!==t&&null!=t.key?(n=""+t.key,i={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(t){return i[t]})):r.toString(36)}function I(){}function N(t,r,o){if(null==t)return t;var a=[],s=0;return!function t(r,o,a,s,l){var u,c,d,h=typeof r;("undefined"===h||"boolean"===h)&&(r=null);var m=!1;if(null===r)m=!0;else switch(h){case"string":case"number":m=!0;break;case"object":switch(r.$$typeof){case n:case i:m=!0;break;case f:return t((m=r._init)(r._payload),o,a,s,l)}}if(m)return l=l(r),m=""===s?"."+R(r,0):s,S(l)?(a="",null!=m&&(a=m.replace(M,"$&/")+"/"),t(l,o,a,"",function(t){return t}
8)):null!=l&&(T(l)&&(u=l,c=a+(!l.key||r&&r.key===l.key?"":(""+l.key).replace(M,"$&/")+"/")+m,l={$$typeof:n,type:u.type,key:c,ref:u.ref,props:u.props,_owner:u._owner}),o.push(l)),1;m=0;var g=""===s?".":s+":";if(S(r))for(var y=0;y<r.length;y++)h=g+R(s=r[y],y),m+=t(s,o,a,h,l);else if("function"==typeof(y=null===(d=r)||"object"!=typeof d?null:"function"==typeof(d=p&&d[p]||d["@@iterator"])?d:null))for(r=y.call(r),y=0;!(s=r.next()).done;)h=g+R(s=s.value,y++),m+=t(s,o,a,h,l);else if("object"===h){if("function"==typeof r.then)return t(function(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(I,I):(t.status="pending",t.then(function(r){"pending"===t.status&&(t.status="fulfilled",t.value=r)},function(r){"pending"===t.status&&(t.status="rejected",t.reason=r)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}(r),o,a,s,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(r))?"object with keys {"+Object.keys(r).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return m}(t,a,"","",function(t){return r.call(o,t,s++)}),a}function D(t){if(-1===t._status){var r=t._result;(r=r()).then(function(r){(0===t._status||-1===t._status)&&(t._status=1,t._result=r)},function(r){(0===t._status||-1===t._status)&&(t._status=2,t._result=r)}),-1===t._status&&(t._status=0,t._result=r)}if(1===t._status)return t._result.default;throw t._result}function F(){return new WeakMap}function L(){return{s:0,v:void 0,o:null,p:null}}function $(){}var j="function"==typeof reportError?reportError:function(t){console.error(t)};r.Children={map:N,forEach:function(t,r,n){N(t,function(){r.apply(this,arguments)},n)},count:function(t){var r=0;return N(t,function(){r++}),r},toArray:function(t){return N(t,function(t){return t})||[]},only:function(t){if(!T(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},r.Component=v,r.Fragment=o,r.Profiler=s,r.PureComponent=w,r.StrictMode=a,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,r.act=function(){throw Error("act(...) is not supported in production builds of React.")},r.cache=function(t){return function(){var r=A.current;if(!r)return t.apply(null,arguments);var n=r.getCacheForType(F);void 0===(r=n.get(t))&&(r=L(),n.set(t,r)),n=0;for(var i=arguments.length;n<i;n++){var o=arguments[n];if("function"==typeof o||"object"==typeof o&&null!==o){var a=r.o;null===a&&(r.o=a=new WeakMap),void 0===(r=a.get(o))&&(r=L(),a.set(o,r))}else null===(a=r.p)&&(r.p=a=new Map),void 0===(r=a.get(o))&&(r=L(),a.set(o,r))}if(1===r.s)return r.v;if(2===r.s)throw r.v;try{var s=t.apply(null,arguments);return(n=r).s=1,n.v=s}catch(t){throw(s=r).s=2,s.v=t,t}}},r.cloneElement=function(t,r,i){if(null==t)throw Error("The argument must be a React element, but you passed "+t+".");var o=g({},t.props),a=t.key,s=t.ref,l=t._owner;if(null!=r){if(void 0!==r.ref&&(s=r.ref,l=P.current),void 0!==r.key&&(a=""+r.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(c in r)O.call(r,c)&&"key"!==c&&"ref"!==c&&"__self"!==c&&"__source"!==c&&(o[c]=void 0===r[c]&&void 0!==u?u[c]:r[c])}var c=arguments.length-2;if(1===c)o.children=i;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:n,type:t.type,key:a,ref:s,props:o,_owner:l}},r.createContext=function(t){return(t={$$typeof:u,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},r.createElement=C,r.createFactory=function(t){var r=C.bind(null,t);return r.type=t,r},r.createRef=function(){return{current:null}},r.forwardRef=function(t){return{$$typeof:c,render:t}},r.isValidElement=T,r.lazy=function(t){return{$$typeof:f,_payload:{_status:-1,_result:t},_init:D}},r.memo=function(t,r){return{$$typeof:h,type:t,compare:void 0===r?null:r}},r.startTransition=function(t){var r=x.transition,n=new Set;x.transition={_callbacks:n};var i=x.transition;try{var o=t();
8"object"==typeof o&&null!==o&&"function"==typeof o.then&&(n.forEach(function(t){return t(i,o)}),o.then($,j))}catch(t){j(t)}finally{x.transition=r}},r.unstable_useCacheRefresh=function(){return E.current.useCacheRefresh()},r.use=function(t){return E.current.use(t)},r.useCallback=function(t,r){return E.current.useCallback(t,r)},r.useContext=function(t){return E.current.useContext(t)},r.useDebugValue=function(){},r.useDeferredValue=function(t,r){return E.current.useDeferredValue(t,r)},r.useEffect=function(t,r){return E.current.useEffect(t,r)},r.useId=function(){return E.current.useId()},r.useImperativeHandle=function(t,r,n){return E.current.useImperativeHandle(t,r,n)},r.useInsertionEffect=function(t,r){return E.current.useInsertionEffect(t,r)},r.useLayoutEffect=function(t,r){return E.current.useLayoutEffect(t,r)},r.useMemo=function(t,r){return E.current.useMemo(t,r)},r.useOptimistic=function(t,r){return E.current.useOptimistic(t,r)},r.useReducer=function(t,r,n){return E.current.useReducer(t,r,n)},r.useRef=function(t){return E.current.useRef(t)},r.useState=function(t){return E.current.useState(t)},r.useSyncExternalStore=function(t,r,n){return E.current.useSyncExternalStore(t,r,n)},r.useTransition=function(){return E.current.useTransition()},r.version="18.3.0-canary-178c267a4e-20241218"},2265:function(t,r,n){"use strict";t.exports=n(17869)},57437:function(t,r,n){"use strict";t.exports=n(30622)},12722:function(t){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(null,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},9973:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},63916:function(t){t.exports=function(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n},t.exports.__esModule=!0,t.exports.default=t.exports},31549:function(t,r,n){var i=n(82957).Buffer;let o=n(60668);function a(t){if(t.startsWith("int["))return"int256"+t.slice(3);if("int"===t)return"int256";if(t.startsWith("uint["))return"uint256"+t.slice(4);if("uint"===t)return"uint256";if(t.startsWith("fixed["))return"fixed128x128"+t.slice(5);if("fixed"===t)return"fixed128x128";if(t.startsWith("ufixed["))return"ufixed128x128"+t.slice(6);else if("ufixed"===t)return"ufixed128x128";return t}function s(t){return Number.parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function l(t){var r=/^\D+(\d+)x(\d+)$/.exec(t);return[Number.parseInt(r[1],10),Number.parseInt(r[2],10)]}function u(t){var r=t.match(/(.*)\[(.*?)\]$/);return r?""===r[2]?"dynamic":Number.parseInt(r[2],10):null}function c(t){var r=typeof t;if("string"===r||"number"===r)return BigInt(t);if("bigint"===r)return t;throw Error("Argument is not a number")}function d(t,r){if("address"===t)return d("uint160",c(r));if("bool"===t)return d("uint8",r?1:0);if("string"===t)return d("bytes",new i(r,"utf8"));if((p=t).lastIndexOf("]")===p.length-1){if(void 0===r.length)throw Error("Not an array?");if("dynamic"!==(n=u(t))&&0!==n&&r.length>n)throw Error("Elements exceed array size: "+n);for(f in h=[],t=t.slice(0,t.lastIndexOf("[")),"string"==typeof r&&(r=JSON.parse(r)),r)h.push(d(t,r[f]));if("dynamic"===n){var n,a,h,f,p,m=d("uint256",r.length);h.unshift(m)}return i.concat(h)}if("bytes"===t)return r=new i(r),h=i.concat([d("uint256",r.length),r]),r.length%32!=0&&(h=i.concat([h,o.zeros(32-r.length%32)])),h;if(t.startsWith("bytes")){if((n=s(t))<1||n>32)throw Error("Invalid bytes<N> width: "+n);return o.setLengthRight(r,32)}else if(t.startsWith("uint")){if((n=s(t))%8||n<8||n>256)throw Error("Invalid uint<N> width: "+n);a=c(r);let i=o.bitLengthFromBigInt(a);if(i>n)throw Error("Supplied uint exceeds width: "+n+" vs "+i);if(a<0)throw Error("Supplied uint is negative");return o.bufferBEFromBigInt(a,32)}else if(t.startsWith("int")){if((n=s(t))%8||n<8||n>256)throw Error("Invalid int<N> width: "+n);a=c(r);let i=o.bitLengthFromBigInt(a);if(i>n)throw Error("Supplied int exceeds width: "+n+" vs "+i);let l=o.twosFromBigInt(a,256);return o.bufferBEFromBigInt(l,32)}else if(t.startsWith("ufixed")){if(n=l(t),(a=c(r))<0)throw Error("Supplied ufixed is negative");return d("uint256",a*BigInt(2)**BigInt(n[1]))}else if(t.startsWith("fixed"))return n=l(t),d("int256",c(r)*BigInt(2)**BigInt(n[1]));throw Error("Unsupported or invalid type: "+t)}function h(t,r){if(t.length!==r.length)throw Error("Number of types are not matching the values");for(var n,l,u=[],d=0;d<t.length;d++){var h=a(t[d]),f=r[d];
vendor: 5,213 bytes, line 8
8if("bytes"===h)u.push(f);else if("string"===h)u.push(new i(f,"utf8"));else if("bool"===h)u.push(new i(f?"01":"00","hex"));else if("address"===h)u.push(o.setLength(f,20));else if(h.startsWith("bytes")){if((n=s(h))<1||n>32)throw Error("Invalid bytes<N> width: "+n);u.push(o.setLengthRight(f,n))}else if(h.startsWith("uint")){if((n=s(h))%8||n<8||n>256)throw Error("Invalid uint<N> width: "+n);l=c(f);let t=o.bitLengthFromBigInt(l);if(t>n)throw Error("Supplied uint exceeds width: "+n+" vs "+t);u.push(o.bufferBEFromBigInt(l,n/8))}else if(h.startsWith("int")){if((n=s(h))%8||n<8||n>256)throw Error("Invalid int<N> width: "+n);l=c(f);let t=o.bitLengthFromBigInt(l);if(t>n)throw Error("Supplied int exceeds width: "+n+" vs "+t);let r=o.twosFromBigInt(l,n);u.push(o.bufferBEFromBigInt(r,n/8))}else throw Error("Unsupported or invalid type: "+h)}return i.concat(u)}t.exports={rawEncode:function(t,r){var n=[],o=[],s=32*t.length;for(var l in t){var c=a(t[l]),h=d(c,r[l]);"string"===c||"bytes"===c||"dynamic"===u(c)?(n.push(d("uint256",s)),o.push(h),s+=h.length):n.push(h)}return i.concat(n.concat(o))},solidityPack:h,soliditySHA3:function(t,r){return o.keccak(h(t,r))}}},11057:function(t,r,n){var i=n(82957).Buffer;let o=n(60668),a=n(31549),s={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},l={encodeData(t,r,n,s=!0){let l=["bytes32"],u=[this.hashType(t,n)];if(s){let c=(t,r,l)=>{if(void 0!==n[r])return["bytes32",null==l?"0x0000000000000000000000000000000000000000000000000000000000000000":o.keccak(this.encodeData(r,l,n,s))];if(void 0===l)throw Error(`missing value for field ${t} of type ${r}`);if("bytes"===r)return["bytes32",o.keccak(l)];if("string"===r)return"string"==typeof l&&(l=i.from(l,"utf8")),["bytes32",o.keccak(l)];if(r.lastIndexOf("]")===r.length-1){let n=r.slice(0,r.lastIndexOf("[")),i=l.map(r=>c(t,n,r));return["bytes32",o.keccak(a.rawEncode(i.map(([t])=>t),i.map(([,t])=>t)))]}return[r,l]};for(let i of n[t]){let[t,n]=c(i.name,i.type,r[i.name]);l.push(t),u.push(n)}}else for(let a of n[t]){let t=r[a.name];if(void 0!==t){if("bytes"===a.type)l.push("bytes32"),t=o.keccak(t),u.push(t);else if("string"===a.type)l.push("bytes32"),"string"==typeof t&&(t=i.from(t,"utf8")),t=o.keccak(t),u.push(t);else if(void 0!==n[a.type])l.push("bytes32"),t=o.keccak(this.encodeData(a.type,t,n,s)),u.push(t);else if(a.type.lastIndexOf("]")===a.type.length-1)throw Error("Arrays currently unimplemented in encodeData");else l.push(a.type),u.push(t)}}return a.rawEncode(l,u)},encodeType(t,r){let n="",i=this.findTypeDependencies(t,r).filter(r=>r!==t);for(let o of i=[t].concat(i.sort())){if(!r[o])throw Error("No type definition specified: "+o);n+=o+"("+r[o].map(({name:t,type:r})=>r+" "+t).join(",")+")"}return n},findTypeDependencies(t,r,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||void 0===r[t])return n;for(let i of(n.push(t),r[t]))for(let t of this.findTypeDependencies(i.type,r,n))n.includes(t)||n.push(t);return n},hashStruct(t,r,n,i=!0){return o.keccak(this.encodeData(t,r,n,i))},hashType(t,r){return o.keccak(this.encodeType(t,r))},sanitizeData(t){let r={};for(let n in s.properties)t[n]&&(r[n]=t[n]);return r.types&&(r.types=Object.assign({EIP712Domain:[]},r.types)),r},hash(t,r=!0){let n=this.sanitizeData(t),a=[i.from("1901","hex")];return a.push(this.hashStruct("EIP712Domain",n.domain,n.types,r)),"EIP712Domain"!==n.primaryType&&a.push(this.hashStruct(n.primaryType,n.message,n.types,r)),o.keccak(i.concat(a))}};t.exports={TYPED_MESSAGE_SCHEMA:s,TypedDataUtils:l,hashForSignTypedDataLegacy:function(t){return function(t){let r=Error("Expect argument to be non-empty array");if("object"!=typeof t||!t.length)throw r;let n=t.map(function(t){return"bytes"===t.type?o.toBuffer(t.value):t.value}),i=t.map(function(t){return t.type}),s=t.map(function(t){if(!t.name)throw r;return t.type+" "+t.name});return a.soliditySHA3(["bytes32","bytes32"],[a.soliditySHA3(Array(t.length).fill("string"),s),a.soliditySHA3(i,n)])}(t.data)},hashForSignTypedData_v3:function(t){return l.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return l.hash(t.data)}}},60668:function(t,r,n){var i=n(82957).Buffer;let{keccak_256:o}=n(32517);function a(t){return i.allocUnsafe(t).fill(0)}function s(t,r){let n=t.toString(16);n.length%2!=0&&(n="0"+n);let o=n.match(/.{1,2}/g).map(t=>parseInt(t,16));for(;o.length<r;)o.unshift(0);return i.from(o)}function l(t,r,n){let i=a(r);return(t=u(t),n)?t.length<r?(t.copy(i),i):t.slice(0,r):t.length<r?(t.copy(i,r-t.length),i):t.slice(-r)}function u(t){if(!i.isBuffer(t)){if(Array.isArray(t))t=i.from(t);else if("string"==typeof t){var r;t=c(t)?i.from((r=d(t)).length%2?"0"+r:r,"hex"):i.from(t)}else if("number"==typeof t)t=intToBuffer(t);else if(null==t)t=i.allocUnsafe(0);else if("bigint"==typeof t)t=s(t);else if(t.toArray)t=i.from(t.toArray());else throw Error("invalid type")}return t}function c(t){return"string"==typeof t&&t.match(/^0x[0-9A-Fa-f]*$/)}function d(t){return"string"==typeof t&&t.startsWith("0x")?t.slice(2):t}
8t.exports={zeros:a,setLength:l,setLengthRight:function(t,r){return l(t,r,!0)},isHexString:c,stripHexPrefix:d,toBuffer:u,bufferToHex:function(t){return"0x"+(t=u(t)).toString("hex")},keccak:function(t,r){if(t=u(t),r||(r=256),256!==r)throw Error("unsupported");return i.from(o(new Uint8Array(t)))},bitLengthFromBigInt:function(t){return t.toString(2).length},bufferBEFromBigInt:s,twosFromBigInt:function(t,r){return(t<0n?(~t&(1n<<BigInt(r))-1n)+1n:t)&(1n<<BigInt(r))-1n}}},92401:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(r,t,n);return o(r,t),r},s=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})},l=this&&this.__rest||function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n};Object.defineProperty(r,"__esModule",{value:!0}),r.CoinbaseWallet=void 0;let u=n(96828);function c(t){return"number"==typeof t?t:Number.parseInt(t,t.startsWith("0x")?16:10)}class d extends u.Connector{constructor({actions:t,options:r,onError:n}){super(t,n),this.options=r}get connected(){var t;return!!(null===(t=this.provider)||void 0===t?void 0:t.selectedAddress)}isomorphicInitialize(){return s(this,void 0,void 0,function*(){this.eagerConnection||(yield this.eagerConnection=Promise.resolve().then(()=>a(n(85238))).then(t=>{let r=this.options,{url:n}=r,i=l(r,["url"]);this.coinbaseWallet=new t.default(i),this.provider=this.coinbaseWallet.makeWeb3Provider(n),this.provider.on("connect",({chainId:t})=>{this.actions.update({chainId:c(t)})}),this.provider.on("disconnect",t=>{var r;this.actions.resetState(),null===(r=this.onError)||void 0===r||r.call(this,t)}),this.provider.on("chainChanged",t=>{this.actions.update({chainId:c(t)})}),this.provider.on("accountsChanged",t=>{0===t.length?this.actions.resetState():this.actions.update({accounts:t})})}))})}connectEagerly(){return s(this,void 0,void 0,function*(){let t=this.actions.startActivation();try{if(yield this.isomorphicInitialize(),!this.provider||!this.connected)throw Error("No existing connection");let t=yield this.provider.request({method:"eth_accounts"});if(!t.length)throw Error("No accounts returned");let r=yield this.provider.request({method:"eth_chainId"});this.actions.update({chainId:c(r),accounts:t})}catch(r){throw t(),r}})}activate(t){var r;return s(this,void 0,void 0,function*(){let n="number"==typeof t?t:null==t?void 0:t.chainId;if(this.provider&&this.connected){if(!n||n===c(this.provider.chainId))return;let r=`0x${n.toString(16)}`;return this.provider.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]}).catch(n=>s(this,void 0,void 0,function*(){if(4902===n.code&&"number"!=typeof t){if(!this.provider)throw Error("No provider");return this.provider.request({method:"wallet_addEthereumChain",params:[Object.assign(Object.assign({},t),{chainId:r})]})}throw n}))}let i=this.actions.startActivation();try{if(yield this.isomorphicInitialize(),!this.provider)throw Error("No provider");let i=yield this.provider.request({method:"eth_requestAccounts"}),o=yield this.provider.request({method:"eth_chainId"}),a=c(o);if(!n||n===a)return this.actions.update({chainId:a,accounts:i});let l=`0x${n.toString(16)}`;return null===(r=this.provider)||void 0===r?void 0:r.request({method:"wallet_switchEthereumChain",params:[{chainId:l}]}).catch(r=>s(this,void 0,void 0,function*(){if(4902===r.code&&"number"!=typeof t){if(!this.provider)throw Error("No provider");return this.provider.request({method:"wallet_addEthereumChain",params:[Object.assign(Object.assign({},t),{chainId:l})]})}throw r}))}catch(t){throw i(),t}})}deactivate(){var t;null===(t=this.coinbaseWallet)||void 0===t||t.disconnect()}watchAsset({address:t,symbol:r,decimals:n,image:i}){return s(this,void 0,void 0,function*(){if(!this.provider)throw Error("No provider");return this.provider.request({method:"wallet_watchAsset",params:{type:"ERC20",options:{address:t,symbol:r,decimals:n,image:i}}}).then(t=>{if(!t)throw Error("Rejected");return!0})})}}r.CoinbaseWallet=d},40967:function(t,r,n){"use strict";let i;var o=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);
8(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(r,t,n);return a(r,t),r},l=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.getPriorityConnector=r.getSelectedConnector=r.initializeConnector=void 0;let u=n(15614),c=n(2265),d=n(89148),h=n(46229);function f(...t){function r(r){let n=t.findIndex(([t])=>r===t);if(-1===n)throw Error("Connector not found");return n}return{useSelectedStore:function(n){let i=t[r(n)][2];if(!i)throw Error("Stores not passed");return i},useSelectedChainId:function(n){return t.map(([,{useChainId:t}])=>t())[r(n)]},useSelectedAccounts:function(n){return t.map(([,{useAccounts:t}])=>t())[r(n)]},useSelectedIsActivating:function(n){return t.map(([,{useIsActivating:t}])=>t())[r(n)]},useSelectedAccount:function(n){return t.map(([,{useAccount:t}])=>t())[r(n)]},useSelectedIsActive:function(n){return t.map(([,{useIsActive:t}])=>t())[r(n)]},useSelectedProvider:function(n,i){let o=r(n);return t.map(([,{useProvider:t}],r)=>t(i,r===o))[o]},useSelectedENSNames:function(n,i){let o=r(n);return t.map(([,{useENSNames:t}],r)=>t(r===o?i:void 0))[o]},useSelectedENSName:function(n,i){let o=r(n);return t.map(([,{useENSName:t}],r)=>t(r===o?i:void 0))[o]}}}r.initializeConnector=function(t){let[r,o]=(0,u.createWeb3ReactStoreAndActions)(),a=t(o),f={useChainId:function(){return(0,d.useStore)(r,p)},useAccounts:function(){return(0,h.useStoreWithEqualityFn)(r,m,y)},useIsActivating:function(){return(0,d.useStore)(r,g)}},b=function({useChainId:t,useAccounts:r,useIsActivating:n}){return{useAccount:function(){var t;return null===(t=r())||void 0===t?void 0:t[0]},useIsActive:function(){return function({chainId:t,accounts:r,activating:n}){return!!(t&&r&&!n)}({chainId:t(),accounts:r(),activating:n()})}}}(f),w=function(t,{useAccounts:r,useChainId:o},{useAccount:a,useIsActive:u}){return{useProvider:function(r,a=!0){let d=u(),h=o(),[f,p]=(0,c.useState)(void 0!==i);return(0,c.useEffect)(()=>{if(f)return;let t=!1;return(function(){return l(this,void 0,void 0,function*(){if(void 0===i)try{let{Web3Provider:t}=yield Promise.resolve().then(()=>s(n(93853)));i=t}catch(t){console.debug("@ethersproject/providers not available"),i=null}})})().then(()=>{t||p(!0)}),()=>{t=!0}},[f]),(0,c.useMemo)(()=>{if(a){if(t.customProvider)return t.customProvider;if(i&&t.provider)return new i(t.provider,r)}},[f,a,d,h,r])},useENSNames:function(t){return v(t,r())},useENSName:function(t){var r;let n=a();return null===(r=v(t,(0,c.useMemo)(()=>void 0===n?void 0:[n],[n])))||void 0===r?void 0:r[0]}}}(a,f,b);return[a,Object.assign(Object.assign(Object.assign({},f),b),w),r]},r.getSelectedConnector=f,r.getPriorityConnector=function(...t){let{useSelectedStore:r,useSelectedChainId:n,useSelectedAccounts:i,useSelectedIsActivating:o,useSelectedAccount:a,useSelectedIsActive:s,useSelectedProvider:l,useSelectedENSNames:u,useSelectedENSName:c}=f(...t);function d(){let r=t.map(([,{useIsActive:t}])=>t()).findIndex(t=>t);return t[-1===r?0:r][0]}return{useSelectedStore:r,useSelectedChainId:n,useSelectedAccounts:i,useSelectedIsActivating:o,useSelectedAccount:a,useSelectedIsActive:s,useSelectedProvider:l,useSelectedENSNames:u,useSelectedENSName:c,usePriorityConnector:d,usePriorityStore:function(){return r(d())},usePriorityChainId:function(){return n(d())},usePriorityAccounts:function(){return i(d())},usePriorityIsActivating:function(){return o(d())}
8,usePriorityAccount:function(){return a(d())},usePriorityIsActive:function(){return s(d())},usePriorityProvider:function(t){return l(d(),t)},usePriorityENSNames:function(t){return u(d(),t)},usePriorityENSName:function(t){return c(d(),t)}}};let p=({chainId:t})=>t,m=({accounts:t})=>t,g=({activating:t})=>t,y=(t,r)=>void 0===t&&void 0===r||void 0!==t&&t.length===(null==r?void 0:r.length)&&t.every((t,n)=>t===r[n]);function v(t,r=[]){let[n,i]=(0,c.useState)();return(0,c.useEffect)(()=>{if(t&&r.length){let n=!1;return Promise.all(r.map(r=>t.lookupAddress(r))).then(t=>{n||i(t)}).catch(t=>{n||(console.debug("Could not fetch ENS names",t),i(Array(r.length).fill(null)))}),()=>{n=!0,i(void 0)}}},[t,r]),null!=n?n:Array(r.length).fill(void 0)}},49218:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||i(r,t,n)};Object.defineProperty(r,"__esModule",{value:!0}),o(n(40967),r),o(n(10225),r),o(n(30019),r)},10225:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MockEIP1193Provider=void 0;let i=n(77625);class o extends i.EventEmitter{constructor(){super(...arguments),this.eth_chainId=jest.fn(t=>t),this.eth_accounts=jest.fn(t=>t),this.eth_requestAccounts=jest.fn(t=>t)}request(t){if(!this.chainId)return Promise.reject(Error());switch(t.method){case"eth_chainId":return Promise.resolve(this.eth_chainId(this.chainId));case"eth_accounts":return Promise.resolve(this.eth_accounts(this.accounts));case"eth_requestAccounts":return Promise.resolve(this.eth_requestAccounts(this.accounts));default:throw Error(`Method not supported on mock: ${JSON.stringify(t)}`)}}emitConnect(t){this.emit("connect",{chainId:t})}emitDisconnect(t){this.emit("disconnect",t)}emitChainChanged(t){this.emit("chainChanged",t)}emitAccountsChanged(t){this.emit("accountsChanged",t)}}r.MockEIP1193Provider=o},30019:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(r,t,n);return o(r,t),r};Object.defineProperty(r,"__esModule",{value:!0}),r.useWeb3React=r.Web3ReactProvider=void 0;let s=a(n(2265)),l=n(40967),u=(0,s.createContext)(void 0);r.Web3ReactProvider=function({children:t,connectors:r,connectorOverride:n,network:i,lookupENS:o=!0}){let a=(0,s.useRef)(r);if(r.length!=a.current.length||r.some((t,r)=>{let n=a.current[r];return t[0]!==n[0]}))throw Error("The connectors prop passed to Web3ReactProvider must be referentially static. If connectors is changing, try providing a key prop to Web3ReactProvider that changes every time connectors changes.");let c=(0,l.getPriorityConnector)(...r),{usePriorityConnector:d,useSelectedChainId:h,useSelectedAccounts:f,useSelectedIsActivating:p,useSelectedAccount:m,useSelectedIsActive:g,useSelectedProvider:y,useSelectedENSNames:v,useSelectedENSName:b}=c,w=d(),_=null!=n?n:w,S=h(_),E=f(_),A=p(_),x=m(_),k=g(_),O=y(_,i),P=v(_,o?O:void 0),C=b(_,o?O:void 0);return s.default.createElement(u.Provider,{value:{connector:_,chainId:S,accounts:E,isActivating:A,account:x,isActive:k,provider:O,ENSNames:P,ENSName:C,hooks:c}},t)},r.useWeb3React=function(){let t=(0,s.useContext)(u);if(!t)throw Error("useWeb3React can only be used within the Web3ReactProvider component");return t}},15614:function(t,r,n){"use strict";
8Object.defineProperty(r,"__esModule",{value:!0}),r.createWeb3ReactStoreAndActions=r.MAX_SAFE_CHAIN_ID=void 0;let i=n(42246),o=n(89148);r.MAX_SAFE_CHAIN_ID=0xfffffffffffec;let a={chainId:void 0,accounts:void 0,activating:!1};r.createWeb3ReactStoreAndActions=function(){let t=(0,o.createStore)()(()=>a),n=0;return[t,{startActivation:function(){let r=++n;return t.setState(Object.assign(Object.assign({},a),{activating:!0})),()=>{n===r&&t.setState({activating:!1})}},update:function(o){if(void 0!==o.chainId&&function(t){if(!Number.isInteger(t)||t<=0||t>r.MAX_SAFE_CHAIN_ID)throw Error(`Invalid chainId ${t}`)}(o.chainId),void 0!==o.accounts)for(let t=0;t<o.accounts.length;t++){var a;o.accounts[t]=(a=o.accounts[t],(0,i.getAddress)(a))}n++,t.setState(t=>{var r,n;let i=null!==(r=o.chainId)&&void 0!==r?r:t.chainId,a=null!==(n=o.accounts)&&void 0!==n?n:t.accounts,s=t.activating;return s&&i&&a&&(s=!1),{chainId:i,accounts:a,activating:s}})},resetState:function(){n++,t.setState(a)}}]}},96828:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Connector=void 0;class n{constructor(t,r){this.actions=t,this.onError=r}resetState(){this.actions.resetState()}}r.Connector=n},47279:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(r,t,n);return o(r,t),r},s=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})},l=this&&this.__rest||function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.WalletConnect=r.URI_AVAILABLE=void 0;let c=n(96828),d=u(n(60134)),h=n(44899);r.URI_AVAILABLE="URI_AVAILABLE";class f extends c.Connector{constructor({actions:t,defaultChainId:n,options:i,timeout:o=5e3,onError:a}){super(t,a),this.events=new d.default,this.disconnectListener=t=>{var r;this.actions.resetState(),t&&(null===(r=this.onError)||void 0===r||r.call(this,t))},this.chainChangedListener=t=>{this.actions.update({chainId:Number.parseInt(t,16)})},this.accountsChangedListener=t=>{this.actions.update({accounts:t})},this.URIListener=t=>{this.events.emit(r.URI_AVAILABLE,t)};let{rpcMap:s,rpc:u}=i,c=l(i,["rpcMap","rpc"]);this.options=c,this.defaultChainId=n,this.rpcMap=s||u,this.timeout=o;let{chains:h,optionalChains:f}=this.getChainProps(c.chains,c.optionalChains,n);this.chains=h,this.optionalChains=f}initializeProvider(t=this.defaultChainId){return s(this,void 0,void 0,function*(){let r=this.rpcMap?(0,h.getBestUrlMap)(this.rpcMap,this.timeout):void 0,i=this.getChainProps(this.chains,this.optionalChains,t),o=yield Promise.resolve().then(()=>a(n(17619)));return this.provider=yield o.default.init(Object.assign(Object.assign(Object.assign({},this.options),i),{rpcMap:yield r})),this.provider.on("disconnect",this.disconnectListener).on("chainChanged",this.chainChangedListener).on("accountsChanged",this.accountsChangedListener).on("display_uri",this.URIListener)})}getChainProps(t,r,n=this.defaultChainId){let i=(0,h.getChainsWithDefault)(t,n),o=(0,h.getChainsWithDefault)(r,n);if((0,h.isArrayOneOrMore)(i)||(0,h.isArrayOneOrMore)(o))return{chains:i,optionalChains:o};throw Error("Either chains or optionalChains must have at least one item.")}isomorphicInitialize(t=this.defaultChainId){return this.eagerConnection?this.eagerConnection:this.eagerConnection=this.initializeProvider(t)}connectEagerly(){return s(this,void 0,void 0,function*(){let t=this.actions.startActivation();try{let t=yield this.isomorphicInitialize();if(!t.session)throw Error("No active session found. Connect your wallet first.");this.actions.update({accounts:t.accounts,chainId:t.chainId})}catch(r){throw yield this.deactivate(),t(),r}})}activate(t){var r;return s(this,void 0,void 0,function*(){let n=yield this.isomorphicInitialize(t);if(n.session){if(!t||t===n.chainId)return;if(!n.session.namespaces.eip155.accounts.some(r=>r.startsWith(`eip155:${t}:`))){if(null===(r=this.options.optionalChains)||void 0===r?void 0:r.includes(t))throw Error(`Cannot activate an optional chain (${t}), as the wallet is not connected to it. 9 You should handle this error in application code, as there is no guarantee that a wallet is connected to a chain configured in "optionalChains".`);throw Error(`Unknown chain (${t}). Make sure to include any chains you might connect to in the "chains" or "optionalChains" parameters when initializing WalletConnect.`)}return n.request({method:"wallet_switchEthereumChain",params:[{chainId:`0
9x${t.toString(16)}`}]})}let i=this.actions.startActivation();try{yield n.enable(),this.actions.update({chainId:n.chainId,accounts:n.accounts})}catch(t){throw yield this.deactivate(),i(),t}})}deactivate(){var t;return s(this,void 0,void 0,function*(){null===(t=this.provider)||void 0===t||t.removeListener("disconnect",this.disconnectListener).removeListener("chainChanged",this.chainChangedListener).removeListener("accountsChanged",this.accountsChangedListener).removeListener("display_uri",this.URIListener).disconnect(),this.provider=void 0,this.eagerConnection=void 0,this.actions.resetState()})}}r.WalletConnect=f},44899:function(t,r,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,r,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(r,n);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[n]}}),Object.defineProperty(t,i,o)}:function(t,r,n,i){void 0===i&&(i=n),t[i]=r[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}:function(t,r){t.default=r}),a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&i(r,t,n);return o(r,t),r},s=this&&this.__awaiter||function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};Object.defineProperty(r,"__esModule",{value:!0}),r.getChainsWithDefault=r.getBestUrlMap=r.isArrayOneOrMore=void 0,r.isArrayOneOrMore=function(t=[]){return t.length>0},r.getBestUrlMap=function(t,r){return s(this,void 0,void 0,function*(){return Object.fromEntries((yield Promise.all(Object.entries(t).map(([t,i])=>s(this,void 0,void 0,function*(){return[t,(yield function(t,r){return s(this,void 0,void 0,function*(){if("string"==typeof t)return t;if(1===t.length)return t[0];let[i,o]=yield Promise.all([Promise.resolve().then(()=>a(n(5071))).then(({HttpConnection:t})=>t),Promise.resolve().then(()=>a(n(38979))).then(({JsonRpcProvider:t})=>t)]);return new Promise(n=>{let a=!1,s={};t.forEach((l,u)=>{let c=new o(new i(l));new Promise((t,n)=>{c.request({method:"eth_chainId"}).then(()=>t()).catch(()=>n()),setTimeout(()=>{n()},r)}).then(()=>!0).catch(()=>!1).then(r=>{if(!a){if(s[u]=r,Object.keys(s).length===t.length){let r=Object.keys(s).findIndex(t=>s[Number(t)]);return n(t[-1===r?0:r])}Array(t.length).fill(0).forEach((r,i)=>{s[i]&&Array(i).fill(0).every((t,r)=>!1===s[r])&&(a=!0,n(t[i]))})}})})})})}(i,r))]})))))})},r.getChainsWithDefault=function(t,r){if(!t||!r||0===t.length)return t;let n=t.indexOf(r);if(-1===n)throw Error(`Invalid chainId ${r}. Make sure default chain is included in "chains" - chains specified in "optionalChains" may not be selected as the default, as they may not be supported by the wallet.`);let i=[...t];return i.splice(n,1),[r,...i]}},36760:function(t,r){var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var t="",r=0;r<arguments.length;r++){var n=arguments[r];n&&(t=a(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var n in t)i.call(t,n)&&t[n]&&(r=a(r,n));return r}(n)))}return t}function a(t,r){return r?t?t+" "+r:t+r:t}t.exports?(o.default=o,t.exports=o):void 0!==(n=(function(){return o}).apply(r,[]))&&(t.exports=n)}()},66832:function(t,r,n){let i=n(44347).default;t.exports=i,t.exports.default=i},22636:function(t,r,n){let i=n(40194).default;t.exports=i,t.exports.default=i},81999:function(t,r,n){let i=n(80550).default;t.exports=i,t.exports.default=i},76529:function(t,r,n){let i=n(34127).default;t.exports=i,t.exports.default=i},54616:function(t,r,n){let i=n(66713).default;t.exports=i,t.exports.default=i},32997:function(t,r,n){let i=n(23229).default;
9t.exports=i,t.exports.default=i},26638:function(t,r,n){let i=n(40225).default;t.exports=i,t.exports.default=i},65681:function(t,r,n){let i=n(3601).default;t.exports=i,t.exports.default=i},44333:function(t,r,n){let i=n(48883).default;t.exports=i,t.exports.default=i},67007:function(t,r,n){let i=n(81514).default;t.exports=i,t.exports.default=i},60374:function(t,r,n){let i=n(83820).default;t.exports=i,t.exports.default=i},29208:function(t,r,n){let i=n(89266).default;t.exports=i,t.exports.default=i},24811:function(t,r,n){t.exports={crc1:n(66832),crc8:n(67007),crc81wire:n(60374),crc16:n(22636),crc16ccitt:n(81999),crc16modbus:n(54616),crc16xmodem:n(32997),crc16kermit:n(76529),crc24:n(26638),crc32:n(65681),crc32mpeg:n(44333),crcjam:n(29208)},t.exports.default=t.exports},43836:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=(t,r=0)=>{let n=~~r,i=0;for(let r=0;r<t.length;r++)i+=t[r];return(n+=i%256)%256}},84604:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r=0)=>{let i=~~r;for(let r=0;r<t.length;r++)i=(n[(i^t[r])&255]^i>>8)&65535;return i}},76502:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=void 0!==r?~~r:65535;for(let r=0;r<t.length;r++)i=(n[(i>>8^t[r])&255]^i<<8)&65535;return i}},55127:function(t,r){"use strict";
9Object.defineProperty(r,"__esModule",{value:!0});let n=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=void 0!==r?~~r:0;for(let r=0;r<t.length;r++)i=(n[(i^t[r])&255]^i>>8)&65535;return i}},50301:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=void 0!==r?~~r:65535;for(let r=0;r<t.length;r++)i=(n[(i^t[r])&255]^i>>8)&65535;return i}},21412:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=(t,r)=>{let n=void 0!==r?~~r:0;for(let r=0;r<t.length;r++){let i=n>>>8&255;i^=255&t[r],i^=i>>>4,n=n<<8&65535^i^(i=i<<5&65535)^(i=i<<7&65535)}return n}},27604:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,119161
958,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=void 0!==r?~~r:11994318;for(let r=0;r<t.length;r++)i=(n[(i>>16^t[r])&255]^i<<8)&16777215;return i}},92813:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=0===r?0:-1^~~r;for(let r=0;r<t.length;r++)i=n[(i^t[r])&255]^i>>>8;return -1^i}},20325:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,13138625
97,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r)=>{let i=void 0!==r?~~r:4294967295;for(let r=0;r<t.length;r++)i=n[(i>>24^t[r])&255]^i<<8;return i}},34613:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,7,14,9,28,27,18,21,56,63,54,49,36,35,42,45,112,119,126,12
91,108,107,98,101,72,79,70,65,84,83,90,93,224,231,238,233,252,251,242,245,216,223,214,209,196,195,202,205,144,151,158,153,140,139,130,133,168,175,166,161,180,179,186,189,199,192,201,206,219,220,213,210,255,248,241,246,227,228,237,234,183,176,185,190,171,172,165,162,143,136,129,134,147,148,157,154,39,32,41,46,59,60,53,50,31,24,17,22,3,4,13,10,87,80,89,94,75,76,69,66,111,104,97,102,115,116,125,122,137,142,135,128,149,146,155,156,177,182,191,184,173,170,163,164,249,254,247,240,229,226,235,236,193,198,207,200,221,218,211,212,105,110,103,96,117,114,123,124,81,86,95,88,77,74,67,68,25,30,23,16,5,2,11,12,33,38,47,40,61,58,51,52,78,73,64,71,82,85,92,91,118,113,120,127,106,109,100,99,62,57,48,55,34,37,44,43,6,1,8,15,26,29,20,19,174,169,160,167,178,181,188,187,150,145,152,159,138,141,132,131,222,217,208,215,194,197,204,203,230,225,232,239,250,253,244,243];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r=0)=>{let i=~~r;for(let r=0;r<t.length;r++)i=255&n[(i^t[r])&255];return i}},82243:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,94,188,226,97,63,221,131,194,156,126,32,163,253,31,65,157,195,33,127,252,162,64,30,95,1,227,189,62,96,130,220,35,125,159,193,66,28,254,160,225,191,93,3,128,222,60,98,190,224,2,92,223,129,99,61,124,34,192,158,29,67,161,255,70,24,250,164,39,121,155,197,132,218,56,102,229,187,89,7,219,133,103,57,186,228,6,88,25,71,165,251,120,38,196,154,101,59,217,135,4,90,184,230,167,249,27,69,198,152,122,36,248,166,68,26,153,199,37,123,58,100,134,216,91,5,231,185,140,210,48,110,237,179,81,15,78,16,242,172,47,113,147,205,17,79,173,243,112,46,204,146,211,141,111,49,178,236,14,80,175,241,19,77,206,144,114,44,109,51,209,143,12,82,176,238,50,108,142,208,83,13,239,177,240,174,76,18,145,207,45,115,202,148,118,40,171,245,23,73,8,86,180,234,105,55,213,139,87,9,235,181,54,104,138,212,149,203,41,119,244,170,72,22,233,183,85,11,136,214,52,106,43,117,151,201,74,20,246,168,116,42,200,150,21,75,169,247,182,232,10,84,215,137,107,53];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r=0)=>{let i=~~r;for(let r=0;r<t.length;r++)i=255&n[(i^t[r])&255];return i}},38403:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(n=new Int32Array(n)),r.default=(t,r=-1)=>{let i=0===r?0:~~r;for(let r=0;r<t.length;r++)i=n[(i^t[r])&255]^i>>>8;return i}},44347:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};
9Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(43836)),a=i(n(21001));r.default=(0,a.default)("crc1",o.default)},40194:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(84604)),a=i(n(21001));r.default=(0,a.default)("crc-16",o.default)},80550:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(76502)),a=i(n(21001));r.default=(0,a.default)("ccitt",o.default)},34127:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(55127)),a=i(n(21001));r.default=(0,a.default)("kermit",o.default)},66713:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(50301)),a=i(n(21001));r.default=(0,a.default)("crc-16-modbus",o.default)},23229:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(21412)),a=i(n(21001));r.default=(0,a.default)("xmodem",o.default)},40225:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(27604)),a=i(n(21001));r.default=(0,a.default)("crc-24",o.default)},3601:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(92813)),a=i(n(21001));r.default=(0,a.default)("crc-32",o.default)},48883:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(20325)),a=i(n(21001));r.default=(0,a.default)("crc-32-mpeg",o.default)},81514:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(34613)),a=i(n(21001));r.default=(0,a.default)("crc-8",o.default)},83820:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(82243)),a=i(n(21001));r.default=(0,a.default)("dallas-1-wire",o.default)},89266:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(38403)),a=i(n(21001));r.default=(0,a.default)("jam",o.default)},63350:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});let i=n(82957);r.default=(t,r)=>i.Buffer.from(t,r)},21001:function(t,r,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0});let o=i(n(63350));r.default=function(t,r){let n=(t,n)=>r((0,o.default)(t),n)>>>0;return n.signed=(t,n)=>r((0,o.default)(t),n),n.unsigned=n,n.model=t,n}},97435:function(t,r,n){"use strict";let i=n(95172);t.exports=a;let o=function(){function t(t){return void 0!==t&&t}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(r){return t(self)||t(window)||t(this)||{}}}().console||{};function a(t){var r,n;(t=t||{}).browser=t.browser||{};let i=t.browser.transmit;if(i&&"function"!=typeof i.send)throw Error("pino: transmit option must have a send function");let d=t.browser.write||o;t.browser.write&&(t.browser.asObject=!0);let h=t.serializers||{},g=Array.isArray(r=t.browser.serialize)?r.filter(function(t){return"!stdSerializers.err"!==t}):!0===r&&Object.keys(h),y=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(y=!1),"function"==typeof d&&(d.error=d.fatal=d.warn=d.info=d.debug=d.trace=d),!1===t.enabled&&(t.level="silent");let v=t.level||"info",b=Object.create(d);b.log||(b.log=f),Object.defineProperty(b,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(b,"level",{get:function(){return this._level},set:function(t){if("silent"!==t&&!this.levels.values[t])throw Error("unknown level "+t);this._level=t,s(w,b,"error","log"),s(w,b,"fatal","error"),s(w,b,"warn","error"),s(w,b,"info","log"),s(w,b,"debug","log"),s(w,b,"trace","log")}});let w={transmit:i,serialize:g,asObject:t.browser.asObject,levels:["error","fatal","warn","info","debug","trace"],timestamp:"function"==typeof(n=t).timestamp?n.timestamp:!1===n.timestamp?p:m};return b.levels=a.levels,b.level=v,b.setMaxListeners=b.getMaxListeners=b.emit=b.addListener=b.on=b.prependListener=b.once=b.prepe
9ndOnceListener=b.removeListener=b.removeAllListeners=b.listeners=b.listenerCount=b.eventNames=b.write=b.flush=f,b.serializers=h,b._serialize=g,b._stdErrSerialize=y,b.child=function(r,n){if(!r)throw Error("missing bindings for child Pino");n=n||{},g&&r.serializers&&(n.serializers=r.serializers);let o=n.serializers;if(g&&o){var a=Object.assign({},h,o),s=!0===t.browser.serialize?Object.keys(a):g;delete r.serializers,l([r],s,a,this._stdErrSerialize)}function d(t){this._childLevel=(0|t._childLevel)+1,this.error=u(t,r,"error"),this.fatal=u(t,r,"fatal"),this.warn=u(t,r,"warn"),this.info=u(t,r,"info"),this.debug=u(t,r,"debug"),this.trace=u(t,r,"trace"),a&&(this.serializers=a,this._serialize=s),i&&(this._logEvent=c([].concat(t._logEvent.bindings,r)))}return d.prototype=this,new d(this)},i&&(b._logEvent=c()),b}function s(t,r,n,s){let u=Object.getPrototypeOf(r);r[n]=r.levelVal>r.levels.values[n]?f:u[n]?u[n]:o[n]||o[s]||f,function(t,r,n){if(t.transmit||r[n]!==f){var s;r[n]=(s=r[n],function(){let u=t.timestamp(),d=Array(arguments.length),h=Object.getPrototypeOf&&Object.getPrototypeOf(this)===o?o:this;for(var f=0;f<d.length;f++)d[f]=arguments[f];if(t.serialize&&!t.asObject&&l(d,this._serialize,this.serializers,this._stdErrSerialize),t.asObject?s.call(h,function(t,r,n,o){t._serialize&&l(n,t._serialize,t.serializers,t._stdErrSerialize);let s=n.slice(),u=s[0],c={};o&&(c.time=o),c.level=a.levels.values[r];let d=(0|t._childLevel)+1;if(d<1&&(d=1),null!==u&&"object"==typeof u){for(;d--&&"object"==typeof s[0];)Object.assign(c,s.shift());u=s.length?i(s.shift(),s):void 0}else"string"==typeof u&&(u=i(s.shift(),s));return void 0!==u&&(c.msg=u),c}(this,n,d,u)):s.apply(h,d),t.transmit){let i=t.transmit.level||r.level,o=a.levels.values[i],s=a.levels.values[n];if(s<o)return;(function(t,r,n){let i=r.send,o=r.ts,a=r.methodLevel,s=r.methodValue,u=r.val,d=t._logEvent.bindings;l(n,t._serialize||Object.keys(t.serializers),t.serializers,void 0===t._stdErrSerialize||t._stdErrSerialize),t._logEvent.ts=o,t._logEvent.messages=n.filter(function(t){return -1===d.indexOf(t)}),t._logEvent.level.label=a,t._logEvent.level.value=s,i(a,t._logEvent,u),t._logEvent=c(d)})(this,{ts:u,methodLevel:n,methodValue:s,transmitLevel:i,transmitValue:a.levels.values[t.transmit.level||r.level],send:t.transmit.send,val:r.levelVal},d)}})}}(t,r,n)}function l(t,r,n,i){for(let o in t)if(i&&t[o]instanceof Error)t[o]=a.stdSerializers.err(t[o]);else if("object"==typeof t[o]&&!Array.isArray(t[o]))for(let i in t[o])r&&r.indexOf(i)>-1&&i in n&&(t[o][i]=n[i](t[o][i]))}function u(t,r,n){return function(){let i=Array(1+arguments.length);i[0]=r;for(var o=1;o<i.length;o++)i[o]=arguments[o-1];return t[n].apply(this,i)}}function c(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function d(){return{}}function h(t){return t}function f(){}function p(){return!1}function m(){return Date.now()}a.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},a.stdSerializers={mapHttpRequest:d,mapHttpResponse:d,wrapRequestSerializer:h,wrapResponseSerializer:h,wrapErrorSerializer:h,req:d,res:d,err:function(t){let r={type:t.constructor.name,msg:t.message,stack:t.stack};for(let n in t)void 0===r[n]&&(r[n]=t[n]);return r}},a.stdTimeFunctions=Object.assign({},{nullTime:p,epochTime:m,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},38754:function(t,r,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}n.r(r),n.d(r,{_:function(){return i},_interop_require_default:function(){return i}})},61757:function(t,r,n){"use strict";function i(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:r})(t)}function o(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=i(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=t[s]}return o.default=t,n&&n.set(t,o),o}n.r(r),n.d(r,{_:function(){return o},_interop_require_wildcard:function(){return o}})},63496:function(t,r,n){"use strict";function i(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(r,{Z:function(){return i}})},1119:function(t,r,n){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}n.d(r,{Z:function(){return i}})},88671:function(t,r,n){"use strict";
9function i(t,r){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function o(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,i(t,r)}n.d(r,{Z:function(){return o}})},74610:function(t,r,n){"use strict";function i(t,r){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==r.indexOf(i))continue;n[i]=t[i]}return n}n.d(r,{Z:function(){return i}})},73882:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});var i=n(41154);function o(t){var r=function(t,r){if("object"!=(0,i.Z)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=(0,i.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==(0,i.Z)(r)?r:r+""}},41154:function(t,r,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(r,{Z:function(){return i}})},85238:function(t,r,n){"use strict";let i;n.r(r),n.d(r,{CoinbaseWalletSDK:function(){return tV},createCoinbaseWalletSDK:function(){return tW},default:function(){return tK}});let o=(t,r)=>{let n;switch(t){case"standard":default:return n=r,`data:image/svg+xml,%3Csvg width='${r}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return n=r,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${r}' height='${n}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return n=(.1*r).toFixed(2),`data:image/svg+xml,%3Csvg width='${r}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3
9V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return n=(.25*r).toFixed(2),`data:image/svg+xml,%3Csvg width='${r}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return n=(.1*r).toFixed(2),`data:image/svg+xml,%3Csvg width='${r}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7
9h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return n=(.25*r).toFixed(2),`data:image/svg+xml,%3Csvg width='${r}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`}};class a{constructor(t,r){this.scope=t,this.module=r}storeObject(t,r){this.setItem(t,JSON.stringify(r))}loadObject(t){let r=this.getItem(t);return r?JSON.parse(r):void 0}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){let t=this.scopedKey(""),r=[];for(let n=0;n<localStorage.length;n++){let i=localStorage.key(n);"string"==typeof i&&i.startsWith(t)&&r.push(i)}r.forEach(t=>localStorage.removeItem(t))}scopedKey(t){return`-${this.scope}${this.module?`:${this.module}`:""}:${t}`}static clearAll(){new a("CBWSDK").clear(),new a("walletlink").clear()}}let s={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}},l={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}},u="Unspecified error message.";function c(t,r=u){if(t&&Number.isInteger(t)){let r=t.toString();if(h(l,r))return l[r].message;if(t>=-32099&&t<=-32e3)return"Unspecified server error."}return r}function d(t){return t&&"object"==typeof t&&!Array.isArray(t)?Object.assign({},t):t}function h(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function f(t,r){return"object"==typeof t&&null!==t&&r in t&&"string"==typeof t[r]}let p={rpc:{parse:t=>m(s.rpc.parse,t),invalidRequest:t=>m(s.rpc.invalidRequest,t),invalidParams:t=>m(s.rpc.invalidParams,t),methodNotFound:t=>m(s.rpc.methodNotFound,t),internal:t=>m(s.rpc.internal,t),server:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:r}=t;if(!Number.isInteger(r)||r>-32005||r<-32099)throw Error('"code" must be an integer such that: -32099 <= code
9<= -32005');return m(r,t)},invalidInput:t=>m(s.rpc.invalidInput,t),resourceNotFound:t=>m(s.rpc.resourceNotFound,t),resourceUnavailable:t=>m(s.rpc.resourceUnavailable,t),transactionRejected:t=>m(s.rpc.transactionRejected,t),methodNotSupported:t=>m(s.rpc.methodNotSupported,t),limitExceeded:t=>m(s.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>g(s.provider.userRejectedRequest,t),unauthorized:t=>g(s.provider.unauthorized,t),unsupportedMethod:t=>g(s.provider.unsupportedMethod,t),disconnected:t=>g(s.provider.disconnected,t),chainDisconnected:t=>g(s.provider.chainDisconnected,t),unsupportedChain:t=>g(s.provider.unsupportedChain,t),custom:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:r,message:n,data:i}=t;if(!n||"string"!=typeof n)throw Error('"message" must be a nonempty string');return new b(r,n,i)}}};function m(t,r){let[n,i]=y(r);return new v(t,n||c(t),i)}function g(t,r){let[n,i]=y(r);return new b(t,n||c(t),i)}function y(t){if(t){if("string"==typeof t)return[t];if("object"==typeof t&&!Array.isArray(t)){let{message:r,data:n}=t;if(r&&"string"!=typeof r)throw Error("Must specify string message.");return[r||void 0,n]}}return[]}class v extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw Error('"code" must be an integer.');if(!r||"string"!=typeof r)throw Error('"message" must be a nonempty string.');super(r),this.code=t,void 0!==n&&(this.data=n)}}class b extends v{constructor(t,r,n){if(!(Number.isInteger(t)&&t>=1e3&&t<=4999))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,r,n)}}let w=t=>t,_=t=>t,S=t=>t;function E(t){return Math.floor(t)}var A=n(82957).Buffer;let x=/^[0-9]*$/,k=/^[a-f0-9]*$/;function O(t){return P(crypto.getRandomValues(new Uint8Array(t)))}function P(t){return[...t].map(t=>t.toString(16).padStart(2,"0")).join("")}function C(t){return new Uint8Array(t.match(/.{1,2}/g).map(t=>Number.parseInt(t,16)))}function T(t,r=!1){let n=t.toString("hex");return w(r?`0x${n}`:n)}function M(t){return T(U(t),!0)}function R(t){return S(t.toString(10))}function I(t){return w(`0x${BigInt(t).toString(16)}`)}function N(t){return t.startsWith("0x")||t.startsWith("0X")}function D(t){return N(t)?t.slice(2):t}function F(t){return N(t)?`0x${t.slice(2)}`:`0x${t}`}function L(t){if("string"!=typeof t)return!1;let r=D(t).toLowerCase();return k.test(r)}function $(t,r=!1){let n=function(t,r=!1){if("string"==typeof t){let n=D(t).toLowerCase();if(k.test(n))return w(r?`0x${n}`:n)}throw p.rpc.invalidParams(`"${String(t)}" is not a hexadecimal string`)}(t,!1);return n.length%2==1&&(n=w(`0${n}`)),r?w(`0x${n}`):n}function j(t){if("string"==typeof t){let r=D(t).toLowerCase();if(L(r)&&40===r.length)return _(F(r))}throw p.rpc.invalidParams(`Invalid Ethereum address: ${String(t)}`)}function U(t){if(A.isBuffer(t))return t;if("string"==typeof t){if(L(t)){let r=$(t,!1);return A.from(r,"hex")}return A.from(t,"utf8")}throw p.rpc.invalidParams(`Not binary data: ${String(t)}`)}function B(t){if("number"==typeof t&&Number.isInteger(t))return E(t);if("string"==typeof t){if(x.test(t))return E(Number(t));if(L(t))return E(Number(BigInt($(t,!0))))}throw p.rpc.invalidParams(`Not an integer: ${String(t)}`)}function z(t){if(null!==t&&("bigint"==typeof t||function(t){if(null==t||"function"!=typeof t.constructor)return!1;let{constructor:r}=t;return"function"==typeof r.config&&"number"==typeof r.EUCLID}(t)))return BigInt(t.toString(10));if("number"==typeof t)return BigInt(B(t));if("string"==typeof t){if(x.test(t))return BigInt(t);if(L(t))return BigInt($(t,!0))}throw p.rpc.invalidParams(`Not an integer: ${String(t)}`)}async function H(){return crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"])}async function q(t,r){return crypto.subtle.deriveKey({name:"ECDH",public:r},t,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}async function V(t,r){let n=crypto.getRandomValues(new Uint8Array(12)),i=await crypto.subtle.encrypt({name:"AES-GCM",iv:n},t,new TextEncoder().encode(r));return{iv:n,cipherText:i}}async function G(t,{iv:r,cipherText:n}
vendor: 4,079 bytes, line 9
9){let i=await crypto.subtle.decrypt({name:"AES-GCM",iv:r},t,n);return new TextDecoder().decode(i)}function W(t){switch(t){case"public":return"spki";case"private":return"pkcs8"}}async function K(t,r){let n=W(t);return P(new Uint8Array(await crypto.subtle.exportKey(n,r)))}async function Y(t,r){let n=W(t),i=C(r).buffer;return await crypto.subtle.importKey(n,new Uint8Array(i),{name:"ECDH",namedCurve:"P-256"},!0,"private"===t?["deriveKey"]:[])}async function Z(t,r){return V(r,JSON.stringify(t,(t,r)=>r instanceof Error?Object.assign(Object.assign({},r.code?{code:r.code}:{}),{message:r.message}):r))}async function X(t,r){return JSON.parse(await G(r,t))}let J={storageKey:"ownPrivateKey",keyType:"private"},Q={storageKey:"ownPublicKey",keyType:"public"},ee={storageKey:"peerPublicKey",keyType:"public"};class et{constructor(){this.storage=new a("CBWSDK","SCWKeyManager"),this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null}async getOwnPublicKey(){return await this.loadKeysIfNeeded(),this.ownPublicKey}async getSharedSecret(){return await this.loadKeysIfNeeded(),this.sharedSecret}async setPeerPublicKey(t){this.sharedSecret=null,this.peerPublicKey=t,await this.storeKey(ee,t),await this.loadKeysIfNeeded()}async clear(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null,this.storage.removeItem(Q.storageKey),this.storage.removeItem(J.storageKey),this.storage.removeItem(ee.storageKey)}async generateKeyPair(){let t=await H();this.ownPrivateKey=t.privateKey,this.ownPublicKey=t.publicKey,await this.storeKey(J,t.privateKey),await this.storeKey(Q,t.publicKey)}async loadKeysIfNeeded(){null===this.ownPrivateKey&&(this.ownPrivateKey=await this.loadKey(J)),null===this.ownPublicKey&&(this.ownPublicKey=await this.loadKey(Q)),(null===this.ownPrivateKey||null===this.ownPublicKey)&&await this.generateKeyPair(),null===this.peerPublicKey&&(this.peerPublicKey=await this.loadKey(ee)),null===this.sharedSecret&&null!==this.ownPrivateKey&&null!==this.peerPublicKey&&(this.sharedSecret=await q(this.ownPrivateKey,this.peerPublicKey))}async loadKey(t){let r=this.storage.getItem(t.storageKey);return r?Y(t.keyType,r):null}async storeKey(t,r){let n=await K(t.keyType,r);this.storage.setItem(t.storageKey,n)}}let er="4.3.0",en="@coinbase/wallet-sdk";async function ei(t,r){let n=Object.assign(Object.assign({},t),{jsonrpc:"2.0",id:crypto.randomUUID()}),i=await window.fetch(r,{method:"POST",body:JSON.stringify(n),mode:"cors",headers:{"Content-Type":"application/json","X-Cbw-Sdk-Version":er,"X-Cbw-Sdk-Platform":en}}),{result:o,error:a}=await i.json();if(a)throw a;return o}function eo({metadata:t,preference:r}){var n,i;let{appName:o,appLogoUrl:a,appChainIds:s}=t;if("smartWalletOnly"!==r.options){let t=globalThis.coinbaseWalletExtension;if(t)return null===(n=t.setAppInfo)||void 0===n||n.call(t,o,a,s,r),t}let l=function(){var t,r;try{let n=globalThis;return null!==(t=n.ethereum)&&void 0!==t?t:null===(r=n.top)||void 0===r?void 0:r.ethereum}catch(t){return}}();if(null==l?void 0:l.isCoinbaseBrowser)return null===(i=l.setAppInfo)||void 0===i||i.call(l,o,a,s,r),l}let ea="accounts",es="activeChain",el="availableChains",eu="walletCapabilities";class ec{constructor(t){var r,n,i;this.metadata=t.metadata,this.communicator=t.communicator,this.callback=t.callback,this.keyManager=new et,this.storage=new a("CBWSDK","SCWStateManager"),this.accounts=null!==(r=this.storage.loadObject(ea))&&void 0!==r?r:[],this.chain=this.storage.loadObject(es)||{id:null!==(i=null===(n=t.metadata.appChainIds)||void 0===n?void 0:n[0])&&void 0!==i?i:1},this.handshake=this.handshake.bind(this),this.request=this.request.bind(this),this.createRequestMessage=this.createRequestMessage.bind(this),this.decryptResponseMessage=this.decryptResponseMessage.bind(this)}async handshake(t){var r,n,i,o;await (null===(n=(r=this.communicator).waitForPopupLoaded)||void 0===n?void 0:n.call(r));let a=await this.createRequestMessage({handshake:{method:t.method,params:Object.assign({},this.metadata,null!==(i=t.params)&&void 0!==i?i:{})}}
vendor: 5,773 bytes, line 9
9),s=await this.communicator.postRequestAndWaitForResponse(a);if("failure"in s.content)throw s.content.failure;let l=await Y("public",s.sender);await this.keyManager.setPeerPublicKey(l);let u=(await this.decryptResponseMessage(s)).result;if("error"in u)throw u.error;if("eth_requestAccounts"===t.method){let t=u.value;this.accounts=t,this.storage.storeObject(ea,t),null===(o=this.callback)||void 0===o||o.call(this,"accountsChanged",t)}}async request(t){var r;if(0===this.accounts.length){if("wallet_sendCalls"===t.method)return this.sendRequestToPopup(t);throw p.provider.unauthorized()}switch(t.method){case"eth_requestAccounts":return null===(r=this.callback)||void 0===r||r.call(this,"connect",{chainId:I(this.chain.id)}),this.accounts;case"eth_accounts":return this.accounts;case"eth_coinbase":return this.accounts[0];case"net_version":return this.chain.id;case"eth_chainId":return I(this.chain.id);case"wallet_getCapabilities":return this.storage.loadObject(eu);case"wallet_switchEthereumChain":return this.handleSwitchChainRequest(t);case"eth_ecRecover":case"personal_sign":case"wallet_sign":case"personal_ecRecover":case"eth_signTransaction":case"eth_sendTransaction":case"eth_signTypedData_v1":case"eth_signTypedData_v3":case"eth_signTypedData_v4":case"eth_signTypedData":case"wallet_addEthereumChain":case"wallet_watchAsset":case"wallet_sendCalls":case"wallet_showCallsStatus":case"wallet_grantPermissions":return this.sendRequestToPopup(t);default:if(!this.chain.rpcUrl)throw p.rpc.internal("No RPC URL set for chain");return ei(t,this.chain.rpcUrl)}}async sendRequestToPopup(t){var r,n;await (null===(n=(r=this.communicator).waitForPopupLoaded)||void 0===n?void 0:n.call(r));let i=await this.sendEncryptedRequest(t),o=(await this.decryptResponseMessage(i)).result;if("error"in o)throw o.error;return o.value}async cleanup(){var t,r;this.storage.clear(),await this.keyManager.clear(),this.accounts=[],this.chain={id:null!==(r=null===(t=this.metadata.appChainIds)||void 0===t?void 0:t[0])&&void 0!==r?r:1}}async handleSwitchChainRequest(t){var r;let n=t.params;if(!n||!(null===(r=n[0])||void 0===r?void 0:r.chainId))throw p.rpc.invalidParams();let i=B(n[0].chainId);if(this.updateChain(i))return null;let o=await this.sendRequestToPopup(t);return null===o&&this.updateChain(i),o}async sendEncryptedRequest(t){let r=await this.keyManager.getSharedSecret();if(!r)throw p.provider.unauthorized("No valid session found, try requestAccounts before other methods");let n=await Z({action:t,chainId:this.chain.id},r),i=await this.createRequestMessage({encrypted:n});return this.communicator.postRequestAndWaitForResponse(i)}async createRequestMessage(t){let r=await K("public",await this.keyManager.getOwnPublicKey());return{id:crypto.randomUUID(),sender:r,content:t,timestamp:new Date}}async decryptResponseMessage(t){var r,n;let i=t.content;if("failure"in i)throw i.failure;let o=await this.keyManager.getSharedSecret();if(!o)throw p.provider.unauthorized("Invalid session");let a=await X(i.encrypted,o),s=null===(r=a.data)||void 0===r?void 0:r.chains;if(s){let t=Object.entries(s).map(([t,r])=>({id:Number(t),rpcUrl:r}));this.storage.storeObject(el,t),this.updateChain(this.chain.id,t)}let l=null===(n=a.data)||void 0===n?void 0:n.capabilities;return l&&this.storage.storeObject(eu,l),a}updateChain(t,r){var n;let i=null!=r?r:this.storage.loadObject(el),o=null==i?void 0:i.find(r=>r.id===t);return!!o&&(o!==this.chain&&(this.chain=o,this.storage.storeObject(es,o),null===(n=this.callback)||void 0===n||n.call(this,"chainChanged",I(o.id))),!0)}}var ed=n(11057);let eh="Addresses";function ef(t){return void 0!==t.errorMessage}class ep{constructor(t){this.secret=t}async encrypt(t){let r=this.secret;if(64!==r.length)throw Error("secret must be 256 bits");let n=crypto.getRandomValues(new Uint8Array(12)),i=await crypto.subtle.importKey("raw",C(r),{name:"aes-gcm"},!1,["encrypt","decrypt"]),o=new TextEncoder,a=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:n},i,o.encode(t)),s=a.slice(a.byteLength-16),l=a.slice(0,a.byteLength-16),u=new Uint8Array(s),c=new Uint8Array(l);return P(new Uint8Array([...n,...u,...c]))}async decrypt(t){let r=this.secret;if(64!==r.length)throw Error("secret must be 256 bits");return new Promise((n,i)=>{!async function(){let o=await crypto.subtle.importKey("raw",C(r),{name:"aes-gcm"},!1,["encrypt","decrypt"]),a=C(t),s=a.slice(0,12),l=a.slice(12,28),u=new Uint8Array([...a.slice(28),...l]),c={name:"AES-GCM",iv:new Uint8Array(s)};try{let t=await window.crypto.subtle.decrypt(c,o,u),r=new TextDecoder;n(r.decode(t))}catch(t){i(t)}}()})}}class em{constructor(t,r,n){this.linkAPIUrl=t,this.sessionId=r;let i=`${r}:${n}`;this.auth=`Basic ${btoa(i)}`}async markUnseenEventsAsSeen(t){return Promise.all(t.map(t=>fetch(`${this.linkAPIUrl}/events/${t.eventId}/seen`,{method:"POST",headers:{Authorization:this.auth}}))).catch(t=>console.error("Unabled to mark event as failed:",t))}async fetchUnseenEvents(){var t;let r=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(r.ok){let{events:n,error:i}=await r.json();if(i)throw Error(`Check unseen events failed: ${i}`);let o=null!==(t=null==n?void 0:n.filter(t=>"Web3Response"===t.event).map(t=>({type:"Event",sessionId:this.sessionId,eventId:t.id,event:t.event,data:t.data})))&&void 0!==t?t:[];return this.markUnseenEventsAsSeen(o),o}throw Error(`Check unseen events failed: ${r.status}`)}}(eP=eC||(eC={}))[eP.DISCONNECTED=0]="DISCONNECTED",eP[eP.CONNECTING=1]="CONNECTING",eP[eP.CONNECTED=2]="CONNECTED";class eg{setConnectionStateListener(t){this.connectionStateListener=t}setIncomingDataListener(t){this.incomingDataListener=t}constructor(t,r=WebSocket){this.WebSocketClass=r,this.webSocket=null,this.pendingData=[],this.url=t.replace(/^http/,"ws")}
9async connect(){if(this.webSocket)throw Error("webSocket object is not null");return new Promise((t,r)=>{var n;let i;try{this.webSocket=i=new this.WebSocketClass(this.url)}catch(t){r(t);return}null===(n=this.connectionStateListener)||void 0===n||n.call(this,eC.CONNECTING),i.onclose=t=>{var n;this.clearWebSocket(),r(Error(`websocket error ${t.code}: ${t.reason}`)),null===(n=this.connectionStateListener)||void 0===n||n.call(this,eC.DISCONNECTED)},i.onopen=r=>{var n;t(),null===(n=this.connectionStateListener)||void 0===n||n.call(this,eC.CONNECTED),this.pendingData.length>0&&([...this.pendingData].forEach(t=>this.sendData(t)),this.pendingData=[])},i.onmessage=t=>{var r,n;if("h"===t.data)null===(r=this.incomingDataListener)||void 0===r||r.call(this,{type:"Heartbeat"});else try{let r=JSON.parse(t.data);null===(n=this.incomingDataListener)||void 0===n||n.call(this,r)}catch(t){}}})}disconnect(){var t;let{webSocket:r}=this;if(r){this.clearWebSocket(),null===(t=this.connectionStateListener)||void 0===t||t.call(this,eC.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{r.close()}catch(t){}}}sendData(t){let{webSocket:r}=this;if(!r){this.pendingData.push(t),this.connect();return}r.send(t)}clearWebSocket(){let{webSocket:t}=this;t&&(this.webSocket=null,t.onclose=null,t.onerror=null,t.onmessage=null,t.onopen=null)}}class ey{constructor({session:t,linkAPIUrl:r,listener:n}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=E(1),this._connected=!1,this._linked=!1,this.shouldFetchUnseenEventsOnConnect=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=t=>{t&&new Map([["__destroyed",this.handleDestroyed],["EthereumAddress",this.handleAccountUpdated],["WalletUsername",this.handleWalletUsernameUpdated],["AppVersion",this.handleAppVersionUpdated],["ChainId",r=>t.JsonRpcUrl&&this.handleChainUpdated(r,t.JsonRpcUrl)]]).forEach((r,n)=>{let i=t[n];void 0!==i&&r(i)})},this.handleDestroyed=t=>{var r;"1"===t&&(null===(r=this.listener)||void 0===r||r.resetAndReload())},this.handleAccountUpdated=async t=>{var r;let n=await this.cipher.decrypt(t);null===(r=this.listener)||void 0===r||r.accountUpdated(n)},this.handleMetadataUpdated=async(t,r)=>{var n;let i=await this.cipher.decrypt(r);null===(n=this.listener)||void 0===n||n.metadataUpdated(t,i)},this.handleWalletUsernameUpdated=async t=>{this.handleMetadataUpdated("walletUsername",t)},this.handleAppVersionUpdated=async t=>{this.handleMetadataUpdated("AppVersion",t)},this.handleChainUpdated=async(t,r)=>{var n;let i=await this.cipher.decrypt(t),o=await this.cipher.decrypt(r);null===(n=this.listener)||void 0===n||n.chainUpdated(i,o)},this.session=t,this.cipher=new ep(t.secret),this.listener=n;let i=new eg(`${r}/rpc`,WebSocket);i.setConnectionStateListener(async t=>{let r=!1;switch(t){case eC.DISCONNECTED:if(!this.destroyed){let t=async()=>{await new Promise(t=>setTimeout(t,5e3)),this.destroyed||i.connect().catch(()=>{t()})};t()}break;case eC.CONNECTED:r=await this.handleConnected(),this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},1e4),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();case eC.CONNECTING:}this.connected!==r&&(this.connected=r)}),i.setIncomingDataListener(t=>{var r;switch(t.type){case"Heartbeat":this.updateLastHeartbeat();return;case"IsLinkedOK":case"Linked":{let r="IsLinkedOK"===t.type?t.linked:void 0;this.linked=r||t.onlineGuests>0;break}case"GetSessionConfigOK":case"SessionConfigUpdated":this.handleSessionMetadataUpdated(t.metadata);break;case"Event":this.handleIncomingEvent(t)}void 0!==t.id&&(null===(r=this.requestResolutions.get(t.id))||void 0===r||r(t))}),this.ws=i,this.http=new em(r,t.id,t.key)}connect(){if(this.destroyed)throw Error("instance is destroyed");this.ws.connect()}async destroy(){this.destroyed||(await this.makeRequest({type:"SetSessionConfig",id:E(this.nextReqId++),sessionId:this.session.id,metadata:{__destroyed:"1"}},{timeout:1e3}),this.destroyed=!0,this.ws.disconnect(),this.listener=void 0)}get connected(){return this._connected}set connected(t){this._connected=t}get linked(){return this._linked}set linked(t){var r,n;this._linked=t,t&&(null===(r=this.onceLinked)||void 0===r||r.call(this)),null===(n=this.listener)||void 0===n||n.linkedUpdated(t)}setOnceLinked(t){return new Promise(r=>{this.linked?t().then(r):this.onceLinked=()=>{t().then(r),this.onceLinked=void 0}})}async handleIncomingEvent(t){var r;if("Event"!==t.type||"Web3Response"!==t.event)return;let n=JSON.parse(await this.cipher.decrypt(t.data));if("WEB3_RESPONSE"!==n.type)return;let{id:i,response:o}=n;null===(r=this.listener)||void 0===r||r.handleWeb3ResponseMessage(i,o)}async checkUnseenEvents(){if(!this.connected){this.shouldFetchUnseenEventsOnConnect=!0;return}await new Promise(t=>setTimeout(t,250));try{await this.fetchUnseenEventsAPI()}catch(t){console.error("Unable to check for unseen events",t)}}async fetchUnseenEventsAPI(){this.shouldFetchUnseenEventsOnConnect=!1,(await this.http.fetchUnseenEvents()).forEac
vendor: 6,708 bytes, line 9
9h(t=>this.handleIncomingEvent(t))}async publishEvent(t,r,n=!1){let i=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},r),{origin:location.origin,location:location.href,relaySource:"coinbaseWalletExtension"in window&&window.coinbaseWalletExtension?"injected_sdk":"sdk"}))),o={type:"PublishEvent",id:E(this.nextReqId++),sessionId:this.session.id,event:t,data:i,callWebhook:n};return this.setOnceLinked(async()=>{let t=await this.makeRequest(o);if("Fail"===t.type)throw Error(t.error||"failed to publish event");return t.eventId})}sendData(t){this.ws.sendData(JSON.stringify(t))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>2e4){this.ws.disconnect();return}try{this.ws.sendData("h")}catch(t){}}async makeRequest(t,r={timeout:6e4}){let n;let i=t.id;return this.sendData(t),Promise.race([new Promise((t,o)=>{n=window.setTimeout(()=>{o(Error(`request ${i} timed out`))},r.timeout)}),new Promise(t=>{this.requestResolutions.set(i,r=>{clearTimeout(n),t(r),this.requestResolutions.delete(i)})})])}async handleConnected(){return"Fail"!==(await this.makeRequest({type:"HostSession",id:E(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key})).type&&(this.sendData({type:"IsLinked",id:E(this.nextReqId++),sessionId:this.session.id}),this.sendData({type:"GetSessionConfig",id:E(this.nextReqId++),sessionId:this.session.id}),!0)}}class ev{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let t=this._nextRequestId,r=F(t.toString(16));return this.callbacks.get(r)&&this.callbacks.delete(r),t}}var eb=n(21512),ew=n(25884);let e_="session:id",eS="session:secret",eE="session:linked";class eA{constructor(t,r,n,i=!1){this.storage=t,this.id=r,this.secret=n,this.key=(0,ew.ci)((0,eb.JQ)(`${r}, ${n} WalletLink`)),this._linked=!!i}static create(t){return new eA(t,O(16),O(32)).save()}static load(t){let r=t.getItem(e_),n=t.getItem(eE),i=t.getItem(eS);return r&&i?new eA(t,r,i,"1"===n):null}get linked(){return this._linked}set linked(t){this._linked=t,this.persistLinked()}save(){return this.storage.setItem(e_,this.id),this.storage.setItem(eS,this.secret),this.persistLinked(),this}persistLinked(){this.storage.setItem(eE,this._linked?"1":"0")}}function ex(){var t,r;return null!==(r=null===(t=null==window?void 0:window.matchMedia)||void 0===t?void 0:t.call(window,"(prefers-color-scheme: dark)").matches)&&void 0!==r&&r}function ek(){let t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode('@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}')),document.documentElement.appendChild(t)}function eO(){for(var t,r,n=0,i="";n<arguments.length;)(t=arguments[n++])&&(r=function t(r){var n,i,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r){if(Array.isArray(r))for(n=0;n<r.length;n++)r[n]&&(i=t(r[n]))&&(o&&(o+=" "),o+=i);else for(n in r)r[n]&&(o&&(o+=" "),o+=n)}return o}(t))&&(i&&(i+=" "),i+=r);return i}var eP,eC,eT,eM,eR,eI,eN,eD,eF,eL,e$,ej,eU,eB={},ez=[],eH=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,eq=Array.isArray;function eV(t,r){for(var n in r)t[n]=r[n];return t}function eG(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function eW(t,r,n){var i,o,a,s={};for(a in r)"key"==a?i=r[a]:"ref"==a?o=r[a]:s[a]=r[a];if(arguments.length>2&&(s.children=arguments.length>3?eT.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]
vendor: 9,746 bytes, line 9
9);return eK(t,s,i,o,null)}function eK(t,r,n,i,o){var a={type:t,props:r,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++eR:o,__i:-1,__u:0};return null==o&&null!=eM.vnode&&eM.vnode(a),a}function eY(t){return t.children}function eZ(t,r){this.props=t,this.context=r}function eX(t,r){if(null==r)return t.__?eX(t.__,t.__i+1):null;for(var n;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e)return n.__e;return"function"==typeof t.type?eX(t):null}function eJ(t){(!t.__d&&(t.__d=!0)&&eI.push(t)&&!eQ.__r++||eN!==eM.debounceRendering)&&((eN=eM.debounceRendering)||eD)(eQ)}function eQ(){for(var t,r,n,i,o,a,s=1;eI.length;)eI.length>s&&eI.sort(eF),t=eI.shift(),s=eI.length,t.__d&&(r=void 0,i=(n=t.__v).__e,o=[],a=[],t.__P&&((r=eV({},n)).__v=n.__v+1,eM.vnode&&eM.vnode(r),e5(t.__P,r,n,t.__n,t.__P.namespaceURI,32&n.__u?[i]:null,o,null==i?eX(n):i,!!(32&n.__u),a),r.__v=n.__v,r.__.__k[r.__i]=r,e6(o,r,a),r.__e!=i&&function t(r){var n,i;if(null!=(r=r.__)&&null!=r.__c){for(r.__e=r.__c.base=null,n=0;n<r.__k.length;n++)if(null!=(i=r.__k[n])&&null!=i.__e){r.__e=r.__c.base=i.__e;break}return t(r)}}(r)));eQ.__r=0}function e0(t,r,n,i,o,a,s,l,u,c,d){var h,f,p,m,g,y,v=i&&i.__k||ez,b=r.length;for(u=function(t,r,n,i,o){var a,s,l,u,c,d=n.length,h=d,f=0;for(t.__k=Array(o),a=0;a<o;a++)null!=(s=r[a])&&"boolean"!=typeof s&&"function"!=typeof s?(u=a+f,(s=t.__k[a]="string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?eK(null,s,null,null,null):eq(s)?eK(eY,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?eK(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=t,s.__b=t.__b+1,l=null,-1!==(c=s.__i=function(t,r,n,i){var o,a,s=t.key,l=t.type,u=r[n];if(null===u&&null==t.key||u&&s==u.key&&l===u.type&&0==(2&u.__u))return n;if(i>(null!=u&&0==(2&u.__u)?1:0))for(o=n-1,a=n+1;o>=0||a<r.length;){if(o>=0){if((u=r[o])&&0==(2&u.__u)&&s==u.key&&l===u.type)return o;o--}if(a<r.length){if((u=r[a])&&0==(2&u.__u)&&s==u.key&&l===u.type)return a;a++}}return -1}(s,n,u,h))&&(h--,(l=n[c])&&(l.__u|=2)),null==l||null===l.__v?(-1==c&&(o>d?f--:o<d&&f++),"function"!=typeof s.type&&(s.__u|=4)):c!=u&&(c==u-1?f--:c==u+1?f++:(c>u?f--:f++,s.__u|=4))):t.__k[a]=null;if(h)for(a=0;a<d;a++)null!=(l=n[a])&&0==(2&l.__u)&&(l.__e==i&&(i=eX(l)),function t(r,n,i){var o,a;if(eM.unmount&&eM.unmount(r),(o=r.ref)&&(o.current&&o.current!==r.__e||e4(o,null,n)),null!=(o=r.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){eM.__e(t,n)}o.base=o.__P=null}if(o=r.__k)for(a=0;a<o.length;a++)o[a]&&t(o[a],n,i||"function"!=typeof r.type);i||eG(r.__e),r.__c=r.__=r.__e=void 0}(l,l));return i}(n,r,v,u,b),h=0;h<b;h++)null!=(p=n.__k[h])&&(f=-1===p.__i?eB:v[p.__i]||eB,p.__i=h,y=e5(t,p,f,o,a,s,l,u,c,d),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&e4(f.ref,null,p),d.push(p.ref,p.__c||m,p)),null==g&&null!=m&&(g=m),4&p.__u||f.__k===p.__k?u=function t(r,n,i){var o,a;if("function"==typeof r.type){for(o=r.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=r,n=t(o[a],n,i));return n}r.__e!=n&&(n&&r.type&&!i.contains(n)&&(n=eX(r)),i.insertBefore(r.__e,n||null),n=r.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(p,u,t):"function"==typeof p.type&&void 0!==y?u=y:m&&(u=m.nextSibling),p.__u&=-7);return n.__e=g,u}function e1(t,r,n){"-"==r[0]?t.setProperty(r,null==n?"":n):t[r]=null==n?"":"number"!=typeof n||eH.test(r)?n:n+"px"}function e2(t,r,n,i,o){var a;r:if("style"==r){if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(r in i)n&&r in n||e1(t.style,r,"");if(n)for(r in n)i&&n[r]===i[r]||e1(t.style,r,n[r])}}else if("o"==r[0]&&"n"==r[1])a=r!=(r=r.replace(eL,"$1")),r=r.toLowerCase() in t||"onFocusOut"==r||"onFocusIn"==r?r.toLowerCase().slice(2):r.slice(2),t.l||(t.l={}),t.l[r+a]=n,n?i?n.t=i.t:(n.t=e$,t.addEventListener(r,a?eU:ej,a)):t.removeEventListener(r,a?eU:ej,a);else{if("http://www.w3.org/2000/svg"==o)r=r.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=r&&"height"!=r&&"href"!=r&&"list"!=r&&"form"!=r&&"tabIndex"!=r&&"download"!=r&&"rowSpan"!=r&&"colSpan"!=r&&"role"!=r&&"popover"!=r&&r in t)try{t[r]=null==n?"":n;break r}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=r[4]?t.removeAttribute(r):t.setAttribute(r,"popover"==r&&1==n?"":n))}}function e3(t){return function(r){if(this.l){var n=this.l[r.type+t];if(null==r.u)r.u=e$++;else if(r.u<n.t)return;return n(eM.event?eM.event(r):r)}}}function e5(t,r,n,i,o,a,s,l,u,c){var d,h,f,p,m,g,y,v,b,w,_,S,E,A,x,k,O,P=r.type;if(void 0!==r.constructor)return null;128&n.__u&&(u=!!(32&n.__u),a=[l=r.__e=n.__e]),(d=eM.__b)&&d(r);r:if("function"==typeof P)try{if(v=r.props,b="prototype"in P&&P.prototype.render,w=(d=P.contextType)&&i[d.__c],_=d?w?w.props.value:d.__:i,n.__c?y=(h=r.__c=n.__c).__=h.__E:(b?r.__c=h=new P(v,_):(r.__c=h=new eZ(v,_),h.constructor=P,h.render=e8),w&&w.sub(h),h.props=v,h.state||(h.state={}),h.context=_,h.__n=i,f=h.__d=!0,h.__h=[],h._sb=[]),b&&null==h.__s&&(h.__s=h.state),b&&null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=eV({},h.__s)),eV(h.__s,P.getDerivedStateFromProps(v,h.__s))),p=h.props,m=h.state,h.__v=r,f)b&&null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),b&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(b&&null==P.getDerivedStateFromProps&&v!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(v,_),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(v,h.__s,_)||r.__v==n.__v)){for(r.__v!=n.__v&&(h.props=v,h.state=h.__s,h.__d=!1),r.__e=n.__e,r.__k=n.__k,r.__k.some(function(t){t&&(t.__=r)}),S=0;S<h._sb.length;S++)h.__h.push(h._sb[S]);h._sb=[],h.__h.length&&s.push(h);break r}null!=h.componentWillUpdate&&h.componentWillUpdate(v,h.__s,_),b&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,m,g)})}if(h.context=_,h.props=v,h.__P=t,h.__e=!1,E=eM.__r,A=0,b){for(h.state=h.__s,h.__d=!1,E&&E(r),d=h.render(h.props,h.state,h.context),x=0;x<h._sb.length;x++)h.__h.push(h._sb[x]);h._sb=[]}else do h.__d=!1,E&&E(r),d=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=eV(eV({},i),h.getChildContext())),b&&!f&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(p,m)),k=d,null!=d&&d.type===eY&&null==d.key&&(k=function t(r){return"object"!=typeof r||null==r?r:eq(r)?r.map(t):eV({},r)}(d.props.children)),l=e0(t,eq(k)?k:[k],r,n,i,o,a,s,l,u,c),h.base=r.__e,r.__u&=-161,h.__h.length&&s.push(h),y&&(h.__E=h.__=null)}catch(t){if(r.__v=null,u||null!=a){if(t.then){for(r.__u|=u?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;a[a.indexOf(l)]=null,r.__e=l}else for(O=a.length;O--;)eG(a[O])}else r.__e=n.__e,r.__k=n.__k;eM.__e(t,r,n)}else null==a&&r.__v==n.__v?(r.__k=n.__k,r.__e=n.__e):l=r.__e=function(t,r,n,i,o,a,s,l,u){var c,d,h,f,p,m,g,y=n.props,v=r.props,b=r.type;if("svg"==b?o="http://www.w3.org/2000/svg":"math"==b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=a){for(c=0;c<a.length;c++)if((p=a[c])&&"setAttribute"in p==!!b&&(b?p.localName==b:3==p.nodeType)){t=p,a[c]=null;break}}if(null==t){if(null==b)return document.createTextNode(v);t=document.createElementNS(o,b,v.is&&v),l&&(eM.__m&&eM.__m(r,a),l=!1),a=null}if(null===b)y===v||l&&t.data===v||(t.data=v);else{if(a=a&&eT.call(t.childNodes),y=n.props||eB,!l&&null!=a)for(y={},c=0;c<t.attributes.length;c++)y[(p=t.attributes[c]).name]=p.value;for(c in y)if(p=y[c],"children"==c);else if("dangerouslySetInnerHTML"==c)h=p;else if(!(c in v)){if("value"==c&&"defaultValue"in v||"checked"==c&&"defaultChecked"in v)continue;e2(t,c,null,p,o)}for(c in v)p=v[c],"children"==c?f=p:"dangerouslySetInnerHTML"==c?d=p:"value"==c?m=p:"checked"==c?g=p:l&&"function"!=typeof p||y[c]===p||e2(t,c,p,y[c],o);if(d)l||h&&(d.__html===h.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),r.__k=[];else if(h&&(t.innerHTML=""),e0("template"===r.type?t.content:t,eq(f)?f:[f],r,n,i,"foreignObject"==b?"http://www.w3.org/1999/xhtml":o,a,s,a?a[0]:n.__k&&eX(n,0),l,u),null!=a)for(c=a.length;c--;)eG(a[c]);l||(c="value","progress"==b&&null==m?t.removeAttribute("value"):void 0===m||m===t[c]&&("progress"!=b||m)&&("option"!=b||m===y[c])||e2(t,c,m,y[c],o),c="checked",void 0!==g&&g!==t[c]&&e2(t,c,g,y[c],o))}return t}(n.__e,r,n,i,o,a,s,u,c);return(d=eM.diffed)&&d(r),128&r.__u?void 0:l}function e6(t,r,n){for(var i=0;i<n.length;i++)e4(n[i],n[++i],n[++i]);eM.__c&&eM.__c(r,t),t.some(function(r){try{t=r.__h,r.__h=[],t.some(function(t){t.call(r)})}catch(t){eM.__e(t,r.__v)}})}function e4(t,r,n){try{if("function"==typeof t){var i="function"==typeof t.__u;i&&t.__u(),i&&null==r||(t.__u=t(r))}else t.current=r}catch(t){eM.__e(t,n)}}function e8(t,r,n){return this.constructor(t,n)}function e9(t,r,n){var i,o,a,s;r==document&&(r=document.documentElement),eM.__&&eM.__(t,r),o=(i="function"==typeof n)?null:n&&n.__k||r.__k,a=[],s=[],e5(r,t=(!i&&n||r).__k=eW(eY,null,[t]),o||eB,eB,r.namespaceURI,!i&&n?[n]:o?null:r.firstChild?eT.call(r.childNodes):null,a,!i&&n?n:o?o.__e:r.firstChild,i,s),e6(a,t,s)}eT=ez.slice,eM={__e:function(t,r,n,i){for(var o,a,s;r=r.__;)if((o=r.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(t)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,i||{}),s=o.__d),s)return o.__E=o}catch(r){t=r}throw t}},eR=0,eZ.prototype.setState=function(t,r){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=eV({},this.state),"function"==typeof t&&(t=t(eV({},n),this.props)),t&&eV(n,t),null!=t&&this.__v&&(r&&this._sb.push(r),eJ(this))},eZ.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),eJ(this))},eZ.prototype.render=eY,eI=[],eD="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 8,027 bytes, line 9
9ise.resolve()):setTimeout,eF=function(t,r){return t.__v.__b-r.__v.__b},eQ.__r=0,eL=/(PointerCapture)$|Capture$/i,e$=0,ej=e3(!1),eU=e3(!0);var e7,te,tt,tr,tn=0,ti=[],to=eM,ta=to.__b,ts=to.__r,tl=to.diffed,tu=to.__c,tc=to.unmount,td=to.__;function th(t,r){to.__h&&to.__h(te,t,tn||r),tn=0;var n=te.__H||(te.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function tf(t,r,n){var i=th(e7++,2);if(i.t=t,!i.__c&&(i.__=[n?n(r):tv(void 0,r),function(t){var r=i.__N?i.__N[0]:i.__[0],n=i.t(r,t);r!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=te,!te.__f)){var o=function(t,r,n){if(!i.__c.__H)return!0;var o=i.__c.__H.__.filter(function(t){return!!t.__c});if(o.every(function(t){return!t.__N}))return!a||a.call(this,t,r,n);var s=i.__c.props!==t;return o.forEach(function(t){if(t.__N){var r=t.__[0];t.__=t.__N,t.__N=void 0,r!==t.__[0]&&(s=!0)}}),a&&a.call(this,t,r,n)||s};te.__f=!0;var a=te.shouldComponentUpdate,s=te.componentWillUpdate;te.componentWillUpdate=function(t,r,n){if(this.__e){var i=a;a=void 0,o(t,r,n),a=i}s&&s.call(this,t,r,n)},te.shouldComponentUpdate=o}return i.__N||i.__}function tp(){for(var t;t=ti.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(tg),t.__H.__h.forEach(ty),t.__H.__h=[]}catch(r){t.__H.__h=[],to.__e(r,t.__v)}}to.__b=function(t){te=null,ta&&ta(t)},to.__=function(t,r){t&&r.__k&&r.__k.__m&&(t.__m=r.__k.__m),td&&td(t,r)},to.__r=function(t){ts&&ts(t),e7=0;var r=(te=t.__c).__H;r&&(tt===te?(r.__h=[],te.__h=[],r.__.forEach(function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0})):(r.__h.forEach(tg),r.__h.forEach(ty),r.__h=[],e7=0)),tt=te},to.diffed=function(t){tl&&tl(t);var r=t.__c;r&&r.__H&&(r.__H.__h.length&&(1!==ti.push(r)&&tr===to.requestAnimationFrame||((tr=to.requestAnimationFrame)||function(t){var r,n=function(){clearTimeout(i),tm&&cancelAnimationFrame(r),setTimeout(t)},i=setTimeout(n,100);tm&&(r=requestAnimationFrame(n))})(tp)),r.__H.__.forEach(function(t){t.u&&(t.__H=t.u),t.u=void 0})),tt=te=null},to.__c=function(t,r){r.some(function(t){try{t.__h.forEach(tg),t.__h=t.__h.filter(function(t){return!t.__||ty(t)})}catch(n){r.some(function(t){t.__h&&(t.__h=[])}),r=[],to.__e(n,t.__v)}}),tu&&tu(t,r)},to.unmount=function(t){tc&&tc(t);var r,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(t){try{tg(t)}catch(t){r=t}}),n.__H=void 0,r&&to.__e(r,n.__v))};var tm="function"==typeof requestAnimationFrame;function tg(t){var r=te,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),te=r}function ty(t){var r=te;t.__c=t.__(),te=r}function tv(t,r){return"function"==typeof r?r(t):r}class tb{constructor(){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=ex()}attach(t){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",t.appendChild(this.root),this.render()}presentItem(t){let r=this.nextItemKey++;return this.items.set(r,t),this.render(),()=>{this.items.delete(r),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&e9(eW("div",null,eW(tw,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([t,r])=>eW(t_,Object.assign({},r,{key:t}))))),this.root)}}let tw=t=>eW("div",{class:eO("-cbwsdk-snackbar-container")},eW("style",null,".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"),eW("div",{class:"-cbwsdk-snackbar"},t.children)),t_=({autoExpand:t,message:r,menuItems:n})=>{var i,o,a,s,l;let[u,c]=(tn=1,tf(tv,!0)),[d,h]=(tn=1,tf(tv,null!=t&&t));return i=()=>{let t=[window.setTimeout(()=>{c(!1)},1),window.setTimeout(()=>{h(!0)},1e4)];return()=>{t.forEach(window.clearTimeout)}},a=th(e7++,3),!to.__s&&(s=a.__H,l=void 0,!s||s.length!==l.length||l.some(function(t,r){return t!==s[r]}))&&(a.__=i,a.u=o,te.__H.__h.push(a)),eW("div",{class:eO("-cbwsdk-snackbar-instance",u&&"-cbwsdk-snackbar-instance-hidden",d&&"-cbwsdk-snackbar-instance-expanded")},eW("div",{class:"-cbwsdk-snackbar-instance-header",onClick:()=>{h(!d)}},eW("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiA
9wIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",class:"-cbwsdk-snackbar-instance-header-cblogo"})," ",eW("div",{class:"-cbwsdk-snackbar-instance-header-message"},r),eW("div",{class:"-gear-container"},!d&&eW("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eW("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),eW("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&eW("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map((t,r)=>eW("div",{class:eO("-cbwsdk-snackbar-instance-menu-item",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:t.onClick,key:r},eW("svg",{width:t.svgWidth,height:t.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},eW("path",{"fill-rule":t.defaultFillRule,"clip-rule":t.defaultClipRule,d:t.path,fill:"#AAAAAA"})),eW("span",{class:eO("-cbwsdk-snackbar-instance-menu-item-info",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},t.info)))))};class tS{constructor(){this.attached=!1,this.snackbar=new tb}attach(){if(this.attached)throw Error("Coinbase Wallet SDK UI is already attached");let t=document.documentElement,r=document.createElement("div");r.className="-cbwsdk-css-reset",t.appendChild(r),this.snackbar.attach(r),this.attached=!0,ek()}showConnecting(t){let r;return r=t.isUnlinkedErrorState?{autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]}:{message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:t.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]},this.snackbar.presentItem(r)}}class tE{constructor(){this.root=null,this.darkMode=ex()}attach(){let t=document.documentElement;this.root=document.createElement("div"),this.root.className="-cbwsdk-css-reset",t.appendChild(this.root),ek()}present(t){this.render(t)}clear(){this.render(null)}render(t){this.root&&(e9(null,this.root),t&&e9(eW(tA,Object.assign({},t,{onDismiss:()=>{this.clear()},darkMode:this.darkMode})),this.root))}}let tA=({title:t,buttonText:r,darkMode:n,onButtonClick:i,onDismiss:o})=>eW(tw,{darkMode:n},eW("div",{class:"-cbwsdk-redirect-dialog"},eW("style",null,".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}
9.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}"),eW("div",{class:"-cbwsdk-redirect-dialog-backdrop",onClick:o}),eW("div",{class:eO("-cbwsdk-redirect-dialog-box",n?"dark":"light")},eW("p",null,t),eW("button",{onClick:i},r)))),tx="https://www.walletlink.org";class tk{constructor(){this.attached=!1,this.redirectDialog=new tE}attach(){if(this.attached)throw Error("Coinbase Wallet SDK UI is already attached");this.redirectDialog.attach(),this.attached=!0}redirectToCoinbaseWallet(t){let r=new URL("https://go.cb-w.com/walletlink");r.searchParams.append("redirect_url",function(){try{if(function(){try{return null!==window.frameElement}catch(t){return!1}}()&&window.top)return window.top.location;return window.location}catch(t){return window.location}}().href),t&&r.searchParams.append("wl_url",t);let n=document.createElement("a");n.target="cbw-opener",n.href=r.href,n.rel="noreferrer noopener",n.click()}openCoinbaseWalletDeeplink(t){this.redirectDialog.present({title:"Redirecting to Coinbase Wallet...",buttonText:"Open",onButtonClick:()=>{this.redirectToCoinbaseWallet(t)}}),setTimeout(()=>{this.redirectToCoinbaseWallet(t)},99)}showConnecting(t){return()=>{this.redirectDialog.clear()}}}class tO{constructor(t){var r;this.chainCallbackParams={chainId:"",jsonRpcUrl:""},this.isMobileWeb=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(null===(r=null==window?void 0:window.navigator)||void 0===r?void 0:r.userAgent),this.linkedUpdated=t=>{this.isLinked=t;let r=this.storage.getItem(eh);if(t&&(this._session.linked=t),this.isUnlinkedErrorState=!1,r){let n=r.split(" "),i="true"===this.storage.getItem("IsStandaloneSigning");""===n[0]||t||!this._session.linked||i||(this.isUnlinkedErrorState=!0)}},this.metadataUpdated=(t,r)=>{this.storage.setItem(t,r)},this.chainUpdated=(t,r)=>{(this.chainCallbackParams.chainId!==t||this.chainCallbackParams.jsonRpcUrl!==r)&&(this.chainCallbackParams={chainId:t,jsonRpcUrl:r},this.chainCallback&&this.chainCallback(r,Number.parseInt(t,10)))},this.accountUpdated=t=>{this.accountsCallback&&this.accountsCallback([t]),tO.accountRequestCallbackIds.size>0&&(Array.from(tO.accountRequestCallbackIds.values()).forEach(r=>{this.invokeCallback(r,{method:"requestEthereumAccounts",result:[t]})}),tO.accountRequestCallbackIds.clear())},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=t.linkAPIUrl,this.storage=t.storage,this.metadata=t.metadata,this.accountsCallback=t.accountsCallback,this.chainCallback=t.chainCallback;let{session:n,ui:i,connection:o}=this.subscribe();this._session=n,this.connection=o,this.relayEventManager=new ev,this.ui=i,this.ui.attach()}subscribe(){let t=eA.load(this.storage)||eA.create(this.storage),{linkAPIUrl:r}=this,n=new ey({session:t,linkAPIUrl:r,listener:this}),i=this.isMobileWeb?new tk:new tS;return n.connect(),{session:t,ui:i,connection:n}}resetAndReload(){this.connection.destroy().then(()=>{let t=eA.load(this.storage);(null==t?void 0:t.id)===this._session.id&&a.clearAll(),document.location.reload()}).catch(t=>{})}signEthereumTransaction(t){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:R(t.weiValue),data:T(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?R(t.gasPriceInWei):null,maxFeePerGas:t.gasPriceInWei?R(t.gasPriceInWei):null,maxPriorityFeePerGas:t.gasPriceInWei?R(t.gasPriceInWei):null,gasLimit:t.gasLimit?R(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(t){return this.sendRequest({method:"signEthereumTransaction",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:R(t.weiValue),data:T(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?R(t.gasPriceInWei):null,maxFeePerGas:t.maxFeePerGas?R(t.maxFeePerGas):null,maxPriorityFeePerGas:t.maxPriorityFeePerGas?R(t.maxPriorityFeePerGas):null,gasLimit:t.gasLimit?R(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!0}})}submitEthereumTransaction(t,r){return this.sendRequest({method:"submitEthereumTransaction",params:{signedTransaction:T(t,!0),chainId:r}})}getWalletLinkSession(){return this._session}sendRequest(t){let r=null,n=O(8),i=i=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,i),null==r||r()};return new Promise((o,a)=>{r=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:i,onResetConnection:this.resetAndReload}),this.relayEventManager.callbacks.set(n,t=>{if(null==r||r(),ef(t))return a(Error(t.errorMessage));o(t)}),this.publishWeb3RequestEvent(n,t)})}publishWeb3RequestEvent(t,r){let n={type:"WEB3_REQUEST",id:t,request:r};this.publishEvent("Web3Request",n,!0).then(t=>{}).catch(t=>{this.handleWeb3ResponseMessage(n.id,{method:r.method,errorMessage:t.message})}),this.isMobileWeb&&this.openCoinbaseWalletDeeplink(r.method)}openCoinbaseWalletDeeplink(t){if(this.ui instanceof tk)switch(t){case"requestEthereumAccounts":case"switchEthereumChain":return;default:window.addEventListener("blur",()=>{window.addEventListener("focus",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0}),this.ui.openCoinbaseWalletDeeplink()}}publishWeb3RequestCanceledEvent(t){this.publishEvent("Web3RequestCanceled",{type:"WEB3_REQUEST_CANCELED",id:t},!1).then()}publishEvent(t,r,n){return this.connection.publishEvent(t,r,n)}handleWeb3ResponseMessage(t,r){if("requestEthereumAccounts"===r.method){tO.accountRequestCallbackIds.forEach(t=>this.invokeCallback(t,r)),tO.accountRequestCallbackIds.clear();return}this.invokeCallback(t,r)}handleErrorResponse(t,r,n){var i;let o=null!==(i=null==n?void 0:n.message)&&void 0!==i?i:"Unspecified error message.";this.handleWeb3ResponseMessage(t,{method:r,errorMessage:o})}invokeCallback(t,r){let n=this.relayEventManager.callbacks.get(t);n&&(n(r),this.relayEventManager.callbacks.delete(t))}requestEthereumAccounts(){let{appName:t,appLogoUrl:r}=this.metadata,n={method:"requestEthereumAccounts",params:{appName:t,appLogoUrl:r}},i=O(8);return new Promise((t,r)=>{this.relayEventManager.callbacks.set(i,n=>
vendor: 9,379 bytes, line 9
9{if(ef(n))return r(Error(n.errorMessage));t(n)}),tO.accountRequestCallbackIds.add(i),this.publishWeb3RequestEvent(i,n)})}watchAsset(t,r,n,i,o,a){let s={method:"watchAsset",params:{type:t,options:{address:r,symbol:n,decimals:i,image:o},chainId:a}},l=null,u=O(8);return l=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,s.method,t),null==l||l()},onResetConnection:this.resetAndReload}),new Promise((t,r)=>{this.relayEventManager.callbacks.set(u,n=>{if(null==l||l(),ef(n))return r(Error(n.errorMessage));t(n)}),this.publishWeb3RequestEvent(u,s)})}addEthereumChain(t,r,n,i,o,a){let s={method:"addEthereumChain",params:{chainId:t,rpcUrls:r,blockExplorerUrls:i,chainName:o,iconUrls:n,nativeCurrency:a}},l=null,u=O(8);return l=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,s.method,t),null==l||l()},onResetConnection:this.resetAndReload}),new Promise((t,r)=>{this.relayEventManager.callbacks.set(u,n=>{if(null==l||l(),ef(n))return r(Error(n.errorMessage));t(n)}),this.publishWeb3RequestEvent(u,s)})}switchEthereumChain(t,r){let n={method:"switchEthereumChain",params:Object.assign({chainId:t},{address:r})},i=null,o=O(8);return i=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:t=>{this.publishWeb3RequestCanceledEvent(o),this.handleErrorResponse(o,n.method,t),null==i||i()},onResetConnection:this.resetAndReload}),new Promise((t,r)=>{this.relayEventManager.callbacks.set(o,n=>(null==i||i(),ef(n)&&n.errorCode)?r(p.provider.custom({code:n.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."})):ef(n)?r(Error(n.errorMessage)):void t(n)),this.publishWeb3RequestEvent(o,n)})}}tO.accountRequestCallbackIds=new Set;var tP=n(82957).Buffer;let tC="DefaultChainId",tT="DefaultJsonRpcUrl";class tM{constructor(t){this._relay=null,this._addresses=[],this.metadata=t.metadata,this._storage=new a("walletlink",tx),this.callback=t.callback||null;let r=this._storage.getItem(eh);if(r){let t=r.split(" ");""!==t[0]&&(this._addresses=t.map(t=>j(t)))}this.initializeRelay()}getSession(){let{id:t,secret:r}=this.initializeRelay().getWalletLinkSession();return{id:t,secret:r}}async handshake(){await this._eth_requestAccounts()}get selectedAddress(){return this._addresses[0]||void 0}get jsonRpcUrl(){var t;return null!==(t=this._storage.getItem(tT))&&void 0!==t?t:void 0}set jsonRpcUrl(t){this._storage.setItem(tT,t)}updateProviderInfo(t,r){var n;this.jsonRpcUrl=t;let i=this.getChainId();this._storage.setItem(tC,r.toString(10)),B(r)!==i&&(null===(n=this.callback)||void 0===n||n.call(this,"chainChanged",I(r)))}async watchAsset(t){let r=Array.isArray(t)?t[0]:t;if(!r.type)throw p.rpc.invalidParams("Type is required");if((null==r?void 0:r.type)!=="ERC20")throw p.rpc.invalidParams(`Asset of type '${r.type}' is not supported`);if(!(null==r?void 0:r.options))throw p.rpc.invalidParams("Options are required");if(!(null==r?void 0:r.options.address))throw p.rpc.invalidParams("Address is required");let n=this.getChainId(),{address:i,symbol:o,image:a,decimals:s}=r.options,l=this.initializeRelay(),u=await l.watchAsset(r.type,i,o,s,a,null==n?void 0:n.toString());return!ef(u)&&!!u.result}async addEthereumChain(t){var r,n;let i=t[0];if((null===(r=i.rpcUrls)||void 0===r?void 0:r.length)===0)throw p.rpc.invalidParams("please pass in at least 1 rpcUrl");if(!i.chainName||""===i.chainName.trim())throw p.rpc.invalidParams("chainName is a required field");if(!i.nativeCurrency)throw p.rpc.invalidParams("nativeCurrency is a required field");let o=Number.parseInt(i.chainId,16);if(o===this.getChainId())return!1;let a=this.initializeRelay(),{rpcUrls:s=[],blockExplorerUrls:l=[],chainName:u,iconUrls:c=[],nativeCurrency:d}=i,h=await a.addEthereumChain(o.toString(),s,c,l,u,d);if(ef(h))return!1;if((null===(n=h.result)||void 0===n?void 0:n.isApproved)===!0)return this.updateProviderInfo(s[0],o),null;throw p.rpc.internal("unable to add ethereum chain")}async switchEthereumChain(t){let r=Number.parseInt(t[0].chainId,16),n=this.initializeRelay(),i=await n.switchEthereumChain(r.toString(10),this.selectedAddress||void 0);if(ef(i))throw i;let o=i.result;return o.isApproved&&o.rpcUrl.length>0&&this.updateProviderInfo(o.rpcUrl,r),null}async cleanup(){this.callback=null,this._relay&&this._relay.resetAndReload(),this._storage.clear()}_setAddresses(t,r){var n;if(!Array.isArray(t))throw Error("addresses is not an array");let i=t.map(t=>j(t));JSON.stringify(i)!==JSON.stringify(this._addresses)&&(this._addresses=i,null===(n=this.callback)||void 0===n||n.call(this,"accountsChanged",i),this._storage.setItem(eh,i.join(" ")))}async request(t){let r=t.params||[];switch(t.method){case"eth_accounts":return[...this._addresses];case"eth_coinbase":return this.selectedAddress||null;case"net_version":return this.getChainId().toString(10);case"eth_chainId":return I(this.getChainId());case"eth_requestAccounts":return this._eth_requestAccounts();case"eth_ecRecover":case"personal_ecRecover":return this.ecRecover(t);case"personal_sign":return this.personalSign(t);case"eth_signTransaction":return this._eth_signTransaction(r);case"eth_sendRawTransaction":return this._eth_sendRawTransaction(r);case"eth_sendTransaction":return this._eth_sendTransaction(r);case"eth_signTypedData_v1":case"eth_signTypedData_v3":case"eth_signTypedData_v4":case"eth_signTypedData":return this.signTypedData(t);case"wallet_addEthereumChain":return this.addEthereumChain(r);case"wallet_switchEthereumChain":return this.switchEthereumChain(r);case"wallet_watchAsset":return this.watchAsset(r);default:if(!this.jsonRpcUrl)throw p.rpc.internal("No RPC URL set for chain");return ei(t,this.jsonRpcUrl)}}_ensureKnownAddress(t){let r=j(t);if(!this._addresses.map(t=>j(t)).includes(r))throw Error("Unknown Ethereum address")}_prepareTransactionParams(t){let r=t.from?j(t.from):this.selectedAddress;if(!r)throw Error("Ethereum address is unavailable");this._ensureKnownAddress(r);let n=t.to?j(t.to):null,i=null!=t.value?z(t.value):BigInt(0),o=t.data?U(t.data):tP.alloc(0),a=null!=t.nonce?B(t.nonce):null,s=null!=t.gasPrice?z(t.gasPrice):null,l=null!=t.maxFeePerGas?z(t.maxFeePerGas):null;return{fromAddress:r,toAddress:n,weiValue:i,data:o,nonce:a,gasPriceInWei:s,maxFeePerGas:l,maxPriorityFeePerGas:null!=t.maxPriorityFeePerGas?z(t.maxPriorityFeePerGas):null,gasLimit:null!=t.gas?z(t.gas):null,chainId:t.chainId?B(t.chainId):this.getChainId()}}async ecRecover(t){let{method:r,params:n}=t;if(!Array.isArray(n))throw p.rpc.invalidParams();let i=this.initializeRelay(),o=await i.sendRequest({method:"ethereumAddressFromSignedMessage",params:{message:M(n[0]),signature:M(n[1]),addPrefix:"personal_ecRecover"===r}});if(ef(o))throw o;return o.result}getChainId(){var t;return Number.parseInt(null!==(t=this._storage.getItem(tC))&&void 0!==t?t:"1",10)}async _eth_requestAccounts(){var t,r;if(this._addresses.length>0)return null===(t=this.callback)||void 0===t||t.call(this,"connect",{chainId:I(this.getChainId())}),this._addresses;let n=this.initializeRelay(),i=await n.requestEthereumAccounts();if(ef(i))throw i;if(!i.result)throw Error("accounts received is empty");return this._setAddresses(i.result),null===(r=this.callback)||void 0===r||r.call(this,"connect",{chainId:I(this.getChainId())}),this._addresses}async personalSign({params:t}){if(!Array.isArray(t))throw p.rpc.invalidParams();let r=t[1],n=t[0];this._ensureKnownAddress(r);let i=this.initializeRelay(),o=await i.sendRequest({method:"signEthereumMessage",params:{address:j(r),message:M(n),addPrefix:!0,typedDataJson:null}});if(ef(o))throw o;return o.result}async _eth_signTransaction(t){let r=this._prepareTransactionParams(t[0]||{}),n=this.initializeRelay(),i=await n.signEthereumTransaction(r);if(ef(i))throw i;return i.result}async _eth_sendRawTransaction(t){let r=U(t[0]),n=this.initializeRelay(),i=await n.submitEthereumTransaction(r,this.getChainId());if(ef(i))throw i;return i.result}async _eth_sendTransaction(t){let r=this._prepareTransactionParams(t[0]||{}),n=this.initializeRelay(),i=await n.signAndSubmitEthereumTransaction(r);if(ef(i))throw i;return i.result}async signTypedData(t){let{method:r,params:n}=t;if(!Array.isArray(n))throw p.rpc.invalidParams();let i=n["eth_signTypedData_v1"===r?1:0],o=n["eth_signTypedData_v1"===r?0:1];this._ensureKnownAddress(i);let a=this.initializeRelay(),s=await a.sendRequest({method:"signEthereumMessage",params:{address:j(i),message:T(({eth_signTypedData_v1:ed.hashForSignTypedDataLegacy,eth_signTypedData_v3:ed.hashForSignTypedData_v3,eth_signTypedData_v4:ed.hashForSignTypedData_v4,eth_signTypedData:ed.hashForSignTypedData_v4})[r]({data:function(t){if("string"==typeof t)return JSON.parse(t);if("object"==typeof t)return t;throw p.rpc.invalidParams(`Not a JSON string or an object: ${String(t)}`)}(o)}),!0),typedDataJson:JSON.stringify(o,null,2),addPrefix:!1}});if(ef(s))throw s;return s.result}initializeRelay(){return this._relay||(this._relay=new tO({linkAPIUrl:tx,storage:this._storage,metadata:this.metadata,accountsCallback:this._setAddresses.bind(this),chainCallback:this.updateProviderInfo.bind(this)})),this._relay}}let tR="SignerType",tI=new a("CBWSDK","SignerConfigurator");async function tN(t){let{communicator:r,metadata:n,handshakeRequest:i,
9callback:o}=t;tD(r,n,o).catch(()=>{});let a={id:crypto.randomUUID(),event:"selectSignerType",data:Object.assign(Object.assign({},t.preference),{handshakeRequest:i})},{data:s}=await r.postRequestAndWaitForResponse(a);return s}async function tD(t,r,n){await t.onMessage(({event:t})=>"WalletLinkSessionRequest"===t);let i=new tM({metadata:r,callback:n});t.postMessage({event:"WalletLinkUpdate",data:{session:i.getSession()}}),await i.handshake(),t.postMessage({event:"WalletLinkUpdate",data:{connected:!0}})}let tF=`Coinbase Wallet SDK requires the Cross-Origin-Opener-Policy header to not be set to 'same-origin'. This is to ensure that the SDK can communicate with the Coinbase Smart Wallet app. 10 11Please see https://www.smartwallet.dev/guides/tips/popup-tips#cross-origin-opener-policy for more information.`,{checkCrossOriginOpenerPolicy:tL,getCrossOriginOpenerPolicy:t$}={getCrossOriginOpenerPolicy:()=>void 0===i?"undefined":i,checkCrossOriginOpenerPolicy:async()=>{if("undefined"==typeof window){i="non-browser-env";return}try{let t=`${window.location.origin}${window.location.pathname}`,r=await fetch(t,{method:"HEAD"});if(!r.ok)throw Error(`HTTP error! status: ${r.status}`);let n=r.headers.get("Cross-Origin-Opener-Policy");i=null!=n?n:"null","same-origin"===i&&console.error(tF)}catch(t){console.error("Error checking Cross-Origin-Opener-Policy:",t.message),i="error"}}};class tj{constructor({url:t="https://keys.coinbase.com/connect",metadata:r,preference:n}){this.popup=null,this.listeners=new Map,this.postMessage=async t=>{(await this.waitForPopupLoaded()).postMessage(t,this.url.origin)},this.postRequestAndWaitForResponse=async t=>{let r=this.onMessage(({requestId:r})=>r===t.id);return this.postMessage(t),await r},this.onMessage=async t=>new Promise((r,n)=>{let i=n=>{if(n.origin!==this.url.origin)return;let o=n.data;t(o)&&(r(o),window.removeEventListener("message",i),this.listeners.delete(i))};window.addEventListener("message",i),this.listeners.set(i,{reject:n})}),this.disconnect=()=>{var t;(t=this.popup)&&!t.closed&&t.close(),this.popup=null,this.listeners.forEach(({reject:t},r)=>{t(p.provider.userRejectedRequest("Request rejected")),window.removeEventListener("message",r)}),this.listeners.clear()},this.waitForPopupLoaded=async()=>this.popup&&!this.popup.closed?(this.popup.focus(),this.popup):(this.popup=function(t){let r=(window.innerWidth-420)/2+window.screenX,n=(window.innerHeight-540)/2+window.screenY;(function(t){for(let[r,n]of Object.entries({sdkName:en,sdkVersion:er,origin:window.location.origin,coop:t$()}))t.searchParams.append(r,n.toString())})(t);let i=`wallet_${crypto.randomUUID()}`,o=window.open(t,i,`width=420, height=540, left=${r}, top=${n}`);if(null==o||o.focus(),!o)throw p.rpc.internal("Pop up window failed to open");return o}(this.url),this.onMessage(({event:t})=>"PopupUnload"===t).then(this.disconnect).catch(()=>{}),this.onMessage(({event:t})=>"PopupLoaded"===t).then(t=>{this.postMessage({requestId:t.id,data:{version:er,metadata:this.metadata,preference:this.preference,location:window.location.toString()}})}).then(()=>{if(!this.popup)throw p.rpc.internal();return this.popup})),this.url=new URL(t),this.metadata=r,this.preference=n}}var tU=n(87336);class tB extends tU.v{}var tz=function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n};class tH extends tB{constructor(t){var{metadata:r}=t,n=t.preference,{keysUrl:i}=n,o=tz(n,["keysUrl"]);super(),this.signer=null,this.isCoinbaseWallet=!0,this.metadata=r,this.preference=o,this.communicator=new tj({url:i,metadata:r,preference:o});let a=tI.getItem(tR);a&&(this.signer=this.initSigner(a))}async request(t){try{if(!function(t){if(!t||"object"!=typeof t||Array.isArray(t))throw p.rpc.invalidParams({message:"Expected a single, non-array, object argument.",data:t});let{method:r,params:n}=t;if("string"!=typeof r||0===r.length)throw p.rpc.invalidParams({message:"'args.method' must be a non-empty string.",data:t});if(void 0!==n&&!Array.isArray(n)&&("object"!=typeof n||null===n))throw p.rpc.invalidParams({message:"'args.params' must be an object or array if provided.",data:t});switch(r){case"eth_sign":case"eth_signTypedData_v2":case"eth_subscribe":case"eth_unsubscribe":throw p.provider.unsupportedMethod()}}(t),!this.signer)switch(t.method){case"eth_requestAccounts":{let r=await this.requestSignerSelection(t),n=this.initSigner(r);await n.handshake(t),this.signer=n,tI.setItem(tR,r);break}case"wallet_sendCalls":{let r=this.initSigner("scw");await r.handshake({method:"handshake"});let n=await r.request(t);return await r.cleanup(),n}case"wallet_getCallsStatus":return ei(t,"http://rpc.wallet.coinbase.com");case"net_version":return 1;case"eth_chainId":return I(1);default:throw p.provider.unauthorized("Must call 'eth_requestAccounts' before other methods")}return await this.signer.request(t)}catch(r){let{code:t}=r;return t===s.provider.unauthorized&&this.disconnect(),Promise.reject(function(t){let r=function(t,{shouldIncludeStack:r=!1}={}){var n,i;let o={};return t&&"object"==typeof t&&!Array.isArray(t)&&h(t,"code")&&Number.isInteger(n=t.code)&&(l[n.toString()]||(i=n)>=-32099&&i<=-32e3)?(o.code=t.code,t.message&&"string"==typeof t.message?(o.message=t.message,h(t,"data")&&(o.data=t.data)):(o.message=c(o.code),o.data={originalError:d(t)})):(o.code=s.rpc.internal,o.message=f(t,"message")?t.message:u,o.data={originalError:d(t)}),r&&(o.stack=f(t,"stack")?t.stack:void 0),o}(function(t){var r;if("string"==typeof t)return{message:t,code:s.rpc.internal};if(ef(t)){let n=t.errorMessage,i=null!==(r=t.errorCode)&&void 0!==r?r:n.match(/(denied|rejected)/i)?s.provider.userRejectedRequest:void 0;return Object.assign(Object.assign({}
11,t),{message:n,code:i,data:{method:t.method}})}return t}(t),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");return n.searchParams.set("version",er),n.searchParams.set("code",r.code.toString()),n.searchParams.set("message",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}(r))}}async enable(){return console.warn('.enable() has been deprecated. Please use .request({ method: "eth_requestAccounts" }) instead.'),await this.request({method:"eth_requestAccounts"})}async disconnect(){var t;await (null===(t=this.signer)||void 0===t?void 0:t.cleanup()),this.signer=null,a.clearAll(),this.emit("disconnect",p.provider.disconnected("User initiated disconnection"))}requestSignerSelection(t){return tN({communicator:this.communicator,preference:this.preference,metadata:this.metadata,handshakeRequest:t,callback:this.emit.bind(this)})}initSigner(t){return function(t){let{signerType:r,metadata:n,communicator:i,callback:o}=t;switch(r){case"scw":return new ec({metadata:n,callback:o,communicator:i});case"walletlink":return new tM({metadata:n,callback:o})}}({signerType:t,metadata:this.metadata,communicator:this.communicator,callback:this.emit.bind(this)})}}function tq(t){if(t){if(!["all","smartWalletOnly","eoaOnly"].includes(t.options))throw Error(`Invalid options: ${t.options}`);if(t.attribution&&void 0!==t.attribution.auto&&void 0!==t.attribution.dataSuffix)throw Error("Attribution cannot contain both auto and dataSuffix properties")}}class tV{constructor(t){this.metadata={appName:t.appName||"Dapp",appLogoUrl:t.appLogoUrl||function(){let t=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:r,host:n}=document.location,i=t?t.getAttribute("href"):null;return!i||i.startsWith("javascript:")||i.startsWith("vbscript:")?`${r}//${n}/favicon.ico`:i.startsWith("http://")||i.startsWith("https://")||i.startsWith("data:")?i:i.startsWith("//")?r+i:`${r}//${n}${i}`}(),appChainIds:t.appChainIds||[]},this.storeLatestVersion(),tL()}makeWeb3Provider(t={options:"all"}){var r;tq(t);let n={metadata:this.metadata,preference:t};return null!==(r=eo(n))&&void 0!==r?r:new tH(n)}getCoinbaseWalletLogo(t,r=240){return o(t,r)}storeLatestVersion(){new a("CBWSDK").setItem("VERSION",er)}}let tG={options:"all"};function tW(t){var r;new a("CBWSDK").setItem("VERSION",er),tL();let n={metadata:{appName:t.appName||"Dapp",appLogoUrl:t.appLogoUrl||"",appChainIds:t.appChainIds||[]},preference:Object.assign(tG,null!==(r=t.preference)&&void 0!==r?r:{})};tq(n.preference);let i=null;return{getProvider:()=>(i||(i=function(t){var r;let n={metadata:t.metadata,preference:t.preference};return null!==(r=eo(n))&&void 0!==r?r:new tH(n)}(n)),i)}}var tK=tV},73842:function(t,r,n){"use strict";n.d(r,{X:function(){return u}});var i=n(29501);let o=(t,r,n)=>{if(t&&"reportValidity"in t){let o=(0,i.U2)(n,r);t.setCustomValidity(o&&o.message||""),t.reportValidity()}},a=(t,r)=>{for(let n in r.fields){let i=r.fields[n];i&&i.ref&&"reportValidity"in i.ref?o(i.ref,n,t):i.refs&&i.refs.forEach(r=>o(r,n,t))}},s=(t,r)=>{r.shouldUseNativeValidation&&a(t,r);let n={};for(let o in t){let a=(0,i.U2)(r.fields,o),s=Object.assign(t[o]||{},{ref:a&&a.ref});if(l(r.names||Object.keys(t),o)){let t=Object.assign({},(0,i.U2)(n,o));(0,i.t8)(t,"root",s),(0,i.t8)(n,o,t)}else(0,i.t8)(n,o,s)}return n},l=(t,r)=>t.some(t=>t.startsWith(r+"."));function u(t,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),function(o,l,u){try{return Promise.resolve(function(i,s){try{var c=(r.context,Promise.resolve(t["sync"===n.mode?"validateSync":"validate"](o,Object.assign({abortEarly:!1},r,{context:l}))).then(function(t){return u.shouldUseNativeValidation&&a({},u),{values:n.raw?o:t,errors:{}}}))}catch(t){return s(t)}return c&&c.then?c.then(void 0,s):c}(0,function(t){var r;if(!t.inner)throw t;return{values:{},errors:s((r=!u.shouldUseNativeValidation&&"all"===u.criteriaMode,(t.inner||[]).reduce(function(t,n){if(t[n.path]||(t[n.path]={message:n.message,type:n.type}),r){var o=t[n.path].types,a=o&&o[n.type];t[n.path]=(0,i.KN)(n.path,r,t,n.type,a?[].concat(a,n.message):n.message)}return t},{})),u)}}))}catch(t){return Promise.reject(t)}}}},68720:function(t,r,n){"use strict";let i;n.d(r,{JO:function(){return e_}});var o,a=n(2265);let s=/^[a-z0-9]+(-[a-z0-9]+)*$/,l=(t,r,n,i="")=>{let o=t.split(":");if("@"===t.slice(0,1)){if(o.length<2||o.length>3)return null;i=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>
111){let t=o.pop(),n=o.pop(),a={provider:o.length>0?o[0]:i,prefix:n,name:t};return r&&!u(a)?null:a}let a=o[0],s=a.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return r&&!u(t)?null:t}if(n&&""===i){let t={provider:i,prefix:"",name:a};return r&&!u(t,n)?null:t}return null},u=(t,r)=>!!t&&!!((""===t.provider||t.provider.match(s))&&(r&&""===t.prefix||t.prefix.match(s))&&t.name.match(s)),c=Object.freeze({left:0,top:0,width:16,height:16}),d=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...c,...d}),f=Object.freeze({...h,body:"",hidden:!1});function p(t,r){let n=function(t,r){let n={};!t.hFlip!=!r.hFlip&&(n.hFlip=!0),!t.vFlip!=!r.vFlip&&(n.vFlip=!0);let i=((t.rotate||0)+(r.rotate||0))%4;return i&&(n.rotate=i),n}(t,r);for(let i in f)i in d?i in t&&!(i in n)&&(n[i]=d[i]):i in r?n[i]=r[i]:i in t&&(n[i]=t[i]);return n}function m(t,r){let n=[];if("object"!=typeof t||"object"!=typeof t.icons)return n;t.not_found instanceof Array&&t.not_found.forEach(t=>{r(t,null),n.push(t)});let i=function(t,r){let n=t.icons,i=t.aliases||Object.create(null),o=Object.create(null);return Object.keys(n).concat(Object.keys(i)).forEach(function t(r){if(n[r])return o[r]=[];if(!(r in o)){o[r]=null;let n=i[r]&&i[r].parent,a=n&&t(n);a&&(o[r]=[n].concat(a))}return o[r]}),o}(t);for(let o in i){let a=i[o];a&&(r(o,function(t,r,n){let i=t.icons,o=t.aliases||Object.create(null),a={};function s(t){a=p(i[t]||o[t],a)}return s(r),n.forEach(s),p(t,a)}(t,o,a)),n.push(o))}return n}let g={provider:"",aliases:{},not_found:{},...c};function y(t,r){for(let n in r)if(n in t&&typeof t[n]!=typeof r[n])return!1;return!0}function v(t){if("object"!=typeof t||null===t||"string"!=typeof t.prefix||!t.icons||"object"!=typeof t.icons||!y(t,g))return null;let r=t.icons;for(let t in r){let n=r[t];if(!t.match(s)||"string"!=typeof n.body||!y(n,f))return null}let n=t.aliases||Object.create(null);for(let t in n){let i=n[t],o=i.parent;if(!t.match(s)||"string"!=typeof o||!r[o]&&!n[o]||!y(i,f))return null}return t}let b=Object.create(null);function w(t,r){let n=b[t]||(b[t]=Object.create(null));return n[r]||(n[r]={provider:t,prefix:r,icons:Object.create(null),missing:new Set})}function _(t,r){return v(r)?m(r,(r,n)=>{n?t.icons[r]=n:t.missing.add(r)}):[]}let S=!1;function E(t){return"boolean"==typeof t&&(S=t),S}let A=Object.freeze({width:null,height:null}),x=Object.freeze({...A,...d}),k=/(-?[0-9.]*[0-9]+[0-9.]*)/g,O=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function P(t,r,n){if(1===r)return t;if(n=n||100,"number"==typeof t)return Math.ceil(t*r*n)/n;if("string"!=typeof t)return t;let i=t.split(k);if(null===i||!i.length)return t;let o=[],a=i.shift(),s=O.test(a);for(;;){if(s){let t=parseFloat(a);isNaN(t)?o.push(a):o.push(Math.ceil(t*r*n)/n)}else o.push(a);if(void 0===(a=i.shift()))return o.join("");s=!s}}let C=t=>"unset"===t||"undefined"===t||"none"===t,T=/\sid="(\S+)"/g,M="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),R=0,I=Object.create(null);function N(t){return I[t]||I[""]}function D(t){let r;if("string"==typeof t.resources)r=[t.resources];else if(!((r=t.resources)instanceof Array)||!r.length)return null;return{resources:r,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:!0===t.random,index:t.index||0,dataAfterTimeout:!1!==t.dataAfterTimeout}}let F=Object.create(null),L=["https://api.simplesvg.com","https://api.unisvg.com"],$=[];for(;L.length>0;)1===L.length?$.push(L.shift()):Math.random()>.5?$.push(L.shift()):$.push(L.pop());F[""]=D({resources:["https://api.iconify.design"].concat($)});let j=(()=>{let t;try{if(t=fetch,"function"==typeof t)return t}catch(t){}})();function U(t,r){t.forEach(t=>{let n=t.loaderCallbacks;n&&(t.loaderCallbacks=n.filter(t=>t.id!==r))})}let B=0;var z={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function H(t){let r={...z,...t},n=[];function i(){n=n.filter(t=>"pending"===t().status)}return{query:function(t,o,a){let s=function(t,r,n,i){let o,a;let s=t.resources.length,l=t.random?Math.floor(Math.random()*s):t.index;if(t.random){let r=t.resources.slice(0);for(o=[];r.length>1;){let t=Math.floor(Math.random()*r.length);o.push(r[t]),r=r.slice(0,t).concat(r.slice(t+1))}o=o.concat(r)}else o=t.resources.slice(l).concat(t.resources.slice(0,l));let u=Date.now(),c="pending",d=0,h=null,f=[],p=[];function m(){h&&(clearTimeout(h),h=null)}function g(){"pending"===c&&(c="aborted"),m(),f.forEach(t=>{"pending"===t.status&&(t.status="aborted")}),f=[]}function y(t,r){r&&(p=[]),"function"==typeof t&&p.push(t)}function v(){c="failed",p.forEach(t=>{t(void 0,a)})}function b(){f.forEach(t=>{"pending"===t.status&&(t.status="aborted")}),f=[]}return"function"==typeof i&&p.push(i),setTimeout(function i(){if("pending"!==c)return;m();let s=o.shift();if(void 0===s){if(f.length){h=setTimeout(()=>{m(),"pending"===c&&(b(),v())},t.timeout);return}v();return}let l={status:"pending",resource:s,callback:(r,n)=>{!function(r,n,s){let l="success"!==n;switch(f=f.filter(t=>
11t!==r),c){case"pending":break;case"failed":if(l||!t.dataAfterTimeout)return;break;default:return}if("abort"===n){a=s,v();return}if(l){a=s,f.length||(o.length?i():v());return}if(m(),b(),!t.random){let n=t.resources.indexOf(r.resource);-1!==n&&n!==t.index&&(t.index=n)}c="completed",p.forEach(t=>{t(s)})}(l,r,n)}};f.push(l),d++,h=setTimeout(i,t.rotate),n(s,r,l.callback)}),function(){return{startTime:u,payload:r,status:c,queriesSent:d,queriesPending:f.length,subscribe:y,abort:g}}}(r,t,o,(t,r)=>{i(),a&&a(t,r)});return n.push(s),s},find:function(t){return n.find(r=>t(r))||null},setIndex:t=>{r.index=t},getIndex:()=>r.index,cleanup:i}}let q=Object.create(null),V="iconify2",G="iconify",W=G+"-count",K=G+"-version";function Y(t,r){try{return t.getItem(r)}catch(t){}}function Z(t,r,n){try{return t.setItem(r,n),!0}catch(t){}}function X(t,r){try{t.removeItem(r)}catch(t){}}function J(t,r){return Z(t,W,r.toString())}function Q(t){return parseInt(Y(t,W))||0}let ee={local:!0,session:!0},et={local:new Set,session:new Set},er=!1,en="undefined"==typeof window?{}:window;function ei(t){let r=t+"Storage";try{if(en&&en[r]&&"number"==typeof en[r].length)return en[r]}catch(t){}ee[t]=!1}function eo(t,r){let n=ei(t);if(!n)return;let i=Y(n,K);if(i!==V){if(i){let t=Q(n);for(let r=0;r<t;r++)X(n,G+r.toString())}Z(n,K,V),J(n,0);return}let o=Math.floor(Date.now()/36e5)-168,a=t=>{let i=G+t.toString(),a=Y(n,i);if("string"==typeof a){try{let n=JSON.parse(a);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>o&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&r(n,t))return!0}catch(t){}X(n,i)}},s=Q(n);for(let r=s-1;r>=0;r--)a(r)||(r===s-1?J(n,--s):et[t].add(r))}function ea(){if(!er)for(let t in er=!0,ee)eo(t,t=>{let r=t.data,n=w(t.provider,r.prefix);if(!_(n,r).length)return!1;let i=r.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,i):i,!0})}function es(){}let el=(t,r)=>{let n,i;let o=function(t){let r={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((t,r)=>t.provider!==r.provider?t.provider.localeCompare(r.provider):t.prefix!==r.prefix?t.prefix.localeCompare(r.prefix):t.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(t=>{if(i.name===t.name&&i.prefix===t.prefix&&i.provider===t.provider)return;i=t;let o=t.provider,a=t.prefix,s=t.name,l=n[o]||(n[o]=Object.create(null)),u=l[a]||(l[a]=w(o,a));(s in u.icons?r.loaded:""===a||u.missing.has(s)?r.missing:r.pending).push({provider:o,prefix:a,name:s})}),r}(function(t,r=!0,n=!1){let i=[];return t.forEach(t=>{let o="string"==typeof t?l(t,r,n):t;o&&i.push(o)}),i}(t,!0,E()));if(!o.pending.length){let t=!0;return r&&setTimeout(()=>{t&&r(o.loaded,o.missing,o.pending,es)}),()=>{t=!1}}let a=Object.create(null),s=[];return o.pending.forEach(t=>{let{provider:r,prefix:o}=t;if(o===i&&r===n)return;n=r,i=o,s.push(w(r,o));let l=a[r]||(a[r]=Object.create(null));l[o]||(l[o]=[])}),o.pending.forEach(t=>{let{provider:r,prefix:n,name:i}=t,o=w(r,n),s=o.pendingIcons||(o.pendingIcons=new Set);s.has(i)||(s.add(i),a[r][n].push(i))}),s.forEach(t=>{let{provider:r,prefix:n}=t;if(a[r][n].length){var i;i=a[r][n],t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(i).sort():t.iconsToLoad=i,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{let r;t.iconsQueueFlag=!1;let{provider:n,prefix:i}=t,o=t.iconsToLoad;delete t.iconsToLoad,o&&(r=N(n))&&r.prepare(n,i,o).forEach(r=>{!function(t,r,n){let i,o;if("string"==typeof t){let r=N(t);if(!r)return n(void 0,424);o=r.send;let a=function(t){if(!q[t]){let r=F[t];if(!r)return;let n=H(r);q[t]={config:r,redundancy:n}}return q[t]}(t);a&&(i=a.redundancy)}else{let r=D(t);if(r){i=H(r);let n=N(t.resources?t.resources[0]:"");n&&(o=n.send)}}i&&o?i.query(r,o,n)().abort:n(void 0,424)}(n,r,n=>{if("object"!=typeof n)r.icons.forEach(r=>{t.missing.add(r)});else try{let r=_(t,n);if(!r.length)return;let i=t.pendingIcons;i&&r.forEach(t=>{i.delete(t)}),function(t,r){function n(n){let i,o;if(!ee[n]||!(i=ei(n)))return;let a=et[n];if(a.size)a.delete(o=Array.from(a).shift());else if(o=Q(i),!J(i,o+1))return;let s={cached:Math.floor(Date.now()/36e5),provider:t.provider,data:r};return Z(i,G+o.toString(),JSON.stringify(s))}er||ea(),(!r.lastModified||function(t,r){let n=t.lastModifiedCached;if(n&&n>=r)return n===r;if(t.lastModifiedCached=r,n)for(let n in ee)eo(n,n=>{let i=n.data;return n.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===r});return!0}(t,r.lastModified))&&Object.keys(r.icons).length&&(r.not_found&&(r=Object.assign({},r),delete r.not_found),n("local")||n("session"))}(t,n)}catch(t){console.error(t)}t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>
11{t.iconsLoaderFlag=!1,t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;let r=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!r.length)return;let n=!1,i=t.provider,o=t.prefix;r.forEach(r=>{let a=r.icons,s=a.pending.length;a.pending=a.pending.filter(r=>{if(r.prefix!==o)return!0;let s=r.name;if(t.icons[s])a.loaded.push({provider:i,prefix:o,name:s});else{if(!t.missing.has(s))return n=!0,!0;a.missing.push({provider:i,prefix:o,name:s})}return!1}),a.pending.length!==s&&(n||U([t],r.id),r.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),r.abort))})}))}))})})}))}}),r?function(t,r,n){let i=B++,o=U.bind(null,n,i);if(!r.pending.length)return o;let a={id:i,icons:r,callback:t,abort:o};return n.forEach(t=>{(t.loaderCallbacks||(t.loaderCallbacks=[])).push(a)}),o}(r,o,s):es},eu=/[\s,]+/,ec={...x,inline:!1},ed={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},eh={display:"inline-block"},ef={backgroundColor:"currentColor"},ep={backgroundColor:"transparent"},em={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},eg={WebkitMask:ef,mask:ef,background:ep};for(let t in eg){let r=eg[t];for(let n in em)r[t+n]=em[n]}let ey={...ec,inline:!0};function ev(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}let eb=(t,r,n,o)=>{let s=n?ey:ec,l=function(t,r){let n={...t};for(let t in r){let i=r[t],o=typeof i;t in A?(null===i||i&&("string"===o||"number"===o))&&(n[t]=i):o===typeof n[t]&&(n[t]="rotate"===t?i%4:i)}return n}(s,r),u=r.mode||"svg",c={},d=r.style||{},f={..."svg"===u?ed:{},ref:o};for(let t in r){let n=r[t];if(void 0!==n)switch(t){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":l[t]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&function(t,r){r.split(eu).forEach(r=>{switch(r.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0}})}(l,n);break;case"color":c.color=n;break;case"rotate":"string"==typeof n?l[t]=function(t,r=0){let n=t.replace(/^-?[0-9.]*/,"");function i(t){for(;t<0;)t+=4;return t%4}if(""===n){let r=parseInt(t);return isNaN(r)?0:i(r)}if(n!==t){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let o=parseFloat(t.slice(0,t.length-n.length));return isNaN(o)?0:(o/=r)%1==0?i(o):0}}return r}(n):"number"==typeof n&&(l[t]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete f["aria-hidden"];break;default:void 0===s[t]&&(f[t]=n)}}let p=function(t,r){let n,i;let o={...h,...t},a={...x,...r},s={left:o.left,top:o.top,width:o.width,height:o.height},l=o.body;[o,a].forEach(t=>{let r;let n=[],i=t.hFlip,o=t.vFlip,a=t.rotate;switch(i?o?a+=2:(n.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),n.push("scale(-1 1)"),s.top=s.left=0):o&&(n.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),n.push("scale(1 -1)"),s.top=s.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4){case 1:n.unshift("rotate(90 "+(r=s.height/2+s.top).toString()+" "+r.toString()+")");break;case 2:n.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:n.unshift("rotate(-90 "+(r=s.width/2+s.left).toString()+" "+r.toString()+")")}a%2==1&&(s.left!==s.top&&(r=s.left,s.left=s.top,s.top=r),s.width!==s.height&&(r=s.width,s.width=s.height,s.height=r)),n.length&&(l='
11<g transform="'+n.join(" ")+'">'+l+"</g>")});let u=a.width,c=a.height,d=s.width,f=s.height;null===u?n=P(i=null===c?"1em":"auto"===c?f:c,d/f):(n="auto"===u?d:u,i=null===c?P(n,f/d):"auto"===c?f:c);let p={},m=(t,r)=>{C(r)||(p[t]=r.toString())};return m("width",n),m("height",i),p.viewBox=s.left.toString()+" "+s.top.toString()+" "+d.toString()+" "+f.toString(),{attributes:p,body:l}}(t,l),m=p.attributes;if(l.inline&&(c.verticalAlign="-0.125em"),"svg"===u){var g;f.style={...c,...d},Object.assign(f,m);let t=0,n=r.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),f.dangerouslySetInnerHTML={__html:(g=function(t,r=M){let n;let i=[];for(;n=T.exec(t);)i.push(n[1]);if(!i.length)return t;let o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return i.forEach(n=>{let i="function"==typeof r?r(n):r+(R++).toString(),a=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),t=t.replace(RegExp(o,"g"),"")}(p.body,n?()=>n+"ID"+t++:"iconifyReact"),void 0===i&&function(){try{i=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch(t){i=null}}(),i?i.createHTML(g):g)},a.createElement("svg",f)}let{body:y,width:v,height:b}=t,w="mask"===u||"bg"!==u&&-1!==y.indexOf("currentColor"),_=function(t,r){let n=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in r)n+=" "+t+'="'+r[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}(y,{...m,width:v+"",height:b+""});return f.style={...c,"--svg":'url("data:image/svg+xml,'+_.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")+'")',width:ev(m.width),height:ev(m.height),...eh,...w?ef:ep,...d},a.createElement("span",f)};if(E(!0),o={prepare:(t,r,n)=>{let i=[],o=function(t,r){let n;let i=F[t];if(!i)return 0;if(i.maxURL){let t=0;i.resources.forEach(r=>{t=Math.max(t,r.length)}),n=i.maxURL-t-i.path.length-(r+".json?icons=").length}else n=0;return n}(t,r),a="icons",s={type:a,provider:t,prefix:r,icons:[]},l=0;return n.forEach((n,u)=>{(l+=n.length+1)>=o&&u>0&&(i.push(s),s={type:a,provider:t,prefix:r,icons:[]},l=n.length),s.icons.push(n)}),i.push(s),i},send:(t,r,n)=>{if(!j){n("abort",424);return}let i=function(t){if("string"==typeof t){let r=F[t];if(r)return r.path}return"/"}(r.provider);switch(r.type){case"icons":i+=r.prefix+".json?"+new URLSearchParams({icons:r.icons.join(",")}).toString();break;case"custom":{let t=r.uri;i+="/"===t.slice(0,1)?t.slice(1):t;break}default:n("abort",400);return}let o=503;j(t+i).then(t=>{let r=t.status;if(200!==r){setTimeout(()=>{n(404===r?"abort":"next",r)});return}return o=501,t.json()}).then(t=>{if("object"!=typeof t||null===t){setTimeout(()=>{404===t?n("abort",t):n("next",o)});return}setTimeout(()=>{n("success",t)})}).catch(()=>{n("next",o)})}},I[""]=o,"undefined"!=typeof document&&"undefined"!=typeof window){ea();let t=window;if(void 0!==t.IconifyPreload){let r=t.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof r&&null!==r&&(r instanceof Array?r:[r]).forEach(t=>{try{("object"!=typeof t||null===t||t instanceof Array||"object"!=typeof t.icons||"string"!=typeof t.prefix||!function(t,r){if("object"!=typeof t)return!1;if("string"!=typeof r&&(r=t.provider||""),S&&!r&&!t.prefix){let r=!1;return v(t)&&(t.prefix="",m(t,(t,n)=>{n&&function(t,r){let n=l(t,!0,S);return!!n&&function(t,r,n){try{if("string"==typeof n.body)return t.icons[r]={...n},!0}catch(t){}return!1}(w(n.provider,n.prefix),n.name,r)}(t,n)&&(r=!0)})),r}let n=t.prefix;return!!u({provider:r,prefix:n,name:"a"})&&!!_(w(r,n),t)}(t))&&console.error(n)}catch(t){console.error(n)}})}if(void 0!==t.IconifyProviders){let r=t.IconifyProviders;if("object"==typeof r&&null!==r)for(let t in r){let n="IconifyProviders["+t+"] is invalid.";try{let i=r[t];if("object"!=typeof i||!i||void 0===i.resources)continue;!function(t,r){let n=D(r);return null!==n&&(F[t]=n,!0)}(t,i)&&console.error(n)}catch(t){console.error(n)}}}}class ew extends a.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){let r;let n=this.state,i=this.props.icon;if("object"==typeof i&&null!==i&&"string"==typeof i.body){this._icon="",this._abortLoading(),(t||null===n.icon)&&this._setData({data:i});return}if("string"!=typeof i||null===(r=l(i,!1,!0))){this._abortLoading(),this._setData(null);return}let o=function(t){let r="string"==typeof t?l(t,!0,S):t;if(r){let t=w(r.provider,r.prefix),n=r.name;return t.icons[n]||(t.missing.has(n)?null:void 0)}}(r);if(!o){this._loading&&this._loading.name===i||(this._abortLoading(),this._icon="",this._setData(null),null!==o&&(this._loading={name:i,abort:el([r],this._checkIcon.bind(this,!1))}));return}if(this._icon!==i||null===n.icon){this._abortLoading(),this._icon=i;let t=["iconify"];
11""!==r.prefix&&t.push("iconify--"+r.prefix),""!==r.provider&&t.push("iconify--"+r.provider),this._setData({data:o,classes:t}),this.props.onLoad&&this.props.onLoad(i)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){let t=this.props,r=this.state.icon;if(null===r)return t.children?t.children:a.createElement("span",{});let n=t;return r.classes&&(n={...t,className:("string"==typeof t.className?t.className+" ":"")+r.classes.join(" ")}),eb({...h,...r.data},n,t._inline,t._ref)}}let e_=a.forwardRef(function(t,r){let n={...t,_ref:r,_inline:!1};return a.createElement(ew,n)});a.forwardRef(function(t,r){let n={...t,_ref:r,_inline:!0};return a.createElement(ew,n)})},74043:function(t,r,n){"use strict";function i(t){if(!Number.isSafeInteger(t)||t<0)throw Error("positive integer expected, got "+t)}function o(t,...r){if(!(t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name))throw Error("Uint8Array expected");if(r.length>0&&!r.includes(t.length))throw Error("Uint8Array expected of length "+r+", got length="+t.length)}function a(t){if("function"!=typeof t||"function"!=typeof t.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(t.outputLen),i(t.blockLen)}function s(t,r=!0){if(t.destroyed)throw Error("Hash instance has been destroyed");if(r&&t.finished)throw Error("Hash#digest() has already been called")}function l(t,r){o(t);let n=r.outputLen;if(t.length<n)throw Error("digestInto() expects output buffer of length at least "+n)}n.d(r,{$h:function(){return s},eB:function(){return l},gk:function(){return o},k8:function(){return i},z3:function(){return a}})},21512:function(t,r,n){"use strict";n.d(r,{JQ:function(){return d}});var i=n(74043),o=n(25884);class a extends o.kb{constructor(t,r,n,i){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,o.GL)(this.buffer)}update(t){(0,i.$h)(this);let{view:r,buffer:n,blockLen:a}=this,s=(t=(0,o.O0)(t)).length;for(let i=0;i<s;){let l=Math.min(a-this.pos,s-i);if(l===a){let r=(0,o.GL)(t);for(;a<=s-i;i+=a)this.process(r,i);continue}n.set(t.subarray(i,i+l),this.pos),this.pos+=l,i+=l,this.pos===a&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){(0,i.$h)(this),(0,i.eB)(t,this),this.finished=!0;let{buffer:r,view:n,blockLen:a,isLE:s}=this,{pos:l}=this;r[l++]=128,this.buffer.subarray(l).fill(0),this.padOffset>a-l&&(this.process(n,0),l=0);for(let t=l;t<a;t++)r[t]=0;!function(t,r,n,i){if("function"==typeof t.setBigUint64)return t.setBigUint64(r,n,i);let o=BigInt(32),a=BigInt(4294967295),s=Number(n>>o&a),l=Number(n&a),u=i?4:0,c=i?0:4;t.setUint32(r+u,s,i),t.setUint32(r+c,l,i)}(n,a-8,BigInt(8*this.length),s),this.process(n,0);let u=(0,o.GL)(t),c=this.outputLen;if(c%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=c/4,h=this.get();if(d>h.length)throw Error("_sha2: outputLen bigger than state");for(let t=0;t<d;t++)u.setUint32(4*t,h[t],s)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:r,buffer:n,length:i,finished:o,destroyed:a,pos:s}=this;return t.length=i,t.pos=s,t.finished=o,t.destroyed=a,i%r&&t.buffer.set(n),t}}let s=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,2756
11734187,3204031479,3329325298]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class c extends a{constructor(){super(64,32,8,!1),this.A=0|l[0],this.B=0|l[1],this.C=0|l[2],this.D=0|l[3],this.E=0|l[4],this.F=0|l[5],this.G=0|l[6],this.H=0|l[7]}get(){let{A:t,B:r,C:n,D:i,E:o,F:a,G:s,H:l}=this;return[t,r,n,i,o,a,s,l]}set(t,r,n,i,o,a,s,l){this.A=0|t,this.B=0|r,this.C=0|n,this.D=0|i,this.E=0|o,this.F=0|a,this.G=0|s,this.H=0|l}process(t,r){for(let n=0;n<16;n++,r+=4)u[n]=t.getUint32(r,!1);for(let t=16;t<64;t++){let r=u[t-15],n=u[t-2],i=(0,o.np)(r,7)^(0,o.np)(r,18)^r>>>3,a=(0,o.np)(n,17)^(0,o.np)(n,19)^n>>>10;u[t]=a+u[t-7]+i+u[t-16]|0}let{A:n,B:i,C:a,D:l,E:c,F:d,G:h,H:f}=this;for(let t=0;t<64;t++){var p,m,g,y;let r=f+((0,o.np)(c,6)^(0,o.np)(c,11)^(0,o.np)(c,25))+((p=c)&d^~p&h)+s[t]+u[t]|0,v=((0,o.np)(n,2)^(0,o.np)(n,13)^(0,o.np)(n,22))+((m=n)&(g=i)^m&(y=a)^g&y)|0;f=h,h=d,d=c,c=l+r|0,l=a,a=i,i=n,n=r+v|0}n=n+this.A|0,i=i+this.B|0,a=a+this.C|0,l=l+this.D|0,c=c+this.E|0,d=d+this.F|0,h=h+this.G|0,f=f+this.H|0,this.set(n,i,a,l,c,d,h,f)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let d=(0,o.hE)(()=>new c)},25884:function(t,r,n){"use strict";n.d(r,{kb:function(){return m},l1:function(){return c},ci:function(){return h},eV:function(){return p},GL:function(){return s},iA:function(){return u},O6:function(){return y},np:function(){return l},O0:function(){return f},Jq:function(){return a},hE:function(){return g}});let i="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;var o=n(74043);function a(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function s(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function l(t,r){return t<<32-r|t>>>r}let u=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];function c(t){for(let n=0;n<t.length;n++){var r;t[n]=(r=t[n])<<24&4278190080|r<<8&16711680|r>>>8&65280|r>>>24&255}}let d=Array.from({length:256},(t,r)=>r.toString(16).padStart(2,"0"));function h(t){(0,o.gk)(t);let r="";for(let n=0;n<t.length;n++)r+=d[t[n]];return r}function f(t){return"string"==typeof t&&(t=function(t){if("string"!=typeof t)throw Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}(t)),(0,o.gk)(t),t}function p(...t){let r=0;for(let n=0;n<t.length;n++){let i=t[n];(0,o.gk)(i),r+=i.length}let n=new Uint8Array(r);for(let r=0,i=0;r<t.length;r++){let o=t[r];n.set(o,i),i+=o.length}return n}class m{clone(){return this._cloneInto()}}function g(t){let r=r=>t().update(f(r)).digest(),n=t();return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=()=>t(),r}function y(t=32){if(i&&"function"==typeof i.getRandomValues)return i.getRandomValues(new Uint8Array(t));if(i&&"function"==typeof i.randomBytes)return i.randomBytes(t);throw Error("crypto.getRandomValues must be defined")}},20301:function(t,r,n){"use strict";n.d(r,{xC:function(){return ei},oM:function(){return eu}});var i,o,a=n(59688);function s(t){return({dispatch:r,getState:n})=>i=>o=>"function"==typeof o?o(r,n,t):i(o)}var l=s(),u=Symbol.for("immer-nothing"),c=Symbol.for("immer-draftable"),d=Symbol.for("immer-state");function h(t,...r){throw Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var f=Object.getPrototypeOf;function p(t){return!!t&&!!t[d]}function m(t){return!!t&&(y(t)||Array.isArray(t)||!!t[c]||!!t.constructor?.[c]||S(t)||E(t))}var g=Object.prototype.constructor.toString();function y(t){if(!t||"object"!=typeof t)return!1;let r=f(t);if(null===r)return!0;let n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===g}function v(t,r){0===b(t)?Reflect.ownKeys(t).forEach(n=>{r(n,t[n],t)}):t.forEach((n,i)=>r(i,n,t))}function b(t){let r=t[d];return r?r.type_:Array.isArray(t)?1:S(t)?2:E(t)?3:0}function w(t,r){return 2===b(t)?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function _(t,r,n){let i=b(t);2===i?t.set(r,n):3===i?t.add(n):t[r]=n}function S(t){return t instanceof Map}function E(t){return t instanceof Set}function A(t){return t.copy_||t.base_}function x(t,r){if(S(t))return new Map(t);if(E(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);let n=y(t);if(!0!==r&&("class_only"!==r||n)){let r=f(t);return null!==r&&n?{...t}:Object.assign(Object.create(r),t)}{let r=Object.getOwnPropertyDescriptors(t);delete r[d];let n=Reflect.ownKeys(r);for(let i=0;i<n.length;i++){let o=n[i],a=r[o];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[o]})}return Object.create(f(t),r)}}function k(t,r=!1){return P(t)||p(t)||!m(t)||(b(t)>1&&(t.set=t.add=t.clear=t.delete=O),Object.freeze(t),r&&Object.entries(t).forEach(([t,r])=>k(r,!0))),t}function O(){h(2)}function P(t){return Object.isFrozen(t)}var C={};function T(t){let r=C[t];return r||h(0,t),r}function M(t,r){r&&(T("Patches"),t.patches_=[],t.inversePatches_=[],t.patchListener_=r)}function R(t){I(t),t.drafts_.forEach(D),t.drafts_=null}function I(t){t===o&&(o=t.parent_)}function N(t){return o={drafts_:[],parent_:o,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function D(t){let r=t[d];0===r.type_||1===r.type_?r.revoke_():r.revoked_=!0}function F(t,r){r.unfinalizedDrafts_=r.drafts_.length;let n=r.drafts_[0];return void 0!==t&&t!==n?(n[d].modified_&&(R(r),h(4)),m(t)&&(t=L(r,t),r.parent_||j(r,t)),r.patches_&&T("Patches").generateReplacementPatches_(n[d].base_,t,r.patches_,r.inversePatches_)):t=L(r,n,[]),R(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),t!==u?t:void 0}function L(t,r,n){if(P(r))return r;let i=r[d];if(!i)return v(r,(o,a)=>$(t,i,r,o,a,n)),r;if(i.scope_!==t)return r;if(!i.modified_)return j(t,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let r=i.copy_,o=r,a=!1;3===i.type_&&(o=new Set(r),r.clear(),a=!0),v(o,(o,s)=>$(t,i,r,o,s,n,a)),j(t,r,!1),n&&t.patches_&&T("Patches").generatePatches_(i,n,t.patches_,t.inversePatches_)}return i.copy_}
11function $(t,r,n,i,o,a,s){if(p(o)){let s=L(t,o,a&&r&&3!==r.type_&&!w(r.assigned_,i)?a.concat(i):void 0);if(_(n,i,s),!p(s))return;t.canAutoFreeze_=!1}else s&&n.add(o);if(m(o)&&!P(o)){if(!t.immer_.autoFreeze_&&t.unfinalizedDrafts_<1)return;L(t,o),(!r||!r.scope_.parent_)&&"symbol"!=typeof i&&Object.prototype.propertyIsEnumerable.call(n,i)&&j(t,o)}}function j(t,r,n=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&k(r,n)}var U={get(t,r){if(r===d)return t;let n=A(t);if(!w(n,r))return function(t,r,n){let i=H(r,n);return i?"value"in i?i.value:i.get?.call(t.draft_):void 0}(t,n,r);let i=n[r];return t.finalized_||!m(i)?i:i===z(t.base_,r)?(V(t),t.copy_[r]=G(i,t)):i},has:(t,r)=>r in A(t),ownKeys:t=>Reflect.ownKeys(A(t)),set(t,r,n){let i=H(A(t),r);if(i?.set)return i.set.call(t.draft_,n),!0;if(!t.modified_){let i=z(A(t),r),o=i?.[d];if(o&&o.base_===n)return t.copy_[r]=n,t.assigned_[r]=!1,!0;if((n===i?0!==n||1/n==1/i:n!=n&&i!=i)&&(void 0!==n||w(t.base_,r)))return!0;V(t),q(t)}return!!(t.copy_[r]===n&&(void 0!==n||r in t.copy_)||Number.isNaN(n)&&Number.isNaN(t.copy_[r]))||(t.copy_[r]=n,t.assigned_[r]=!0,!0)},deleteProperty:(t,r)=>(void 0!==z(t.base_,r)||r in t.base_?(t.assigned_[r]=!1,V(t),q(t)):delete t.assigned_[r],t.copy_&&delete t.copy_[r],!0),getOwnPropertyDescriptor(t,r){let n=A(t),i=Reflect.getOwnPropertyDescriptor(n,r);return i?{writable:!0,configurable:1!==t.type_||"length"!==r,enumerable:i.enumerable,value:n[r]}:i},defineProperty(){h(11)},getPrototypeOf:t=>f(t.base_),setPrototypeOf(){h(12)}},B={};function z(t,r){let n=t[d];return(n?A(n):t)[r]}function H(t,r){if(!(r in t))return;let n=f(t);for(;n;){let t=Object.getOwnPropertyDescriptor(n,r);if(t)return t;n=f(n)}}function q(t){!t.modified_&&(t.modified_=!0,t.parent_&&q(t.parent_))}function V(t){t.copy_||(t.copy_=x(t.base_,t.scope_.immer_.useStrictShallowCopy_))}function G(t,r){let n=S(t)?T("MapSet").proxyMap_(t,r):E(t)?T("MapSet").proxySet_(t,r):function(t,r){let n=Array.isArray(t),i={type_:n?1:0,scope_:r?r.scope_:o,modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=i,s=U;n&&(a=[i],s=B);let{revoke:l,proxy:u}=Proxy.revocable(a,s);return i.draft_=u,i.revoke_=l,u}(t,r);return(r?r.scope_:o).drafts_.push(n),n}v(U,(t,r)=>{B[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),B.deleteProperty=function(t,r){return B.set.call(this,t,r,void 0)},B.set=function(t,r,n){return U.set.call(this,t[0],r,n,t[0])};var W=new class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{let i;if("function"==typeof t&&"function"!=typeof r){let n=r;r=t;let i=this;return function(t=n,...o){return i.produce(t,t=>r.call(this,t,...o))}}if("function"!=typeof r&&h(6),void 0!==n&&"function"!=typeof n&&h(7),m(t)){let o=N(this),a=G(t,void 0),s=!0;try{i=r(a),s=!1}finally{s?R(o):I(o)}return M(o,n),F(i,o)}if(t&&"object"==typeof t)h(1,t);else{if(void 0===(i=r(t))&&(i=t),i===u&&(i=void 0),this.autoFreeze_&&k(i,!0),n){let r=[],o=[];T("Patches").generateReplacementPatches_(t,i,r,o),n(r,o)}return i}},this.produceWithPatches=(t,r)=>{let n,i;return"function"==typeof t?(r,...n)=>this.produceWithPatches(r,r=>t(r,...n)):[this.produce(t,r,(t,r)=>{n=t,i=r}),n,i]},"boolean"==typeof t?.autoFreeze&&this.setAutoFreeze(t.autoFreeze),"boolean"==typeof t?.useStrictShallowCopy&&this.setUseStrictShallowCopy(t.useStrictShallowCopy)}createDraft(t){var r;m(t)||h(8),p(t)&&(p(r=t)||h(10,r),t=function t(r){let n;if(!m(r)||P(r))return r;let i=r[d];if(i){if(!i.modified_)return i.base_;i.finalized_=!0,n=x(r,i.scope_.immer_.useStrictShallowCopy_)}else n=x(r,!0);return v(n,(r,i)=>{_(n,r,t(i))}),i&&(i.finalized_=!1),n}(r));let n=N(this),i=G(t,void 0);return i[d].isManual_=!0,I(n),i}finishDraft(t,r){let n=t&&t[d];n&&n.isManual_||h(9);let{scope_:i}=n;return M(i,r),F(void 0,i)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}applyPatches(t,r){let n;for(n=r.length-1;n>=0;n--){let i=r[n];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}n>-1&&(r=r.slice(n+1));let i=T("Patches").applyPatches_;return p(t)?i(t,r):this.produce(t,t=>i(t,r))}},K=W.produce;W.produceWithPatches.bind(W),W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W),W.applyPatches.bind(W),W.createDraft.bind(W),W.finishDraft.bind(W),n(40257);var Y="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?a.qC:a.qC.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Z(t,r){function n(...i){if(r){let n=r(...i);if(!n)throw Error(ev(0));return{type:t,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:t,payload:i[0]}}return n.toString=()=>`${t}`,n.type=t,n.match=r=>(0,a.LG)(r)&&r.type===t,n}var X=class t extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,t.prototype)}static get[Symbol.species](){return t}concat(...t){return super.concat.apply(this,t)}prepend(...r){return 1===r.length&&Array.isArray(r[0])?new t(...r[0].concat(this)):new t(...r.concat(this))}};function J(t){return m(t)?K(t,()=>{}):t}function Q(t,r,n){return t.has(r)?t.get(r):t.set(r,n(r)).get(r)}var ee=()=>function(t){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{},a=new X;return r&&("boolean"==typeof r?a.push(l):a.push(s(r.extraArgument))),a},et=t=>r=>{setTimeout(r,t)},er=(t={type:"raf"})=>r=>(...n)=>{let i=r(...n),o=!0,a=!1,s=!1,l=new Set,u="tick"===t.type?queueMicrotask:"raf"===t.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:et(10):"callback"===t.type?t.queueNotification:et(t.timeout),c=()=>{s=!1,a&&(a=!1,l.forEach(t=>t()))};return Object.assign({},i,{subscribe(t){let r=i.subscribe(()=>o&&t());return l.add(t),()=>{r(),l.delete(t)}},dispatch(t){try{return(a=!(o=!t?.meta?.RTK_autoBatch))&&!s&&(s=!0,u(c)),i.dispatch(t)}finally{o=!0}}})},en=t=>function(r){let{autoBatch:n=!0}=r??{},i=new X(t);return n&&i.push(er("object"==typeof n?n:void 0)),i};function ei(t){let r,n;let i=ee(),{reducer:o,middleware:s,devTools:l=!0,preloadedState:u,enhancers:c}=t||{};if("function"==typeof o)r=o;else if((0,a.PO)(o))r=(0,a.UY)(o);else throw Error(ev(1));n="function"==typeof s?s(i):i();let d=a.qC;l&&(d=Y({trace:!1,..."object"==typeof l&&l}));let h=en((0,a.md)(...n)),f=d(..."function"==typeof c?c(h):h());return(0,a.MT)(r,u,f)}function eo(t){let r;let n={},i=[],o={addCase(t,r){let i="string"==typeof t?t:t.type;if(!i)throw Error(ev(28));if(i in n)throw Error(ev(29));return n[i]=r,o},addMatcher:(t,r)=>(i.push({matcher:t,reducer:r}),o),addDefaultCase:t=>(r=t,o)};return t(o),[n,i,r]}var ea=(t=21)=>{let r="",n=t;
11for(;n--;)r+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return r},es=Symbol.for("rtk-slice-createasyncthunk"),el=((i=el||{}).reducer="reducer",i.reducerWithPrepare="reducerWithPrepare",i.asyncThunk="asyncThunk",i),eu=function({creators:t}={}){let r=t?.asyncThunk?.[es];return function(t){let n;let{name:i,reducerPath:o=i}=t;if(!i)throw Error(ev(11));let a=("function"==typeof t.reducers?t.reducers(function(){function t(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return t.withTypes=()=>t,{reducer:t=>Object.assign({[t.name]:(...r)=>t(...r)}[t.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(t,r)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}),asyncThunk:t}}()):t.reducers)||{},s=Object.keys(a),l={},u={},c={},d=[],h={addCase(t,r){let n="string"==typeof t?t:t.type;if(!n)throw Error(ev(12));if(n in u)throw Error(ev(13));return u[n]=r,h},addMatcher:(t,r)=>(d.push({matcher:t,reducer:r}),h),exposeAction:(t,r)=>(c[t]=r,h),exposeCaseReducer:(t,r)=>(l[t]=r,h)};function f(){let[r={},n=[],i]="function"==typeof t.extraReducers?eo(t.extraReducers):[t.extraReducers],o={...r,...u};return function(t,r){let n;let[i,o,a]=eo(r);if("function"==typeof t)n=()=>J(t());else{let r=J(t);n=()=>r}function s(t=n(),r){let s=[i[r.type],...o.filter(({matcher:t})=>t(r)).map(({reducer:t})=>t)];return 0===s.filter(t=>!!t).length&&(s=[a]),s.reduce((t,n)=>{if(n){if(p(t)){let i=n(t,r);return void 0===i?t:i}if(m(t))return K(t,t=>n(t,r));{let i=n(t,r);if(void 0===i){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}}return t},t)}return s.getInitialState=n,s}(t.initialState,t=>{for(let r in o)t.addCase(r,o[r]);for(let r of d)t.addMatcher(r.matcher,r.reducer);for(let r of n)t.addMatcher(r.matcher,r.reducer);i&&t.addDefaultCase(i)})}s.forEach(n=>{let o=a[n],s={reducerName:n,type:`${i}/${n}`,createNotation:"function"==typeof t.reducers};"asyncThunk"===o._reducerDefinitionType?function({type:t,reducerName:r},n,i,o){if(!o)throw Error(ev(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:c,options:d}=n,h=o(t,a,d);i.exposeAction(r,h),s&&i.addCase(h.fulfilled,s),l&&i.addCase(h.pending,l),u&&i.addCase(h.rejected,u),c&&i.addMatcher(h.settled,c),i.exposeCaseReducer(r,{fulfilled:s||ec,pending:l||ec,rejected:u||ec,settled:c||ec})}(s,o,h,r):function({type:t,reducerName:r,createNotation:n},i,o){let a,s;if("reducer"in i){if(n&&"reducerWithPrepare"!==i._reducerDefinitionType)throw Error(ev(17));a=i.reducer,s=i.prepare}else a=i;o.addCase(t,a).exposeCaseReducer(r,a).exposeAction(r,s?Z(t,s):Z(t))}(s,o,h)});let g=t=>t,y=new Map;function v(t,r){return n||(n=f()),n(t,r)}function b(){return n||(n=f()),n.getInitialState()}function w(r,n=!1){function i(t){let i=t[r];return void 0===i&&n&&(i=b()),i}function o(r=g){let i=Q(y,n,()=>new WeakMap);return Q(i,r,()=>{let i={};for(let[o,a]of Object.entries(t.selectors??{}))i[o]=function(t,r,n,i){function o(a,...s){let l=r(a);return void 0===l&&i&&(l=n()),t(l,...s)}return o.unwrapped=t,o}(a,r,b,n);return i})}return{reducerPath:r,getSelectors:o,get selectors(){return o(i)},selectSlice:i}}let _={name:i,reducer:v,actions:c,caseReducers:l,getInitialState:b,...w(o),injectInto(t,{reducerPath:r,...n}={}){let i=r??o;return t.inject({reducerPath:i,reducer:v},n),{..._,...w(i,!0)}}};return _}}();function ec(){}var ed=(t,r)=>{if("function"!=typeof t)throw TypeError(ev(32))},{assign:eh}=Object,ef="listenerMiddleware",ep=t=>{let{type:r,actionCreator:n,matcher:i,predicate:o,effect:a}=t;if(r)o=Z(r).match;else if(n)r=n.type,o=n.match;else if(i)o=i;else if(o);else throw Error(ev(21));return ed(a,"options.listener"),{predicate:o,type:r,effect:a}},em=eh(t=>{let{type:r,predicate:n,effect:i}=ep(t);return{id:ea(),effect:i,type:r,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(ev(22))}}},{withTypes:()=>em}),eg=eh(Z(`${ef}/add`),{withTypes:()=>eg}),ey=eh(Z(`${ef}/remove`),{withTypes:()=>ey});function ev(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}Symbol.for("rtk-state-proxy-original")},57146:function(t,r,n){"use strict";function i(t){if(t)return function(t){for(var r in i.prototype)t[r]=i.prototype[r];return t}(t)}n.d(r,{Q:function(){return i}}),i.prototype.on=i.prototype.addEventListener=function(t,r){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(r),this},i.prototype.once=function(t,r){function n(){this.off(t,n),r.apply(this,arguments)}return n.fn=r,this.on(t,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,r){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+t];
11if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<i.length;o++)if((n=i[o])===r||n.fn===r){i.splice(o,1);break}return 0===i.length&&delete this._callbacks["$"+t],this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var r=Array(arguments.length-1),n=this._callbacks["$"+t],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(n){n=n.slice(0);for(var i=0,o=n.length;i<o;++i)n[i].apply(this,r)}return this},i.prototype.emitReserved=i.prototype.emit,i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},2522:function(t,r,n){"use strict";function i(t,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}n.r(r),n.d(r,{_:function(){return i},_class_private_field_loose_base:function(){return i}})},90675:function(t,r,n){"use strict";n.r(r),n.d(r,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var i=0;function o(t){return"__private_"+i+++"_"+t}},47043:function(t,r,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}n.r(r),n.d(r,{_:function(){return i},_interop_require_default:function(){return i}})},53099:function(t,r,n){"use strict";function i(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:r})(t)}function o(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=i(r);if(n&&n.has(t))return n.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=a?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=t[s]}return o.default=t,n&&n.set(t,o),o}n.r(r),n.d(r,{_:function(){return o},_interop_require_wildcard:function(){return o}})},45008:function(t,r,n){"use strict";function i(t,r){return r||(r=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))}n.d(r,{_:function(){return i}})},87045:function(t,r,n){"use strict";n.d(r,{j:function(){return a}});var i=n(24112),o=n(45345),a=new class extends i.l{#e;#t;#r;constructor(){super(),this.#r=t=>{if(!o.sk&&window.addEventListener){let r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#r=t,this.#t?.(),this.#t=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}}},2894:function(t,r,n){"use strict";n.d(r,{R:function(){return l},m:function(){return s}});var i=n(18238),o=n(7989),a=n(11255),s=class extends o.F{#n;#i;#o;constructor(t){super(),this.mutationId=t.mutationId,this.#i=t.mutationCache,this.#n=[],this.state=t.state||l(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#n.includes(t)||(this.#n.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#n=this.#n.filter(r=>r!==t),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#n.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(t){this.#o=(0,a.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,r)=>{this.#a({type:"failed",failureCount:t,error:r})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let r="pending"===this.state.status,n=!this.#o.canStart();try{if(!r){this.#a({type:"pending",variables:t,isPaused:n}),await this.#i.config.onMutate?.(t,this);let r=await this.options.onMutate?.(t);r!==this.state.context&&this.#a({type:"pending",context:r,variables:t,isPaused:n})}let i=await this.#o.start();return await this.#i.config.onSuccess?.(i,t,this.state.context,this),await this.options.onSuccess?.(i,t,this.state.context),await this.#i.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,t,this.state.context),this.#a({type:"success",data:i}),i}catch(r){try{throw await this.#i.config.onError?.(r,t,this.state.context,this),await this.options.onError?.(r,t,this.state.context),await this.#i.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,r,t,this.state.context),r}finally{this.#a({type:"error",error:r})}}finally{this.#i.runNext(this)}}#a(t){this.state=(r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
11case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),i.V.batch(()=>{this.#n.forEach(r=>{r.onMutationUpdate(t)}),this.#i.notify({mutation:this,type:"updated",action:t})})}};function l(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},18238:function(t,r,n){"use strict";n.d(r,{V:function(){return i}});var i=function(){let t=[],r=0,n=t=>{t()},i=t=>{t()},o=t=>setTimeout(t,0),a=i=>{r?t.push(i):o(()=>{n(i)})},s=()=>{let r=t;t=[],r.length&&o(()=>{i(()=>{r.forEach(t=>{n(t)})})})};return{batch:t=>{let n;r++;try{n=t()}finally{--r||s()}return n},batchCalls:t=>(...r)=>{a(()=>{t(...r)})},schedule:a,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{o=t}}}()},57853:function(t,r,n){"use strict";n.d(r,{N:function(){return a}});var i=n(24112),o=n(45345),a=new class extends i.l{#s=!0;#t;#r;constructor(){super(),this.#r=t=>{if(!o.sk&&window.addEventListener){let r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#r=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#s!==t&&(this.#s=t,this.listeners.forEach(r=>{r(t)}))}isOnline(){return this.#s}}},21733:function(t,r,n){"use strict";n.d(r,{A:function(){return l},z:function(){return u}});var i=n(45345),o=n(18238),a=n(11255),s=n(7989),l=class extends s.F{#l;#u;#c;#d;#o;#h;#f;constructor(t){super(),this.#f=!1,this.#h=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#d=t.client,this.#c=this.#d.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#l=function(t){let r="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==r,i=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#l,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(t){this.options={...this.#h,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(t,r){let n=(0,i.oE)(this.state.data,t,this.options);return this.#a({data:n,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}setState(t,r){this.#a({type:"setState",state:t,setStateOptions:r})}cancel(t){let r=this.#o?.promise;return this.#o?.cancel(t),r?r.then(i.ZT).catch(i.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#l)}isActive(){return this.observers.some(t=>!1!==(0,i.Nc)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===i.CN||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!(0,i.Kp)(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.#o&&(this.#f?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#a({type:"invalidate"})}fetch(t,r){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let n=new AbortController,o=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#f=!0,n.signal)}
11)},s={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#d,state:this.state,fetchFn:()=>{let t=(0,i.cG)(this.options,r),n={client:this.#d,queryKey:this.queryKey,meta:this.meta};return(o(n),this.#f=!1,this.options.persister)?this.options.persister(t,n,this):t(n)}};o(s),this.options.behavior?.onFetch(s,this),this.#u=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#a({type:"fetch",meta:s.fetchOptions?.meta});let l=t=>{(0,a.DV)(t)&&t.silent||this.#a({type:"error",error:t}),(0,a.DV)(t)||(this.#c.config.onError?.(t,this),this.#c.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#o=(0,a.Mz)({initialPromise:r?.initialPromise,fn:s.fetchFn,abort:n.abort.bind(n),onSuccess:t=>{if(void 0===t){l(Error(`${this.queryHash} data is undefined`));return}try{this.setData(t)}catch(t){l(t);return}this.#c.config.onSuccess?.(t,this),this.#c.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:l,onFail:(t,r)=>{this.#a({type:"failed",failureCount:t,error:r})},onPause:()=>{this.#a({type:"pause"})},onContinue:()=>{this.#a({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}),this.#o.start()}#a(t){this.state=(r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...u(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let n=t.error;if((0,a.DV)(n)&&n.revert&&this.#u)return{...this.#u,fetchStatus:"idle"};return{...r,error:n,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}})(this.state),o.V.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:t})})}};function u(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.Kw)(r.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}},15658:function(t,r,n){"use strict";n.d(r,{t:function(){return l}});var i=n(45345),o=n(21733),a=n(18238),s=n(24112),l=class extends s.l{constructor(t={}){super(),this.config=t,this.#p=new Map}#p;build(t,r,n){let a=r.queryKey,s=r.queryHash??(0,i.Rm)(a,r),l=this.get(s);return l||(l=new o.A({client:t,queryKey:a,queryHash:s,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(l)),l}add(t){this.#p.has(t.queryHash)||(this.#p.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let r=this.#p.get(t.queryHash);r&&(t.destroy(),r===t&&this.#p.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){a.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#p.get(t)}getAll(){return[...this.#p.values()]}find(t){let r={exact:!0,...t};return this.getAll().find(t=>(0,i._x)(r,t))}findAll(t={}){let r=this.getAll();return Object.keys(t).length>0?r.filter(r=>(0,i._x)(t,r)):r}notify(t){a.V.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){a.V.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){a.V.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}}},77513:function(t,r,n){"use strict";n.d(r,{S:function(){return m}});var i=n(45345),o=n(15658),a=n(18238),s=n(2894),l=n(24112),u=class extends l.l{constructor(t={}){super(),this.config=t,this.#m=new Set,this.#g=new Map,this.#y=0}#m;#g;#y;build(t,r,n){let i=new s.m({mutationCache:this,mutationId:++this.#y,options:t.defaultMutationOptions(r),state:n});return this.add(i),i}add(t){this.#m.add(t);let r=c(t);if("string"==typeof r){let n=this.#g.get(r);n?n.push(t):this.#g.set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#m.delete(t)){let r=c(t);if("string"==typeof r){let n=this.#g.get(r);if(n){if(n.length>1){let r=n.indexOf(t);-1!==r&&n.splice(r,1)}else n[0]===t&&this.#g.delete(r)}}}this.notify({type:"removed",mutation:t})}canRun(t){let r=c(t);if("string"!=typeof r)return!0;{let n=this.#g.get(r),i=n?.find(t=>"pending"===t.state.status);return!i||i===t}}runNext(t){let r=c(t);if("string"!=typeof r)return Promise.resolve();{let n=this.#g.get(r)?.find(r=>
11r!==t&&r.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){a.V.batch(()=>{this.#m.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#m.clear(),this.#g.clear()})}getAll(){return Array.from(this.#m)}find(t){let r={exact:!0,...t};return this.getAll().find(t=>(0,i.X7)(r,t))}findAll(t={}){return this.getAll().filter(r=>(0,i.X7)(t,r))}notify(t){a.V.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return a.V.batch(()=>Promise.all(t.map(t=>t.continue().catch(i.ZT))))}};function c(t){return t.options.scope?.id}var d=n(87045),h=n(57853);function f(t){return{onFetch:(r,n)=>{let o=r.options,a=r.fetchOptions?.meta?.fetchMore?.direction,s=r.state.data?.pages||[],l=r.state.data?.pageParams||[],u={pages:[],pageParams:[]},c=0,d=async()=>{let n=!1,d=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r.signal.aborted?n=!0:r.signal.addEventListener("abort",()=>{n=!0}),r.signal)})},h=(0,i.cG)(r.options,r.fetchOptions),f=async(t,o,a)=>{if(n)return Promise.reject();if(null==o&&t.pages.length)return Promise.resolve(t);let s={client:r.client,queryKey:r.queryKey,pageParam:o,direction:a?"backward":"forward",meta:r.options.meta};d(s);let l=await h(s),{maxPages:u}=r.options,c=a?i.Ht:i.VX;return{pages:c(t.pages,l,u),pageParams:c(t.pageParams,o,u)}};if(a&&s.length){let t="backward"===a,r={pages:s,pageParams:l},n=(t?function(t,{pages:r,pageParams:n}){return r.length>0?t.getPreviousPageParam?.(r[0],r,n[0],n):void 0}:p)(o,r);u=await f(r,n,t)}else{let r=t??s.length;do{let t=0===c?l[0]??o.initialPageParam:p(o,u);if(c>0&&null==t)break;u=await f(u,t),c++}while(c<r)}return u};r.options.persister?r.fetchFn=()=>r.options.persister?.(d,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},n):r.fetchFn=d}}}function p(t,{pages:r,pageParams:n}){let i=r.length-1;return r.length>0?t.getNextPageParam(r[i],r,n[i],n):void 0}var m=class{#v;#i;#h;#b;#w;#_;#S;#E;constructor(t={}){this.#v=t.queryCache||new o.t,this.#i=t.mutationCache||new u,this.#h=t.defaultOptions||{},this.#b=new Map,this.#w=new Map,this.#_=0}mount(){this.#_++,1===this.#_&&(this.#S=d.j.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#v.onFocus())}),this.#E=h.N.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#v.onOnline())}))}unmount(){this.#_--,0===this.#_&&(this.#S?.(),this.#S=void 0,this.#E?.(),this.#E=void 0)}isFetching(t){return this.#v.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#i.findAll({...t,status:"pending"}).length}getQueryData(t){let r=this.defaultQueryOptions({queryKey:t});return this.#v.get(r.queryHash)?.state.data}ensureQueryData(t){let r=this.defaultQueryOptions(t),n=this.#v.build(this,r),o=n.state.data;return void 0===o?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime((0,i.KC)(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(o))}getQueriesData(t){return this.#v.findAll(t).map(({queryKey:t,state:r})=>[t,r.data])}setQueryData(t,r,n){let o=this.defaultQueryOptions({queryKey:t}),a=this.#v.get(o.queryHash),s=a?.state.data,l=(0,i.SE)(r,s);if(void 0!==l)return this.#v.build(this,o).setData(l,{...n,manual:!0})}setQueriesData(t,r,n){return a.V.batch(()=>this.#v.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,r,n)]))}getQueryState(t){let r=this.defaultQueryOptions({queryKey:t});return this.#v.get(r.queryHash)?.state}removeQueries(t){let r=this.#v;a.V.batch(()=>{r.findAll(t).forEach(t=>{r.remove(t)})})}resetQueries(t,r){let n=this.#v;return a.V.batch(()=>(n.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},r)))}cancelQueries(t,r={}){let n={revert:!0,...r};return Promise.all(a.V.batch(()=>this.#v.findAll(t).map(t=>t.cancel(n)))).then(i.ZT).catch(i.ZT)}invalidateQueries(t,r={}){return a.V.batch(()=>(this.#v.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},r))}refetchQueries(t,r={}){let n={...r,cancelRefetch:r.cancelRefetch??!0};return Promise.all(a.V.batch(()=>this.#v.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let r=t.fetch(void 0,n);return n.throwOnError||(r=r.catch(i.ZT)),"paused"===t.state.fetchStatus?Promise.resolve():r}))).then(i.ZT)}fetchQuery(t){let r=this.defaultQueryOptions(t);void 0===r.retry&&(r.retry=!1);let n=this.#v.build(this,r);
11return n.isStaleByTime((0,i.KC)(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(i.ZT).catch(i.ZT)}fetchInfiniteQuery(t){return t.behavior=f(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(i.ZT).catch(i.ZT)}ensureInfiniteQueryData(t){return t.behavior=f(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return h.N.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#v}getMutationCache(){return this.#i}getDefaultOptions(){return this.#h}setDefaultOptions(t){this.#h=t}setQueryDefaults(t,r){this.#b.set((0,i.Ym)(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){let r=[...this.#b.values()],n={};return r.forEach(r=>{(0,i.to)(t,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(t,r){this.#w.set((0,i.Ym)(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){let r=[...this.#w.values()],n={};return r.forEach(r=>{(0,i.to)(t,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;let r={...this.#h.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=(0,i.Rm)(r.queryKey,r)),void 0===r.refetchOnReconnect&&(r.refetchOnReconnect="always"!==r.networkMode),void 0===r.throwOnError&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===i.CN&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...this.#h.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#v.clear(),this.#i.clear()}}},7989:function(t,r,n){"use strict";n.d(r,{F:function(){return o}});var i=n(45345),o=class{#A;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,i.PN)(this.gcTime)&&(this.#A=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(i.sk?1/0:3e5))}clearGcTimeout(){this.#A&&(clearTimeout(this.#A),this.#A=void 0)}}},11255:function(t,r,n){"use strict";n.d(r,{DV:function(){return d},Kw:function(){return u},Mz:function(){return h}});var i=n(87045),o=n(57853),a=n(16803),s=n(45345);function l(t){return Math.min(1e3*2**t,3e4)}function u(t){return(t??"online")!=="online"||o.N.isOnline()}var c=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function d(t){return t instanceof c}function h(t){let r,n=!1,d=0,h=!1,f=(0,a.O)(),p=()=>i.j.isFocused()&&("always"===t.networkMode||o.N.isOnline())&&t.canRun(),m=()=>u(t.networkMode)&&t.canRun(),g=n=>{h||(h=!0,t.onSuccess?.(n),r?.(),f.resolve(n))},y=n=>{h||(h=!0,t.onError?.(n),r?.(),f.reject(n))},v=()=>new Promise(n=>{r=t=>{(h||p())&&n(t)},t.onPause?.()}).then(()=>{r=void 0,h||t.onContinue?.()}),b=()=>{let r;if(h)return;let i=0===d?t.initialPromise:void 0;try{r=i??t.fn()}catch(t){r=Promise.reject(t)}Promise.resolve(r).then(g).catch(r=>{if(h)return;let i=t.retry??(s.sk?0:3),o=t.retryDelay??l,a="function"==typeof o?o(d,r):o,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,r);if(n||!u){y(r);return}d++,t.onFail?.(d,r),(0,s._v)(a).then(()=>p()?void 0:v()).then(()=>{n?y(r):b()})})};return{promise:f,cancel:r=>{h||(y(new c(r)),t.abort?.())},continue:()=>(r?.(),f),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:m,start:()=>(m()?b():v().then(b),f)}}},24112:function(t,r,n){"use strict";n.d(r,{l:function(){return i}});var i=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},16803:function(t,r,n){"use strict";function i(){let t,r;let n=new Promise((n,i)=>{t=n,r=i});function i(t){Object.assign(n,t),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=r=>{i({status:"fulfilled",value:r}),t(r)},n.reject=t=>{i({status:"rejected",reason:t}),r(t)},n}n.d(r,{O:function(){return i}})},45345:function(t,r,n){"use strict";n.d(r,{CN:function(){return x},Ht:function(){return A},KC:function(){return u},Kp:function(){return l},Nc:function(){return c},PN:function(){return s},Rm:function(){return f},SE:function(){return a},VS:function(){return g},VX:function(){return E},Wk:function(){return S},X7:function(){return h},Ym:function(){return p},ZT:function(){return o},_v:function(){return w},_x:function(){return d},cG:function(){return k},oE:function(){return _},sk:function(){return i},to:function(){return m}});var i="undefined"==typeof window||"Deno"in globalThis;function o(){}function a(t,r){return"function"==typeof t?t(r):t}function s(t){return"number"==typeof t&&t>=0&&t!==1/0}function l(t,r){return Math.max(t+(r||0)-Date.now(),0)}function u(t,r){return"function"==typeof t?t(r):t}function c(t,r){return"function"==typeof t?t(r):t}function d(t,r){let{type:n="all",exact:i,fetchStatus:o,predicate:a,queryKey:s,stale:l}=t;if(s){if(i){if(r.queryHash!==f(s,r.options))return!1}else if(!m(r.queryKey,s))return!1}if("all"!==n){let t=r.isActive();if("active"===n&&!t||"inactive"===n&&t)return!1}return("boolean"!=typeof l||r.isStale()===l)&&(!o||o===r.state.fetchStatus)&&(!a||!!a(r))}function h(t,r){let{exact:n,status:i,predicate:o,mutationKey:a}=t;if(a){if(!r.options.mutationKey)return!1;if(n){if(p(r.options.mutationKey)!==p(a))return!1}else if(!m(r.options.mutationKey,a))return!1}return(!i||r.state.status===i)&&(!o||!!o(r))}function f(t,r){return(r?.queryKeyHashFn||p)(t)}function p(t){return JSON.stringify(t,(t,r)=>v(r)?Object.keys(r).sort().reduce((t,n)=>(t[n]=r[n],t),{}):r)}function m(t,r){return t===r||typeof t==typeof r&&!!t&&!!r&&"object"==typeof t&&"object"==typeof r&&!Object.keys(r).some(n=>!m(t[n],r[n]))}function g(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(let n in t)if(t[n]!==r[n])return!1;return!0}function y(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function v(t){if(!b(t))return!1;let r=t.constructor;if(void 0===r)return!0;let n=r.prototype;return!!(b(n)&&n.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function b(t){return"[object Object]"===Object.prototype.toString.call(t)}function w(t){return new Promise(r=>{setTimeout(r,t)})}function _(t,r,n){return"function"==typeof n.structuralSharing?n.structuralSharing(t,r):!1!==n.structuralSharing?function t(r,n){if(r===n)return r;let i=y(r)&&y(n);if(i||v(r)&&v(n)){let o=i?r:Object.keys(r),a=o.length,s=i?n:Object.keys(n),l=s.length,u=i?[]:{},c=0;for(let a=0;a<l;a++){let l=i?a:s[a];(!i&&o.includes(l)||i)&&void 0===r[l]&&void 0===n[l]?(u[l]=void 0,c++):(u[l]=t(r[l],n[l]),u[l]===r[l]&&void 0!==r[l]&&c++)}return a===l&&c===a?r:u}return n}(t,r):r}function S(t){return t}function E(t,r,n=0){let i=[...t,r];return n&&i.length>n?i.slice(1):i}function A(t,r,n=0){let i=[r,...t];return n&&i.length>n?i.slice(0,-1):i}var x=Symbol();function k(t,r){return!t.queryFn&&r?.initialPromise?()=>r.initialPromise:t.queryFn&&t.queryFn!==x?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}},29827:function(t,r,n){"use strict";n.d(r,{NL:function(){return s},aH:function(){return l}});var i=n(2265),o=n(57437),a=i.createContext(void 0),s=t=>{let r=i.useContext(a);if(t)return t;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},l=t=>{let{client:r,children:n}=t;return i.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),(0,o.jsx)(a.Provider,{value:r,children:n})}},21770:function(t,r,n){"use strict";n.d(r,{D:function(){return h}});var i=n(2265),o=n(2894),a=n(18238),s=n(24112),l=n(45345),u=class extends s.l{#d;#x=void 0;#k;#O;constructor(t,r){super(),this.#d=t,this.setOptions(r),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let r=this.options;this.options=this.#d.defaultMutationOptions(t),(0,l.VS)(this.options,r)||this.#d.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#k,observer:this}),r?.mutationKey&&this.options.mutationKey&&(0,l.Ym)(r.mutationKey)!==(0,l.Ym)(this.options.mutationKey)?this.reset():this.#k?.state.status==="pending"&&this.#k.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#k?.removeObserver(this)}onMutationUpdate(t){this.#P(),this.#C(t)}getCurrentResult(){return this.#x}reset(){this.#k?.removeObserver(this),this.#k=void 0,this.#P(),this.#C()}mutate(t,r){return this.#O=r,this.#k?.removeObserver(this),this.#k=this.#d.getMutationCache().build(this.#d,this.options),this.#k.addObserver(this),this.#k.execute(t)}#P(){let t=this.#k?.state??(0,o.R)();this.#x={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#C(t){a.V.batch(()=>
11{if(this.#O&&this.hasListeners()){let r=this.#x.variables,n=this.#x.context;t?.type==="success"?(this.#O.onSuccess?.(t.data,r,n),this.#O.onSettled?.(t.data,null,r,n)):t?.type==="error"&&(this.#O.onError?.(t.error,r,n),this.#O.onSettled?.(void 0,t.error,r,n))}this.listeners.forEach(t=>{t(this.#x)})})}},c=n(29827),d=n(51172);function h(t,r){let n=(0,c.NL)(r),[o]=i.useState(()=>new u(n,t));i.useEffect(()=>{o.setOptions(t)},[o,t]);let s=i.useSyncExternalStore(i.useCallback(t=>o.subscribe(a.V.batchCalls(t)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),l=i.useCallback((t,r)=>{o.mutate(t,r).catch(d.Z)},[o]);if(s.error&&(0,d.L)(o.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:l,mutateAsync:s.mutate}}},16593:function(t,r,n){"use strict";let i;n.d(r,{a:function(){return T}});var o=n(87045),a=n(18238),s=n(21733),l=n(24112),u=n(16803),c=n(45345),d=class extends l.l{constructor(t,r){super(),this.options=r,this.#d=t,this.#T=null,this.#M=(0,u.O)(),this.options.experimental_prefetchInRender||this.#M.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}#d;#R=void 0;#I=void 0;#x=void 0;#N;#D;#M;#T;#F;#L;#$;#j;#U;#B;#z=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#R.addObserver(this),h(this.#R,this.options)?this.#H():this.updateResult(),this.#q())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.#R,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.#R,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#V(),this.#G(),this.#R.removeObserver(this)}setOptions(t,r){let n=this.options,i=this.#R;if(this.options=this.#d.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.Nc)(this.options.enabled,this.#R))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#W(),this.#R.setOptions(this.options),n._defaulted&&!(0,c.VS)(this.options,n)&&this.#d.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#R,observer:this});let o=this.hasListeners();o&&p(this.#R,i,this.options,n)&&this.#H(),this.updateResult(r),o&&(this.#R!==i||(0,c.Nc)(this.options.enabled,this.#R)!==(0,c.Nc)(n.enabled,this.#R)||(0,c.KC)(this.options.staleTime,this.#R)!==(0,c.KC)(n.staleTime,this.#R))&&this.#K();let a=this.#Y();o&&(this.#R!==i||(0,c.Nc)(this.options.enabled,this.#R)!==(0,c.Nc)(n.enabled,this.#R)||a!==this.#B)&&this.#Z(a)}getOptimisticResult(t){let r=this.#d.getQueryCache().build(this.#d,t),n=this.createResult(r,t);return(0,c.VS)(this.getCurrentResult(),n)||(this.#x=n,this.#D=this.options,this.#N=this.#R.state),n}getCurrentResult(){return this.#x}trackResult(t,r){let n={};return Object.keys(t).forEach(i=>{Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),r?.(i),t[i])})}),n}trackProp(t){this.#z.add(t)}getCurrentQuery(){return this.#R}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let r=this.#d.defaultQueryOptions(t),n=this.#d.getQueryCache().build(this.#d,r);return n.fetch().then(()=>this.createResult(n,r))}fetch(t){return this.#H({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#x))}#H(t){this.#W();let r=this.#R.fetch(this.options,t);return t?.throwOnError||(r=r.catch(c.ZT)),r}#K(){this.#V();let t=(0,c.KC)(this.options.staleTime,this.#R);if(c.sk||this.#x.isStale||!(0,c.PN)(t))return;let r=(0,c.Kp)(this.#x.dataUpdatedAt,t);this.#j=setTimeout(()=>{this.#x.isStale||this.updateResult()},r+1)}#Y(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#R):this.options.refetchInterval)??!1}#Z(t){this.#G(),this.#B=t,!c.sk&&!1!==(0,c.Nc)(this.options.enabled,this.#R)&&(0,c.PN)(this.#B)&&0!==this.#B&&(this.#U=setInterval(()=>{(this.options.refetchIntervalInBackground||o.j.isFocused())&&this.#H()},this.#B))}#q(){this.#K(),this.#Z(this.#Y())}#V(){this.#j&&(clearTimeout(this.#j),this.#j=void 0)}#G(){this.#U&&(clearInterval(this.#U),this.#U=void 0)}createResult(t,r){let n;let i=this.#R,o=this.options,a=this.#x,l=this.#N,d=this.#D,f=t!==i?t.state:this.#I,{state:g}=t,y={...g},v=!1;if(r._optimisticResults){let n=this.hasListeners(),a=!n&&h(t,r),l=n&&p(t,i,r,o);(a||l)&&(y={...y,...(0,s.z)(g.data,t.options)}),"isRestoring"===r._optimisticResults&&(y.fetchStatus="idle")}let{error:b,errorUpdatedAt:w,status:_}=y;
11if(r.select&&void 0!==y.data){if(a&&y.data===l?.data&&r.select===this.#F)n=this.#L;else try{this.#F=r.select,n=r.select(y.data),n=(0,c.oE)(a?.data,n,r),this.#L=n,this.#T=null}catch(t){this.#T=t}}else n=y.data;if(void 0!==r.placeholderData&&void 0===n&&"pending"===_){let t;if(a?.isPlaceholderData&&r.placeholderData===d?.placeholderData)t=a.data;else if(t="function"==typeof r.placeholderData?r.placeholderData(this.#$?.state.data,this.#$):r.placeholderData,r.select&&void 0!==t)try{t=r.select(t),this.#T=null}catch(t){this.#T=t}void 0!==t&&(_="success",n=(0,c.oE)(a?.data,t,r),v=!0)}this.#T&&(b=this.#T,n=this.#L,w=Date.now(),_="error");let S="fetching"===y.fetchStatus,E="pending"===_,A="error"===_,x=E&&S,k=void 0!==n,O={status:_,fetchStatus:y.fetchStatus,isPending:E,isSuccess:"success"===_,isError:A,isInitialLoading:x,isLoading:x,data:n,dataUpdatedAt:y.dataUpdatedAt,error:b,errorUpdatedAt:w,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:S,isRefetching:S&&!E,isLoadingError:A&&!k,isPaused:"paused"===y.fetchStatus,isPlaceholderData:v,isRefetchError:A&&k,isStale:m(t,r),refetch:this.refetch,promise:this.#M};if(this.options.experimental_prefetchInRender){let r=t=>{"error"===O.status?t.reject(O.error):void 0!==O.data&&t.resolve(O.data)},n=()=>{r(this.#M=O.promise=(0,u.O)())},o=this.#M;switch(o.status){case"pending":t.queryHash===i.queryHash&&r(o);break;case"fulfilled":("error"===O.status||O.data!==o.value)&&n();break;case"rejected":("error"!==O.status||O.error!==o.reason)&&n()}}return O}updateResult(t){let r=this.#x,n=this.createResult(this.#R,this.options);if(this.#N=this.#R.state,this.#D=this.options,void 0!==this.#N.data&&(this.#$=this.#R),(0,c.VS)(n,r))return;this.#x=n;let i={};t?.listeners!==!1&&(()=>{if(!r)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#z.size)return!0;let i=new Set(n??this.#z);return this.options.throwOnError&&i.add("error"),Object.keys(this.#x).some(t=>this.#x[t]!==r[t]&&i.has(t))})()&&(i.listeners=!0),this.#C({...i,...t})}#W(){let t=this.#d.getQueryCache().build(this.#d,this.options);if(t===this.#R)return;let r=this.#R;this.#R=t,this.#I=t.state,this.hasListeners()&&(r?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#q()}#C(t){a.V.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#x)}),this.#d.getQueryCache().notify({query:this.#R,type:"observerResultsUpdated"})})}};function h(t,r){return!1!==(0,c.Nc)(r.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===r.retryOnMount)||void 0!==t.state.data&&f(t,r,r.refetchOnMount)}function f(t,r,n){if(!1!==(0,c.Nc)(r.enabled,t)){let i="function"==typeof n?n(t):n;return"always"===i||!1!==i&&m(t,r)}return!1}function p(t,r,n,i){return(t!==r||!1===(0,c.Nc)(i.enabled,t))&&(!n.suspense||"error"!==t.state.status)&&m(t,n)}function m(t,r){return!1!==(0,c.Nc)(r.enabled,t)&&t.isStaleByTime((0,c.KC)(r.staleTime,t))}var g=n(2265),y=n(29827);n(57437);var v=g.createContext((i=!1,{clearReset:()=>{i=!1},reset:()=>{i=!0},isReset:()=>i})),b=()=>g.useContext(v),w=n(51172),_=(t,r)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&!r.isReset()&&(t.retryOnMount=!1)},S=t=>{g.useEffect(()=>{t.clearReset()},[t])},E=t=>{let{result:r,errorResetBoundary:n,throwOnError:i,query:o,suspense:a}=t;return r.isError&&!n.isReset()&&!r.isFetching&&o&&(a&&void 0===r.data||(0,w.L)(i,[r.error,o]))},A=g.createContext(!1),x=()=>g.useContext(A);A.Provider;var k=t=>{let r=t.staleTime;t.suspense&&(t.staleTime="function"==typeof r?(...t)=>Math.max(r(...t),1e3):Math.max(r??1e3,1e3),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3)))},O=(t,r)=>t.isLoading&&t.isFetching&&!r,P=(t,r)=>t?.suspense&&r.isPending,C=(t,r,n)=>r.fetchOptimistic(t).catch(()=>{n.clearReset()});function T(t,r){return function(t,r,n){var i,o,s,l,u;let d=(0,y.NL)(n),h=x(),f=b(),p=d.defaultQueryOptions(t);null===(o=d.getDefaultOptions().queries)||void 0===o||null===(i=o._experimental_beforeQuery)||void 0===i||i.call(o,p),p._optimisticResults=h?"isRestoring":"optimistic",k(p),_(p,f),S(f);let m=!d.getQueryCache().get(p.queryHash),[v]=g.useState(()=>new r(d,p)),A=v.getOptimisticResult(p),T=!h&&!1!==t.subscribed;if(g.useSyncExternalStore(g.useCallback(t=>{let r=T?v.subscribe(a.V.batchCalls(t)):w.Z;return v.updateResult(),r},[v,T]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),g.useEffect(()=>{v.setOptions(p,{listeners:!1})},[p,v]),P(p,A))throw C(p,v,f);if(E({result:A,errorResetBoundary:f,throwOnError:p.throwOnError,query:d.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw A.error;if(null===(l=d.getDefaultOptions().queries)||void 0===l||null===(s=l._experimental_afterQuery)||void 0===s||s.call(l,p,A),p.experimental_prefetchInRender&&!c.sk&&O(A,h)){let t=m?C(p,v,f):null===(u=d.getQueryCache().get(p.queryHash))||void 0===u?void 0:u.promise;null==t||t.catch(w.Z).finally(()=>{v.updateResult()})}return p.notifyOnChangeProps?A:v.trackResult(A)}(t,d,r)}},51172:function(t,r,n){"use strict";function i(t,r){return"function"==typeof t?t(...r):!!t}function o(){}n.d(r,{L:function(){return i},Z:function(){return o}})},87910:function(t,r,n){"use strict";n.d(r,{Z:function(){return L}});var i=n(48629);function o(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var a=0;function s(t){return"__private_"+a+++"_"+t}function l(t){if(null!=t){var r;let n=()=>this.abort(t.reason);t.addEventListener("abort",n,{once:!0});let i=()=>{t.removeEventListener("abort",n)};null==(r=this.then)||r.call(this,i,i)}return this}var u=s("activeRequests"),c=s("queuedHandlers"),d=s("paused"),h=s("pauseTimer"),f=s("downLimit"),p=s("upperLimit"),m=s("rateLimitingTimer"),g=s("call"),y=s("queueNext"),v=s("next"),b=s("queue"),w=s("dequeue"),_=s("resume"),S=s("increaseLimit");class E{constructor(t){Object.defineProperty(this,w,{value:P}
11),Object.defineProperty(this,b,{value:O}),Object.defineProperty(this,v,{value:k}),Object.defineProperty(this,y,{value:x}),Object.defineProperty(this,g,{value:A}),Object.defineProperty(this,u,{writable:!0,value:0}),Object.defineProperty(this,c,{writable:!0,value:[]}),Object.defineProperty(this,d,{writable:!0,value:!1}),Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,f,{writable:!0,value:1}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,m,{writable:!0,value:void 0}),Object.defineProperty(this,_,{writable:!0,value:()=>this.resume()}),Object.defineProperty(this,S,{writable:!0,value:()=>{if(o(this,d)[d]){o(this,m)[m]=setTimeout(o(this,S)[S],0);return}o(this,f)[f]=this.limit,this.limit=Math.ceil((o(this,p)[p]+o(this,f)[f])/2);for(let t=o(this,f)[f];t<=this.limit;t++)o(this,y)[y]();o(this,p)[p]-o(this,f)[f]>3?o(this,m)[m]=setTimeout(o(this,S)[S],2e3):o(this,f)[f]=Math.floor(o(this,f)[f]/2)}}),"number"!=typeof t||0===t?this.limit=1/0:this.limit=t}run(t,r){return!o(this,d)[d]&&o(this,u)[u]<this.limit?o(this,g)[g](t):o(this,b)[b](t,r)}wrapSyncFunction(t,r){var n=this;return function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];let s=n.run(()=>(t(...o),queueMicrotask(()=>s.done()),()=>{}),r);return{abortOn:l,abort(){s.abort()}}}}wrapPromiseFunction(t,r){var n=this;return function(){let i;for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];let u=new Promise((o,s)=>{i=n.run(()=>{let r,n;try{n=Promise.resolve(t(...a))}catch(t){n=Promise.reject(t)}return n.then(t=>{r?s(r):(i.done(),o(t))},t=>{r?s(r):(i.done(),s(t))}),t=>{r=Error("Cancelled",{cause:t})}},r)});return u.abort=t=>{i.abort(t)},u.abortOn=l,u}}resume(){o(this,d)[d]=!1,clearTimeout(o(this,h)[h]);for(let t=0;t<this.limit;t++)o(this,y)[y]()}pause(t){void 0===t&&(t=null),o(this,d)[d]=!0,clearTimeout(o(this,h)[h]),null!=t&&(o(this,h)[h]=setTimeout(o(this,_)[_],t))}rateLimit(t){clearTimeout(o(this,m)[m]),this.pause(t),this.limit>1&&Number.isFinite(this.limit)&&(o(this,p)[p]=this.limit-1,this.limit=o(this,f)[f],o(this,m)[m]=setTimeout(o(this,S)[S],t))}get isPaused(){return o(this,d)[d]}}function A(t){let r;o(this,u)[u]+=1;let n=!1;try{r=t()}catch(t){throw o(this,u)[u]-=1,t}return{abort:t=>{n||(n=!0,o(this,u)[u]-=1,null==r||r(t),o(this,y)[y]())},done:()=>{n||(n=!0,o(this,u)[u]-=1,o(this,y)[y]())}}}function x(){queueMicrotask(()=>o(this,v)[v]())}function k(){if(o(this,d)[d]||o(this,u)[u]>=this.limit||0===o(this,c)[c].length)return;let t=o(this,c)[c].shift();if(null==t)throw Error("Invariant violation: next is null");let r=o(this,g)[g](t.fn);t.abort=r.abort,t.done=r.done}function O(t,r){let n={fn:t,priority:(null==r?void 0:r.priority)||0,abort:()=>{o(this,w)[w](n)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},i=o(this,c)[c].findIndex(t=>n.priority>t.priority);return -1===i?o(this,c)[c].push(n):o(this,c)[c].splice(i,0,n),n}function P(t){let r=o(this,c)[c].indexOf(t);-1!==r&&o(this,c)[c].splice(r,1)}function C(t){let r=t.lastIndexOf(".");return -1===r||r===t.length-1?{name:t,extension:void 0}:{name:t.slice(0,r),extension:t.slice(r+1)}}Symbol("__queue");var T=n(85110),M=n(58996),R={strings:{compressingImages:"Compressing images...",compressedX:"Saved %{size} by compressing images"}};function I(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var N=0;let D={quality:.6,limit:10};var F="__private_"+N+++"_RateLimitedQueue";class L extends i.Z{constructor(t,r){super(t,{...D,...r}),Object.defineProperty(this,F,{writable:!0,value:void 0}),this.id=this.opts.id||"Compressor",this.type="modifier",this.defaultLocale=R,I(this,F)[F]=new E(this.opts.limit),this.i18nInit(),this.prepareUpload=this.prepareUpload.bind(this),this.compress=this.compress.bind(this)}compress(t){return new Promise((r,n)=>{new M(t,{...this.opts,success:r,error:n})})}async prepareUpload(t){let r=0,n=[],i=I(this,F)[F].wrapPromiseFunction(async t=>{try{let i=await this.compress(t.data),o=t.data.size-i.size;this.uppy.log(`[Image Compressor] Image ${t.id} compressed by ${T(o)}`),r+=o;let{name:a,type:s,size:l}=i,u=C(a),c=C(t.meta.name),d=`${c.name}.${u.extension}`;this.uppy.setFileState(t.id,{...a&&{name:a},...u.extension&&{extension:u.extension},...s&&{type:s},...l&&{size:l},data:i,meta:{...t.meta,type:s,name:d}}),n.push(t)}
11catch(r){this.uppy.log(`[Image Compressor] Failed to compress ${t.id}:`,"warning"),this.uppy.log(r,"warning")}}),o=t.map(t=>{var r;let n=this.uppy.getFile(t);return(this.uppy.emit("preprocess-progress",n,{mode:"indeterminate",message:this.i18n("compressingImages")}),n.isRemote)?Promise.resolve():(n.data.type||(n.data=n.data.slice(0,n.data.size,n.type)),null!=(r=n.type)&&r.startsWith("image/"))?i(n):Promise.resolve()});for(let i of(await Promise.all(o),this.uppy.emit("compressor:complete",n),r>1024&&this.uppy.info(this.i18n("compressedX",{size:T(r)}),"info"),t)){let t=this.uppy.getFile(i);this.uppy.emit("preprocess-complete",t)}}install(){this.uppy.addPreProcessor(this.prepareUpload)}uninstall(){this.uppy.removePreProcessor(this.prepareUpload)}}},48629:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});var i=n(52304);class o{uppy;opts;id;defaultLocale;i18n;i18nArray;type;VERSION;constructor(t,r){this.uppy=t,this.opts=r??{}}getPluginState(){let{plugins:t}=this.uppy.getState();return t?.[this.id]||{}}setPluginState(t){let{plugins:r}=this.uppy.getState();this.uppy.setState({plugins:{...r,[this.id]:{...r[this.id],...t}}})}setOptions(t){this.opts={...this.opts,...t},this.setPluginState(void 0),this.i18nInit()}i18nInit(){let t=new i.Z([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.setPluginState(void 0)}addTarget(t){throw Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}update(t){}afterUpdate(){}}},10448:function(t,r,n){"use strict";n.d(r,{Z:function(){return I}});var i=function(t){for(;t&&!t.dir;)t=t.parentNode;return t?.dir},o=n(79080),a=n(99799);function s(t,r){for(var n in t)if("__source"!==n&&!(n in r))return!0;for(var i in r)if("__source"!==i&&t[i]!==r[i])return!0;return!1}function l(t,r){this.props=t,this.context=r}a.bt,(l.prototype=new o.wA).isPureReactComponent=!0,l.prototype.shouldComponentUpdate=function(t,r){return s(this.props,t)||s(this.state,r)};var u=o.YM.__b;o.YM.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),u&&u(t)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var c=(o.bR,o.YM.__e);o.YM.__e=function(t,r,n,i){if(t.then){for(var o,a=r;a=a.__;)if((o=a.__c)&&o.__c)return null==r.__e&&(r.__e=n.__e,r.__k=n.__k),o.__c(t,r)}c(t,r,n,i)};var d=o.YM.unmount;function h(){this.__u=0,this.o=null,this.__b=null}function f(t){var r=t.__.__c;return r&&r.__a&&r.__a(t)}function p(){this.i=null,this.l=null}o.YM.unmount=function(t){var r=t.__c;r&&r.__R&&r.__R(),r&&32&t.__u&&(t.type=null),d&&d(t)},(h.prototype=new o.wA).__c=function(t,r){var n=r.__c,i=this;null==i.o&&(i.o=[]),i.o.push(n);var o=f(i.__v),a=!1,s=function(){a||(a=!0,n.__R=null,o?o(l):l())};n.__R=s;var l=function(){if(!--i.__u){if(i.state.__a){var t,r=i.state.__a;i.__v.__k[0]=function t(r,n,i){return r&&i&&(r.__v=null,r.__k=r.__k&&r.__k.map(function(r){return t(r,n,i)}),r.__c&&r.__c.__P===n&&(r.__e&&i.appendChild(r.__e),r.__c.__e=!0,r.__c.__P=i)),r}(r,r.__c.__P,r.__c.__O)}for(i.setState({__a:i.__b=null});t=i.o.pop();)t.forceUpdate()}};i.__u++||32&r.__u||i.setState({__a:i.__b=i.__v.__k[0]}),t.then(s,s)},h.prototype.componentWillUnmount=function(){this.o=[]},h.prototype.render=function(t,r){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function t(r,n,i){return r&&(r.__c&&r.__c.__H&&(r.__c.__H.__.forEach(function(t){"function"==typeof t.__c&&t.__c()}),r.__c.__H=null),null!=(r=function(t,r){for(var n in r)t[n]=r[n];return t}({},r)).__c&&(r.__c.__P===i&&(r.__c.__P=n),r.__c.__e=!0,r.__c=null),r.__k=r.__k&&r.__k.map(function(r){return t(r,n,i)})),r}
vendor: 1,644 bytes, line 11
11(this.__b,n,i.__O=i.__P)}this.__b=null}var a=r.__a&&(0,o.az)(o.HY,null,t.fallback);return a&&(a.__u&=-33),[(0,o.az)(o.HY,null,r.__a?null:t.children),a]};var m=function(t,r,n){if(++n[1]===n[0]&&t.l.delete(r),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.i=n=n[2]}};(p.prototype=new o.wA).__a=function(t){var r=this,n=f(r.__v),i=r.l.get(t);return i[0]++,function(o){var a=function(){r.props.revealOrder?(i.push(o),m(r,t,i)):o()};n?n(a):a()}},p.prototype.render=function(t){this.i=null,this.l=new Map;var r=(0,o.bR)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&r.reverse();for(var n=r.length;n--;)this.l.set(r[n],this.i=[1,0,this.i]);return t.children},p.prototype.componentDidUpdate=p.prototype.componentDidMount=function(){var t=this;this.l.forEach(function(r,n){m(t,n,r)})};var g="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,y=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,v=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,b=/[A-Z0-9]/g,w="undefined"!=typeof document;function _(t,r,n){return null==r.__k&&(r.textContent=""),(0,o.sY)(t,r),"function"==typeof n&&n(),t?t.__c:null}o.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(o.wA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]}
11,set:function(r){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r})}})});var S=o.YM.event;function E(){}function A(){return this.cancelBubble}function x(){return this.defaultPrevented}o.YM.event=function(t){return S&&(t=S(t)),t.persist=E,t.isPropagationStopped=A,t.isDefaultPrevented=x,t.nativeEvent=t};var k,O={enumerable:!1,configurable:!0,get:function(){return this.class}},P=o.YM.vnode;o.YM.vnode=function(t){"string"==typeof t.type&&function(t){var r=t.props,n=t.type,i={},a=-1===n.indexOf("-");for(var s in r){var l=r[s];if(!("value"===s&&"defaultValue"in r&&null==l||w&&"children"===s&&"noscript"===n||"class"===s||"className"===s)){var u,c=s.toLowerCase();"defaultValue"===s&&"value"in r&&null==r.value?s="value":"download"===s&&!0===l?l="":"translate"===c&&"no"===l?l=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?s="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||(u=r.type,("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(u))?"onfocus"===c?s="onfocusin":"onblur"===c?s="onfocusout":v.test(s)&&(s=c):c=s="oninput":a&&y.test(s)?s=s.replace(b,"-$&").toLowerCase():null===l&&(l=void 0),"oninput"===c&&i[s=c]&&(s="oninputCapture"),i[s]=l}}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,o.bR)(r.children).forEach(function(t){t.props.selected=-1!=i.value.indexOf(t.props.value)})),"select"==n&&null!=i.defaultValue&&(i.value=(0,o.bR)(r.children).forEach(function(t){t.props.selected=i.multiple?-1!=i.defaultValue.indexOf(t.props.value):i.defaultValue==t.props.value})),r.class&&!r.className?(i.class=r.class,Object.defineProperty(i,"className",O)):(r.className&&!r.class||r.class&&r.className)&&(i.class=i.className=r.className),t.props=i}(t),t.$$typeof=g,P&&P(t)};var C=o.YM.__r;o.YM.__r=function(t){C&&C(t),t.__c};var T=o.YM.diffed;o.YM.diffed=function(t){T&&T(t);var r=t.props,n=t.__e;null!=n&&"textarea"===t.type&&"value"in r&&r.value!==n.value&&(n.value=null==r.value?"":r.value)},a.I4,a.qp,a.Qb,a.d4,a.Me,a.aP,a.bt,a.Ye,a._Y,a.sO,a.eJ,o.HY,a.eJ,a.Me,a._Y,a.d4,a.bt,a.sO,a.aP,a.Ye,a.I4,a.qp,a.Qb,o.az,o.kr,o.Vf,o.HY,o.wA;var M=n(48629);class R extends M.Z{#X;isTargetDOMEl;el;parent;title;getTargetPlugin(t){let r;return"function"==typeof t?.addTarget?(r=t)instanceof R||console.warn(Error("The provided plugin is not an instance of UIPlugin. This is an indication of a bug with the way Uppy is bundled.",{cause:{targetPlugin:r,UIPlugin:R}})):"function"==typeof t&&this.uppy.iteratePlugins(n=>{n instanceof t&&(r=n)}),r}mount(t,r){let n=r.id,o=function(t,r=document){return"string"==typeof t?r.querySelector(t):"object"==typeof t&&null!==t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?t:null}(t);if(o){var a;let r,s;this.isTargetDOMEl=!0;let l=document.createElement("div");return l.classList.add("uppy-Root"),this.#X=(a=t=>{this.uppy.getPlugin(this.id)&&(_(this.render(t,l),l),this.afterUpdate())},s=null,(...t)=>(r=t,s||(s=Promise.resolve().then(()=>(s=null,a(...r)))),s)),this.uppy.log(`Installing ${n} to a DOM element '${t}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),_(this.render(this.uppy.getState(),l),l),this.el=l,o.appendChild(l),l.dir=this.opts.direction||i(l)||"ltr",this.onMount(),this.el}let s=this.getTargetPlugin(t);
11if(s)return this.uppy.log(`Installing ${n} to ${s.id}`),this.parent=s,this.el=s.addTarget(r),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let l=`Invalid target option given to ${n}.`;throw"function"==typeof t?l+=" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":l+="If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",Error(l)}render(t,r){throw Error("Extend the render method to add your plugin to a DOM element")}update(t){null!=this.el&&this.#X?.(t)}unmount(){this.isTargetDOMEl&&this.el?.remove(),this.onUnmount()}onMount(){}onUnmount(){}}var I=R},87067:function(t,r,n){"use strict";n.d(r,{Z:function(){return x}});
11class i{static VERSION="4.3.2";state={};#J=new Set;getState(){return this.state}setState(t){let r={...this.state},n={...this.state,...t};this.state=n,this.#Q(r,n,t)}subscribe(t){return this.#J.add(t),()=>{this.#J.delete(t)}}#Q(...t){this.#J.forEach(r=>{r(...t)})}}function o(t){let r=t.lastIndexOf(".");return -1===r||r===t.length-1?{name:t,extension:void 0}:{name:t.slice(0,r),extension:t.slice(r+1)}}var a={__proto__:null,md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",msg:"application/vnd.ms-outlook",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function s(t){if(t.type)return t.type;let r=t.name?o(t.name).extension?.toLowerCase():null;return r&&r in a?a[r]:"application/octet-stream"}function l(t){let r="";return t.replace(/[^A-Z0-9]/gi,t=>(r+=`-${t.charCodeAt(0).toString(32)}`,"/"))+r}var u=n(52304),c=n(37065),d=n(71157),h=n(49015),f={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},aggregateExceedsSize:"You selected %{size} of files, but maximum allowed size is %{sizeAllowed}",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",noSearchResults:"Unfortunately, there are no results for this search",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",logIn:"Log in",pickFiles:"Pick files",pickPhotos:"Pick photos",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",loadedXFiles:"Loaded %{numFiles} files",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",search:"Search",resetSearch:"Reset search",emptyFolderAdded:"No files were added from empty folder",addedNumFiles:"Added %{numFiles} file(s)",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},additionalRestrictionsFailed:"%{count} additional restrictions were not fulfilled",unnamed:"Unnamed",pleaseWait:"Please wait"}};function p(t){return t<10?`0${t}`:t.toString()}function m(){let t=new Date,r=p(t.getHours()),n=p(t.getMinutes()),i=p(t.getSeconds());return`${r}:${n}:${i}`}let g={debug:()=>{},warn:()=>{},error:(...t)=>console.error(`[Uppy] [${m()}]`,...t)},y={debug:(...t)=>console.debug(`[Uppy] [${m()}]`,...t),warn:(...t)=>console.warn(`[Uppy] [${m()}]`,...t),error:(...t)=>console.error(`[Uppy] [${m()}]`,...t)};var v=n(85110),b=n(67385);let w={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};
11class _ extends Error{isUserFacing;file;constructor(t,r){super(t),this.isUserFacing=r?.isUserFacing??!0,r?.file&&(this.file=r.file)}isRestriction=!0}class S{getI18n;getOpts;constructor(t,r){this.getI18n=r,this.getOpts=()=>{let r=t();if(r.restrictions?.allowedFileTypes!=null&&!Array.isArray(r.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");return r}}validateAggregateRestrictions(t,r){let{maxTotalFileSize:n,maxNumberOfFiles:i}=this.getOpts().restrictions;if(i&&t.filter(t=>!t.isGhost).length+r.length>i)throw new _(`${this.getI18n()("youCanOnlyUploadX",{smart_count:i})}`);if(n){let i=[...t,...r].reduce((t,r)=>t+(r.size??0),0);if(i>n)throw new _(this.getI18n()("aggregateExceedsSize",{sizeAllowed:v(n),size:v(i)}))}}validateSingleFile(t){let{maxFileSize:r,minFileSize:n,allowedFileTypes:i}=this.getOpts().restrictions;if(i&&!i.some(r=>r.includes("/")?!!t.type&&b(t.type.replace(/;.*?$/,""),r):"."===r[0]&&!!t.extension&&t.extension.toLowerCase()===r.slice(1).toLowerCase())){let r=i.join(", ");throw new _(this.getI18n()("youCanOnlyUploadFileTypes",{types:r}),{file:t})}if(r&&null!=t.size&&t.size>r)throw new _(this.getI18n()("exceedsSize",{size:v(r),file:t.name??this.getI18n()("unnamed")}),{file:t});if(n&&null!=t.size&&t.size<n)throw new _(this.getI18n()("inferiorSize",{size:v(n)}),{file:t})}validate(t,r){r.forEach(t=>{this.validateSingleFile(t)}),this.validateAggregateRestrictions(t,r)}validateMinNumberOfFiles(t){let{minNumberOfFiles:r}=this.getOpts().restrictions;if(r&&Object.keys(t).length<r)throw new _(this.getI18n()("youHaveToAtLeastSelectX",{smart_count:r}))}getMissingRequiredMetaFields(t){let r=new _(this.getI18n()("missingRequiredMetaFieldOnFile",{fileName:t.name??this.getI18n()("unnamed")})),{requiredMetaFields:n}=this.getOpts().restrictions,i=[];for(let r of n)Object.hasOwn(t.meta,r)&&""!==t.meta[r]||i.push(r);return{missingFields:i,error:r}}}let E={totalProgress:0,allowNewUpload:!0,error:null,recoveredState:null};class A{static VERSION="4.5.3";#ee=Object.create(null);#et;#er;#en=d();#ei=new Set;#eo=new Set;#ea=new Set;defaultLocale;locale;opts;store;i18n;i18nArray;scheduledAutoProceed=null;wasOffline=!1;constructor(t){this.defaultLocale=f;let r={id:"uppy",autoProceed:!1,allowMultipleUploadBatches:!0,debug:!1,restrictions:w,meta:{},onBeforeFileAdded:(t,r)=>!Object.hasOwn(r,t.id),onBeforeUpload:t=>t,store:new i,logger:g,infoTimeout:5e3},n={...r,...t};this.opts={...n,restrictions:{...r.restrictions,...t?.restrictions}},t?.logger&&t.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):t?.debug&&(this.opts.logger=y),this.log(`Using Core v${A.VERSION}`),this.i18nInit(),this.store=this.opts.store,this.setState({...E,plugins:{},files:{},currentUploads:{},capabilities:{uploadProgress:function(t){if(null==t&&"undefined"!=typeof navigator&&(t=navigator.userAgent),!t)return!0;let r=/Edge\/(\d+\.\d+)/.exec(t);if(!r)return!0;let n=r[1].split(".",2),i=parseInt(n[0],10),o=parseInt(n[1],10);return i<15||15===i&&o<15063||i>18||18===i&&o>=18218}(),individualCancellation:!0,resumableUploads:!1},meta:{...this.opts.meta},info:[]}),this.#et=new S(()=>this.opts,()=>this.i18n),this.#er=this.store.subscribe((t,r,n)=>{this.emit("state-update",t,r,n),this.updateAll(r)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),this.#es()}emit(t,...r){this.#en.emit(t,...r)}on(t,r){return this.#en.on(t,r),this}once(t,r){return this.#en.once(t,r),this}off(t,r){return this.#en.off(t,r),this}updateAll(t){this.iteratePlugins(r=>{r.update(t)})}setState(t){this.store.setState(t)}getState(){return this.store.getState()}patchFilesState(t){let r=this.getState().files;this.setState({files:{...r,...Object.fromEntries(Object.entries(t).map(([t,n])=>[t,{...r[t],...n}]))}})}setFileState(t,r){if(!this.getState().files[t])throw Error(`Canât set state for ${t} (the file could have been removed)`);this.patchFilesState({[t]:r})}i18nInit(){let t=new u.Z([this.defaultLocale,this.opts.locale],{onMissingKey:t=>this.log(`Missing i18n string: ${t}`,"error")});this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.locale=t.locale}setOptions(t){this.opts={...this.opts,...t,restrictions:{...this.opts.restrictions,...t?.restrictions}},t.meta&&this.setMeta(t.meta),this.i18nInit(),t.locale&&this.iteratePlugins(r=>{r.setOptions(t)}),this.setState(void 0)}resetProgress(){let t={percentage:0,bytesUploaded:!1,uploadComplete:!1,uploadStarted:null}
11,r={...this.getState().files},n=Object.create(null);Object.keys(r).forEach(i=>{n[i]={...r[i],progress:{...r[i].progress,...t},tus:void 0,transloadit:void 0}}),this.setState({files:n,...E})}clear(){let{capabilities:t,currentUploads:r}=this.getState();if(Object.keys(r).length>0&&!t.individualCancellation)throw Error("The installed uploader plugin does not allow removing files during an upload.");this.setState({...E,files:{}})}addPreProcessor(t){this.#ei.add(t)}removePreProcessor(t){return this.#ei.delete(t)}addPostProcessor(t){this.#ea.add(t)}removePostProcessor(t){return this.#ea.delete(t)}addUploader(t){this.#eo.add(t)}removeUploader(t){return this.#eo.delete(t)}setMeta(t){let r={...this.getState().meta,...t},n={...this.getState().files};Object.keys(n).forEach(r=>{n[r]={...n[r],meta:{...n[r].meta,...t}}}),this.log("Adding metadata:"),this.log(t),this.setState({meta:r,files:n})}setFileMeta(t,r){let n={...this.getState().files};if(!n[t]){this.log(`Was trying to set metadata for a file that has been removed: ${t}`);return}let i={...n[t].meta,...r};n[t]={...n[t],meta:i},this.setState({files:n})}getFile(t){return this.getState().files[t]}getFiles(){let{files:t}=this.getState();return Object.values(t)}getFilesByIds(t){return t.map(t=>this.getFile(t))}getObjectOfFilesPerState(){let{files:t,totalProgress:r,error:n}=this.getState(),i=Object.values(t),o=[],a=[],s=[],l=[],u=[],c=[],d=[],h=[],f=[];for(let t of i){let{progress:r}=t;r.uploadComplete||!r.uploadStarted||(o.push(t),t.isPaused||h.push(t)),r.uploadStarted||a.push(t),(r.uploadStarted||r.preprocess||r.postprocess)&&s.push(t),r.uploadStarted&&l.push(t),t.isPaused&&u.push(t),r.uploadComplete&&c.push(t),t.error&&d.push(t),(r.preprocess||r.postprocess)&&f.push(t)}return{newFiles:a,startedFiles:s,uploadStartedFiles:l,pausedFiles:u,completeFiles:c,erroredFiles:d,inProgressFiles:o,inProgressNotPausedFiles:h,processingFiles:f,isUploadStarted:l.length>0,isAllComplete:100===r&&c.length===i.length&&0===f.length,isAllErrored:!!n&&d.length===i.length,isAllPaused:0!==o.length&&u.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:i.some(t=>t.isGhost)}}#el(t){for(let r of t)r.isRestriction?this.emit("restriction-failed",r.file,r):this.emit("error",r,r.file),this.log(r,"warning");let r=t.filter(t=>t.isUserFacing),n=r.slice(0,4),i=r.slice(4);n.forEach(({message:t,details:r=""})=>{this.info({message:t,details:r},"error",this.opts.infoTimeout)}),i.length>0&&this.info({message:this.i18n("additionalRestrictionsFailed",{count:i.length})})}validateRestrictions(t,r=this.getFiles()){try{this.#et.validate(r,[t])}catch(t){return t}return null}validateSingleFile(t){try{this.#et.validateSingleFile(t)}catch(t){return t.message}return null}validateAggregateRestrictions(t){let r=this.getFiles();try{this.#et.validateAggregateRestrictions(r,t)}catch(t){return t.message}return null}#eu(t){let{missingFields:r,error:n}=this.#et.getMissingRequiredMetaFields(t);return r.length>0?(this.setFileState(t.id,{missingRequiredMetaFields:r,error:n.message}),this.log(n.message),this.emit("restriction-failed",t,n),!1):(0===r.length&&t.missingRequiredMetaFields&&this.setFileState(t.id,{missingRequiredMetaFields:[]}),!0)}#ec(t){let r=!0;for(let n of Object.values(t))this.#eu(n)||(r=!1);return r}#ed(t){let{allowNewUpload:r}=this.getState();if(!1===r){let r=new _(this.i18n("noMoreFilesAllowed"),{file:t});throw this.#el([r]),r}}checkIfFileAlreadyExists(t){let{files:r}=this.getState();return!!r[t]&&!r[t].isGhost}#eh(t){let r=t instanceof File?{name:t.name,type:t.type,size:t.size,data:t}:t,n=s(r),i=r.name?r.name:"image"===n.split("/")[0]?`${n.split("/")[0]}.${n.split("/")[1]}`:"noname",a=o(i).extension,u=function(t,r){var n;let i;if(t.isRemote&&t.remote&&new Set(["box","dropbox","drive","facebook","unsplash"]).has(t.remote.provider))return t.id;let o=s(t);return n={...t,type:o},i=r||"uppy","string"==typeof n.name&&(i+=`-${l(n.name.toLowerCase())}`),void 0!==n.type&&(i+=`-${n.type}`),n.meta&&"string"==typeof n.meta.relativePath&&(i+=`-${l(n.meta.relativePath.toLowerCase())}`),void 0!==n.data.size&&(i+=`-${n.data.size}`),void 0!==n.data.lastModified&&(i+=`-${n.data.lastModified}`),i}(r,this.getID()),c=r.meta||{};c.name=i,c.type=n;let d=Number.isFinite(r.data.size)?r.data.size:null;return{source:r.source||"",id:u,name:i,extension:a||"",meta:{...this.get
11State().meta,...c},type:n,data:r.data,progress:{percentage:0,bytesUploaded:!1,bytesTotal:d,uploadComplete:!1,uploadStarted:null},size:d,isGhost:!1,isRemote:r.isRemote||!1,remote:r.remote,preview:r.preview}}#ef(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(t=>{t.isRestriction||this.log(t.stack||t.message||t)})},4))}#ep(t){let{files:r}=this.getState(),n={...r},i=[],o=[];for(let a of t)try{let t=this.#eh(a),o=r[t.id]?.isGhost;o&&(t={...r[t.id],isGhost:!1,data:a.data},this.log(`Replaced the blob in the restored ghost file: ${t.name}, ${t.id}`));let s=this.opts.onBeforeFileAdded(t,n);if(n={...r=this.getState().files,...n},!s&&this.checkIfFileAlreadyExists(t.id))throw new _(this.i18n("noDuplicates",{fileName:t.name??this.i18n("unnamed")}),{file:a});if(!1!==s||o)"object"==typeof s&&null!==s&&(t=s);else throw new _("Cannot add the file because onBeforeFileAdded returned false.",{isUserFacing:!1,file:a});this.#et.validateSingleFile(t),n[t.id]=t,i.push(t)}catch(t){o.push(t)}try{this.#et.validateAggregateRestrictions(Object.values(r),i)}catch(t){return o.push(t),{nextFilesState:r,validFilesToAdd:[],errors:o}}return{nextFilesState:n,validFilesToAdd:i,errors:o}}addFile(t){this.#ed(t);let{nextFilesState:r,validFilesToAdd:n,errors:i}=this.#ep([t]),o=i.filter(t=>t.isRestriction);if(this.#el(o),i.length>0)throw i[0];this.setState({files:r});let[a]=n;return this.emit("file-added",a),this.emit("files-added",n),this.log(`Added file: ${a.name}, ${a.id}, mime type: ${a.type}`),this.#ef(),a.id}addFiles(t){this.#ed();let{nextFilesState:r,validFilesToAdd:n,errors:i}=this.#ep(t),o=i.filter(t=>t.isRestriction);this.#el(o);let a=i.filter(t=>!t.isRestriction);if(a.length>0){let t="Multiple errors occurred while adding files:\n";if(a.forEach(r=>{t+=` 12 * ${r.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:a.length}),details:t},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw AggregateError(a,t);{let r=Error(t);throw r.errors=a,r}}this.setState({files:r}
12),n.forEach(t=>{this.emit("file-added",t)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.values(n).forEach(t=>{this.log(`Added file: ${t.name} 13 id: ${t.id} 14 type: ${t.type}`)}),n.length>0&&this.#ef()}removeFiles(t){let{files:r,currentUploads:n}=this.getState(),i={...r},o={...n},a=Object.create(null);function s(t){return void 0===a[t]}t.forEach(t=>{r[t]&&(a[t]=r[t],delete i[t])}),Object.keys(o).forEach(t=>{let r=n[t].fileIDs.filter(s);if(0===r.length){delete o[t];return}let{capabilities:i}=this.getState();if(r.length!==n[t].fileIDs.length&&!i.individualCancellation)throw Error("The installed uploader plugin does not allow removing files during an upload.");o[t]={...n[t],fileIDs:r}});let l={currentUploads:o,files:i};0===Object.keys(i).length&&(l.allowNewUpload=!0,l.error=null,l.recoveredState=null),this.setState(l),this.#em();let u=Object.keys(a);u.forEach(t=>{this.emit("file-removed",a[t])}),u.length>5?this.log(`Removed ${u.length} files`):this.log(`Removed files: ${u.join(", ")}`)}removeFile(t){this.removeFiles([t])}pauseResume(t){if(!this.getState().capabilities.resumableUploads||this.getFile(t).progress.uploadComplete)return;let r=this.getFile(t),n=!r.isPaused;return this.setFileState(t,{isPaused:n}),this.emit("upload-pause",r,n),n}pauseAll(){let t={...this.getState().files};Object.keys(t).filter(r=>!t[r].progress.uploadComplete&&t[r].progress.uploadStarted).forEach(r=>{let n={...t[r],isPaused:!0};t[r]=n}),this.setState({files:t}),this.emit("pause-all")}resumeAll(){let t={...this.getState().files};Object.keys(t).filter(r=>!t[r].progress.uploadComplete&&t[r].progress.uploadStarted).forEach(r=>{let n={...t[r],isPaused:!1,error:null};t[r]=n}),this.setState({files:t}),this.emit("resume-all")}#eg(){let{files:t}=this.getState();return Object.keys(t).filter(r=>{let n=t[r];return n.error&&(!n.missingRequiredMetaFields||0===n.missingRequiredMetaFields.length)})}async #ey(){let t=this.#eg(),r={...this.getState().files};if(t.forEach(t=>{r[t]={...r[t],isPaused:!1,error:null}}),this.setState({files:r,error:null}),this.emit("retry-all",this.getFilesByIds(t)),0===t.length)return{successful:[],failed:[]};let n=this.#ev(t,{forceAllowNewUpload:!0});return this.#eb(n)}async retryAll(){let t=await this.#ey();return this.emit("complete",t),t}cancelAll(){this.emit("cancel-all");let{files:t}=this.getState(),r=Object.keys(t);r.length&&this.removeFiles(r),this.setState(E)}retryUpload(t){this.setFileState(t,{error:null,isPaused:!1}),this.emit("upload-retry",this.getFile(t));let r=this.#ev([t],{forceAllowNewUpload:!0});return this.#eb(r)}logout(){this.iteratePlugins(t=>{t.provider?.logout?.()})}#ew=(t,r)=>{let n=t?this.getFile(t.id):void 0;if(null==t||!n){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}if(100===n.progress.percentage){this.log(`Not setting progress for a file that has been already uploaded: ${t.id}`);return}let i={bytesTotal:r.bytesTotal,percentage:null!=r.bytesTotal&&Number.isFinite(r.bytesTotal)&&r.bytesTotal>0?Math.round(r.bytesUploaded/r.bytesTotal*100):void 0};null!=n.progress.uploadStarted?this.setFileState(t.id,{progress:{...n.progress,...i,bytesUploaded:r.bytesUploaded}}):this.setFileState(t.id,{progress:{...n.progress,...i}}),this.#em()};#e_(){let t=this.#eS(),r=null;null!=t&&((r=Math.round(100*t))>100?r=100:r<0&&(r=0)),this.emit("progress",r??0),this.setState({totalProgress:r??0})}#em=c(()=>this.#e_(),500,{leading:!0,trailing:!0});[Symbol.for("uppy test: updateTotalProgress")](){return this.#e_()}#eS(){let t=this.getFiles().filter(t=>t.progress.uploadStarted||t.progress.preprocess||t.progress.postprocess);if(0===t.length)return 0;if(t.every(t=>t.progress.uploadComplete))return 1;let r=t=>null!=t.progress.bytesTotal&&0!==t.progress.bytesTotal,n=t.filter(r),i=t.filter(t=>!r(t));if(n.every(t=>t.progress.uploadComplete)&&i.length>0&&!i.every(t=>t.progress.uploadComplete))return null;let o=n.reduce((t,r)=>t+(r.progress.bytesTotal??0),0),a=n.reduce((t,r)=>t+(r.progress.bytesUploaded||0),0);return 0===o?0:a/o}#es(){let t=(t,r,n)=>{let i=t.message||"Unknown error";t.details&&(i+=` ${t.details}`),this.setState({error:i}
14),null!=r&&r.id in this.getState().files&&this.setFileState(r.id,{error:i,response:n})};this.on("error",t),this.on("upload-error",(r,n,i)=>{if(t(n,r,i),"object"==typeof n&&n.message){this.log(n.message,"error");let t=Error(this.i18n("failedToUpload",{file:r?.name??""}));t.isUserFacing=!0,t.details=n.message,n.details&&(t.details+=` ${n.details}`),this.#el([t])}else this.#el([n])});let r=null;this.on("upload-stalled",(t,n)=>{let{message:i}=t,o=n.map(t=>t.meta.name).join(", ");r||(this.info({message:i,details:o},"warning",this.opts.infoTimeout),r=setTimeout(()=>{r=null},this.opts.infoTimeout)),this.log(`${i} ${o}`.trim(),"warning")}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-start",t=>{let r=Object.fromEntries(t.filter(t=>{let r=null!=t&&this.getFile(t.id);return r||this.log(`Not setting progress for a file that has been removed: ${t?.id}`),r}).map(t=>[t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,bytesUploaded:0,bytesTotal:t.size}}]));this.patchFilesState(r)}),this.on("upload-progress",this.#ew),this.on("upload-success",(t,r)=>{if(null==t||!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}let n=this.getFile(t.id).progress;this.setFileState(t.id,{progress:{...n,postprocess:this.#ea.size>0?{mode:"indeterminate"}:void 0,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:r,uploadURL:r.uploadURL,isPaused:!1}),null==t.size&&this.setFileState(t.id,{size:r.bytesUploaded||n.bytesTotal}),this.#em()}),this.on("preprocess-progress",(t,r)=>{if(null==t||!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}this.setFileState(t.id,{progress:{...this.getFile(t.id).progress,preprocess:r}})}),this.on("preprocess-complete",t=>{if(null==t||!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}let r={...this.getState().files};r[t.id]={...r[t.id],progress:{...r[t.id].progress}},delete r[t.id].progress.preprocess,this.setState({files:r})}),this.on("postprocess-progress",(t,r)=>{if(null==t||!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}this.setFileState(t.id,{progress:{...this.getState().files[t.id].progress,postprocess:r}})}),this.on("postprocess-complete",t=>{if(null==t||!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t?.id}`);return}let r={...this.getState().files};r[t.id]={...r[t.id],progress:{...r[t.id].progress}},delete r[t.id].progress.postprocess,this.setState({files:r})}),this.on("restored",()=>{this.#em()}),this.on("dashboard:file-edit-complete",t=>{t&&this.#eu(t)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",this.#eE),window.addEventListener("offline",this.#eE),setTimeout(this.#eE,3e3))}updateOnlineStatus(){window.navigator.onLine??!0?(this.emit("is-online"),this.wasOffline&&(this.emit
14("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}#eE=this.updateOnlineStatus.bind(this);getID(){return this.opts.id}use(t,...r){if("function"!=typeof t)throw TypeError(`Expected a plugin class, but got ${null===t?"null":typeof t}. Please verify that the plugin was imported and spelled correctly.`);let n=new t(this,...r),i=n.id;if(!i)throw Error("Your plugin must have an id");if(!n.type)throw Error("Your plugin must have a type");let o=this.getPlugin(i);if(o)throw Error(`Already found a plugin named '${o.id}'. Tried to use: '${i}'. 15Uppy plugins must have unique \`id\` options.`);return t.VERSION&&this.log(`Using ${i} v${t.VERSION}`),n.type in this.#ee?this.#ee[n.type].push(n):this.#ee[n.type]=[n],n.install(),this.emit("plugin-added",n),this}getPlugin(t){for(let r of Object.values(this.#ee)){let n=r.find(r=>r.id===t);if(null!=n)return n}}[Symbol.for("uppy test: getPlugins")](t){return this.#ee[t]}iteratePlugins(t){Object.values(this.#ee).flat(1).forEach(t)}removePlugin(t){this.log(`Removing plugin ${t.id}`),this.emit("plugin-remove",t),t.uninstall&&t.uninstall();let r=this.#ee[t.type],n=r.findIndex(r=>
15r.id===t.id);-1!==n&&r.splice(n,1);let i={plugins:{...this.getState().plugins,[t.id]:void 0}};this.setState(i)}destroy(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll(),this.#er(),this.iteratePlugins(t=>{this.removePlugin(t)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",this.#eE),window.removeEventListener("offline",this.#eE))}hideInfo(){let{info:t}=this.getState();this.setState({info:t.slice(1)}),this.emit("info-hidden")}info(t,r="info",n=3e3){let i="object"==typeof t;this.setState({info:[...this.getState().info,{type:r,message:i?t.message:t,details:i?t.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(t,r){let{logger:n}=this.opts;switch(r){case"error":n.error(t);break;case"warning":n.warn(t);break;default:n.debug(t)}}#eA=new Map;registerRequestClient(t,r){this.#eA.set(t,r)}getRequestClientForFile(t){if(!t.remote)throw Error(`Tried to get RequestClient for a non-remote file ${t.id}`);let r=this.#eA.get(t.remote.requestClientId);if(null==r)throw Error(`requestClientId "${t.remote.requestClientId}" not registered for file "${t.id}"`);return r}restore(t){return(this.log(`Core: attempting to restore upload "${t}"`),this.getState().currentUploads[t])?this.#eb(t):(this.#ex(t),Promise.reject(Error("Nonexistent upload")))}#ev(t,r={}){let{forceAllowNewUpload:n=!1}=r,{allowNewUpload:i,currentUploads:o}=this.getState();if(!i&&!n)throw Error("Cannot create a new upload: already uploading.");let a=(0,h.x)();return this.emit("upload",a,this.getFilesByIds(t)),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...o,[a]:{fileIDs:t,step:0,result:{}}}}),a}[Symbol.for("uppy test: createUpload")](...t){return this.#ev(...t)}#ek(t){let{currentUploads:r}=this.getState();return r[t]}addResultData(t,r){if(!this.#ek(t)){this.log(`Not setting result for an upload that has been removed: ${t}`);return}let{currentUploads:n}=this.getState(),i={...n[t],result:{...n[t].result,...r}};this.setState({currentUploads:{...n,[t]:i}})}#ex(t){let r={...this.getState().currentUploads};delete r[t],this.setState({currentUploads:r})}async #eb(t){let r;let n=()=>{let{currentUploads:r}=this.getState();return r[t]},i=n(),o=[...this.#ei,...this.#eo,...this.#ea];try{for(let r=i.step||0;r<o.length&&i;r++){let a=o[r];this.setState({currentUploads:{...this.getState().currentUploads,[t]:{...i,step:r}}});let{fileIDs:s}=i;await a(s,t),i=n()}}catch(r){throw this.#ex(t),r}if(i){i.fileIDs.forEach(t=>{let r=this.getFile(t);r?.progress.postprocess&&this.emit("postprocess-complete",r)});let r=i.fileIDs.map(t=>this.getFile(t)),o=r.filter(t=>!t.error),a=r.filter(t=>t.error);this.addResultData(t,{successful:o,failed:a,uploadID:t}),i=n()}return i&&(r=i.result,this.#ex(t)),null==r&&(this.log(`Not setting result for an upload that has been removed: ${t}`),r={successful:[],failed:[],uploadID:t}),r}async upload(){this.#ee.uploader?.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();if(this.#eg().length>0){let r=await this.#ey();if(!(this.getFiles().filter(t=>null==t.progress.uploadStarted).length>0))return this.emit("complete",r),r;({files:t}=this.getState())}let r=this.opts.onBeforeUpload(t);return!1===r?Promise.reject(Error("Not starting the upload because onBeforeUpload returned false")):(r&&"object"==typeof r&&(t=r,this.setState({files:t})),Promise.resolve().then(()=>this.#et.validateMinNumberOfFiles(t)).catch(t=>{throw this.#el([t]),t}).then(()=>{if(!this.#ec(t))throw new _(this.i18n("missingRequiredMetaField"))}).catch(t=>{throw t}).then(async()=>{let{currentUploads:r}=this.getState(),n=Object.values(r).flatMap(t=>t.fileIDs),i=[];Object.keys(t).forEach(t=>{let r=this.getFile(t);r.progress.uploadStarted||-1!==n.indexOf(t)||i.push(r.id)});let o=this.#ev(i),a=await this.#eb(o);return this.emit("complete",a),a}).catch(t=>{throw this.emit("error",t),this.log(t,"error"),t}))}}var x=A},35996:function(t,r,n){"use strict";n.d(r,{Z:function(){return nd}});var i=n(10448);function o(t,r,n,i){return 0===n||t===r?t:0===i?r:t+(r-t)*2**(-i/n)}var a=function(t){for(var r;t&&!t.dir;)t=t.parentNode;return null==(r=t)?void 0:r.dir},s={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete"},l=n(79080),u=n(36760);function c(t){let r;let n=[],i="indeterminate";for(let{progress:o}of Object.values(t)){let{preprocess:t,postprocess:a}=o;null==r&&(t||a)&&({mode:i,message:r}=t||a),(null==t?void 0:t.mode)==="determinate"&&n.push(t.value),(null==a?void 0:a.mode)==="determinate"&&n.push(a.value)}return{mode:i,message:r,value:n.reduce((t,r)=>t+r/n.length,0)}}var d=n(85110);let h=`\u00B7`,f=()=>` ${h} `;function p(t){let{newFiles:r,isUploadStarted:n,recoveredState:i,i18n:o,uploadState:a,isSomeGhost:c,startUpload:d}=t,h=u("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--upload",{"uppy-c-btn-primary":a===s.STATE_WAITING},{"uppy-StatusBar-actionBtn--disabled":c}),f=o(r&&n&&!i?"uploadXNewFiles":"uploadXFiles",{smart_count:r});return(0,l.h)("button",{type:"button",className:h,"aria-label":o("uploadXFiles",{smart_count:r}),onClick:d,disabled:c,"data-uppy-super-focusable":!0},f)}function m(t){let{i18n:r,uppy:n}=t;return(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--retry","aria-label":r("retryUpload"),onClick:()=>n.retryAll().catch(()=>{}),"data-uppy-super-focusable":!0,"data-cy":"retry"},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"8",he
15ight:"10",viewBox:"0 0 8 10"},(0,l.h)("path",{d:"M4 2.408a2.75 2.75 0 1 0 2.75 2.75.626.626 0 0 1 1.25.018v.023a4 4 0 1 1-4-4.041V.25a.25.25 0 0 1 .389-.208l2.299 1.533a.25.25 0 0 1 0 .416l-2.3 1.533A.25.25 0 0 1 4 3.316v-.908z"})),r("retry"))}function g(t){let{i18n:r,uppy:n}=t;return(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",title:r("cancel"),"aria-label":r("cancel"),onClick:()=>n.cancelAll(),"data-cy":"cancel","data-uppy-super-focusable":!0},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,l.h)("g",{fill:"none",fillRule:"evenodd"},(0,l.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,l.h)("path",{fill:"#FFF",d:"M9.283 8l2.567 2.567-1.283 1.283L8 9.283 5.433 11.85 4.15 10.567 6.717 8 4.15 5.433 5.433 4.15 8 6.717l2.567-2.567 1.283 1.283z"}))))}function y(t){let{isAllPaused:r,i18n:n,isAllComplete:i,resumableUploads:o,uppy:a}=t,s=n(r?"resume":"pause");return(0,l.h)("button",{title:s,"aria-label":s,className:"uppy-u-reset uppy-StatusBar-actionCircleBtn",type:"button",onClick:function(){if(!i){if(!o){a.cancelAll();return}if(r){a.resumeAll();return}a.pauseAll()}},"data-cy":"togglePauseResume","data-uppy-super-focusable":!0},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"16",height:"16",viewBox:"0 0 16 16"},(0,l.h)("g",{fill:"none",fillRule:"evenodd"},(0,l.h)("circle",{fill:"#888",cx:"8",cy:"8",r:"8"}),(0,l.h)("path",{fill:"#FFF",d:r?"M6 4.25L11.5 8 6 11.75z":"M5 4.5h2v7H5v-7zm4 0h2v7H9v-7z"}))))}function v(t){let{i18n:r,doneButtonHandler:n}=t;return(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-StatusBar-actionBtn uppy-StatusBar-actionBtn--done",onClick:n,"data-uppy-super-focusable":!0},r("done"))}function b(){return(0,l.h)("svg",{className:"uppy-StatusBar-spinner","aria-hidden":"true",focusable:"false",width:"14",height:"14"},(0,l.h)("path",{d:"M13.983 6.547c-.12-2.509-1.64-4.893-3.939-5.936-2.48-1.127-5.488-.656-7.556 1.094C.524 3.367-.398 6.048.162 8.562c.556 2.495 2.46 4.52 4.94 5.183 2.932.784 5.61-.602 7.256-3.015-1.493 1.993-3.745 3.309-6.298 2.868-2.514-.434-4.578-2.349-5.153-4.84a6.226 6.226 0 0 1 2.98-6.778C6.34.586 9.74 1.1 11.373 3.493c.407.596.693 1.282.842 1.988.127.598.073 1.197.161 1.794.078.525.543 1.257 1.15.864.525-.341.49-1.05.456-1.592-.007-.15.02.3 0 0",fillRule:"evenodd"}))}function w(t){let{progress:r}=t,{value:n,mode:i,message:o}=r,a=`\u00B7`;return(0,l.h)("div",{className:"uppy-StatusBar-content"},(0,l.h)(b,null),"determinate"===i?`${Math.round(100*n)}% ${a} `:"",o)}function _(t){let{numUploads:r,complete:n,totalUploadedSize:i,totalSize:o,totalETA:a,i18n:s}=t,u=r>1,c=d(i);return(0,l.h)("div",{className:"uppy-StatusBar-statusSecondary"},u&&s("filesUploadedOfTotal",{complete:n,smart_count:r}),(0,l.h)("span",{className:"uppy-StatusBar-additionalInfo"},u&&f(),null!=o?s("dataUploadedOfTotal",{complete:c,total:d(o)}):s("dataUploadedOfUnknown",{complete:c}),f(),null!=a&&s("xTimeLeft",{time:function(t){let r={hours:Math.floor(t/3600)%24,minutes:Math.floor(t/60)%60,seconds:Math.floor(t%60)},n=0===r.hours?"":`${r.hours}h`,i=0===r.minutes?"":`${0===r.hours?r.minutes:` ${r.minutes.toString(10).padStart(2,"0")}`}m`,o=0!==r.hours?"":`${0===r.minutes?r.seconds:` ${r.seconds.toString(10).padStart(2,"0")}`}s`;return`${n}${i}${o}`}(a)})))}function S(t){let{i18n:r,complete:n,numUploads:i}=t;return(0,l.h)("div",{className:"uppy-StatusBar-statusSecondary"},r("filesUploadedOfTotal",{complete:n,smart_count:i}))}function E(t){let{i18n:r,newFiles:n,startUpload:i}=t,o=u("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--uploadNewlyAdded");return(0,l.h)("div",{className:"uppy-StatusBar-statusSecondary"},(0,l.h)("div",{className:"uppy-StatusBar-statusSecondaryHint"},r("xMoreFilesAdded",{smart_count:n})),(0,l.h)("button",{type:"button",className:o,"aria-label":r("uploadXFiles",{smart_count:n}),onClick:i},r("upload")))}function A(t){let{i18n:r,supportsUploadProgress:n,totalProgress:i,showProgressDetails:o,isUploadStarted:a,isAllComplete:s,isAllPaused:u,newFiles:c,numUploads:d,complete:h,totalUploadedSize:f,totalSize:p,totalETA:m,startUpload:g}=t,y=c&&a;if(!a||s)return null;let v=r(u?"paused":"uploading");return(0,l.h)("div",{className:"uppy-StatusBar-content","aria-label":v,title:v},u?null:(0,l.h)(b,null),(0,l.h)("div",{className:"uppy-StatusBar-status"},(0,l.h)("div",{className:"uppy-StatusBar-statusPrimary"},n&&0!==i?`${v}: ${i}%`:v),u||y||!o?null:n?(0,l.h)(_,{numUploads:d,complete:h,totalUploadedSize:f,totalSize:p,totalETA:m,i18n:r}):(0,l.h)(S,{i18n:r,complete:h,numUploads:d}),y?(0,l.h)(E,{i18n:r,newFiles:c,startUpload:g}):null))}function x(t){let{i18n:r}=t;return(0,l.h)("div",{className:"uppy-StatusBar-content",role:"status",title:r("complete")},(0,l.h)("div",{className:"uppy-StatusBar-status"},(0,l.h)("div",{className:"uppy-StatusBar-statusPrimary"},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"15",height:"11",viewBox:"0 0 15 11"},(0,l.h)("path",{d:"M.414 5.843L1.627 4.63l3.472 3.472L13.202 0l1.212 1.213L5.1 10.528z"})),r("complete"))))}function k(t){let{error:r,i18n:n,complete:i,numUploads:o}=t;return(0,l.h)("div",{className:"uppy-StatusBar-content",title:n("uploadFailed")},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,l.h)("path",{d:"M4.278 5.5L0 1.222 1.222 0 5.5 4.278 9.778 0 11 1.222 6.722 5.5 11 9.778 9.778 11 5.5 6.722 1.222 11 0 9.778z"})),(0,l.h)("div",{className:"uppy-StatusBar-status"},(0,l.h)("div",{className:"uppy-StatusBar-statusPrimary"},n("uploadFailed"),(0,l.h)("button",{className:"uppy-u-reset uppy-StatusBar-details","aria-label":n("showErrorDetails"),"data-microtip-position":"top-right","data-microtip-size":"medium",onClick:function(){alert(`${n("uploadFailed")} 16 17 ${r}`)},type:"button"},"?")),(0,l.h)(S,{i18n:n,complete:i,numUploads:o})))}let{STATE_ERROR:O,STATE_WAITING:P,STATE_PREPROCESSING:C,STATE_UPLOADING:T,STATE_POSTPROCESSING:M,STATE_COMPLETE:R}=s;var I={strings:{uploading:"Uploading",complete:"Complete",uploadFailed:"Upload failed",paused:"Paused",retry:"Retry",cancel:"Cancel",pause:"Pause",resume:"Resume",done:"Done",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},dataUploadedOfTotal:"%{complete} of %{total}",dataUploadedOfUnknown:"%{complete} of unknown",xTimeLeft:"%{time} left",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},upload:"Upload",retryUpload:"Retry upload",xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},showErrorDetails:"Show error details"}};function N(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var D=0;function F(t){return"__private_"+D+++"_"+t}let L={hideUploadButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideCancelButton:!1,showProgressDetail
17s:!1,hideAfterFinish:!0,doneButtonHandler:null};var $=F("lastUpdateTime"),j=F("previousUploadedBytes"),U=F("previousSpeed"),B=F("previousETA"),z=F("computeSmoothETA"),H=F("onUploadStart");class q extends i.Z{constructor(t,r){super(t,{...L,...r}),Object.defineProperty(this,z,{value:V}),Object.defineProperty(this,$,{writable:!0,value:void 0}),Object.defineProperty(this,j,{writable:!0,value:void 0}),Object.defineProperty(this,U,{writable:!0,value:void 0}),Object.defineProperty(this,B,{writable:!0,value:void 0}),this.startUpload=()=>this.uppy.upload().catch(()=>{}),Object.defineProperty(this,H,{writable:!0,value:()=>{let{recoveredState:t}=this.uppy.getState();if(N(this,U)[U]=null,N(this,B)[B]=null,t){N(this,j)[j]=Object.values(t.files).reduce((t,r)=>{let{progress:n}=r;return t+n.bytesUploaded},0),this.uppy.emit("restore-confirmed");return}N(this,$)[$]=performance.now(),N(this,j)[j]=0}}),this.id=this.opts.id||"StatusBar",this.title="StatusBar",this.type="progressindicator",this.defaultLocale=I,this.i18nInit(),this.render=this.render.bind(this),this.install=this.install.bind(this)}render(t){let{capabilities:r,files:n,allowNewUpload:i,totalProgress:o,error:a,recoveredState:d}=t,{newFiles:h,startedFiles:f,completeFiles:b,isUploadStarted:_,isAllComplete:S,isAllPaused:E,isUploadInProgress:I,isSomeGhost:D}=this.uppy.getObjectOfFilesPerState(),F=d?Object.values(n):h,L=!!r.resumableUploads,$=!1!==r.uploadProgress,j=null,U=0;f.every(t=>null!=t.progress.bytesTotal&&0!==t.progress.bytesTotal)?(j=0,f.forEach(t=>{j+=t.progress.bytesTotal||0,U+=t.progress.bytesUploaded||0})):f.forEach(t=>{U+=t.progress.bytesUploaded||0});let B=N(this,z)[z]({uploaded:U,total:j});return function(t){let{newFiles:r,allowNewUpload:n,isUploadInProgress:i,isAllPaused:o,resumableUploads:a,error:s,hideUploadButton:d,hidePauseResumeButton:h=!1,hideCancelButton:f=!1,hideRetryButton:b=!1,recoveredState:_,uploadState:S,totalProgress:E,files:I,supportsUploadProgress:N,hideAfterFinish:D=!1,isSomeGhost:F,doneButtonHandler:L,isUploadStarted:$,i18n:j,startUpload:U,uppy:B,isAllComplete:z,showProgressDetails:H,numUploads:q,complete:V,totalSize:G,totalETA:W,totalUploadedSize:K}=t,Y=function(){switch(S){case M:case C:{let t=c(I);if("determinate"===t.mode)return 100*t.value;return E}case O:return null;case T:if(!N)return null;return E;default:return E}}(),Z=null!=Y?Y:100,X=!s&&r&&(!i&&!o||_)&&n&&!d,J=!f&&S!==P&&S!==R,Q=a&&!h&&S===T,ee=s&&!z&&!b,et=L&&S===R,er=u("uppy-StatusBar-progress",{"is-indeterminate":function(){switch(S){case M:case C:{let{mode:t}=c(I);return"indeterminate"===t}case T:if(!N)return!0;return!1;default:return!1}}()}),en=u("uppy-StatusBar",`is-${S}`,{"has-ghosts":F}),ei=(()=>{switch(S){case C:case M:return(0,l.h)(w,{progress:c(I)});case R:return(0,l.h)(x,{i18n:j});case O:return(0,l.h)(k,{error:s,i18n:j,numUploads:q,complete:V});case T:return(0,l.h)(A,{i18n:j,supportsUploadProgress:N,totalProgress:E,showProgressDetails:H,isUploadStarted:$,isAllComplete:z,isAllPaused:o,newFiles:r,numUploads:q,complete:V,totalUploadedSize:K,totalSize:G,totalETA:W,startUpload:U});default:return null}})();return(X||ee||Q||J||et||ei)&&(S!==R||!D)?(0,l.h)("div",{className:en},(0,l.h)("div",{className:er,style:{width:`${Z}%`},role:"progressbar","aria-label":`${Z}%`,"aria-valuetext":`${Z}%`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Y}),ei,(0,l.h)("div",{className:"uppy-StatusBar-actions"},X?(0,l.h)(p,{newFiles:r,isUploadStarted:$,recoveredState:_,i18n:j,isSomeGhost:F,startUpload:U,uploadState:S}):null,ee?(0,l.h)(m,{i18n:j,uppy:B}):null,Q?(0,l.h)(y,{isAllPaused:o,i18n:j,isAllComplete:z,resumableUploads:a,uppy:B}):null,J?(0,l.h)(g,{i18n:j,uppy:B}):null,et?(0,l.h)(v,{i18n:j,doneButtonHandler:L}):null)):null}({error:a,uploadState:function(t,r,n,i){if(t)return s.STATE_ERROR;if(r)return s.STATE_COMPLETE;if(n)return s.STATE_WAITING;let o=s.STATE_WAITING,a=Object.keys(i);for(let t=0;t<a.length;t++){let{progress:r}=i[a[t]];if(r.uploadStarted&&!r.uploadComplete)return s.STATE_UPLOADING;r.preprocess&&(o=s.STATE_PREPROCESSING),r.postprocess&&o!==s.STATE_PREPROCESSING&&(o=s.STATE_POSTPROCESSING)}return o}(a,S,d,t.files||{}),allowNewUpload:i,totalProgress:o,totalSize:j,totalUploadedSize:U,isAllComplete:!1,isAllPaused:E,isUploadStarted:_,isUploadInProgress:I,isSomeGhost:D,recoveredState:d,complete:b.length,newFiles:F.length,numUploads:f.length,totalETA:B,files:n,i18n:this.i18n,uppy:this.uppy,startUpload:this.startUpload,doneButtonHandler:this.opts.doneButtonHandler,resumableUploads:L,supportsUploadProgress:$,showProgressDetail
17s:this.opts.showProgressDetails,hideUploadButton:this.opts.hideUploadButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,hideCancelButton:this.opts.hideCancelButton,hideAfterFinish:this.opts.hideAfterFinish})}onMount(){let t=this.el;a(t)||(t.dir="ltr")}install(){let{target:t}=this.opts;t&&this.mount(t,this),this.uppy.on("upload",N(this,H)[H]),N(this,$)[$]=performance.now(),N(this,j)[j]=this.uppy.getFiles().reduce((t,r)=>t+r.progress.bytesUploaded,0)}uninstall(){this.unmount(),this.uppy.off("upload",N(this,H)[H])}}function V(t){var r,n,i;if(null==t.total||0===t.total)return null;let a=t.total-t.uploaded;if(a<=0)return null;null!=(r=N(this,$))[$]||(r[$]=performance.now());let s=performance.now()-N(this,$)[$];if(0===s)return Math.round((null!=(n=N(this,B)[B])?n:0)/100)/10;let l=t.uploaded-N(this,j)[j];if(N(this,j)[j]=t.uploaded,l<=0)return Math.round((null!=(i=N(this,B)[B])?i:0)/100)/10;let u=l/s,c=null==N(this,U)[U]?u:o(u,N(this,U)[U],2e3,s);N(this,U)[U]=c;let d=a/c,h=Math.max(N(this,B)[B]-s,0),f=null==N(this,B)[B]?d:o(d,h,2e3,s);return N(this,B)[B]=f,N(this,$)[$]=performance.now(),Math.round(f/100)/10}q.VERSION="4.1.3";class G extends l.wA{constructor(){super(...arguments),this.ref=(0,l.Vf)()}componentWillEnter(t){this.ref.current.style.opacity="1",this.ref.current.style.transform="none",setTimeout(t,300)}componentWillLeave(t){this.ref.current.style.opacity="0",this.ref.current.style.transform="translateY(350%)",setTimeout(t,300)}render(){let{children:t}=this.props;return(0,l.h)("div",{className:"uppy-Informer-animated",ref:this.ref},t)}}function W(t){let r={};for(let n=0;n<t.length;n++)null!=t[n]&&(r[function(t,r){var n;return null!=(n=null==t?void 0:t.key)?n:r}(t[n],n.toString(36))]=t[n]);return r}class K extends l.wA{constructor(t,r){super(t,r),this.refs={},this.state={children:W((0,l.bR)((0,l.bR)(this.props.children))||[])},this.performAppear=this.performAppear.bind(this),this.performEnter=this.performEnter.bind(this),this.performLeave=this.performLeave.bind(this)}componentWillMount(){this.currentlyTransitioningKeys={},this.keysToAbortLeave=[],this.keysToEnter=[],this.keysToLeave=[]}componentDidMount(){let t=this.state.children;for(let r in t)t[r]&&this.performAppear(r)}componentWillReceiveProps(t){let r;let n=W((0,l.bR)(t.children)||[]),i=this.state.children;for(r in this.setState(t=>({children:function(t,r){t=t||{},r=r||{};let n=n=>r.hasOwnProperty(n)?r[n]:t[n],i={},o=[];for(let n in t)r.hasOwnProperty(n)?o.length&&(i[n]=o,o=[]):o.push(n);let a={};for(let t in r){if(i.hasOwnProperty(t))for(let r=0;r<i[t].length;r++){let o=i[t][r];a[i[t][r]]=n(o)}a[t]=n(t)}for(let t=0;t<o.length;t++)a[o[t]]=n(o[t]);return a}(t.children,n)})),n)if(n.hasOwnProperty(r)){let t=i&&i.hasOwnProperty(r);n[r]&&t&&this.currentlyTransitioningKeys[r]?(this.keysToEnter.push(r),this.keysToAbortLeave.push(r)):!n[r]||t||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(r in i)if(i.hasOwnProperty(r)){let t=n&&n.hasOwnProperty(r);!i[r]||t||this.currentlyTransitioningKeys[r]||this.keysToLeave.push(r)}}componentDidUpdate(){let{keysToEnter:t}=this;this.keysToEnter=[],t.forEach(this.performEnter);let{keysToLeave:r}=this;this.keysToLeave=[],r.forEach(this.performLeave)}_finishAbort(t){let r=this.keysToAbortLeave.indexOf(t);-1!==r&&this.keysToAbortLeave.splice(r,1)}performAppear(t){this.currentlyTransitioningKeys[t]=!0;let r=this.refs[t];null!=r&&r.componentWillAppear?r.componentWillAppear(this._handleDoneAppearing.bind(this,t)):this._handleDoneAppearing(t)}_handleDoneAppearing(t){let r=this.refs[t];null!=r&&r.componentDidAppear&&r.componentDidAppear(),delete this.currentlyTransitioningKeys[t],this._finishAbort(t);let n=W((0,l.bR)(this.props.children)||[]);n&&n.hasOwnProperty(t)||this.performLeave(t)}performEnter(t){this.currentlyTransitioningKeys[t]=!0;let r=this.refs[t];null!=r&&r.componentWillEnter?r.componentWillEnter(this._handleDoneEntering.bind(this,t)):this._handleDoneEntering(t)}_handleDoneEntering(t){let r=this.refs[t];null!=r&&r.componentDidEnter&&r.componentDidEnter(),delete this.currentlyTransitioningKeys[t],this._finishAbort(t);let n=W((0,l.bR)(this.props.children)||[]);n&&n.hasOwnProperty(t)||this.performLeave(t)}performLeave(t){if(-1!==this.keysToAbortLeave.indexOf(t))return;this.currentlyTransitioningKeys[t]=!0;let r=this.refs[t];null!=r&&r.componentWillLeave?r.componentWillLeave(this._handleDoneLeaving.bind(this,t)):this._handleDoneLeaving(t)}_handleDoneLeaving(t){if(-1!==this.keysToAbortLeave.indexOf(t))return;let r=this.refs[t];null!=r&&r.componentDidLeave&&r.componentDidLeave(),delete this.currentlyTransitioningKeys[t];let n=W((0,l.bR)(this.props.children)||[]);if(n&&n.hasOwnProperty(t))this.performEnter(t);else{let r=Object.assign({},this.state.children);delete r[t],this.setState({children:r})}}render(t,r){let{childFactory:n,transitionLeave:i,transitionName:o,transitionAppear:a,transitionEnter:s,transitionLeaveTimeout:u,transitionEnterTimeout:c,transitionAppearTimeout:d,component:h,...f}=t,{children:p}=r,m=Object.entries(p).map(t=>{let[r,i]=t;if(!i)return;let o=function(t,r){let n=t._ptgLinkedRefs||(t._ptgLinkedRefs={});return n[r]||(n[r]=n=>{t.refs[r]=n})}(this,r);return(0,l.Tm)(n(i),{ref:o,key:r})}
17).filter(Boolean);return(0,l.h)(h,f,m)}}K.defaultProps={component:"span",childFactory:t=>t};class Y extends i.Z{constructor(t,r){super(t,r),this.render=t=>(0,l.h)("div",{className:"uppy uppy-Informer"},(0,l.h)(K,null,t.info.map(t=>(0,l.h)(G,{key:t.message},(0,l.h)("p",{role:"alert"},t.message," ",t.details&&(0,l.h)("span",{"aria-label":t.details,"data-microtip-position":"top-left","data-microtip-size":"medium",role:"tooltip",onClick:()=>alert(`${t.message} 18 19 ${t.details}`)},"?")))))),this.type="progressindicator",this.id=this.opts.id||"Informer",this.title="Informer"}install(){let{target:t}=this.opts;t&&this.mount(t,this)}}Y.VERSION="4.2.1";let Z=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;var X=function(t,r,n){var i,o;let a;let s=Z.exec(t),l=null!=(i=null!=(o=r.mimeType)?o:null==s?void 0:s[1])?i:"plain/text";if((null==s?void 0:s[2])!=null){let t=atob(decodeURIComponent(s[3])),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);a=[r]}else(null==s?void 0:s[3])!=null&&(a=[decodeURIComponent(s[3])]);return n?new File(a,r.name||"",{type:l}):new Blob(a,{type:l})};function J(t){return t.startsWith("blob:")}function Q(t){return!!t&&/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(t)}var ee=n(40257),et=n(82957).Buffer;function er(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var en="undefined"!=typeof self?self:global;let ei="undefined"!=typeof navigator,eo=ei&&"undefined"==typeof HTMLImageElement,ea=!("undefined"==typeof global||void 0===ee||!ee.versions||!ee.versions.node),es=en.Buffer,el=!!es,eu=t=>void 0!==t;function ec(t){return void 0===t||(t instanceof Map?0===t.size:0===Object.values(t).filter(eu).length)}function ed(t){let r=Error(t);throw delete r.stack,r}function eh(t){let r;let n=(r=0,t.ifd0.enabled&&(r+=1024),t.exif.enabled&&(r+=2048),t.makerNote&&(r+=2048),t.userComment&&(r+=1024),t.gps.enabled&&(r+=512),t.interop.enabled&&(r+=100),t.ifd1.enabled&&(r+=1024),r+2048);return t.jfif.enabled&&(n+=50),t.xmp.enabled&&(n+=2e4),t.iptc.enabled&&(n+=14e3),t.icc.enabled&&(n+=6e3),n}let ef=t=>String.fromCharCode.apply(null,t),ep="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;class em{static from(t,r){return t instanceof this&&t.le===r?t:new em(t,void 0,void 0,r)}constructor(t,r=0,n,i){if("boolean"==typeof i&&(this.le=i),Array.isArray(t)&&(t=new Uint8Array(t)),0===t)this.byteOffset=0,this.byteLength=0;else if(t instanceof ArrayBuffer){void 0===n&&(n=t.byteLength-r);let i=new DataView(t,r,n);this._swapDataView(i)}else if(t instanceof Uint8Array||t instanceof DataView||t instanceof em){void 0===n&&(n=t.byteLength-r),(r+=t.byteOffset)+n>t.byteOffset+t.byteLength&&ed("Creating view outside of available memory in ArrayBuffer");let i=new DataView(t.buffer,r,n);this._swapDataView(i)}else if("number"==typeof t){let r=new DataView(new ArrayBuffer(t));this._swapDataView(r)}else ed("Invalid input argument for BufferView: "+t)}_swapArrayBuffer(t){this._swapDataView(new DataView(t))}_swapBuffer(t){this._swapDataView(new DataView(t.buffer,t.byteOffset,t.byteLength))}_swapDataView(t){this.dataView=t,this.buffer=t.buffer,this.byteOffset=t.byteOffset,this.byteLength=t.byteLength}_lengthToEnd(t){return this.byteLength-t}set(t,r,n=em){return t instanceof DataView||t instanceof em?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t instanceof ArrayBuffer&&(t=new Uint8Array(t)),t instanceof Uint8Array||ed("BufferView.set(): Invalid data argument."),this.toUint8().set(t,r),new n(this,r,t.byteLength)}subarray(t,r){return r=r||this._lengthToEnd(t),new em(this,t,r)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(t,r){return new Uint8Array(this.buffer,this.byteOffset+t,r)}getString(t=0,r=this.byteLength){let n=this.getUint8Array(t,r);return ep?ep.decode(n):el?et.from(n).toString("utf8"):decodeURIComponent(escape(ef(n)))}getLatin1String(t=0,r=this.byteLength){return ef(this.getUint8Array(t,r))}getUnicodeString(t=0,r=this.byteLength){let n=[];for(let i=0;i<r&&t+i<this.byteLength;i+=2)n.push(this.getUint16(t+i));return ef(n)}getInt8(t){return this.dataView.getInt8(t)}getUint8(t){return this.dataView.getUint8(t)}getInt16(t,r=this.le){return this.dataView.getInt16(t,r)}getInt32(t,r=this.le){return this.dataView.getInt32(t,r)}getUint16(t,r=this.le){return this.dataView.getUint16(t,r)}getUint32(t,r=this.le){return this.dataView.getUint32(t,r)}getFloat32(t,r=this.le){return this.dataView.getFloat32(t,r)}getFloat64(t,r=this.le){return this.dataView.getFloat64(t,r)}getFloat(t,r=this.le){return this.dataView.getFloat32(t,r)}getDouble(t,r=this.le){return this.dataView.getFloat64(t,r)}getUintBytes(t,r,n){switch(r){case 1:return this.getUint8(t,n);case 2:return this.getUint16(t,n);case 4:return this.getUint32(t,n);case 8:return this.getUint64&&this.getUint64(t,n)}}getUint(t,r,n){switch(r){case 8:return this.getUint8(t,n);case 16:return this.getUint16(t,n);case 32:return this.getUint32(t,n);case 64:return this.getUint64&&this.getUint64(t,n)}}toString(t){return this.dataView.toString(t,this.constructor.name)}ensureChunk(){}}function eg(t,r){ed(`${t} '${r}' was not loaded, try using full build of exifr.`)}class ey extends Map{constructor(t){super(),this.kind=t}get(t,r){var n;return this.has(t)||eg(this.kind,t),r&&(t in r||(n=this.kind,ed(`Unknown ${n} '${t}'.`)),r[t].enabled||eg(this.kind,t)),super.get(t)}keyList(){return Array.from(this.keys())}}var ev=new ey("file parser"),eb=new ey("segment parser"),ew=new ey("file reader");let e_=en.fetch;function eS(t,r){return t.startsWith("data:")||t.length>1e4?eA(t,r,"base64"):ea&&t.includes("://")?eE(t,r,"url",ex):ea?eA(t,r,"fs"):ei?eE(t,r,"url",ex):void ed("Invalid input argument")}async function eE(t,r,n,i){return ew.has(n)?eA(t,r,n):i?async function(t,r){return new em(await r(t))}(t,i):void ed(`Parser ${n} is not loaded`)}async function eA(t,r,n){let i=new(ew.get(n))(t,r);return await i.read(),i}let ex=t=>e_(t).then(t=>t.arrayBuffer()),ek=t=>new Promise((r,n)=>{let i=new FileReader;i.onloadend=()=>r(i.result||new ArrayBuffer),i.onerror=n,i.readAsArrayBuffer(t)});class eO extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())
vendor: 13,020 bytes, line 19
19),this.allValues}}function eP(t,r,n){let i=new eO;for(let[t,r]of n)i.set(t,r);if(Array.isArray(r))for(let n of r)t.set(n,i);else t.set(r,i);return i}function eC(t,r,n){let i,o=t.get(r);for(i of n)o.set(i[0],i[1])}let eT=new Map,eM=new Map,eR=new Map,eI=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],eN=["jfif","xmp","icc","iptc","ihdr"],eD=["tiff",...eN],eF=["ifd0","ifd1","exif","gps","interop"],eL=[...eD,...eF],e$=["makerNote","userComment"],ej=["translateKeys","translateValues","reviveValues","multiSegment"],eU=[...ej,"sanitize","mergeOutput","silentErrors"];class eB{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class ez extends eB{get needed(){return this.enabled||this.deps.size>0}constructor(t,r,n,i){if(super(),er(this,"enabled",!1),er(this,"skip",new Set),er(this,"pick",new Set),er(this,"deps",new Set),er(this,"translateKeys",!1),er(this,"translateValues",!1),er(this,"reviveValues",!1),this.key=t,this.enabled=r,this.parse=this.enabled,this.applyInheritables(i),this.canBeFiltered=eF.includes(t),this.canBeFiltered&&(this.dict=eT.get(t)),void 0!==n){if(Array.isArray(n))this.parse=this.enabled=!0,this.canBeFiltered&&n.length>0&&this.translateTagSet(n,this.pick);else if("object"==typeof n){if(this.enabled=!0,this.parse=!1!==n.parse,this.canBeFiltered){let{pick:t,skip:r}=n;t&&t.length>0&&this.translateTagSet(t,this.pick),r&&r.length>0&&this.translateTagSet(r,this.skip)}this.applyInheritables(n)}else!0===n||!1===n?this.parse=this.enabled=n:ed(`Invalid options argument: ${n}`)}}applyInheritables(t){let r,n;for(r of ej)void 0!==(n=t[r])&&(this[r]=n)}translateTagSet(t,r){if(this.dict){let n,i,{tagKeys:o,tagValues:a}=this.dict;for(n of t)"string"==typeof n?(-1===(i=a.indexOf(n))&&(i=o.indexOf(Number(n))),-1!==i&&r.add(Number(o[i]))):r.add(n)}else for(let n of t)r.add(n)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,eK(this.pick,this.deps)):this.enabled&&this.pick.size>0&&eK(this.pick,this.deps)}}var eH={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},eq=new Map;class eV extends eB{static useCached(t){let r=eq.get(t);return void 0!==r||(r=new this(t),eq.set(t,r)),r}constructor(t){super(),!0===t?this.setupFromTrue():void 0===t?this.setupFromUndefined():Array.isArray(t)?this.setupFromArray(t):"object"==typeof t?this.setupFromObject(t):ed(`Invalid options argument ${t}`),void 0===this.firstChunkSize&&(this.firstChunkSize=ei?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let t;for(t of eI)this[t]=eH[t];for(t of eU)this[t]=eH[t];for(t of e$)this[t]=eH[t];for(t of eL)this[t]=new ez(t,eH[t],void 0,this)}setupFromTrue(){let t;for(t of eI)this[t]=eH[t];for(t of eU)this[t]=eH[t];for(t of e$)this[t]=!0;for(t of eL)this[t]=new ez(t,!0,void 0,this)}setupFromArray(t){let r;for(r of eI)this[r]=eH[r];for(r of eU)this[r]=eH[r];for(r of e$)this[r]=eH[r];for(r of eL)this[r]=new ez(r,!1,void 0,this);this.setupGlobalFilters(t,void 0,eF)}setupFromObject(t){let r;for(r of(eF.ifd0=eF.ifd0||eF.image,eF.ifd1=eF.ifd1||eF.thumbnail,Object.assign(this,t),eI))this[r]=eW(t[r],eH[r]);for(r of eU)this[r]=eW(t[r],eH[r]);for(r of e$)this[r]=eW(t[r],eH[r]);for(r of eD)this[r]=new ez(r,eH[r],t[r],this);for(r of eF)this[r]=new ez(r,eH[r],t[r],this.tiff);this.setupGlobalFilters(t.pick,t.skip,eF,eL),!0===t.tiff?this.batchEnableWithBool(eF,!0):!1===t.tiff?this.batchEnableWithUserValue(eF,t):Array.isArray(t.tiff)?this.setupGlobalFilters(t.tiff,void 0,eF):"object"==typeof t.tiff&&this.setupGlobalFilters(t.tiff.pick,t.tiff.skip,eF)}batchEnableWithBool(t,r){for(let n of t)this[n].enabled=r}batchEnableWithUserValue(t,r){for(let n of t){let t=r[n];this[n].enabled=!1!==t&&void 0!==t}}setupGlobalFilters(t,r,n,i=n){if(t&&t.length){for(let t of i)this[t].enabled=!1;for(let[r,i]of eG(t,n))eK(this[r].pick,i),this[r].enabled=!0}else if(r&&r.length)for(let[t,i]of eG(r,n))eK(this[t].skip,i)}filterNestedSegmentTags(){let{ifd0:t,exif:r,xmp:n,iptc:i,icc:o}=this;this.makerNote?r.deps.add(37500):r.skip.add(37500),this.userComment?r.deps.add(37510):r.skip.add(37510),n.enabled||t.skip.add(700),i.enabled||t.skip.add(33723),o.enabled||t.skip.add(34675)}traverseTiffDependencyTree(){let{ifd0:t,exif:r,gps:n,interop:i}=this;for(let o of(i.needed&&(r.deps.add(40965),t.deps.add(40965)),r.needed&&t.deps.add(34665),n.needed&&t.deps.add(34853),this.tiff.enabled=eF.some(t=>!0===this[t].enabled)||this.makerNote||this.userComment,eF))this[o].finalizeFilters()}get onlyTiff(){return!eN.map(t=>this[t].enabled).some(t=>!0===t)&&this.tiff.enabled}checkLoadedPlugins(){for(let t of eD)this[t].enabled&&!eb.has(t)&&eg("segment parser",t)}}function eG(t,r){let n,i,o,a,s=[];for(o of r){for(a of(n=eT.get(o),i=[],n))(t.includes(a[0])||t.includes(a[1]))&&i.push(a[0]);i.length&&s.push([o,i])}return s}function eW(t,r){return void 0!==t?t:void 0!==r?r:void 0}function eK(t,r){for(let n of r)t.add(n)}er(eV,"default",eH);class eY{constructor(t){er(this,"parsers",{}),er(this,"output",{}),er(this,"errors",[]),er(this,"pushToErrors",t=>this.errors.push(t)),this.options=eV.useCached(t)}async read(t){var r;this.file=await (r=this.options,"string"==typeof t?eS(t,r):ei&&!eo&&t instanceof HTMLImageElement?eS(t.src,r):t instanceof Uint8Array||t instanceof ArrayBuffer||t instanceof DataView?new em(t):ei&&t instanceof Blob?eE(t,r,"blob",ek):void ed("Invalid input argument"))}setup(){if(this.fileParser)return;let{file:t}=this,r=t.getUint16(0);for(let[n,i]of ev)if(i.canHandle(t,r))return this.fileParser=new i(this.options,this.file,this.parsers),t[n]=!0;this.file.close&&this.file.close(),ed("Unknown file format")}async parse(){let{output:t,errors:r}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),r.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&r.length>0&&(t.errors=r),ec(t)?void 0:t}async executeParsers(){let{output:t}=this;await this.fileParser.parse();let r=Object.values(this.parsers).map(async r=>{let n=await r.parse();r.assignToOutput(t,n)});this.options.silentErrors&&(r=r.map(t=>t.catch(this.pushToErrors))),await Promise.all(r)}async extractThumbnail(){var t;this.setup();let{options:r,file:n}=this,i=eb.get("tiff",r);if(n.tiff?t={start:0,type:"tiff"}:n.jpeg&&(t=await this.fileParser.getOrFindSegment("tiff")),void 0===t)return;let o=await this.fileParser.ensureSegmentChunk(t),a=this.parsers.tiff=new i(o,r,n),s=await a.extractThumbnail();return n.close&&n.close(),s}}async function eZ(t,r){let n=new eY(r);return await n.read(t),n.parse()}var eX=Object.freeze({__proto__:null,parse:eZ,Exifr:eY,fileParsers:ev,segmentParsers:eb,fileReaders:ew,tagKeys:eT,tagValues:eM,tagRevivers:eR,createDictionary:eP,extendDictionary:eC,fetchUrlAsArrayBuffer:ex,readBlobAsArrayBuffer:ek,chunkedProps:eI,otherSegments:eN,segments:eD,tiffBlocks:eF,segmentsAndBlocks:eL,tiffExtractables:e$,inheritables:ej,allFormatters:eU,Options:eV});class eJ{static findPosition(t,r){let n=t.getUint16(r+2)+2,i="function"==typeof this.headerLength?this.headerLength(t,r,n):this.headerLength,o=r+i,a=n-i;return{offset:r,length:n,headerLength:i,start:o,size:a,end:o+a}}static parse(t,r={}){return new this(t,new eV({[this.type]:r}),t).parse()}normalizeInput(t){return t instanceof em?t:new em(t)}constructor(t,r={},n){er(this,"errors",[]),er(this,"raw",new Map),er(this,"handleError",t=>{if(!this.options.silentErrors)throw t;this.errors.push(t.message)}),this.chunk=this.normalizeInput(t),this.file=n,this.type=this.constructor.type,this.globalOptions=this.options=r,this.localOptions=r[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(t,r){let n=eR.get(r),i=eM.get(r),o=eT.get(r),a=this.options[r],s=a.reviveValues&&!!n,l=a.translateValues&&!!i,u=a.translateKeys&&!!o,c={};for(let[r,a]of t)s&&n.has(r)?a=n.get(r)(a):l&&i.has(r)&&(a=this.translateValue(a,i.get(r))),u&&o.has(r)&&(r=o.get(r)||r),c[r]=a;return c}translateValue(t,r){return r[t]||r.DEFAULT||t}assignToOutput(t,r){this.assignObjectToOutput(t,this.constructor.type,r)}assignObjectToOutput(t,r,n){if(this.globalOptions.mergeOutput)return Object.assign(t,n);t[r]?Object.assign(t[r],n):t[r]=n}}er(eJ,"headerLength",4),er(eJ,"type",void 0),er(eJ,"multiSegment",!1),er(eJ,"canHandle",()=>!1);class eQ extends class{constructor(t,r,n){er(this,"errors",[]),er(this,"ensureSegmentChunk",async t=>{let r=t.start,n=t.size||65536;if(this.file.chunked){if(this.file.available(r,n))t.chunk=this.file.subarray(r,n);else try{t.chunk=await this.file.readChunk(r,n)}catch(r){ed(`Couldn't read segment: ${JSON.stringify(t)}. ${r.message}`)}}else this.file.byteLength>r+n?t.chunk=this.file.subarray(r,n):void 0===t.size?t.chunk=this.file.subarray(r):ed("Segment unreachable: "+JSON.stringify(t));return t.chunk}),this.extendOptions&&this.extendOptions(t),this.options=t,this.file=r,this.parsers=n}injectSegment(t,r){this.options[t].enabled&&this.createParser(t,r)}createParser(t,r){let n=new(eb.get(t))(r,this.options,this.file);return this.parsers[t]=n}createParsers(t){for(let r of t){let{type:t,chunk:n}=r,i=this.options[t];if(i&&i.enabled){let r=this.parsers[t];r&&r.append||r||this.createParser(t,n)}}}async readSegments(t){let r=t.map(this.ensureSegmentChunk);await Promise.all(r)}}{constructor(...t){super(...t),er(this,"appSegments",[]),er(this,"jpegSegments",[]),er(this,"unknownSegments",[])}static canHandle(t,r){return 65496===r}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(t){!0===t?(this.findAll=!0,this.wanted=new Set(eb.keyList())):(t=void 0===t?eb.keyList().filter(t=>this.options[t].enabled):t.filter(t=>this.options[t].enabled&&eb.has(t)),this.findAll=!1,this.remaining=new Set(t),this.wanted=new Set(t)),this.unfinishedMultiSegment=!1}async findAppSegments(t=0,r){this.setupSegmentFinderArgs(r);let{file:n,findAll:i,wanted:o,remaining:a}=this;if(!i&&this.file.chunked&&(i=Array.from(o).some(t=>{let r=eb.get(t),n=this.options[t];return r.multiSegment&&n.multiSegment}))&&await this.file.readWhole(),t=this.findAppSegmentsInRange(t,n.byteLength),!this.options.onlyTiff&&n.chunked){let r=!1;for(;a.size>0&&!r&&(n.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:i}=n,o=this.appSegments.some(t=>!this.file.available(t.offset||t.start,t.length||t.size));if(r=t>i&&!o?!await n.readNextChunk(t):!await n.readNextChunk(i),void 0===(t=this.findAppSegmentsInRange(t,n.byteLength)))return}}}findAppSegmentsInRange(t,r){r-=2;let n,i,o,a,s,l,{file:u,findAll:c,wanted:d,remaining:h,options:f}=this;for(;t<r;t++)if(255===u.getUint8(t)){var p;if((p=n=u.getUint8(t+1))>=224&&p<=239){if(i=u.getUint16(t+2),(o=function(t,r,n){for(let[i,o]of eb)if(o.canHandle(t,r,n))return i}(u,t,i))&&d.has(o)&&(s=(a=eb.get(o)).findPosition(u,t),l=f[o],s.type=o,this.appSegments.push(s),!c&&(a.multiSegment&&l.multiSegment?(this.unfinishedMultiSegment=s.chunkNumber<s.chunkCount,this.unfinishedMultiSegment||h.delete(o)):h.delete(o),0===h.size)))break;f.recordUnknownSegments&&((s=eJ.findPosition(u,t)).marker=n,this.unknownSegments.push(s)),t+=i+1}else if(192===n||194===n||196===n||219===n||221===n||218===n||254===n){if(i=u.getUint16(t+2),218===n&&!1!==f.stopAfterSos)return;f.recordJpegSegments&&this.jpegSegments.push({offset:t,length:i,marker:n}),t+=i+1}}return t}mergeMultiSegments(){if(!this.appSegments.some(t=>t.multiSegment))return;let t=function(t,r){let n,i,o,a=new Map;for(let s=0;s<t.length;s++)i=(n=t[s])[r],a.has(i)?o=a.get(i):a.set(i,o=[]),o.push(n);return Array.from(a)}(this.appSegments,"type");this.mergedAppSegments=t.map(([t,r])=>{let n=eb.get(t,this.options);return n.handleMultiSegments?{type:t,chunk:n.handleMultiSegments(r)}:r[0]})}getSegment(t){return this.appSegments.find(r=>r.type===t)}async getOrFindSegment(t){let r=this.getSegment(t);return void 0===r&&(await this.findAppSegments(0,[t]),r=this.getSegment(t)),r}}er(eQ,"type","jpeg"),ev.set("jpeg",eQ);let e0=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class e1 extends eJ{parseHeader(){var t=this.chunk.getUint16();18761===t?this.le=!0:19789===t&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(t,r,n=new Map){let{pick:i,skip:o}=this.options[r],a=(i=new Set(i)).size>0,s=0===o.size,l=this.chunk.getUint16(t);t+=2;
vendor: 4,753 bytes, lines 19-20
19for(let u=0;u<l;u++){let l=this.chunk.getUint16(t);if(a){if(i.has(l)&&(n.set(l,this.parseTag(t,l,r)),i.delete(l),0===i.size))break}else!s&&o.has(l)||n.set(l,this.parseTag(t,l,r));t+=12}return n}parseTag(t,r,n){var i;let{chunk:o}=this,a=o.getUint16(t+2),s=o.getUint32(t+4),l=e0[a];if(l*s<=4?t+=8:t=o.getUint32(t+8),(a<1||a>13)&&ed(`Invalid TIFF value type. block: ${n.toUpperCase()}, tag: ${r.toString(16)}, type: ${a}, offset ${t}`),t>o.byteLength&&ed(`Invalid TIFF value offset. block: ${n.toUpperCase()}, tag: ${r.toString(16)}, type: ${a}, offset ${t} is outside of chunk size ${o.byteLength}`),1===a)return o.getUint8Array(t,s);if(2===a)return""===(i=(function(t){for(;t.endsWith("\0");)t=t.slice(0,-1);return t})(i=o.getString(t,s)).trim())?void 0:i;if(7===a)return o.getUint8Array(t,s);if(1===s)return this.parseTagValue(a,t);{let r=new(function(t){switch(t){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:case 10:default:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 11:return Float32Array;case 12:return Float64Array}}(a))(s);for(let n=0;n<s;n++)r[n]=this.parseTagValue(a,t),t+=l;return r}}parseTagValue(t,r){let{chunk:n}=this;switch(t){case 1:return n.getUint8(r);case 3:return n.getUint16(r);case 4:case 13:return n.getUint32(r);case 5:return n.getUint32(r)/n.getUint32(r+4);case 6:return n.getInt8(r);case 8:return n.getInt16(r);case 9:return n.getInt32(r);case 10:return n.getInt32(r)/n.getInt32(r+4);case 11:return n.getFloat(r);case 12:return n.getDouble(r);default:ed(`Invalid tiff type ${t}`)}}}class e2 extends e1{static canHandle(t,r){return 225===t.getUint8(r+1)&&1165519206===t.getUint32(r+4)&&0===t.getUint16(r+8)}async parse(){this.parseHeader();let{options:t}=this;return t.ifd0.enabled&&await this.parseIfd0Block(),t.exif.enabled&&await this.safeParse("parseExifBlock"),t.gps.enabled&&await this.safeParse("parseGpsBlock"),t.interop.enabled&&await this.safeParse("parseInteropBlock"),t.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(t){let r=this[t]();return void 0!==r.catch&&(r=r.catch(this.handleError)),r}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let t=this.chunk.getUint16(this.ifd0Offset),r=this.ifd0Offset+2+12*t;this.ifd1Offset=this.chunk.getUint32(r)}}parseBlock(t,r){let n=new Map;return this[r]=n,this.parseTags(t,r,n),n}async parseIfd0Block(){if(this.ifd0)return;let{file:t}=this;this.findIfd0Offset(),this.ifd0Offset<8&&ed("Malformed EXIF data"),!t.chunked&&this.ifd0Offset>t.byteLength&&ed(`IFD0 offset points to outside of file. 20this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${t.byteLength}`),t.tiff&&await t.ensureChunk(this.ifd0Offset,eh(this.options));let r=this.parseBlock(this.ifd0Offset,"ifd0");return 0!==r.size?(this.exifOffset=r.get(34665),this.interopOffset=r.get(40965),this.gpsOffset=r.get(34853),this.xmp=r.get(700),this.iptc=r.get(33723),this.icc=r.get(34675),this.options.sanitize&&(r.delete(34665),r.delete(40965),r.delete(34853),r.delete(700),r.delete(33723),r.delete(34675)),r):void 0}async parseExifBlock(){if(this.exif||(this.ifd0||await this.parseIfd0Block(),void 0===this.exifOffset))return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,eh(this.options));let t=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=t.get(40965)),this.makerNote=t.get(37500),this.userComment=t.get(37510),this.options.sanitize&&(t.delete(40965),t.delete(37500),t.delete(37510)),this.unpack(t,41728),this.unpack(t,41729),t}unpack(t,r){let n=t.get(r);n&&1===n.length&&t.set(r,n[0])}async parseGpsBlock(){if(this.gps||(this.ifd0||await this.parseIfd0Block(),void 0===this.gpsOffset))return;let t=this.parseBlock(this.gpsOffset,"gps");return t&&t.has(2)&&t.has(4)&&(t.set("latitude",e3(...t.get(2),t.get(1))),t.set("longitude",e3(...t.get(4),t.get(3)))),t}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),void 0!==this.interopOffset||this.exif||await this.parseExifBlock(),void 0!==this.interopOffset))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(t=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||t))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),void 0===this.ifd1)return;let t=this.ifd1.get(513),r=this.ifd1.get(514);return this.chunk.getUint8Array(t,r)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let t,r,n,i={};
20for(r of eF)if(!ec(t=this[r])){if(n=this.canTranslate?this.translateBlock(t,r):Object.fromEntries(t),this.options.mergeOutput){if("ifd1"===r)continue;Object.assign(i,n)}else i[r]=n}return this.makerNote&&(i.makerNote=this.makerNote),this.userComment&&(i.userComment=this.userComment),i}assignToOutput(t,r){if(this.globalOptions.mergeOutput)Object.assign(t,r);else for(let[n,i]of Object.entries(r))this.assignObjectToOutput(t,n,i)}}function e3(t,r,n,i){var o=t+r/60+n/3600;return"S"!==i&&"W"!==i||(o*=-1),o}er(e2,"type","tiff"),er(e2,"headerLength",10),eb.set("tiff",e2),Object.freeze({__proto__:null,default:eX,Exifr:eY,fileParsers:ev,segmentParsers:eb,fileReaders:ew,tagKeys:eT,tagValues:eM,tagRevivers:eR,createDictionary:eP,extendDictionary:eC,fetchUrlAsArrayBuffer:ex,readBlobAsArrayBuffer:ek,chunkedProps:eI,otherSegments:eN,segments:eD,tiffBlocks:eF,segmentsAndBlocks:eL,tiffExtractables:e$,inheritables:ej,allFormatters:eU,Options:eV,parse:eZ});let e5={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1};Object.assign({},e5,{firstChunkSize:4e4,gps:[1,2,3,4]}),Object.assign({},e5,{tiff:!1,ifd1:!0,mergeOutput:!1});let e6=Object.assign({},e5,{firstChunkSize:4e4,ifd0:[274]});async function e4(t){let r=new eY(e6);await r.read(t);let n=await r.parse();if(n&&n.ifd0)return n.ifd0[274]}let e8=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}}),e9=!0,e7=!0;if("object"==typeof navigator){let t=navigator.userAgent;if(t.includes("iPad")||t.includes("iPhone")){let r=t.match(/OS (\d+)_(\d+)/);if(r){let[,t,n]=r;e9=Number(t)+.1*Number(n)<13.4,e7=!1}}else if(t.includes("OS X 10")){let[,r]=t.match(/OS X 10[_.](\d+)/);e9=e7=15>Number(r)}if(t.includes("Chrome/")){let[,r]=t.match(/Chrome\/(\d+)/);e9=e7=81>Number(r)}else if(t.includes("Firefox/")){let[,r]=t.match(/Firefox\/(\d+)/);e9=e7=77>Number(r)}}async function te(t){let r=await e4(t);return Object.assign({canvas:e9,css:e7},e8[r])}class tt extends em{constructor(...t){super(...t),er(this,"ranges",new tr),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(t,r,n){if(0===t&&0===this.byteLength&&n){let t=new DataView(n.buffer||n,n.byteOffset,n.byteLength);this._swapDataView(t)}else{let n=t+r;if(n>this.byteLength){let{dataView:t}=this._extend(n);this._swapDataView(t)}}}_extend(t){let r;let n=new DataView((r=el?es.allocUnsafe(t):new Uint8Array(t)).buffer,r.byteOffset,r.byteLength);return r.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:r,dataView:n}}subarray(t,r,n=!1){return r=r||this._lengthToEnd(t),n&&this._tryExtend(t,r),this.ranges.add(t,r),super.subarray(t,r)}set(t,r,n=!1){n&&this._tryExtend(r,t.byteLength,t);let i=super.set(t,r);return this.ranges.add(r,i.byteLength),i}async ensureChunk(t,r){this.chunked&&(this.ranges.available(t,r)||await this.readChunk(t,r))}available(t,r){return this.ranges.available(t,r)}}class tr{constructor(){er(this,"list",[])}get length(){return this.list.length}add(t,r,n=0){let i=t+r,o=this.list.filter(r=>{var n,o,a,s,l,u;return n=t,o=r.offset,a=i,n<=o&&o<=a||(s=t,l=r.end,u=i,s<=l&&l<=u)});if(o.length>0){t=Math.min(t,...o.map(t=>t.offset)),r=(i=Math.max(i,...o.map(t=>t.end)))-t;let n=o.shift();n.offset=t,n.length=r,n.end=i,this.list=this.list.filter(t=>!o.includes(t))}else this.list.push({offset:t,length:r,end:i})}available(t,r){let n=t+r;return this.list.some(r=>r.offset<=t&&n<=r.end)}}class tn extends tt{constructor(t,r){super(0),er(this,"chunksRead",0),this.input=t,this.options=r}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(t=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let r=this.options.chunkSize,n=await this.readChunk(t,r);return!!n&&n.byteLength===r}async readChunk(t,r){if(this.chunksRead++,0!==(r=this.safeWrapAddress(t,r)))return this._readChunk(t,r)}safeWrapAddress(t,r){return void 0!==this.size&&t+r>this.size?Math.max(0,this.size-t):r}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}ew.set("blob",class extends tn{async readWhole(){this.chunked=!1;let t=await ek(this.input);this._swapArrayBuffer(t)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}
vendor: 1,559 bytes, line 20
20async _readChunk(t,r){let n=r?t+r:void 0,i=this.input.slice(t,n),o=await ek(i);return this.set(o,t,!0)}});var ti={strings:{generatingThumbnails:"Generating thumbnails..."}};let to={thumbnailWidth:null,thumbnailHeight:null,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,lazy:!1};class ta extends i.Z{constructor(t,r){if(super(t,{...to,...r}),this.onFileAdded=t=>{!t.preview&&t.data&&Q(t.type)&&!t.isRemote&&this.addToQueue(t.id)},this.onCancelRequest=t=>{let r=this.queue.indexOf(t.id);-1!==r&&this.queue.splice(r,1)},this.onFileRemoved=t=>{let r=this.queue.indexOf(t.id);-1!==r&&this.queue.splice(r,1),t.preview&&J(t.preview)&&URL.revokeObjectURL(t.preview)},this.onRestored=()=>{this.uppy.getFiles().filter(t=>t.isRestored).forEach(t=>{(!t.preview||J(t.preview))&&this.addToQueue(t.id)})},this.onAllFilesRemoved=()=>{this.queue=[]},this.waitUntilAllProcessed=t=>{t.forEach(t=>{let r=this.uppy.getFile(t);this.uppy.emit("preprocess-progress",r,{mode:"indeterminate",message:this.i18n("generatingThumbnails")})});let r=()=>{t.forEach(t=>{let r=this.uppy.getFile(t);this.uppy.emit("preprocess-complete",r)})};return new Promise(t=>{this.queueProcessing?this.uppy.once("thumbnail:all-generated",()=>{r(),t()}):(r(),t())})},this.type="modifier",this.id=this.opts.id||"ThumbnailGenerator",this.title="Thumbnail Generator",this.queue=[],this.queueProcessing=!1,this.defaultThumbnailDimension=200,this.thumbnailType=this.opts.thumbnailType,this.defaultLocale=ti,this.i18nInit(),this.opts.lazy&&this.opts.waitForThumbnailsBeforeUpload)throw Error("Thumbn
20ailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.")}createThumbnail(t,r,n){let i=URL.createObjectURL(t.data);return Promise.all([new Promise((t,r)=>{let n=new Image;n.src=i,n.addEventListener("load",()=>{URL.revokeObjectURL(i),t(n)}),n.addEventListener("error",t=>{URL.revokeObjectURL(i),r(t.error||Error("Could not create thumbnail"))})}),te(t.data).catch(()=>1)]).then(t=>{let[i,o]=t,a=this.getProportionalDimensions(i,r,n,o.deg),s=function(t,r){let n=t.width,i=t.height;(90===r.deg||270===r.deg)&&(n=t.height,i=t.width);let o=document.createElement("canvas");o.width=n,o.height=i;let a=o.getContext("2d");return a.translate(n/2,i/2),r.canvas&&(a.rotate(r.rad),a.scale(r.scaleX,r.scaleY)),a.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),o}(i,o);return function(t,r,n){try{t.getContext("2d").getImageData(0,0,1,1)}catch(t){if(18===t.code)return Promise.reject(Error("cannot read image, probably an svg with external resources"))}return t.toBlob?new Promise(n=>{t.toBlob(n,r,80)}).then(t=>{if(null===t)throw Error("cannot read image, probably an svg with external resources");return t}):Promise.resolve().then(()=>X(t.toDataURL(r,80),{})).then(t=>{if(null===t)throw Error("could not extract blob, probably an old browser");return t})}(this.resizeImage(s,a.width,a.height),this.thumbnailType,0)}).then(t=>URL.createObjectURL(t))}getProportionalDimensions(t,r,n,i){let o=t.width/t.height;return((90===i||270===i)&&(o=t.height/t.width),null!=r)?{width:r,height:Math.round(r/o)}:null!=n?{width:Math.round(n*o),height:n}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/o)}}resizeImage(t,r,n){let i=function(t){let r=t.width/t.height,n=Math.floor(Math.sqrt(5e6*r)),i=Math.floor(5e6/Math.sqrt(5e6*r));if(n>4096&&(i=Math.round((n=4096)/r)),i>4096&&(n=Math.round(r*(i=4096))),t.width>n){let r=document.createElement("canvas");return r.width=n,r.height=i,r.getContext("2d").drawImage(t,0,0,n,i),r}return t}(t),o=Math.ceil(Math.log2(i.width/r));o<1&&(o=1);let a=r*2**(o-1),s=n*2**(o-1);for(;o--;){let t=document.createElement("canvas");t.width=a,t.height=s,t.getContext("2d").drawImage(i,0,0,a,s),i=t,a=Math.round(a/2),s=Math.round(s/2)}return i}setPreviewURL(t,r){this.uppy.setFileState(t,{preview:r})}addToQueue(t){this.queue.push(t),!1===this.queueProcessing&&this.processQueue()}processQueue(){if(this.queueProcessing=!0,this.queue.length>0){let t=this.uppy.getFile(this.queue.shift());return t?this.requestThumbnail(t).catch(()=>{}).then(()=>this.processQueue()):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}requestThumbnail(t){return Q(t.type)&&!t.isRemote?this.createThumbnail(t,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then(r=>{this.setPreviewURL(t.id,r),this.uppy.log(`[ThumbnailGenerator] Generated thumbnail for ${t.id}`),this.uppy.emit("thumbnail:generated",this.uppy.getFile(t.id),r)}).catch(r=>{this.uppy.log(`[ThumbnailGenerator] Failed thumbnail for ${t.id}:`,"warning"),this.uppy.log(r,"warning"),this.uppy.emit("thumbnail:error",this.uppy.getFile(t.id),r)}):Promise.resolve()}install(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}uninstall(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}ta.VERSION="4.1.1";var ts=function(t){if("string"==typeof t){let r=document.querySelectorAll(t);return 0===r.length?null:Array.from(r)}return"object"==typeof t&&"object"==typeof t&&null!==t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?[t]:null},tl=Array.from;async function*tu(t,r){for(let{lastResortFile:n,fileSystemHandle:i}of(await Promise.all(Array.from(t.items,async t=>{let n;return null!=n||(n=function t(r,n){return null==r?r:{kind:r.isFile?"file":r.isDirectory?"directory":void 0,name:r.name,getFile:()=>new Promise((t,n)=>r.file(t,n)),async *values(){let i=r.createReader(),o=await new Promise(r=>{!function t(r,n,i,o){let{onSuccess:a}=o;r.readEntries(o=>{let s=[...n,...o];o.length?queueMicrotask(()=>{t(r,s,i,{onSuccess:a})}):a(s)},t=>{i(t),a(n)})}(i,[],n,{onSuccess:i=>r(i.map(r=>t(r,n)))})});yield*o},isSameEntry:void 0}}("function"==typeof t.getAsEntry?t.getAsEntry():t.webkitGetAsEntry(),r)),{fileSystemHandle:n,lastResortFile:t.getAsFile()}}))))if(null!=i)try{yield*function t(r,n,i){try{return void 0===i&&(i=void 0),async function*(){let o=()=>`${n}/${r.name}`;if("file"===r.kind){let t=await r.getFile();null!=t?(t.relativePath=n?o():null,yield t):null!=i&&(yield i)}else if("directory"===r.kind)for await(let i of r.values())yield*t(i,n?o():r.name);else null!=i&&(yield i)}()}catch(t){return Promise.reject(t)}}(i,"",n)}catch(t){null!=n?yield n:r(t)}else null!=n&&(yield n)}async function tc(t,r){var n;
20let i=null!=(n=null==r?void 0:r.logDropError)?n:Function.prototype;try{let r=[];for await(let n of tu(t,i))r.push(n);return r}catch{return Promise.resolve(tl(t.files))}}function td(t){let r=t.lastIndexOf(".");return -1===r||r===t.length-1?{name:t,extension:void 0}:{name:t.slice(0,r),extension:t.slice(r+1)}}function th(t){return{...t,type:t.mimeType,extension:t.name?td(t.name).extension:null}}var tf=n(99799);function tp(){return(0,l.h)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("g",{fill:"none","fill-rule":"evenodd"},(0,l.h)("circle",{fill:"#FFF",cx:"13",cy:"13",r:"13"}),(0,l.h)("path",{d:"M21.64 13.205c0-.639-.057-1.252-.164-1.841H13v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z",fill:"#4285F4","fill-rule":"nonzero"}),(0,l.h)("path",{d:"M13 22c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H4.957v2.332A8.997 8.997 0 0013 22z",fill:"#34A853","fill-rule":"nonzero"}),(0,l.h)("path",{d:"M7.964 14.71A5.41 5.41 0 017.682 13c0-.593.102-1.17.282-1.71V8.958H4.957A8.996 8.996 0 004 13c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05","fill-rule":"nonzero"}),(0,l.h)("path",{d:"M13 7.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C17.463 4.891 15.426 4 13 4a8.997 8.997 0 00-8.043 4.958l3.007 2.332C8.672 9.163 10.656 7.58 13 7.58z",fill:"#EA4335","fill-rule":"nonzero"}),(0,l.h)("path",{d:"M4 4h18v18H4z"})))}function tm(t){let{pluginName:r,i18n:n,onAuth:i}=t,o="Google Drive"===r,a=(0,tf.I4)(t=>{t.preventDefault(),i()},[i]);return(0,l.h)("form",{onSubmit:a},o?(0,l.h)("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn uppy-Provider-btn-google","data-uppy-super-focusable":!0},(0,l.h)(tp,null),n("signInWithGoogle")):(0,l.h)("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn","data-uppy-super-focusable":!0},n("authenticateWith",{pluginName:r})))}let tg=t=>{let{pluginName:r,i18n:n,onAuth:i}=t;return(0,l.h)(tm,{pluginName:r,i18n:n,onAuth:i})};function ty(t){let{loading:r,pluginName:n,pluginIcon:i,i18n:o,handleAuth:a,renderForm:s=tg}=t;return(0,l.h)("div",{className:"uppy-Provider-auth"},(0,l.h)("div",{className:"uppy-Provider-authIcon"},i()),(0,l.h)("div",{className:"uppy-Provider-authTitle"},o("authenticateWithTitle",{pluginName:n})),s({pluginName:n,i18n:o,loading:r,onAuth:a}))}function tv(t){let{i18n:r,logout:n,username:i}=t;return(0,l.h)(l.HY,null,i&&(0,l.h)("span",{className:"uppy-ProviderBrowser-user",key:"username"},i),(0,l.h)("button",{type:"button",onClick:n,className:"uppy-u-reset uppy-c-btn uppy-ProviderBrowser-userLogout",key:"logout"},r("logOut")))}function tb(t){let{openFolder:r,title:n,breadcrumbsIcon:i,breadcrumbs:o,i18n:a}=t;return(0,l.h)("div",{className:"uppy-Provider-breadcrumbs"},(0,l.h)("div",{className:"uppy-Provider-breadcrumbsIcon"},i),o.map((t,i)=>{var s;return(0,l.h)(l.HY,null,(0,l.h)("button",{key:t.id,type:"button",className:"uppy-u-reset uppy-c-btn",onClick:()=>r(t.id)},"root"===t.type?n:null!=(s=t.data.name)?s:a("unnamed")),o.length===i+1?"":" / ")}))}function tw(t){return(0,l.h)("div",{className:"uppy-ProviderBrowser-header"},(0,l.h)("div",{className:u("uppy-ProviderBrowser-headerBar",!t.showBreadcrumbs&&"uppy-ProviderBrowser-headerBar--simple")},t.showBreadcrumbs&&(0,l.h)(tb,{openFolder:t.openFolder,breadcrumbs:t.breadcrumbs,breadcrumbsIcon:t.pluginIcon&&t.pluginIcon(),title:t.title,i18n:t.i18n}),(0,l.h)(tv,{logout:t.logout,username:t.username,i18n:t.i18n})))}function t_(){return(t_=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}let tS={position:"relative",width:"100%",minHeight:"100%"},tE={position:"absolute",top:0,left:0,width:"100%",overflow:"visible"};class tA extends l.wA{constructor(t){super(t),this.handleScroll=()=>{this.setState({offset:this.base.scrollTop})},this.handleResize=()=>{this.resize()},this.focusElement=null,this.state={offset:0,height:0}}componentDidMount(){this.resize(),window.addEventListener("resize",this.handleResize)}componentWillUpdate(){this.base.contains(document.activeElement)&&(this.focusElement=document.activeElement)}componentDidUpdate(){this.focusElement&&this.focusElement.parentNode&&document.activeElement!==this.focusElement&&this.focusElement.focus(),this.focusElement=null,this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}resize(){let{height:t}=this.state;t!==this.base.offsetHeight&&this.setState({height:this.base.offsetHeight})}render(t){let{data:r,rowHeight:n,renderRow:i,overscanCount:o=10,...a}=t,{offset:s,height:u}=this.state,c=Math.floor(s/n),d=Math.floor(u/n);o&&(c=Math.max(0,c-c%o),d+=o);let h=c+d+4,f=r.slice(c,h),p={...tS,height:r.length*n},m={...tE,top:c*n};return(0,l.h)("div",t_({onScroll:this.handleScroll},a),(0,l.h)("div",{role:"presentation",style:p},(0,l.h)("div",{role:"presentation",style:m},f.map(i))))}}function tx(){return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:11,height:14.5,viewBox:"0 0 44 58"},(0,l.h)("path",{d:"M27.437.517a1 1 0 0 0-.094.03H4.25C2.037.548.217 2.368.217 4.58v48.405c0 2.212 1.82 4.03 4.03 4.03H39.03c2.21 0 4.03-1.818 4.03-4.03V15.61a1 1 0 0 0-.03-.28 1 1 0 0 0 0-.093 1 1 0 0 0-.03-.032 1 1 0 0 0 0-.03 1 1 0 0 0-.032-.063 1 1 0 0 0-.03-.063 1 1 0 0 0-.032 0 1 1 0 0 0-.03-.063 1 1 0 0 0-.032-.03 1 1 0 0 0-.03-.063 1 1 0 0 0-.063-.062l-14.593-14a1 1 0 0 0-.062-.062A1 1 0 0 0 28 .708a1 1 0 0 0-.374-.157 1 1 0 0 0-.156 0 1 1 0 0 0-.03-.03l-.003-.003zM4.25 2.547h22.218v9.97c0 2.21 1.82 4.03 4.03 4.03h10.564v36.438a2.02 2.02 0 0 1-2.032 2.032H4.25c-1.13 0-2.032-.9-2.032-2.032V4.58c0-1.13.902-2.032 2.03-2.032zm24.218 1.345l10.375 9.937.75.718H30.5c-1.13 0-2.032-.9-2.032-2.03V3.89z"}))}function tk(){return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",style:{minWidth:16,marginRight:3},viewBox:"0 0 276.157 276.157"}
20,(0,l.h)("path",{d:"M273.08 101.378c-3.3-4.65-8.86-7.32-15.254-7.32h-24.34V67.59c0-10.2-8.3-18.5-18.5-18.5h-85.322c-3.63 0-9.295-2.875-11.436-5.805l-6.386-8.735c-4.982-6.814-15.104-11.954-23.546-11.954H58.73c-9.292 0-18.638 6.608-21.737 15.372l-2.033 5.752c-.958 2.71-4.72 5.37-7.596 5.37H18.5C8.3 49.09 0 57.39 0 67.59v167.07c0 .886.16 1.73.443 2.52.152 3.306 1.18 6.424 3.053 9.064 3.3 4.652 8.86 7.32 15.255 7.32h188.487c11.395 0 23.27-8.425 27.035-19.18l40.677-116.188c2.11-6.035 1.43-12.164-1.87-16.816zM18.5 64.088h8.864c9.295 0 18.64-6.607 21.738-15.37l2.032-5.75c.96-2.712 4.722-5.373 7.597-5.373h29.565c3.63 0 9.295 2.876 11.437 5.806l6.386 8.735c4.982 6.815 15.104 11.954 23.546 11.954h85.322c1.898 0 3.5 1.602 3.5 3.5v26.47H69.34c-11.395 0-23.27 8.423-27.035 19.178L15 191.23V67.59c0-1.898 1.603-3.5 3.5-3.5zm242.29 49.15l-40.676 116.188c-1.674 4.78-7.812 9.135-12.877 9.135H18.75c-1.447 0-2.576-.372-3.02-.997-.442-.625-.422-1.814.057-3.18l40.677-116.19c1.674-4.78 7.812-9.134 12.877-9.134h188.487c1.448 0 2.577.372 3.02.997.443.625.423 1.814-.056 3.18z"}))}function tO(){return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",style:{width:16,marginRight:4},viewBox:"0 0 58 58"},(0,l.h)("path",{d:"M36.537 28.156l-11-7a1.005 1.005 0 0 0-1.02-.033C24.2 21.3 24 21.635 24 22v14a1 1 0 0 0 1.537.844l11-7a1.002 1.002 0 0 0 0-1.688zM26 34.18V23.82L34.137 29 26 34.18z"}),(0,l.h)("path",{d:"M57 6H1a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h56a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zM10 28H2v-9h8v9zm-8 2h8v9H2v-9zm10 10V8h34v42H12V40zm44-12h-8v-9h8v9zm-8 2h8v9h-8v-9zm8-22v9h-8V8h8zM2 8h8v9H2V8zm0 42v-9h8v9H2zm54 0h-8v-9h8v9z"}))}function tP(t){let{itemIconString:r,alt:n}=t;if(null===r)return null;switch(r){case"file":return(0,l.h)(tx,null);case"folder":return(0,l.h)(tk,null);case"video":return(0,l.h)(tO,null);default:return(0,l.h)("img",{src:r,alt:n,referrerPolicy:"no-referrer",loading:"lazy",width:16,height:16})}}var tC=function(t){var r,n;let{file:i,toggleCheckbox:o,className:a,isDisabled:s,restrictionError:u,showTitles:c,children:d=null,i18n:h}=t;return(0,l.h)("li",{className:a,title:s&&u?u:void 0},(0,l.h)("input",{type:"checkbox",className:"uppy-u-reset uppy-ProviderBrowserItem-checkbox uppy-ProviderBrowserItem-checkbox--grid",onChange:o,name:"listitem",id:i.id,checked:"checked"===i.status,disabled:s,"data-uppy-super-focusable":!0}),(0,l.h)("label",{htmlFor:i.id,"aria-label":null!=(r=i.data.name)?r:h("unnamed"),className:"uppy-u-reset uppy-ProviderBrowserItem-inner"},(0,l.h)(tP,{itemIconString:i.data.thumbnail||i.data.icon}),c&&(null!=(n=i.data.name)?n:h("unnamed")),d))};function tT(t){var r,n,i;let{file:o,openFolder:a,className:s,isDisabled:u,restrictionError:c,toggleCheckbox:d,showTitles:h,i18n:f}=t;return(0,l.h)("li",{className:s,title:"checked"!==o.status&&c?c:void 0},(0,l.h)("input",{type:"checkbox",className:"uppy-u-reset uppy-ProviderBrowserItem-checkbox",onChange:d,name:"listitem",id:o.id,checked:"checked"===o.status,"aria-label":o.data.isFolder?f("allFilesFromFolderNamed",{name:null!=(r=o.data.name)?r:f("unnamed")}):null,disabled:u,"data-uppy-super-focusable":!0}),o.data.isFolder?(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-ProviderBrowserItem-inner",onClick:()=>a(o.id),"aria-label":f("openFolderNamed",{name:null!=(n=o.data.name)?n:f("unnamed")})},(0,l.h)("div",{className:"uppy-ProviderBrowserItem-iconWrap"},(0,l.h)(tP,{itemIconString:o.data.icon})),h&&o.data.name?(0,l.h)("span",null,o.data.name):f("unnamed")):(0,l.h)("label",{htmlFor:o.id,className:"uppy-u-reset uppy-ProviderBrowserItem-inner"},(0,l.h)("div",{className:"uppy-ProviderBrowserItem-iconWrap"},(0,l.h)(tP,{itemIconString:o.data.icon})),h&&(null!=(i=o.data.name)?i:f("unnamed"))))}function tM(t){let{viewType:r,toggleCheckbox:n,showTitles:i,i18n:o,openFolder:a,file:s,utmSource:c}=t,d="folder"===s.type?null:s.restrictionError,h=!!d&&"checked"!==s.status,f={file:s,openFolder:a,toggleCheckbox:n,utmSource:c,i18n:o,viewType:r,showTitles:i,className:u("uppy-ProviderBrowserItem",{"uppy-ProviderBrowserItem--disabled":h},{"uppy-ProviderBrowserItem--noPreview":"video"===s.data.icon},{"uppy-ProviderBrowserItem--is-checked":"checked"===s.status},{"uppy-ProviderBrowserItem--is-partial":"partial"===s.status}),isDisabled:h,restrictionError:d};switch(r){case"grid":return(0,l.h)(tC,f);case"list":return(0,l.h)(tT,f);case"unsplash":return(0,l.h)(tC,f,(0,l.h)("a",{href:`${s.data.author.url}?utm_source=${c}&utm_medium=referral`,target:"_blank",rel:"noopener noreferrer",className:"uppy-ProviderBrowserItem-author",tabIndex:-1},s.data.author.name));default:throw Error(`There is no such type ${r}`)}}var tR=function(t){let{displayedPartialTree:r,viewType:n,toggleCheckbox:i,handleScroll:o,showTitles:a,i18n:s,isLoading:u,openFolder:c,noResultsLabel:d,virtualList:h,utmSource:f}=t,[p,m]=(0,tf.eJ)(!1);if((0,tf.d4)(()=>{let t=t=>{"Shift"===t.key&&m(!1)},r=t=>{"Shift"===t.key&&m(!0)};return document.addEventListener("keyup",t),document.addEventListener("keydown",r),()=>{document.removeEventListener("keyup",t),document.removeEventListener("keydown",r)}},[]),u)return(0,l.h)("div",{className:"uppy-Provider-loading"},"string"==typeof u?u:s("loading"));if(0===r.length)return(0,l.h)("div",{className:"uppy-Provider-empty"},d);let g=t=>(0,l.h)(tM,{viewType:n,toggleCheckbox:r=>{var n;r.stopPropagation(),r.preventDefault(),null==(n=document.getSelection())||n.removeAllRanges(),i(t,p)},showTitles:a,i18n:s,openFolder:c,file:t,utmSource:f});return h?(0,l.h)("div",{className:"uppy-ProviderBrowser-body"},(0,l.h)("ul",{className:"uppy-ProviderBrowser-list"},(0,l.h)(tA,{data:r,renderRow:g,rowHeight:31}))):(0,l.h)("div",{className:"uppy-ProviderBrowser-body"},(0,l.h)("ul",{className:"uppy-ProviderBrowser-list",onScroll:o,role:"listbox",tabIndex:-1},r.map(g)))},tI=t=>t.map(t=>({...t}));let tN=(t,r,n)=>{t.filter(t=>"root"!==t.type&&t.parentId===r).forEach(r=>{r.status=n&&!("file"===r.type&&r.restrictionError)?"checked":"unchecked",tN(t,r.id,n)})},tD=(t,r)=>{let n=t.find(t=>
20t.id===r);if("root"===n.type)return;let i=t.filter(t=>"root"!==t.type&&t.parentId===n.id&&!("file"===t.type&&t.restrictionError)),o=i.every(t=>"checked"===t.status),a=i.every(t=>"unchecked"===t.status);o?n.status="checked":a?n.status="unchecked":n.status="partial",tD(t,n.parentId)};var tF=n(87336);class tL extends Error{constructor(t){super(t),this.name="TimeoutError"}}class t$ extends Error{constructor(t){super(),this.name="AbortError",this.message=t}}let tj=t=>void 0===globalThis.DOMException?new t$(t):new DOMException(t),tU=t=>{let r=void 0===t.reason?tj("This operation was aborted."):t.reason;return r instanceof Error?r:tj(r)};class tB{#eO=[];enqueue(t,r){let n={priority:(r={priority:0,...r}).priority,id:r.id,run:t};if(0===this.size||this.#eO[this.size-1].priority>=r.priority){this.#eO.push(n);return}let i=function(t,r,n){let i=0,o=t.length;for(;o>0;){let a=Math.trunc(o/2),s=i+a;0>=n(t[s],r)?(i=++s,o-=a+1):o=a}return i}(this.#eO,n,(t,r)=>r.priority-t.priority);this.#eO.splice(i,0,n)}setPriority(t,r){let n=this.#eO.findIndex(r=>
20r.id===t);if(-1===n)throw ReferenceError(`No promise function with the id "${t}" exists in the queue.`);let[i]=this.#eO.splice(n,1);this.enqueue(i.run,{priority:r,id:t})}dequeue(){let t=this.#eO.shift();return t?.run}filter(t){return this.#eO.filter(r=>r.priority===t.priority).map(t=>t.run)}get size(){return this.#eO.length}}class tz extends tF.v{#eP;#eC;#eT=0;#eM;#eR;#eI=0;#eN;#eD;#eO;#eF;#eL=0;#e$;#ej;#eU;#eB=1n;timeout;constructor(t){if(super(),!("number"==typeof(t={carryoverConcurrencyCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:tB,...t}).intervalCap&&t.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${t.intervalCap?.toString()??""}\` (${typeof t.intervalCap})`);if(void 0===t.interval||!(Number.isFinite(t.interval)&&t.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${t.interval?.toString()??""}\` (${typeof t.interval})`);this.#eP=t.carryoverConcurrencyCount,this.#eC=t.intervalCap===Number.POSITIVE_INFINITY||0===t.interval,this.#eM=t.intervalCap,this.#eR=t.interval,this.#eO=new t.queueClass,this.#eF=t.queueClass,this.concurrency=t.concurrency,this.timeout=t.timeout,this.#eU=!0===t.throwOnTimeout,this.#ej=!1===t.autoStart}get #ez(){return this.#eC||this.#eT<this.#eM}get #eH(){return this.#eL<this.#e$}#eq(){this.#eL--,this.#eV(),this.emit("next")}#eG(){this.#eW(),this.#eK(),this.#eD=void 0}get #eY(){let t=Date.now();if(void 0===this.#eN){let r=this.#eI-t;if(!(r<0))return void 0===this.#eD&&(this.#eD=setTimeout(()=>{this.#eG()},r)),!0;this.#eT=this.#eP?this.#eL:0}return!1}#eV(){if(0===this.#eO.size)return this.#eN&&clearInterval(this.#eN),this.#eN=void 0,this.emit("empty"),0===this.#eL&&this.emit("idle"),!1;if(!this.#ej){let t=!this.#eY;if(this.#ez&&this.#eH){let r=this.#eO.dequeue();
20return!!r&&(this.emit("active"),r(),t&&this.#eK(),!0)}}return!1}#eK(){this.#eC||void 0!==this.#eN||(this.#eN=setInterval(()=>{this.#eW()},this.#eR),this.#eI=Date.now()+this.#eR)}#eW(){0===this.#eT&&0===this.#eL&&this.#eN&&(clearInterval(this.#eN),this.#eN=void 0),this.#eT=this.#eP?this.#eL:0,this.#eZ()}#eZ(){for(;this.#eV(););}get concurrency(){return this.#e$}set concurrency(t){if(!("number"==typeof t&&t>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);this.#e$=t,this.#eZ()}async #eX(t){return new Promise((r,n)=>{t.addEventListener("abort",()=>{n(t.reason)},{once:!0})})}setPriority(t,r){this.#eO.setPriority(t,r)}async add(t,r={}){return r.id??=(this.#eB++).toString(),r={timeout:this.timeout,throwOnTimeout:this.#eU,...r},new Promise((n,i)=>{this.#eO.enqueue(async()=>{this.#eL++,this.#eT++;try{r.signal?.throwIfAborted();let i=t({signal:r.signal});r.timeout&&(i=function(t,r){let n,i;let{milliseconds:o,fallback:a,message:s,customTimers:l={setTimeout,clearTimeout}}=r,u=new Promise((u,c)=>{if("number"!=typeof o||1!==Math.sign(o))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${o}\``);if(r.signal){let{signal:t}=r;t.aborted&&c(tU(t)),i=()=>{c(tU(t))},t.addEventListener("abort",i,{once:!0})}if(o===Number.POSITIVE_INFINITY){t.then(u,c);return}let d=new tL;n=l.setTimeout.call(void 0,()=>{if(a){try{u(a())}catch(t){c(t)}return}"function"==typeof t.cancel&&t.cancel(),!1===s?u():s instanceof Error?c(s):(d.message=s??`Promise timed out after ${o} milliseconds`,c(d))},o),(async()=>{try{u(await t)}catch(t){c(t)}})()}).finally(()=>{u.clear(),i&&r.signal&&r.signal.removeEventListener("abort",i)});return u.clear=()=>{l.clearTimeout.call(void 0,n),n=void 0},u}(Promise.resolve(i),{milliseconds:r.timeout}
20)),r.signal&&(i=Promise.race([i,this.#eX(r.signal)]));let o=await i;n(o),this.emit("completed",o)}catch(t){if(t instanceof tL&&!r.throwOnTimeout){n();return}i(t),this.emit("error",t)}finally{this.#eq()}},r),this.emit("add"),this.#eV()})}async addAll(t,r){return Promise.all(t.map(async t=>this.add(t,r)))}start(){return this.#ej&&(this.#ej=!1,this.#eZ()),this}pause(){this.#ej=!0}clear(){this.#eO=new this.#eF}async onEmpty(){0!==this.#eO.size&&await this.#eJ("empty")}async onSizeLessThan(t){this.#eO.size<t||await this.#eJ("next",()=>this.#eO.size<t)}async onIdle(){(0!==this.#eL||0!==this.#eO.size)&&await this.#eJ("idle")}async #eJ(t,r){return new Promise(n=>{let i=()=>{(!r||r())&&(this.off(t,i),n())};this.on(t,i)})}get size(){return this.#eO.size}sizeBy(t){return this.#eO.filter(t).length}get pending(){return this.#eL}get isPaused(){return this.#ej}}let tH=async(t,r,n,i,o)=>{let a=[],s=n.cached?n.nextPagePath:n.id;for(;s;){let t=await i(s);a=a.concat(t.items),s=t.nextPagePath}let l=a.filter(t=>!0===t.isFolder),u=a.filter(t=>!1===t.isFolder),c=l.map(t=>({type:"folder",id:t.requestPath,cached:!1,nextPagePath:null,status:"checked",parentId:n.id,data:t})),d=u.map(t=>{let r=o(t);return{type:"file",id:t.requestPath,restrictionError:r,status:r?"unchecked":"checked",parentId:n.id,data:t}});n.cached=!0,n.nextPagePath=null,r.push(...d,...c),c.forEach(async n=>{t.add(()=>tH(t,r,n,i,o))})};var tq={afterOpenFolder:(t,r,n,i,o)=>{let a=r.filter(t=>!0===t.isFolder),s=r.filter(t=>!1===t.isFolder),l="folder"===n.type&&"checked"===n.status,u=a.map(t=>({type:"folder",id:t.requestPath,cached:!1,nextPagePath:null,status:l?"checked":"unchecked",parentId:n.id,data:t})),c=s.map(t=>{let r=o(t);return{type:"file",id:t.requestPath,restrictionError:r,status:l&&!r?"checked":"unchecked",parentId:n.id,data:t}}),d={...n,cached:!0,nextPagePath:i};return[...t.map(t=>t.id===d.id?d:t),...u,...c]},afterScrollFolder:(t,r,n,i,o)=>{let a=t.find(t=>t.id===r),s=n.filter(t=>!0===t.isFolder),l=n.filter(t=>!1===t.isFolder),u={...a,nextPagePath:i},c=t.map(t=>t.id===u.id?u:t),d="folder"===u.type&&"checked"===u.status;return[...c,...s.map(t=>({type:"folder",id:t.requestPath,cached:!1,nextPagePath:null,status:d?"checked":"unchecked",parentId:u.id,data:t})),...l.map(t=>{let r=o(t);return{type:"file",id:t.requestPath,restrictionError:r,status:d&&!r?"checked":"unchecked",parentId:u.id,data:t}})]},afterToggleCheckbox:(t,r)=>{let n=tI(t);if(r.length>=2){let t=n.filter(t=>"root"!==t.type&&r.includes(t.id));t.forEach(t=>{"file"===t.type?t.status=t.restrictionError?"unchecked":"checked":t.status="checked"}),t.forEach(t=>{tN(n,t.id,!0)}),tD(n,t[0].parentId)}else{let t=n.find(t=>t.id===r[0]);t.status="checked"===t.status?"unchecked":"checked",tN(n,t.id,"checked"===t.status),tD(n,t.parentId)}return n},afterFill:async(t,r,n,i)=>{let o=new tz({concurrency:6}),a=tI(t);return a.filter(t=>"folder"===t.type&&"checked"===t.status&&(!1===t.cached||t.nextPagePath)).forEach(t=>{o.add(()=>tH(o,a,t,r,n))}),o.on("completed",()=>{i(a.filter(t=>"file"===t.type&&"checked"===t.status).length)}),await o.onIdle(),a}},tV=t=>{let{scrollHeight:r,scrollTop:n,offsetHeight:i}=t.target;return r-(n+i)<50},tG=t=>r=>{if(!r.isAuthError){if("AbortError"===r.name){t.log("Aborting request","warning");return}t.log(r,"error"),"UserFacingApiError"===r.name&&t.info({message:t.i18n("companionError"),details:t.i18n(r.message)},"warning",5e3)}},tW=(t,r,n,i)=>{let o=r.findIndex(t=>t.id===i);if(-1!==o&&n){let n=r.findIndex(r=>
20r.id===t);return r.slice(Math.min(o,n),Math.max(o,n)+1).map(t=>t.id)}return[t]},tK=n(49015),tY=function(t){let{searchString:r,setSearchString:n,submitSearchString:i,wrapperClassName:o,inputClassName:a,inputLabel:s,clearSearchLabel:u="",showButton:c=!1,buttonLabel:d="",buttonCSSClassName:h=""}=t,f=(0,tf.I4)(t=>{t.preventDefault(),i()},[i]),[p]=(0,tf.eJ)(()=>{let t=document.createElement("form");return t.setAttribute("tabindex","-1"),t.id=(0,tK.x)(),t});return(0,tf.d4)(()=>(document.body.appendChild(p),p.addEventListener("submit",f),()=>{p.removeEventListener("submit",f),document.body.removeChild(p)}),[p,f]),(0,l.h)("section",{className:o},(0,l.h)("input",{className:`uppy-u-reset ${a}`,type:"search","aria-label":s,placeholder:s,value:r,onInput:t=>{n(t.target.value)},form:p.id,"data-uppy-super-focusable":!0}),!c&&(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-ProviderBrowser-searchFilterIcon",width:"12",height:"12",viewBox:"0 0 12 12"},(0,l.h)("path",{d:"M8.638 7.99l3.172 3.172a.492.492 0 1 1-.697.697L7.91 8.656a4.977 4.977 0 0 1-2.983.983C2.206 9.639 0 7.481 0 4.819 0 2.158 2.206 0 4.927 0c2.721 0 4.927 2.158 4.927 4.82a4.74 4.74 0 0 1-1.216 3.17zm-3.71.685c2.176 0 3.94-1.726 3.94-3.856 0-2.129-1.764-3.855-3.94-3.855C2.75.964.984 2.69.984 4.819c0 2.13 1.765 3.856 3.942 3.856z"})),!c&&r&&(0,l.h)("button",{className:"uppy-u-reset uppy-ProviderBrowser-searchFilterReset",type:"button","aria-label":u,title:u,onClick:()=>n("")},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",viewBox:"0 0 19 19"},(0,l.h)("path",{d:"M17.318 17.232L9.94 9.854 9.586 9.5l-.354.354-7.378 7.378h.707l-.62-.62v.706L9.318 9.94l.354-.354-.354-.354L1.94 1.854v.707l.62-.62h-.706l7.378 7.378.354.354.354-.354 7.378-7.378h-.707l.622.62v-.706L9.854 9.232l-.354.354.354.354 7.378 7.378.708-.707-7.38-7.378v.708l7.38-7.38.353-.353-.353-.353-.622-.622-.353-.353-.354.352-7.378 7.38h.708L2.56 1.23 2.208.88l-.353.353-.622.62-.353.355.352.353 7.38 7.38v-.708l-7.38 7.38-.353.353.352.353.622.622.353.353.354-.353 7.38-7.38h-.708l7.38 7.38z"}))),c&&(0,l.h)("button",{className:`uppy-u-reset uppy-c-btn uppy-c-btn-primary ${h}`,type:"submit",form:p.id},d))},tZ=t=>t.filter(r=>"file"===r.type&&"checked"===r.status||"folder"===r.type&&"checked"===r.status&&!t.some(t=>"root"!==t.type&&t.parentId===r.id)).length;function tX(t){let{cancelSelection:r,donePicking:n,i18n:i,partialTree:o,validateAggregateRestrictions:a}=t,s=(0,tf.Ye)(()=>a(o),[o,a]),c=(0,tf.Ye)(()=>tZ(o),[o]);return 0===c?null:(0,l.h)("div",{className:"uppy-ProviderBrowser-footer"},(0,l.h)("div",{className:"uppy-ProviderBrowser-footer-buttons"},(0,l.h)("button",{className:u("uppy-u-reset uppy-c-btn uppy-c-btn-primary",{"uppy-c-btn--disabled":s}),disabled:!!s,onClick:n,type:"button"},i("selectX",{smart_count:c})),(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link",onClick:r,type:"button"},i("cancel"))),s&&(0,l.h)("div",{className:"uppy-ProviderBrowser-footer-error"},s))}var tJ={__proto__:null,md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",msg:"application/vnd.ms-outlook",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function tQ(t){let r="";return t.replace(/[^A-Z0-9]/gi,t=>(r+=`-${t.charCodeAt(0).toString(32)}`,"/"))+r}var t0=(t,r,n)=>{var i,o;return{id:t.id,source:r.id,name:t.name||t.id,type:t.mimeType,isRemote:!0,data:t,preview:t.thumbnail||void 0,meta:{authorName:null==(i=t.author)?void 0:i.name,authorUrl:null==(o=t.author)?void 0:o.url,relativePath:t.relDirPath||null,absolutePath:t.absDirPath}
20,body:{fileId:t.id},remote:{companionUrl:r.opts.companionUrl,url:`${n.fileUrl(t.requestPath)}`,body:{fileId:t.id},providerName:n.name,provider:n.provider,requestClientId:n.provider}}},t1=(t,r,n)=>{let i=t.map(t=>t0(t,r,n)),o=[],a=[];i.forEach(t=>{r.uppy.checkIfFileAlreadyExists(function(t,r){var n;let i;if(t.isRemote&&t.remote&&new Set(["box","dropbox","drive","facebook","unsplash"]).has(t.remote.provider))return t.id;let o=function(t){var r;if(t.type)return t.type;let n=t.name?null==(r=td(t.name).extension)?void 0:r.toLowerCase():null;return n&&n in tJ?tJ[n]:"application/octet-stream"}(t);return n={...t,type:o},i=r||"uppy","string"==typeof n.name&&(i+=`-${tQ(n.name.toLowerCase())}`),void 0!==n.type&&(i+=`-${n.type}`),n.meta&&"string"==typeof n.meta.relativePath&&(i+=`-${tQ(n.meta.relativePath.toLowerCase())}`),void 0!==n.data.size&&(i+=`-${n.data.size}`),void 0!==n.data.lastModified&&(i+=`-${n.data.lastModified}`),i}(t,r.uppy.getID()))?a.push(t):o.push(t)}),o.length>0&&r.uppy.info(r.uppy.i18n("addedNumFiles",{numFiles:o.length})),a.length>0&&r.uppy.info(`Not adding ${a.length} files because they already exist`),r.uppy.addFiles(o)};let t2=(t,r,n)=>{let i=null===r?"null":r;if(n[i])return n[i];let o=t.find(t=>t.id===r);if("root"===o.type)return[];let a=[...t2(t,o.parentId,n),o];return n[i]=a,a};var t3=t=>{let r=Object.create(null);return t.filter(t=>"file"===t.type&&"checked"===t.status).map(n=>{let i=t2(t,n.id,r),o=i.findIndex(t=>"folder"===t.type&&"checked"===t.status),a=i.slice(o),s=`/${i.map(t=>t.data.name).join("/")}`,l=1===a.length?void 0:a.map(t=>t.data.name).join("/");return{...n.data,absDirPath:s,relDirPath:l}})},t5=(t,r)=>{let n=t.find(t=>t.id===r),i=[];for(;i=[n,...i],"root"!==n.type;){let r=n.parentId;n=t.find(t=>t.id===r)}return i};function t6(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var t4=0;function t8(t){return"__private_"+t4+++"_"+t}function t9(){return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",width:"30",height:"30",viewBox:"0 0 30 30"},(0,l.h)("path",{d:"M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15zm4.258-12.676v6.846h-8.426v-6.846H5.204l9.82-12.364 9.82 12.364H19.26z"}))}let t7=t=>({authenticated:void 0,partialTree:[{type:"root",id:t,cached:!1,nextPagePath:null}],currentFolderId:t,searchString:"",didFirstRender:!1,username:null,loading:!1});var re=t8("abortController"),rt=t8("withAbort");class rr{constructor(t,r){Object.defineProperty(this,rt,{value:rn}),this.isHandlingScroll=!1,this.lastCheckbox=null,Object.defineProperty(this,re,{writable:!0,value:void 0}),this.validateSingleFile=t=>{let r=th(t);return this.plugin.uppy.validateSingleFile(r)},this.getDisplayedPartialTree=()=>{let{partialTree:t,currentFolderId:r,searchString:n}=this.plugin.getPluginState(),i=t.filter(t=>"root"!==t.type&&t.parentId===r);return""===n?i:i.filter(t=>{var r;return -1!==(null!=(r=t.data.name)?r:this.plugin.uppy.i18n("unnamed")).toLowerCase().indexOf(n.toLowerCase())})},this.validateAggregateRestrictions=t=>{let r=t.filter(t=>"file"===t.type&&"checked"===t.status).map(t=>t.data);return this.plugin.uppy.validateAggregateRestrictions(r)},this.plugin=t,this.provider=r.provider,this.opts={viewType:"list",showTitles:!0,showFilter:!0,showBreadcrumbs:!0,loadAllFiles:!1,virtualList:!1,...r},this.openFolder=this.openFolder.bind(this),this.logout=this.logout.bind(this),this.handleAuth=this.handleAuth.bind(this),this.handleScroll=this.handleScroll.bind(this),this.resetPluginState=this.resetPluginState.bind(this),this.donePicking=this.donePicking.bind(this),this.render=this.render.bind(this),this.cancelSelection=this.cancelSelection.bind(this),this.toggleCheckbox=this.toggleCheckbox.bind(this),this.resetPluginState(),this.plugin.uppy.on("dashboard:close-panel",this.resetPluginState),this.plugin.uppy.registerRequestClient(this.provider.provider,this.provider)}resetPluginState(){this.plugin.setPluginState(t7(this.plugin.rootFolderId))}tearDown(){}setLoading(t){this.plugin.setPluginState({loading:t})}cancelSelection(){let{partialTree:t}=this.plugin.getPluginState(),r=t.map(t=>"root"===t.type?t:{...t,status:"unchecked"});this.plugin.setPluginState({partialTree:r})}async openFolder(t){this.lastCheckbox=null;let{partialTree:r}=this.plugin.getPluginState(),n=r.find(r=>r.id===t);if(n.cached){this.plugin.setPluginState({currentFolderId:t,searchString:""});return}this.setLoading(!0),await t6(this,rt)[rt](async i=>{let o=t,a=[];do{let{username:t,nextPagePath:r,items:n}=await this.provider.list(o,{signal:i});this.plugin.setPluginState({username:t}),o=r,a=a.concat(n),this.setLoading(this.plugin.uppy.i18n("loadedXFiles",{numFiles:a.length}))}while(this.opts.loadAllFiles&&o);let s=tq.afterOpenFolder(r,a,n,o,this.validateSingleFile);
20this.plugin.setPluginState({partialTree:s,currentFolderId:t,searchString:""})}).catch(tG(this.plugin.uppy)),this.setLoading(!1)}async logout(){await t6(this,rt)[rt](async t=>{let r=await this.provider.logout({signal:t});if(r.ok){if(!r.revoked){let t=this.plugin.uppy.i18n("companionUnauthorizeHint",{provider:this.plugin.title,url:r.manual_revoke_url});this.plugin.uppy.info(t,"info",7e3)}this.plugin.setPluginState({...t7(this.plugin.rootFolderId),authenticated:!1})}}).catch(tG(this.plugin.uppy))}async handleAuth(t){await t6(this,rt)[rt](async r=>{this.setLoading(!0),await this.provider.login({authFormData:t,signal:r}),this.plugin.setPluginState({authenticated:!0}),await Promise.all([this.provider.fetchPreAuthToken(),this.openFolder(this.plugin.rootFolderId)])}).catch(tG(this.plugin.uppy)),this.setLoading(!1)}async handleScroll(t){let{partialTree:r,currentFolderId:n}=this.plugin.getPluginState(),i=r.find(t=>t.id===n);tV(t)&&!this.isHandlingScroll&&i.nextPagePath&&(this.isHandlingScroll=!0,await t6(this,rt)[rt](async t=>{let{nextPagePath:o,items:a}=await this.provider.list(i.nextPagePath,{signal:t}),s=tq.afterScrollFolder(r,n,a,o,this.validateSingleFile);this.plugin.setPluginState({partialTree:s})}).catch(tG(this.plugin.uppy)),this.isHandlingScroll=!1)}async donePicking(){let{partialTree:t}=this.plugin.getPluginState();this.setLoading(!0),await t6(this,rt)[rt](async r=>{let n=await tq.afterFill(t,t=>this.provider.list(t,{signal:r}),this.validateSingleFile,t=>{this.setLoading(this.plugin.uppy.i18n("addedNumFiles",{numFiles:t}))});if(this.validateAggregateRestrictions(n)){this.plugin.setPluginState({partialTree:n});return}t1(t3(n),this.plugin,this.provider),this.resetPluginState()}).catch(tG(this.plugin.uppy)),this.setLoading(!1)}toggleCheckbox(t,r){let{partialTree:n}=this.plugin.getPluginState(),i=tW(t.id,this.getDisplayedPartialTree(),r,this.lastCheckbox),o=tq.afterToggleCheckbox(n,i);this.plugin.setPluginState({partialTree:o}),this.lastCheckbox=t.id}render(t,r){void 0===r&&(r={});let{didFirstRender:n}=this.plugin.getPluginState(),{i18n:i}=this.plugin.uppy;n||(this.plugin.setPluginState({didFirstRender:!0}),this.provider.fetchPreAuthToken(),this.openFolder(this.plugin.rootFolderId));let o={...this.opts,...r},{authenticated:a,loading:s}=this.plugin.getPluginState(),c=this.plugin.icon||t9;if(!1===a)return(0,l.h)(ty,{pluginName:this.plugin.title,pluginIcon:c,handleAuth:this.handleAuth,i18n:this.plugin.uppy.i18n,renderForm:o.renderAuthForm,loading:s});let{partialTree:d,currentFolderId:h,username:f,searchString:p}=this.plugin.getPluginState(),m=t5(d,h);return(0,l.h)("div",{className:u("uppy-ProviderBrowser",`uppy-ProviderBrowser-viewType--${o.viewType}`)},(0,l.h)(tw,{showBreadcrumbs:o.showBreadcrumbs,openFolder:this.openFolder,breadcrumbs:m,pluginIcon:c,title:this.plugin.title,logout:this.logout,username:f,i18n:i}),o.showFilter&&(0,l.h)(tY,{searchString:p,setSearchString:t=>{this.plugin.setPluginState({searchString:t})},submitSearchString:()=>{},inputLabel:i("filter"),clearSearchLabel:i("resetFilter"),wrapperClassName:"uppy-ProviderBrowser-searchFilter",inputClassName:"uppy-ProviderBrowser-searchFilterInput"}),(0,l.h)(tR,{toggleCheckbox:this.toggleCheckbox,displayedPartialTree:this.getDisplayedPartialTree(),openFolder:this.openFolder,virtualList:o.virtualList,noResultsLabel:i("noFilesFound"),handleScroll:this.handleScroll,viewType:o.viewType,showTitles:o.showTitles,i18n:this.plugin.uppy.i18n,isLoading:s,utmSource:"Companion"}),(0,l.h)(tX,{partialTree:d,donePicking:this.donePicking,cancelSelection:this.cancelSelection,i18n:i,validateAggregateRestrictions:this.validateAggregateRestrictions}))}}async function rn(t){var r;null==(r=t6(this,re)[re])||r.abort();let n=new AbortController;t6(this,re)[re]=n;let i=()=>{n.abort()};try{this.plugin.uppy.on("dashboard:close-panel",i),this.plugin.uppy.on("cancel-all",i),await t(n.signal)}finally{this.plugin.uppy.off("dashboard:close-panel",i),this.plugin.uppy.off("cancel-all",i),t6(this,re)[re]=void 0}}rr.VERSION="4.4.4";let ri={loading:!1,searchString:"",partialTree:[{type:"root",id:null,cached:!1,nextPagePath:null}],currentFolderId:null,isInputMode:!0}
20,ro={viewType:"grid",showTitles:!0,showFilter:!0,utmSource:"Companion"};class ra{constructor(t,r){this.isHandlingScroll=!1,this.lastCheckbox=null,this.validateSingleFile=t=>{let r=th(t);return this.plugin.uppy.validateSingleFile(r)},this.getDisplayedPartialTree=()=>{let{partialTree:t}=this.plugin.getPluginState();return t.filter(t=>"root"!==t.type)},this.setSearchString=t=>{this.plugin.setPluginState({searchString:t}),""===t&&this.plugin.setPluginState({partialTree:[]})},this.validateAggregateRestrictions=t=>{let r=t.filter(t=>"file"===t.type&&"checked"===t.status).map(t=>t.data);return this.plugin.uppy.validateAggregateRestrictions(r)},this.plugin=t,this.provider=r.provider,this.opts={...ro,...r},this.setSearchString=this.setSearchString.bind(this),this.search=this.search.bind(this),this.resetPluginState=this.resetPluginState.bind(this),this.handleScroll=this.handleScroll.bind(this),this.donePicking=this.donePicking.bind(this),this.cancelSelection=this.cancelSelection.bind(this),this.toggleCheckbox=this.toggleCheckbox.bind(this),this.render=this.render.bind(this),this.resetPluginState(),this.plugin.uppy.on("dashboard:close-panel",this.resetPluginState),this.plugin.uppy.registerRequestClient(this.provider.provider,this.provider)}tearDown(){}setLoading(t){this.plugin.setPluginState({loading:t})}resetPluginState(){this.plugin.setPluginState(ri)}cancelSelection(){let{partialTree:t}=this.plugin.getPluginState(),r=t.map(t=>"root"===t.type?t:{...t,status:"unchecked"});this.plugin.setPluginState({partialTree:r})}async search(){let{searchString:t}=this.plugin.getPluginState();if(""!==t){this.setLoading(!0);try{let r=await this.provider.search(t),n=[{type:"root",id:null,cached:!1,nextPagePath:r.nextPageQuery},...r.items.map(t=>({type:"file",id:t.requestPath,status:"unchecked",parentId:null,data:t}))];this.plugin.setPluginState({partialTree:n,isInputMode:!1})}catch(t){tG(this.plugin.uppy)(t)}this.setLoading(!1)}}async handleScroll(t){let{partialTree:r,searchString:n}=this.plugin.getPluginState(),i=r.find(t=>"root"===t.type);if(tV(t)&&!this.isHandlingScroll&&i.nextPagePath){this.isHandlingScroll=!0;try{let t=await this.provider.search(n,i.nextPagePath),o={...i,nextPagePath:t.nextPageQuery},a=r.filter(t=>"root"!==t.type),s=[o,...a,...t.items.map(t=>({type:"file",id:t.requestPath,status:"unchecked",parentId:null,data:t}))];this.plugin.setPluginState({partialTree:s})}catch(t){tG(this.plugin.uppy)(t)}this.isHandlingScroll=!1}}async donePicking(){let{partialTree:t}=this.plugin.getPluginState();t1(t3(t),this.plugin,this.provider),this.resetPluginState()}toggleCheckbox(t,r){let{partialTree:n}=this.plugin.getPluginState(),i=tW(t.id,this.getDisplayedPartialTree(),r,this.lastCheckbox),o=tq.afterToggleCheckbox(n,i);this.plugin.setPluginState({partialTree:o}),this.lastCheckbox=t.id}render(t,r){void 0===r&&(r={});let{isInputMode:n,searchString:i,loading:o,partialTree:a}=this.plugin.getPluginState(),{i18n:s}=this.plugin.uppy,c={...this.opts,...r};return n?(0,l.h)(tY,{searchString:i,setSearchString:this.setSearchString,submitSearchString:this.search,inputLabel:s("enterTextToSearch"),buttonLabel:s("searchImages"),wrapperClassName:"uppy-SearchProvider",inputClassName:"uppy-c-textInput uppy-SearchProvider-input",showButton:!0,buttonCSSClassName:"uppy-SearchProvider-searchButton"}):(0,l.h)("div",{className:u("uppy-ProviderBrowser",`uppy-ProviderBrowser-viewType--${c.viewType}`)},c.showFilter&&(0,l.h)(tY,{searchString:i,setSearchString:this.setSearchString,submitSearchString:this.search,inputLabel:s("search"),clearSearchLabel:s("resetSearch"),wrapperClassName:"uppy-ProviderBrowser-searchFilter",inputClassName:"uppy-ProviderBrowser-searchFilterInput"}),(0,l.h)(tR,{toggleCheckbox:this.toggleCheckbox,displayedPartialTree:this.getDisplayedPartialTree(),handleScroll:this.handleScroll,openFolder:async()=>{},noResultsLabel:s("noSearchResults"),viewType:c.viewType,showTitles:c.showTitles,isLoading:o,i18n:s,virtualList:!1,utmSource:this.opts.utmSource}),(0,l.h)(tX,{partialTree:a,donePicking:this.donePicking,cancelSelection:this.cancelSelection,i18n:s,validateAggregateRestrictions:this.validateAggregateRestrictions}))}}ra.VERSION="4.4.4";var rs=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function rl(t,r){if(t.length!==r.length)return!1;for(var n,i,o=0;o<t.length;o++)if(!((n=t[o])===(i=r[o])||rs(n)&&rs(i)))return!1;return!0}function ru(t,r){void 0===r&&(r=rl);var n=null;function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&r(i,n.lastArgs))return n.lastResult;
20var a=t.apply(this,i);return n={lastResult:a,lastArgs:i,lastThis:this},a}return i.clear=function(){n=null},i}var rc=['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])',"input:not([disabled]):not([inert]):not([aria-hidden])","select:not([disabled]):not([inert]):not([aria-hidden])","textarea:not([disabled]):not([inert]):not([aria-hidden])","button:not([disabled]):not([inert]):not([aria-hidden])",'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])','object:not([tabindex^="-"]):not([inert]):not([aria-hidden])','embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])'];function rd(t,r){if(r){let n=t.querySelector(`[data-uppy-paneltype="${r}"]`);if(n)return n}return t}function rh(t,r){let n=r[0];n&&(n.focus(),t.preventDefault())}function rf(t,r,n){let i=rd(n,r),o=tl(i.querySelectorAll(rc)),a=o.indexOf(document.activeElement);i.contains(document.activeElement)?t.shiftKey&&0===a?function(t,r){let n=r[r.length-1];n&&(n.focus(),t.preventDefault())}(t,o):t.shiftKey||a!==o.length-1||rh(t,o):rh(t,o)}var rp=n(7310);function rm(t){let r={color:"#838999",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("g",{fill:"#A7AFB7",fillRule:"nonzero"},(0,l.h)("path",{d:"M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z"}),(0,l.h)("path",{d:"M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z"})))};if(!t)return r;let n=t.split("/")[0],i=t.split("/")[1];return"text"===n?{color:"#5a5e69",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("path",{d:"M4.5 7h13a.5.5 0 1 1 0 1h-13a.5.5 0 0 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h10a.5.5 0 1 1 0 1h-10a.5.5 0 1 1 0-1z",fill:"#5A5E69",fillRule:"nonzero"}))}:"image"===n?{color:"#686de0",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("g",{fill:"#686DE0",fillRule:"evenodd"},(0,l.h)("path",{d:"M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z",fillRule:"nonzero"}),(0,l.h)("path",{d:"M6.35 17.172l4.994-5.026a.5.5 0 0 1 .707 0l2.16 2.16 3.505-3.505a.5.5 0 0 1 .707 0l2.336 2.31-.707.72-1.983-1.97-3.505 3.505a.5.5 0 0 1-.707 0l-2.16-2.159-3.938 3.939-1.409.026z",fillRule:"nonzero"}),(0,l.h)("circle",{cx:"7.5",cy:"9.5",r:"1.5"})))}:"audio"===n?{color:"#068dbb",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("path",{d:"M9.5 18.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V7.25a.5.5 0 0 1 .379-.485l9-2.25A.5.5 0 0 1 18.5 5v11.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V8.67l-8 2v7.97zm8-11v-2l-8 2v2l8-2zM7 19.64c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1zm9-2c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1z",fill:"#049BCF",fillRule:"nonzero"}))}:"video"===n?{color:"#19af67",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("path",{d:"M16 11.834l4.486-2.691A1 1 0 0 1 22 10v6a1 1 0 0 1-1.514.857L16 14.167V17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2.834zM15 9H5v8h10V9zm1 4l5 3v-6l-5 3z",fill:"#19AF67",fillRule:"nonzero"}))}:"application"===n&&"pdf"===i?{color:"#e25149",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("path",{d:"M9.766 8.295c-.691-1.843-.539-3.401.747-3.726 1.643-.414 2.505.938 2.39 3.299-.039.79-.194 1.662-.537 3.148.324.49.66.967 1.055 1.51.17.231.382.488.629.757 1.866-.128 3.653.114 4.918.655 1.487.635 2.192 1.685 1.614 2.84-.566 1.133-1.839 1.084-3.416.249-1.141-.604-2.457-1.634-3.51-2.707a13.467 13.467 0 0 0-2.238.426c-1.392 4.051-4.534 6.453-5.707 4.572-.986-1.58 1.38-4.206 4.914-5.375.097-.322.185-.656.264-1.001.08-.353.306-1.31.407-1.737-.678-1.059-1.2-2.031-1.53-2.91zm2.098 4.87c-.033.144-.068.287-.104.427l.033-.01-.012.038a14.065 14.065 0 0 1 1.02-.197l-.032-.033.052-.004a7.902 7.902 0 0 1-.208-.271c-.197-.27-.38-.526-.555-.775l-.006.028-.002-.003c-.076.323-.148.632-.186.8zm5.77 2.978c1.143.605 1.832.632 2.054.187.26-.519-.087-1.034-1.113-1.473-.911-.39-2.175-.608-3.55-.608.845.766 1.787 1.459 2.609 1.894zM6.559 18.789c.14.223.693.16 1.425-.413.827-.648 1.61-1.747 2.208-3.206-2.563 1.064-4.102 2.867-3.633 3.62zm5.345-10.97c.088-1.793-.351-2.48-1.146-2.28-.473.119-.564 1.05-.056 2.405.213.566.52 1.188.908 1.859.18-.858.268-1.453.294-1.984z",fill:"#E2514A",fillRule:"nonzero"}))}:"application"===n&&-1!==["zip","x-7z-compressed","x-zip-compressed","x-rar-compressed","x-tar","x-gzip","x-apple-diskimage"].indexOf(i)?{color:"#00C469",icon:(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",width:"25",height:"25",viewBox:"0 0 25 25"},(0,l.h)("path",{d:"M10.45 2.05h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V2.55a.5.5 0 0 1 .5-.5zm2.05 1.024h1.05a.5.5 0 0 1 .5.5V3.6a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5v-.001zM10.45 0h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 3.074h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 1.024h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-1.656 3.074l-.82 5.946c.52.302 1.174.458 1.976.458.803 0 1.455-.156 1.975-.458l-.82-5.946h-2.311zm0-1.025h2.312c.512 0 .946.378 1.015.885l.82 5.946c.056.412-.142.817-.501 1.026-.686.398-1.515.597-2.49.597-.974 0-1.804-.199-2.49-.597a1.025 1.025 0 0 1-.5-1.026l.819-5.946c.07-.507.503-.885 1.015-.885zm.545 6.6a.5.5 0 0 1-.397-.561l.143-.999a.5.5 0 0 1 .495-.429h.74a.5.5 0 0 1 .495.43l.143.998a.5.5 0 0 1-.397.561c-.404.08-.819.08-1.222 0z",fill:"#00C469",fillRule:"nonzero"}))}:r}function rg(t){let{file:r}=t;
20if(r.preview)return(0,l.h)("img",{draggable:!1,className:"uppy-Dashboard-Item-previewImg",alt:r.name,src:r.preview});let{color:n,icon:i}=rm(r.type);return(0,l.h)("div",{className:"uppy-Dashboard-Item-previewIconWrap"},(0,l.h)("span",{className:"uppy-Dashboard-Item-previewIcon",style:{color:n}},i),(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-Dashboard-Item-previewIconBg",width:"58",height:"76",viewBox:"0 0 58 76"},(0,l.h)("rect",{fill:"#FFF",width:"58",height:"76",rx:"3",fillRule:"evenodd"})))}let ry=(t,r)=>("function"==typeof r?r():r).filter(r=>r.id===t)[0].name;function rv(t){let{file:r,toggleFileCard:n,i18n:i,metaFields:o}=t,{missingRequiredMetaFields:a}=r;if(!(null!=a&&a.length))return null;let s=a.map(t=>ry(t,o)).join(", ");return(0,l.h)("div",{className:"uppy-Dashboard-Item-errorMessage"},i("missingRequiredMetaFields",{smart_count:a.length,fields:s})," ",(0,l.h)("button",{type:"button",class:"uppy-u-reset uppy-Dashboard-Item-errorMessageBtn",onClick:()=>n(!0,r.id)},i("editFile")))}function rb(t){let{file:r,i18n:n,toggleFileCard:i,metaFields:o,showLinkToFileUploadResult:a}=t,s=r.preview?"rgba(255, 255, 255, 0.5)":rm(r.type).color;return(0,l.h)("div",{className:"uppy-Dashboard-Item-previewInnerWrap",style:{backgroundColor:s}},a&&r.uploadURL&&(0,l.h)("a",{className:"uppy-Dashboard-Item-previewLink",href:r.uploadURL,rel:"noreferrer noopener",target:"_blank","aria-label":r.meta.name},(0,l.h)("span",{hidden:!0},r.meta.name)),(0,l.h)(rg,{file:r}),(0,l.h)(rv,{file:r,i18n:n,toggleFileCard:i,metaFields:o}))}function rw(t){return t.isUploaded?t.i18n("uploadComplete"):t.error?t.i18n("retryUpload"):t.resumableUploads?t.file.isPaused?t.i18n("resumeUpload"):t.i18n("pauseUpload"):t.individualCancellation?t.i18n("cancelUpload"):""}function r_(t){return(0,l.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-progressIndicator",type:"button","aria-label":rw(t),title:rw(t),onClick:()=>(function(t){if(!t.isUploaded){if(t.error&&!t.hideRetryButton){t.uppy.retryUpload(t.file.id);return}t.resumableUploads&&!t.hidePauseResumeButton?t.uppy.pauseResume(t.file.id):t.individualCancellation&&!t.hideCancelButton&&t.uppy.removeFile(t.file.id)}})(t)},t.children))}function rS(t){let{children:r}=t;return(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",width:"70",height:"70",viewBox:"0 0 36 36",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--circle"},r)}function rE(t){let{progress:r}=t,n=2*Math.PI*15;return(0,l.h)("g",null,(0,l.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--bg",r:"15",cx:"18",cy:"18","stroke-width":"2",fill:"none"}),(0,l.h)("circle",{className:"uppy-Dashboard-Item-progressIcon--progress",r:"15",cx:"18",cy:"18",transform:"rotate(-90, 18, 18)",fill:"none","stroke-width":"2","stroke-dasharray":n,"stroke-dashoffset":n-n/100*r}))}function rA(t){return t.file.progress.uploadStarted&&void 0!==t.file.progress.percentage?t.isUploaded?(0,l.h)("div",{className:"uppy-Dashboard-Item-progress"},(0,l.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,l.h)(rS,null,(0,l.h)("circle",{r:"15",cx:"18",cy:"18",fill:"#1bb240"}),(0,l.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--check",transform:"translate(2, 3)",points:"14 22.5 7 15.2457065 8.99985857 13.1732815 14 18.3547104 22.9729883 9 25 11.1005634"})))):t.recoveredState?null:t.error&&!t.hideRetryButton?(0,l.h)(r_,t,(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-Item-progressIcon--retry",width:"28",height:"31",viewBox:"0 0 16 19"},(0,l.h)("path",{d:"M16 11a8 8 0 1 1-8-8v2a6 6 0 1 0 6 6h2z"}),(0,l.h)("path",{d:"M7.9 3H10v2H7.9z"}),(0,l.h)("path",{d:"M8.536.5l3.535 3.536-1.414 1.414L7.12 1.914z"}),(0,l.h)("path",{d:"M10.657 2.621l1.414 1.415L8.536 7.57 7.12 6.157z"}))):t.resumableUploads&&!t.hidePauseResumeButton?(0,l.h)(r_,t,(0,l.h)(rS,null,(0,l.h)(rE,{progress:t.file.progress.percentage}),t.file.isPaused?(0,l.h)("polygon",{className:"uppy-Dashboard-Item-progressIcon--play",transform:"translate(3, 3)",points:"12 20 12 10 20 15"}):(0,l.h)("g",{className:"uppy-Dashboard-Item-progressIcon--pause",transform:"translate(14.5, 13)"},(0,l.h)("rect",{x:"0",y:"0",width:"2",height:"10",rx:"0"}),(0,l.h)("rect",{x:"5",y:"0",width:"2",height:"10",rx:"0"})))):t.resumableUploads||!t.individualCancellation||t.hideCancelButton?(0,l.h)("div",{className:"uppy-Dashboard-Item-progress"}
20,(0,l.h)("div",{className:"uppy-Dashboard-Item-progressIndicator"},(0,l.h)(rS,null,(0,l.h)(rE,{progress:t.file.progress.percentage})))):(0,l.h)(r_,t,(0,l.h)(rS,null,(0,l.h)(rE,{progress:t.file.progress.percentage}),(0,l.h)("polygon",{className:"cancel",transform:"translate(2, 2)",points:"19.8856516 11.0625 16 14.9481516 12.1019737 11.0625 11.0625 12.1143484 14.9481516 16 11.0625 19.8980263 12.1019737 20.9375 16 17.0518484 19.8856516 20.9375 20.9375 19.8980263 17.0518484 16 20.9375 12"}))):null}function rx(t,r){if(0===r)return"";if(t.length<=r)return t;if(r<=4)return`${t.slice(0,r-1)}â¦`;let n=r-3;return t.slice(0,Math.ceil(n/2))+"..."+t.slice(-Math.floor(n/2))}let rk=t=>{let{author:r,name:n}=t.file.meta;return(0,l.h)("div",{className:"uppy-Dashboard-Item-name",title:n},rx(n,t.isSingleFile&&t.containerHeight>=350?90:t.containerWidth<=352?35:t.containerWidth<=576?60:r?20:30))},rO=t=>{var r;let{author:n}=t.file.meta,i=null==(r=t.file.remote)?void 0:r.providerName,o=`\u00B7`;return n?(0,l.h)("div",{className:"uppy-Dashboard-Item-author"},(0,l.h)("a",{href:`${n.url}?utm_source=Companion&utm_medium=referral`,target:"_blank",rel:"noopener noreferrer"},rx(n.name,13)),i?(0,l.h)(Fragment,null,` ${o} `,i,` ${o} `):null):null},rP=t=>t.file.size&&(0,l.h)("div",{className:"uppy-Dashboard-Item-statusSize"},d(t.file.size)),rC=t=>t.file.isGhost&&(0,l.h)("span",null," ⢠",(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:()=>t.toggleAddFilesPanel(!0)},t.i18n("reSelect"))),rT=t=>{let{file:r,onClick:n}=t;return r.error?(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-errorDetails","aria-label":r.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:n,type:"button"},"?"):null};function rM(t){let{file:r,i18n:n,toggleFileCard:i,metaFields:o,toggleAddFilesPanel:a,isSingleFile:s,containerHeight:u,containerWidth:c}=t;return(0,l.h)("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":r.source},(0,l.h)("div",{className:"uppy-Dashboard-Item-fileName"},rk({file:r,isSingleFile:s,containerHeight:u,containerWidth:c}),(0,l.h)(rT,{file:r,onClick:()=>alert(r.error)})),(0,l.h)("div",{className:"uppy-Dashboard-Item-status"},rO({file:r}),rP({file:r}),rC({file:r,toggleAddFilesPanel:a,i18n:n})),(0,l.h)(rv,{file:r,i18n:n,toggleFileCard:i,metaFields:o}))}function rR(t){let{file:r,uploadInProgressOrComplete:n,metaFields:i,canEditFile:o,i18n:a,onClick:s}=t;return!n&&i&&i.length>0||!n&&o(r)?(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":a("editFileWithFilename",{file:r.meta.name}),title:a("editFileWithFilename",{file:r.meta.name}),onClick:()=>s()},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},(0,l.h)("g",{fillRule:"evenodd"},(0,l.h)("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),(0,l.h)("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),(0,l.h)("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function rI(t){let{i18n:r,onClick:n,file:i}=t;return(0,l.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":r("removeFile",{file:i.meta.name}),title:r("removeFile",{file:i.meta.name}),onClick:()=>n()},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},(0,l.h)("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),(0,l.h)("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}function rN(t){let{file:r,uppy:n,i18n:i}=t,o=t=>{var o,a;(o=r.uploadURL,void 0===(a=i("copyLinkToClipboardFallback"))&&(a="Copy the URL below"),new Promise(t=>{let r=document.createElement("textarea");r.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),r.value=o,document.body.appendChild(r),r.select();let n=()=>{document.body.removeChild(r),window.prompt(a,o),t()};try{if(!document.execCommand("copy"))return n();return document.body.removeChild(r),t()}catch(t){return document.body.removeChild(r),n()}})).then(()=>{n.log("Link copied to clipboard."),n.info(i("copyLinkToClipboardSuccess"),"info",3e3)}).catch(n.log).then(()=>
20t.target.focus({preventScroll:!0}))};return(0,l.h)("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":i("copyLink"),title:i("copyLink"),onClick:t=>o(t)},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},(0,l.h)("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}function rD(t){let{uppy:r,file:n,uploadInProgressOrComplete:i,canEditFile:o,metaFields:a,showLinkToFileUploadResult:s,showRemoveButton:u,i18n:c,toggleFileCard:d,openFileEditor:h}=t;return(0,l.h)("div",{className:"uppy-Dashboard-Item-actionWrapper"},(0,l.h)(rR,{i18n:c,file:n,uploadInProgressOrComplete:i,canEditFile:o,metaFields:a,onClick:()=>{a&&a.length>0?d(!0,n.id):h(n)}}),s&&n.uploadURL?(0,l.h)(rN,{file:n,uppy:r,i18n:c}):null,u?(0,l.h)(rI,{i18n:c,file:n,onClick:()=>r.removeFile(n.id)}):null)}class rF extends l.wA{componentDidMount(){let{file:t}=this.props;
20t.preview||this.props.handleRequestThumbnail(t)}shouldComponentUpdate(t){return!function(t,r){if(t===r)return!0;if(!t||!r)return!1;let n=Object.keys(t),i=Object.keys(r),o=n.length;if(i.length!==o)return!1;for(let i=0;i<o;i++){let o=n[i];if(t[o]!==r[o]||!Object.prototype.hasOwnProperty.call(r,o))return!1}return!0}(this.props,t)}componentDidUpdate(){let{file:t}=this.props;t.preview||this.props.handleRequestThumbnail(t)}componentWillUnmount(){let{file:t}=this.props;t.preview||this.props.handleCancelThumbnail(t)}render(){let{file:t}=this.props,r=t.progress.preprocess||t.progress.postprocess,n=!!t.progress.uploadComplete&&!r&&!t.error,i=!!t.progress.uploadStarted||!!r,o=t.progress.uploadStarted&&!t.progress.uploadComplete||r,a=t.error||!1,{isGhost:s}=t,c=this.props.individualCancellation?!n:!o&&!n;n&&this.props.showRemoveButtonAfterComplete&&(c=!0);let d=u({"uppy-Dashboard-Item":!0,"is-inprogress":o&&!this.props.recoveredState,"is-processing":r,"is-complete":n,"is-error":!!a,"is-resumable":this.props.resumableUploads,"is-noIndividualCancellation":!this.props.individualCancellation,"is-ghost":s});return(0,l.h)("div",{className:d,id:`uppy_${t.id}`,role:this.props.role},(0,l.h)("div",{className:"uppy-Dashboard-Item-preview"},(0,l.h)(rb,{file:t,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,i18n:this.props.i18n,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields}),(0,l.h)(rA,{uppy:this.props.uppy,file:t,error:a,isUploaded:n,hideRetryButton:this.props.hideRetryButton,hideCancelButton:this.props.hideCancelButton,hidePauseResumeButton:this.props.hidePauseResumeButton,recoveredState:this.props.recoveredState,resumableUploads:this.props.resumableUploads,individualCancellation:this.props.individualCancellation,i18n:this.props.i18n})),(0,l.h)("div",{className:"uppy-Dashboard-Item-fileInfoAndButtons"},(0,l.h)(rM,{file:t,containerWidth:this.props.containerWidth,containerHeight:this.props.containerHeight,i18n:this.props.i18n,toggleAddFilesPanel:this.props.toggleAddFilesPanel,toggleFileCard:this.props.toggleFileCard,metaFields:this.props.metaFields,isSingleFile:this.props.isSingleFile}),(0,l.h)(rD,{file:t,metaFields:this.props.metaFields,showLinkToFileUploadResult:this.props.showLinkToFileUploadResult,showRemoveButton:c,canEditFile:this.props.canEditFile,uploadInProgressOrComplete:i,toggleFileCard:this.props.toggleFileCard,openFileEditor:this.props.openFileEditor,uppy:this.props.uppy,i18n:this.props.i18n})))}}function rL(t){let{id:r,i18n:n,uppy:i,files:o,resumableUploads:a,hideRetryButton:s,hidePauseResumeButton:u,hideCancelButton:c,showLinkToFileUploadResult:d,showRemoveButtonAfterComplete:h,metaFields:f,isSingleFile:p,toggleFileCard:m,handleRequestThumbn
20ail:g,handleCancelThumbnail:y,recoveredState:v,individualCancellation:b,itemsPerRow:w,openFileEditor:_,canEditFile:S,toggleAddFilesPanel:E,containerWidth:A,containerHeight:x}=t,k=1===w?71:200,O=(0,tf.Ye)(()=>{let t=Object.keys(o);return v&&t.sort((t,r)=>Number(o[r].isGhost)-Number(o[t].isGhost)),function(t,r){let n=[],i=[];return t.forEach(t=>{i.length<r?i.push(t):(n.push(i),i=[t])}),i.length&&n.push(i),n}(t,w)},[o,w,v]),P=t=>(0,l.h)("div",{class:"uppy-Dashboard-filesInner",role:"presentation",key:t[0]},t.map(t=>(0,l.h)(rF,{key:t,uppy:i,id:r,i18n:n,resumableUploads:a,individualCancellation:b,hideRetryButton:s,hidePauseResumeButton:u,hideCancelButton:c,showLinkToFileUploadResult:d,showRemoveButtonAfterComplete:h,metaFields:f,recoveredState:v,isSingleFile:p,containerWidth:A,containerHeight:x,toggleFileCard:m,handleRequestThumbnail:g,handleCancelThumbnail:y,role:"listitem",openFileEditor:_,canEditFile:S,toggleAddFilesPanel:E,file:o[t]})));return p?(0,l.h)("div",{class:"uppy-Dashboard-files"},P(O[0])):(0,l.h)(tA,{class:"uppy-Dashboard-files",role:"list",data:O,renderRow:P,rowHeight:k})}class r$ extends l.wA{constructor(){super(...arguments),this.fileInput=null,this.folderInput=null,this.mobilePhotoFileInput=null,this.mobileVideoFileInput=null,this.triggerFileInputClick=()=>{var t;null==(t=this.fileInput)||t.click()},this.triggerFolderInputClick=()=>{var t;null==(t=this.folderInput)||t.click()},this.triggerVideoCameraInputClick=()=>{var t;null==(t=this.mobileVideoFileInput)||t.click()},this.triggerPhotoCameraInputClick=()=>{var t;null==(t=this.mobilePhotoFileInput)||t.click()},this.onFileInputChange=t=>{this.props.handleInputChange(t),t.currentTarget.value=""},this.renderHiddenInput=(t,r)=>{var n;return(0,l.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,webkitdirectory:t,type:"file",name:"files[]",multiple:1!==this.props.maxNumberOfFiles,onChange:this.onFileInputChange,accept:null==(n=this.props.allowedFileTypes)?void 0:n.join(", "),ref:r})},this.renderHiddenCameraInput=(t,r,n)=>(0,l.h)("input",{className:"uppy-Dashboard-input",hidden:!0,"aria-hidden":"true",tabIndex:-1,type:"file",name:`camera-${t}`,onChange:this.onFileInputChange,capture:r,accept:{photo:"image/*",video:"video/*"}[t],ref:n}),this.renderMyDeviceAcquirer=()=>(0,l.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MyDevice"},(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerFileInputClick},(0,l.h)("div",{className:"uppy-DashboardTab-inner"},(0,l.h)("svg",{className:"uppy-DashboardTab-iconMyDevice","aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,l.h)("path",{d:"M8.45 22.087l-1.305-6.674h17.678l-1.572 6.674H8.45zm4.975-12.412l1.083 1.765a.823.823 0 00.715.386h7.951V13.5H8.587V9.675h4.838zM26.043 13.5h-1.195v-2.598c0-.463-.336-.75-.798-.75h-8.356l-1.082-1.766A.823.823 0 0013.897 8H7.728c-.462 0-.815.256-.815.718V13.5h-.956a.97.97 0 00-.746.37.972.972 0 00-.19.81l1.724 8.565c.095.44.484.755.933.755H24c.44 0 .824-.3.929-.727l2.043-8.568a.972.972 0 00-.176-.825.967.967 0 00-.753-.38z",fill:"currentcolor","fill-rule":"evenodd"}))),(0,l.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("myDevice")))),this.renderPhotoCamera=()=>(0,l.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobilePhotoCamera"},(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerPhotoCameraInputClick},(0,l.h)("div",{className:"uppy-DashboardTab-inner"},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32"},(0,l.h)("path",{d:"M23.5 9.5c1.417 0 2.5 1.083 2.5 2.5v9.167c0 1.416-1.083 2.5-2.5 2.5h-15c-1.417 0-2.5-1.084-2.5-2.5V12c0-1.417 1.083-2.5 2.5-2.5h2.917l1.416-2.167C13 7.167 13.25 7 13.5 7h5c.25 0 .5.167.667.333L20.583 9.5H23.5zM16 11.417a4.706 4.706 0 00-4.75 4.75 4.704 4.704 0 004.75 4.75 4.703 4.703 0 004.75-4.75c0-2.663-2.09-4.75-4.75-4.75zm0 7.825c-1.744 0-3.076-1.332-3.076-3.074 0-1.745 1.333-3.077 3.076-3.077 1.744 0 3.074 1.333 3.074 3.076s-1.33 3.075-3.074 3.075z",fill:"#02B383","fill-rule":"nonzero"}))),(0,l.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("takePictureBtn")))),this.renderVideoCamera=()=>(0,l.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":"MobileVideoCamera"},(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-uppy-super-focusable":!0,onClick:this.triggerVideoCameraInputClick},(0,l.h)("div",{className:"uppy-DashboardTab-inner"},(0,l.h)("svg",{"aria-hidden":"true",width:"32",height:"32",viewBox:"0 0 32 32"},(0,l.h)("path",{fill:"#FF675E",fillRule:"nonzero",d:"m21.254 14.277 2.941-2.588c.797-.313 1.243.818 1.09 1.554-.01 2.094.02 4.189-.017 6.282-.126.915-1.145 1.08-1.58.34l-2.434-2.142c-.192.287-.504 1.305-.738.468-.104-1.293-.028-2.596-.05-3.894.047-.312.381.823.426 1.069.063-.384.206-.744.362-1.09zm-12.939-3.73c3.858.013 7.717-.025 11.574.02.912.129 1.492 1.237 1.351 2.217-.019 2.412.04 4.83-.03 7.239-.17 1.025-1.166 1.59-2.029 1.429-3.705-.012-7.41.025-11.114-.019-.913-.129-1.492-1.237-1.352-2.217.018-2.404-.036-4.813.029-7.214.136-.82.83-1.473 1.571-1.454z "}))),(0,l.h)("div",{className:"uppy-DashboardTab-name"},this.props.i18n("recordVideoBtn")))),this.renderBrowseButton=(t,r)=>{let n=this.props.acquirers.length;return(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-browse",onClick:r,"data-uppy-super-focusable":0===n},t)},this.renderDropPasteBrowseTagline=t=>{let r=this.renderBrowseButton(this.props.i18n("browseFiles"),this.triggerFileInputClick),n=this.renderBrowseButton(this.props.i18n("browseFolders"),this.triggerFolderInputClick),i=this.props.fileManagerSelectionType,o=i.charAt(0).toUpperCase()+i.slice(1);return(0,l.h)("div",{class:"uppy-Dashboard-AddFiles-title"},this.props.disableLocalFiles?this.props.i18n("importFiles"):t>0?this.props.i18nArray(`dropPasteImport${o}`,{browseFiles:r,browseFolders:n,browse:r}):this.props.i18nArray(`dropPaste${o}`,{browseFiles:r,browseFolders:n,browse:r}))},this.renderAcquirer=t=>{var r;return(0,l.h)("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":t.id},(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":t.id,"aria-controls":`uppy-DashboardContent-panel--${t.id}`,"aria-selected":(null==(r=this.props.activePickerPanel)?void 0:r.id)===t.id,"data-uppy-super-focusable":!0,onClick:()=>this.props.showPanel(t.id)},(0,l.h)("div",{className:"uppy-DashboardTab-inner"},t.icon()),(0,l.h)("div",{className:"uppy-DashboardTab-name"},t.name)))},this.renderAcquirers=t=>{let r=[...t],n=r.splice(t.length-2,t.length);return(0,l.h)(l.HY,null,r.map(t=>this.renderAcquirer(t)),(0,l.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},n.map(t=>this.renderAcquirer(t))))},this.renderSourcesList=(t,r)=>{let{showNativePhotoCameraButton:n,showNativeVideoCameraButton:i}=this.props,o=[],a="myDevice";r||o.push({key:a,elements:this.renderMyDeviceAcquirer()}),n&&o.push({key:"nativePhotoCameraButton",elements:this.renderPhotoCamera()}),i&&o.push({key:"nativePhotoCameraButton",elements:this.renderVideoCamera()}),o.push(...t.map(t=>({key:t.id,elements:this.renderAcquirer(t)}))),1===o.length&&o[0].key===a&&(o=[]);let s=[...o],u=s.splice(o.length-2,o.length);return(0,l.h)(l.HY,null,this.renderDropPasteBrowseTagline(o.length),(0,l.h)("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},s.map(t=>{let{key:r,elements:n}=t;return(0,l.h)(l.HY,{key:r},n)}),(0,l.h)("span",{role:"presentation",style:{"white-space":"nowrap"}},u.map(t=>{let{key:r,elements:n}=t;return(0,l.h)(l.HY,{key:r},n)}))))}}[Symbol.for("uppy test: disable unused locale key warning")](){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}renderPoweredByUppy(){let{i18nArray:t}=this.props,r=t("poweredBy",{uppy:(0,l.h)("span",null,(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},(0,l.h)("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),(0,l.h)("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy"))});return(0,l.h)("a",{tabIndex:-1,href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},r)}render(){let{showNativePhotoCameraButton:t,showNativeVideoCameraButton:r,nativeCameraFacingMode:n}=this.props;return(0,l.h)("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,t=>{this.fileInput=t}),this.renderHiddenInput(!0,t=>{this.folderInput=t}),t&&this.renderHiddenCameraInput("photo",n,t=>{this.mobilePhotoFileInput=t}),r&&this.renderHiddenCameraInput("video",n,t=>{this.mobileVideoFileInput=t}),this.renderSourcesList(this.props.acquirers,this.props.disableLocalFiles),(0,l.h)("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&(0,l.h)("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy()))}}var rj=t=>(0,l.h)("div",{className:u("uppy-Dashboard-AddFilesPanel",t.className),"data-uppy-panelType":"AddFiles","aria-hidden":!t.showAddFilesPanel},(0,l.h)("div",{className:"uppy-DashboardContent-bar"},(0,l.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},t.i18n("addingMoreFiles")),(0,l.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>t.toggleAddFilesPanel(!1)},t.i18n("back"))),(0,l.h)(r$,t)),rU=function(t){let{tagName:r}=t.target;if("INPUT"===r||"TEXTAREA"===r){t.stopPropagation();return}t.preventDefault(),t.stopPropagation()},rB=function(t){let{activePickerPanel:r,className:n,hideAllPanels:i,i18n:o,state:a,uppy:s}=t,c=(0,tf.sO)(null);return(0,l.h)("div",{className:u("uppy-DashboardContent-panel",n),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:`uppy-DashboardContent-panel--${r.id}`,onDragOver:rU,onDragLeave:rU,onDrop:rU,onPaste:rU},(0,l.h)("div",{className:"uppy-DashboardContent-bar"},(0,l.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},o("importFrom",{name:r.name})),(0,l.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:i},o("cancel"))),(0,l.h)("div",{ref:c,className:"uppy-DashboardContent-panelBody"},s.getPlugin(r.id).render(a,c.current)))},rz=function(t){let r=t.files[t.fileCardFor];return(0,l.h)("div",{className:u("uppy-DashboardContent-panel",t.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},(0,l.h)("div",{className:"uppy-DashboardContent-bar"},(0,l.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},t.i18nArray("editing",{file:(0,l.h)("span",{className:"uppy-DashboardContent-titleFile"},r.meta?r.meta.name:r.name)})),(0,l.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>{t.uppy.emit("file-editor:cancel",r),t.closeFileEditor()}}
20,t.i18n("cancel")),(0,l.h)("button",{className:"uppy-DashboardContent-save",type:"button",onClick:t.saveFileEditor},t.i18n("save"))),(0,l.h)("div",{className:"uppy-DashboardContent-panelBody"},t.editors.map(r=>t.uppy.getPlugin(r.id).render(t.state))))};let rH={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete",STATE_PAUSED:"paused"};function rq(t){let{files:r,i18n:n,isAllComplete:i,isAllErrored:o,isAllPaused:a,inProgressNotPausedFiles:s,newFiles:l,processingFiles:u}=t;switch(function(t,r,n,i){if(void 0===i&&(i={}),t)return rH.STATE_ERROR;if(r)return rH.STATE_COMPLETE;if(n)return rH.STATE_PAUSED;let o=rH.STATE_WAITING,a=Object.keys(i);for(let t=0;t<a.length;t++){let{progress:r}=i[a[t]];if(r.uploadStarted&&!r.uploadComplete)return rH.STATE_UPLOADING;r.preprocess&&o!==rH.STATE_UPLOADING&&(o=rH.STATE_PREPROCESSING),r.postprocess&&o!==rH.STATE_UPLOADING&&o!==rH.STATE_PREPROCESSING&&(o=rH.STATE_POSTPROCESSING)}return o}(o,i,a,r)){case"uploading":return n("uploadingXFiles",{smart_count:s.length});case"preprocessing":case"postprocessing":return n("processingXFiles",{smart_count:u.length});case"paused":return n("uploadPaused");case"waiting":return n("xFilesSelected",{smart_count:l.length});case"complete":return n("uploadComplete");case"error":return n("error")}}var rV=function(t){let{i18n:r,isAllComplete:n,hideCancelButton:i,maxNumberOfFiles:o,toggleAddFilesPanel:a,uppy:s}=t,{allowNewUpload:u}=t;return u&&o&&(u=t.totalFileCount<t.maxNumberOfFiles),(0,l.h)("div",{className:"uppy-DashboardContent-bar"},n||i?(0,l.h)("div",null):(0,l.h)("button",{className:"uppy-DashboardContent-back",type:"button",onClick:()=>s.cancelAll()},r("cancel")),(0,l.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},(0,l.h)(rq,t)),u?(0,l.h)("button",{className:"uppy-DashboardContent-addMore",type:"button","aria-label":r("addMoreFiles"),title:r("addMoreFiles"),onClick:()=>a(!0)},(0,l.h)("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"15",height:"15",viewBox:"0 0 15 15"},(0,l.h)("path",{d:"M8 6.5h6a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5H8v6a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V8h-6a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h6v-6A.5.5 0 0 1 7 0h.5a.5.5 0 0 1 .5.5v6z"})),(0,l.h)("span",{className:"uppy-DashboardContent-addMoreCaption"},r("addMore"))):(0,l.h)("div",null))};function rG(t){let{computedMetaFields:r,requiredMetaFields:n,updateMeta:i,form:o,formState:a}=t,s={text:"uppy-u-reset uppy-c-textInput uppy-Dashboard-FileCard-input"};return r.map(t=>{let r=`uppy-Dashboard-FileCard-input-${t.id}`,u=n.includes(t.id);return(0,l.h)("fieldset",{key:t.id,className:"uppy-Dashboard-FileCard-fieldset"},(0,l.h)("label",{className:"uppy-Dashboard-FileCard-label",htmlFor:r},t.name),void 0!==t.render?t.render({value:a[t.id],onChange:r=>i(r,t.id),fieldCSSClasses:s,required:u,form:o.id},l.h):(0,l.h)("input",{className:s.text,id:r,form:o.id,type:t.type||"text",required:u,value:a[t.id],placeholder:t.placeholder,onInput:r=>i(r.target.value,t.id),"data-uppy-super-focusable":!0}))})}function rW(t){var r;
20let{files:n,fileCardFor:i,toggleFileCard:o,saveFileCard:a,metaFields:s,requiredMetaFields:c,openFileEditor:d,i18n:h,i18nArray:f,className:p,canEditFile:m}=t,g=n[i],y=null!=(r="function"==typeof s?s(n[i]):s)?r:[],v=m(g),b={};y.forEach(t=>{var r;b[t.id]=null!=(r=g.meta[t.id])?r:""});let[w,_]=(0,tf.eJ)(b),S=(0,tf.I4)(t=>{t.preventDefault(),a(w,i)},[a,w,i]),E=()=>{o(!1)},[A]=(0,tf.eJ)(()=>{let t=document.createElement("form");return t.setAttribute("tabindex","-1"),t.id=(0,tK.x)(),t});return(0,tf.d4)(()=>(document.body.appendChild(A),A.addEventListener("submit",S),()=>{A.removeEventListener("submit",S),document.body.removeChild(A)}),[A,S]),(0,l.h)("div",{className:u("uppy-Dashboard-FileCard",p),"data-uppy-panelType":"FileCard",onDragOver:rU,onDragLeave:rU,onDrop:rU,onPaste:rU},(0,l.h)("div",{className:"uppy-DashboardContent-bar"},(0,l.h)("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},f("editing",{file:(0,l.h)("span",{className:"uppy-DashboardContent-titleFile"},g.meta?g.meta.name:g.name)})),(0,l.h)("button",{className:"uppy-DashboardContent-back",type:"button",form:A.id,title:h("finishEditingFile"),onClick:E},h("cancel"))),(0,l.h)("div",{className:"uppy-Dashboard-FileCard-inner"},(0,l.h)("div",{className:"uppy-Dashboard-FileCard-preview",style:{backgroundColor:rm(g.type).color}},(0,l.h)(rg,{file:g}),v&&(0,l.h)("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-Dashboard-FileCard-edit",onClick:t=>{S(t),d(g)}},h("editImage"))),(0,l.h)("div",{className:"uppy-Dashboard-FileCard-info"},(0,l.h)(rG,{computedMetaFields:y,requiredMetaFields:c,updateMeta:(t,r)=>{_({...w,[r]:t})},form:A,formState:w})),(0,l.h)("div",{className:"uppy-Dashboard-FileCard-actions"},(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Dashboard-FileCard-actionsBtn",type:"submit",form:A.id},h("saveChanges")),(0,l.h)("button",{className:"uppy-u-reset uppy-c-btn uppy-c-btn-link uppy-Dashboard-FileCard-actionsBtn",type:"button",onClick:E,form:A.id},h("cancel")))))}
20let rK="uppy-transition-slideDownUp";var rY=function(t){let{children:r}=t,[n,i]=(0,tf.eJ)(null),[o,a]=(0,tf.eJ)(""),s=(0,tf.sO)(),c=(0,tf.sO)(),d=(0,tf.sO)(),h=()=>{a(`${rK}-enter`),cancelAnimationFrame(d.current),clearTimeout(c.current),c.current=void 0,d.current=requestAnimationFrame(()=>{a(`${rK}-enter ${rK}-enter-active`),s.current=setTimeout(()=>{a("")},250)})},f=()=>{a(`${rK}-leave`),cancelAnimationFrame(d.current),clearTimeout(s.current),s.current=void 0,d.current=requestAnimationFrame(()=>{a(`${rK}-leave ${rK}-leave-active`),c.current=setTimeout(()=>{i(null),a("")},250)})};return((0,tf.d4)(()=>{let t=(0,l.bR)(r)[0];n!==t&&(t&&!n?h():!n||t||c.current||f(),i(t))},[r,n]),(0,tf.d4)(()=>()=>{clearTimeout(s.current),clearTimeout(c.current),cancelAnimationFrame(d.current)},[]),n)?(0,l.Tm)(n,{className:u(o,n.props.className)}):null};function rZ(){return(rZ=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(null,arguments)}var rX={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editImage:"Edit image",editing:"Editing %{file}",error:"Error",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},takePictureBtn:"Take Picture",recordVideoBtn:"Record Video"}};function rJ(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var rQ=0;function r0(t){return"__private_"+rQ+++"_"+t}let r1=ru.default||ru;function r2(){let t={};return t.promise=new Promise((r,n)=>{t.resolve=r,t.reject=n}),t}let r3={target:"body",metaFields:[],thumbnailWidth:280,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,defaultPickerIcon:t9,showLinkToFileUploadResult:!1,showProgressDetails:!1,hideUploadButton:!1,hideCancelButton:!1,hideRetryButton:!1,hidePauseResumeButton:!1,hideProgressAfterFinish:!1,note:null,singleFileFullScreen:!0,disableStatusBar:!1,disableInformer:!1,disableThumbnailGenerator:!1,fileManagerSelectionType:"files",proudlyDisplayPoweredByUppy:!0,showSelectedFiles:!0,showRemoveButtonAfterComplete:!1,showNativePhotoCameraButton:!1,showNativeVideoCameraButton:!1,theme:"light",autoOpen:null,disabled:!1,disableLocalFiles:!1,nativeCameraFacingMode:"",onDragLeave:()=>{},onDragOver:()=>{},onDrop:()=>{},plugins:[],doneButtonHandler:void 0,onRequestCloseModal:null,inline:!1,animateOpenClose:!0,browserBackButtonClose:!1,closeAfterFinish:!1,closeModalOnClickOutside:!1,disablePageScrollWhenModalOpen:!0,trigger:null,width:750,height:550};
20var r5=r0("disabledNodes"),r6=r0("generateLargeThumbnailIfSingleFile"),r4=r0("openFileEditorWhenFilesAdded"),r8=r0("attachRenderFunctionToTarget"),r9=r0("isTargetSupported"),r7=r0("getAcquirers"),ne=r0("getProgressIndicators"),nt=r0("getEditors"),nr=r0("addSpecifiedPluginsFromOptions"),nn=r0("autoDiscoverPlugins"),ni=r0("addSupportedPluginIfNoTarget"),no=r0("getStatusBarOpts"),na=r0("getThumbnailGeneratorOpts"),ns=r0("getInformerOpts"),nl=r0("getStatusBarId"),nu=r0("getThumbnailGeneratorId"),nc=r0("getInformerId");class nd extends i.Z{constructor(t,r){var n,i;let o;super(t,{...r3,...r,autoOpen:null!=(n=null==r?void 0:r.autoOpen)?n:null}),Object.defineProperty(this,nc,{value:ny}),Object.defineProperty(this,nu,{value:ng}),Object.defineProperty(this,nl,{value:nm}),Object.defineProperty(this,ns,{value:np}),Object.defineProperty(this,na,{value:nf}),Object.defineProperty(this,no,{value:nh}),Object.defineProperty(this,r5,{writable:!0,value:void 0}),this.modalName=`uppy-Dashboard-${(0,tK.x)()}`,this.superFocus=(o=!1,rp((t,r)=>{let n=rd(t,r),i=n.contains(document.activeElement);if(i&&o)return;let a=n.querySelector("[data-uppy-super-focusable]");if(!i||a){if(a)a.focus({preventScroll:!0}),o=!0;else{let t=n.querySelector(rc);null==t||t.focus({preventScroll:!0}),o=!1}}},260)),this.ifFocusedOnUppyRecently=!1,this.removeTarget=t=>{let r=this.getPluginState().targets.filter(r=>r.id!==t.id);this.setPluginState({targets:r})},this.addTarget=t=>{let r=t.id||t.constructor.name,n=t.title||r,i=t.type;if("acquirer"!==i&&"progressindicator"!==i&&"editor"!==i)return this.up
vendor: 4,096 bytes, line 20
20py.log("Dashboard: can only be targeted by plugins of types: acquirer, progressindicator, editor","error"),null;let o=this.getPluginState().targets.slice();return o.push({id:r,name:n,type:i}),this.setPluginState({targets:o}),this.el},this.hideAllPanels=()=>{var t;let r=this.getPluginState(),n={activePickerPanel:void 0,showAddFilesPanel:!1,activeOverlayType:null,fileCardFor:null,showFileEditor:!1};(r.activePickerPanel!==n.activePickerPanel||r.showAddFilesPanel!==n.showAddFilesPanel||r.showFileEditor!==n.showFileEditor||r.activeOverlayType!==n.activeOverlayType)&&(this.setPluginState(n),this.uppy.emit("dashboard:close-panel",null==(t=r.activePickerPanel)?void 0:t.id))},this.showPanel=t=>{let{targets:r}=this.getPluginState(),n=r.find(r=>"acquirer"===r.type&&r.id===t);this.setPluginState({activePickerPanel:n,activeOverlayType:"PickerPanel"}),this.uppy.emit("dashboard:show-panel",t)},this.canEditFile=t=>{let{targets:r}=this.getPluginState();return rJ(this,nt)[nt](r).some(r=>this.uppy.getPlugin(r.id).canEditFile(t))},this.openFileEditor=t=>{let{targets:r}=this.getPluginState(),n=rJ(this,nt)[nt](r);this.setPluginState({showFileEditor:!0,fileCardFor:t.id||null,activeOverlayType:"FileEditor"}),n.forEach(r=>{this.uppy.getPlugin(r.id).selectFile(t)})},this.closeFileEditor=()=>{let{metaFields:t}=this.getPluginState();t&&t.length>0?this.setPluginState({showFileEditor:!1,activeOverlayType:"FileCard"}):this.setPluginState({showFileEditor:!1,fileCardFor:null,activeOverlayType:"AddFiles"})},this.saveFileEditor=()=>{let{targets:t}=this.getPluginState();rJ(this,nt)[nt](t).forEach(t=>{this.uppy.getPlugin(t.id).save()}),this.closeFileEditor()},this.openModal=()=>{let{promise:t,resolve:r}=r2();if(this.savedScrollPosition=window.pageYOffset,this.savedActiveElement=document.activeElement,this.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),this.opts.animateOpenClose&&this.getPluginState().isClosing){let t=()=>{this.setPluginState({isHidden:!1}),this.el.removeEventListener("animationend",t,!1),r()};this.el.addEventListener("animationend",t,!1)}else this.setPluginState({isHidden:!1}),r();return this.opts.browserBackButtonClose&&this.updateBrowserHistory(),document.addEventListener("keydown",this.handleKeyDownInModal),this.uppy.emit("dashboard:modal-open"),t},this.closeModal=t=>{var r,n;let i=null==(r=null==t?void 0:t.manualClose)||r,{isHidden:o,isClosing:a}=this.getPluginState();if(o||a)return;let{promise:s,resolve:l}=r2();if(this.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),this.opts.animateOpenClose){this.setPluginState({isClosing:!0});let t=()=>{this.setPluginState({isHidden:!0,isClosing:!1}),this.superFocus.cancel(),this.savedActiveElement.focus(),this.el.removeEventListener("animationend",t,!1),l()};this.el.addEventListener("animationend",t,!1)}else this.setPluginState({isHidden:!0}),this.superFocus.cancel(),this.savedActiveElement.focus(),l();return document.removeEventListener("keydown",this.handleKeyDownInModal),i&&this.opts.browserBackButtonClose&&null!=(n=history.state)&&n[this.modalName]&&history.back(),this.uppy.emit("dashboard:modal-closed"),s},this.isModalOpen=()=>!this.getPluginState().isHidden,this.requestCloseModal=()=>this.opts.onRequestCloseModal?this.opts.onRequestCloseModal():this.closeModal(),this.setDarkModeCapability=t=>{let{capabilities:r}=this.uppy.getState();this.uppy.setState({capabilities:{...r,darkMode:t}})},this.handleSystemDarkModeChange=t=>{let r=t.matches;this.uppy.log(`[Dashboard] Dark mode is ${r?"on":"off"}`),this.setDarkModeCapability(r)},this.toggleFileCard=(t,r)=>{let n=this.uppy.getFile(r);t?this.uppy.emit("dashboard:file-edit-start",n):this.uppy.emit("dashboard:file-edit-complete",n),this.setPluginState({fileCardFor:t?r:null,activeOverlayType:t?"FileCard":null})},this.toggleAddFilesPanel=t=>{this.setPluginState({showAddFilesPanel:t,activeOverlayType:t?"AddFiles":null})},this.addFiles=t=>{let r=t.map(t=>({source:this.id,name:t.name,type:t.type,data:t,meta:{relativePath:t.relativePath||t.webkitRelativePath||null}}));
20try{this.uppy.addFiles(r)}catch(t){this.uppy.log(t)}},this.startListeningToResize=()=>{this.resizeObserver=new ResizeObserver(t=>{let{width:r,height:n}=t[0].contentRect;this.setPluginState({containerWidth:r,containerHeight:n,areInsidesReadyToBeVisible:!0})}),this.resizeObserver.observe(this.el.querySelector(".uppy-Dashboard-inner")),this.makeDashboardInsidesVisibleAnywayTimeout=setTimeout(()=>{let t=this.getPluginState(),r=!this.opts.inline&&t.isHidden;t.areInsidesReadyToBeVisible||r||(this.uppy.log("[Dashboard] resize event didnât fire on time: defaulted to mobile layout","warning"),this.setPluginState({areInsidesReadyToBeVisible:!0}))},1e3)},this.stopListeningToResize=()=>{this.resizeObserver.disconnect(),clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)},this.recordIfFocusedOnUppyRecently=t=>{this.el.contains(t.target)?this.ifFocusedOnUppyRecently=!0:(this.ifFocusedOnUppyRecently=!1,this.superFocus.cancel())},this.disableInteractiveElements=t=>{var r;let n=null!=(r=rJ(this,r5)[r5])?r:tl(this.el.querySelectorAll(["a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[role="button"]:not([disabled])'])).filter(t=>!t.classList.contains("uppy-Dashboard-close"));for(let r of n)"A"===r.tagName?r.setAttribute("aria-disabled",t):r.disabled=t;t?rJ(this,r5)[r5]=n:rJ(this,r5)[r5]=null,this.dashboardIsDisabled=t},this.updateBrowserHistory=()=>{var t;null!=(t=history.state)&&t[this.modalName]||history.pushState({...history.state,[this.modalName]:!0},""),window.addEventListener("popstate",this.handlePopState,!1)},this.handlePopState=t=>{var r;!this.isModalOpen()||t.state&&t.state[this.modalName]||this.closeModal({manualClose:!1}),!this.isModalOpen()&&null!=(r=t.state)&&r[this.modalName]&&history.back()},this.handleKeyDownInModal=t=>{27===t.keyCode&&this.requestCloseModal(),9===t.keyCode&&rf(t,this.getPluginState().activeOverlayType,this.el)},this.handleClickOutside=()=>{this.opts.closeModalOnClickOutside&&this.requestCloseModal()},this.handlePaste=t=>{this.uppy.iteratePlugins(r=>{"acquirer"===r.type&&(null==r.handleRootPaste||r.handleRootPaste(t))});let r=tl(t.clipboardData.files);r.length>0&&(this.uppy.log("[Dashboard] Files pasted"),this.addFiles(r))},this.handleInputChange=t=>{t.preventDefault();let r=tl(t.currentTarget.files||[]);r.length>0&&(this.uppy.log("[Dashboard] Files selected through input"),this.addFiles(r))},this.handleDragOver=t=>{t.preventDefault(),t.stopPropagation();let r=(()=>{let r=!0;
20return this.uppy.iteratePlugins(n=>{null!=n.canHandleRootDrop&&n.canHandleRootDrop(t)&&(r=!0)}),r})(),n=(()=>{let{types:r}=t.dataTransfer;return r.some(t=>"Files"===t)})();if(!r&&!n||this.opts.disabled||this.opts.disableLocalFiles&&(n||!r)||!this.uppy.getState().allowNewUpload){t.dataTransfer.dropEffect="none";return}t.dataTransfer.dropEffect="copy",this.setPluginState({isDraggingOver:!0}),this.opts.onDragOver(t)},this.handleDragLeave=t=>{t.preventDefault(),t.stopPropagation(),this.setPluginState({isDraggingOver:!1}),this.opts.onDragLeave(t)},this.handleDrop=async t=>{t.preventDefault(),t.stopPropagation(),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(r=>{"acquirer"===r.type&&(null==r.handleRootDrop||r.handleRootDrop(t))});let r=!1;this.uppy.log("[Dashboard] Processing dropped files");let n=await tc(t.dataTransfer,{logDropError:t=>{this.uppy.log(t,"error"),r||(this.uppy.info(t.message,"error"),r=!0)}});n.length>0&&(this.uppy.log("[Dashboard] Files dropped"),this.addFiles(n)),this.opts.onDrop(t)}
20,this.handleRequestThumbnail=t=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:request",t)},this.handleCancelThumbnail=t=>{this.opts.waitForThumbnailsBeforeUpload||this.uppy.emit("thumbnail:cancel",t)},this.handleKeyDownInInline=t=>{if(9===t.keyCode){var r,n;r=this.getPluginState().activeOverlayType,n=this.el,null===r||rf(t,r,n)}},this.handlePasteOnBody=t=>{this.el.contains(document.activeElement)&&this.handlePaste(t)},this.handleComplete=t=>{let{failed:r}=t;this.opts.closeAfterFinish&&!(null!=r&&r.length)&&this.requestCloseModal()},this.handleCancelRestore=()=>{this.uppy.emit("restore-canceled")},Object.defineProperty(this,r6,{writable:!0,value:()=>{if(this.opts.disableThumbnailGenerator)return;let t=this.uppy.getFiles();if(1===t.length){let r=this.uppy.getPlugin(`${this.id}:ThumbnailGenerator`);null==r||r.setOptions({thumbnailWidth:600});let n={...t[0],preview:void 0};null==r||r.requestThumbnail(n).then(()=>{null==r||r.setOptions({thumbnailWidth:this.opts.thumbnailWidth})})}}}),Object.defineProperty(this,r4,{writable:!0,value:t=>{let r=t[0],{metaFields:n}=this.getPluginState(),i=n&&n.length>0,o=this.canEditFile(r);i&&"metaEditor"===this.opts.autoOpen?this.toggleFileCard(!0,r.id):o&&"imageEditor"===this.opts.autoOpen&&this.openFileEditor(r)}}),this.initEvents=()=>{if(this.opts.trigger&&!this.opts.inline){let t=ts(this.opts.trigger);t?t.forEach(t=>t.addEventListener("click",this.openModal)):this.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openM
20odal()` method yourself","warning")}this.startListeningToResize(),document.addEventListener("paste",this.handlePasteOnBody),this.uppy.on("plugin-added",rJ(this,ni)[ni]),this.uppy.on("plugin-remove",this.removeTarget),this.uppy.on("file-added",this.hideAllPanels),this.uppy.on("dashboard:modal-closed",this.hideAllPanels),this.uppy.on("complete",this.handleComplete),this.uppy.on("files-added",rJ(this,r6)[r6]),this.uppy.on("file-removed",rJ(this,r6)[r6]),document.addEventListener("focus",this.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",this.recordIfFocusedOnUppyRecently,!0),this.opts.inline&&this.el.addEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpen&&this.uppy.on("files-added",rJ(this,r4)[r4])},this.removeEvents=()=>{let t=ts(this.opts.trigger);!this.opts.inline&&t&&t.forEach(t=>t.removeEventListener("click",this.openModal)),this.stopListeningToResize(),document.removeEventListener("paste",this.handlePasteOnBody),window.removeEventListener("popstate",this.handlePopState,!1),this.uppy.off("plugin-added",rJ(this,ni)[ni]),this.uppy.off("plugin-remove",this.removeTarget),this.uppy.off("file-added",this.hideAllPanels),this.uppy.off("dashboard:modal-closed",this.hideAllPanels),this.uppy.off("complete",this.handleComplete),this.uppy.off("files-added",rJ(this,r6)[r6]),this.uppy.off("file-removed",rJ(this,r6)[r6]),document.removeEventListener("focus",this.recordIfFocusedOnUppyRecently),document.removeEventListener("click",this.recordIfFocusedOnUppyRecently),this.opts.inline&&this.el.removeEventListener("keydown",this.handleKeyDownInInline),this.opts.autoOpen&&this.uppy.off("files-added",rJ(this,r4)[r4])},this.superFocusOnEachUpdate=()=>{let t=this.el.contains(document.activeElement),r=document.activeElement===document.body||null===document.activeElement,n=0===this.uppy.getState().info.length,i=!this.opts.inline;n&&(i||t||r&&this.ifFocusedOnUppyRecently)?this.superFocus(this.el,this.getPluginState().activeOverlayType):this.superFocus.cancel()},this.afterUpdate=()=>{if(this.opts.disabled&&!this.dashboardIsDisabled){this.disableInteractiveElements(!0);return}!this.opts.disabled&&this.dashboardIsDisabled&&this.disableInteractiveElements(!1),this.superFocusOnEachUpdate()},this.saveFileCard=(t,r)=>{this.uppy.setFileMeta(r,t),this.toggleFileCard(!1,r)},Object.defineProperty(this,r8,{writable:!0,value:t=>{let r=this.uppy.getPlugin(t.id);return{...t,icon:r.icon||this.opts.defaultPickerIcon,render:r.render}}}),Object.defineProperty(this,r9,{writable:!0,value:t=>{let r=this.uppy.getPlugin(t.id);return"function"!=typeof r.isSupported||r.isSupported()}}),Object.defineProperty(this,r7,{writable:!0,value:r1(t=>t.filter(t=>"acquirer"===t.type&&rJ(this,r9)[r9](t)).map(rJ(this,r8)[r8]))}),Object.defineProperty(this,ne,{writable:!0,value:r1(t=>t.filter(t=>"progressindicator"===t.type).map(rJ(this,r8)[r8]))}),Object.defineProperty(this,nt,{writable:!0,value:r1(t=>t.filter(t=>"editor"===t.type).map(rJ(this,r8)[r8]))}),this.render=t=>{let r;let n=this.getPluginState(),{files:i,capabilities:o,allowNewUpload:a}=t,{newFiles:s,uploadStartedFiles:c,completeFiles:d,erroredFiles:h,inProgressFiles:f,inProgressNotPausedFiles:p,processingFiles:m,isUploadStarted:g,isAllComplete:y,isAllPaused:v}=this.uppy.getObjectOfFilesPerState(),b=rJ(this,r7)[r7](n.targets),w=rJ(this,ne)[ne](n.targets),_=rJ(this,nt)[nt](n.targets);return r="auto"===this.opts.theme?o.darkMode?"dark":"light":this.opts.theme,0>["files","folders","both"].indexOf(this.opts.fileManagerSelectionType)&&(this.opts.fileManagerSelectionType="files",console.warn(`Unsupported option for "fileManagerSelectionType". Using default of "${this.opts.fileManagerSelectionType}".`)),function(t){let r=0===t.totalFileCount,n=1===t.totalFileCount,i=t.containerWidth>576,o=t.containerHeight>330,a=u({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":t.disabled,"uppy-Dashboard--animateOpenClose":t.animateOpenClose,"uppy-Dashboard--isClosing":t.isClosing,"uppy-Dashboard--isDraggingOver":t.isDraggingOver,"uppy-Dashboard--modal":!t.inline,"uppy-size--md":t.containerWidth>576,"uppy-size--lg":t.containerWidth>700,"uppy-size--xl":t.containerWidth>900,"uppy-size--height-md":t.containerHeight>330,"uppy-Dashboard--isAddFilesPanelVisible":t.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":t.areInsidesReadyToBeVisible,"uppy-Dashboard--singleFile":t.singleFileFullScreen&&n&&o}),s=1;t.containerWidth>900?s=5:t.containerWidth>700?s=4:t.containerWidth>576&&(s=3);let c=t.showSelectedFiles&&!r,d=t.recoveredState?Object.keys(t.recoveredState.files).length:null,h=t.files?Object.keys(t.files).filter(r=>t.files[r].isGhost).length:0;return(0,l.h)("div",{className:a,"data-uppy-theme":t.theme,"data-uppy-num-acquirers":t.acquirers.length,"data-uppy-drag-drop-supported":!t.disableLocalFiles&&function(){let t=document.body;return!!("draggable"in t&&"ondragstart"in t&&"ondrop"in t&&"FormData"in window&&"FileReader"in window)}(),"aria-hidden":t.inline?"false":t.isHidden,"aria-disabled":t.disabled,"aria-label":t.inline?t.i18n("dashboardTitle"):t.i18n("dashboardWindowTitle"),onPaste:t.handlePaste,onDragOver:t.handleDragOver,onDragLeave:t.handleDragLeave,onDrop:t.handleDrop},(0,l.h)("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:t.handleClickOutside}),(0,l.h)("div",{className:"uppy-Dashboard-inner","aria-modal":!t.inline&&"true",role:t.inline?void 0:"dialog",style:{width:t.inline&&t.width?t.width:"",height:t.inline&&t.height?t.height:""}},t.inline?null:(0,l.h)("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":t.i18n("closeModal"),title:t.i18n("closeModal"),onClick:t.closeModal},(0,l.h)("span",{"aria-hidden":"true"},"\xd7")),(0,l.h)("div",{className:"uppy-Dashboard-innerWrap"},(0,l.h)("div",{className:"uppy-Dashboard-dropFilesHereHint"},t.i18n("dropHint")),c&&(0,l.h)(rV,t),d&&(0,l.h)("div",{className:"uppy-Dashboard-serviceMsg"},(0,l.h)("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},(0,l.h)("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},(0,l.h)("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),(0,l.h)("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),(0,l.h)("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),(0,l.h)("strong",{className:"uppy-Dashboard-serviceMsg-title"},t.i18n("sessionRestored")),(0,l.h)("div",{className:"uppy-Dashboard-serviceMsg-text"},h>0?t.i18n("recoveredXFiles",{smart_count:h}):t.i18n("recoveredAllFiles"))),c?(0,l.h)(rL,{id:t.id,i18n:t.i18n,uppy:t.uppy,files:t.files,resumableUploads:t.resumableUploads,hideRetryButton:t.hideRetryButton,hidePauseResumeButton:t.hidePauseResumeButton,hideCancelButton:t.hideCancelButton,showLinkToFileUploadResult:t.showLinkToFileUploadResult,showRemoveButtonAfterComplete:t.showRemoveButtonAfterComplete,metaFields:t.metaFields,toggleFileCard:t.toggleFileCard,handleRequestThumbn
20ail:t.handleRequestThumbnail,handleCancelThumbnail:t.handleCancelThumbnail,recoveredState:t.recoveredState,individualCancellation:t.individualCancellation,openFileEditor:t.openFileEditor,canEditFile:t.canEditFile,toggleAddFilesPanel:t.toggleAddFilesPanel,isSingleFile:n,itemsPerRow:s,containerWidth:t.containerWidth,containerHeight:t.containerHeight}):(0,l.h)(r$,{i18n:t.i18n,i18nArray:t.i18nArray,acquirers:t.acquirers,handleInputChange:t.handleInputChange,maxNumberOfFiles:t.maxNumberOfFiles,allowedFileTypes:t.allowedFileTypes,showNativePhotoCameraButton:t.showNativePhotoCameraButton,showNativeVideoCameraButton:t.showNativeVideoCameraButton,nativeCameraFacingMode:t.nativeCameraFacingMode,showPanel:t.showPanel,activePickerPanel:t.activePickerPanel,disableLocalFiles:t.disableLocalFiles,fileManagerSelectionType:t.fileManagerSelectionType,note:t.note,proudlyDisplayPoweredByUppy:t.proudlyDisplayPoweredByUppy}),(0,l.h)(rY,null,t.showAddFilesPanel?(0,l.h)(rj,rZ({key:"AddFiles"},t,{isSizeMD:i})):null),(0,l.h)(rY,null,t.fileCardFor?(0,l.h)(rW,rZ({key:"FileCard"},t)):null),(0,l.h)(rY,null,t.activePickerPanel?(0,l.h)(rB,rZ({key:"Picker"},t)):null),(0,l.h)(rY,null,t.showFileEditor?(0,l.h)(rz,rZ({key:"Editor"},t)):null),(0,l.h)("div",{className:"uppy-Dashboard-progressindicators"},t.progressindicators.map(r=>t.uppy.getPlugin(r.id).render(t.state))))))}({state:t,isHidden:n.isHidden,files:i,newFiles:s,uploadStartedFiles:c,completeFiles:d,erroredFiles:h,inProgressFiles:f,inProgressNotPausedFiles:p,processingFiles:m,isUploadStarted:g,isAllComplete:y,isAllPaused:v,totalFileCount:Object.keys(i).length,totalProgress:t.totalProgress,allowNewUpload:a,acquirers:b,theme:r,disabled:this.opts.disabled,disableLocalFiles:this.opts.disableLocalFiles,direction:this.opts.direction,activePickerPanel:n.activePickerPanel,showFileEditor:n.showFileEditor,saveFileEditor:this.saveFileEditor,closeFileEditor:this.closeFileEditor,disableInteractiveElements:this.disableInteractiveElements,animateOpenClose:this.opts.animateOpenClose,isClosing:n.isClosing,progressindicators:w,editors:_,autoProceed:this.uppy.opts.autoProceed,id:this.id,closeModal:this.requestCloseModal,handleClickOutside:this.handleClickOutside,handleInputChange:this.handleInputChange,handlePaste:this.handlePaste,inline:this.opts.inline,showPanel:this.showPanel,hideAllPanels:this.hideAllPanels,i18n:this.i18n,i18nArray:this.i18nArray,uppy:this.uppy,note:this.opts.note,recoveredState:t.recoveredState,metaFields:n.metaFields,resumableUploads:o.resumableUploads||!1,individualCancellation:o.individualCancellation,isMobileDevice:o.isMobileDevice,fileCardFor:n.fileCardFor,toggleFileCard:this.toggleFileCard,toggleAddFilesPanel:this.toggleAddFilesPanel,showAddFilesPanel:n.showAddFilesPanel,saveFileCard:this.saveFileCard,openFileEditor:this.openFileEditor,canEditFile:this.canEditFile,width:this.opts.width,height:this.opts.height,showLinkToFileUploadResult:this.opts.showLinkToFileUploadResult,fileManagerSelectionType:this.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:this.opts.proudlyDisplayPoweredByUppy,hideCancelButton:this.opts.hideCancelButton,hideRetryButton:this.opts.hideRetryButton,hidePauseResumeButton:this.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:this.opts.showRemoveButtonAfterComplete,containerWidth:n.containerWidth,containerHeight:n.containerHeight,areInsidesReadyToBeVisible:n.areInsidesReadyToBeVisible,parentElement:this.el,allowedFileTypes:this.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:this.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:this.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:this.opts.showSelectedFiles,showNativePhotoCameraButton:this.opts.showNativePhotoCameraButton,showNativeVideoCameraButton:this.opts.showNativeVideoCameraButton,nativeCameraFacingMode:this.opts.nativeCameraFacingMode,singleFileFullScreen:this.opts.singleFileFullScreen,handleCancelRestore:this.handleCancelRestore,handleRequestThumbn
20ail:this.handleRequestThumbnail,handleCancelThumbnail:this.handleCancelThumbnail,isDraggingOver:n.isDraggingOver,handleDragOver:this.handleDragOver,handleDragLeave:this.handleDragLeave,handleDrop:this.handleDrop})},Object.defineProperty(this,nr,{writable:!0,value:()=>{let{plugins:t}=this.opts;t.forEach(t=>{let r=this.uppy.getPlugin(t);r?r.mount(this,r):this.uppy.log(`[Uppy] Dashboard could not find plugin '${t}', make sure to uppy.use() the plugins you are specifying`,"warning")})}}),Object.defineProperty(this,nn,{writable:!0,value:()=>{this.uppy.iteratePlugins(rJ(this,ni)[ni])}}),Object.defineProperty(this,ni,{writable:!0,value:t=>{var r;t&&!(null!=(r=t.opts)&&r.target)&&["acquirer","editor"].includes(t.type)&&!this.getPluginState().targets.some(r=>t.id===r.id)&&t.mount(this,t)}}),this.install=()=>{this.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:void 0,showFileEditor:!1,metaFields:this.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});let{inline:t,closeAfterFinish:r}=this.opts;if(t&&r)throw Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");let{allowMultipleUploads:n,allowMultipleUploadBatches:i}=this.uppy.opts;(n||i)&&r&&this.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");let{target:o}=this.opts;o&&this.mount(o,this),this.opts.disableStatusBar||this.uppy.use(q,{id:rJ(this,nl)[nl](),target:this,...rJ(this,no)[no]()}),this.opts.disableInformer||this.uppy.use(Y,{id:rJ(this,nc)[nc](),target:this,...rJ(this,ns)[ns]()}),this.opts.disableThumbnailGenerator||this.uppy.use(ta,{id:rJ(this,nu)[nu](),...rJ(this,na)[na]()}),this.darkModeMediaQuery="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;let a=!!this.darkModeMediaQuery&&this.darkModeMediaQuery.matches;if(this.uppy.log(`[Dashboard] Dark mode is ${a?"on":"off"}`),this.setDarkModeCapability(a),"auto"===this.opts.theme){var s;null==(s=this.darkModeMediaQuery)||s.addListener(this.handleSystemDarkModeChange)}rJ(this,nr)[nr](),rJ(this,nn)[nn](),this.initEvents()},this.uninstall=()=>{if(!this.opts.disableInformer){let t=this.uppy.getPlugin(`${this.id}:Informer`);t&&this.uppy.removePlugin(t)}if(!this.opts.disableStatusBar){let t=this.uppy.getPlugin(`${this.id}:StatusBar`);t&&this.uppy.removePlugin(t)}if(!this.opts.disableThumbnailGenerator){let t=this.uppy.getPlugin(`${this.id}:ThumbnailGenerator`);t&&this.uppy.removePlugin(t)}let{plugins:t}=this.opts;if(t.forEach(t=>{let r=this.uppy.getPlugin(t);r&&r.unmount()}),"auto"===this.opts.theme){var r;null==(r=this.darkModeMediaQuery)||r.removeListener(this.handleSystemDarkModeChange)}this.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),this.unmount(),this.removeEvents()},this.id=this.opts.id||"Dashboard",this.title="Dashboard",this.type="orchestrator",this.defaultLocale=rX,void 0===this.opts.doneButtonHandler&&(this.opts.doneButtonHandler=()=>{this.uppy.clear(),this.requestCloseModal()}),null!=(i=this.opts).onRequestCloseModal||(i.onRequestCloseModal=()=>this.closeModal()),this.i18nInit()}setOptions(t){var r,n;super.setOptions(t),null==(r=this.uppy.getPlugin(rJ(this,nl)[nl]()))||r.setOptions(rJ(this,no)[no]()),null==(n=this.uppy.getPlugin(rJ(this,nu)[nu]()))||n.setOptions(rJ(this,na)[na]())}}function nh(){let{hideUploadButton:t,hideRetryButton:r,hidePauseResumeButton:n,hideCancelButton:i,showProgressDetails:o,hideProgressAfterFinish:a,locale:s,doneButtonHandler:l}=this.opts;return{hideUploadButton:t,hideRetryButton:r,hidePauseResumeButton:n,hideCancelButton:i,showProgressDetails:o,hideAfterFinish:a,locale:s,doneButtonHandler:l}}function nf(){let{thumbnailWidth:t,thumbnailHeight:r,thumbnailType:n,waitForThumbnailsBeforeUpload:i}=this.opts;return{thumbnailWidth:t,thumbnailHeight:r,thumbnailType:n,waitForThumbnailsBeforeUpload:i,lazy:!i}}function np(){return{}}function nm(){return`${this.id}:StatusBar`}function ng(){return`${this.id}:ThumbnailGenerator`}function ny(){return`${this.id}:Informer`}nd.VERSION="4.3.4"},66262:function(t,r,n){"use strict";n.d(r,{Z:function(){return x}});var i=n(37065),o=n(48629);function a(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}var s=0;
20let l="undefined"!=typeof navigator&&"serviceWorker"in navigator;var u="__private_"+s+++"_ready";class c{constructor(t){Object.defineProperty(this,u,{writable:!0,value:void 0}),a(this,u)[u]=new Promise((t,r)=>{l?navigator.serviceWorker.controller?t():navigator.serviceWorker.addEventListener("controllerchange",()=>{t()}):r(Error("Unsupported"))}).then(t=>{a(this,u)[u]=t}),this.name=t.storeName}get ready(){return Promise.resolve(a(this,u)[u])}async list(){return await a(this,u)[u],new Promise((t,r)=>{let n=i=>{i.data.store===this.name&&("uppy/ALL_FILES"===i.data.type?(t(i.data.files),navigator.serviceWorker.removeEventListener("message",n)):r())};navigator.serviceWorker.addEventListener("message",n),navigator.serviceWorker.controller.postMessage({type:"uppy/GET_FILES",store:this.name})})}async put(t){await a(this,u)[u],navigator.serviceWorker.controller.postMessage({type:"uppy/ADD_FILE",store:this.name,file:t})}async delete(t){await a(this,u)[u],navigator.serviceWorker.controller.postMessage({type:"uppy/REMOVE_FILE",store:this.name,fileID:t})}}function d(t,r){if(!({}).hasOwnProperty.call(t,r))throw TypeError("attempted to use private field on non-instance");return t}c.isSupported=l;var h=0;let f="undefined"!=typeof window&&(window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.OIndexedDB||window.msIndexedDB),p="uppy-blobs",m="files";function g(t){let r=f.open(t,3);return new Promise((t,n)=>{r.onupgradeneeded=r=>{let n=r.target.result,i=r.currentTarget.transaction;if(r.oldVersion<2&&n.createObjectStore(m,{keyPath:"id"}).createIndex("store","store",{unique:!1}),r.oldVersion<3){let t=i.objectStore(m);t.createIndex("expires","expires",{unique:!1}),t.openCursor().onsuccess=t=>{let r=t.target.result;if(!r)return;let n=r.value;n.expires=Date.now()+864e5,r.update(n)}}i.oncomplete=()=>{t(n)}},r.onsuccess=r=>{t(r.target.result)},r.onerror=n})}function y(t){return new Promise((r,n)=>{t.onsuccess=t=>{r(t.target.result)},t.onerror=n})}let v=!1;var b="__private_"+h+++"_ready";class w{constructor(t){Object.defineProperty(this,b,{writable:!0,value:void 0}),this.opts={dbName:p,storeName:"default",expires:864e5,maxFileSize:10485760,maxTotalSize:314572800,...t},this.name=this.opts.storeName;let r=async()=>{let t=await g(this.opts.dbName);return d(this,b)[b]=t,t};v?d(this,b)[b]=r():(v=!0,d(this,b)[b]=w.cleanup().then(r,r))}get ready(){return Promise.resolve(d(this,b)[b])}key(t){return`${this.name}!${t}`}async list(){let t=(await d(this,b)[b]).transaction([m],"readonly").objectStore(m).index("store").getAll(IDBKeyRange.only(this.name));return Object.fromEntries((await y(t)).map(t=>[t.fileID,t.data]))}async get(t){let r=(await d(this,b)[b]).transaction([m],"readonly").objectStore(m).get(this.key(t)),{data:n}=await y(r);return{id:n.fileID,data:n.data}}async getSize(){let t=(await d(this,b)[b]).transaction([m],"readonly").objectStore(m).index("store").openCursor(IDBKeyRange.only(this.name));return new Promise((r,n)=>{let i=0;t.onsuccess=t=>{let n=t.target.result;n?(i+=n.value.data.size,n.continue()):r(i)},t.onerror=()=>{n(Error("Could not retrieve stored blobs size"))}})}async put(t){if(t.data.size>this.opts.maxFileSize)throw Error("File is too big to store.");
20if(await this.getSize()>this.opts.maxTotalSize)throw Error("No space left");return y((await d(this,b)[b]).transaction([m],"readwrite").objectStore(m).add({id:this.key(t.id),fileID:t.id,store:this.name,expires:Date.now()+this.opts.expires,data:t.data}))}async delete(t){return y((await d(this,b)[b]).transaction([m],"readwrite").objectStore(m).delete(this.key(t)))}static async cleanup(){let t=await g(p),r=t.transaction([m],"readwrite").objectStore(m).index("expires").openCursor(IDBKeyRange.upperBound(Date.now()));await new Promise((t,n)=>{r.onsuccess=r=>{let n=r.target.result;n?(n.delete(),n.continue()):t()},r.onerror=n}),t.close()}}function _(t){try{return JSON.parse(t)}catch{return null}}w.isSupported=!!f;let S=!1;class E{constructor(t){this.opts={expires:864e5,...t},this.name=`uppyState:${t.storeName}`,S||(S=!0,E.cleanup())}load(){let t=localStorage.getItem(this.name);if(!t)return null;let r=_(t);return r?r.metadata:null}save(t){let r=JSON.stringify({metadata:t,expires:Date.now()+this.opts.expires});localStorage.setItem(this.name,r)}static cleanup(t){if(t){localStorage.removeItem(`uppyState:${t}`);return}let r=function(){let t=[];for(let r=0;r<localStorage.length;r++){let n=localStorage.key(r);null!=n&&n.startsWith("uppyState:")&&t.push(n.slice(10))}return t}(),n=Date.now();r.forEach(t=>{let r=localStorage.getItem(`uppyState:${t}`);if(!r)return;let i=_(r);i&&i.expires&&i.expires<n&&localStorage.removeItem(`uppyState:${t}`)})}}let A={expires:864e5,serviceWorker:!1};class x extends o.Z{constructor(t,r){super(t,{...A,...r}),this.addBlobToStores=t=>{t.isRemote||(this.ServiceWorkerStore&&this.ServiceWorkerStore.put(t).catch(t=>{this.uppy.log("[GoldenRetriever] Could not store file","warning"),this.uppy.log(t)}),this.IndexedDBStore.put(t).catch(t=>{this.uppy.log("[GoldenRetriever] Could not store file","warning"),this.uppy.log(t)}))},this.removeBlobFromStores=t=>{this.ServiceWorkerStore&&this.ServiceWorkerStore.delete(t.id).catch(t=>{this.uppy.log("[GoldenRetriever] Failed to remove file","warning"),this.uppy.log(t)}),this.IndexedDBStore.delete(t.id).catch(t=>{this.uppy.log("[GoldenRetriever] Failed to remove file","warning"),this.uppy.log(t)})},this.replaceBlobInStores=t=>{this.removeBlobFromStores(t),this.addBlobToStores(t)},this.handleRestoreConfirmed=()=>{this.uppy.log("[GoldenRetriever] Restore confirmed, proceeding...");let{currentUploads:t}=this.uppy.getState();t&&(this.uppy.resumeAll(),Object.keys(t).forEach(t=>{this.uppy.restore(t)})),this.uppy.setState({recoveredState:null})},this.abortRestore=()=>{this.uppy.log("[GoldenRetriever] Aborting restore...");let t=Object.keys(this.uppy.getState().files);this.deleteBlobs(t).then(()=>{this.uppy.log(`[GoldenRetriever] Removed ${t.length} files`)}).catch(r=>{this.uppy.log(`[GoldenRetriever] Could not remove ${t.length} files`,"warning"),this.uppy.log(r)}),this.uppy.cancelAll(),this.uppy.setState({recoveredState:null}),E.cleanup(this.uppy.opts.id)},this.handleComplete=t=>{let{successful:r}=t,n=r.map(t=>t.id);this.deleteBlobs(n).then(()=>{this.uppy.log(`[GoldenRetriever] Removed ${r.length} files that finished uploading`)}).catch(t=>{this.uppy.log(`[GoldenRetriever] Could not remove ${r.length} files that finished uploading`,"warning"),this.uppy.log(t)}),this.uppy.setState({recoveredState:null}),E.cleanup(this.uppy.opts.id)},this.restoreBlobs=()=>{this.uppy.getFiles().length>0?Promise.all([this.loadFileBlobsFromServiceWorker(),this.loadFileBlobsFromIndexedDB()]).then(t=>{let r={...t[0],...t[1]};this.onBlobsLoaded(r)}):this.uppy.log("[GoldenRetriever] No files need to be loaded, only restoring processing state...")},this.type="debugger",this.id=this.opts.id||"GoldenRetriever",this.MetaDataStore=new E({expires:this.opts.expires,storeName:t.getID()}),this.ServiceWorkerStore=null,this.opts.serviceWorker&&(this.ServiceWorkerStore=new c({storeName:t.getID()})),this.IndexedDBStore=new w({expires:this.opts.expires,...this.opts.indexedDB||{},storeName:t.getID()}),this.saveFilesStateToLocalStorage=i(this.saveFilesStateToLocalStorage.bind(this),500,{leading:!0,trailing:!0}),this.restoreState=this.restoreState.bind(this),this.loadFileBlobsFromServiceWorker=this.loadFileBlobsFromServiceWorker.bind(this),this.loadFileBlobsFromIndexedDB=this.loadFileBlobsFromIndexedDB.bind(this),this.onBlobsLoaded=this.onBlobsLoaded.bind(this)}restoreState(){let t=this.MetaDataStore.load();t&&(this.uppy.log("[GoldenRetriever] Recovered some state from Local Storage"),this.uppy.setState({currentUploads:t.currentUploads||{},files:t.files||{},recoveredState:t}),this.savedPluginData=t.pluginData)}getWaitingFiles(){let t={};
20return this.uppy.getFiles().forEach(r=>{r.progress&&r.progress.uploadStarted||(t[r.id]=r)}),t}getUploadingFiles(){let t={},{currentUploads:r}=this.uppy.getState();return r&&Object.keys(r).forEach(n=>{r[n].fileIDs.forEach(r=>{t[r]=this.uppy.getFile(r)})}),t}saveFilesStateToLocalStorage(){let t=Object.entries({...this.getWaitingFiles(),...this.getUploadingFiles()});if(0===t.length){null!==this.uppy.getState().recoveredState&&this.uppy.setState({recoveredState:null}),E.cleanup(this.uppy.opts.id);return}let r=Object.fromEntries(t.map(t=>{let[r,n]=t;return[r,n.isRemote?{...n,isRestored:!0}:{...n,isRestored:!0,data:null,preview:null}]})),n={};this.uppy.emit("restore:get-data",t=>{Object.assign(n,t)});let{currentUploads:i}=this.uppy.getState();this.MetaDataStore.save({currentUploads:i,files:r,pluginData:n})}loadFileBlobsFromServiceWorker(){return this.ServiceWorkerStore?this.ServiceWorkerStore.list().then(t=>{let r=Object.keys(t).length;return r>0?(this.uppy.log(`[GoldenRetriever] Successfully recovered ${r} blobs from Service Worker!`),t):(this.uppy.log("[GoldenRetriever] No blobs found in Service Worker, trying IndexedDB now..."),{})}).catch(t=>(this.uppy.log("[GoldenRetriever] Failed to recover blobs from Service Worker","warning"),this.uppy.log(t),{})):Promise.resolve({})}loadFileBlobsFromIndexedDB(){return this.IndexedDBStore.list().then(t=>{let r=Object.keys(t).length;return r>0?(this.uppy.log(`[GoldenRetriever] Successfully recovered ${r} blobs from IndexedDB!`),t):(this.uppy.log("[GoldenRetriever] No blobs found in IndexedDB"),{})}).catch(t=>(this.uppy.log("[GoldenRetriever] Failed to recover blobs from IndexedDB","warning"),this.uppy.log(t),{}))}onBlobsLoaded(t){let r=[],n={...this.uppy.getState().files};Object.keys(t).forEach(i=>{let o=this.uppy.getFile(i);if(!o){r.push(i);return}let a=t[i];n[i]={...o,data:a,isRestored:!0,isGhost:!1}}),Object.keys(n).forEach(t=>{null===n[t].data&&(n[t]={...n[t],isGhost:!0})}),this.uppy.setState({files:n}),this.uppy.emit("restored",this.savedPluginData),r.length&&this.deleteBlobs(r).then(()=>{this.uppy.log(`[GoldenRetriever] Cleaned up ${r.length} old files`)}).catch(t=>{this.uppy.log(`[GoldenRetriever] Could not clean up ${r.length} old files`,"warning"),this.uppy.log(t)})}async deleteBlobs(t){await Promise.all(t.map(t=>{var r,n,i;return null!=(r=null==(n=this.ServiceWorkerStore)?void 0:n.delete(t))?r:null==(i=this.IndexedDBStore)?void 0:i.delete(t)}))}install(){this.restoreState(),this.restoreBlobs(),this.uppy.on("file-added",this.addBlobToStores),this.uppy.on("file-editor:complete",this.replaceBlobInStores),this.uppy.on("file-removed",this.removeBlobFromStores),this.uppy.on("state-update",this.saveFilesStateToLocalStorage),this.uppy.on("restore-confirmed",this.handleRestoreConfirmed),this.uppy.on("restore-canceled",this.abortRestore),this.uppy.on("complete",this.handleComplete)}uninstall(){this.uppy.off("file-added",this.addBlobToStores),this.uppy.off("file-editor:complete",this.replaceBlobInStores),this.uppy.off("file-removed",this.removeBlobFromStores),this.uppy.off("state-update",this.saveFilesStateToLocalStorage),this.uppy.off("restore-confirmed",this.handleRestoreConfirmed),this.uppy.off("restore-canceled",this.abortRestore),this.uppy.off("complete",this.handleComplete)}}x.VERSION="4.1.1"},47674:function(t,r,n){"use strict";n.d(r,{Z:function(){return g}});var i=n(79080),o=0;function a(t,r,n,a,s,l){r||(r={});var u,c,d=r;if("ref"in d)for(c in d={},r)"ref"==c?u=r[c]:d[c]=r[c];var h={type:t,props:d,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:s,__self:l};if("function"==typeof t&&(u=t.defaultProps))for(c in u)void 0===d[c]&&(d[c]=u[c]);return i.YM.vnode&&i.YM.vnode(h),h}var s=n(10448),l=n(99846),u=function(t,r){let n=Math.min(t.width/r.width,t.height/r.height),i=r.width*n,o=r.height*n,a=(t.width-i)/2,s=(t.height-o)/2;return{width:i,height:o,left:a,top:s}},c=function(t,r,n){let i=Math.abs(Math.PI/180*n);return Math.max((Math.sin(i)*t+Math.cos(i)*r)/r,(Math.sin(i)*r+Math.cos(i)*t)/t)};class d extends i.wA{imgElement;cropper;constructor(t){super(t),this.state={angle90Deg:0,angleGranular:0,prevCropboxData:null}
vendor: 7,393 bytes, line 20
20,this.storePrevCropboxData=this.storePrevCropboxData.bind(this),this.limitCropboxMovement=this.limitCropboxMovement.bind(this)}componentDidMount(){let{opts:t,storeCropperInstance:r}=this.props;this.cropper=new l(this.imgElement,t.cropperOptions),this.imgElement.addEventListener("cropstart",this.storePrevCropboxData),this.imgElement.addEventListener("cropend",this.limitCropboxMovement),r(this.cropper)}componentWillUnmount(){this.cropper.destroy(),this.imgElement.removeEventListener("cropstart",this.storePrevCropboxData),this.imgElement.removeEventListener("cropend",this.limitCropboxMovement)}storePrevCropboxData(){this.setState({prevCropboxData:this.cropper.getCropBoxData()})}limitCropboxMovement(t){let r=this.cropper.getCanvasData(),n=this.cropper.getCropBoxData(),{prevCropboxData:i}=this.state;if("all"===t.detail.action){let t=n.left<r.left?{left:r.left,width:i.width}:n.top<r.top?{top:r.top,height:i.height}:n.left+n.width>r.left+r.width?{left:r.left+r.width-i.width,width:i.width}:n.top+n.height>r.top+r.height?{top:r.top+r.height-i.height,height:i.height}:null;t&&this.cropper.setCropBoxData(t)}else{let t=n.left<r.left?{left:r.left,width:i.left+i.width-r.left}:n.top<r.top?{top:r.top,height:i.top+i.height-r.top}:n.left+n.width>r.left+r.width?{left:i.left,width:r.left+r.width-i.left}:n.top+n.height>r.top+r.height?{top:i.top,height:r.top+r.height-i.top}:null;t&&this.cropper.setCropBoxData(t)}}onRotate90Deg=()=>{let{angle90Deg:t}=this.state,r=t-90;this.setState({angle90Deg:r,angleGranular:0}),this.cropper.scale(1),this.cropper.rotateTo(r);let n=this.cropper.getCanvasData(),i=u(this.cropper.getContainerData(),n);this.cropper.setCanvasData(i),this.cropper.setCropBoxData(i)};onRotateGranular=t=>{let r=Number(t.target.value);this.setState({angleGranular:r});let{angle90Deg:n}=this.state,i=n+r;this.cropper.rotateTo(i);let o=this.cropper.getImageData(),a=c(o.naturalWidth,o.naturalHeight,r),s=this.cropper.getImageData().scaleX<0?-a:a;this.cropper.scale(s,a)};renderGranularRotate(){let{i18n:t}=this.props,{angleGranular:r}=this.state;return a("label",{role:"tooltip","aria-label":`${r}\xba`,"data-microtip-position":"top",className:"uppy-ImageCropper-rangeWrapper",children:a("input",{className:"uppy-ImageCropper-range uppy-u-reset",type:"range",onInput:this.onRotateGranular,onChange:this.onRotateGranular,value:r,min:"-45",max:"45","aria-label":t("rotate")})})}renderRevert(){let{i18n:t,opts:r}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("revert"),onClick:()=>{this.cropper.reset(),this.cropper.setAspectRatio(r.cropperOptions.initialAspectRatio),this.setState({angle90Deg:0,angleGranular:0})},children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M0 0h24v24H0z",fill:"none"}),a("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})]})})}renderRotate(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("rotate"),onClick:this.onRotate90Deg,children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),a("path",{d:"M14 10a2 2 0 012 2v7a2 2 0 01-2 2H6a2 2 0 01-2-2v-7a2 2 0 012-2h8zm0 1.75H6a.25.25 0 00-.243.193L5.75 12v7a.25.25 0 00.193.243L6 19.25h8a.25.25 0 00.243-.193L14.25 19v-7a.25.25 0 00-.193-.243L14 11.75zM12 .76V4c2.3 0 4.61.88 6.36 2.64a8.95 8.95 0 012.634 6.025L21 13a1 1 0 01-1.993.117L19 13h-.003a6.979 6.979 0 00-2.047-4.95 6.97 6.97 0 00-4.652-2.044L12 6v3.24L7.76 5 12 .76z"})]})})}renderFlip(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("flipHorizontal"),onClick:()=>this.cropper.scaleX(-this.cropper.getData().scaleX||-1),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M0 0h24v24H0z",fill:"none"}),a("path",{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"})]})})}renderZoomIn(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("zoomIn"),onClick:()=>this.cropper.zoom(.1),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",height:"24",viewBox:"0 0 24 24",width:"24",children:[a("path",{d:"M0 0h24v24H0V0z",fill:"none"}),a("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),a("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"})]})})}renderZoomOut(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("zoomOut"),onClick:()=>this.cropper.zoom(-.1),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M0 0h24v24H0V0z",fill:"none"}),a("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})]})})}renderCropSquare(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("aspectRatioSquare"),onClick:()=>this.cropper.setAspectRatio(1),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M0 0h24v24H0z",fill:"none"}),a("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})]})})}renderCropWidescreen(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":t("aspectRatioLandscape"),onClick:()=>this.cropper.setAspectRatio(16/9),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M 19,4.9999992 V 17.000001 H 4.9999998 V 6.9999992 H 19 m 0,-2 H 4.9999998 c -1.0999999,0 -1.9999999,0.9000001 -1.9999999,2 V 17.000001 c 0,1.1 0.9,2 1.9999999,2 H 19 c 1.1,0 2,-0.9 2,-2 V 6.9999992 c 0,-1.0999999 -0.9,-2 -2,-2 z"}),a("path",{fill:"none",d:"M0 0h24v24H0z"})]})})}renderCropWidescreenVertical(){let{i18n:t}=this.props;return a("button",{"data-microtip-position":"top",type:"button","aria-label":t("aspectRatioPortrait"),className:"uppy-u-reset uppy-c-btn",onClick:()=>this.cropper.setAspectRatio(9/16),children:a("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[a("path",{d:"M 19.000001,19 H 6.999999 V 5 h 10.000002 v 14 m 2,0 V 5 c 0,-1.0999999 -0.9,-1.9999999 -2,-1.9999999 H 6.999999 c -1.1,0
20-2,0.9 -2,1.9999999 v 14 c 0,1.1 0.9,2 2,2 h 10.000002 c 1.1,0 2,-0.9 2,-2 z"}),a("path",{d:"M0 0h24v24H0z",fill:"none"})]})})}render(){let{currentImage:t,opts:r}=this.props,{actions:n}=r,i=URL.createObjectURL(t.data);return a("div",{className:"uppy-ImageCropper",children:[a("div",{className:"uppy-ImageCropper-container",children:a("img",{className:"uppy-ImageCropper-image",alt:t.name,src:i,ref:t=>{this.imgElement=t}})}),a("div",{className:"uppy-ImageCropper-controls",children:[n.revert&&this.renderRevert(),n.rotate&&this.renderRotate(),n.granularRotate&&this.renderGranularRotate(),n.flip&&this.renderFlip(),n.zoomIn&&this.renderZoomIn(),n.zoomOut&&this.renderZoomOut(),n.cropSquare&&this.renderCropSquare(),n.cropWidescreen&&this.renderCropWidescreen(),n.cropWidescreenVertical&&this.renderCropWidescreenVertical()]})]})}}var h={strings:{revert:"Reset",rotate:"Rotate 90\xb0",zoomIn:"Zoom in",zoomOut:"Zoom out",flipHorizontal:"Flip horizontally",aspectRatioSquare:"Crop square",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)"}};let f={viewMode:0,background:!1,autoCropArea:1,responsive:!0,minCropBoxWidth:70,minCropBoxHeight:70,croppedCanvasOptions:{},initialAspectRatio:0},p={revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!0,cropWidescreen:!0,cropWidescreenVertical:!0},m={quality:.8,actions:p,cropperOptions:f};class g extends s.Z{static VERSION="3.4.2";cropper;constructor(t,r){super(t,{...m,...r,actions:{...p,...r?.actions},cropperOptions:{...f,...r?.cropperOptions}}),this.id=this.opts.id||"ImageEditor",this.title="Image Editor",this.type="editor",this.defaultLocale=h,this.i18nInit()}canEditFile(t){if(!t.type||t.isRemote)return!1;let r=t.type.split("/")[1];return!!/^(jpe?g|gif|png|bmp|webp)$/.test(r)}save=()=>{let{currentImage:t}=this.getPluginState(),r=this.cropper.getCroppedCanvas({});r.width%2!=0&&this.cropper.setData({width:r.width-1}),r.height%2!=0&&this.cropper.setData({height:r.height-1}),this.cropper.getCroppedCanvas(this.opts.cropperOptions.croppedCanvasOptions).toBlob(t=>{let{currentImage:r}=this.getPluginState();this.uppy.setFileState(r.id,{data:new File([t],r.name??this.i18n("unnamed"),{type:t.type}),size:t.size,preview:void 0});let n=this.uppy.getFile(r.id);
20this.uppy.emit("thumbnail:request",n),this.setPluginState({currentImage:n}),this.uppy.emit("file-editor:complete",n)},t.type,this.opts.quality)};storeCropperInstance=t=>{this.cropper=t};selectFile=t=>{this.uppy.emit("file-editor:start",t),this.setPluginState({currentImage:t})};install(){this.setPluginState({currentImage:null});let{target:t}=this.opts;t&&this.mount(t,this)}uninstall(){let{currentImage:t}=this.getPluginState();if(t){let r=this.uppy.getFile(t.id);this.uppy.emit("file-editor:cancel",r)}this.unmount()}render(){let{currentImage:t}=this.getPluginState();return null===t||t.isRemote?null:a(d,{currentImage:t,storeCropperInstance:this.storeCropperInstance,save:this.save,opts:this.opts,i18n:this.i18n})}}},62580:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"أض٠اÙÙ
Ø²ÙØ¯",addMoreFiles:"اض٠اÙÙ
Ø²ÙØ¯ Ù
٠اÙÙ
ÙÙØ§Øª",addingMoreFiles:" Ø§Ø¶Ø§ÙØ© اÙÙ
Ø²ÙØ¯ Ù
٠اÙÙ
ÙÙØ§Øª",allowAccessDescription:"Ø§Ø±Ø¬Ù Ø§ÙØ³Ù
Ø§Ø ÙÙÙ
ÙÙØ¹ Ø¨Ø§ÙØªÙاط Ø§ÙØµÙر ÙØ§ÙÙØ¯ÙÙÙØ§Øª.",allowAccessTitle:"Ø§Ø±Ø¬Ù Ø§ÙØ³Ù
Ø§Ø ÙÙÙØ§Ù
ÙØ±Ø§ Ø¨Ø§ÙØªÙاط ØµÙØ±Ù",authenticateWith:"%{pluginName} Ø§ÙØ±Ø¨Ø· Ù
ع",authenticateWithTitle:"Ù
Ù Ø§Ø¬Ù Ø§Ø®ØªÙØ§Ø± اÙÙ
ÙÙØ§Øª %{pluginName} Ø§ÙØ±Ø¬Ø§Ø¡ Ø§ÙØ±Ø¨Ø· Ù
ع ",back:"Ø±Ø¬ÙØ¹",browse:"ØªØµÙØ",browseFiles:"ØªØµÙØ",cancel:"Ø§ÙØºØ§Ø¡",cancelUpload:"Ø§ÙØºØ§Ø¡ Ø§ÙØ¯Ùع",chooseFiles:"اختار اÙÙ
ÙÙØ§Øª",closeModal:"Ø§ØºÙØ§Ù Ø§ÙØ´ÙÙ",companionError:"Ø§ÙØ±Ø¨Ø· Ù
ع Companion ÙØ´Ù",complete:" Ø§ÙØªÙ
Ù ",connectedToInternet:"Ù
ÙØµÙ Ø¨Ø§ÙØ§ÙØªØ±ÙØª",copyLink:"Ø§ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·",copyLinkToClipboardFallback:"Ø§ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø· ÙÙ Ø§ÙØ§Ø³ÙÙ",copyLinkToClipboardSuccess:"تÙ
ÙØ³Ø® Ø§ÙØ±Ø§Ø¨Ø·",creatingAssembly:"تجÙÙØ² Ø§ÙØ±Ùع...",creatingAssemblyFailed:"Transloadit: ÙÙ
ÙØ³ØªØ·Ø¹ Ø§ÙØªØ¬Ù
ÙØ¹",dashboardTitle:"Ø±Ø§ÙØ¹ اÙÙ
ÙÙØ§Øª",dashboardWindowTitle:"ÙØ§Ùذة Ø±ÙØ¹ اÙÙ
ÙÙØ§Øª (ارجع ÙÙØ§ØºÙاÙ)",dataUploadedOfTotal:"%{complete} Ù
٠اص٠%{total}",done:"Ø§ÙØªÙÙ",dropHereOr:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropHint:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteBoth:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteFiles:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteFolders:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteImportBoth:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteImportFiles:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",dropPasteImportFolders:"Ø§Ù Ø§Ø³ØØ¨ اÙÙ
ÙÙØ§Øª ÙÙØ§ %{browse}",editFile:"تعدÙ٠اÙÙ
ÙÙ",editImage:"تعدÙÙ Ø§ÙØµÙرة",editing:"جار٠تعدÙÙ %{file}",emptyFolderAdded:"ÙØ§ ÙÙØ¬Ø¯ Ù
ÙÙØ§Øª ا٠Ù
Ø¬ÙØ¯Ø§Øª ÙÙØ§",encoding:"Ø§ÙØªØ´ÙÙØ±...",enterCorrectUrl:"خطأ ÙÙ Ø§ÙØ±Ø§Ø¨Ø·: Ø§Ø±Ø¬Ù Ø§ÙØªØ£Ùد Ù
٠ادخا٠رابط Ù
باشر ÙÙÙ
ÙÙ",enterUrlToImport:"Ø§Ø¯Ø®Ù Ø§ÙØ±Ø§Ø¨Ø· ÙØ§Ø³ØªÙراد اÙÙ
ÙÙØ§Øª",exceedsSize:"اÙÙ
ÙÙ Ø§ÙØ¨Ø± Ù
Ù Ø§ÙØØ¬Ù
اÙÙ
سÙ
ÙØ %{size}",failedToFetch:"Companion ÙØ´Ù ÙÙ Ø¬ÙØ¨ Ø§ÙØ±Ø§Ø¨Ø·, Ø§Ø±Ø¬Ù Ø§ÙØªØ£Ùد Ù
Ù Ø§ÙØ±Ø§Ø¨Ø·",failedToUpload:"ÙØ´Ù Ø§ÙØ±Ùع %{file}",fileSource:"Ù
صدر اÙÙ
ÙÙ: %{name}",filesUploadedOfTotal:{0:"%{complete} Ù
Ù %{smart_count} تÙ
Ø±ÙØ¹ Ù
ÙÙ",1:"%{complete} Ù
Ù %{smart_count} تÙ
Ø±ÙØ¹ Ù
ÙÙØ§Øª"},filter:"تصÙÙÙ",finishEditingFile:"اÙÙØ§Ø¡ تعدÙ٠اÙÙ
ÙÙ",folderAdded:{0:"%{folder} Ù
ÙÙ Ù
Ù %{smart_count} تÙ
Ø§Ø¶Ø§ÙØ©",1:"%{folder} Ù
ÙÙØ§Øª Ù
Ù %{smart_count} تÙ
Ø§Ø¶Ø§ÙØ©"},import:"Ø§Ø³ØªÙØ±Ø§Ø¯",importFrom:"Ø§Ø³ØªÙØ±Ø§Ø¯ Ù
Ù %{name}",loading:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ...",logOut:"تسجÙÙ Ø§ÙØ®Ø±Ùج",myDevice:"Ø¬ÙØ§Ø²Ù",noFilesFound:"ÙØ§ ÙÙØ¬Ø¯ Ù
ÙÙØ§Øª ا٠Ù
Ø¬ÙØ¯Ø§Øª ÙÙØ§",noInternetConnection:"ÙØ§ ÙÙØ¬Ø¯ Ø§ØªØµØ§Ù Ø¨Ø§ÙØ§ÙØªØ±ÙØª",pause:"اÙÙØ§Ù",pauseUpload:"اÙÙØ§Ù Ø§ÙØ±Ùع",paused:"Ù
ÙÙÙ",poweredBy:"Ù
شغ٠ب",processingXFiles:{0:"Ù
ÙÙ %{smart_count} جار٠Ù
Ø¹Ø§ÙØ¬Ø©",1:"Ù
ÙÙØ§Øª %{smart_count} جار٠Ù
Ø¹Ø§ÙØ¬Ø©"}
20,removeFile:"اÙ
Ø³Ø Ø§ÙÙ
ÙÙ",resetFilter:"اعادة ضبط Ø§ÙØªØµÙÙÙ",resume:"Ø§Ø³ØªØ¦ÙØ§Ù",resumeUpload:"Ø§Ø³ØªØ¦ÙØ§Ù Ø§ÙØ±Ùع",retry:"اعادة اÙÙ
ØØ§ÙÙØ©",retryUpload:"اعادة Ø§ÙØ±Ùع",saveChanges:"ØÙظ Ø§ÙØªØºÙÙØ±Ø§Øª",selectX:{0:"%{smart_count} اختر",1:"%{smart_count} اختر"},smile:"ابتسÙ
!",startRecording:"بدء تسجÙ٠اÙÙÙØ¯ÙÙ",stopRecording:"اÙÙØ§Ù تسجÙ٠اÙÙÙØ¯ÙÙ",takePicture:"Ø§ÙØªÙØ· ØµÙØ±Ù",timedOut:"Ø±ÙØ¹ تأخر ب %{seconds} Ø«ÙØ§ÙÙ, Ø§ÙØºØ§Ø¡ Ø§ÙØ±Ùع.",upload:"Ø±ÙØ¹",uploadComplete:"Ø§ÙØ±Ùع Ø§ÙØªÙ
Ù",uploadFailed:"Ø§ÙØ±Ùع ÙØ´Ù",uploadPaused:"Ø§ÙØ±Ùع Ù
ÙÙÙ",uploadXFiles:{0:"Ø±ÙØ¹ %{smart_count} Ù
ÙÙ",1:"Ø±ÙØ¹ %{smart_count} Ù
ÙÙØ§Øª"},uploadXNewFiles:{0:"Ø±ÙØ¹ +%{smart_count} Ù
ÙÙ",1:"Ø±ÙØ¹ +%{smart_count} Ù
ÙÙØ§Øª"},uploading:"ÙØªÙ
Ø§ÙØ±Ùع",uploadingXFiles:{0:"ÙØªÙ
Ø±ÙØ¹ %{smart_count} Ù
ÙÙ",1:"ÙØªÙ
Ø±ÙØ¹ %{smart_count} Ù
ÙÙØ§Øª"},xFilesSelected:{0:"%{smart_count} Ù
ÙÙ Ù
ØØ¯Ø¯Ø©",1:"%{smart_count} Ù
ÙÙØ§Øª Ù
ØØ¯Ø¯Ø©"},xMoreFilesAdded:{0:"%{smart_count} Ù
Ù٠اضاÙÙ Ø¬Ø¯ÙØ¯",1:"%{smart_count} Ù
ÙÙØ§Øª اضاÙÙÙ Ø¬Ø¯ÙØ¯Ù"},xTimeLeft:"%{time} Ù
تبÙÙ",youCanOnlyUploadFileTypes:"ØªØ³ØªØ·ÙØ¹ ÙÙØ· Ø±ÙØ¹ : %{types}",youCanOnlyUploadX:{0:"ØªØ³ØªØ·ÙØ¹ ÙÙØ· Ø±ÙØ¹ %{smart_count} اÙÙ
ÙÙ",1:"ØªØ³ØªØ·ÙØ¹ ÙÙØ· Ø±ÙØ¹ %{smart_count} Ù
ÙÙØ§Øª"},youHaveToAtLeastSelectX:{0:"ÙØ¬Ø¨ ا٠تختار عÙÙ Ø§ÙØ§ÙÙ %{smart_count} Ù
ÙÙ",1:"ÙØ¬Ø¨ ا٠تختار عÙÙ Ø§ÙØ§ÙÙ %{smart_count} Ù
ÙÙØ§Øª"},selectFileNamed:"%{name} اختر اÙÙ
ÙÙ",unselectFileNamed:"%{name} Ø¥ÙØºØ§Ø¡ ØªØØ¯Ùد اÙÙ
ÙÙ",openFolderNamed:"%{name} Ø§ÙØªØ اÙÙ
Ø¬ÙØ¯"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.ar_SA=n),r.Z=n},36208:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"Tilf\xf8j flere",addMoreFiles:"Tilf\xf8j flere filer",addingMoreFiles:"Tilf\xf8j flere filer",allowAccessDescription:"For at kunne tage billeder eller video med dit kamera, skal du tillade adgang til dit kamera for denne side.",allowAccessTitle:"Venligst giv adgang til dit kamera",authenticateWith:"Forbind til %{pluginName}",authenticateWithTitle:"Venligst autentificer med %{pluginName} for at v\xe6lge filer",back:"Tilbage",browse:"gennemse",browseFiles:"gennemse",cancel:"Annuller",cancelUpload:"Annuller upload",chooseFiles:"V\xe6lg filer",closeModal:"Luk Modal",companionError:"Forbindelse til Companion fejlede",complete:"Afsluttet",connectedToInternet:"Forbundet til internettet",copyLink:"Kopier link",copyLinkToClipboardFallback:"Kopier URLen forneden",copyLinkToClipboardSuccess:"Link kopieret til udklipsholderen",creatingAssembly:"Forbereder upload...",creatingAssemblyFailed:"Transloadit: Kunne ikke oprette Assembly",dashboardTitle:"Fil Uploader",dashboardWindowTitle:"Fil Uploader Vindue (Tryk escape for at lukke)",dataUploadedOfTotal:"%{complete} af %{total}",done:"F\xe6rdig",dropHereOr:"Tr\xe6k filer her eller %{browse}",dropHint:"Tr\xe6k dine filer her",dropPasteBoth:"Tr\xe6k filer her, s\xe6t ind eller %{browse}",dropPasteFiles:"Tr\xe6k filer her, s\xe6t ind eller %{browse}",dropPasteFolders:"Tr\xe6k filer her, s\xe6t ind eller %{browse}",dropPasteImportBoth:"Tr\xe6k filer her, s\xe6t ind, %{browse} eller importer fra",dropPasteImportFiles:"Tr\xe6k filer her, s\xe6t ind, %{browse} eller importer fra",dropPasteImportFolders:"Tr\xe6k filer her, s\xe6t ind, %{browse} eller importer fra",editFile:"Rediger fil",editImage:"Rediger billede",editing:"Redigerer %{file}",emptyFolderAdded:"Ingen filer blev tilf\xf8jet fra en tom mappe",encoding:"Encoding...",enterCorrectUrl:"Forkert URL: Venligst s\xf8rg for at du indtaster et direkte link til en fil",enterUrlToImport:"Indtast URL for at importerer en fil",exceedsSize:"Denne fil overskrider den maksimale tilladte st\xf8rrelse af %{size}",failedToFetch:"Companion kunne ikke hente denne URL, venligst unders\xf8g om denne er korrekt",failedToUpload:"Fejlede upload af %{file}",fileSource:"Fil kilde: %{name}",filesUploadedOfTotal:{0:"%{complete} af %{smart_count} filer uploaded",1:"%{complete} af %{smart_count} fil uploaded"},filter:"Filter",finishEditingFile:"F\xe6rddigg\xf8r redigering af fil",folderAdded:{0:"Tilf\xf8jet %{smart_count} filer fra %{folder}",1:"Tilf\xf8jet %{smart_count} fil fra %{folder}"},import:"Importer",importFrom:"Importer fra %{name}",loading:"Loading...",logOut:"Log ud",myDevice:"Min enhed",noFilesFound:"Du har ingen filer eller mapper her",noInternetConnection:"Ingen Internet forbindelse",openFolderNamed:"\xc5ben mappe %{name}",pause:"Pause",pauseUpload:"Pause upload",paused:"Sat p\xe5 pause",poweredBy:"Drevet af %{uppy}",processingXFiles:{0:"Behandler %{smart_count} filer",1:"Behandler %{smart_count} fil"},removeFile:"Fjern fil",resetFilter:"Nulstil filter",resume:"Genoptag",resumeUpload:"Genoptag upload",retry:"Fors\xf8g igen",retryUpload:"Fors\xf8g upload igen",saveChanges:"Gem \xe6ndringer",selectFileNamed:"V\xe6lg fil %{name}",selectX:{0:"V\xe6lg %{smart_count}",1:"V\xe6lg %{smart_count}"},smile:"Smil!",startRecording:"Start video optagelse",stopRecording:"Stop video optagelse",takePicture:"Tag et billede",timedOut:"Upload g\xe5et i st\xe5 for %{seconds} sekunder, afbryder.",unselectFileNamed:"Afmarker filen %{name}",upload:"Upload",uploadComplete:"Upload f\xe6rdig",uploadFailed:"Upload fejlede",uploadPaused:"Upload sat p\xe5 pause",uploadXFiles:{0:"Upload %{smart_count} fil",1:"Upload %{smart_count} filer"},uploadXNewFiles:{0:"Upload +%{smart_count} fil",1:"Upload +%{smart_count} filer"},uploading:"Uploader",uploadingXFiles:{0:"Uploader %{smart_count} fil",1:"Uploader %{smart_count} filer"},xFilesSelected:{0:"%{smart_count} fil valgt",1:"%{smart_count} filer valgt"},xMoreFilesAdded:{0:"%{smart_count} flere filer tilf\xf8jet",1:"%{smart_count} flere filer tilf\xf8jet"},xTimeLeft:"%{time} tilbage",youCanOnlyUploadFileTypes:"Du kan kun uploade: %{types}",youCanOnlyUploadX:{0:"Du kan kun uploade %{smart_count} fil",1:"Du kan kun uploade %{smart_count} filer"},youHaveToAtLeastSelectX:{0:"Du skal v\xe6lge mindst %{smart_count} fil",1:"Du skal v\xe6lge mindst %{smart_count} filer"}},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.da_DK=n),r.Z=n},16489:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Das Hinzuf\xfcgen einer Datei ist aufgrund eines internen Fehlers fehlgeschlagen",1:"Das Hinzuf\xfcgen von %{smart_count} Dateien ist aufgrund eines internen Fehlers fehlgeschlagen"},addingMoreFiles:"Dateien hinzuf\xfcgen",addMore:"Mehr hinzuf\xfcgen",addMoreFiles:"Dateien hinzuf\xfcgen",allFilesFromFolderNamed:"Alle Dateien vom Ordner %{name}",allowAccessDescription:"Um Bilder oder Videos mit Ihrer Kamera aufzunehmen, erlauben Sie dieser Website bitte den Zugriff auf Ihre Kamera.",allowAccessTitle:"Bitte erlauben Sie Zugriff auf Ihre Kamera",aspectRatioLandscape:"Zuschneiden auf Querformat (16:9)",aspectRatioPortrait:"Zuschneiden auf Hochformat (9:16)",aspectRatioSquare:"Zuschneiden auf Quadrat",authenticateWith:"Mit %{pluginName} verbinden",authenticateWithTitle:"Bitte authentifizieren Sie sich mit %{pluginName}, um Dateien auszuw\xe4hlen",back:"Zur\xfcck",backToSearch:"Zur\xfcck zur Suche",browse:"durchsuchen",browseFiles:"Dateien durchsuchen",browseFolders:"Ordner durchsuchen",cancel:"Abbrechen",cancelUpload:"Hochladen abbrechen",chooseFiles:"Dateien ausw\xe4hlen",closeModal:"Fenster schlie\xdfen",companionError:"Verbindung zu Companion fehlgeschlagen",companionUnauthorizeHint:"Um die Autorisierung f\xfcr Ihr %{provider} Konto aufzuheben, gehen Sie bitte zu %{url}",complete:"Fertig",connectedToInternet:"Mit dem Internet verbunden",copyLink:"Link kopieren",copyLinkToClipboardFallback:"Untenstehende URL kopieren",copyLinkToClipboardSuccess:"Link in die Zwischenablage kopiert",creatingAssembly:"Das Hochladen wird vorbereiten...",creatingAssemblyFailed:"Transloadit: Assembly konnte nicht erstellt werden",dashboardTitle:"Hochladen von Dateien",dashboardWindowTitle:"Hochladen von Dateien (ESC dr\xfccken zum Schlie\xdfen)",dataUploadedOfTotal:"%{complete} von %{total}",discardRecordedFile:"Aufgenommene Datei verwerfen",done:"Abgeschlossen",dropHereOr:"Dateien hier ablegen oder %{browse}",dropHint:"Dateien hier ablegen",dropPasteBoth:"Dateien hier ablegen/einf\xfcgen,
20%{browseFiles} oder %{browseFolders}",dropPasteFiles:"Dateien hier ablegen/einf\xfcgen oder %{browseFiles}",dropPasteFolders:"Dateien hier ablegen/einf\xfcgen oder %{browseFolders}",dropPasteImportBoth:"Dateien hier ablegen/einf\xfcgen, %{browse} oder von folgenden Quellen importieren:",dropPasteImportFiles:"Dateien hier ablegen/einf\xfcgen, %{browseFiles} oder von folgenden Quellen importieren:",dropPasteImportFolders:"Dateien hier ablegen/einf\xfcgen, %{browseFolders} oder von folgenden Quellen importieren:",editFile:"Datei bearbeiten",editImage:"Bild bearbeiten",editFileWithFilename:"Datei %{file} bearbeiten",editing:"%{file} bearbeiten",emptyFolderAdded:"Keine Dateien hinzugef\xfcgt, da der Ordner leer war",encoding:"Kodieren...",enterCorrectUrl:"Falsche URL: Bitte stellen Sie sicher, dass Sie einen direkten Link zu einer Datei eingeben",enterTextToSearch:"Text zum Suchen von Bildern eingeben",enterUrlToImport:"URL zum Importieren einer Datei eingeben",exceedsSize:"Datei %{file} ist gr\xf6\xdfer als die maximal erlaubte Dateigr\xf6\xdfe von %{size}",failedToFetch:"Companion konnte diese URL nicht verarbeiten - stellen Sie bitte sicher, dass sie korrekt ist",failedToUpload:"Fehler beim Hochladen der Datei %{file}",filesUploadedOfTotal:{0:"%{complete} von %{smart_count} Datei hochgeladen",1:"%{complete} von %{smart_count} Dateien hochgeladen"},filter:"Filter",finishEditingFile:"Bearbeitung beenden",flipHorizontal:"Horizontal spiegeln",folderAdded:{0:"Eine Datei von %{folder} hinzugef\xfcgt",1:"%{smart_count} Dateien von %{folder} hinzugef\xfcgt"},folderAlreadyAdded:'Der Ordner "%{folder}" wurde bereits hinzugef\xfcgt',generatingThumbnails:"Erstellen von Miniaturansichten...",import:"Importieren",importFiles:"Importiere Dateien von:",importFrom:"Importieren von %{name}",inferiorSize:"Diese Datei ist kleiner als die minimal erlaubte Dateigr\xf6\xdfe von %{size}",loading:"Laden...",logOut:"Abmelden",micDisabled:"Zugriff auf Mikrofon von Benutzer abgelehnt",missingRequiredMetaField:"Fehlende erforderliche Meta-Felder",missingRequiredMetaFieldOnFile:"Fehlende erforderliche Meta-Felder in %{fileName}",missingRequiredMetaFields:{0:"Fehlendes erforderliches Meta-Feld: %{fields}.",1:"Fehlende erforderliche Meta-Felder: %{fields}."},myDevice:"Mein Ger\xe4t",noCameraDescription:"Bitte Kamera anschlie\xdfen, um Bilder oder Videos aufzunehmen",noCameraTitle:"Kamera nicht verf\xfcgbar",noDuplicates:"Datei '%{fileName}' existiert bereits und kann nicht erneut hinzugef\xfcgt werden",noFilesFound:"Sie haben hier keine Dateien oder Ordner",noInternetConnection:"Keine Internetverbindung",noMoreFilesAllowed:"W\xe4hrend der Upload l\xe4uft, k\xf6nnen keine weiteren Dateien hinzugef\xfcgt werden",openFolderNamed:"Ordner %{name} \xf6ffnen",pause:"Pausieren",paused:"Pausiert",pauseUpload:"Hochladen pausieren",pluginNameBox:"Box",pluginNameCamera:"Kamera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Eine Datei verarbeiten",1:"%{smart_count} Dateien verarbeiten"},recording:"Aufnahme",recordingLength:"Aufnahmedauer %{recording_length}",recordingStoppedMaxSize:"Die Aufnahme wurde gestoppt, weil die Dateigr\xf6\xdfe das Limit \xfcberschritten hat",recordVideoBtn:"Video aufnehmen",recoveredAllFiles:"Wir haben alle Dateien wiederhergestellt. Sie k\xf6nnen mit dem Hochladen fortfahren.",recoveredXFiles:{0:"Wir konnten eine Datei nicht vollst\xe4ndig wiederherstellen. Bitte w\xe4hlen Sie sie erneut aus und fahren Sie dann mit dem Hochladen fort.",1:"Wir konnten %{smart_count} Dateien nicht vollst\xe4ndig wiederherstellen. Bitte w\xe4hlen Sie sie erneut aus und fahren Sie dann mit dem Hochladen fort."},removeFile:"Datei entfernen",reSelect:"Erneut ausw\xe4hlen",resetFilter:"Filter zur\xfccksetzen",resume:"Fortsetzen",resumeUpload:"Hochladen fortsetzen",retry:"Erneut versuchen",retryUpload:"Hochladen erneut versuchen",revert:"R\xfcckg\xe4ngig machen",rotate:"Drehen",save:"Speichern",saveChanges:"\xc4nderungen speichern",searchImages:"Suche nac
20h Bildern",selectX:{0:"W\xe4hlen Sie %{smart_count}",1:"W\xe4hlen Sie %{smart_count}"},sessionRestored:"",smile:"Bitte l\xe4cheln!",startCapturing:"Bildschirmaufnahme starten",startRecording:"Videoaufnahme starten",stopCapturing:"Bildschirmaufnahme stoppen",stopRecording:"Videoaufnahme stoppen",streamActive:"Stream aktiv",streamPassive:"Stream passiv",submitRecordedFile:"Aufgezeichnete Datei verwenden",takePicture:"Ein Foto aufnehmen",takePictureBtn:"Foto aufnehmen",timedOut:"Upload f\xfcr %{seconds} Sekunden stehen geblieben, breche ab.",upload:"Hochladen",uploadComplete:"Hochladen abgeschlossen",uploadFailed:"Hochladen fehlgeschlagen",uploading:"Wird hochgeladen",uploadingXFiles:{0:"Eine Datei wird hochgeladen",1:"%{smart_count} Dateien werden hochgeladen"},uploadPaused:"Hochladen pausiert",uploadXFiles:{0:"Eine Datei hochladen",1:"%{smart_count} Dateien hochladen"},uploadXNewFiles:{0:"+%{smart_count} Datei hochladen",1:"+%{smart_count} Dateien hochladen"},xFilesSelected:{0:"Eine Datei ausgew\xe4hlt",1:"%{smart_count} Dateien ausgew\xe4hlt"},xMoreFilesAdded:{0:"Eine weitere Datei hinzugef\xfcgt",1:"%{smart_count} weitere Dateien hinzugef\xfcgt"},xTimeLeft:"%{time} verbleibend",youCanOnlyUploadFileTypes:"Sie k\xf6nnen nur folgende Dateitypen hochladen: %{types}",youCanOnlyUploadX:{0:"Sie k\xf6nnen nur eine Datei hochladen",1:"Sie k\xf6nnen nur %{smart_count} Dateien hochladen"},youHaveToAtLeastSelectX:{0:"Sie m\xfcssen mindestens eine Datei ausw\xe4hlen",1:"Sie m\xfcssen mindestens %{smart_count} Dateien ausw\xe4hlen"},zoomIn:"Vergr\xf6\xdfern",zoomOut:"Verkleinern"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.de_DE=n),r.Z=n},56161:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?1:0};n.strings={addMore:"Î ÏοÏθÎÏÏε ÏεÏιÏÏÏÏεÏα",addMoreFiles:"Î ÏοÏθÎÏÏε ÏεÏιÏÏÏÏεÏα αÏÏεία",addingMoreFiles:"Î ÏοÏθήκη αÏÏείÏν",allowAccessDescription:"Îια να βγάλεÏε ÏÏÏογÏαÏÎ¯ÎµÏ Î® βίνÏεο με Ïην κάμεÏά ÏαÏ, ÏαÏακαλοÏμε εÏιÏÏÎÏÏε Ïην ÏÏÏÏβαÏη ÏÏην κάμεÏά ÏÎ±Ï Î³Î¹Î± αÏ
ÏÏν Ïον ιÏÏÏÏοÏο.",allowAccessTitle:"ΠαÏακαλοÏμε εÏιÏÏÎÏÏε Ïην ÏÏÏÏβαÏη ÏÏην κάμεÏά ÏαÏ",authenticateWith:"ΣÏνδεÏη με %{pluginName}",authenticateWithTitle:"ΠαÏακαλοÏμε ÏÏ
νδεθείÏε με %{pluginName} για να εÏιλÎξεÏε αÏÏεία",back:"ΠίÏÏ",browse:"ΠεÏιήγηÏη",browseFiles:"ΠεÏιήγηÏη",cancel:"ÎκÏ
Ïο",cancelUpload:"ÎκÏÏÏÏη μεÏαÏÏÏÏÏÏηÏ",chooseFiles:"ÎÏιλÎξÏε αÏÏεία",closeModal:"ÎλείÏιμο ÏαÏαθÏÏοÏ
",companionError:"Î ÏÏνδεÏη με Ïο Companion αÏÎÏÏ
Ïε",complete:"ÎλοκληÏÏθηκε",connectedToInternet:"ΣÏ
νδεθήκαÏε ÏÏο Internet",copyLink:"ÎνÏιγÏαÏή ÏÏ
νδÎÏμοÏ
",copyLinkToClipboardFallback:"ÎνÏιγÏαÏή ÏοÏ
ÏαÏακάÏÏ ÏÏ
νδÎÏμοÏ
",copyLinkToClipboardSuccess:"Î ÏÏνδεÏÎ¼Î¿Ï Î±Î½ÏιγÏάÏηκε",creatingAssembly:"Î ÏοεÏοιμαÏία μεÏαÏÏÏÏÏÏηÏ...",creatingAssemblyFailed:"Transloadit: ΣÏάλμα καÏά Ïην ÏÏοεÏοιμαÏία",dashboardTitle:"ÎεÏαÏÏÏÏÏÏη αÏÏείÏν",dashboardWindowTitle:"ΠαÏάθÏ
Ïο μεÏαÏÏÏÏÏÏÎ·Ï Î±ÏÏείÏν (ΠαÏήÏÏε escape για να κλείÏει)",dataUploadedOfTotal:"%{complete} αÏÏ %{total}",done:"ΤÎλοÏ",dropHereOr:"ΣÏÏεÏε Ïα αÏÏεία ÎµÎ´Ï Î® %{browse}",dropHint:"ΣÏÏεÏε Ïα αÏÏεία ÏÎ±Ï ÎµÎ´Ï",dropPasteBoth:"ΣÏÏεÏε Ïα αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη ή %{browse}",dropPasteFiles:"ΣÏÏεÏε Ïα αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη ή %{browse}",dropPasteFolders:"ΣÏÏεÏε Ïα αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη ή %{browse}",dropPasteImportBoth:"ΣÏÏεÏε αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη, %{browse} ή ειÏαγÏγή αÏÏ",dropPasteImportFiles:"ΣÏÏεÏε αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη, %{browse} ή ειÏαγÏγή αÏÏ",dropPasteImportFolders:"ΣÏÏεÏε αÏÏεία εδÏ, κάνÏε εÏικÏλληÏη, %{browse} ή ειÏαγÏγή αÏÏ",editFile:"ÎÏεξεÏγαÏία αÏÏείοÏ
",editImage:"ÎÏεξεÏγαÏία εικÏναÏ",editing:"ÎίνεÏαι εÏεξεÏγαÏία %{file}",emptyFolderAdded:"Îεν ÏÏοÏÏÎθηκαν αÏÏεία αÏÏ Ïον άδειο Ïάκελο",encoding:"ÎίνεÏαι κÏδικοÏοίηÏη...",enterCorrectUrl:"ÎανθαÏμÎνο URL: ΠαÏακαλοÏμε βεβαιÏθείÏε ÏÏι ειÏάγεÏε Îναν άμεÏο ÏÏνδεÏμο ÏÏÎ¿Ï ÎºÎ¬Ïοιο αÏÏείο",enterUrlToImport:"ÎιÏάγεÏε URL για να γίνει ειÏαγÏγή ÏοÏ
αÏÏείοÏ
",exceedsSize:"Το αÏÏείο Ï
ÏεÏβαίνει Ïο μÎγιÏÏο εÏιÏÏεÏÏÏ ÏÏιο ÏοÏ
είναι %{size}",failedToFetch:"Îεν ήÏαν δÏ
ναÏή η λήÏη αÏÏ Ïο URL, ÏαÏακαλοÏμε βεβαιÏθείÏε ÏÏι είÎ
20½Î±Î¹ ÏÏÏÏÏ",failedToUpload:"Îεν ήÏαν δÏ
ναÏή η μεÏαÏÏÏÏÏÏη %{file}",fileSource:"Πηγή αÏÏείοÏ
: %{name}",filesUploadedOfTotal:{0:"%{complete} αÏÏ %{smart_count} αÏÏεία ανÎβηκαν",1:"%{complete} αÏÏ %{smart_count} αÏÏείο ανÎβηκε"},filter:"ΦιλÏÏάÏιÏμα",finishEditingFile:"ÎλοκλήÏÏÏη εÏεξεÏγαÏÎ¯Î±Ï Î±ÏÏείοÏ
",folderAdded:{0:"Î ÏοÏÏÎθηκαν %{smart_count} αÏÏεία αÏÏ %{folder}",1:"Î ÏοÏÏÎθηκε %{smart_count} αÏÏείο αÏÏ %{folder}"},import:"ÎιÏαγÏγή",importFrom:"ÎιÏαγÏγή αÏÏ %{name}",loading:"ΦοÏÏÏνει...",logOut:"ÎÏοÏÏνδεÏη",myDevice:"Î ÏÏ
ÏκεÏ
ή μοÏ
",noFilesFound:"Îεν Ï
ÏάÏÏοÏ
ν αÏÏεία ή Ïάκελοι εδÏ",noInternetConnection:"Îεν Ï
ÏάÏÏει ÏÏνδεÏη ÏÏο Internet",openFolderNamed:"Îνοιγμα ÏακÎλοÏ
%{name}",pause:"ΠαÏÏη",pauseUpload:"ΠαÏÏη μεÏαÏÏÏÏÏÏηÏ",paused:"Îγινε ÏαÏÏη",poweredBy:"Îε Ïη δÏναμη ÏÎ¿Ï %{uppy}",processingXFiles:{0:"Î ÏοεÏοιμαÏία %{smart_count} αÏÏείÏν",1:"Î ÏοεÏοιμαÏία %{smart_count} αÏÏείοÏ
"},removeFile:"ÎÏαίÏεÏη αÏÏείοÏ
",resetFilter:"ÎÏαναÏοÏά ÏίλÏÏοÏ
",resume:"ΣÏ
νÎÏεια",resumeUpload:"ΣÏ
νÎÏεια μεÏαÏÏÏÏÏÏηÏ",retry:"Î ÏοÏÏάθεια ξανά",retryUpload:"Î ÏοÏÏάθεια μεÏαÏÏÏÏÏÏÎ·Ï Î¾Î±Î½Î¬",saveChanges:"ÎÏοθήκεÏ
Ïη αλλαγÏν",selectFileNamed:"ÎÏιλογή αÏÏείοÏ
%{name}",selectX:{0:"ÎÏιλογή %{smart_count}",1:"ÎÏιλογή %{smart_count}"},smile:"ΧαμογελάÏÏε!",startRecording:"Îεκίνημα εγγÏαÏÎ®Ï Î²Î¯Î½Ïεο",stopRecording:"ΣÏαμάÏημα εγγÏαÏÎ®Ï Î²Î¯Î½Ïεο",takePicture:"ÎγάλÏε μια ÏÏÏογÏαÏία",timedOut:"ΠμεÏαÏÏÏÏÏÏη ÏÏαμάÏηÏε για %{seconds} δεÏ
ÏεÏÏλεÏÏα, γίνεÏαι ακÏÏÏÏη.",unselectFileNamed:"ÎÏοεÏιλογή αÏÏείοÏ
%{name}",upload:"ÎεÏαÏÏÏÏÏÏη",uploadComplete:"ÎεÏαÏÏÏÏÏÏη ολοκληÏÏθηκε",uploadFailed:"ÎεÏαÏÏÏÏÏÏη αÏÎÏÏ
Ïε",uploadPaused:"ÎεÏαÏÏÏÏÏÏη Ïε ÏαÏÏη",uploadXFiles:{0:"ÎεÏαÏÏÏÏÏÏη %{smart_count} αÏÏείÏν",1:"ÎεÏαÏÏÏÏÏÏη %{smart_count} αÏÏείοÏ
"},uploadXNewFiles:{0:"ÎεÏαÏÏÏÏÏÏη +%{smart_count} αÏÏείÏν",1:"ÎεÏαÏÏÏÏÏÏη +%{smart_count} αÏÏείοÏ
"},uploading:"ÎίνεÏαι μεÏαÏÏÏÏÏÏη",uploadingXFiles:{0:"ÎεÏαÏοÏÏÏνονÏαι %{smart_count} αÏÏεία",1:"ÎεÏαÏοÏÏÏνεÏαι %{smart_count} αÏÏείο"},xFilesSelected:{0:"%{smart_count} εÏιλεγμÎνα αÏÏεία",1:"%{smart_count} εÏιλεγμÎνο αÏÏείο"},xMoreFilesAdded:{0:"%{smart_count} ακÏμα αÏÏεία ÏÏοÏÏÎθηκαν",1:"%{smart_count} ακÏμα αÏÏείο ÏÏοÏÏÎθηκε"},xTimeLeft:"%{time} αÏομÎνοÏ
ν",youCanOnlyUploadFileTypes:"ÎÏοÏείÏε να ανεβάÏεÏε μÏνο: %{types}",youCanOnlyUploadX:{0:"ÎÏοÏείÏε να ανεβάÏεÏε μÏνο %{smart_count} αÏÏεία",1:"ÎÏοÏείÏε να ανεβάÏεÏε μÏνο %{smart_count} αÏÏείο"},youHaveToAtLeastSelectX:{0:"Î ÏÎÏει να εÏιλÎξεÏε ÏοÏ
λάÏιÏÏον %{smart_count} αÏÏεία",1:"Î ÏÎÏει να εÏιλÎξεÏε ÏοÏ
λάÏιÏÏον %{smart_count} αÏÏείο"}},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.el_GR=n),r.Z=n},6066:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},addedNumFiles:"Added %{numFiles} file(s)",addingMoreFiles:"Adding more files",additionalRestrictionsFailed:"%{count} additional restrictions were not fulfilled",addMore:"Add more",addMoreFiles:"Add more files",aggregateExceedsSize:"You selected %{size} of files, but maximum allowed size is %{sizeAllowed}",allFilesFromFolderNamed:"All files from folder %{name}",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site.",allowAccessTitle:"Please allow access to your camera",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",allowAudioAccessTitle:"Please allow access to your microphone",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)",aspectRatioSquare:"Crop square",authAborted:"Authentication aborted",authenticate:"Connect",authenticateWith:"Connect to %{pluginName}",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",back:"Back",browse:"browse",browseFiles:"browse files",browseFolders:"browse folders",cancel:"Cancel",cancelUpload:"Cancel upload",chooseFiles:"Choose files",closeModal:"Close Mod
20al",companionError:"Connection with Companion failed",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",complete:"Complete",compressedX:"Saved %{size} by compressing images",compressingImages:"Compressing images...",connectedToInternet:"Connected to the Internet",copyLink:"Copy link",copyLinkToClipboardFallback:"Copy the URL below",copyLinkToClipboardSuccess:"Link copied to clipboard.",creatingAssembly:"Preparing upload...",creatingAssemblyFailed:"Transloadit: Could not create Assembly",dashboardTitle:"Uppy Dashboard",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dataUploadedOfTotal:"%{complete} of %{total}",dataUploadedOfUnknown:"%{complete} of unknown",discardMediaFile:"Discard Media",discardRecordedFile:"Discard recorded file",done:"Done",dropHereOr:"Drop here or %{browse}",dropHint:"Drop your files here",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",editFile:"Edit file",editFileWithFilename:"Edit file %{file}",editImage:"Edit image",editing:"Editing %{file}",emptyFolderAdded:"No files were added from empty folder",encoding:"Encoding...",enterCorrectUrl:"Incorrect URL: Please make sure you are entering a direct link to a file",enterTextToSearch:"Enter text to search for images",enterUrlToImport:"Enter URL to import a file",error:"Error",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",failedToFetch:"Companion failed to fetch this URL, please make sure itâs correct",failedToUpload:"Failed to upload %{file}",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},filter:"Filter",finishEditingFile:"Finish editing file",flipHorizontal:"Flip horizontally",folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},folderAlreadyAdded:'The folder "%{folder}" was already added',generatingThumbnails:"Generating thumbnails...",import:"Import",importFiles:"Import files from:",importFrom:"Import from %{name}",inferiorSize:"This file is smaller than the allowed size of %{size}",loadedXFiles:"Loaded %{numFiles} files",loading:"Loading...",logIn:"Log in",logOut:"Log out",micDisabled:"Microphone access denied by user",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},myDevice:"My Device",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",noAudioTitle:"Microphone Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",noCameraTitle:"Camera Not Available",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",noFilesFound:"You have no files or folders here",noInternetConnection:"No Internet connection",noMoreFilesAllowed:"Cannot add more files",noSearchResults:"Unfortunately, there are no results for this search",openFolderNamed:"Open folder %{name}",pause:"Pause",paused:"Paused",pauseUpload:"Pause upload",pickFiles:"Pick files",pickPhotos:"Pick photos",pleaseWait:"Please wait",pluginNameAudio:"Audio",pluginNameBox:"Box",pluginNameCamera:"Camera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameGoogleDrivePicker:"Google Drive",pluginNameGooglePhotosPicker:"Google Photos",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameScreenCapture:"Screencast",pluginNameUnsplash:"Unsplash",pluginNameUrl:"Link",pluginNameWebdav:"WebDAV",pluginNameZoom:"Zoom",pluginWebdavInputLabel:"WebDAV URL for a file (e.g. from ownCloud or Nextcloud)",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},recording:"Recording",recordingLength:"Recording length %{recording_length}",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recordVideoBtn:"Record Video",recoveredAllFiles:"We restored all files. You can now resume the upload.",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},removeFile:"Remove file",reSelect:"Re-select",resetFilter:"Reset filter",resetSearch:"Reset search",resume:"Resume",resumeUpload:"Resume upload",retry:"Retry",retryUpload:"Retry upload",revert:"Reset",rotate:"Rotate 90\xb0",save:"Save",saveChanges:"Save changes",search:"Search",searchImages:"Search for images",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},sessionRestored:"Session restored",showErrorDetails:"Show error details",signInWithGoogle:"Sign in with Google",smile:"Smile!",startAudioRecording:"Begin audio recording",startCapturing:"Begin screen capturing",startRecording:"Begin video recording",stopAudioRecording:"Stop audio recording",stopCapturing:"Stop screen capturing",stopRecording:"Stop video recording",streamActive:"Stream active",streamPassive:"Stream passive",submitRecordedFile:"Submit recorded file",takePicture:"Take a picture",takePictureBtn:"Take Picture",takeScreenshot:"Take Screenshot",unnamed:"Unnamed",upload:"Upload",uploadComplete:"Upload complete",uploadFailed:"Upload failed",uploading:"Uploading",uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},uploadPaused:"Upload paused",uploadStalled:"Upload has not made any progress for %{seconds} seconds. You may want to retry it.",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},xTimeLeft:"%{time} left",youCanOnlyUploadFileTypes:"You can only upload: %{types}",youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},zoomIn:"Zoom in",zoomOut:"Zoom out"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.en_US=n),r.Z=n},49845:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};
20n.strings={addBulkFilesFailed:{0:"No se pudo agregar %{smart_count} archivo debido a un error interno",1:"No se pudieron agregar %{smart_count} archivos debido a errores internos"},addedNumFiles:"Se agreg\xf3 %{numFiles} archivo(s)",addingMoreFiles:"Agregando m\xe1s archivos",additionalRestrictionsFailed:"No se cumplieron %{count} restricciones adicionales",addMore:"Agregar m\xe1s",addMoreFiles:"Agregar m\xe1s archivos",allFilesFromFolderNamed:"Todos los archivos de la carpeta %{name}",allowAccessDescription:"Para tomar fotos o grabar videos con tu c\xe1mara, por favor permite el acceso a la c\xe1mara para este sitio.",allowAccessTitle:"Por favor, permite el acceso a tu c\xe1mara",allowAudioAccessDescription:"Para grabar audio, por favor permite el acceso al micr\xf3fono para este sitio.",allowAudioAccessTitle:"Por favor, permite el acceso a tu micr\xf3fono",aspectRatioLandscape:"Recortar horizontal (16:9)",aspectRatioPortrait:"Recortar vertical (9:16)",aspectRatioSquare:"Recortar cuadrado",authAborted:"Autenticaci\xf3n cancelada",authenticateWith:"Conectar con %{pluginName}",authenticateWithTitle:"Por favor, autent\xedcate con %{pluginName} para seleccionar archivos",back:"Atr\xe1s",browse:"Navegar",browseFiles:"Navegar por archivos",browseFolders:"Navegar por carpetas",cancel:"Cancelar",cancelUpload:"Cancelar subida",chooseFiles:"Seleccionar archivos",closeModal:"Cerrar ventana",companionError:"Error en la conexi\xf3n con Companion",companionUnauthorizeHint:"Para desautorizar tu cuenta de %{provider}, por favor ve a %{url}",complete:"Completado",compressedX:"Se ahorr\xf3 %{size} comprimiendo im\xe1genes",compressingImages:"Comprimiendo im\xe1genes...",connectedToInternet:"Conectado a Internet",copyLink:"Copiar enlace",copyLinkToClipboardFallback:"Copia la siguiente URL",copyLinkToClipboardSuccess:"Enlace copiado al portapapeles",creatingAssembly:"Preparando subida...",creatingAssemblyFailed:"No se pudo crear un Assembly",dashboardTitle:"Cargador de archivos",dashboardWindowTitle:"Ventana para cargar archivos (Presiona escape para cerrar)",dataUploadedOfTotal:"%{complete} de %{total}",discardRecordedFile:"Descartar archivo grabado",done:"Hecho",dropHereOr:"Suelta archivos aqu\xed o %{browse}",dropHint:"Suelta tus archivos aqu\xed",dropPasteBoth:"Suelta archivos aqu\xed, %{browseFiles} o %{browseFolders}",dropPasteFiles:"Suelta archivos aqu\xed o %{browseFiles}",dropPasteFolders:"Suelta archivos aqu\xed o %{browseFolders}",dropPasteImportBoth:"Suelta archivos aqu\xed, %{browseFiles}, %{browseFolders} o importar desde:",dropPasteImportFiles:"Suelta archivos aqu\xed, %{browseFiles} o importar desde:",dropPasteImportFolders:"Suelta archivos aqu\xed, %{browseFolders} o importar desde:",editFile:"Editar archivo",editImage:"Editar imagen",editFileWithFilename:"Editar archivo %{file}",editing:"Editando %{file}",emptyFolderAdded:"No se agregaron archivos desde la carpeta vac\xeda",encoding:"Codificando...",enterCorrectUrl:"URL incorrecta: Por favor, aseg\xfarate de ingresar un enlace directo a un archivo",enterTextToSearch:"Ingresa texto para buscar im\xe1genes",enterUrlToImport:"Ingresa la URL para importar un archivo",error:"Error",exceedsSize:"%{file} excede el tama\xf1o m\xe1ximo permitido de %{size}",failedToFetch:"Companion no pudo recuperar esta URL, por favor aseg\xfarate de que sea correcta",failedToUpload:"No se pudo subir %{file}",fileSource:"Fuente de archivo: %{name}",filesUploadedOfTotal:{0:"%{complete} de %{smart_count} archivo subido",1:"%{complete} de %{smart_count} archivos subidos"},filter:"Filtrar",finishEditingFile:"Terminar edici\xf3n de archivo",flipHorizontal:"Voltear horizontalmente",folderAdded:{0:"Se agreg\xf3 %{smart_count} archivo desde %{folder}",1:"Se agregaron %{smart_count} archivos desde %{folder}"},folderAlreadyAdded:'La carpeta "%{folder}" ya fue agregada',generatingThumbnails:"Generando miniaturas...",import:"Importar",importFiles:"Importar archivos desde:",importFrom:"Importar desde %{name}",inferiorSize:"Este archivo es m\xe1s peque\xf1o que el tama\xf1o permitido de %{size}",loading:"Cargando...",logOut:"Cerrar sesi\xf3n",micDisabled:"El acceso al micr\xf3fono fue denegado por el usuario",missingRequiredMetaField:"Faltan campos de metadatos obligatorios",missingRequiredMetaFieldOnFile:"Faltan campos de metadatos obligatorios en %{fileName}",missingRequiredMetaFields:{0:"Falta el campo de metadatos obligatorio: %{fields}.",1:"Faltan los campos de metadatos obligatorios: %{fields}."},myDevice:"Mi dispositivo",noAudioDescription:"Para grabar audio, por favor conecta un micr\xf3fono u otro dispositivo de entrada de audio",noAudioTitle:"Micr\xf3fono no disponible",noCameraDescription:"Para tomar fotos o grabar video, por favor conecta un dispositivo de c\xe1mara",noCameraTitle:"C\xe1mara no dis
20ponible",noDuplicates:"No se puede agregar el archivo duplicado '%{fileName}', ya existe",noFilesFound:"No tienes archivos o carpetas aqu\xed",noInternetConnection:"Sin conexi\xf3n a Internet",noMoreFilesAllowed:"No se pueden agregar m\xe1s archivos",noSearchResults:"Lamentablemente, no hay resultados para esta b\xfasqueda",openFolderNamed:"Abrir carpeta %{name}",pause:"Pausar",paused:"En pausa",pauseUpload:"Pausar subida",pluginNameAudio:"Audio",pluginNameBox:"Box",pluginNameCamera:"C\xe1mara",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"Desarrollado por %{uppy}",processingXFiles:{0:"Procesando %{smart_count} archivo",1:"Procesando %{smart_count} archivos"},recording:"Grabando",recordingLength:"Duraci\xf3n de la grabaci\xf3n %{recording_length}",recordingStoppedMaxSize:"La grabaci\xf3n se detuvo porque el tama\xf1o del archivo est\xe1 a punto de exceder el l\xedmite",recordVideoBtn:"Grabar video",recoveredAllFiles:"Se restauraron todos los archivos. Ahora puedes reanudar la subida.",recoveredXFiles:{0:"No pudimos recuperar completamente 1 archivo. Por favor, vuelve a seleccionarlo y reanuda la subida.",1:"No pudimos recuperar completamente %{smart_count} archivos. Por favor, vuelve a seleccionarlos y reanuda la subida."},removeFile:"Eliminar archivo",reSelect:"Volver a seleccionar",resetFilter:"Restablecer filtro",resetSearch:"Restablecer b\xfasqueda",resume:"Reanudar",resumeUpload:"Reanudar subida",retry:"Reintentar",retryUpload:"Reintentar subida",revert:"Revertir",rotate:"Rotar",save:"Guardar",saveChanges:"Guardar cambios",search:"Buscar",searchImages:"Buscar im\xe1genes",selectX:{0:"Seleccionar %{smart_count}",1:"Seleccionar %{smart_count}"},sessionRestored:"Sesi\xf3n restaurada",showErrorDetails:"Mostrar detalles del error",signInWithGoogle:"Iniciar sesi\xf3n con Google",smile:"\xa1Sonr\xede!",startAudioRecording:"Iniciar grabaci\xf3n de audio",startCapturing:"Iniciar captura de pantalla",startRecording:"Iniciar grabaci\xf3n de video",stopAudioRecording:"Detener grabaci\xf3n de audio",stopCapturing:"Detener captura de pantalla",stopRecording:"Detener grabaci\xf3n de video",streamActive:"Transmisi\xf3n activa",streamPassive:"Transmisi\xf3n pasiva",submitRecordedFile:"Enviar archivo grabado",takePicture:"Tomar una foto",takePictureBtn:"Tomar foto",timedOut:"La subida se detuvo durante %{seconds} segundos, abortando.",upload:"Subir",uploadComplete:"Subida completa",uploadFailed:"Error en la subida",uploading:"Subiendo",uploadingXFiles:{0:"Subiendo %{smart_count} archivo",1:"Subiendo %{smart_count} archivos"},uploadPaused:"Subida en pausa",uploadStalled:"La subida no ha realizado ning\xfan progreso durante %{seconds} segundos. Puedes intentarlo de nuevo.",uploadXFiles:{0:"Subir %{smart_count} archivo",1:"Subir %{smart_count} archivos"},uploadXNewFiles:{0:"Subir +%{smart_count} archivo",1:"Subir +%{smart_count} archivos"},xFilesSelected:{0:"%{smart_count} archivo seleccionado",1:"%{smart_count} archivos seleccionados"},xMoreFilesAdded:{0:"Se agreg\xf3 %{smart_count} archivo m\xe1s",1:"Se agregaron %{smart_count} archivos m\xe1s"},xTimeLeft:"%{time} restante",youCanOnlyUploadFileTypes:"Solo puedes subir: %{types}",youCanOnlyUploadX:{0:"Solo puedes subir %{smart_count} archivo",1:"Solo puedes subir %{smart_count} archivos"},youHaveToAtLeastSelectX:{0:"Debes seleccionar al menos %{smart_count} archivo",1:"Debes seleccionar al menos %{smart_count} archivos"},zoomIn:"Acercar",zoomOut:"Alejar",selectFileNamed:"Seleccione archivo %{name}",unselectFileNamed:"Deseleccionar archivo %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.es_ES=n),r.Z=n},57699:function(t,r){"use strict";let n={strings:{},pluralize:t=>t<=1?0:1};n.strings={addBulkFilesFailed:{0:"Lâajout de %{smart_count} fichier a \xe9chou\xe9 en raison dâune erreur interne",1:"Lâajout de %{smart_count} fichiers a \xe9chou\xe9 en raison dâerreurs internes"},addedNumFiles:"%{numFiles} fichier(s) ajout\xe9(s)",addingMoreFiles:"Ajout de fichiers",additionalRestrictionsFailed:"%{count} restrictions suppl\xe9mentaires nâont pas \xe9t\xe9 respect\xe9es",addMore:"Ajouter dâautres",addMoreFiles:"Ajouter dâautres fichiers",aggregateExceedsSize:"Vous avez s\xe9lectionn\xe9 %{size} de fichiers, mais la taille maximale autoris\xe9e est %{sizeAllowed}",allFilesFromFolderNamed:"Tous les fichiers du dossier %{name}",allowAccessDescription:"Pour prendre des photos ou enregistrer une vid\xe9o, veuillez autoriser lâacc\xe8s \xe0 votre cam\xe9ra pour ce site.",allowAccessTitle:"Veuillez autoriser lâacc\xe8s \xe0 votre cam\xe9ra",allowAudioAccessDescription:"Pour enregistrer de lâaudio, veuillez autoriser lâacc\xe8s au microphone pour ce site.",allowAudioAccessTitle:"Veuillez autoriser lâacc\xe8s au microphone",aspectRatioLandscape:"Recadrer en paysage (16:9)",aspectRatioPortrait:"Recadrer en portrait (9:16)",aspectRatioSquare:"Recadrer pour obtenir une photo carr\xe9e",authAborted:"Authentification interrompue",authenticateWith:"Se connecter \xe0 %{pluginName}",authenticateWithTitle:"Veuillez vous authentifier avec %{pluginName} pour s\xe9lectionner les fichiers",back:"Retour",browse:"naviguer",browseFiles:"naviguer dans les fichiers",browseFolders:"naviguer dans les dossiers",cancel:"Annuler",cancelUpload:"Annuler le t\xe9l\xe9versement",chooseFiles:"Choisir des fichiers",closeModal:"Fermer la fen\xeatre",companionError:"Connexion \xe0 Companion a \xe9chou\xe9",companionUnauthorizeHint:"Pour vous d\xe9connecter de votre compte %{provider}, veuillez aller \xe0 %{url}",complete:"Termin\xe9",compressedX:"%{size} \xe9conomis\xe9(s) par la compression",compressingImages:"Compression des imagesâ¦",connectedToInternet:"Connect\xe9 \xe0 Internet",copyLink:"Copier le lien",copyLinkToClipboardFallback:"Copier le lien ci-dessous",copyLinkToClipboardSuccess:"Lien copi\xe9",creatingAssembly:"Pr\xe9paration du t\xe9l\xe9versementâ¦",creatingAssemblyFailed:"Transloadit: Impossible de cr\xe9er Assembly",dashboardTitle:"T\xe9l\xe9verseur de fichiers",dashboardWindowTitle:"Fen\xeatre de t\xe9l\xe9versement de fic
20hiers (Appuyez sur \xc9chap pour fermer)",dataUploadedOfTotal:"%{complete} sur %{total}",discardRecordedFile:"Supprimer le fichier enregistr\xe9",done:"Termin\xe9",dropHereOr:"D\xe9poser les fichiers ici ou %{browse}",dropHint:"D\xe9posez vos fichiers ici",dropPasteBoth:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFiles:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteFolders:"D\xe9poser les fichiers ici, coller ou %{browse}",dropPasteImportBoth:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFiles:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",dropPasteImportFolders:"D\xe9poser les fichiers ici, coller, %{browse} ou importer de",editFile:"Modifier le fichier",editImage:"Modifier lâimage",editFileWithFilename:"Modifier le fichier %{file}",editing:"Modification en cours de %{file}",emptyFolderAdded:"Aucun fichier nâa \xe9t\xe9 ajout\xe9 depuis un dossier vide",encoding:"Traitementâ¦",enterCorrectUrl:"Lien incorrect: Assurez-vous que vous entrez un lien direct vers le fichier",enterTextToSearch:"Entrez un texte pour rechercher des images",enterUrlToImport:"Entrez le lien pour importer un fichier",error:"Erreur",exceedsSize:"Le fichier %{file} d\xe9passe la taille maximale autoris\xe9e de %{size}",failedToFetch:"Companion a \xe9chou\xe9 \xe0 r\xe9cup\xe9rer ce lien, assurez-vous quâil est correct",failedToUpload:"Le t\xe9l\xe9versement de %{file} a \xe9chou\xe9",fileSource:"Fichier source: %{name}",filesUploadedOfTotal:{0:"%{complete} sur %{smart_count} fichier t\xe9l\xe9vers\xe9",1:"%{complete} sur %{smart_count} fichiers t\xe9l\xe9vers\xe9s"},filter:"Filtrer",finishEditingFile:"Terminer lâ\xe9dition du fichier",flipHorizontal:"Retourner horizontalement",folderAdded:{0:"%{smart_count} fichier ajout\xe9 de %{folder}",1:"%{smart_count} fichiers ajout\xe9s de %{folder}"},folderAlreadyAdded:'Le dossier "%{folder}" a d\xe9j\xe0 \xe9t\xe9 ajout\xe9',generatingThumbnails:"G\xe9n\xe9ration des vignettesâ¦",import:"Importer",importFiles:"Importer des fichiers depuis :",importFrom:"Importer de %{name}",inferiorSize:"Ce fichier est plus petit que la taille autoris\xe9e de %{size}",loadedXFiles:"Charg\xe9 %{numFiles} fichiers",loading:"Chargementâ¦",logOut:"D\xe9connexion",micDisabled:"Acc\xe8s au micro refus\xe9 par lâutilisateur",missingRequiredMetaField:"Champ m\xe9ta requis manquant",missingRequiredMetaFieldOnFile:"Champs m\xe9ta requis manquants dans %{fileName}",missingRequiredMetaFields:{0:"Champ m\xe9ta requis manquant : %{fields}.",1:"Champs m\xe9ta requis manquants : %{fields}."},myDevice:"Mon Appareil",noAudioDescription:"Pour enregistrer de lâaudio, veuillez connecter un microphone ou un autre appareil dâentr\xe9e audio",noAudioTitle:"Microphone non disponible",noCameraDescription:"Pour prendre des photos ou enregistrer une vid\xe9o, veuillez connecter une cam\xe9ra",noDuplicates:'Impossible dâajouter le fichier "%{fileName}", il existe d\xe9j\xe0',noFilesFound:"Vous nâavez aucun fichier ou dossier ici",noInternetConnection:"Pas de connexion \xe0 Internet",noMoreFilesAllowed:"Impossible dâajouter de nouveaux fichiers: en cours de chargement ",noSearchResults:"Malheureusement, il nây a aucun r\xe9sultat pour cette recherche",openFolderNamed:"Ouvrir %{name}",pause:"Pause",pauseUpload:"Mettre en pause le t\xe9l\xe9versement",paused:"En pause",poweredBy:"Propuls\xe9 par %{uppy}",processingXFiles:{0:"Traitement de %{smart_count} fichier",1:"Traitement de %{smart_count} fichiers"},recording:"Enregistrement",recordingLength:"Dur\xe9e dâenregistrement %{recording_length}",recordingStoppedMaxSize:"Lâenregistrement sâest arr\xe9t\xe9 car la taille du fichier d\xe9passe la limite",recordVideoBtn:"Enregistrer une vid\xe9o",recoveredAllFiles:"Nous avons restaur\xe9 tous les fichiers. Vous pouvez maintenant reprendre le t\xe9l\xe9versement.",recoveredXFiles:{0:"Nous nâavons pas pu r\xe9cup\xe9rer enti\xe8rement 1 fichier. Veuillez le res\xe9lectionner et reprendre le t\xe9l\xe9versement.",1:"Nous nâavons pas pu r\xe9cup\xe9rer enti\xe8rement %{smart_count} fichiers. Veuillez les res\xe9lectionner et reprendre le t\xe9l\xe9versement."},removeFile:"Effacer le fichier %{file}",resetFilter:"R\xe9initialiser filtre",resume:"Reprendre",resumeUpload:"Reprendre le t\xe9l\xe9versement",retry:"R\xe9essayer",retryUpload:"R\xe9essayer le t\xe9l\xe9versement",reSelect:"Res\xe9lectionner",save:"Sauvegarder",saveChanges:"Sauvegarder les modifications",selectFileNamed:"S\xe9lectionner le fichier %{name}",selectX:{0:"S\xe9lectionner %{smart_count}",1:"S\xe9lectionner %{smart_count}"},sessionRestored:"Session restaur\xe9e",signInWithGoogle:"Se connecter avec Google",smile:"Souriez !",startRecording:"Commencer lâenregistrement vid\xe9o",stopRecording:"Arr\xeater lâenregistrement vid\xe9o",streamActive:"Stream actif",streamPassive:"Stream passif",submitRecordedFile:"Envoyer la vid\xe9o enregistr\xe9e",takePicture:"Prendre une photo",takePictureBtn:"Prendre une photo",timedOut:"T\xe9l\xe9versement bloqu\xe9 durant %{seconds} secondes, annulation.",unselectFileNamed:"D\xe9s\xe9lectionner le fichier %{name}",upload:"T\xe9l\xe9verser",uploadComplete:"T\xe9l\xe9versement termin\xe9",uploadFailed:"Le t\xe9l\xe9versement a \xe9chou\xe9",uploadPaused:"T\xe9l\xe9versement mis en pause",uploadStalled:"T\xe9l\xe9versement bloqu\xe9 depuis %{seconds} secondes. Il est peut-\xeatre n\xe9cessaire de recommencer lâop\xe9ration.",uploadXFiles:{0:"T\xe9l\xe9verser %{smart_count} fichier",1:"T\xe9l\xe9verser %{smart_count} fichiers"},uploadXNewFiles:{0:"T\xe9l\xe9verser +%{smart_count} fichier",1:"T\xe9l\xe9verser +%{smart_count} fichiers"},uploading:"T\xe9l\xe9versement en cours",uploadingXFiles:{0:"T\xe9l\xe9versement de %{smart_count} fichier",1:"T\xe9l\xe9versement de %{smart_count} fichiers"},xFilesSelected:{0:"%{smart_count} fichier s\xe9lectionn\xe9",1:"%{smart_count} fichiers s\xe9lectionn\xe9s"},xMoreFilesAdded:{0:"%{smart_count} autre fichier ajout\xe9",1:"%{smart_count} autres fichiers ajout\xe9s"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"Vous pouvez seulement t\xe9l\xe9verser: %{types}",youCanOnlyUploadX:{0:"Vous pouvez seulement t\xe9l\xe9verser %{smart_count} fichier",1:"Vous pouvez seulement t\xe9l\xe9verser %{smart_count} fichiers"},youHaveToAtLeastSelectX:{0:"Vous devez s\xe9lectionner au moins %{smart_count} fichier",1:"Vous devez s\xe9lectionner au moins %{smart_count} fichiers"}},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.fr_FR=n),r.Z=n},35968:function(t,r){"use strict";let n={strings:{},pluralize:()=>0};n.strings={addMore:"Adj hozz\xe1 t\xf6bbet",addMoreFiles:"Tov\xe1bbi f\xe1jlok hozz\xe1ad\xe1sa",addingMoreFiles:"Tov\xe1bbi f\xe1jlok hozz\xe1ad\xe1sa",allowAccessDescription:"A k\xe9pek vagy vide\xf3 felv\xe9tel\xe9hez, k\xe9rj\xfck enged\xe9lyezze a kamera haszn\xe1lat\xe1t ezen az oldalon.",allowAccessTitle:"Enged\xe9lyezze a kamera haszn\xe1lat\xe1t",authenticateWith:"Kapcsol\xf3d\xe1s a %{pluginName}-val",authenticateWithTitle:"K\xe9rj\xfck l\xe9pjen be a %{pluginName}-ba a f\xe1jlok kiv\xe1laszt\xe1s\xe1hoz",back:"Vissza",browse:"v\xe1lasszon",browseFiles:"v\xe1lasszon",browseFolders:"v\xe1lasszon mapp\xe1t",cancel:"M\xe9gse",cancelUpload:"Felt\xf6lt\xe9s megszak\xedt\xe1sa",chooseFiles:"F\xe1jlok kiv\xe1laszt\xe1sa",closeModal:"Ablak bez\xe1r\xe1sa",companionError:"A Companion-hoz t\xf6rt\xe9nÅ kapcsol\xf3d\xe1s nem siker\xfclt",complete:"K\xe9sz",connectedToInternet:"Kapcsol\xf3dott az internethez",copyLink:"Link m\xe1sol\xe1sa",copyLinkToClipboardFallback:"M\xe1solja ki az al\xe1bbi URL-t",copyLinkToClipboardSuccess:"Link a v\xe1g\xf3lapra m\xe1solva",creatingAssembly:"Felt\xf6lt\xe9s elÅk\xe9sz\xedt\xe9se...",creatingAssemblyFailed:"Transloadit: Nem siker\xfclt l\xe9trehozni az Assembly-t",dashboardTitle:"F\xe1jlfelt\xf6ltÅ",dashboardWindowTitle:"F\xe1jlfelt\xf6ltÅ ablak (Escape a bez\xe1r\xe1shoz)",dataUploadedOfTotal:"%{complete} / %{total}",done:"K\xe9sz",dropHereOr:"H\xfazza ide vagy %{browse} f\xe1jlt",dropHint:"H\xfazza ide a f\xe1jlokat",dropPasteBoth:"H\xfazza ide a f\xe1jlokat vagy %{browse}",dropPasteFiles:"H\xfazza ide a f\xe1jlokat vagy %{browse}",dropPasteFolders:"H\xfazza ide a f\xe1jlokat vagy %{browseFolders}",dropPasteImportBoth:"H\xfazza ide a f\xe1jlokat, %{browse} vagy import\xe1ljon:",dropPasteImportFiles:"H\xfazza ide a f\xe1jlokat, %{browse} vagy import\xe1ljon:",dropPasteImportFolders:"H\xfazza ide a f\xe1jlokat, %{browseFolders} vagy import\xe1ljon:",editFile:"F\xe1jl szerkeszt\xe9se",editImage:"K\xe9p szerkeszt\xe9se",editing:"%{file} szerkeszt\xe9se",emptyFolderAdded:"Az \xfcres mapp\xe1b\xf3l nem ker\xfcltek f\xe1jlok hozz\xe1ad\xe1sra",encoding:"K\xf3dol\xe1s...",enterCorrectUrl:"\xc9rv\xe9nytelen URL: Bizonyosodjon meg r\xf3la, hogy egy f\xe1jlra mutat\xf3 k\xf6zvetlen linket \xedr be",enterUrlToImport:"Adjon meg egy
20URL-t a f\xe1jl import\xe1l\xe1s\xe1hoz",exceedsSize:"Ez a f\xe1jl meghaladja a maxim\xe1lis megengedett m\xe9retet %{size}",failedToFetch:"A Companion-nak nem siker\xfclt az URL let\xf6lt\xe9se, gyÅz\xf6dj\xf6n meg az URL helyess\xe9g\xe9rÅl",failedToUpload:"%{file}-t nem siker\xfclt felt\xf6lteni",fileSource:"F\xe1jl forr\xe1sa: %{name}",filesUploadedOfTotal:"A %{smart_count}-b\xf3l %{complete} f\xe1jl felt\xf6ltve",filter:"SzűrÅ",finishEditingFile:"F\xe1jl szerkeszt\xe9s\xe9nek befejez\xe9se",folderAdded:"A %{folder}-b\xf3l %{smart_count} f\xe1jl hozz\xe1adva",import:"Import\xe1l\xe1s",importFrom:"Import\xe1l\xe1s innen: %{name}",loading:"T\xf6lt\xe9s...",logOut:"Kijelentkez\xe9s",myDevice:"Eszk\xf6z\xf6m",noFilesFound:"Nem tal\xe1lhat\xf3ak f\xe1jlok vagy k\xf6nyvt\xe1rak",noInternetConnection:"Nincsen Internetkapcsolat",pause:"Sz\xfcnet",pauseUpload:"Felt\xf6lt\xe9s sz\xfcneteltet\xe9se",paused:"Sz\xfcneteltetve",poweredBy:"Meghajtja az %{uppy}",processingXFiles:"%{smart_count} f\xe1jl feldolgoz\xe1sa",removeFile:"F\xe1jl t\xf6rl\xe9se",resetFilter:"SzűrÅ vissza\xe1ll\xedt\xe1sa",resume:"Folytat\xe1s",resumeUpload:"Felt\xf6lt\xe9s folytat\xe1sa",retry:"\xdajra",retryUpload:"Pr\xf3b\xe1lja \xfajra a felt\xf6lt\xe9st",saveChanges:"V\xe1ltoztat\xe1sok ment\xe9se",selectX:"V\xe1lassza az %{smart_count} lehetÅs\xe9get",smile:"Cs\xed\xed\xedz!",startRecording:"Vide\xf3felt\xe9vel indul",stopRecording:"Vide\xf3felv\xe9tel meg\xe1ll",takePicture:"F\xe9nyk\xe9p",timedOut:"A felt\xf6lt\xe9s elakadt %{seconds} m\xe1sodpercig, a felt\xf6lt\xe9s le\xe1ll.",upload:"Felt\xf6lt\xe9s",uploadComplete:"A felt\xf6lt\xe9s k\xe9sz",uploadFailed:"Sikertelen felt\xf6lt\xe9s",uploadPaused:"Sz\xfcneteltetett felt\xf6lt\xe9s",uploadXFiles:"%{smart_count} f\xe1jl felt\xf6lt\xe9se",uploadXNewFiles:"+%{smart_count} f\xe1jl felt\xf6lt\xe9se",uploading:"Felt\xf6l\xe9s",uploadingXFiles:"+%{smart_count} f\xe1jl felt\xf6lt\xe9se",xFilesSelected:"%{smart_count} f\xe1jl kiv\xe1lasztva",xMoreFilesAdded:"tov\xe1bbi %{smart_count} f\xe1jl hozz\xe1adva",xTimeLeft:"%{time} van h\xe1tra",youCanOnlyUploadFileTypes:"Felt\xf6lthetÅ form\xe1tumok: %{types}",youCanOnlyUploadX:"Csak %{smart_count} f\xe1jl t\xf6lthetÅ fel",youHaveToAtLeastSelectX:"Legal\xe1bb %{smart_count} f\xe1jlt ki kell v\xe1lasztania",selectFileNamed:"V\xe1laszd ki a f\xe1jlt %{name}",unselectFileNamed:"A f\xe1jl t\xf6rl\xe9se %{name}",openFolderNamed:"Nyitott mappa %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.hu_HU=n),r.Z=n},13509:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"Tambahkan lebih banyak",addMoreFiles:"Tambahkan lebih banyak berkas",addingMoreFiles:"Menambahkan lebih banyak berkas",allowAccessDescription:"Untuk mengambil gambar atau merekam video menggunakan kamera Anda, mohon izinkan akses kamera untuk situs ini.",allowAccessTitle:"Mohon izinkan akses ke kamera Anda.",authenticateWith:"Menghubungkan ke %{pluginName}",authenticateWithTitle:"Silahkan mengotentifikasi menggunakan %{pluginName} untuk memilih berkas",back:"Kembali",browse:"Telusuri",browseFiles:"Telusuri",cancel:"Batal",cancelUpload:"Batalkan pengungahan",chooseFiles:"Pilih berkas",closeModal:"Tutup Modal",companionError:"Koneksi ke Companion gagal",complete:"Komplit",connectedToInternet:"Terhubung ke Internet",copyLink:"Salin tautan",copyLinkToClipboardFallback:"Salin URL di bawah ini",copyLinkToClipboardSuccess:"Tautan berhasil disalin ke Clipboard",creatingAssembly:"Menyiapkan unggahan...",creatingAssemblyFailed:"Transloadit: Tidak dapat membuat Assembly",dashboardTitle:"Pengunggah Berkas",dashboardWindowTitle:"Jendela Pengunggah Berkas (Tekan escape untuk menutup)",dataUploadedOfTotal:"%{complete} dari %{total}",done:"Selesai",dropHereOr:"Letakkan berkas di sini atau %{browse}",dropHint:"Letakkan berkas Anda di sini",dropPasteBoth:"Letakkan berkas di sini, tempelkan atau %{browse}",dropPasteFiles:"Letakkan berkas di sini, tempelkan atau %{browse}",dropPasteFolders:"Letakkan berkas di sini, tempelkan atau %{browse}",dropPasteImportBoth:"Letakkan berkas, tempelkan, %{browse} atau impor dari",dropPasteImportFiles:"Letakkan berkas, tempelkan, %{browse} atau impor dari",dropPasteImportFolders:"Letakkan berkas, tempelkan, %{browse} atau impor dari",editFile:"Ubah berkas",editImage:"Edit gambar",editing:"Mengubah %{file}",emptyFolderAdded:"Tidak ada berkas yang ditambahkan dari direktori kosong",encoding:"Pengkodean...",enterCorrectUrl:"URL salah: Mohon pastikan Anda memasukkan tautan langsung ke berkas",enterUrlToImport:"Masukkan URL untuk mengimpor berkas",exceedsSize:"Berkas ini melebihi ukuran maksimum yang dibolehkan %{size}",failedToFetch:"Companion gagal mengambil URL ini, pastikan sudah benar",failedToUpload:"Gagal mengunggah %{file}",fileSource:"Sumber berkas: %{name}",filesUploadedOfTotal:{0:"%{complete} dari %{smart_count} berkas terunggah",1:"%{complete} dari %{smart_count} berkas terunggah"},filter:"Penyaring",finishEditingFile:"Selesai mengubah berkas",folderAdded:{0:"Menambahkan %{smart_count} berkas dari %{folder}",1:"Menambahkan %{smart_count} berkas dari %{folder}"},import:"Impor",importFrom:"Impor dari %{name}",loading:"Memuat...",logOut:"Keluar",myDevice:"Perangkat Saya",noFilesFound:"Anda tidak memiliki berkas atau direktori di sini",noInternetConnection:"Tidak ada koneksi Internet",openFolderNamed:"Buka direktori %{name}",pause:"Tunda",pauseUpload:"Tunda pengungahan",paused:"Ditunda",poweredBy:"Didukung oleh %{uppy}",processingXFiles:{0:"Pemrosesan %{smart_count} berkas",1:"Pemrosesan %{smart_count} berkas"},removeFile:"Hapus berkas",resetFilter:"Setel ulang penyaring",resume:"Lanjutkan",resumeUpload:"Lanjutkan pengungahan",retry:"Ulangi",retryUpload:"Ulangi pengungahan",saveChanges:"Simpan perubahan",selectFileNamed:"Pilih berkas %{name}",selectX:{0:"Pilih %{smart_count}",1:"Pilih %{smart_count}"},smile:"Senyum!",startRecording:"Memulai perekaman video",stopRecording:"Menghentikan perekaman video",takePicture:"Mengambil gambar",timedOut:"Pengunggahan terhenti untuk %{seconds} detik, membatalkan.",unselectFileNamed:"Batalkan pemilihan berkas %{name}",upload:"Unggah",uploadComplete:"Pengunggahan selesai",uploadFailed:"Pengunggahan gagal",uploadPaused:"Pengunggahan ditunda",uploadXFiles:{0:"Unggah %{smart_count} berkas",1:"Unggah %{smart_count} berkas"},uploadXNewFiles:{0:"Mengunggah +%{smart_count} berkas baru",1:"Mengunggah +%{smart_count} berkas baru"},uploading:"Mengunggah",uploadingXFiles:{0:"Mengunggah %{smart_count} berkas",1:"Mengunggah %{smart_count} berkas"},xFilesSelected:{0:"%{smart_count} berkas terpilih",1:"%{smart_count} berkas terpilih"},xMoreFilesAdded:{0:"%{smart_count} berkas lagi ditambahkan",1:"%{smart_count} berkas lagi ditambahkan"}
20,xTimeLeft:"Tersisa %{time}",youCanOnlyUploadFileTypes:"Anda hanya dapat menggunggah: %{types}",youCanOnlyUploadX:{0:"Anda hanya dapat mengunggah %{smart_count} berkas",1:"Anda hanya dapat mengunggah %{smart_count} berkas"},youHaveToAtLeastSelectX:{0:"Anda harus memilih minimal %{smart_count} berkas",1:"Anda harus memilih minimal %{smart_count} berkas"}},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.id_ID=n),r.Z=n},8019:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMoreFiles:"Aggiungi pi\xf9 file",addingMoreFiles:"Sto aggiungendo altri file",allowAccessDescription:"Per acquisire foto o video con la tua fotocamera, abilitane l'accesso da questo sito.",allowAccessTitle:"Abilita l'accesso alla fotocamera",authenticateWith:"Connetti a %{pluginName}",authenticateWithTitle:"Autenticati con %{pluginName} per selezionare i file",back:"Indietro",addMore:"Aggiungi pi\xf9",browse:"sfoglia",browseFiles:"sfoglia",cancel:"Annulla",cancelUpload:"Annulla upload",chooseFiles:"Scegli i file",closeModal:"Chiudi modale",companionError:"Connessione con Companion fallita",complete:"Completato",connectedToInternet:"Connesso a internet",copyLink:"Copia link",copyLinkToClipboardFallback:"Copia l'URL sottostante",copyLinkToClipboardSuccess:"Link copiato",creatingAssembly:"Upload in preparazione...",creatingAssemblyFailed:"Transloadit: Non ho potuto creare l'Assembly",dashboardTitle:"File Uploader",dashboardWindowTitle:"File Uploader (Premi Esc per chiudere)",dataUploadedOfTotal:"%{complete} di %{total}",done:"Fatto",dropHereOr:"Trascina i file qui o %{browse}",dropHint:"Trascina i file qui",dropPasteBoth:"Trascina i file qui, incolla o %{browse}",dropPasteFiles:"Trascina i file qui, incolla o %{browse}",dropPasteFolders:"Trascina i file qui, incolla o %{browse}",dropPasteImportBoth:"Trascina i file qui, incolla, %{browse} o importa da",dropPasteImportFiles:"Trascina i file qui, incolla, %{browse} o importa da",dropPasteImportFolders:"Trascina i file qui, incolla, %{browse} o importa da",editFile:"Modifica file",editImage:"Modifica immagine",editing:"Modifica %{file}",emptyFolderAdded:"Nessun file aggiunto dalla cartella vuota",encoding:"Encoding...",enterCorrectUrl:"URL non corretta: assicurati che sia un link diretto ad un file",enterUrlToImport:"Immetti l'URL per importare un file",exceedsSize:"Questo file supera la dimensione massima di %{size}",failedToFetch:"Impossibile verificare questa URL, assicurati che sia corretta",failedToUpload:"Upload del file %{file} non riuscito",fileSource:"Sorgente file: %{name}",filesUploadedOfTotal:{0:"%{complete} di %{smart_count} file caricato",1:"%{complete} di %{smart_count} file caricati"},filter:"Filter",finishEditingFile:"Finish editing file",folderAdded:{0:"Aggiunto %{smart_count} file da %{folder}",1:"Aggiunti %{smart_count} file da %{folder}"},import:"Importa",importFrom:"Importa da %{name}",loading:"Caricamento...",logOut:"Logout",myDevice:"Il mio computer",noFilesFound:"Non hai file o cartelle qui",noInternetConnection:"Nessuna connessione a internet",pause:"Pausa",pauseUpload:"Pausa upload",paused:"In pausa",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"Sto processando %{smart_count} file",1:"Sto processando %{smart_count} file"},removeFile:"Rimuovi il file",resetFilter:"Ripristina filtro",resume:"Riprendi",resumeUpload:"Riprendi l'upload",retry:"Riprova",retryUpload:"Riprova l'upload",save:"Salva",saveChanges:"Salva le modifiche",selectX:{0:"Seleziona %{smart_count}",1:"Seleziona %{smart_count}"},smile:"Sorridi!",startRecording:"Inizia la registrazione del video",stopRecording:"Interrompi la registrazione del video",takePicture:"Scatta una foto",timedOut:"Upload fermo da %{seconds} secondi, sto annullando.",upload:"Upload",uploadComplete:"Upload completato",uploadFailed:"Upload non riuscito",uploadPaused:"Upload in pausa",uploadXFiles:{0:"Upload di %{smart_count} file",1:"Upload di %{smart_count} file"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} file"},uploading:"In caricamento",uploadingXFiles:{0:"Caricando %{smart_count}
20 file",1:"Caricando %{smart_count} file"},xFilesSelected:{0:"%{smart_count} file selezionato",1:"%{smart_count} file selezionati"},xMoreFilesAdded:{0:"%{smart_count} alto file aggiunto",1:"%{smart_count} altri file aggiunti"},xTimeLeft:"%{time} rimasto",youCanOnlyUploadFileTypes:"Puoi caricare solamente: %{types}",youCanOnlyUploadX:{0:"Puoi caricare %{smart_count} solo file",1:"Puoi caricare solo %{smart_count} file"},youHaveToAtLeastSelectX:{0:"Devi selezionare almeno %{smart_count} file",1:"Devi selezionare almeno %{smart_count} file"},selectFileNamed:"Seleziona il file %{name}",unselectFileNamed:"Deseleziona il file %{name}",openFolderNamed:"Cartella aperta %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.it_IT=n),r.Z=n},45825:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"ããã«è¿½å ",addMoreFiles:"ãã¡ã¤ã«ã追å ",addingMoreFiles:"ãã¡ã¤ã«ã追å ãã¦ãã¾ã",allowAccessDescription:"ã«ã¡ã©ããããªã®æ©è½ã使ç¨ããã«ã¯ãã«ã¡ã©ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã¦ãã ããã",allowAccessTitle:"ã«ã¡ã©ã¸ã®ã¢ã¯ã»ã¹ã許å¯ãã¦ãã ãã",authenticateWith:"%{pluginName}ã«æ¥ç¶ãã¾ã",authenticateWithTitle:"ãã¡ã¤ã«ã鏿ããã«ã¯%{pluginName}ã§èªè¨¼ãã¦ãã ãã",back:"æ»ã",browse:"åç
§",browseFiles:"åç
§",cancel:"ãã£ã³ã»ã«",cancelUpload:"ã¢ãããã¼ãããã£ã³ã»ã«",chooseFiles:"ãã¡ã¤ã«ã鏿",closeModal:"ã¢ã¼ãã«ãéãã",companionError:"Companionã¨ã®æ¥ç¶ã«å¤±æãã¾ãã",complete:"å®äºãã¾ãã",compressingImages:"ç»åãå§ç¸®ä¸...",compressedX:"ç»åå§ç¸®ã«ãã%{size}ãç¯ç´ãã¾ãã",connectedToInternet:"ã¤ã³ã¿ã¼ãããã«æ¥ç¶ãã¾ãã",copyLink:"ãªã³ã¯ãã³ãã¼",copyLinkToClipboardFallback:"以ä¸ã®URLãã³ãã¼",copyLinkToClipboardSuccess:"ãªã³ã¯ãã¯ãªãããã¼ãã«ã³ãã¼ãã¾ãã",creatingAssembly:"ã¢ãããã¼ãã®æºåããã¦ãã¾ã...",creatingAssemblyFailed:"Transloadit: ã¢ã»ã³ããªã使ã§ãã¾ããã§ãã",dashboardTitle:"ãã¡ã¤ã«ã¢ãããã¼ãã¼",dashboardWindowTitle:"ãã¡ã¤ã«ã¢ãããã¼ãã¼ã¦ã£ã³ãã¦ï¼éããã«ã¯Escapeãã¼ãæ¼ãã¦ãã ããï¼",dataUploadedOfTotal:"%{total} %{complete}",done:"å®äºãã¾ãã",dropHereOr:"ããã«ãã¡ã¤ã«ãããããããã%{browse}ãã¦ãã ãã",dropHint:"ããã«ãã¡ã¤ã«ããããããã¦ãã ãã",dropPasteBoth:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãã¦ãã ãã",dropPasteFiles:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãã¦ãã ãã",dropPasteFolders:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãã¦ãã ãã",dropPasteImportBoth:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãããã以ä¸ããã¤ã³ãã¼ããã¦ãã ãã",dropPasteImportFiles:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãããã以ä¸ããã¤ã³ãã¼ããã¦ãã ãã",dropPasteImportFolders:"ããã«ãã¡ã¤ã«ãããããããããè²¼ãä»ãããã%{browse}ãããã以ä¸ããã¤ã³ãã¼ããã¦ãã ãã",editFile:"ãã¡ã¤ã«ãç·¨é",editImage:"ç»åãç·¨é",editing:"%{file}ãç·¨éãã¦ãã¾ã",emptyFolderAdded:"ãã©ã«ãã空ãªãããã¡ã¤ã«ã追å ããã¾ããã§ãã",encoding:"ã¨ã³ã³ã¼ããã¦ãã¾ã...",enterCorrectUrl:"䏿£ãªURL: ãã¡ã¤ã«ã¸ã®ç´æ¥ãªã³ã¯ãå
¥åããã¦ãããã¨ã確èªãã¦ãã ãã",enterUrlToImport:"ãã¡ã¤ã«ãã¤ã³ãã¼ãããããã®URLãå
¥åãã¦ãã ãã",exceedsSize:"ãã¡ã¤ã«ãµã¤ãºã大ãããã¾ã %{size}",failedToFetch:"CompanionãURLãåå¾ã§ãã¾ããã§ãããURLãæ£ããã確èªãã¦ãã ãã",failedToUpload:"%{file}ã®ã¢ãããã¼ãã«å¤±æãã¾ãã",fileSource:"å
ãã¡ã¤ã«ï¼%{name}",filesUploadedOfTotal:{0:"%{smart_count} åã®ãã¡ã¤ã«ã®ã¢ãããã¼ãã%{complete}",1:"%{smart_count} åã®ãã¡ã¤ã«ã®ã¢ãããã¼ãã%{complete}"},filter:"ãã£ã«ã¿",finishEditingFile:"ãã¡ã¤ã«ã®ç·¨éãçµäº",folderAdded:{0:"%{folder} ãã% {smart_count} åã®ãã¡ã¤ã«ã追å ãã¾ãã",1:"%{folder} ãã% {smart_count} åã®ãã¡ã¤ã«ã追å ãã¾ãã"},import:"ã¤ã³ãã¼ã",importFrom:"%{name}ããã¤ã³ãã¼ã",loading:"ãã¼ãä¸...",logOut:"ãã°ã¢ã¦ã",myDevice:"ãã¤ããã¤ã¹",noFilesFound:"ãã¡ã¤ã«ããã©ã«ããããã¾ãã",noInternetConnection:"ã¤ã³ã¿ã¼ãããæ¥ç¶ãããã¾ãã",pause:"䏿忢",pauseUpload:"ã¢ãããã¼ãã䏿忢",paused:"忢ä¸",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"%{smart_count} ãã¡ã¤ã«å¦çä¸",1:"%{smart_count} ãã¡ã¤ã«å¦çä¸"},removeFile:"ãã¡ã¤ã«ãæ¶ã",resetFilter:"ãã£ã«ã¿ããªã»ãã",resume:"åé",resumeUpload:"ã¢ãããã¼ããåé",retry:"ãªãã©ã¤",retryUpload:"ã¢ãããã¼ãããªãã©ã¤",saveChanges:"夿´ãä¿å",selectX:{0:"%{smart_count} ã鏿",1:"%{smart_count} ã鏿"},smile:"ã¹ãã¤ã«ãï¼",startRecording:"é²ç»éå§",stopRecording:"é²ç»åæ¢",takePicture:"åçãæ®ã",timedOut:"ã¢ãããã¼ãã %{seconds} ç§éæ¢ã¾ã£ãçºä¸æãã¾ãã",upload:"ã¢ãããã¼ã",uploadComplete:"ã¢ãããã¼ãå®äº",uploadFailed:"ã¢ãããã¼ãå
20¤±æ",uploadPaused:"ã¢ãããã¼ã䏿忢",uploadXFiles:{0:"%{smart_count} ãã¡ã¤ã«ãã¢ãããã¼ã",1:"%{smart_count} ãã¡ã¤ã«ãã¢ãããã¼ã"},uploadXNewFiles:{0:"+%{smart_count} ãã¡ã¤ã«ãã¢ãããã¼ã",1:"+%{smart_count} ãã¡ã¤ã«ãã¢ãããã¼ã"},uploading:"ã¢ãããã¼ãä¸",uploadingXFiles:{0:"%{smart_count} ãã¡ã¤ã«ã¢ãããã¼ãä¸",1:"%{smart_count} ãã¡ã¤ã«ã¢ãããã¼ãä¸"},xFilesSelected:{0:"%{smart_count} ãã¡ã¤ã«ã鏿",1:"%{smart_count} ãã¡ã¤ã«ã鏿"},xMoreFilesAdded:{0:"%{smart_count} ãã¡ã¤ã«ã追å ",1:"%{smart_count} ãã¡ã¤ã«ã追å "},xTimeLeft:"æ®ã %{time}",youCanOnlyUploadFileTypes:"許å¯ããã¦ãããã¡ã¤ã«å½¢å¼ã¯æ¬¡ã®ç©ã§ã: %{types}",youCanOnlyUploadX:{0:"%{smart_count} ãã¡ã¤ã«æ°ã®ã¿ã¢ãããã¼ãå¯è½ã§ã",1:"%{smart_count} ãã¡ã¤ã«æ°ã®ã¿ã¢ãããã¼ãå¯è½ã§ã"},youHaveToAtLeastSelectX:{0:"æä½ã§ã %{smart_count} ãã¡ã¤ã«é¸æãã¦ãã ãã",1:"æä½ã§ã %{smart_count} ãã¡ã¤ã«é¸æãã¦ãã ãã"},selectFileNamed:"ãã¡ã¤ã«ãé¸ã¶ %{name}",unselectFileNamed:"ãã¡ã¤ã«ã®é¸æãè§£é¤ %{name}",openFolderNamed:"éãããã©ã«ã %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.ja_JP=n),r.Z=n},80340:function(t,r){"use strict";let n={strings:{},pluralize:()=>0};n.strings={addMore:"íì¼ ì¶ê°",addMoreFiles:"íì¼ ì¶ê°",addingMoreFiles:"íì¼ ì¶ê° ì¤",allowAccessDescription:"ì¹´ë©ë¼ë¥¼ ì´ì©í´ ì¬ì§ì´ë ììì ì°ê¸° ìí´ì ì´ ì¬ì´í¸ì ì¹´ë©ë¼ ì ê·¼ ê¶íì íì©í´ 주ì¸ì.",allowAccessTitle:"ì¹´ë©ë¼ ì¬ì© ê¶íì íì©í´ 주ì¸ì.",authenticateWith:"%{pluginName} ì°ê²°",authenticateWithTitle:"íì¼ì ì íí기 ìí´ %{pluginName}ì ì°ê²°í´ 주ì¸ì.",back:"ë¤ë¡",browse:"ì í",browseFiles:"íì¼ ì í",browseFolders:"í´ë ì í",cancel:"ì·¨ì",cancelUpload:"ì
ë¡ë ì·¨ì",chooseFiles:"íì¼ ì í",closeModal:"ì°½ ë«ê¸°",companionError:"ì°ê²° ì¤í¨",companionUnauthorizeHint:"%{provider} ì°ê²° í´ì 를 ìíìë©´ %{url}ì 방문íì¸ì",complete:"ìë£",connectedToInternet:"ì¸í°ë·ì ì°ê²°ë¨",copyLink:"ë§í¬ ë³µì¬",copyLinkToClipboardFallback:"ìë URLì ë³µì¬íì¸ì",copyLinkToClipboardSuccess:"ë§í¬ê° í´ë¦½ë³´ëì ì ì¥ë¨",creatingAssembly:"ì
ë¡ë ì¤ë¹ ì¤...",creatingAssemblyFailed:"Transloadit: ì
ë¡ë를 ìì±í ì ìì",dashboardTitle:"íì¼ ì
ë¡ë",dashboardWindowTitle:"íì¼ ì
ë¡ë ì°½ (ESC를 ë르면 ë«íëë¤.)",dataUploadedOfTotal:"%{complete} / %{total}",done:"ìë£",dropHereOr:"íì¼ì ëëê·¸ ì¤ ëë¡ ëë %{browse}",dropHint:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ í´ì£¼ì¸ì.",dropPasteBoth:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFiles}, %{browseFolders}",dropPasteFiles:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFiles}",dropPasteFolders:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFolders}",dropPasteImportBoth:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFiles}, %{browseFolders}, ì´ ê²½ë¡ìì ì
ì :",dropPasteImportFiles:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFiles}, ì´ ê²½ë¡ìì ì
ì :",dropPasteImportFolders:"ì¬ê¸°ì íì¼ì ëëê·¸ ì¤ ëë¡ íê±°ë, %{browseFolders}, ì´ ê²½ë¡ìì ì
ì :",editFile:"íì¼ ìì ",editImage:"ì´ë¯¸ì§ ìì ",editing:"%{file} ìì ì¤",emptyFolderAdded:"ë¹ í´ëì
ëë¤.",encoding:"ì¸ì½ë© ì¤...",enterCorrectUrl:"ì³ì§ ìì URL: íì¼ ì£¼ì를 íì¸í´ 주ì¸ì.",enterUrlToImport:"íì¼ URLì ì
ë ¥í´ ì£¼ì¸ì.",exceedsSize:"ì
ë¡ë íì© ì©ë ì´ê³¼ %{size}
20",failedToFetch:"URL ê°ì ¸ì¤ê¸° ì¤í¨. 주ì를 íì¸í´ 주ì¸ì.",failedToUpload:"%{file} ì
ë¡ë ì¤í¨",fileSource:"íì¼ ìì¤: %{name}",filesUploadedOfTotal:"%{complete} / %{smart_count} ìë£ë¨",filter:"íí°",finishEditingFile:"íì¼ ìì ì ìë£íì¸ì.",folderAdded:"%{folder}ìì íì¼ %{smart_count}ê° ì¶ê°",generatingThumbnails:"ì¸ë¤ì¼ ìì± ì¤...",import:"ê°ì ¸ì¤ê¸°",importFrom:"%{name}ìì ê°ì ¸ì¤ê¸°",loading:"ë¶ë¬ì¤ë ì¤...",logOut:"ë¡ê·¸ìì",myDevice:"ë´ ê¸°ê¸°",noFilesFound:"íì¼ì´ë í´ëê° ìì",noInternetConnection:"ì¸í°ë· ì°ê²° ì ë¨",openFolderNamed:"%{name} í´ë ì´ê¸°",pause:"ì¼ìì ì§",pauseUpload:"ì
ë¡ë ì¼ìì ì§",paused:"ì¼ìì ì§ ë¨",poweredBy:"Powered by %{uppy}",processingXFiles:"%{smart_count}ê°ì íì¼ ì²ë¦¬ ì¤",removeFile:"íì¼ ì ê±°",resetFilter:"íí° ì´ê¸°í",resume:"ì¬ê°",resumeUpload:"ì
ë¡ë ì¬ê°",retry:"ì¬ìë",retryUpload:"ì
ë¡ë ì¬ìë",saveChanges:"ë³ê²½ì¬í ì ì¥",selectFileNamed:"%{name} íì¼ ì í",selectX:"%{smart_count}ê° ì í",smile:"Smile!",startRecording:"ë¹ëì¤ ë
¹í ìì",stopRecording:"ë¹ëì¤ ë
¹í ì ì§",takePicture:"ì¬ì§ ì´¬ì",timedOut:"%{seconds}ì´ ëì ì
ë¡ë ì ì§ëì´ ì
ë¡ë를 ì·¨ìí©ëë¤.",unselectFileNamed:"%{name} íì¼ ì í í´ì ",upload:"ì
ë¡ë",uploadComplete:"ì
ë¡ë ìë£",uploadFailed:"ì
ë¡ë ì¤í¨",uploadPaused:"ì
ë¡ë ì ì§ë¨",uploadXFiles:"%{smart_count}ê°ì íì¼ ì
ë¡ë",uploadXNewFiles:"+%{smart_count}ê°ì íì¼ ì
ë¡ë",uploading:"ì
ë¡ë ì¤",uploadingXFiles:"%{smart_count}ê°ì íì¼ ì
ë¡ë ì¤",xFilesSelected:"%{smart_count}ê°ì íì¼ ì íë¨",xMoreFilesAdded:"%{smart_count}ê°ì íì¼ì´ ë ì¶ê° ë¨",xTimeLeft:"%{time} ë¨ì",youCanOnlyUploadFileTypes:"ì
ë¡ë ê°ë¥ íì: %{types}",youCanOnlyUploadX:"%{smart_count}ê°ì íì¼ë§ ì
ë¡ëí ì ììµëë¤",youHaveToAtLeastSelectX:"ìµì %{smart_count}ê°ì íì¼ì ì íí´ì¼ í©ëë¤"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.ko_KR=n),r.Z=n},40846:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Gagal untuk menambah %{smart_count} fail kerana ralat dalaman",1:"Gagal untuk menambah %{smart_count} fail kerana ralat dalaman"},addedNumFiles:"%{numFiles} fail berhasil ditambah",addingMoreFiles:"Menambah lebih banyak fail",additionalRestrictionsFailed:"%{count} sekatan tambahan tidak dipenuhi",addMore:"Tambah lagi",addMoreFiles:"Tambah lebih banyak fail",aggregateExceedsSize:"Anda memilih %{size} fail, tetapi saiz maksimum yang dibenarkan adalah %{sizeAllowed}",allFilesFromFolderNamed:"Semua fail daripada folder %{name}",allowAccessDescription:"Untuk mengambil gambar atau merakam video menggunakan kamera anda, sila benarkan akses kamera untuk laman ini.",allowAccessTitle:"Sila benarkan akses ke kamera anda",allowAudioAccessDescription:"Untuk merakam audio, sila benarkan akses mikrofon untuk laman ini.",allowAudioAccessTitle:"Sila benarkan akses ke mikrofon anda",aspectRatioLandscape:"Pangkas landskap (16:9)",aspectRatioPortrait:"Pangkas potret (9:16)",aspectRatioSquare:"Pangkas segi empat",authAborted:"Pengesahan dibatalkan",authenticateWith:"Sambung ke %{pluginName}",authenticateWithTitle:"Sila sahkan dengan %{pluginName} untuk memilih fail",back:"Kembali",browse:"semak imbas",browseFiles:"semak imbas fail",browseFolders:"semak imbas folder",cancel:"Batal",cancelUpload:"Batal muat naik",chooseFiles:"Pilih fail",closeModal:"Tutup Modal",companionError:"Sambungan ke Companion gagal",companionUnauthorizeHint:"Untuk tidak membenarkan akaun %{provider} anda, sila pergi ke %{url}",complete:"Selesai",compressedX:"%{size} tersimpan dengan memampatkan gambar",compressingImages:"Mampatkan gambar...",connectedToInternet:"Terhubung ke Internet",copyLink:"Salin pautan",copyLinkToClipboardFallback:"Salin URL di bawah",copyLinkToClipboardSuccess:"Pautan disalin ke papan keratan.",creatingAssembly:"Menyediakan muat naik...",creatingAssemblyFailed:"Transloadit: Tidak dapat membuat Perhimpunan",dashboardTitle:"Papan Pemuka Uppy",dashboardWindowTitle:"Tetingkap Papan Pemuka Uppy (Tekan escape untuk menutup)",dataUploadedOfTotal:"%{complete} dari %{total}",discardRecordedFile:"Buang fail yang dirakam",done:"Selesai",dropHereOr:"Letakkan di sini atau %{browse}",dropHint:"Letakkan fail anda di sini",dropPasteBoth:"Letakkan fail di sini, %{browseFiles} atau %{browseFolders}",dropPasteFiles:"Letakkan fail di sini atau %{browseFiles}",dropPasteFolders:"Letakkan folder di sini atau %{browseFolders}",dropPasteImportBoth:"Letakkan folder di sini, %{browseFiles}, %{browseFolders} atau import daripada:",dropPasteImportFiles:"Letakkan fail di sini, %{browseFiles} atau import daripada:",dropPasteImportFolders:"Letakkan fail di sini, %{browseFolders} atau import daripada:",editFile:"Edit fail",editFileWithFilename:"Edit fail %{file}",editImage:"Edit gambar",editing:"Mengedit %{file}",emptyFolderAdded:"Tiada fail yang ditambah daripada folder kosong",encoding:"Pengekodan...",enterCorrectUrl:"URL salah: Sila pastikan anda memasukkan pautan terus ke fail",enterTextToSearch:"Masukkan teks untuk mencari imej",enterUrlToImport:"Masukkan URL untuk mengimport fail",error:"Ralat",exceedsSize:"%{file} melebihi saiz maksimum yang dibenarkan iaitu %{size}",failedToFetch:"Companion gagal mengambil URL ini, sila pastikan URL betul",failedToUpload:"Gagal memuat naik %{file}",filesUploadedOfTotal:{0:"%{complete} dari %{smart_count} fail dimuat naik",1:"%{complete} dari %{smart_count} fail dimuat naik"},filter:"Tapis",finishEditingFile:"Selesai mengedit fail",flipHorizontal:"Flip mendatar",folderAdded:{0:"%{smart_count} fail ditambah dari %{folder}",1:"%{smart_count} fail ditambah dari %{folder}"},folderAlreadyAdded:'Folder "%{folder}" telah pun ditambah',generatingThumbnails:"Menjana lakaran kecil...",import:"Import",importFiles:"Import fail dari:",importFrom:"Import dari %{name}",inferiorSize:"Fail ini lebih kecil daripada saiz yang dibenarkan iaitu %{size}",loadedXFiles:"%{numFiles}
20 fail telah dimuatkan",loading:"Memuatkan...",logOut:"Log keluar",micDisabled:"Akses mikrofon dinafikan oleh pengguna",missingRequiredMetaField:"Medan meta yang diperlukan tiada",missingRequiredMetaFieldOnFile:"Tiada medan meta yang diperlukan dalam %{fileName}",missingRequiredMetaFields:{0:"Medan meta yang diperlukan tiada: %{fields}.",1:"Medan meta yang diperlukan tiada: %{fields}."},myDevice:"Peranti Saya",noAudioDescription:"Untuk merakam audio, sila sambungkan mikrofon atau peranti input audio lain",noAudioTitle:"Microphone Not Available",noCameraDescription:"Untuk mengambil gambar atau merakam video, sila sambungkan peranti kamera",noCameraTitle:"Kamera Tidak Tersedia",noDuplicates:"Tidak boleh menambah fail pendua '%{fileName}', ia sudah wujud",noFilesFound:"Anda tidak mempunyai fail atau folder di sini",noInternetConnection:"Tiada sambungan Internet",noMoreFilesAllowed:"Tidak boleh menambah lebih banyak fail",noSearchResults:"Malangnya, tiada hasil untuk carian ini",openFolderNamed:"Buka folder %{name}",pause:"Jeda",paused:"Dijeda",pauseUpload:"Jeda muat naik",pluginNameAudio:"Audio",pluginNameBox:"Kotak",pluginNameCamera:"Kamera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameScreenCapture:"Screencast",pluginNameUnsplash:"Unsplash",pluginNameUrl:"Link",pluginNameZoom:"Zoom",poweredBy:"Dikuasakan oleh %{uppy}",processingXFiles:{0:"Memproses %{smart_count} fail",1:"Memproses %{smart_count} fail"},recording:"Merakam",recordingLength:"Panjang rakaman %{recording_length}",recordingStoppedMaxSize:"Rakaman dihentikan kerana saiz fail hampir melebihi had",recordVideoBtn:"Rakam Video",recoveredAllFiles:"Kami memulihkan semua fail. Anda kini boleh menyambung semula muat naik.",recoveredXFiles:{0:"Kami tidak dapat memulihkan 1 fail sepenuhnya. Sila pilih semula dan sambung muat naik.",1:"Kami tidak dapat memulihkan %{smart_count} fail sepenuhnya. Sila pilih semula dan sambung muat naik."},removeFile:"Buang fail",reSelect:"Pilih semula",resetFilter:"Tetap semua tapisan",resetSearch:"Tetap semua carian",resume:"Sambung semula",resumeUpload:"Sambung semula muat naik",retry:"Cuba semula",retryUpload:"Cuba semula muat naik",revert:"Tetap semula",rotate:"Putar 90\xb0",save:"Simpan",saveChanges:"Simpan perubahan",search:"Carian",searchImages:"Cari gambar",selectX:{0:"Pilih %{smart_count}",1:"Pilih %{smart_count}"},sessionRestored:"Sesi dipulihkan",showErrorDetails:"Tunjukkan butiran ralat",signInWithGoogle:"Log masuk dengan Google",smile:"Senyum!",startAudioRecording:"Mulakan rakaman audio",startCapturing:"Mulakan tangkapan skrin",startRecording:"Mulakan rakaman video",stopAudioRecording:"Hentikan rakaman audio",stopCapturing:"Hentikan tangkapan skrin",stopRecording:"Hentikan rakaman video",streamActive:"Strim aktif",streamPassive:"Strim pasif",submitRecordedFile:"Serahkan fail yang direkodkan",takePicture:"Ambil gambar",takePictureBtn:"Ambil Gambar",unnamed:"Tidak bernama",upload:"Muat naik",uploadComplete:"Muat naik selesai",uploadFailed:"Muat naik gagal",uploading:"Memuat naik",uploadingXFiles:{0:"Muat naik %{smart_count} fail",1:"Muat naik %{smart_count} fail"},uploadPaused:"Muat naik dijeda",uploadStalled:"Muat naik tidak membuat sebarang kemajuan selama %{seconds} saat. Anda mungkin mahu mencubanya semula.",uploadXFiles:{0:"Muat naik %{smart_count} fail",1:"Muat naik %{smart_count} fail"},uploadXNewFiles:{0:"Muat naik +%{smart_count} fail",1:"Muat naik +%{smart_count} fail"},xFilesSelected:{0:"%{smart_count} fail dipilih",1:"%{smart_count} fail dipilih"},xMoreFilesAdded:{0:"%{smart_count} lagi fail ditambah",1:"%{smart_count} lagi fail ditambah"},xTimeLeft:"%{time} lagi tinggal",youCanOnlyUploadFileTypes:"Anda hanya boleh muat naik: %{types}",youCanOnlyUploadX:{0:"Anda hanya boleh muat naik %{smart_count} fail",1:"Anda hanya boleh muat naik %{smart_count} fail"},youHaveToAtLeastSelectX:{0:"Anda perlu memilih sekurang-kurangnya %{smart_count} fail",1:"Anda perlu memilih sekurang-kurangnya %{smart_count} fail"},zoomIn:"Zum masuk",zoomOut:"Zum keluar"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.ms_MY=n),r.Z=n},56697:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Dodawanie %{smart_count} pliku nie powiodÅo siÄ z powodu bÅÄdu",1:"Dodawanie %{smart_count} plik\xf3w nie powiodÅo siÄ z powodu bÅÄd\xf3w"},addMore:"Dodaj wiÄcej",addMoreFiles:"Dodaj wiÄcej plik\xf3w",addingMoreFiles:"Dodawanie kolejnych plik\xf3w",allowAccessDescription:"Aby zrobiÄ zdjÄcie lub nagraÄ filmik z użyciem wbudowanego aparatu, zezw\xf3l stronie na dostÄp do aparatu",allowAccessTitle:"Zezw\xf3l na dostÄp do aparatu",authenticateWith:"PoÅÄ
cz z %{pluginName}",authenticateWithTitle:"Zaloguj siÄ do %{pluginName} aby wybraÄ pliki",back:"Wstecz",browse:"Wybierz",browseFiles:"PrzeglÄ
daj pliki",cancel:"Anuluj",cancelUpload:"Anuluj przesyÅanie",chooseFiles:"Wybierz pliki",closeModal:"Zamknij",companionError:"PoÅÄ
czenie z serwisem nie powiodÅo siÄ",companionUnauthorizeHint:"Aby wylogowaÄ siÄ\xa0z konta %{provider}, przejdź pod adres %{url}",complete:"UkoÅczono",connectedToInternet:"PoÅÄ
czono z Internetem",copyLink:"Skopiuj link",copyLinkToClipboardFallback:"Skopiuj poniższy adres URL",copyLinkToClipboardSuccess:"Link skopiowany do schowka",creatingAssembly:"Przygotowywanie wysyÅania...",creatingAssemblyFailed:"Transloadit: Niepowodzenie przy tworzeniu zbioru",dashboardTitle:"PrzesyÅanie plik\xf3w",dashboardWindowTitle:"Okno przesyÅania plik\xf3w (NaciÅnij ESC aby zamknÄ
Ä)",dataUploadedOfTotal:"PrzesÅano %{complete} z %{total}",done:"UkoÅczono",dropHereOr:"UpuÅÄ plik tutaj albo %{browse}",dropHint:"UpuÅÄ swoje pliki tutaj",dropPasteBoth:"UpuÅÄ pliki tutaj, wklej, albo %{browse}",dropPasteFiles:"UpuÅÄ pliki tutaj, wklej, albo %{browse}",dropPasteFolders:"UpuÅÄ foldery tutaj, wklej, albo %{browse}",dropPasteImportBoth:"UpuÅÄ pliki tutaj, wklej, %{browse} albo zaimportuj z",dropPasteImportFiles:"UpuÅÄ pliki tutaj, wklej, %{browse} albo zaimportuj z",dropPasteImportFolders:"UpuÅÄ foldery tutaj, wklej, %{browse} albo zaimportuj z",editFile:"Edytuj plik",editImage:"Edytuj obraz",editing:"Edycja %{file}",emptyFolderAdded:"Z pustego folderu nie zostaÅy dodane żadne pliki",encoding:"Transkodowanie...",enterCorrectUrl:"Niepoprawny URL: Upewnij
20siÄ, że wprowadzasz bezpoÅredni adres pliku",enterUrlToImport:"Wprowadź URL, aby zaimportowaÄ plik",exceedsSize:"Plik ma rozmiar wiÄkszy od dozwolonego %{size}",failedToFetch:"Serwis nie m\xf3gÅ przetworzyÄ podanego linku, zweryfikuj jego poprawnoÅÄ",failedToUpload:"PrzesyÅanie %{file} nie powiodÅo siÄ",fileSource:"Źr\xf3dÅo pliku: %{name}",filesUploadedOfTotal:{0:"wysÅano %{complete} z %{smart_count} pliku",1:"wysÅano %{complete} z %{smart_count} plik\xf3w"},filter:"Filtr",finishEditingFile:"ZakoÅcz edycjÄ",folderAdded:{0:"Dodano %{smart_count} plik z folderu %{folder}",1:"Dodano %{smart_count} plik\xf3w z folderu %{folder}"},generatingThumbnails:"Generowanie miniaturek...",import:"Importuj",importFrom:"Importuj z %{name}",loading:"Åadowanie...",logOut:"Wyloguj",myDevice:"Moje urzÄ
dzenie",noDuplicates:"Nie można dodaÄ i zduplikowaÄ pliku '%{fileName}', już istnieje",noFilesFound:"Nie znaleziono plik\xf3w",noInternetConnection:"Brak poÅÄ
czenia z Internetem",noMoreFilesAllowed:"Nie można dodaÄ nowych plik\xf3w: trwa przesyÅanie",openFolderNamed:"Otw\xf3rz folder %{name}",pause:"Wstrzymaj",pauseUpload:"Wstrzymaj przesyÅanie",paused:"Wstrzymano",poweredBy:"Dostarczane przez %{uppy}",processingXFiles:{0:"Przetwarzanie %{smart_count} pliku",1:"Przetwarzanie %{smart_count} plik\xf3w"},recordingLength:"DÅugoÅÄ nagrania %{recording_length}",removeFile:"UsuÅ filtr",resetFilter:"Zresetuj filtr",resume:"Wzn\xf3w",resumeUpload:"Wzn\xf3w przesyÅanie",retry:"Pon\xf3w pr\xf3bÄ",retryUpload:"Pon\xf3w pr\xf3bÄ przesyÅania",saveChanges:"Zapisz zmiany",selectFileNamed:"Wybierz plik %{name}",selectX:{0:"Wybierz %{smart_count}",1:"Wybierz %{smart_count}"},smile:"UÅmiech!",startRecording:"Zacznij nagrywanie wideo",stopRecording:"Zatrzymaj nagrywanie wideo",takePicture:"Zr\xf3b zdjÄcie",timedOut:"PrzesyÅanie wstrzymane przez %{seconds} sekund, przerywanie przesyÅania.",unselectFileNamed:"Odznacz plik %{name}",upload:"Wgrywanie",uploadComplete:"Wgrywanie ukoÅczone",uploadFailed:"Wgrywanie nie powiodÅo siÄ",uploadPaused:"Wgrywanie wstrzymane",uploadXFiles:{0:"Wgraj %{smart_count} plik",1:"Wgraj %{smart_count} pliki"},uploadXNewFiles:{0:"Wgraj +%{smart_count} plik",1:"Wgraj +%{smart_count} pliki"},uploading:"Wgrywanie",uploadingXFiles:{0:"Wgrywanie %{smart_count} pliku",1:"Wgrywanie %{smart_count} plik\xf3w"},xFilesSelected:{0:"%{smart_count} plik zaznaczony",1:"%{smart_count} plik\xf3w zaznaczonych"},xMoreFilesAdded:{0:"dodano %{smart_count} 1 plik wiÄcej",1:"dodano %{smart_count} pliki wiÄcej"},xTimeLeft:"%{time} zostaÅo",youCanOnlyUploadFileTypes:"Możesz przesÅaÄ tylko: %{types}",youCanOnlyUploadX:{0:"Możesz wgraÄ tylko %{smart_count} plik",1:"Możesz wgraÄ tylko %{smart_count} pliki"},youHaveToAtLeastSelectX:{0:"Musisz wybraÄ przynajmniej %{smart_count} plik",1:"Musisz wybraÄ przynajmniej %{smart_count} pliki"}},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.pl_PL=n),r.Z=n},74018:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Falha ao adicionar %{smart_count} arquivo devido a um erro interno",1:"Falha ao adicionar %{smart_count} arquivos devido a erros internos"},addedNumFiles:"%{numFiles} arquivo(s) adicionado(s)",addingMoreFiles:"Adicionando mais arquivos",additionalRestrictionsFailed:"%{count} restri\xe7\xf5es adicionais n\xe3o foram cumpridas",addMore:"Adicionar mais",addMoreFiles:"Adicionar mais arquivos",aggregateExceedsSize:"Voc\xea selecionou %{size} de arquivos, mas o tamanho m\xe1ximo permitido \xe9 %{sizeAllowed}",allFilesFromFolderNamed:"Todos os arquivos da pasta %{name}",allowAccessDescription:"Para poder tirar fotos e gravar v\xeddeos com sua c\xe2mera, por favor permita o acesso a c\xe2mera para esse site.",allowAccessTitle:"Por favor, permita o acesso \xe0 sua c\xe2mera",allowAudioAccessDescription:"Para poder gravar \xe1udio, por favor permita o acesso ao microfone para esse site.",allowAudioAccessTitle:"Por favor, permita o acesso ao microfone",aspectRatioLandscape:"Recortar paisagem (16:9)",aspectRatioPortrait:"Recortar retrato (9:16)",aspectRatioSquare:"Recortar quadrado",authAborted:"Autentica\xe7\xe3o cancelada",authenticate:"Conectar",authenticateWith:"Conectar com %{pluginName}",authenticateWithTitle:"Por favor conecte com %{pluginName} para selecionar arquivos",back:"Voltar",browse:"navegar",browseFiles:"selecionar arquivos",browseFolders:"selecionar pastas",cancel:"Cancelar",cancelUpload:"Cancelar envio",chooseFiles:"Selecionar arquivos",closeModal:"Fechar Janela",companionError:"Conex\xe3o com servi\xe7o falhou",companionUnauthorizeHint:"Para desautorizar sua conta %{provider}, por favor v\xe1 para %{url}",complete:"Concluir",compressedX:"%{size} salvos ao comprimir imagens",compressingImages:"Comprimindo imagens...",connectedToInternet:"Conectado \xe0 internet",copyLink:"Copiar link",copyLinkToClipboardFallback:"Copiar URL abaixo",copyLinkToClipboardSuccess:"Link copiado para a \xe1rea de transfer\xeancia",creatingAssembly:"Preparando envio de arquivos...",creatingAssemblyFailed:"Transloadit: N\xe3o foi poss\xedvel criar o Assembly",dashboardTitle:"Painel de Envio",dashboardWindowTitle:"Painel de envio de arquivos (pressione Esc para fechar)",dataUploadedOfTotal:"%{complete} de %{total}",dataUploadedOfUnknown:"%{complete} de total desconhecido",discardMediaFile:"Descartar m\xeddia",discardRecordedFile:"Descartar grava\xe7\xe3o",done:"Conclu\xeddo",dropHereOr:"Solte ou cole arquivos aqui ou %{browse}",dropHint:"Solte ou cole seus arquivos aqui",dropPasteBoth:"Solte ou cole arquivos aqui, %{browseFiles} ou %{browseFolders}",dropPasteFiles:"Solte ou cole arquivos aqui ou %{browseFiles}",dropPasteFolders:"Solte ou cole arquivos aqui ou %{browseFolders}",dropPasteImportBoth:"Solte ou cole arquivos aqui, %{browseFiles}, %{browseFolders} ou importe de:",dropPasteImportFiles:"Solte ou cole arquivos aqui ou %{browseFiles} ou importe de:",dropPasteImportFolders:"Solte ou cole arquivos aqui ou %{browseFolders} ou importe de:",editFile:"Editar arquivo",editFileWithFilename:"Editar arquivo %{file}",editImage:"Editar imagem",editing:"Editando %{file}",emptyFolderAdded:"Nenhum arquivo foi adicionado da pasta vazia",encoding:"Codificando...",enterCorrectUrl:"URL incorreta: Por favor, certifique-se de que voc\xea inseriu um link direto para um arquivo",enterTextToSearch:"Digite texto para buscar imagens",enterUrlToImport:"Insira a URL para importar um arquivo",error:"Erro",exceedsSize:"%{file} excede o tamanho m\xe1ximo permitido de %{size}",failedToFetch:"Falha ao buscar esta URL. Verifique se ela est\xe1 correta.",failedToUpload:"Falha ao enviar %{file}",filesUploadedOfTotal:{0:"%{complete} de %{smart_count} arquivo enviado",1:"%{complete} de %{smart_count} arquivos enviados"},filter:"Filtrar",finishEditingFile:"Finalizar edi\xe7\xe3o de arquivo",flipHorizontal:"Inverter",folderAdded:{0:"Adicionado %{smart_count} arquivo de %{folder}",1:"Adicionado %{smart_count} arquivos de %{folder}"},folderAlreadyAdded:'A pasta "%{folder}" j\xe1 foi adicionada',generatingThumbnails:"Gerando thumbnails...",import:"Importar",importFiles:"Importar arquivos de:",importFrom:"Importar de %{name}",inferiorSize:"Este arquivo \xe9 menor que o tamanho m\xe1ximo permitido de %{size}",loadedXFiles:"%{numFiles} arquivo(s) carregado(s)",loading:"Carregando...",logIn:"Entrar",logOut:"Sair",micDisabled:"Acesso ao microfone negado pelo usu\xe1rio",missingRequiredMetaField:"Campos meta obrigat\xf3rios faltando",missingRequiredMetaFieldOnFile:"Campos meta obrigat\xf3rios faltando em %{fileName}",missingRequiredMetaFields:{0:"Campo meta obrigat\xf3rio faltando: %{fields}.",1:"Campos meta obrigat\xf3rios faltando: %{fields}."},myDevice:"Meu dispositivo",noAudioDescription:"Para gravar \xe1udio, por favor conecte um microfone ou outro dispositivo de entrada de \xe1udio",noAudioTitle:"Nenhum microfone dispon\xedvel",noCameraDescription:"Para tirar fotos ou gravar v\xeddeos, por favor conecte uma c\xe2mera",noCameraTitle:"Nenhuma c\xe2mera dispon\xedvel",noDuplicates:"N\xe3o \xe9 poss\xedvel adicionar o arquivo '%{fileName}', ele j\xe1 foi adicionado",noFilesFound:"Voc\xea n\xe3o possui arquivos ou pastas aqui",noInternetConnection:"Sem conex\xe3o com a internet",noMoreFilesAllowed:"N\xe3o \xe9 poss\xedvel adicionar mais arquivos",noSearchResults:"Infelizmente, n\xe3o h\xe1 resultados para esta busca",openFolderNamed:"Abrir pasta %{name}",pause:"Pausar",paused:"Pausado",pauseUpload:"Pausar envio de arquivos",pickFiles:"Selecionar arquivos",pickPhotos:"Selecionar fotos",pleaseWait:"Por favor aguarde",pluginNameAudio:"\xc1udio",pluginNameBox:"Box",pluginNameCamera:"C\xe2mera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameGoogleDrivePicker:"Google Drive",pluginNameGooglePhotosPicker:"Google Photos",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameScreenCapture:"Screencast",pluginNameUnsplash:"Unsplash",pluginNameUrl:"Link",pluginNameWebdav:"WebDAV",pluginNameZoom:"Zoom",pluginWebdavInputLabel:"URL WebDAV para um arquivo (exemplo: ownCloud ou Nextcloud)",poweredBy:"Desenvolvido por %{uppy}",processingXFiles:{0:"Processando %{smart_count} arquivo",1:"Processando %{smart_count} arquivos"},recording:"Gravando",recordingLength:"Dura\xe7\xe3o da grava\xe7\xe3o %{recording_length}",recordingStoppedMaxSize:"Grava\xe7\xe3o parada porque o tamanho do arquivo est\xe1 prestes a exceder o limite",recordVideoBtn:"Gravar v\xeddeo",recoveredAllFiles:"Todos os arquivos foram restaurados. Voc\xea pode retomar o envio.",recoveredXFiles:{0:"N\xe3o foi poss\xedvel restaurar 1 arquivo. Por favor, selecione-o novamente e retome o envio.",1:"N\xe3o foi poss\xedvel restaurar %{
20smart_count} arquivos. Por favor, selecione-os novamente e retome o envio."},removeFile:"Remover arquivo",reSelect:"Re-selecionar",resetFilter:"Restaurar filtro",resetSearch:"Restaurar busca",resume:"Retomar",resumeUpload:"Retomar envio de arquivos",retry:"Tentar novamente",retryUpload:"Tentar enviar novamente",revert:"Reverter",rotate:"Girar",save:"Salvar",saveChanges:"Salvar altera\xe7\xf5es",search:"Buscar",searchImages:"Buscar por imagens",selectX:{0:"Selecionar %{smart_count}",1:"Selecionar %{smart_count}"},sessionRestored:"Sess\xe3o restaurada",showErrorDetails:"Mostrar detalhes do erro",signInWithGoogle:"Entrar com Google",smile:"Sorria!",startAudioRecording:"Iniciar grava\xe7\xe3o de \xe1udio",startCapturing:"Iniciar captura de tela",startRecording:"Come\xe7ar grava\xe7\xe3o de v\xeddeo",stopAudioRecording:"Parar grava\xe7\xe3o de \xe1udio",stopCapturing:"Parar captura de tela",stopRecording:"Parar grava\xe7\xe3o de v\xeddeo",streamActive:"Stream ativo",streamPassive:"Stream inativo",submitRecordedFile:"Enviar arquivo gravado",takePicture:"Tirar uma foto",takePictureBtn:"Tirar foto",takeScreenshot:"Tirar screenshot",unnamed:"Sem nome",upload:"Enviar arquivos",uploadComplete:"Envio de arquivos finalizado",uploadFailed:"Envio de arquivos falhou",uploading:"Enviando",uploadingXFiles:{0:"Enviando %{smart_count} arquivo",1:"Enviando %{smart_count} arquivos"},uploadPaused:"Envio de arquivos pausado",uploadStalled:"Envio n\xe3o fez nenhum progresso por %{seconds} segundos. Voc\xea pode tentar novamente.",uploadXFiles:{0:"Enviar %{smart_count} arquivo",1:"Enviar %{smart_count} arquivos"},uploadXNewFiles:{0:"Enviar +%{smart_count} arquivo",1:"Enviar +%{smart_count} arquivos"},xFilesSelected:{0:"%{smart_count} arquivo selecionado",1:"%{smart_count} arquivos selecionados"},xMoreFilesAdded:{0:"%{smart_count} arquivo adicionado",1:"%{smart_count} arquivos adicionados"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"Voc\xea pode enviar apenas arquivos: %{types}",youCanOnlyUploadX:{0:"Voc\xea pode enviar apenas %{smart_count} arquivo",1:"Voc\xea pode enviar apenas %{smart_count} arquivos"},youHaveToAtLeastSelectX:{0:"Voc\xea precisa selecionar pelo menos %{smart_count} arquivo",1:"Voc\xea precisa selecionar pelo menos %{smart_count} arquivos"},zoomIn:"Aumentar o zoom",zoomOut:"Diminuir o zoom"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.pt_BR=n),r.Z=n},90771:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"Adicionar mais",addMoreFiles:"Adicionar mais ficheiros",addingMoreFiles:"A adicionar mais ficheiros",allowAccessDescription:"Para poder tirar fotos e gravar v\xeddeos com a sua c\xe2mera, por favor permita que este site a acesse.",allowAccessTitle:"Por favor permita o acesso \xe0 sua c\xe2mera",authenticateWith:"Ligar a %{pluginName}",authenticateWithTitle:"Por favor ligue-se a %{pluginName} para selecionar ficheiros",back:"Voltar",browse:"procure",browseFiles:"procure",cancel:"Cancelar",cancelUpload:"Cancelar envio de ficheiros",chooseFiles:"Selecionar ficheiros",closeModal:"Fechar Modal",companionError:"Falha na conex\xe3o com servi\xe7o",complete:"Conclu\xeddo",connectedToInternet:"Ligado \xe0 internet",copyLink:"Copiar link",copyLinkToClipboardFallback:"Copiar URL abaixo",copyLinkToClipboardSuccess:"Link copiado para a \xe1rea de transfer\xeancia",creatingAssembly:"A preparar o envio de ficheiros...",creatingAssemblyFailed:"Transloadit: N\xe3o foi poss\xedvel criar o Assembly",dashboardTitle:"Envio de ficheiros",dashboardWindowTitle:"Janela para envio de ficheiros (Pressione esc para fechar)",dataUploadedOfTotal:"%{complete} de %{total}",done:"Concluir",dropHereOr:"Arraste ficheiros ou %{browse}",dropHint:"Pode simplesmente arrastar os seus ficheiros para aqui",dropPasteBoth:"Arraste ficheiros, cole ou %{browse}",dropPasteFiles:"Arraste ficheiros, cole ou %{browse}",dropPasteFolders:"Arraste ficheiros, cole ou %{browse}",dropPasteImportBoth:"Arraste ficheiros, cole, %{browse} ou importe de",dropPasteImportFiles:"Arraste ficheiros, cole, %{browse} ou importe de",dropPasteImportFolders:"Arraste ficheiros, cole, %{browse} ou importe de",editFile:"Editar ficheiro",editImage:"Editar imagem",editing:"A editar %{file}",emptyFolderAdded:"A pasta est\xe1 vazia e nenhum ficheiro foi adicionado.",encoding:"A codificar...",enterCorrectUrl:"URL incorrecto: Por favor garanta que inseriu um link direto para um ficheiro",enterUrlToImport:"Coloque o URL para importar um ficheiro",exceedsSize:"Este ficheiro excedeu o tamanho m\xe1ximo permitido %{size}",failedToFetch:"Servi\xe7o falhou ao fazer fetch deste URL. Por favor garante que o URL est\xe1 correto",failedToUpload:"Falha ao enviar %{file}",fileSource:"Origem do ficheiro: %{name}",filesUploadedOfTotal:{0:"%{complete} de %{smart_count} ficheiro enviado",1:"%{complete} de %{smart_count} ficheiros enviados"},filter:"Filtrar",finishEditingFile:"Concluir edi\xe7\xe3o de ficheiro",folderAdded:{0:"Adicionado %{smart_count} ficheiro de %{folder}",1:"Adicionado %{smart_count} ficheiros de %{folder}"},import:"Importar",importFrom:"Importar de %{name}",loading:"A carregar...",logOut:"Sair",myDevice:"O meu dispositivo",noFilesFound:"N\xe3o possui ficheiros ou pastas aqui",noInternetConnection:"Sem liga\xe7\xe3o \xe0 internet",pause:"Pausar",pauseUpload:"Pausar envio de ficheiros",paused:"Pausado",poweredBy:"Desenvolvido por %{uppy}",processingXFiles:{0:"A processar %{smart_count} ficheiro",1:"A processar %{smart_count} ficheiros"}
20,removeFile:"Remover ficheiro",resetFilter:"Limpar filtro",resume:"Retomar",resumeUpload:"Retomar envio de ficheiros",retry:"Tentar novamente",retryUpload:"Tentar enviar novamente",saveChanges:"Salvar altera\xe7\xf5es",selectX:{0:"Selecionar %{smart_count}",1:"Selecionar %{smart_count}"},smile:"Sorria!",startRecording:"Come\xe7ar grava\xe7\xe3o de v\xeddeo",stopRecording:"Parar grava\xe7\xe3o de v\xeddeo",takePicture:"Tirar uma foto",timedOut:"Envio de ficheiros parado h\xe1 %{seconds} segundos, a abortar.",upload:"Enviar ficheiros",uploadComplete:"Envio de ficheiros finalizado",uploadFailed:"Envio de ficheiros falhou",uploadPaused:"Envio de ficheiros pausado",uploadXFiles:{0:"Enviar %{smart_count} ficheiro",1:"Enviar %{smart_count} ficheiros"},uploadXNewFiles:{0:"Enviar +%{smart_count} ficheiro",1:"Enviar +%{smart_count} ficheiros"},uploading:"A enviar",uploadingXFiles:{0:"A enviar %{smart_count} ficheiro",1:"A enviar %{smart_count} ficheiros"},xFilesSelected:{0:"%{smart_count} ficheiro selecionado",1:"%{smart_count} ficheiros selecionados"},xMoreFilesAdded:{0:"%{smart_count} ficheiro adicionados",1:"%{smart_count} ficheiros adicionados"},xTimeLeft:"%{time} restantes",youCanOnlyUploadFileTypes:"S\xf3 pode enviar ficheiros: %{types}",youCanOnlyUploadX:{0:"S\xf3 pode enviar %{smart_count} ficheiro",1:"S\xf3 pode enviar %{smart_count} ficheiros"},youHaveToAtLeastSelectX:{0:"Precisa de selecionar pelo menos %{smart_count} ficheiro",1:"Precisa de selecionar pelo menos %{smart_count} ficheiros"},selectFileNamed:"Selecione o ficheiro %{name}",unselectFileNamed:"Deselecionar ficheiro %{name}",openFolderNamed:"Pasta aberta %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.pt_PT=n),r.Z=n},38770:function(t,r){"use strict";let n={strings:{},pluralize:t=>t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2};n.strings={addBulkFilesFailed:{0:"Ðе ÑдалоÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ %{smart_count} Ñайл из-за внÑÑÑенней оÑибки",1:"Ðе ÑдалоÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ %{smart_count} Ñайла из-за внÑÑÑенней оÑибки",2:"Ðе ÑдалоÑÑ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ %{smart_count} Ñайлов из-за внÑÑÑенней оÑибки"},addedNumFiles:{0:"Ðобавлен %{numFiles} Ñайл",1:"Ðобавлено %{numFiles} Ñайла",2:"Ðобавлено %{numFiles} Ñайлов"},addingMoreFiles:"Ðобавление дополниÑелÑнÑÑ
Ñайлов",additionalRestrictionsFailed:{0:"%{count} дополниÑелÑное огÑаниÑение не бÑло ÑдовлеÑвоÑено",1:"%{count} дополниÑелÑнÑÑ
огÑаниÑÐµÐ½Ð¸Ñ Ð½Ðµ бÑли ÑдовлеÑвоÑенÑ",2:"%{count} дополниÑелÑнÑÑ
огÑаниÑений не бÑли ÑдовлеÑвоÑенÑ"},addMore:"ÐобавиÑÑ ÐµÑе",addMoreFiles:"ÐобавиÑÑ ÐµÑе ÑайлÑ",allFilesFromFolderNamed:"ÐÑе ÑÐ°Ð¹Ð»Ñ Ð¸Ð· папки %{name}",allowAccessDescription:"ЧÑÐ¾Ð±Ñ ÑделаÑÑ ÑоÑо или запиÑаÑÑ Ð²Ð¸Ð´ÐµÐ¾, пожалÑйÑÑа, ÑазÑеÑиÑе доÑÑÑп к камеÑе Ð´Ð»Ñ ÑÑого ÑайÑа",allowAccessTitle:"ÐожалÑйÑÑа, ÑазÑеÑиÑе доÑÑÑп к ваÑей камеÑе",allowAudioAccessDescription:"ЧÑÐ¾Ð±Ñ Ð·Ð°Ð¿Ð¸ÑаÑÑ Ð°Ñдио, пожалÑйÑÑа, ÑазÑеÑиÑе доÑÑÑп к микÑоÑÐ¾Ð½Ñ Ð´Ð»Ñ ÑÑого ÑайÑа",allowAudioAccessTitle:"ÐожалÑйÑÑа, ÑазÑеÑиÑе доÑÑÑп к ваÑÐµÐ¼Ñ Ð¼Ð¸ÐºÑоÑонÑ",aspectRatioLandscape:"ÐбÑезаÑÑ Ð°Ð»ÑбомнÑй ÑоÑÐ¼Ð°Ñ (16:9)",aspectRatioPortrait:"ÐбÑезаÑÑ Ð¿Ð¾ÑÑÑÐµÑ (9:16)",aspectRatioSquare:"ÐбÑезаÑÑ ÐºÐ²Ð°Ð´ÑаÑ",authAborted:"ÐÑÑенÑиÑикаÑÐ¸Ñ Ð¿ÑеÑвана",authenticateWith:"ÐодклÑÑиÑÑÑÑ Ðº %{pluginName}",authenticateWithTitle:"ÐожалÑйÑÑа, авÑоÑизÑйÑеÑÑ Ð² %{pluginName}, ÑÑÐ¾Ð±Ñ Ð²ÑбÑаÑÑ ÑайлÑ",back:"Ðазад",browse:"вÑбеÑиÑе",browseFiles:"вÑбеÑиÑе ÑайлÑ",cancel:"ÐÑмениÑÑ",cancelUpload:"ÐÑмениÑÑ Ð·Ð°Ð³ÑÑзкÑ",chooseFiles:"ÐÑбÑаÑÑ ÑайлÑ",closeModal:"ÐакÑÑÑÑ Ð¾ÐºÐ½Ð¾",companionError:"Ðе ÑдалоÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑÑÑ Ðº Companion",companionUnauthorizeHint:"ЧÑÐ¾Ð±Ñ Ð²ÑйÑи из ваÑего аккаÑнÑа %{provider}, пожалÑйÑÑа, пеÑейдиÑе по ÑÑÑлке %{url}",complete:"ÐоÑово",compressedX:"СоÑ
Ñанено %{size} благодаÑÑ ÑжаÑÐ¸Ñ Ð¸Ð·Ð¾Ð±Ñажений",compressingImages:"СжаÑие изобÑажений...",connectedToInternet:"ÐодклÑÑено к инÑеÑнеÑÑ",copyLink:"СкопиÑоваÑÑ ÑÑÑлкÑ",copyLinkToClipboardFallback:"СкопиÑÑйÑе ÑÑÑлкÑ",copyLinkToClipboardSuccess:"СÑÑлка ÑкопиÑована в бÑÑÐµÑ Ð¾Ð±Ð¼ÐµÐ½Ð°",creatingAssembly:"ÐодгоÑовка загÑÑзки...",creatingAssemblyFailed:"Transloadit: не ÑдалоÑÑ ÑоздаÑÑ Assembly",dashboardTitle:"ÐагÑÑзÑик Ñайлов",dashboardWindowTitle:"Ðкно загÑÑзÑика Ñайлов (нажмиÑе escape, ÑÑÐ¾Ð±Ñ Ð·Ð°ÐºÑÑÑÑ)",dataUploadedOfTotal:"%{complete} из %{total}",discardRecordedFile:"УдалиÑÑ Ð·Ð°Ð¿Ð¸ÑаннÑй Ñайл",done:"ÐоÑово",dropHereOr:"ÐеÑеÑаÑиÑе ÑÐ°Ð¹Ð»Ñ Ð¸Ð»Ð¸ %{browse}",dropHint:"ÐеÑеÑаÑиÑе ÑÐ°Ð¹Ð»Ñ ÑÑда",dropPasteBoth:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе или %{browse}",dropPasteFiles:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе или %{browse}",dropPasteFolders:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе или %{browse}",dropPasteImportBoth:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе, %{browse} или импоÑÑиÑÑйÑе из:",dropPasteImportFiles:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе, %{browse} или импоÑÑиÑÑйÑе из:",dropPasteImportFolders:"ÐеÑеÑаÑиÑе ÑайлÑ, вÑÑавÑÑе, %{browse} или импоÑÑиÑÑйÑе из:",editFile:"РедакÑиÑоваÑÑ Ñайл",editImage:"РедакÑиÑоваÑÑ Ð¸Ð·Ð¾Ð±Ñажение",editFileWithFilename:"РедакÑиÑоваÑÑ Ñайл %{file}",editing:"РедакÑиÑÑеÑÑÑ %{file}",emptyFolderAdded:"Ð¤Ð°Ð¹Ð»Ñ Ð½Ðµ бÑли Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ñ â папка пÑÑÑа",encoding:"ÐбÑабоÑка...",enterCorrectUrl:"ÐепÑавилÑнÑй адÑеÑ: пожалÑйÑÑа, ÑбедиÑеÑÑ ÑÑо Ð²Ñ Ð¸ÑполÑзÑеÑе пÑÑмÑÑ ÑÑÑÐ»ÐºÑ Ð½Ð° Ñайл",enterTextToSearch:"ÐведиÑе ÑекÑÑ Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñка изобÑажений",enterUrlToImport:"ÐведиÑе адÑеÑ, ÑÑÐ¾Ð±Ñ Ð¸Ð¼Ð¿Ð¾ÑÑиÑоваÑÑ Ñайл",error:"ÐÑибка",exceedsSize:"ÐÑÐ¾Ñ Ñайл болÑÑе макÑималÑно ÑазÑеÑенного ÑазмеÑа в %{size}",failedToFetch:"Companion не Ñмог загÑÑзиÑÑ Ñайл по ÑÑÑлке, пожалÑйÑÑа, ÑбедиÑеÑÑ, ÑÑо адÑÐµÑ Ð²ÐµÑнÑй",failedToUpload:"ÐÑибка загÑÑзки %{file}",filesUploadedOfTotal:{0:"%{complete} из %{smart_count} Ñайла загÑÑжено",1:"%{complete} из %{smart_count} Ñайлов загÑÑжено",2:"%{complete} из %{smart_count} Ñайлов загÑÑжено"},filter:"ФилÑÑÑ",finishEditingFile:"ÐаконÑиÑÑ ÑедакÑиÑование Ñайла",flipHorizontal:"ÐовеÑнÑÑÑ Ð³Ð¾ÑизонÑалÑно",folderAdded:{0:"Ðобавлен %{smart_count} Ñайл из %{folder}",1:"Ðобавлено %{smart_count} Ñайла из %{folder}",2:"Ðобавлено %{smart_count} Ñайлов из %{folder}"},folderAlreadyAdded:'Ðапка "%{folder}" Ñже бÑла добавлена',generatingThumbnails:"Создание пÑевÑÑ Ð¸Ð·Ð¾Ð±Ñажений...",import:"ÐмпоÑÑиÑоваÑÑ",importFiles:"ÐмпоÑÑиÑоваÑÑ ÑÐ°Ð¹Ð»Ñ Ð¸Ð·:",importFrom:"ÐмпоÑÑиÑоваÑÑ Ð¸Ð· %{name}",inferiorSize:"ÐÑÐ¾Ñ Ñайл менÑÑе минималÑного ÑазмеÑа %{size}",loadedXFiles:{0:"ÐагÑÑжен %{numFiles} Ñайл",1:"ÐагÑÑжено %{numFiles} Ñайла",2:"ÐагÑÑжено %{numFiles} Ñайлов"},loading:"ÐагÑÑзка...",logOut:"ÐÑйÑи",micDisabled:"ÐолÑзоваÑÐµÐ»Ñ Ð¾Ð³ÑаниÑил доÑÑÑп к микÑоÑонÑ",missingRequiredMetaField:"ÐÑÑÑÑÑÑвÑÑÑ Ð¾Ð±ÑзаÑелÑнÑе meta полÑ",missingRequiredMetaFieldOnFile:"Ð Ñайле %{fileName} оÑÑÑÑÑÑвÑÑÑ Ð¾Ð±ÑзаÑелÑнÑе meta полÑ",missingRequiredMetaFields:{0:"ÐÑÑÑÑÑÑвÑÐµÑ Ð¾Ð±ÑзаÑелÑное meta поле: %{fields}.",1:"ÐÑÑÑÑÑÑвÑÑÑ Ð¾Ð±ÑзаÑелÑнÑе meta полÑ: %{fields}.",2:"ÐÑÑÑÑÑÑвÑÑÑ Ð¾Ð±ÑзаÑелÑнÑе meta полÑ: %{fields}."},myDevice:"Ðое ÑÑÑÑойÑÑво",noAudioDescription:"ÐожалÑйÑÑа, подклÑÑиÑе микÑоÑон или дÑÑгое аÑдиоÑÑÑÑойÑÑво, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð¿Ð¸ÑÑваÑÑ Ð°Ñдио",noAudioTitle:"ÐикÑоÑон недоÑÑÑпен",noCameraDescription:"ÐожалÑйÑÑа, подклÑÑиÑе камеÑÑ, ÑÑÐ¾Ð±Ñ ÑделаÑÑ ÑоÑо или запиÑаÑÑ Ð²Ð¸Ð´ÐµÐ¾",noCameraTitle:"ÐамеÑа недоÑÑÑпна",noDuplicates:"ÐелÑÐ·Ñ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ '%{fileName}', Ñайл Ñже добавлен",noFilesFound:"ÐдеÑÑ Ð½ÐµÑ Ñайлов или папок",noInternetConnection:"ÐÐµÑ Ð¿Ð¾Ð´ÐºÐ»ÑÑÐµÐ½Ð¸Ñ Ðº инÑеÑнеÑÑ",noMoreFilesAllowed:"ÐелÑÐ·Ñ Ð´Ð¾Ð±Ð°Ð²Ð¸ÑÑ Ð±Ð¾Ð»ÑÑе Ñайлов",noSearchResults:"Ð ÑожалениÑ, Ð½ÐµÑ ÑезÑлÑÑаÑов Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñкового запÑоÑа",openFolderNamed:"ÐÑкÑÑÑÑ Ð¿Ð°Ð¿ÐºÑ %{name}",pause:"ÐоÑÑавиÑÑ Ð½Ð° паÑзÑ",paused:"Ðа паÑзе",pauseUpload:"ÐоÑÑавиÑÑ Ð·Ð°Ð³ÑÑÐ·ÐºÑ Ð½Ð° паÑзÑ",poweredBy:"РабоÑÐ°ÐµÑ Ð½Ð° %{uppy}",processingXFiles:{0:"ÐбÑабаÑÑваеÑÑÑ %{smart_count} Ñайл",1:"ÐбÑабаÑÑваÑÑÑÑ %{smart_count} Ñайла",2:"ÐбÑабаÑÑваÑÑÑÑ %{smart_count} Ñайлов"},recording:"ÐÐ´ÐµÑ Ð·Ð°Ð¿Ð¸ÑÑ",recordingLength:"ÐлиÑелÑноÑÑÑ Ð·Ð°Ð¿Ð¸Ñи
20%{recording_length}",recordingStoppedMaxSize:"ÐапиÑÑ Ð¾ÑÑановлена из-за Ñого, ÑÑо Ñайл доÑÑиг макÑималÑного ÑазмеÑа",recordVideoBtn:"ÐапиÑаÑÑ Ð²Ð¸Ð´ÐµÐ¾",recoveredAllFiles:"ÐÑе ÑÐ°Ð¹Ð»Ñ Ð²Ð¾ÑÑÑановленÑ. ÐÑ Ð¼Ð¾Ð¶ÐµÑе пÑодолжиÑÑ Ð·Ð°Ð³ÑÑзкÑ.",recoveredXFiles:{0:"Ðе ÑдалоÑÑ Ð²Ð¾ÑÑÑановиÑÑ %{smart_count} Ñайл. ÐожалÑйÑÑа, вÑбеÑиÑе его заново и пÑодолжиÑе загÑÑзкÑ.",1:"Ðе ÑдалоÑÑ Ð²Ð¾ÑÑÑановиÑÑ %{smart_count} Ñайла. ÐожалÑйÑÑа, вÑбеÑиÑе иÑ
заново и пÑодолжиÑе загÑÑзкÑ.",2:"Ðе ÑдалоÑÑ Ð²Ð¾ÑÑÑановиÑÑ %{smart_count} Ñайлов. ÐожалÑйÑÑа, вÑбеÑиÑе иÑ
заново и пÑодолжиÑе загÑÑзкÑ."},removeFile:"УдалиÑÑ Ñайл",reSelect:"ÐÑбÑаÑÑ Ð·Ð°Ð½Ð¾Ð²Ð¾",resetFilter:"СбÑоÑиÑÑ ÑилÑÑÑ",resetSearch:"СбÑоÑиÑÑ Ð¿Ð¾Ð¸Ñк",resume:"ÐÑодолжиÑÑ",resumeUpload:"ÐÑодолжиÑÑ Ð·Ð°Ð³ÑÑзкÑ",retry:"ÐовÑоÑиÑÑ Ð¿Ð¾Ð¿ÑÑкÑ",retryUpload:"ÐовÑоÑиÑÑ Ð¿Ð¾Ð¿ÑÑÐºÑ Ð·Ð°Ð³ÑÑзки",revert:"ÐÑмениÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ",rotate:"ÐовеÑнÑÑÑ",save:"СоÑ
ÑаниÑÑ",saveChanges:"СоÑ
ÑаниÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ",search:"ÐоиÑк",searchImages:"ÐоиÑк изобÑажений",selectX:{0:"ÐÑбÑаÑÑ %{smart_count}",1:"ÐÑбÑаÑÑ %{smart_count}",2:"ÐÑбÑаÑÑ %{smart_count}"},sessionRestored:"СеÑÑÐ¸Ñ Ð²Ð¾ÑÑÑановлена",showErrorDetails:"ÐоказаÑÑ Ð´ÐµÑали оÑибки",signInWithGoogle:"ÐойÑи Ñ Google",smile:"УлÑбниÑеÑÑ!",
20startAudioRecording:"ÐаÑаÑÑ Ð·Ð°Ð¿Ð¸ÑÑ Ð°Ñдио",startCapturing:"ÐаÑаÑÑ Ð·Ð°Ð¿Ð¸ÑÑ ÑкÑана",startRecording:"ÐаÑаÑÑ Ð·Ð°Ð¿Ð¸ÑÑ Ð²Ð¸Ð´ÐµÐ¾",stopAudioRecording:"ÐÑÑановиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ Ð°Ñдио",stopCapturing:"ÐÑÑановиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ ÑкÑана",stopRecording:"ÐаконÑиÑÑ Ð·Ð°Ð¿Ð¸ÑÑ Ð²Ð¸Ð´ÐµÐ¾",streamActive:"ÐкÑивнÑй поÑок",streamPassive:"ÐаÑÑивнÑй поÑок",submitRecordedFile:"ÐÑпÑавиÑÑ Ð·Ð°Ð¿Ð¸ÑаннÑй Ñайл",takePicture:"СделаÑÑ ÑоÑогÑаÑиÑ",takePictureBtn:"СделаÑÑ ÑоÑогÑаÑиÑ",timedOut:"ÐагÑÑзка оÑÑановилаÑÑ Ð½Ð° %{seconds} ÑекÑнд, оÑмена",upload:"ÐагÑÑзиÑÑ",uploadComplete:"ÐагÑÑзка завеÑÑена",uploadFailed:"ÐагÑÑзка не ÑдалаÑÑ",uploadPaused:"ÐагÑÑзка на паÑзе",uploadStalled:{0:"ÐÑоÑла %{seconds} ÑекÑнда без пÑогÑеÑÑа в загÑÑзке. Ðозможно, Ð²Ñ Ñ
оÑиÑе пеÑезапÑÑÑиÑÑ ÐµÐµ.",1:"ÐÑоÑло %{seconds} ÑекÑÐ½Ð´Ñ Ð±ÐµÐ· пÑогÑеÑÑа в загÑÑзке. Ðозможно, Ð²Ñ Ñ
оÑиÑе пеÑезапÑÑÑиÑÑ ÐµÐµ.",2:"ÐÑоÑло %{seconds} ÑекÑнд без пÑогÑеÑÑа в загÑÑзке. Ðозможно, Ð²Ñ Ñ
оÑиÑе пеÑезапÑÑÑиÑÑ ÐµÐµ."},uploadXFiles:{0:"ÐагÑÑзиÑÑ %{smart_count} Ñайл",1:"ÐагÑÑзиÑÑ %{smart_count} Ñайла",2:"ÐагÑÑзиÑÑ %{smart_count} Ñайлов"},uploadXNewFiles:{0:"ÐагÑÑзиÑÑ +%{smart_count} Ñайл",1:"ÐагÑÑзиÑÑ +%{smart_count} Ñайла",2:"ÐагÑÑзиÑÑ +%{smart_count} Ñайлов"},uploading:"ÐагÑÑзка",uploadingXFiles:{0:"ÐагÑÑжаеÑÑÑ %{smart_count} Ñайл",1:"ÐагÑÑжаеÑÑÑ %{smart_count} Ñайла",2:"ÐагÑÑжаеÑÑÑ %{smart_count} Ñайлов"},xFilesSelected:{0:"%{smart_count} Ñайл вÑбÑан",1:"%{smart_count} Ñайла вÑбÑано",2:"%{smart_count} Ñайлов вÑбÑано"},xMoreFilesAdded:{0:"%{smart_count} дополниÑелÑнÑй Ñайл добавлен",1:"%{smart_count} дополниÑелÑнÑÑ
Ñайла добавлено",2:"%{smart_count} дополниÑелÑнÑÑ
Ñайлов добавлено"},xTimeLeft:"оÑÑалоÑÑ %{time}",youCanOnlyUploadFileTypes:"ÐÑ Ð¼Ð¾Ð¶ÐµÑе загÑÑзиÑÑ ÑолÑко: %{types}",youCanOnlyUploadX:{0:"ÐÑ Ð¼Ð¾Ð¶ÐµÑе загÑÑзиÑÑ ÑолÑко %{smart_count} Ñайл",1:"ÐÑ Ð¼Ð¾Ð¶ÐµÑе загÑÑзиÑÑ ÑолÑко %{smart_count} Ñайла",2:"ÐÑ Ð¼Ð¾Ð¶ÐµÑе загÑÑзиÑÑ ÑолÑко %{smart_count} Ñайлов"},youHaveToAtLeastSelectX:{0:"ÐÑ Ð´Ð¾Ð»Ð¶Ð½Ñ Ð²ÑбÑаÑÑ Ñ
оÑÑ Ð±Ñ %{smart_count} Ñайл",1:"ÐÑ Ð´Ð¾Ð»Ð¶Ð½Ñ Ð²ÑбÑаÑÑ Ñ
оÑÑ Ð±Ñ %{smart_count} Ñайла",2:"ÐÑ Ð´Ð¾Ð»Ð¶Ð½Ñ Ð²ÑбÑаÑÑ Ñ
оÑÑ Ð±Ñ %{smart_count} Ñайлов"},zoomIn:"ÐÑиблизиÑÑ",zoomOut:"ÐÑдалиÑÑ"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.ru_RU=n),r.Z=n},76324:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Kunde inte l\xe4gga till %{smart_count} fil p\xe5 grund av ett internt fel",1:"Kunde inte l\xe4gga till %{smart_count} filer p\xe5 grund av interna fel"},addedNumFiles:"Lade till %{numFiles} fil(er)",addingMoreFiles:"L\xe4gger till fler filer",additionalRestrictionsFailed:"%{count} ytterligare begr\xe4nsningar uppfylldes inte",addMore:"L\xe4gg till",addMoreFiles:"L\xe4gg till filer",aggregateExceedsSize:"Du valde %{size} filer, men maximal till\xe5ten storlek \xe4r %{sizeAllowed}",allFilesFromFolderNamed:"Alla filer fr\xe5n mappen %{name}",allowAccessDescription:"F\xf6r att kunna ta bilder eller spela in video beh\xf6ver du ge sidan beh\xf6righet att anv\xe4nda din kamera.",allowAccessTitle:"Till\xe5t anv\xe4ndning av kameran",allowAudioAccessDescription:"F\xf6r att spela in ljud m\xe5ste du till\xe5ta mikrofonbeh\xf6righet f\xf6r denna sida.",allowAudioAccessTitle:"Till\xe5t \xe5tkomst till mikrofonen",aspectRatioLandscape:"Besk\xe4r liggande (16:9)",aspectRatioPortrait:"Besk\xe4r st\xe5ende (9:16)",aspectRatioSquare:"Besk\xe4r fyrkant",authAborted:"Autentisering avbr\xf6ts",authenticate:"Anslut",authenticateWith:"Anslut till %{pluginName}",authenticateWithTitle:"Anslut till %{pluginName} f\xf6r att v\xe4lja filer",back:"Tillbaka",browse:"bl\xe4ddra",browseFiles:"bl\xe4ddra",browseFolders:"bl\xe4ddra mappar",cancel:"Avbryt",cancelUpload:"Avbryt uppladdning",chooseFiles:"V\xe4lj filer",closeModal:"St\xe4ng f\xf6nster",companionError:"Anslutning till Companion misslyckades",companionUnauthorizeHint:"F\xf6r att koppla bort ditt %{provider}-konto, g\xe5 till %{url}",complete:"Klart",compressedX:"Sparade %{size} genom att komprimera bilder",compressingImages:"Komprimerar bilder...",connectedToInternet:"Ansluten till internet",copyLink:"Kopiera l\xe4nk",copyLinkToClipboardFallback:"Kopiera l\xe4nken nedanf\xf6r",copyLinkToClipboardSuccess:"L\xe4nken kopierad till urklipp",creatingAssembly:"F\xf6rbereder uppladdning...",creatingAssemblyFailed:"Transloadit: Kunde inte skapa Assembly",dashboardTitle:"Filuppladdare",dashboardWindowTitle:"Uppladdningsf\xf6nster (Tryck p\xe5 Esc-tangenten f\xf6r att st\xe4nga)",dataUploadedOfTotal:"%{complete} av %{total}",dataUploadedOfUnknown:"%{complete} av ok\xe4nd storlek",discardMediaFile:"Kasta mediafil",discardRecordedFile:"Kasta inspelad fil",done:"Klart",dropHereOr:"Sl\xe4pp filer h\xe4r eller %{browse}",dropHint:"Sl\xe4pp dina filer h\xe4r",dropPasteBoth:"Sl\xe4pp filer h\xe4r, %{browseFiles} eller %{browseFolders}",dropPasteFiles:"Sl\xe4pp filer h\xe4r eller %{browseFiles}",dropPasteFolders:"Sl\xe4pp filer h\xe4r eller %{browseFolders}",dropPasteImportBoth:"Sl\xe4pp filer h\xe4r, %{browseFiles}, %{browseFolders} eller importera fr\xe5n:",dropPasteImportFiles:"Sl\xe4pp filer h\xe4r, %{browseFiles} eller importera fr\xe5n:",dropPasteImportFolders:"Sl\xe4pp filer h\xe4r, %{browseFolders} eller importera fr\xe5n:",editFile:"Redigera fil",editFileWithFilename:"Redigera fil %{file}",editImage:"Redigera bild",editing:"Redigerar %{file}",emptyFolderAdded:"Inga filer lades till fr\xe5n en tom mapp",encoding:"Kodar...",enterCorrectUrl:"Ogiltig URL: Kontrollera att adressen du anger \xe4r en direktl\xe4nk till en fil.",enterUrlToImport:"Ange URL f\xf6r att importera en fil",error:"Fel",exceedsSize:"%{file} \xf6verskrider maximal till\xe5ten storlek p\xe5 %{size}",failedToFetch:"Companion kunde inte ladda ner filen, kontrollera att adressen \xe4r korrekt",failedToUpload:"Kunde inte ladda upp %{file}",filesUploadedOfTotal:{0:"%{complete} av %{smart_count} fil uppladdad",1:"%{complete} av %{smart_count} filer uppladdade"},filter:"Filtrera",finishEditingFile:"Avsluta redigering av filen",flipHorizontal:"V\xe4nd horisontellt",folderAdded:{0:"La till %{smart_count} fil fr\xe5n %{folder}",1:"La till %{smart_count} filer fr\xe5n %{folder}"},folderAlreadyAdded:'Mappen "%{folder}" har redan lagts till',generatingThumbnails:"Genererar miniatyrer...",import:"Importera",importFiles:"Importera filer fr\xe5n:",importFrom:"Importera fr\xe5n %{name}",inferiorSize:"Filen \xe4r mindre \xe4n till\xe5ten storlek p\xe5 %{size}",loadedXFiles:"Laddade %{numFiles} filer",loading:"Laddar...",logIn:"Logga in",logOut:"Logga ut",micDisabled:"Mikrofon\xe5tkomst nekad av anv\xe4ndaren",missingRequiredMetaField:"Obligatoriskt metadatf\xe4lt saknas",missingRequiredMetaFieldOnFile:"Obligatoriskt metadatf\xe4lt saknas i %{fileName}",missingRequiredMetaFields:{0:"Obligatoriskt metadatf\xe4lt saknas: %{fields}.",1:"Obligatoriska metadatf\xe4lt saknas: %{fields}."},myDevice:"Min enhet",noAudioDescription:"Anslut en mikrofon eller annan ljudenhet f\xf6r att spela in ljud",noAudioTitle:"Mikrofon ej tillg\xe4nglig",noCameraDescription:"Anslut en kamera f\xf6r att ta bilder eller spela in video",noCameraTitle:"Kamera ej tillg\xe4nglig",noDuplicates:"Kan inte l\xe4gga till den dubblerade filen '%{fileName}', den finns redan",noFilesFound:"Du har inga filer eller mappar h\xe4r",noInternetConnection:"Ingen internetuppkoppling",noMoreFilesAllowed:"Kan inte l\xe4gga till fler filer",noSearchResults:"Inga resultat hittades f\xf6r denna s\xf6kning",openFolderNamed:"\xd6ppna mappen %{name}",pause:"Pausa",paused:"Pausad",pauseUpload:"Pausa uppladdning",pickFiles:"V\xe4lj filer",pickPhotos:"V\xe4lj bilder",pleaseWait:"V\xe4nta...",pluginNameAudio:"Ljud",pluginNameBox:"Box",pluginNameCamera:"Kamera",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameGoogleDrivePicker:"Google Drive",pluginNameGooglePhotosPicker:"Google Foton",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameScreenCapture:"Sk\xe4rminspelning",pluginNameUnsplash:"Unsplash",pluginNameUrl:"L\xe4nk",pluginNameWebdav:"WebDAV",pluginNameZoom:"Zoom",pluginWebdavInputLabel:"WebDAV URL f\xf6r en fil (t.ex. fr\xe5n ownCloud eller Nextcloud)",poweredBy:"Drivs av %{uppy}
20",processingXFiles:{0:"Processerar %{smart_count} fil",1:"Processerar %{smart_count} filer"},recording:"Spelar in",recordingLength:"Inspelningens l\xe4ngd %{recording_length}",recordingStoppedMaxSize:"Inspelningen stoppades eftersom filstorleken snart \xf6verskrider gr\xe4nsen",recordVideoBtn:"Spela in video",recoveredAllFiles:"Vi \xe5terst\xe4llde alla filer. Du kan nu \xe5teruppta uppladdningen.",recoveredXFiles:{0:"Vi kunde inte helt \xe5terst\xe4lla 1 fil. V\xe4lj om den och \xe5teruppta uppladdningen.",1:"Vi kunde inte helt \xe5terst\xe4lla %{smart_count} filer. V\xe4lj om dem och \xe5teruppta uppladdningen."},removeFile:"Ta bort fil",reSelect:"V\xe4lj om",resetFilter:"Nollst\xe4ll filter",resetSearch:"Nollst\xe4ll s\xf6kning",resume:"\xc5teruppta",resumeUpload:"\xc5teruppta uppladdning",retry:"F\xf6rs\xf6k igen",retryUpload:"F\xf6rs\xf6k igen",revert:"\xc5terst\xe4ll",rotate:"Rotera 90\xb0",save:"Spara",saveChanges:"Spara \xe4ndringar",search:"S\xf6k",searchImages:"S\xf6k efter bilder",selectX:{0:"V\xe4lj %{smart_count}",1:"V\xe4lj %{smart_count}"},sessionRestored:"Sessionen \xe5terst\xe4lld",showErrorDetails:"Visa felinformation",signInWithGoogle:"Logga in med Google",smile:"S\xe4g omelett!",startAudioRecording:"Starta ljudinspelning",startCapturing:"Starta sk\xe4rminspelning",startRecording:"Starta inspelning",stopAudioRecording:"Stoppa ljudinspelning",stopCapturing:"Stoppa sk\xe4rminspelning",stopRecording:"Avbryt inspelning",streamActive:"Str\xf6m aktiv",streamPassive:"Str\xf6m passiv",submitRecordedFile:"Skicka inspelad fil",takePicture:"Ta en bild",takePictureBtn:"Ta bild",takeScreenshot:"Ta sk\xe4rmdump",unnamed:"Namnl\xf6s",upload:"Ladda upp",uploadComplete:"Uppladdning slutf\xf6rd",uploadFailed:"Uppladdning misslyckad",uploading:"Laddar upp",uploadingXFiles:{0:"Laddar upp %{smart_count} fil",1:"Laddar upp %{smart_count} filer"},uploadPaused:"Uppladdning pausad",uploadStalled:"Uppladdningen har st\xe5tt still i %{seconds} sekunder. Du kanske vill f\xf6rs\xf6ka igen.",uploadXFiles:{0:"Ladda upp %{smart_count} fil",1:"Ladda upp %{smart_count} filer"},uploadXNewFiles:{0:"Ladda upp +%{smart_count} fil",1:"Ladda upp +%{smart_count} filer"},xFilesSelected:{0:"%{smart_count} fil vald",1:"%{smart_count} filer valda"},xMoreFilesAdded:{0:"%{smart_count} fil tillagd",1:"%{smart_count} filer tillagda"},xTimeLeft:"%{time} \xe5terst\xe5r",youCanOnlyUploadFileTypes:"Du kan endast ladda upp: %{types}",youCanOnlyUploadX:{0:"Du kan endast ladda upp %{smart_count} fil",1:"Du kan endast ladda upp %{smart_count} filer"},youHaveToAtLeastSelectX:{0:"Du m\xe5ste v\xe4lja minst %{smart_count} fil",1:"Du m\xe5ste v\xe4lja minst %{smart_count} filer"},zoomIn:"Zooma in",zoomOut:"Zooma ut"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.sv_SE=n),r.Z=n},55240:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡ %{smart_count} à¹à¸à¸¥à¹ à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸ ายà¹à¸",1:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡ %{smart_count} à¹à¸à¸¥à¹ à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¸à¹à¸à¸à¸´à¸à¸à¸¥à¸²à¸à¸ ายà¹à¸"},addMore:"à¹à¸à¸´à¹à¸¡",addMoreFiles:"à¹à¸à¸´à¹à¸¡à¹à¸à¸¥à¹",addingMoreFiles:"à¸à¸³à¸¥à¸±à¸à¹à¸à¸´à¹à¸¡à¹à¸à¸¥à¹",allowAccessDescription:"à¹à¸à¸à¸²à¸£à¸à¹à¸²à¸¢à¸ าà¸à¸«à¸£à¸·à¸à¸à¸±à¸à¸à¸¶à¸à¸§à¸´à¸à¸µà¹à¸à¸à¹à¸§à¸¢à¸à¸¥à¹à¸à¸à¸à¸à¸à¸à¸¸à¸ à¹à¸à¸£à¸à¸à¸à¸¸à¸à¸²à¸à¸à¸²à¸£à¹à¸à¹à¸²à¸à¸¶à¸à¸à¸¥à¹à¸à¸",allowAccessTitle:"à¸à¸£à¸¸à¸à¸²à¸à¸à¸à¸¸à¹à¸¡à¸¢à¸à¸¡à¸£à¸±à¸à¹à¸à¸·à¹à¸à¹à¸à¹à¸à¸²à¸à¸à¸¥à¹à¸à¸",aspectRatioLandscape:"à¸à¸£à¸à¸à¸à¸±à¸à¸ าà¸à¸à¸´à¸§à¸à¸±à¸¨à¸à¹ (16:9)",aspectRatioPortrait:"à¸à¸£à¸à¸à¸à¸±à¸à¸ าà¸à¸à¸¸à¸à¸à¸¥ (9:16)",aspectRatioSquare:"à¸à¸£à¸à¸à¸à¸±à¸à¸ªà¸µà¹à¹à¸«à¸¥à¸µà¹à¸¢à¸¡",authenticateWith:"à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸±à¸ %{pluginName}",authenticateWithTitle:"à¸à¸£à¸¸à¸à¸²à¹à¸à¹à¸²à¹à¸à¹à¸à¸²à¸à¸à¸±à¸ %{pluginName} à¹à¸à¸·à¹à¸à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹",back:"ยà¹à¸à¸à¸à¸¥à¸±à¸",browse:"à¹à¸£à¸µà¸¢à¸à¸à¸¹",browseFiles:"à¹à¸£à¸µà¸¢à¸à¸à¸¹",browseFolders:"à¹à¸£à¸µà¸¢à¸à¸à¸¹à¸à¸±à¹à¸à¹à¸à¸¥à¹à¸à¸à¸£à¹",cancel:"ยà¸à¹à¸¥à¸´à¸",cancelUpload:"ยà¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¸à¸±à¸à¹à¸«à¸¥à¸",chooseFiles:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹",closeModal:"à¸à¸´à¸à¸«à¸à¹à¸²à¸à¹à¸²à¸à¸à¸µà¹",companionError:"à¸à¸²à¸£à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸±à¸ Companion ลà¹à¸¡à¹à¸«à¸¥à¸§",companionUnauthorizeHint:"หาà¸à¸à¸¸à¸à¸à¹à¸à¸à¸à¸²à¸£à¸¥à¸à¸à¸·à¹à¸à¸à¸à¸à¸à¸²à¸ %{provider}, à¸à¸£à¸¸à¸à¸²à¹à¸à¸à¸µà¹ %{url}",complete:"สำà¹à¸£à¹à¸",connectedToInternet:"à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸±à¸à¸à¸´à¸à¹à¸à¸à¸£à¹à¹à¸à¹à¸à¸ªà¸³à¹à¸£à¹à¸",copyLink:"à¸à¸±à¸à¸¥à¸à¸à¸¥à¸´à¸à¸à¹",copyLinkToClipboardFallback:"à¸à¸±à¸à¸¥à¸à¸ URL à¸à¹à¸²à¸à¸¥à¹à¸²à¸",copyLinkToClipboardSuccess:"ลิà¸à¸à¹à¸à¸¹à¸à¸à¸±à¸à¸¥à¸à¸à¹à¸à¸¢à¸±à¸à¸à¸¥à¸´à¸à¸à¸à¸£à¹à¸",creatingAssembly:"à¸à¸³à¸¥à¸±à¸à¹à¸à¸£à¸µà¸¢à¸¡à¸à¸±à¸à¹à¸«à¸¥à¸...",creatingAssemblyFailed:"Transloadit: à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸ªà¸£à¹à¸²à¸ Assembly",dashboardTitle:"à¸à¸±à¸§à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹",dashboardWindowTitle:"หà¸à¹à¸²à¸à¹à¸²à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹ (à¸à¸ escape à¹à¸à¸·à¹à¸à¸à¸´à¸)",dataUploadedOfTotal:"%{complete} à¸à¸²à¸ %{total}",done:"à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸",dropHereOr:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืà¸à¹à¸¥à¸·à¸à¸ %{browse}",dropHint:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹",dropPasteBoth:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืà¸à¹à¸¥à¸·à¸à¸ %{browse}",dropPasteFiles:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืà¸à¹à¸¥à¸·à¸à¸ %{browse}",dropPasteFolders:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืà¸à¹à¸¥à¸·à¸à¸ %{browse}",dropPasteImportBoth:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืภ%{browse} หรืภà¹à¸à¸´à¸à¸à¸¥à¹à¸à¸",dropPasteImportFiles:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืภ%{browse} หรืภà¹à¸à¸´à¸à¸à¸¥à¹à¸à¸",dropPasteImportFolders:"ลาà¸à¹à¸à¸¥à¹à¸¡à¸²à¸§à¸²à¸à¸à¸µà¹à¸à¸µà¹ หรืภ%{browse} หรืภà¹à¸à¸´à¸à¸à¸¥à¹à¸à¸",editFile:"à¹à¸à¹à¹à¸à¹à¸à¸¥à¹",editImage:"à¹à¸à¹à¹à¸à¸ าà¸",editing:"à¸à¸³à¸¥à¸±à¸à¹à¸à¹à¹à¸ %{file}",emptyFolderAdded:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡à¹à¸à¸¥à¹à¸à¸²à¸à¹à¸à¸¥à¹à¸à¸à¸£à¹à¸§à¹à¸²à¸",encoding:"à¸à¸³à¸¥à¸±à¸à¹à¸à¹à¸²à¸£à¸«à¸±à¸ª...",enterCorrectUrl:"URL à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¹à¸à¸£à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¹à¸«à¹à¹à¸à¹à¹à¸à¸§à¹à¸²à¸à¸¸à¸à¸à¹à¸à¸ direct link",enterUrlToImport:"à¸à¹à¸à¸ URL à¹à¸à¸·à¹à¸à¸à¸³à¹à¸à¹à¸²à¹à¸à¸¥à¹",exceedsSize:"à¹à¸à¸¥à¹à¸à¸µà¹à¸¡à¸µà¸à¸à¸²à¸à¹à¸à¸´à¸à¸à¸à¸²à¸à¸ªà¸¹à¸à¸ªà¸¸à¸à¸à¸µà¹à¸à¸à¸¸à¸à¸²à¸ %{size}",failedToFetch:"Companion à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸£à¸µà¸¢à¸ URL à¸à¸µà¹à¹à¸à¹, à¸à¸£à¸¸à¸à¸²à¸à¸£à¸§à¸à¸ªà¸à¸à¸§à¹à¸² URL à¸à¸¹à¸à¸à¹à¸à¸",failedToUpload:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸ %{file}",fileSource:"à¸à¸³à¹à¸«à¸à¹à¸à¸à¸à¸à¹à¸à¸¥à¹: %{name}",filesUploadedOfTotal:{0:"à¸à¸±à¸à¹à¸«à¸¥à¸à¸ªà¸³à¹à¸£à¹à¸ %{complete} à¸à¸²à¸à¸à¸±à¹à¸à¸«à¸¡à¸ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸±à¸à¹à¸«à¸¥à¸à¸ªà¸³à¹à¸£à¹à¸ %{complete} à¸à¸²à¸à¸à¸±à¹à¸à¸«à¸¡à¸ %{smart_count} à¹à¸à¸¥à¹"},filter:"à¸à¸±à¸§à¸à¸£à¸à¸",finishEditingFile:"à¹à¸à¹à¹à¸à¹à¸à¸¥à¹à¸ªà¸³à¹à¸£à¹à¸",flipHorizontal:"à¸à¸¥à¸±à¸à¸à¸²à¸¡à¹à¸à¸§à¸à¸à¸",folderAdded:{0:"à¹à¸à¸´à¹à¸¡ %{smart_count} à¹à¸à¸¥à¹à¸à¸²à¸ %{folder}",1:"à¹à¸à¸´à¹à¸¡ %{smart_count} à¹à¸à¸¥à¹à¸à¸²à¸ %{folder}"},generatingThumbnails:"à¸à¸³à¸¥à¸±à¸à¸ªà¸£à¹à¸²à¸à¸ าà¸à¸à¸à¸²à¸à¸¢à¹à¸...",import:"à¸à¸³à¹à¸à¹à¸²",importFrom:"à¸à¸³à¹à¸à¹à¸²à¸à¸²à¸ %{name}",inferiorSize:"à¹à¸à¸¥à¹à¸à¸µà¹à¸¡à¸µà¸à¸à¸²à¸à¹à¸¥à¹à¸à¸à¸§à¹à¸²à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¸µà¹à¸à¸³à¸«à¸à¸ %{size}",loading:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸...",logOut:"à¸à¸à¸à¸à¸²à¸à¸£à¸°à¸à¸",micDisabled:"à¹à¸¡à¹à¸à¸£à¹à¸à¸à¸à¸¹à¸à¸à¸´à¸à¹à¸à¸¢à¸à¸¹à¹à¹à¸à¹",myDevice:"ภาà¸à¹à¸à¹à¸à¸£à¸·à¹à¸à¸",noCameraDescription:"à¹à¸à¸à¸²à¸£à¸à¹à¸²à¸¢à¸ าà¸à¸«à¸£à¸·à¸à¸à¸±à¸à¸à¸¶à¸à¸§à¸´à¸à¸µà¹à¸à¹à¸à¸£à¸à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸¸à¸à¸à¸£à¸à¹à¸à¸¥à¹à¸à¸",noCameraTitle:"à¸à¸¥à¹à¸à¸à¹à¸¡à¹à¸à¸£à¹à¸à¸¡à¹à¸à¹à¸à¸²à¸",noDuplicates:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡à¹à¸à¸¥à¹à¸à¹à¸³à¹à¸à¹ à¹à¸à¸¥à¹ '%{fileName}', มีà¸à¸¢à¸¹à¹à¹à¸¥à¹à¸§",noFilesFound:"à¸à¸¸à¸à¹à¸¡à¹à¸¡à¸µà¹à¸à¸¥à¹à¸«à¸£à¸·à¸à¹à¸à¸¥à¹à¸à¸à¸£à¹à¸à¸µà¹à¸à¸µà¹",noInternetConnection:"à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¹à¸à¸·à¹à¸à¸¡à¸à¹à¸à¸à¸´à¸à¹à¸à¸à¸£à¹à¹à¸à¹à¸",noMoreFilesAllowed:"à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡à¹à¸à¸¥à¹à¹à¸«à¸¡à¹: à¸à¸³à¸¥à¸±à¸à¸à¸¢à¸¹à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸±à¸à¹à¸«à¸¥à¸",openFolderNamed:"à¹à¸à¸´à¸à¹à¸à¸¥à¹à¸à¸à¸£à¹ %{name}",pause:"หยุà¸à¸à¸±à¹à¸§à¸à¸£à¸²à¸§",pauseUpload:"หยุà¸à¸à¸²à¸£à¸à¸±à¸à¹à¸«à¸¥à¸à¸à¸±à¹à¸§à¸à¸£à¸²à¸§",paused:"หยุà¸à¸à¸±à¹à¸§à¸à¸£à¸²à¸§",poweredBy:"à¸à¸±à¸à¹à¸à¸¥à¸·à¹à¸à¸à¹à¸à¸¢ %{uppy}",processingXFiles:{0:"à¸à¸³à¸¥à¸±à¸à¸à¸£à¸°à¸¡à¸§à¸¥à¸à¸¥ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸³à¸¥à¸±à¸à¸à¸£à¸°à¸¡à¸§à¸¥à¸à¸¥ %{smart_count} à¹à¸à¸¥à¹"},recording:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¸à¸¶à¸",recordingLength:"à¸à¸§à¸²à¸¡à¸¢à¸²à¸§ %{recording_length}",recordingStoppedMaxSize:"หยุà¸à¸à¸²à¸£à¸à¸±à¸à¸à¸¶à¸à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¸à¸à¸²à¸à¹à¸à¸¥à¹à¸à¸³à¸¥à¸±à¸à¹à¸à¸´à¸à¸à¸µà¸à¸à¸³à¸à¸±à¸",removeFile:"ลà¸à¹à¸à¸¥à¹",resetFilter:"รีà¹à¸à¹à¸à¸à¸±à¸§à¸à¸£à¸à¸",resume:"à¸à¸³à¸à¹à¸",resumeUpload:"à¸à¸³à¸à¸²à¸£à¸à¸±à¸à¹à¸«à¸¥à¸à¸à¹à¸",retry:"ลà¸à¸à¹à¸«à¸¡à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸",retryUpload:"ลà¸à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸«à¸¡à¹",revert:"à¹à¸à¸¥à¸µà¹à¸¢à¸à¸à¸¥à¸±à¸",rotate:"หมุà¸",save:"à¸à¸±à¸à¸à¸¶à¸",saveChanges:"à¸à¸±à¸à¸à¸¶à¸à¸à¸²à¸£à¹à¸à¹à¹à¸",selectFileNamed:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹ %{name}",selectX:{0:"à¹à¸¥à¸·à¸à¸ %{smart_count}",1:"à¹à¸¥à¸·à¸à¸ %{smart_count}"},smile:"ยิà¹à¸¡!",startCapturing:"à¹à¸£à¸´à¹à¸¡à¸à¸²à¸£à¸à¸±à¸à¸ าà¸à¸«à¸à¹à¸²à¸à¸",startRecording:"à¹à¸£à¸´à¹à¸¡à¸à¸²à¸£à¸à¸±à¸à¸à¸¶à¸à¸§à¸´à¸à¸µà¹à¸",stopCapturing:"หยุà¸à¸à¸²à¸£à¸à¸±à¸à¸ าà¸à¸«à¸à¹à¸²à¸à¸",stopRecording:"หยุà¸à¸à¸²à¸£à¸à¸±à¸à¸à¸¶à¸à¸§à¸´à¸à¸µà¹à¸",streamActive:"สà¸à¸£à¸µà¸¡à¸à¸³à¸à¸²à¸à¸à¸¢à¸¹à¹",streamPassive:"สà¸à¸£à¸µà¸¡à¹à¸à¸à¸à¸²à¸ªà¸à¸µà¸",submitRecordedFile:"สà¹à¸à¸§à¸´à¸à¸µà¹à¸à¸à¸µà¹à¸à¹à¸²à¸¢",takePicture:"à¸à¹à¸²à¸¢à¸ าà¸",timedOut:"ยà¸à¹à¸¥à¸´à¸, à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸à¹à¹à¸à¹à¸à¹à¸§à¸¥à¸² %{seconds} วิà¸à¸²à¸à¸µ",unselectFileNamed:"ยà¸à¹à¸¥à¸´à¸à¸à¸²à¸£à¹à¸¥à¸·à¸à¸à¹à¸à¸¥à¹ %{name}",upload:"à¸à¸±à¸à¹à¸«à¸¥à¸",uploadComplete:"à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¸ªà¸³à¹à¸£à¹à¸",uploadFailed:"à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸¡à¹à¸ªà¸³à¹à¸£à¹à¸",uploadPaused:"หยุà¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¸à¸±à¹à¸§à¸à¸£à¸²à¸§",uploadXFiles:{0:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ %{smart_count} à¹à¸à¸¥à¹"},uploadXNewFiles:{0:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ +%{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ +%{smart_count} à¹à¸à¸¥à¹"},uploading:"Uploading",uploadingXFiles:{0:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸³à¸¥à¸±à¸à¸à¸±à¸à¹à¸«à¸¥à¸ %{smart_count} à¹à¸à¸¥à¹"},xFilesSelected:{0:"%{smart_count} à¹à¸à¸¥à¹à¸à¸¹à¸à¹à¸¥à¸·à¸à¸",1:"%{smart_count} à¹à¸à¸¥à¹à¸à¸¹à¸à¹à¸¥à¸·à¸à¸"},xMoreFilesAdded:{0:"%{smart_count} à¹à¸à¸¥à¹à¸à¸µà¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡à¹à¸à¹",1:"%{smart_count} à¹à¸à¸¥à¹à¸à¸µà¹à¸ªà¸²à¸¡à¸²à¸£à¸à¹à¸à¸´à¹à¸¡à¹à¸à¹"},xTimeLeft:"à¹à¸«à¸¥à¸·à¸à¸à¸µà¸ %{time}",youCanOnlyUploadFileTypes:"à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¹à¹à¸à¹: %{types}",youCanOnlyUploadX:{0:"à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¹à¹à¸à¹ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸¸à¸à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¹à¹à¸à¹ %{smart_count} à¹à¸à¸¥à¹"},youHaveToAtLeastSelectX:{0:"à¸à¸¸à¸à¸à¹à¸à¸à¹à¸¥à¸·à¸à¸à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢ %{smart_count} à¹à¸à¸¥à¹",1:"à¸à¸¸à¸à¸à¹à¸à¸à¹à¸¥à¸·à¸à¸à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢ %{smart_count} à¹à¸à¸¥à¹"},zoomIn:"à¸à¸¹à¸¡à¹à¸à¹à¸²",zoomOut:"à¸à¸¹à¸¡à¸à¸à¸"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.th_TH=n),r.Z=n},75751:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addMore:"Daha ekle",addMoreFiles:"Daha fazla dosya ekle",addingMoreFiles:"Daha fazla dosya ekleniyor",allowAccessDescription:"Kameranızla fotoÄraf \xe7ekmek veya video kaydetmek i\xe7in l\xfctfen eriÅim izni verin.",allowAccessTitle:"L\xfctfen kameranıza eriÅim izni verin",authenticateWith:"%{pluginName} ile baÄlan",authenticateWithTitle:"L\xfctfen dosyaları se\xe7mek i\xe7in %{pluginName} ile baÄlanın",back:"Geri",browse:"g\xf6zat",browseFiles:"g\xf6zat",cancel:"İptal",cancelUpload:"Y\xfcklemeyi İptal Et",chooseFiles:"Dosyaları se\xe7",closeModal:"Kapat",companionError:"BaÄlantı baÅarısız",complete:"Y\xfcklendi",connectedToInternet:"İnternete baÄlanıldı",copyLink:"Linki kopyala",copyLinkToClipboardFallback:"AÅaÄıdaki linki kopyala",copyLinkToClipboardSuccess:"Link panoya kopyalandı",creatingAssembly:"Y\xfcklemeye hazırlanıyor...",creatingAssemblyFailed:"Transloadit: Y\xfckleme oluÅturulamadı",dashboardTitle:"Dosya Y\xfckle",dashboardWindowTitle:"Dosya Y\xfckle (Kapatmak i\xe7in Esc)",dataUploadedOfTotal:"%{complete} / %{total}",done:"Bitti",dropHereOr:"S\xfcr\xfckleyip bırak veya %{browse}",dropHint:"Buraya s\xfcr\xfckleyip bırakın",dropPasteBoth:"S\xfcr\xfckleyip bırak, yapıÅtır veya %{browse}",dropPasteFiles:"S\xfcr\xfckleyip bırak, yapıÅtır veya %{browse}",dropPasteFolders:"S\xfcr\xfckleyip bırak, yapıÅtır veya %{browse}",dropPasteImportBoth:"S\xfcr\xfckleyip bırak, yapıÅtır, %{browse} veya i\xe7eri aktar",dropPasteImportFiles:"S\xfcr\xfckleyip bırak, yapıÅtır, %{browse} veya i\xe7eri aktar",dropPasteImportFolders:"S\xfcr\xfckleyip bırak, yapıÅtır, %{browse} veya i\xe7eri aktar",editFile:"Dosyayı d\xfczenle",editImage:"Resmi D\xfczenle",editing:"%{file} d\xfczenleniyor",emptyFolderAdded:"Klas\xf6r boÅ",encoding:"\xc7\xf6z\xfcmleniyor...",enterCorrectUrl:"Hatalı URL: L\xfctfen b
20ir dosyaya doÄrudan baÄlantı girdiÄinizden emin olun.",enterUrlToImport:"Dosya URLâsini buraya yapıÅtırın",exceedsSize:"Bu dosya izin verilen maksimum boyutu aÅıyor %{size}",failedToFetch:"Bu URLâden alınamadı, l\xfctfen doÄru olduÄundan emin olun",failedToUpload:"%{file} dosyası y\xfcklenemedi",fileSource:"Dosya kaynaÄı: %{name}",filesUploadedOfTotal:{0:"%{complete} / %{smart_count} dosya y\xfcklendi",1:"%{complete} / %{smart_count} dosya y\xfcklendi"},filter:"Filtre",finishEditingFile:"D\xfczenlemeyi bitir",folderAdded:{0:"%{folder} klas\xf6r\xfcnden %{smart_count} dosya eklendi",1:"%{folder} klas\xf6r\xfcnden %{smart_count} dosya eklendi"},import:"Ekle",importFrom:"%{name} Ekle",loading:"Y\xfckleniyor...",logOut:"\xc7ıkıÅ",myDevice:"Dosyalarım",noFilesFound:"Dosya veya klas\xf6r bulunamadı",noInternetConnection:"İnternet baÄlantınız yok",pause:"Durdur",pauseUpload:"Y\xfckleme Durdu",paused:"Durdu",poweredBy:"Powered by %{uppy}",processingXFiles:{0:"%{smart_count} dosya iÅleniyor",1:"%{smart_count} dosya iÅleniyor"},removeFile:"Dosyayı kaldır",resetFilter:"Filtreyi temizle",resume:"Devam Et",resumeUpload:"Y\xfcklemeye devam et",retry:"Tekrar",retryUpload:"Tekrar y\xfckle",saveChanges:"DeÄiÅiklikleri kaydet",selectX:{0:"%{smart_count} se\xe7",1:"%{smart_count} se\xe7"},smile:"G\xfcl\xfcmse!",startRecording:"Video kaydına baÅla",stopRecording:"Video kaydını durdur",takePicture:"FotoÄraf \xe7ek",timedOut:"Y\xfckleme iÅlemi %{seconds} saniyeden fazla s\xfcrd\xfcÄ\xfc i\xe7in iptal edildi.",upload:"Y\xfckle",uploadComplete:"Y\xfckleme tamamlandı",uploadFailed:"Y\xfckleme baÅarısız",uploadPaused:"Y\xfckleme durduruldu",uploadXFiles:{0:"%{smart_count} dosyayı y\xfckle",1:"%{smart_count} dosyayı y\xfckle"},uploadXNewFiles:{0:"+%{smart_count} dosyayı y\xfckle",1:"+%{smart_count} dosyayı y\xfckle"},uploading:"Y\xfckleniyor",uploadingXFiles:{0:"%{smart_count} dosya y\xfckleniyor",1:"%{smart_count} dosya y\xfckleniyor"},xFilesSelected:{0:"%{smart_count} dosya se\xe7ildi",1:"%{smart_count} dosya se\xe7ildi"},xMoreFilesAdded:{0:"%{smart_count} dosya daha eklendi",1:"%{smart_count} dosya daha eklendi"},xTimeLeft:"kalan s\xfcre %{time}",youCanOnlyUploadFileTypes:"Sadece %{types} y\xfckleyebilirsiniz",youCanOnlyUploadX:{0:"Sadece %{smart_count} dosya y\xfckleyebilirsiniz",1:"Sadece %{smart_count} dosya y\xfckleyebilirsiniz"},youHaveToAtLeastSelectX:{0:"En az %{smart_count} dosya se\xe7melisin",1:"En az %{smart_count} dosya se\xe7melisin"},selectFileNamed:"Dosya Se\xe7 %{name}",unselectFileNamed:"Dosya se\xe7imini kaldır %{name}",openFolderNamed:"A\xe7ık dosya %{name}"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.tr_TR=n),r.Z=n},14006:function(t,r){"use strict";let n={strings:{},pluralize:t=>1===t?0:1};n.strings={addBulkFilesFailed:{0:"Kh\xf4ng thá» th\xeam %{smart_count} tá»p do lá»i ná»i bá»",1:"Kh\xf4ng thá» th\xeam %{smart_count} tá»p do lá»i ná»i bá»"},addedNumFiles:"Ä\xe3 th\xeam %{numFiles} tá»p",addingMoreFiles:"Äang th\xeam tá»p",additionalRestrictionsFailed:"%{count} r\xe0ng buá»c bá» sung kh\xf4ng ÄÆ°á»£c Ä\xe1p ứng",addMore:"Th\xeam",addMoreFiles:"Th\xeam tá»p",allFilesFromFolderNamed:"Tất cả tá»p từ thư mục %{name}",allowAccessDescription:"Äá» chụp ảnh hoặc quay video bằng m\xe1y ảnh cá»§a bạn, vui l\xf2ng cho ph\xe9p truy cáºp m\xe1y ảnh cho trang web n\xe0y.",allowAccessTitle:"Vui l\xf2ng cho ph\xe9p truy cáºp m\xe1y ảnh cá»§a bạn",allowAudioAccessDescription:"Äá» ghi \xe2m, vui l\xf2ng cho ph\xe9p truy cáºp microphone cho trang web n\xe0y.",allowAudioAccessTitle:"Vui l\xf2ng cho ph\xe9p truy cáºp microphone cá»§a bạn",aspectRatioLandscape:"Cắt ảnh ngang (16:9)",aspectRatioPortrait:"Cắt ảnh dá»c (9:16)",aspectRatioSquare:"Cắt ảnh vu\xf4ng",authAborted:"X\xe1c thá»±c Ä\xe3 bá» há»§y",authenticateWith:"Kết ná»i vá»i %{pluginName}",authenticateWithTitle:"Vui l\xf2ng x\xe1c thá»±c vá»i %{pluginName} Äá» chá»n tá»p",back:"Quay lại",browse:"Duyá»t",browseFiles:"Duyá»t tá»p",browseFolders:"Duyá»t thư mục",cancel:"Há»§y",cancelUpload:"Há»§y tải l\xean",chooseFiles:"Chá»n tá»p",closeModal:"Ä\xf3ng cá»a sá»",companionError:"Kết ná»i thất bại",companionUnauthorizeHint:"Äá» há»§y á»§y quyá»n t\xe0i khoản %{provider}
20 cá»§a bạn, vui l\xf2ng truy cáºp %{url}",complete:"Ho\xe0n th\xe0nh",compressedX:"Tiết kiá»m %{size} bằng c\xe1ch n\xe9n ảnh",compressingImages:"Äang n\xe9n ảnh...",connectedToInternet:"Ä\xe3 kết ná»i vá»i Internet",copyLink:"Sao ch\xe9p li\xean kết",copyLinkToClipboardFallback:"Sao ch\xe9p URL b\xean dưá»i",copyLinkToClipboardSuccess:"Li\xean kết Ä\xe3 ÄÆ°á»£c sao ch\xe9p v\xe0o clipboard.",creatingAssembly:"Äang chuẩn bá» tải l\xean...",creatingAssemblyFailed:"Transloadit: Kh\xf4ng thá» tạo Assembly",dashboardTitle:"Bảng Äiá»u khiá»n Uppy",dashboardWindowTitle:"Cá»a sá» Bảng Äiá»u khiá»n Uppy (Nhấn Esc Äá» Ä\xf3ng)",dataUploadedOfTotal:"%{complete} tr\xean %{total}",discardRecordedFile:"Há»§y tá»p Ä\xe3 ghi \xe2m",done:"Ho\xe0n tất",dropHereOr:"K\xe9o v\xe0 thả v\xe0o Ä\xe2y hoặc %{browse}",dropHint:"K\xe9o v\xe0 thả tá»p cá»§a bạn v\xe0o Ä\xe2y",dropPasteBoth:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y, %{browseFiles} hoặc %{browseFolders}",dropPasteFiles:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y hoặc %{browseFiles}",dropPasteFolders:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y hoặc %{browseFolders}",dropPasteImportBoth:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y, %{browseFiles}, %{browseFolders} hoặc nháºp từ:",dropPasteImportFiles:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y, %{browseFiles} hoặc nháºp từ:",dropPasteImportFolders:"K\xe9o v\xe0 thả tá»p v\xe0o Ä\xe2y, %{browseFolders} hoặc nháºp từ:",editFile:"Chá»nh sá»a tá»p",editImage:"Chá»nh sá»a ảnh",editFileWithFilename:"Chá»nh sá»a tá»p %{file}",editing:"Äang chá»nh sá»a %{file}",emptyFolderAdded:"Kh\xf4ng c\xf3 tá»p n\xe0o ÄÆ°á»£c th\xeam từ thư mục trá»ng",encoding:"Äang m\xe3 h\xf3a...",enterCorrectUrl:"URL kh\xf4ng ch\xednh x\xe1c: Vui l\xf2ng Äảm bảo bạn nháºp má»t li\xean kết trá»±c tiếp Äến tá»p",enterTextToSearch:"Nháºp vÄn bản Äá» t\xecm kiếm ảnh",enterUrlToImport:"Nháºp URL Äá» nháºp tá»p",error:"Lá»i",exceedsSize:"%{file} vượt qu\xe1 k\xedch thưá»c tá»i Äa cho ph\xe9p l\xe0 %{size}",failedToFetch:"Companion kh\xf4ng thá» truy xuất URL n\xe0y, vui l\xf2ng Äảm bảo n\xf3 ch\xednh x\xe1c",failedToUpload:"Kh\xf4ng thá» tải l\xean %{file}",filesUploadedOfTotal:{0:"%{complete} trong sá» %{smart_count} tá»p tin Ä\xe3 ÄÆ°á»£c tải l\xean",1:"%{complete} trong sá» %{smart_count} tá»p tin Ä\xe3 ÄÆ°á»£c tải l\xean"},filter:"Bá» lá»c",finishEditingFile:"Ho\xe0n th\xe0nh chá»nh sá»a tá»p",flipHorizontal:"Láºt ngang",folderAdded:{0:"Ä\xe3 th\xeam %{smart_count} tá»p từ %{folder}",1:"Ä\xe3 th\xeam %{smart_count} tá»p từ %{folder}"},folderAlreadyAdded:'Thư mục "%{folder}" Ä\xe3 ÄÆ°á»£c th\xeam trưá»c Ä\xf3',generatingThumbnails:"Äang tạo h\xecnh thu nhá»...",import:"Nháºp",importFiles:"Nháºp tá»p từ:",importFrom:"Nháºp từ %{name}",inferiorSize:"Tá»p n\xe0y nhá» hÆ¡n k\xedch thưá»c tá»i Äa cho ph\xe9p l\xe0 %{size}",loadedXFiles:"Ä\xe3 tải %{numFiles} tá»p",loading:"Äang tải...",logOut:"ÄÄng xuất",micDisabled:"Ngưá»i d\xf9ng Ä\xe3 từ chá»i truy cáºp microphone",missingRequiredMetaField:"Thiếu trưá»ng meta bắt buá»c",missingRequiredMetaFieldOnFile:"Thiếu trưá»ng meta bắt buá»c trong %{fileName}",missingRequiredMetaFields:{0:"Thiếu trưá»ng meta bắt buá»c: %{fields}.",1:"Thiếu trưá»ng meta bắt buá»c: %{fields}."},myDevice:"Thiết bá» cá»§a t\xf4i",noAudioDescription:"Äá» ghi \xe2m, vui l\xf2ng kết ná»i microphone hoặc thiết bá» \xe2m thanh kh\xe1c",noAudioTitle:"Microphone kh\xf4ng khả dụng",noCameraDescription:"Äá» chụp ảnh hoặc quay video, vui l\xf2ng kết ná»i thiết bá» m\xe1y ảnh",noCameraTitle:"M\xe1y ảnh kh\xf4ng khả dụng",noDuplicates:"Kh\xf4ng thá» th\xeam tá»p tr\xf9ng lặp '%{fileName}', n\xf3 Ä\xe3 tá»n tại",noFilesFound:"Bạn kh\xf4ng c\xf3 tá»p hoặc thư mục n\xe0o á» Ä\xe2y",noInternetConnection:"Kh\xf4ng c\xf3 kết ná»i Internet",noMoreFilesAllowed:"Kh\xf4ng thá» th\xeam tá»p nữa",noSearchResults:"Rất tiếc, kh\xf4ng c\xf3 kết quả cho t\xecm kiếm n\xe0y",openFolderNamed:"Má» thư mục %{name}",pause:"Tạm dừng",paused:"Ä\xe3 tạm dừng",pauseUpload:"Tạm dừng tải l\xean",pluginNameAudio:"\xc2m thanh",pluginNameBox:"Box",pluginNameCamera:"M\xe1y ảnh",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google Drive",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"ÄÆ°á»£c cung cấp bá»i %{uppy}",processingXFiles:{0:"Äang xá» l\xfd %{smart_count} tá»p",1:"Äang xá» l\xfd %{smart_count} tá»p"},recording:"Äang ghi \xe2m",recordingLength:"Thá»i lượng ghi \xe2m %{recording_length}",recordingStoppedMaxSize:"Ghi \xe2m Ä\xe3 dừng v\xec k\xedch thưá»c tá»p sắp vượt qu\xe1 giá»i hạn",recordVideoBtn:"Quay video",re
20coveredAllFiles:"Ch\xfang t\xf4i Ä\xe3 kh\xf4i phục tất cả c\xe1c tá»p. Bạn c\xf3 thá» tiếp tục tải l\xean.",recoveredXFiles:{0:"Ch\xfang t\xf4i kh\xf4ng thá» kh\xf4i phục ho\xe0n to\xe0n 1 tá»p. Vui l\xf2ng chá»n lại n\xf3 v\xe0 tiếp tục tải l\xean.",1:"Ch\xfang t\xf4i kh\xf4ng thá» kh\xf4i phục ho\xe0n to\xe0n %{smart_count} tá»p. Vui l\xf2ng chá»n lại ch\xfang v\xe0 tiếp tục tải l\xean."},removeFile:"X\xf3a tá»p",reSelect:"Chá»n lại",resetFilter:"Äặt lại bá» lá»c",resetSearch:"Äặt lại t\xecm kiếm",resume:"Tiếp tục",resumeUpload:"Tiếp tục tải l\xean",retry:"Thá» lại",retryUpload:"Thá» lại tải l\xean",revert:"Phục há»i",rotate:"Xoay",save:"Lưu",saveChanges:"Lưu thay Äá»i",search:"T\xecm kiếm",searchImages:"T\xecm kiếm ảnh",selectX:{0:"Chá»n %{smart_count}",1:"Chá»n %{smart_count}"},sessionRestored:"Kh\xf4i phục phi\xean",showErrorDetails:"Hiá»n thá» chi tiết lá»i",signInWithGoogle:"ÄÄng nháºp bằng Google",smile:"Cưá»i!",startAudioRecording:"Bắt Äầu ghi \xe2m \xe2m thanh",startCapturing:"Bắt Äầu chụp m\xe0n h\xecnh",startRecording:"Bắt Äầu ghi \xe2m video",stopAudioRecording:"Dừng ghi \xe2m \xe2m thanh",stopCapturing:"Dừng chụp m\xe0n h\xecnh",stopRecording:"Dừng ghi \xe2m video",streamActive:"Luá»ng hoạt Äá»ng",streamPassive:"Luá»ng chá»",submitRecordedFile:"Gá»i tá»p Ä\xe3 ghi \xe2m",takePicture:"Chụp ảnh",takePictureBtn:"Chụp ảnh",timedOut:"Tải l\xean bá» tr\xec ho\xe3n trong %{seconds} gi\xe2y, Äang há»§y bá».",upload:"Tải l\xean",uploadComplete:"Tải l\xean ho\xe0n tất",uploadFailed:"Tải l\xean thất bại",uploading:"Äang tải l\xean",uploadingXFiles:{0:"Äang tải l\xean %{smart_count} tá»p",1:"Äang tải l\xean %{smart_count} tá»p"},uploadPaused:"Tải l\xean Ä\xe3 tạm dừng",uploadStalled:"Tải l\xean kh\xf4ng tiến triá»n trong %{seconds} gi\xe2y. Bạn c\xf3 thá» thá» lại.",uploadXFiles:{0:"Tải l\xean %{smart_count} tá»p",1:"Tải l\xean %{smart_count} tá»p"},uploadXNewFiles:{0:"Tải l\xean +%{smart_count} tá»p",1:"Tải l\xean +%{smart_count} tá»p"},xFilesSelected:{0:"Ä\xe3 chá»n %{smart_count} tá»p",1:"Ä\xe3 chá»n %{smart_count} tá»p"},xMoreFilesAdded:{0:"Th\xeam %{smart_count} tá»p",1:"Th\xeam %{smart_count} tá»p"},xTimeLeft:"C\xf2n lại %{time}",youCanOnlyUploadFileTypes:"Bạn chá» c\xf3 thá» tải l\xean: %{types}",youCanOnlyUploadX:{0:"Bạn chá» c\xf3 thá» tải l\xean %{smart_count} tá»p",1:"Bạn chá» c\xf3 thá» tải l\xean %{smart_count} tá»p"},youHaveToAtLeastSelectX:{0:"Bạn phải chá»n \xedt nhất %{smart_count} tá»p",1:"Bạn phải chá»n \xedt nhất %{smart_count} tá»p"},zoomIn:"Ph\xf3ng to",zoomOut:"Thu nhá»"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.vi_VN=n),r.Z=n},33947:function(t,r){"use strict";let n={strings:{},pluralize:()=>0};n.strings={addBulkFilesFailed:"å
é¨éè¯¯å¯¼è´æ·»å %{smart_count} 个æä»¶å¤±è´¥",addMore:"æ·»å æ´å¤æä»¶",addMoreFiles:"æ·»å æ´å¤æä»¶",addingMoreFiles:"æ·»å æ´å¤æä»¶",allowAccessDescription:"为äºéè¿æ¨çç¸æºè¿è¡æç
§æå½åï¼è¯·ç»ç½ç«ç¸æºçè®¿é®æé",allowAccessTitle:"请å
è®¸å¯¹ç¸æºçè®¿é®æé",authenticateWith:"è¿æ¥å° %{pluginName}",authenticateWithTitle:"è¯·ä½¿ç¨ %{pluginName} è¿è¡è®¤è¯ä»¥éæ©æä»¶",back:"è¿å",browse:"æµè§",browseFiles:"æµè§",cancel:"åæ¶",cancelUpload:"åæ¶ä¸ä¼ ",chooseFiles:"éæ©æä»¶",closeModal:"å
³éçªå£",companionError:"å Companion è¿æ¥å¤±è´¥äº",companionUnauthorizeHint:"è¯·è®¿é® %{url} ä»¥è®¤è¯æ¨ç %{provider} è´¦æ·",complete:"ä¸ä¼ 宿¯",connectedToInternet:"è¿æ¥è³ç½ç»",copyLink:"å¤å¶é¾æ¥",copyLinkToClipboardFallback:"å¤å¶ä»¥ä¸ç½å",copyLinkToClipboardSuccess:"龿¥å·²å¤å¶å°åªè´´æ¿",creatingAssembly:"æ£å¨åå¤ä¸ä¼ â¦",creatingAssemblyFailed:"Transloaditï¼æ æ³å建ç¨åºé",dashboardTitle:"æä»¶ä¸ä¼ å·¥å
·",dashboardWindowTitle:"æä»¶ä¸ä¼ å·¥å
·çªå£ï¼ç¹å»ç¦»å¼ä»¥å
³éï¼",dataUploadedOfTotal:"%{total} / %{complete}",done:"宿",dropHereOr:"ææ½æä»¶å°è¿éï¼æ%{browse}",dropHint:"ææ½æä»¶å°è¿é",dropPasteBoth:"ææ½æä»¶å°è¿éï¼æè
%{browse}æä»¶",dropPasteFiles:"ææ½æä»¶å°è¿éï¼æè
%{browse}æä»¶",dropPasteFolders:"ææ½æä»¶å°è¿éï¼æè
%{browse}æä»¶",dropPasteImportBoth:"ææ½æä»¶å°è¿éï¼ç²è´´ã%{browse}æè
导å
¥",dropPasteImportFiles:"ææ½æä»¶å°è¿éï¼ç²è´´ã%{browse}æè
导å
¥",dropPasteImportFolders:"ææ½æä»¶å°è¿éï¼ç²è´´ã%{browse}æè
导å
¥",editFile:"ç¼è¾æä»¶",editImage:"ç¼è¾å¾ç",editing:"æ£å¨ç¼è¾ %{file}",emptyFolderAdded:"æ æ³ä»ç©ºæä»¶å¤¹æ·»å æä»¶",encoding:"æ£å¨ç¼ç â¦",enterCorrectUrl:"éè¯¯é¾æ¥ï¼ 请确认æ¨è¾å
¥çæ¯æä»¶ç龿¥",enterUrlToImport:"è¾å
¥é¾æ¥æè
导å
¥æä»¶",exceedsSize:"æä»¶è¶
è¿äºæå¤§å°ºå¯¸éå¶ %{size}",failedToFetch:"Companion æ æ³æåæ¤é¾æ¥ï¼è¯·ç¡®ä¿å®æ¯æ£ç¡®ç",failedToUpload:"ä¸ä¼ %{file} 失败",fileSource:"æä»¶æºï¼%{name}",filesUploadedOfTotal:"å·²ä¸ä¼ %{smart_count} 个æä»¶ä¸ç %{complete} 个",filter:"çéå¨",finishEditingFile:"宿æä»¶ç¼è¾",folderAdded:"ä» %{folder} æ·»å äº %{smart_count} 个æä»¶",generatingThumbnails:"æ£å¨çæç¼©ç¥å¾â¦",import:"导å
¥",importFrom:"ä» %{name} 导å
¥",inferiorSize:"æä»¶å¤§å°å¿
é¡»è¶
è¿ %{size}",loading:"æ£å¨è½½å
¥â¦",logOut:"ç»åº",micDisabled:"麦å
é£çæé访é®è¢«ç¨æ·æç»",myDevice:"æç设å¤",noCameraDescription:"ä¸ºäºææç
§çæå½å¶è§é¢ï¼è¯·è¿æ¥ä¸ä¸ªæå设å¤",noCameraTitle:"æå头ä¸å¯ç¨",noDuplicates:"æ æ³æ·»å é夿件 %{fileName}
20ï¼è¯¥æä»¶å·²åå¨",noFilesFound:"è¿é空空å¦ä¹",noInternetConnection:"æ æ³è¿æ¥å°ç½ç»",noMoreFilesAllowed:"æ æ³æ·»å æ°æä»¶ï¼å·²æ£å¨ä¸ä¼ æä»¶",openFolderNamed:"æå¼æä»¶å¤¹ %{name}",pause:"æå",pauseUpload:"æåä¸ä¼ ",paused:"å·²æå",poweredBy:"强å驱å¨äº %{uppy}",processingXFiles:"æ£å¨å¤ç %{smart_count} 个æä»¶",recording:"æ£å¨å½å¶",recordingLength:"å½å¶é¿åº¦ %{recording_length}",recordingStoppedMaxSize:"å½åå·²åæ¢ï¼æä»¶å¤§å°å³å°è¶
è¿éå¶",removeFile:"å 餿件",resetFilter:"éç½®çéå¨",resume:"æ¢å¤",resumeUpload:"æ¢å¤ä¸ä¼ ",retry:"éè¯",retryUpload:"éè¯",saveChanges:"ä¿ååæ´",selectFileNamed:"éæ©æä»¶ %{name}",selectX:"éæ© %{smart_count}",smile:"ç¬ä¸ç¬ï¼",startCapturing:"å¼å§å±å¹å½å¶",startRecording:"å¼å§è§é¢å½å¶",stopCapturing:"忢å±å¹å½å¶",stopRecording:"忢è§é¢å½å¶",streamActive:"è§é¢æµå·²æ¿æ´»",streamPassive:"è§é¢æµæªæ¿æ´»",submitRecordedFile:"æäº¤å·²å½å¶è§é¢",takePicture:"æç
§",timedOut:"ä¸ä¼ å·²è¶
æ¶ %{seconds} ç§ï¼ä¸æ¢ä¸ä¼ ",unselectFileNamed:"åæ¶éæ©æä»¶ %{name}",upload:"ä¸ä¼ ",uploadComplete:"ä¸ä¼ 宿",uploadFailed:"ä¸ä¼ 失败",uploadPaused:"ä¸ä¼ æå",uploadXFiles:"ä¸ä¼ %{smart_count} 个æä»¶",uploadXNewFiles:"æ°ä¸ä¼ äº %{smart_count} 个æä»¶",uploading:"æ£å¨ä¸ä¼ ",uploadingXFiles:"æ£å¨ä¸ä¼ %{smart_count} 个æä»¶",xFilesSelected:"%{smart_count} 个æä»¶å¾
ä¸ä¼ ",xMoreFilesAdded:"åæ %{smart_count} 个æä»¶è¢«æ·»å ",xTimeLeft:"å©ä½ %{time}",youCanOnlyUploadFileTypes:"æ¨åªè½ä¸ä¼ è¿äºæä»¶ç±»åï¼%{types}",youCanOnlyUploadX:"æ¨åªè½ä¸ä¼ %{smart_count} 个æä»¶",youHaveToAtLeastSelectX:"æ¨è³å°è¦éæ© %{smart_count} 个æä»¶"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.zh_CN=n),r.Z=n},93443:function(t,r){"use strict";let n={strings:{},pluralize:()=>0};n.strings={addBulkFilesFailed:"å 伺æå¨é¯èª¤ï¼ç¡æ³æ°å¢ %{smart_count} åæªæ¡",addedNumFiles:"å·²æ°å¢ %{numFiles} åæªæ¡",addingMoreFiles:"æ£å¨æ°å¢æ´å¤æªæ¡",additionalRestrictionsFailed:"å°æªæ»¿è¶³ %{count} åé¡å¤éå¶",addMore:"æ°å¢æ´å¤",addMoreFiles:"æ°å¢æ´å¤æªæ¡",allFilesFromFolderNamed:"è³æå¤¾ %{name} ä¸çæææªæ¡",allowAccessDescription:"è«å
許æ¬ç¶²ç«ååç¸æ©ä»¥æç
§æéå½±ã",allowAccessTitle:"è«å
許å°ç¸æ©çå忬é",allowAudioAccessDescription:"è«å
許æ¬ç¶²ç«åå麥å
風以é製é³è¨ã",allowAudioAccessTitle:"è«å
許å°éº¥å
風çå忬é",aspectRatioLandscape:"è£åææ©«å (16:9)",aspectRatioPortrait:"è£åæç´å (9:16)",aspectRatioSquare:"è£åææ¹å½¢",authAborted:"é©è已䏿¢",authenticateWith:"飿¥å° %{pluginName}",authenticateWithTitle:"è«ä½¿ç¨ %{pluginName} é²è¡èº«ä»½é©èä»¥é¸ææªæ¡",back:"è¿å",browse:"ç覽",browseFiles:"çè¦½æªæ¡",browseFolders:"çè¦½è³æå¤¾",cancel:"åæ¶",cancelUpload:"åæ¶ä¸å³",chooseFiles:"é¸ææªæ¡",closeModal:"ééè¦çª",companionError:"è Companion ç飿¥å¤±æ",companionUnauthorizeHint:"è¥è¦åæ¶ %{provider} 帳èèªèï¼è«åå¾ %{url}",complete:"宿",compressedX:"åçå£ç¸®å¾ï¼çä¸äº %{size}",compressingImages:"æ£å¨å£ç¸®åç...",connectedToInternet:"é£ç·è³ç¶²è·¯",copyLink:"è¤è£½é£çµ",copyLinkToClipboardFallback:"è¤è£½ä»¥ä¸ç¶²å",copyLinkToClipboardSuccess:"é£çµå·²è¤è£½å°åªè²¼ç°¿",creatingAssembly:"æ£å¨æºåä¸å³...",creatingAssemblyFailed:"Transloaditï¼ç¡æ³å»ºç«ç¨åºé",dashboardTitle:"Uppy å表æ¿",dashboardWindowTitle:"Uppy å表æ¿è¦çªï¼æä¸ Esc 以ééï¼",dataUploadedOfTotal:"%{complete}/%{total}",discardRecordedFile:"æ¨æ£éå½±æª",done:"宿",dropHereOr:"ææ³è³æ¤èï¼æ%{browse}",dropHint:"å°æªæ¡ææ³è³æ¤è",dropPasteBoth:"å°æªæ¡ææ³è³æ¤èã%{browseFiles}ï¼æ%{browseFolders}",dropPasteFiles:"å°æªæ¡ææ³è³æ¤èï¼æ%{browseFiles}",dropPasteFolders:"å°æªæ¡ææ³è³æ¤èï¼æ%{browseFolders}",dropPasteImportBoth:"å°æªæ¡ææ³è³æ¤èã%{browseFiles}ï¼æå¯å
¥",dropPasteImportFiles:"å°æªæ¡ææ³è³æ¤èã%{browseFiles}ï¼æå¯å
¥",dropPasteImportFolders:"å°æªæ¡ææ³è³æ¤èã%{browseFolders}ï¼æå¯å
¥",editFile:"ç·¨è¼¯æªæ¡",editImage:"編輯åç",editFileWithFilename:"ç·¨è¼¯æªæ¡ %{file}",editing:"編輯 %{file}",emptyFolderAdded:"æªå¾ç©ºè³æå¤¾æ°å¢ä»»ä½æªæ¡",encoding:"編碼ä¸...",enterCorrectUrl:"é¯èª¤é£çµï¼è«ç¢ºèªæ¨è¼¸å
¥çæ¯æªæ¡é£çµ",enterTextToSearch:"輸å
¥æå以æå°åç",enterUrlToImport:"輸å
¥é£çµä»¥å¯å
¥æªæ¡",error:"é¯èª¤",exceedsSize:"æ¤æªæ¡å¤§å°è¶
åºå
許çæå¤§å¼ %{size}
20",failedToFetch:"Companion ç¡æ³æåæ¤é£çµï¼è«ç¢ºèªå®æ¯æ£ç¢ºç",failedToUpload:"%{file} ä¸å³å¤±æ",filesUploadedOfTotal:"å·²ä¸å³ %{complete} åæªæ¡ä¸ç %{smart_count} åæªæ¡",filter:"篩é¸å¨",finishEditingFile:"å®ææªæ¡ç·¨è¼¯",flipHorizontal:"水平翻è½",folderAdded:"å¾ %{folder} æ°å¢äº %{smart_count} åæªæ¡",folderAlreadyAdded:'è³æå¤¾ "%{folder}" å·²æ°å¢',generatingThumbnails:"æ£å¨ç¢ç縮å...",import:"å¯å
¥",importFiles:"æªæ¡å¯å
¥ä¾æºï¼",importFrom:"å¾ %{name} å¯å
¥",inferiorSize:"æ¤æªæ¡å°æ¼å
許ç大å°ï¼%{size}",loading:"æ£å¨è¼å
¥...",logOut:"ç»åº",micDisabled:"使ç¨è
æçµéº¥å
風å忬é",missingRequiredMetaField:"éºæ¼ä¸ç¹¼è³æå¿
è¦æ¬ä½",missingRequiredMetaFieldOnFile:"%{fileName} éºæ¼ä¸ç¹¼è³æå¿
è¦æ¬ä½",missingRequiredMetaFields:"éºæ¼ä¸ç¹¼è³æå¿
è¦æ¬ä½ï¼%{fields}ã",myDevice:"æçè£ç½®",noAudioDescription:"è«é£æ¥éº¥å
風æå
¶ä»é³è¨è¼¸å
¥è£ç½®ä»¥é製é³è¨",noAudioTitle:"ç¡æ³ä½¿ç¨éº¥å
風",noCameraDescription:"è«é£æ¥ç¸æ©ä»¥æç
§æéå½±",noCameraTitle:"ç¡æ³ä½¿ç¨ç¸æ©",noDuplicates:"ç¡æ³æ°å¢éè¤æªæ¡ï¼'%{fileName}' å·²åå¨",noFilesFound:"é裡空空å¦ä¹",noInternetConnection:"ç¡ç¶²è·¯é£ç·",noMoreFilesAllowed:"ç¡æ³æ°å¢æ´å¤æªæ¡",noSearchResults:"æ±æï¼æ¾ä¸å°ç¬¦åæ¤æå°æ¢ä»¶ççµæ",openFolderNamed:"éåè³æå¤¾ %{name}",pause:"æ«å",paused:"å·²æ«å",pauseUpload:"æ«åä¸å³",pluginNameAudio:"é³è¨",pluginNameBox:"Box",pluginNameCamera:"ç¸æ©",pluginNameDropbox:"Dropbox",pluginNameFacebook:"Facebook",pluginNameGoogleDrive:"Google é²ç«¯ç¡¬ç¢",pluginNameInstagram:"Instagram",pluginNameOneDrive:"OneDrive",pluginNameZoom:"Zoom",poweredBy:"æè¡æä¾è
%{uppy}",processingXFiles:"æ£å¨èç %{smart_count} åæªæ¡",recording:"æ£å¨é製",recordingLength:"é製æé· %{recording_length}",recordingStoppedMaxSize:"å æªæ¡å¤§å°å³å°è¶
åºéå¶è忢é製",recordVideoBtn:"éå½±",recoveredAllFiles:"æåéåäºæææªæ¡ãæ¨ç¾å¨å¯ä»¥ç¹¼çºä¸å³äºã",recoveredXFiles:"æåç¡æ³å®å
¨å¾©å %{smart_count} åæªæ¡ãè«éæ°é¸ææªæ¡ä¸¦ç¹¼çºä¸å³ã",removeFile:"ç§»é¤æªæ¡",reSelect:"鿰鏿",resetFilter:"éè¨ç¯©é¸å¨",resetSearch:"éè¨æå°",resume:"ç¹¼çº",resumeUpload:"ç¹¼çºä¸å³",retry:"é試",retryUpload:"é試ä¸å³",revert:"éå",rotate:"æè½",save:"å²å",saveChanges:"å²åè®æ´",search:"æå°",searchImages:"æå°åç",selectX:"鏿 %{smart_count}",sessionRestored:"已復åå·¥ä½é段",showErrorDetails:"顯示é¯èª¤è©³ç´°è³è¨",signInWithGoogle:"éé Google ç»å
¥",smile:"è«å¾®ç¬ï¼",startAudioRecording:"éå§éé³",startCapturing:"éå§ç«é¢æ·å",startRecording:"éå§éå½±",stopAudioRecording:"忢éé³",stopCapturing:"忢ç«é¢æ·å",stopRecording:"忢éå½±",streamActive:"主å串æµ",streamPassive:"被å串æµ",submitRecordedFile:"æäº¤éå½±æª",takePicture:"æç
§",takePictureBtn:"æç
§",timedOut:"ä¸å³å·²å滯 %{seconds} ç§ï¼æ£å¨ä¸æ¢ä¸å³ã",upload:"ä¸å³",uploadComplete:"ä¸å³å®æ",uploadFailed:"ä¸å³å¤±æ",uploading:"æ£å¨ä¸å³",uploadingXFiles:"æ£å¨ä¸å³ %{smart_count} åæªæ¡",uploadPaused:"æ«åä¸å³",uploadStalled:"ä¸å³å·²å滯 %{seconds} ç§ãè«èæ
®é試ã",uploadXFiles:"ä¸å³ %{smart_count} åæªæ¡",uploadXNewFiles:"ä¸å³ +%{smart_count} åæªæ¡",xFilesSelected:"已鏿 %{smart_count} åæªæ¡",xMoreFilesAdded:"åæ°å¢ %{smart_count} åæªæ¡",xTimeLeft:"éå©ä¸ %{time}",youCanOnlyUploadFileTypes:"æ¨åªè½ä¸å³éäºæªæ¡é¡åï¼%{types}",youCanOnlyUploadX:"æ¨åªè½ä¸å³ %{smart_count} åæªæ¡",youHaveToAtLeastSelectX:"æ¨è³å°è¦é¸æ %{smart_count} åæªæ¡",zoomIn:"æ¾å¤§",zoomOut:"縮å°"},"undefined"!=typeof Uppy&&(globalThis.Uppy.locales.zh_TW=n),r.Z=n},10444:function(t,r,n){"use strict";let i;n.d(r,{Z:function(){return e6}});var o,a,s,l,u,c,d,h,f,p,m,g,y=n(48629);class v{#eQ;#e0=[];constructor(t){this.#eQ=t}on(t,r){return this.#e0.push([t,r]),this.#eQ.on(t,r)}remove(){for(let[t,r]of this.#e0.splice(0))this.#eQ.off(t,r)}onFilePause(t,r){this.on("upload-pause",(n,i)=>{t===n?.id&&r(i)})}onFileRemove(t,r){this.on("file-removed",n=>{t===n.id&&r(n.id)})}onPause(t,r){this.on("upload-pause",(n,i)=>{t===n?.id&&r(i)})}onRetry(t,r){this.on("upload-retry",n=>{t===n?.id&&r()})}onRetryAll(t,r){this.on("retry-all",()=>{this.#eQ.getFile(t)&&r()})}onPauseAll(t,r){this.on("pause-all",()=>{this.#eQ.getFile(t)&&r()})}onCancelAll(t,r){this.on("cancel-all",(...n)=>{this.#eQ.getFile(t)&&r(...n)})}onResumeAll(t,r){this.on("resume-all",()=>{this.#eQ.getFile(t)&&r()})}}function b(t,r){return Object.hasOwn(t,r)}
20class w extends Error{cause;isNetworkError;request;constructor(t,r=null){super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=t,this.isNetworkError=!0,this.request=r}}function _(t){if(null!=t){let r=()=>this.abort(t.reason);t.addEventListener("abort",r,{once:!0});let n=()=>{t.removeEventListener("abort",r)};this.then?.(n,n)}return this}class S{#e1=0;#e2=[];#e3=!1;#e5;#e6=1;#e4;#e8;limit;constructor(t){"number"!=typeof t||0===t?this.limit=1/0:this.limit=t}#e9(t){let r;this.#e1+=1;let n=!1;try{r=t()}catch(t){throw this.#e1-=1,t}return{abort:t=>{n||(n=!0,this.#e1-=1,r?.(t),this.#e7())},done:()=>{n||(n=!0,this.#e1-=1,this.#e7())}}}#e7(){queueMicrotask(()=>this.#eq())}#eq(){if(this.#e3||this.#e1>=this.limit||0===this.#e2.length)return;let t=this.#e2.shift();if(null==t)throw Error("Invariant violation: next is null");let r=this.#e9(t.fn);t.abort=r.abort,t.done=r.done}#eO(t,r){let n={fn:t,priority:r?.priority||0,abort:()=>{this.#te(n)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},i=this.#e2.findIndex(t=>n.priority>t.priority);return -1===i?this.#e2.push(n):this.#e2.splice(i,0,n),n}#te(t){let r=this.#e2.indexOf(t);-1!==r&&this.#e2.splice(r,1)}run(t,r){return!this.#e3&&this.#e1<this.limit?this.#e9(t):this.#eO(t,r)}wrapSyncFunction(t,r){return(...n)=>{let i=this.run(()=>(t(...n),queueMicrotask(()=>i.done()),()=>{}),r);return{abortOn:_,abort(){i.abort()}}}}wrapPromiseFunction(t,r){return(...n)=>{let i;let o=new Promise((o,a)=>{i=this.run(()=>{let r,s;try{s=Promise.resolve(t(...n))}catch(t){s=Promise.reject(t)}return s.then(t=>{r?a(r):(i.done(),o(t))},t=>{r?a(r):(i.done(),a(t))}),t=>{r=Error("Cancelled",{cause:t})}},r)});return o.abort=t=>{i.abort(t)},o.abortOn=_,o}}resume(){this.#e3=!1,clearTimeout(this.#e5);for(let t=0;t<this.limit;t++)this.#e7()}#tt=()=>this.resume();pause(t=null){this.#e3=!0,clearTimeout(this.#e5),null!=t&&(this.#e5=setTimeout(this.#tt,t))}rateLimit(t){clearTimeout(this.#e8),this.pause(t),this.limit>1&&Number.isFinite(this.limit)&&(this.#e4=this.limit-1,this.limit=this.#e6,this.#e8=setTimeout(this.#tr,t))}#tr=()=>{if(this.#e3){this.#e8=setTimeout(this.#tr,0);return}this.#e6=this.limit,this.limit=Math.ceil((this.#e4+this.#e6)/2);for(let t=this.#e6;t<=this.limit;t++)this.#e7();this.#e4-this.#e6>3?this.#e8=setTimeout(this.#tr,2e3):this.#e6=Math.floor(this.#e6/2)};get isPaused(){return this.#e3}}function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Symbol("__queue");var A=(o=function t(){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,t)},a=[{key:"listAllUploads",value:function(){return Promise.resolve([])}},{key:"findUploadsByFingerprint",value:function(t){return Promise.resolve([])}},{key:"removeUpload",value:function(t){return Promise.resolve()}},{key:"addUpload",value:function(t,r){return Promise.resolve(null)}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=E(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=E(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==E(r)?r:r+""}(i.key),i)}}(o.prototype,a),Object.defineProperty(o,"prototype",{writable:!1}),o);let x="function"==typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0}):void 0,k="function"==typeof TextEncoder?new TextEncoder:void 0,O=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),P=(i={},O.forEach((t,r)=>i[t]=r),i),C=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,T=String.fromCharCode.bind(String),M="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):t=>
20new Uint8Array(Array.prototype.slice.call(t,0)),R=t=>t.replace(/=/g,"").replace(/[+\/]/g,t=>"+"==t?"-":"_"),I=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),N="function"==typeof btoa?t=>btoa(t):t=>{let r,n,i,o,a="",s=t.length%3;for(let s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(i=t.charCodeAt(s++))>255||(o=t.charCodeAt(s++))>255)throw TypeError("invalid character found");a+=O[(r=n<<16|i<<8|o)>>18&63]+O[r>>12&63]+O[r>>6&63]+O[63&r]}return s?a.slice(0,s-3)+"===".substring(s):a},D="function"==typeof Uint8Array.prototype.toBase64?t=>t.toBase64():t=>{let r=[];for(let n=0,i=t.length;n<i;n+=4096)r.push(T.apply(null,t.subarray(n,n+4096)));return N(r.join(""))},F=t=>{if(t.length<2){var r=t.charCodeAt(0);return r<128?t:r<2048?T(192|r>>>6)+T(128|63&r):T(224|r>>>12&15)+T(128|r>>>6&63)+T(128|63&r)}var r=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return T(240|r>>>18&7)+T(128|r>>>12&63)+T(128|r>>>6&63)+T(128|63&r)},L=/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g,$=t=>t.replace(L,F),j=k?t=>D(k.encode(t)):t=>N($(t)),U=(t,r=!1)=>r?R(j(t)):j(t),B=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=t=>{switch(t.length){case 4:var r=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return T((r>>>10)+55296)+T((1023&r)+56320);case 3:return T((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return T((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},H=t=>t.replace(B,z),q="function"==typeof atob?t=>atob(I(t)):t=>{let r,n,i;if(t=t.replace(/\s+/g,""),!C.test(t))throw TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let o=[];for(let a=0;a<t.length;)r=P[t.charAt(a++)]<<18|P[t.charAt(a++)]<<12|(n=P[t.charAt(a++)])<<6|(i=P[t.charAt(a++)]),64===n?o.push(T(r>>16&255)):64===i?o.push(T(r>>16&255,r>>8&255)):o.push(T(r>>16&255,r>>8&255,255&r));return o.join("")},V="function"==typeof Uint8Array.fromBase64?t=>Uint8Array.fromBase64(t):t=>M(q(t).split("").map(t=>t.charCodeAt(0))),G=x?t=>x.decode(V(t)):t=>H(q(t)),W=t=>I(t.replace(/[-_]/g,t=>"-"==t?"+":"/"));var K=n(44113),Y=n.n(K);function Z(t){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t){var r="function"==typeof Map?new Map:void 0;return(X=function(t){if(null===t||!function(t){try{return -1!==Function.toString.call(t).indexOf("[native code]")}catch(r){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,n)}function n(){return function(t,r,n){if(J())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,r);var o=new(t.bind.apply(t,i));return n&&Q(o,n.prototype),o}(t,arguments,ee(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Q(n,t)})(t)}function J(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(J=function(){return!!t})()}function Q(t,r){return(Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function ee(t){return(ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var et=function(t){function r(t){var n,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),n=r,i=[t],n=ee(n),(o=function(t,r){if(r&&("object"===Z(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,J()?Reflect.construct(n,i||[],ee(this).constructor):n.apply(this,i))).originalRequest=s,o.originalResponse=l,o.
vendor: 5,203 bytes, line 20
20causingError=a,null!=a&&(t+=", caused by ".concat(a.toString())),null!=s){var u=s.getHeader("X-Request-ID")||"n/a",c=s.getMethod(),d=s.getURL(),h=l?l.getStatus():"n/a",f=l?l.getBody()||"":"n/a";t+=", originated from request (method: ".concat(c,", url: ").concat(d,", response code: ").concat(h,", response text: ").concat(f,", request id: ").concat(u,")")}return o.message=t,o}return!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&Q(t,r)}(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(X(Error));function er(){er=function(){return r};var t,r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,r,n){t[r]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,r,n){return Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(t){c=function(t,r,n){return t[r]=n}}function d(r,n,i,a){var s,l,u=Object.create((n&&n.prototype instanceof y?n:y).prototype);return o(u,"_invoke",{value:(s=new P(a||[]),l=f,function(n,o){if(l===p)throw Error("Generator is already running");if(l===m){if("throw"===n)throw o;return{value:t,done:!0}}for(s.method=n,s.arg=o;;){var a=s.delegate;if(a){var u=function r(n,i){var o=i.method,a=n.iterator[o];if(a===t)return i.delegate=null,"throw"===o&&n.iterator.return&&(i.method="return",i.arg=t,r(n,i),"throw"===i.method)||"return"!==o&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var s=h(a,n.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,g;var l=s.arg;return l?l.done?(i[n.resultName]=l.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,g):l:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,g)}(a,s);if(u){if(u===g)continue;return u}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===f)throw l=m,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=p;var c=h(r,i,s);if("normal"===c.type){if(l=s.done?m:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:s.done}}"throw"===c.type&&(l=m,s.method="throw",s.arg=c.arg)}})}),u}function h(t,r,n){try{return{type:"normal",arg:t.call(r,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=d;var f="suspendedStart",p="executing",m="completed",g={};function y(){}function v(){}function b(){}var w={};c(w,s,function(){return this});var _=Object.getPrototypeOf,S=_&&_(_(C([])));S&&S!==n&&i.call(S,s)&&(w=S);var E=b.prototype=y.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t)})})}function x(t,r){var n;o(this,"_invoke",{value:function(o,a){function s(){return new r(function(n,s){!function n(o,a,s,l){var u=h(t[o],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==eo(d)&&i.call(d,"__await")?r.resolve(d.__await).then(function(t){n("next",t,s,l)},function(t){n("throw",t,s,l)}):r.resolve(d).then(function(t){c.value=t,s(c)},function(t){return n("throw",t,s,l)})}l(u.arg)}(o,a,n,s)})}return n=n?n.then(s,s):s()}})}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(r){if(r||""===r){var n=r[s];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function n(){for(;++o<r.length;)if(i.call(r,o))return n.value=r[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw TypeError(eo(r)+" is not iterable")}return v.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=c(b,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===v||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},r.awrap=function(t){return{__await:t}},A(x.prototype),c(x.prototype,l,function(){return this}),r.AsyncIterator=x,r.async=function(t,n,i,o,a){void 0===a&&(a=Promise);var s=new x(d(t,n,i,o),a);return r.isGeneratorFunction(n)?s:s.next().then(function(t){return t.done?t.value:s.next()})},A(E),c(E,u,"Generator"),c(E,s,function(){return this}),c(E,"toString",function(){return"[object Generator]"}),r.keys=function(t){var r=Object(t),n=[];for(var i in r)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in r)return t.value=i,t.done=!1,t}return t.done=!0,t}},r.values=C,P.prototype={constructor:P,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
vendor: 4,465 bytes, line 20
20h(O),!r)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function o(i,o){return l.type="throw",l.arg=r,n.next=i,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],l=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var u=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(u&&c){if(this.prev<s.catchLoc)return o(s.catchLoc,!0);if(this.prev<s.finallyLoc)return o(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=r,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(s)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(r,n,i){return this.delegate={iterator:C(r),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},r}function en(t,r,n,i,o,a,s){try{var l=t[a](s),u=l.value}catch(t){n(t);return}l.done?r(u):Promise.resolve(u).then(i,o)}function ei(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,a,s,l=[],u=!0,c=!1;try{if(a=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;u=!1}else for(;!(u=(i=a.call(n)).done)&&(l.push(i.value),l.length!==r);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return l}}(t,r)||ea(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(t){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ea(t,r){if(t){if("string"==typeof t)return es(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return es(t,r)}}function es(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}function el(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function eu(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?el(Object(n),!0).forEach(function(r){var i,o;i=r,o=n[r],(i=ed(i))in t?Object.defineProperty(t,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):el(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ec(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,ed(i.key),i)}}function ed(t){var r=function(t,r){if("object"!=eo(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=eo(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}
20(t,"string");return"symbol"==eo(r)?r:r+""}var eh="tus-v1",ef="ietf-draft-03",ep="ietf-draft-05",em={endpoint:null,uploadUrl:null,metadata:{},metadataForPartialUploads:{},fingerprint:null,uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,onUploadUrlAvailable:null,overridePatchMethod:!1,headers:{},addRequestId:!1,onBeforeRequest:null,onAfterResponse:null,onShouldRetry:eE,chunkSize:Number.POSITIVE_INFINITY,retryDelays:[0,1e3,3e3,5e3],parallelUploads:1,parallelUploadBoundaries:null,storeFingerprintForResuming:!0,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1,urlStorage:null,fileReader:null,httpStack:null,protocol:eh},eg=function(){var t,r;function n(t,r){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,n),"resume"in r&&console.log("tus: The `resume` option has been removed in tus-js-client v2. Please use the URL storage API instead."),this.options=r,this.options.chunkSize=Number(this.options.chunkSize),this._urlStorage=this.options.urlStorage,this.file=t,this.url=null,this._req=null,this._fingerprint=null,this._urlStorageKey=null,this._offset=null,this._aborted=!1,this._size=null,this._source=null,this._retryAttempt=0,this._retryTimeout=null,this._offsetBeforeRetry=0,this._parallelUploads=null,this._parallelUploadUrls=null}return t=[{key:"findPreviousUploads",value:function(){var t=this;return this.options.fingerprint(this.file,this.options).then(function(r){return t._urlStorage.findUploadsByFingerprint(r)})}},{key:"resumeFromPreviousUpload",value:function(t){this.url=t.uploadUrl||null,this._parallelUploadUrls=t.parallelUploadUrls||null,this._urlStorageKey=t.urlStorageKey}},{key:"start",value:function(){var t=this,r=this.file;if(!r){this._emitError(Error("tus: no file or stream to upload provided"));return}if(![eh,ef,ep].includes(this.options.protocol)){this._emitError(Error("tus: unsupported protocol ".concat(this.options.protocol)));return}if(!this.options.endpoint&&!this.options.uploadUrl&&!this.url){this._emitError(Error("tus: neither an endpoint or an upload URL is provided"));return}var n=this.options.retryDelays;if(null!=n&&"[object Array]"!==Object.prototype.toString.call(n)){this._emitError(Error("tus: the `retryDelays` option must either be an array or null"));return}if(this.options.parallelUploads>1)for(var i=0,o=["uploadUrl","uploadSize","uploadLengthDeferred"];i<o.length;i++){var a=o[i];if(this.options[a]){this._emitError(Error("tus: cannot use the ".concat(a," option when parallelUploads is enabled")));return}}if(this.options.parallelUploadBoundaries){if(this.options.parallelUploads<=1){this._emitError(Error("tus: cannot use the `parallelUploadBoundaries` option when `parallelUploads` is disabled"));return}if(this.options.parallelUploads!==this.options.parallelUploadBoundaries.length){this._emitError(Error("tus: the `parallelUploadBoundaries` must have the same length as the value of `parallelUploads`"));return}}this.options.fingerprint(r,this.options).then(function(n){return(t._fingerprint=n,t._source)?t._source:t.options.fileReader.openFile(r,t.options.chunkSize)}).then(function(r){if(t._source=r,t.options.uploadLengthDeferred)t._size=null;else if(null!=t.options.uploadSize){if(t._size=Number(t.options.uploadSize),Number.isNaN(t._size)){t._emitError(Error("tus: cannot convert `uploadSize` option into a number"));return}}else if(t._size=t._source.size,null==t._size){t._emitError(Error("tus: cannot automatically derive upload's size from input. Specify it manually using the `uploadSize` option or use the `uploadLengthDeferred` option"));return}t.options.parallelUploads>1||null!=t._parallelUploadUrls?t._startParallelUpload():t._startSingleUpload()}).catch(function(r){t._emitError(r)})}},{key:"_startParallelUpload",value:function(){var t,r,i=this,o=this._size,a=0;this._parallelUploads=[];var s=null!=this._parallelUploadUrls?this._parallelUploadUrls.length:this.options.parallelUploads,l=null!==(r=this.options.parallelUploadBoundaries)&&void 0!==r?r:function(t,r){for(var n=Math.floor(t/r),i=[],o=0;o<r;o++)i.push({start:n*o,end:n*(o+1)});return i[r-1].end=t,i}(this._source.size,s);this._parallelUploadUrls&&l.forEach(function(t,r){t.uploadUrl=i._parallelUploadUrls[r]||null}),this._parallelUploadUrls=Array(l.length),Promise.all(l.map(function(t,r){var s=0;return i._source.slice(t.start,t.end).then(function(u){var c=u.value;return new Promise(function(u,d){var h=new n(c,eu(eu({},i.options),{},{uploadUrl:t.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:i.options.metadataForPartialUploads,headers:eu(eu({},i.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:u,onError:d,onProgress:function(t){a=a-s+t,s=t,i._emitProgress(a,o)},onUploadUrlAvailable:function(){i._parallelUploadUrls[r]=h.url,
20i._parallelUploadUrls.filter(function(t){return!!t}).length===l.length&&i._saveUploadInUrlStorage()}}));h.start(),i._parallelUploads.push(h)})})})).then(function(){(t=i._openRequest("POST",i.options.endpoint)).setHeader("Upload-Concat","final;".concat(i._parallelUploadUrls.join(" ")));var r=ey(i.options.metadata);return""!==r&&t.setHeader("Upload-Metadata",r),i._sendRequest(t,null)}).then(function(r){if(!ev(r.getStatus(),200)){i._emitHttpError(t,r,"tus: unexpected response while creating upload");return}var n=r.getHeader("Location");if(null==n){i._emitHttpError(t,r,"tus: invalid or missing Location header");return}i.url=eA(i.options.endpoint,n),i.url,i._emitSuccess(r)}).catch(function(t){i._emitError(t)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,null!=this.url){this.url,this._resumeUpload();return}if(null!=this.options.uploadUrl){this.options.uploadUrl,this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(t){var r=this;if(null!=this._parallelUploads){var i,o=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=ea(t))){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(this._parallelUploads);try{for(o.s();!(i=o.n()).done;)i.value.abort(t)}catch(t){o.e(t)}finally{o.f()}}return(null!==this._req&&this._req.abort(),this._aborted=!0,null!=this._retryTimeout&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),t&&null!=this.url)?n.terminate(this.url,this.options).then(function(){return r._removeFromUrlStorage()}):Promise.resolve()}},{key:"_emitHttpError",value:function(t,r,n,i){this._emitError(new et(n,i,t,r))}},{key:"_emitError",value:function(t){var r=this;if(!this._aborted){if(null!=this.options.retryDelays&&(null!=this._offset&&this._offset>this._offsetBeforeRetry&&(this._retryAttempt=0),eS(t,this._retryAttempt,this.options))){var n=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){r.start()},n);return}if("function"==typeof this.options.onError)this.options.onError(t);else throw t}}},{key:"_emitSuccess",value:function(t){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),"function"==typeof this.options.onSuccess&&this.options.onSuccess({lastResponse:t})}},{key:"_emitProgress",value:function(t,r){"function"==typeof this.options.onProgress&&this.options.onProgress(t,r)}},{key:"_emitChunkComplete",value:function(t,r,n){"function"==typeof this.options.onChunkComplete&&this.options.onChunkComplete(t,r,n)}},{key:"_createUpload",value:function(){var t,r=this;if(!this.options.endpoint){this._emitError(Error("tus: unable to create upload because no endpoint is provided"));return}var n=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?n.setHeader("Upload-Defer-Length","1"):n.setHeader("Upload-Length","".concat(this._size));var i=ey(this.options.metadata);""!==i&&n.setHeader("Upload-Metadata",i),this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,t=this._addChunkToRequest(n)):((this.options.protocol===ef||this.options.protocol===ep)&&n.setHeader("Upload-Complete","?0"),t=this._sendRequest(n,null)),t.then(function(t){if(!ev(t.getStatus(),200)){r._emitHttpError(n,t,"tus: unexpected response while creating upload");return}var i=t.getHeader("Location");if(null==i){r._emitHttpError(n,t,"tus: invalid or missing Location header");return}if(r.url=eA(r.options.endpoint,i),r.url,"function"==typeof r.options.onUploadUrlAvailable&&r.options.onUploadUrlAvailable(),0===r._size){r._emitSuccess(t),r._source.close();return}r._saveUploadInUrlStorage().then(function(){r.options.uploadDataDuringCreation?r._handleUploadResponse(n,t):(r._offset=0,r._performUpload())})}).catch(function(t){r._emitHttpError(n,null,"tus: failed to create upload",t)})}},{key:"_resumeUpload",value:function(){var t=this,r=this._openRequest("HEAD",this.url);
20this._sendRequest(r,null).then(function(n){var i=n.getStatus();if(!ev(i,200)){if(423===i){t._emitHttpError(r,n,"tus: upload is currently locked; retry later");return}if(ev(i,400)&&t._removeFromUrlStorage(),!t.options.endpoint){t._emitHttpError(r,n,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}t.url=null,t._createUpload();return}var o=Number.parseInt(n.getHeader("Upload-Offset"),10);if(Number.isNaN(o)){t._emitHttpError(r,n,"tus: invalid or missing offset value");return}var a=Number.parseInt(n.getHeader("Upload-Length"),10);if(Number.isNaN(a)&&!t.options.uploadLengthDeferred&&t.options.protocol===eh){t._emitHttpError(r,n,"tus: invalid or missing length value");return}"function"==typeof t.options.onUploadUrlAvailable&&t.options.onUploadUrlAvailable(),t._saveUploadInUrlStorage().then(function(){if(o===a){t._emitProgress(a,a),t._emitSuccess(n);return}t._offset=o,t._performUpload()})}).catch(function(n){t._emitHttpError(r,null,"tus: failed to resume upload",n)})}},{key:"_performUpload",value:function(){var t,r=this;this._aborted||(this.options.overridePatchMethod?(t=this._openRequest("POST",this.url)).setHeader("X-HTTP-Method-Override","PATCH"):t=this._openRequest("PATCH",this.url),t.setHeader("Upload-Offset","".concat(this._offset)),this._addChunkToRequest(t).then(function(n){if(!ev(n.getStatus(),200)){r._emitHttpError(t,n,"tus: unexpected response while uploading chunk");return}r._handleUploadResponse(t,n)}).catch(function(n){r._aborted||r._emitHttpError(t,null,"tus: failed to upload chunk at offset ".concat(r._offset),n)}))}},{key:"_addChunkToRequest",value:function(t){var r=this,n=this._offset,i=this._offset+this.options.chunkSize;return t.setProgressHandler(function(t){r._emitProgress(n+t,r._size)}),this.options.protocol===eh?t.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===ep&&t.setHeader("Content-Type","application/partial-upload"),(i===Number.POSITIVE_INFINITY||i>this._size)&&!this.options.uploadLengthDeferred&&(i=this._size),this._source.slice(n,i).then(function(n){var i=n.value,o=n.done,a=null!=i&&i.size?i.size:0;r.options.uploadLengthDeferred&&o&&(r._size=r._offset+a,t.setHeader("Upload-Length","".concat(r._size)));var s=r._offset+a;return!r.options.uploadLengthDeferred&&o&&s!==r._size?Promise.reject(Error("upload was configured with a size of ".concat(r._size," bytes, but the source is done after ").concat(s," bytes"))):null===i?r._sendRequest(t):((r.options.protocol===ef||r.options.protocol===ep)&&t.setHeader("Upload-Complete",o?"?1":"?0"),r._emitProgress(r._offset,r._size),r._sendRequest(t,i))})}},{key:"_handleUploadResponse",value:function(t,r){var n=Number.parseInt(r.getHeader("Upload-Offset"),10);if(Number.isNaN(n)){this._emitHttpError(t,r,"tus: invalid or missing offset value");return}if(this._emitProgress(n,this._size),this._emitChunkComplete(n-this._offset,n,this._size),this._offset=n,n===this._size){this._emitSuccess(r),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(t,r){var n=eb(t,r,this.options);return this._req=n,n}},{key:"_removeFromUrlStorage",value:function(){var t=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(r){t._emitError(r)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var t=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||null!==this._urlStorageKey)return Promise.resolve();var r={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?r.parallelUploadUrls=this._parallelUploadUrls:r.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,r).then(function(r){t._urlStorageKey=r})}},{key:"_sendRequest",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return ew(t,r,this.options)}}],r=[{key:"terminate",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=eb("DELETE",t,r);return ew(i,null,r).then(function(t){if(204!==t.getStatus())throw new et("tus: unexpected response while terminating upload",null,i,t)}
20).catch(function(o){if(o instanceof et||(o=new et("tus: failed to terminate upload",o,i,null)),!eS(o,0,r))throw o;var a=r.retryDelays[0],s=r.retryDelays.slice(1),l=eu(eu({},r),{},{retryDelays:s});return new Promise(function(t){return setTimeout(t,a)}).then(function(){return n.terminate(t,l)})})}}],t&&ec(n.prototype,t),r&&ec(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}();function ey(t){return Object.entries(t).map(function(t){var r=ei(t,2),n=r[0],i=r[1];return"".concat(n," ").concat(U(String(i)))}).join(",")}function ev(t,r){return t>=r&&t<r+100}function eb(t,r,n){var i=n.httpStack.createRequest(t,r);n.protocol===ef?i.setHeader("Upload-Draft-Interop-Version","5"):n.protocol===ep?i.setHeader("Upload-Draft-Interop-Version","6"):i.setHeader("Tus-Resumable","1.0.0");for(var o=n.headers||{},a=0,s=Object.entries(o);a<s.length;a++){var l=ei(s[a],2),u=l[0],c=l[1];i.setHeader(u,c)}if(n.addRequestId){var d="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=16*Math.random()|0;return("x"===t?r:3&r|8).toString(16)});i.setHeader("X-Request-ID",d)}return i}function ew(t,r,n){return e_.apply(this,arguments)}function e_(){var t;return t=er().mark(function t(r,n,i){var o;return er().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof i.onBeforeRequest){t.next=3;break}return t.next=3,i.onBeforeRequest(r);case 3:return t.next=5,r.send(n);case 5:if(o=t.sent,"function"!=typeof i.onAfterResponse){t.next=9;break}return t.next=9,i.onAfterResponse(r,o);case 9:return t.abrupt("return",o);case 10:case"end":return t.stop()}},t)}),(e_=function(){var r=this,n=arguments;return new Promise(function(i,o){var a=t.apply(r,n);function s(t){en(a,i,o,s,l,"next",t)}function l(t){en(a,i,o,s,l,"throw",t)}s(void 0)})}).apply(this,arguments)}function eS(t,r,n){return null!=n.retryDelays&&!(r>=n.retryDelays.length)&&null!=t.originalRequest&&(n&&"function"==typeof n.onShouldRetry?n.onShouldRetry(t,r,n):eE(t))}function eE(t){var r,n=t.originalResponse?t.originalResponse.getStatus():0;return(!ev(n,400)||409===n||423===n)&&(r=!0,"undefined"!=typeof navigator&&!1===navigator.onLine&&(r=!1),r)}function eA(t,r){return new(Y())(r,t).toString()}eg.defaultOptions=em;var ex=function(){return"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()};function ek(t){return(ek="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var eO=(s=function t(r){(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,t),this._file=r,this.size=r.size},l=[{key:"slice",value:function(t,r){if("undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)){var n;return n=this._file.slice(t,r),new Promise(function(t,r){var i=new FileReader;i.onload=function(){t({value:new Uint8Array(i.result)})},i.onerror=function(t){r(t)},i.readAsArrayBuffer(n)})}return Promise.resolve({value:this._file.slice(t,r),done:r>=this.size})}},{key:"close",value:function(){}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=ek(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=ek(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==ek(r)?r:r+""}(i.key),i)}}(s.prototype,l),Object.defineProperty(s,"prototype",{writable:!1}),s);function eP(t){return(eP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eC(t){return void 0===t?0:void 0!==t.size?t.size:t.length}var eT=(u=function t(r){(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,t),this._buffer=void 0,this._bufferOffset=0,this._reader=r,this._done=!1},c=[{key:"slice",value:function(t,r){return t<this._bufferOffset?Promise.reject(Error("Requested data is before the reader's current offset")):this._readUntilEnoughDataOrDone(t,r)}},{key:"_readUntilEnoughDataOrDone",value:function(t,r){var n=this,i=r<=this._bufferOffset+eC(this._buffer);if(this._done||i){var o=this._getDataFromBuffer(t,r),a=null==o&&this._done;return Promise.resolve({value:o,done:a})}return this._reader.read().then(function(i){var o=i.value;return i.done?n._done=!0:void 0===n._buffer?n._buffer=o:n._buffer=function(t,r){if(t.concat)return t.concat(r);if(t instanceof Blob)return new Blob([t,r],{type:t.type});if(t.set){var n=new t.constructor(t.length+r.length);return n.set(t),n.set(r,t.length),n}throw Error("Unknown data type")}(n._buffer,o),n._readUntilEnoughDataOrDone(t,r)})}},{key:"_getDataFromBuffer",value:function(t,r){t>this._bufferOffset&&(this._buffer=this._buffer.slice(t-this._bufferOffset),this._bufferOffset=t);var n=0===eC(this._buffer);return this._done&&n?null:this._buffer.slice(0,r-t)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=eP(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=eP(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}
vendor: 4,831 bytes, line 20
20(t,"string");return"symbol"==eP(r)?r:r+""}(i.key),i)}}(u.prototype,c),Object.defineProperty(u,"prototype",{writable:!1}),u);function eM(t){return(eM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eR(){eR=function(){return r};var t,r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,r,n){t[r]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,r,n){return Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(t){c=function(t,r,n){return t[r]=n}}function d(r,n,i,a){var s,l,u=Object.create((n&&n.prototype instanceof y?n:y).prototype);return o(u,"_invoke",{value:(s=new P(a||[]),l=f,function(n,o){if(l===p)throw Error("Generator is already running");if(l===m){if("throw"===n)throw o;return{value:t,done:!0}}for(s.method=n,s.arg=o;;){var a=s.delegate;if(a){var u=function r(n,i){var o=i.method,a=n.iterator[o];if(a===t)return i.delegate=null,"throw"===o&&n.iterator.return&&(i.method="return",i.arg=t,r(n,i),"throw"===i.method)||"return"!==o&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+o+"' method")),g;var s=h(a,n.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,g;var l=s.arg;return l?l.done?(i[n.resultName]=l.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,g):l:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,g)}(a,s);if(u){if(u===g)continue;return u}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===f)throw l=m,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=p;var c=h(r,i,s);if("normal"===c.type){if(l=s.done?m:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:s.done}}"throw"===c.type&&(l=m,s.method="throw",s.arg=c.arg)}})}),u}function h(t,r,n){try{return{type:"normal",arg:t.call(r,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=d;var f="suspendedStart",p="executing",m="completed",g={};function y(){}function v(){}function b(){}var w={};c(w,s,function(){return this});var _=Object.getPrototypeOf,S=_&&_(_(C([])));S&&S!==n&&i.call(S,s)&&(w=S);var E=b.prototype=y.prototype=Object.create(w);function A(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t)})})}function x(t,r){var n;o(this,"_invoke",{value:function(o,a){function s(){return new r(function(n,s){!function n(o,a,s,l){var u=h(t[o],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==eM(d)&&i.call(d,"__await")?r.resolve(d.__await).then(function(t){n("next",t,s,l)},function(t){n("throw",t,s,l)}):r.resolve(d).then(function(t){c.value=t,s(c)},function(t){return n("throw",t,s,l)})}l(u.arg)}(o,a,n,s)})}return n=n?n.then(s,s):s()}})}function k(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function C(r){if(r||""===r){var n=r[s];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function n(){for(;++o<r.length;)if(i.call(r,o))return n.value=r[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw TypeError(eM(r)+" is not iterable")}return v.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=c(b,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===v||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},r.awrap=function(t){return{__await:t}},A(x.prototype),c(x.prototype,l,function(){return this}),r.AsyncIterator=x,r.async=function(t,n,i,o,a){void 0===a&&(a=Promise);var s=new x(d(t,n,i,o),a);return r.isGeneratorFunction(n)?s:s.next().then(function(t){return t.done?t.value:s.next()})},A(E),c(E,u,"Generator"),c(E,s,function(){return this}),c(E,"toString",function(){return"[object Generator]"}),r.keys=function(t){var r=Object(t),n=[];for(var i in r)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in r)return t.value=i,t.done=!1,t}return t.done=!0,t}},r.values=C,P.prototype={constructor:P,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
20h(O),!r)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function o(i,o){return l.type="throw",l.arg=r,n.next=i,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],l=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var u=i.call(s,"catchLoc"),c=i.call(s,"finallyLoc");if(u&&c){if(this.prev<s.catchLoc)return o(s.catchLoc,!0);if(this.prev<s.finallyLoc)return o(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return o(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return o(s.finallyLoc)}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=r,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(s)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),g},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(r,n,i){return this.delegate={iterator:C(r),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},r}function eI(t,r,n,i,o,a,s){try{var l=t[a](s),u=l.value}catch(t){n(t);return}l.done?r(u):Promise.resolve(u).then(i,o)}var eN=(f=function t(){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,t)},p=[{key:"openFile",value:(d=eR().mark(function t(r,n){var i;return eR().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(ex()&&r&&void 0!==r.uri)){t.next=11;break}return t.prev=1,t.next=4,function(t){return new Promise(function(r,n){var i=new XMLHttpRequest;i.responseType="blob",i.onload=function(){r(i.response)},i.onerror=function(t){n(t)},i.open("GET",t),i.send()})}(r.uri);case 4:return i=t.sent,t.abrupt("return",new eO(i));case 8:throw t.prev=8,t.t0=t.catch(1),Error("tus: cannot fetch `file.uri` as Blob, make sure the uri is correct and accessible. ".concat(t.t0));case 11:if(!("function"==typeof r.slice&&void 0!==r.size)){t.next=13;break}return t.abrupt("return",Promise.resolve(new eO(r)));case 13:if("function"!=typeof r.read){t.next=18;break}if(Number.isFinite(n=Number(n))){t.next=17;break}return t.abrupt("return",Promise.reject(Error("cannot create source for stream without a finite value for the `chunkSize` option")));case 17:return t.abrupt("return",Promise.resolve(new eT(r,n)));case 18:return t.abrupt("return",Promise.reject(Error("source object may only be an instance of File, Blob, or Reader in this environment")));case 19:case"end":return t.stop()}},t,null,[[1,8]])}),h=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=d.apply(t,r);function a(t){eI(o,n,i,a,s,"next",t)}function s(t){eI(o,n,i,a,s,"throw",t)}a(void 0)})},function(t,r){return h.apply(this,arguments)})}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=eM(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=eM(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==eM(r)?r:r+""}(i.key),i)}}(f.prototype,p),Object.defineProperty(f,"prototype",{writable:!1}),f);function eD(t){return(eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eF(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}function eL(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=eD(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=eD(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}
20(t,"string");return"symbol"==eD(r)?r:r+""}(i.key),i)}}function e$(t,r,n){return r&&eL(t.prototype,r),n&&eL(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var ej=e$(function t(){eF(this,t)},[{key:"createRequest",value:function(t,r){return new eU(t,r)}},{key:"getName",value:function(){return"XHRHttpStack"}}]),eU=e$(function t(r,n){eF(this,t),this._xhr=new XMLHttpRequest,this._xhr.open(r,n,!0),this._method=r,this._url=n,this._headers={}},[{key:"getMethod",value:function(){return this._method}},{key:"getURL",value:function(){return this._url}},{key:"setHeader",value:function(t,r){this._xhr.setRequestHeader(t,r),this._headers[t]=r}},{key:"getHeader",value:function(t){return this._headers[t]}},{key:"setProgressHandler",value:function(t){"upload"in this._xhr&&(this._xhr.upload.onprogress=function(r){r.lengthComputable&&t(r.loaded)})}},{key:"send",value:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return new Promise(function(n,i){t._xhr.onload=function(){n(new eB(t._xhr))},t._xhr.onerror=function(t){i(t)},t._xhr.send(r)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),eB=e$(function t(r){eF(this,t),this._xhr=r},[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(t){return this._xhr.getResponseHeader(t)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]);function ez(t){return(ez="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var eH=!1;try{eH="localStorage"in window;var eq="tusSupport",eV=localStorage.getItem(eq);localStorage.setItem(eq,eV),null===eV&&localStorage.removeItem(eq)}catch(t){if(t.code===t.SECURITY_ERR||t.code===t.QUOTA_EXCEEDED_ERR)eH=!1;else throw t}var eG=eH,eW=(m=function t(){!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,t)},g=[{key:"findAllUploads",value:function(){return Promise.resolve(this._findEntries("tus::"))}},{key:"findUploadsByFingerprint",value:function(t){return Promise.resolve(this._findEntries("tus::".concat(t,"::")))}},{key:"removeUpload",value:function(t){return localStorage.removeItem(t),Promise.resolve()}},{key:"addUpload",value:function(t,r){var n="tus::".concat(t,"::").concat(Math.round(1e12*Math.random()));return localStorage.setItem(n,JSON.stringify(r)),Promise.resolve(n)}},{key:"_findEntries",value:function(t){for(var r=[],n=0;n<localStorage.length;n++){var i=localStorage.key(n);if(0===i.indexOf(t))try{var o=JSON.parse(localStorage.getItem(i));o.urlStorageKey=i,r.push(o)}catch(t){}}return r}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=ez(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=ez(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==ez(r)?r:r+""}(i.key),i)}}(m.prototype,g),Object.defineProperty(m,"prototype",{writable:!1}),m);function eK(t){return(eK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eY(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(eY=function(){return!!t})()}function eZ(t){return(eZ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eX(t,r){return(eX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}function eJ(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function eQ(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
20r%2?eJ(Object(n),!0).forEach(function(r){var i,o;i=r,o=n[r],(i=e0(i))in t?Object.defineProperty(t,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):eJ(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function e0(t){var r=function(t,r){if("object"!=eK(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=eK(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==eK(r)?r:r+""}var e1=eQ(eQ({},eg.defaultOptions),{},{httpStack:new ej,fileReader:new eN,urlStorage:eG?new eW:new A,fingerprint:function(t,r){var n;return ex()?Promise.resolve((n=t.exif?function(t){var r=0;if(0===t.length)return r;for(var n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n),r&=r;return r}(JSON.stringify(t.exif)):"noexif",["tus-rn",t.name||"noname",t.size||"nosize",n,r.endpoint].join("/"))):Promise.resolve(["tus-br",t.name,t.type,t.size,t.lastModified,r.endpoint].join("-"))}}),e2=function(t){function r(){var t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),o=eQ(eQ({},e1),o),t=r,n=[i,o],t=eZ(t),function(t,r){if(r&&("object"===eK(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,eY()?Reflect.construct(t,n||[],eZ(this).constructor):t.apply(this,n))}return!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&eX(t,r)}(r,t),function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,e0(i.key),i)}}(r,[{key:"terminate",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r=eQ(eQ({},e1),r),eg.terminate(t,r)}}]),Object.defineProperty(r,"prototype",{writable:!1}),r}(eg);"function"==typeof XMLHttpRequest&&"function"==typeof Blob&&Blob.prototype.slice;let e3={endpoint:"",uploadUrl:null,metadata:{},uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,overridePatchMethod:!1,headers:{},addRequestId:!1,chunkSize:1/0,retryDelays:[100,1e3,3e3,5e3],parallelUploads:1,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1},e5={limit:20,retryDelays:e3.retryDelays,withCredentials:!1,allowedMetaFields:!0};class e6 extends y.Z{static VERSION="4.3.2";#tn;requests;uploaders;uploaderEvents;constructor(t,r){if(super(t,{...e5,...r}),this.type="uploader",this.id=this.opts.id||"Tus",r?.allowedMetaFields===void 0&&"metaFields"in this.opts)throw Error("The `metaFields` option has been renamed to `allowedMetaFields`.");if("autoRetry"in r)throw Error("The `autoRetry` option was deprecated and has been removed.");this.requests=this.opts.rateLimitedQueue??new S(this.opts.limit),this.#tn=this.opts.retryDelays?.values(),this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null)}resetUploaderReferences(t,r){let n=this.uploaders[t];n&&(n.abort(),r?.abort&&n.abort(!0),this.uploaders[t]=null),this.uploaderEvents[t]&&(this.uploaderEvents[t].remove(),this.uploaderEvents[t]=null)}#ti(t){return this.resetUploaderReferences(t.id),new Promise((r,n)=>{var i,o;let a,s,l;let u={...this.opts,...t.tus||{}};"function"==typeof u.headers&&(u.headers=u.headers(t));let{onShouldRetry:c,onBeforeRequest:d,...h}=u,f={...e3,...h};f.fingerprint=(r,n)=>"undefined"!=typeof window&&(void 0!==window.PhoneGap||void 0!==window.Cordova||void 0!==window.cordova)||"undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase()?e1.fingerprint(r,n):Promise.resolve(["tus",t.id,n.endpoint].join("-")),f.onBeforeRequest=async r=>{let n;if(r.getUnderlyingObject().withCredentials=!!u.withCredentials,"function"==typeof d&&(n=d(r,t)),b(a,"shouldBeRequeued")){let r;if(!a.shouldBeRequeued)return Promise.reject();let i=new Promise(t=>{r=t});return a=this.requests.run(()=>
20(t.isPaused&&a.abort(),r(),()=>{})),void await Promise.all([i,n])}return n},f.onError=r=>{this.uppy.log(r);let i=null!=r.originalRequest?r.originalRequest.getUnderlyingObject():null;i&&(0!==i.readyState&&4!==i.readyState||0===i.status)&&(r=new w(r,i)),this.resetUploaderReferences(t.id),a?.abort(),"function"==typeof u.onError&&u.onError(r),n(r)},f.onProgress=(r,n)=>{this.onReceiveUploadUrl(t,l.url),"function"==typeof u.onProgress&&u.onProgress(r,n);let i=this.uppy.getFile(t.id);this.uppy.emit("upload-progress",i,{uploadStarted:i.progress.uploadStarted??0,bytesUploaded:r,bytesTotal:n})},f.onSuccess=n=>{let i={uploadURL:l.url??void 0,status:200,body:{xhr:n.lastResponse.getUnderlyingObject()}};if(this.uppy.emit("upload-success",this.uppy.getFile(t.id),i),this.resetUploaderReferences(t.id),a.done(),l.url){let{name:t}=l.file;this.uppy.log(`Download ${t} from ${l.url}`)}"function"==typeof u.onSuccess&&u.onSuccess(n),r(l)};let p=t=>{let r=t?.originalResponse?.getStatus();if(429===r){if(!this.requests.isPaused){let t=this.#tn?.next();if(null==t||t.done)return!1;this.requests.rateLimit(t.value)}}else{if(null!=r&&r>=400&&r<500&&409!==r&&423!==r)return!1;"undefined"==typeof navigator||!1!==navigator.onLine||this.requests.isPaused||(this.requests.pause(),window.addEventListener("online",()=>{this.requests.resume()},{once:!0}))}return a.abort(),a={shouldBeRequeued:!0,abort(){this.shouldBeRequeued=!1},done(){throw Error("Cannot mark a queued request as done: this indicates a bug")},fn(){throw Error("Cannot run a queued request: this indicates a bug")}},!0};null!=c?f.onShouldRetry=(t,r)=>c(t,r,u,p):f.onShouldRetry=p;let m=(t,r,n)=>{b(t,r)&&!b(t,n)&&(t[n]=t[r])},g={};(i=u.allowedMetaFields,o=t.meta,!0===i?Object.keys(o):Array.isArray(i)?i:[]).forEach(r=>{g[r]=String(t.meta[r])}),m(g,"type","filetype"),m(g,"name","filename"),f.metadata=g,l=new e2(t.data,f),this.uploaders[t.id]=l;let y=new v(this.uppy);this.uploaderEvents[t.id]=y,s=()=>(t.isPaused||l.start(),()=>{}),l.findPreviousUploads().then(r=>{let n=r[0];n&&(this.uppy.log(`[Tus] Resuming upload of ${t.id} started at ${n.creationTime}`),l.resumeFromPreviousUpload(n)),a=this.requests.run(s)}),y.onFileRemove(t.id,n=>{a.abort(),this.resetUploaderReferences(t.id,{abort:!!l.url}),r(`upload ${n} was removed`)}),y.onPause(t.id,t=>{a.abort(),t?l.abort():a=this.requests.run(s)}),y.onPauseAll(t.id,()=>{a.abort(),l.abort()}),y.onCancelAll(t.id,()=>{a.abort(),this.resetUploaderReferences(t.id,{abort:!!l.url}),r(`upload ${t.id} was canceled`)}),y.onResumeAll(t.id,()=>{a.abort(),t.error&&l.abort(),a=this.requests.run(s)})}).catch(r=>{throw this.uppy.emit("upload-error",t,r),r})}onReceiveUploadUrl(t,r){let n=this.uppy.getFile(t.id);n&&(!n.tus||n.tus.uploadUrl!==r)&&(this.uppy.log("[Tus] Storing upload url"),this.uppy.setFileState(n.id,{tus:{...n.tus,uploadUrl:r}}))}#to(t){let r={...this.opts};return t.tus&&Object.assign(r,t.tus),"function"==typeof r.headers&&(r.headers=r.headers(t)),{...t.remote?.body,endpoint:r.endpoint,uploadUrl:r.uploadUrl,protocol:"tus",size:t.data.size,headers:r.headers,metadata:t.meta}}async #ta(t){let r=function(t){let r=t=>"error"in t&&!!t.error;return t.filter(t=>!r(t))}(t),n=r.filter(t=>!t.progress?.uploadStarted||!t.isRestored);this.uppy.emit("upload-start",n),await Promise.allSettled(r.map(t=>{if(t.isRemote){let r=new AbortController,n=n=>{n.id===t.id&&r.abort()};this.uppy.on("file-removed",n);
20let i=this.uppy.getRequestClientForFile(t).uploadRemoteFile(t,this.#to(t),{signal:r.signal,getQueue:()=>this.requests});return this.requests.wrapSyncFunction(()=>{this.uppy.off("file-removed",n)},{priority:-1})(),i}return this.#ti(t)}))}#ts=async t=>{if(0===t.length){this.uppy.log("[Tus] No files to upload");return}0===this.opts.limit&&this.uppy.log("[Tus] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/tus/#limit-0","warning"),this.uppy.log("[Tus] Uploading...");let r=this.uppy.getFilesByIds(t);await this.#ta(r)};install(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!0}}),this.uppy.addUploader(this.#ts)}uninstall(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!1}}),this.uppy.removeUploader(this.#ts)}}},52304:function(t,r,n){"use strict";function i(t,r){let n=/\$/g,i=[t];if(null==r)return i;for(let t of Object.keys(r))if("_"!==t){let o=r[t];"string"==typeof o&&(o=n[Symbol.replace](o,"$$$$")),i=function(t,r,n){let i=[];return t.forEach(t=>"string"!=typeof t?i.push(t):r[Symbol.split](t).forEach((t,r,o)=>{""!==t&&i.push(t),r<o.length-1&&i.push(n)})),i}(i,RegExp(`%\\{${t}\\}`,"g"),o)}return i}n.d(r,{Z:function(){return a}});let o=t=>{throw Error(`missing string: ${t}`)};class a{locale;constructor(t,{onMissingKey:r=o}={}){this.locale={strings:{},pluralize:t=>1===t?0:1},Array.isArray(t)?t.forEach(this.#tl,this):this.#tl(t),this.#tu=r}#tu;#tl(t){if(!t?.strings)return;let r=this.locale;Object.assign(this.locale,{strings:{...r.strings,...t.strings},pluralize:t.pluralize||r.pluralize})}translate(t,r){return this.translateArray(t,r).join("")}translateArray(t,r){let n=this.locale.strings[t];if(null==n&&(this.#tu(t),n=t),"object"==typeof n){if(r&&void 0!==r.smart_count)return i(n[this.locale.pluralize(r.smart_count)],r);throw Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}if("string"!=typeof n)throw Error("string was not a string");return i(n,r)}}},45355:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=(t,r)=>Promise.race([t,new Promise((t,n)=>{setTimeout(()=>{n(Error("Telegram authentication timed out"))},r)})]),o=async(t,r={})=>{let n,o;let{requestAccess:a="read",windowFeatures:s={},windowTarget:l="_blank",authTimeoutMs:u=12e4,windowClosedPollMs:c=300}=r,d=(t,r)=>n=>{if(n.isTrusted&&"https://oauth.telegram.org"===n.origin)try{let{origin:i,result:o}=JSON.parse(n.data);i===window.origin?t(o):r(Error(`Received data contains invalid origin. Expected ${window.origin}, received ${i}`))}catch{r(Error("Received unexpected message from Telegram"))}},h=new Promise((t,r)=>{n=d(t,r),window.addEventListener("message",n)}),f=new URLSearchParams({bot_id:t,request_access:a,origin:window.origin,lang:"en"}),p=Object.entries(s).map(([t,r])=>"number"==typeof r?`${t}=${r}`:t).join(","),m=window.open(`https://oauth.telegram.org/auth?${f}`,l,p),g=new Promise((t,r)=>{o=setInterval(()=>{m?.closed&&r(Error("The authentication window has been closed"))},c)});return await Promise.race([0===u?h:i(h,u),g]).finally(()=>{window.removeEventListener("message",n),clearInterval(o)})},a=n(2265),s=(t,r={},{onSuccess:n,onError:i}={})=>{let[s,l]=(0,a.useState)(!1),[u,c]=(0,a.useState)();return{onAuth:()=>{l(!0),o(t,r).then(t=>{c({authResult:t,error:void 0}),n?.(t)}).catch(t=>{c({error:t,authResult:void 0}),i?.(t)}).finally(()=>{l(!1)})},isLoading:s,...u}}},43577:function(t,r,n){"use strict";n.d(r,{d7:function(){return o}});let{Axios:i,AxiosError:o,CanceledError:a,isCancel:s,CancelToken:l,VERSION:u,all:c,Cancel:d,isAxiosError:h,spread:f,toFormData:p,AxiosHeaders:m,HttpStatusCode:g,formToJSON:y,getAdapter:v,mergeConfig:b}=n(83464).default},83464:function(t,r,n){"use strict";let i,o,a,s,l;n.d(r,{default:function(){return tp}});var u,c,d,h,f,p={};function m(t,r){return function(){return t.apply(r,arguments)}}n.r(p),n.d(p,{hasBrowserEnv:function(){return ey},hasStandardBrowserEnv:function(){return eb},hasStandardBrowserWebWorkerEnv:function(){return ew},navigator:function(){return ev},origin:function(){return e_}});var g=n(40257);let{toString:y}
20=Object.prototype,{getPrototypeOf:v}=Object,b=(i=Object.create(null),t=>{let r=y.call(t);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())}),w=t=>(t=t.toLowerCase(),r=>b(r)===t),_=t=>r=>typeof r===t,{isArray:S}=Array,E=_("undefined"),A=w("ArrayBuffer"),x=_("string"),k=_("function"),O=_("number"),P=t=>null!==t&&"object"==typeof t,C=t=>{if("object"!==b(t))return!1;let r=v(t);return(null===r||r===Object.prototype||null===Object.getPrototypeOf(r))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},T=w("Date"),M=w("File"),R=w("Blob"),I=w("FileList"),N=w("URLSearchParams"),[D,F,L,$]=["ReadableStream","Request","Response","Headers"].map(w);function j(t,r,{allOwnKeys:n=!1}={}){let i,o;if(null!=t){if("object"!=typeof t&&(t=[t]),S(t))for(i=0,o=t.length;i<o;i++)r.call(null,t[i],i,t);else{let o;let a=n?Object.getOwnPropertyNames(t):Object.keys(t),s=a.length;for(i=0;i<s;i++)o=a[i],r.call(null,t[o],o,t)}}}function U(t,r){let n;r=r.toLowerCase();let i=Object.keys(t),o=i.length;for(;o-- >0;)if(r===(n=i[o]).toLowerCase())return n;return null}let B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,z=t=>!E(t)&&t!==B,H=(o="undefined"!=typeof Uint8Array&&v(Uint8Array),t=>o&&t instanceof o),q=w("HTMLFormElement"),V=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),G=w("RegExp"),W=(t,r)=>{let n=Object.getOwnPropertyDescriptors(t),i={};j(n,(n,o)=>{let a;!1!==(a=r(n,o,t))&&(i[o]=a||n)}),Object.defineProperties(t,i)},K=w("AsyncFunction"),Y=(u="function"==typeof setImmediate,c=k(B.postMessage),u?setImmediate:c?(d=`axios@${Math.random()}`,h=[],B.addEventListener("message",({source:t,data:r})=>{t===B&&r===d&&h.length&&h.shift()()},!1),t=>{h.push(t),B.postMessage(d,"*")}):t=>setTimeout(t)),Z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(B):void 0!==g&&g.nextTick||Y;var X={isArray:S,isArrayBuffer:A,isBuffer:function(t){return null!==t&&!E(t)&&null!==t.constructor&&!E(t.constructor)&&k(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let r;return t&&("function"==typeof FormData&&t instanceof FormData||k(t.append)&&("formdata"===(r=b(t))||"object"===r&&k(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&A(t.buffer)},isString:x,isNumber:O,isBoolean:t=>!0===t||!1===t,isObject:P,isPlainObject:C,isReadableStream:D,isRequest:F,isResponse:L,isHeaders:$,isUndefined:E,isDate:T,isFile:M,isBlob:R,isRegExp:G,isFunction:k,isStream:t=>P(t)&&k(t.pipe),isURLSearchParams:N,isTypedArray:H,isFileList:I,forEach:j,merge:function t(){let{caseless:r}=z(this)&&this||{},n={},i=(i,o)=>{let a=r&&U(n,o)||o;C(n[a])&&C(i)?n[a]=t(n[a],i):C(i)?n[a]=t({},i):S(i)?n[a]=i.slice():n[a]=i};for(let t=0,r=arguments.length;t<r;t++)arguments[t]&&j(arguments[t],i);return n},extend:(t,r,n,{allOwnKeys:i}={})=>(j(r,(r,i)=>{n&&k(r)?t[i]=m(r,n):t[i]=r},{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,r,n,i)=>{t.prototype=Object.create(r.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,r,n,i)=>{let o,a,s;let l={};if(r=r||{},null==t)return r;do{for(a=(o=Object.getOwnPropertyNames(t)).length;a-- >0;)s=o[a],(!i||i(s,t,r))&&!l[s]&&(r[s]=t[s],l[s]=!0);t=!1!==n&&v(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},kindOf:b,kindOfTest:w,endsWith:(t,r,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=r.length;let i=t.indexOf(r,n);return -1!==i&&i===n},toArray:t=>{if(!t)return null;if(S(t))return t;let r=t.length;if(!O(r))return null;let n=Array(r);for(;r-- >0;)n[r]=t[r];return n},forEachEntry:(t,r)=>{let n;let i=(t&&t[Symbol.iterator]).call(t);for(;(n=i.next())&&!n.done;){let i=n.value;r.call(t,i[0],i[1])}},matchAll:(t,r)=>{let n;let i=[];for(;null!==(n=t.exec(r));)i.push(n);return i},isHTMLForm:q,hasOwnProperty:V,hasOwnProp:V,reduceDescriptors:W,freezeMethods:t=>{W(t,(r,n)=>{if(k(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(k(t[n])){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(t,r)=>{let n={};return(t=>{t.forEach(t=>{n[t]=!0})})(S(t)?t:String(t).split(r)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,r)=>null!=t&&Number.isFinite(t=+t)?t:r,findKey:U,global:B,isContextDefined:z,isSpecCompliantForm:function(t){return!!(t&&k(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let r=Array(10),n=(t,i)=>{if(P(t)){if(r.indexOf(t)>=0)return;if(!("toJSON"in t)){r[i]=t;let o=S(t)?[]:{};return j(t,(t,r)=>{let a=n(t,i+1);E(a)||(o[r]=a)}),r[i]=void 0,o}}return t};return n(t,0)},isAsyncFn:K,isThenable:t=>t&&(P(t)||k(t))&&k(t.then)&&k(t.catch),setImmediate:Y,asap:Z};function J(t,r,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}X.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=J.prototype,ee={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","E
20RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ee[t]={value:t}}),Object.defineProperties(J,ee),Object.defineProperty(Q,"isAxiosError",{value:!0}),J.from=(t,r,n,i,o,a)=>{let s=Object.create(Q);return X.toFlatObject(t,s,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),J.call(s,t.message,r,n,i,o),s.cause=t,s.name=t.name,a&&Object.assign(s,a),s};var et=n(82957).Buffer;function er(t){return X.isPlainObject(t)||X.isArray(t)}function en(t){return X.endsWith(t,"[]")?t.slice(0,-2):t}function ei(t,r,n){return t?t.concat(r).map(function(t,r){return t=en(t),!n&&r?"["+t+"]":t}).join(n?".":""):r}let eo=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});var ea=function(t,r,n){if(!X.isObject(t))throw TypeError("target must be an object");r=r||new FormData;let i=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,r){return!X.isUndefined(r[t])})).metaTokens,o=n.visitor||c,a=n.dots,s=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(r);if(!X.isFunction(o))throw TypeError("visitor must be a function");function u(t){if(null===t)return"";if(X.isDate(t))return t.toISOString();if(!l&&X.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(t)||X.isTypedArray(t)?l&&"function"==typeof Blob?new Blob([t]):et.from(t):t}function c(t,n,o){let l=t;if(t&&!o&&"object"==typeof t){if(X.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else{var c;if(X.isArray(t)&&(c=t,X.isArray(c)&&!c.some(er))||(X.isFileList(t)||X.endsWith(n,"[]"))&&(l=X.toArray(t)))return n=en(n),l.forEach(function(t,i){X.isUndefined(t)||null===t||r.append(!0===s?ei([n],i,a):null===s?n:n+"[]",u(t))}),!1}}return!!er(t)||(r.append(ei(o,n,a),u(t)),!1)}let d=[],h=Object.assign(eo,{defaultVisitor:c,convertValue:u,isVisitable:er});if(!X.isObject(t))throw TypeError("data must be an object");return!function t(n,i){if(!X.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),X.forEach(n,function(n,a){!0===(!(X.isUndefined(n)||null===n)&&o.call(r,n,X.isString(a)?a.trim():a,i,h))&&t(n,i?i.concat(a):[a])}),d.pop()}}(t),r};function es(t){let r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return r[t]})}function el(t,r){this._pairs=[],t&&ea(t,this,r)}let eu=el.prototype;function ec(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ed(t,r,n){let i;if(!r)return t;let o=n&&n.encode||ec;X.isFunction(n)&&(n={serialize:n});let a=n&&n.serialize;if(i=a?a(r,n):X.isURLSearchParams(r)?r.toString():new el(r,n).toString(o)){let r=t.indexOf("#");-1!==r&&(t=t.slice(0,r)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}eu.append=function(t,r){this._pairs.push([t,r])},eu.toString=function(t){let r=t?function(r){return t.call(this,r,es)}:es;return this._pairs.map(function(t){return r(t[0])+"="+r(t[1])},"").join("&")};class eh{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(r){null!==r&&t(r)})}}var ef={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ep="undefined"!=typeof URLSearchParams?URLSearchParams:el,em="undefined"!=typeof FormData?FormData:null,eg="undefined"!=typeof Blob?Blob:null;let ey="undefined"!=typeof window&&"undefined"!=typeof document,ev="object"==typeof navigator&&navigator||void 0,eb=ey&&(!ev||0>["ReactNative","NativeScript","NS"].indexOf(ev.product)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,e_=ey&&window.location.href||"http://localhost";var eS={...p,isBrowser:!0,classes:{URLSearchParams:ep,FormData:em,Blob:eg},protocols:["http","https","file","blob","url","data"]},eE=function(t){if(X.isFormData(t)&&X.isFunction(t.entries)){let r={};
20return X.forEachEntry(t,(t,n)=>{!function t(r,n,i,o){let a=r[o++];if("__proto__"===a)return!0;let s=Number.isFinite(+a),l=o>=r.length;return(a=!a&&X.isArray(i)?i.length:a,l)?X.hasOwnProp(i,a)?i[a]=[i[a],n]:i[a]=n:(i[a]&&X.isObject(i[a])||(i[a]=[]),t(r,n,i[a],o)&&X.isArray(i[a])&&(i[a]=function(t){let r,n;let i={},o=Object.keys(t),a=o.length;for(r=0;r<a;r++)i[n=o[r]]=t[n];return i}(i[a]))),!s}(X.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),n,r,0)}),r}return null};let eA={transitional:ef,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n;let i=r.getContentType()||"",o=i.indexOf("application/json")>-1,a=X.isObject(t);if(a&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return o?JSON.stringify(eE(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1){var s,l;return(s=t,l=this.formSerializer,ea(s,new eS.classes.URLSearchParams,Object.assign({visitor:function(t,r,n,i){return eS.isNode&&X.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},l))).toString()}if((n=X.isFileList(t))||i.indexOf("multipart/form-data")>-1){let r=this.env&&this.env.FormData;return ea(n?{"files[]":t}:t,r&&new r,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),function(t,r,n){if(X.isString(t))try{return(0,JSON.parse)(t),X.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let r=this.transitional||eA.transitional,n=r&&r.forcedJSONParsing,i="json"===this.responseType;if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!this.responseType||i)){let n=r&&r.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!n&&i){if("SyntaxError"===t.name)throw J.from(t,J.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eS.classes.FormData,Blob:eS.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],t=>{eA.headers[t]={}});let ex=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ek=t=>{let r,n,i;let o={};return t&&t.split("\n").forEach(function(t){i=t.indexOf(":"),r=t.substring(0,i).trim().toLowerCase(),n=t.substring(i+1).trim(),!r||o[r]&&ex[r]||("set-cookie"===r?o[r]?o[r].push(n):o[r]=[n]:o[r]=o[r]?o[r]+", "+n:n)}),o};let eO=Symbol("internals");function eP(t){return t&&String(t).trim().toLowerCase()}function eC(t){return!1===t||null==t?t:X.isArray(t)?t.map(eC):String(t)}let eT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function eM(t,r,n,i,o){if(X.isFunction(i))return i.call(this,r,n);if(o&&(r=n),X.isString(r)){if(X.isString(i))return -1!==r.indexOf(i);if(X.isRegExp(i))return i.test(r)}}class eR{constructor(t){t&&this.set(t)}set(t,r,n){let i=this;function o(t,r,n){let o=eP(r);if(!o)throw Error("header name must be a non-empty string");let a=X.findKey(i,o);a&&void 0!==i[a]&&!0!==n&&(void 0!==n||!1===i[a])||(i[a||r]=eC(t))}let a=(t,r)=>X.forEach(t,(t,n)=>o(t,n,r));if(X.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(X.isString(t)&&(t=t.trim())&&!eT(t))a(ek(t),r);else if(X.isHeaders(t))for(let[r,i]of t.entries())o(i,r,n);else null!=t&&o(r,t,n);return this}get(t,r){if(t=eP(t)){let n=X.findKey(this,t);if(n){let t=this[n];if(!r)return t;if(!0===r)return function(t){let r;let n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
20for(;r=i.exec(t);)n[r[1]]=r[2];return n}(t);if(X.isFunction(r))return r.call(this,t,n);if(X.isRegExp(r))return r.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=eP(t)){let n=X.findKey(this,t);return!!(n&&void 0!==this[n]&&(!r||eM(this,this[n],n,r)))}return!1}delete(t,r){let n=this,i=!1;function o(t){if(t=eP(t)){let o=X.findKey(n,t);o&&(!r||eM(n,n[o],o,r))&&(delete n[o],i=!0)}}return X.isArray(t)?t.forEach(o):o(t),i}clear(t){let r=Object.keys(this),n=r.length,i=!1;for(;n--;){let o=r[n];(!t||eM(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){let r=this,n={};return X.forEach(this,(i,o)=>{let a=X.findKey(n,o);if(a){r[a]=eC(i),delete r[o];return}let s=t?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n):String(o).trim();s!==o&&delete r[o],r[s]=eC(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let r=Object.create(null);return X.forEach(this,(n,i)=>{null!=n&&!1!==n&&(r[i]=t&&X.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){let n=new this(t);return r.forEach(t=>n.set(t)),n}static accessor(t){let r=(this[eO]=this[eO]={accessors:{}}).accessors,n=this.prototype;function i(t){let i=eP(t);r[i]||(!function(t,r){let n=X.toCamelCase(" "+r);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(t,n,o){return this[i].call(this,r,t,n,o)},configurable:!0})})}(n,t),r[i]=!0)}return X.isArray(t)?t.forEach(i):i(t),this}}function eI(t,r){let n=this||eA,i=r||n,o=eR.from(i.headers),a=i.data;return X.forEach(t,function(t){a=t.call(n,a,o.normalize(),r?r.status:void 0)}),o.normalize(),a}function eN(t){return!!(t&&t.__CANCEL__)}function eD(t,r,n){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,r,n),this.name="CanceledError"}function eF(t,r,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):r(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eR.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(eR.prototype,({value:t},r)=>{let n=r[0].toUpperCase()+r.slice(1);return{get:()=>t,set(t){this[n]=t}}}),X.freezeMethods(eR),X.inherits(eD,J,{__CANCEL__:!0});var eL=function(t,r){let n;let i=Array(t=t||10),o=Array(t),a=0,s=0;return r=void 0!==r?r:1e3,function(l){let u=Date.now(),c=o[s];n||(n=u),i[a]=l,o[a]=u;let d=s,h=0;for(;d!==a;)h+=i[d++],d%=t;if((a=(a+1)%t)===s&&(s=(s+1)%t),u-n<r)return;let f=c&&u-c;return f?Math.round(1e3*h/f):void 0}},e$=function(t,r){let n,i,o=0,a=1e3/r,s=(r,a=Date.now())=>{o=a,n=null,i&&(clearTimeout(i),i=null),t.apply(null,r)};return[(...t)=>{let r=Date.now(),l=r-o;l>=a?s(t,r):(n=t,i||(i=setTimeout(()=>{i=null,s(n)},a-l)))},()=>n&&s(n)]};let ej=(t,r,n=3)=>{let i=0,o=eL(50,250);return e$(n=>{let a=n.loaded,s=n.lengthComputable?n.total:void 0,l=a-i,u=o(l);i=a,t({loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&a<=s?(s-a)/u:void 0,event:n,lengthComputable:null!=s,[r?"download":"upload"]:!0})},n)},eU=(t,r)=>{let n=null!=t;return[i=>r[0]({lengthComputable:n,total:t,loaded:i}),r[1]]},eB=t=>(...r)=>X.asap(()=>t(...r));var ez=eS.hasStandardBrowserEnv?(a=new URL(eS.origin),s=eS.navigator&&/(msie|trident)/i.test(eS.navigator.userAgent),t=>(t=new URL(t,eS.origin),a.protocol===t.protocol&&a.host===t.host&&(s||a.port===t.port))):()=>!0,eH=eS.hasStandardBrowserEnv?{write(t,r,n,i,o,a){let s=[t+"="+encodeURIComponent(r)];X.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),X.isString(i)&&s.push("path="+i),X.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(t){let r=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eq(t,r,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r);return t&&i||!1==n?r?t.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):t:r}let eV=t=>t instanceof eR?{...t}:t;function eG(t,r){r=r||{};let n={};function i(t,r,n,i){return X.isPlainObject(t)&&X.isPlainObject(r)?X.merge.call({caseless:i},t,r):X.isPlainObject(r)?X.merge({},r):X.isArray(r)?r.slice():r}function o(t,r,n,o){return X.isUndefined(r)?X.isUndefined(t)?void 0:i(void 0,t,n,o):i(t,r,n,o)}function a(t,r){if(!X.isUndefined(r))return i(void 0,r)}function s(t,r){return X.isUndefined(r)?X.isUndefined(t)?void 0:i(void 0,t):i(void 0,r)}function l(n,o,a){return a in r?i(n,o):a in t?i(void 0,n):void 0}let u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(t,r,n)=>o(eV(t),eV(r),n,!0)};
20return X.forEach(Object.keys(Object.assign({},t,r)),function(i){let a=u[i]||o,s=a(t[i],r[i],i);X.isUndefined(s)&&a!==l||(n[i]=s)}),n}var eW=t=>{let r;let n=eG({},t),{data:i,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:s,headers:l,auth:u}=n;if(n.headers=l=eR.from(l),n.url=ed(eq(n.baseURL,n.url,n.allowAbsoluteUrls),t.params,t.paramsSerializer),u&&l.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),X.isFormData(i)){if(eS.hasStandardBrowserEnv||eS.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(!1!==(r=l.getContentType())){let[t,...n]=r?r.split(";").map(t=>t.trim()).filter(Boolean):[];l.setContentType([t||"multipart/form-data",...n].join("; "))}}if(eS.hasStandardBrowserEnv&&(o&&X.isFunction(o)&&(o=o(n)),o||!1!==o&&ez(n.url))){let t=a&&s&&eH.read(s);t&&l.set(a,t)}return n},eK="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(r,n){let i,o,a,s,l;let u=eW(t),c=u.data,d=eR.from(u.headers).normalize(),{responseType:h,onUploadProgress:f,onDownloadProgress:p}=u;function m(){s&&s(),l&&l(),u.cancelToken&&u.cancelToken.unsubscribe(i),u.signal&&u.signal.removeEventListener("abort",i)}let g=new XMLHttpRequest;function y(){if(!g)return;let i=eR.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());eF(function(t){r(t),m()},function(t){n(t),m()},{data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:t,request:g}),g=null}g.open(u.method.toUpperCase(),u.url,!0),g.timeout=u.timeout,"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(y)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let r=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",i=u.transitional||ef;u.timeoutErrorMessage&&(r=u.timeoutErrorMessage),n(new J(r,i.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,g)),g=null},void 0===c&&d.setContentType(null),"setRequestHeader"in g&&X.forEach(d.toJSON(),function(t,r){g.setRequestHeader(r,t)}),X.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),h&&"json"!==h&&(g.responseType=u.responseType),p&&([a,l]=ej(p,!0),g.addEventListener("progress",a)),f&&g.upload&&([o,s]=ej(f),g.upload.addEventListener("progress",o),g.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(i=r=>{g&&(n(!r||r.type?new eD(null,t,g):r),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(i),u.signal&&(u.signal.aborted?i():u.signal.addEventListener("abort",i)));let v=function(t){let r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""}(u.url);if(v&&-1===eS.protocols.indexOf(v)){n(new J("Unsupported protocol "+v+":",J.ERR_BAD_REQUEST,t));return}g.send(c||null)})},eY=(t,r)=>{let{length:n}=t=t?t.filter(Boolean):[];if(r||n){let n,i=new AbortController,o=function(t){if(!n){n=!0,s();let r=t instanceof Error?t:this.reason;i.abort(r instanceof J?r:new eD(r instanceof Error?r.message:r))}},a=r&&setTimeout(()=>{a=null,o(new J(`timeout ${r} of ms exceeded`,J.ETIMEDOUT))},r),s=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));let{signal:l}=i;return l.unsubscribe=()=>X.asap(s),l}};let eZ=function*(t,r){let n,i=t.byteLength;if(!r||i<r){yield t;return}let o=0;for(;o<i;)n=o+r,yield t.slice(o,n),o=n},eX=async function*(t,r){for await(let n of eJ(t))yield*eZ(n,r)},eJ=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let r=t.getReader();try{for(;;){let{done:t,value:n}=await r.read();if(t)break;yield n}}finally{await r.cancel()}},eQ=(t,r,n,i)=>{let o;let a=eX(t,r),s=0,l=t=>{!o&&(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{let{done:r,value:i}=await a.next();if(r){l(),t.close();return}let o=i.byteLength;if(n){let t=s+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw l(t),t}},cancel:t=>(l(t),a.return())},{highWaterMark:2})},e0="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e1=e0&&"function"==typeof ReadableStream,e2=e0&&("function"==typeof TextEncoder?(l=new TextEncoder,t=>l.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer())),e3=(t,...r)=>{try{return!!t(...r)}catch(t){return!1}},e5=e1&&e3(()=>
20{let t=!1,r=new Request(eS.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!r}),e6=e1&&e3(()=>X.isReadableStream(new Response("").body)),e4={stream:e6&&(t=>t.body)};e0&&(f=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{e4[t]||(e4[t]=X.isFunction(f[t])?r=>r[t]():(r,n)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));let e8=async t=>{if(null==t)return 0;if(X.isBlob(t))return t.size;if(X.isSpecCompliantForm(t)){let r=new Request(eS.origin,{method:"POST",body:t});return(await r.arrayBuffer()).byteLength}return X.isArrayBufferView(t)||X.isArrayBuffer(t)?t.byteLength:(X.isURLSearchParams(t)&&(t+=""),X.isString(t))?(await e2(t)).byteLength:void 0},e9=async(t,r)=>{let n=X.toFiniteNumber(t.getContentLength());return null==n?e8(r):n},e7={http:null,xhr:eK,fetch:e0&&(async t=>{let r,n,{url:i,method:o,data:a,signal:s,cancelToken:l,timeout:u,onDownloadProgress:c,onUploadProgress:d,responseType:h,headers:f,withCredentials:p="same-origin",fetchOptions:m}=eW(t);h=h?(h+"").toLowerCase():"text";let g=eY([s,l&&l.toAbortSignal()],u),y=g&&g.unsubscribe&&(()=>{g.unsubscribe()});try{if(d&&e5&&"get"!==o&&"head"!==o&&0!==(n=await e9(f,a))){let t,r=new Request(i,{method:"POST",body:a,duplex:"half"});if(X.isFormData(a)&&(t=r.headers.get("content-type"))&&f.setContentType(t),r.body){let[t,i]=eU(n,ej(eB(d)));a=eQ(r.body,65536,t,i)}}X.isString(p)||(p=p?"include":"omit");let s="credentials"in Request.prototype;r=new Request(i,{...m,signal:g,method:o.toUpperCase(),headers:f.normalize().toJSON(),body:a,duplex:"half",credentials:s?p:void 0});let l=await fetch(r),u=e6&&("stream"===h||"response"===h);if(e6&&(c||u&&y)){let t={};["status","statusText","headers"].forEach(r=>{t[r]=l[r]});let r=X.toFiniteNumber(l.headers.get("content-length")),[n,i]=c&&eU(r,ej(eB(c),!0))||[];l=new Response(eQ(l.body,65536,n,()=>{i&&i(),y&&y()}),t)}h=h||"text";let v=await e4[X.findKey(e4,h)||"text"](l,t);return!u&&y&&y(),await new Promise((n,i)=>{eF(n,i,{data:v,headers:eR.from(l.headers),status:l.status,statusText:l.statusText,config:t,request:r})})}catch(n){if(y&&y(),n&&"TypeError"===n.name&&/fetch/i.test(n.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,r),{cause:n.cause||n});throw J.from(n,n&&n.code,t,r)}})};X.forEach(e7,(t,r)=>{if(t){try{Object.defineProperty(t,"name",{value:r})}catch(t){}Object.defineProperty(t,"adapterName",{value:r})}});let te=t=>`- ${t}`,tt=t=>X.isFunction(t)||null===t||!1===t;var tr=t=>{let r,n;let{length:i}=t=X.isArray(t)?t:[t],o={};for(let a=0;a<i;a++){let i;if(n=r=t[a],!tt(r)&&void 0===(n=e7[(i=String(r)).toLowerCase()]))throw new J(`Unknown adapter '${i}'`);if(n)break;o[i||"#"+a]=n}if(!n){let t=Object.entries(o).map(([t,r])=>`adapter ${t} `+(!1===r?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(i?t.length>1?"since :\n"+t.map(te).join("\n"):" "+te(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function tn(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new eD(null,t)}function ti(t){return tn(t),t.headers=eR.from(t.headers),t.data=eI.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),tr(t.adapter||eA.adapter)(t).then(function(r){return tn(t),r.data=eI.call(t,t.transformResponse,r),r.headers=eR.from(r.headers),r},function(r){return!eN(r)&&(tn(t),r&&r.response&&(r.response.data=eI.call(t,t.transformResponse,r.response),r.response.headers=eR.from(r.response.headers))),Promise.reject(r)})}let to="1.8.3",ta={};["object","boolean","number","function","string","symbol"].forEach((t,r)=>{ta[t]=function(n){return typeof n===t||"a"+(r<1?"n ":" ")+t}});let ts={};ta.transitional=function(t,r,n){function i(t,r){return"[Axios v"+to+"] Transitional option '"+t+"'"+r+(n?". "+n:"")}return(n,o,a)=>{if(!1===t)throw new J(i(o," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!ts[o]&&(ts[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),!t||t(n,o,a)}},ta.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};var tl={assertOptions:function(t,r,n){if("object"!=typeof t)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),o=i.length;for(;o-- >0;){let a=i[o],s=r[a];if(s){let r=t[a],n=void 0===r||s(r,a,t);if(!0!==n)throw new J("option "+a+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:ta};let tu=tl.validators;class tc{constructor(t){this.defaults=t,this.interceptors={request:new eh,response:new eh}}async request(t,r){try{return await this._request(t,r)}catch(t){if(t instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=Error();let n=r.stack?r.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,r){let n,i;"string"==typeof t?(r=r||{}).url=t:r=t||{};let{transitional:o,paramsSerializer:a,headers:s}=r=eG(this.defaults,r);void 0!==o&&tl.assertOptions(o,{silentJSONParsing:tu.transitional(tu.boolean),forcedJSONParsing:tu.transitional(tu.boolean),clarifyTimeoutError:tu.transitional(tu.boolean)}
20,!1),null!=a&&(X.isFunction(a)?r.paramsSerializer={serialize:a}:tl.assertOptions(a,{encode:tu.function,serialize:tu.function},!0)),void 0!==r.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),tl.assertOptions(r,{baseUrl:tu.spelling("baseURL"),withXsrfToken:tu.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=s&&X.merge(s.common,s[r.method]);s&&X.forEach(["delete","get","head","post","put","patch","common"],t=>{delete s[t]}),r.headers=eR.concat(l,s);let u=[],c=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(r))&&(c=c&&t.synchronous,u.unshift(t.fulfilled,t.rejected))});let d=[];this.interceptors.response.forEach(function(t){d.push(t.fulfilled,t.rejected)});let h=0;if(!c){let t=[ti.bind(this),void 0];for(t.unshift.apply(t,u),t.push.apply(t,d),i=t.length,n=Promise.resolve(r);h<i;)n=n.then(t[h++],t[h++]);return n}i=u.length;let f=r;for(h=0;h<i;){let t=u[h++],r=u[h++];try{f=t(f)}catch(t){r.call(this,t);break}}try{n=ti.call(this,f)}catch(t){return Promise.reject(t)}for(h=0,i=d.length;h<i;)n=n.then(d[h++],d[h++]);return n}getUri(t){return ed(eq((t=eG(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(t){tc.prototype[t]=function(r,n){return this.request(eG(n||{},{method:t,url:r,data:(n||{}).data}))}}),X.forEach(["post","put","patch"],function(t){function r(r){return function(n,i,o){return this.request(eG(o||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}tc.prototype[t]=r(),tc.prototype[t+"Form"]=r(!0)});class td{constructor(t){let r;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){r=t});let n=this;this.promise.then(t=>{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](t);n._listeners=null}),this.promise.then=t=>{let r;let i=new Promise(t=>{n.subscribe(t),r=t}).then(t);return i.cancel=function(){n.unsubscribe(r)},i},t(function(t,i,o){n.reason||(n.reason=new eD(t,i,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let r=this._listeners.indexOf(t);-1!==r&&this._listeners.splice(r,1)}toAbortSignal(){let t=new AbortController,r=r=>{t.abort(r)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new td(function(r){t=r}),cancel:t}}}let th={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
vendor: 4,194 bytes, line 20
20alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(th).forEach(([t,r])=>{th[r]=t});let tf=function t(r){let n=new tc(r),i=m(tc.prototype.request,n);return X.extend(i,tc.prototype,n,{allOwnKeys:!0}),X.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(eG(r,n))},i}(eA);tf.Axios=tc,tf.CanceledError=eD,tf.CancelToken=td,tf.isCancel=eN,tf.VERSION=to,tf.toFormData=ea,tf.AxiosError=J,tf.Cancel=tf.CanceledError,tf.all=function(t){return Promise.all(t)},tf.spread=function(t){return function(r){return t.apply(null,r)}},tf.isAxiosError=function(t){return X.isObject(t)&&!0===t.isAxiosError},tf.mergeConfig=eG,tf.AxiosHeaders=eR,tf.formToJSON=t=>eE(X.isHTMLForm(t)?new FormData(t):t),tf.getAdapter=tr,tf.HttpStatusCode=th,tf.default=tf;var tp=tf},68651:function(t,r,n){"use strict";var i=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,o=Math.ceil,a=Math.floor,s="[BigNumber Error] ",l=s+"Number primitive has more than 15 significant digits: ",u=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function c(t){var r=0|t;return t>0||t===r?r:r-1}function d(t){for(var r,n,i=1,o=t.length,a=t[0]+"";i<o;){for(n=14-(r=t[i++]+"").length;n--;r="0"+r);a+=r}for(o=a.length;48===a.charCodeAt(--o););return a.slice(0,o+1||1)}function h(t,r){var n,i,o=t.c,a=r.c,s=t.s,l=r.s,u=t.e,c=r.e;if(!s||!l)return null;if(n=o&&!o[0],i=a&&!a[0],n||i)return n?i?0:-l:s;if(s!=l)return s;if(n=s<0,i=u==c,!o||!a)return i?0:!o^n?1:-1;if(!i)return u>c^n?1:-1;for(s=0,l=(u=o.length)<(c=a.length)?u:c;s<l;s++)if(o[s]!=a[s])return o[s]>a[s]^n?1:-1;return u==c?0:u>c^n?1:-1}function f(t,r,n,i){if(t<r||t>n||t!==a(t))throw Error(s+(i||"Argument")+("number"==typeof t?t<r||t>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function p(t){var r=t.c.length-1;return c(t.e/14)==r&&t.c[r]%2!=0}function m(t,r){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(r<0?"e":"e+")+r}function g(t,r,n){var i,o;if(r<0){for(o=n+".";++r;o+=n);t=o+t}else if(i=t.length,++r>i){for(o=n,r-=i;--r;o+=n);t+=o}else r<i&&(t=t.slice(0,r)+"."+t.slice(r));return t}var y=function t(r){var n,y,v,b,w,_,S,E,A,x=j.prototype={constructor:j,toString:null,valueOf:null},k=new j(1),O=20,P=4,C=-7,T=21,M=-1e7,R=1e7,I=!1,N=1,D=0,F={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},L="0123456789abcdefghijklmnopqrstuvwxyz",$=!0;function j(t,r){var n,o,s,u,c,d,h,p,m=this;if(!(m instanceof j))return new j(t,r);if(null==r){if(t&&!0===t._isBigNumber){m.s=t.s,!t.c||t.e>R?m.c=m.e=null:t.e<M?m.c=[m.e=0]:(m.e=t.e,m.c=t.c.slice());return}if((d="number"==typeof t)&&0*t==0){if(m.s=1/t<0?(t=-t,-1):1,t===~~t){for(u=0,c=t;c>=10;c/=10,u++);u>R?m.c=m.e=null:(m.e=u,m.c=[t]);return}p=String(t)}else{if(!i.test(p=String(t)))return A(m,p,d);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(c=p.search(/e/i))>0?(u<0&&(u=c),u+=+p.slice(c+1),p=p.substring(0,c)):u<0&&(u=p.length)}else{if(f(r,2,L.length,"Base"),10==r&&$)return H(m=new j(t),O+m.e+1,P);if(p=String(t),d="number"==typeof t){if(0*t!=0)return A(m,p,d,r);if(m.s=1/t<0?(p=p.slice(1),-1):1,j.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(l+t)}
20else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=L.slice(0,r),u=c=0,h=p.length;c<h;c++)if(0>n.indexOf(o=p.charAt(c))){if("."==o){if(c>u){u=h;continue}}else if(!s&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){s=!0,c=-1,u=0;continue}return A(m,String(t),d,r)}d=!1,(u=(p=E(p,r,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(c=0;48===p.charCodeAt(c);c++);for(h=p.length;48===p.charCodeAt(--h););if(p=p.slice(c,++h)){if(h-=c,d&&j.DEBUG&&h>15&&(t>9007199254740991||t!==a(t)))throw Error(l+m.s*t);if((u=u-c-1)>R)m.c=m.e=null;else if(u<M)m.c=[m.e=0];else{if(m.e=u,m.c=[],c=(u+1)%14,u<0&&(c+=14),c<h){for(c&&m.c.push(+p.slice(0,c)),h-=14;c<h;)m.c.push(+p.slice(c,c+=14));c=14-(p=p.slice(c)).length}else c-=h;for(;c--;p+="0");m.c.push(+p)}}else m.c=[m.e=0]}function U(t,r,n,i){var o,a,s,l,u;if(null==n?n=P:f(n,0,8),!t.c)return t.toString();if(o=t.c[0],s=t.e,null==r)u=d(t.c),u=1==i||2==i&&(s<=C||s>=T)?m(u,s):g(u,s,"0");else if(a=(t=H(new j(t),r,n)).e,l=(u=d(t.c)).length,1==i||2==i&&(r<=a||a<=C)){for(;l<r;u+="0",l++);u=m(u,a)}else if(r-=s,u=g(u,a,"0"),a+1>l){if(--r>0)for(u+=".";r--;u+="0");}else if((r+=a-l)>0)for(a+1==l&&(u+=".");r--;u+="0");return t.s<0&&o?"-"+u:u}function B(t,r){for(var n,i,o=1,a=new j(t[0]);o<t.length;o++)(i=new j(t[o])).s&&(n=h(a,i))!==r&&(0!==n||a.s!==r)||(a=i);return a}function z(t,r,n){for(var i=1,o=r.length;!r[--o];r.pop());for(o=r[0];o>=10;o/=10,i++);return(n=i+14*n-1)>R?t.c=t.e=null:n<M?t.c=[t.e=0]:(t.e=n,t.c=r),t}function H(t,r,n,i){var s,l,c,d,h,f,p,m=t.c;if(m){n:{for(s=1,d=m[0];d>=10;d/=10,s++);if((l=r-s)<0)l+=14,c=r,p=a((h=m[f=0])/u[s-c-1]%10);else if((f=o((l+1)/14))>=m.length){if(i){for(;m.length<=f;m.push(0));h=p=0,s=1,l%=14,c=l-14+1}else break n}else{for(s=1,h=d=m[f];d>=10;d/=10,s++);l%=14,p=(c=l-14+s)<0?0:a(h/u[s-c-1]%10)}if(i=i||r<0||null!=m[f+1]||(c<0?h:h%u[s-c-1]),i=n<4?(p||i)&&(0==n||n==(t.s<0?3:2)):p>5||5==p&&(4==n||i||6==n&&(l>0?c>0?h/u[s-c]:0:m[f-1])%10&1||n==(t.s<0?8:7)),r<1||!m[0])return m.length=0,i?(r-=t.e+1,m[0]=u[(14-r%14)%14],t.e=-r||0):m[0]=t.e=0,t;if(0==l?(m.length=f,d=1,f--):(m.length=f+1,d=u[14-l],m[f]=c>0?a(h/u[s-c]%u[c])*d:0),i)for(;;){if(0==f){for(l=1,c=m[0];c>=10;c/=10,l++);for(c=m[0]+=d,d=1;c>=10;c/=10,d++);l!=d&&(t.e++,1e14==m[0]&&(m[0]=1));break}if(m[f]+=d,1e14!=m[f])break;m[f--]=0,d=1}for(l=m.length;0===m[--l];m.pop());}t.e>R?t.c=t.e=null:t.e<M&&(t.c=[t.e=0])}return t}function q(t){var r,n=t.e;return null===n?t.toString():(r=d(t.c),r=n<=C||n>=T?m(r,n):g(r,n,"0"),t.s<0?"-"+r:r)}return j.clone=t,j.ROUND_UP=0,j.ROUND_DOWN=1,j.ROUND_CEIL=2,j.ROUND_FLOOR=3,j.ROUND_HALF_UP=4,j.ROUND_HALF_DOWN=5,j.ROUND_HALF_EVEN=6,j.ROUND_HALF_CEIL=7,j.ROUND_HALF_FLOOR=8,j.EUCLID=9,j.config=j.set=function(t){var r,n;if(null!=t){if("object"==typeof t){if(t.hasOwnProperty(r="DECIMAL_PLACES")&&(f(n=t[r],0,1e9,r),O=n),t.hasOwnProperty(r="ROUNDING_MODE")&&(f(n=t[r],0,8,r),P=n),t.hasOwnProperty(r="EXPONENTIAL_AT")&&((n=t[r])&&n.pop?(f(n[0],-1e9,0,r),f(n[1],0,1e9,r),C=n[0],T=n[1]):(f(n,-1e9,1e9,r),C=-(T=n<0?-n:n))),t.hasOwnProperty(r="RANGE")){if((n=t[r])&&n.pop)f(n[0],-1e9,-1,r),f(n[1],1,1e9,r),M=n[0],R=n[1];else if(f(n,-1e9,1e9,r),n)M=-(R=n<0?-n:n);else throw Error(s+r+" cannot be zero: "+n)}if(t.hasOwnProperty(r="CRYPTO")){if(!!(n=t[r])===n){if(n){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))I=n;else throw I=!n,Error(s+"crypto unavailable")}else I=n}else throw Error(s+r+" not true or false: "+n)}if(t.hasOwnProperty(r="MODULO_MODE")&&(f(n=t[r],0,9,r),N=n),t.hasOwnProperty(r="POW_PRECISION")&&(f(n=t[r],0,1e9,r),D=n),t.hasOwnProperty(r="FORMAT")){if("object"==typeof(n=t[r]))F=n;else throw Error(s+r+" not an object: "+n)}if(t.hasOwnProperty(r="ALPHABET")){if("string"!=typeof(n=t[r])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(s+r+" invalid: "+n);$="0123456789"==n.slice(0,10),L=n}}else throw Error(s+"Object expected: "+t)}return{DECIMAL_PLACES:O,ROUNDING_MODE:P,EXPONENTIAL_AT:[C,T],RANGE:[M,R],CRYPTO:I,MODULO_MODE:N,POW_PRECISION:D,FORMAT:F,ALPHABET:L}},j.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!j.DEBUG)return!0;var r,n,i=t.c,o=t.e,l=t.s;n:if("[object Array]"==({}
vendor: 5,254 bytes, line 20
20).toString.call(i)){if((1===l||-1===l)&&o>=-1e9&&o<=1e9&&o===a(o)){if(0===i[0]){if(0===o&&1===i.length)return!0;break n}if((r=(o+1)%14)<1&&(r+=14),String(i[0]).length==r){for(r=0;r<i.length;r++)if((n=i[r])<0||n>=1e14||n!==a(n))break n;if(0!==n)return!0}}}else if(null===i&&null===o&&(null===l||1===l||-1===l))return!0;throw Error(s+"Invalid BigNumber: "+t)},j.maximum=j.max=function(){return B(arguments,-1)},j.minimum=j.min=function(){return B(arguments,1)},j.random=(n=9007199254740992*Math.random()&2097151?function(){return a(9007199254740992*Math.random())}:function(){return(1073741824*Math.random()|0)*8388608+(8388608*Math.random()|0)},function(t){var r,i,l,c,d,h=0,p=[],m=new j(k);if(null==t?t=O:f(t,0,1e9),c=o(t/14),I){if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(c*=2));h<c;)(d=131072*r[h]+(r[h+1]>>>11))>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),r[h]=i[0],r[h+1]=i[1]):(p.push(d%1e14),h+=2);h=c/2}else if(crypto.randomBytes){for(r=crypto.randomBytes(c*=7);h<c;)(d=(31&r[h])*281474976710656+1099511627776*r[h+1]+4294967296*r[h+2]+16777216*r[h+3]+(r[h+4]<<16)+(r[h+5]<<8)+r[h+6])>=9e15?crypto.randomBytes(7).copy(r,h):(p.push(d%1e14),h+=7);h=c/7}else throw I=!1,Error(s+"crypto unavailable")}if(!I)for(;h<c;)(d=n())<9e15&&(p[h++]=d%1e14);for(c=p[--h],t%=14,c&&t&&(d=u[14-t],p[h]=a(c/d)*d);0===p[h];p.pop(),h--);if(h<0)p=[l=0];else{for(l=-1;0===p[0];p.splice(0,1),l-=14);for(h=1,d=p[0];d>=10;d/=10,h++);h<14&&(l-=14-h)}return m.e=l,m.c=p,m}),j.sum=function(){for(var t=1,r=arguments,n=new j(r[0]);t<r.length;)n=n.plus(r[t++]);return n},E=function(){var t="0123456789";function r(t,r,n,i){for(var o,a,s=[0],l=0,u=t.length;l<u;){for(a=s.length;a--;s[a]*=r);for(s[0]+=i.indexOf(t.charAt(l++)),o=0;o<s.length;o++)s[o]>n-1&&(null==s[o+1]&&(s[o+1]=0),s[o+1]+=s[o]/n|0,s[o]%=n)}return s.reverse()}return function(n,i,o,a,s){var l,u,c,h,f,p,m,y,v=n.indexOf("."),b=O,w=P;for(v>=0&&(h=D,D=0,n=n.replace(".",""),p=(y=new j(i)).pow(n.length-v),D=h,y.c=r(g(d(p.c),p.e,"0"),10,o,t),y.e=y.c.length),c=h=(m=r(n,i,o,s?(l=L,t):(l=t,L))).length;0==m[--h];m.pop());if(!m[0])return l.charAt(0);if(v<0?--c:(p.c=m,p.e=c,p.s=a,m=(p=S(p,y,b,w,o)).c,f=p.r,c=p.e),v=m[u=c+b+1],h=o/2,f=f||u<0||null!=m[u+1],f=w<4?(null!=v||f)&&(0==w||w==(p.s<0?3:2)):v>h||v==h&&(4==w||f||6==w&&1&m[u-1]||w==(p.s<0?8:7)),u<1||!m[0])n=f?g(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(m.length=u,f)for(--o;++m[--u]>o;)m[u]=0,u||(++c,m=[1].concat(m));for(h=m.length;!m[--h];);for(v=0,n="";v<=h;n+=l.charAt(m[v++]));n=g(n,c,l.charAt(0))}return n}}(),S=function(){function t(t,r,n){var i,o,a,s,l=0,u=t.length,c=r%1e7,d=r/1e7|0;for(t=t.slice();u--;)i=d*(a=t[u]%1e7)+(s=t[u]/1e7|0)*c,l=((o=c*a+i%1e7*1e7+l)/n|0)+(i/1e7|0)+d*s,t[u]=o%n;return l&&(t=[l].concat(t)),t}function r(t,r,n,i){var o,a;if(n!=i)a=n>i?1:-1;else for(o=a=0;o<n;o++)if(t[o]!=r[o]){a=t[o]>r[o]?1:-1;break}return a}function n(t,r,n,i){for(var o=0;n--;)t[n]-=o,o=t[n]<r[n]?1:0,t[n]=o*i+t[n]-r[n];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(i,o,s,l,u){var d,h,f,p,m,g,y,v,b,w,_,S,E,A,x,k,O,P=i.s==o.s?1:-1,C=i.c,T=o.c;if(!C||!C[0]||!T||!T[0])return new j(i.s&&o.s&&(C?!T||C[0]!=T[0]:T)?C&&0==C[0]||!T?0*P:P/0:NaN);for(b=(v=new j(P)).c=[],P=s+(h=i.e-o.e)+1,u||(u=1e14,h=c(i.e/14)-c(o.e/14),P=P/14|0),f=0;T[f]==(C[f]||0);f++);if(T[f]>(C[f]||0)&&h--,P<0)b.push(1),p=!0;else{for(A=C.length,k=T.length,f=0,P+=2,(m=a(u/(T[0]+1)))>1&&(T=t(T,m,u),C=t(C,m,u),k=T.length,A=C.length),E=k,_=(w=C.slice(0,k)).length;_<k;w[_++]=0);O=[0].concat(O=T.slice()),x=T[0],T[1]>=u/2&&x++;do{if(m=0,(d=r(T,w,k,_))<0){if(S=w[0],k!=_&&(S=S*u+(w[1]||0)),(m=a(S/x))>1)for(m>=u&&(m=u-1),y=(g=t(T,m,u)).length,_=w.length;1==r(g,w,y,_);)m--,n(g,k<y?O:T,y,u),y=g.length,d=1;else 0==m&&(d=m=1),y=(g=T.slice()).length;if(y<_&&(g=[0].concat(g)),n(w,g,_,u),_=w.length,-1==d)for(;1>r(T,w,k,_);)m++,n(w,k<_?O:T,_,u),_=w.length}else 0===d&&(m++,w=[0]);b[f++]=m,w[0]?w[_++]=C[E]||0:(w=[C[E]],_=1)}while((E++<A||null!=w[0])&&P--);p=null!=w[0],b[0]||b.splice(0,1)}if(1e14==u){for(f=1,P=b[0];P>=10;P/=10,f++);H(v,s+(v.e=f+14*h-1)+1,l,p)}else v.e=h,v.r=+p;return v}}(),y=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,b=/^\.([^.]+)$/,w=/^-?(Infinity|NaN)$/,_=/^\s*\+(?=[\w.])|^\s+|\s+$/g,A=function(t,r,n,i){var o,a=n?r:r.replace(_,"");if(w.test(a))t.s=isNaN(a)?null:a<0?-1:1;else{if(!n&&(a=a.replace(y,function(t,r,n){return o="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=o?t:r}),i&&(o=i,a=a.replace(v,"$1").replace(b,"0.$1")),r!=a))return new j(a,o);if(j.DEBUG)throw Error(s+"Not a"+(i?" base "+i:"")+" number: "+r);t.s=null}t.c=t.e=null},x.absoluteValue=x.abs=function(){var t=new j(this);return t.s<0&&(t.s=1),t},x.comparedTo=function(t,r){return h(this,new j(t,r))},x.decimalPlaces=x.dp=function(t,r){var n,i,o;if(null!=t)return f(t,0,1e9),null==r?r=P:f(r,0,8),H(new j(this),t+this.e+1,r);if(!(n=this.c))return null;if(i=((o=n.length-1)-c(this.e/14))*14,o=n[o])for(;o%10==0;o/=10,i--);return i<0&&(i=0),i},x.dividedBy=x.div=function(t,r){return S(this,new j(t,r),O,P)},x.dividedToIntegerBy=x.idiv=function(t,r){return S(this,new j(t,r),0,1)},x.exponentiatedBy=x.pow=function(t,r){var n,i,l,u,c,d,h,f,m,g=this;if((t=new j(t)).c&&!t.isInteger())throw Error(s+"Exponent not an integer: "+q(t));if(null!=r&&(r=new j(r)),d=t.e>
2014,!g.c||!g.c[0]||1==g.c[0]&&!g.e&&1==g.c.length||!t.c||!t.c[0])return m=new j(Math.pow(+q(g),d?t.s*(2-p(t)):+q(t))),r?m.mod(r):m;if(h=t.s<0,r){if(r.c?!r.c[0]:!r.s)return new j(NaN);(i=!h&&g.isInteger()&&r.isInteger())&&(g=g.mod(r))}else{if(t.e>9&&(g.e>0||g.e<-1||(0==g.e?g.c[0]>1||d&&g.c[1]>=24e7:g.c[0]<8e13||d&&g.c[0]<=9999975e7)))return u=g.s<0&&p(t)?-0:0,g.e>-1&&(u=1/u),new j(h?1/u:u);D&&(u=o(D/14+2))}for(d?(n=new j(.5),h&&(t.s=1),f=p(t)):f=(l=Math.abs(+q(t)))%2,m=new j(k);;){if(f){if(!(m=m.times(g)).c)break;u?m.c.length>u&&(m.c.length=u):i&&(m=m.mod(r))}if(l){if(0===(l=a(l/2)))break;f=l%2}else if(H(t=t.times(n),t.e+1,1),t.e>14)f=p(t);else{if(0==(l=+q(t)))break;f=l%2}g=g.times(g),u?g.c&&g.c.length>u&&(g.c.length=u):i&&(g=g.mod(r))}return i?m:(h&&(m=k.div(m)),r?m.mod(r):u?H(m,D,P,c):m)},x.integerValue=function(t){var r=new j(this);return null==t?t=P:f(t,0,8),H(r,r.e+1,t)},x.isEqualTo=x.eq=function(t,r){return 0===h(this,new j(t,r))},x.isFinite=function(){return!!this.c},x.isGreaterThan=x.gt=function(t,r){return h(this,new j(t,r))>0},x.isGreaterThanOrEqualTo=x.gte=function(t,r){return 1===(r=h(this,new j(t,r)))||0===r},x.isInteger=function(){return!!this.c&&c(this.e/14)>this.c.length-2},x.isLessThan=x.lt=function(t,r){return 0>h(this,new j(t,r))},x.isLessThanOrEqualTo=x.lte=function(t,r){return -1===(r=h(this,new j(t,r)))||0===r},x.isNaN=function(){return!this.s},x.isNegative=function(){return this.s<0},x.isPositive=function(){return this.s>0},x.isZero=function(){return!!this.c&&0==this.c[0]},x.minus=function(t,r){var n,i,o,a,s=this.s;if(r=(t=new j(t,r)).s,!s||!r)return new j(NaN);if(s!=r)return t.s=-r,this.plus(t);var l=this.e/14,u=t.e/14,d=this.c,h=t.c;if(!l||!u){if(!d||!h)return d?(t.s=-r,t):new j(h?this:NaN);if(!d[0]||!h[0])return h[0]?(t.s=-r,t):new j(d[0]?this:3==P?-0:0)}if(l=c(l),u=c(u),d=d.slice(),s=l-u){for((a=s<0)?(s=-s,o=d):(u=l,o=h),o.reverse(),r=s;r--;o.push(0));o.reverse()}else for(i=(a=(s=d.length)<(r=h.length))?s:r,s=r=0;r<i;r++)if(d[r]!=h[r]){a=d[r]<h[r];break}if(a&&(o=d,d=h,h=o,t.s=-t.s),(r=(i=h.length)-(n=d.length))>0)for(;r--;d[n++]=0);for(r=1e14-1;i>s;){if(d[--i]<h[i]){for(n=i;n&&!d[--n];d[n]=r);--d[n],d[i]+=1e14}d[i]-=h[i]}for(;0==d[0];d.splice(0,1),--u);return d[0]?z(t,d,u):(t.s=3==P?-1:1,t.c=[t.e=0],t)},x.modulo=x.mod=function(t,r){var n,i;return(t=new j(t,r),this.c&&t.s&&(!t.c||t.c[0]))?t.c&&(!this.c||this.c[0])?(9==N?(i=t.s,t.s=1,n=S(this,t,0,3),t.s=i,n.s*=i):n=S(this,t,0,N),(t=this.minus(n.times(t))).c[0]||1!=N||(t.s=this.s),t):new j(this):new j(NaN)},x.multipliedBy=x.times=function(t,r){var n,i,o,a,s,l,u,d,h,f,p,m,g,y=this.c,v=(t=new j(t,r)).c;if(!y||!v||!y[0]||!v[0])return this.s&&t.s&&(!y||y[0]||v)&&(!v||v[0]||y)?(t.s*=this.s,y&&v?(t.c=[0],t.e=0):t.c=t.e=null):t.c=t.e=t.s=null,t;for(i=c(this.e/14)+c(t.e/14),t.s*=this.s,(u=y.length)<(f=v.length)&&(g=y,y=v,v=g,o=u,u=f,f=o),o=u+f,g=[];o--;g.push(0));for(o=f;--o>=0;){for(n=0,p=v[o]%1e7,m=v[o]/1e7|0,a=o+(s=u);a>o;)l=m*(d=y[--s]%1e7)+(h=y[s]/1e7|0)*p,n=((d=p*d+l%1e7*1e7+g[a]+n)/1e14|0)+(l/1e7|0)+m*h,g[a--]=d%1e14;g[a]=n}return n?++i:g.splice(0,1),z(t,g,i)},x.negated=function(){var t=new j(this);return t.s=-t.s||null,t},x.plus=function(t,r){var n,i=this.s;if(r=(t=new j(t,r)).s,!i||!r)return new j(NaN);if(i!=r)return t.s=-r,this.minus(t);var o=this.e/14,a=t.e/14,s=this.c,l=t.c;if(!o||!a){if(!s||!l)return new j(i/0);if(!s[0]||!l[0])return l[0]?t:new j(s[0]?this:0*i)}if(o=c(o),a=c(a),s=s.slice(),i=o-a){for(i>0?(a=o,n=l):(i=-i,n=s),n.reverse();i--;n.push(0));n.reverse()}for((i=s.length)-(r=l.length)<0&&(n=l,l=s,s=n,r=i),i=0;r;)i=(s[--r]=s[r]+l[r]+i)/1e14|0,s[r]=1e14===s[r]?0:s[r]%1e14;return i&&(s=[i].concat(s),++a),z(t,s,a)},x.precision=x.sd=function(t,r){var n,i,o;if(null!=t&&!!t!==t)return f(t,1,1e9),null==r?r=P:f(r,0,8),H(new j(this),t,r);if(!(n=this.c))return null;if(i=14*(o=n.length-1)+1,o=n[o]){for(;o%10==0;o/=10,i--);for(o=n[0];o>=10;o/=10,i++);}return t&&this.e+1>i&&(i=this.e+1),i},x.shiftedBy=function(t){return f(t,-9007199254740991,9007199254740991),this.times("1e"+t)},x.squareRoot=x.sqrt=function(){var t,r,n,i,o,a=this.c,s=this.s,l=this.e,u=O+4,h=new j("0.5");
20if(1!==s||!a||!a[0])return new j(!s||s<0&&(!a||a[0])?NaN:a?this:1/0);if(0==(s=Math.sqrt(+q(this)))||s==1/0?(((r=d(a)).length+l)%2==0&&(r+="0"),s=Math.sqrt(+r),l=c((l+1)/2)-(l<0||l%2),n=new j(r=s==1/0?"5e"+l:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+l)):n=new j(s+""),n.c[0]){for((s=(l=n.e)+u)<3&&(s=0);;)if(o=n,n=h.times(o.plus(S(this,o,u,1))),d(o.c).slice(0,s)===(r=d(n.c)).slice(0,s)){if(n.e<l&&--s,"9999"!=(r=r.slice(s-3,s+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(H(n,n.e+O+2,1),t=!n.times(n).eq(this));break}if(!i&&(H(o,o.e+O+2,0),o.times(o).eq(this))){n=o;break}u+=4,s+=4,i=1}}return H(n,n.e+O+1,P,t)},x.toExponential=function(t,r){return null!=t&&(f(t,0,1e9),t++),U(this,t,r,1)},x.toFixed=function(t,r){return null!=t&&(f(t,0,1e9),t=t+this.e+1),U(this,t,r)},x.toFormat=function(t,r,n){var i;if(null==n)null!=t&&r&&"object"==typeof r?(n=r,r=null):t&&"object"==typeof t?(n=t,t=r=null):n=F;else if("object"!=typeof n)throw Error(s+"Argument not an object: "+n);if(i=this.toFixed(t,r),this.c){var o,a=i.split("."),l=+n.groupSize,u=+n.secondaryGroupSize,c=n.groupSeparator||"",d=a[0],h=a[1],f=this.s<0,p=f?d.slice(1):d,m=p.length;if(u&&(o=l,l=u,u=o,m-=o),l>0&&m>0){for(o=m%l||l,d=p.substr(0,o);o<m;o+=l)d+=c+p.substr(o,l);u>0&&(d+=c+p.slice(o)),f&&(d="-"+d)}i=h?d+(n.decimalSeparator||"")+((u=+n.fractionGroupSize)?h.replace(RegExp("\\d{"+u+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):h):d}return(n.prefix||"")+i+(n.suffix||"")},x.toFraction=function(t){var r,n,i,o,a,l,c,h,f,p,m,g,y=this.c;if(null!=t&&(!(c=new j(t)).isInteger()&&(c.c||1!==c.s)||c.lt(k)))throw Error(s+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+q(c));if(!y)return new j(this);for(r=new j(k),f=n=new j(k),i=h=new j(k),g=d(y),a=r.e=g.length-this.e-1,r.c[0]=u[(l=a%14)<0?14+l:l],t=!t||c.comparedTo(r)>0?a>0?r:f:c,l=R,R=1/0,c=new j(g),h.c[0]=0;p=S(c,r,0,1),1!=(o=n.plus(p.times(i))).comparedTo(t);)n=i,i=o,f=h.plus(p.times(o=f)),h=o,r=c.minus(p.times(o=r)),c=o;return o=S(t.minus(n),i,0,1),h=h.plus(o.times(f)),n=n.plus(o.times(i)),h.s=f.s=this.s,a*=2,m=1>S(f,i,a,P).minus(this).abs().comparedTo(S(h,n,a,P).minus(this).abs())?[f,i]:[h,n],R=l,m},x.toNumber=function(){return+q(this)},x.toPrecision=function(t,r){return null!=t&&f(t,1,1e9),U(this,t,r,2)},x.toString=function(t){var r,n=this,i=n.s,o=n.e;return null===o?i?(r="Infinity",i<0&&(r="-"+r)):r="NaN":(null==t?r=o<=C||o>=T?m(d(n.c),o):g(d(n.c),o,"0"):10===t&&$?r=g(d((n=H(new j(n),O+o+1,P)).c),n.e,"0"):(f(t,2,L.length,"Base"),r=E(g(d(n.c),o,"0"),10,t,i,!0)),i<0&&n.c[0]&&(r="-"+r)),r},x.valueOf=x.toJSON=function(){return q(this)},x._isBigNumber=!0,x[Symbol.toStringTag]="BigNumber",x[Symbol.for("nodejs.util.inspect.custom")]=x.valueOf,null!=r&&j.set(r),j}();r.Z=y},61994:function(t,r,n){"use strict";r.Z=function(){for(var t,r,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(r=function t(r){var n,i,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r){if(Array.isArray(r)){var a=r.length;for(n=0;n<a;n++)r[n]&&(i=t(r[n]))&&(o&&(o+=" "),o+=i)}else for(i in r)r[i]&&(o&&(o+=" "),o+=i)}return o}(t))&&(i&&(i+=" "),i+=r);return i}},18848:function(t,r,n){"use strict";n.d(r,{Z:function(){return en}});let{entries:i,setPrototypeOf:o,isFrozen:a,getPrototypeOf:s,getOwnPropertyDescriptor:l}=Object,{freeze:u,seal:c,create:d}=Object,{apply:h,construct:f}="undefined"!=typeof Reflect&&Reflect;u||(u=function(t){return t}),c||(c=function(t){return t}),h||(h=function(t,r,n){return t.apply(r,n)}),f||(f=function(t,r){return new t(...r)});let p=P(Array.prototype.forEach),m=P(Array.prototype.lastIndexOf),g=P(Array.prototype.pop),y=P(Array.prototype.push),v=P(Array.prototype.splice),b=P(String.prototype.toLowerCase),w=P(String.prototype.toString),_=P(String.prototype.match),S=P(String.prototype.replace),E=P(String.prototype.indexOf),A=P(String.prototype.trim),x=P(Object.prototype.hasOwnProperty),k=P(RegExp.prototype.test),O=(J=TypeError,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return f(J,r)});function P(t){return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return h(t,r,i)}}function C(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;o&&o(t,null);let i=r.length;for(;i--;){let o=r[i];if("string"==typeof o){let t=n(o);t!==o&&(a(r)||(r[i]=t),o=t)}t[o]=!0}return t}function T(t){let r=d(null);
vendor: 6,595 bytes, line 20
20for(let[n,o]of i(t))x(t,n)&&(Array.isArray(o)?r[n]=function(t){for(let r=0;r<t.length;r++)x(t,r)||(t[r]=null);return t}(o):o&&"object"==typeof o&&o.constructor===Object?r[n]=T(o):r[n]=o);return r}function M(t,r){for(;null!==t;){let n=l(t,r);if(n){if(n.get)return P(n.get);if("function"==typeof n.value)return P(n.value)}t=s(t)}return function(){return null}}let R=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),I=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),F=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=u(["#text"]),j=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=u(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
20subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),q=c(/<%[\w\W]*|[\w\W]*%>/gm),V=c(/\$\{[\w\W]*/gm),G=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),W=c(/^aria-[\-\w]+$/),K=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=c(/^(?:\w+script|data):/i),Z=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=c(/^html$/i);var J,Q=Object.freeze({__proto__:null,ARIA_ATTR:W,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:c(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:G,DOCTYPE_NAME:X,ERB_EXPR:q,IS_ALLOWED_URI:K,IS_SCRIPT_OR_DATA:Y,MUSTACHE_EXPR:H,TMPLIT_EXPR:V});let ee={element:1,text:3,progressingInstruction:7,comment:8,document:9},et=function(t,r){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,i="data-tt-policy-suffix";r&&r.hasAttribute(i)&&(n=r.getAttribute(i));let o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},er=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var en=function t(){let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,o=r=>t(r);if(o.version="3.2.4",o.removed=[],!n||!n.document||n.document.nodeType!==ee.document||!n.Element)return o.isSupported=!1,o;let{document:a}=n,s=a,l=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:h,Node:f,Element:P,NodeFilter:H,NamedNodeMap:q=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:V,DOMParser:G,trustedTypes:W}=n,Y=P.prototype,Z=M(Y,"cloneNode"),J=M(Y,"remove"),en=M(Y,"nextSibling"),ei=M(Y,"childNodes"),eo=M(Y,"parentNode");if("function"==typeof h){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let ea="",{implementation:es,createNodeIterator:el,createDocumentFragment:eu,getElementsByTagName:ec}=a,{importNode:ed}=s,eh=er();o.isSupported="function"==typeof i&&"function"==typeof eo&&es&&void 0!==es.createHTMLDocument;let{MUSTACHE_EXPR:ef,ERB_EXPR:ep,TMPLIT_EXPR:em,DATA_ATTR:eg,ARIA_ATTR:ey,IS_SCRIPT_OR_DATA:ev,ATTR_WHITESPACE:eb,CUSTOM_ELEMENT:ew}=Q,{IS_ALLOWED_URI:e_}=Q,eS=null,eE=C({},[...R,...I,...N,...F,...$]),eA=null,ex=C({},[...j,...U,...B,...z]),ek=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eO=null,eP=null,eC=!0,eT=!0,eM=!1,eR=!0,eI=!1,eN=!0,eD=!1,eF=!1,eL=!1,e$=!1,ej=!1,eU=!1,eB=!0,ez=!1,eH=!0,eq=!1,eV={},eG=null,eW=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eK=null,eY=C({},["audio","video","img","source","image","track"]),eZ=null,eX=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eJ="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",e0="http://www.w3.org/1999/xhtml",e1=e0,e2=!1,e3=null,e5=C({},[eJ,eQ,e0],w),e6=C({},["mi","mo","mn","ms","mtext"]),e4=C({},["annotation-xml"]),e8=C({},["title","style","font","a","script"]),e9=null,e7=["application/xhtml+xml","text/html"],te=null,tt=null,tr=a.createElement("form"),tn=function(t){return t instanceof RegExp||t instanceof Function},ti=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tt||tt!==t){if(t&&"object"==typeof t||(t={}),t=T(t),te="application/xhtml+xml"===(e9=-1===e7.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?w:b,eS=x(t,"ALLOWED_TAGS")?C({},t.ALLOWED_TAGS,te):eE,eA=x(t,"ALLOWED_ATTR")?C({},t.ALLOWED_ATTR,te):ex,e3=x(t,"ALLOWED_NAMESPACES")?C({},t.ALLOWED_NAMESPACES,w):e5,eZ=x(t,"ADD_URI_SAFE_ATTR")?C(T(eX),t.ADD_URI_SAFE_ATTR,te):eX,eK=x(t,"ADD_DATA_URI_TAGS")?C(T(eY),t.ADD_DATA_URI_TAGS,te):eY,eG=x(t,"FORBID_CONTENTS")?C({},t.FORBID_CONTENTS,te):eW,eO=x(t,"FORBID_TAGS")?C({},t.FORBID_TAGS,te):{},eP=x(t,"FORBID_ATTR")?C({},t.FORBID_ATTR,te):{},eV=!!x(t,"USE_PROFILES")&&t.USE_PROFILES,eC=!1!==t.ALLOW_ARIA_ATTR,eT=!1!==t.ALLOW_DATA_ATTR,eM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,eR=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eI=t.SAFE_FOR_TEMPLATES||!1,eN=!1!==t.SAFE_FOR_XML,eD=t.WHOLE_DOCUMENT||!1,e$=t.RETURN_DOM||!1,ej=t.RETURN_DOM_FRAGMENT||!1,eU=t.RETURN_TRUSTED_TYPE||!1,eL=t.FORCE_BODY||!1,eB=!1!==t.SANITIZE_DOM,ez=t.SANITIZE_NAMED_PROPS||!1,eH=!1!==t.KEEP_CONTENT,eq=t.IN_PLACE||!1,e_=t.ALLOWED_URI_REGEXP||K,e1=t.NAMESPACE||e0,e6=t.MATHML_TEXT_INTEGRATION_POINTS||e6,e4=t.HTML_INTEGRATION_POINTS||e4,ek=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&tn(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ek.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&tn(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ek.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ek.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eI&&(eT=!1),ej&&(e$=!0),eV&&(eS=C({},$),eA=[],!0===eV.html&&(C(eS,R),C(eA,j)),!0===eV.svg&&(C(eS,I),C(eA,U),C(eA,z)),!0===eV.svgFilters&&
20(C(eS,N),C(eA,U),C(eA,z)),!0===eV.mathMl&&(C(eS,F),C(eA,B),C(eA,z))),t.ADD_TAGS&&(eS===eE&&(eS=T(eS)),C(eS,t.ADD_TAGS,te)),t.ADD_ATTR&&(eA===ex&&(eA=T(eA)),C(eA,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&C(eZ,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(eG===eW&&(eG=T(eG)),C(eG,t.FORBID_CONTENTS,te)),eH&&(eS["#text"]=!0),eD&&C(eS,["html","head","body"]),eS.table&&(C(eS,["tbody"]),delete eO.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw O('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ea=(r=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=et(W,l)),null!==r&&"string"==typeof ea&&(ea=r.createHTML(""));u&&u(t),tt=t}},to=C({},[...I,...N,...D]),ta=C({},[...F,...L]),ts=function(t){let r=eo(t);r&&r.tagName||(r={namespaceURI:e1,tagName:"template"});let n=b(t.tagName),i=b(r.tagName);return!!e3[t.namespaceURI]&&(t.namespaceURI===eQ?r.namespaceURI===e0?"svg"===n:r.namespaceURI===eJ?"svg"===n&&("annotation-xml"===i||e6[i]):!!to[n]:t.namespaceURI===eJ?r.namespaceURI===e0?"math"===n:r.namespaceURI===eQ?"math"===n&&e4[i]:!!ta[n]:t.namespaceURI===e0?(r.namespaceURI!==eQ||!!e4[i])&&(r.namespaceURI!==eJ||!!e6[i])&&!ta[n]&&(e8[n]||!to[n]):"application/xhtml+xml"===e9&&!!e3[t.namespaceURI])},tl=function(t){y(o.removed,{element:t});try{eo(t).removeChild(t)}catch(r){J(t)}},tu=function(t,r){try{y(o.removed,{attribute:r.getAttributeNode(t),from:r})}catch(t){y(o.removed,{attribute:null,from:r})}if(r.removeAttribute(t),"is"===t){if(e$||ej)try{tl(r)}catch(t){}else try{r.setAttribute(t,"")}catch(t){}}},tc=function(t){let n=null,i=null;if(eL)t="<remove></remove>"+t;else{let r=_(t,/^[\r\n\t ]+/);i=r&&r[0]}"application/xhtml+xml"===e9&&e1===e0&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let o=r?r.createHTML(t):t;if(e1===e0)try{n=new G().parseFromString(o,e9)}catch(t){}if(!n||!n.documentElement){n=es.createDocument(e1,"template",null);try{n.documentElement.innerHTML=e2?ea:o}catch(t){}}let s=n.body||n.documentElement;return(t&&i&&s.insertBefore(a.createTextNode(i),s.childNodes[0]||null),e1===e0)?ec.call(n,eD?"html":"body")[0]:eD?n.documentElement:s},td=function(t){return el.call(t.ownerDocument||t,t,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},th=function(t){return t instanceof V&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof q)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},tf=function(t){return"function"==typeof f&&t instanceof f};function tp(t,r,n){p(t,t=>{t.call(o,r,n,tt)})}let tm=function(t){let r=null;if(tp(eh.beforeSanitizeElements,t,null),th(t))return tl(t),!0;let n=te(t.nodeName);if(tp(eh.uponSanitizeElement,t,{tagName:n,allowedTags:eS}),t.hasChildNodes()&&!tf(t.firstElementChild)&&k(/<[/\w]/g,t.innerHTML)&&k(/<[/\w]/g,t.textContent)||t.nodeType===ee.progressingInstruction||eN&&t.nodeType===ee.comment&&k(/<[/\w]/g,t.data))return tl(t),!0;if(!eS[n]||eO[n]){if(!eO[n]&&ty(n)&&(ek.tagNameCheck instanceof RegExp&&k(ek.tagNameCheck,n)||ek.tagNameCheck instanceof Function&&ek.tagNameCheck(n)))return!1;if(eH&&!eG[n]){let r=eo(t)||t.parentNode,n=ei(t)||t.childNodes;if(n&&r){let i=n.length;for(let o=i-1;o>=0;--o){let i=Z(n[o],!0);i.__removalCount=(t.__removalCount||0)+1,r.insertBefore(i,en(t))}}}return tl(t),!0}return t instanceof P&&!ts(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&k(/<\/no(script|embed|frames)/i,t.innerHTML)?(tl(t),!0):(eI&&t.nodeType===ee.text&&(r=t.textContent,p([ef,ep,em],t=>{r=S(r,t," ")}),t.textContent!==r&&(y(o.removed,{element:t.cloneNode()}),t.textContent=r)),tp(eh.afterSanitizeElements,t,null),!1)},tg=function(t,r,n){if(eB&&("id"===r||"name"===r)&&(n in a||n in tr))return!1;if(eT&&!eP[r]&&k(eg,r));else if(eC&&k(ey,r));else if(!eA[r]||eP[r]){if(!(ty(t)&&(ek.tagNameCheck instanceof RegExp&&k(ek.tagNameCheck,t)||ek.tagNameCheck instanceof Function&&ek.tagNameCheck(t))&&(ek.attributeNameCheck instanceof RegExp&&k(ek.attributeNameCheck,r)||ek.attributeNameCheck instanceof Function&&ek.attributeNameCheck(r))||"is"===r&&ek.allowCustomizedBuiltInElements&&(ek.tagNameCheck instanceof RegExp&&k(ek.tagNameCheck,n)||ek.tagNameCheck instanceof Function&&ek.tagNameCheck(n))))return!1}else if(eZ[r]);else if(k(e_,S(n,eb,"")));else if(("src"===r||"xlink:href"===r||"href"===r)&&"script"!==t&&0===E(n,"data:")&&eK[t]);else if(eM&&!k(ev,S(n,eb,"")));else if(n)return!1;return!0},ty=function(t){return"annotation-xml"!==t&&_(t,ew)},tv=function(t){tp(eh.beforeSanitizeAttributes,t,null);let{attributes:n}=t;if(!n||th(t))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eA,forceKeepAttr:void 0},a=n.length;for(;a--;){let{name:s,namespaceURI:l,value:u}=n[a],c=te(s),d="value"===s?u:A(u);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,tp(eh.uponSanitizeAttribute,t,i),d=i.attrValue,ez&&("id"===c||"name"===c)&&(tu(s,t),d="user-content-"+d),eN&&k(/((--!?|])>)|<\/(style|title)/i,d)){tu(s,t);continue}if(i.forceKeepAttr||(tu(s,t),!i.keepAttr))continue;if(!eR&&k(/\/>/i,d)){tu(s,t);continue}eI&&p([ef,ep,em],t=>{d=S(d,t," ")});let h=te(t.nodeName);if(tg(h,c,d)){if(r&&"object"==typeof W&&"function"==typeof W.getAttributeType){if(l);else switch(W.getAttributeType(h,c)){case"TrustedHTML":d=r.createHTML(d);break;case"TrustedScriptURL":d=r.createScriptURL(d)}}try{l?t.setAttributeNS(l,s,d):t.setAttribute(s,d),th(t)?tl(t):g(o.removed)}catch(t){}}}tp(eh.afterSanitizeAttributes,t,null)},tb=function t(r){let n=null,i=td(r);for(tp(eh.beforeSanitizeShadowDOM,r,null);n=i.nextNode();)tp(eh.uponSanitizeShadowNode,n,null),tm(n),tv(n),n.content instanceof c&&t(n.content);tp(eh.afterSanitizeShadowDOM,r,null)};return o.sanitize=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,l=null,u=null;if((e2=!t)&&(t="<!-->"),"string"!=typeof t&&!tf(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw O("dirty is not a string, aborting")}else throw O("toString is not a function")}if(!o.isSupported)return t;if(eF||ti(n),o.removed=[],"string"==typeof t&&(eq=!1),eq){if(t.no
20deName){let r=te(t.nodeName);if(!eS[r]||eO[r])throw O("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof f)(a=(i=tc("<!---->")).ownerDocument.importNode(t,!0)).nodeType===ee.element&&"BODY"===a.nodeName?i=a:"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!e$&&!eI&&!eD&&-1===t.indexOf("<"))return r&&eU?r.createHTML(t):t;if(!(i=tc(t)))return e$?null:eU?ea:""}i&&eL&&tl(i.firstChild);let d=td(eq?t:i);for(;l=d.nextNode();)tm(l),tv(l),l.content instanceof c&&tb(l.content);if(eq)return t;if(e$){if(ej)for(u=eu.call(i.ownerDocument);i.firstChild;)u.appendChild(i.firstChild);else u=i;return(eA.shadowroot||eA.shadowrootmode)&&(u=ed.call(s,u,!0)),u}let h=eD?i.outerHTML:i.innerHTML;return eD&&eS["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&k(X,i.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+h),eI&&p([ef,ep,em],t=>{h=S(h,t," ")}),r&&eU?r.createHTML(h):h},o.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ti(t),eF=!0},o.clearConfig=function(){tt=null,eF=!1},o.isValidAttribute=function(t,r,n){return tt||ti({}),tg(te(t),te(r),n)},o.addHook=function(t,r){"function"==typeof r&&y(eh[t],r)},o.removeHook=function(t,r){if(void 0!==r){let n=m(eh[t],r);return -1===n?void 0:v(eh[t],n,1)[0]}return g(eh[t])},o.removeHooks=function(t){eh[t]=[]},o.removeAllHooks=function(){eh=er()},o}()},79975:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});let i={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function o(t={}){let r,n,a,s;let l=null,u=0,c=!1,d=!1,h=!1,f=!1;function p(){if(!a){if(y()){h=!0;return}c||n.emit("autoplay:play"),function(){let{ownerWindow:t}=n.internalEngine();t.clearTimeout(u),u=t.setTimeout(S,s[n.selectedScrollSnap()]),l=new Date().getTime(),n.emit("autoplay:timerset")}(),c=!0}}function m(){a||(c&&n.emit("autoplay:stop"),function(){let{ownerWindow:t}=n.internalEngine();t.clearTimeout(u),u=0,l=null,n.emit("autoplay:timerstopped")}(),c=!1)}function g(){if(y())return h=c,m();h&&p()}function y(){let{ownerDocument:t}=n.internalEngine();return"hidden"===t.visibilityState}function v(){d||m()}function b(){d||p()}function w(){d=!0,m()}function _(){d=!1,p()}function S(){let{index:t}=n.internalEngine(),i=t.clone().add(1).get(),o=n.scrollSnapList().length-1,a=r.stopOnLastSnap&&i===o;if(n.canScrollNext()?n.scrollNext(f):n.scrollTo(0,f),n.emit("autoplay:select"),a)return m();p()}return{name:"autoplay",options:t,init:function(l,u){n=l;let{mergeOptions:c,optionsAtMedia:d}=u,h=c(i,o.globalOptions);if(r=d(c(h,t)),n.scrollSnapList().length<=1)return;f=r.jump,a=!1,s=function(t,r){let n=t.scrollSnapList();return"number"==typeof r?n.map(()=>r):r(n,t)}(n,r.delay);let{eventStore:y,ownerDocument:S}=n.internalEngine(),E=!!n.internalEngine().options.watchDrag,A=function(t,r){let n=t.rootNode();return r&&r(n)||n}(n,r.rootNode);y.add(S,"visibilitychange",g),E&&n.on("pointerDown",v),E&&!r.stopOnInteraction&&n.on("pointerUp",b),r.stopOnMouseEnter&&y.add(A,"mouseenter",w),r.stopOnMouseEnter&&!r.stopOnInteraction&&y.add(A,"mouseleave",_),r.stopOnFocusIn&&n.on("slideFocusStart",m),r.stopOnFocusIn&&!r.stopOnInteraction&&y.add(n.containerNode(),"focusout",p),r.playOnInit&&p()},destroy:function(){n.off("pointerDown",v).off("pointerUp",b).off("slideFocusStart",m),m(),a=!0,c=!1},play:function(t){void 0!==t&&(f=t),p()},stop:function(){c&&m()},reset:function(){c&&p()},isPlaying:function(){return c},timeUntilNext:function(){return l?s[n.selectedScrollSnap()]-(new Date().getTime()-l):null}}}o.globalOptions=void 0},9467:function(t,r,n){"use strict";n.d(r,{Z:function(){return k}});var i=n(2265);function o(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function a(t,r){let n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(r.breakpoints||{}))&&n.every(n=>{let i=t[n],s=r[n];return"function"==typeof i?`${i}`==`${s}
20`:o(i)&&o(s)?a(i,s):i===s})}function s(t){return t.concat().sort((t,r)=>t.name>r.name?1:-1).map(t=>t.options)}function l(t){return"number"==typeof t}function u(t){return"string"==typeof t}function c(t){return"boolean"==typeof t}function d(t){return"[object Object]"===Object.prototype.toString.call(t)}function h(t){return Math.abs(t)}function f(t){return Math.sign(t)}function p(t){return v(t).map(Number)}function m(t){return t[g(t)]}function g(t){return Math.max(0,t.length-1)}function y(t,r=0){return Array.from(Array(t),(t,n)=>r+n)}function v(t){return Object.keys(t)}function b(t,r){return void 0!==r.MouseEvent&&t instanceof r.MouseEvent}function w(){let t=[],r={add:function(n,i,o,a={passive:!0}){let s;return"addEventListener"in n?(n.addEventListener(i,o,a),s=()=>n.removeEventListener(i,o,a)):(n.addListener(o),s=()=>n.removeListener(o)),t.push(s),r},clear:function(){t=t.filter(t=>t())}};return r}function _(t=0,r=0){let n=h(t-r);function i(n){return n<t||n>r}return{length:n,max:r,min:t,constrain:function(n){return i(n)?n<t?t:r:n},reachedAny:i,reachedMax:function(t){return t>r},reachedMin:function(r){return r<t},removeOffset:function(t){return n?t-n*Math.ceil((t-r)/n):t}}}function S(t){let r=t;function n(t){return l(t)?t:t.get()}return{get:function(){return r},set:function(t){r=n(t)},add:function(t){r+=n(t)},subtract:function(t){r-=n(t)}}}function E(t,r){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},i=r.style,o=null,a=!1;return{clear:function(){a||(i.transform="",r.getAttribute("style")||r.removeAttribute("style"))},to:function(r){if(a)return;let s=Math.round(100*t.direction(r))/100;s!==o&&(i.transform=n(s),o=s)},toggleActive:function(t){a=!t}}}let A={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function x(t,r,n){let i,o,a,s,k;let O=t.ownerDocument,P=O.defaultView,C=function(t){function r(t,r){return function t(r,n){return[r,n].reduce((r,n)=>(v(n).forEach(i=>{let o=r[i],a=n[i],s=d(o)&&d(a);r[i]=s?t(o,a):a}),r),{})}(t,r||{})}return{mergeOptions:r,optionsAtMedia:function(n){let i=n.breakpoints||{},o=v(i).filter(r=>t.matchMedia(r).matches).map(t=>i[t]).reduce((t,n)=>r(t,n),{});return r(n,o)},optionsMediaQueries:function(r){return r.map(t=>v(t.breakpoints||{})).reduce((t,r)=>t.concat(r),[]).map(t.matchMedia)}}}(P),T=(k=[],{init:function(t,r){return(k=r.filter(({options:t})=>!1!==C.optionsAtMedia(t).active)).forEach(r=>r.init(t,C)),r.reduce((t,r)=>Object.assign(t,{[r.name]:r}),{})},destroy:function(){k=k.filter(t=>t.destroy())}}),M=w(),R=function(){let t,r={},n={init:function(r){t=r},emit:function(i){return(r[i]||[]).forEach(r=>r(t,i)),n},off:function(t,i){return r[t]=(r[t]||[]).filter(t=>t!==i),n},on:function(t,i){return r[t]=(r[t]||[]).concat([i]),n},clear:function(){r={}}};return n}(),{mergeOptions:I,optionsAtMedia:N,optionsMediaQueries:D}=C,{on:F,off:L,emit:$}=R,j=!1,U=I(A,x.globalOptions),B=I(U),z=[];function H(r,n){!j&&(B=N(U=I(U,r)),z=n||z,function(){let{container:r,slides:n}=B;a=(u(r)?t.querySelector(r):r)||t.children[0];let i=u(n)?a.querySelectorAll(n):n;s=[].slice.call(i||a.children)}(),i=function r(n){let i=function(t,r,n,i,o,a,s){let d,A;let{align:x,axis:k,direction:O,startIndex:P,loop:C,duration:T,dragFree:M,dragThreshold:R,inViewThreshold:I,slidesToScroll:N,skipSnaps:D,containScroll:F,watchResize:L,watchSlides:$,watchDrag:j,watchFocus:U}=a,B={measure:function(t){let{offsetTop:r,offsetLeft:n,offsetWidth:i,offsetHeight:o}=t;return{top:r,right:n+i,bottom:r+o,left:n,width:i,height:o}}},z=B.measure(r),H=n.map(B.measure),q=function(t,r){let n="rtl"===r,i="y"===t,o=!i&&n?-1:1;return{scroll:i?"y":"x",cross:i?"x":"y",startEdge:i?"top":n?"right":"left",endEdge:i?"bottom":n?"left":"right",measureSize:function(t){let{height:r,width:n}=t;return i?r:n},direction:function(t){return t*o}}}(k,O),V=q.measureSize(z),G={measure:function(t){return t/100*V}},W=function(t,r){let n={start:function(){return 0},center:function(t){return(r-t)/2},end:function(t){return r-t}};return{measure:function(i,o){return u(t)?n[t](i):t(r,i,o)}}}(x,V),K=!C&&!!F,{slideSizes:Y,slideSizesWithGaps:Z,startGap:X,endGap:J}=function(t,r,n,i,o,a){let{measureSize:s,startEdge:l,endEdge:u}=t,c=n[0]&&o,d=function(){if(!c)return 0;let t=n[0];return h(r[l]-t[l])}(),f=c?parseFloat(a.getComputedStyle(m(i)).getPropertyValue(`margin-${u}`)):0,p=n.map(s),y=n.map((t,r,n)=>{let i=r===g(n);
20return r?i?p[r]+f:n[r+1][l]-t[l]:p[r]+d}).map(h);return{slideSizes:p,slideSizesWithGaps:y,startGap:d,endGap:f}}(q,z,H,n,C||!!F,o),Q=function(t,r,n,i,o,a,s,u,c){let{startEdge:d,endEdge:f,direction:y}=t,v=l(n);return{groupSlides:function(t){return v?p(t).filter(t=>t%n==0).map(r=>t.slice(r,r+n)):t.length?p(t).reduce((n,l,c)=>{let p=m(n)||0,v=l===g(t),b=o[d]-a[p][d],w=o[d]-a[l][f],_=i||0!==p?0:y(s),S=h(w-(!i&&v?y(u):0)-(b+_));return c&&S>r+2&&n.push(l),v&&n.push(t.length),n},[]).map((r,n,i)=>{let o=Math.max(i[n-1]||0);return t.slice(o,r)}):[]}}}(q,V,N,C,z,H,X,J,0),{snaps:ee,snapsAligned:et}=function(t,r,n,i,o){let{startEdge:a,endEdge:s}=t,{groupSlides:l}=o,u=l(i).map(t=>m(t)[s]-t[0][a]).map(h).map(r.measure),c=i.map(t=>n[a]-t[a]).map(t=>-h(t)),d=l(c).map(t=>t[0]).map((t,r)=>t+u[r]);return{snaps:c,snapsAligned:d}}(q,W,z,H,Q),er=-m(ee)+m(Z),{snapsContained:en,scrollContainLimit:ei}=function(t,r,n,i,o){let a=_(-r+t,0),s=n.map((t,r)=>{let{min:i,max:o}=a,s=a.constrain(t),l=r===g(n);return r?l||1>=h(i-s)?i:1>=h(o-s)?o:s:o}).map(t=>parseFloat(t.toFixed(3))),l=function(){let t=s[0],r=m(s);return _(s.lastIndexOf(t),s.indexOf(r)+1)}();return{snapsContained:function(){if(r<=t+2)return[a.max];if("keepSnaps"===i)return s;let{min:n,max:o}=l;return s.slice(n,o)}(),scrollContainLimit:l}}(V,er,et,F,0),eo=K?en:et,{limit:ea}=function(t,r,n){let i=r[0];return{limit:_(n?i-t:m(r),i)}}(er,eo,C),es=function t(r,n,i){let{constrain:o}=_(0,r),a=r+1,s=l(n);function l(t){return i?h((a+t)%a):o(t)}function u(){return t(r,s,i)}let c={get:function(){return s},set:function(t){return s=l(t),c},add:function(t){return u().set(s+t)},clone:u};return c}(g(eo),P,C),el=es.clone(),eu=p(n),ec=({dragHandler:t,scrollBody:r,scrollBounds:n,options:{loop:i}})=>{i||n.constrain(t.pointerDown()),r.seek()},ed=({scrollBody:t,translate:r,location:n,offsetLocation:i,previousLocation:o,scrollLooper:a,slideLooper:s,dragHandler:l,animation:u,eventHandler:c,scrollBounds:d,options:{loop:h}},f)=>{let p=t.settled(),m=!d.shouldConstrain(),g=h?p:p&&m;g&&!l.pointerDown()&&(u.stop(),c.emit("settle")),g||c.emit("scroll");let y=n.get()*f+o.get()*(1-f);i.set(y),h&&(a.loop(t.direction()),s.loop()),r.to(i.get())},eh=function(t,r,n,i){let o=w(),a=1e3/60,s=null,l=0,u=0;function c(t){if(!u)return;s||(s=t,n(),n());let o=t-s;for(s=t,l+=o;l>=a;)n(),l-=a;i(l/a),u&&(u=r.requestAnimationFrame(c))}function d(){r.cancelAnimationFrame(u),s=null,l=0,u=0}return{init:function(){o.add(t,"visibilitychange",()=>{t.hidden&&(s=null,l=0)})},destroy:function(){d(),o.clear()},start:function(){u||(u=r.requestAnimationFrame(c))},stop:d,update:n,render:i}}(i,o,()=>ec(ek),t=>ed(ek,t)),ef=eo[es.get()],ep=S(ef),em=S(ef),eg=S(ef),ey=S(ef),ev=function(t,r,n,i,o,a){let s=0,l=0,u=o,c=.68,d=t.get(),p=0;function m(t){return u=t,y}function g(t){return c=t,y}let y={direction:function(){return l},duration:function(){return u},velocity:function(){return s},seek:function(){let r=i.get()-t.get(),o=0;return u?(n.set(t),s+=r/u,s*=c,d+=s,t.add(s),o=d-p):(s=0,n.set(i),t.set(i),o=r),l=f(o),p=d,y},settled:function(){return .001>h(i.get()-r.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(o)},useFriction:g,useDuration:m};return y}(ep,eg,em,ey,T,0),eb=function(t,r,n,i,o){let{reachedAny:a,removeOffset:s,constrain:l}=i;function u(t){return t.concat().sort((t,r)=>h(t)-h(r))[0]}function c(r,i){let o=[r,r+n,r-n];if(!t)return r;if(!i)return u(o);let a=o.filter(t=>f(t)===i);return a.length?u(a):m(o)-n}return{byDistance:function(n,i){let u=o.get()+n,{index:d,distance:f}=function(n){let i=t?s(n):l(n),{index:o}=r.map((t,r)=>({diff:c(t-i,0),index:r})).sort((t,r)=>h(t.diff)-h(r.diff))[0];return{index:o,distance:i}}(u),p=!t&&a(u);if(!i||p)return{index:d,distance:n};let m=n+c(r[d]-f,0);return{index:d,distance:m}},byIndex:function(t,n){let i=c(r[t]-o.get(),n);return{index:t,distance:i}},shortcut:c}}(C,eo,er,ea,ey),ew=function(t,r,n,i,o,a,s){function l(o){let l=o.distance,u=o.index!==r.get();a.add(l),l&&(i.duration()?t.start():(t.update(),t.render(1),t.update())),u&&(n.set(r.get()),r.set(o.index),s.emit("select"))}return{distance:function(t,r){l(o.byDistance(t,r))},index:function(t,n){let i=r.clone().set(t);l(o.byIndex(i.get(),n))}}}(eh,es,el,ev,eb,ey,s),e_=function(t){let{max:r,length:n}=t;return{get:function(t){return n?-((t-r)/n):0}}}(ea),eS=w(),eE=function(t,r,n,i){let o;let a={},s=null,l=null,u=!1;return{init:function(){o=new IntersectionObserver(t=>{u||(t.forEach(t=>{a[r.indexOf(t.target)]=t}),s=null,l=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:i}),r.forEach(t=>o.observe(t))},destroy:function(){o&&o.disconnect(),u=!0},get:function(t=!0){if(t&&s)return s;if(!t&&l)return l;let r=v(a).reduce((r,n)=>{let i=parseInt(n),{isIntersecting:o}=a[i];return(t&&o||!t&&!o)&&r.push(i),r},[]);return t&&(s=r),t||(l=r),r}}}(r,n,s,I),{slideRegistry:eA}=function(t,r,n,i,o,a){let{groupSlides:s}=o,{min:l,max:u}=i;return{slideRegistry:function(){let i=s(a);return 1===n.length?[a]:t&&"keepSnaps"!==r?i.slice(l,u).map((t,r,n)=>{let i=r===g(n);return r?i?y(g(a)-m(n)[0]+1,m(n)[0]):t:y(m(n[0])+1)}):i}()}}(K,F,eo,ei,Q,eu),ex=function(t,r,n,i,o,a,s,u){let d={passive:!0,capture:!0},h=0;function f(t){"Tab"===t.code&&(h=new Date().getTime())}return{init:function(p){u&&(a.add(document,"keydown",f,!1),r.forEach((r,f)=>{a.add(r,"focus",r=>{(c(u)||u(p,r))&&function(r){if(new Date().getTime()-h>10)return;s.emit("slideFocusStart"),t.scrollLeft=0;let a=n.findIndex(t=>t.includes(r));l(a)&&(o.useDuration(0),i.index(a,0),s.emit("slideFocus"))}(f)},d)}))}}}(t,n,eA,ew,ev,eS,s,U),ek={ownerDocument:i,ownerWindow:o,eventHandler:s,containerRect:z,slideRects:H,animation:eh,axis:q,dragHandler:function(t,r,n,i,o,a,s,l,u,d,p,m,g,y,v,S,E,A,x){let{cross:k,direction:O}=t,P=["INPUT","SELECT","TEXTAREA"],C={passive:!1},T=w(),M=w(),R=_(50,225).constrain(y.measure(20)),I={mouse:300,touch:400},N={mouse:500,touch:600},D=v?43:25,F=!1,L=0,$=0,j=!1,U=!1,B=!1,z=!1;function H(t){if(!b(t,i)&&t.touches.length>=2)return q(t);let r=a.readPoint(t),n=a.readPoint(t,k),s=h(r-L),u=h(n-$);if(!U&&!z&&(!t.cancelable||!(U=s>u)))return q(t);let c=a.pointerMove(t);s>S&&(B=!0),d.useFriction(.3).useDuration(.75),l.start(),o.add(O(c)),t.preventDefault()}function q(t){let r=p.byDistance(0,!1).index!==m.get(),n=a.pointerUp(t)*(v?N:I)[z?"mouse":"touch"],i=function(t,r){let n=m.add(-1*f(t)),i=p.byDistance(t,!v).distance;return v||h(t)<R?i:E&&r?.5*i:p.byIndex(n.get(),0).distance}(O(n),r),o=function(t,r){var n,i;if(0===t||0===r||h(t)<=h(r))return 0;let o=(n=h(t),i=h(r),h(n-i));return h(o/t)}(n,i);U=!1,j=!1,M.clear(),d.useDuration(D-10*o).useFriction(.68+o/50),u.distance(i,!v),z=!1,g.emit("pointerUp")}function V(t){B&&(t.stopPropagation(),t.preventDefault(),B=!1)}return{init:function(t){x&&T.add(r,"dragstart",t=>t.preventDefault(),C).add(r,"touchmove",()=>void 0,C).add(r,"touchend",()=>void 0).add(r,"touchstart",l).add(r,"mousedown",l).add(r,"touchcancel",q).add(r,"contextmenu",q).add(r,"click",V,!0);function l(l){(c(x)||x(t,l))&&function(t){let l=b(t,i);z=l,B=v&&l&&!t.buttons&&F,F=h(o.get()-s.get())>=2,l&&0!==t.button||function(t){let r=t.nodeName||"";return P.includes(r)}(t.target)||(j=!0,a.pointerDown(t),d.useFriction(0).useDuration(0),o.set(s),function(){let t=z?n:r;M.add(t,"touchmove",H,C).add(t,"touchend",q).add(t,"mousemove",H,C).add(t,"mouseup",q)}(),L=a.readPoint(t),$=a.readPoint(t,k),g.emit("pointerDown"))}(l)}},destroy:function(){T.clear(),M.clear()},pointerDown:function(){return j}}}(q,t,i,o,ey,function(t,r){let n,i;function o(t){return t.timeStamp}function a(n,i){let o=i||t.scroll,a=`client${"x"===o?"X":"Y"}`;return(b(n,r)?n:n.touches[0])[a]}return{pointerDown:function(t){return n=t,i=t,a(t)},pointerMove:function(t){let r=a(t)-a(i),s=o(t)-o(n)>170;return i=t,s&&(n=t),r},pointerUp:function(t){if(!n||!i)return 0;let r=a(i)-a(n),s=o(t)-o(n),l=o(t)-o(i)>170,u=r/s;return s&&!l&&h(u)>.1?u:0},readPoint:a}}(q,o),ep,eh,ew,ev,eb,es,s,G,M,R,D,0,j),eventStore:eS,percentOfView:G,index:es,indexPrevious:el,limit:ea,location:ep,offsetLocation:eg,previousLocation:em,options:a,resizeHandler:function(t,r,n,i,o,a,s){let l,u;let d=[t].concat(i),f=[],p=!1;function m(t){return o.measureSize(s.measure(t))}return{init:function(o){a&&(u=m(t),f=i.map(m),l=new ResizeObserver(n=>{(c(a)||a(o,n))&&function(n){for(let a of n){if(p)return;let n=a.target===t,s=i.indexOf(a.target),l=n?u:f[s];if(h(m(n?t:i[s])-l)>=.5){o.reInit(),r.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(t=>l.observe(t))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(r,s,o,n,q,L,B),scrollBody:ev,scrollBounds:function(t,r,n,i,o){let a=o.measure(10),s=o.measure(50),l=_(.1,.99),u=!1;function c(){return!!(!u&&t.reachedAny(n.get())&&t.reachedAny(r.get()))}
20return{shouldConstrain:c,constrain:function(o){if(!c())return;let u=t.reachedMin(r.get())?"min":"max",d=h(t[u]-r.get()),f=n.get()-r.get(),p=l.constrain(d/s);n.subtract(f*p),!o&&h(f)<a&&(n.set(t.constrain(n.get())),i.useDuration(25).useBaseFriction())},toggleActive:function(t){u=!t}}}(ea,eg,ey,ev,G),scrollLooper:function(t,r,n,i){let{reachedMin:o,reachedMax:a}=_(r.min+.1,r.max+.1);return{loop:function(r){if(!(1===r?a(n.get()):-1===r&&o(n.get())))return;let s=-1*r*t;i.forEach(t=>t.add(s))}}}(er,ea,eg,[ep,eg,em,ey]),scrollProgress:e_,scrollSnapList:eo.map(e_.get),scrollSnaps:eo,scrollTarget:eb,scrollTo:ew,slideLooper:function(t,r,n,i,o,a,s,l,u){let c=p(o),d=m(f(p(o).reverse(),s[0]),n,!1).concat(m(f(c,r-s[0]-1),-n,!0));function h(t,r){return t.reduce((t,r)=>t-o[r],r)}function f(t,r){return t.reduce((t,n)=>h(t,r)>0?t.concat([n]):t,[])}function m(o,s,c){let d=a.map((t,n)=>({start:t-i[n]+.5+s,end:t+r-.5+s}));return o.map(r=>{let i=c?0:-n,o=c?n:0,a=d[r][c?"end":"start"];return{index:r,loopPoint:a,slideLocation:S(-1),translate:E(t,u[r]),target:()=>l.get()>a?i:o}})}return{canLoop:function(){return d.every(({index:t})=>.1>=h(c.filter(r=>r!==t),r))},clear:function(){d.forEach(t=>t.translate.clear())},loop:function(){d.forEach(t=>{let{target:r,translate:n,slideLocation:i}=t,o=r();o!==i.get()&&(n.to(o),i.set(o))})},loopPoints:d}}(q,V,er,Y,Z,ee,eo,eg,n),slideFocus:ex,slidesHandler:(A=!1,{init:function(t){$&&(d=new MutationObserver(r=>{!A&&(c($)||$(t,r))&&function(r){for(let n of r)if("childList"===n.type){t.reInit(),s.emit("slidesChanged");break}}(r)})).observe(r,{childList:!0})},destroy:function(){d&&d.disconnect(),A=!0}}),slidesInView:eE,slideIndexes:eu,slideRegistry:eA,slidesToScroll:Q,target:ey,translate:E(q,r)};return ek}(t,a,s,O,P,n,R);return n.loop&&!i.slideLooper.canLoop()?r(Object.assign({},n,{loop:!1})):i}(B),D([U,...z.map(({options:t})=>t)]).forEach(t=>M.add(t,"change",q)),B.active&&(i.translate.to(i.location.get()),i.animation.init(),i.slidesInView.init(),i.slideFocus.init(K),i.eventHandler.init(K),i.resizeHandler.init(K),i.slidesHandler.init(K),i.options.loop&&i.slideLooper.loop(),a.offsetParent&&s.length&&i.dragHandler.init(K),o=T.init(K,z)))}function q(t,r){let n=W();V(),H(I({startIndex:n},t),r),R.emit("reInit")}function V(){i.dragHandler.destroy(),i.eventStore.clear(),i.translate.clear(),i.slideLooper.clear(),i.resizeHandler.destroy(),i.slidesHandler.destroy(),i.slidesInView.destroy(),i.animation.destroy(),T.destroy(),M.clear()}function G(t,r,n){B.active&&!j&&(i.scrollBody.useBaseFriction().useDuration(!0===r?0:B.duration),i.scrollTo.index(t,n||0))}function W(){return i.index.get()}let K={canScrollNext:function(){return i.index.add(1).get()!==W()},canScrollPrev:function(){return i.index.add(-1).get()!==W()},containerNode:function(){return a},internalEngine:function(){return i},destroy:function(){j||(j=!0,M.clear(),V(),R.emit("destroy"),R.clear())},off:L,on:F,emit:$,plugins:function(){return o},previousScrollSnap:function(){return i.indexPrevious.get()},reInit:q,rootNode:function(){return t},scrollNext:function(t){G(i.index.add(1).get(),t,-1)},scrollPrev:function(t){G(i.index.add(-1).get(),t,1)},scrollProgress:function(){return i.scrollProgress.get(i.location.get())},scrollSnapList:function(){return i.scrollSnapList},scrollTo:G,selectedScrollSnap:W,slideNodes:function(){return s},slidesInView:function(){return i.slidesInView.get()},slidesNotInView:function(){return i.slidesInView.get(!1)}};return H(r,n),setTimeout(()=>R.emit("init"),0),K}function k(t={},r=[]){let n=(0,i.useRef)(t),o=(0,i.useRef)(r),[l,u]=(0,i.useState)(),[c,d]=(0,i.useState)(),h=(0,i.useCallback)(()=>{l&&l.reInit(n.current,o.current)},[l]);return(0,i.useEffect)(()=>{a(n.current,t)||(n.current=t,h())},[t,h]),(0,i.useEffect)(()=>{!function(t,r){if(t.length!==r.length)return!1;let n=s(t),i=s(r);return n.every((t,r)=>a(t,i[r]))}(o.current,r)&&(o.current=r,h())},[r,h]),(0,i.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&c){x.globalOptions=k.globalOptions;let t=x(c,n.current,o.current);return u(t),()=>t.destroy()}u(void 0)},[c,u]),[d,l]}x.globalOptions=void 0,k.globalOptions=void 0},72470:function(t,r,n){"use strict";let i,o;n.d(r,{sk:function(){return eo},Vq:function(){return R},Y3:function(){return O},Qc:function(){return ee}});let a=Object.create(null);a.open="0",a.close="1",a.ping="2",a.pong="3",a.message="4",a.upgrade="5",a.noop="6";let s=Object.create(null);
20Object.keys(a).forEach(t=>{s[a[t]]=t});let l={type:"error",data:"parser error"},u="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),c="function"==typeof ArrayBuffer,d=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,h=({type:t,data:r},n,i)=>u&&r instanceof Blob?n?i(r):f(r,i):c&&(r instanceof ArrayBuffer||d(r))?n?i(r):f(new Blob([r]),i):i(a[t]+(r||"")),f=(t,r)=>{let n=new FileReader;return n.onload=function(){r("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(t)};function p(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<m.length;t++)g[m.charCodeAt(t)]=t;let y=t=>{let r=.75*t.length,n=t.length,i,o=0,a,s,l,u;"="===t[t.length-1]&&(r--,"="===t[t.length-2]&&r--);let c=new ArrayBuffer(r),d=new Uint8Array(c);for(i=0;i<n;i+=4)a=g[t.charCodeAt(i)],s=g[t.charCodeAt(i+1)],l=g[t.charCodeAt(i+2)],u=g[t.charCodeAt(i+3)],d[o++]=a<<2|s>>4,d[o++]=(15&s)<<4|l>>2,d[o++]=(3&l)<<6|63&u;return c},v="function"==typeof ArrayBuffer,b=(t,r)=>{if("string"!=typeof t)return{type:"message",data:_(t,r)};let n=t.charAt(0);return"b"===n?{type:"message",data:w(t.substring(1),r)}:s[n]?t.length>1?{type:s[n],data:t.substring(1)}:{type:s[n]}:l},w=(t,r)=>v?_(y(t),r):{base64:!0,data:t},_=(t,r)=>"blob"===r?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer,S=(t,r)=>{let n=t.length,i=Array(n),o=0;t.forEach((t,a)=>{h(t,!1,t=>{i[a]=t,++o===n&&r(i.join("\x1e"))})})},E=(t,r)=>{let n=t.split("\x1e"),i=[];for(let t=0;t<n.length;t++){let o=b(n[t],r);if(i.push(o),"error"===o.type)break}return i};function A(t){return t.reduce((t,r)=>t+r.length,0)}function x(t,r){if(t[0].length===r)return t.shift();let n=new Uint8Array(r),i=0;for(let o=0;o<r;o++)n[o]=t[0][i++],i===t[0].length&&(t.shift(),i=0);return t.length&&i<t[0].length&&(t[0]=t[0].slice(i)),n}var k=n(57146);let O="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,r)=>r(t,0),P="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function C(t,...r){return r.reduce((r,n)=>(t.hasOwnProperty(n)&&(r[n]=t[n]),r),{})}let T=P.setTimeout,M=P.clearTimeout;function R(t,r){r.useNativeTimers?(t.setTimeoutFn=T.bind(P),t.clearTimeoutFn=M.bind(P)):(t.setTimeoutFn=P.setTimeout.bind(P),t.clearTimeoutFn=P.clearTimeout.bind(P))}function I(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class N extends Error{constructor(t,r,n){super(t),this.description=r,this.context=n,this.type="TransportError"}}class D extends k.Q{constructor(t){super(),this.writable=!1,R(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,r,n){return super.emitReserved("error",new N(t,r,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let r=b(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let r=function(t){let r="";for(let n in t)t.hasOwnProperty(n)&&(r.length&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return r}(t);return r.length?"?"+r:""}}class F extends D{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}
20doOpen(){this._poll()}pause(t){this.readyState="pausing";let r=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||r()})),this.writable||(t++,this.once("drain",function(){--t||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){E(t,this.socket.binaryType).forEach(t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){this.writable=!1,S(t,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.opts.secure?"https":"http",r=this.query||{};return!1!==this.opts.timestampRequests&&(r[this.opts.timestampParam]=I()),this.supportsBinary||r.sid||(r.b64=1),this.createUri(t,r)}}let L=!1;try{L="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let $=L;function j(){}class U extends F{constructor(t){if(super(t),"undefined"!=typeof location){let r="https:"===location.protocol,n=location.port;n||(n=r?"443":"80"),this.xd="undefined"!=typeof location&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,r){let n=this.request({method:"POST",data:t});n.on("success",r),n.on("error",(t,r)=>{this.onError("xhr post error",t,r)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,r)=>{this.onError("xhr poll error",t,r)}),this.pollXhr=t}}class B extends k.Q{constructor(t,r,n){super(),this.createRequest=t,R(this,n),this._opts=n,this._method=n.method||"GET",this._uri=r,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var t;let r=C(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(r);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&n.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{n.setRequestHeader("Accept","*/*")}catch(t){}null===(t=this._opts.cookieJar)||void 0===t||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var t;3===n.readyState&&(null===(t=this._opts.cookieJar)||void 0===t||t.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"undefined"!=typeof document&&(this._index=B.requestsCount++,B.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=j,t)try{this._xhr.abort()}catch(t){}"undefined"!=typeof document&&delete B.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function z(){for(let t in B.requests)B.requests.hasOwnProperty(t)&&B.requests[t].abort()}B.requestsCount=0,B.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",z):"function"==typeof addEventListener&&addEventListener("onpagehide"in P?"pagehide":"unload",z,!1));let H=function(){let t=V({xdomain:!1});return t&&null!==t.responseType}();class q extends U{constructor(t){super(t);let r=t&&t.forceBase64;this.supportsBinary=H&&!r}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new B(V,this.uri(),t)}}function V(t){let r=t.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!r||$))return new XMLHttpRequest}catch(t){}if(!r)try{return new P[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let G="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class W extends D{get name(){return"websocket"}doOpen(){let t=this.uri(),r=this.opts.protocols,n=G?{}:C(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,r,n)}catch(t){return this.emitReserved("error",t)}
20this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){let n=t[r],i=r===t.length-1;h(n,this.supportsBinary,t=>{try{this.doWrite(n,t)}catch(t){}i&&O(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=I()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}}let K=P.WebSocket||P.MozWebSocket;class Y extends W{createSocket(t,r,n){return G?new K(t,r,n):r?new K(t,r):new K(t)}doWrite(t,r){this.ws.send(r)}}class Z extends D{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{let r=function(t,r){o||(o=new TextDecoder);let n=[],i=0,a=-1,s=!1;return new TransformStream({transform(u,c){for(n.push(u);;){if(0===i){if(1>A(n))break;let t=x(n,1);s=(128&t[0])==128,i=(a=127&t[0])<126?3:126===a?1:2}else if(1===i){if(2>A(n))break;let t=x(n,2);a=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),i=3}else if(2===i){if(8>A(n))break;let t=x(n,8),r=new DataView(t.buffer,t.byteOffset,t.length),o=r.getUint32(0);if(o>2097151){c.enqueue(l);break}a=4294967296*o+r.getUint32(4),i=3}else{if(A(n)<a)break;let t=x(n,a);c.enqueue(b(s?t:o.decode(t),r)),i=0}if(0===a||a>t){c.enqueue(l);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(r).getReader(),a=new TransformStream({transform(t,r){var n;n=n=>{let i;let o=n.length;if(o<126)new DataView((i=new Uint8Array(1)).buffer).setUint8(0,o);else if(o<65536){let t=new DataView((i=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,o)}else{let t=new DataView((i=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(o))}t.data&&"string"!=typeof t.data&&(i[0]|=128),r.enqueue(i),r.enqueue(n)},u&&t.data instanceof Blob?t.data.arrayBuffer().then(p).then(n):c&&(t.data instanceof ArrayBuffer||d(t.data))?n(p(t.data)):h(t,!1,t=>{i||(i=new TextEncoder),n(i.encode(t))})}});a.readable.pipeTo(t.writable),this._writer=a.writable.getWriter();let s=()=>{n.read().then(({done:t,value:r})=>{t||(this.onPacket(r),s())}).catch(t=>{})};s();let f={type:"open"};this.query.sid&&(f.data=`{"sid":"${this.query.sid}"}`),this._writer.write(f).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let r=0;r<t.length;r++){let n=t[r],i=r===t.length-1;this._writer.write(n).then(()=>{i&&O(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null===(t=this._transport)||void 0===t||t.close()}}let X={websocket:Y,webtransport:Z,polling:q},J=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Q=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ee(t){if(t.length>8e3)throw"URI too long";let r=t,n=t.indexOf("["),i=t.indexOf("]");-1!=n&&-1!=i&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));let o=J.exec(t||""),a={},s=14;for(;s--;)a[Q[s]]=o[s]||"";return -1!=n&&-1!=i&&(a.source=r,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(t,r){let n=r.replace(/\/{2,9}/g,"/").split("/");return("/"==r.slice(0,1)||0===r.length)&&n.splice(0,1),"/"==r.slice(-1)&&n.splice(n.length-1,1),n}(0,a.path),a.queryKey=function(t,r){let n={};return r.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,r,i){r&&(n[r]=i)}),n}(0,a.query),a}let et="function"==typeof addEventListener&&"function"==typeof removeEventListener,er=[];et&&addEventListener("offline",()=>{er.forEach(t=>t())},!1);class en extends k.Q{constructor(t,r){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(r=t,t=null),t){let n=ee(t);r.hostname=n.host,r.secure="https"===n.protocol||"wss"===n.protocol,r.port=n.port,n.query&&(r.query=n.query)}else r.host&&(r.hostname=ee(r.host).host);R(this,r),this.secure=null!=r.secure?r.secure:"undefined"!=typeof location&&"https:"===location.protocol,r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=r.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={}
vendor: 6,229 bytes, line 20
20,r.transports.forEach(t=>{let r=t.prototype.name;this.transports.push(r),this._transportsByName[r]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let r={},n=t.split("&");for(let t=0,i=n.length;t<i;t++){let i=n[t].split("=");r[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return r}(this.opts.query)),et&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},er.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let r=Object.assign({},this.opts.query);r.EIO=4,r.transport=t,this.id&&(r.sid=this.id);let n=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(0===this.transports.length){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let t=this.opts.rememberUpgrade&&en.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let r=this.createTransport(t);r.open(),this.setTransport(r)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",en.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let r=Error("server error");r.code=t.data,this._onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let r=0;r<this.writeBuffer.length;r++){let n=this.writeBuffer[r].data;if(n&&(t+="string"==typeof n?function(t){let r=0,n=0;for(let i=0,o=t.length;i<o;i++)(r=t.charCodeAt(i))<128?n+=1:r<2048?n+=2:r<55296||r>=57344?n+=3:(i++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size))),r>0&&t>this._maxPayload)return this.writeBuffer.slice(0,r);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,O(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,r,n){return this._sendPacket("message",t,r,n),this}send(t,r,n){return this._sendPacket("message",t,r,n),this}_sendPacket(t,r,n,i){if("function"==typeof r&&(i=r,r=void 0),"function"==typeof n&&(i=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let o={type:t,data:r,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},n=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(en.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,r){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),et&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=er.indexOf(this._offlineEventListener);-1!==t&&er.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this._prevBufferLen=0}}}en.protocol=4;class ei extends en{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let r=this.createTransport(t),n=!1;en.priorWebsocketSuccess=!1;let i=()=>{n||(r.send([{type:"ping",data:"probe"}]),r.once("packet",t=>
20{if(!n){if("pong"===t.type&&"probe"===t.data)this.upgrading=!0,this.emitReserved("upgrading",r),r&&(en.priorWebsocketSuccess="websocket"===r.name,this.transport.pause(()=>{n||"closed"===this.readyState||(c(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())}));else{let t=Error("probe error");t.transport=r.name,this.emitReserved("upgradeError",t)}}}))};function o(){n||(n=!0,c(),r.close(),r=null)}let a=t=>{let n=Error("probe error: "+t);n.transport=r.name,o(),this.emitReserved("upgradeError",n)};function s(){a("transport closed")}function l(){a("socket closed")}function u(t){r&&t.name!==r.name&&o()}let c=()=>{r.removeListener("open",i),r.removeListener("error",a),r.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};r.once("open",i),r.once("error",a),r.once("close",s),this.once("close",l),this.once("upgrading",u),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{n||r.open()},200):r.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let r=[];for(let n=0;n<t.length;n++)~this.transports.indexOf(t[n])&&r.push(t[n]);return r}}class eo extends ei{constructor(t,r={}){let n="object"==typeof t?t:r;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(t=>X[t]).filter(t=>!!t)),super(t,n)}}eo.protocol},87336:function(t,r,n){"use strict";n.d(r,{v:function(){return i}});var i=n(77625)},61750:function(t,r,n){"use strict";n.d(r,{M:function(){return i}});let i="data-"+(0,n(17444).D)("framerAppearId")},20569:function(t,r,n){"use strict";function i(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}n.d(r,{H:function(){return i}})},44944:function(t,r,n){"use strict";n.d(r,{C:function(){return i}});let i=t=>Array.isArray(t)},5095:function(t,r,n){"use strict";n.d(r,{M:function(){return y}});var i=n(2265),o=n(11534);function a(){let t=(0,i.useRef)(!1);return(0,o.L)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var s=n(58345),l=n(64252),u=n(53576);class c extends i.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=r.offsetHeight||0,t.width=r.offsetWidth||0,t.top=r.offsetTop,t.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:r}){let n=(0,i.useId)(),o=(0,i.useRef)(null),a=(0,i.useRef)({width:0,height:0,top:0,left:0});return(0,i.useInsertionEffect)(()=>{let{width:t,height:i,top:s,left:l}=a.current;if(r||!o.current||!t||!i)return;o.current.dataset.motionPopId=n;let u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` 21 [data-motion-pop-id="${n}"] { 22 position: absolute !important; 23 width: ${t}px !important; 24 height: ${i}px !important; 25 top: ${s}px !important; 26 left: ${l}px !important; 27 } 28 `),()=>{document.head.removeChild(u)}},[r]),i.createElement(c,{isPresent:r,childRef:o,sizeRef:a},i.cloneElement(t,{ref:o}))}let h=({children:t,initial:r,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:s,mode:c})=>{let h=(0,u.h)(f),p=(0,i.useId)(),m=(0,i.useMemo)(()=>({id:p,initial:r,isPresent:n,custom:a,onExitComplete:t=>{for(let r of(h.set(t,!0),h.values()))if(!r)return;o&&o()},register:t=>(h.set(t,!1),()=>h.delete(t))}),s?void 0:[n]);return(0,i.useMemo)(()=>{h.forEach((t,r)=>h.set(r,!1))},[n]),i.useEffect(()=>{n||h.size||!o||o()},[n]),"popLayout"===c&&(t=i.createElement(d,{isPresent:n},t)),i.createElement(l.O.Provider,{value:m},t)};function f(){return new Map}var p=n(58881),m=n(13223);let g=t=>t.key||"",y=({children:t,custom:r,initial:n=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:c=!0,mode:d="sync"})=>{var f;(0,m.k)(!u,"Replace exitBeforeEnter with mode='wait'");let y=(0,i.useContext)(p.p).forceRender||function(){let t=a(),[r,n]=(0,i.useState)(0),o=(0,i.useCallback)(()=>{t.current&&n(r+1)},[r]);return[(0,i.useCallback)(()=>s.Wi.postRender(o),[o]),r]}()[0],v=a(),b=function(t){let r=[];
28return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&r.push(t)}),r}(t),w=b,_=(0,i.useRef)(new Map).current,S=(0,i.useRef)(w),E=(0,i.useRef)(new Map).current,A=(0,i.useRef)(!0);if((0,o.L)(()=>{A.current=!1,function(t,r){t.forEach(t=>{let n=g(t);r.set(n,t)})}(b,E),S.current=w}),f=()=>{A.current=!0,E.clear(),_.clear()},(0,i.useEffect)(()=>()=>f(),[]),A.current)return i.createElement(i.Fragment,null,w.map(t=>i.createElement(h,{key:g(t),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:c,mode:d},t)));w=[...w];let x=S.current.map(g),k=b.map(g),O=x.length;for(let t=0;t<O;t++){let r=x[t];-1!==k.indexOf(r)||_.has(r)||_.set(r,void 0)}return"wait"===d&&_.size&&(w=[]),_.forEach((t,n)=>{if(-1!==k.indexOf(n))return;let o=E.get(n);if(!o)return;let a=x.indexOf(n),s=t;s||(s=i.createElement(h,{key:g(o),isPresent:!1,onExitComplete:()=>{_.delete(n);let t=Array.from(E.keys()).filter(t=>!k.includes(t));if(t.forEach(t=>E.delete(t)),S.current=b.filter(r=>{let i=g(r);return i===n||t.includes(i)}),!_.size){if(!1===v.current)return;y(),l&&l()}},custom:r,presenceAffectsLayout:c,mode:d},o),_.set(n,s)),w.splice(a,0,s)}),w=w.map(t=>{let r=t.key;return _.has(r)?t:i.createElement(h,{key:g(t),isPresent:!0,presenceAffectsLayout:c,mode:d},t)}),i.createElement(i.Fragment,null,_.size?w:w.map(t=>(0,i.cloneElement)(t)))}},50278:function(t,r,n){"use strict";n.d(r,{X:function(){return s}});var i=n(2265),o=n(47337),a=n(24470);function s({children:t,features:r,strict:n=!1}){let[,s]=(0,i.useState)(!l(r)),u=(0,i.useRef)(void 0);if(!l(r)){let{renderer:t,...n}=r;u.current=t,(0,a.K)(n)}return(0,i.useEffect)(()=>
28{l(r)&&r().then(({renderer:t,...r})=>{(0,a.K)(r),u.current=t,s(!0)})},[]),i.createElement(o.u.Provider,{value:{renderer:u.current,strict:n}},t)}function l(t){return"function"==typeof t}},58881:function(t,r,n){"use strict";n.d(r,{p:function(){return i}});let i=(0,n(2265).createContext)({})},47337:function(t,r,n){"use strict";n.d(r,{u:function(){return i}});let i=(0,n(2265).createContext)({strict:!1})},64252:function(t,r,n){"use strict";n.d(r,{O:function(){return i}});let i=(0,n(2265).createContext)(null)},29913:function(t,r,n){"use strict";n.d(r,{g:function(){return i}});let i=(0,n(2265).createContext)({})},58345:function(t,r,n){"use strict";n.d(r,{Pn:function(){return l},Wi:function(){return s},frameData:function(){return u},S6:function(){return c}});var i=n(44439);class o{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){let r=this.order.indexOf(t);-1!==r&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}let a=["prepare","read","update","preRender","render","postRender"],{schedule:s,cancel:l,state:u,steps:c}=function(t,r){let n=!1,i=!0,s={delta:0,timestamp:0,isProcessing:!1},l=a.reduce((t,r)=>(t[r]=function(t){let r=new o,n=new o,i=0,a=!1,s=!1,l=new WeakSet,u={schedule:(t,o=!1,s=!1)=>{let u=s&&a,c=u?r:n;return o&&l.add(t),c.add(t)&&u&&a&&(i=r.order.length),t},cancel:t=>{n.remove(t),l.delete(t)},process:o=>{if(a){s=!0;return}if(a=!0,[r,n]=[n,r],n.clear(),i=r.order.length)for(let n=0;n<i;n++){let i=r.order[n];i(o),l.has(i)&&(u.schedule(i),t())}a=!1,s&&(s=!1,u.process(o))}};return u}(()=>n=!0),t),{}),u=t=>l[t].process(s),c=()=>{let o=performance.now();n=!1,s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,40),1),s.timestamp=o,s.isProcessing=!0,a.forEach(u),s.isProcessing=!1,n&&r&&(i=!1,t(c))},d=()=>{n=!0,i=!0,s.isProcessing||t(c)};return{schedule:a.reduce((t,r)=>{let i=l[r];return t[r]=(t,r=!1,o=!1)=>(n||d(),i.schedule(t,r,o)),t},{}),cancel:t=>a.forEach(r=>l[r].cancel(t)),state:s,steps:l}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},35938:function(t,r,n){"use strict";n.d(r,{A:function(){return o}});let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o={};for(let t in i)o[t]={isEnabled:r=>i[t].some(t=>!!r[t])}},24470:function(t,r,n){"use strict";n.d(r,{K:function(){return o}});var i=n(35938);function o(t){for(let r in t)i.A[r]={...i.A[r],...t[r]}}},77556:function(t,r,n){"use strict";n.d(r,{j:function(){return a}});var i=n(98639),o=n(8834);function a(t,{layout:r,layoutId:n}){return o.G.has(t)||t.startsWith("origin")||(r||void 0!==n)&&(!!i.P[t]||"opacity"===t)}},98639:function(t,r,n){"use strict";n.d(r,{B:function(){return o},P:function(){return i}});let i={};function o(t){Object.assign(i,t)}},59364:function(t,r,n){"use strict";let i;n.d(r,{g:function(){return n4}});class o{constructor(t){this.isMounted=!1,this.node=t}update(){}}var a,s=n(44439),l=n(13223);let u=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function c(t,r="page"){return{point:{x:t[r+"X"],y:t[r+"Y"]}}}let d=t=>r=>u(r)&&t(r,c(r)),h=t=>1e3*t,f=t=>t/1e3;function p(t,r,n,i={passive:!0}){return t.addEventListener(r,n,i),()=>t.removeEventListener(r,n)}function m(t,r,n,i){return p(t,r,d(n),i)}let g=(t,r)=>n=>r(t(n)),y=(...t)=>t.reduce(g),v=(t,r)=>Math.abs(t-r);var b=n(58345);class w{constructor(t,r,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,r;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=E(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,o=(t=n.offset,r={x:0,y:0},Math.sqrt(v(t.x,r.x)**2+v(t.y,r.y)**2)>=3);if(!i&&!o)return;let{point:a}=n,{timestamp:s}=b.frameData;this.history.push({...a,timestamp:s});let{onStart:l,onMove:u}=this.handlers;
28i||(l&&l(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,n)},this.handlePointerMove=(t,r)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=_(r,this.transformPagePoint),b.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,r)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=E("pointercancel"===t.type?this.lastMoveEventInfo:_(r,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,a),i&&i(t,a)},!u(t))return;this.dragSnapToOrigin=o,this.handlers=r,this.transformPagePoint=n,this.contextWindow=i||window;let a=_(c(t),this.transformPagePoint),{point:s}=a,{timestamp:l}=b.frameData;this.history=[{...s,timestamp:l}];let{onSessionStart:d}=r;d&&d(t,E(a,this.history)),this.removeListeners=y(m(this.contextWindow,"pointermove",this.handlePointerMove),m(this.contextWindow,"pointerup",this.handlePointerUp),m(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,b.Pn)(this.updatePoint)}}function _(t,r){return r?{point:r(t.point)}:t}function S(t,r){return{x:t.x-r.x,y:t.y-r.y}}function E({point:t},r){return{point:t,delta:S(t,A(r)),offset:S(t,r[0]),velocity:function(t,r){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,o=A(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>h(.1)));)n--;if(!i)return{x:0,y:0};let a=f(o.timestamp-i.timestamp);if(0===a)return{x:0,y:0};let s={x:(o.x-i.x)/a,y:(o.y-i.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(r,0)}}function A(t){return t[t.length-1]}function x(t){let r=null;return()=>null===r&&(r=t,()=>{r=null})}let k=x("dragHorizontal"),O=x("dragVertical");function P(t){let r=!1;if("y"===t)r=O();else if("x"===t)r=k();else{let t=k(),n=O();t&&n?r=()=>{t(),n()}:(t&&t(),n&&n())}return r}function C(){let t=P(!0);return!t||(t(),!1)}var T=n(34006);let M=(t,r,n)=>{let i=r-t;return 0===i?1:(n-t)/i},R=(t,r,n)=>-n*t+n*r+t;function I(t){return t.max-t.min}function N(t,r=0,n=.01){return Math.abs(t-r)<=n}function D(t,r,n,i=.5){t.origin=i,t.originPoint=R(r.min,r.max,t.origin),t.scale=I(n)/I(r),(N(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=R(n.min,n.max,t.origin)-t.originPoint,(N(t.translate)||isNaN(t.translate))&&(t.translate=0)}function F(t,r,n,i){D(t.x,r.x,n.x,i?i.originX:void 0),D(t.y,r.y,n.y,i?i.originY:void 0)}function L(t,r,n){t.min=n.min+r.min,t.max=t.min+I(r)}function $(t,r,n){t.min=r.min-n.min,t.max=t.min+I(r)}function j(t,r,n){$(t.x,r.x,n.x),$(t.y,r.y,n.y)}var U=n(59111);function B(t,r,n){return{min:void 0!==r?t.min+r:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function z(t,r){let n=r.min-t.min,i=r.max-t.max;return r.max-r.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function H(t,r,n){return{min:q(t,r),max:q(t,n)}}function q(t,r){return"number"==typeof t?t:t[r]||0}let V=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:V(),y:V()}),W=()=>({min:0,max:0}),K=()=>({x:W(),y:W()});function Y(t){return[t("x"),t("y")]}function Z({top:t,left:r,right:n,bottom:i}){return{x:{min:r,max:n},y:{min:t,max:i}}}function X(t){return void 0===t||1===t}function J({scale:t,scaleX:r,scaleY:n}){return!X(t)||!X(r)||!X(n)}function Q(t){return J(t)||ee(t)||t.z||t.rotate||t.rotateX||t.rotateY}function ee(t){var r,n;return(r=t.x)&&"0%"!==r||(n=t.y)&&"0%"!==n}function et(t,r,n,i,o){return void 0!==o&&(t=i+o*(t-i)),i+n*(t-i)+r}function er(t,r=0,n=1,i,o){t.min=et(t.min,r,n,i,o),t.max=et(t.max,r,n,i,o)}function en(t,{x:r,y:n}){er(t.x,r.translate,r.scale,r.originPoint),er(t.y,n.translate,n.scale,n.originPoint)}function ei(t){return Number.isInteger(t)?t:t>1.0000000000001||t<.999999999999?t:1}function eo(t,r){t.min=t.min+r,t.max=t.max+r}function ea(t,r,[n,i,o]){let a=void 0!==r[o]?r[o]:.5,s=R(t.min,t.max,a);er(t,r[n],r[i],s,r.scale)}let es=["x","scaleX","originX"],el=["y","scaleY","originY"];function eu(t,r){ea(t.x,r,es),ea(t.y,r,el)}function ec(t,r){return Z(function(t,r){if(!r)return t;let n=r({x:t.left,y:t.top}),i=r({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),r))}var ed=n(27492);let eh={current:!1},ef=t=>Array.isArray(t)&&"number"==typeof t[0],ep=([t,r,n,i])=>`cubic-bezier(${t}, ${r}, ${n}, ${i})`,em={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ep([0,.65,.55,1]),circOut:ep([.55,0,1,.45]),backIn:ep([.31,.01,.66,-.59]),backOut:ep([.33,1.53,.69,.99])},eg=(t,r,n)=>(((1-3*n+3*r)*t+(3*n-6*r))*t+3*r)*t;function ey(t,r,n,i){if(t===r&&n===i)return s.Z;let o=r=>(function(t,r,n,i,o){let a,s;let l=0;do(a=eg(s=r+(n-r)/2,i,o)-t)>0?n=s:r=s;while(Math.abs(a)>1e-7&&++l<12);return s})(r,0,1,t,n);return t=>0===t||1===t?t:eg(o(t),r,i)}let ev=ey(.42,0,1,1),eb=ey(0,0,.58,1),ew=ey(.42,0,.58,1),e_=t=>Array.isArray(t)&&"number"!=typeof t[0],eS=t=>r=>r<=.5?t(2*r)/2:(2-t(2*(1-r)))/2,eE=t=>r=>1-t(1-r),eA=t=>1-Math.sin(Math.acos(t)),ex=eE(eA),ek=eS(eA),eO=ey(.33,1.53,.69,.99),eP=eE(eO),eC=eS(eP),eT={linear:s.Z,easeIn:ev,easeInOut:ew,easeOut:eb,cir
28cIn:eA,circInOut:ek,circOut:ex,backIn:eP,backInOut:eC,backOut:eO,anticipate:t=>(t*=2)<1?.5*eP(t):.5*(2-Math.pow(2,-10*(t-1)))},eM=t=>{if(Array.isArray(t)){(0,l.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[r,n,i,o]=t;return ey(r,n,i,o)}return"string"==typeof t?((0,l.k)(void 0!==eT[t],`Invalid easing type '${t}'`),eT[t]):t};var eR=n(50796),eI=n(74305);let eN=(t,r)=>n=>!!((0,eR.HD)(n)&&eR.mj.test(n)&&n.startsWith(t)||r&&Object.prototype.hasOwnProperty.call(n,r)),eD=(t,r,n)=>i=>{if(!(0,eR.HD)(i))return i;let[o,a,s,l]=i.match(eR.KP);return{[t]:parseFloat(o),[r]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}},eF=t=>(0,U.u)(0,255,t),eL={...eI.Rx,transform:t=>Math.round(eF(t))},e$={test:eN("rgb","red"),parse:eD("red","green","blue"),transform:({red:t,green:r,blue:n,alpha:i=1})=>"rgba("+eL.transform(t)+", "+eL.transform(r)+", "+eL.transform(n)+", "+(0,eR.Nw)(eI.Fq.transform(i))+")"},ej={test:eN("#"),parse:function(t){let r="",n="",i="",o="";return t.length>5?(r=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),o=t.substring(7,9)):(r=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),o=t.substring(4,5),r+=r,n+=n,i+=i,o+=o),{red:parseInt(r,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:e$.transform},eU={test:eN("hsl","hue"),parse:eD("hue","saturation","lightness"),transform:({hue:t,saturation:r,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+ed.aQ.transform((0,eR.Nw)(r))+", "+ed.aQ.transform((0,eR.Nw)(n))+", "+(0,eR.Nw)(eI.Fq.transform(i))+")"},eB={test:t=>e$.test(t)||ej.test(t)||eU.test(t),parse:t=>e$.test(t)?e$.parse(t):eU.test(t)?eU.parse(t):ej.parse(t),transform:t=>(0,eR.HD)(t)?t:t.hasOwnProperty("red")?e$.transform(t):eU.transform(t)};function ez(t,r,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(r-t)*6*n:n<.5?r:n<2/3?t+(r-t)*(2/3-n)*6:t}let eH=(t,r,n)=>{let i=t*t;return Math.sqrt(Math.max(0,n*(r*r-i)+i))},eq=[ej,e$,eU],eV=t=>eq.find(r=>r.test(t));function eG(t){let r=eV(t);(0,l.k)(!!r,`'${t}' is not an animatable color. Use the equivalent color code instead.`);let n=r.parse(t);return r===eU&&(n=function({hue:t,saturation:r,lightness:n,alpha:i}){t/=360,n/=100;let o=0,a=0,s=0;if(r/=100){let i=n<.5?n*(1+r):n+r-n*r,l=2*n-i;o=ez(l,i,t+1/3),a=ez(l,i,t),s=ez(l,i,t-1/3)}else o=a=s=n;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}(n)),n}let eW=(t,r)=>{let n=eG(t),i=eG(r),o={...n};return t=>(o.red=eH(n.red,i.red,t),o.green=eH(n.green,i.green,t),o.blue=eH(n.blue,i.blue,t),o.alpha=R(n.alpha,i.alpha,t),e$.transform(o))};var eK=n(37249);let eY={regex:eK.Xp,countKey:"Vars",token:"${v}",parse:s.Z},eZ={regex:eR.dA,countKey:"Colors",token:"${c}",parse:eB.parse},eX={regex:eR.KP,countKey:"Numbers",token:"${n}",parse:eI.Rx.parse};function eJ(t,{regex:r,countKey:n,token:i,parse:o}){let a=t.tokenised.match(r);a&&(t["num"+n]=a.length,t.tokenised=t.tokenised.replace(r,i),t.values.push(...a.map(o)))}function eQ(t){let r=t.toString(),n={value:r,tokenised:r,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&eJ(n,eY),eJ(n,eZ),eJ(n,eX),n}function e0(t){return eQ(t).values}function e1(t){let{values:r,numColors:n,numVars:i,tokenised:o}=eQ(t),a=r.length;return t=>{let r=o;for(let o=0;o<a;o++)r=o<i?r.replace(eY.token,t[o]):o<i+n?r.replace(eZ.token,eB.transform(t[o])):r.replace(eX.token,(0,eR.Nw)(t[o]));return r}}let e2=t=>"number"==typeof t?0:t,e3={test:function(t){var r,n;return isNaN(t)&&(0,eR.HD)(t)&&((null===(r=t.match(eR.KP))||void 0===r?void 0:r.length)||0)+((null===(n=t.match(eR.dA))||void 0===n?void 0:n.length)||0)>0},parse:e0,createTransformer:e1,getAnimatableNone:function(t){let r=e0(t);return e1(t)(r.map(e2))}},e5=(t,r)=>n=>`${n>0?r:t}`;function e6(t,r){return"number"==typeof t?n=>R(t,r,n):eB.test(t)?eW(t,r):t.startsWith("var(")?e5(t,r):e9(t,r)}let e4=(t,r)=>{let n=[...t],i=n.length,o=t.map((t,n)=>e6(t,r[n]));return t=>{for(let r=0;r<i;r++)n[r]=o[r](t);return n}},e8=(t,r)=>{let n={...t,...r},i={};for(let o in n)void 0!==t[o]&&void 0!==r[o]&&(i[o]=e6(t[o],r[o]));return t=>{for(let r in i)n[r]=i[r](t);return n}},e9=(t,r)=>{let n=e3.createTransformer(r),i=eQ(t),o=eQ(r);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?y(e4(i.values,o.values),n):((0,l.K)(!0,`Complex values '${t}' and '${r}
28' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),e5(t,r))},e7=(t,r)=>n=>R(t,r,n);function te(t,r,{clamp:n=!0,ease:i,mixer:o}={}){let a=t.length;if((0,l.k)(a===r.length,"Both input and output ranges must be the same length"),1===a)return()=>r[0];t[0]>t[a-1]&&(t=[...t].reverse(),r=[...r].reverse());let u=function(t,r,n){let i=[],o=n||function(t){if("number"==typeof t);else if("string"==typeof t)return eB.test(t)?eW:e9;else if(Array.isArray(t))return e4;else if("object"==typeof t)return e8;return e7}(t[0]),a=t.length-1;for(let n=0;n<a;n++){let a=o(t[n],t[n+1]);r&&(a=y(Array.isArray(r)?r[n]||s.Z:r,a)),i.push(a)}return i}(r,i,o),c=u.length,d=r=>{let n=0;if(c>1)for(;n<t.length-2&&!(r<t[n+1]);n++);let i=M(t[n],t[n+1],r);return u[n](i)};return n?r=>d((0,U.u)(t[0],t[a-1],r)):d}function tt({duration:t=300,keyframes:r,times:n,ease:i="easeInOut"}){let o=e_(i)?i.map(eM):eM(i),a={done:!1,value:r[0]},s=te((n&&n.length===r.length?n:function(t){let r=[0];return function(t,r){let n=t[t.length-1];for(let i=1;i<=r;i++){let o=M(0,r,i);t.push(R(n,1,o))}}(r,t.length-1),r}(r)).map(r=>r*t),r,{ease:Array.isArray(o)?o:r.map(()=>o||ew).splice(0,r.length-1)});return{calculatedDuration:t,next:r=>(a.value=s(r),a.done=r>=t,a)}}function tr(t,r,n){var i,o;let a=Math.max(r-5,0);return i=n-t(a),(o=r-a)?1e3/o*i:0}function tn(t,r){return t*Math.sqrt(1-r*r)}let ti=["duration","bounce"],to=["stiffness","damping","mass"];function ta(t,r){return r.some(r=>void 0!==t[r])}function ts({keyframes:t,restDelta:r,restSpeed:n,...i}){let o;let a=t[0],s=t[t.length-1],u={done:!1,value:a},{stiffness:c,damping:d,mass:p,duration:m,velocity:g,isResolvedFromDuration:y}=function(t){let r={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ta(t,to)&&ta(t,ti)){let n=function({duration:t=800,bounce:r=.25,velocity:n=0,mass:i=1}){let o,a;(0,l.K)(t<=h(10),"Spring duration must be 10 seconds or less");let s=1-r;s=(0,U.u)(.05,1,s),t=(0,U.u)(.01,10,f(t)),s<1?(o=r=>{let i=r*s,o=i*t;return .001-(i-n)/tn(r,s)*Math.exp(-o)},a=r=>{let i=r*s*t,a=Math.pow(s,2)*Math.pow(r,2)*t,l=tn(Math.pow(r,2),s);return(i*n+n-a)*Math.exp(-i)*(-o(r)+.001>0?-1:1)/l}):(o=r=>-.001+Math.exp(-r*t)*((r-n)*t+1),a=r=>t*t*(n-r)*Math.exp(-r*t));let u=function(t,r,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/r(i);return i}(o,a,5/t);if(t=h(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let r=Math.pow(u,2)*i;return{stiffness:r,damping:2*s*Math.sqrt(i*r),duration:t}}}(t);(r={...r,...n,mass:1}).isResolvedFromDuration=!0}return r}({...i,velocity:-f(i.velocity||0)}),v=g||0,b=d/(2*Math.sqrt(c*p)),w=s-a,_=f(Math.sqrt(c/p)),S=5>Math.abs(w);if(n||(n=S?.01:2),r||(r=S?.005:.5),b<1){let t=tn(_,b);o=r=>s-Math.exp(-b*_*r)*((v+b*_*w)/t*Math.sin(t*r)+w*Math.cos(t*r))}else if(1===b)o=t=>s-Math.exp(-_*t)*(w+(v+_*w)*t);else{let t=_*Math.sqrt(b*b-1);o=r=>{let n=Math.exp(-b*_*r),i=Math.min(t*r,300);return s-n*((v+b*_*w)*Math.sinh(i)+t*w*Math.cosh(i))/t}}return{calculatedDuration:y&&m||null,next:t=>{let i=o(t);if(y)u.done=t>=m;else{let a=v;0!==t&&(a=b<1?tr(o,t,i):0);let l=Math.abs(a)<=n,c=Math.abs(s-i)<=r;u.done=l&&c}return u.value=u.done?s:i,u}}}function tl({keyframes:t,velocity:r=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:s,min:l,max:u,restDelta:c=.5,restSpeed:d}){let h,f;let p=t[0],m={done:!1,value:p},g=t=>void 0!==l&&t<l||void 0!==u&&t>u,y=t=>void 0===l?u:void 0===u?l:Math.abs(l-t)<Math.abs(u-t)?l:u,v=n*r,b=p+v,w=void 0===s?b:s(b);w!==b&&(v=w-p);let _=t=>-v*Math.exp(-t/i),S=t=>w+_(t),E=t=>{let r=_(t),n=S(t);m.done=Math.abs(r)<=c,m.value=m.done?w:n},A=t=>{g(m.value)&&(h=t,f=ts({keyframes:[m.value,y(m.value)],velocity:tr(S,t,m.value),damping:o,stiffness:a,restDelta:c,restSpeed:d}))};return A(0),{calculatedDuration:null,next:t=>{let r=!1;return(f||void 0!==h||(r=!0,E(t),A(t)),void 0!==h&&t>h)?f.next(t-h):(r||E(t),m)}}}let tu=t=>{let r=({timestamp:r})=>t(r);return{start:()=>b.Wi.update(r,!0),stop:()=>(0,b.Pn)(r),now:()=>b.frameData.isProcessing?b.frameData.timestamp:performance.now()}};function tc(t){let r=0,n=t.next(r);for(;!n.done&&r<2e4;)r+=50,n=t.next(r);return r>=2e4?1/0:r}let td={decay:tl,inertia:tl,tween:tt,keyframes:tt,spring:ts};function th({autoplay:t=!0,delay:r=0,driver:n=tu,keyframes:i,type:o="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:l="loop",onPlay:u,onStop:c,onComplete:d,onUp
28date:p,...m}){let g,y,v,b,w,_=1,S=!1,E=()=>{y=new Promise(t=>{g=t})};E();let A=td[o]||tt;A!==tt&&"number"!=typeof i[0]&&(b=te([0,100],i,{clamp:!1}),i=[0,100]);let x=A({...m,keyframes:i});"mirror"===l&&(w=A({...m,keyframes:[...i].reverse(),velocity:-(m.velocity||0)}));let k="idle",O=null,P=null,C=null;null===x.calculatedDuration&&a&&(x.calculatedDuration=tc(x));let{calculatedDuration:T}=x,M=1/0,R=1/0;null!==T&&(R=(M=T+s)*(a+1)-s);let I=0,N=t=>{if(null===P)return;_>0&&(P=Math.min(P,t)),_<0&&(P=Math.min(t-R/_,P));let n=(I=null!==O?O:Math.round(t-P)*_)-r*(_>=0?1:-1),o=_>=0?n<0:n>R;I=Math.max(n,0),"finished"===k&&null===O&&(I=R);let u=I,c=x;if(a){let t=Math.min(I,R)/M,r=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&r--,(r=Math.min(r,a+1))%2&&("reverse"===l?(n=1-n,s&&(n-=s/M)):"mirror"===l&&(c=w)),u=(0,U.u)(0,1,n)*M}let d=o?{done:!1,value:i[0]}:c.next(u);b&&(d.value=b(d.value));let{done:h}=d;o||null===T||(h=_>=0?I>=R:I<=0);let f=null===O&&("finished"===k||"running"===k&&h);return p&&p(d.value),f&&L(),d},D=()=>{v&&v.stop(),v=void 0},F=()=>{k="idle",D(),g(),E(),P=C=null},L=()=>{k="finished",d&&d(),D(),g()},$=()=>{if(S)return;v||(v=n(N));let t=v.now();u&&u(),null!==O?P=t-O:P&&"finished"!==k||(P=t),"finished"===k&&E(),C=P,O=null,k="running",v.start()};t&&$();let j={then:(t,r)=>y.then(t,r),get time(){return f(I)},set time(newTime){I=newTime=h(newTime),null===O&&v&&0!==_?P=v.now()-newTime/_:O=newTime},get duration(){return f(null===x.calculatedDuration?tc(x):x.calculatedDuration)},get speed(){return _},set speed(newSpeed){if(newSpeed===_||!v)return;_=newSpeed,j.time=f(I)},get state(){return k},play:$,pause:()=>{k="paused",O=I},stop:()=>{S=!0,"idle"!==k&&(k="idle",c&&c(),F())},cancel:()=>{null!==C&&N(C),F()},complete:()=>{k="finished"},sample:t=>(P=0,N(t))};return j}let tf=(a=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===i&&(i=a()),i)),tp=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),tm=(t,r)=>"spring"===r.type||"backgroundColor"===t||!function t(r){return!!(!r||"string"==typeof r&&em[r]||ef(r)||Array.isArray(r)&&r.every(t))}(r.ease);var tg=n(8834);let ty={type:"spring",stiffness:500,damping:25,restSpeed:10},tv=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),tb={type:"keyframes",duration:.8},tw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},t_=(t,{keyframes:r})=>r.length>2?tb:tg.G.has(t)?t.startsWith("scale")?tv(r[1]):ty:tw,tS=(t,r)=>"zIndex"!==t&&!!("number"==typeof r||Array.isArray(r)||"string"==typeof r&&(e3.test(r)||"0"===r)&&!r.startsWith("url(")),tE=new Set(["brightness","contrast","saturate","opacity"]);function tA(t){let[r,n]=t.slice(0,-1).split("(");if("drop-shadow"===r)return t;let[i]=n.match(eR.KP)||[];if(!i)return t;let o=n.replace(i,""),a=tE.has(r)?1:0;return i!==n&&(a*=100),r+"("+a+o+")"}let tx=/([a-z-]*)\(.*?\)/g,tk={...e3,getAnimatableNone:t=>{let r=t.match(tx);return r?r.map(tA).join(" "):t}},tO={...n(38325).j,color:eB,backgroundColor:eB,outlineColor:eB,fill:eB,stroke:eB,borderColor:eB,borderTopColor:eB,borderRightColor:eB,borderBottomColor:eB,borderLeftColor:eB,filter:tk,WebkitFilter:tk},tP=t=>tO[t];function tC(t,r){let n=tP(t);return n!==tk&&(n=e3),n.getAnimatableNone?n.getAnimatableNone(r):void 0}let tT=t=>/^0[^.\s]+$/.test(t);function tM(t,r){return t[r]||t.default||t}let tR={skipAnimations:!1},tI=(t,r,n,i={})=>o=>{let a=tM(i,t)||{},u=a.delay||i.delay||0,{elapsed:c=0}=i;c-=h(u);let d=function(t,r,n,i){let o,a;let s=tS(r,n);o=Array.isArray(n)?[...n]:[null,n];let l=void 0!==i.from?i.from:t.get(),u=[];for(let t=0;t<o.length;t++){var c;null===o[t]&&(o[t]=0===t?l:o[t-1]),("number"==typeof(c=o[t])?0===c:null!==c?"none"===c||"0"===c||tT(c):void 0)&&u.push(t),"string"==typeof o[t]&&"none"!==o[t]&&"0"!==o[t]&&(a=o[t])}if(s&&u.length&&a)for(let t=0;t<u.length;t++)o[u[t]]=tC(r,a);return o}(r,t,n,a),p=d[0],m=d[d.length-1],g=tS(t,p),y=tS(t,m);(0,l.K)(g===y,`You are trying to animate ${t} from "${p}" to "${m}". ${p} is not an animatable value - to enable this animation set ${p} to a value animatable to ${m} via the \`style\` property.`);let v={keyframes:d,velocity:r.getVelocity(),ease:"easeOut",...a,delay:-c,onUpdate:t=>{r.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(!function({when:t,delay:r,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:l,from:u,elapsed:c,...d}){return!!Object.keys(d).length}(a)&&(v={...v,...t_(t,v)}),v.duration&&(v.duration=h(v.duration)),v.repeatDelay&&(v.repeatDelay=h(v.repeatDelay)),!g||!y||eh.current||!1===a.type||tR.skipAnimations)return function({keyframes:t,delay:r,onUpdate:n,onComplete:i}){let o=()=>(n&&n(t[t.length-1]),i&&i(),{time:0,speed:1,duration:0,play:s.Z,pause:s.Z,stop:s.Z,then:t=>(t(),Promise.resolve()),cancel:s.Z,complete:s.Z});return r?th({keyframes:[0,1],duration:0,delay:r,onComplete:o}):o()}(eh.current?{...v,delay:0}:v);if(!i.isHandoff&&r.owner&&r.owner.current instanceof HTMLElement&&!r.owner.getProps().onUp
28date){let n=function(t,r,{onUpdate:n,onComplete:i,...o}){let a,l;if(!(tf()&&tp.has(r)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let u=!1,c=!1,d=()=>{l=new Promise(t=>{a=t})};d();let{keyframes:p,duration:m=300,ease:g,times:y}=o;if(tm(r,o)){let t=th({...o,repeat:0,delay:0}),r={done:!1,value:p[0]},n=[],i=0;for(;!r.done&&i<2e4;)r=t.sample(i),n.push(r.value),i+=10;y=void 0,p=n,m=i-10,g="linear"}let v=function(t,r,n,{delay:i=0,duration:o,repeat:a=0,repeatType:s="loop",ease:l,times:u}={}){let c={[r]:n};u&&(c.offset=u);let d=function t(r){if(r)return ef(r)?ep(r):Array.isArray(r)?r.map(t):em[r]}(l);return Array.isArray(d)&&(c.easing=d),t.animate(c,{delay:i,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:"reverse"===s?"alternate":"normal"})}(t.owner.current,r,p,{...o,duration:m,ease:g,times:y}),w=()=>{c=!1,v.cancel()},_=()=>{c=!0,b.Wi.update(w),a(),d()};return v.onfinish=()=>{c||(t.set(function(t,{repeat:r,repeatType:n="loop"}){let i=r&&"loop"!==n&&r%2==1?0:t.length-1;return t[i]}(p,o)),i&&i(),_())},{then:(t,r)=>l.then(t,r),attachTimeline:t=>(v.timeline=t,v.onfinish=null,s.Z),get time(){return f(v.currentTime||0)},set time(newTime){v.currentTime=h(newTime)},get speed(){return v.playbackRate},set speed(newSpeed){v.playbackRate=newSpeed},get duration(){return f(m)},play:()=>{u||(v.play(),(0,b.Pn)(w))},pause:()=>v.pause(),stop:()=>{if(u=!0,"idle"===v.playState)return;let{currentTime:r}=v;if(r){let n=th({...o,autoplay:!1});t.setWithVelocity(n.sample(r-10).value,n.sample(r).value,10)}_()},complete:()=>{c||v.finish()},cancel:_}}(r,t,v);if(n)return n}return th(v)},tN=({current:t})=>t?t.ownerDocument.defaultView:null,tD=new WeakMap;class tF{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=K(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new w(t,{onSessionStart:t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(c(t,"page").point)},onStart:(t,r)=>{let{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=P(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Y(t=>{let r=this.getAxisMotionValue(t).get()||0;if(ed.aQ.test(r)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];if(i){let t=I(i);r=parseFloat(r)/100*t}}}this.originPoint[t]=r}),o&&b.Wi.update(()=>o(t,r),!1,!0);let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(t,r)=>{let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:s}=r;if(i&&null===this.currentDirection){this.currentDirection=function(t,r=10){let n=null;return Math.abs(t.y)>r?n="y":Math.abs(t.x)>r&&(n="x"),n}(s),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",r.point,s),this.updateAxis("y",r.point,s),this.visualElement.render(),a&&a(t,r)},onSessionEnd:(t,r)=>this.stop(t,r),resumeAnimation:()=>Y(t=>{var r;return"paused"===this.getAnimationState(t)&&(null===(r=this.getAxisMotionValue(t).animation)||void 0===r?void 0:r.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:tN(this.visualElement)})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:i}=r;this.startAnimation(i);let{onDragEnd:o}=this.getProps();o&&b.Wi.update(()=>o(t,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:i}=this.getProps();if(!n||!tL(t,i,this.currentDirection))return;let o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=function(t,{min:r,max:n},i){return void 0!==r&&t<r?t=i?R(r,t,i.min):Math.max(t,r):void 0!==n&&t>n&&(t=i?R(n,t,i.max):Math.min(t,n)),t}(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var t;let{dragConstraints:r,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,o=this.constraints;r&&(0,T.I)(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&i?this.constraints=function(t,{top:r,left:n,bottom:i,right:o}){return{x:B(t.x,n,o),y:B(t.y,r,i)}}(i.layoutBox,r):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:H(t,"left","right"),y:H(t,"top","bottom")}}(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Y(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,r){let n={};return void 0!==r.min&&(n.min=r.min-t.min),void 0!==r.max&&(n.max=r.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:r,onMeasureDragConstraints:n}=this.getProps();if(!r||!(0,T.I)(r))return!1;let i=r.current;(0,l.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=function(t,r,n){let i=ec(t,n),{scroll:o}=r;return o&&(eo(i.x,o.offset.x),eo(i.y,o.offset.y)),i}(i,o.root,this.visualElement.getTransformPagePoint()),s={x:z((t=o.layout.layoutBox).x,a.x),y:z(t.y,a.y)};if(n){let t=n(function({x:t,y:r}){return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=Z(t))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{};return Promise.all(Y(s=>{if(!tL(s,r,this.currentDirection))return;let u=l&&l[s]||{};a&&(u={min:0,max:0});let c={type:"inertia",velocity:n?t[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...u};return this.startAxisValueAnimation(s,c)}
28)).then(s)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return n.start(tI(t,n,0,r))}stopAnimation(){Y(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Y(t=>{var r;return null===(r=this.getAxisMotionValue(t).animation)||void 0===r?void 0:r.pause()})}getAnimationState(t){var r;return null===(r=this.getAxisMotionValue(t).animation)||void 0===r?void 0:r.state}getAxisMotionValue(t){let r="_drag"+t.toUpperCase(),n=this.visualElement.getProps();return n[r]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Y(r=>{let{drag:n}=this.getProps();if(!tL(r,n,this.currentDirection))return;let{projection:i}=this.visualElement,o=this.getAxisMotionValue(r);if(i&&i.layout){let{min:n,max:a}=i.layout.layoutBox[r];o.set(t[r]-R(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!(0,T.I)(r)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};Y(t=>{let r=this.getAxisMotionValue(t);if(r){let n=r.get();i[t]=function(t,r){let n=.5,i=I(t),o=I(r);return o>i?n=M(r.min,r.max-i,t.min):i>o&&(n=M(t.min,t.max-o,r.min)),(0,U.u)(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Y(r=>{if(!tL(r,t,null))return;let n=this.getAxisMotionValue(r),{min:o,max:a}=this.constraints[r];n.set(R(o,a,i[r]))})}addListeners(){if(!this.visualElement.current)return;tD.set(this.visualElement,this);let t=m(this.visualElement.current,"pointerdown",t=>{let{drag:r,dragListener:n=!0}=this.getProps();r&&n&&this.start(t)}),r=()=>{let{dragConstraints:t}=this.getProps();(0,T.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let o=p(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:r})=>{this.isDragging&&r&&(Y(r=>{let n=this.getAxisMotionValue(r);n&&(this.originPoint[r]+=t[r].translate,n.set(n.get()+t[r].translate))}),this.visualElement.render())});return()=>{o(),t(),i(),a&&a()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=.35,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function tL(t,r,n){return(!0===r||r===t)&&(null===n||n===t)}class t$ extends o{constructor(t){super(t),this.removeGroupControls=s.Z,this.removeListeners=s.Z,this.controls=new tF(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let tj=t=>(r,n)=>{t&&b.Wi.update(()=>t(r,n))};class tU extends o{constructor(){super(...arguments),this.removePointerDownListener=s.Z}onPointerDown(t){this.session=new w(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tN(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:tj(t),onStart:tj(r),onMove:n,onEnd:(t,r)=>{delete this.session,i&&b.Wi.update(()=>i(t,r))}}}mount(){this.removePointerDownListener=m(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tB=n(2265),tz=n(64252),tH=n(58881),tq=n(29913);let tV={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tG(t,r){return r.max===r.min?0:t/(r.max-r.min)*100}let tW={correct:(t,r)=>{if(!r.target)return t;if("string"==typeof t){if(!ed.px.test(t))return t;t=parseFloat(t)}let n=tG(t,r.target.x),i=tG(t,r.target.y);return`${n}% ${i}%`}};var tK=n(98639);class tY extends tB.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=t;(0,tK.B)(tX),o&&(r.group&&r.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),tV.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:i,isPresent:o}=this.props,a=n.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==r||void 0===r?a.willUpdate():this.safeToRemove(),t.isPresent===o||(o?a.promote():a.relegate()||b.Wi.postRender(()=>{let t=a.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tZ(t){let[r,n]=function(){let t=(0,tB.useContext)(tz.O);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:i}=t,o=(0,tB.useId)();return(0,tB.useEffect)(()=>i(o),[]),!r&&n?[!1,()=>n&&n(o)]:[!0]}(),i=(0,tB.useContext)(tH.p);return tB.createElement(tY,{...t,layoutGroup:i,switchLayoutGroup:(0,tB.useContext)(tq.g),isPresent:r,safeToRemove:n})}let tX={borderRadius:{...tW,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tW,borderTopRightRadius:tW,borderBottomLeftRadius:tW,borderBottomRightRadius:tW,boxShadow:{correct:(t,{treeScale:r,projectionDelta:n})=>{let i=e3.parse(t);if(i.length>5)return t;let o=e3.createTransformer(t),a="number"!=typeof i[0]?1:0,s=n.x.scale*r.x,l=n.y.scale*r.y;i[0+a]/=s,i[1+a]/=l;let u=R(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=u),"number"==typeof i[3+a]&&(i[3+a]/=u),o(i)}}};function tJ(t,r){-1===t.indexOf(r)&&t.push(r)}function tQ(t,r){let n=t.indexOf(r);n>-1&&t.splice(n,1)}class t0{constructor(){this.subscriptions=[]}add(t){return tJ(this.subscriptions,t),()=>tQ(this.subscriptions,t)}notify(t,r,n){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,r,n);else for(let o=0;o<i;o++){let i=this.subscriptions[o];i&&i(t,r,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let t1=["TopLeft","TopRight","BottomLeft","BottomRight"],t2=t1.length,t3=t=>"string"==typeof t?parseFloat(t):t,t5=t=>"number"==typeof t||ed.px.test(t);function t6(t,r){return void 0!==t[r]?t[r]:t.borderRadius}let t4=t9(0,.5,ex),t8=t9(.5,.95,s.Z);function t9(t,r,n){return i=>i<t?0:i>r?1:n(M(t,r,i))}function t7(t,r){t.min=r.min,t.max=r.max}function re(t,r){t7(t.x,r.x),t7(t.y,r.y)}function rt(t,r,n,i,o){return t-=r,t=i+1/n*(t-i),void 0!==o&&(t=i+1/o*(t-i)),t}function rr(t,r,[n,i,o],a,s){!function(t,r=0,n=1,i=.5,o,a=t,s=t){if(ed.aQ.test(r)&&(r=parseFloat(r),r=R(s.min,s.max,r/100)-s.min),"number"!=typeof r)return;let l=R(a.min,a.max,i);t===a&&(l-=r),t.min=rt(t.min,r,n,l,o),t.max=rt(t.max,r,n,l,o)}(t,r[n],r[i],r[o],r.scale,a,s)}let rn=["x","scaleX","originX"],ri=["y","scaleY","originY"];function ro(t,r,n,i){rr(t.x,r,rn,n?n.x:void 0,i?i.x:void 0),rr(t.y,r,ri,n?n.y:void 0,i?i.y:void 0)}function ra(t){return 0===t.translate&&1===t.scale}function rs(t){return ra(t.x)&&ra(t.y)}function rl(t,r){return Math.round(t.x.min)===Math.round(r.x.min)&&Math.round(t.x.max)===Math.round(r.x.max)&&Math.round(t.y.min)===Math.round(r.y.min)&&Math.round(t.y.max)===Math.round(r.y.max)}function ru(t){return I(t.x)/I(t.y)}class rc{constructor(){this.members=[]}add(t){tJ(this.members,t),t.scheduleRender()}remove(t){if(tQ(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
28}relegate(t){let r;let n=this.members.findIndex(r=>t===r);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){r=n;break}}return!!r&&(this.promote(r),!0)}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rd(t,r,n){let i="",o=t.x.translate/r.x,a=t.y.translate/r.y;if((o||a)&&(i=`translate3d(${o}px, ${a}px, 0) `),(1!==r.x||1!==r.y)&&(i+=`scale(${1/r.x}, ${1/r.y}) `),n){let{rotate:t,rotateX:r,rotateY:o}=n;t&&(i+=`rotate(${t}deg) `),r&&(i+=`rotateX(${r}deg) `),o&&(i+=`rotateY(${o}deg) `)}let s=t.x.scale*r.x,l=t.y.scale*r.y;return(1!==s||1!==l)&&(i+=`scale(${s}, ${l})`),i||"none"}let rh=(t,r)=>t.depth-r.depth;class rf{constructor(){this.children=[],this.isDirty=!1}add(t){tJ(this.children,t),this.isDirty=!0}remove(t){tQ(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rh),this.isDirty=!1,this.children.forEach(t)}}var rp=n(84364);let rm=t=>!isNaN(parseFloat(t)),rg={current:void 0};class ry{constructor(t,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,r=!0)=>{this.prev=this.current,this.current=t;let{delta:n,timestamp:i}=b.frameData;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,b.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>b.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=rm(this.current),this.owner=r.owner}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new t0);let n=this.events[t].add(r);return"change"===t?()=>{n(),b.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){r&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,r)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rg.current&&rg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t,r;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(r=this.timeDelta)?1e3/r*t:0):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function rv(t,r){return new ry(t,r)}var rb=n(23999);let rw=["","X","Y","Z"],r_={visibility:"hidden"},rS=0,rE={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rA({attachResizeListener:t,defaultParent:r,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(t={},n=null==r?void 0:r()){this.id=rS++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rE.totalNodes=rE.resolvedTargetDeltas=rE.recalculatedProjection=0,this.nodes.forEac
28h(rO),this.nodes.forEach(rN),this.nodes.forEach(rD),this.nodes.forEach(rP),window.MotionDebug&&window.MotionDebug.record(rE)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rf)}addEventListener(t,r){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t0),this.eventHandlers.get(t).add(r)}notifyListeners(t,...r){let n=this.eventHandlers.get(t);n&&n.notify(...r)}hasListeners(t){return this.eventHandlers.has(t)}mount(r,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=r instanceof SVGElement&&"svg"!==r.tagName,this.instance=r;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),t){let n;let i=()=>this.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,r){let n=performance.now(),i=({timestamp:r})=>{let o=r-n;o>=250&&((0,b.Pn)(i),t(o-250))};return b.Wi.read(i,!0),()=>(0,b.Pn)(i)}(i,0),tV.hasAnimatedSinceResize&&(tV.hasAnimatedSinceResize=!1,this.nodes.forEach(rI))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:r,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||a.getDefaultTransition()||rB,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=a.getProps(),u=!this.targetLayout||!rl(this.targetLayout,i)||n,c=!r&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||r&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);let r={...tM(o,"layout"),onPlay:s,onComplete:l};(a.shouldReduceMotion||this.options.layoutRoot)&&(r.delay=0,r.type=!1),this.startAnimation(r)}else r||rI(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,b.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rF),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let r=this.path[t];r.shouldResetTransform=!0,r.updateScroll("snapshot"),r.options.layoutRoot&&r.willUpdate(!1)}let{layoutId:r,layout:n}=this.options;if(void 0===r&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rT);return}this.isUpdating||this.nodes.forEach(rM),this.isUpdating=!1,this.nodes.forEach(rR),this.nodes.forEach(rx),this.nodes.forEach(rk),this.clearAllSnapshots();let t=performance.now();b.frameData.delta=(0,U.u)(0,1e3/60,t-b.frameData.timestamp),b.frameData.timestamp=t,b.frameData.isProcessing=!0,b.S6.update.process(b.frameData),b.S6.preRender.process(b.frameData),b.S6.render.process(b.frameData),b.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}
28clearAllSnapshots(){this.nodes.forEach(rC),this.sharedNodes.forEach(rL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,b.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){b.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=K(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:r}=this.options;r&&r.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let r=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(r=!1),r&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!rs(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,a=i!==this.prevTransformTemplateValue;t&&(r||Q(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var r;let n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),rq((r=i).x),rq(r.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return K();let r=t.measureViewportBox(),{scroll:n}=this.root;return n&&(eo(r.x,n.offset.x),eo(r.y,n.offset.y)),r}removeElementScroll(t){let r=K();re(r,t);for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:o,options:a}=i;if(i!==this.root&&o&&a.layoutScroll){if(o.isRoot){re(r,t);let{scroll:n}=this.root;n&&(eo(r.x,-n.offset.x),eo(r.y,-n.offset.y))}eo(r.x,o.offset.x),eo(r.y,o.offset.y)}}return r}applyTransform(t,r=!1){let n=K();re(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&eu(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Q(i.latestValues)&&eu(n,i.latestValues)}return Q(this.latestValues)&&eu(n,this.latestValues),n}removeTransform(t){let r=K();re(r,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!Q(n.latestValues))continue;J(n.latestValues)&&n.updateSnapshot();let i=K();re(i,n.measurePageBox()),ro(r,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Q(this.latestValues)&&ro(r,this.latestValues),r}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==b.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var r,n,i,o;let a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==a;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(r=this.parent)||void 0===r?void 0:r.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:l,layoutId:u}=this.options;if(this.layout&&(l||u)){if(this.resolvedRelativeTargetAt=b.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=K(),this.relativeTargetOrigin=K(),j(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),re(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=K(),this.targetWithTransforms=K()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,i=this.relativeTarget,o=this.relativeParent.target,L(n.x,i.x,o.x),L(n.y,i.y,o.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):re(this.target,this.layout.layoutBox),en(this.target,this.targetDelta)):re(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=K(),this.relativeTargetOrigin=K(),j(this.relativeTargetOrigin,this.target,t.target),re(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rE.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||J(this.parent.latestValues)||ee(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let r=this.getLead(),n=!!this.resumingFrom||this!==r,i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===b.frameData.timestamp&&(i=!1),i)return;let{layout:o,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(o||a))return;re(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,l=this.treeScale.y;!function(t,r,n,i=!1){let o,a;let s=n.length;if(s){r.x=r.y=1;for(let l=0;l<s;l++){a=(o=n[l]).projectionDelta;let s=o.instance;(!s||!s.style||"contents"!==s.style.display)&&(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&eu(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(r.x*=a.x.scale,r.y*=a.y.scale,en(t,a)),i&&Q(o.latestValues)&&eu(t,o.latestValues))}r.x=ei(r.x),r.y=ei(r.y)}}(this.layoutCorrected,this.treeScale,this.path,n),r.layout&&!r.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(r.target=r.layout.layoutBox);let{target:u}=r;if(!u){this.projectionTransform&&(this.projectionDelta=G(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=G(),this.projectionDeltaWithTransform=G
28());let c=this.projectionTransform;F(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=rd(this.projectionDelta,this.treeScale),(this.projectionTransform!==c||this.treeScale.x!==s||this.treeScale.y!==l)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),rE.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,r=!1){let n;let i=this.snapshot,o=i?i.latestValues:{},a={...this.latestValues},s=G();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!r;let l=K(),u=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,h=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(rU));this.animationProgress=0,this.mixTargetDelta=r=>{let i=r/1e3;if(r$(s.x,t.x,i),r$(s.y,t.y,i),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,f,p,m;j(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,rj(p.x,m.x,l.x,i),rj(p.y,m.y,l.y,i),n&&(c=this.relativeTarget,f=n,c.x.min===f.x.min&&c.x.max===f.x.max&&c.y.min===f.y.min&&c.y.max===f.y.max)&&(this.isProjectionDirty=!1),n||(n=K()),re(n,this.relativeTarget)}u&&(this.animationValues=a,function(t,r,n,i,o,a){o?(t.opacity=R(0,void 0!==n.opacity?n.opacity:1,t4(i)),t.opacityExit=R(void 0!==r.opacity?r.opacity:1,0,t8(i))):a&&(t.opacity=R(void 0!==r.opacity?r.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<t2;o++){let a=`border${t1[o]}Radius`,s=t6(r,a),l=t6(n,a);(void 0!==s||void 0!==l)&&(s||(s=0),l||(l=0),0===s||0===l||t5(s)===t5(l)?(t[a]=Math.max(R(t3(s),t3(l),i),0),(ed.aQ.test(l)||ed.aQ.test(s))&&(t[a]+="%")):t[a]=l)}(r.rotate||n.rotate)&&(t.rotate=R(r.rotate||0,n.rotate||0,i))}(a,o,this.latestValues,i,h,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,b.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=b.Wi.update(()=>{tV.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,r,n){let i=(0,rb.i)(0)?0:rv(0);return i.start(tI("",i,1e3,n)),i.animation}(0,0,{...t,onUpdate:r=>{this.mixTargetDelta(r),t.onUpdate&&t.onUpdate(r)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:r,target:n,layout:i,latestValues:o}=t;
28if(r&&n&&i){if(this!==t&&this.layout&&i&&rV(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||K();let r=I(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+r;let i=I(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}re(r,n),eu(r,o),F(this.projectionDeltaWithTransform,this.layoutCorrected,r,o)}}registerSharedNode(t,r){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rc),this.sharedNodes.get(t).add(r);let n=r.options.initialPromotionConfig;r.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(r):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:r}=this.options;return r&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:r}=this.options;return r?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:r,preserveFollowOpacity:n}={}){let i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let r=!1,{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(r=!0),!r)return;let i={};for(let r=0;r<rw.length;r++){let o="rotate"+rw[r];n[o]&&(i[o]=n[o],t.setStaticValue(o,0))}for(let r in t.render(),i)t.setStaticValue(r,i[r]);t.scheduleRender()}getProjectionStyles(t){var r,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return r_;let i={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=(0,rp.b)(null==t?void 0:t.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let r={};return this.options.layoutId&&(r.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,r.pointerEvents=(0,rp.b)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!Q(this.latestValues)&&(r.transform=o?o({},""):"none",this.hasProjected=!1),r}let s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=rd(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));let{x:l,y:u}=this.projectionDelta;for(let t in i.transformOrigin=`${100*l.origin}% ${100*u.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(n=null!==(r=s.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,tK.P){if(void 0===s[t])continue;let{correct:r,applyTo:n}=tK.P[t],o="none"===i.transform?s[t]:r(s[t],a);if(n){let t=n.length;for(let r=0;r<t;r++)i[n[r]]=o}else i[t]=o}return this.options.layoutId&&(i.pointerEvents=a===this?(0,rp.b)(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var r;return null===(r=t.currentAnimation)||void 0===r?void 0:r.stop()}),this.root.nodes.forEach(rT),this.root.sharedNodes.clear()}}}function rx(t){t.updateLayout()}function rk(t){var r;let n=(null===(r=t.resumeFrom)||void 0===r?void 0:r.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=t.layout,{animationType:o}=t.options,a=n.source!==t.layout.source;"size"===o?Y(t=>{let i=a?n.measuredBox[t]:n.layoutBox[t],o=I(i);i.min=r[t].min,i.max=i.min+o}):rV(o,n.layoutBox,r)&&Y(i=>{let o=a?n.measuredBox[i]:n.layoutBox[i],s=I(r[i]);o.max=o.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+s)});let s=G();F(s,r,n.layoutBox);let l=G();a?F(l,t.applyTransform(i,!0),n.measuredBox):F(l,r,n.layoutBox);let u=!rs(s),c=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:o,layout:a}=i;if(o&&a){let s=K();j(s,n.layoutBox,o.layoutBox);let l=K();j(l,r,a.layoutBox),rl(s,l)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=s,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:s,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){let{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function rO(t){rE.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
28isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rP(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rC(t){t.clearSnapshot()}function rT(t){t.clearMeasurements()}function rM(t){t.isLayoutDirty=!1}function rR(t){let{visualElement:r}=t.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),t.resetTransform()}function rI(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rN(t){t.resolveTargetDelta()}function rD(t){t.calcProjection()}function rF(t){t.resetRotation()}function rL(t){t.removeLeadSnapshot()}function r$(t,r,n){t.translate=R(r.translate,0,n),t.scale=R(r.scale,1,n),t.origin=r.origin,t.originPoint=r.originPoint}function rj(t,r,n,i){t.min=R(r.min,n.min,i),t.max=R(r.max,n.max,i)}function rU(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rB={duration:.45,ease:[.4,0,.1,1]},rz=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),rH=rz("applewebkit/")&&!rz("chrome/")?Math.round:s.Z;function rq(t){t.min=rH(t.min),t.max=rH(t.max)}function rV(t,r,n){return"position"===t||"preserve-aspect"===t&&!N(ru(r),ru(n),.2)}let rG=rA({attachResizeListener:(t,r)=>p(t,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rW={current:void 0},rK=rA({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rW.current){let t=new rG({});t.mount(window),t.setOptions({layoutScroll:!0}),rW.current=t}return rW.current},resetTransform:(t,r)=>{t.style.transform=void 0!==r?r:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var rY=n(20569),rZ=n(44944);function rX(t,r){if(!Array.isArray(r))return!1;let n=r.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(r[i]!==t[i])return!1;return!0}var rJ=n(74115),rQ=n(31297);function r0(t,r,n){let i=t.getProps();return(0,rQ.o)(i,r,void 0!==n?n:i.custom,function(t){let r={};return t.values.forEach((t,n)=>r[n]=t.get()),r}(t),function(t){let r={};return t.values.forEach((t,n)=>r[n]=t.getVelocity()),r}(t))}var r1=n(72589),r2=n(61750);function r3(t){return!!((0,rb.i)(t)&&t.add)}let r5=t=>/^\-?\d*\.?\d+$/.test(t);var r6=n(4581);let r4=t=>r=>r.test(t),r8=[eI.Rx,ed.px,ed.aQ,ed.RW,ed.vw,ed.vh,{test:t=>"auto"===t,parse:t=>t}],r9=t=>r8.find(r4(t)),r7=[...r8,eB,e3],ne=t=>r7.find(r4(t));function nt(t,r,{delay:n=0,transitionOverride:i,type:o}={}){let{transition:a=t.getDefaultTransition(),transitionEnd:s,...l}=t.makeTargetAnimatable(r),u=t.getValue("willChange");i&&(a=i);let c=[],d=o&&t.animationState&&t.animationState.getState()[o];for(let r in l){let i=t.getValue(r),o=l[r];if(!i||void 0===o||d&&function({protectedKeys:t,needsAnimating:r},n){let i=t.hasOwnProperty(n)&&!0!==r[n];return r[n]=!1,i}(d,r))continue;let s={delay:n,elapsed:0,...tM(a||{},r)};if(window.HandoffAppearAnimations){let n=t.getProps()[r2.M];if(n){let t=window.HandoffAppearAnimations(n,r,i,b.Wi);null!==t&&(s.elapsed=t,s.isHandoff=!0)}}let h=!s.isHandoff&&!function(t,r){let n=t.get();if(!Array.isArray(r))return n!==r;for(let t=0;t<r.length;t++)if(r[t]!==n)return!0}(i,o);if("spring"===s.type&&(i.getVelocity()||s.velocity)&&(h=!1),i.animation&&(h=!1),h)continue;i.start(tI(r,i,o,t.shouldReduceMotion&&tg.G.has(r)?{type:!1}:s));let f=i.animation;r3(u)&&(u.add(r),f.then(()=>u.remove(r))),c.push(f)}return s&&Promise.all(c).then(()=>{s&&function(t,r){let n=r0(t,r),{transitionEnd:i={},transition:o={},...a}=n?t.makeTargetAnimatable(n,!1):{};for(let r in a={...a,...i}){let n=(0,r6.Y)(a[r]);t.hasValue(r)?t.getValue(r).set(n):t.addValue(r,rv(n))}}(t,s)}),c}function nr(t,r,n={}){let i=r0(t,r,n.custom),{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>Promise.all(nt(t,i,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:a=0,staggerChildren:s,staggerDirection:l}=o;return function(t,r,n=0,i=0,o=1,a){let s=[],l=(t.variantChildren.size-1)*i,u=1===o?(t=0)=>t*i:(t=0)=>l-t*i;
28return Array.from(t.variantChildren).sort(nn).forEach((t,i)=>{t.notify("AnimationStart",r),s.push(nr(t,r,{...a,delay:n+u(i)}).then(()=>t.notify("AnimationComplete",r)))}),Promise.all(s)}(t,r,a+i,s,l,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[t,r]="beforeChildren"===l?[a,s]:[s,a];return t().then(()=>r())}}function nn(t,r){return t.sortNodePosition(r)}let ni=[...r1.e].reverse(),no=r1.e.length;function na(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class ns extends o{constructor(t){super(t),t.animationState||(t.animationState=function(t){let r=r=>Promise.all(r.map(({animation:r,options:n})=>(function(t,r,n={}){let i;if(t.notify("AnimationStart",r),Array.isArray(r))i=Promise.all(r.map(r=>nr(t,r,n)));else if("string"==typeof r)i=nr(t,r,n);else{let o="function"==typeof r?r0(t,r,n.custom):r;i=Promise.all(nt(t,o,n))}return i.then(()=>t.notify("AnimationComplete",r))})(t,r,n))),n={animate:na(!0),whileInView:na(),whileHover:na(),whileTap:na(),whileDrag:na(),whileFocus:na(),exit:na()},i=!0,o=(r,n)=>{let i=r0(t,n);if(i){let{transition:t,transitionEnd:n,...o}=i;r={...r,...o,...n}}return r};function a(a,s){let l=t.getProps(),u=t.getVariantContext(!0)||{},c=[],d=new Set,h={},f=1/0;for(let r=0;r<no;r++){var p;let m=ni[r],g=n[m],y=void 0!==l[m]?l[m]:u[m],v=(0,rJ.$)(y),b=m===s?g.isActive:null;!1===b&&(f=r);let w=y===u[m]&&y!==l[m]&&v;if(w&&i&&t.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...h},!g.isActive&&null===b||!y&&!g.prevProp||(0,rY.H)(y)||"boolean"==typeof y)continue;let _=(p=g.prevProp,("string"==typeof y?y!==p:!!Array.isArray(y)&&!rX(y,p))||m===s&&g.isActive&&!w&&v||r>f&&v),S=!1,E=Array.isArray(y)?y:[y],A=E.reduce(o,{});!1===b&&(A={});let{prevResolvedValues:x={}}=g,k={...x,...A},O=t=>{_=!0,d.has(t)&&(S=!0,d.delete(t)),g.needsAnimating[t]=!0};for(let t in k){let r=A[t],n=x[t];if(!h.hasOwnProperty(t))((0,rZ.C)(r)&&(0,rZ.C)(n)?rX(r,n):r===n)?void 0!==r&&d.has(t)?O(t):g.protectedKeys[t]=!0:void 0!==r?O(t):d.add(t)}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(h={...h,...A}),i&&t.blockInitialAnimation&&(_=!1),_&&(!w||S)&&c.push(...E.map(t=>({animation:t,options:{type:m,...a}})))}if(d.size){let r={};d.forEach(n=>{let i=t.getBaseTarget(n);void 0!==i&&(r[n]=i)}),c.push({animation:r})}let m=!!c.length;return i&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(m=!1),i=!1,m?r(c):Promise.resolve()}return{animateChanges:a,setActive:function(r,i,o){var s;if(n[r].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(r,i)}),n[r].isActive=i;let l=a(o,r);for(let t in n)n[t].protectedKeys={};return l},setAnimateFunction:function(n){r=n(t)},getState:()=>n}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();this.unmount(),(0,rY.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let nl=0;class nu extends o{constructor(){super(...arguments),this.id=nl++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let o=this.node.animationState.setActive("exit",!t,{custom:null!=n?n:this.node.getProps().custom});r&&!t&&o.then(()=>r(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function nc(t,r){let n="onHover"+(r?"Start":"End");return m(t.current,"pointer"+(r?"enter":"leave"),(i,o)=>{if("touch"===i.pointerType||C())return;let a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",r),a[n]&&b.Wi.update(()=>a[n](i,o))},{passive:!t.getProps()[n]})}class nd extends o{mount(){this.unmount=y(nc(this.node,!0),nc(this.node,!1))}unmount(){}}class nh extends o{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(r){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=y(p(this.node.current,"focus",()=>this.onFocus()),p(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let nf=(t,r)=>!!r&&(t===r||nf(t,r.parentElement));function np(t,r){if(!r)return;let n=new PointerEvent("pointer"+t);r(n,c(n))}class nm extends o{constructor(){super(...arguments),this.removeStartListeners=s.Z,this.removeEndListeners=s.Z,this.removeAccessibleListeners=s.Z,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),i=m(window,"pointerup",(t,r)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:i,globalTapTarget:o}=this.node.getProps();b.Wi.update(()=>{o||nf(this.node.current,t.target)?n&&n(t,r):i&&i(t,r)})},{passive:!(n.onTap||n.onPointerUp)}),o=m(window,"pointercancel",(t,r)=>this.cancelPress(t,r),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=y(i,o),this.startPress(t,r)},this.startAccessiblePress=()=>{let t=p(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=p(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&np("up",(t,r)=>{let{onTap:n}=this.node.getProps();n&&b.Wi.update(()=>n(t,r))})}),np("down",(t,r)=>{this.startPress(t,r)}))}),r=p(this.node.current,"blur",()=>{this.isPressing&&np("cancel",(t,r)=>this.cancelPress(t,r))});this.removeAccessibleListeners=y(t,r)}}startPress(t,r){this.isPressing=!0;let{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&b.Wi.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!C()}cancelPress(t,r){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&b.Wi.update(()=>n(t,r))}mount(){let t=this.node.getProps(),r=m(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=p(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=y(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let ng=new WeakMap,ny=new WeakMap,nv=t=>{let r=ng.get(t.target);r&&r(t)},nb=t=>{t.forEach(nv)},nw={some:0,all:1};
28class n_ extends o{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:i="some",once:o}=t,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:nw[i]};return function(t,r,n){let i=function({root:t,...r}){let n=t||document;ny.has(n)||ny.set(n,{});let i=ny.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(nb,{root:t,...r})),i[o]}(r);return ng.set(t,n),i.observe(t),()=>{ng.delete(t),i.unobserve(t)}}(this.node.current,a,t=>{let{isIntersecting:r}=t;if(this.isInView===r||(this.isInView=r,o&&!r&&this.hasEnteredView))return;r&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",r);let{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),a=r?n:i;a&&a(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:r={}}={}){return n=>t[n]!==r[n]}(t,r))&&this.startObserver()}unmount(){}}var nS=n(4469),nE=n(67971),nA=n(1125);let nx=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function nk(t,r,n=1){(0,l.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(t){let r=nx.exec(t);if(!r)return[,];let[,n,i]=r;return[n,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let t=a.trim();return r5(t)?parseFloat(t):t}return(0,eK.tm)(o)?nk(o,r,n+1):o}var nO=n(44563);let nP=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nC=t=>nP.has(t),nT=t=>Object.keys(t).some(nC),nM=t=>t===eI.Rx||t===ed.px,nR=(t,r)=>parseFloat(t.split(", ")[r]),nI=(t,r)=>(n,{transform:i})=>{if("none"===i||!i)return 0;let o=i.match(/^matrix3d\((.+)\)$/);if(o)return nR(o[1],r);{let r=i.match(/^matrix\((.+)\)$/);return r?nR(r[1],t):0}},nN=new Set(["x","y","z"]),nD=tg._.filter(t=>!nN.has(t)),nF={width:({x:t},{paddingLeft:r="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(r)-parseFloat(n),height:({y:t},{paddingTop:r="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(r)-parseFloat(n),top:(t,{top:r})=>parseFloat(r),left:(t,{left:r})=>parseFloat(r),bottom:({y:t},{top:r})=>parseFloat(r)+(t.max-t.min),right:({x:t},{left:r})=>parseFloat(r)+(t.max-t.min),x:nI(4,13),y:nI(5,14)};nF.translateX=nF.x,nF.translateY=nF.y;let nL=(t,r,n)=>{let i=r.measureViewportBox(),o=getComputedStyle(r.current),{display:a}=o,s={};"none"===a&&r.setStaticValue("display",t.display||"block"),n.forEach(t=>{s[t]=nF[t](i,o)}),r.render();let l=r.measureViewportBox();return n.forEach(n=>{let i=r.getValue(n);i&&i.jump(s[n]),t[n]=nF[n](l,o)}),t},n$=(t,r,n={},i={})=>{r={...r},i={...i};let o=Object.keys(r).filter(nC),a=[],s=!1,u=[];if(o.forEach(o=>{let c;let d=t.getValue(o);if(!t.hasValue(o))return;let h=n[o],f=r9(h),p=r[o];if((0,rZ.C)(p)){let t=p.length,r=null===p[0]?1:0;f=r9(h=p[r]);for(let n=r;n<t&&null!==p[n];n++)c?(0,l.k)(r9(p[n])===c,"All keyframes must be of the same type"):(c=r9(p[n]),(0,l.k)(c===f||nM(f)&&nM(c),"Keyframes must be of the same dimension as the current value"))}else c=r9(p);if(f!==c){if(nM(f)&&nM(c)){let t=d.get();"string"==typeof t&&d.set(parseFloat(t)),"string"==typeof p?r[o]=parseFloat(p):Array.isArray(p)&&c===ed.px&&(r[o]=p.map(parseFloat))}else(null==f?void 0:f.transform)&&(null==c?void 0:c.transform)&&(0===h||0===p)?0===h?d.set(c.transform(h)):r[o]=f.transform(p):(s||(a=function(t){let r=[];return nD.forEach(n=>{let i=t.getValue(n);void 0!==i&&(r.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),r.length&&t.render(),r}(t),s=!0),u.push(o),i[o]=void 0!==i[o]?i[o]:r[o],d.jump(p))}}),!u.length)return{target:r,transitionEnd:i};{let n=u.indexOf("height")>=0?window.pageYOffset:null,o=nL(r,t,u);return a.length&&a.forEach(([r,n])=>{t.getValue(r).set(n)}),t.render(),nO.j&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}},nj=(t,r,n,i)=>{var o,a;let s=function(t,{...r},n){let i=t.current;if(!(i instanceof Element))return{target:r,transitionEnd:n};for(let o in n&&(n={...n}
28),t.values.forEach(t=>{let r=t.get();if(!(0,eK.tm)(r))return;let n=nk(r,i);n&&t.set(n)}),r){let t=r[o];if(!(0,eK.tm)(t))continue;let a=nk(t,i);a&&(r[o]=a,n||(n={}),void 0===n[o]&&(n[o]=t))}return{target:r,transitionEnd:n}}(t,r,i);return r=s.target,i=s.transitionEnd,o=r,a=i,nT(o)?n$(t,o,n,a):{target:o,transitionEnd:a}},nU={current:null},nB={current:!1};var nz=n(17743),nH=n(35938);let nq=new WeakMap,nV=Object.keys(nH.A),nG=nV.length,nW=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nK=r1.V.length;class nY{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>b.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=r.initial?{...s}:{},this.renderState=l,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.isControllingVariants=(0,nz.G)(r),this.isVariantNode=(0,nz.M)(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(r,{});for(let t in c){let r=c[t];void 0!==s[t]&&(0,rb.i)(r)&&(r.set(s[t],!1),r3(u)&&u.add(t))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,nq.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,r)=>this.bindToMotionValue(r,t)),nB.current||function(){if(nB.current=!0,nO.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),r=()=>nU.current=t.matches;t.addListener(r),r()}else nU.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nU.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in nq.delete(this.current),this.projection&&this.projection.unmount(),(0,b.Pn)(this.notifyUpdate),(0,b.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){let n=tg.G.has(t),i=r.on("change",r=>{this.latestValues[t]=r,this.props.onUpdate&&b.Wi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...r},n,i,o){let a,s;for(let t=0;t<nG;t++){let n=nV[t],{isEnabled:i,Feature:o,ProjectionNode:l,MeasureLayout:u}=nH.A[n];l&&(a=l),i(r)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),u&&(s=u))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);let{layoutId:t,layout:n,drag:i,dragConstraints:s,layoutScroll:l,layoutRoot:u}=r;this.projection.setOptions({layoutId:t,layout:n,alwaysMeasureLayout:!!i||s&&(0,T.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:l,layoutRoot:u})}return s}updateFeatures(){for(let t in this.features){let r=this.features[t];
28r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):K()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let r=0;r<nW.length;r++){let n=nW[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,r,n){let{willChange:i}=r;for(let o in r){let a=r[o],s=n[o];if((0,rb.i)(a))t.addValue(o,a),r3(i)&&i.add(o);else if((0,rb.i)(s))t.addValue(o,rv(a,{owner:t})),r3(i)&&i.remove(o);else if(s!==a){if(t.hasValue(o)){let r=t.getValue(o);r.hasAnimated||r.set(a)}else{let r=t.getStaticValue(o);t.addValue(o,rv(void 0!==r?r:a,{owner:t}))}}}for(let i in n)void 0===r[i]&&t.removeValue(i);return r}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}let r={};for(let t=0;t<nK;t++){let n=r1.V[t],i=this.props[n];((0,rJ.$)(i)||!1===i)&&(r[n]=i)}return r}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==r&&(n=rv(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(r=(0,rQ.o)(this.props,n))||void 0===r?void 0:r[t]:void 0;if(n&&void 0!==i)return i;let o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,rb.i)(o)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:o}on(t,r){return this.events[t]||(this.events[t]=new t0),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class nZ extends nY{sortInstanceNodePosition(t,r){return 2&t.compareDocumentPosition(r)?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:i},o){let a=function(t,r,n){let i={};for(let o in t){let t=function(t,r){if(r)return(r[t]||r.default||r).from}(o,r);if(void 0!==t)i[o]=t;else{let t=n.getValue(o);t&&(i[o]=t.get())}}return i}(n,t||{},this);if(i&&(r&&(r=i(r)),n&&(n=i(n)),a&&(a=i(a))),o){!function(t,r,n){var i,o;let a=Object.keys(r).filter(r=>!t.hasValue(r)),s=a.length;if(s)for(let l=0;l<s;l++){let s=a[l],u=r[s],c=null;Array.isArray(u)&&(c=u[0]),null===c&&(c=null!==(o=null!==(i=n[s])&&void 0!==i?i:t.readValue(s))&&void 0!==o?o:r[s]),null!=c&&("string"==typeof c&&(r5(c)||tT(c))?c=parseFloat(c):!ne(c)&&e3.test(u)&&(c=tC(s,u)),t.addValue(s,rv(c,{owner:t})),void 0===n[s]&&(n[s]=c),null!==c&&t.setBaseTarget(s,c))}}(this,n,a);let t=nj(this,n,a,r);r=t.transitionEnd,n=t.target}return{transition:t,transitionEnd:r,...n}}}class nX extends nZ{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(tg.G.has(r)){let t=tP(r);return t&&t.default||0}{let n=window.getComputedStyle(t),i=((0,eK.f9)(r)?n.getPropertyValue(r):n[r])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:r}){return ec(t,r)}build(t,r,n,i){(0,nS.r)(t,r,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,r){return(0,nE.U)(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,rb.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(t,r,n,i){(0,nA.N)(t,r,n,i)}}var nJ=n(67098),nQ=n(67402),n0=n(17444),n1=n(16582),n2=n(33390),n3=n(37380);
28class n5 extends nZ{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(tg.G.has(r)){let t=tP(r);return t&&t.default||0}return r=n1.s.has(r)?r:(0,n0.D)(r),t.getAttribute(r)}measureInstanceViewportBox(){return K()}scrapeMotionValuesFromProps(t,r){return(0,nJ.U)(t,r)}build(t,r,n,i){(0,nQ.i)(t,r,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,r,n,i){(0,n2.K)(t,r,n,i)}mount(t){this.isSVGTag=(0,n3.a)(t.tagName),super.mount(t)}}var n6=n(64044);let n4={renderer:(t,r)=>(0,n6.q)(t)?new n5(r,{enableHardwareAcceleration:!1}):new nX(r,{enableHardwareAcceleration:!0}),animation:{Feature:ns},exit:{Feature:nu},inView:{Feature:n_},tap:{Feature:nm},focus:{Feature:nh},hover:{Feature:nd},pan:{Feature:tU},drag:{Feature:t$,ProjectionNode:rK,MeasureLayout:tZ},layout:{ProjectionNode:rK,MeasureLayout:tZ}}},8233:function(t,r,n){"use strict";n.d(r,{m:function(){return H}});var i,o=n(2265);let a=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),s=(0,o.createContext)({});var l=n(64252),u=n(11534),c=n(47337),d=n(61750),h=n(34006),f=n(74115),p=n(17743);function m(t){return Array.isArray(t)?t.join(" "):t}var g=n(24470),y=n(44563),v=n(58881),b=n(29913);let w=Symbol.for("motionComponentSymbol");var _=n(64044),S=n(77556),E=n(23999),A=n(4469);let x=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function k(t,r,n){for(let i in r)(0,E.i)(r[i])||(0,S.j)(i,n)||(t[i]=r[i])}let O=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function P(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||O.has(t)}let C=t=>!P(t);try{(i=require("@emotion/is-prop-valid").default)&&(C=t=>t.startsWith("on")?!P(t):i(t))}catch(t){}var T=n(67402);let M=()=>({...x(),attrs:{}});var R=n(37380),I=n(33390),N=n(67098),D=n(20569),F=n(31297),L=n(53576),$=n(84364);let j=t=>(r,n)=>{let i=(0,o.useContext)(s),a=(0,o.useContext)(l.O),u=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:r,onMount:n},i,o,a){let s={latestValues:function(t,r,n,i){let o={},a=i(t,{});for(let t in a)o[t]=(0,$.b)(a[t]);let{initial:s,animate:l}=t,u=(0,p.G)(t),c=(0,p.M)(t);r&&c&&!u&&!1!==t.inherit&&(void 0===s&&(s=r.initial),void 0===l&&(l=r.animate));let d=!!n&&!1===n.initial,h=(d=d||!1===s)?l:s;return h&&"boolean"!=typeof h&&!(0,D.H)(h)&&(Array.isArray(h)?h:[h]).forEach(r=>{let n=(0,F.o)(t,r);if(!n)return;let{transitionEnd:i,transition:a,...s}=n;for(let t in s){let r=s[t];if(Array.isArray(r)){let t=d?r.length-1:0;r=r[t]}null!==r&&(o[t]=r)}for(let t in i)o[t]=i[t]}),o}(i,o,a,t),renderState:r()};return n&&(s.mount=t=>n(i,t,s)),s})(t,r,i,a);return n?u():(0,L.h)(u)};var U=n(58345);let B={useVisualState:j({scrapeMotionValuesFromProps:N.U,createRenderState:M,onMount:(t,r,{renderState:n,latestValues:i})=>{U.Wi.read(()=>{try{n.dimensions="function"==typeof r.getBBox?r.getBBox():r.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}}),U.Wi.render(()=>{(0,T.i)(n,i,{enableHardwareAcceleration:!1},(0,R.a)(r.tagName),t.transformTemplate),(0,I.K)(r,n)})}})},z={useVisualState:j({scrapeMotionValuesFromProps:n(67971).U,createRenderState:x})},H=function(t){function r(r,n={}){return function({preloadedFeatures:t,createVisualElement:r,useRender:n,useVisualState:i,Component:_}){t&&(0,g.K)(t);let S=(0,o.forwardRef)(function(g,w){var S;let E;let A={...(0,o.useContext)(a),...g,layoutId:function({layoutId:t}){let r=(0,o.useContext)(v.p).id;return r&&void 0!==t?r+"-"+t:t}(g)},{isStatic:x}=A,k=function(t){let{initial:r,animate:n}=function(t,r){if((0,p.G)(t)){let{initial:r,animate:n}=t;return{initial:!1===r||(0,f.$)(r)?r:void 0,animate:(0,f.$)(n)?n:void 0}}return!1!==t.inherit?r:{}}(t,(0,o.useContext)(s));return(0,o.useMemo)(()=>({initial:r,animate:n}),[m(r),m(n)])}(g),O=i(g,x);if(!x&&y.j){k.visualElement=function(t,r,n,i){let{visualElement:h}=(0,o.useContext)(s),f=(0,o.useContext)(c.u),p=(0,o.useContext)(l.O),m=(0,o.useContext)(a).reducedMotion,g=(0,o.useRef)();i=i||f.renderer,!g.current&&i&&(g.current=i(t,{visualState:r,parent:h,props:n,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let y=g.current;(0,o.useInsertionEffect)(()=>{y&&y.update(n,p)});let v=(0,o.useRef)(!!(n[d.M]&&!window.HandoffComplete));return(0,u.L)(()=>{y&&(y.render(),v.current&&y.animationState&&y.animationState.animateChanges())}),(0,o.useEffect)(()=>{y&&(y.updateFeatures(),!v.current&&y.animationState&&y.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))}),y}(_,O,A,r);let n=(0,o.useContext)(b.g),i=(0,o.useContext)(c.u).strict;k.visualElement&&(E=k.visualElement.loadFeatures(A,i,t,n))}return o.createElement(s.Provider,{value:k},E&&k.visualElement?o.createElement(E,{visualElement:k.visualElement,...A}):null,n(_,g,(S=k.visualElement,(0,o.useCallback)(t=>{t&&O.mount&&O.mount(t),S&&(t?S.mount(t):S.unmount()),w&&("function"==typeof w?w(t):(0,h.I)(w)&&(w.current=t))},[S])),O,x,k.visualElement))});return S[w]=_,S}(t(r,n))}if("undefined"==typeof Proxy)return r;let n=new Map;return new Proxy(r,{get:(t,i)=>(n.has(i)||n.set(i,r(i)),n.get(i))})}(function(t,{forwardMotionProps:r=!1},n,i){return{...(0,_.q)(t)?B:z,preloadedFeatures:n,useRender:function(t=!1){return(r,n,i,{latestValues:a},s)=>{let l=((0,_.q)(r)?function(t,r,n,i){let a=(0,o.useMemo)(()=>{let n=M();return(0,T.i)(n,r,{enableHardwareAcceleration:!1},(0,R.a)(i),t.transformTemplate),{...n.attrs,style:{...n.style}}},[r]);if(t.style){let r={};k(r,t.style,t),a.style={...r,...a.style}}return a}:function(t,r,n){let i={},a=function(t,r,n){let i=t.style||{},a={};return k(a,i,t),Object.assign(a,function({transformTemplate:t},r,n){return(0,o.useMemo)(()=>{let i=x();return(0,A.r)(i,r,{enableHardwareAcceleration:!n},t),Object.assign({},i.vars,i.style)},[r])}(t,r,n)),t.transformValues?t.transformValues(a):a}(t,r,n);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=a,i})(n,a,s,r),u={...function(t,r,n){let i={};for(let o in t)("values"!==o||"object"!=typeof t.values)&&(C(o)||!0===n&&P(o)||!r&&!P(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o
28]);return i}(n,"string"==typeof r,t),...l,ref:i},{children:c}=n,d=(0,o.useMemo)(()=>(0,E.i)(c)?c.get():c,[c]);return(0,o.createElement)(r,{...u,children:d})}}(r),createVisualElement:i,Component:t}})},17444:function(t,r,n){"use strict";n.d(r,{D:function(){return i}});let i=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},37249:function(t,r,n){"use strict";n.d(r,{Xp:function(){return s},f9:function(){return o},tm:function(){return a}});let i=t=>r=>"string"==typeof r&&r.startsWith(t),o=i("--"),a=i("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},64044:function(t,r,n){"use strict";n.d(r,{q:function(){return o}});let i=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function o(t){if("string"!=typeof t||t.includes("-"));else if(i.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}},38325:function(t,r,n){"use strict";n.d(r,{j:function(){return s}});var i=n(74305),o=n(27492);let a={...i.Rx,transform:Math.round},s={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,size:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,rotate:o.RW,rotateX:o.RW,rotateY:o.RW,rotateZ:o.RW,scale:i.bA,scaleX:i.bA,scaleY:i.bA,scaleZ:i.bA,skew:o.RW,skewX:o.RW,skewY:o.RW,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:i.Fq,originX:o.$C,originY:o.$C,originZ:o.px,zIndex:a,fillOpacity:i.Fq,strokeOpacity:i.Fq,numOctaves:a}},4469:function(t,r,n){"use strict";n.d(r,{r:function(){return c}});var i=n(8834);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a=i._.length;var s=n(37249);let l=(t,r)=>r&&"number"==typeof t?r.transform(t):t;var u=n(38325);function c(t,r,n,c){let{style:d,vars:h,transform:f,transformOrigin:p}=t,m=!1,g=!1,y=!0;for(let t in r){let n=r[t];if((0,s.f9)(t)){h[t]=n;continue}let o=u.j[t],a=l(n,o);if(i.G.has(t)){if(m=!0,f[t]=a,!y)continue;n!==(o.default||0)&&(y=!1)}else t.startsWith("origin")?(g=!0,p[t]=a):d[t]=a}if(!r.transform&&(m||c?d.transform=function(t,{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},s,l){let u="";for(let r=0;r<a;r++){let n=i._[r];if(void 0!==t[n]){let r=o[n]||n;u+=`${r}(${t[n]}) `}}return r&&!t.z&&(u+="translateZ(0)"),u=u.trim(),l?u=l(t,s?"":u):n&&s&&(u="none"),u}(t.transform,n,y,c):d.transform&&(d.transform="none")),g){let{originX:t="50%",originY:r="50%",originZ:n=0}=p;d.transformOrigin=`${t} ${r} ${n}`}}},1125:function(t,r,n){"use strict";function i(t,{style:r,vars:n},i,o){for(let a in Object.assign(t.style,r,o&&o.getProjectionStyles(i)),n)t.style.setProperty(a,n[a])}n.d(r,{N:function(){return i}})},67971:function(t,r,n){"use strict";n.d(r,{U:function(){return a}});var i=n(77556),o=n(23999);function a(t,r){let{style:n}=t,a={};for(let s in n)((0,o.i)(n[s])||r.style&&(0,o.i)(r.style[s])||(0,i.j)(s,t))&&(a[s]=n[s]);return a}},8834:function(t,r,n){"use strict";n.d(r,{G:function(){return o},_:function(){return i}});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(i)},67402:function(t,r,n){"use strict";n.d(r,{i:function(){return u}});var i=n(4469),o=n(27492);function a(t,r,n){return"string"==typeof t?t:o.px.transform(r+n*t)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},l={offset:"strokeDashoffset",array:"strokeDasharray"};function u(t,{attrX:r,attrY:n,attrScale:u,originX:c,originY:d,pathLength:h,pathSpacing:f=1,pathOffset:p=0,...m}
28,g,y,v){if((0,i.r)(t,m,g,v),y){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:b,style:w,dimensions:_}=t;b.transform&&(_&&(w.transform=b.transform),delete b.transform),_&&(void 0!==c||void 0!==d||w.transform)&&(w.transformOrigin=function(t,r,n){let i=a(r,t.x,t.width),o=a(n,t.y,t.height);return`${i} ${o}`}(_,void 0!==c?c:.5,void 0!==d?d:.5)),void 0!==r&&(b.x=r),void 0!==n&&(b.y=n),void 0!==u&&(b.scale=u),void 0!==h&&function(t,r,n=1,i=0,a=!0){t.pathLength=1;let u=a?s:l;t[u.offset]=o.px.transform(-i);let c=o.px.transform(r),d=o.px.transform(n);t[u.array]=`${c} ${d}`}(b,h,f,p,!1)}},16582:function(t,r,n){"use strict";n.d(r,{s:function(){return i}});let i=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},37380:function(t,r,n){"use strict";n.d(r,{a:function(){return i}});let i=t=>"string"==typeof t&&"svg"===t.toLowerCase()},33390:function(t,r,n){"use strict";n.d(r,{K:function(){return s}});var i=n(17444),o=n(1125),a=n(16582);function s(t,r,n,s){for(let n in(0,o.N)(t,r,void 0,s),r.attrs)t.setAttribute(a.s.has(n)?n:(0,i.D)(n),r.attrs[n])}},67098:function(t,r,n){"use strict";n.d(r,{U:function(){return s}});var i=n(23999),o=n(67971),a=n(8834);function s(t,r){let n=(0,o.U)(t,r);for(let o in t)((0,i.i)(t[o])||(0,i.i)(r[o]))&&(n[-1!==a._.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=t[o]);return n}},17743:function(t,r,n){"use strict";n.d(r,{G:function(){return s},M:function(){return l}});var i=n(20569),o=n(74115),a=n(72589);function s(t){return(0,i.H)(t.animate)||a.V.some(r=>(0,o.$)(t[r]))}function l(t){return!!(s(t)||t.variants)}},74115:function(t,r,n){"use strict";function i(t){return"string"==typeof t||Array.isArray(t)}n.d(r,{$:function(){return i}})},31297:function(t,r,n){"use strict";function i(t,r,n,i={},o={}){return"function"==typeof r&&(r=r(void 0!==n?n:t.custom,i,o)),"string"==typeof r&&(r=t.variants&&t.variants[r]),"function"==typeof r&&(r=r(void 0!==n?n:t.custom,i,o)),r}n.d(r,{o:function(){return i}})},72589:function(t,r,n){"use strict";n.d(r,{V:function(){return o},e:function(){return i}});let i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],o=["initial",...i]},59111:function(t,r,n){"use strict";n.d(r,{u:function(){return i}});let i=(t,r,n)=>Math.min(Math.max(n,t),r)},13223:function(t,r,n){"use strict";n.d(r,{K:function(){return o},k:function(){return a}});var i=n(44439);let o=i.Z,a=i.Z},44563:function(t,r,n){"use strict";n.d(r,{j:function(){return i}});let i="undefined"!=typeof document},34006:function(t,r,n){"use strict";function i(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}n.d(r,{I:function(){return i}})},44439:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});let i=t=>t},4581:function(t,r,n){"use strict";n.d(r,{Y:function(){return a},p:function(){return o}});var i=n(44944);let o=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),a=t=>(0,i.C)(t)?t[t.length-1]||0:t},53576:function(t,r,n){"use strict";n.d(r,{h:function(){return o}});var i=n(2265);function o(t){let r=(0,i.useRef)(null);return null===r.current&&(r.current=t()),r.current}},11534:function(t,r,n){"use strict";n.d(r,{L:function(){return o}});var i=n(2265);let o=n(44563).j?i.useLayoutEffect:i.useEffect},74305:function(t,r,n){"use strict";n.d(r,{Fq:function(){return a},Rx:function(){return o},bA:function(){return s}});var i=n(59111);let o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},a={...o,transform:t=>(0,i.u)(0,1,t)},s={...o,default:1}},27492:function(t,r,n){"use strict";n.d(r,{$C:function(){return d},RW:function(){return a},aQ:function(){return s},px:function(){return l},vh:function(){return u},vw:function(){return c}});var i=n(50796);let o=t=>({test:r=>(0,i.HD)(r)&&r.endsWith(t)&&1===r.split(" ").length,parse:parseFloat,transform:r=>`${r}${t}`}),a=o("deg"),s=o("%"),l=o("px"),u=o("vh"),c=o("vw"),d={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},50796:function(t,r,n){"use strict";n.d(r,{HD:function(){return l},KP:function(){return o},Nw:function(){return i},dA:function(){return a},mj:function(){return s}});let i=t=>
28Math.round(1e5*t)/1e5,o=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function l(t){return"string"==typeof t}},23999:function(t,r,n){"use strict";n.d(r,{i:function(){return i}});let i=t=>!!(t&&t.getVelocity)},84364:function(t,r,n){"use strict";n.d(r,{b:function(){return a}});var i=n(4581),o=n(23999);function a(t){let r=(0,o.i)(t)?t.get():t;return(0,i.p)(r)?r.toValue():r}},53690:function(t,r,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){return"function"==typeof XMLHttpRequest||("undefined"==typeof XMLHttpRequest?"undefined":i(XMLHttpRequest))==="object"}function a(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function s(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach(function(r){var i,o;i=r,o=n[r],(i=function(t){var r=function(t,r){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=l(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==l(r)?r:r+""}(i))in t?Object.defineProperty(t,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n.d(r,{Z:function(){return k}});var u,c,d,h,f="function"==typeof fetch?fetch:void 0;if("undefined"!=typeof global&&global.fetch?f=global.fetch:"undefined"!=typeof window&&window.fetch&&(f=window.fetch),o()&&("undefined"!=typeof global&&global.XMLHttpRequest?d=global.XMLHttpRequest:"undefined"!=typeof window&&window.XMLHttpRequest&&(d=window.XMLHttpRequest)),"function"==typeof ActiveXObject&&("undefined"!=typeof global&&global.ActiveXObject?h=global.ActiveXObject:"undefined"!=typeof window&&window.ActiveXObject&&(h=window.ActiveXObject)),"function"!=typeof f&&(f=void 0),!f&&!d&&!h)try{n.e(1216).then(n.t.bind(n,77387,19)).then(function(t){f=t.default}).catch(function(){})}catch(t){}var p=function(t,r){if(r&&"object"===l(r)){var n="";for(var i in r)n+="&"+encodeURIComponent(i)+"="+encodeURIComponent(r[i]);if(!n)return t;t=t+(-1!==t.indexOf("?")?"&":"?")+n.slice(1)}return t},m=function(t,r,n,i){var o=function(t){if(!t.ok)return n(t.statusText||"Error",{status:t.status});t.text().then(function(r){n(null,{status:t.status,data:r})}).catch(n)};if(i){var a=i(t,r);if(a instanceof Promise){a.then(o).catch(n);return}}"function"==typeof fetch?fetch(t,r).then(o).catch(n):f(t,r).then(o).catch(n)},g=!1,y=function(t,r,n,i){t.queryStringParams&&(r=p(r,t.queryStringParams));var o=s({},"function"==typeof t.customHeaders?t.customHeaders():t.customHeaders);"undefined"==typeof window&&"undefined"!=typeof global&&void 0!==global.process&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),n&&(o["Content-Type"]="application/json");var a="function"==typeof t.requestOptions?t.requestOptions(n):t.requestOptions,l=s({method:n?"POST":"GET",body:n?t.stringify(n):void 0,headers:o},g?{}:a),u="function"==typeof t.alternateFetch&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{m(r,l,i,u)}catch(t){if(!a||0===Object.keys(a).length||!t.message||0>t.message.indexOf("not implemented"))return i(t);
28try{Object.keys(a).forEach(function(t){delete l[t]}),m(r,l,i,u),g=!0}catch(t){i(t)}}},v=function(t,r,n,i){n&&"object"===l(n)&&(n=p("",n).slice(1)),t.queryStringParams&&(r=p(r,t.queryStringParams));try{var o=d?new d:new h("MSXML2.XMLHTTP.3.0");o.open(n?"POST":"GET",r,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,n&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=t.customHeaders;if(a="function"==typeof a?a():a)for(var s in a)o.setRequestHeader(s,a[s]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(n)}catch(t){console&&console.log(t)}},b=function(t,r,n,i){return("function"==typeof n&&(i=n,n=void 0),i=i||function(){},f&&0!==r.indexOf("file:"))?y(t,r,n,i):o()||"function"==typeof ActiveXObject?v(t,r,n,i):void i(Error("No fetch and no xhr implementation found!"))};function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function S(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?_(Object(n),!0).forEach(function(r){E(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function E(t,r,n){return(r=A(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function A(t){var r=function(t,r){if("object"!=w(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,r||"default");if("object"!=w(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==w(r)?r:r+""}var x=(u=function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")})(this,t),this.services=r,this.options=n,this.allOptions=i,this.type="backend",this.init(r,n,i)},c=[{key:"init",value:function(t){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.services=t,this.options=S(S(S({},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(t){return JSON.parse(t)},stringify:JSON.stringify,parsePayload:function(t,r,n){return E({},r,n||"")},parseLoadPayload:function(t,r){},request:b,reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}),this.options||{}),n),this.allOptions=i,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);"object"===w(o)&&"function"==typeof o.unref&&o.unref()}}},{key:"readMulti",value:function(t,r,n){this._readAny(t,t,r,r,n)}},{key:"read",value:function(t,r,n){this._readAny([t],t,[r],r,n)}},{key:"_readAny",value:function(t,r,n,i,o){var a,s,l=this,u=this.options.loadPath;"function"==typeof this.options.loadPath&&(u=this.options.loadPath(t,n)),(u=(s=a=u)&&"function"==typeof s.then?a:Promise.resolve(a)).then(function(a){if(!a)return o(null,{});var s=l.services.interpolator.interpolate(a,{lng:t.join("+"),ns:n.join("+")});l.loadUrl(s,o,r,i)})}},{key:"loadUrl",value:function(t,r,n,i){var o=this,a=this.options.parseLoadPayload("string"==typeof n?[n]:n,"string"==typeof i?[i]:i);this.options.request(this.options,t,a,function(a,s){if(s&&(s.status>=500&&s.status<600||!s.status))return r("failed loading "+t+"; status code: "+s.status,!0);if(s&&s.status>=400&&s.status<500)return r("failed loading "+t+"; status code: "+s.status,!1);if(!s&&a&&a.message){var l,u,c=a.message.toLowerCase();if(["failed","fetch","network","load"].find(function(t){return c.indexOf(t)>-1}))return r("failed loading "+t+": "+a.message,!0)}if(a)return r(a,!1);try{l="string"==typeof s.data?o.options.parse(s.data,n,i):s.data}catch(r){u="failed parsing "+t+" to json"}if(u)return r(u,!1);r(null,l)})}},{key:"create",value:function(t,r,n,i,o){var a=this;if(this.options.addPath){"string"==typeof t&&(t=[t]);var s=this.options.parsePayload(r,n,i),l=0,u=[],c=[];t.forEach(function(n){var i=a.options.addPath;"function"==typeof a.options.addPath&&(i=a.options.addPath(n,r));var d=a.services.interpolator.interpolate(i,{lng:n,ns:r});a.options.request(a.options,d,s,function(r,n){l+=1,u.push(r),c.push(n),l===t.length&&"function"==typeof o&&o(u,c)})})}}},{key:"reload",value:function(){var t=this,r=this.services,n=r.backendConnector,i=r.languageUtils,o=r.logger,a=n.language;if(!a||"cimode"!==a.toLowerCase()){var s=[],l=function(t){i.toResolveHierarchy(t).forEach(function(t){0>s.indexOf(t)&&s.push(t)})};
28l(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(t){return l(t)}),s.forEach(function(r){t.allOptions.ns.forEach(function(t){n.read(r,t,"read",null,null,function(i,a){i&&o.warn("loading namespace ".concat(t," for language ").concat(r," failed"),i),!i&&a&&o.log("loaded namespace ".concat(t," for language ").concat(r),a),n.loaded("".concat(r,"|").concat(t),i,a)})})})}}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,A(i.key),i)}}(u.prototype,c),Object.defineProperty(u,"prototype",{writable:!1}),u);x.type="backend";var k=x},46550:function(t,r,n){"use strict";n.d(r,{ZP:function(){return er}});let i=t=>"string"==typeof t,o=()=>{let t,r;let n=new Promise((n,i)=>{t=n,r=i});return n.resolve=t,n.reject=r,n},a=t=>null==t?"":""+t,s=(t,r,n)=>{t.forEach(t=>{r[t]&&(n[t]=r[t])})},l=/###/g,u=t=>t&&t.indexOf("###")>-1?t.replace(l,"."):t,c=t=>!t||i(t),d=(t,r,n)=>{let o=i(r)?r.split("."):r,a=0;for(;a<o.length-1;){if(c(t))return{};let r=u(o[a]);!t[r]&&n&&(t[r]=new n),t=Object.prototype.hasOwnProperty.call(t,r)?t[r]:{},++a}return c(t)?{}:{obj:t,k:u(o[a])}},h=(t,r,n)=>{let{obj:i,k:o}=d(t,r,Object);if(void 0!==i||1===r.length){i[o]=n;return}let a=r[r.length-1],s=r.slice(0,r.length-1),l=d(t,s,Object);for(;void 0===l.obj&&s.length;)a=`${s[s.length-1]}.${a}`,(l=d(t,s=s.slice(0,s.length-1),Object))&&l.obj&&void 0!==l.obj[`${l.k}.${a}`]&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=n},f=(t,r,n,i)=>{let{obj:o,k:a}=d(t,r,Object);o[a]=o[a]||[],o[a].push(n)},p=(t,r)=>{let{obj:n,k:i}=d(t,r);if(n)return n[i]},m=(t,r,n)=>{let i=p(t,n);return void 0!==i?i:p(r,n)},g=(t,r,n)=>{for(let o in r)"__proto__"!==o&&"constructor"!==o&&(o in t?i(t[o])||t[o]instanceof String||i(r[o])||r[o]instanceof String?n&&(t[o]=r[o]):g(t[o],r[o],n):t[o]=r[o]);return t},y=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var v={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let b=t=>i(t)?t.replace(/[&<>"'\/]/g,t=>v[t]):t;class w{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let r=this.regExpMap.get(t);if(void 0!==r)return r;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}let _=[" ",",","?","!",";"],S=new w(20),E=(t,r,n)=>{r=r||"",n=n||"";let i=_.filter(t=>0>r.indexOf(t)&&0>n.indexOf(t));if(0===i.length)return!0;let o=S.getRegExp(`(${i.map(t=>"?"===t?"\\?":t).join("|")})`),a=!o.test(t);if(!a){let r=t.indexOf(n);r>0&&!o.test(t.substring(0,r))&&(a=!0)}return a},A=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[r])return t[r];let i=r.split(n),o=t;for(let t=0;t<i.length;){let r;if(!o||"object"!=typeof o)return;let a="";for(let s=t;s<i.length;++s)if(s!==t&&(a+=n),a+=i[s],void 0!==(r=o[a])){if(["string","number","boolean"].indexOf(typeof r)>-1&&s<i.length-1)continue;t+=s-t+1;break}o=r}return o},x=t=>t&&t.replace("_","-"),k={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,r){console&&console[t]&&console[t].apply(console,r)}};class O{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||k,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,o){return o&&!this.debug?null:(i(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new O(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new O(this.logger,t)}}var P=new O;class C{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);let n=this.observers[t].get(r)||0;this.observers[t].set(r,n+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEac
28h(t=>{let[r,i]=t;for(let t=0;t<i;t++)r(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(r=>{let[i,o]=r;for(let r=0;r<o;r++)i.apply(i,[t,...n])})}}class T extends C{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}removeNamespaces(t){let r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,l=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;t.indexOf(".")>-1?o=t.split("."):(o=[t,r],n&&(Array.isArray(n)?o.push(...n):i(n)&&s?o.push(...n.split(s)):o.push(n)));let u=p(this.data,o);return(!u&&!r&&!n&&t.indexOf(".")>-1&&(t=o[0],r=o[1],n=o.slice(2).join(".")),!u&&l&&i(n))?A(this.data&&this.data[t]&&this.data[t][r],n,s):u}addResource(t,r,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=[t,r];n&&(s=s.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(s=t.split("."),i=r,r=s[1]),this.addNamespaces(r),h(this.data,s,i),o.silent||this.emit("added",t,r,n,i)}addResources(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let o in n)(i(n[o])||Array.isArray(n[o]))&&this.addResource(t,r,o,n[o],{silent:!0});o.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[t,r];t.indexOf(".")>-1&&(s=t.split("."),i=n,n=r,r=s[1]),this.addNamespaces(r);let l=p(this.data,s)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?g(l,n,o):l={...l,...n},h(this.data,s,l),a.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return void 0!==this.getResource(t,r)}getResourceBundle(t,r){return(r||(r=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(t=>r[t]&&Object.keys(r[t]).length>0)}toJSON(){return this.data}}var M={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,r,n,i,o){return t.forEach(t=>{this.processors[t]&&(r=this.processors[t].process(r,n,i,o))}),r}};let R={};class I extends C{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),s(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
28i18nFormat","utils"],t,this),this.options=r,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=P.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;let n=this.resolve(t,r);return n&&void 0!==n.res}extractFromKey(t,r){let n=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS||[],s=n&&t.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!E(t,n,o);if(s&&!l){let r=t.match(this.interpolator.nestingRegexp);if(r&&r.length>0)return{key:t,namespaces:i(a)?[a]:a};let s=t.split(n);(n!==o||n===o&&this.options.ns.indexOf(s[0])>-1)&&(a=s.shift()),t=s.join(o)}return{key:t,namespaces:i(a)?[a]:a}}translate(t,r,n){if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);let o=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,a=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(t[t.length-1],r),u=l[l.length-1],c=r.lng||this.language,d=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(d){let t=r.nsSeparator||this.options.nsSeparator;return o?{res:`${u}${t}${s}`,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:`${u}${t}${s}`}return o?{res:s,usedKey:s,exactUsedKey:s,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:s}let h=this.resolve(t,r),f=h&&h.res,p=h&&h.usedKey||s,m=h&&h.exactUsedKey||s,g=Object.prototype.toString.apply(f),y=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!i(f)&&"boolean"!=typeof f&&"number"!=typeof f;if(v&&f&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(g)&&!(i(y)&&Array.isArray(f))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,f,{...r,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(h.res=t,h.usedParams=this.getUsedParamsDetails(r),h):t}if(a){let t=Array.isArray(f),n=t?[]:{},i=t?m:p;for(let t in f)if(Object.prototype.hasOwnProperty.call(f,t)){let o=`${i}${a}${t}`;n[t]=this.translate(o,{...r,joinArrays:!1,ns:l}),n[t]===o&&(n[t]=f[t])}f=n}}else if(v&&i(y)&&Array.isArray(f))(f=f.join(y))&&(f=this.extendTranslation(f,t,r,n));else{let o=!1,l=!1,d=void 0!==r.count&&!i(r.count),p=I.hasDefaultValue(r),m=d?this.pluralResolver.getSuffix(c,r.count,r):"",g=r.ordinal&&d?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",y=d&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),v=y&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${m}`]||r[`defaultValue${g}`]||r.defaultValue;!this.isValidLookup(f)&&p&&(o=!0,f=v),this.isValidLookup(f)||(l=!0,f=s);let b=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&l?void 0:f,w=p&&v!==f&&this.options.updateMissing;if(l||o||w){if(this.logger.log(w?"updateKey":"missingKey",c,u,s,w?v:f),a){let t=this.resolve(s,{...r,keySeparator:!1});t&&t.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let t=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let r=0;r<n.length;r++)t.push(n[r]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(r.lng||this.language):t.push(r.lng||this.language);let i=(t,n,i)=>{let o=p&&i!==f?i:b;this.options.missingKeyHandler?this.options.missingKeyHandler(t,u,n,o,w,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,u,n,o,w,r),this.emit
28("missingKey",t,u,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&d?t.forEach(t=>{let n=this.pluralResolver.getSuffixes(t,r);y&&r[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{i([t],s+n,r[`defaultValue${n}`]||v)})}):i(t,s,v))}f=this.extendTranslation(f,t,r,h,n),l&&f===s&&this.options.appendNamespaceToMissingKey&&(f=`${u}:${s}`),(l||o)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${s}`:s,o?f:void 0):this.options.parseMissingKeyHandler(f))}return o?(h.res=f,h.usedParams=this.getUsedParamsDetails(r),h):f}extendTranslation(t,r,n,o,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){let l;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let u=i(t)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(u){let r=t.match(this.interpolator.nestingRegexp);l=r&&r.length}let c=n.replace&&!i(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),t=this.interpolator.interpolate(t,c,n.lng||this.language||o.usedLng,n),u){let r=t.match(this.interpolator.nestingRegexp);l<(r&&r.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&o&&o.res&&(n.lng=this.language||o.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,i=Array(t),o=0;o<t;o++)i[o]=arguments[o];return a&&a[0]===i[0]&&!n.context?(s.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${r[0]}`),null):s.translate(...i,r)},n)),n.interpolation&&this.interpolator.reset()}let l=n.postProcess||this.options.postProcess,u=i(l)?[l]:l;return null!=t&&u&&u.length&&!1!==n.applyPostProcessor&&(t=M.handle(u,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let r,n,o,a,s,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(r))return;let u=this.extractFromKey(t,l),c=u.key;n=c;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let h=void 0!==l.count&&!i(l.count),f=h&&!l.ordinal&&0===l.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==l.context&&(i(l.context)||"number"==typeof l.context)&&""!==l.context,m=l.lngs?l.lngs:this.languageUtils.toResolveHierarchy(l.lng||this.language,l.fallbackLng);d.forEach(t=>{this.isValidLookup(r)||(s=t,!R[`${m[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(R[`${m[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(n=>{let i;if(this.isValidLookup(r))return;a=n;let s=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,c,n,t,l);else{let t;h&&(t=this.pluralResolver.getSuffix(n,l.count,l));let r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(s.push(c+t),l.ordinal&&0===t.indexOf(i)&&s.push(c+t.replace(i,this.options.pluralSeparator)),f&&s.push(c+r)),p){let n=`${c}${this.options.contextSeparator}${l.context}`;s.push(n),h&&(s.push(n+t),l.ordinal&&0===t.indexOf(i)&&s.push(n+t.replace(i,this.options.pluralSeparator)),f&&s.push(n+r))}}for(;i=s.pop();)this.isValidLookup(r)||(o=i,r=this.getResource(n,t,i,l))}))})}),{res:r,usedKey:n,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}getResource(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.replace&&!i(t.replace),n=r?t.replace:t;if(r&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r)for(let t of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[t];return n}static hasDefaultValue(t){let r="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&void 0!==t[n])return!0;return!1}}let N=t=>t.charAt(0).toUpperCase()+t.slice(1);class D{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=P.create("languageUtils")}getScriptPartFromCode(t){if(!(t=x(t))||0>t.indexOf("-"))return null;let r=t.split("-");return 2===r.length?null:(r.pop(),"x"===r[r.length-1].toLowerCase())?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(!(t=x(t))||0>t.indexOf("-"))return t;let r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(i(t)&&t.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let r=Intl.getCanonicalLocales(t)[0];if(r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r)return r}catch(t){}let r=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=N(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=N(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){let r;return t?(t.forEach(t=>{if(r)return;let n=this.formatLanguageCode(t);(!this.options.supportedLngs||this.isSupportedCode(n))&&(r=n)}),!r&&this.options.supportedLngs&&t.forEach(t=>{if(r)return;let n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return r=n;r=this.options.supportedLngs.find(t=>{if(t===n||!(0>t.indexOf("-")&&0>n.indexOf("-"))&&(t.indexOf("-")>0&&0>n.indexOf("-")&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1))return t})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r):null}getFallbackCodes(t,r){if(!t)return[];if("function"==typeof t&&(t=t(r)),i(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];
vendor: 5,906 bytes, line 28
28return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){let n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),o=[],a=t=>{t&&(this.isSupportedCode(t)?o.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return i(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(t))):i(t)&&a(this.formatLanguageCode(t)),n.forEach(t=>{0>o.indexOf(t)&&a(this.formatLanguageCode(t))}),o}}let F=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],L={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(1==t||t%10==1&&t%100!=11?0:1),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)},$=["v1","v2","v3"],j=["v4"],U={zero:0,one:1,two:2,few:3,many:4,other:5},B=()=>{let t={};return F.forEach(r=>{r.lngs.forEach(n=>{t[n]={numbers:r.nr,plurals:L[r.fc]}})}),t};class z{constructor(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=P.create("pluralResolver"),(!this.options.compatibilityJSON||j.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=B(),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let n;let i=x("dev"===t?"en":t),o=r.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:i,type:o});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];try{n=new Intl.PluralRules(i,{type:o})}catch(o){if(!t.match(/-|_/))return;let i=this.languageUtils.getLanguagePartFromCode(t);n=this.getRule(i,r)}return this.pluralRulesCache[a]=n,n}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${r}${t}`)}getSuffixes(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,r)=>U[t]-U[r]).map(t=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,r)):[]}getSuffix(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:this.getSuffixRetroCompatible(i,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){let n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r)),i=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===i?i="plural":1===i&&(i=""));let o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}
28shouldUseIntlApi(){return!$.includes(this.options.compatibilityJSON)}}let H=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],s=m(t,r,n);return!s&&a&&i(n)&&void 0===(s=A(t,n,o))&&(s=A(r,n,o)),s},q=t=>t.replace(/\$/g,"$$$$");class V{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=P.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:h,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:g,maxReplaces:v,alwaysFormat:w}=t.interpolation;this.escape=void 0!==r?r:b,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==i&&i,this.prefix=o?y(o):a||"{{",this.suffix=s?y(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=h?y(h):f||y("$t("),this.nestingSuffix=p?y(p):m||y(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==w&&w,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(t,r)=>t&&t.source===r?(t.lastIndex=0,t):RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,n,o){let s,l,u;let c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=t=>{if(0>t.indexOf(this.formatSeparator)){let i=H(r,c,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...o,...r,interpolationkey:t}):i}let i=t.split(this.formatSeparator),a=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(H(r,c,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...o,...r,interpolationkey:a})};this.resetRegExp();let h=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>q(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?q(this.escape(t)):q(t)}].forEach(r=>{for(u=0;s=r.regex.exec(t);){let n=s[1].trim();if(void 0===(l=d(n))){if("function"==typeof h){let r=h(t,s,o);l=i(r)?r:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))l="";else if(f){l=s[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),l=""}else i(l)||this.useRawValueToEscape||(l=a(l));let c=r.safeValue(l);if(t=t.replace(s[0],c),f?(r.regex.lastIndex+=l.length,r.regex.lastIndex-=s[0].length):r.regex.lastIndex=0,++u>=this.maxReplaces)break}}),t}nest(t,r){let n,o,s,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=(t,r)=>{let n=this.nestingOptionsSeparator;if(0>t.indexOf(n))return t;let i=t.split(RegExp(`${n}[ ]*{`)),o=`{${i[1]}`;t=i[0];let a=(o=this.interpolate(o,s)).match(/'/g),l=o.match(/"/g);(a&&a.length%2==0&&!l||l.length%2!=0)&&(o=o.replace(/'/g,'"'));try{s=JSON.parse(o),r&&(s={...r,...s})}catch(r){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,r),`${t}${n}${o}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,t};for(;n=this.nestingRegexp.exec(t);){let c=[];(s=(s={...l}).replace&&!i(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let d=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),c=t,d=!0}if((o=r(u.call(this,n[1].trim(),s),s))&&n[0]===t&&!i(o))return o;i(o)||(o=a(o)),o||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),o=""),d&&(o=c.reduce((t,r)=>this.format(t,r,l.lng,{...l,interpolationkey:n[1].trim()}),o.trim())),t=t.replace(n[0],o),this.regexp.lastIndex=0}return t}}let G=t=>{let r=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){let i=t.split("(");r=i[0].toLowerCase().trim();let o=i[1].substring(0,i[1].length-1);"currency"===r&&0>o.indexOf(":")?n.currency||(n.currency=o.trim()):"relativetime"===r&&0>o.indexOf(":")?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(t){let[r,...i]=t.split(":"),o=i.join(":").trim().replace(/^'+|'+$/g,""),a=r.trim();
vendor: 1,427 bytes, line 28
28n[a]||(n[a]=o),"false"===o&&(n[a]=!1),"true"===o&&(n[a]=!0),isNaN(o)||(n[a]=parseInt(o,10))}})}return{formatName:r,formatOptions:n}},W=t=>{let r={};return(n,i,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});let s=i+JSON.stringify(a),l=r[s];return l||(l=t(x(i),o),r[s]=l),l(n)}};class K{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=P.create("formatter"),this.options=t,this.formats={number:W((t,r)=>{let n=new Intl.NumberFormat(t,{...r});return t=>n.format(t)}),currency:W((t,r)=>{let n=new Intl.NumberFormat(t,{...r,style:"currency"});return t=>n.format(t)}),datetime:W((t,r)=>{let n=new Intl.DateTimeFormat(t,{...r});return t=>n.format(t)}),relativetime:W((t,r)=>{let n=new Intl.RelativeTimeFormat(t,{...r});return t=>n.format(t,r.range||"day")}),list:W((t,r)=>{let n=new Intl.ListFormat(t,{...r});return t=>n.format(t)})},this.init(t)}init(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=W(r)}format(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&0>o[0].indexOf(")")&&o.find(t=>t.indexOf(")")>
28-1)){let t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}return o.reduce((t,r)=>{let{formatName:o,formatOptions:a}=G(r);if(this.formats[o]){let r=t;try{let s=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},l=s.locale||s.lng||i.locale||i.lng||n;r=this.formats[o](t,l,{...a,...i,...s})}catch(t){this.logger.warn(t)}return r}return this.logger.warn(`there was no format function for ${o}`),t},t)}}let Y=(t,r)=>{void 0!==t.pending[r]&&(delete t.pending[r],t.pendingCount--)};class Z extends C{constructor(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=P.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(t,r,n,i){let o={},a={},s={},l={};return t.forEach(t=>{let i=!0;r.forEach(r=>{let s=`${t}|${r}`;!n.reload&&this.store.hasResourceBundle(t,r)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===a[s]&&(a[s]=!0):(this.state[s]=1,i=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[r]&&(l[r]=!0)))}),i||(s[t]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,r,n){let i=t.split("|"),o=i[0],a=i[1];r&&this.emit("failedLoading",o,a,r),!r&&n&&this.store.addResourceBundle(o,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);let s={};this.queue.forEach(n=>{f(n.loaded,[o],a),Y(n,t),r&&n.errors.push(r),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{s[t]||(s[t]={});let r=n.loaded[t];r.length&&r.forEach(r=>{void 0===s[t][r]&&(s[t][r]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(t=>!t.done)}read(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:o,callback:a});return}this.readingCalls++;let s=(s,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}if(s&&l&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,2*o,a)},o);return}a(s,l)},l=this.backend[n].bind(this.backend);if(2===l.length){try{let n=l(t,r);n&&"function"==typeof n.then?n.then(t=>s(null,t)).catch(s):s(null,n)}catch(t){s(t)}return}return l(t,r,s)}prepareLoading(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();i(t)&&(t=this.languageUtils.toResolveHierarchy(t)),i(r)&&(r=[r]);let a=this.queueLoad(t,r,n,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach(t=>{this.loadOne(t)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(n,a)=>{n&&this.logger.warn(`${r}loading namespace ${o} for language ${i} failed`,n),!n&&a&&this.logger.log(`${r}loaded namespace ${o} for language ${i}`,a),this.loaded(t,n,a)})}saveMissing(t,r,n,i,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let l={...a,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let o;(o=5===u.length?u(t,r,n,i,l):u(t,r,n,i))&&"function"==typeof o.then?o.then(t=>s(null,t)).catch(s):s(null,o)}catch(t){s(t)}else u(t,r,n,i,s,l)}t&&t[0]&&this.store.addResource(t[0],r,n,i)}}}
vendor: 9,408 bytes, line 28
28let X=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let r={};if("object"==typeof t[1]&&(r=t[1]),i(t[1])&&(r.defaultValue=t[1]),i(t[2])&&(r.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){let n=t[3]||t[2];Object.keys(n).forEach(t=>{r[t]=n[t]})}return r},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),J=t=>(i(t.ns)&&(t.ns=[t.ns]),i(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),i(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&0>t.supportedLngs.indexOf("cimode")&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),Q=()=>{},ee=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(r=>{"function"==typeof t[r]&&(t[r]=t[r].bind(t))})};class et extends C{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=J(t),this.services={},this.logger=P,this.modules={external:[]},ee(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof r&&(n=r,r={}),!r.defaultNS&&!1!==r.defaultNS&&r.ns&&(i(r.ns)?r.defaultNS=r.ns:0>r.ns.indexOf("translation")&&(r.defaultNS=r.ns[0]));let a=X();this.options={...a,...this.options,...J(r)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),void 0!==r.keySeparator&&(this.options.userDefinedKeySeparator=r.keySeparator),void 0!==r.nsSeparator&&(this.options.userDefinedNsSeparator=r.nsSeparator);let s=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let r;this.modules.logger?P.init(s(this.modules.logger),this.options):P.init(null,this.options),this.modules.formatter?r=this.modules.formatter:"undefined"!=typeof Intl&&(r=K);let n=new D(this.options);this.store=new T(this.options.resources,this.options);let i=this.services;i.logger=P,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new z(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),r&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(i.formatter=s(r),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new V(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Z(s(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.languageDetector&&(i.languageDetector=s(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=s(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new I(this.services,this.options),this.translator.on("*",function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];t.emit(r,...i)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(r=>{this[r]=function(){return t.store[r](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(r=>{this[r]=function(){return t.store[r](...arguments),t}});let l=o(),u=()=>{let t=(t,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(r),n(t,r)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),l}loadResources(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,n=r,o=i(t)?t:this.language;if("function"==typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let t=[],r=r=>{r&&"cimode"!==r&&this.services.languageUtils.toResolveHierarchy(r).forEach(r=>{"cimode"!==r&&0>t.indexOf(r)&&t.push(r)})};o?r(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>r(t)),this.options.preload&&this.options.preload.forEach(t=>r(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(t)})}else n(null)}reloadResources(t,r,n){let i=o();return"function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=Q),this.services.backendConnector.reload(t,r,t=>{i.resolve(),n(t)}),i}use(t){if(!t)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&M.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){let r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;let a=o();this.emit("languageChanging",t);let s=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},l=(t,i)=>{i?(s(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,a.resolve(function(){return n.t(...arguments)}),r&&r(t,function(){return n.t(...arguments)})},u=r=>{t||r||!this.services.languageDetector||(r=[]);let n=i(r)?r:this.services.languageUtils.getBestMatchFromCodes(r);n&&(this.language||s(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{l(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(t):u(this.services.languageDetector.detect()),a}getFixedT(t,r,n){var o=this;let a=function(t,r){let i,s;if("object"!=typeof r){for(var l=arguments.length,u=Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];i=o.options.overloadTranslationOptionHandler([t,r].concat(u))}else i={...r};i.lng=i.lng||a.lng,i.lngs=i.lngs||a.lngs,i.ns=i.ns||a.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||a.keyPrefix);let d=o.options.keySeparator||".";return s=i.keyPrefix&&Array.isArray(t)?t.map(t=>`${i.keyPrefix}${d}${t}`):i.keyPrefix?`${i.keyPrefix}${d}${t}`:t,o.t(s,i)};return i(t)?a.lng=t:a.lngs=t,a.ns=r,a.keyPrefix=n,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
28if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=r.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let a=(t,r)=>{let n=this.services.backendConnector.state[`${t}|${r}`];return -1===n||0===n||2===n};if(r.precheck){let t=r.precheck(this,a);if(void 0!==t)return t}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(o,t)))}loadNamespaces(t,r){let n=o();return this.options.ns?(i(t)&&(t=[t]),t.forEach(t=>{0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){let n=o();i(t)&&(t=[t]);let a=this.options.preload||[],s=t.filter(t=>0>a.indexOf(t)&&this.services.languageUtils.isSupportedCode(t));return s.length?(this.options.preload=a.concat(s),this.loadResources(t=>{n.resolve(),r&&r(t)}),n):(r&&r(),Promise.resolve())}dir(t){return(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new D(X())).getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new et(t,r)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},o=new et(i);return(void 0!==t.debug||void 0!==t.prefix)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(t=>{o[t]=this[t]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new T(this.store.data,i),o.services.resourceStore=o.store),o.translator=new I(o.services,i),o.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];o.emit(t,...n)}),o.init(i,r),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let er=et.createInstance();er.createInstance=et.createInstance,er.createInstance,er.dir,er.init,er.loadResources,er.reloadResources,er.use,er.changeLanguage,er.getFixedT,er.t,er.exists,er.setDefaultNamespace,er.hasLoadedNamespace,er.loadNamespaces,er.loadLanguages},27600:function(t,r,n){"use strict";let i;function o(t){return new Promise((r,n)=>{t.oncomplete=t.onsuccess=()=>r(t.result),t.onabort=t.onerror=()=>n(t.error)})}function a(t,r){let n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(r);let i=o(n);return(t,n)=>i.then(i=>n(i.transaction(r,t).objectStore(r)))}function s(){return i||(i=a("keyval-store","keyval")),i}function l(t,r=s()){return r("readonly",r=>o(r.get(t)))}function u(t,r,n=s()){return n("readwrite",n=>(n.put(r,t),o(n.transaction)))}function c(t,r=s()){return r("readwrite",r=>(r.delete(t),o(r.transaction)))}function d(t=s()){return t("readwrite",t=>(t.clear(),o(t.transaction)))}function h(t=s()){return t("readonly",t=>{var r;if(t.getAllKeys)return o(t.getAllKeys());let n=[];return(r=t=>n.push(t.key),t.openCursor().onsuccess=function(){this.result&&(r(this.result),this.result.continue())},o(t.transaction)).then(()=>n)})}n.d(r,{IV:function(){return c},MT:function(){return a},U2:function(){return l},XP:function(){return h},ZH:function(){return d},t8:function(){return u}})},10588:function(t,r,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t){var r="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,n)}function n(){return s(t,arguments,c(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,t)})(t)}function s(t,r,n){return(s=l()?Reflect.construct:function(t,r,n){var i=[null];i.push.apply(i,r);var o=new(Function.bind.apply(t,i));return n&&u(o,n.prototype),o}).apply(null,arguments)}function l(){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(t){return!1}}function u(t,r){return(u=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}
vendor: 9,123 bytes, line 28
28function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(r,{Z:function(){return d}});var d=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&u(t,r)}(a,t);var r,n=(r=l(),function(){var t,n=c(a);return t=r?Reflect.construct(n,arguments,c(this).constructor):n.apply(this,arguments),function(t,r){if(r&&("object"===i(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return o(t)}(this,t)});function a(t){var r;return!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,a),Object.setPrototypeOf(o(r=n.call(this,t)),a.prototype),r.name=r.constructor.name,r}return Object.defineProperty(a,"prototype",{writable:!1}),a}(a(Error))},73582:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});var i={}.constructor;function o(t){return null!=t&&t.constructor===i}},91132:function(t,r,n){"use strict";function i(t,r){t=t.split("-"),r=r.split("-");for(var n=t[0].split("."),i=r[0].split("."),o=0;o<3;o++){var a=Number(n[o]),s=Number(i[o]);if(a>s)return 1;if(s>a)return -1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))return -1}return t[1]&&r[1]?t[1]>r[1]?1:t[1]<r[1]?-1:0:!t[1]&&r[1]?1:t[1]&&!r[1]?-1:0}n.d(r,{ZP:function(){return h},Gg:function(){return w},aS:function(){return _},zW:function(){return v}});var o=n(73582);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}function l(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,r,n){return r&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var c=" ext. ",d=/^\d+$/,h=function(){function t(r){s(this,t),v(r),this.metadata=r,S.call(this,r)}return u(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return"001"!==t})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!this.v1&&!this.v2&&!this.v3)return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,r){if(t&&d.test(t)&&(r=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw Error("Unknown country: ".concat(t));this.numberingPlan=new f(this.getCountryMetadata(t),this)}else if(r){if(!this.hasCallingCode(r))throw Error("Unknown calling code: ".concat(r));this.numberingPlan=new f(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var r=this.countryCallingCodes()[t];if(r){if(1===r.length&&3===r[0].length)return;return r}}},{key:"getCountryCodeForCallingCode",value:function(t){var r=this.getCountryCodesForCallingCode(t);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(t){var r=this.getCountryCodeForCallingCode(t);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var i=this.countryCallingCodes()[t];if(i&&1===i.length&&"001"===i[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),t}(),f=function(){function t(r,n){s(this,t),this.globalMetadataObject=n,this.metadata=r,S.call(this,n.metadata)}return u(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(r){return new p(r,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&y(this.types(),t))return new g(y(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?c:this.metadata[13]||c}}]),t}(),p=function(){function t(r,n){s(this,t),this._format=r,this.metadata=n}return u(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!this.nationalPrefixFormattingRule()&&!m.test(this.nationalPrefixFormattingRule())}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),t}(),m=/^\(?\$1\)?$/,g=function(){function t(r,n){s(this,t),this.type=r,this.metadata=n}return u(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
28ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),t}();function y(t,r){switch(r){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function v(t){if(!t)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!(0,o.Z)(t)||!(0,o.Z)(t.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat((0,o.Z)(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+b(t)+": "+t,"."))}var b=function(t){return a(t)};function w(t,r){if((r=new h(r)).hasCountry(t))return r.country(t).countryCallingCode();throw Error("Unknown country: ".concat(t))}function _(t,r){return r.countries.hasOwnProperty(t)}function S(t){var r=t.version;"number"==typeof r?(this.v1=1===r,this.v2=2===r,this.v3=3===r,this.v4=4===r):r?-1===i(r,"1.2.0")?this.v2=!0:-1===i(r,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}},24633:function(t,r,n){"use strict";n.d(r,{Z:function(){return s}});var i=n(73582);function o(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}function s(t){var r,n,s,l,u=function(t){if(Array.isArray(t))return t}(r=Array.prototype.slice.call(t))||function(t,r){var n,i,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],s=!0,l=!1;try{for(o=o.call(t);!(s=(n=o.next()).done)&&(a.push(n.value),4!==a.length);s=!0);}catch(t){l=!0,i=t}finally{try{s||null==o.return||o.return()}finally{if(l)throw i}}return a}}(r,4)||function(t,r){if(t){if("string"==typeof t)return a(t,4);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,4)}}(r,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=u[0],d=u[1],h=u[2],f=u[3];if("string"==typeof c)n=c;else throw TypeError("A text for parsing must be a string.");if(d&&"string"!=typeof d){if((0,i.Z)(d))h?(s=d,l=h):l=d;else throw Error("Invalid second argument: ".concat(d))}else f?(s=h,l=f):(s=void 0,l=h),d&&(s=function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?o(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}({defaultCountry:d},s));return{text:n,options:s,metadata:l}}},18297:function(t,r,n){"use strict";n.d(r,{Z:function(){return X}});var i="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",o="".concat("-â-ââã¼ï¼").concat("ï¼/").concat("ï¼.").concat(" \xa0\xadââ ã").concat("()ï¼ï¼ï¼»ï¼½\\[\\]").concat("~ââ¼ï½"),a="+ï¼",s=n(10588),l=n(91132),u=function(t){return"([".concat(i,"]{1,").concat(t,"})")};function c(t){var r="[ \xa0\\t,]*",n="[:\\.ï¼]?[ \xa0\\t,-]*",i="[ \xa0\\t]*";return";ext="+u("20")+"|"+(r+"(?:e?xt(?:ensi(?:oÌ?|\xf3))?n?|ï½
?ï½ï½ï½?|доб|anexo)"+n)+u("20")+"#?|"+(r+"(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)"+n)+u("9")+"#?|[- ]+"+u("6")+"#|"+(i+"(?:,{2}|;)"+n)+u("15")+"#?|"+(i+"(?:,)+"+n)+u("9")+"#?"}var d=RegExp("^["+a+"]{0,1}(?:["+o+"]*["+i+"]){1,2}$","i"),h="["+a+"]{0,1}(?:["+o+"]*["+i+"]){3,}["+o+i+"]*(?:"+c()+")?",f=RegExp("^["+i+"]{2}$|^"+h+"$","i"),p=RegExp("(?:"+c()+")$","i"),m={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function g(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}function y(t){for(var r,n="",i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return g(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,void 0)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(r=i()).done;){var o=r.value;n+=function(t,r,n){if("+"===t){if(r)return;return"+"}return m[t]}(o,n)||""}return n}function v(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}
28function b(t,r){return function t(r,n,i){var o=i.type(n),a=o&&o.possibleLengths()||i.possibleLengths();if(!a)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===n){if(!i.type("FIXED_LINE"))return t(r,"MOBILE",i);var s=i.type("MOBILE");s&&(a=function(t,r){for(var n,i=t.slice(),o=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return v(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,void 0)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(n=o()).done;){var a=n.value;0>t.indexOf(a)&&i.push(a)}return i.sort(function(t,r){return t-r})}(a,s.possibleLengths()))}else if(n&&!o)return"INVALID_LENGTH";var l=r.length,u=a[0];return u===l?"IS_POSSIBLE":u>l?"TOO_SHORT":a[a.length-1]<l?"TOO_LONG":a.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,void 0,r)}function w(t,r){return"IS_POSSIBLE"===b(t,r)}function _(t,r){return t=t||"",RegExp("^(?:"+r+")$").test(t)}function S(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var E=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function A(t,r,n){if(r=r||{},t.country||t.countryCallingCode){(n=new l.ZP(n)).selectNumberingPlan(t.country,t.countryCallingCode);var i=r.v2?t.nationalNumber:t.phone;if(_(i,n.nationalNumberPattern())){if(x(i,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()||!n.type("MOBILE")||x(i,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o,a=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return S(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(t,void 0)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(E);!(o=a()).done;){var s=o.value;if(x(i,s,n))return s}}}}function x(t,r,n){return!(!(r=n.type(r))||!r.pattern()||r.possibleLengths()&&0>r.possibleLengths().indexOf(t.length))&&_(t,r.pattern())}var k=RegExp("(["+i+"])");function O(t,r){var n=function(t,r){if(t&&r.numberingPlan.nationalPrefixForParsing()){var n=RegExp("^(?:"+r.numberingPlan.nationalPrefixForParsing()+")"),i=n.exec(t);if(i){var o,a,s,l=i.length-1,u=l>0&&i[l];if(r.nationalPrefixTransformRule()&&u)o=t.replace(n,r.nationalPrefixTransformRule()),l>1&&(a=i[1]);else{var c=i[0];o=t.slice(c.length),u&&(a=i[1])}if(u){var d=t.indexOf(i[1]);t.slice(0,d)===r.numberingPlan.nationalPrefix()&&(s=r.numberingPlan.nationalPrefix())}else s=i[0];return{nationalNumber:o,nationalPrefix:s,carrierCode:a}}}return{nationalNumber:t}}(t,r),i=n.carrierCode,o=n.nationalNumber;return o!==t&&(!(!_(t,r.nationalNumberPattern())||_(o,r.nationalNumberPattern()))||r.possibleLengths()&&!function(t,r){switch(b(t,r)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,r))?{nationalNumber:t}:{nationalNumber:o,carrierCode:i}}function P(t,r,n,i){if(!t)return{};if("+"!==t[0]){var o,a=function(t,r,n,i){if(r){var o=new l.ZP(i);o.selectNumberingPlan(r,n);var a=new RegExp(o.IDDPrefix());if(0===t.search(a)){var s=(t=t.slice(t.match(a)[0].length)).match(k);if(!s||null==s[1]||!(s[1].length>0)||"0"!==s[1])return t}}}(t,r,n,i);if(a&&a!==t)o=!0,t="+"+a;else{if(r||n){var s=function(t,r,n,i){var o=r?(0,l.Gg)(r,i):n;if(0===t.indexOf(o)){(i=new l.ZP(i)).selectNumberingPlan(r,n);var a=t.slice(o.length),s=O(a,i).nationalNumber,u=O(t,i).nationalNumber;if(!_(u,i.nationalNumberPattern())&&_(s,i.nationalNumberPattern())||"TOO_LONG"===b(u,i))return{countryCallingCode:o,number:a}}return{number:t}}(t,r,n,i),u=s.countryCallingCode,c=s.number;if(u)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:u,number:c}}return{number:t}}}if("0"===t[1])return{};i=new l.ZP(i);for(var d=2;d-1<=3&&d<=t.length;){var h=t.slice(1,d);if(i.hasCallingCode(h))return i.selectNumberingPlan(h),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:t.slice(d)};d++}return{}}var C=n(73582),T=/(\$\d)/,M=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function R(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}function I(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function N(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
28r%2?I(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var D={formatExtension:function(t,r,n){return"".concat(t).concat(n.ext()).concat(r)}};function F(t,r,n,i,a){var s,l,u,c,d=function(t,r){for(var n,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return R(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(t,void 0)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=i()).done;){var o=n.value;if(o.leadingDigitsPatterns().length>0){var a=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(0!==r.search(a))continue}if(_(r,o.pattern()))return o}}(i.formats(),t);return d?(l=(s={useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!a||!1!==a.nationalPrefix,carrierCode:r,metadata:i}).useInternationalFormat,u=s.withNationalPrefix,s.carrierCode,s.metadata,c=t.replace(new RegExp(d.pattern()),l?d.internationalFormat():u&&d.nationalPrefixFormattingRule()?d.format().replace(T,d.nationalPrefixFormattingRule()):d.format()),l?c.replace(RegExp("[".concat(o,"]+"),"g")," ").trim():c):t}function L(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function $(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?L(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var j=function(){var t;function r(t,n,i){if(!function(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}(this,r),!t)throw TypeError("First argument is required");if("string"!=typeof t)throw TypeError("First argument must be a string");if("string"==typeof t){if("+"===t[0]&&!n)throw TypeError("`metadata` argument not passed");if((0,C.Z)(n)&&(0,C.Z)(n.countries)){i=n;var o,a,s,u,c,d=t;if(!U.test(d))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var h=P(d,void 0,void 0,i),f=h.countryCallingCode;if(n=h.number,t=f,!n)throw Error("Invalid `number` argument passed: too short")}}if(!n)throw TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw TypeError("`nationalNumber` argument must be a string");(0,l.zW)(i);var p=(o=t,a=i,c=new l.ZP(a),/^[A-Z]{2}$/.test(o)?(s=o,c.selectNumberingPlan(s),u=c.countryCallingCode()):u=o,{country:s,countryCallingCode:u}),m=p.country,g=p.countryCallingCode;this.country=m,this.countryCallingCode=g,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return i}}return t=[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){var t,r,n,i;return this.country?[this.country]:(t=this.countryCallingCode,r=this.nationalNumber,n=this.getMetadata(),(i=new l.ZP(n).getCountryCodesForCallingCode(t))?i.filter(function(t){var i;return(i=new l.ZP(n)).selectNumberingPlan(t),i.numberingPlan.possibleLengths().indexOf(r.length)>=0}):[])}},{key:"isPossible",value:function(){return function(t,r,n){if(void 0===r&&(r={}),n=new l.ZP(n),r.v2){if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return w(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var t,r;return t={v2:!0},r=this.getMetadata(),(t=t||{},(r=new l.ZP(r)).selectNumberingPlan(this.country,this.countryCallingCode),r.hasTypes())?void 0!==A(this,t,r.metadata):_(t.v2?this.nationalNumber:this.phone,r.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new l.ZP(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return A(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,r){return function(t,r,n,i){if(n=n?N(N({},D),n):D,i=new l.ZP(i),t.country&&"001"!==t.country){if(!i.hasCountry(t.country))throw Error("Unknown country: ".concat(t.country));i.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";i.selectNumberingPlan(t.countryCallingCode)}var o,a,s,u,c,d,h,f,p,m,g,y,v,b=i.countryCallingCode(),w=n.v2?t.nationalNumber:t.phone;switch(r){case"NATIONAL":if(!w)return"";
28return o=v=F(w,t.carrierCode,"NATIONAL",i,n),a=t.ext,s=i,u=n.formatExtension,a?u(o,a,s):o;case"INTERNATIONAL":if(!w)return"+".concat(b);return v=F(w,null,"INTERNATIONAL",i,n),c=v="+".concat(b," ").concat(v),d=t.ext,h=i,f=n.formatExtension,d?f(c,d,h):c;case"E.164":return"+".concat(b).concat(w);case"RFC3966":return function(t){var r=t.number,n=t.ext;if(!r)return"";if("+"!==r[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(r).concat(n?";ext="+n:"")}({number:"+".concat(b).concat(w),ext:t.ext});case"IDD":if(!n.fromCountry)return;return p=function(t,r,n,i,o){if((0,l.Gg)(i,o.metadata)===n){var a,s,u,c=F(t,r,"NATIONAL",o);return"1"===n?n+" "+c:c}var d=(a=void 0,s=o.metadata,((u=new l.ZP(s)).selectNumberingPlan(i,a),u.defaultIDDPrefix())?u.defaultIDDPrefix():M.test(u.IDDPrefix())?u.IDDPrefix():void 0);if(d)return"".concat(d," ").concat(n," ").concat(F(t,null,"INTERNATIONAL",o))}(w,t.carrierCode,b,n.fromCountry,i),m=t.ext,g=i,y=n.formatExtension,m?y(p,m,g):p;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(r,'"'))}}(this,t,r?$($({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}],function(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(),U=/^\+\d+$/;function B(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=Array(r);n<r;n++)i[n]=t[n];return i}var z="(["+i+"]|[\\-\\.\\(\\)]?)",H=RegExp("^\\+"+z+"*["+i+"]"+z+"*$","g"),q=RegExp("^(["+i+"]+((\\-)*["+i+"])*\\.)*[a-zA-Z]+((\\-)*["+i+"])*\\.?$","g"),V="tel:",G=";phone-context=",W=RegExp("["+a+i+"]"),K=RegExp("[^"+i+"#]+$");function Y(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Z(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Y(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function X(t,r,n){return function(t,r,n){if(r=r||{},n=new l.ZP(n),r.defaultCountry&&!n.hasCountry(r.defaultCountry)){if(r.v2)throw new s.Z("INVALID_COUNTRY");throw Error("Unknown country: ".concat(r.defaultCountry))}var i,o=function(t,r,n){var i=function(t,r){var n=r.extractFormattedPhoneNumber,i=function(t){var r=t.indexOf(G);if(r<0)return null;var n=r+G.length;if(n>=t.length)return"";var i=t.indexOf(";",n);return i>=0?t.substring(n,i):t.substring(n)}(t);if(!(null===i||0!==i.length&&(H.test(i)||q.test(i))))throw new s.Z("NOT_A_NUMBER");if(null===i)o=n(t)||"";else{o="","+"===i.charAt(0)&&(o+=i);var o,a,l=t.indexOf(V);a=l>=0?l+V.length:0;var u=t.indexOf(G);o+=t.substring(a,u)}var c=o.indexOf(";isub=");if(c>0&&(o=o.substring(0,c)),""!==o)return o}(t,{extractFormattedPhoneNumber:function(t){return function(t,r,n){if(t){if(t.length>250){if(n)throw new s.Z("TOO_LONG");return}if(!1===r)return t;var i=t.search(W);if(!(i<0))return t.slice(i).replace(K,"")}}(t,n,r)}});if(!i)return{};if(!(i.length>=2&&f.test(i)))return d.test(i)?{error:"TOO_SHORT"}:{};var o=function(t){var r=t.search(p);if(r<0)return{};for(var n=t.slice(0,r),i=t.match(p),o=1;o<i.length;){if(i[o])return{number:n,ext:i[o]};o++}}(i);return o.ext?o:{number:i}}(t,r.v2,r.extract),a=o.number,u=o.ext,c=o.error;if(!a){if(r.v2){if("TOO_SHORT"===c)throw new s.Z("TOO_SHORT");throw new s.Z("NOT_A_NUMBER")}return{}}var h=function(t,r,n,i){var o,a,s,u,c,d,h,f=P(y(t),r,n,i.metadata),p=f.countryCallingCodeSource,m=f.countryCallingCode,g=f.number;if(m)i.selectNumberingPlan(m);else{if(!g||!r&&!n)return{};i.selectNumberingPlan(r,n),r&&(h=r),m=n||(0,l.Gg)(r,i.metadata)}if(!g)return{countryCallingCodeSource:p,countryCallingCode:m};var v=O(y(g),i),b=v.nationalNumber,w=v.carrierCode,_=(o=m,s=(a={nationalNumber:b,defaultCountry:r,metadata:i}).nationalNumber,u=a.defaultCountry,(d=(c=a.metadata).getCountryCodesForCallingCode(o))?1===d.length?d[0]:function(t,r){var n=r.countries,i=(r.defaultCountry,r.metadata);i=new l.ZP(i);for(var o,a=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return B(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B(t,void 0)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(o=a()).done;){var s=o.value;if(i.country(s),i.leadingDigits()){if(t&&0===t.search(i.leadingDigits()))return s}else if(A({phone:t,country:s},void 0,i.metadata))return s}}(s,{countries:d,defaultCountry:u,metadata:c.metadata}):void 0);return _&&(h=_,"001"===_||i.country(h)),{country:h,countryCallingCode:m,countryCallingCodeSource:p,nationalNumber:b,carrierCode:w}}(a,r.defaultCountry,r.defaultCallingCode,n),m=h.country,g=h.nationalNumber,v=h.countryCallingCode,b=h.countryCallingCodeSource,S=h.carrierCode;if(!n.hasSelectedNumberingPlan()){if(r.v2)throw new s.Z("INVALID_COUNTRY");return{}}if(!g||g.length<2){if(r.v2)throw new s.Z("TOO_SHORT");return{}}if(g.length>17){if(r.v2)throw new s.Z("TOO_LONG");return{}}if(r.v2){var E=new j(v,g,n.metadata);return m&&(E.country=m),S&&(E.carrierCode=S),u&&(E.ext=u),E.__countryCallingCodeSource=b,E}var x=(r.extended?!!n.hasSelectedNumberingPlan():!!m)&&_(g,n.nationalNumberPattern());return r.extended?{country:m,countryCallingCode:v,carrierCode:S,valid:x,possible:!!x||!!(!0===r.extended&&n.possibleLengths()&&w(g,n)),phone:g,ext:u}:x?(i={country:m,phone:g},u&&(i.ext=u),i):{}}(t,Z(Z({},r),{},{v2:!0}),n)}},93781:function(t,r,n){"use strict";n.d(r,{o:function(){return s}});var i=n(39863),o=n(91132);function a(t){return new o.ZP(t).getCountries()}function s(){return(0,i.Z)(a,arguments)}},19368:function(t,r,n){"use strict";n.d(r,{G:function(){return a}});var i=n(39863),o=n(91132);function a(){return(0,i.Z)(o.Gg,arguments)}},20360:function(t,r,n){"use strict";n.d(r,{y:function(){return p}});var i=n(39863),o=n(24633),a=n(18297),s=n(10588),l=n(91132);function u(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function c(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
28r%2?u(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function d(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function h(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?d(Object(n),!0).forEach(function(r){var i;i=n[r],r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function f(){var t=(0,o.Z)(arguments),r=t.text,n=t.options,i=t.metadata,u=function(t,r,n){r&&r.defaultCountry&&!(0,l.aS)(r.defaultCountry,n)&&(r=c(c({},r),{},{defaultCountry:void 0}));try{return(0,a.Z)(t,r,n)}catch(t){if(t instanceof s.Z);else throw t}}(r,n=h(h({},n),{},{extract:!1}),i);return u&&u.isValid()||!1}function p(){return(0,i.Z)(f,arguments)}},66574:function(t,r,n){"use strict";n.d(r,{h:function(){return l}});var i=n(39863),o=n(18297),a=n(24633);function s(){var t=(0,a.Z)(arguments),r=t.text,n=t.options,i=t.metadata;return(0,o.Z)(r,n,i)}function l(){return(0,i.Z)(s,arguments)}},39863:function(t,r,n){"use strict";n.d(r,{Z:function(){return o}});var i={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
286-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
28)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4
vendor: 12,078 bytes, line 28
28])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","
28(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,
vendor: 14,089 bytes, line 28
283})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3
280[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7}
28)","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
28)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4}
28)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function o(t,r){var n=Array.prototype.slice.call(r);return n.push(i),t.apply(this,n)}},81997:function(t,r,n){"use strict";var i;n.d(r,{Jb:function(){return P},Ld:function(){return C},YP:function(){return O},dy:function(){return k},sY:function(){return V}});let o=window,a=o.trustedTypes,s=a?a.createPolicy("lit-html",{createHTML:t=>t}):void 0,l="$lit$",u=`lit$${(Math.random()+"").slice(9)}$`,c="?"+u,d=`<${c}>`,h=document,f=()=>h.createComment(""),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,g=t=>m(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),y="[ \n\f\r]",v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,b=/-->/g,w=/>/g,_=RegExp(`>|${y}(?:([^\\s"'>=/]+)(${y}*=${y}*(?:[^ 29\f\r"'\`<>=]|("|')|))|$)`,"g"),S=/'/g,E=/"/g,A=/^(?:script|style|textarea|title)$/i,x=t=>(r,...n)=>({_$litType$:t,strings:r,values:n}),k=x(1),O=x(2),P=Symbol.for("lit-noChange"),C=Symbol.for("lit-nothing"),T=new WeakMap,M=h.createTreeWalker(h,129,null,!1);function R(t,r){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(r):r}let I=(t,r)=>{let n=t.length-1,i=[],o,a=2===r?"<svg>":"",s=v;for(let r=0;r<n;r++){let n=t[r],c,h,f=-1,p=0;for(;p<n.length&&(s.lastIndex=p,null!==(h=s.exec(n)));)p=s.lastIndex,s===v?"!--"===h[1]?s=b:void 0!==h[1]?s=w:void 0!==h[2]?(A.test(h[2])&&(o=RegExp("</"+h[2],"g")),s=_):void 0!==h[3]&&(s=_):s===_?">"===h[0]?(s=null!=o?o:v,f=-1):void 0===h[1]?f=-2:(f=s.lastIndex-h[2].length,c=h[1],s=void 0===h[3]?_:'"'===h[3]?E:S):s===E||s===S?s=_:s===b||s===w?s=v:(s=_,o=void 0);let m=s===_&&t[r+1].startsWith("/>")?" ":"";a+=s===v?n+d:f>=0?(i.push(c),n.slice(0,f)+l+n.slice(f)+u+m):n+u+(-2===f?(i.push(void 0),r):m)}return[R(t,a+(t[n]||"<?>")+(2===r?"</svg>":"")),i]};class N{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,s=0,d=t.length-1,h=this.parts,[p,m]=I(t,r);if(this.el=N.createElement(p,n),M.currentNode=this.el.content,2===r){let t=this.el.content,r=t.firstChild;r.remove(),t.append(...r.childNodes)}for(;null!==(i=M.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){let t=[];for(let r of i.getAttributeNames())if(r.endsWith(l)||r.startsWith(u)){let n=m[s++];if(t.push(r),void 0!==n){let t=i.getAttribute(n.toLowerCase()+l).split(u),r=/([.?@])?(.*)/.exec(n);h.push({type:1,index:o,name:r[2],strings:t,ctor:"."===r[1]?j:"?"===r[1]?B:"@"===r[1]?z:$})}else h.push({type:6,index:o})}for(let r of t)i.removeAttribute(r)}if(A.test(i.tagName)){let t=i.textContent.split(u),r=t.length-1;if(r>0){i.textContent=a?a.emptyScript:"";for(let n=0;n<r;n++)i.append(t[n],f()),M.nextNode(),h.push({type:2,index:++o});i.append(t[r],f())}}}else if(8===i.nodeType){if(i.data===c)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(u,t+1));)h.push({type:7,index:o}),t+=u.length-1}}o++}}static createElement(t,r){let n=h.createElement("template");return n.innerHTML=t,n}}function D(t,r,n=t,i){var o,a,s;if(r===P)return r;let l=void 0!==i?null===(o=n._$Co)||void 0===o?void 0:o[i]:n._$Cl,u=p(r)?void 0:r._$litDirective$;return(null==l?void 0:l.constructor)!==u&&(null===(a=null==l?void 0:l._$AO)||void 0===a||a.call(l,!1),void 0===u?l=void 0:(l=new u(t))._$AT(t,n,i),void 0!==i?(null!==(s=n._$Co)&&void 0!==s?s:n._$Co=[])[i]=l:n._$Cl=l),void 0!==l&&(r=D(t,l._$AS(t,r.values),l,i)),r}class F{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var r;let{el:{content:n},parts:i}=this._$AD,o=(null!==(r=null==t?void 0:t.creationScope)&&void 0!==r?r:h).importNode(n,!0);M.currentNode=o;let a=M.nextNode(),s=0,l=0,u=i[0];for(;void 0!==u;){if(s===u.index){let r;2===u.type?r=new L(a,a.nextSibling,this,t):1===u.type?r=new u.ctor(a,u.name,u.strings,this,t):6===u.type&&(r=new H(a,this,t)),this._$AV.push(r),u=i[++l]}s!==(null==u?void 0:u.index)&&(a=M.nextNode(),s++)}return M.currentNode=h,o}v(t){let r=0;for(let n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}}class L{constructor(t,r,n,i){var o;this.type=2,this._$AH=C,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cp=null===(o=null==i?void 0:i.isConnected)||void 0===o||o}get _$AU(){var t,r;return null!==(r=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==r?r:this._$Cp}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return void 0!==r&&11===(null==t?void 0:t.nodeType)&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){p(t=D(this,t,r))?t===C||null==t||""===t?(this._$AH!==C&&this._$AR(),this._$AH=C):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):g(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==C&&p(this._$AH)?this._$AA.nextSibling.data=t:this.$(h.createTextNode(t)),this._$AH=t}g(t){var r;let{values:n,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=N.createElement(R(i.h,i.h[0]),this.options)),i);if((null===(r=this._$AH)||void 0===r?void 0:r._$AD)===o)this._$AH.v(n);else{let t=new F(o,this),r=t.u(this.options);t.v(n),this.$(r),this._$AH=t}}
vendor: 4,310 bytes, line 29
29_$AC(t){let r=T.get(t.strings);return void 0===r&&T.set(t.strings,r=new N(t)),r}T(t){m(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let o of t)i===r.length?r.push(n=new L(this.k(f()),this.k(f()),this,this.options)):n=r[i],n._$AI(o),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,r);t&&t!==this._$AB;){let r=t.nextSibling;t.remove(),t=r}}setConnected(t){var r;void 0===this._$AM&&(this._$Cp=t,null===(r=this._$AP)||void 0===r||r.call(this,t))}}class ${constructor(t,r,n,i,o){this.type=1,this._$AH=C,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=C}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(void 0===o)(a=!p(t=D(this,t,r,0))||t!==this._$AH&&t!==P)&&(this._$AH=t);else{let i,s;let l=t;for(t=o[0],i=0;i<o.length-1;i++)(s=D(this,l[n+i],r,i))===P&&(s=this._$AH[i]),a||(a=!p(s)||s!==this._$AH[i]),s===C?t=C:t!==C&&(t+=(null!=s?s:"")+o[i+1]),this._$AH[i]=s}a&&!i&&this.j(t)}j(t){t===C?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class j extends ${constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===C?void 0:t}}let U=a?a.emptyScript:"";class B extends ${constructor(){super(...arguments),this.type=4}j(t){t&&t!==C?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}class z extends ${constructor(t,r,n,i,o){super(t,r,n,i,o),this.type=5}_$AI(t,r=this){var n;if((t=null!==(n=D(this,t,r,0))&&void 0!==n?n:C)===P)return;let i=this._$AH,o=t===C&&i!==C||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==C&&(i===C||o);o&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var r,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(r=this.options)||void 0===r?void 0:r.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class H{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){D(this,t)}}let q=o.litHtmlPolyfillSupport;null==q||q(N,L),(null!==(i=o.litHtmlVersions)&&void 0!==i?i:o.litHtmlVersions=[]).push("2.8.0");let V=(t,r,n)=>{var i,o;let a=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:r,s=a._$litPart$;if(void 0===s){let t=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;a._$litPart$=s=new L(r.insertBefore(f(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s}},23227:function(t,r,n){"use strict";var i;n.d(r,{Mo:function(){return o},Cb:function(){return l},SB:function(){return u}});let o=t=>r=>"function"==typeof r?(customElements.define(t,r),r):((t,r)=>{let{kind:n,elements:i}=r;return{kind:n,elements:i,finisher(r){customElements.define(t,r)}}})(t,r),a=(t,r)=>"method"!==r.kind||!r.descriptor||"value"in r.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:r.key,initializer(){"function"==typeof r.initializer&&(this[r.key]=r.initializer.call(this))},finisher(n){n.createProperty(r.key,t)}}:{...r,finisher(n){n.createProperty(r.key,t)}},s=(t,r,n)=>{r.constructor.createProperty(n,t)};function l(t){return(r,n)=>void 0!==n?s(t,r,n):a(t,r)}function u(t){return l({...t,state:!0})}null!=(null===(i=window.HTMLSlotElement)||void 0===i?void 0:i.prototype.assignedElements)||((t,r)=>t.assignedNodes(r).filter(t=>t.nodeType===Node.ELEMENT_NODE))},17067:function(t,r,n){"use strict";let i;n.d(r,{$:function(){return s}});var o=n(81997);class a{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}}let s=(i=class extends a{constructor(t){var r;if(super(t),1!==t.type||"class"!==t.name||(null===(r=t.strings)||void 0===r?void 0:r.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(r=>t[r]).join(" ")+" "}update(t,[r]){var n,i;if(void 0===this.it){for(let i in this.it=new Set,void 0!==t.strings&&(this.nt=ne
29w Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t))),r)!r[i]||(null===(n=this.nt)||void 0===n?void 0:n.has(i))||this.it.add(i);return this.render(r)}let a=t.element.classList;for(let t in this.it.forEach(t=>{t in r||(a.remove(t),this.it.delete(t))}),r){let n=!!r[t];n===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(n?(a.add(t),this.it.add(t)):(a.remove(t),this.it.delete(t)))}return o.Jb}},(...t)=>({_$litDirective$:i,values:t}))},32801:function(t,r,n){"use strict";n.d(r,{o:function(){return o}});var i=n(81997);let o=t=>null!=t?t:i.Ld},50714:function(t,r,n){"use strict";n.d(r,{oi:function(){return k},iv:function(){return c},dy:function(){return x.dy},YP:function(){return x.YP}});let i=window,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),s=new WeakMap;class l{constructor(t,r,n){if(this._$cssResult$=!0,n!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(o&&void 0===t){let n=void 0!==r&&1===r.length;n&&(t=s.get(r)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&s.set(r,t))}return t}toString(){return this.cssText}}let u=t=>new l("string"==typeof t?t:t+"",void 0,a),c=(t,...r)=>new l(1===t.length?t[0]:r.reduce((r,n,i)=>r+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[i+1],t[0]),t,a),d=(t,r)=>{o?t.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):r.forEach(r=>{let n=document.createElement("style"),o=i.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=r.cssText,t.appendChild(n)})},h=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return u(r)})(t):t,f=window,p=f.trustedTypes,m=p?p.emptyScript:"",g=f.reactiveElementPolyfillSupport,y={toAttribute(t,r){switch(r){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,r){let n=t;switch(r){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},v=(t,r)=>r!==t&&(r==r||t==t),b={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:v},w="finalized";class _ extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),(null!==(r=this.h)&&void 0!==r?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);void 0!==i&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=b){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||b}static finalize(){if(this.hasOwnProperty(w))return!1;this[w]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties;for(let r of[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)])this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))r.unshift(h(n));else void 0!==t&&r.push(h(t));return r}static _$Ep(t,r){let n=r.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach(t=>t(this))}addController(t){var r,n;(null!==(r=this._$ES)&&void 0!==r?r:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}
29removeController(t){var r;null===(r=this._$ES)||void 0===r||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return d(r,this.constructor.elementStyles),r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var r;return null===(r=t.hostConnected)||void 0===r?void 0:r.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach(t=>{var r;return null===(r=t.hostDisconnected)||void 0===r?void 0:r.call(t)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=b){var i;let o=this.constructor._$Ep(t,n);if(void 0!==o&&!0===n.reflect){let a=(void 0!==(null===(i=n.converter)||void 0===i?void 0:i.toAttribute)?n.converter:y).toAttribute(r,n.type);this._$El=t,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(void 0!==o&&this._$El!==o){let t=i.getPropertyOptions(o),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(n=t.converter)||void 0===n?void 0:n.fromAttribute)?t.converter:y;this._$El=o,this[o]=a.fromAttribute(r,t.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,r)=>this[r]=t),this._$Ei=void 0);let r=!1,n=this._$AL;try{(r=this.shouldUpdate(n))?(this.willUpdate(n),null===(t=this._$ES)||void 0===t||t.forEach(t=>{var r;return null===(r=t.hostUpdate)||void 0===r?void 0:r.call(t)}),this.update(n)):this._$Ek()}catch(t){throw r=!1,this._$Ek(),t}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;null===(r=this._$ES)||void 0===r||r.forEach(t=>{var r;return null===(r=t.hostUpdated)||void 0===r?void 0:r.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,r)=>this._$EO(r,this[r],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}_[w]=!0,_.elementProperties=new Map,_.elementStyles=[],_.shadowRootOptions={mode:"open"},null==g||g({ReactiveElement:_}),(null!==(S=f.reactiveElementVersions)&&void 0!==S?S:f.reactiveElementVersions=[]).push("1.6.3");var S,E,A,x=n(81997);class k extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return null!==(t=(r=this.renderOptions).renderBefore)&&void 0!==t||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,x.sY)(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return x.Jb}}k.finalized=!0,k._$litElement$=!0,null===(E=globalThis.litElementHydrateSupport)||void 0===E||E.call(globalThis,{LitElement:k});let O=globalThis.litElementPolyfillSupport;null==O||O({LitElement:k}),(null!==(A=globalThis.litElementVersions)&&void 0!==A?A:globalThis.litElementVersions=[]).push("3.3.3")},49015:function(t,r,n){"use strict";n.d(r,{x:function(){return i}});let i=(t=21)=>{let r="",n=0|t;for(;n--;)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return r}},35398:function(t,r,n){"use strict";n.d(r,{tv:function(){return y}});var i,o,a,s=n(2265),l=Object.defineProperty,u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,h=(t,r,n)=>r in t?l(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,f=(t,r)=>{for(var n in r||(r={}))c.call(r,n)&&h(t,n,r[n]);if(u)for(var n of u(r))d.call(r,n)&&h(t,n,r[n]);return t},p=(t,r)=>{var n={};for(var i in t)c.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&u)for(var i of u(t))0>r.indexOf(i)&&d.call(t,i)&&(n[i]=t[i]);return n};(t=>{let r=class{constructor(t,n,i,a){if(this.version=t,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],t<r.MIN_VERSION||t>r.MAX_VERSION)throw RangeError("Version value out of range");if(a<-1||a>7)throw RangeError("Mask value out of range");this.size=4*t+17;let s=[];for(let t=0;t<this.size;t++)s.push(!1);for(let t=0;t<this.size;t++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();let l=this.addEccAndInterleave(i);if(this.drawCodewords(l),-1==a){let t=1e9;for(let r=0;r<8;r++){this.applyMask(r),this.drawFormatBits(r);let n=this.getPenaltyScore();n<t&&(a=r,t=n),this.applyMask(r)}}o(0<=a&&a<=7),this.mask=a,this.applyMask(a),this.drawFormatBits(a),this.isFunction=[]}static encodeText(n,i){let o=t.QrSegment.makeSegments(n);return r.encodeSegments(o,i)}static encodeBinary(n,i){let o=t.QrSegment.makeBytes(n);return r.encodeSegments([o],i)}static encodeSegments(t,i,a=1,l=40,u=-1,c=!0){let d,h;
vendor: 9,624 bytes, line 29
29if(!(r.MIN_VERSION<=a&&a<=l&&l<=r.MAX_VERSION)||u<-1||u>7)throw RangeError("Invalid value");for(d=a;;d++){let n=8*r.getNumDataCodewords(d,i),o=s.getTotalBits(t,d);if(o<=n){h=o;break}if(d>=l)throw RangeError("Data too long")}for(let t of[r.Ecc.MEDIUM,r.Ecc.QUARTILE,r.Ecc.HIGH])c&&h<=8*r.getNumDataCodewords(d,t)&&(i=t);let f=[];for(let r of t)for(let t of(n(r.mode.modeBits,4,f),n(r.numChars,r.mode.numCharCountBits(d),f),r.getData()))f.push(t);o(f.length==h);let p=8*r.getNumDataCodewords(d,i);o(f.length<=p),n(0,Math.min(4,p-f.length),f),n(0,(8-f.length%8)%8,f),o(f.length%8==0);for(let t=236;f.length<p;t^=253)n(t,8,f);let m=[];for(;8*m.length<f.length;)m.push(0);return f.forEach((t,r)=>m[r>>>3]|=t<<7-(7&r)),new r(d,i,m,u)}getModule(t,r){return 0<=t&&t<this.size&&0<=r&&r<this.size&&this.modules[r][t]}getModules(){return this.modules}drawFunctionPatterns(){for(let t=0;t<this.size;t++)this.setFunctionModule(6,t,t%2==0),this.setFunctionModule(t,6,t%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let t=this.getAlignmentPatternPositions(),r=t.length;for(let n=0;n<r;n++)for(let i=0;i<r;i++)0==n&&0==i||0==n&&i==r-1||n==r-1&&0==i||this.drawAlignmentPattern(t[n],t[i]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(t){let r=this.errorCorrectionLevel.formatBits<<3|t,n=r;for(let t=0;t<10;t++)n=n<<1^(n>>>9)*1335;let a=(r<<10|n)^21522;o(a>>>15==0);for(let t=0;t<=5;t++)this.setFunctionModule(8,t,i(a,t));this.setFunctionModule(8,7,i(a,6)),this.setFunctionModule(8,8,i(a,7)),this.setFunctionModule(7,8,i(a,8));for(let t=9;t<15;t++)this.setFunctionModule(14-t,8,i(a,t));for(let t=0;t<8;t++)this.setFunctionModule(this.size-1-t,8,i(a,t));for(let t=8;t<15;t++)this.setFunctionModule(8,this.size-15+t,i(a,t));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let t=this.version;for(let r=0;r<12;r++)t=t<<1^(t>>>11)*7973;let r=this.version<<12|t;o(r>>>18==0);for(let t=0;t<18;t++){let n=i(r,t),o=this.size-11+t%3,a=Math.floor(t/3);this.setFunctionModule(o,a,n),this.setFunctionModule(a,o,n)}}drawFinderPattern(t,r){for(let n=-4;n<=4;n++)for(let i=-4;i<=4;i++){let o=Math.max(Math.abs(i),Math.abs(n)),a=t+i,s=r+n;0<=a&&a<this.size&&0<=s&&s<this.size&&this.setFunctionModule(a,s,2!=o&&4!=o)}}drawAlignmentPattern(t,r){for(let n=-2;n<=2;n++)for(let i=-2;i<=2;i++)this.setFunctionModule(t+i,r+n,1!=Math.max(Math.abs(i),Math.abs(n)))}setFunctionModule(t,r,n){this.modules[r][t]=n,this.isFunction[r][t]=!0}addEccAndInterleave(t){let n=this.version,i=this.errorCorrectionLevel;if(t.length!=r.getNumDataCodewords(n,i))throw RangeError("Invalid argument");let a=r.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][n],s=r.ECC_CODEWORDS_PER_BLOCK[i.ordinal][n],l=Math.floor(r.getNumRawDataModules(n)/8),u=a-l%a,c=Math.floor(l/a),d=[],h=r.reedSolomonComputeDivisor(s);for(let n=0,i=0;n<a;n++){let o=t.slice(i,i+c-s+(n<u?0:1));i+=o.length;let a=r.reedSolomonComputeRemainder(o,h);n<u&&o.push(0),d.push(o.concat(a))}let f=[];for(let t=0;t<d[0].length;t++)d.forEach((r,n)=>{(t!=c-s||n>=u)&&f.push(r[t])});return o(f.length==l),f}drawCodewords(t){if(t.length!=Math.floor(r.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let n=0;for(let r=this.size-1;r>=1;r-=2){6==r&&(r=5);for(let o=0;o<this.size;o++)for(let a=0;a<2;a++){let s=r-a,l=(r+1&2)==0?this.size-1-o:o;!this.isFunction[l][s]&&n<8*t.length&&(this.modules[l][s]=i(t[n>>>3],7-(7&n)),n++)}}o(n==8*t.length)}applyMask(t){if(t<0||t>7)throw RangeError("Mask value out of range");for(let r=0;r<this.size;r++)for(let n=0;n<this.size;n++){let i;switch(t){case 0:i=(n+r)%2==0;break;case 1:i=r%2==0;break;case 2:i=n%3==0;break;case 3:i=(n+r)%3==0;break;case 4:i=(Math.floor(n/3)+Math.floor(r/2))%2==0;break;case 5:i=n*r%2+n*r%3==0;break;case 6:i=(n*r%2+n*r%3)%2==0;break;case 7:i=((n+r)%2+n*r%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[r][n]&&i&&(this.modules[r][n]=!this.modules[r][n])}}getPenaltyScore(){let t=0;for(let n=0;n<this.size;n++){let i=!1,o=0,a=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[n][s]==i?5==++o?t+=r.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,a),i||(t+=this.finderPenaltyCountPatterns(a)*r.PENALTY_N3),i=this.modules[n][s],o=1);t+=this.finderPenaltyTerminateAndCount(i,o,a)*r.PENALTY_N3}for(let n=0;n<this.size;n++){let i=!1,o=0,a=[0,0,0,0,0,0,0];for(let s=0;s<this.size;s++)this.modules[s][n]==i?5==++o?t+=r.PENALTY_N1:o>5&&t++:(this.finderPenaltyAddHistory(o,a),i||(t+=this.finderPenaltyCountPatterns(a)*r.PENALTY_N3),i=this.modules[s][n],o=1);t+=this.finderPenaltyTerminateAndCount(i,o,a)*r.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let i=0;i<this.size-1;i++){let o=this.modules[n][i];o==this.modules[n][i+1]&&o==this.modules[n+1][i]&&o==this.modules[n+1][i+1]&&(t+=r.PENALTY_N2)}let n=0;for(let t of this.modules)n=t.reduce((t,r)=>t+(r?1:0),n);let i=this.size*this.size,a=Math.ceil(Math.abs(20*n-10*i)/i)-1;return o(0<=a&&a<=9),o(0<=(t+=a*r.PENALTY_N4)&&t<=2568888),t}getAlignmentPatternPositions(){if(1==this.version)return[];{let t=Math.floor(this.version/7)+2,r=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*t-2)),n=[6];for(let i=this.size-7;n.length<t;i-=r)n.splice(1,0,i);return n}}static getNumRawDataModules(t){if(t<r.MIN_VERSION||t>r.MAX_VERSION)throw RangeError("Version number out of range");let n=(16*t+128)*t+64;if(t>=2){let r=Math.floor(t/7)+2;n-=(25*r-10)*r-55,t>=7&&(n-=36)}return o(208<=n&&n<=29648),n}static getNumDataCodewords(t,n){return Math.floor(r.getNumRawDataModules(t)/8)-r.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*r.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}static reedSolomonComputeDivisor(t){if(t<1||t>255)throw RangeError("Degree out of range");let n=[];for(let r=0;r<t-1;r++)n.push(0);n.push(1);let i=1;for(let o=0;o<t;o++){for(let t=0;t<n.length;t++)n[t]=r.reedSolomonMultiply(n[t],i),t+1<n.length&&(n[t]^=n[t+1]);i=r.reedSolomonMultiply(i,2)}return n}static reedSolomonComputeRemainder(t,n){let i=n.map(t=>0);for(let o of t){let t=o^i.shift();i.push(0),n.forEach((n,o)=>i[o]^=r.reedSolomonMultiply(n,t))}return i}static reedSolomonMultiply(t,r){if(t>>>8!=0||r>>>8!=0)throw RangeError("Byte out of range");let n=0;for(let i=7;i>=0;i--)n=n<<1^(n>>>7)*285^(r>>>i&1)*t;return o(n>>>8==0),n}finderPenaltyCountPatterns(t){let r=t[1];o(r<=3*this.size);let n=r>0&&t[2]==r&&t[3]==3*r&&t[4]==r&&t[5]==r;return(n&&t[0]>=4*r&&t[6]>=r?1:0)+(n&&t[6]>=4*r&&t[0]>=r?1:0)}finderPenaltyTerminateAndCount(t,r,n){return t&&(this.finderPenaltyAddHistory(r,n),r=0),r+=this.size,this.finderPenaltyAddHistory(r,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(t,r){0==r[0]&&(t+=this.size),r.pop(),r.unshift(t)}};function n(t,r,n){if(r<0||r>31||t>>>r!=0)throw RangeError("Value out of range");for(let i=r-1;i>=0;i--)n.push(t>>>i&1)}function i(t,r){return(t>>>r&1)!=0}function o(t){if(!t)throw Error("Assertion error")}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],t.QrCode=r;let a=class{constructor(t,r,n){if(this.mode=t,this.numChars=r,this.bitData=n,r<0)throw RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(t){let r=[];for(let i of t)n(i,8,r);return new a(a.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!a.isNumeric(t))throw RangeError("String contains non-numeric characters");let r=[];for(let i=0;i<t.length;){let o=Math.min(t.length-i,3);n(parseInt(t.substr(i,o),10),3*o+1,r),i+=o}return new a(a.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){let r;if(!a.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");let i=[];for(r=0;r+2<=t.length;r+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r));n(o+=a.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),11,i)}return r<t.length&&n(a.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,i),new a(a.Mode.ALPHANUMERIC,t.length,i)}static makeSegments(t){return""==t?[]:a.isNumeric(t)?[a.makeNumeric(t)]:a.isAlphanumeric(t)?[a.makeAlphanumeric(t)]:[a.makeBytes(a.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)n(t,8,r);else if(t<16384)n(2,2,r),n(t,14,r);else if(t<1e6)n(6,3,r),n(t,21,r);else throw RangeError("ECI assignment value out of range");return new a(a.Mode.ECI,0,r)}static isNumeric(t){return a.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return a.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(t,r){let n=0;for(let i of t){let t=i.mode.numCharCountBits(r);if(i.numChars>=1<<t)return 1/0;n+=4+t+i.bitData.length}return n}static toUtf8ByteArray(t){t=encodeURI(t);let r=[];for(let n=0;n<t.length;
29n++)"%"!=t.charAt(n)?r.push(t.charCodeAt(n)):(r.push(parseInt(t.substr(n+1,2),16)),n+=2);return r}},s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.QrSegment=s})(a||(a={})),(t=>{let r=class{constructor(t,r){this.ordinal=t,this.formatBits=r}};r.LOW=new r(0,1),r.MEDIUM=new r(1,0),r.QUARTILE=new r(2,3),r.HIGH=new r(3,2),t.Ecc=r})((i=a||(a={})).QrCode||(i.QrCode={})),(t=>{let r=class{constructor(t,r){this.modeBits=t,this.numBitsCharCount=r}numCharCountBits(t){return this.numBitsCharCount[Math.floor((t+7)/17)]}};r.NUMERIC=new r(1,[10,12,14]),r.ALPHANUMERIC=new r(2,[9,11,13]),r.BYTE=new r(4,[8,16,16]),r.KANJI=new r(8,[8,10,12]),r.ECI=new r(7,[0,0,0]),t.Mode=r})((o=a||(a={})).QrSegment||(o.QrSegment={}));var m=a,g={L:m.QrCode.Ecc.LOW,M:m.QrCode.Ecc.MEDIUM,Q:m.QrCode.Ecc.QUARTILE,H:m.QrCode.Ecc.HIGH};function y(t){let{value:r,size:n=128,level:i="L",bgColor:o="#FFFFFF",fgColor:a="#000000",includeMargin:l=!1,imageSettings:u}=t,c=p(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),d=m.QrCode.encodeText(r,g[i]).getModules(),h=l?4:0,y=d.length+2*h,v=function(t,r,n,i){if(null==i)return null;let o=t.length+2*(n?4:0),a=Math.floor(.1*r),s=o/r,l=(i.width||a)*s,u=(i.height||a)*s,c=null==i.x?t.length/2-l/2:i.x*s,d=null==i.y?t.length/2-u/2:i.y*s,h=null;if(i.excavate){let t=Math.floor(c),r=Math.floor(d);h={x:t,y:r,w:Math.ceil(l+c-t),h:Math.ceil(u+d-r)}}return{x:c,y:d,h:u,w:l,excavation:h}}(d,n,l,u),b=null;if(null!=u&&null!=v){if(null!=v.excavation){var w,_;w=d,_=v.excavation,d=w.slice().map((t,r)=>r<_.y||r>=_.y+_.h?t:t.map((t,r)=>(r<_.x||r>=_.x+_.w)&&t))}b=s.createElement("image",{xlinkHref:u.src,height:v.h,width:v.w,x:v.x+h,y:v.y+h,preserveAspectRatio:"none"})}let S=function(t,r=0){let n=[];return t.forEach(function(t,i){let o=null;t.forEach(function(a,s){if(!a&&null!==o){n.push(`M${o+r} ${i+r}h${s-o}v1H${o+r}z`),o=null;return}if(s===t.length-1){if(!a)return;null===o?n.push(`M${s+r},${i+r} h1v1H${s+r}z`):n.push(`M${o+r},${i+r} h${s+1-o}v1H${o+r}z`);return}a&&null===o&&(o=s)})}),n.join("")}(d,h);return s.createElement("svg",f({height:n,width:n,viewBox:`0 0 ${y} ${y}`},c),s.createElement("path",{fill:o,d:`M0,0 h${y}v${y}H0z`,shapeRendering:"crispEdges"}),s.createElement("path",{fill:a,d:S,shapeRendering:"crispEdges"}),b)}!function(){try{new Path2D().addPath(new Path2D)}catch(t){return!1}}()},29501:function(t,r,n){"use strict";n.d(r,{Gc:function(){return O},KN:function(){return $},Qr:function(){return L},RV:function(){return P},U2:function(){return v},cI:function(){return eA},t8:function(){return S}});var i=n(2265),o=t=>"checkbox"===t.type,a=t=>t instanceof Date,s=t=>null==t;let l=t=>"object"==typeof t;var u=t=>!s(t)&&!Array.isArray(t)&&l(t)&&!a(t),c=t=>u(t)&&t.target?o(t.target)?t.target.checked:t.target.value:t,d=t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t,h=(t,r)=>t.has(d(r)),f=t=>{let r=t.constructor&&t.constructor.prototype;return u(r)&&r.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function m(t){let r;let n=Array.isArray(t),i="undefined"!=typeof FileList&&t instanceof FileList;if(t instanceof Date)r=new Date(t);else if(t instanceof Set)r=new Set(t);else if(!(!(p&&(t instanceof Blob||i))&&(n||u(t))))return t;else if(r=n?[]:{},n||f(t))for(let n in t)t.hasOwnProperty(n)&&(r[n]=m(t[n]));else r=t;return r}var g=t=>Array.isArray(t)?t.filter(Boolean):[],y=t=>void 0===t,v=(t,r,n)=>{if(!r||!u(t))return n;let i=g(r.split(/[,[\].]+?/)).reduce((t,r)=>s(t)?t:t[r],t);return y(i)||i===t?y(t[r])?n:t[r]:i},b=t=>"boolean"==typeof t,w=t=>/^\w*$/.test(t),_=t=>g(t.replace(/["|']|\]/g,"").split(/\.|\[/)),S=(t,r,n)=>{let i=-1,o=w(r)?[r]:_(r),a=o.length,s=a-1;for(;++i<a;){let r=o[i],a=n;if(i!==s){let n=t[r];a=u(n)||Array.isArray(n)?n:isNaN(+o[i+1])?{}:[]}if("__proto__"===r||"constructor"===r||"prototype"===r)return;t[r]=a,t=t[r]}return t};let E={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},A={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},x={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},k=i.createContext(null),O=()=>i.useContext(k),P=t=>{let{children:r,...n}=t;return i.createElement(k.Provider,{value:n},r)};var C=(t,r,n,i=!0)=>{let o={defaultValues:r._defaultValues};for(let a in t)Object.defineProperty(o,a,{get:()=>(r._proxyFormState[a]!==A.all&&(r._proxyFormState[a]=!i||A.all),n&&(n[a]=!0),t[a])});return o},T=t=>u(t)&&!Object.keys(t).length,M=(t,r,n,i)=>{n(t);let{name:o,...a}=t;return T(a)||Object.keys(a).length>=Object.keys(r).length||Object.keys(a).find(t=>r[t]===(!i||A.all))},R=t=>Array.isArray(t)?t:[t],I=(t,r,n)=>!t||!r||t===r||R(t).some(t=>t&&(n?t===r:t.startsWith(r)||r.startsWith(t)));function N(t){let r=i.useRef(t);r.current=t,i.useEffect(()=>{let n=!t.disabled&&r.current.subject&&r.current.subject.subscribe({next:r.current.next});return()=>{n&&n.unsubscribe()}},[t.disabled])}var D=t=>"string"==typeof t,F=(t,r,n,i,o)=>D(t)?(i&&r.watch.add(t),v(n,t,o)):Array.isArray(t)?t.map(t=>(i&&r.watch.add(t),v(n,t))):(i&&(r.watchAll=!0),n);let L=t=>t.render(function(t){let r=O(),{name:n,disabled:o,control:a=r.control,shouldUnregister:s}=t,l=h(a._names.array,n),u=function(t){let r=O(),{control:n=r.control,name:o,defaultValue:a,disabled:s,exact:l}=t||{},u=i.useRef(o);u.current=o,N({disabled:s,subject:n._subjects.values,next:t=>{I(u.current,t.name,l)&&d(m(F(u.current,n._names,t.values||n._formValues,!1,a)))}});let[c,d]=i.useState(n._getWatch(o,a));return i.useEffect(()=>n._removeUnmounted()),c}({control:a,name:n,defaultValue:v(a._formValues,n,v(a._defaultValues,n,t.defaultValue)),exact:!0}),d=function(t){let r=O(),{control:n=r.control,disabled:o,name:a,exact:s}=t||{},[l,u]=i.useState(n._formState),c=i.useRef(!0),d=i.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),h=i.useRef(a);return h.current=a,N({disabled:o,next:t=>c.current&&I(h.current,t.name,s)&&M(t,d.current,n._updateFormState)&&u({...n._formState,...t}),subject:n._subjects.state}),i.useEffect(()=>
vendor: 18,292 bytes, line 29
29(c.current=!0,d.current.isValid&&n._updateValid(!0),()=>{c.current=!1}),[n]),i.useMemo(()=>C(l,n,d.current,!1),[l,n])}({control:a,name:n,exact:!0}),f=i.useRef(a.register(n,{...t.rules,value:u,...b(t.disabled)?{disabled:t.disabled}:{}})),p=i.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!v(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!v(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!v(d.validatingFields,n)},error:{enumerable:!0,get:()=>v(d.errors,n)}}),[d,n]),g=i.useMemo(()=>({name:n,value:u,...b(o)||d.disabled?{disabled:d.disabled||o}:{},onChange:t=>f.current.onChange({target:{value:c(t),name:n},type:E.CHANGE}),onBlur:()=>f.current.onBlur({target:{value:v(a._formValues,n),name:n},type:E.BLUR}),ref:t=>{let r=v(a._fields,n);r&&t&&(r._f.ref={focus:()=>t.focus(),select:()=>t.select(),setCustomValidity:r=>t.setCustomValidity(r),reportValidity:()=>t.reportValidity()})}}),[n,a._formValues,o,d.disabled,u,a._fields]);return i.useEffect(()=>{let t=a._options.shouldUnregister||s,r=(t,r)=>{let n=v(a._fields,t);n&&n._f&&(n._f.mount=r)};if(r(n,!0),t){let t=m(v(a._options.defaultValues,n));S(a._defaultValues,n,t),y(v(a._formValues,n))&&S(a._formValues,n,t)}return l||a.register(n),()=>{(l?t&&!a._state.action:t)?a.unregister(n):r(n,!1)}},[n,a,l,s]),i.useEffect(()=>{a._updateDisabledField({disabled:o,fields:a._fields,name:n})},[o,n,a]),i.useMemo(()=>({field:g,formState:d,fieldState:p}),[g,d,p])}(t));var $=(t,r,n,i,o)=>r?{...n[t],types:{...n[t]&&n[t].types?n[t].types:{},[i]:o||!0}}:{},j=t=>({isOnSubmit:!t||t===A.onSubmit,isOnBlur:t===A.onBlur,isOnChange:t===A.onChange,isOnAll:t===A.all,isOnTouch:t===A.onTouched}),U=(t,r,n)=>!n&&(r.watchAll||r.watch.has(t)||[...r.watch].some(r=>t.startsWith(r)&&/^\.\w+/.test(t.slice(r.length))));let B=(t,r,n,i)=>{for(let o of n||Object.keys(t)){let n=v(t,o);if(n){let{_f:t,...a}=n;if(t){if(t.refs&&t.refs[0]&&r(t.refs[0],o)&&!i||t.ref&&r(t.ref,t.name)&&!i)return!0;if(B(a,r))break}else if(u(a)&&B(a,r))break}}};var z=(t,r,n)=>{let i=R(v(t,n));return S(i,"root",r[n]),S(t,n,i),t},H=t=>"file"===t.type,q=t=>"function"==typeof t,V=t=>{if(!p)return!1;let r=t?t.ownerDocument:0;return t instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},G=t=>D(t),W=t=>"radio"===t.type,K=t=>t instanceof RegExp;let Y={value:!1,isValid:!1},Z={value:!0,isValid:!0};var X=t=>{if(Array.isArray(t)){if(t.length>1){let r=t.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:r,isValid:!!r.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!y(t[0].attributes.value)?y(t[0].value)||""===t[0].value?Z:{value:t[0].value,isValid:!0}:Z:Y}return Y};let J={isValid:!1,value:null};var Q=t=>Array.isArray(t)?t.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,J):J;function ee(t,r,n="validate"){if(G(t)||Array.isArray(t)&&t.every(G)||b(t)&&!t)return{type:n,message:G(t)?t:"",ref:r}}var et=t=>u(t)&&!K(t)?t:{value:t,message:""},er=async(t,r,n,i,a,l)=>{let{ref:c,refs:d,required:h,maxLength:f,minLength:p,min:m,max:g,pattern:w,validate:_,name:S,valueAsNumber:E,mount:A}=t._f,k=v(n,S);if(!A||r.has(S))return{};let O=d?d[0]:c,P=t=>{a&&O.reportValidity&&(O.setCustomValidity(b(t)?"":t||""),O.reportValidity())},C={},M=W(c),R=o(c),I=(E||H(c))&&y(c.value)&&y(k)||V(c)&&""===c.value||""===k||Array.isArray(k)&&!k.length,N=$.bind(null,S,i,C),F=(t,r,n,i=x.maxLength,o=x.minLength)=>{let a=t?r:n;C[S]={type:t?i:o,message:a,ref:c,...N(t?i:o,a)}};if(l?!Array.isArray(k)||!k.length:h&&(!(M||R)&&(I||s(k))||b(k)&&!k||R&&!X(d).isValid||M&&!Q(d).isValid)){let{value:t,message:r}=G(h)?{value:!!h,message:h}:et(h);if(t&&(C[S]={type:x.required,message:r,ref:O,...N(x.required,r)},!i))return P(r),C}if(!I&&(!s(m)||!s(g))){let t,r;let n=et(g),o=et(m);if(s(k)||isNaN(k)){let i=c.valueAsDate||new Date(k),a=t=>new Date(new Date().toDateString()+" "+t),s="time"==c.type,l="week"==c.type;D(n.value)&&k&&(t=s?a(k)>a(n.value):l?k>n.value:i>new Date(n.value)),D(o.value)&&k&&(r=s?a(k)<a(o.value):l?k<o.value:i<new Date(o.value))}else{let i=c.valueAsNumber||(k?+k:k);s(n.value)||(t=i>n.value),s(o.value)||(r=i<o.value)}if((t||r)&&(F(!!t,n.message,o.message,x.max,x.min),!i))return P(C[S].message),C}if((f||p)&&!I&&(D(k)||l&&Array.isArray(k))){let t=et(f),r=et(p),n=!s(t.value)&&k.length>+t.value,o=!s(r.value)&&k.length<+r.value;if((n||o)&&(F(n,t.message,r.message),!i))return P(C[S].message),C}if(w&&!I&&D(k)){let{value:t,message:r}=et(w);if(K(t)&&!k.match(t)&&(C[S]={type:x.pattern,message:r,ref:c,...N(x.pattern,r)},!i))return P(r),C}if(_){if(q(_)){let t=ee(await _(k,n),O);if(t&&(C[S]={...t,...N(x.validate,t.message)},!i))return P(t.message),C}else if(u(_)){let t={};for(let r in _){if(!T(t)&&!i)break;let o=ee(await _[r](k,n),O,r);o&&(t={...o,...N(r,o.message)},P(o.message),i&&(C[S]=t))}if(!T(t)&&(C[S]={ref:O,...t},!i))return C}}return P(!0),C};function en(t,r){let n=Array.isArray(r)?r:w(r)?[r]:_(r),i=1===n.length?t:function(t,r){let n=r.slice(0,-1).length,i=0;for(;i<n;)t=y(t)?i++:t[r[i++]];return t}(t,n),o=n.length-1,a=n[o];return i&&delete i[a],0!==o&&(u(i)&&T(i)||Array.isArray(i)&&function(t){for(let r in t)if(t.hasOwnProperty(r)&&!y(t[r]))return!1;return!0}(i))&&en(t,n.slice(0,-1)),t}var ei=()=>{let t=[];return{get observers(){return t},next:r=>{for(let n of t)n.next&&n.next(r)},subscribe:r=>(t.push(r),{unsubscribe:()=>{t=t.filter(t=>t!==r)}}),unsubscribe:()=>{t=[]}}},eo=t=>s(t)||!l(t);function ea(t,r){if(eo(t)||eo(r))return t===r;if(a(t)&&a(r))return t.getTime()===r.getTime();let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(let o of n){let n=t[o];if(!i.includes(o))return!1;if("ref"!==o){let t=r[o];if(a(n)&&a(t)||u(n)&&u(t)||Array.isArray(n)&&Array.isArray(t)?!ea(n,t):n!==t)return!1}}return!0}var es=t=>"select-multiple"===t.type,el=t=>W(t)||o(t),eu=t=>V(t)&&t.isConnected,ec=t=>{for(let r in t)if(q(t[r]))return!0;return!1};function ed(t,r={}){let n=Array.isArray(t);if(u(t)||n)for(let n in t)Array.isArray(t[n])||u(t[n])&&!ec(t[n])?(r[n]=Array.isArray(t[n])?[]:{},ed(t[n],r[n])):s(t[n])||(r[n]=!0);return r}var eh=(t,r)=>(function t(r,n,i){let o=Array.isArray(r);if(u(r)||o)for(let o in r)Array.isArray(r[o])||u(r[o])&&!ec(r[o])?y(n)||eo(i[o])?i[o]=Array.isArray(r[o])?ed(r[o],[]):{...ed(r[o])}:t(r[o],s(n)?{}:n[o],i[o]):i[o]=!ea(r[o],n[o]);return i})(t,r,ed(r)),ef=(t,{valueAsNumber:r,valueAsDate:n,setValueAs:i})=>y(t)?t:r?""===t?NaN:t?+t:t:n&&D(t)?new Date(t):i?i(t):t;function ep(t){let r=t.ref;return H(r)?r.files:W(r)?Q(t.refs).value:es(r)?[...r.selectedOptions].map(({value:t})=>t):o(r)?X(t.refs).value:ef(y(r.value)?t.ref.value:r.value,t)}var em=(t,r,n,i)=>{let o={};for(let n of t){let t=v(r,n);t&&S(o,n,t._f)}return{criteriaMode:n,names:[...t],fields:o,shouldUseNativeValidation:i}},eg=t=>y(t)?t:K(t)?t.source:u(t)?K(t.value)?t.value.source:t.value:t;let ey="AsyncFunction";var ev=t=>!!t&&!!t.validate&&!!(q(t.validate)&&t.validate.constructor.name===ey||u(t.validate)&&Object.values(t.validate).find(t=>t.constructor.name===ey)),eb=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate);function ew(t,r,n){let i=v(t,n);if(i||w(n))return{error:i,name:n};let o=n.split(".");for(;o.length;){let i=o.join("."),a=v(r,i),s=v(t,i);if(a&&!Array.isArray(a)&&n!==i)break;if(s&&s.type)return{name:i,error:s};o.pop()}return{name:n}}var e_=(t,r,n,i,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(r||t):(n?i.isOnBlur:o.isOnBlur)?!t:(n?!i.isOnChange:!o.isOnChange)||t),eS=(t,r)=>!g(v(t,r)).length&&en(t,r);let eE={mode:A.onSubmit,reValidateMode:A.onChange,shouldFocusError:!0};function eA(t={}){let r=i.useRef(void 0),n=i.useRef(void 0),[l,d]=i.useState({isDirty:!1,isValidating:!1,isLoading:q(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,defaultValues:q(t.defaultValues)?void 0:t.defaultValues});r.current||(r.current={...function(t={}){let r,n={...eE,...t},i={submitCount:0,isDirty:!1,isLoading:q(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},l={},d=(u(n.defaultValues)||u(n.values))&&m(n.defaultValues||n.values)||{},f=n.shouldUnregister?{}:m(d),w={action:!1,mount:!1,watch:!1},_={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},x=0,k={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},O={values:ei(),array:ei(),state:ei()},P=j(n.mode),C=j(n.reValidateMode),M=n.criteriaMode===A.all,I=t=>r=>{clearTimeout(x),x=setTimeout(t,r)},N=async t=>{if(!n.disabled&&(k.isValid||t)){let t=n.resolver?T((await Y()).errors):await X(l,!0);t!==i.isValid&&O.state.next({isValid:t})}},L=(t,r)=>{!n.disabled&&(k.isValidating||k.validatingFields)&&((t||Array.from(_.mount)).forEach(t=>{t&&(r?S(i.validatingFields,t,r):en(i.validatingFields,t))}),O.state.next({validatingFields:i.validatingFields,isValidating:!T(i.validatingFields)}))},$=(t,r)=>{S(i.errors,t,r),O.state.next({errors:i.errors})},G=(t,r,n,i)=>{let o=v(l,t);if(o){let a=v(f,t,y(n)?v(d,t):n);y(a)||i&&i.defaultChecked||r?S(f,t,r?a:ep(o._f)):ee(t,a),w.mount&&N()}},W=(t,r,o,a,s)=>{let u=!1,c=!1,h={name:t};if(!n.disabled){let n=!!(v(l,t)&&v(l,t)._f&&v(l,t)._f.disabled);if(!o||a){k.isDirty&&(c=i.isDirty,i.isDirty=h.isDirty=J(),u=c!==h.isDirty);let o=n||ea(v(d,t),r);c=!!(!n&&v(i.dirtyFields,t)),o||n?en(i.dirtyFields,t):S(i.dirtyFields,t,!0),h.dirtyFields=i.dirtyFields,u=u||k.dirtyFields&&!o!==c}if(o){let r=v(i.touchedFields,t);r||(S(i.touchedFields,t,o),h.touchedFields=i.touchedFields,u=u||k.touchedFields&&r!==o)}u&&s&&O.state.next(h)}return u?h:{}},K=(t,o,a,s)=>{let l=v(i.errors,t),u=k.isValid&&b(o)&&i.isValid!==o;if(n.delayError&&a?(r=I(()=>$(t,a)))(n.delayError):(clearTimeout(x),r=null,a?S(i.errors,t,a):en(i.errors,t)),(a?!ea(l,a):l)||!T(s)||u){let r={...s,...u&&b(o)?{isValid:o}:{},errors:i.errors,name:t};i={...i,...r},O.state.next(r)}},Y=async t=>{L(t,!0);let r=await n.resolver(f,n.context,em(t||_.mount,l,n.criteriaMode,n.shouldUseNativeValidation));return L(t),r},Z=async t=>{let{errors:r}=await Y(t);if(t)for(let n of t){let t=v(r,n);t?S(i.errors,n,t):en(i.errors,n)}else i.errors=r;return r},X=async(t,r,o={valid:!0})=>{for(let a in t){let s=t[a];if(s){let{_f:t,...l}=s;if(t){let l=_.array.has(t.name),u=s._f&&ev(s._f);u&&k.validatingFields&&L([a],!0);let c=await er(s,_.disabled,f,M,n.shouldUseNativeValidation&&!r,l);if(u&&k.validatingFields&&L([a]),c[t.name]&&(o.valid=!1,r))break;r||(v(c,t.name)?l?z(i.errors,c,t.name):S(i.errors,t.name,c[t.name]):en(i.errors,t.name))}T(l)||await X(l,r,o)}}return o.valid},J=(t,r)=>!n.disabled&&(t&&r&&S(f,t,r),!ea(eA(),d)),Q=(t,r,n)=>F(t,_,{...w.mount?f:y(r)?d:D(t)?{[t]:r}:r},n,r),ee=(t,r,n={})=>{let i=v(l,t),a=r;if(i){let n=i._f;n&&(n.disabled||S(f,t,ef(r,n)),a=V(n.ref)&&s(r)?"":r,es(n.ref)?[...n.ref.options].forEach(t=>t.selected=a.includes(t.value)):n.refs?o(n.ref)?n.refs.length>1?n.refs.forEach(t=>(!t.defaultChecked||!t.disabled)&&(t.checked=Array.isArray(a)?!!a.find(r=>r===t.value):a===t.value)):n.refs[0]&&(n.refs[0].checked=!!a):n.refs.forEach(t=>t.checked=t.value===a):H(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||O.values.next({name:t,values:{...f}})))}(n.shouldDirty||n.shouldTouch)&&W(t,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ey(t)},et=(t,r,n)=>{for(let i in r){let o=r[i],s=`${t}.${i}`,c=v(l,s);(_.array.has(t)||u(o)||c&&!c._f)&&!a(o)?et(s,o,n):ee(s,o,n)}},eo=(t,r,n={})=>{let o=v(l,t),a=_.array.has(t),u=m(r);S(f,t,u),a?(O.array.next({name:t,values:{...f}}),(k.isDirty||k.dirtyFields)&&n.shouldDirty&&O.state.next({name:t,dirtyFields:eh(d,f),isDirty:J(t,u)})):!o||o._f||s(u)?ee(t,u,n):et(t,u,n),U(t,_)&&O.state.next({...i}),O.values.next({name:w.mount?t:void 0,values:{...f}})},ec=async t=>{w.mount=!0;let o=t.target,s=o.name,u=!0,d=v(l,s),h=t=>{u=Number.isNaN(t)||a(t)&&isNaN(t.getTime())||ea(t,v(f,s,t))};if(d){let a,p;let m=o.type?ep(d._f):c(t),g=t.type===E.BLUR||t.type===E.FOCUS_OUT,y=!eb(d._f)&&!n.resolver&&!v(i.errors,s)&&!d._f.deps||e_(g,v(i.touchedFields,s),i.isSubmitted,C,P),b=U(s,_,g);S(f,s,m),g?(d._f.onBlur&&d._f.onBlur(t),r&&r(0)):d._f.onChange&&d._f.onChange(t);let w=W(s,m,g,!1),A=!T(w)||b;if(g||O.values.next({name:s,type:t.type,values:{...f}}),y)return k.isValid&&("onBlur"===n.mode&&g?N():g||N()),A&&O.state.next({name:s,...b?{}:w});if(!g&&b&&O.state.next({...i}),n.resolver){let{errors:t}=await Y([s]);if(h(m),u){let r=ew(i.errors,l,s),n=ew(t,l,r.name||s);a=n.error,s=n.name,p=T(t)}}else L([s],!0),a=(await er(d,_.disabled,f,M,n.shouldUseNativeValidation))[s],L([s]),h(m),u&&(a?p=!1:k.isValid&&(p=await X(l,!0)));u&&(d._f.deps&&ey(d._f.deps),K(s,p,a,w))}},ed=(t,r)=>{if(v(i.errors,r)&&t.focus)return t.focus(),1},ey=async(t,r={})=>{let o,a;let s=R(t);if(n.resolver){let r=await Z(y(t)?t:s);o=T(r),a=t?!s.some(t=>v(r,t)):o}else t?((a=(await Promise.all(s.map(async t=>{let r=v(l,t);return await X(r&&r._f?{[t]:r}:r)}))).every(Boolean))||i.isValid)&&N():a=o=await X(l);return O.state.next({...!D(t)||k.isValid&&o!==i.isValid?{}:{name:t},...n.resolver||!t?{isValid:o}:{},errors:i.errors}),r.shouldFocus&&!a&&B(l,ed,t?s:_.mount),a},eA=t=>{let r={...w.mount?f:d};return y(t)?r:D(t)?v(r,t):t.map(t=>v(r,t))},ex=(t,r)=>({invalid:!!v((r||i).errors,t),isDirty:!!v((r||i).dirtyFields,t),error:v((r||i).errors,t),isValidating:!!v(i.validatingFields,t),isTouched:!!v((r||i).touchedFields,t)}),ek=(t,r,n)=>{let o=(v(l,t,{_f:{}})._f||{}).ref,{ref:a,message:s,type:u,...c}=v(i.errors,t)||{};S(i.errors,t,{...c,...r,ref:o}),O.state.next({name:t,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},eO=(t,r={})=>{for(let o of t?R(t):_.mount)_.mount.delete(o),_.array.delete(o),r.keepValue||(en(l,o),en(f,o)),r.keepError||en(i.errors,o),r.keepDirty||en(i.dirtyFields,o),r.keepTouched||en(i.touchedFields,o),r.keepIsValidating||en(i.validatingFields,o),n.shouldUnregister||r.keepDefaultValue||en(d,o);O.values.next({values:{...f}}),O.state.next({...i,...r.keepDirty?{isDirty:J()}:{}}),r.keepIsValid||N()},eP=({disabled:t,name:r,field:n,fields:i})=>{(b(t)&&w.mount||t||_.disabled.has(r))&&(t?_.disabled.add(r):_.disabled.delete(r),W(r,ep(n?n._f:v(i,r)._f),!1,!1,!0))},eC=(t,r={})=>{let i=v(l,t),o=b(r.disabled)||b(n.disabled);return S(l,t,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:t}},name:t,mount:!0,...r}}),_.mount.add(t),i?eP({field:i,disabled:b(r.disabled)?r.disabled:n.disabled,name:t}):G(t,!0,r.value),{...o?{disabled:r.disabled||n.disabled}:{},...n.progressive?{required:!!r.required,min:eg(r.min),max:eg(r.max),minLength:eg(r.minLength),maxLength:eg(r.maxLength),pattern:eg(r.pattern)}:{},name:t,onChange:ec,onBlur:ec,ref:o=>{if(o){eC(t,r),i=v(l,t);let n=y(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,a=el(n),s=i._f.refs||[];(a?s.find(t=>t===n):n===i._f.ref)||(S(l,t,{_f:{...i._f,...a?{refs:[...s.filter(eu),n,...Array.isArray(v(d,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n}}}),G(t,!1,void 0,n))}else(i=v(l,t,{}))._f&&(i._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&!(h(_.array,t)&&w.action)&&_.unMount.add(t)}}},eT=()=>n.shouldFocusError&&B(l,ed,_.mount),eM=(t,r)=>async o=>{let a;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let s=m(f);if(_.disabled.size)for(let t of _.disabled)S(s,t,void 0);if(O.state.next({isSubmitting:!0}),n.resolver){let{errors:t,values:r}=await Y();i.errors=t,s=r}else await X(l);if(en(i.errors,"root"),T(i.errors)){O.state.next({errors:{}});try{await t(s,o)}catch(t){a=t}}else r&&await r({...i.errors},o),eT(),setTimeout(eT);if(O.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:T(i.errors)&&!a,submitCount:i.submitCount+1,errors:i.errors}),a)throw a},eR=(t,r={})=>{let o=t?m(t):d,a=m(o),s=T(t),u=s?d:a;if(r.keepDefaultValues||(d=o),!r.keepValues){if(r.keepDirtyValues)for(let t of Array.from(new Set([..._.mount,...Object.keys(eh(d,f))])))v(i.dirtyFields,t)?S(u,t,v(f,t)):eo(t,v(u,t));else{if(p&&y(t))for(let t of _.mount){let r=v(l,t);if(r&&r._f){let t=Array.isArray(r._f.refs)?r._f.refs[0]:r._f.ref;if(V(t)){let r=t.closest("form");if(r){r.reset();break}}}}l={}}f=n.shouldUnregister?r.keepDefaultValues?m(d):{}:m(u),O.array.next({values:{...u}}),O.values.next({values:{...u}})}_={mount:r.keepDirtyValues?_.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},w.mount=!k.isValid||!!r.keepIsValid||!!r.keepDirtyValues,w.watch=!!n.shouldUnregister,O.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:!s&&(r.keepDirty?i.isDirty:!!(r.keepDefaultValues&&!ea(t,d))),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:s?{}:r.keepDirtyValues?r.keepDefaultValues&&f?eh(d,f):i.dirtyFields:r.keepDefaultValues&&t?eh(d,t):r.keepDirty?i.dirtyFields:{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},eI=(t,r)=>eR(q(t)?t(f):t,r);return{control:{register:eC,unregister:eO,getFieldState:ex,handleSubmit:eM,setError:ek,_executeSchema:Y,_getWatch:Q,_getDirty:J,_updateValid:N,_removeUnmounted:()=>{for(let t of _.unMount){let r=v(l,t);r&&(r._f.refs?r._f.refs.every(t=>!eu(t)):!eu(r._f.ref))&&eO(t)}_.unMount=new Set},_updateFieldArray:(t,r=[],o,a,s=!0,u=!0)=>{if(a&&o&&!n.disabled){if(w.action=!0,u&&Array.isArray(v(l,t))){let r=o(v(l,t),a.argA,a.argB);s&&S(l,t,r)}if(u&&Array.isArray(v(i.errors,t))){let r=o(v(i.errors,t),a.argA,a.argB);s&&S(i.errors,t,r),eS(i.errors,t)}if(k.touchedFields&&u&&Array.isArray(v(i.touchedFields,t))){let r=o(v(i.touchedFields,t),a.argA,a.argB);s&&S(i.touchedFields,t,r)}k.dirtyFields&&(i.dirtyFields=eh(d,f)),O.state.next({name:t,isDirty:J(t,r),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else S(f,t,r)},_updateDisabledField:eP,_getFieldArray:t=>g(v(w.mount?f:d,t,n.shouldUnregister?v(d,t,[]):[])),_reset:eR,_resetDefaultValues:()=>q(n.defaultValues)&&n.defaultValues().then(t=>{eI(t,n.resetOptions),O.state.next({isLoading:!1})}),_updateFormState:t=>{i={...i,...t}},_disableForm:t=>{b(t)&&(O.state.next({disabled:t}),B(l,(r,n)=>{let i=v(l,n);i&&(r.disabled=i._f.disabled||t,Array.isArray(i._f.refs)&&i._f.refs.forEac
29h(r=>{r.disabled=i._f.disabled||t}))},0,!1))},_subjects:O,_proxyFormState:k,_setErrors:t=>{i.errors=t,O.state.next({errors:i.errors,isValid:!1})},get _fields(){return l},get _formValues(){return f},get _state(){return w},set _state(value){w=value},get _defaultValues(){return d},get _names(){return _},set _names(value){_=value},get _formState(){return i},set _formState(value){i=value},get _options(){return n},set _options(value){n={...n,...value}}},trigger:ey,register:eC,handleSubmit:eM,watch:(t,r)=>q(t)?O.values.subscribe({next:n=>t(Q(void 0,r),n)}):Q(t,r,!0),setValue:eo,getValues:eA,reset:eI,resetField:(t,r={})=>{v(l,t)&&(y(r.defaultValue)?eo(t,m(v(d,t))):(eo(t,r.defaultValue),S(d,t,m(r.defaultValue))),r.keepTouched||en(i.touchedFields,t),r.keepDirty||(en(i.dirtyFields,t),i.isDirty=r.defaultValue?J(t,m(v(d,t))):J()),!r.keepError&&(en(i.errors,t),k.isValid&&N()),O.state.next({...i}))},clearErrors:t=>{t&&R(t).forEach(t=>en(i.errors,t)),O.state.next({errors:t?i.errors:{}})},unregister:eO,setError:ek,setFocus:(t,r={})=>{let n=v(l,t),i=n&&n._f;if(i){let t=i.refs?i.refs[0]:i.ref;t.focus&&(t.focus(),r.shouldSelect&&q(t.select)&&t.select())}},getFieldState:ex}}(t),formState:l});let f=r.current.control;return f._options=t,N({subject:f._subjects.state,next:t=>{M(t,f._proxyFormState,f._updateFormState,!0)&&d({...f._formState})}}),i.useEffect(()=>f._disableForm(t.disabled),[f,t.disabled]),i.useEffect(()=>{if(f._proxyFormState.isDirty){let t=f._getDirty();t!==l.isDirty&&f._subjects.state.next({isDirty:t})}},[f,l.isDirty]),i.useEffect(()=>{t.values&&!ea(t.values,n.current)?(f._reset(t.values,f._options.resetOptions),n.current=t.values,d(t=>({...t}))):f._resetDefaultValues()},[t.values,f]),i.useEffect(()=>{t.errors&&f._setErrors(t.errors)},[t.errors,f]),i.useEffect(()=>{f._state.mount||(f._updateValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),i.useEffect(()=>{t.shouldUnregister&&f._subjects.values.next({values:f._getWatch()})},[t.shouldUnregister,f]),r.current.formState=C(l,f),r.current}},43949:function(t,r,n){"use strict";let i;n.d(r,{Db:function(){return E},$G:function(){return C}});var o=n(2265);n(69917),Object.create(null);let a=(t,r,n,i)=>{let o=[n,{code:r,...i||{}}];if(t?.services?.logger?.forward)return t.services.logger.forward(o,"warn","react-i18next::",!0);f(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),t?.services?.logger?.warn?t.services.logger.warn(...o):console?.warn&&console.warn(...o)},s={},l=(t,r,n,i)=>{f(n)&&s[n]||(f(n)&&(s[n]=new Date),a(t,r,n,i))},u=(t,r)=>()=>{if(t.isInitialized)r();else{let n=()=>{setTimeout(()=>{t.off("initialized",n)},0),r()};t.on("initialized",n)}},c=(t,r,n)=>{t.loadNamespaces(r,u(t,n))},d=(t,r,n,i)=>{if(f(n)&&(n=[n]),t.options.preload&&t.options.preload.indexOf(r)>-1)return c(t,n,i);n.forEach(r=>{0>t.options.ns.indexOf(r)&&t.options.ns.push(r)}),t.loadLanguages(r,u(t,i))},h=(t,r,n={})=>r.languages&&r.languages.length?r.hasLoadedNamespace(t,{lng:n.lng,precheck:(r,i)=>{if(n.bindI18n?.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,t))return!1}}):(l(r,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:r.languages}),!0),f=t=>"string"==typeof t,p=t=>"object"==typeof t&&null!==t,m=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,g={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"â¦","…":"â¦","/":"/","/":"/"},y=t=>g[t],v={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(m,y)},b=(t={})=>{v={...v,...t}},w=()=>v,_=t=>{i=t},S=()=>i,E={type:"3rdParty",init(t){b(t.options.react),_(t)}},A=(0,o.createContext)();class x{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let k=(t,r)=>{let n=(0,o.useRef)();return(0,o.useEffect)(()=>{n.current=r?n.current:t},[t,r]),n.current},O=(t,r,n,i)=>t.getFixedT(r,n,i),P=(t,r,n,i)=>(0,o.useCallback)(O(t,r,n,i),[t,r,n,i]),C=(t,r={})=>{let{i18n:n}=r,{i18n:i,defaultNS:a}=(0,o.useContext)(A)||{},s=n||i||S();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new x),!s){l(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let t=(t,r)=>f(r)?r:p(r)&&f(r.defaultValue)?r.defaultValue:Array.isArray(t)?t[t.length-1]:t,r=[t,{},!1];return r.t=t,r.i18n={},r.ready=!1,r}s.options.react?.wait&&l(s,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let u={...w(),...s.options.react,...r},{useSuspense:m,keyPrefix:g}=u,y=t||a||s.options?.defaultNS;y=f(y)?[y]:y||["translation"],s.reportNamespaces.addUsedNamespaces?.(y);let v=(s.isInitialized||s.initializedStoreOnce)&&y.every(t=>h(t,s,u)),b=P(s,r.lng||null,"fallback"===u.nsMode?y:y[0],g),_=()=>b,E=()=>O(s,r.lng||null,"fallback"===u.nsMode?y:y[0],g),[C,T]=(0,o.useState)(_),M=y.join();r.lng&&(M=`${r.lng}${M}`);let R=k(M),I=(0,o.useRef)(!0);(0,o.useEffect)(()=>{let{bindI18n:t,bindI18nStore:n}=u;I.current=!0,v||m||(r.lng?d(s,r.lng,y,()=>
29{I.current&&T(E)}):c(s,y,()=>{I.current&&T(E)})),v&&R&&R!==M&&I.current&&T(E);let i=()=>{I.current&&T(E)};return t&&s?.on(t,i),n&&s?.store.on(n,i),()=>{I.current=!1,s&&t?.split(" ").forEach(t=>s.off(t,i)),n&&s&&n.split(" ").forEach(t=>s.store.off(t,i))}},[s,M]),(0,o.useEffect)(()=>{I.current&&v&&T(_)},[s,g,v]);let N=[C,s,v];if(N.t=C,N.i18n=s,N.ready=v,v||!v&&!m)return N;throw new Promise(t=>{r.lng?d(s,r.lng,y,()=>t()):c(s,y,()=>t())})}},68575:function(t,r,n){"use strict";n.d(r,{I0:function(){return v},v9:function(){return w},zt:function(){return f}});var i=n(2265),o=n(27007),a={notify(){},get:()=>[]},s=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),l="undefined"!=typeof navigator&&"ReactNative"===navigator.product,u=s||l?i.useLayoutEffect:i.useEffect,c=Symbol.for("react-redux-context"),d="undefined"!=typeof globalThis?globalThis:{},h=function(){if(!i.createContext)return{};let t=d[c]??=new Map,r=t.get(i.createContext);return r||(r=i.createContext(null),t.set(i.createContext,r)),r}(),f=function(t){let{children:r,context:n,serverState:o,store:s}=t,l=i.useMemo(()=>{let t=function(t,r){let n;let i=a,o=0,s=!1;function l(){d.onStateChange&&d.onStateChange()}function u(){if(o++,!n){let r,o;n=t.subscribe(l),r=null,o=null,i={clear(){r=null,o=null},notify(){(()=>{let t=r;for(;t;)t.callback(),t=t.next})()},get(){let t=[],n=r;for(;n;)t.push(n),n=n.next;return t},subscribe(t){let n=!0,i=o={callback:t,next:null,prev:o};return i.prev?i.prev.next=i:r=i,function(){n&&null!==r&&(n=!1,i.next?i.next.prev=i.prev:o=i.prev,i.prev?i.prev.next=i.next:r=i.next)}}}}}function c(){o--,n&&0===o&&(n(),n=void 0,i.clear(),i=a)}let d={addNestedSub:function(t){u();let r=i.subscribe(t),n=!1;return()=>{n||(n=!0,r(),c())}},notifyNestedSubs:function(){i.notify()},handleChangeWrapper:l,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,u())},tryUnsubscribe:function(){s&&(s=!1,c())},getListeners:()=>i};return d}(s);return{store:s,subscription:t,getServerState:o?()=>o:void 0}},[s,o]),c=i.useMemo(()=>s.getState(),[s]);return u(()=>{let{subscription:t}=l;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),c!==s.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[l,c]),i.createElement((n||h).Provider,{value:l},r)};function p(t=h){return function(){return i.useContext(t)}}var m=p();function g(t=h){let r=t===h?m:p(t),n=()=>{let{store:t}=r();return t};return Object.assign(n,{withTypes:()=>n}),n}var y=g(),v=function(t=h){let r=t===h?y:g(t),n=()=>r().dispatch;return Object.assign(n,{withTypes:()=>n}),n}(),b=(t,r)=>t===r,w=function(t=h){let r=t===h?m:p(t),n=(t,n={})=>{let{equalityFn:a=b}="function"==typeof n?{equalityFn:n}:n,{store:s,subscription:l,getServerState:u}=r();i.useRef(!0);let c=i.useCallback({[t.name]:r=>t(r)}[t.name],[t]),d=(0,o.useSyncExternalStoreWithSelector)(l.addNestedSub,s.getState,u||s.getState,c,a);return i.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}()},59688:function(t,r,n){"use strict";function i(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}n.d(r,{LG:function(){return f},MT:function(){return u},PO:function(){return l},UY:function(){return c},md:function(){return h},qC:function(){return d}});var o="function"==typeof Symbol&&Symbol.observable||"@@observable",a=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${a()}`,REPLACE:`@@redux/REPLACE${a()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${a()}`};function l(t){if("object"!=typeof t||null===t)return!1;let r=t;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r||null===Object.getPrototypeOf(t)}function u(t,r,n){if("function"!=typeof t)throw Error(i(2));if("function"==typeof r&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw Error(i(0));if("function"==typeof r&&void 0===n&&(n=r,r=void 0),void 0!==n){if("function"!=typeof n)throw Error(i(1));return n(u)(t,r)}let a=t,c=r,d=new Map,h=d,f=0,p=!1;function m(){h===d&&(h=new Map,d.forEach((t,r)=>{h.set(r,t)}))}function g(){if(p)throw Error(i(3));return c}function y(t){if("function"!=typeof t)throw Error(i(4));if(p)throw Error(i(5));let r=!0;m();let n=f++;return h.set(n,t),function(){if(r){if(p)throw Error(i(6));r=!1,m(),h.delete(n),d=null}}}function v(t){if(!l(t))throw Error(i(7));if(void 0===t.type)throw Error(i(8));if("string"!=typeof t.type)throw Error(i(17));if(p)throw Error(i(9));try{p=!0,c=a(c,t)}finally{p=!1}
29return(d=h).forEach(t=>{t()}),t}return v({type:s.INIT}),{dispatch:v,subscribe:y,getState:g,replaceReducer:function(t){if("function"!=typeof t)throw Error(i(10));a=t,v({type:s.REPLACE})},[o]:function(){return{subscribe(t){if("object"!=typeof t||null===t)throw Error(i(11));function r(){t.next&&t.next(g())}return r(),{unsubscribe:y(r)}},[o](){return this}}}}}function c(t){let r;let n=Object.keys(t),o={};for(let r=0;r<n.length;r++){let i=n[r];"function"==typeof t[i]&&(o[i]=t[i])}let a=Object.keys(o);try{!function(t){Object.keys(t).forEach(r=>{let n=t[r];if(void 0===n(void 0,{type:s.INIT}))throw Error(i(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw Error(i(13))})}(o)}catch(t){r=t}return function(t={},n){if(r)throw r;let s=!1,l={};for(let r=0;r<a.length;r++){let u=a[r],c=o[u],d=t[u],h=c(d,n);if(void 0===h)throw n&&n.type,Error(i(14));l[u]=h,s=s||h!==d}return(s=s||a.length!==Object.keys(t).length)?l:t}}function d(...t){return 0===t.length?t=>t:1===t.length?t[0]:t.reduce((t,r)=>(...n)=>t(r(...n)))}function h(...t){return r=>(n,o)=>{let a=r(n,o),s=()=>{throw Error(i(15))},l={getState:a.getState,dispatch:(t,...r)=>s(t,...r)};return s=d(...t.map(t=>t(l)))(a.dispatch),{...a,dispatch:s}}}function f(t){return l(t)&&"type"in t&&"string"==typeof t.type}},55101:function(t,r,n){"use strict";n.d(r,{Z:function(){return _}});var i=n(2265),o=n(7310),a=n(37065),s=function(){return(s=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function l(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function u(t){return t&&t.ownerDocument?t.ownerDocument:document}var c=function(t){return Array.prototype.reduce.call(t,function(t,r){var n=r.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,function(t,r){return r.toUpperCase()});switch(r.value){case"true":case void 0:t[i]=!0;break;case"false":t[i]=!1;break;default:t[i]=r.value}}return t},{})};function d(t,r){var n;t&&(n=t.classList).add.apply(n,r.split(" "))}function h(t,r){t&&r.split(" ").forEach(function(r){t.classList.remove(r)})}function f(t){return".".concat(t.split(" ").join("."))}var p=!!("undefined"!=typeof window&&window.document&&window.document.createElement),m=Object.freeze({__proto__:null,addClasses:d,canUseDOM:p,classNamesToQuery:f,getElementDocument:u,getElementWindow:l,getOptions:c,removeClasses:h}),g=null,y=null;function v(){if(null===g){if("undefined"==typeof document)return g=0;var t=document.body,r=document.createElement("div");r.classList.add("simplebar-hide-scrollbar"),t.appendChild(r);var n=r.getBoundingClientRect().right;t.removeChild(r),g=n}return g}p&&window.addEventListener("resize",function(){y!==window.devicePixelRatio&&(y=window.devicePixelRatio,g=null)});var b=function(){function t(r,n){void 0===n&&(n={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var t=l(i.el);i.scrollXTicking||(t.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(t.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,d(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){h(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(d(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){h(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(t){i.mouseX=t.clientX,i.mouseY=t.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1}
vendor: 16,787 bytes, line 29
29,this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(t){var r,n;i.axis.x.track.el&&i.axis.y.track.el&&i.axis.x.scrollbar.el&&i.axis.y.scrollbar.el&&(i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(r=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(n=i.isWithinBounds(i.axis.y.track.rect)),(r||n)&&(t.stopPropagation(),"pointerdown"===t.type&&"touch"!==t.pointerType&&(r&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(t,"x"):i.onTrackClick(t,"x")),n&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(t,"y"):i.onTrackClick(t,"y")))))},this.drag=function(r){if(i.draggedAxis&&i.contentWrapperEl){var n,o,a,s,l,u,c,d,h,f,p,m=i.axis[i.draggedAxis].track,g=null!==(o=null===(n=m.rect)||void 0===n?void 0:n[i.axis[i.draggedAxis].sizeAttr])&&void 0!==o?o:0,y=i.axis[i.draggedAxis].scrollbar,v=null!==(s=null===(a=i.contentWrapperEl)||void 0===a?void 0:a[i.axis[i.draggedAxis].scrollSizeAttr])&&void 0!==s?s:0,b=parseInt(null!==(u=null===(l=i.elStyles)||void 0===l?void 0:l[i.axis[i.draggedAxis].sizeAttr])&&void 0!==u?u:"0px",10);r.preventDefault(),r.stopPropagation();var w=("y"===i.draggedAxis?r.pageY:r.pageX)-(null!==(d=null===(c=m.rect)||void 0===c?void 0:c[i.axis[i.draggedAxis].offsetAttr])&&void 0!==d?d:0)-i.axis[i.draggedAxis].dragOffset,_=(w="x"===i.draggedAxis&&i.isRtl?(null!==(f=null===(h=m.rect)||void 0===h?void 0:h[i.axis[i.draggedAxis].sizeAttr])&&void 0!==f?f:0)-y.size-w:w)/(g-y.size)*(v-b);"x"===i.draggedAxis&&i.isRtl&&(_=(null===(p=t.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-_:_),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=_}},this.onEndDrag=function(t){i.isDragging=!1;var r=u(i.el),n=l(i.el);t.preventDefault(),t.stopPropagation(),h(i.el,i.classNames.dragging),i.onStopScrolling(),r.removeEventListener("mousemove",i.drag,!0),r.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=n.setTimeout(function(){r.removeEventListener("click",i.preventClick,!0),r.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=r,this.options=s(s({},t.defaultOptions),n),this.classNames=s(s({},t.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=a(this._onMouseMove,64),this.onWindowResize=o(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=o(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=o(this._onMouseEntered,this.stopScrollDelay),this.init()}return t.getRtlHelpers=function(){if(t.rtlHelpers)return t.rtlHelpers;var r=document.createElement("div");r.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=r.firstElementChild,i=null==n?void 0:n.firstElementChild;if(!i)return null;document.body.appendChild(n),n.scrollLeft=0;var o=t.getOffset(n),a=t.getOffset(i);n.scrollLeft=-999;var s=t.getOffset(i);return document.body.removeChild(n),t.rtlHelpers={isScrollOriginAtZero:o.left!==a.left,isScrollingToNegative:a.left!==s.left},t.rtlHelpers},t.prototype.getScrollbarWidth=function(){try{if(this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style)return 0;return v()}catch(t){return v()}},t.getOffset=function(t){var r=t.getBoundingClientRect(),n=u(t),i=l(t);return{top:r.top+(i.pageYOffset||n.documentElement.scrollTop),left:r.left+(i.pageXOffset||n.documentElement.scrollLeft)}},t.prototype.init=function(){p&&(this.initDOM(),this.rtlHelpers=t.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(f(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(f(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(f(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(f(this.classNames.offset)),this.maskEl=this.el.querySelector(f(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,f(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(f(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(f(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(f(this.classNames.track)).concat(f(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(f(this.classNames.track)).concat(f(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(t=this.axis.x.track.el)||void 0===t?void 0:t.querySelector(f(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(r=this.axis.y.track.el)||void 0===r?void 0:r.querySelector(f(this.classNames.scrollbar)))||null,this.options.autoHide||(d(this.axis.x.scrollbar.el,this.classNames.visible),d(this.axis.y.scrollbar.el,this.classNames.visible))},t.prototype.initListeners=function(){var t,r=this,n=l(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(t=this.contentWrapperEl)||void 0===t||t.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var i=!1,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){i&&n.requestAnimationFrame(function(){r.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){r.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},t.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var t=l(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var r=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||r>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,s=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var u=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=i?"".concat(r||c,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var d=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==r&&c>r,this.axis.y.isOverflowing=u>d,this.axis.x.isOverflowing="hidden"!==a&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>d-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},t.prototype.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r,n,i,o=this.contentEl[this.axis[t].scrollSizeAttr],a=null!==(n=null===(r=this.axis[t].track.el)||void 0===r?void 0:r[this.axis[t].offsetSizeAttr])&&void 0!==n?n:0;return i=Math.max(~~(a/o*a),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(i=Math.min(i,this.options.scrollbarMaxSize)),i},t.prototype.positionScrollbar=function(r){void 0===r&&(r="y");var n,i,o,a=this.axis[r].scrollbar;if(this.axis[r].isOverflowing&&this.contentWrapperEl&&a.el&&this.elStyles){var s=this.contentWrapperEl[this.axis[r].scrollSizeAttr],l=(null===(n=this.axis[r].track.el)||void 0===n?void 0:n[this.axis[r].offsetSizeAttr])||0,u=parseInt(this.elStyles[this.axis[r].sizeAttr],10),c=this.contentWrapperEl[this.axis[r].scrollOffsetAttr];c="x"===r&&this.isRtl&&(null===(i=t.getRtlHelpers())||void 0===i?void 0:i.isScrollOriginAtZero)?-c:c,"x"===r&&this.isRtl&&(c=(null===(o=t.getRtlHelpers())||void 0===o?void 0:o.isScrollingToNegative)?c:-c);var d=c/(s-u),h=~~((l-a.size)*d);h="x"===r&&this.isRtl?-h+(l-a.size):h,a.el.style.transform="x"===r?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},t.prototype.toggleTrackVisibility=function(t){void 0===t&&(t="y");var r=this.axis[t].track.el,n=this.axis[t].scrollbar.el;r&&n&&this.contentWrapperEl&&(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none")},t.prototype.showScrollbar=function(t){void 0===t&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(d(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},t.prototype.hideScrollbar=function(t){void 0===t&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(h(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},t.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},t.prototype.onMouseMoveForAxis=function(t){void 0===t&&(t="y");var r=this.axis[t];r.track.el&&r.scrollbar.el&&(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),d(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?d(r.scrollbar.el,this.classNames.hover):h(r.scrollbar.el,this.classNames.hover)):(h(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},t.prototype.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),h(this.axis[t].track.el,this.classNames.hover),h(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},t.prototype.onDragStart=function(t,r){void 0===r&&(r="y"),this.isDragging=!0;var n,i=u(this.el),o=l(this.el),a=this.axis[r].scrollbar,s="y"===r?t.pageY:t.pageX;this.axis[r].dragOffset=s-((null===(n=a.rect)||void 0===n?void 0:n[this.axis[r].offsetAttr])||0),this.draggedAxis=r,d(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.prototype.onTrackClick=function(t,r){var n,i,o,a,s=this;void 0===r&&(r="y");var u=this.axis[r];if(this.options.clickOnTrack&&u.scrollbar.el&&this.contentWrapperEl){t.preventDefault();var c=l(this.el);this.axis[r].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var d=null!==(i=null===(n=this.axis[r].scrollbar.rect)||void 0===n?void 0:n[this.axis[r].offsetAttr])&&void 0!==i?i:0,h=parseInt(null!==(a=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[r].sizeAttr])&&void 0!==a?a:"0px",10),f=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],p=("y"===r?this.mouseY-d:this.mouseX-d)<0?-1:1,m=-1===p?f-h:f+h,g=function(){s.contentWrapperEl&&(-1===p?f>m&&(f-=40,s.contentWrapperEl[s.axis[r].scrollOffsetAttr]=f,c.requestAnimationFrame(g)):f<m&&(f+=40,s.contentWrapperEl[s.axis[r].scrollOffsetAttr]=f,c.requestAnimationFrame(g)))};g()}},t.prototype.getContentElement=function(){return this.contentEl},t.prototype.getScrollElement=function(){return this.contentWrapperEl},t.prototype.removeListeners=function(){var t=l(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},t.prototype.unMount=function(){this.removeListeners()},t.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},t.prototype.findChild=function(t,r){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return n.call(t,r)})[0]},t.rtlHelpers=null,t.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},t.getOptions=c,t.helpers=m,t}(),w=function(){return(w=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)},_=i.forwardRef(function(t,r){var n=t.children,o=t.scrollableNodeProps,a=void 0===o?{}:o,s=function(t,r){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>r.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>r.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n}(t,["children","scrollableNodeProps"]),l=i.useRef(),u=i.useRef(),c=i.useRef(),d={},h={};
29Object.keys(s).forEach(function(t){Object.prototype.hasOwnProperty.call(b.defaultOptions,t)?d[t]=s[t]:h[t]=s[t]});var f=w(w({},b.defaultOptions.classNames),d.classNames),p=w(w({},a),{className:"".concat(f.contentWrapper).concat(a.className?" ".concat(a.className):""),tabIndex:d.tabIndex||b.defaultOptions.tabIndex,role:"region","aria-label":d.ariaLabel||b.defaultOptions.ariaLabel});return i.useEffect(function(){var t;return u.current=p.ref?p.ref.current:u.current,l.current&&(t=new b(l.current,w(w(w({},d),u.current&&{scrollableNode:u.current}),c.current&&{contentNode:c.current})),"function"==typeof r?r(t):r&&(r.current=t)),function(){null==t||t.unMount(),t=null,"function"==typeof r&&r(null)}},[]),i.createElement("div",w({"data-simplebar":"init",ref:l},h),i.createElement("div",{className:f.wrapper},i.createElement("div",{className:f.heightAutoObserverWrapperEl},i.createElement("div",{className:f.heightAutoObserverEl})),i.createElement("div",{className:f.mask},i.createElement("div",{className:f.offset},"function"==typeof n?n({scrollableNodeRef:u,scrollableNodeProps:w(w({},p),{ref:u}),contentNodeRef:c,contentNodeProps:{className:f.contentEl,ref:c}}):i.createElement("div",w({},p),i.createElement("div",{className:f.contentEl},n)))),i.createElement("div",{className:f.placeholder})),i.createElement("div",{className:"".concat(f.track," simplebar-horizontal")},i.createElement("div",{className:f.scrollbar})),i.createElement("div",{className:"".concat(f.track," simplebar-vertical")},i.createElement("div",{className:f.scrollbar})))});_.displayName="SimpleBar"},29892:function(t,r,n){"use strict";n.d(r,{io:function(){return f}});var i=n(72470),o=n(5886);function a(t,r,n){return t.on(r,n),function(){t.off(r,n)}}var s=n(57146);let l=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class u extends s.Q{constructor(t,r,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[a(t,"open",this.onopen.bind(this)),a(t,"packet",this.onpacket.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){var n,i,a;if(l.hasOwnProperty(t))throw Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;let s={type:o.PacketType.EVENT,data:r};if(s.options={},s.options.compress=!1!==this.flags.compress,"function"==typeof r[r.length-1]){let t=this.ids++,n=r.pop();this._registerAckCallback(t,n),s.id=t}let u=null===(i=null===(n=this.io.engine)||void 0===n?void 0:n.transport)||void 0===i?void 0:i.writable,c=this.connected&&!(null===(a=this.io.engine)||void 0===a?void 0:a._hasPingExpired());return this.flags.volatile&&!u||(c?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,r){var n;let i=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===i){this.acks[t]=r;return}let o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let r=0;r<this.sendBuffer.length;r++)this.sendBuffer[r].id===t&&this.sendBuffer.splice(r,1);r.call(this,Error("operation has timed out"))},i),a=(...t)=>{this.io.clearTimeoutFn(o),r.apply(this,t)};a.withError=!0,this.acks[t]=a}emitWithAck(t,...r){return new Promise((n,i)=>{let o=(t,r)=>t?i(t):n(r);o.withError=!0,r.push(o),this.emit(t,...r)})}_addToQueue(t){let r;"function"==typeof t[t.length-1]&&(r=t.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((t,...i)=>(this._queue[0],null!==t?n.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(t)):(this._queue.shift(),r&&r(null,...i)),n.pe
29nding=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||0===this._queue.length)return;let r=this._queue[0];(!r.pending||t)&&(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){"function"==typeof this.auth?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:o.PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){let r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,Error("socket has been disconnected"))}})}onpacket(t){if(!(t.nsp!==this.nsp))switch(t.type){case o.PacketType.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case o.PacketType.EVENT:case o.PacketType.BINARY_EVENT:this.onevent(t);break;case o.PacketType.ACK:case o.PacketType.BINARY_ACK:this.onack(t);break;case o.PacketType.DISCONNECT:this.ondisconnect();break;case o.PacketType.CONNECT_ERROR:this.destroy();let r=Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r)}}onevent(t){let r=t.data||[];null!=t.id&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length)for(let r of this._anyListeners.slice())r.apply(this,t);super.emit.apply(this,t),this._pid&&t.length&&"string"==typeof t[t.length-1]&&(this._lastOffset=t[t.length-1])}ack(t){let r=this,n=!1;return function(...i){n||(n=!0,r.packet({type:o.PacketType.ACK,id:t,data:i}))}}onack(t){let r=this.acks[t.id];"function"==typeof r&&(delete this.acks[t.id],r.withError&&t.data.unshift(null),r.apply(this,t.data))}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:o.PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let r=this._anyListeners;for(let n=0;n<r.length;n++)if(t===r[n]){r.splice(n,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let r=this._anyOutgoingListeners;for(let n=0;n<r.length;n++)if(t===r[n]){r.splice(n,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let r of this._anyOutgoingListeners.slice())r.apply(this,t.data)}}function c(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}c.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var r=Math.random(),n=Math.floor(r*this.jitter*t);t=(1&Math.floor(10*r))==0?t-n:t+n}return 0|Math.min(t,this.max)},c.prototype.reset=function(){this.attempts=0},c.prototype.setMin=function(t){this.ms=t},c.prototype.setMax=function(t){this.max=t},c.prototype.setJitter=function(t){this.jitter=t};class d extends s.Q{constructor(t,r){var n;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(r=t,t=void 0),(r=r||{}).path=r.path||"/socket.io",this.opts=r,(0,i.Vq)(this,r),this.reconnection(!1!==r.reconnection),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=r.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new c({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==r.timeout?2e4:r.timeout),this._readyState="closed",this.uri=t;let a=r.parser||o;this.encoder=new a.Encoder,this.decoder=new a.Decoder,this._autoConnect=!1!==r.autoConnect,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null===(r=this.backoff)||void 0===r||r.setMin(t),this)}randomizationFactor(t){var r;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null===(r=this.backoff)||void 0===r||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null===(r=this.backoff)||void 0===r||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new i.sk(this.uri,this.opts);let r=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let o=a(r,"open",function(){n.onopen(),t&&t()}),s=r=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",r),t?t(r):this.maybeReconnectOnOpen()},l=a(r,"error",s);if(!1!==this._timeout){let t=this._timeout,n=this.setTimeoutFn(()=>{o(),s(Error("timeout")),r.close()},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(o),this.subs.push(l),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push(a(t,"ping",this.onping.bind(this)),a(t,"data",this.ondata.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this)),a(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("parse error",t)}}ondecoded(t){(0,i.Y3)(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new u(this,t,r),this.nsps[t]=n),n}_destroy(t){for(let t of Object.keys(this.nsps))if(this.nsps[t].active)return;this._close()}_packet(t){let r=this.encoder.encode(t);for(let n=0;n<r.length;n++)this.engine.write(r[n],t.options)}
29cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,r){var n;this.cleanup(),null===(n=this.engine)||void 0===n||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let r=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{!t.skipReconnect&&(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open(r=>{r?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",r)):t.onreconnect()}))},r);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}let h={};function f(t,r){let n;"object"==typeof t&&(r=t,t=void 0);let o=function(t,r="",n){let o=t;n=n||"undefined"!=typeof location&&location,null==t&&(t=n.protocol+"//"+n.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?n.protocol+t:n.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==n?n.protocol+"//"+t:"https://"+t),o=(0,i.Qc)(t)),!o.port&&(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";let a=-1!==o.host.indexOf(":")?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+a+":"+o.port+r,o.href=o.protocol+"://"+a+(n&&n.port===o.port?"":":"+o.port),o}(t,(r=r||{}).path||"/socket.io"),a=o.source,s=o.id,l=o.path,u=h[s]&&l in h[s].nsps;return r.forceNew||r["force new connection"]||!1===r.multiplex||u?n=new d(a,r):(h[s]||(h[s]=new d(a,r)),n=h[s]),o.query&&!r.query&&(r.query=o.queryKey),n.socket(o.path,r)}Object.assign(f,{Manager:d,Socket:u,io:f,connect:f})},5886:function(t,r,n){"use strict";n.r(r),n.d(r,{Decoder:function(){return y},Encoder:function(){return m},PacketType:function(){return o},protocol:function(){return p}});var i,o,a=n(57146);let s="function"==typeof ArrayBuffer,l=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,u=Object.prototype.toString,c="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===u.call(Blob),d="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===u.call(File);function h(t){return s&&(t instanceof ArrayBuffer||l(t))||c&&t instanceof Blob||d&&t instanceof File}let f=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],p=5;(i=o||(o={}))[i.CONNECT=0]="CONNECT",i[i.DISCONNECT=1]="DISCONNECT",i[i.EVENT=2]="EVENT",i[i.ACK=3]="ACK",i[i.CONNECT_ERROR=4]="CONNECT_ERROR",i[i.BINARY_EVENT=5]="BINARY_EVENT",i[i.BINARY_ACK=6]="BINARY_ACK";class m{constructor(t){this.replacer=t}encode(t){return(t.type===o.EVENT||t.type===o.ACK)&&function t(r,n){if(!r||"object"!=typeof r)return!1;if(Array.isArray(r)){for(let n=0,i=r.length;n<i;n++)if(t(r[n]))return!0;return!1}if(h(r))return!0;if(r.toJSON&&"function"==typeof r.toJSON&&1==arguments.length)return t(r.toJSON(),!0);for(let n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&t(r[n]))return!0;return!1}(t)?this.encodeAsBinary({type:t.type===o.EVENT?o.BINARY_EVENT:o.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===o.BINARY_EVENT||t.type===o.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(r+=t.nsp+","),null!=t.id&&(r+=t.id),null!=t.data&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){let r=function(t){let r=[],n=t.data;return t.data=function t(r,n){if(!r)return r;if(h(r)){let t={_placeholder:!0,num:n.length};return n.push(r),t}if(Array.isArray(r)){let i=Array(r.length);for(let o=0;o<r.length;o++)i[o]=t(r[o],n);return i}if("object"==typeof r&&!(r instanceof Date)){let i={};for(let o in r)Object.prototype.hasOwnProperty.call(r,o)&&(i[o]=t(r[o],n));return i}return r}(n,r),t.attachments=r.length,{packet:t,buffers:r}}(t),n=this.encodeAsString(r.packet),i=r.buffers;return i.unshift(n),i}}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}class y extends a.Q{constructor(t){super(),this.reviver=t}add(t){let r;if("string"==typeof t){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let n=(r=this.decodeString(t)).type===o.BINARY_EVENT;n||r.type===o.BINARY_ACK?(r.type=n?o.EVENT:o.ACK,this.reconstructor=new v(r),0===r.attachments&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(h(t)||t.base64){if(this.reconstructor)(r=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw Error("got binary data when not reconstructing a packet")}else throw Error("Unknown type: "+t)}decodeString(t){let r=0,n={type:Number(t.charAt(0))};if(void 0===o[n.type])throw Error("unknown packet type "+n.type);if(n.type===o.BINARY_EVENT||n.type===o.BINARY_ACK){let i=r+1;for(;"-"!==t.charAt(++r)&&r!=t.length;);let o=t.substring(i,r);if(o!=Number(o)||"-"!==t.charAt(r))throw Error("Illegal attachments");n.attachments=Number(o)}if("/"===t.charAt(r+1)){let i=r+1;for(;++r&&","!==t.charAt(r)&&r!==t.length;);
29n.nsp=t.substring(i,r)}else n.nsp="/";let i=t.charAt(r+1);if(""!==i&&Number(i)==i){let i=r+1;for(;++r;){let n=t.charAt(r);if(null==n||Number(n)!=n){--r;break}if(r===t.length)break}n.id=Number(t.substring(i,r+1))}if(t.charAt(++r)){let i=this.tryParse(t.substr(r));if(y.isPayloadValid(n.type,i))n.data=i;else throw Error("invalid payload")}return n}tryParse(t){try{return JSON.parse(t,this.reviver)}catch(t){return!1}}static isPayloadValid(t,r){switch(t){case o.CONNECT:return g(r);case o.DISCONNECT:return void 0===r;case o.CONNECT_ERROR:return"string"==typeof r||g(r);case o.EVENT:case o.BINARY_EVENT:return Array.isArray(r)&&("number"==typeof r[0]||"string"==typeof r[0]&&-1===f.indexOf(r[0]));case o.ACK:case o.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class v{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var r,n;let t=(r=this.reconPack,n=this.buffers,r.data=function t(r,n){if(!r)return r;if(r&&!0===r._placeholder){if("number"==typeof r.num&&r.num>=0&&r.num<n.length)return n[r.num];throw Error("illegal attachments")}if(Array.isArray(r))for(let i=0;i<r.length;i++)r[i]=t(r[i],n);else if("object"==typeof r)for(let i in r)Object.prototype.hasOwnProperty.call(r,i)&&(r[i]=t(r[i],n));return r}(r.data,n),delete r.attachments,r);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},6208:function(t,r,n){"use strict";n.d(r,{zo:function(){return b},mL:function(){return eZ},BB:function(){return eX}});var i={};n.r(i),n.d(i,{identity:function(){return D}});var o={};n.r(o),n.d(o,{base2:function(){return F}});var a={};n.r(a),n.d(a,{base8:function(){return L}});var s={};n.r(s),n.d(s,{base10:function(){return $}});var l={};n.r(l),n.d(l,{base16:function(){return j},base16upper:function(){return U}});var u={};n.r(u),n.d(u,{base32:function(){return B},base32hex:function(){return V},base32hexpad:function(){return W},base32hexpadupper:function(){return K},base32hexupper:function(){return G},base32pad:function(){return H},base32padupper:function(){return q},base32upper:function(){return z},base32z:function(){return Y}});var c={};n.r(c),n.d(c,{base36:function(){return Z},base36upper:function(){return X}});var d={};n.r(d),n.d(d,{base58btc:function(){return J},base58flickr:function(){return Q}});var h={};n.r(h),n.d(h,{base64:function(){return ee},base64pad:function(){return et},base64url:function(){return er},base64urlpad:function(){return en}});var f={};n.r(f),n.d(f,{base256emoji:function(){return es}});var p={};n.r(p),n.d(p,{sha256:function(){return ew},sha512:function(){return e_}});var m={};n.r(m),n.d(m,{identity:function(){return eS}});var g={};n.r(g),n.d(g,{code:function(){return eA},decode:function(){return ek},encode:function(){return ex},name:function(){return eE}});var y={};function v(t=0){return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?globalThis.Buffer.allocUnsafe(t):new Uint8Array(t)}function b(t,r){r||(r=t.reduce((t,r)=>t+r.length,0));let n=v(r),i=0;for(let r of t)n.set(r,i),i+=r.length;return n}n.r(y),n.d(y,{code:function(){return eT},decode:function(){return eR},encode:function(){return eM},name:function(){return eC}});var w=function(t,r){if(t.length>=255)throw TypeError("Alphabet too long");for(var n=new Uint8Array(256),i=0;i<n.length;i++)n[i]=255;for(var o=0;o<t.length;o++){var a=t.charAt(o),s=a.charCodeAt(0);if(255!==n[s])throw TypeError(a+" is ambiguous");n[s]=o}var l=t.length,u=t.charAt(0),c=Math.log(l)/Math.log(256),d=Math.log(256)/Math.log(l);function h(t){if("string"!=typeof t)throw TypeError("Expected String");if(0===t.length)return new Uint8Array;var r=0;if(" "!==t[0]){for(var i=0,o=0;t[r]===u;)i++,r++;for(var a=(t.length-r)*c+1>>>0,s=new Uint8Array(a);t[r];){var d=n[t.charCodeAt(r)];if(255===d)return;for(var h=0,f=a-1;(0!==d||h<o)&&-1!==f;f--,h++)d+=l*s[f]>>>0,s[f]=d%256>>>0,d=d/256>>>0;if(0!==d)throw Error("Non-zero carry");o=h,r++}if(" "!==t[r]){for(var p=a-o;p!==a&&0===s[p];)p++;for(var m=new Uint8Array(i+(a-p)),g=i;p!==a;)m[g++]=s[p++];return m}}}return{encode:function(r){if(r instanceof Uint8Array||(ArrayBuffer.isView(r)?r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength):Array.isArray(r)&&(r=Uint8Array.from(r))),!(r instanceof Uint8Array))throw TypeError("Expected Uint8Array");if(0===r.length)return"";for(var n=0,i=0,o=0,a=r.length;o!==a&&0===r[o];)o++,n++;for(var s=(a-o)*d+1>>>0,c=new Uint8Array(s);o!==a;){for(var h=r[o],f=0,p=s-1;(0!==h||f<i)&&-1!==p;p--,f++)h+=256*c[p]>>>0,c[p]=h%l>>>0,h=h/l>>>0;
29if(0!==h)throw Error("Non-zero carry");i=f,o++}for(var m=s-i;m!==s&&0===c[m];)m++;for(var g=u.repeat(n);m<s;++m)g+=t.charAt(c[m]);return g},decodeUnsafe:h,decode:function(t){var n=h(t);if(n)return n;throw Error(`Non-${r} character`)}}};new Uint8Array(0);let _=(t,r)=>{if(t===r)return!0;if(t.byteLength!==r.byteLength)return!1;for(let n=0;n<t.byteLength;n++)if(t[n]!==r[n])return!1;return!0},S=t=>{if(t instanceof Uint8Array&&"Uint8Array"===t.constructor.name)return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw Error("Unknown type, must be binary type")},E=t=>new TextEncoder().encode(t),A=t=>new TextDecoder().decode(t);class x{constructor(t,r,n){this.name=t,this.prefix=r,this.baseEncode=n}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class k{constructor(t,r,n){if(this.name=t,this.prefix=r,void 0===r.codePointAt(0))throw Error("Invalid prefix character");this.prefixCodePoint=r.codePointAt(0),this.baseDecode=n}decode(t){if("string"==typeof t){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(t){return P(this,t)}}class O{constructor(t){this.decoders=t}or(t){return P(this,t)}decode(t){let r=t[0],n=this.decoders[r];if(n)return n.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}let P=(t,r)=>new O({...t.decoders||{[t.prefix]:t},...r.decoders||{[r.prefix]:r}});class C{constructor(t,r,n,i){this.name=t,this.prefix=r,this.baseEncode=n,this.baseDecode=i,this.encoder=new x(t,r,n),this.decoder=new k(t,r,i)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}let T=({name:t,prefix:r,encode:n,decode:i})=>new C(t,r,n,i),M=({prefix:t,name:r,alphabet:n})=>{let{encode:i,decode:o}=w(n,r);return T({prefix:t,name:r,encode:i,decode:t=>S(o(t))})},R=(t,r,n,i)=>{let o={};for(let t=0;t<r.length;++t)o[r[t]]=t;let a=t.length;for(;"="===t[a-1];)--a;let s=new Uint8Array(a*n/8|0),l=0,u=0,c=0;for(let r=0;r<a;++r){let a=o[t[r]];if(void 0===a)throw SyntaxError(`Non-${i} character`);u=u<<n|a,(l+=n)>=8&&(l-=8,s[c++]=255&u>>l)}if(l>=n||255&u<<8-l)throw SyntaxError("Unexpected end of data");return s},I=(t,r,n)=>{let i="="===r[r.length-1],o=(1<<n)-1,a="",s=0,l=0;for(let i=0;i<t.length;++i)for(l=l<<8|t[i],s+=8;s>n;)s-=n,a+=r[o&l>>s];if(s&&(a+=r[o&l<<n-s]),i)for(;a.length*n&7;)a+="=";return a},N=({name:t,prefix:r,bitsPerChar:n,alphabet:i})=>T({prefix:r,name:t,encode:t=>I(t,i,n),decode:r=>R(r,i,n,t)}),D=T({prefix:"\0",name:"identity",encode:t=>A(t),decode:t=>E(t)}),F=N({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1}),L=N({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3}),$=M({prefix:"9",name:"base10",alphabet:"0123456789"}),j=N({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),U=N({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4}),B=N({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),z=N({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),H=N({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),q=N({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),V=N({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),G=N({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),W=N({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),K=N({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Y=N({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),Z=M({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),X=M({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}),J=M({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Q=M({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"}),ee=N({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
29+/",bitsPerChar:6}),et=N({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),er=N({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),en=N({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6}),ei=Array.from("\uD83D\uDE80\uD83E\uDE90â\uD83D\uDEF0\uD83C\uDF0C\uD83C\uDF11\uD83C\uDF12\uD83C\uDF13\uD83C\uDF14\uD83C\uDF15\uD83C\uDF16\uD83C\uDF17\uD83C\uDF18\uD83C\uDF0D\uD83C\uDF0F\uD83C\uDF0E\uD83D\uDC09â\uD83D\uDCBB\uD83D\uDDA5\uD83D\uDCBE\uD83D\uDCBF\uD83D\uDE02â¤\uD83D\uDE0D\uD83E\uDD23\uD83D\uDE0A\uD83D\uDE4F\uD83D\uDC95\uD83D\uDE2D\uD83D\uDE18\uD83D\uDC4D\uD83D\uDE05\uD83D\uDC4F\uD83D\uDE01\uD83D\uDD25\uD83E\uDD70\uD83D\uDC94\uD83D\uDC96\uD83D\uDC99\uD83D\uDE22\uD83E\uDD14\uD83D\uDE06\uD83D\uDE44\uD83D\uDCAA\uD83D\uDE09âº\uD83D\uDC4C\uD83E\uDD17\uD83D\uDC9C\uD83D\uDE14\uD83D\uDE0E\uD83D\uDE07\uD83C\uDF39\uD83E\uDD26\uD83C\uDF89\uD83D\uDC9Eââ¨\uD83E\uDD37\uD83D\uDE31\uD83D\uDE0C\uD83C\uDF38\uD83D\uDE4C\uD83D\uDE0B\uD83D\uDC97\uD83D\uDC9A\uD83D\uDE0F\uD83D\uDC9B\uD83D\uDE42\uD83D\uDC93\uD83E\uDD29\uD83D\uDE04\uD83D\uDE00\uD83D\uDDA4\uD83D\uDE03\uD83D\uDCAF\uD83D\uDE48\uD83D\uDC47\uD83C\uDFB6\uD83D\uDE12\uD83E\uDD2Dâ£\uD83D\uDE1C\uD83D\uDC8B\uD83D\uDC40\uD83D\uDE2A\uD83D\uDE11\uD83D\uDCA5\uD83D\uDE4B\uD83D\uDE1E\uD83D\uDE29\uD83D\uDE21\uD83E\uDD2A\uD83D\uDC4A\uD83E\uDD73\uD83D\uDE25\uD83E\uDD24\uD83D\uDC49\uD83D\uDC83\uD83D\uDE33â\uD83D\uDE1A\uD83D\uDE1D\uD83D\uDE34\uD83C\uDF1F\uD83D\uDE2C\uD83D\uDE43\uD83C\uDF40\uD83C\uDF37\uD83D\uDE3B\uD83D\uDE13ââ
\uD83E\uDD7A\uD83C\uDF08\uD83D\uDE08\uD83E\uDD18\uD83D\uDCA6â\uD83D\uDE23\uD83C\uDFC3\uD83D\uDC90â¹\uD83C\uDF8A\uD83D\uDC98\uD83D\uDE20â\uD83D\uDE15\uD83C\uDF3A\uD83C\uDF82\uD83C\uDF3B\uD83D\uDE10\uD83D\uDD95\uD83D\uDC9D\uD83D\uDE4A\uD83D\uDE39\uD83D\uDDE3\uD83D\uDCAB\uD83D\uDC80\uD83D\uDC51\uD83C\uDFB5\uD83E\uDD1E\uD83D\uDE1B\uD83D\uDD34\uD83D\uDE24\uD83C\uDF3C\uD83D\uDE2Bâ½\uD83E\uDD19â\uD83C\uDFC6\uD83E\uDD2B\uD83D\uDC48\uD83D\uDE2E\uD83D\uDE46\uD83C\uDF7B\uD83C\uDF43\uD83D\uDC36\uD83D\uDC81\uD83D\uDE32\uD83C\uDF3F\uD83E\uDDE1\uD83C\uDF81â¡\uD83C\uDF1E\uD83C\uDF88ââ\uD83D\uDC4B\uD83D\uDE30\uD83E\uDD28\uD83D\uDE36\uD83E\uDD1D\uD83D\uDEB6\uD83D\uDCB0\uD83C\uDF53\uD83D\uDCA2\uD83E\uDD1F\uD83D\uDE41\uD83D\uDEA8\uD83D\uDCA8\uD83E\uDD2Câ\uD83C\uDF80\uD83C\uDF7A\uD83E\uDD13\uD83D\uDE19\uD83D\uDC9F\uD83C\uDF31\uD83D\uDE16\uD83D\uDC76\uD83E\uDD74â¶â¡â\uD83D\uDC8E\uD83D\uDCB8â¬\uD83D\uDE28\uD83C\uDF1A\uD83E\uDD8B\uD83D\uDE37\uD83D\uDD7Aâ \uD83D\uDE45\uD83D\uDE1F\uD83D\uDE35\uD83D\uDC4E\uD83E\uDD32\uD83E\uDD20\uD83E\uDD27\uD83D\uDCCC\uD83D\uDD35\uD83D\uDC85\uD83E\uDDD0\uD83D\uDC3E\uD83C\uDF52\uD83D\uDE17\uD83E\uDD11\uD83C\uDF0A\uD83E\uDD2F\uD83D\uDC37â\uD83D\uDCA7\uD83D\uDE2F\uD83D\uDC86\uD83D\uDC46\uD83C\uDFA4\uD83D\uDE47\uD83C\uDF51â\uD83C\uDF34\uD83D\uDCA3\uD83D\uDC38\uD83D\uDC8C\uD83D\uDCCD\uD83E\uDD40\uD83E\uDD22\uD83D\uDC45\uD83D\uDCA1\uD83D\uDCA9\uD83D\uDC50\uD83D\uDCF8\uD83D\uDC7B\uD83E\uDD10\uD83E\uDD2E\uD83C\uDFBC\uD83E\uDD75\uD83D\uDEA9\uD83C\uDF4E\uD83C\uDF4A\uD83D\uDC7C\uD83D\uDC8D\uD83D\uDCE3\uD83E\uDD42"),eo=ei.reduce((t,r,n)=>(t[n]=r,t),[]),ea=ei.reduce((t,r,n)=>(t[r.codePointAt(0)]=n,t),[]),es=T({prefix:"\uD83D\uDE80",name:"base256emoji",encode:function(t){return t.reduce((t,r)=>t+=eo[r],"")},decode:function(t){let r=[];for(let n of t){let t=ea[n.codePointAt(0)];if(void 0===t)throw Error(`Non-base256emoji character: ${n}`);r.push(t)}return new Uint8Array(r)}});var el=function t(r,n,i){n=n||[];for(var o=i=i||0;r>=2147483648;)n[i++]=255&r|128,r/=128;for(;-128&r;)n[i++]=255&r|128,r>>>=7;return n[i]=0|r,t.bytes=i-o+1,n},eu=function t(r,n){var i,o=0,n=n||0,a=0,s=n,l=r.length;do{if(s>=l)throw t.bytes=0,RangeError("Could not decode varint");i=r[s++],o+=a<28?(127&i)<<a:(127&i)*Math.pow(2,a),a+=7}while(i>=128);return t.bytes=s-n,o};let ec=(t,r=0)=>[eu(t,r),eu.bytes],ed=(t,r,n=0)=>(el(t,r,n),r),eh=t=>t<128?1:t<16384?2:t<2097152?3:t<268435456?4:t<34359738368?5:t<4398046511104?6:t<562949953421312?7:t<72057594037927940?8:t<0x7fffffffffffffff?9:10,ef=(t,r)=>{let n=r.byteLength,i=eh(t),o=i+eh(n),a=new Uint8Array(o+n);return ed(t,a,0),ed(n,a,i),a.set(r,o),new eg(t,n,r,a)},ep=t=>{let r=S(t),[n,i]=ec(r),[o,a]=ec(r.subarray(i)),s=r.subarray(i+a);if(s.byteLength!==o)throw Error("Incorrect length");return new eg(n,o,s,r)},em=(t,r)=>t===r||t.code===r.code&&t.size===r.size&&_(t.bytes,r.bytes);
29class eg{constructor(t,r,n,i){this.code=t,this.size=r,this.digest=n,this.bytes=i}}let ey=({name:t,code:r,encode:n})=>new ev(t,r,n);class ev{constructor(t,r,n){this.name=t,this.code=r,this.encode=n}digest(t){if(t instanceof Uint8Array){let r=this.encode(t);return r instanceof Uint8Array?ef(this.code,r):r.then(t=>ef(this.code,t))}throw Error("Unknown type, must be binary type")}}let eb=t=>async r=>new Uint8Array(await crypto.subtle.digest(t,r)),ew=ey({name:"sha2-256",code:18,encode:eb("SHA-256")}),e_=ey({name:"sha2-512",code:19,encode:eb("SHA-512")}),eS={code:0,name:"identity",encode:S,digest:t=>ef(0,S(t))},eE="raw",eA=85,ex=t=>S(t),ek=t=>S(t),eO=new TextEncoder,eP=new TextDecoder,eC="json",eT=512,eM=t=>eO.encode(JSON.stringify(t)),eR=t=>JSON.parse(eP.decode(t));class eI{constructor(t,r,n,i){this.code=r,this.version=t,this.multihash=n,this.bytes=i,this.byteOffset=i.byteOffset,this.byteLength=i.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:ez,byteLength:ez,code:eB,version:eB,multihash:eB,bytes:eB,_baseCache:ez,asCID:ez})}toV0(){if(0===this.version)return this;{let{code:t,multihash:r}=this;if(t!==eL)throw Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==e$)throw Error("Cannot convert non sha2-256 multihash CID to CIDv0");return eI.createV0(r)}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,n=ef(t,r);return eI.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&em(this.multihash,t.multihash)}toString(t){let{bytes:r,version:n,_baseCache:i}=this;return 0===n?eD(r,i,t||J.encoder):eF(r,i,t||B.encoder)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(t){return eH(/^0\.0/,eq),!!(t&&(t[eU]||t.asCID===t))}get toBaseEncodedString(){throw Error("Deprecated, use .toString()")}get codec(){throw Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw Error('"multibaseName" property is deprecated')}get prefix(){throw Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof eI)return t;if(null!=t&&t.asCID===t){let{version:r,code:n,multihash:i,bytes:o}=t;return new eI(r,n,i,o||ej(r,n,i.bytes))}if(null==t||!0!==t[eU])return null;{let{version:r,multihash:n,code:i}=t,o=ep(n);return eI.create(r,i,o)}}static create(t,r,n){if("number"!=typeof r)throw Error("String codecs are no longer supported");switch(t){case 0:if(r===eL)return new eI(t,r,n,n.bytes);throw Error(`Version 0 CID must use dag-pb (code: ${eL}) block encoding`);case 1:{let i=ej(t,r,n.bytes);return new eI(t,r,n,i)}default:throw Error("Invalid version")}}static createV0(t){return eI.create(0,eL,t)}static createV1(t,r){return eI.create(1,t,r)}static decode(t){let[r,n]=eI.decodeFirst(t);if(n.length)throw Error("Incorrect length");return r}static decodeFirst(t){let r=eI.inspectBytes(t),n=r.size-r.multihashSize,i=S(t.subarray(n,n+r.multihashSize));if(i.byteLength!==r.multihashSize)throw Error("Incorrect length");let o=i.subarray(r.multihashSize-r.digestSize),a=new eg(r.multihashCode,r.digestSize,o,i);return[0===r.version?eI.createV0(a):eI.createV1(r.codec,a),t.subarray(r.size)]}static inspectBytes(t){let r=0,n=()=>{let[n,i]=ec(t.subarray(r));return r+=i,n},i=n(),o=eL;if(18===i?(i=0,r=0):1===i&&(o=n()),0!==i&&1!==i)throw RangeError(`Invalid CID version ${i}`);let a=r,s=n(),l=n(),u=r+l;return{version:i,codec:o,multihashCode:s,digestSize:l,multihashSize:u-a,size:u}}static parse(t,r){let[n,i]=eN(t,r),o=eI.decode(i);return o._baseCache.set(n,t),o}}let eN=(t,r)=>{switch(t[0]){case"Q":return[J.prefix,(r||J).decode(`${J.prefix}${t}`)];case J.prefix:return[J.prefix,(r||J).decode(t)];case B.prefix:return[B.prefix,(r||B).decode(t)];default:if(null==r)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],r.decode(t)]}},eD=(t,r,n)=>{let{prefix:i}=n;if(i!==J.prefix)throw Error(`Cannot string encode V0 in ${n.name} encoding`);let o=r.get(i);if(null!=o)return o;{let o=n.encode(t).slice(1);return r.set(i,o),o}},eF=(t,r,n)=>{let{prefix:i}=n,o=r.get(i);if(null!=o)return o;{let o=n.encode(t);return r.set(i,o),o}},eL=112,e$=18,ej=(t,r,n)=>{let i=eh(t),o=i+eh(r),a=new Uint8Array(o+n.byteLength);return ed(t,a,0),ed(r,a,i),a.set(n,o),a}
29,eU=Symbol.for("@ipld/js-cid/CID"),eB={writable:!1,configurable:!1,enumerable:!0},ez={writable:!1,enumerable:!1,configurable:!1},eH=(t,r)=>{if(t.test("0.0.0-dev"))console.warn(r);else throw Error(r)},eq=`CID.isCID(v) is deprecated and will be removed in the next major release. 30Following code pattern: 31 32if (CID.isCID(value)) { 33 doSomethingWithCID(value) 34} 35 36Is replaced with: 37 38const cid = CID.asCID(value) 39if (cid) { 40 // Make sure to use cid instead of value 41 doSomethingWithCID(cid) 42} 43`,eV={...i,...o,...a,...s,...l,...u,...c,...d,...h,...f};function eG(t,r,n,i){return{name:t,prefix:r,encoder:{name:t,prefix:r,encode:n},decoder:{decode:i}}}({...p,...m});let eW=eG("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),eK=eG("ascii","a",t=>{let r="a";for(let n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return r},t=>{let r=v((t=t.substring(1)).length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}),eY={utf8:eW,"utf-8":eW,hex:eV.base16,latin1:eK,ascii:eK,binary:eK,...eV};function eZ(t,r="utf8"){let n=eY[r];if(!n)throw Error(`Unsupported encoding "${r}"`);return("utf8"===r||"utf-8"===r)&&null!=globalThis.Buffer&&null!=globalThis.Buffer.from?globalThis.Buffer.from(t,"utf8"):n.decoder.decode(`${n.prefix}${t}`)}function eX(t,r="utf8"){let n=eY[r];if(!n)throw Error(`Unsupported encoding "${r}"`);return("utf8"===r||"utf-8"===r)&&null!=globalThis.Buffer&&null!=globalThis.Buffer.from?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}},820:function(t,r,n){"use strict";n.d(r,{Z:function(){return l}});var i,o={},a=function(){if(i)return o;i=1,o.parse=function(t,n){if("string"!=typeof t)throw TypeError("argument str must be a string");var i={},o=t.length;if(o<2)return i;var a=n&&n.decode||d,s=0,l=0,h=0;do{if(-1===(l=t.indexOf("=",s)))break;if(-1===(h=t.indexOf(";",s)))h=o;else if(l>h){s=t.lastIndexOf(";",l-1)+1;continue}var f=u(t,s,l),p=c(t,l,f),m=t.slice(f,p);if(!r.call(i,m)){var g=u(t,l+1,h),y=c(t,h,g);34===t.charCodeAt(g)&&34===t.charCodeAt(y-1)&&(g++,y--);var v=t.slice(g,y);i[m]=function(t,r){try{return r(t)}catch(r){return t}}(v,a)}s=h+1}while(s<o);return i},o.serialize=function(r,i,o){var u=o&&o.encode||encodeURIComponent;if("function"!=typeof u)throw TypeError("option encode is invalid");if(!n.test(r))throw TypeError("argument name is invalid");var c=u(i);if(!a.test(c))throw TypeError("argument val is invalid");var d=r+"="+c;if(!o)return d;if(null!=o.maxAge){var h=Math.floor(o.maxAge);if(!isFinite(h))throw TypeError("option maxAge is invalid");d+="; Max-Age="+h}if(o.domain){if(!s.test(o.domain))throw TypeError("option domain is invalid");d+="; Domain="+o.domain}if(o.path){if(!l.test(o.path))throw TypeError("option path is invalid");d+="; Path="+o.path}if(o.expires){var f=o.expires;if("[object Date]"!==t.call(f)||isNaN(f.valueOf()))throw TypeError("option expires is invali
43d");d+="; Expires="+f.toUTCString()}if(o.httpOnly&&(d+="; HttpOnly"),o.secure&&(d+="; Secure"),o.partitioned&&(d+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"none":d+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return d};var t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,a=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,l=/^[\u0020-\u003A\u003D-\u007E]*$/;function u(t,r,n){do{var i=t.charCodeAt(r);if(32!==i&&9!==i)return r}while(++r<n);return n}function c(t,r,n){for(;r>n;){var i=t.charCodeAt(--r);if(32!==i&&9!==i)return r+1}return n}
43function d(t){return -1!==t.indexOf("%")?decodeURIComponent(t):t}return o}();function s(t,r={}){let n=t&&"j"===t[0]&&":"===t[1]?t.substr(2):t;if(!r.doNotParse)try{return JSON.parse(n)}catch(t){}return t}class l{constructor(t,r={}){var n;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let t=this.cookies;this.cookies=a.parse(document.cookie),this._checkChanges(t)};let i="undefined"==typeof document?"":document.cookie;this.cookies="string"==typeof(n=t||i)?a.parse(n):"object"==typeof n&&null!==n?n:{},this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=function(){let t="undefined"==typeof global?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(r=>{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:s(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),s(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();let r={};for(let n in this.cookies)r[n]=s(this.cookies[n],t);return r}set(t,r,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;let i="string"==typeof r?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(t,i,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){let n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=a.serialize(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){let r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}},57724:function(t,r,n){"use strict";n.d(r,{o6:function(){return g}});let i=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,o=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,a=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function s(t,r){if("__proto__"===t||"constructor"===t&&r&&"object"==typeof r&&"prototype"in r){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`);return}return r}function l(t,r={}){if("string"!=typeof t)return t;let n=t.trim();if('"'===t[0]&&t.endsWith('"')&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){let t=n.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if("undefined"===t)return;if("null"===t)return null;if("nan"===t)return Number.NaN;if("infinity"===t)return Number.POSITIVE_INFINITY;if("-infinity"===t)return Number.NEGATIVE_INFINITY}if(!a.test(t)){if(r.strict)throw SyntaxError("[destr] Invalid JSON");return t}try{if(i.test(t)||o.test(t)){if(r.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(t,s)}return JSON.parse(t)}catch(n){if(r.strict)throw n;return t}}var u=n(82957).Buffer;function c(t,...r){try{var n;return(n=t(...r))&&"function"==typeof n.then?n:Promise.resolve(n)}catch(t){return Promise.reject(t)}}function d(t){if(function(t){let r=typeof t;return null===t||"object"!==r&&"function"!==r}(t))return String(t);if(function(t){let r=Object.getPrototypeOf(t);return!r||r.isPrototypeOf(Object)}(t)||Array.isArray(t))return JSON.stringify(t);if("function"==typeof t.toJSON)return d(t.toJSON());throw Error("[unstorage] Cannot stringify value!")}let h="base64:";function f(t){return t&&t.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function p(t){return(t=f(t))?t+":":""}let m=()=>{let t=new Map;return{name:"memory",getInstance:()=>t,hasItem:r=>t.has(r),getItem:r=>t.get(r)??null,getItemRaw:r=>t.get(r)??null,setItem(r,n){t.set(r,n)},setItemRaw(r,n){t.set(r,n)},removeItem(r){t.delete(r)},getKeys:()=>[...t.keys()],clear(){t.clear()},dispose(){t.clear()}}};function g(t={}){let r={mounts:{"":t.driver||m()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}}
43,n=t=>{for(let n of r.mountpoints)if(t.startsWith(n))return{base:n,relativeKey:t.slice(n.length),driver:r.mounts[n]};return{base:"",relativeKey:t,driver:r.mounts[""]}},i=(t,n)=>r.mountpoints.filter(r=>r.startsWith(t)||n&&t.startsWith(r)).map(n=>({relativeBase:t.length>n.length?t.slice(n.length):void 0,mountpoint:n,driver:r.mounts[n]})),o=(t,n)=>{if(r.watching)for(let i of(n=f(n),r.watchListeners))i(t,n)},a=async()=>{if(!r.watching)for(let t in r.watching=!0,r.mounts)r.unwatch[t]=await y(r.mounts[t],o,t)},s=async()=>{if(r.watching){for(let t in r.unwatch)await r.unwatch[t]();r.unwatch={},r.watching=!1}},g=(t,r,i)=>{let o=new Map,a=t=>{let r=o.get(t.base);return r||(r={driver:t.driver,base:t.base,items:[]},o.set(t.base,r)),r};for(let i of t){let t="string"==typeof i,o=f(t?i:i.key),s=t?void 0:i.value,l=t||!i.options?r:{...r,...i.options},u=n(o);a(u).items.push({key:o,value:s,relativeKey:u.relativeKey,options:l})}return Promise.all([...o.values()].map(t=>i(t))).then(t=>t.flat())},b={hasItem(t,r={}){let{relativeKey:i,driver:o}=n(t=f(t));return c(o.hasItem,i,r)},getItem(t,r={}){let{relativeKey:i,driver:o}=n(t=f(t));return c(o.getItem,i,r).then(t=>l(t))},getItems:(t,r={})=>g(t,r,t=>t.driver.getItems?c(t.driver.getItems,t.items.map(t=>({key:t.relativeKey,options:t.options})),r).then(r=>r.map(r=>({key:function(...t){return f(t.join(":"))}(t.base,r.key),value:l(r.value)}))):Promise.all(t.items.map(r=>c(t.driver.getItem,r.relativeKey,r.options).then(t=>({key:r.key,value:l(t)}))))),getItemRaw(t,r={}){let{relativeKey:i,driver:o}=n(t=f(t));return o.getItemRaw?c(o.getItemRaw,i,r):c(o.getItem,i,r).then(t=>{var r;return"string"==typeof t&&t.startsWith(h)?(r=t.slice(h.length),globalThis.Buffer?u.from(r,"base64"):Uint8Array.from(globalThis.atob(r),t=>t.codePointAt(0))):t})},async setItem(t,r,i={}){if(void 0===r)return b.removeItem(t);let{relativeKey:a,driver:s}=n(t=f(t));s.setItem&&(await c(s.setItem,a,d(r),i),s.watch||o("update",t))},async setItems(t,r){await g(t,r,async t=>{if(t.driver.setItems)return c(t.driver.setItems,t.items.map(t=>({key:t.relativeKey,value:d(t.value),options:t.options})),r);t.driver.setItem&&await Promise.all(t.items.map(r=>c(t.driver.setItem,r.relativeKey,d(r.value),r.options)))})},async setItemRaw(t,r,i={}){if(void 0===r)return b.removeItem(t,i);let{relativeKey:a,driver:s}=n(t=f(t));if(s.setItemRaw)await c(s.setItemRaw,a,r,i);else{if(!s.setItem)return;await c(s.setItem,a,"string"==typeof r?r:h+(globalThis.Buffer?u.from(r).toString("base64"):globalThis.btoa(String.fromCodePoint(...r))),i)}s.watch||o("update",t)},async removeItem(t,r={}){"boolean"==typeof r&&(r={removeMeta:r});let{relativeKey:i,driver:a}=n(t=f(t));a.removeItem&&(await c(a.removeItem,i,r),(r.removeMeta||r.removeMata)&&await c(a.removeItem,i+"$",r),a.watch||o("remove",t))},async getMeta(t,r={}){"boolean"==typeof r&&(r={nativeOnly:r});let{relativeKey:i,driver:o}=n(t=f(t)),a=Object.create(null);if(o.getMeta&&Object.assign(a,await c(o.getMeta,i,r)),!r.nativeOnly){let t=await c(o.getItem,i+"$",r).then(t=>l(t));t&&"object"==typeof t&&("string"==typeof t.atime&&(t.atime=new Date(t.atime)),"string"==typeof t.mtime&&(t.mtime=new Date(t.mtime)),Object.assign(a,t))}return a},setMeta(t,r,n={}){return this.setItem(t+"$",r,n)},removeMeta(t,r={}){return this.removeItem(t+"$",r)},async getKeys(t,r={}){let n=i(t=p(t),!0),o=[],a=[],s=!0;for(let t of n){for(let n of(t.driver.flags?.maxDepth||(s=!1),await c(t.driver.getKeys,t.relativeBase,r))){let r=t.mountpoint+f(n);o.some(t=>r.startsWith(t))||a.push(r)}o=[t.mountpoint,...o.filter(r=>!r.startsWith(t.mountpoint))]}let l=void 0!==r.maxDepth&&!s;return a.filter(n=>{var i;return(!l||function(t,r){if(void 0===r)return!0;let n=0,i=t.indexOf(":");for(;i>-1;)n++,i=t.indexOf(":",i+1);return n<=r}(n,r.maxDepth))&&((i=t)?n.startsWith(i)&&"$"!==n[n.length-1]:"$"!==n[n.length-1])})},async clear(t,r={}){t=p(t),await Promise.all(i(t,!1).map(async t=>t.driver.clear?c(t.driver.clear,t.relativeBase,r):t.driver.removeItem?Promise.all((await t.driver.getKeys(t.relativeBase||"",r)).map(n=>t.driver.removeItem(n,r))):void 0))},async dispose(){await Promise.all(Object.values(r.mounts).map(t=>v(t)))},watch:async t=>(await a(),r.watchListeners.push(t),async()=>{r.watchListeners=r.watchListeners.filter(r=>
43r!==t),0===r.watchListeners.length&&await s()}),async unwatch(){r.watchListeners=[],await s()},mount(t,n){if((t=p(t))&&r.mounts[t])throw Error(`already mounted at ${t}`);return t&&(r.mountpoints.push(t),r.mountpoints.sort((t,r)=>r.length-t.length)),r.mounts[t]=n,r.watching&&Promise.resolve(y(n,o,t)).then(n=>{r.unwatch[t]=n}).catch(console.error),b},async unmount(t,n=!0){(t=p(t))&&r.mounts[t]&&(r.watching&&t in r.unwatch&&(r.unwatch[t]?.(),delete r.unwatch[t]),n&&await v(r.mounts[t]),r.mountpoints=r.mountpoints.filter(r=>r!==t),delete r.mounts[t])},getMount(t=""){let r=n(t=f(t)+":");return{driver:r.driver,base:r.base}},getMounts:(t="",r={})=>i(t=f(t),r.parents).map(t=>({driver:t.driver,base:t.mountpoint})),keys:(t,r={})=>b.getKeys(t,r),get:(t,r={})=>b.getItem(t,r),set:(t,r,n={})=>b.setItem(t,r,n),has:(t,r={})=>b.hasItem(t,r),del:(t,r={})=>b.removeItem(t,r),remove:(t,r={})=>b.removeItem(t,r)};return b}function y(t,r,n){return t.watch?t.watch((t,i)=>r(t,n+i)):()=>{}}async function v(t){"function"==typeof t.dispose&&await c(t.dispose)}},33085:function(t,r,n){"use strict";n.d(r,{sj:function(){return p},CO:function(){return g},Ld:function(){return m}}),Symbol();let i=Symbol(),o=Object.getPrototypeOf,a=new WeakMap,s=t=>t&&(a.has(t)?a.get(t):o(t)===Object.prototype||o(t)===Array.prototype),l=t=>s(t)&&t[i]||null,u=(t,r=!0)=>{a.set(t,r)},c=t=>"object"==typeof t&&null!==t,d=new WeakMap,h=new WeakSet,[f]=((t=Object.is,r=(t,r)=>new Proxy(t,r),n=t=>c(t)&&!h.has(t)&&(Array.isArray(t)||!(Symbol.iterator in t))&&!(t instanceof WeakMap)&&!(t instanceof WeakSet)&&!(t instanceof Error)&&!(t instanceof Number)&&!(t instanceof Date)&&!(t instanceof String)&&!(t instanceof RegExp)&&!(t instanceof ArrayBuffer),i=t=>{switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t}},o=new WeakMap,a=(t,r,n=i)=>{let s=o.get(t);if((null==s?void 0:s[0])===r)return s[1];let l=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));return u(l,!0),o.set(t,[r,l]),Reflect.ownKeys(t).forEach(r=>{if(Object.getOwnPropertyDescriptor(l,r))return;let i=Reflect.get(t,r),o={value:i,enumerable:!0,configurable:!0};if(h.has(i))u(i,!1);else if(i instanceof Promise)delete o.value,o.get=()=>n(i);else if(d.has(i)){let[t,r]=d.get(i);o.value=a(t,r(),n)}Object.defineProperty(l,r,o)}),Object.preventExtensions(l)},s=new WeakMap,f=[1,1],p=i=>{if(!c(i))throw Error("object required");let o=s.get(i);if(o)return o;let u=f[0],m=new Set,g=(t,r=++f[0])=>{u!==r&&(u=r,m.forEach(n=>n(t,r)))},y=f[1],v=(t=++f[1])=>(y===t||m.size||(y=t,w.forEach(([r])=>{let n=r[1](t);n>u&&(u=n)})),u),b=t=>(r,n)=>{let i=[...r];i[1]=[t,...i[1]],g(i,n)},w=new Map,_=(t,r)=>{if(w.has(t))throw Error("prop listener already exists");if(m.size){let n=r[3](b(t));w.set(t,[r,n])}else w.set(t,[r])},S=t=>{var r;let n=w.get(t);n&&(w.delete(t),null==(r=n[1])||r.call(n))},E=t=>{m.add(t),1===m.size&&w.forEach(([t,r],n)=>{if(r)throw Error("remove already exists");let i=t[3](b(n));w.set(n,[t,i])});let r=()=>{m.delete(t),0===m.size&&w.forEach(([t,r],n)=>{r&&(r(),w.set(n,[t]))})};return r},A=Array.isArray(i)?[]:Object.create(Object.getPrototypeOf(i)),x={deleteProperty(t,r){let n=Reflect.get(t,r);S(r);let i=Reflect.deleteProperty(t,r);return i&&g(["delete",[r],n]),i},set(r,i,o,a){let u=Reflect.has(r,i),f=Reflect.get(r,i,a);if(u&&(t(f,o)||s.has(o)&&t(f,s.get(o))))return!0;S(i),c(o)&&(o=l(o)||o);let m=o;if(o instanceof Promise)o.then(t=>{o.status="fulfilled",o.value=t,g(["resolve",[i],t])}).catch(t=>{o.status="rejected",o.reason=t,g(["reject",[i],t])});else{!d.has(o)&&n(o)&&(m=p(o));let t=!h.has(m)&&d.get(m);t&&_(i,t)}return Reflect.set(r,i,m,a),g(["set",[i],o,f]),!0}},k=r(A,x);s.set(i,k);let O=[A,v,a,E];
43return d.set(k,O),Reflect.ownKeys(i).forEach(t=>{let r=Object.getOwnPropertyDescriptor(i,t);"value"in r&&(k[t]=i[t],delete r.value,delete r.writable),Object.defineProperty(A,t,r)}),k})=>[p,d,h,t,r,n,i,o,a,s,f])();function p(t={}){return f(t)}function m(t,r,n){let i;let o=d.get(t);o||console.warn("Please use proxy object");let a=[],s=o[3],l=!1,u=s(t=>{if(a.push(t),n){r(a.splice(0));return}i||(i=Promise.resolve().then(()=>{i=void 0,l&&r(a.splice(0))}))});return l=!0,()=>{l=!1,u()}}function g(t,r){let n=d.get(t);n||console.warn("Please use proxy object");let[i,o,a]=n;return a(i,o(),r)}},76548:function(t,r,n){"use strict";n.d(r,{R:function(){return Q}});let i="2.23.2",o={getDocsUrl:({docsBaseUrl:t,docsPath:r="",docsSlug:n})=>r?`${t??"https://viem.sh"}${r}${n?`#${n}`:""}`:void 0,version:`viem@${i}`};class a extends Error{constructor(t,r={}){let n=r.cause instanceof a?r.cause.details:r.cause?.message?r.cause.message:r.details,s=r.cause instanceof a&&r.cause.docsPath||r.docsPath,l=o.getDocsUrl?.({...r,docsPath:s});super([t||"An error occurred.","",...r.metaMessages?[...r.metaMessages,""]:[],...l?[`Docs: ${l}`]:[],...n?[`Details: ${n}`]:[],...o.version?[`Version: ${o.version}`]:[]].join("\n"),r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=n,this.docsPath=s,this.metaMessages=r.metaMessages,this.name=r.name??this.name,this.shortMessage=t,this.version=i}walk(t){return function t(r,n){return n?.(r)?r:r&&"object"==typeof r&&"cause"in r&&void 0!==r.cause?t(r.cause,n):n?null:r}(this,t)}}function s(t,{strict:r=!0}={}){return!!t&&"string"==typeof t&&(r?/^0x[0-9a-fA-F]*$/.test(t):t.startsWith("0x"))}class l extends a{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${t}) exceeds padding size (${r}).`,{name:"SizeExceedsPaddingSizeError"})}}function u(t,{dir:r,size:n=32}={}){return"string"==typeof t?function(t,{dir:r,size:n=32}={}){if(null===n)return t;let i=t.replace("0x","");if(i.length>2*n)throw new l({size:Math.ceil(i.length/2),targetSize:n,type:"hex"});return`0x${i["right"===r?"padEnd":"padStart"](2*n,"0")}`}(t,{dir:r,size:n}):function(t,{dir:r,size:n=32}={}){if(null===n)return t;if(t.length>n)throw new l({size:t.length,targetSize:n,type:"bytes"});let i=new Uint8Array(n);for(let o=0;o<n;o++){let a="right"===r;i[a?o:n-o-1]=t[a?o:t.length-o-1]}return i}(t,{dir:r,size:n})}class c extends a{constructor({max:t,min:r,signed:n,size:i,value:o}){super(`Number "${o}" is not in safe ${i?`${8*i}-bit ${n?"signed":"unsigned"} `:""}integer range ${t?`(${r} to ${t})`:`(above ${r})`}`,{name:"IntegerOutOfRangeError"})}}class d extends a{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed ${r} bytes. Given size: ${t} bytes.`,{name:"SizeOverflowError"})}}function h(t){return s(t,{strict:!1})?Math.ceil((t.length-2)/2):t.length}function f(t,{size:r}){if(h(t)>r)throw new d({givenSize:h(t),maxSize:r})}function p(t,r={}){let{signed:n}=r;r.size&&f(t,{size:r.size});let i=BigInt(t);if(!n)return i;let o=(t.length-2)/2;return i<=(1n<<8n*BigInt(o)-1n)-1n?i:i-BigInt(`0x${"f".padStart(2*o,"f")}`)-1n}let m=Array.from({length:256},(t,r)=>r.toString(16).padStart(2,"0"));function g(t,r={}){return"number"==typeof t||"bigint"==typeof t?v(t,r):"string"==typeof t?function(t,r={}){return y(b.encode(t),r)}(t,r):"boolean"==typeof t?function(t,r={}){let n=`0x${Number(t)}`;return"number"==typeof r.size?(f(n,{size:r.size}),u(n,{size:r.size})):n}(t,r):y(t,r)}function y(t,r={}){let n="";for(let r=0;r<t.length;r++)n+=m[t[r]];let i=`0x${n}`;return"number"==typeof r.size?(f(i,{size:r.size}),u(i,{dir:"right",size:r.size})):i}function v(t,r={}){let n;let{signed:i,size:o}=r,a=BigInt(t);o?n=i?(1n<<8n*BigInt(o)-1n)-1n:2n**(8n*BigInt(o))-1n:"number"==typeof t&&(n=BigInt(Number.MAX_SAFE_INTEGER));let s="bigint"==typeof n&&i?-n-1n:0;if(n&&a>n||a<s){let r="bigint"==typeof t?"n":"";throw new c({max:n?`${n}${r}`:void 0,min:`${s}${r}`,signed:i,size:o,value:`${t}${r}`})}let l=`0x${(i&&a<0?(1n<<BigInt(8*o))+BigInt(a):a).toString(16)}`;return o?u(l,{size:o}):l}let b=new TextEncoder,w=new TextEncoder,_={zero:48,nine:57,A:65,F:70,a:97,f:102};function S(t){return t>=_.zero&&t<=_.nine?t-_.zero:t>=_.A&&t<=_.F?t-(_.A-10):t>=_.a&&t<=_.f?t-(_.a-10):void 0}function E(t,r={}){let n=t;r.size&&(f(n,{size:r.size}),n=u(n,{dir:"right",size:r.size}));let i=n.slice(2);i.length%2&&(i=`0${i}`);let o=i.length/2,s=new Uint8Array(o);for(let t=0,r=0;t<o;
43t++){let n=S(i.charCodeAt(r++)),o=S(i.charCodeAt(r++));if(void 0===n||void 0===o)throw new a(`Invalid byte sequence ("${i[r-2]}${i[r-1]}" in "${i}").`);s[t]=16*n+o}return s}function A(t,r={}){let n=w.encode(t);return"number"==typeof r.size?(f(n,{size:r.size}),u(n,{dir:"right",size:r.size})):n}var x=n(74043);let k=BigInt(4294967296-1),O=BigInt(32),P=(t,r,n)=>t<<n|r>>>32-n,C=(t,r,n)=>r<<n|t>>>32-n,T=(t,r,n)=>r<<n-32|t>>>64-n,M=(t,r,n)=>t<<n-32|r>>>64-n;var R=n(25884);let I=[],N=[],D=[],F=BigInt(0),L=BigInt(1),$=BigInt(2),j=BigInt(7),U=BigInt(256),B=BigInt(113);for(let t=0,r=L,n=1,i=0;t<24;t++){[n,i]=[i,(2*n+3*i)%5],I.push(2*(5*i+n)),N.push((t+1)*(t+2)/2%64);let o=F;for(let t=0;t<7;t++)(r=(r<<L^(r>>j)*B)%U)&$&&(o^=L<<(L<<BigInt(t))-L);D.push(o)}let[z,H]=function(t,r=!1){let n=new Uint32Array(t.length),i=new Uint32Array(t.length);for(let o=0;o<t.length;o++){let{h:a,l:s}=function(t,r=!1){return r?{h:Number(t&k),l:Number(t>>O&k)}:{h:0|Number(t>>O&k),l:0|Number(t&k)}}(t[o],r);[n[o],i[o]]=[a,s]}return[n,i]}(D,!0),q=(t,r,n)=>n>32?T(t,r,n):P(t,r,n),V=(t,r,n)=>n>32?M(t,r,n):C(t,r,n);class G extends R.kb{constructor(t,r,n,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,x.k8)(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,R.Jq)(this.state)}keccak(){R.iA||(0,R.l1)(this.state32),function(t,r=24){let n=new Uint32Array(10);for(let i=24-r;i<24;i++){for(let r=0;r<10;r++)n[r]=t[r]^t[r+10]^t[r+20]^t[r+30]^t[r+40];for(let r=0;r<10;r+=2){let i=(r+8)%10,o=(r+2)%10,a=n[o],s=n[o+1],l=q(a,s,1)^n[i],u=V(a,s,1)^n[i+1];for(let n=0;n<50;n+=10)t[r+n]^=l,t[r+n+1]^=u}let r=t[2],o=t[3];for(let n=0;n<24;n++){let i=N[n],a=q(r,o,i),s=V(r,o,i),l=I[n];r=t[l],o=t[l+1],t[l]=a,t[l+1]=s}for(let r=0;r<50;r+=10){for(let i=0;i<10;i++)n[i]=t[r+i];for(let i=0;i<10;i++)t[r+i]^=~n[(i+2)%10]&n[(i+4)%10]}t[0]^=z[i],t[1]^=H[i]}n.fill(0)}(this.state32,this.rounds),R.iA||(0,R.l1)(this.state32),this.posOut=0,this.pos=0}update(t){(0,x.$h)(this);let{blockLen:r,state:n}=this,i=(t=(0,R.O0)(t)).length;for(let o=0;o<i;){let a=Math.min(r-this.pos,i-o);for(let r=0;r<a;r++)n[this.pos++]^=t[o++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:n,blockLen:i}=this;t[n]^=r,(128&r)!=0&&n===i-1&&this.keccak(),t[i-1]^=128,this.keccak()}writeInto(t){(0,x.$h)(this,!1),(0,x.gk)(t),this.finish();let r=this.state,{blockLen:n}=this;for(let i=0,o=t.length;i<o;){this.posOut>=n&&this.keccak();let a=Math.min(n-this.posOut,o-i);t.set(r.subarray(this.posOut,this.posOut+a),i),this.posOut+=a,i+=a}return t}xofInto(t){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return(0,x.k8)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,x.eB)(t,this),this.finished)throw Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:a}=this;return t||(t=new G(r,n,i,a,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=a,t.destroyed=this.destroyed,t}}let W=(0,R.hE)(()=>new G(136,1,32));function K(t,r){let n=W(s(t,{strict:!1})?function(t,r={}){return"number"==typeof t||"bigint"==typeof t?E(v(t,r)):"boolean"==typeof t?function(t,r={}){let n=new Uint8Array(1);return(n[0]=Number(t),"number"==typeof r.size)?(f(n,{size:r.size}),u(n,{size:r.size})):n}(t,r):s(t)?E(t,r):A(t,r)}(t):t);return"bytes"===(r||"hex")?n:g(n)}class Y extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){let r=super.get(t);return super.has(t)&&void 0!==r&&(this.delete(t),super.set(t,r)),r}set(t,r){if(super.set(t,r),this.maxSize&&this.size>this.maxSize){let t=this.keys().next().value;t&&this.delete(t)}return this}}let Z=new Y(8192);async function X({hash:t,signature:r}){let i=s(t)?t:g(t),{secp256k1:o}=await n.e(1216).then(n.bind(n,67738)),a=(()=>
vendor: 5,381 bytes, line 43
43{if("object"==typeof r&&"r"in r&&"s"in r){let{r:t,s:n,v:i,yParity:a}=r,s=J(Number(a??i));return new o.Signature(p(t),p(n)).addRecoveryBit(s)}let t=s(r)?r:g(r),n=J(function(t,r={}){return Number(p(t,r))}(`0x${t.slice(130)}`));return o.Signature.fromCompact(t.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(i.substring(2)).toHex(!1);return`0x${a}`}function J(t){if(0===t||1===t)return t;if(27===t)return 0;if(28===t)return 1;throw Error("Invalid yParityOrV value")}async function Q({hash:t,signature:r}){return function(t){let r=K(`0x${t.substring(4)}`).substring(26);return function(t,r){if(Z.has(`${t}.undefined`))return Z.get(`${t}.undefined`);let n=t.substring(2).toLowerCase(),i=K(A(n),"bytes"),o=(r?n.substring(`${r}0x`.length):n).split("");for(let t=0;t<40;t+=2)i[t>>1]>>4>=8&&o[t]&&(o[t]=o[t].toUpperCase()),(15&i[t>>1])>=8&&o[t+1]&&(o[t+1]=o[t+1].toUpperCase());let a=`0x${o.join("")}`;return Z.set(`${t}.${r}`,a),a}(`0x${r}`)}(await X({hash:t,signature:r}))}},67738:function(t,r,n){"use strict";n.d(r,{secp256k1:function(){return eA}});var i={};n.r(i),n.d(i,{Fy:function(){return M},uw:function(){return m},gk:function(){return p},Dd:function(){return R},dQ:function(){return I},ci:function(){return y},bytesToNumberBE:function(){return E},ty:function(){return A},eV:function(){return P},n$:function(){return F},ql:function(){return O},hexToBytes:function(){return S},Z2:function(){return T},_t:function(){return f},H9:function(){return j},tL:function(){return x},S5:function(){return k},uz:function(){return v},FF:function(){return $}});var o=n(21512),a=n(74043),s=n(25884);class l extends s.kb{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,(0,a.z3)(t);let n=(0,s.O0)(r);if(this.iHash=t.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let i=this.blockLen,o=new Uint8Array(i);o.set(n.length>i?t.create().update(n).digest():n);for(let t=0;t<o.length;t++)o[t]^=54;this.iHash.update(o),this.oHash=t.create();for(let t=0;t<o.length;t++)o[t]^=106;this.oHash.update(o),o.fill(0)}update(t){return(0,a.$h)(this),this.iHash.update(t),this}digestInto(t){(0,a.$h)(this),(0,a.gk)(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){let t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));let{oHash:r,iHash:n,finished:i,destroyed:o,blockLen:a,outputLen:s}=this;return t.finished=i,t.destroyed=o,t.blockLen=a,t.outputLen=s,t.oHash=r._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let u=(t,r,n)=>new l(t,r).update(n).digest();u.create=(t,r)=>new l(t,r);let c=BigInt(0),d=BigInt(1),h=BigInt(2);function f(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name}function p(t){if(!f(t))throw Error("Uint8Array expected")}function m(t,r){if("boolean"!=typeof r)throw Error(t+" boolean expected, got "+r)}let g=Array.from({length:256},(t,r)=>r.toString(16).padStart(2,"0"));function y(t){p(t);let r="";for(let n=0;n<t.length;n++)r+=g[t[n]];return r}function v(t){let r=t.toString(16);return 1&r.length?"0"+r:r}function b(t){if("string"!=typeof t)throw Error("hex string expected, got "+typeof t);return""===t?c:BigInt("0x"+t)}let w={_0:48,_9:57,A:65,F:70,a:97,f:102};function _(t){return t>=w._0&&t<=w._9?t-w._0:t>=w.A&&t<=w.F?t-(w.A-10):t>=w.a&&t<=w.f?t-(w.a-10):void 0}function S(t){if("string"!=typeof t)throw Error("hex string expected, got "+typeof t);let r=t.length,n=r/2;if(r%2)throw Error("hex string expected, got unpadded hex of length "+r);let i=new Uint8Array(n);for(let r=0,o=0;r<n;r++,o+=2){let n=_(t.charCodeAt(o)),a=_(t.charCodeAt(o+1));if(void 0===n||void 0===a)throw Error('hex string expected, got non-hex character "'+(t[o]+t[o+1])+'" at index '+o);i[r]=16*n+a}return i}function E(t){return b(y(t))}function A(t){return p(t),b(y(Uint8Array.from(t).reverse()))}function x(t,r){return S(t.toString(16).padStart(2*r,"0"))}function k(t,r){return x(t,r).reverse()}function O(t,r,n){let i;if("string"==typeof r)try{i=S(r)}catch(r){throw Error(t+" must be hex string or Uint8Array, cause: "+r)}else if(f(r))i=Uint8Array.from(r);else throw Error(t+" must be hex string or Uint8Array");let o=i.length;if("number"==typeof n&&o!==n)throw Error(t+" of length "+n+" expected, got "+o);return i}function P(...t){let r=0;for(let n=0;n<t.length;n++){let i=t[n];p(i),r+=i.length}let n=new Uint8Array(r);for(let r=0,i=0;r<t.length;r++){let o=t[r];n.set(o,i),i+=o.length}return n}let C=t=>"bigint"==typeof t&&c<=t;function T(t,r,n){return C(t)&&C(r)&&C(n)&&r<=t&&t<n}function M(t,r,n,i){if(!T(r,n,i))throw Error("expected valid "+t+": "+n+" <= n < "+i+", got "+r)}function R(t){let r;for(r=0;t>c;t>>=d,r+=1);return r}let I=t=>(h<<BigInt(t-1))-d,N=t=>new Uint8Array(t),D=t=>Uint8Array.from(t);function F(t,r,n){if("number"!=typeof t||t<2)throw Error("hashLen must be a number");if("number"!=typeof r||r<2)throw Error("qByteLen must be a number");if("function"!=typeof n)throw Error("hmacFn must be a function");let i=N(t),o=N(t),a=0,s=()=>{i.fill(1),o.fill(0),a=0},l=(...t)=>n(o,i,...t),u=(t=N())=>{o=l(D([0]),t),i=l(),0!==t.length&&(o=l(D([1]),t),i=l())},c=()=>
43{if(a++>=1e3)throw Error("drbg: tried 1000 values");let t=0,n=[];for(;t<r;){let r=(i=l()).slice();n.push(r),t+=i.length}return P(...n)};return(t,r)=>{let n;for(s(),u(t);!(n=r(c()));)u();return s(),n}}let L={bigint:t=>"bigint"==typeof t,function:t=>"function"==typeof t,boolean:t=>"boolean"==typeof t,string:t=>"string"==typeof t,stringOrUint8Array:t=>"string"==typeof t||f(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,r)=>r.Fp.isValid(t),hash:t=>"function"==typeof t&&Number.isSafeInteger(t.outputLen)};function $(t,r,n={}){let i=(r,n,i)=>{let o=L[n];if("function"!=typeof o)throw Error("invalid validator function");let a=t[r];if((!i||void 0!==a)&&!o(a,t))throw Error("param "+String(r)+" is invalid. Expected "+n+", got "+a)};for(let[t,n]of Object.entries(r))i(t,n,!1);for(let[t,r]of Object.entries(n))i(t,r,!0);return t}function j(t){let r=new WeakMap;return(n,...i)=>{let o=r.get(n);if(void 0!==o)return o;let a=t(n,...i);return r.set(n,a),a}}let U=BigInt(0),B=BigInt(1),z=BigInt(2),H=BigInt(3),q=BigInt(4),V=BigInt(5),G=BigInt(8);function W(t,r){let n=t%r;return n>=U?n:r+n}function K(t,r,n){let i=t;for(;r-- >U;)i*=i,i%=n;return i}function Y(t,r){if(t===U)throw Error("invert: expected non-zero number");if(r<=U)throw Error("invert: expected positive modulus, got "+r);let n=W(t,r),i=r,o=U,a=B,s=B,l=U;for(;n!==U;){let t=i/n,r=i%n,u=o-s*t,c=a-l*t;i=n,n=r,o=s,a=l,s=u,l=c}if(i!==B)throw Error("invert: does not exist");return W(o,r)}let Z=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function X(t,r){let n=void 0!==r?r:t.toString(2).length;return{nBitLength:n,nByteLength:Math.ceil(n/8)}}function J(t,r,n=!1,i={}){let o;if(t<=U)throw Error("invalid field: expected ORDER > 0, got "+t);let{nBitLength:a,nByteLength:s}=X(t,r);if(s>2048)throw Error("invalid field: expected ORDER of <= 2048 bytes");let l=Object.freeze({ORDER:t,isLE:n,BITS:a,BYTES:s,MASK:I(a),ZERO:U,ONE:B,create:r=>W(r,t),isValid:r=>{if("bigint"!=typeof r)throw Error("invalid field element: expected bigint, got "+typeof r);return U<=r&&r<t},is0:t=>t===U,isOdd:t=>(t&B)===B,neg:r=>W(-r,t),eql:(t,r)=>t===r,sqr:r=>W(r*r,t),add:(r,n)=>W(r+n,t),sub:(r,n)=>W(r-n,t),mul:(r,n)=>W(r*n,t),pow:(t,r)=>(function(t,r,n){if(n<U)throw Error("invalid exponent, negatives unsupported");if(n===U)return t.ONE;if(n===B)return r;let i=t.ONE,o=r;for(;n>U;)n&B&&(i=t.mul(i,o)),o=t.sqr(o),n>>=B;return i})(l,t,r),div:(r,n)=>W(r*Y(n,t),t),sqrN:t=>t*t,addN:(t,r)=>t+r,subN:(t,r)=>t-r,mulN:(t,r)=>t*r,inv:r=>Y(r,t),sqrt:i.sqrt||(r=>(o||(o=function(t){if(t%q===H){let r=(t+B)/q;return function(t,n){let i=t.pow(n,r);if(!t.eql(t.sqr(i),n))throw Error("Cannot find square root");return i}}if(t%G===V){let r=(t-V)/G;return function(t,n){let i=t.mul(n,z),o=t.pow(i,r),a=t.mul(n,o),s=t.mul(t.mul(a,z),o),l=t.mul(a,t.sub(s,t.ONE));if(!t.eql(t.sqr(l),n))throw Error("Cannot find square root");return l}}return function(t){let r,n,i;let o=(t-B)/z;for(r=t-B,n=0;r%z===U;r/=z,n++);for(i=z;i<t&&function(t,r,n){if(r<U)throw Error("invalid exponent, negatives unsupported");if(n<=U)throw Error("invalid modulus");if(n===B)return U;let i=B;for(;r>U;)r&B&&(i=i*t%n),t=t*t%n,r>>=B;return i}(i,o,t)!==t-B;i++)if(i>1e3)throw Error("Cannot find square root: likely non-prime P");if(1===n){let r=(t+B)/q;return function(t,n){let i=t.pow(n,r);if(!t.eql(t.sqr(i),n))throw Error("Cannot find square root");return i}}let a=(r+B)/z;return function(t,s){if(t.pow(s,o)===t.neg(t.ONE))throw Error("Cannot find square root");let l=n,u=t.pow(t.mul(t.ONE,i),r),c=t.pow(s,a),d=t.pow(s,r);for(;!t.eql(d,t.ONE);){if(t.eql(d,t.ZERO))return t.ZERO;let r=1;for(let n=t.sqr(d);r<l&&!t.eql(n,t.ONE);r++)n=t.sqr(n);let n=t.pow(u,B<<BigInt(l-r-1));u=t.sqr(n),c=t.mul(c,n),d=t.mul(d,u),l=r}return c}}(t)}(t)),o(l,r))),invertBatch:t=>(function(t,r){let n=Array(r.length),i=r.reduce((r,i,o)=>t.is0(i)?r:(n[o]=r,t.mul(r,i)),t.ONE),o=t.inv(i);return r.reduceRight((r,i,o)=>t.is0(i)?r:(n[o]=t.mul(r,n[o]),t.mul(r,i)),o),n})(l,t),cmov:(t,r,n)=>n?r:t,toBytes:t=>n?k(t,s):x(t,s),fromBytes:t=>{if(t.length!==s)throw Error("Field.fromBytes: expected "+s+" bytes, got "+t.length);return n?A(t):E(t)}});return Object.freeze(l)}function Q(t){if("bigint"!=typeof t)throw Error("field order must be bigint");return Math.ceil(t.toString(2).length/8)}function ee(t){let r=Q(t);return r+Math.ceil(r/2)}let et=BigInt(0),er=BigInt(1);function en(t,r){let n=r.negate();return t?n:r}function ei(t,r){if(!Number.isSafeInteger(t)||t<=0||t>r)throw Error("invalid window size, expected [1.."+r+"], got W="+t)}function eo(t,r){return ei(t,r),{windows:Math.ceil(r/t)+1,windowSize:2**(t-1)}}let ea=new WeakMap,es=new WeakMap;function el(t){return es.get(t)||1}function eu(t){return $(t.Fp,Z.reduce((t,r)=>(t[r]="function",t),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),$(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...X(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function ec(t){void 0!==t.lowS&&m("lowS",t.lowS),void 0!==t.prehash&&m("prehash",t.prehash)}let{bytesToNumberBE:ed,hexToBytes:eh}=i;
vendor: 4,733 bytes, line 43
43class ef extends Error{constructor(t=""){super(t)}}let ep={Err:ef,_tlv:{encode:(t,r)=>{let{Err:n}=ep;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(1&r.length)throw new n("tlv.encode: unpadded data");let i=r.length/2,o=v(i);if(o.length/2&128)throw new n("tlv.encode: long form length too big");let a=i>127?v(o.length/2|128):"";return v(t)+a+o+r},decode(t,r){let{Err:n}=ep,i=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(r.length<2||r[i++]!==t)throw new n("tlv.decode: wrong tlv");let o=r[i++],a=0;if(128&o){let t=127&o;if(!t)throw new n("tlv.decode(long): indefinite length not supported");if(t>4)throw new n("tlv.decode(long): byte length is too big");let s=r.subarray(i,i+t);if(s.length!==t)throw new n("tlv.decode: length bytes not complete");if(0===s[0])throw new n("tlv.decode(long): zero leftmost byte");for(let t of s)a=a<<8|t;if(i+=t,a<128)throw new n("tlv.decode(long): not minimal encoding")}else a=o;let s=r.subarray(i,i+a);if(s.length!==a)throw new n("tlv.decode: wrong value length");return{v:s,l:r.subarray(i+a)}}},_int:{encode(t){let{Err:r}=ep;if(t<em)throw new r("integer: negative integers are not allowed");let n=v(t);if(8&Number.parseInt(n[0],16)&&(n="00"+n),1&n.length)throw new r("unexpected DER parsing assertion: unpadded hex");return n},decode(t){let{Err:r}=ep;if(128&t[0])throw new r("invalid signature integer: negative");if(0===t[0]&&!(128&t[1]))throw new r("invalid signature integer: unnecessary leading zero");return ed(t)}},toSig(t){let{Err:r,_int:n,_tlv:i}=ep,o="string"==typeof t?eh(t):t;p(o);let{v:a,l:s}=i.decode(48,o);if(s.length)throw new r("invalid signature: left bytes after parsing");let{v:l,l:u}=i.decode(2,a),{v:c,l:d}=i.decode(2,u);if(d.length)throw new r("invalid signature: left bytes after parsing");return{r:n.decode(l),s:n.decode(c)}},hexFromSig(t){let{_tlv:r,_int:n}=ep,i=r.encode(2,n.encode(t.r)),o=r.encode(2,n.encode(t.s));return r.encode(48,i+o)}},em=BigInt(0),eg=BigInt(1),ey=(BigInt(2),BigInt(3));BigInt(4);let ev=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),eb=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ew=BigInt(1),e_=BigInt(2),eS=(t,r)=>(t+r/e_)/r,eE=J(ev,void 0,void 0,{sqrt:function(t){let r=BigInt(3),n=BigInt(6),i=BigInt(11),o=BigInt(22),a=BigInt(23),s=BigInt(44),l=BigInt(88),u=t*t*t%ev,c=u*u*t%ev,d=K(c,r,ev)*c%ev,h=K(d,r,ev)*c%ev,f=K(h,e_,ev)*u%ev,p=K(f,i,ev)*f%ev,m=K(p,o,ev)*p%ev,g=K(m,s,ev)*m%ev,y=K(g,l,ev)*g%ev,v=K(y,s,ev)*m%ev,b=K(v,r,ev)*c%ev,w=K(b,a,ev)*p%ev,_=K(w,n,ev)*u%ev,S=K(_,e_,ev);if(!eE.eql(eE.sqr(S),t))throw Error("Cannot find square root");return S}}),eA=function(t,r){let n=r=>(function(t){let r=function(t){let r=eu(t);return $(r,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...r})}(t),{Fp:n,n:i}=r,o=n.BYTES+1,a=2*n.BYTES+1;function s(t){return W(t,i)}let{ProjectivePoint:l,normPrivateKeyToScalar:u,weierstrassEquation:c,isWithinCurveOrder:d}=function(t){var r;let n=function(t){let r=eu(t);$(r,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:n,Fp:i,a:o}=r;if(n){if(!i.eql(o,i.ZERO))throw Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...r})}(t),{Fp:i}=n,o=J(n.n,n.nBitLength),a=n.toBytes||((t,r,n)=>{let o=r.toAffine();return P(Uint8Array.from([4]),i.toBytes(o.x),i.toBytes(o.y))}),s=n.fromBytes||(t=>{let r=t.subarray(1);return{x:i.fromBytes(r.subarray(0,i.BYTES)),y:i.fromBytes(r.subarray(i.BYTES,2*i.BYTES))}});function l(t){let{a:r,b:o}=n,a=i.sqr(t),s=i.mul(a,t);return i.add(i.add(s,i.mul(t,r)),o)}if(!i.eql(i.sqr(n.Gy),l(n.Gx)))throw Error("bad generator point: equation left != right");function u(t){let r;let{allowedPrivateKeyLengths:i,nByteLength:o,wrapPrivateKey:a,n:s}=n;if(i&&"bigint"!=typeof t){if(f(t)&&(t=y(t)),"string"!=typeof t||!i.includes(t.length))throw Error("invalid private key");t=t.padStart(2*o,"0")}try{r="bigint"==typeof t?t:E(O("private key",t,o))}catch(r){throw Error("invalid private key, expected hex or "+o+" bytes, got "+typeof t)}return a&&(r=W(r,s)),M("private key",r,eg,s),r}function c(t){if(!(t instanceof p))throw Error("ProjectivePoint expected")}let d=j((t,r)=>{let{px:n,py:o,pz:a}=t;if(i.eql(a,i.ONE))return{x:n,y:o};let s=t.is0();null==r&&(r=s?i.ONE:i.inv(a));let l=i.mul(n,r),u=i.mul(o,r),c=i.mul(a,r);if(s)return{x:i.ZERO,y:i.ZERO};
vendor: 3,785 bytes, line 43
43if(!i.eql(c,i.ONE))throw Error("invZ was invalid");return{x:l,y:u}}),h=j(t=>{if(t.is0()){if(n.allowInfinityPoint&&!i.is0(t.py))return;throw Error("bad point: ZERO")}let{x:r,y:o}=t.toAffine();if(!i.isValid(r)||!i.isValid(o))throw Error("bad point: x or y not FE");let a=i.sqr(o),s=l(r);if(!i.eql(a,s))throw Error("bad point: equation left != right");if(!t.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class p{constructor(t,r,n){if(this.px=t,this.py=r,this.pz=n,null==t||!i.isValid(t))throw Error("x required");if(null==r||!i.isValid(r))throw Error("y required");if(null==n||!i.isValid(n))throw Error("z required");Object.freeze(this)}static fromAffine(t){let{x:r,y:n}=t||{};if(!t||!i.isValid(r)||!i.isValid(n))throw Error("invalid affine point");if(t instanceof p)throw Error("projective point not allowed");let o=t=>i.eql(t,i.ZERO);return o(r)&&o(n)?p.ZERO:new p(r,n,i.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(t){let r=i.invertBatch(t.map(t=>t.pz));return t.map((t,n)=>t.toAffine(r[n])).map(p.fromAffine)}static fromHex(t){let r=p.fromAffine(s(O("pointHex",t)));return r.assertValidity(),r}static fromPrivateKey(t){return p.BASE.multiply(u(t))}static msm(t,r){return function(t,r,n,i){if(!function(t,r){if(!Array.isArray(t))throw Error("array expected");t.forEach((t,n)=>{if(!(t instanceof r))throw Error("invalid point at index "+n)})}(n,t),!function(t,r){if(!Array.isArray(t))throw Error("array of scalars expected");t.forEach((t,n)=>{if(!r.isValid(t))throw Error("invalid scalar at index "+n)})}(i,r),n.length!==i.length)throw Error("arrays of points and scalars must have equal length");let o=t.ZERO,a=R(BigInt(n.length)),s=a>12?a-3:a>4?a-2:a?2:1,l=(1<<s)-1,u=Array(l+1).fill(o),c=Math.floor((r.BITS-1)/s)*s,d=o;for(let t=c;t>=0;t-=s){u.fill(o);for(let r=0;r<i.length;r++){let o=Number(i[r]>>BigInt(t)&BigInt(l));u[o]=u[o].add(n[r])}let r=o;for(let t=u.length-1,n=o;t>0;t--)n=n.add(u[t]),r=r.add(n);if(d=d.add(r),0!==t)for(let t=0;t<s;t++)d=d.double()}return d}(p,o,t,r)}_setWindowSize(t){v.setWindowSize(this,t)}assertValidity(){h(this)}hasEvenY(){let{y:t}=this.toAffine();if(i.isOdd)return!i.isOdd(t);throw Error("Field doesn't support isOdd")}equals(t){c(t);let{px:r,py:n,pz:o}=this,{px:a,py:s,pz:l}=t,u=i.eql(i.mul(r,l),i.mul(a,o)),d=i.eql(i.mul(n,l),i.mul(s,o));return u&&d}negate(){return new p(this.px,i.neg(this.py),this.pz)}double(){let{a:t,b:r}=n,o=i.mul(r,ey),{px:a,py:s,pz:l}=this,u=i.ZERO,c=i.ZERO,d=i.ZERO,h=i.mul(a,a),f=i.mul(s,s),m=i.mul(l,l),g=i.mul(a,s);return g=i.add(g,g),d=i.mul(a,l),d=i.add(d,d),u=i.mul(t,d),c=i.mul(o,m),c=i.add(u,c),u=i.sub(f,c),c=i.add(f,c),c=i.mul(u,c),u=i.mul(g,u),d=i.mul(o,d),m=i.mul(t,m),g=i.sub(h,m),g=i.mul(t,g),g=i.add(g,d),d=i.add(h,h),h=i.add(d,h),h=i.add(h,m),h=i.mul(h,g),c=i.add(c,h),m=i.mul(s,l),m=i.add(m,m),h=i.mul(m,g),u=i.sub(u,h),d=i.mul(m,f),d=i.add(d,d),new p(u,c,d=i.add(d,d))}add(t){c(t);let{px:r,py:o,pz:a}=this,{px:s,py:l,pz:u}=t,d=i.ZERO,h=i.ZERO,f=i.ZERO,m=n.a,g=i.mul(n.b,ey),y=i.mul(r,s),v=i.mul(o,l),b=i.mul(a,u),w=i.add(r,o),_=i.add(s,l);w=i.mul(w,_),_=i.add(y,v),w=i.sub(w,_),_=i.add(r,a);let S=i.add(s,u);return _=i.mul(_,S),S=i.add(y,b),_=i.sub(_,S),S=i.add(o,a),d=i.add(l,u),S=i.mul(S,d),d=i.add(v,b),S=i.sub(S,d),f=i.mul(m,_),d=i.mul(g,b),f=i.add(d,f),d=i.sub(v,f),f=i.add(v,f),h=i.mul(d,f),v=i.add(y,y),v=i.add(v,y),b=i.mul(m,b),_=i.mul(g,_),v=i.add(v,b),b=i.sub(y,b),b=i.mul(m,b),_=i.add(_,b),y=i.mul(v,_),h=i.add(h,y),y=i.mul(S,_),d=i.mul(w,d),d=i.sub(d,y),y=i.mul(w,v),f=i.mul(S,f),new p(d,h,f=i.add(f,y))}subtract(t){return this.add(t.negate())}is0(){return this.equals(p.ZERO)}wNAF(t){return v.wNAFCached(this,t,p.normalizeZ)}multiplyUnsafe(t){let{endo:r,n:o}=n;M("scalar",t,em,o);let a=p.ZERO;if(t===em)return a;
vendor: 1,903 bytes, line 43
43if(this.is0()||t===eg)return this;if(!r||v.hasPrecomputes(this))return v.wNAFCachedUnsafe(this,t,p.normalizeZ);let{k1neg:s,k1:l,k2neg:u,k2:c}=r.splitScalar(t),d=a,h=a,f=this;for(;l>em||c>em;)l&eg&&(d=d.add(f)),c&eg&&(h=h.add(f)),f=f.double(),l>>=eg,c>>=eg;return s&&(d=d.negate()),u&&(h=h.negate()),h=new p(i.mul(h.px,r.beta),h.py,h.pz),d.add(h)}multiply(t){let r,o;let{endo:a,n:s}=n;if(M("scalar",t,eg,s),a){let{k1neg:n,k1:s,k2neg:l,k2:u}=a.splitScalar(t),{p:c,f:d}=this.wNAF(s),{p:h,f:f}=this.wNAF(u);c=v.constTimeNegate(n,c),h=v.constTimeNegate(l,h),h=new p(i.mul(h.px,a.beta),h.py,h.pz),r=c.add(h),o=d.add(f)}else{let{p:n,f:i}=this.wNAF(t);r=n,o=i}return p.normalizeZ([r,o])[0]}multiplyAndAddUnsafe(t,r,n){let i=p.BASE,o=(t,r)=>r!==em&&r!==eg&&t.equals(i)?t.multiply(r):t.multiplyUnsafe(r),a=o(this,r).add(o(t,n));return a.is0()?void 0:a}toAffine(t){return d(this,t)}isTorsionFree(){let{h:t,isTorsionFree:r}=n;if(t===eg)return!0;if(r)return r(p,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:t,clearCofactor:r}=n;return t===eg?this:r?r(p,this):this.multiplyUnsafe(n.h)}toRawBytes(t=!0){return m("isCompressed",t),this.assertValidity(),a(p,this,t)}toHex(t=!0){return m("isCompressed",t),y(this.toRawBytes(t))}}p.BASE=new p(n.Gx,n.Gy,i.ONE),p.ZERO=new p(i.ZERO,i.ONE,i.ZERO);let g=n.nBitLength,v=(r=n.endo?Math.ceil(g/2):g,{constTimeNegate:en,hasPrecomputes:t=>1!==el(t),unsafeLadder(t,r,n=p.ZERO){let i=t;for(;r>et;)r&er&&(n=n.add(i)),i=i.double(),r>>=er;return n},precomputeWindow(t,n){let{windows:i,windowSize:o}=eo(n,r),a=[],s=t,l=s;for(let t=0;t<i;t++){l=s,a.push(l);for(let t=1;t<o;t++)l=l.add(s),a.push(l);s=l.double()}return a},wNAF(t,n,i){let{windows:o,windowSize:a}=eo(t,r),s=p.ZERO,l=p.BASE,u=BigInt(2**t-1),c=2**t,d=BigInt(t);for(let t=0;t<o;t++){let r=t*a,o=Number(i&u);i>>=d,o>a&&(o-=c,i+=er);let h=r+Math.abs(o)-1,f=t%2!=0,p=o<0;
430===o?l=l.add(en(f,n[r])):s=s.add(en(p,n[h]))}return{p:s,f:l}},wNAFUnsafe(t,n,i,o=p.ZERO){let{windows:a,windowSize:s}=eo(t,r),l=BigInt(2**t-1),u=2**t,c=BigInt(t);for(let t=0;t<a;t++){let r=t*s;if(i===et)break;let a=Number(i&l);if(i>>=c,a>s&&(a-=u,i+=er),0===a)continue;let d=n[r+Math.abs(a)-1];a<0&&(d=d.negate()),o=o.add(d)}return o},getPrecomputes(t,r,n){let i=ea.get(r);return i||(i=this.precomputeWindow(r,t),1!==t&&ea.set(r,n(i))),i},wNAFCached(t,r,n){let i=el(t);return this.wNAF(i,this.getPrecomputes(i,t,n),r)},wNAFCachedUnsafe(t,r,n,i){let o=el(t);return 1===o?this.unsafeLadder(t,r,i):this.wNAFUnsafe(o,this.getPrecomputes(o,t,n),r,i)},setWindowSize(t,n){ei(n,r),es.set(t,n),ea.delete(t)}});return{CURVE:n,ProjectivePoint:p,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:function(t){return T(t,eg,n.n)}}}({...r,toBytes(t,r,i){let o=r.toAffine(),a=n.toBytes(o.x),s=P;return(m("isCompressed",i),i)?s(Uint8Array.from([r.hasEvenY()?2:3]),a):s(Uint8Array.from([4]),a,n.toBytes(o.y))},fromBytes(t){let r=t.length,i=t[0],s=t.subarray(1);if(r===o&&(2===i||3===i)){let t;let r=E(s);if(!T(r,eg,n.ORDER))throw Error("Point is not on curve");let o=c(r);try{t=n.sqrt(o)}catch(t){throw Error("Point is not on curve"+(t instanceof Error?": "+t.message:""))}return(1&i)==1!=((t&eg)===eg)&&(t=n.neg(t)),{x:r,y:t}}if(r===a&&4===i)return{x:n.fromBytes(s.subarray(0,n.BYTES)),y:n.fromBytes(s.subarray(n.BYTES,2*n.BYTES))};throw Error("invalid Point, expected length of "+o+", or uncompressed "+a+", got "+r)}}),h=t=>y(x(t,r.nByteLength)),p=(t,r,n)=>E(t.slice(r,n));class g{constructor(t,r,n){this.r=t,this.s=r,this.recovery=n,this.assertValidity()}static fromCompact(t){let n=r.nByteLength;return new g(p(t=O("compactSignature",t,2*n),0,n),p(t,n,2*n))}static fromDER(t){let{r,s:n}=ep.toSig(O("DER",t));return new g(r,n)}assertValidity(){M("r",this.r,eg,i),M("s",this.s,eg,i)}addRecoveryBit(t){return new g(this.r,this.s,t)}recoverPublicKey(t){let{r:o,s:a,recovery:u}=this,c=w(O("msgHash",t));if(null==u||![0,1,2,3].includes(u))throw Error("recovery id invalid");let d=2===u||3===u?o+r.n:o;if(d>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let f=(1&u)==0?"02":"03",p=l.fromHex(f+h(d)),m=Y(d,i),g=s(-c*m),y=s(a*m),v=l.BASE.multiplyAndAddUnsafe(p,g,y);if(!v)throw Error("point at infinify");return v.assertValidity(),v}hasHighS(){return this.s>i>>eg}normalizeS(){return this.hasHighS()?new g(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return S(this.toDERHex())}toDERHex(){return ep.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return S(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}function v(t){let r=f(t),n="string"==typeof t,i=(r||n)&&t.length;return r?i===o||i===a:n?i===2*o||i===2*a:t instanceof l}let b=r.bits2int||function(t){if(t.length>8192)throw Error("input is too large");let n=E(t),i=8*t.length-r.nBitLength;return i>0?n>>BigInt(i):n},w=r.bits2int_modN||function(t){return s(b(t))},_=I(r.nBitLength);function C(t){return M("num < 2^"+r.nBitLength,t,em,_),x(t,r.nByteLength)}let N={lowS:r.lowS,prehash:!1},D={lowS:r.lowS,prehash:!1};return l.BASE._setWindowSize(8),{CURVE:r,getPublicKey:function(t,r=!0){return l.fromPrivateKey(t).toRawBytes(r)},getSharedSecret:function(t,r,n=!0){if(v(t))throw Error("first arg must be private key");if(!v(r))throw Error("second arg must be public key");return l.fromHex(r).multiply(u(t)).toRawBytes(n)},sign:function(t,o,a=N){let{seed:c,k2sig:h}=function(t,o,a=N){if(["recovered","canonical"].some(t=>t in a))throw Error("sign() legacy options not supported");let{hash:c,randomBytes:h}=r,{lowS:f,prehash:p,extraEntropy:m}=a;null==f&&(f=!0),t=O("msgHash",t),ec(a),p&&(t=O("prehashed msgHash",c(t)));let y=w(t),v=u(o),_=[C(v),C(y)];if(null!=m&&!1!==m){let t=!0===m?h(n.BYTES):m;_.push(O("extraEntropy",t))}return{seed:P(..._),k2sig:function(t){let r=b(t);if(!d(r))return;let n=Y(r,i),o=l.BASE.multiply(r).toAffine(),a=s(o.x);if(a===em)return;let u=s(n*s(y+a*v));if(u===em)return;let c=(o.x===a?0:2)|Number(o.y&eg),h=u;if(f&&u>i>>eg)h=u>i>>eg?s(-u):u,c^=1;return new g(a,h,c)}}}(t,o,a);return F(r.hash.outputLen,r.nByteLength,r.hmac)(c,h)},verify:function(t,n,o,a=D){let u,c;n=O("msgHash",n),o=O("publicKey",o);let{lowS:d,prehash:h,format:p}=a;if(ec(a),"strict"in a)throw Error("options.strict was renamed to lowS");if(void 0!==p&&"compact"!==p&&"der"!==p)throw Error("format must be compact or der");let m="string"==typeof t||f(t),y=!m&&!p&&"object"==typeof t&&null!==t&&"bigint"==typeof t.r&&"bigint"==typeof t.s;if(!m&&!y)throw Error("invalid signature, expected Uint8Array, hex string or Signature instance");
43try{if(y&&(c=new g(t.r,t.s)),m){try{"compact"!==p&&(c=g.fromDER(t))}catch(t){if(!(t instanceof ep.Err))throw t}c||"der"===p||(c=g.fromCompact(t))}u=l.fromHex(o)}catch(t){return!1}if(!c||d&&c.hasHighS())return!1;h&&(n=r.hash(n));let{r:v,s:b}=c,_=w(n),S=Y(b,i),E=s(_*S),A=s(v*S),x=l.BASE.multiplyAndAddUnsafe(u,E,A)?.toAffine();return!!x&&s(x.x)===v},ProjectivePoint:l,Signature:g,utils:{isValidPrivateKey(t){try{return u(t),!0}catch(t){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let t=ee(r.n);return function(t,r,n=!1){let i=t.length,o=Q(r),a=ee(r);if(i<16||i<a||i>1024)throw Error("expected "+a+"-1024 bytes of input, got "+i);let s=W(n?A(t):E(t),r-B)+B;return n?k(s,o):x(s,o)}(r.randomBytes(t),r.n)},precompute:(t=8,r=l.BASE)=>(r._setWindowSize(t),r.multiply(BigInt(3)),r)}}})({...t,hash:r,hmac:(t,...n)=>u(r,t,(0,s.eV)(...n)),randomBytes:s.O6});return{...n(r),create:n}}({a:BigInt(0),b:BigInt(7),Fp:eE,n:eb,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{let r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-ew*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=BigInt("0x100000000000000000000000000000000"),a=eS(r*t,eb),s=eS(-n*t,eb),l=W(t-a*r-s*i,eb),u=W(-a*n-s*r,eb),c=l>o,d=u>o;if(c&&(l=eb-l),d&&(u=eb-u),l>o||u>o)throw Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:c,k1:l,k2neg:d,k2:u}}}},o.JQ);BigInt(0),eA.ProjectivePoint},27371:function(t,r,n){"use strict";let i;n.d(r,{UJ:function(){return rI}});class o extends Error{get innerError(){return this.cause instanceof a?this.cause.errors:this.cause}set innerError(t){Array.isArray(t)?this.cause=new a(t):this.cause=t}constructor(t,r){super(t),Array.isArray(r)?this.cause=new a(r):this.cause=r,this.name=this.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(new.target.constructor):this.stack=Error().stack}static convertToString(t,r=!1){if(null==t)return"undefined";let n=JSON.stringify(t,(t,r)=>"bigint"==typeof r?r.toString():r);return r&&["bigint","string"].includes(typeof t)?n.replace(/['\\"]+/g,""):n}toJSON(){return{name:this.name,code:this.code,message:this.message,cause:this.cause,innerError:this.cause}}}class a extends o{constructor(t){super(`Multiple errors occurred: [${t.map(t=>t.message).join("], [")}]`),this.code=208,this.errors=t}}class s extends o{constructor(t,r){super(`Invalid value given "${o.convertToString(t,!0)}". Error: ${r}.`),this.name=this.constructor.name}}class l extends s{constructor(t){super(t,"can not parse as byte data"),this.code=1002}}let u={[-32700]:{message:"Parse error",description:"Invalid JSON"},[-32600]:{message:"Invalid request",description:"JSON is not a valid request object "},[-32601]:{message:"Method not found",description:"Method does not exist "},[-32602]:{message:"Invalid params",description:"Invalid method parameters"},[-32603]:{message:"Internal error",description:"Internal JSON-RPC error"},[-32e3]:{message:"Invalid input",description:"Missing or invalid parameters"},[-32001]:{message:"Resource not found",description:"Requested resource not found"},[-32002]:{message:"Resource unavailable",description:"Requested resource not available"},[-32003]:{message:"Transaction rejected",description:"Transaction creation failed"},[-32004]:{message:"Method not supported",description:"Method is not implemented"},[-32005]:{message:"Limit exceeded",description:"Request exceeds defined limit"},[-32006]:{message:"JSON-RPC version not supported",description:"Version of JSON-RPC protocol is not supported"},4001:{name:"User Rejected Request",message:"The user rejected the request."},4100:{name:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},4200:{name:"Unsupported Method",message:"The Provider does not support the requested method."},4900:{name:"Disconnected",message:"The Provider is disconnected from all chains."},4901:{name:"Chain Disconnected",message:"The Provider is not connected to the requested chain."},"0-999":{name:"",message:"Not used."},1e3:{name:"Normal Closure",message:"The connection successfully completed the purpose for which it was created."},1001:{name:"Going Away",message:"The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection."},1002:{name:"Protocol error",message:"The endpoint is terminating the connection due to a protocol error."},1003:{name:"Unsupported Data",message:"The connection is being terminated because the endpoint received data of a type it cannot accept. (For example, a text-only endpoint received binary data.)"},1004:{name:"Reserved",message:"Reserved. A meaning might be defined in the future."},1005:{name:"No Status Rcvd",message:"Reserved. Indicates that no status code was provided even though one was expected."},1006:{name:"Abnormal Closure",message:"Reserved. Indicates that a connection was closed abnormally (that is, with no close frame being sent) when a status code is expected."},1007:{name:"Invalid frame payload data",message:"The endpoint is terminating the connection because a message was received that contained inconsistent data (e.g., non-UTF-8 data within a text message)."},1008:{name:"Policy Violation",message:"The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable."},1009:{name:"Message Too Big",message:"The endpoint is terminating the connection because a data frame was received that is too large."},1010:{name:"Mandatory Ext.",message:"The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't."},1011:{name:"Internal Error",message:"The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."},1012:{name:"Service Restart",message:"The server is terminating the connection because it is restarting."},1013:{name:"Try Again Later",message:"The server is terminating the connection due to a temporary condition, e.g. it is overloaded and is casting off some of its clients."},1014:{name:"Bad Gateway",message:"The server was acting as a gateway or proxy and received an invali
43d response from the upstream server. This is similar to 502 HTTP Status Code."},1015:{name:"TLS handshake",message:"Reserved. Indicates that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified)."},"1016-2999":{name:"",message:"For definition by future revisions of the WebSocket Protocol specification, and for definition by extension specifications."},"3000-3999":{name:"",message:"For use by libraries, frameworks, and applications. These status codes are registered directly with IANA. The interpretation of these codes is undefined by the WebSocket protocol."},"4000-4999":{name:"",message:"For private use, and thus can't be registered. Such codes can be used by prior agreements between WebSocket applications. The interpretation of these codes is undefined by the WebSocket protocol."}};class c extends o{constructor(t,r){super(null!=r?r:"An Rpc error has occured with a code of *code*".replace("*code*",t.error.code.toString())),this.code=t.error.code,this.id=t.id,this.jsonrpc=t.jsonrpc,this.jsonRpcError=t.error}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{error:this.jsonRpcError,id:this.id,jsonRpc:this.jsonrpc})}}class d extends c{constructor(t){super(t,u[-32700].message),this.code=-32700}}class h extends c{constructor(t){super(t,u[-32600].message),this.code=-32600}}class f extends c{constructor(t){super(t,u[-32601].message),this.code=-32601}}class p extends c{constructor(t){super(t,u[-32602].message),this.code=-32602}}class m extends c{constructor(t){super(t,u[-32603].message),this.code=-32603}}class g extends c{constructor(t){super(t,u[-32e3].message),this.code=-32e3}}class y extends c{constructor(t){super(t,u[-32004].message),this.code=-32004}}class v extends c{constructor(t){super(t,u[-32002].message),this.code=-32002}}class b extends c{constructor(t){super(t,u[-32001].message),this.code=-32001}}class w extends c{constructor(t){super(t,u[-32006].message),this.code=-32006}}class _ extends c{constructor(t){super(t,u[-32003].message),this.code=-32003}}class S extends c{constructor(t){super(t,u[-32005].message),this.code=-32005}}let E=new Map;E.set(-32700,{error:d}),E.set(-32600,{error:h}),E.set(-32601,{error:f}),E.set(-32602,{error:p}),E.set(-32603,{error:m}),E.set(-32e3,{error:g}),E.set(-32004,{error:y}),E.set(-32002,{error:v}),E.set(-32003,{error:_}),E.set(-32001,{error:b}),E.set(-32006,{error:w}),E.set(-32005,{error:S});class A extends o{constructor(t){super(`Format for the type ${t} is unsupported`),this.type=t,this.code=1200}toJSON(){return Object.assign(Object.assign({}
vendor: 1,770 bytes, line 43
43,super.toJSON()),{type:this.type})}}(tP=tM||(tM={})).assertEqual=t=>t,tP.assertIs=function(t){},tP.assertNever=function(t){throw Error()},tP.arrayToEnum=t=>{let r={};for(let n of t)r[n]=n;return r},tP.getValidEnumValues=t=>{let r=tP.objectKeys(t).filter(r=>"number"!=typeof t[t[r]]),n={};for(let i of r)n[i]=t[i];return tP.objectValues(n)},tP.objectValues=t=>tP.objectKeys(t).map(function(r){return t[r]}),tP.objectKeys="function"==typeof Object.keys?t=>Object.keys(t):t=>{let r=[];for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.push(n);return r},tP.find=(t,r)=>{for(let n of t)if(r(n))return n},tP.isInteger="function"==typeof Number.isInteger?t=>Number.isInteger(t):t=>"number"==typeof t&&isFinite(t)&&Math.floor(t)===t,tP.joinValues=function(t,r=" | "){return t.map(t=>"string"==typeof t?`'${t}'`:t).join(r)},tP.jsonStringifyReplacer=(t,r)=>"bigint"==typeof r?r.toString():r,(tR||(tR={})).mergeShapes=(t,r)=>({...t,...r});let x=tM.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),k=t=>{switch(typeof t){case"undefined":return x.undefined;case"string":return x.string;case"number":return isNaN(t)?x.nan:x.number;case"boolean":return x.boolean;case"function":return x.function;case"bigint":return x.bigint;case"symbol":return x.symbol;case"object":if(Array.isArray(t))return x.array;if(null===t)return x.null;if(t.then&&"function"==typeof t.then&&t.catch&&"function"==typeof t.catch)return x.promise;if("undefined"!=typeof Map&&t instanceof Map)return x.map;if("undefined"!=typeof Set&&t instanceof Set)return x.set;if("undefined"!=typeof Date&&t instanceof Date)return x.date;return x.object;default:return x.unknown}}
vendor: 5,774 bytes, line 43
43,O=tM.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class P extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=t=>{this.issues=[...this.issues,t]},this.addIssues=(t=[])=>{this.issues=[...this.issues,...t]};let r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}format(t){let r=t||function(t){return t.message},n={_errors:[]},i=t=>{for(let o of t.issues)if("invalid_union"===o.code)o.unionErrors.map(i);else if("invalid_return_type"===o.code)i(o.returnTypeError);else if("invalid_arguments"===o.code)i(o.argumentsError);else if(0===o.path.length)n._errors.push(r(o));else{let t=n,i=0;for(;i<o.path.length;){let n=o.path[i];i===o.path.length-1?(t[n]=t[n]||{_errors:[]},t[n]._errors.push(r(o))):t[n]=t[n]||{_errors:[]},t=t[n],i++}}};return i(this),n}static assert(t){if(!(t instanceof P))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,tM.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(t=t=>t.message){let r={},n=[];for(let i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}P.create=t=>new P(t);let C=(t,r)=>{let n;switch(t.code){case O.invalid_type:n=t.received===x.undefined?"Required":`Expected ${t.expected}, received ${t.received}`;break;case O.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,tM.jsonStringifyReplacer)}`;break;case O.unrecognized_keys:n=`Unrecognized key(s) in object: ${tM.joinValues(t.keys,", ")}`;break;case O.invalid_union:n="Invalid input";break;case O.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${tM.joinValues(t.options)}`;break;case O.invalid_enum_value:n=`Invalid enum value. Expected ${tM.joinValues(t.options)}, received '${t.received}'`;break;case O.invalid_arguments:n="Invalid function arguments";break;case O.invalid_return_type:n="Invalid function return type";break;case O.invalid_date:n="Invalid date";break;case O.invalid_string:"object"==typeof t.validation?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,"number"==typeof t.validation.position&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:tM.assertNever(t.validation):n="regex"!==t.validation?`Invalid ${t.validation}`:"Invalid";break;case O.too_small:n="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:"date"===t.type?`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:"Invalid input";break;case O.too_big:n="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"bigint"===t.type?`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"date"===t.type?`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:"Invalid input";break;case O.custom:n="Invalid input";break;case O.invalid_intersection_types:n="Intersection results could not be merged";break;case O.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case O.not_finite:n="Number must be finite";break;default:n=r.defaultError,tM.assertNever(t)}return{message:n}},T=C;function M(){return T}let R=t=>{let{data:r,path:n,errorMaps:i,issueData:o}=t,a=[...n,...o.path||[]],s={...o,path:a};if(void 0!==o.message)return{...o,path:a,message:o.message};let l="";for(let t of i.filter(t=>!!t).slice().reverse())l=t(s,{data:r,defaultError:l}).message;return{...o,path:a,message:l}};function I(t,r){let n=M(),i=R({issueData:r,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===C?void 0:C].filter(t=>!!t)});t.common.issues.push(i)}class N{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(t,r){let n=[];for(let i of r){if("aborted"===i.status)return D;"dirty"===i.status&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){let n=[];for(let t of r){let r=await t.key,i=await t.value;n.push({key:r,value:i})}return N.mergeObjectSync(t,n)}static mergeObjectSync(t,r){let n={};for(let i of r){let{key:r,value:o}=i;if("aborted"===r.status||"aborted"===o.status)return D;"dirty"===r.status&&t.dirty(),"dirty"===o.status&&t.dirty(),"__proto__"!==r.value&&(void 0!==o.value||i.alwaysSet)&&(n[r.value]=o.value)}return{status:t.value,value:n}}}let D=Object.freeze({status:"aborted"}),F=t=>({status:"dirty",value:t}),L=t=>
43({status:"valid",value:t}),$=t=>"aborted"===t.status,j=t=>"dirty"===t.status,U=t=>"valid"===t.status,B=t=>"undefined"!=typeof Promise&&t instanceof Promise;function z(t,r,n,i){if("a"===n&&!i)throw TypeError("Private accessor was defined without a getter");if("function"==typeof r?t!==r||!i:!r.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:r.get(t)}function H(t,r,n,i,o){if("m"===i)throw TypeError("Private method is not writable");if("a"===i&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof r?t!==r||!o:!r.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?o.call(t,n):o?o.value=n:r.set(t,n),n}"function"==typeof SuppressedError&&SuppressedError,(tC=tI||(tI={})).errToObj=t=>"string"==typeof t?{message:t}:t||{},tC.toString=t=>"string"==typeof t?t:null==t?void 0:t.message;class q{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let V=(t,r)=>{if(U(r))return{success:!0,data:r.value};if(!t.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let r=new P(t.common.issues);return this._error=r,this._error}}};function G(t){if(!t)return{};
43let{errorMap:r,invalid_type_error:n,required_error:i,description:o}=t;if(r&&(n||i))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return r?{errorMap:r,description:o}:{errorMap:(r,o)=>{var a,s;let{message:l}=t;return"invalid_enum_value"===r.code?{message:null!=l?l:o.defaultError}:void 0===o.data?{message:null!==(a=null!=l?l:i)&&void 0!==a?a:o.defaultError}:"invalid_type"!==r.code?{message:o.defaultError}:{message:null!==(s=null!=l?l:n)&&void 0!==s?s:o.defaultError}},description:o}}class W{get description(){return this._def.description}_getType(t){return k(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:k(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new N,ctx:{common:t.parent.common,data:t.data,parsedType:k(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let r=this._parse(t);if(B(r))throw Error("Synchronous parse encountered promise.");return r}_parseAsync(t){return Promise.resolve(this._parse(t))}parse(t,r){let n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;let i={common:{issues:[],async:null!==(n=null==r?void 0:r.async)&&void 0!==n&&n,contextualErrorMap:null==r?void 0:r.errorMap},path:(null==r?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:k(t)},o=this._parseSync({data:t,path:i.path,parent:i});return V(i,o)}"~validate"(t){var r,n;let i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:k(t)};if(!this["~standard"].async)try{let r=this._parseSync({data:t,path:[],parent:i});return U(r)?{value:r.value}:{issues:i.common.issues}}catch(t){(null===(n=null===(r=null==t?void 0:t.message)||void 0===r?void 0:r.toLowerCase())||void 0===n?void 0:n.includes("encountered"))&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:i}).then(t=>U(t)?{value:t.value}:{issues:i.common.issues})}async parseAsync(t,r){let n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){let n={common:{issues:[],contextualErrorMap:null==r?void 0:r.errorMap,async:!0},path:(null==r?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:k(t)},i=this._parse({data:t,path:n.path,parent:n});return V(n,await (B(i)?i:Promise.resolve(i)))}refine(t,r){let n=t=>"string"==typeof r||void 0===r?{message:r}:"function"==typeof r?r(t):r;return this._refinement((r,i)=>{let o=t(r),a=()=>i.addIssue({code:O.custom,...n(r)});return"undefined"!=typeof Promise&&o instanceof Promise?o.then(t=>!!t||(a(),!1)):!!o||(a(),!1)})}refinement(t,r){return this._refinement((n,i)=>!!t(n)||(i.addIssue("function"==typeof r?r(n,i):r),!1))}_refinement(t){return new eB({schema:this,typeName:tF.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return ez.create(this,this._def)}nullable(){return eH.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eA.create(this)}promise(){return eU.create(this,this._def)}or(t){return ek.create([this,t],this._def)}and(t){return eC.create(this,t,this._def)}transform(t){return new eB({...G(this._def),schema:this,typeName:tF.ZodEffects,effect:{type:"transform",transform:t}})}default(t){return new eq({...G(this._def),innerType:this,defaultValue:"function"==typeof t?t:()=>t,typeName:tF.ZodDefault})}brand(){return new eK({typeName:tF.ZodBranded,type:this,...G(this._def)})}catch(t){return new eV({...G(this._def),innerType:this,catchValue:"function"==typeof t?t:()=>t,typeName:tF.ZodCatch})}describe(t){return new this.constructor({...this._def,description:t})}pipe(t){return eY.create(this,t)}readonly(){return eZ.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let K=/^c[^\s-]{8,}
43$/i,Y=/^[0-9a-z]+$/,Z=/^[0-9A-HJKMNP-TV-Z]{26}$/i,X=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,J=/^[a-z0-9_-]{21}$/i,Q=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,ee=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,et=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,er=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,en=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ei=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,eo=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ea=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,es=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,el="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",eu=RegExp(`^${el}$`);function ec(t){let r="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?r=`${r}\\.\\d{${t.precision}}`:null==t.precision&&(r=`${r}(\\.\\d+)?`),r}function ed(t){let r=`${el}T${ec(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),r=`${r}(${n.join("|")})`,RegExp(`^${r}$`)}class eh extends W{_parse(t){var r,n,o,a;let s;if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==x.string){let r=this._getOrReturnCtx(t);
vendor: 1,110 bytes, line 43
43return I(r,{code:O.invalid_type,expected:x.string,received:r.parsedType}),D}let l=new N;for(let u of this._def.checks)if("min"===u.kind)t.data.length<u.value&&(I(s=this._getOrReturnCtx(t,s),{code:O.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("max"===u.kind)t.data.length>u.value&&(I(s=this._getOrReturnCtx(t,s),{code:O.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("length"===u.kind){let r=t.data.length>u.value,n=t.data.length<u.value;(r||n)&&(s=this._getOrReturnCtx(t,s),r?I(s,{code:O.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):n&&I(s,{code:O.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),l.dirty())}else if("email"===u.kind)et.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"email",code:O.invalid_string,message:u.message}),l.dirty());else if("emoji"===u.kind)i||(i=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),i.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"emoji",code:O.invali
vendor: 2,120 bytes, line 43
43d_string,message:u.message}),l.dirty());else if("uuid"===u.kind)X.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"uuid",code:O.invalid_string,message:u.message}),l.dirty());else if("nanoid"===u.kind)J.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"nanoid",code:O.invalid_string,message:u.message}),l.dirty());else if("cuid"===u.kind)K.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"cuid",code:O.invalid_string,message:u.message}),l.dirty());else if("cuid2"===u.kind)Y.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"cuid2",code:O.invalid_string,message:u.message}),l.dirty());else if("ulid"===u.kind)Z.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"ulid",code:O.invalid_string,message:u.message}),l.dirty());else if("url"===u.kind)try{new URL(t.data)}catch(r){I(s=this._getOrReturnCtx(t,s),{validation:"url",code:O.invalid_string,message:u.message}),l.dirty()}else"regex"===u.kind?(u.regex.lastIndex=0,u.regex.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"regex",code:O.invalid_string,message:u.message}),l.dirty())):"trim"===u.kind?t.data=t.data.trim():"includes"===u.kind?t.data.includes(u.value,u.position)||(I(s=this._getOrReturnCtx(t,s),{code:O.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),l.dirty()):"toLowerCase"===u.kind?t.data=t.data.toLowerCase():"toUpperCase"===u.kind?t.data=t.data.toUpperCase():"startsWith"===u.kind?t.data.startsWith(u.value)||(I(s=this._getOrReturnCtx(t,s),{code:O.invalid_string,validation:{startsWith:u.value},message:u.message}),l.dirty()):"endsWith"===u.kind?t.data.endsWith(u.value)||(I(s=this._getOrReturnCtx(t,s),{code:O.invalid_string,validation:{endsWith:u.value},message:u.message}),l.dirty()):"datetime"===u.kind?ed(u).test(t.data)||(I(s=this._getOrReturnCtx(t,s),{code:O.invalid_string,validation:"datetime",message:u.message}),l.dirty()):"date"===u.kind?eu.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{code:O.invalid_string,validation:"date",message:u.message}),l.dirty()):"time"===u.kind?RegExp(`^${ec(u)}$`).test(t.data)||(I(s=this._getOrReturnCtx(t,s),{code:O.invali
vendor: 1,088 bytes, line 43
43d_string,validation:"time",message:u.message}),l.dirty()):"duration"===u.kind?ee.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"duration",code:O.invalid_string,message:u.message}),l.dirty()):"ip"===u.kind?(r=t.data,("v4"===(n=u.version)||!n)&&er.test(r)||("v6"===n||!n)&&ei.test(r)||(I(s=this._getOrReturnCtx(t,s),{validation:"ip",code:O.invalid_string,message:u.message}),l.dirty())):"jwt"===u.kind?!function(t,r){if(!Q.test(t))return!1;try{let[n]=t.split("."),i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(i));if("object"!=typeof o||null===o||!o.typ||!o.alg||r&&o.alg!==r)return!1;return!0}catch(t){return!1}}(t.data,u.alg)&&(I(s=this._getOrReturnCtx(t,s),{validation:"jwt",code:O.invalid_string,message:u.message}),l.dirty()):"cidr"===u.kind?(o=t.data,("v4"===(a=u.version)||!a)&&en.test(o)||("v6"===a||!a)&&eo.test(o)||(I(s=this._getOrReturnCtx(t,s),{validation:"cidr",code:O.invalid_string,message:u.message}),l.dirty())):"base64"===u.kind?ea.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"base64",code:O.invali
43d_string,message:u.message}),l.dirty()):"base64url"===u.kind?es.test(t.data)||(I(s=this._getOrReturnCtx(t,s),{validation:"base64url",code:O.invalid_string,message:u.message}),l.dirty()):tM.assertNever(u);return{status:l.value,value:t.data}}_regex(t,r,n){return this.refinement(r=>t.test(r),{validation:r,code:O.invalid_string,...tI.errToObj(n)})}_addCheck(t){return new eh({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...tI.errToObj(t)})}url(t){return this._addCheck({kind:"url",...tI.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...tI.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...tI.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...tI.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...tI.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...tI.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...tI.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...tI.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...tI.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...tI.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...tI.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...tI.errToObj(t)})}datetime(t){var r,n;return"string"==typeof t?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:void 0===(null==t?void 0:t.precision)?null:null==t?void 0:t.precision,offset:null!==(r=null==t?void 0:t.offset)&&void 0!==r&&r,local:null!==(n=null==t?void 0:t.local)&&void 0!==n&&n,...tI.errToObj(null==t?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return"string"==typeof t?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:void 0===(null==t?void 0:t.precision)?null:null==t?void 0:t.precision,...tI.errToObj(null==t?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...tI.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...tI.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:null==r?void 0:r.position,...tI.errToObj(null==r?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...tI.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...tI.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...tI.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...tI.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...tI.errToObj(r)})}nonempty(t){return this.min(1,tI.errToObj(t))}trim(){return new eh({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new eh({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new eh({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>"datetime"===t.kind)}get isDate(){return!!this._def.checks.find(t=>"date"===t.kind)}get isTime(){return!!this._def.checks.find(t=>"time"===t.kind)}get isDuration(){return!!this._def.checks.find(t=>"duration"===t.kind)}get isEmail(){return!!this._def.checks.find(t=>"email"===t.kind)}get isURL(){return!!this._def.checks.find(t=>"url"===t.kind)}get isEmoji(){return!!this._def.checks.find(t=>"emoji"===t.kind)}get isUUID(){return!!this._def.checks.find(t=>"uuid"===t.kind)}get isNANOID(){return!!this._def.checks.find(t=>"nanoid"===t.kind)}get isCUID(){return!!this._def.checks.find(t=>"cuid"===t.kind)}get isCUID2(){return!!this._def.checks.find(t=>"cuid2"===t.kind)}get isULID(){return!!this._def.checks.find(t=>"ulid"===t.kind)}get isIP(){return!!this._def.checks.find(t=>"ip"===t.kind)}get isCIDR(){return!!this._def.checks.find(t=>"cidr"===t.kind)}get isBase64(){return!!this._def.checks.find(t=>"base64"===t.kind)}get isBase64url(){return!!this._def.checks.find(t=>"base64url"===t.kind)}get minLength(){let t=null;for(let r of this._def.checks)"min"===r.kind&&(null===t||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(let r of this._def.checks)"max"===r.kind&&(null===t||r.value<t)&&(t=r.value);return t}}eh.create=t=>{var r;return new eh({checks:[],typeName:tF.ZodString,coerce:null!==(r=null==t?void 0:t.coerce)&&void 0!==r&&r,...G(t)})};class ef extends W{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){let r;if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==x.number){let r=this._getOrReturnCtx(t);
vendor: 5,603 bytes, line 43
43return I(r,{code:O.invalid_type,expected:x.number,received:r.parsedType}),D}let n=new N;for(let i of this._def.checks)"int"===i.kind?tM.isInteger(t.data)||(I(r=this._getOrReturnCtx(t,r),{code:O.invalid_type,expected:"integer",received:"float",message:i.message}),n.dirty()):"min"===i.kind?(i.inclusive?t.data<i.value:t.data<=i.value)&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty()):"max"===i.kind?(i.inclusive?t.data>i.value:t.data>=i.value)&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty()):"multipleOf"===i.kind?0!==function(t,r){let n=(t.toString().split(".")[1]||"").length,i=(r.toString().split(".")[1]||"").length,o=n>i?n:i;return parseInt(t.toFixed(o).replace(".",""))%parseInt(r.toFixed(o).replace(".",""))/Math.pow(10,o)}(t.data,i.value)&&(I(r=this._getOrReturnCtx(t,r),{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):"finite"===i.kind?Number.isFinite(t.data)||(I(r=this._getOrReturnCtx(t,r),{code:O.not_finite,message:i.message}),n.dirty()):tM.assertNever(i);return{status:n.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,tI.toString(r))}gt(t,r){return this.setLimit("min",t,!1,tI.toString(r))}lte(t,r){return this.setLimit("max",t,!0,tI.toString(r))}lt(t,r){return this.setLimit("max",t,!1,tI.toString(r))}setLimit(t,r,n,i){return new ef({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:tI.toString(i)}]})}_addCheck(t){return new ef({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:tI.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:tI.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:tI.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:tI.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:tI.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:tI.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:tI.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:tI.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:tI.toString(t)})}get minValue(){let t=null;for(let r of this._def.checks)"min"===r.kind&&(null===t||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(let r of this._def.checks)"max"===r.kind&&(null===t||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>"int"===t.kind||"multipleOf"===t.kind&&tM.isInteger(t.value))}get isFinite(){let t=null,r=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===r||n.value>r)&&(r=n.value):"max"===n.kind&&(null===t||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}ef.create=t=>new ef({checks:[],typeName:tF.ZodNumber,coerce:(null==t?void 0:t.coerce)||!1,...G(t)});class ep extends W{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){let r;if(this._def.coerce)try{t.data=BigInt(t.data)}catch(r){return this._getInvalidInput(t)}if(this._getType(t)!==x.bigint)return this._getInvalidInput(t);let n=new N;for(let i of this._def.checks)"min"===i.kind?(i.inclusive?t.data<i.value:t.data<=i.value)&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty()):"max"===i.kind?(i.inclusive?t.data>i.value:t.data>=i.value)&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty()):"multipleOf"===i.kind?t.data%i.value!==BigInt(0)&&(I(r=this._getOrReturnCtx(t,r),{code:O.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):tM.assertNever(i);return{status:n.value,value:t.data}}_getInvalidInput(t){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.bigint,received:r.parsedType}),D}gte(t,r){return this.setLimit("min",t,!0,tI.toString(r))}gt(t,r){return this.setLimit("min",t,!1,tI.toString(r))}lte(t,r){return this.setLimit("max",t,!0,tI.toString(r))}lt(t,r){return this.setLimit("max",t,!1,tI.toString(r))}setLimit(t,r,n,i){return new ep({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:tI.toString(i)}]})}_addCheck(t){return new ep({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:tI.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:tI.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:tI.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:tI.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:tI.toString(r)})}get minValue(){let t=null;for(let r of this._def.checks)"min"===r.kind&&(null===t||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(let r of this._def.checks)"max"===r.kind&&(null===t||r.value<t)&&(t=r.value);return t}}ep.create=t=>{var r;return new ep({checks:[],typeName:tF.ZodBigInt,coerce:null!==(r=null==t?void 0:t.coerce)&&void 0!==r&&r,...G(t)})};class em extends W{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==x.boolean){let r=this._getOrReturnCtx(t);
43return I(r,{code:O.invalid_type,expected:x.boolean,received:r.parsedType}),D}return L(t.data)}}em.create=t=>new em({typeName:tF.ZodBoolean,coerce:(null==t?void 0:t.coerce)||!1,...G(t)});class eg extends W{_parse(t){let r;if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==x.date){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.date,received:r.parsedType}),D}if(isNaN(t.data.getTime()))return I(this._getOrReturnCtx(t),{code:O.invalid_date}),D;let n=new N;for(let i of this._def.checks)"min"===i.kind?t.data.getTime()<i.value&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),n.dirty()):"max"===i.kind?t.data.getTime()>i.value&&(I(r=this._getOrReturnCtx(t,r),{code:O.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),n.dirty()):tM.assertNever(i);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new eg({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:tI.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:tI.toString(r)})}get minDate(){let t=null;for(let r of this._def.checks)"min"===r.kind&&(null===t||r.value>t)&&(t=r.value);return null!=t?new Date(t):null}get maxDate(){let t=null;for(let r of this._def.checks)"max"===r.kind&&(null===t||r.value<t)&&(t=r.value);return null!=t?new Date(t):null}}eg.create=t=>new eg({checks:[],coerce:(null==t?void 0:t.coerce)||!1,typeName:tF.ZodDate,...G(t)});class ey extends W{_parse(t){if(this._getType(t)!==x.symbol){let r=this._getOrReturnCtx(t);
43return I(r,{code:O.invalid_type,expected:x.symbol,received:r.parsedType}),D}return L(t.data)}}ey.create=t=>new ey({typeName:tF.ZodSymbol,...G(t)});class ev extends W{_parse(t){if(this._getType(t)!==x.undefined){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.undefined,received:r.parsedType}),D}return L(t.data)}}ev.create=t=>new ev({typeName:tF.ZodUndefined,...G(t)});class eb extends W{_parse(t){if(this._getType(t)!==x.null){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.null,received:r.parsedType}),D}return L(t.data)}}eb.create=t=>new eb({typeName:tF.ZodNull,...G(t)});class ew extends W{constructor(){super(...arguments),this._any=!0}_parse(t){return L(t.data)}}ew.create=t=>new ew({typeName:tF.ZodAny,...G(t)});class e_ extends W{constructor(){super(...arguments),this._unknown=!0}_parse(t){return L(t.data)}}e_.create=t=>new e_({typeName:tF.ZodUnknown,...G(t)});class eS extends W{_parse(t){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.never,received:r.parsedType}),D}}eS.create=t=>new eS({typeName:tF.ZodNever,...G(t)});class eE extends W{_parse(t){if(this._getType(t)!==x.undefined){let r=this._getOrReturnCtx(t);
vendor: 1,973 bytes, line 43
43return I(r,{code:O.invalid_type,expected:x.void,received:r.parsedType}),D}return L(t.data)}}eE.create=t=>new eE({typeName:tF.ZodVoid,...G(t)});class eA extends W{_parse(t){let{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==x.array)return I(r,{code:O.invalid_type,expected:x.array,received:r.parsedType}),D;if(null!==i.exactLength){let t=r.data.length>i.exactLength.value,o=r.data.length<i.exactLength.value;(t||o)&&(I(r,{code:t?O.too_big:O.too_small,minimum:o?i.exactLength.value:void 0,maximum:t?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(null!==i.minLength&&r.data.length<i.minLength.value&&(I(r,{code:O.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),null!==i.maxLength&&r.data.length>i.maxLength.value&&(I(r,{code:O.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((t,n)=>i.type._parseAsync(new q(r,t,r.path,n)))).then(t=>N.mergeArray(n,t));let o=[...r.data].map((t,n)=>i.type._parseSync(new q(r,t,r.path,n)));return N.mergeArray(n,o)}get element(){return this._def.type}min(t,r){return new eA({...this._def,minLength:{value:t,message:tI.toString(r)}})}max(t,r){return new eA({...this._def,maxLength:{value:t,message:tI.toString(r)}})}length(t,r){return new eA({...this._def,exactLength:{value:t,message:tI.toString(r)}})}nonempty(t){return this.min(1,t)}}eA.create=(t,r)=>new eA({type:t,minLength:null,maxLength:null,exactLength:null,typeName:tF.ZodArray,...G(r)});class ex extends W{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let t=this._def.shape(),r=tM.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==x.object){let r=this._getOrReturnCtx(t);
vendor: 3,885 bytes, line 43
43return I(r,{code:O.invalid_type,expected:x.object,received:r.parsedType}),D}let{status:r,ctx:n}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof eS&&"strip"===this._def.unknownKeys))for(let t in n.data)o.includes(t)||a.push(t);let s=[];for(let t of o){let r=i[t],o=n.data[t];s.push({key:{status:"valid",value:t},value:r._parse(new q(n,o,n.path,t)),alwaysSet:t in n.data})}if(this._def.catchall instanceof eS){let t=this._def.unknownKeys;if("passthrough"===t)for(let t of a)s.push({key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}});else if("strict"===t)a.length>0&&(I(n,{code:O.unrecognized_keys,keys:a}),r.dirty());else if("strip"===t);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let t=this._def.catchall;for(let r of a){let i=n.data[r];s.push({key:{status:"valid",value:r},value:t._parse(new q(n,i,n.path,r)),alwaysSet:r in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let t=[];for(let r of s){let n=await r.key,i=await r.value;t.push({key:n,value:i,alwaysSet:r.alwaysSet})}return t}).then(t=>N.mergeObjectSync(r,t)):N.mergeObjectSync(r,s)}get shape(){return this._def.shape()}strict(t){return tI.errToObj,new ex({...this._def,unknownKeys:"strict",...void 0!==t?{errorMap:(r,n)=>{var i,o,a,s;let l=null!==(a=null===(o=(i=this._def).errorMap)||void 0===o?void 0:o.call(i,r,n).message)&&void 0!==a?a:n.defaultError;return"unrecognized_keys"===r.code?{message:null!==(s=tI.errToObj(t).message)&&void 0!==s?s:l}:{message:l}}}:{}})}strip(){return new ex({...this._def,unknownKeys:"strip"})}passthrough(){return new ex({...this._def,unknownKeys:"passthrough"})}extend(t){return new ex({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new ex({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:tF.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new ex({...this._def,catchall:t})}pick(t){let r={};return tM.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new ex({...this._def,shape:()=>r})}omit(t){let r={};return tM.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new ex({...this._def,shape:()=>r})}deepPartial(){return function t(r){if(r instanceof ex){let n={};for(let i in r.shape){let o=r.shape[i];n[i]=ez.create(t(o))}return new ex({...r._def,shape:()=>n})}return r instanceof eA?new eA({...r._def,type:t(r.element)}):r instanceof ez?ez.create(t(r.unwrap())):r instanceof eH?eH.create(t(r.unwrap())):r instanceof eT?eT.create(r.items.map(r=>t(r))):r}(this)}partial(t){let r={};return tM.objectKeys(this.shape).forEach(n=>{let i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new ex({...this._def,shape:()=>r})}required(t){let r={};return tM.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let t=this.shape[n];for(;t instanceof ez;)t=t._def.innerType;r[n]=t}}),new ex({...this._def,shape:()=>r})}keyof(){return eL(tM.objectKeys(this.shape))}}ex.create=(t,r)=>new ex({shape:()=>t,unknownKeys:"strip",catchall:eS.create(),typeName:tF.ZodObject,...G(r)}),ex.strictCreate=(t,r)=>new ex({shape:()=>t,unknownKeys:"strict",catchall:eS.create(),typeName:tF.ZodObject,...G(r)}),ex.lazycreate=(t,r)=>new ex({shape:t,unknownKeys:"strip",catchall:eS.create(),typeName:tF.ZodObject,...G(r)});class ek extends W{_parse(t){let{ctx:r}=this._processInputParams(t),n=this._def.options;if(r.common.async)return Promise.all(n.map(async t=>{let n={...r,common:{...r.common,issues:[]},parent:null};return{result:await t._parseAsync({data:r.data,path:r.path,parent:n}),ctx:n}})).then(function(t){for(let r of t)if("valid"===r.result.status)return r.result;for(let n of t)if("dirty"===n.result.status)return r.common.issues.push(...n.ctx.common.issues),n.result;let n=t.map(t=>new P(t.ctx.common.issues));
43return I(r,{code:O.invalid_union,unionErrors:n}),D});{let t;let i=[];for(let o of n){let n={...r,common:{...r.common,issues:[]},parent:null},a=o._parseSync({data:r.data,path:r.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||t||(t={result:a,ctx:n}),n.common.issues.length&&i.push(n.common.issues)}if(t)return r.common.issues.push(...t.ctx.common.issues),t.result;let o=i.map(t=>new P(t));return I(r,{code:O.invalid_union,unionErrors:o}),D}}get options(){return this._def.options}}ek.create=(t,r)=>new ek({options:t,typeName:tF.ZodUnion,...G(r)});let eO=t=>{if(t instanceof eD)return eO(t.schema);if(t instanceof eB)return eO(t.innerType());if(t instanceof eF)return[t.value];if(t instanceof e$)return t.options;if(t instanceof ej)return tM.objectValues(t.enum);if(t instanceof eq)return eO(t._def.innerType);if(t instanceof ev)return[void 0];else if(t instanceof eb)return[null];else if(t instanceof ez)return[void 0,...eO(t.unwrap())];else if(t instanceof eH)return[null,...eO(t.unwrap())];else if(t instanceof eK)return eO(t.unwrap());else if(t instanceof eZ)return eO(t.unwrap());else if(t instanceof eV)return eO(t._def.innerType);else return[]};class eP extends W{_parse(t){let{ctx:r}=this._processInputParams(t);
vendor: 1,676 bytes, line 43
43if(r.parsedType!==x.object)return I(r,{code:O.invalid_type,expected:x.object,received:r.parsedType}),D;let n=this.discriminator,i=r.data[n],o=this.optionsMap.get(i);return o?r.common.async?o._parseAsync({data:r.data,path:r.path,parent:r}):o._parseSync({data:r.data,path:r.path,parent:r}):(I(r,{code:O.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),D)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){let i=new Map;for(let n of r){let r=eO(n.shape[t]);if(!r.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let o of r){if(i.has(o))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(o)}`);i.set(o,n)}}return new eP({typeName:tF.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,...G(n)})}}class eC extends W{_parse(t){let{status:r,ctx:n}=this._processInputParams(t),i=(t,i)=>{if($(t)||$(i))return D;let o=function t(r,n){let i=k(r),o=k(n);if(r===n)return{valid:!0,data:r};if(i===x.object&&o===x.object){let i=tM.objectKeys(n),o=tM.objectKeys(r).filter(t=>-1!==i.indexOf(t)),a={...r,...n};for(let i of o){let o=t(r[i],n[i]);if(!o.valid)return{valid:!1};a[i]=o.data}return{valid:!0,data:a}}if(i===x.array&&o===x.array){if(r.length!==n.length)return{valid:!1};let i=[];for(let o=0;o<r.length;o++){let a=t(r[o],n[o]);if(!a.valid)return{valid:!1};i.push(a.data)}return{valid:!0,data:i}}return i===x.date&&o===x.date&&+r==+n?{valid:!0,data:r}:{valid:!1}}(t.value,i.value);return o.valid?((j(t)||j(i))&&r.dirty(),{status:r.value,value:o.data}
vendor: 1,546 bytes, line 43
43):(I(n,{code:O.invalid_intersection_types}),D)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([t,r])=>i(t,r)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}eC.create=(t,r,n)=>new eC({left:t,right:r,typeName:tF.ZodIntersection,...G(n)});class eT extends W{_parse(t){let{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==x.array)return I(n,{code:O.invalid_type,expected:x.array,received:n.parsedType}),D;if(n.data.length<this._def.items.length)return I(n,{code:O.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),D;!this._def.rest&&n.data.length>this._def.items.length&&(I(n,{code:O.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());let i=[...n.data].map((t,r)=>{let i=this._def.items[r]||this._def.rest;return i?i._parse(new q(n,t,n.path,r)):null}).filter(t=>!!t);return n.common.async?Promise.all(i).then(t=>N.mergeArray(r,t)):N.mergeArray(r,i)}get items(){return this._def.items}rest(t){return new eT({...this._def,rest:t})}}eT.create=(t,r)=>{if(!Array.isArray(t))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eT({items:t,typeName:tF.ZodTuple,rest:null,...G(r)})};class eM extends W{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:r,ctx:n}=this._processInputParams(t);
43if(n.parsedType!==x.object)return I(n,{code:O.invalid_type,expected:x.object,received:n.parsedType}),D;let i=[],o=this._def.keyType,a=this._def.valueType;for(let t in n.data)i.push({key:o._parse(new q(n,t,n.path,t)),value:a._parse(new q(n,n.data[t],n.path,t)),alwaysSet:t in n.data});return n.common.async?N.mergeObjectAsync(r,i):N.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return new eM(r instanceof W?{keyType:t,valueType:r,typeName:tF.ZodRecord,...G(n)}:{keyType:eh.create(),valueType:t,typeName:tF.ZodRecord,...G(r)})}}class eR extends W{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==x.map)return I(n,{code:O.invalid_type,expected:x.map,received:n.parsedType}),D;let i=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map(([t,r],a)=>({key:i._parse(new q(n,t,n.path,[a,"key"])),value:o._parse(new q(n,r,n.path,[a,"value"]))}));if(n.common.async){let t=new Map;return Promise.resolve().then(async()=>{for(let n of a){let i=await n.key,o=await n.value;if("aborted"===i.status||"aborted"===o.status)return D;("dirty"===i.status||"dirty"===o.status)&&r.dirty(),t.set(i.value,o.value)}return{status:r.value,value:t}})}{let t=new Map;for(let n of a){let i=n.key,o=n.value;if("aborted"===i.status||"aborted"===o.status)return D;("dirty"===i.status||"dirty"===o.status)&&r.dirty(),t.set(i.value,o.value)}return{status:r.value,value:t}}}}eR.create=(t,r,n)=>new eR({valueType:r,keyType:t,typeName:tF.ZodMap,...G(n)});class eI extends W{_parse(t){let{status:r,ctx:n}=this._processInputParams(t);
vendor: 1,204 bytes, line 43
43if(n.parsedType!==x.set)return I(n,{code:O.invalid_type,expected:x.set,received:n.parsedType}),D;let i=this._def;null!==i.minSize&&n.data.size<i.minSize.value&&(I(n,{code:O.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),null!==i.maxSize&&n.data.size>i.maxSize.value&&(I(n,{code:O.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());let o=this._def.valueType;function a(t){let n=new Set;for(let i of t){if("aborted"===i.status)return D;"dirty"===i.status&&r.dirty(),n.add(i.value)}return{status:r.value,value:n}}let s=[...n.data.values()].map((t,r)=>o._parse(new q(n,t,n.path,r)));return n.common.async?Promise.all(s).then(t=>a(t)):a(s)}min(t,r){return new eI({...this._def,minSize:{value:t,message:tI.toString(r)}})}max(t,r){return new eI({...this._def,maxSize:{value:t,message:tI.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}eI.create=(t,r)=>new eI({valueType:t,minSize:null,maxSize:null,typeName:tF.ZodSet,...G(r)});class eN extends W{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:r}=this._processInputParams(t);
vendor: 1,792 bytes, line 43
43if(r.parsedType!==x.function)return I(r,{code:O.invalid_type,expected:x.function,received:r.parsedType}),D;function n(t,n){return R({data:t,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,M(),C].filter(t=>!!t),issueData:{code:O.invalid_arguments,argumentsError:n}})}function i(t,n){return R({data:t,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,M(),C].filter(t=>!!t),issueData:{code:O.invalid_return_type,returnTypeError:n}})}let o={errorMap:r.common.contextualErrorMap},a=r.data;if(this._def.returns instanceof eU){let t=this;return L(async function(...r){let s=new P([]),l=await t._def.args.parseAsync(r,o).catch(t=>{throw s.addIssue(n(r,t)),s}),u=await Reflect.apply(a,this,l);return await t._def.returns._def.type.parseAsync(u,o).catch(t=>{throw s.addIssue(i(u,t)),s})})}{let t=this;return L(function(...r){let s=t._def.args.safeParse(r,o);if(!s.success)throw new P([n(r,s.error)]);let l=Reflect.apply(a,this,s.data),u=t._def.returns.safeParse(l,o);if(!u.success)throw new P([i(l,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new eN({...this._def,args:eT.create(t).rest(e_.create())})}returns(t){return new eN({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new eN({args:t||eT.create([]).rest(e_.create()),returns:r||e_.create(),typeName:tF.ZodFunction,...G(n)})}}class eD extends W{get schema(){return this._def.getter()}_parse(t){let{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}eD.create=(t,r)=>new eD({getter:t,typeName:tF.ZodLazy,...G(r)});class eF extends W{_parse(t){if(t.data!==this._def.value){let r=this._getOrReturnCtx(t);
43return I(r,{received:r.data,code:O.invalid_literal,expected:this._def.value}),D}return{status:"valid",value:t.data}}get value(){return this._def.value}}function eL(t,r){return new e$({values:t,typeName:tF.ZodEnum,...G(r)})}eF.create=(t,r)=>new eF({value:t,typeName:tF.ZodLiteral,...G(r)});class e$ extends W{constructor(){super(...arguments),tN.set(this,void 0)}_parse(t){if("string"!=typeof t.data){let r=this._getOrReturnCtx(t),n=this._def.values;return I(r,{expected:tM.joinValues(n),received:r.parsedType,code:O.invalid_type}),D}if(z(this,tN,"f")||H(this,tN,new Set(this._def.values),"f"),!z(this,tN,"f").has(t.data)){let r=this._getOrReturnCtx(t),n=this._def.values;return I(r,{received:r.data,code:O.invalid_enum_value,options:n}),D}return L(t.data)}get options(){return this._def.values}get enum(){let t={};for(let r of this._def.values)t[r]=r;return t}get Values(){let t={};for(let r of this._def.values)t[r]=r;return t}get Enum(){let t={};for(let r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return e$.create(t,{...this._def,...r})}exclude(t,r=this._def){return e$.create(this.options.filter(r=>!t.includes(r)),{...this._def,...r})}}tN=new WeakMap,e$.create=eL;class ej extends W{constructor(){super(...arguments),tD.set(this,void 0)}_parse(t){let r=tM.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==x.string&&n.parsedType!==x.number){let t=tM.objectValues(r);return I(n,{expected:tM.joinValues(t),received:n.parsedType,code:O.invali
vendor: 4,112 bytes, line 43
43d_type}),D}if(z(this,tD,"f")||H(this,tD,new Set(tM.getValidEnumValues(this._def.values)),"f"),!z(this,tD,"f").has(t.data)){let t=tM.objectValues(r);return I(n,{received:n.data,code:O.invalid_enum_value,options:t}),D}return L(t.data)}get enum(){return this._def.values}}tD=new WeakMap,ej.create=(t,r)=>new ej({values:t,typeName:tF.ZodNativeEnum,...G(r)});class eU extends W{unwrap(){return this._def.type}_parse(t){let{ctx:r}=this._processInputParams(t);return r.parsedType!==x.promise&&!1===r.common.async?(I(r,{code:O.invalid_type,expected:x.promise,received:r.parsedType}),D):L((r.parsedType===x.promise?r.data:Promise.resolve(r.data)).then(t=>this._def.type.parseAsync(t,{path:r.path,errorMap:r.common.contextualErrorMap})))}}eU.create=(t,r)=>new eU({type:t,typeName:tF.ZodPromise,...G(r)});class eB extends W{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===tF.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,o={addIssue:t=>{I(n,t),t.fatal?r.abort():r.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===i.type){let t=i.transform(n.data,o);if(n.common.async)return Promise.resolve(t).then(async t=>{if("aborted"===r.value)return D;let i=await this._def.schema._parseAsync({data:t,path:n.path,parent:n});return"aborted"===i.status?D:"dirty"===i.status||"dirty"===r.value?F(i.value):i});{if("aborted"===r.value)return D;let i=this._def.schema._parseSync({data:t,path:n.path,parent:n});return"aborted"===i.status?D:"dirty"===i.status||"dirty"===r.value?F(i.value):i}}if("refinement"===i.type){let t=t=>{let r=i.refinement(t,o);if(n.common.async)return Promise.resolve(r);if(r instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return t};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?D:("dirty"===n.status&&r.dirty(),t(n.value).then(()=>({status:r.value,value:n.value}))));{let i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===i.status?D:("dirty"===i.status&&r.dirty(),t(i.value),{status:r.value,value:i.value})}}if("transform"===i.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(t=>U(t)?Promise.resolve(i.transform(t.value,o)).then(t=>({status:r.value,value:t})):t);{let t=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!U(t))return t;let a=i.transform(t.value,o);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:a}}}tM.assertNever(i)}}eB.create=(t,r,n)=>new eB({schema:t,typeName:tF.ZodEffects,effect:r,...G(n)}),eB.createWithPreprocess=(t,r,n)=>new eB({schema:r,effect:{type:"preprocess",transform:t},typeName:tF.ZodEffects,...G(n)});class ez extends W{_parse(t){return this._getType(t)===x.undefined?L(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ez.create=(t,r)=>new ez({innerType:t,typeName:tF.ZodOptional,...G(r)});class eH extends W{_parse(t){return this._getType(t)===x.null?L(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}eH.create=(t,r)=>new eH({innerType:t,typeName:tF.ZodNullable,...G(r)});class eq extends W{_parse(t){let{ctx:r}=this._processInputParams(t),n=r.data;return r.parsedType===x.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}eq.create=(t,r)=>new eq({innerType:t,typeName:tF.ZodDefault,defaultValue:"function"==typeof r.default?r.default:()=>r.default,...G(r)});class eV extends W{_parse(t){let{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return B(i)?i.then(t=>({status:"valid",value:"valid"===t.status?t.value:this._def.catchValue({get error(){return new P(n.common.issues)},input:n.data})}
43)):{status:"valid",value:"valid"===i.status?i.value:this._def.catchValue({get error(){return new P(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eV.create=(t,r)=>new eV({innerType:t,typeName:tF.ZodCatch,catchValue:"function"==typeof r.catch?r.catch:()=>r.catch,...G(r)});class eG extends W{_parse(t){if(this._getType(t)!==x.nan){let r=this._getOrReturnCtx(t);return I(r,{code:O.invalid_type,expected:x.nan,received:r.parsedType}),D}return{status:"valid",value:t.data}}}eG.create=t=>new eG({typeName:tF.ZodNaN,...G(t)});let eW=Symbol("zod_brand");class eK extends W{_parse(t){let{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class eY extends W{_parse(t){let{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{let t=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===t.status?D:"dirty"===t.status?(r.dirty(),F(t.value)):this._def.out._parseAsync({data:t.value,path:n.path,parent:n})})();{let t=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===t.status?D:"dirty"===t.status?(r.dirty(),{status:"dirty",value:t.value}):this._def.out._parseSync({data:t.value,path:n.path,parent:n})}}static create(t,r){return new eY({in:t,out:r,typeName:tF.ZodPipeline})}}class eZ extends W{_parse(t){let r=this._def.innerType._parse(t),n=t=>(U(t)&&(t.value=Object.freeze(t.value)),t);return B(r)?r.then(t=>n(t)):n(r)}unwrap(){return this._def.innerType}}function eX(t,r){let n="function"==typeof t?t(r):"string"==typeof t?{message:t}:t;return"string"==typeof n?{message:n}:n}function eJ(t,r={},n){return t?ew.create().superRefine((i,o)=>{var a,s;let l=t(i);if(l instanceof Promise)return l.then(t=>{var a,s;if(!t){let t=eX(r,i),l=null===(s=null!==(a=t.fatal)&&void 0!==a?a:n)||void 0===s||s;o.addIssue({code:"custom",...t,fatal:l})}});if(!l){let t=eX(r,i),l=null===(s=null!==(a=t.fatal)&&void 0!==a?a:n)||void 0===s||s;o.addIssue({code:"custom",...t,fatal:l})}}):ew.create()}eZ.create=(t,r)=>new eZ({innerType:t,typeName:tF.ZodReadonly,...G(r)});let eQ={object:ex.lazycreate};(tT=tF||(tF={})).ZodString="ZodString",tT.ZodNumber="ZodNumber",tT.ZodNaN="ZodNaN",tT.ZodBigInt="ZodBigInt",tT.ZodBoolean="ZodBoolean",tT.ZodDate="ZodDate",tT.ZodSymbol="ZodSymbol",tT.ZodUndefined="ZodUndefined",tT.ZodNull="ZodNull",tT.ZodAny="ZodAny",tT.ZodUnknown="ZodUnknown",tT.ZodNever="ZodNever",tT.ZodVoid="ZodVoid",tT.ZodArray="ZodArray",tT.ZodObject="ZodObject",tT.ZodUnion="ZodUnion",tT.ZodDiscriminatedUnion="ZodDiscriminatedUnion",tT.ZodIntersection="ZodIntersection",tT.ZodTuple="ZodTuple",tT.ZodRecord="ZodRecord",tT.ZodMap="ZodMap",tT.ZodSet="ZodSet",tT.ZodFunction="ZodFunction",tT.ZodLazy="ZodLazy",tT.ZodLiteral="ZodLiteral",tT.ZodEnum="ZodEnum",tT.ZodEffects="ZodEffects",tT.ZodNativeEnum="ZodNativeEnum",tT.ZodOptional="ZodOptional",tT.ZodNullable="ZodNullable",tT.ZodDefault="ZodDefault",tT.ZodCatch="ZodCatch",tT.ZodPromise="ZodPromise",tT.ZodBranded="ZodBranded",tT.ZodPipeline="ZodPipeline",tT.ZodReadonly="ZodReadonly";let e0=eh.create,e1=ef.create,e2=eG.create,e3=ep.create,e5=em.create,e6=eg.create,e4=ey.create,e8=ev.create,e9=eb.create,e7=ew.create,te=e_.create,tt=eS.create,tr=eE.create,tn=eA.create,ti=ex.create,to=ex.strictCreate,ta=ek.create,ts=eP.create,tl=eC.create,tu=eT.create,tc=eM.create,td=eR.create,th=eI.create,tf=eN.create,tp=eD.create,tm=eF.create,tg=e$.create,ty=ej.create,tv=eU.create,tb=eB.create,tw=ez.create,t_=eH.create,tS=eB.createWithPreprocess,tE=eY.create;var tA,tx,tk,tO,tP,tC,tT,tM,tR,tI,tN,tD,tF,tL,t$,tj,tU,tB=Object.freeze({__proto__:null,defaultErrorMap:C,setErrorMap:function(t){T=t},getErrorMap:M,makeIssue:R,EMPTY_PATH:[],addIssueToContext:I,ParseStatus:N,INVALID:D,DIRTY:F,OK:L,isAborted:$,isDirty:j,isValid:U,isAsync:B,get util(){return tM},get objectUtil(){return tR},ZodParsedType:x,getParsedType:k,ZodType:W,datetimeRegex:ed,ZodString:eh,ZodNumber:ef,ZodBigInt:ep,ZodBoolean:em,ZodDate:eg,ZodSymbol:ey,ZodUndefined:ev,ZodNull:eb,ZodAny:ew,ZodUnknown:e_,ZodNever:eS,ZodVoid:eE,ZodArray:eA,ZodObject:ex,ZodUnion:ek,ZodDiscriminatedUnion:eP,ZodIntersection:eC,ZodTuple:eT,ZodRecord:eM,ZodMap:eR,ZodSet:eI,ZodFunction:eN,ZodLazy:eD,ZodLiteral:eF,ZodEnum:e$,ZodNativeEnum:ej,ZodPromise:eU,ZodEffects:eB,ZodTransformer:eB,ZodOptional:ez,ZodNullable:eH,ZodDefault:eq,ZodCatch:eV,ZodNaN:eG,BRAND:eW,ZodBranded:eK,ZodPipeline:eY,ZodReadonly:eZ,custom:eJ,Schema:W,ZodSchema:W,late:eQ,get ZodFirstPartyTypeKind(){return tF},coerce:{string:t=>eh.create({...t,coerce:!0}),number:t=>ef.create({...t,coerce:!0}),boolean:t=>em.create({...t,coerce:!0}),bigint:t=>ep.create({...t,coerce:!0}),date:t=>eg.create({...t,coerce:!0})},any:e7,array:tn,bigint:e3,boolean:e5,date:e6,discriminatedUnion:ts,effect:tb,enum:tg,function:tf,instanceof:(t,r={message:`Input not instance of ${t.name}`})=>eJ(r=>r instanceof t,r),intersection:tl,lazy:tp,literal:tm,map:td,nan:e2,nativeEnum:ty,never:tt,null:e9,nullable:t_,number:e1,object:ti,oboolean:()=>e5().optional(),onumber:()=>e1().optional(),optional:tw,ostring:()=>e0().optional(),pipeline:tE,preprocess:tS,promise:tv,record:tc,set:th,strictObject:to,string:e0,symbol:e4,transformer:tb,tuple:tu,undefined:e8,union:ta,unknown:te,void:tr,NEVER:D,ZodIssueCode:O,quotelessJson:t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:P});let tz=t=>t.message?t.message:"unspecified error";class tH extends o{constructor(t){super(),this.code=1100,this.errors=t,super.message=`Web3 val
43idator found ${t.length} error[s]: 44${this._compileErrors().join("\n")}`}_compileErrors(){return this.errors.map(tz)}}function tq(t){if(!Number.isSafeInteger(t)||t<0)throw Error(`positive integer expected, not ${t}`)}function tV(t,...r){if(!(t instanceof Uint8Array||null!=t&&"object"==typeof t&&"Uint8Array"===t.constructor.name))throw Error("Uint8Array expected");if(r.length>0&&!r.includes(t.length))throw Error(`Uint8Array expected of length ${r}, not of length=${t.length}`)}function tG(t,r=!0){if(t.destroyed)throw Error("Hash instance has been destroyed");if(r&&t.finished)throw Error("Hash#digest() has already been called")}let tW=BigInt(4294967296-1),tK=BigInt(32),tY=(t,r,n)=>t<<n|r>>>32-n,tZ=(t,r,n)=>r<<n|t>>>32-n,tX=(t,r,n)=>r<<n-32|t>>>64-n,tJ=(t,r,n)=>t<<n-32|r>>>64-n,tQ=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),t0=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t1=t=>t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255;function t2(t){for(let r=0;r<t.length;r++)t[r]=t1(t[r])}function t3(t){if("string"!=typeof t)throw Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function t5(t){return"string"==typeof t&&(t=t3(t)),tV(t),t}class t6{clone(){return this._cloneInto()}}let t4=[],t8=[],t9=[],t7=BigInt(0),re=BigInt(1),rt=BigInt(2),rr=BigInt(7),rn=BigInt(256),ri=BigInt(113);for(let t=0,r=re,n=1,i=0;t<24;t++){[n,i]=[i,(2*n+3*i)%5],t4.push(2*(5*i+n)),t8.push((t+1)*(t+2)/2%64);let o=t7;for(let t=0;t<7;t++)(r=(r<<re^(r>>rr)*ri)%rn)&rt&&(o^=re<<(re<<BigInt(t))-re);t9.push(o)}let[ro,ra]=function(t,r=!1){let n=new Uint32Array(t.length),i=new Uint32Array(t.length);for(let o=0;o<t.length;o++){let{h:a,l:s}=function(t,r=!1){return r?{h:Number(t&tW),l:Number(t>>tK&tW)}:{h:0|Number(t>>tK&tW),l:0|Number(t&tW)}}(t[o],r);[n[o],i[o]]=[a,s]}return[n,i]}(t9,!0),rs=(t,r,n)=>n>32?tX(t,r,n):tY(t,r,n),rl=(t,r,n)=>n>32?tJ(t,r,n):tZ(t,r,n);class ru extends t6{constructor(t,r,n,i=!1,o=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=i,this.rounds=o,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,tq(n),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=tQ(this.state)}keccak(){t0||t2(this.state32),function(t,r=24){let n=new Uint32Array(10);for(let i=24-r;i<24;i++){for(let r=0;r<10;r++)n[r]=t[r]^t[r+10]^t[r+20]^t[r+30]^t[r+40];for(let r=0;r<10;r+=2){let i=(r+8)%10,o=(r+2)%10,a=n[o],s=n[o+1],l=rs(a,s,1)^n[i],u=rl(a,s,1)^n[i+1];for(let n=0;n<50;n+=10)t[r+n]^=l,t[r+n+1]^=u}let r=t[2],o=t[3];for(let n=0;n<24;n++){let i=t8[n],a=rs(r,o,i),s=rl(r,o,i),l=t4[n];r=t[l],o=t[l+1],t[l]=a,t[l+1]=s}for(let r=0;r<50;r+=10){for(let i=0;i<10;i++)n[i]=t[r+i];for(let i=0;i<10;i++)t[r+i]^=~n[(i+2)%10]&n[(i+4)%10]}t[0]^=ro[i],t[1]^=ra[i]}n.fill(0)}(this.state32,this.rounds),t0||t2(this.state32),this.posOut=0,this.pos=0}update(t){tG(this);let{blockLen:r,state:n}=this,i=(t=t5(t)).length;for(let o=0;o<i;){let a=Math.min(r-this.pos,i-o);for(let r=0;r<a;r++)n[this.pos++]^=t[o++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:n,blockLen:i}=this;t[n]^=r,(128&r)!=0&&n===i-1&&this.keccak(),t[i-1]^=128,this.keccak()}writeInto(t){tG(this,!1),tV(t),this.finish();let r=this.state,{blockLen:n}=this;for(let i=0,o=t.length;i<o;){this.posOut>=n&&this.keccak();let a=Math.min(n-this.posOut,o-i);t.set(r.subarray(this.posOut,this.posOut+a),i),this.posOut+=a,i+=a}return t}xofInto(t){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return tq(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(function(t,r){tV(t);let n=r.outputLen;if(t.length<n)throw Error(`digestInto() expects output buffer of length at least ${n}`)}(t,this),this.finished)throw Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:a}=this;return t||(t=new ru(r,n,i,a,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=a,t.destroyed=this.destroyed,t}}let rc=(t,r,n)=>(function(t){let r=r=>t().update(t5(r)).digest(),n=t();return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=()=>t(),r})(()=>new ru(r,t,n)),rd=rc(1,144,28),rh=rc(1,136,32),rf=rc(1,104,48),rp=rc(1,72,64);function rm(t){return r=>(tV(r),t(r))}(()=>{let t="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,r="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);return r&&!t?r("crypto"):void 0})(),rm(rd);let rg=(()=>{let t=rm(rh);return t.create=rh.create,t})();rm(rf),rm(rp);let ry=["bool","int","uint","bytes","string","address","tuple"],rv=t=>"object"==typeof t&&"type"in t&&"name"in t,rb=t=>"string"==typeof t,rw=t=>
44"string"==typeof t&&/^((-)?0x[0-9a-f]+|(0x))$/i.test(t),r_=["hex","number","blockNumber","blockNumberOrTag","filter","bloom"],rS=t=>{let r,n=t.replace(/ /,""),i=!1,o=[];if(t.includes("[")&&(n=n.slice(0,n.indexOf("[")),i=(o=[...t.matchAll(/(?:\[(\d*)\])/g)].map(t=>parseInt(t[1],10)).map(t=>Number.isNaN(t)?-1:t)).length>0),ry.includes(n))return{baseType:n,isArray:i,baseTypeSize:r,arraySizes:o};if(n.startsWith("int"))r=parseInt(n.substring(3),10),n="int";else if(n.startsWith("uint"))r=parseInt(t.substring(4),10),n="uint";else{if(!n.startsWith("bytes"))return{baseType:void 0,isArray:!1,baseTypeSize:void 0,arraySizes:o};r=parseInt(n.substring(5),10),n="bytes"}return{baseType:n,isArray:i,baseTypeSize:r,arraySizes:o}},rE=(t,r={})=>{if(Object.keys(r).includes("type"))throw new tH([{keyword:"eth",message:'Either "eth" or "type" can be presented in schema',params:{eth:t},instancePath:"",schemaPath:""}]);let{baseType:n,baseTypeSize:i}=rS(t);if(!n&&!r_.includes(t))throw new tH([{keyword:"eth",message:`Eth data type "${t}" is not valid`,params:{eth:t},instancePath:"",schemaPath:""}]);if(n){if("tuple"===n)throw Error('"tuple" type is not implemented directly.');return{format:`${n}${null!=i?i:""}`,required:!0}}return t?{format:t,required:!0}:{}},rA=(t,r="/0")=>{let n={type:"array",items:[],maxItems:t.length,minItems:t.length};for(let[i,o]of t.entries()){let t,a,s;let l=[];rv(o)?(t=o.type,a=o.name||`${r}/${i}`,l=o.components):"string"==typeof o?(t=o,a=`${r}/${i}`):Array.isArray(o)&&(o[0]&&"string"==typeof o[0]&&o[0].startsWith("tuple")&&!Array.isArray(o[0])&&o[1]&&Array.isArray(o[1])?(t=o[0],a=`${r}/${i}`,l=o[1]):(t="tuple",a=`${r}/${i}`,l=o));let{baseType:u,isArray:c,arraySizes:d}=rS(t),h=n;for(let t=d.length-1;t>0;t-=1)s={type:"array",$id:a,items:[],maxItems:d[t],minItems:d[t]},d[t]<0&&(delete s.maxItems,delete s.minItems),Array.isArray(h.items)?0===h.items.length?h.items=[s]:h.items.push(s):h.items=[h.items,s],h=s;if("tuple"!==u||c){if("tuple"===u&&c){let t=d[0],r=Object.assign({type:"array",$id:a,items:rA(l,a)},t>=0&&{minItems:t,maxItems:t});h.items.push(r)}else if(c){let r=d[0],n=Object.assign({type:"array",$id:a,items:rE(t)},r>=0&&{minItems:r,maxItems:r});h.items.push(n)}else Array.isArray(h.items),h.items.push(Object.assign({$id:a},rE(t)))}else{let t=rA(l,a);t.$id=a,h.items.push(t)}h=n}return n},rx=t=>rA(t),rk=t=>{if(!rw(t))throw Error("Invalid hex string");let[r,n]=t.startsWith("-")?[!0,t.slice(1)]:[!1,t],i=BigInt(n);return i>Number.MAX_SAFE_INTEGER?r?-i:i:i<Number.MIN_SAFE_INTEGER?i:r?-1*Number(i):Number(i)};function rO(t){let r="0x";for(let n of t){let t=n.toString(16);r+=1===t.length?`0${t}`:t}return r}let rP={zero:48,nine:57,A:65,F:70,a:97,f:102};function rC(t){return t>=rP.zero&&t<=rP.nine?t-rP.zero:t>=rP.A&&t<=rP.F?t-(rP.A-10):t>=rP.a&&t<=rP.f?t-(rP.a-10):void 0}let rT=t=>{var r,n;return t instanceof Uint8Array||(null===(r=null==t?void 0:t.constructor)||void 0===r?void 0:r.name)==="Uint8Array"||(null===(n=null==t?void 0:t.constructor)||void 0===n?void 0:n.name)==="Buffer"},rM=(t,r={abiType:"bytes"})=>{let n;if("string"!=typeof t&&!Array.isArray(t)&&!rT(t)||"string"==typeof t&&rw(t)&&t.startsWith("-")||"string"==typeof t&&!rw(t))return!1;if("string"==typeof t){if(t.length%2!=0)return!1;n=function(t){let r=0;if(t.startsWith("0")&&("x"===t[1]||"X"===t[1])&&(r=2),t.length%2!=0)throw new l(`hex string has odd length: ${t}`);let n=(t.length-r)/2,i=new Uint8Array(n);for(let o=0,a=r;o<n;o+=1){let r=rC(t.charCodeAt(a++)),n=rC(t.charCodeAt(a++));if(void 0===r||void 0===n)throw new l(`Invalid byte sequence ("${t[a-2]}${t[a-1]}" in "${t}").`);i[o]=16*r+n}return i}(t)}else if(Array.isArray(t)){if(t.some(t=>t<0||t>255||!Number.isInteger(t)))return!1;n=new Uint8Array(t)}else n=t;if(null==r?void 0:r.abiType){let{baseTypeSize:t}=rS(r.abiType);return!t||n.length===t}return null==r||!r.size||n.length===(null==r?void 0:r.size)},rR=t=>{var r,n;if(!/^(0x)?[0-9a-f]{40}$/i.test(t))return!1;let i=t.slice(2),o=rO(rg((r=t3(i.toLowerCase()))instanceof Uint8Array||(null===(n=null==r?void 0:r.constructor)||void 0===n?void 0:n.name)!=="Uint8Array"?r:Uint8Array.from(r))).slice(2);for(let t=0;t<40;t+=1)if(parseInt(o[t],16)>7&&i[t].toUpperCase()!==i[t]||7>=parseInt(o[t],16)&&i[t].toLowerCase()!==i[t])return!1;return!0},rI=(t,r=!0)=>{let n;return!!("string"==typeof t||rT(t))&&(n=rT(t)?rO(t):"string"!=typeof t||rw(t)?t:t.toLowerCase().startsWith("0x")?t:`0x${t}`,!!/^(0x)?[0-9a-f]{40}$/i.test(n)&&(!!(/^(0x|0X)?[0-9a-f]{40}$/.test(n)||/^(0x|0X)?[0-9A-F]{40}$/.test(n))||!r||rR(n)))};(tA=tL||(tL={})).NUMBER="NUMBER_NUMBER",tA.HEX="NUMBER_HEX",tA.STR="NUMBER_STR",tA.BIGINT="NUMBER_BIGINT",(tx=t$||(t$={})).HEX="BYTES_HEX",tx.UINT8ARRAY="BYTES_UINT8ARRAY",tL.BIGINT,t$.HEX,tL.HEX,t$.HEX,(tk=tj||(tj={}
44)).EARLIEST="earliest",tk.LATEST="latest",tk.PENDING="pending",tk.SAFE="safe",tk.FINALIZED="finalized",tk.COMMITTED="committed",(tO=tU||(tU={})).chainstart="chainstart",tO.frontier="frontier",tO.homestead="homestead",tO.dao="dao",tO.tangerineWhistle="tangerineWhistle",tO.spuriousDragon="spuriousDragon",tO.byzantium="byzantium",tO.constantinople="constantinople",tO.petersburg="petersburg",tO.istanbul="istanbul",tO.muirGlacier="muirGlacier",tO.berlin="berlin",tO.london="london",tO.altair="altair",tO.arrowGlacier="arrowGlacier",tO.grayGlacier="grayGlacier",tO.bellatrix="bellatrix",tO.merge="merge",tO.capella="capella",tO.shanghai="shanghai",Object.getPrototypeOf(Uint8Array);var rN=function(t,r,n,i){return new(n||(n=Promise))(function(o,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function l(t){try{u(i.throw(t))}catch(t){a(t)}}function u(t){var r;t.done?o(t.value):((r=t.value)instanceof n?r:new n(function(t){t(r)})).then(s,l)}u((i=i.apply(t,r||[])).next())})};let rD=Symbol.for("web3/base-provider");class rF{static isWeb3Provider(t){return t instanceof rF||!!(t&&t[rD])}get[rD](){return!0}send(t,r){this.request(t).then(t=>{r(null,t)}).catch(t=>{r(t)})}sendAsync(t){return rN(this,void 0,void 0,function*(){return this.request(t)})}asEIP1193Provider(){let t=Object.create(this),r=t.request;return t.request=function(t){return rN(this,void 0,void 0,function*(){return(yield r(t)).result})},t.asEIP1193Provider=void 0,t}}let rL=(t,r)=>{if(r===BigInt(0))return BigInt(1);let n=t;for(let i=1;i<r;i+=1)n*=t;return n},r$=(t,r={abiType:"uint"})=>{let n;if(!["number","string","bigint"].includes(typeof t)||"string"==typeof t&&0===t.length)return!1;if(null==r?void 0:r.abiType){let{baseTypeSize:t}=rS(r.abiType);t&&(n=t)}else r.bitSize&&(n=r.bitSize);let i=rL(BigInt(2),BigInt(null!=n?n:256))-BigInt(1);try{let r="string"==typeof t&&rw(t)?BigInt(rk(t)):BigInt(t);return r>=0&&r<=i}catch(t){return!1}},rj=(t,r={abiType:"int"})=>{let n;if(!["number","string","bigint"].includes(typeof t)||"number"==typeof t&&t>Number.MAX_SAFE_INTEGER)return!1;if(null==r?void 0:r.abiType){let{baseTypeSize:t,baseType:i}=rS(r.abiType);if("int"!==i)return!1;t&&(n=t)}else r.bitSize&&(n=r.bitSize);let i=rL(BigInt(2),BigInt((null!=n?n:256)-1)),o=BigInt(-1)*rL(BigInt(2),BigInt((null!=n?n:256)-1));try{let r="string"==typeof t&&rw(t)?BigInt(rk(t)):BigInt(t);return r>=o&&r<=i}catch(t){return!1}},rU=t=>!!(rj(t)||"string"==typeof t&&/[0-9.]/.test(t)&&t.indexOf(".")===t.lastIndexOf("."))||"number"==typeof t,rB=t=>r$(t),rz=t=>Object.values(tj).includes(t),rH=t=>rz(t)||rB(t),rq=t=>!!("string"==typeof t&&/^(0x)?[0-9a-f]{512}$/i.test(t))&&!!(/^(0x)?[0-9a-f]{512}$/.test(t)||/^(0x)?[0-9A-F]{512}$/.test(t)),rV=t=>!!["number","string","boolean"].includes(typeof t)&&("boolean"==typeof t||("string"!=typeof t||rw(t)?"string"==typeof t&&rw(t)?"0x1"===t||"0x0"===t:1===t||0===t:"1"===t||"0"===t)),rG=t=>null==t,rW=t=>!!("string"==typeof t&&/^(0x)?[0-9a-f]{64}$/i.test(t))&&!!(/^(0x)?[0-9a-f]{64}$/.test(t)||/^(0x)?[0-9A-F]{64}$/.test(t)),rK=t=>{let r=["fromBlock","toBlock","address","topics","blockHash"];if(rG(t)||"object"!=typeof t||!Object.keys(t).every(t=>r.includes(t))||!rG(t.fromBlock)&&!rH(t.fromBlock)||!rG(t.toBlock)&&!rH(t.toBlock))return!1;if(!rG(t.address)){if(Array.isArray(t.address)){if(!t.address.every(t=>rI(t)))return!1}else if(!rI(t.address))return!1}return!!(rG(t.topics)||t.topics.every(t=>!!rG(t)||(Array.isArray(t)?t.every(t=>rW(t)):!!rW(t))))},rY={address:t=>rI(t),bloom:t=>rq(t),blockNumber:t=>rB(t),blockTag:t=>rz(t),blockNumberOrTag:t=>rH(t),bool:t=>rV(t),bytes:t=>rM(t),filter:t=>rK(t),hex:t=>rw(t),uint:t=>r$(t),int:t=>rj(t),number:t=>rU(t),string:t=>rb(t)};for(let t=8;t<=256;t+=8)rY[`int${t}`]=r=>rj(r,{bitSize:t}),rY[`uint${t}`]=r=>r$(r,{bitSize:t});for(let t=1;t<=32;t+=1)rY[`bytes${t}`]=r=>rM(r,{size:t});rY.bytes256=rY.bytes;let rZ=t=>{if((!(null==t?void 0:t.type)||(null==t?void 0:t.type)==="object")&&(null==t?void 0:t.properties)){let r={};for(let n of Object.keys(t.properties)){let i=rZ(t.properties[n]);i&&(r[n]=i)}return Array.isArray(t.required)?tB.object(r).partial().required(t.required.reduce((t,r)=>Object.assign(Object.assign({},t),{[r]:!0}),{})):tB.object(r).partial()}if((null==t?void 0:t.type)==="array"&&(null==t?void 0:t.items)){if(Array.isArray(t.items)&&t.items.length>1&&void 0!==t.maxItems&&new Set(t.items.map(t=>t.$id)).size===t.items.length){let r=[];for(let n of t.items){let t=rZ(n);t&&r.push(t)}return tB.tuple(r)}let r=Array.isArray(t.items)?t.items[0]:t.items,n=tB.array(rZ(r));return n=void 0!==t.minItems?n.min(t.minItems):n,n=void 0!==t.maxItems?n.max(t.maxItems):n}if(t.oneOf&&Array.isArray(t.oneOf))return tB.union(t.oneOf.map(t=>rZ(t)));if(null==t?void 0:t.format){if(!rY[t.format])throw new A(t.format);return tB.any().refine(rY[t.format],r=>({params:{value:r,format:t.format}}))}return(null==t?void 0:t.type)&&(null==t?void 0:t.type)!=="object"&&"function"==typeof tB[String(t.type)]?tB[String(t.type)]():tB.object({data:tB.any()}).partial()};class rX{static factory(){return rX.validatorInstance||(rX.validatorInstance=new rX),rX.val
44idatorInstance}validate(t,r,n){var i,o;let a=rZ(t).safeParse(r);if(!a.success){let t=this.convertErrors(null!==(o=null===(i=a.error)||void 0===i?void 0:i.issues)&&void 0!==o?o:[]);if(t){if(null==n?void 0:n.silent)return t;throw new tH(t)}}}convertErrors(t){if(t&&Array.isArray(t)&&t.length>0)return t.map(t=>{var r;let n,i,o,a;a=t.path.join("/");let s=String(t.path[t.path.length-1]),l=t.path.join("/");if(t.code===O.too_big)i="maxItems",a=`${l}/maxItems`,o={limit:t.maximum},n=`must NOT have more than ${t.maximum} items`;else if(t.code===O.too_small)i="minItems",a=`${l}/minItems`,o={limit:t.minimum},n=`must NOT have fewer than ${t.minimum} items`;else if(t.code===O.custom){let{value:i,format:s}=null!==(r=t.params)&&void 0!==r?r:{};n=void 0===i?`value at "/${a}" is required`:`value "${"object"==typeof i?JSON.stringify(i):i}" at "/${a}" must pass "${s}" validation`,o={value:i}}return{keyword:null!=i?i:s,instancePath:l?`/${l}`:"",schemaPath:a?`#${a}`:"#",params:null!=o?o:{value:t.message},message:null!=n?n:t.message}})}}class rJ{constructor(){this._validator=rX.factory()}validateJSONSchema(t,r,n){return this._validator.validate(t,r,n)}validate(t,r,n={silent:!1}){var i,o;let a=rx(t);if(!Array.isArray(a.items)||(null===(i=a.items)||void 0===i?void 0:i.length)!==0||0!==r.length){if(Array.isArray(a.items)&&(null===(o=a.items)||void 0===o?void 0:o.length)===0&&0!==r.length)throw new tH([{instancePath:"/0",schemaPath:"/",keyword:"required",message:"empty schema against data can not be validated",params:r}]);return this._validator.validate(a,r,n)}}}new rJ},90808:function(t,r,n){"use strict";n.d(r,{M:function(){return o}});let i=t=>{let r;let n=new Set,i=(t,i)=>{let o="function"==typeof t?t(r):t;if(!Object.is(o,r)){let t=r;r=(null!=i?i:"object"!=typeof o)?o:Object.assign({}
44,r,o),n.forEach(n=>n(r,t))}},o=()=>r,a={setState:i,getState:o,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return r=t(i,o,a),a},o=t=>t?i(t):i},58274:function(t){"use strict";t.exports={i8:"6.6.1"}},88380:function(t){"use strict";t.exports
vendor: 8,767 bytes, line 44
44=JSON.parse('[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKK","983","ISO 3166-2:XK"]]')}
44,56170:function(t){"use strict";t.exports=JSON.parse('{"locale":"af","countries":{"AF":"Afganistan","AL":"Albani\xeb","DZ":"Algeri\xeb","AS":"Amerikaans-Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarktika","AG":"Antigua en Barbuda","AR":"Argentini\xeb","AM":"Armeni\xeb","AW":"Aruba","AU":"Australi\xeb","AT":"Oostenryk","AZ":"Azerbeidjan","BS":"Bahamas","BH":"Bahrein","BD":"Bangladesj","BB":"Barbados","BY":"Belarus","BE":"Belgi\xeb","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhoetan","BO":"Bolivi\xeb","BA":"Bosni\xeb en Herzegowina","BW":"Botswana","BV":"Bouveteiland","BR":"Brasili\xeb","IO":"Britse Indiese Oseaangebied","BN":"Broenei","BG":"Bulgarye","BF":"Burkina Faso","BI":"Burundi","KH":"Kambodja","CM":"Kameroen","CA":"Kanada","CV":"Kaap Verde","KY":"Kaaimanseilande","CF":"Sentraal-Afrikaanse Republiek","TD":"Tsjad","CL":"Chili","CN":"Sjina","CX":"Kerseiland","CC":"Cocos- (Keeling) eilande","CO":"Colombi\xeb","KM":"Comore","CG":"Republiek van die Kongo","CD":"Demokratiese Republiek van die Kongo","CK":"Cookeilande","CR":"Costa Rica","CI":"Ivoorkus","HR":"Kroasi\xeb","CU":"Kuba","CY":"Siprus","CZ":"Tjeggiese Republiek","DK":"Denemarke","DJ":"Djiboeti","DM":"Dominica","DO":"Dominikaanse Republiek","EC":"Ecuador","EG":"Egipte","SV":"El Salvador","GQ":"Ekwatoriaal-Guinee","ER":"Eritrea","EE":"Estland","ET":"Ethiopi\xeb","FK":"Falklandeilande","FO":"Faro\xebreilande","FJ":"Fidji","FI":"Finland","FR":"Frankryk","GF":"Frans-Guyana","PF":"Frans-Polinesi\xeb","TF":"Franse Suidelike Gebiede","GA":"Gaboen","GM":"Gambi\xeb","GE":"Georgi\xeb","DE":"Duitsland","GH":"Ghana","GI":"Gibraltar","GR":"Griekeland","GL":"Groenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guinee","GW":"Guinee-Bissau","GY":"Guyana","HT":"Ha\xefti","HM":"Heard en McDonaldeilande","VA":"Vatikaanstad","HN":"Honduras","HK":"Hongkong SAS Sjina","HU":"Hongarye","IS":"Ysland","IN":"Indi\xeb","ID":"Indonesi\xeb","IR":"Iran","IQ":"Irak","IE":"Ierland","IL":"Israel","IT":"Itali\xeb","JM":"Jamaika","JP":"Japan","JO":"Jordani\xeb","KZ":"Kazakstan","KE":"Kenia","KI":"Kiribati","KP":"Noord-Korea","KR":"Suid-Korea","KW":"Koeweit","KG":"Kirgisi\xeb","LA":"Laos","LV":"Letland","LB":"Libanon","LS":"Lesotho","LR":"Liberi\xeb","LY":"Libi\xeb","LI":"Liechtenstein","LT":"Litaue","LU":"Luxemburg","MO":"Macau SAS Sjina","MG":"Madagaskar","MW":"Malawi","MY":"Maleisi\xeb","MV":"Maledive","ML":"Mali","MT":"Malta","MH":"Marshalleilande","MQ":"Martinique","MR":"Mauritani\xeb","MU":"Mauritius","YT":"Mayotte","MX":"Meksiko","FM":"Mikronesi\xeb","MD":"Moldowa","MC":"Monaco","MN":"Mongoli\xeb","MS":"Montserrat","MA":"Marokko","MZ":"Mosambiek","MM":"Mianmar (Birma)","NA":"Namibi\xeb","NR":"Nauru","NP":"Nepal","NL":"Nederland","NC":"Nieu-Kaledoni\xeb","NZ":"Nieu-Seeland","NI":"Nicaragua","NE":"Niger","NG":"Nigeri\xeb","NU":"Niue","NF":"Norfolkeiland","MK":"Macedoni\xeb","MP":"Noordelike Mariana-eilande","NO":"Noorwe\xeb","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestynse gebiede","PA":"Panama","PG":"Papoea-Nieu-Guinee","PY":"Paraguay","PE":"Peru","PH":"Filippyne","PN":"Pitcairneilande","PL":"Pole","PT":"Portugal","PR":"Puerto Rico","QA":"Katar","RE":"R\xe9union","RO":"Roemeni\xeb","RU":"Rusland","RW":"Rwanda","SH":"Sint Helena","KN":"Sint Kitts en Nevis","LC":"Sint Lucia","PM":"Sint Pierre en Miquelon","VC":"Sint Vincent en die Grenadine","WS":"Samoa","SM":"San Marino","ST":"Sao Tome en Principe","SA":"Saoedi-Arabi\xeb","SN":"Senegal","SC":"Seychelle","SL":"Sierra Leone","SG":"Singapoer","SK":"Slowakye","SI":"Sloweni\xeb","SB":"Solomoneilande","SO":"Somali\xeb","ZA":"Suid-Afrika","GS":"Suid-Georgi\xeb en die Suidelike Sandwicheilande","ES":"Spanje","LK":"Sri Lanka","SD":"Soedan","SR":"Suriname","SJ":"Svalbard en Jan Mayen","SZ":"Swaziland","SE":"Swede","CH":"Switserland","SY":"Siri\xeb","TW":"Taiwan","TJ":"Tadjikistan","TZ":"Tanzani\xeb","TH":"Thailand","TL":"Oos-Timor","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad en Tobago","TN":"Tunisi\xeb","TR":"Turkye","TM":"Turkmeni\xeb","TC":"Turks- en Caicoseilande","TV":"Tuvalu","UG":"Uganda","UA":"Oekra\xefne","AE":"Verenigde Arabiese Emirate","GB":"Verenigde Koninkryk","US":"Verenigde State van Amerika","UM":"VS klein omliggende eilande","UY":"Uruguay","UZ":"Oesbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vi\xebtnam","VG":"Britse Maagde-eilande","VI":"Amerikaanse Maagde-eilande","WF":"Wallis en Futuna","EH":"Wes-Sahara","YE":"Jemen","ZM":"Zambi\xeb","ZW":"Zimbabwe","AX":"\xc5landeilande","BQ":"Karibiese Nederland","CW":"Cura\xe7ao","GG":"Guernsey","IM":"Eiland Man","JE":"Jersey","ME":"Montenegro","BL":"Sint Barth\xe9lemy","MF":"Sint Martin","RS":"Serwi\xeb","SX":"Sint Maarten","SS":"Suid-Soedan","XK":"Kosovo"}}')},97988:function(t){"use strict";
44t.exports=JSON.parse('{"locale":"am","countries":{"AF":"á ááááµá³á","AL":"á áá£áá«","DZ":"á áááªá«","AS":"á¨á ááªá« á³áá ","AD":"á áá¶á«","AO":"á ááá","AI":"á ááá¢á","AQ":"á áá³ááá²á«","AG":"á áá²á á¥á á£á©á³","AR":"á áááá²á","AM":"á áááá«","AW":"á á©á£","AU":"á ááµáµá«áá«","AT":"á¦áµáµáªá«","AZ":"á ááá£áá","BS":"á£áááµ","BH":"á£á
á¬á","BD":"á£áááá²á½","BB":"á£áá¤á¶áµ","BY":"á¤áá©áµ","BE":"á¤ááá","BZ":"á¤áá","BJ":"á¤áá","BM":"á¤ááá³","BT":"á¡á
á³á","BO":"á¦ááªá«","BA":"á¦áµáá« á¥á áááááªáá«","BW":"á¦áµáµáá","BV":"á¡á¬áµ á°á´áµ","BR":"á¥á«áá","IO":"á¨á¥áªá³áá« á
ááµ ááá«ááµ áááµ","BN":"á¥á©á","BG":"á¡áááªá«","BF":"á¡ááªá áá¶","BI":"á¥á©áá²","KH":"á«áá¦á²á«","CM":"á«áá©á","CA":"á«áá³","CV":"á¬á á¬áá´","KY":"á«ááá á°á´á¶á½","CF":"á¨áá«á¨ááá á ááªá« áªáá¥áá","TD":"á»áµ","CL":"áºá","CN":"á»áá","CX":"á¨áá á°á´áµ","CC":"á®á®áµ(á¬ááá) á°á´á¶á½","CO":"á®ááá¢á«","KM":"á®áá®áµ","CG":"á®áá á¥á«ááªá","CD":"á®áá-áªáá»á³","CK":"á©á á°á´á¶á½","CR":"á®áµá³ áªá«","CI":"á®áµ á²á¯á","HR":"áá®á¤á½á«","CU":"á©á£","CY":"á³ááá¨áµ","CZ":"á¼á áªáá¥áá","DK":"á´áááá","DJ":"áá¡á²","DM":"á¶ááá«","DO":"á¶ááá áªáá¥áá","EC":"á¢á³á¶á","EG":"áá¥á½","SV":"á¤á á³áá«á¶á","GQ":"á¢á³á¶áªá«á áá","ER":"á¤ááµá«","EE":"á¤áµá¶áá«","ET":"á¢áµá®áµá«","FK":"á¨áááááµ á°á´á¶á½","FO":"á¨áá® á°á´á¶á½","FJ":"áá","FI":"áááááµ","FR":"áá¨áá³á","GF":"á¨áá¨áá³á ááá á","PF":"á¨áá¨áá³á áááá¢á«","TF":"á¨áá¨áá³á á°á¡á£á ááá¶á½","GA":"áá¦á","GM":"ááá¢á«","GE":"áááá«","DE":"áááá","GH":"áá","GI":"áá¥á«áá°á","GR":"ááªá","GL":"ááªááááµ","GD":"áá¬áá³","GP":"ááá°áá","GU":"ááá","GT":"ááá²áá","GN":"áá","GW":"áá á¢á³á¦","GY":"áá«á","HT":"ááá²","HM":"á½ááµ á°á´á¶á½á ááá¶áááµ á°á´á¶á½","VA":"á«á²á«á á¨á°á","HN":"ááá±á«áµ","HK":"ááá á®áá SAR á»áá","HU":"ááááª","IS":"á ááµáááµ","IN":"á
ááµ","ID":"á¢áá¶áá¢á«","IR":"á¢á«á","IQ":"á¢á«á
","IE":"á á¨ááááµ","IL":"á¥áµá«á¤á","IT":"á£áá«á","JM":"áááá«","JP":"ááá","JO":"ááá³á","KZ":"á«ááªáµá³á","KE":"á¬áá«","KI":"áªáªá£á²","KP":"á°áá á®áªá«","KR":"á°á¡á¥ á®áªá«","KW":"áááµ","KG":"áªáááµá³á","LA":"áá¦áµ","LV":"ááµáªá«","LB":"áá£ááµ","LS":"áá¶á¶","LR":"ááá¤áªá«","LY":"áá¢á«","LI":"áá½á°ááµá³áá","LT":"áá±ááá«","LU":"ááá°áá áá","MO":"áá«á¡ áá© á¨á áµá°á³á°á ááá á»áá","MG":"áá³ááµá«á","MW":"ááá","MY":"ááá¢á«","MV":"ááá²ááµ","ML":"áá","MT":"ááá³","MH":"ááá»á á ááááµ","MQ":"ááá²áá","MR":"ááªá´áá«","MU":"ááªá¸áµ","YT":"ááá¦á´","MX":"ááá²á®","FM":"ááá®áá¢á«","MD":"ááá¶á«","MC":"ááá®","MN":"ááááá«","MS":"áááµá´á«áµ","MA":"áá®á®","MZ":"áááá¢á","MM":"ááááá(á áá)","NA":"ááá¢á«","NR":"áá¡á©","NP":"ááá","NL":"ááááááµ","NC":"áá á«áá¶áá«","NZ":"áá ááááµ","NI":"áá«á«á","NE":"ááá","NG":"ááááªá«","NU":"áá¡á","NF":"ááááá á°á´áµ","MK":"ááá¶áá«","MP":"á¨á°ááá ááªá«á á°á´á¶á½","NO":"ááá","OM":"á¦áá","PK":"ááªáµá³á","PW":"ááá","PS":"á¨áááµá¤á áááµ","PA":"ááá","PG":"ááá áá áá","PY":"áá«áá","PE":"áá©","PH":"áááááµ","PN":"ááµá«á¢áá á ááµáááµ","PL":"ááááµ","PT":"ááá±áá","PR":"ááá³ áªá®","QA":"á³á³á","RE":"áªá©áá¨á","RO":"á®ááá«","RU":"á«áºá«","RW":"á©ááá³","SH":"á´ááµ ááá","KN":"á
á±áµ áªáµáµ á¥á ááªáµ","LC":"á´ááµ ááºá«","PM":"á
á±áµ áá¬á á¥á áá©á¤áá","VC":"á
á±áµ áªáá´ááµ á¥á áá¬áá²ááµ","WS":"á³áá ","SM":"á³á ááªá","ST":"á³á¦ á¶á á¥á ááªáá²á","SA":"á³ááµá á¨á¢á«","SN":"á´ááá","SC":"á²á¼ááµ","SL":"á´á«áá®á","SG":"á²áááá","SK":"áµáá«áªá«","SI":"áµáá¬áá«","SB":"á°ááá á°á´áµ","SO":"á±áá","ZA":"á°á¡á¥ á ááªá«","GS":"á°á¡á¥ áááá« á¥á á¨á°á¡á¥ á³ááµáá½ á°á´á¶á½","ES":"áµáá","LK":"á²áªááá«","SD":"á±á³á","SR":"á±áªáá","SJ":"áµá«áá£ááµ á¥á áá áá¨á","SZ":"á±áááááµ","SE":"áµááµá","CH":"áµááááááµ","SY":"á²áªá«","TW":"á³ááá","TJ":"á³ááªáµá³á","TZ":"á³áááá«","TH":"á³ááááµ","TL":"ááµá«á
ááµáµ","TG":"á¶á","TK":"á¶ááá","TO":"á¶áá","TT":"áµáªáá³áµ á¥á á¶á¤á","TN":"á±ááá
44«","TR":"á±áá","TM":"á±áááááµá³á","TC":"á¨á±áá®á½á á¨á«á¢á®áµ á°á´á¶á½","TV":"á±á«á","UG":"á©ááá³","UA":"á©áá¬á","AE":"á¨á°á£á á©áµ á á¨á¥ á¤áá¬áµáµ","GB":"á¥áááá","US":"á©áááµáµ áµá´áµáµ","UM":"á¨á© á¤áµ á á¨á áá á«á á°á´á¶á½","UY":"á¡á«áá","UZ":"á¡áá¤áªáµá³á","VU":"á«áá á±","VE":"á¬áááá","VN":"á¬áµáá","VG":"á¨á¥áááá á¨ááá á°á´á¶á½","VI":"á¨á ááªá« á¨ááá á°á´á¶á½","WF":"áááµ á¥á áá±á á°á´á¶á½","EH":"ááá«á£á á³á
á«","YE":"á¨áá","ZM":"ááá¢á«","ZW":"ááá§á¤","AX":"á¨á áááµ á°á´á¶á½","BQ":"á¨á«áªá¢á«á ááááááµáµ","CW":"á©á«á³á","GG":"áááá²","IM":"á áá á¦á áá","JE":"ááá²","ME":"ááá°ááá®","BL":"á
á±áµ á áá´áá","MF":"á´ááµ ááá²á","RS":"á°áá¥á«","SX":"á²ááµ ááá°á","SS":"á°á¡á¥ á±á³á","XK":"á®á¶á®"}}')},28427:function(t){"use strict";t.exports=JSON.parse('{"locale":"ar","countries":{"AF":"Ø£ÙØºØ§ÙستاÙ","AL":"Ø£ÙØ¨Ø§ÙÙØ§","DZ":"Ø§ÙØ¬Ø²Ø§Ø¦Ø±","AS":"ساÙ
ÙØ§ Ø§ÙØ£Ù
رÙÙÙØ©","AD":"Ø£ÙØ¯Ùرا","AO":"Ø£ÙØºÙÙØ§","AI":"Ø£ÙØºÙÙÙØ§","AQ":"اÙÙØ§Ø±Ø© اÙÙØ·Ø¨ÙØ© Ø§ÙØ¬ÙÙØ¨ÙØ©","AG":"Ø£ÙØªÙØºÙØ§ ÙØ¨Ø§Ø±Ø¨Ùدا","AR":"Ø§ÙØ£Ø±Ø¬ÙتÙÙ","AM":"أرÙ
ÙÙÙØ§","AW":"Ø£Ø±ÙØ¨Ø§","AU":"أستراÙÙØ§","AT":"اÙÙÙ
سا","AZ":"Ø£Ø°Ø±Ø¨ÙØ¬Ø§Ù","BS":"Ø¨Ø§ÙØ§Ù
اس","BH":"Ø§ÙØ¨ØØ±ÙÙ","BD":"Ø¨ÙØºÙØ§Ø¯ÙØ´","BB":"Ø¨Ø§Ø±Ø¨Ø§Ø¯ÙØ³","BY":"Ø±ÙØ³Ùا Ø§ÙØ¨Ùضاء","BE":"Ø¨ÙØ¬ÙÙØ§","BZ":"بÙÙØ²","BJ":"بÙÙÙ","BM":"برÙ
ÙØ¯Ø§","BT":"Ø¨ÙØªØ§Ù","BO":"بÙÙÙÙÙØ§","BA":"Ø§ÙØ¨ÙØ³ÙØ© ÙØ§ÙÙØ±Ø³Ù","BW":"Ø¨ÙØªØ³ÙØ§ÙØ§","BV":"Ø¬Ø²ÙØ±Ø© بÙÙÙÙ","BR":"Ø§ÙØ¨Ø±Ø§Ø²ÙÙ","IO":"Ø¥ÙÙÙÙ
اÙÙ
ØÙØ· اÙÙÙØ¯Ù Ø§ÙØ¨Ø±ÙطاÙÙ","BN":"برÙÙØ§Ù","BG":"Ø¨ÙØºØ§Ø±Ùا","BF":"Ø¨ÙØ±ÙÙÙØ§ ÙØ§Ø³Ù","BI":"Ø¨ÙØ±ÙÙØ¯Ù","KH":"ÙÙ
Ø¨ÙØ¯Ùا","CM":"اÙÙØ§Ù
ÙØ±ÙÙ","CA":"ÙÙØ¯Ø§","CV":"Ø§ÙØ±Ø£Ø³ Ø§ÙØ£Ø®Ø¶Ø±","KY":"جزر ÙØ§ÙÙ
اÙ","CF":"جÙ
ÙÙØ±ÙØ© Ø£ÙØ±ÙÙÙØ§ اÙÙØ³Ø·Ù","TD":"تشاد","CL":"تشÙÙÙ","CN":"Ø§ÙØµÙÙ","CX":"Ø¬Ø²ÙØ±Ø© Ø¹ÙØ¯ اÙÙ
ÙÙØ§Ø¯","CC":"جزر ÙÙÙÙØ³","CO":"ÙÙÙÙÙ
Ø¨ÙØ§","KM":"جزر اÙÙÙ
ر","CG":"جÙ
ÙÙØ±ÙØ© اÙÙÙÙØºÙ","CD":"جÙ
ÙÙØ±ÙØ© اÙÙÙÙØºÙ Ø§ÙØ¯ÙÙ
ÙØ±Ø§Ø·ÙØ©","CK":"جزر ÙÙÙ","CR":"ÙÙØ³ØªØ§Ø±ÙÙØ§","CI":"ساØÙ Ø§ÙØ¹Ø§Ø¬","HR":"ÙØ±ÙØ§ØªÙØ§","CU":"ÙÙØ¨Ø§","CY":"ÙØ¨Ø±Øµ","CZ":"جÙ
ÙÙØ±ÙØ© Ø§ÙØªØ´ÙÙ","DK":"Ø§ÙØ¯ÙÙ
ارÙ","DJ":"Ø¬ÙØ¨ÙتÙ","DM":"دÙÙ
ÙÙÙÙØ§","DO":"جÙ
ÙÙØ±ÙØ© Ø§ÙØ¯ÙÙ
ÙÙÙÙØ§Ù","EC":"Ø§ÙØ¥ÙÙØ§Ø¯Ùر","EG":"Ù
صر","SV":"Ø§ÙØ³ÙÙØ§Ø¯Ùر","GQ":"غÙÙÙØ§ Ø§ÙØ§Ø³ØªÙØ§Ø¦ÙØ©","ER":"Ø¥Ø±ÙØªØ±Ùا","EE":"إستÙÙÙØ§","ET":"إثÙÙØ¨Ùا","FK":"جزر ÙÙÙÙØ§Ùد","FO":"جزر ÙØ§Ø±Ù","FJ":"ÙÙØ¬Ù","FI":"ÙÙÙÙØ¯Ø§","FR":"ÙØ±Ùسا","GF":"غÙÙØ§Ùا اÙÙØ±ÙØ³ÙØ©","PF":"بÙÙÙÙØ²Ùا اÙÙØ±ÙØ³ÙØ©","TF":"أراض ÙØ±ÙØ³ÙØ© جÙÙØ¨ÙØ© ÙØ£ÙتارتÙÙÙØ©","GA":"Ø§ÙØºØ§Ø¨ÙÙ","GM":"غاÙ
Ø¨ÙØ§","GE":"Ø¬ÙØ±Ø¬Ùا","DE":"Ø£ÙÙ
اÙÙØ§","GH":"ØºØ§ÙØ§","GI":"جب٠طارÙ","GR":"اÙÙÙÙØ§Ù","GL":"جرÙÙÙØ§Ùد","GD":"غرÙÙØ§Ø¯Ø§","GP":"ØºÙØ§Ø¯ÙÙØ¨","GU":"ØºÙØ§Ù
","GT":"ØºÙØ§ØªÙÙ
Ø§ÙØ§","GN":"غÙÙÙØ§","GW":"غÙÙÙØ§ Ø¨ÙØ³Ø§Ù","GY":"ØºÙØ§Ùا","HT":"ÙØ§ÙتÙ","HM":"Ø¬Ø²ÙØ±Ø© ÙÙØ±Ø¯ ÙØ¬Ø²Ø± Ù
Ø§ÙØ¯ÙÙØ§Ùد","VA":"اÙÙØ§ØªÙÙØ§Ù","HN":"ÙÙØ¯Ùراس","HK":"ÙÙÙØº ÙÙÙØº","HU":"اÙÙ
جر","IS":"Ø¢ÙØ³ÙÙØ¯Ø§","IN":"اÙÙÙØ¯","ID":"Ø¥ÙØ¯ÙÙÙØ³Ùا","IR":"Ø¥ÙØ±Ø§Ù","IQ":"Ø§ÙØ¹Ø±Ø§Ù","IE":"Ø£ÙØ±ÙÙØ¯Ø§","IL":"إسرائÙÙ","IT":"Ø¥ÙØ·Ø§ÙÙØ§","JM":"جاÙ
اÙÙØ§","JP":"اÙÙØ§Ø¨Ø§Ù","JO":"Ø§ÙØ£Ø±Ø¯Ù","KZ":"ÙØ§Ø²Ø§Ø®Ø³ØªØ§Ù","KE":"ÙÙÙÙØ§","KI":"ÙÙØ±ÙباتÙ","KP":"ÙÙØ±Ùا Ø§ÙØ´Ù
اÙÙØ©","KR":"ÙÙØ±Ùا Ø§ÙØ¬ÙÙØ¨ÙØ©","KW":"اÙÙÙÙØª","KG":"ÙÙØ±ØºÙزستاÙ","LA":"ÙØ§Ùس","LV":"ÙØ§ØªÙÙØ§","LB":"ÙØ¨ÙاÙ","LS":"ÙÙØ³ÙتÙ","LR":"ÙÙØ¨ÙØ±ÙØ§","LY":"ÙÙØ¨Ùا","LI":"ÙÙØ®ØªÙشتاÙÙ","LT":"ÙÙØªÙاÙÙØ§","LU":"ÙÙÙØ³Ù
Ø¨ÙØ±Øº","MO":"Ù
Ø§ÙØ§Ù","MK":"Ù
ÙØ¯ÙÙÙØ§ Ø§ÙØ´Ù
اÙÙØ©","MG":"Ù
Ø¯ØºØ´ÙØ±","MW":"Ù
Ø§ÙØ§ÙÙ","MY":"Ù
اÙÙØ²Ùا","MV":"جزر اÙÙ
Ø§ÙØ¯ÙÙ","ML":"Ù
اÙÙ","MT":"Ù
Ø§ÙØ·Ø§","MH":"جزر Ù
ارشاÙ","MQ":"Ù
ارتÙÙÙÙ","MR":"Ù
ÙØ±ÙتاÙÙØ§","MU":"Ù
ÙØ±ÙØ´ÙÙØ³","YT":"Ù
اÙÙØª","MX":"اÙÙ
ÙØ³ÙÙ","FM":"ÙÙØ§Ùات Ù
ÙÙØ±ÙÙÙØ³Ùا اÙÙ
ØªØØ¯Ø©","MD":"Ù
ÙÙØ¯ÙÙØ§","MC":"Ù
ÙÙØ§ÙÙ","MN":"Ù
ÙØºÙÙÙØ§","MS":"Ù
ÙÙØªØ³Ø±Ø§Øª","MA":"اÙÙ
غرب","MZ":"Ù
ÙØ²Ù
بÙÙ","MM":"Ø¨ÙØ±Ù
ا","NA":"ÙØ§Ù
ÙØ¨Ùا","NR":"ÙØ§ÙرÙ","NP":"ÙÙØ¨Ø§Ù","NL":"ÙÙÙÙØ¯Ø§","NC":"ÙØ§ÙÙØ¯ÙÙÙØ§ Ø§ÙØ¬Ø¯Ùدة","NZ":"ÙÙÙØ²ÙÙÙØ¯Ø§","NI":"ÙÙÙØ§Ø±Ø§ØºÙا","NE":"اÙÙÙØ¬Ø±","NG":"ÙÙØ¬ÙØ±ÙØ§","NU":"ÙÙÙÙÙ","NF":"Ø¬Ø²ÙØ±Ø© ÙÙØ±ÙÙÙÙ","MP":"جزر Ù
Ø§Ø±ÙØ§Ùا Ø§ÙØ´Ù
اÙÙØ©","NO":"اÙÙØ±ÙÙØ¬","OM":"عÙ
اÙ","PK":"Ø¨Ø§ÙØ³ØªØ§Ù","PW":"Ø¨Ø§ÙØ§Ù","PS":"ÙÙØ³Ø·ÙÙ","PA":"بÙÙ
ا","PG":"Ø¨Ø§Ø¨ÙØ§ غÙÙÙØ§ Ø§ÙØ¬Ø¯Ùدة","PY":"Ø¨Ø§Ø±Ø§ØºÙØ§Ù","PE":"Ø¨ÙØ±Ù","PH":"اÙÙÙØ¨ÙÙ","PN":"جزر Ø¨ÙØªÙÙØ±Ù","PL":"بÙÙÙØ¯Ø§","PT":"Ø§ÙØ¨Ø±ØªØºØ§Ù","PR":"Ø¨ÙØ±ØªÙرÙÙÙ","QA":"ÙØ·Ø±","RE":"ÙØ§ رÙÙÙÙÙÙ","RO":"رÙÙ
اÙÙØ§","RU":"Ø±ÙØ³Ùا","RW":"Ø±ÙØ§Ùدا","SH":"Ø³Ø§ÙØª ÙÙÙÙÙØ§ ÙØ£Ø³ÙÙØ´ÙÙ ÙØªØ±Ùستا٠دا ÙÙÙØ§","KN":"Ø³Ø§ÙØª ÙÙØªØ³ ÙÙÙÙÙØ³","LC":"Ø³Ø§ÙØª ÙÙØ³Ùا","PM":"سا٠بÙÙØ± ÙÙ
ÙÙÙÙÙ","VC":"Ø³Ø§ÙØª ÙÙÙØ³Ùت ÙØ§ÙغرÙÙØ§Ø¯ÙÙ","WS":"ساÙ
ÙØ§","SM":"سا٠Ù
ارÙÙÙ","ST":"سا٠تÙÙ
Ù ÙØ¨Ø±ÙÙØ³Ùب","SA":"Ø§ÙØ³Ø¹ÙØ¯ÙØ©","SN":"Ø§ÙØ³ÙغاÙ","SC":"Ø³ÙØ´Ù","SL":"Ø³ÙØ±Ø§ÙÙÙÙ","SG":"Ø³ÙØºØ§ÙÙØ±Ø©","SK":"سÙÙÙØ§ÙÙØ§","SI":"سÙÙÙÙÙÙØ§","SB":"جزر سÙÙÙ
اÙ","SO":"Ø§ÙØµÙÙ
اÙ","ZA":"جÙ
44ÙØ¨ Ø£ÙØ±ÙÙÙØ§","GS":"Ø¬ÙØ±Ø¬Ùا Ø§ÙØ¬ÙÙØ¨ÙØ© ÙØ¬Ø²Ø± Ø³Ø§ÙØ¯ÙÙØªØ´ Ø§ÙØ¬ÙÙØ¨ÙØ©","ES":"إسباÙÙØ§","LK":"سرÙÙØ§ÙÙØ§","SD":"Ø§ÙØ³ÙداÙ","SR":"Ø³ÙØ±ÙÙØ§Ù
","SJ":"Ø³ÙØ§Ùبارد ÙÙØ§Ù Ù
اÙÙ","SZ":"Ø³ÙØ§Ø²ÙÙØ§Ùد","SE":"Ø§ÙØ³ÙÙØ¯","CH":"سÙÙØ³Ø±Ø§","SY":"Ø³ÙØ±Ùا","TW":"تاÙÙØ§Ù","TJ":"طاجÙÙØ³ØªØ§Ù","TZ":"ØªØ§ÙØ²Ø§ÙÙØ§","TH":"تاÙÙØ§Ùد","TL":"تÙÙ
ÙØ± Ø§ÙØ´Ø±ÙÙØ©","TG":"ØªÙØºÙ","TK":"تÙÙÙÙØ§Ù","TO":"تÙÙØºØ§","TT":"ترÙÙÙØ¯Ø§Ø¯ ÙØªÙباغÙ","TN":"تÙÙØ³","TR":"ترÙÙØ§","TM":"ترÙÙ
Ø§ÙØ³ØªØ§Ù","TC":"جزر ØªÙØ±Ùس ÙÙØ§ÙÙÙØ³","TV":"تÙÙØ§ÙÙ","UG":"Ø£ÙØºÙدا","UA":"Ø£ÙÙØ±Ø§ÙÙØ§","AE":"Ø§ÙØ¥Ù
ارات Ø§ÙØ¹Ø±Ø¨ÙØ© اÙÙ
ØªØØ¯Ø©","GB":"اÙÙ
Ù
ÙÙØ© اÙÙ
ØªØØ¯Ø©","US":"اÙÙÙØ§Ùات اÙÙ
ØªØØ¯Ø©","UM":"جزر اÙÙÙØ§Ùات اÙÙ
ØªØØ¯Ø©","UY":"Ø§ÙØ£ÙØ±ÙØºÙاÙ","UZ":"Ø£ÙØ²Ø¨ÙستاÙ","VU":"ÙØ§ÙÙØ§ØªÙ","VE":"ÙÙØ²ÙÙÙØ§","VN":"ÙÙØªÙاÙ
","VG":"جزر Ø§ÙØ¹Ø°Ø±Ø§Ø¡ Ø§ÙØ¨Ø±ÙطاÙÙØ©","VI":"جزر Ø§ÙØ¹Ø°Ø±Ø§Ø¡ Ø§ÙØ£Ù
رÙÙÙØ©","WF":"ÙØ§Ùس ÙÙÙØªÙÙØ§","EH":"Ø§ÙØµØØ±Ø§Ø¡ Ø§ÙØºØ±Ø¨ÙØ©","YE":"اÙÙÙ
Ù","ZM":"زاÙ
Ø¨ÙØ§","ZW":"زÙÙ
بابÙÙ","AX":"جزر Ø£ÙÙØ§Ùد","BQ":"Ø§ÙØ¬Ø²Ø± اÙÙØ§Ø±ÙØ¨ÙØ© اÙÙÙÙÙØ¯ÙØ©","CW":"ÙÙØ±Ø§Ø³Ø§Ù","GG":"ØºÙØ±ÙزÙ","IM":"Ø¬Ø²ÙØ±Ø© Ù
اÙ","JE":"Ø¬ÙØ±Ø²Ù","ME":"Ø§ÙØ¬Ø¨Ù Ø§ÙØ£Ø³Ùد","BL":"سا٠بارتÙÙÙ
Ù","MF":"Ø³Ø§ÙØª Ù
ارت٠(Ø§ÙØ¬Ø²Ø¡ اÙÙØ±ÙسÙ)","RS":"ØµØ±Ø¨ÙØ§","SX":"Ø³Ø§ÙØª Ù
ارت٠(Ø§ÙØ¬Ø²Ø¡ اÙÙÙÙÙØ¯Ù)","SS":"جÙÙØ¨ Ø§ÙØ³ÙداÙ","XK":"ÙÙØ³ÙÙÙ"}}')},23164:function(t){"use strict";t.exports=JSON.parse('{"locale":"az","countries":{"AD":"Andorra","AE":"BirlÉÅmiÅ ÆrÉb ÆmirliklÉri","AF":"Æfqanıstan","AG":"Antiqua vÉ Barbuda","AI":"Angilya","AL":"Albaniya","AM":"ErmÉnistan","AO":"Anqola","AQ":"Antarktika","AR":"Argentina","AS":"Amerika Samoası","AT":"Avstriya","AU":"Avstraliya","AW":"Aruba","AX":"Aland adaları","AZ":"AzÉrbaycan","BA":"Bosniya vÉ Herseqovina","BB":"Barbados","BD":"BanqladeÅ","BE":"Bel\xe7ika","BF":"Burkina Faso","BG":"Bolqarıstan","BH":"BÉhreyn","BI":"Burundi","BJ":"Benin","BL":"Sent-Bartelemi","BM":"Bermud adaları","BN":"Bruney","BO":"Boliviya","BQ":"Karib Niderlandı","BR":"Braziliya","BS":"Baham adaları","BT":"Butan","BV":"Buve adası","BW":"Botsvana","BY":"Belarus","BZ":"Beliz","CA":"Kanada","CC":"Kokos (Kilinq) adaları","CD":"Konqo - KinÅasa","CF":"MÉrkÉzi Afrika Respublikası","CG":"Konqo - Brazzavil","CH":"İsve\xe7rÉ","CI":"Kotdâivuar","CK":"Kuk adaları","CL":"\xc7ili","CM":"Kamerun","CN":"\xc7in","CO":"Kolumbiya","CR":"Kosta Rika","CU":"Kuba","CV":"Kabo-Verde","CW":"Kurasao","CX":"Milad adası","CY":"Kipr","CZ":"\xc7ex Respublikası","DE":"Almaniya","DJ":"Cibuti","DK":"Danimarka","DM":"Dominika","DO":"Dominikan Respublikası","DZ":"ÆlcÉzair","EC":"Ekvador","EE":"Estoniya","EG":"Misir","EH":"QÉrbi Saxara","ER":"Eritreya","ES":"İspaniya","ET":"Efiopiya","FI":"Finlandiya","FJ":"Fici","FK":"Folklend adaları","FM":"Mikroneziya","FO":"Farer adaları","FR":"Fransa","GA":"Qabon","GB":"BirlÉÅmiÅ Krallıq","GD":"Qrenada","GE":"G\xfcrc\xfcstan","GF":"Fransa Qvianası","GG":"Gernsi","GH":"Qana","GI":"CÉbÉll\xfctariq","GL":"Qrenlandiya","GM":"Qambiya","GN":"Qvineya","GP":"Qvadelupa","GQ":"Ekvatorial Qvineya","GR":"Yunanıstan","GS":"CÉnubi Corciya vÉ CÉnubi Sendvi\xe7 adaları","GT":"Qvatemala","GU":"Quam","GW":"Qvineya-Bisau","GY":"Qayana","HK":"Honq Konq","HM":"Herd vÉ Makdonald adaları","HN":"Honduras","HR":"Xorvatiya","HT":"Haiti","HU":"Macarıstan","ID":"İndoneziya","IE":"İrlandiya","IL":"İsrail","IM":"Men adası","IN":"Hindistan","IO":"Britaniyanın Hind Okeanı Ærazisi","IQ":"İraq","IR":"İran","IS":"İslandiya","IT":"İtaliya","JE":"Cersi","JM":"Yamayka","JO":"İordaniya","JP":"Yaponiya","KE":"Keniya","KG":"QırÄızıstan","KH":"Kamboca","KI":"Kiribati","KM":"Komor adaları","KN":"Sent-Kits vÉ Nevis","KP":"Åimali Koreya","KR":"CÉnubi Koreya","KW":"K\xfcveyt","KY":"Kayman adaları","KZ":"Qazaxıstan","LA":"La
44os","LB":"Livan","LC":"Sent-Lusiya","LI":"LixtenÅteyn","LK":"Åri-Lanka","LR":"Liberiya","LS":"Lesoto","LT":"Litva","LU":"L\xfcksemburq","LV":"Latviya","LY":"Liviya","MA":"MÉrakeÅ","MC":"Monako","MD":"Moldova","ME":"Monteneqro","MF":"Sent Martin","MG":"Madaqaskar","MH":"MarÅal adaları","MK":"Åimali Makedoniya","ML":"Mali","MM":"Myanma","MN":"Monqolustan","MO":"Makao","MP":"Åimali Marian adaları","MQ":"Martinik","MR":"Mavritaniya","MS":"Monserat","MT":"Malta","MU":"Mavriki","MV":"Maldiv adaları","MW":"Malavi","MX":"Meksika","MY":"Malayziya","MZ":"Mozambik","NA":"Namibiya","NC":"Yeni Kaledoniya","NE":"Niger","NF":"Norfolk adası","NG":"Nigeriya","NI":"Nikaraqua","NL":"Niderland","NO":"Norve\xe7","NP":"Nepal","NR":"Nauru","NU":"Niue","NZ":"Yeni Zelandiya","OM":"Oman","PA":"Panama","PE":"Peru","PF":"Fransa Polineziyası","PG":"Papua-Yeni Qvineya","PH":"Filippin","PK":"Pakistan","PL":"PolÅa","PM":"M\xfcqÉddÉs Pyer vÉ Mikelon","PN":"Pitkern adaları","PR":"Puerto Riko","PS":"FÉlÉstin ÆrazilÉri","PT":"Portuqaliya","PW":"Palau","PY":"Paraqvay","QA":"QÉtÉr","RE":"Reyunyon","RO":"Rumıniya","RS":"Serbiya","RU":"Rusiya","RW":"Ruanda","SA":"SÉudiyyÉ ÆrÉbistanı","SB":"Solomon adaları","SC":"SeyÅel adaları","SD":"Sudan","SE":"İsve\xe7","SG":"Sinqapur","SH":"M\xfcqÉddÉs Yelena","SI":"Sloveniya","SJ":"Svalbard vÉ Yan-Mayen","SK":"Slovakiya","SL":"Syerra-Leone","SM":"San-Marino","SN":"Seneqal","SO":"Somali","SR":"Surinam","SS":"CÉnubi Sudan","ST":"San-Tome vÉ Prinsipi","SV":"Salvador","SX":"Sint-Marten","SY":"Suriya","SZ":"Svazilend","TC":"T\xf6rks vÉ Kaykos adaları","TD":"\xc7ad","TF":"Fransanın CÉnub ÆrazilÉri","TG":"Toqo","TH":"Tailand","TJ":"Tacikistan","TK":"Tokelau","TL":"ÅÉrqi Timor","TM":"T\xfcrkmÉnistan","TN":"Tunis","TO":"Tonqa","TR":"T\xfcrkiyÉ","TT":"Trinidad vÉ Tobaqo","TV":"Tuvalu","TW":"Tayvan","TZ":"Tanzaniya","UA":"Ukrayna","UG":"Uqanda","UM":"ABÅ-a baÄlı ki\xe7ik adacıqlar","US":"Amerika BirlÉÅmiÅ Åtatları","UY":"Uruqvay","UZ":"\xd6zbÉkistan","VA":"Vatikan","VC":"Sent-Vinsent vÉ QrenadinlÉr","VE":"Venesuela","VG":"Britaniyanın Virgin adaları","VI":"ABÅ Virgin adaları","VN":"Vyetnam","VU":"Vanuatu","WF":"Uollis vÉ Futuna","WS":"Samoa","XK":"Kosovo","YE":"YÉmÉn","YT":"Mayot","ZA":"CÉnub Afrika","ZM":"Zambiya","ZW":"Zimbabve"}}')},85664:function(t){"use strict";t.exports=JSON.parse('{"locale":"ca","countries":{"AF":"Afganistan","AX":"\xc5land, illes","AL":"Alb\xe0nia","DE":"Alemanya","DZ":"Alg\xe8ria","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Ant\xe0rtida","AG":"Antigua i Barbuda","SA":"Ar\xe0bia Saudita","AR":"Argentina","AM":"Arm\xe8nia","AW":"Aruba","AU":"Austr\xe0lia","AT":"\xc0ustria","AZ":"Azerbaidjan","BS":"Bahames","BH":"Bahrain","BD":"Bangla Desh","BB":"Barbados","BE":"B\xe8lgica","BZ":"Belize","BJ":"Ben\xedn","BM":"Bermudes","BT":"Bhutan","BY":"Bielor\xfassia","BO":"Bol\xedvia","BQ":"Bonaire, Sint Eustatius i Saba","BA":"B\xf2snia i Hercegovina","BW":"Botswana","BV":"Bouvet","BR":"Brasil","BN":"Brunei","BG":"Bulg\xe0ria","BF":"Burkina Faso","BI":"Burundi","KY":"Caiman, illes","KH":"Cambodja","CM":"Camerun","CA":"Canad\xe0","CV":"Cap Verd","CF":"Centreafricana, Rep\xfablica","CX":"Christmas, illa","CC":"Cocos, illes","CO":"Col\xf2mbia","KM":"Comores","CG":"Congo, Rep\xfablica del","CD":"Congo, Rep\xfablica Democr\xe0tica del","CK":"Cook, illes","KP":"Corea del Nord","KR":"Corea del Sud","CI":"Costa d\'Ivori","CR":"Costa Rica","HR":"Cro\xe0cia","CU":"Cuba","CW":"Cura\xe7ao","DK":"Dinamarca","DJ":"Djibouti","DM":"Dominica","DO":"Dominicana, Rep\xfablica","EG":"Egipte","EC":"Equador","AE":"Emirats \xc0rabs Units","ER":"Eritrea","SK":"Eslov\xe0quia","SI":"Eslov\xe8nia","ES":"Espanya","US":"Estats Units\xa0(EUA)","EE":"Est\xf2nia","ET":"Eti\xf2pia","FO":"F\xe8roe, illes","FJ":"Fiji","PH":"Filipines","FI":"Finl\xe0ndia","FR":"Fran\xe7a","GA":"Gabon","GM":"G\xe0mbia","GE":"Ge\xf2rgia","GS":"Ge\xf2rgia del Sud i Sandwich del Sud, illes","GH":"Ghana","GI":"Gibraltar","GR":"Gr\xe8cia","GD":"Grenada","GL":"Groenl\xe0ndia","GP":"Guadeloupe","GF":"Guaiana Francesa","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Rep\xfablica de Guinea","GW":"Guinea Bissau","GQ":"Guinea Equatorial","GY":"Guyana","HT":"Hait\xed","HM":"Heard, illa i McDonald, illes","HN":"Hondures","HK":"Hong Kong","HU":"Hongria","YE":"Iemen","IM":"Illa de Man","UM":"Illes Perif\xe8riques Menors dels EUA","IN":"\xcdndia","ID":"Indon\xe8sia","IR":"Iran","IQ":"Iraq","IE":"Irlanda","IS":"Isl\xe0ndia","IL":"Israel","IT":"It\xe0lia","JM":"Jamaica","JP":"Jap\xf3","JE":"Jersey","JO":"Jord\xe0nia","KZ":"Kazakhstan","KE":"Kenya","KG":"Kirguizistan","KI":"Kiribati","KW":"Kuwait","LA":"La
44os","LS":"Lesotho","LV":"Let\xf2nia","LB":"L\xedban","LR":"Lib\xe8ria","LY":"L\xedbia","LI":"Liechtenstein","LT":"Litu\xe0nia","LU":"Luxemburg","MO":"Macau","MK":"Maced\xf2nia del Nord","MG":"Madagascar","MY":"Mal\xe0isia","MW":"Malawi","MV":"Maldives","ML":"Mali","MT":"Malta","FK":"Malvines, illes","MP":"Mariannes Septentrionals, illes","MA":"Marroc","MH":"Marshall, illes","MQ":"Martinica","MU":"Maurici","MR":"Maurit\xe0nia","YT":"Mayotte","MX":"M\xe8xic","FM":"Micron\xe8sia, Estats Federats de","MZ":"Mo\xe7ambic","MD":"Mold\xe0via","MC":"M\xf2naco","MN":"Mong\xf2lia","ME":"Montenegro","MS":"Montserrat","MM":"Myanmar","NA":"Nam\xedbia","NR":"Nauru","NP":"Nepal","NI":"Nicaragua","NE":"N\xedger","NG":"Nig\xe8ria","NU":"Niue","NF":"Norfolk, illa","NO":"Noruega","NC":"Nova Caled\xf2nia","NZ":"Nova Zelanda","OM":"Oman","NL":"Pa\xefsos Baixos","PK":"Pakistan","PW":"Palau","PS":"Palestina","PA":"Panam\xe0","PG":"Papua Nova Guinea","PY":"Paraguai","PE":"Per\xfa","PN":"Pitcairn, illes","PF":"Polin\xe8sia Francesa","PL":"Pol\xf2nia","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","GB":"Regne Unit","RE":"Reuni\xf3, illa de la","RO":"Romania","RU":"R\xfassia","RW":"Ruanda","EH":"S\xe0hara Occidental","KN":"Saint Kitts i Nevis","LC":"Saint Lucia","PM":"Saint-Pierre i Miquelon","VC":"Saint Vincent i les Grenadines","BL":"Saint-Barth\xe9lemy","MF":"Saint-Martin","SB":"Salom\xf3","SV":"Salvador, El","WS":"Samoa","AS":"Samoa Nord-americana","SM":"San Marino","SH":"Santa Helena","ST":"S\xe3o Tom\xe9 i Pr\xedncipe","SN":"Senegal","RS":"S\xe8rbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapur","SX":"Sint Maarten","SY":"S\xedria","SO":"Som\xe0lia","LK":"Sri Lanka","ZA":"Sud-\xe0frica","SD":"Sudan","SS":"Sudan del Sud","SE":"Su\xe8cia","CH":"Su\xefssa","SR":"Surinam","SJ":"Svalbard i Jan Mayen","SZ":"Swazil\xe0ndia","TJ":"Tadjikistan","TH":"Tail\xe0ndia","TW":"Taiwan","TZ":"Tanz\xe0nia","IO":"Territori Brit\xe0nic de l\'Oce\xe0 \xcdndic","TF":"Territoris Francesos del Sud","TL":"Timor Oriental","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinitat i Tobago","TN":"Tun\xedsia","TM":"Turkmenistan","TC":"Turks i Caicos, illes","TR":"Turquia","TV":"Tuvalu","TD":"Txad","CZ":"Tx\xe8quia","UA":"Ucra\xefna","UG":"Uganda","UY":"Uruguai","UZ":"Uzbekistan","VU":"Vanuatu","VA":"Vatic\xe0, Ciutat del","VE":"Vene\xe7uela","VG":"Verges Brit\xe0niques, illes","VI":"Verges Nord-americanes, illes","VN":"Vietnam","WF":"Wallis i Futuna","CL":"Xile","CN":"Xina","CY":"Xipre","ZM":"Z\xe0mbia","ZW":"Zimbabwe","XK":"Kosovo"}}')},48962:function(t){"use strict";t.exports=JSON.parse('{"locale":"en","countries":{"AF":"Afghanistan","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":["People\'s Republic of China","China"],"CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":["Republic of the Congo","Congo"],"CD":["Democratic Republic of the Congo","Congo"],"CK":"Cook Islands","CR":"Costa Rica","CI":["Cote d\'Ivoire","C\xf4te d\'Ivoire","Ivory Coast"],"HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":["Czech Republic","Czechia"],"DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":["Republic of The Gambia","The Gambia","Gambia"],"GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":["Islamic Republic of Iran","Iran"],"IQ":"Iraq","IE":"Ireland","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"North Korea","KR":["South Korea","Korea, Republic of","Republic of Korea"],"KW":"Kuwait","KG":"Kyrgyzstan","LA":"La
44o People\'s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States of","MD":"Moldova, Republic of","MC":"Monaco","MN":"Mongolia","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],"NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MK":["The Republic of North Macedonia","North Macedonia"],"MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":["State of Palestine","Palestine"],"PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":["Pitcairn","Pitcairn Islands"],"PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":["Russian Federation","Russia"],"RW":"Rwanda","SH":"Saint Helena","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome and Principe","SA":"Saudi Arabia","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and the South Sandwich Islands","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard and Jan Mayen","SZ":"Eswatini","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":["Taiwan, Province of China","Taiwan"],"TJ":"Tajikistan","TZ":["United Republic of Tanzania","Tanzania"],"TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":["T\xfcrkiye","Turkey"],"TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":["United Arab Emirates","UAE"],"GB":["United Kingdom","UK","Great Britain"],"US":["United States of America","United States","USA","U.S.A.","US","U.S."],"UM":"United States Minor Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis and Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe","AX":["\xc5land Islands","Aland Islands"],"BQ":"Bonaire, Sint Eustatius and Saba","CW":"Cura\xe7ao","GG":"Guernsey","IM":"Isle of Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barth\xe9lemy","MF":"Saint Martin (French part)","RS":"Serbia","SX":"Sint Maarten (Dutch part)","SS":"South Sudan","XK":"Kosovo"}}')},53540:function(t){"use strict";t.exports=JSON.parse('{"locale":"es","countries":{"AF":"Afganist\xe1n","AL":"Albania","DZ":"Argelia","AS":"Samoa Americana","AD":"Andorra","AO":"Angola","AI":"Anguila","AQ":"Ant\xe1rtida","AG":"Antigua y Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaiy\xe1n","BS":"Bahamas","BH":"Bahrein","BD":"Bangladesh","BB":"Barbados","BY":"Bielorrusia","BE":"B\xe9lgica","BZ":"Belice","BJ":"Benin","BM":"Bermudas","BT":"But\xe1n","BO":"Bolivia","BA":"Bosnia y Herzegovina","BW":"Botswana","BV":"Isla Bouvet","BR":"Brasil","IO":"Territorio Brit\xe1nico del Oc\xe9ano \xcdndico","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Camboya","CM":"Camer\xfan","CA":"Canad\xe1","CV":"Cabo Verde","KY":"Islas Caim\xe1n","CF":"Rep\xfablica Centroafricana","TD":"Chad","CL":"Chile","CN":"China","CX":"Isla de Navidad","CC":"Islas Cocos (Keeling)","CO":"Colombia","KM":"Comoras","CG":"Congo","CD":"Congo (Rep\xfablica Democr\xe1tica del)","CK":"Islas Cook","CR":"Costa Rica","CI":"Costa de Marfil","HR":"Croacia","CU":"Cuba","CY":"Chipre","CZ":"Rep\xfablica Checa","DK":"Dinamarca","DJ":"Yibuti","DM":"Dominica","DO":"Rep\xfablica Dominicana","EC":"Ecuador","EG":"Egipto","SV":"El Salvador","GQ":"Guinea Ecuatorial","ER":"Eritrea","EE":"Estonia","ET":"Etiop\xeda","FK":"Islas Malvinas","FO":"Islas Feroe","FJ":"Fiji","FI":"Finlandia","FR":"Francia","GF":"Guayana Francesa","PF":"Polinesia Francesa","TF":"Tierras Australes Francesas","GA":"Gab\xf3n","GM":"Gambia","GE":"Georgia","DE":"Alemania","GH":"Ghana","GI":"Gibraltar","GR":"Grecia","GL":"Groenlandia","GD":"Granada","GP":"Guadalupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea Bissau","GY":"Guyana","HT":"Hait\xed","HM":"Heard e Islas McDonald","VA":"Santa Sede","HN":"Honduras","HK":"Hong Kong","HU":"Hungr\xeda","IS":"Islandia","IN":"India","ID":"Indonesia","IR":["Ir\xe1n","Rep\xfablica Isl\xe1mica de Ir\xe1n"],"IQ":"Iraq","IE":"Irlanda","IL":"Israel","IT":"Italia","JM":"Jamaica","JP":"Jap\xf3n","JO":"Jordania","KZ":"Kazajist\xe1n","KE":"Kenia","KI":"Kiribati","KP":"Rep\xfablica Popular Democr\xe1tica de Corea","KR":"Rep\xfablica de Corea","KW":"Kuwait","KG":"Kirguist\xe1n","LA":"Rep\xfablica Democr\xe1tica Popular de Lao","LV":"Letonia","LB":"L\xedbano","LS":"Lesoto","LR":"Liberia","LY":"Libia","LI":"Liechtenstein","LT":"Lituania","LU":"Luxemburgo","MO":"Macao","MK":"Macedonia del Norte","MG":"Madagascar","MW":"Malaui","MY":"Malasia","MV":"Maldivas","ML":"Mal\xed","MT":"Malta","MH":"Islas Marshall","MQ":"Martinica","MR":"Mauritania","MU":"Mauricio","YT":"Mayotte","MX":"M\xe9xico","FM":"Micronesia","MD":"Moldavia","MC":"M\xf3naco","MN":"Mongolia","MS":"Montserrat","MA":"Marruecos","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Pa\xedses Bajos","NC":"Nueva Caledonia","NZ":"Nueva Zelanda","NI":"Nicaragua","NE":"N\xedger","NG":"Nigeria","NU":"Niue","NF":"Isla Norfolk","MP":"Islas Marianas del Norte","NO":"Noruega","OM":"Om\xe1n","PK":"Pakist\xe1n","PW":"Palau","PS":"Palestina","PA":"Panam\xe1","PG":"Papua Nueva Guinea","PY":"Paraguay","PE":"Per\xfa","PH":"Filipinas","PN":"Pitcairn","PL":"Polonia","PT":"Portugal","PR":"Puerto Rico","QA":"Catar","RE":"Reuni\xf3n","RO":"Ruman\xeda","RU":"Rusia","RW":"Ruanda","SH":"Santa Helena, Ascensi\xf3n y Trist\xe1n de Acu\xf1
44a","KN":"Saint Kitts y Nevis","LC":"Santa Luc\xeda","PM":"San Pedro y Miquel\xf3n","VC":"San Vicente y las Granadinas","WS":"Samoa","SM":"San Marino","ST":"Santo Tom\xe9 y Pr\xedncipe","SA":"Arabia Saudita","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leona","SG":"Singapur","SK":"Eslovaquia","SI":"Eslovenia","SB":"Islas Salom\xf3n","SO":"Somalia","ZA":"Sud\xe1frica","GS":"Georgia del Sur y las Islas Sandwich del Sur","ES":"Espa\xf1a","LK":"Sri Lanka","SD":"Sud\xe1n","SR":"Suriname","SJ":"Svalbard y Jan Mayen","SZ":"Esuatini","SE":"Suecia","CH":"Suiza","SY":"Rep\xfablica \xc1rabe Siria","TW":"Taiw\xe1n","TJ":"Tayikist\xe1n","TZ":"Tanzania","TH":"Tailandia","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad y Tobago","TN":"T\xfanez","TR":"Turqu\xeda","TM":"Turkmenist\xe1n","TC":"Islas Turcas y Caicos","TV":"Tuvalu","UG":"Uganda","UA":"Ucrania","AE":"Emiratos \xc1rabes Unidos","GB":"Reino Unido","US":"Estados Unidos","UM":"Islas Ultramarinas Menores de los Estados Unidos","UY":"Uruguay","UZ":"Uzbekist\xe1n","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Islas V\xedrgenes brit\xe1nicas","VI":"Islas V\xedrgenes de los Estados Unidos","WF":"Wallis y Futuna","EH":"Sahara Occidental","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabue","AX":"Islas \xc5land","BQ":"Bonaire, San Eustaquio y Saba","CW":"Cura\xe7ao","GG":"Guernsey","IM":"Isla de Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barth\xe9lemy","MF":"Saint Martin (francesa)","RS":"Serbia","SX":"Sint Maarten (neerlandesa)","SS":"Sud\xe1n del Sur","XK":"Kosovo"}}')},67887:function(t){"use strict";t.exports=JSON.parse('{"locale":"fr","countries":{"AF":"Afghanistan","AL":"Albanie","DZ":"Alg\xe9rie","AS":"Samoa am\xe9ricaines","AD":"Andorre","AO":"Angola","AI":"Anguilla","AQ":"Antarctique","AG":"Antigua-et-Barbuda","AR":"Argentine","AM":"Arm\xe9nie","AW":"Aruba","AU":"Australie","AT":"Autriche","AZ":"Azerba\xefdjan","BS":"Bahamas","BH":"Bahre\xefn","BD":"Bangladesh","BB":"Barbade","BY":"Bi\xe9lorussie","BE":"Belgique","BZ":"Belize","BJ":"B\xe9nin","BM":"Bermudes","BT":"Bhoutan","BO":"Bolivie","BA":"Bosnie-Herz\xe9govine","BW":"Botswana","BV":"\xcele Bouvet","BR":"Br\xe9sil","IO":"Oc\xe9an Indien Britannique","BN":"Brunei Darussalam","BG":"Bulgarie","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodge","CM":"Cameroun","CA":"Canada","CV":"Cap-Vert","KY":"\xceles Ca\xefmans","CF":"R\xe9publique Centrafricaine","TD":"Tchad","CL":"Chili","CN":"Chine","CX":"\xcele Christmas","CC":"\xceles Cocos","CO":"Colombie","KM":"Comores","CG":"R\xe9publique du Congo","CD":"R\xe9publique d\xe9mocratique du Congo","CK":"\xceles Cook","CR":"Costa Rica","CI":"C\xf4te-d\'Ivoire","HR":"Croatie","CU":"Cuba","CY":"Chypre","CZ":"R\xe9publique Tch\xe8que","DK":"Danemark","DJ":"Djibouti","DM":"Dominique","DO":"R\xe9publique Dominicaine","EC":"\xc9quateur","EG":"\xc9gypte","SV":"El Salvador","GQ":"Guin\xe9e \xe9quatoriale","ER":"\xc9rythr\xe9e","EE":"Estonie","ET":"\xc9thiopie","FK":"\xceles Malouines","FO":"\xceles F\xe9ro\xe9","FJ":"Fidji","FI":"Finlande","FR":"France","GF":"Guyane fran\xe7aise","PF":"Polyn\xe9sie fran\xe7aise","TF":"Terres australes fran\xe7aises","GA":"Gabon","GM":"Gambie","GE":"G\xe9orgie","DE":"Allemagne","GH":"Ghana","GI":"Gibraltar","GR":"Gr\xe8ce","GL":"Groenland","GD":"Grenade","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guin\xe9e","GW":"Guin\xe9e-Bissau","GY":"Guyana","HT":"Ha\xefti","HM":"\xceles Heard-et-MacDonald","VA":"Saint-Si\xe8ge (Vatican)","HN":"Honduras","HK":"Hong Kong","HU":"Hongrie","IS":"Islande","IN":"Inde","ID":"Indon\xe9sie","IR":"Iran","IQ":"Irak","IE":"Irlande","IL":"Isra\xebl","IT":"Italie","JM":"Jama\xefque","JP":"Japon","JO":"Jordanie","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"Cor\xe9e du Nord","KR":"Cor\xe9e du Sud","KW":"Kowe\xeft","KG":"Kirghizistan","LA":"Laos","LV":"Lettonie","LB":"Liban","LS":"Lesotho","LR":"Lib\xe9ria","LY":"Libye","LI":"Liechtenstein","LT":"Lituanie","LU":"Luxembourg","MO":"Macao","MK":"Mac\xe9doine du Nord","MG":"Madagascar","MW":"Malawi","MY":"Malaisie","MV":"Maldives","ML":"Mali","MT":"Malte","MH":"\xceles Marshall","MQ":"Martinique","MR":"Mauritanie","MU":"Maurice","YT":"Mayotte","MX":"Mexique","FM":"Micron\xe9sie","MD":"Moldavie","MC":"Monaco","MN":"Mongolie","MS":"Montserrat","MA":"Maroc","MZ":"Mozambique","MM":"Myanmar","NA":"Namibie","NR":"Nauru","NP":"N\xe9pal","NL":"Pays-Bas","NC":"Nouvelle-Cal\xe9donie","NZ":"Nouvelle-Z\xe9lande","NI":"Nicaragua","NE":"Niger","NG":"Nig\xe9ria","NU":"Niu\xe9","NF":"\xcele Norfolk","MP":"\xceles Mariannes du Nord","NO":"Norv\xe8ge","OM":"Oman","PK":"Pakistan","PW":"Palaos","PS":"Palestine","PA":"Panama","PG":"Papouasie-Nouvelle-Guin\xe9e","PY":"Paraguay","PE":"P\xe9rou","PH":"Philippines","PN":"\xceles Pitcairn","PL":"Pologne","PT":"Portugal","PR":"Porto Rico","QA":"Qatar","RE":"R\xe9union","RO":"Roumanie","RU":"Russie","RW":"Rwanda","SH":"Sainte-H\xe9l\xe8ne","KN":"Saint-Christophe-et-Ni\xe9v\xe8s","LC":"Sainte-Lucie","PM":"Saint-Pierre-et-Miquelon","VC":"Saint-Vincent-et-les-Grenadines","WS":"Samoa","SM":"Saint-Marin","ST":"S\xe3o Tom\xe9-et-Principe","SA":"Arabie Saoudite","SN":"S\xe9n\xe9gal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapour","SK":"Slovaquie","SI":"Slov\xe9nie","SB":"\xceles Salomon","SO":"Somalie","ZA":"Afrique du Sud","GS":"G\xe9orgie du Sud-et-les \xceles Sandwich du Sud","ES":"Espagne","LK":"Sri Lanka","SD":"Soudan","SR":"Suriname","SJ":"Svalbard et \xcele Jan Mayen","SZ":"Royaume d\'Eswatini","SE":"Su\xe8de","CH":"Suisse","SY":"Syrie","TW":"Ta\xefwan","TJ":"Tadjikistan","TZ":"R\xe9publique unie de Tanzanie","TH":"Tha\xeflande","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinit\xe9-et-Tobago","TN":"Tunisie","TR":"Turquie","TM":"Turkm\xe9nistan","TC":"\xceles Turques-et-Ca\xefques","TV":"Tuvalu","UG":"Ouganda","UA":"Ukraine","AE":"\xc9mirats Arabes Unis","GB":"Royaume-Uni","US":"\xc9tats-Unis d\'Am\xe9rique","UM":"\xceles mineures \xe9loign\xe9es des \xc9tats-Unis","UY":"Uruguay","UZ":"Ouzb\xe9kistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"\xceles vierges britanniques","VI":"\xceles vierges am\xe9ricaines","WF":"Wallis-et-Futuna","EH":"Sahara occidental","YE":"Y\xe9men","ZM":"Zambie","ZW":"Zimbabwe","AX":"\xc5land","BQ":"Bonaire, Saint-Eustache et Saba","CW":"Cura\xe7ao","GG":"Guernesey","IM":"\xcele de Man","JE":"Jersey","ME":"Mont\xe9n\xe9gro","BL":"Saint-Barth\xe9lemy","MF":"Saint-Martin (partie fran\xe7aise)","RS":"Serbie","SX":"Saint-Martin (partie n\xe9erlandaise)","SS":"Soudan du Sud","XK":"Kosovo"}}')},40868:function(t){"use strict";
44t.exports=JSON.parse('{"locale":"it","countries":{"AD":"Andorra","AE":"Emirati Arabi Uniti","AF":"Afghanistan","AG":"Antigua e Barbuda","AI":"Anguilla","AL":"Albania","AM":"Armenia","AO":"Angola","AQ":"Antartide","AR":"Argentina","AS":"Samoa Americane","AT":"Austria","AU":"Australia","AW":"Aruba","AX":"Isole \xc5land","AZ":"Azerbaigian","BA":"Bosnia ed Erzegovina","BB":"Barbados","BD":"Bangladesh","BE":"Belgio","BF":"Burkina Faso","BG":"Bulgaria","BH":"Bahrain","BI":"Burundi","BJ":"Benin","BL":"Saint-Barth\xe9lemy","BM":"Bermuda","BN":"Brunei","BO":"Bolivia","BQ":"Isole BES","BR":"Brasile","BS":"Bahamas","BT":"Bhutan","BV":"Isola Bouvet","BW":"Botswana","BY":"Bielorussia","BZ":"Belize","CA":"Canada","CC":"Isole Cocos e Keeling","CD":"Repubblica Democratica del Congo","CF":"Repubblica Centrafricana","CG":"Repubblica del Congo","CH":"Svizzera","CI":"Costa d\'Avorio","CK":"Isole Cook","CL":"Cile","CM":"Camerun","CN":"Cina","CO":"Colombia","CR":"Costa Rica","CU":"Cuba","CV":"Capo Verde","CW":"Cura\xe7ao","CX":"Isola del Natale","CY":"Cipro","CZ":"Repubblica Ceca","DE":"Germania","DJ":"Gibuti","DK":"Danimarca","DM":"Dominica","DO":"Repubblica Dominicana","DZ":"Algeria","EC":"Ecuador","EE":"Estonia","EG":"Egitto","EH":"Sahara Occidentale","ER":"Eritrea","ES":"Spagna","ET":"Etiopia","FI":"Finlandia","FJ":"Figi","FK":"Isole Falkland","FM":"Stati Federati di Micronesia","FO":"Isole F\xe6r \xd8er","FR":"Francia","GA":"Gabon","GB":"Regno Unito","GD":"Grenada","GE":"Georgia","GF":"Guyana Francese","GG":"Guernsey","GH":"Ghana","GI":"Gibilterra","GL":"Groenlandia","GM":"Gambia","GN":"Guinea","GP":"Guadalupa","GQ":"Guinea Equatoriale","GR":"Grecia","GS":"Georgia del Sud e isole Sandwich meridionali","GT":"Guatemala","GU":"Guam","GW":"Guinea-Bissau","GY":"Guyana","HK":"Hong Kong","HM":"Isole Heard e McDonald","HN":"Honduras","HR":"Croazia","HT":"Haiti","HU":"Ungheria","ID":"Indonesia","IE":"Irlanda","IL":"Israele","IM":"Isola di Man","IN":"India","IO":"Territori Britannici dell\'Oceano Indiano","IQ":"Iraq","IR":"Iran","IS":"Islanda","IT":"Italia","JE":"Jersey","JM":"Giamaica","JO":"Giordania","JP":"Giappone","KE":"Kenya","KG":"Kirghizistan","KH":"Cambogia","KI":"Kiribati","KM":"Comore","KN":"Saint Kitts e Nevis","KP":"Corea del Nord","KR":"Corea del Sud","KW":"Kuwait","KY":"Isole Cayman","KZ":"Kazakistan","LA":"Laos","LB":"Libano","LC":"Santa Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LR":"Liberia","LS":"Lesotho","LT":"Lituania","LU":"Lussemburgo","LV":"Lettonia","LY":"Libia","MA":"Marocco","MC":"Monaco","MD":"Moldavia","ME":"Montenegro","MF":"Saint-Martin","MG":"Madagascar","MH":"Isole Marshall","MK":"Macedonia del Nord","ML":"Mali","MM":"Birmania Myanmar","MN":"Mongolia","MO":"Macao","MP":"Isole Marianne Settentrionali","MQ":"Martinica","MR":"Mauritania","MS":"Montserrat","MT":"Malta","MU":"Mauritius","MV":"Maldive","MW":"Malawi","MX":"Messico","MY":"Malesia","MZ":"Mozambico","NA":"Namibia","NC":"Nuova Caledonia","NE":"Niger","NF":"Isola Norfolk","NG":"Nigeria","NI":"Nicaragua","NL":"Paesi Bassi","NO":"Norvegia","NP":"Nepal","NR":"Nauru","NU":"Niue","NZ":"Nuova Zelanda","OM":"Oman","PA":"Panam\xe1","PE":"Per\xf9","PF":"Polinesia Francese","PG":"Papua Nuova Guinea","PH":"Filippine","PK":"Pakistan","PL":"Polonia","PM":"Saint Pierre e Miquelon","PN":"Isole Pitcairn","PR":"Porto Rico","PS":"Stato di Palestina","PT":"Portogallo","PW":"Palau","PY":"Paraguay","QA":"Qatar","RE":"R\xe9union","RO":"Romania","RS":"Serbia","RU":"Russia","RW":"Ruanda","SA":"Arabia Saudita","SB":"Isole Salomone","SC":"Seychelles","SD":"Sudan","SE":"Svezia","SG":"Singapore","SH":"Sant\'Elena, Isola di Ascensione e Tristan da Cunha","SI":"Slovenia","SJ":"Svalbard e Jan Mayen","SK":"Slovacchia","SL":"Sierra Leone","SM":"San Marino","SN":"Senegal","SO":"Somalia","SR":"Suriname","SS":"Sudan del Sud","ST":"S\xe3o Tom\xe9 e Pr\xedncipe","SV":"El Salvador","SX":"Sint Maarten","SY":"Siria","SZ":"Eswatini","TC":"Isole Turks e Caicos","TD":"Ciad","TF":"Territori Francesi del Sud","TG":"Togo","TH":"Thailandia","TJ":"Tagikistan","TK":"Tokelau","TL":"Timor Est","TM":"Turkmenistan","TN":"Tunisia","TO":"Tonga","TR":"Turchia","TT":"Trinidad e Tobago","TV":"Tuvalu","TW":["Repubblica di Cina","Taiwan"],"TZ":"Tanzania","UA":"Ucraina","UG":"Uganda","UM":"Isole minori esterne degli Stati Uniti","US":"Stati Uniti d\'America","UY":"Uruguay","UZ":"Uzbekistan","VA":"Citt\xe0 del Vaticano","VC":"Saint Vincent e Grenadine","VE":"Venezuela","VG":"Isole Vergini Britanniche","VI":"Isole Vergini Americane","VN":"Vietnam","VU":"Vanuatu","WF":"Wallis e Futuna","WS":"Samoa","YE":"Yemen","YT":"Mayotte","ZA":"Sudafrica","ZM":"Zambia","ZW":"Zimbabwe","XK":"Kosovo"}}')},4438:function(t){"use strict";
44t.exports=JSON.parse('{"locale":"ru","countries":{"AU":"ÐвÑÑÑалиÑ","AT":"ÐвÑÑÑиÑ","AZ":"ÐзеÑбайджан","AX":"ÐландÑкие оÑÑÑова","AL":"ÐлбаниÑ","DZ":"ÐлжиÑ","VI":"ÐиÑгинÑкие ÐÑÑÑова (СШÐ)","AS":"ÐмеÑиканÑкое Самоа","AI":"ÐнгилÑÑ","AO":"Ðнгола","AD":"ÐндоÑÑа","AQ":"ÐнÑаÑкÑида","AG":"ÐнÑигÑа и ÐаÑбÑда","AR":"ÐÑгенÑина","AM":"ÐÑмениÑ","AW":"ÐÑÑба","AF":"ÐÑганиÑÑан","BS":"ÐагамÑ","BD":"ÐангладеÑ","BB":"ÐаÑбадоÑ","BH":"ÐаÑ
Ñейн","BZ":"Ðелиз","BY":"ÐелаÑÑÑÑ","BE":"ÐелÑгиÑ","BJ":"Ðенин","BM":"ÐеÑмÑдÑ","BG":"ÐолгаÑиÑ","BO":"ÐоливиÑ","BQ":"ÐонÑйÑ, СинÑ-ÐÑÑаÑиÑÑ Ð¸ Саба","BA":"ÐоÑÐ½Ð¸Ñ Ð¸ ÐеÑÑеговина","BW":"ÐоÑÑвана","BR":"ÐÑазилиÑ","IO":"ÐÑиÑанÑÐºÐ°Ñ ÑеÑÑиÑоÑÐ¸Ñ Ð² ÐндийÑком океане","VG":"ÐиÑгинÑкие ÐÑÑÑова (ÐеликобÑиÑаниÑ)","BN":"ÐÑÑней","BF":"ÐÑÑкина-ФаÑо","BI":"ÐÑÑÑнди","BT":"ÐÑÑан","VU":"ÐанÑаÑÑ","VA":"ÐаÑикан","GB":"ÐеликобÑиÑаниÑ","HU":"ÐенгÑиÑ","VE":"ÐенеÑÑÑла","UM":"ÐнеÑние малÑе оÑÑÑова (СШÐ)","TL":"ÐоÑÑоÑнÑй ТимоÑ","VN":"ÐÑеÑнам","GA":"Ðабон","HT":"ÐаиÑи","GY":"Ðайана","GM":"ÐамбиÑ","GH":"Ðана","GP":"ÐваделÑпа","GT":"ÐваÑемала","GF":"Ðвиана","GN":"ÐвинеÑ","GW":"ÐвинеÑ-ÐиÑаÑ","DE":"ÐеÑманиÑ","GG":"ÐеÑнÑи","GI":"ÐибÑалÑаÑ","HN":"ÐондÑÑаÑ","HK":"Ðонконг","GD":"ÐÑенада","GL":"ÐÑенландиÑ","GR":"ÐÑеÑиÑ","GE":"ÐÑÑзиÑ","GU":"ÐÑам","DK":"ÐаниÑ","JE":"ÐжеÑÑи","DJ":"ÐжибÑÑи","DM":"Ðоминика","DO":"ÐоминиканÑÐºÐ°Ñ Ð ÐµÑпÑблика","CD":"ÐемокÑаÑиÑеÑÐºÐ°Ñ Ð ÐµÑпÑблика Ðонго","EG":"ÐгипеÑ","ZM":"ÐамбиÑ","EH":"СÐÐÐ ","ZW":"Ðимбабве","IL":"ÐзÑаилÑ","IN":"ÐндиÑ","ID":"ÐндонезиÑ","JO":"ÐоÑданиÑ","IQ":"ÐÑак","IR":"ÐÑан","IE":"ÐÑландиÑ","IS":"ÐÑландиÑ","ES":"ÐÑпаниÑ","IT":"ÐÑалиÑ","YE":"Ðемен","CV":"Ðабо-ÐеÑде","KZ":"ÐазаÑ
ÑÑан","KY":"ÐÑÑÑова Ðайман","KH":"Ðамбоджа","CM":"ÐамеÑÑн","CA":"Ðанада","QA":"ÐаÑаÑ","KE":"ÐениÑ","CY":"ÐипÑ","KG":"ÐиÑгизиÑ","KI":"ÐиÑибаÑи","TW":["ТайванÑ","ÐиÑайÑÐºÐ°Ñ Ð ÐµÑпÑблика"],"KP":"ÐÐÐÐ (ÐоÑейÑÐºÐ°Ñ ÐаÑодно-ÐемокÑаÑиÑеÑÐºÐ°Ñ Ð ÐµÑпÑблика)","CN":"ÐÐÐ (ÐиÑайÑÐºÐ°Ñ ÐаÑÐ¾Ð´Ð½Ð°Ñ Ð ÐµÑпÑблика)","CC":"ÐокоÑовÑе оÑÑÑова","CO":"ÐолÑмбиÑ","KM":"ÐомоÑÑ","CR":"ÐоÑÑа-Рика","CI":"ÐоÑ-дâÐвÑаÑ","CU":"ÐÑба","KW":"ÐÑвейÑ","CW":"ÐÑÑаÑао","LA":"ÐаоÑ","LV":"ÐаÑвиÑ","LS":"ÐеÑоÑо","LR":"ÐибеÑиÑ","LB":"Ðиван","LY":"ÐивиÑ","LT":"ÐиÑва","LI":"ÐиÑ
ÑенÑÑейн","LU":"ÐÑкÑембÑÑг","MU":"ÐавÑикий","MR":"ÐавÑиÑаниÑ","MG":"ÐадагаÑкаÑ","YT":"ÐайоÑÑа","MO":"Ðакао","MW":"Ðалави","MY":"ÐалайзиÑ","ML":"Ðали","MV":"ÐалÑдивÑ","MT":"ÐалÑÑа","MA":"ÐаÑокко","MQ":"ÐаÑÑиника","MH":"ÐаÑÑÐ°Ð»Ð»Ð¾Ð²Ñ ÐÑÑÑова","MX":"ÐекÑика","FM":"ÐикÑонезиÑ","MZ":"Ðозамбик","MD":"ÐолдавиÑ","MC":"Ðонако","MN":"ÐонголиÑ","MS":"ÐонÑÑеÑÑаÑ","MM":"ÐÑÑнма","NA":"ÐамибиÑ","NR":"ÐаÑÑÑ","NP":"Ðепал","NE":"ÐигеÑ","NG":"ÐигеÑиÑ","NL":"ÐидеÑландÑ","NI":"ÐикаÑагÑа","NU":"ÐиÑÑ","NZ":"ÐÐ¾Ð²Ð°Ñ ÐеландиÑ","NC":"ÐÐ¾Ð²Ð°Ñ ÐаледониÑ","NO":"ÐоÑвегиÑ","AE":"ÐÐÐ","OM":"Ðман","BV":"ÐÑÑÑов ÐÑве","IM":"ÐÑÑÑов ÐÑн","CK":"ÐÑÑÑова ÐÑка","NF":"ÐÑÑÑов Ð
44оÑÑолк","CX":"ÐÑÑÑов РождеÑÑва","PN":"ÐÑÑÑова ÐиÑкÑÑн","SH":"ÐÑÑÑова СвÑÑой ÐленÑ, ÐознеÑÐµÐ½Ð¸Ñ Ð¸ ТÑиÑÑан-да-ÐÑнÑÑ","PK":"ÐакиÑÑан","PW":"ÐалаÑ","PS":"ÐоÑÑдаÑÑÑво ÐалеÑÑина","PA":"Ðанама","PG":"ÐапÑа â ÐÐ¾Ð²Ð°Ñ ÐвинеÑ","PY":"ÐаÑагвай","PE":"ÐеÑÑ","PL":"ÐолÑÑа","PT":"ÐоÑÑÑгалиÑ","PR":"ÐÑÑÑÑо-Рико","CG":"РеÑпÑблика Ðонго","KR":"РеÑпÑблика ÐоÑеÑ","RE":"РеÑнÑон","RU":["РоÑÑийÑÐºÐ°Ñ Ð¤ÐµÐ´ÐµÑаÑиÑ","РоÑÑиÑ"],"RW":"Ð Ñанда","RO":"Ð ÑмÑниÑ","SV":"СалÑвадоÑ","WS":"Самоа","SM":"Сан-ÐаÑино","ST":"Сан-Томе и ÐÑинÑипи","SA":"СаÑдовÑÐºÐ°Ñ ÐÑавиÑ","SZ":"ÐÑваÑини","MK":"СевеÑÐ½Ð°Ñ ÐакедониÑ","MP":"СевеÑнÑе ÐаÑианÑкие ÐÑÑÑова","SC":"СейÑелÑÑкие ÐÑÑÑова","BL":"Сен-ÐаÑÑелеми","MF":"Сен-ÐаÑÑен","PM":"Сен-ÐÑÐµÑ Ð¸ Ðикелон","SN":"Сенегал","VC":"СенÑ-ÐинÑÐµÐ½Ñ Ð¸ ÐÑенадинÑ","KN":"СенÑ-ÐиÑÑ Ð¸ ÐевиÑ","LC":"СенÑ-ÐÑÑиÑ","RS":"СеÑбиÑ","SG":"СингапÑÑ","SX":"СинÑ-ÐаÑÑен","SY":"СиÑиÑ","SK":"СловакиÑ","SI":"СловениÑ","SB":"Ð¡Ð¾Ð»Ð¾Ð¼Ð¾Ð½Ð¾Ð²Ñ ÐÑÑÑова","SO":"Сомали","SD":"СÑдан","SR":"СÑÑинам","US":"СШÐ","SL":"СÑеÑÑа-Ðеоне","TJ":"ТаджикиÑÑан","TH":"Таиланд","TZ":"ТанзаниÑ","TC":"ТеÑÐºÑ Ð¸ ÐайкоÑ","TG":"Того","TK":"ТокелаÑ","TO":"Тонга","TT":"ТÑинидад и Тобаго","TV":"ТÑвалÑ","TN":"ТÑниÑ","TM":"ТÑÑкмениÑ","TR":"ТÑÑÑиÑ","UG":"Уганда","UZ":"УзбекиÑÑан","UA":"УкÑаина","WF":"Ð£Ð¾Ð»Ð»Ð¸Ñ Ð¸ ФÑÑÑна","UY":"УÑÑгвай","FO":"ФаÑеÑÑ","FJ":"Фиджи","PH":"ФилиппинÑ","FI":"ФинлÑндиÑ","FK":"ФолклендÑкие оÑÑÑова","FR":"ФÑанÑиÑ","PF":"ФÑанÑÑзÑÐºÐ°Ñ ÐолинезиÑ","TF":"ФÑанÑÑзÑкие ЮжнÑе и ÐнÑаÑкÑиÑеÑкие ТеÑÑиÑоÑии","HM":"ХеÑд и ÐакдоналÑд","HR":"ХоÑваÑиÑ","CF":"ЦÐÐ ","TD":"Чад","ME":"ЧеÑногоÑиÑ","CZ":"ЧеÑ
иÑ","CL":"Чили","CH":"ШвейÑаÑиÑ","SE":"ШвеÑиÑ","SJ":"ШпиÑбеÑген и Ян-Ðайен","LK":"ШÑи-Ðанка","EC":"ÐквадоÑ","GQ":"ÐкваÑоÑиалÑÐ½Ð°Ñ ÐвинеÑ","ER":"ÐÑиÑÑеÑ","EE":"ÐÑÑониÑ","ET":"ÐÑиопиÑ","ZA":"ЮÐÐ ","GS":"Ð®Ð¶Ð½Ð°Ñ ÐеоÑÐ³Ð¸Ñ Ð¸ ЮжнÑе СандвиÑÐµÐ²Ñ ÐÑÑÑова","SS":"ЮжнÑй СÑдан","JM":"Ямайка","JP":"ЯпониÑ","XK":"ÐоÑово"}}')},97846:function(t){"use strict";t.exports=JSON.parse('{"locale":"uk","countries":{"AU":"ÐвÑÑÑалÑÑ","AT":"ÐвÑÑÑÑÑ","AZ":"ÐзеÑбайджан","AX":"ÐландÑÑÐºÑ ÐÑÑÑови","AL":"ÐлбанÑÑ","DZ":"ÐлжиÑ","AS":"ÐмеÑиканÑÑке Самоа","AI":"ÐнгÑлÑÑ","AO":"Ðнгола","AD":"ÐндоÑÑа","AQ":"ÐнÑаÑкÑика","AG":"ÐнÑигÑа Ñ ÐаÑбÑда","MO":"Ðакао","AR":"ÐÑгенÑина","AM":"ÐÑÑменÑÑ","AW":"ÐÑÑба","AF":"ÐÑганÑÑÑан","BS":"ÐагамÑÑÐºÑ ÐÑÑÑови","BD":"ÐангладеÑ","BB":"ÐаÑбадоÑ","BH":"ÐаÑ
Ñейн","BZ":"ÐелÑз","BE":"ÐелÑгÑÑ","BJ":"ÐенÑн","BM":"ÐеÑмÑдÑÑÐºÑ ÐÑÑÑови","BY":"ÐÑлоÑÑÑÑ","BG":"ÐолгаÑÑÑ","BO":"ÐолÑвÑÑ","BA":"ÐоÑнÑÑ Ñ ÐеÑÑеговина","BW":"ÐоÑÑвана","BR":"ÐÑазилÑÑ","IO":"ÐÑиÑанÑÑка ТеÑиÑоÑÑÑ Ð² ÐндÑйÑÑÐºÐ¾Ð¼Ñ ÐкеанÑ","VG":"ÐÑиÑанÑÑÐºÑ ÐÑÑгÑнÑÑÐºÑ ÐÑÑÑови","BN":"ÐÑÑней-ÐаÑÑÑÑалам","BF":"ÐÑÑкÑна-ФаÑо","BI":"ÐÑÑÑндÑ","BT":"ÐÑÑан","VU":"ÐанÑаÑÑ","VA":"ÐаÑикан","GB":"ÐеликобÑиÑанÑÑ","VE":"ÐенеÑÑела","VI":"ÐÑÑгÑнÑÑÐºÑ ÐÑÑÑови (СШÐ)","WF":"ÐоллÑÑ Ñ Ð¤ÑÑÑна","VN":"Ð\'ÑÑнам","UM":"ÐовнÑÑÐ½Ñ ÐÑÐ´Ð´Ð°Ð»ÐµÐ½Ñ ÐÑÑÑови (СШÐ)","GA":"Ðабон","HT":"ÐаÑÑÑ","GY":"ÐаÑна","GM":"ÐамбÑÑ","GH":"Ðана","GP":"ÐваделÑпа","GT":"ÐваÑемала","GF":"ÐвÑана","GN":"ÐвÑнеÑ","GW":"ÐвÑнеÑ-ÐÑÑаÑ","GG":"ÐеÑнÑÑ","GI":"ÐÑбÑалÑаÑ","HN":"ÐондÑÑаÑ","HK":"Ðонконг","GD":"ÐÑенада","GR":"ÐÑеÑÑÑ","GE":"ÐÑÑзÑÑ","GU":"ÐÑам","GL":"ÐÑенландÑÑ","DK":"ÐанÑÑ","JE":"ÐжеÑÑÑ","DJ":"ÐжибÑÑÑ","DM":"ÐомÑнÑка","DO":"ÐомÑнÑканÑÑка РеÑпÑблÑка","CD":"ÐемокÑаÑиÑна РеÑпÑблÑка Ðонго","EC":"ÐквадоÑ","GQ":"ÐкваÑоÑÑалÑна ÐвÑнеÑ","E
44R":"ÐÑиÑÑеÑ","EE":"ÐÑÑонÑÑ","ET":"ÐÑÑопÑÑ","EG":"ÐгипеÑ","YE":"Ðмен","ZM":"ÐамбÑÑ","ZW":"ÐÑмбабве","IL":"ÐзÑаÑлÑ","IN":"ÐндÑÑ","ID":"ÐндонезÑÑ","IQ":"ÐÑак","IR":"ÐÑан","IE":"ÐÑландÑÑ","IS":"ÐÑландÑÑ","ES":"ÐÑпанÑÑ","IT":"ÐÑалÑÑ","JO":"ÐоÑданÑÑ","CV":"Ðабо-ÐеÑде","KZ":"ÐазаÑ
ÑÑан","KY":"ÐÐ°Ð¹Ð¼Ð°Ð½Ð¾Ð²Ñ ÐÑÑÑови","KH":"Ðамбоджа","CM":"ÐамеÑÑн","CA":"Ðанада","BQ":"ÐаÑибÑÑÐºÑ ÐÑдеÑланди","QA":"ÐаÑаÑ","KE":"ÐенÑÑ","CY":"ÐÑпÑ","KI":"ÐÑÑибаÑÑ","KG":"ÐиÑгизÑÑан","TW":"ТайванÑ, ÐÑовÑнÑÑÑ ÐиÑаÑ","KP":"ÐоÑейÑÑка ÐаÑодно-ÐемокÑаÑиÑна РеÑпÑблÑка","CN":"ÐиÑай","CC":"ÐокоÑÐ¾Ð²Ñ ÐÑÑÑови","CO":"ÐолÑмбÑÑ","KM":"ÐомоÑи","XK":"ÐоÑово","CR":"ÐоÑÑа-Рика","CI":"ÐоÑ-Ð\'ÐвÑаÑ","CU":"ÐÑба","KW":"ÐÑвейÑ","CW":"ÐÑÑаÑао","LA":"ÐаоÑ","LV":"ÐаÑвÑÑ","LS":"ÐеÑоÑо","LR":"ÐÑбеÑÑÑ","LB":"ÐÑван","LY":"ÐÑвÑÑ","LT":"ÐиÑва","LI":"ÐÑÑ
ÑенÑÑейн","LU":"ÐÑкÑембÑÑг","MU":"ÐавÑикÑй","MR":"ÐавÑиÑанÑÑ","MG":"ÐадагаÑкаÑ","YT":"ÐайоÑÑа","MW":"ÐалавÑ","MY":"ÐалайзÑÑ","ML":"ÐалÑ","MV":"ÐалÑдÑви","MT":"ÐалÑÑа","MA":"ÐаÑокко","MQ":"ÐаÑÑинÑка","MH":"ÐаÑÑÐ°Ð»Ð»Ð¾Ð²Ñ ÐÑÑÑови","MX":"ÐекÑика","FM":"ÐÑкÑонезÑÑ","MZ":"ÐозамбÑк","MD":"Ðолдова","MC":"Ðонако","MN":"ÐонголÑÑ","MS":"ÐонÑÑеÑÑаÑ","MM":"Ð\'Ñнма","NA":"ÐамÑбÑÑ","NR":"ÐаÑÑÑ","NP":"Ðепал","NE":"ÐÑгеÑ","NG":"ÐÑгеÑÑÑ","NL":"ÐÑдеÑланди","NI":"ÐÑкаÑагÑа","DE":"ÐÑмеÑÑина","NU":"ÐÑÑе","NZ":"Ðова ÐеландÑÑ","NC":"Ðова ÐаледонÑÑ","NO":"ÐоÑвегÑÑ","AE":"Ðб\'ÑÐ´Ð½Ð°Ð½Ñ ÐÑабÑÑÐºÑ ÐмÑÑаÑи","OM":"Ðман","BV":"ÐÑÑÑÑв ÐÑве","HM":"ÐÑÑÑÑв ÐеÑд Ñ ÐÑÑÑови Ðакдоналд","IM":"ÐÑÑÑÑв Ðен","NF":"ÐÑÑÑÑв ÐоÑÑолк","CX":"ÐÑÑÑÑв Ð Ñздва","CK":"ÐÑÑÑови ÐÑка","SH":"ÐÑÑÑÑв СвÑÑÐ¾Ñ Ðлени","TC":"ÐÑÑÑови ТеÑÐºÑ Ñ ÐайкоÑ","PK":"ÐакиÑÑан","PW":"ÐалаÑ","PS":"ÐалеÑÑина","PA":"Ðанама","PG":"ÐапÑа-Ðова ÐвÑнеÑ","ZA":"ÐÑвденна ÐÑÑика","PY":"ÐаÑагвай","PE":"ÐеÑÑ","GS":"ÐÑвденна ÐжоÑджÑÑ Ñа ÐÑÐ²Ð´ÐµÐ½Ð½Ñ Ð¡Ð°Ð½Ð´Ð²ÑÑÐµÐ²Ñ ÐÑÑÑови","KR":"РеÑпÑблÑка ÐоÑеÑ","SS":"ÐÑвденний СÑдан","MK":"ÐÑвнÑÑна ÐакедонÑÑ","MP":"ÐÑвнÑÑÐ½Ñ ÐаÑÑанÑÑÐºÑ ÐÑÑÑови","PN":"ÐÑÑкеÑн","PL":"ÐолÑÑа","PT":"ÐоÑÑÑгалÑÑ","PR":"ÐÑеÑÑо-Рико","CG":"Ðонго","RE":"РеÑнÑйон","RU":"РоÑÑÑ","RW":"Ð Ñанда","RO":"Ð ÑмÑнÑÑ","EH":"ÐаÑ
Ñдна СаÑ
аÑа","SV":"СалÑвадоÑ","WS":"Самоа","SM":"Сан-ÐаÑино","ST":"Сан-Томе Ñ ÐÑинÑÑпÑ","SA":"СаÑдÑвÑÑка ÐÑавÑÑ","SZ":"ÐÑваÑÑнÑ","SJ":"ÐÑÑÑови ШпÑÑбеÑген Ñа Ян-ÐаÑн","SC":"СейÑелÑÑÑÐºÑ ÐÑÑÑови","BL":"Сен-ÐаÑÑелемÑ","MF":"Сен-ÐаÑÑен","PM":"Сен-Ð\'ÑÑ Ñ ÐÑкелон","SN":"Сенегал","VC":"СенÑ-ÐÑнÑÐµÐ½Ñ Ñ ÐÑенадÑни","KN":"СенÑ-ÐÑÑÑ Ñ ÐевÑÑ","LC":"СенÑ-ÐÑÑÑÑ","RS":"СеÑбÑÑ","SG":"СингапÑÑ","SX":"СÑнÑ-ÐаÑÑен","SY":"СиÑÑÑ","SK":"СловаÑÑина","SI":"СловенÑÑ","SB":"Ð¡Ð¾Ð»Ð¾Ð¼Ð¾Ð½Ð¾Ð²Ñ ÐÑÑÑови","SO":"СомалÑ","SD":"СÑдан","SR":"СÑÑинам","TL":"ТимоÑ-ÐеÑÑÑ","US":"СШÐ","SL":"СÑÑÑÑа-Ðеоне","TJ":"ТаджикиÑÑан","TH":"ТаÑланд","TZ":"ТанзанÑÑ","TG":"Того","TK":"ТокелаÑ","TO":"Тонга","TT":"ТÑинÑдад Ñ Ð¢Ð¾Ð±Ð°Ð³Ð¾","TV":"ТÑвалÑ","TN":"ТÑнÑÑ","TM":"ТÑÑкмениÑÑан","TR":"ТÑÑеÑÑина","UG":"Уганда","HU":"УгоÑÑина","UZ":"УзбекиÑÑан","UA":"УкÑаÑна","UY":"УÑÑгвай","FO":"ФаÑеÑÑÑÐºÑ ÐÑÑÑови","FJ":"ФÑджÑ","PH":"ФÑлÑппÑни","FI":"ФÑнлÑндÑÑ","FK":"ФолклендÑÑÐºÑ ÐÑÑÑови","FR":"ФÑанÑÑÑ","PF":"ФÑанÑÑзÑка ÐолÑнезÑÑ","TF":"ФÑанÑÑзÑÐºÑ ÐÑÐ²Ð´ÐµÐ½Ð½Ñ Ñ ÐнÑаÑкÑиÑÐ½Ñ Ð¢ÐµÑиÑоÑÑÑ","HR":"ХоÑваÑÑÑ","CF":"ЦенÑÑалÑноаÑÑиканÑÑка РеÑпÑблÑка","TD":"Чад","ME":"ЧоÑногоÑÑÑ","CZ":"ЧеÑ
ÑÑ","CL":"ЧилÑ","CH":"ШвейÑаÑÑÑ","SE":"ШвеÑÑÑ","LK":"ШÑи-Ðанка","JM":"Ямайка","JP":"ЯпонÑÑ"}}')},99746:function(t){"use strict";
44t.exports=JSON.parse('{"locale":"zh","countries":{"AD":"å®éå°","AE":"é¿èé
","AF":"é¿å¯æ±","AG":"宿çåå·´å¸è¾¾","AI":"å®åæ","AL":"é¿å°å·´å°¼äº","AM":"äºç¾å°¼äº","AO":"å®å¥æ","AQ":"åææ´²","AR":"é¿æ ¹å»·","AS":"ç¾å±è¨æ©äº","AT":"奥å°å©","AU":"澳大å©äº","AW":"é¿é²å·´","AX":"奥å
°","AZ":"é¿å¡æç","BA":"æ³¢é»","BB":"巴巴夿¯","BD":"åå æå½","BE":"æ¯å©æ¶","BF":"å¸åºçº³æ³ç´¢","BG":"ä¿å å©äº","BH":"å·´æ","BI":"å¸é迪","BJ":"è´å®","BL":"å£å·´æ³°åç±³","BM":"ç¾æ
大","BN":"æè±","BO":"ç»å©ç»´äº","BQ":"è·å
°å 忝åº","BR":"巴西","BS":"å·´å马","BT":"ä¸ä¸¹","BV":"å¸é¦å²","BW":"åè¨ç¦çº³","BY":"ç½ä¿ç½æ¯","BZ":"伯å©å
¹","CA":"å æ¿å¤§","CC":"ç§ç§æ¯ï¼åºæï¼ç¾¤å²","CD":"åæï¼éï¼","CF":"ä¸é","CG":"åæï¼å¸ï¼","CH":"ç士","CI":"ç§ç¹è¿ªç¦","CK":"åºå
群å²","CL":"æºå©","CM":"å麦é","CN":"ä¸å½","CO":"å¥ä¼¦æ¯äº","CR":"奿¯è¾¾é»å ","CU":"å¤å·´","CV":"ä½å¾è§","CW":"åºæç´¢","CX":"å£è¯å²","CY":"塿µ¦è·¯æ¯","CZ":"æ·å
","DE":"å¾·å½","DJ":"å叿","DK":"丹麦","DM":"å¤ç±³å°¼å
","DO":"å¤ç±³å°¼å ","DZ":"é¿å°åå©äº","EC":"åçå¤å°","EE":"ç±æ²å°¼äº","EG":"åå","EH":"é¿æä¼¯æåææ°ä¸»å
±åå½","ER":"åç«ç¹éäº","ES":"西çç","ET":"åå¡ä¿æ¯äº","FI":"è¬å
°","FJ":"ææµ","FK":"ç¦å
å
°ç¾¤å²","FM":"å¯å
ç½å°¼è¥¿äºèé¦","FO":"æ³ç½ç¾¤å²","FR":"æ³å½","GA":"å è¬","GB":"è±å½","GD":"æ ¼æçº³è¾¾","GE":"æ ¼é²åäº","GF":"æ³å±åäºé£","GG":"æ ¹è¥¿","GH":"å 纳","GI":"ç´å¸ç½é","GL":"æ ¼éµå
°","GM":"忝äº","GN":"å å
äº","GP":"çå¾·ç½æ®","GQ":"赤éå å
äº","GR":"å¸è
","GS":"å乿²»äºååæ¡å¨å¥ç¾¤å²","GT":"å±å°é©¬æ","GU":"å
³å²","GW":"å å
äºæ¯ç»","GY":"åäºé£","HK":"馿¸¯","HM":"赫德å²å麦å
å纳群å²","HN":"æ´ªé½ææ¯","HR":"å
ç½å°äº","HT":"æµ·å°","HU":"åçå©","ID":"å°å°¼","IE":"ç±å°å
°","IL":"以è²å","IM":"马æ©å²","IN":"å°åº¦","IO":"è±å±å°åº¦æ´é¢å°","IQ":"伿å
","IR":"伿","IS":"å°å²","IT":"æå¤§å©","JE":"泽西","JM":"çä¹°å ","JO":"约æ¦","JP":"æ¥æ¬","KE":"è¯å°¼äº","KG":"åå°åæ¯æ¯å¦","KH":"æ¬å寨","KI":"åºéå·´æ¯","KM":"ç§æ©ç½","KN":"å£åºè¨å尼维æ¯","KP":"æé²","KR":"é©å½","KW":"ç§å¨ç¹","KY":"弿¼ç¾¤å²","KZ":"åè¨å
æ¯å¦","LA":"èæ","LB":"é»å·´å«©","LC":"å£å¢è¥¿äº","LI":"忝æ¦å£«ç»","LK":"æ¯éå
°å¡","LR":"婿¯éäº","LS":"è±ç´¢æ","LT":"ç«é¶å®","LU":"墿£®å ¡","LV":"æè±ç»´äº","LY":"婿¯äº","MA":"æ©æ´å¥","MC":"æ©çº³å¥","MD":"æ©å°å¤ç¦","ME":"é»å±±","MF":"æ³å±å£é©¬ä¸","MG":"é©¬è¾¾å æ¯å ","MH":"马ç»å°ç¾¤å²","MK":"å马å
¶é¡¿","ML":"马é","MM":"ç¼
ç¸","MN":"èå¤","MO":"æ¾³é¨","MP":"å马éäºçº³ç¾¤å²","MQ":"马æå°¼å
","MR":"æ¯éå¡å°¼äº","MS":"èç¹å¡æç¹","MT":"马è³ä»","MU":"æ¯éæ±æ¯","MV":"马å°ä»£å¤«","MW":"马æç»´","MX":"墨西å¥","MY":"马æ¥è¥¿äº","MZ":"è«æ¡æ¯å
","NA":"纳米æ¯äº","NC":"æ°åéå¤å°¼äº","NE":"å°¼æ¥å°","NF":"诺ç¦å
å²","NG":"å°¼æ¥å©äº","NI":"å°¼å æç","NL":"è·å
°","NO":"æªå¨","NP":"å°¼æ³å°","NR":"çé²","NU":"纽å","NZ":"æ°è¥¿å
°","OM":"é¿æ¼","PA":"å·´æ¿é©¬","PE":"ç§é²","PF":"æ³å±æ³¢å©å°¼è¥¿äº","PG":"å·´å¸äºæ°å å
äº","PH":"è²å¾å®¾","PK":"å·´åºæ¯å¦","PL":"æ³¢å
°","PM":"å£ç®åå°åå¯å
é","PN":"ç®ç¹å¯æ©ç¾¤å²","PR":"æ³¢å¤é»å","PS":"巴忝å¦","PT":"è¡èç","PW":"å¸å³","PY":"å·´æå","QA":"å¡å¡å°","RE":"ç尼汪","RO":"ç½é©¬å°¼äº","RS":"å¡å°ç»´äº","RU":"ä¿ç½æ¯","RW":"墿ºè¾¾","SA":"æ²ç¹é¿æä¼¯","SB":"æç½é¨ç¾¤å²","SC":"å¡èå°","SD":"è丹","SE":"çå
¸","SG":"æ°å å¡","SH":"å£èµ«åæ¿ãé¿æ£®æ¾åç¹éæ¯å¦-è¾¾åºå°¼äº","SI":"æ¯æ´æå°¼äº","SJ":"æ¯ç¦å°å·´åæ¬é©¬å»¶","SK":"æ¯æ´ä¼å
","SL":"塿婿","SM":"å£é©¬å诺","SN":"å¡å
å å°","SO":"索马é","SR":"èéå","SS":"åè丹","ST":"å£å¤ç¾åæ®æè¥¿æ¯","SV":"è¨å°ç¦å¤","SX":"è·å±å£é©¬ä¸","SY":"åå©äº","SZ":"æ¯å¨å£«å
°","TC":"ç¹å
æ¯åå¯ç§æ¯ç¾¤å²","TD":"ä¹å¾","TF":"æ³å±åé¨é¢å°","TG":"å¤å¥","TH":"æ³°å½","TJ":"å¡åå
æ¯å¦","TK":"æå
å³","TL":"ä¸å¸æ±¶","TM":"ååºæ¼æ¯å¦","TN":"çªå°¼æ¯","TO":"æ±
44¤å ","TR":"åè³å
¶","TT":"ç¹ç«å°¼è¾¾åå¤å·´å¥","TV":"å¾ç¦å¢","TW":"ä¸å½å°æ¹¾ç","TZ":"妿¡å°¼äº","UA":"ä¹å
å
°","UG":"ä¹å¹²è¾¾","UM":"ç¾å½æ¬åå¤å°å²å±¿","US":"ç¾å½","UY":"乿å","UZ":"ä¹å
¹å«å
æ¯å¦","VA":"梵èå","VC":"å£ææ£®ç¹åæ ¼æçº³ä¸æ¯","VE":"å§å
çæ","VG":"è±å±ç»´å°äº¬ç¾¤å²","VI":"ç¾å±ç»´å°äº¬ç¾¤å²","VN":"è¶å","VU":"ç¦åªé¿å¾","WF":"ç¦å©æ¯åå¯å¾çº³","WS":"è¨æ©äº","XK":"ç§ç´¢æ²","YE":"ä¹é¨","YT":"马约ç¹","ZA":"åé","ZM":"èµæ¯äº","ZW":"津巴å¸é¦"}}')},20597:function(t){"use strict";t.exports=JSON.parse('["br","cy","dv","sw","eu","af","am","ha","ku","ml","mt","no","ps","sd","so","sq","ta","tg","tt","ug","ur","vi","ar","az","be","bg","bn","bs","ca","cs","da","de","el","en","es","et","fa","fi","fr","ga","gl","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km","ko","ky","lt","lv","mk","mn","mr","ms","nb","nl","nn","pl","pt","ro","ru","sk","sl","sr","sv","th","tk","tr","uk","uz","zh"]')}}]);
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.